[2026-11-05 00:00:05] local.INFO: TCP Data received {"connection_id":231054,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:00:05] local.INFO: Processing buffer {"connection_id":231054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:00:05] local.INFO: IMEI packet received {"connection_id":231054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":231054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:00:10] local.INFO: TCP Data received {"connection_id":231054,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:00:10] local.INFO: Processing buffer {"connection_id":231054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:00:10] local.INFO: IMEI packet received {"connection_id":231054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":231054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:00:11] local.INFO: TCP Data received {"connection_id":231054,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7cf0dd8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7cf0dd8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:00:11] local.INFO: Processing buffer {"connection_id":231054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7cf0dd8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:00:11] local.INFO: Packet analysis {"connection_id":231054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7cf"} 
[2026-11-05 00:00:11] local.INFO: Extracted packet for processing {"connection_id":231054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7cf"} 
[2026-11-05 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217005056001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:00: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-05 00: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-05 00:00: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-05 00: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":95,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-11-05 00:00: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-05 00: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-05 00: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-05 00:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:00: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-05 00:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217005056001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:00:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:00:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:00: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-05 00:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":231054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:00:11] local.INFO: GPS data processed {"connection_id":231054,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:00:11] local.INFO: Acknowledgment sent {"connection_id":231054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:00:43] local.INFO: TCP Data received {"connection_id":231054,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7cf0dd8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7cf0dd8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:00:43] local.INFO: Processing buffer {"connection_id":231054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7cf0dd8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:00:43] local.INFO: Packet analysis {"connection_id":231054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7cf"} 
[2026-11-05 00:00:43] local.INFO: Extracted packet for processing {"connection_id":231054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7cf"} 
[2026-11-05 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217005056001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:00: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-05 00:00: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-05 00: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-05 00:00: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-05 00: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":95,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-11-05 00:00: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-05 00: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-05 00: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-05 00:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:00: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-05 00:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217005056001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:00:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:00:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:00: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-05 00:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":231054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:00:43] local.INFO: GPS data processed {"connection_id":231054,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:00:43] local.INFO: Acknowledgment sent {"connection_id":231054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:01:05] local.INFO: TCP Data received {"connection_id":231055,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:01:05] local.INFO: Processing buffer {"connection_id":231055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:01:05] local.INFO: IMEI packet received {"connection_id":231055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":231055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:01:06] local.INFO: TCP Data received {"connection_id":231055,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:01:06] local.INFO: Processing buffer {"connection_id":231055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:01:06] local.INFO: IMEI packet received {"connection_id":231055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":231055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:01:10] local.INFO: TCP Data received {"connection_id":231055,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:01:10] local.INFO: Processing buffer {"connection_id":231055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:01:10] local.INFO: IMEI packet received {"connection_id":231055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":231055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:01:12] local.INFO: TCP Data received {"connection_id":231055,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:01:12] local.INFO: Processing buffer {"connection_id":231055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:01:12] local.INFO: Packet analysis {"connection_id":231055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7d3"} 
[2026-11-05 00:01:12] local.INFO: Extracted packet for processing {"connection_id":231055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7d3"} 
[2026-11-05 00: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217082112001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793817028000,"timestamp_ms":1793817028000,"timestamp_seconds":1793817028,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7d3a5a0"} 
[2026-11-05 00: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-05 00: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-05 00:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00: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-05 00: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-05 00:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217082112001,"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-05 00:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217082112001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:01:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:01:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217082112001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":231055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:01:12] local.INFO: GPS data processed {"connection_id":231055,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:01:12] local.INFO: Acknowledgment sent {"connection_id":231055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:01:16] local.INFO: TCP Data received {"connection_id":231055,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:01:16] local.INFO: Processing buffer {"connection_id":231055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:01:16] local.INFO: Packet analysis {"connection_id":231055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7d3"} 
[2026-11-05 00:01:16] local.INFO: Extracted packet for processing {"connection_id":231055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7d3"} 
[2026-11-05 00: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217082112001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793817028000,"timestamp_ms":1793817028000,"timestamp_seconds":1793817028,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7d3a5a0"} 
[2026-11-05 00: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-05 00:01: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-05 00:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00: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-05 00: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-05 00:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":231055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":231055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":231055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217082112001,"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-05 00:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217082112001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:01:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:01:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217082112001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":231055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:01:16] local.INFO: GPS data processed {"connection_id":231055,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:01:16] local.INFO: Acknowledgment sent {"connection_id":231055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:01:48] local.INFO: TCP Data received {"connection_id":231055,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:01:48] local.INFO: Processing buffer {"connection_id":231055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:01:48] local.INFO: Packet analysis {"connection_id":231055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7d3"} 
[2026-11-05 00:01:48] local.INFO: Extracted packet for processing {"connection_id":231055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7d3"} 
[2026-11-05 00:01: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-05 00: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-05 00:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217082112001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:01: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-05 00:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793817028000,"timestamp_ms":1793817028000,"timestamp_seconds":1793817028,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7d3a5a0"} 
[2026-11-05 00: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-05 00:01: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-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:01: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-05 00: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-05 00: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-05 00:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":231055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":231055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":231055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:01: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-05 00:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217082112001,"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-05 00:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217082112001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:01:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:01:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:01: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-05 00:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217082112001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":231055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:01:48] local.INFO: GPS data processed {"connection_id":231055,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:01:48] local.INFO: Acknowledgment sent {"connection_id":231055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:02:05] local.INFO: TCP Data received {"connection_id":232921,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:02:05] local.INFO: Processing buffer {"connection_id":232921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:02:05] local.INFO: IMEI packet received {"connection_id":232921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":232921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:02:10] local.INFO: TCP Data received {"connection_id":232921,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:02:10] local.INFO: Processing buffer {"connection_id":232921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:02:10] local.INFO: IMEI packet received {"connection_id":232921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":232921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:02:11] local.INFO: TCP Data received {"connection_id":232921,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:02:11] local.INFO: Processing buffer {"connection_id":232921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:02:11] local.INFO: Packet analysis {"connection_id":232921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7d3"} 
[2026-11-05 00:02:11] local.INFO: Extracted packet for processing {"connection_id":232921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7d3"} 
[2026-11-05 00:02: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-05 00:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 00:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217082112001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793817028000,"timestamp_ms":1793817028000,"timestamp_seconds":1793817028,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7d3a5a0"} 
[2026-11-05 00:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 00:02: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-05 00:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 00:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 00:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:02: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-05 00:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217082112001,"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-05 00:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217082112001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:02:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:02:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:02: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-05 00:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217082112001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":232921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:02:11] local.INFO: GPS data processed {"connection_id":232921,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:02:11] local.INFO: Acknowledgment sent {"connection_id":232921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:02:43] local.INFO: TCP Data received {"connection_id":232921,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:02:43] local.INFO: Processing buffer {"connection_id":232921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:02:43] local.INFO: Packet analysis {"connection_id":232921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7d3"} 
[2026-11-05 00:02:43] local.INFO: Extracted packet for processing {"connection_id":232921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7d3"} 
[2026-11-05 00: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217082112001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793817028000,"timestamp_ms":1793817028000,"timestamp_seconds":1793817028,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7d3a5a0"} 
[2026-11-05 00: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-05 00:02: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-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:02: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-05 00: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-05 00: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-05 00:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217082112001,"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-05 00:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217082112001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:02:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:02:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217082112001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":232921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:02:43] local.INFO: GPS data processed {"connection_id":232921,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:02:43] local.INFO: Acknowledgment sent {"connection_id":232921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:03:05] local.INFO: TCP Data received {"connection_id":229747,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:03:05] local.INFO: Processing buffer {"connection_id":229747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:03:05] local.INFO: IMEI packet received {"connection_id":229747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":229747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:03:10] local.INFO: TCP Data received {"connection_id":229747,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:03:10] local.INFO: Processing buffer {"connection_id":229747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:03:10] local.INFO: IMEI packet received {"connection_id":229747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":229747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:03:12] local.INFO: TCP Data received {"connection_id":229747,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:03:12] local.INFO: Processing buffer {"connection_id":229747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:03:12] local.INFO: Packet analysis {"connection_id":229747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7d3"} 
[2026-11-05 00:03:12] local.INFO: Extracted packet for processing {"connection_id":229747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7d3"} 
[2026-11-05 00: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 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-05 00:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217082112001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793817028000,"timestamp_ms":1793817028000,"timestamp_seconds":1793817028,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7d3a5a0"} 
[2026-11-05 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-05 00: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-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 00:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217082112001,"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-05 00:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217082112001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:03:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:03:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217082112001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":229747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:03:12] local.INFO: GPS data processed {"connection_id":229747,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:03:12] local.INFO: Acknowledgment sent {"connection_id":229747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:03:43] local.INFO: TCP Data received {"connection_id":229747,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:03:43] local.INFO: Processing buffer {"connection_id":229747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:03:43] local.INFO: Packet analysis {"connection_id":229747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7d3"} 
[2026-11-05 00:03:43] local.INFO: Extracted packet for processing {"connection_id":229747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7d3"} 
[2026-11-05 00: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217082112001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:03: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-05 00:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793817028000,"timestamp_ms":1793817028000,"timestamp_seconds":1793817028,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7d3a5a0"} 
[2026-11-05 00: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-05 00:03: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-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:03: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-05 00: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-05 00: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-05 00:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217082112001,"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-05 00:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217082112001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:03:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:03:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217082112001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":229747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:03:43] local.INFO: GPS data processed {"connection_id":229747,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:03:43] local.INFO: Acknowledgment sent {"connection_id":229747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:04:10] local.INFO: TCP Data received {"connection_id":229748,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:04:10] local.INFO: Processing buffer {"connection_id":229748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:04:10] local.INFO: IMEI packet received {"connection_id":229748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":229748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:04:15] local.INFO: TCP Data received {"connection_id":229748,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:04:15] local.INFO: Processing buffer {"connection_id":229748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:04:15] local.INFO: IMEI packet received {"connection_id":229748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":229748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:04:17] local.INFO: TCP Data received {"connection_id":229748,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:04:17] local.INFO: Processing buffer {"connection_id":229748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:04:17] local.INFO: Packet analysis {"connection_id":229748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7d3"} 
[2026-11-05 00:04:17] local.INFO: Extracted packet for processing {"connection_id":229748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7d3"} 
[2026-11-05 00:04: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-05 00: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-05 00:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217082112001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793817028000,"timestamp_ms":1793817028000,"timestamp_seconds":1793817028,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7d3a5a0"} 
[2026-11-05 00: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-05 00:04:17] 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-05 00:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00: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-05 00: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-05 00:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217082112001,"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-05 00:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217082112001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:04:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:04:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:04: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-05 00:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217082112001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":229748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:04:17] local.INFO: GPS data processed {"connection_id":229748,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:04:17] local.INFO: Acknowledgment sent {"connection_id":229748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:04:21] local.INFO: TCP Data received {"connection_id":229748,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:04:21] local.INFO: Processing buffer {"connection_id":229748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:04:21] local.INFO: Packet analysis {"connection_id":229748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7d3"} 
[2026-11-05 00:04:21] local.INFO: Extracted packet for processing {"connection_id":229748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7d3"} 
[2026-11-05 00:04: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217082112001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:04: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-05 00:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793817028000,"timestamp_ms":1793817028000,"timestamp_seconds":1793817028,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7d3a5a0"} 
[2026-11-05 00: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-05 00:04: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-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:04: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-05 00: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-05 00: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-05 00:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217082112001,"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-05 00:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217082112001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:04:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:04:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:04: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-05 00:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217082112001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":229748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:04:21] local.INFO: GPS data processed {"connection_id":229748,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:04:21] local.INFO: Acknowledgment sent {"connection_id":229748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:04:27] local.INFO: TCP Data received {"connection_id":229749,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229749,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:04:27] local.INFO: Processing buffer {"connection_id":229749,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:04:27] local.INFO: IMEI packet received {"connection_id":229749,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 00:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":229749,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:05:05] local.INFO: TCP Data received {"connection_id":231056,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:05:05] local.INFO: Processing buffer {"connection_id":231056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:05:05] local.INFO: IMEI packet received {"connection_id":231056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":231056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:05:07] local.INFO: TCP Data received {"connection_id":229266,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229266,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:05:07] local.INFO: Processing buffer {"connection_id":229266,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:05:07] local.INFO: IMEI packet received {"connection_id":229266,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 00:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":229266,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:05:10] local.INFO: TCP Data received {"connection_id":231056,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:05:10] local.INFO: Processing buffer {"connection_id":231056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:05:10] local.INFO: IMEI packet received {"connection_id":231056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":231056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:05:12] local.INFO: TCP Data received {"connection_id":231056,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:05:12] local.INFO: Processing buffer {"connection_id":231056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:05:12] local.INFO: Packet analysis {"connection_id":231056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7d3"} 
[2026-11-05 00:05:12] local.INFO: Extracted packet for processing {"connection_id":231056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7d3"} 
[2026-11-05 00:05: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-05 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-05 00:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217082112001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793817028000,"timestamp_ms":1793817028000,"timestamp_seconds":1793817028,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7d3a5a0"} 
[2026-11-05 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-05 00: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-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 00:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:05: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-05 00:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217082112001,"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-05 00:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217082112001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:05:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:05:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:05: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-05 00:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217082112001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":231056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:05:12] local.INFO: GPS data processed {"connection_id":231056,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:05:12] local.INFO: Acknowledgment sent {"connection_id":231056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:05:43] local.INFO: TCP Data received {"connection_id":231056,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:05:43] local.INFO: Processing buffer {"connection_id":231056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7d3a5a0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:05:43] local.INFO: Packet analysis {"connection_id":231056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7d3"} 
[2026-11-05 00:05:43] local.INFO: Extracted packet for processing {"connection_id":231056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7d3"} 
[2026-11-05 00:05: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-05 00: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-05 00:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217082112001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:05: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-05 00:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793817028000,"timestamp_ms":1793817028000,"timestamp_seconds":1793817028,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7d3a5a0"} 
[2026-11-05 00: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-05 00:05: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-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:05: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-05 00: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-05 00: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-05 00:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:05: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-05 00:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217082112001,"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-05 00:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217082112001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:05:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:05:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:05: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-05 00:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217082112001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":231056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:05:43] local.INFO: GPS data processed {"connection_id":231056,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:05:43] local.INFO: Acknowledgment sent {"connection_id":231056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:06:05] local.INFO: TCP Data received {"connection_id":231057,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:06:05] local.INFO: Processing buffer {"connection_id":231057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:06:05] local.INFO: IMEI packet received {"connection_id":231057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":231057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:06:07] local.INFO: TCP Data received {"connection_id":231057,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:06:07] local.INFO: Processing buffer {"connection_id":231057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:06:07] local.INFO: IMEI packet received {"connection_id":231057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":231057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:06:11] local.INFO: TCP Data received {"connection_id":231057,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:06:11] local.INFO: Processing buffer {"connection_id":231057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:06:11] local.INFO: IMEI packet received {"connection_id":231057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":231057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:06:11] local.INFO: TCP Data received {"connection_id":231057,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7d83d68012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7d83d68012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:06:11] local.INFO: Processing buffer {"connection_id":231057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7d83d68012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:06:11] local.INFO: Packet analysis {"connection_id":231057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7d8"} 
[2026-11-05 00:06:11] local.INFO: Extracted packet for processing {"connection_id":231057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7d8"} 
[2026-11-05 00:06: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-05 00:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 00:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217159168001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793817329000,"timestamp_ms":1793817329000,"timestamp_seconds":1793817329,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7d83d68"} 
[2026-11-05 00:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 00:06: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-05 00:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 00:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 00:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:06: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-05 00:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217159168001,"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-05 00:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217159168001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:06:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:06:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:06: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-05 00:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217159168001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":231057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:06:11] local.INFO: GPS data processed {"connection_id":231057,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:06:11] local.INFO: Acknowledgment sent {"connection_id":231057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:06:43] local.INFO: TCP Data received {"connection_id":231057,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7d83d68012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7d83d68012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:06:43] local.INFO: Processing buffer {"connection_id":231057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7d83d68012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:06:43] local.INFO: Packet analysis {"connection_id":231057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7d8"} 
[2026-11-05 00:06:43] local.INFO: Extracted packet for processing {"connection_id":231057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7d8"} 
[2026-11-05 00:06: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-05 00: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-05 00:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217159168001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793817329000,"timestamp_ms":1793817329000,"timestamp_seconds":1793817329,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7d83d68"} 
[2026-11-05 00: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-05 00:06: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-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:06: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-05 00: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-05 00: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-05 00:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217159168001,"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-05 00:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217159168001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:06:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:06:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:06: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-05 00:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217159168001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":231057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:06:43] local.INFO: GPS data processed {"connection_id":231057,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:06:43] local.INFO: Acknowledgment sent {"connection_id":231057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:07:10] local.INFO: TCP Data received {"connection_id":232923,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:07:10] local.INFO: Processing buffer {"connection_id":232923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:07:10] local.INFO: IMEI packet received {"connection_id":232923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":232923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:07:15] local.INFO: TCP Data received {"connection_id":232923,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:07:15] local.INFO: Processing buffer {"connection_id":232923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:07:15] local.INFO: IMEI packet received {"connection_id":232923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":232923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:07:16] local.INFO: TCP Data received {"connection_id":232923,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7d83d68012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7d83d68012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:07:16] local.INFO: Processing buffer {"connection_id":232923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7d83d68012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:07:16] local.INFO: Packet analysis {"connection_id":232923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7d8"} 
[2026-11-05 00:07:16] local.INFO: Extracted packet for processing {"connection_id":232923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7d8"} 
[2026-11-05 00:07: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-05 00: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-05 00:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217159168001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:07: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-05 00:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793817329000,"timestamp_ms":1793817329000,"timestamp_seconds":1793817329,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7d83d68"} 
[2026-11-05 00: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-05 00:07: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-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00: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-05 00: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-05 00:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217159168001,"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-05 00:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217159168001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:07:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:07:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:07: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-05 00:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217159168001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":232923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:07:16] local.INFO: GPS data processed {"connection_id":232923,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:07:16] local.INFO: Acknowledgment sent {"connection_id":232923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:07:21] local.INFO: TCP Data received {"connection_id":232923,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7d83d68012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7d83d68012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:07:21] local.INFO: Processing buffer {"connection_id":232923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7d83d68012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:07:21] local.INFO: Packet analysis {"connection_id":232923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7d8"} 
[2026-11-05 00:07:21] local.INFO: Extracted packet for processing {"connection_id":232923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7d8"} 
[2026-11-05 00:07: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-05 00: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-05 00:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217159168001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:07: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-05 00:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793817329000,"timestamp_ms":1793817329000,"timestamp_seconds":1793817329,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7d83d68"} 
[2026-11-05 00: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-05 00: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-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:07: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-05 00: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-05 00: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-05 00:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:07: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-05 00:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217159168001,"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-05 00:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217159168001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:07:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:07:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:07: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-05 00:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217159168001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":232923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:07:21] local.INFO: GPS data processed {"connection_id":232923,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:07:21] local.INFO: Acknowledgment sent {"connection_id":232923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:08:05] local.INFO: TCP Data received {"connection_id":229267,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:08:05] local.INFO: Processing buffer {"connection_id":229267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:08:05] local.INFO: IMEI packet received {"connection_id":229267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":229267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:08:10] local.INFO: TCP Data received {"connection_id":229267,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:08:10] local.INFO: Processing buffer {"connection_id":229267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:08:10] local.INFO: IMEI packet received {"connection_id":229267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":229267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:08:12] local.INFO: TCP Data received {"connection_id":229267,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7d83d68012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7d83d68012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:08:12] local.INFO: Processing buffer {"connection_id":229267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7d83d68012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:08:12] local.INFO: Packet analysis {"connection_id":229267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7d8"} 
[2026-11-05 00:08:12] local.INFO: Extracted packet for processing {"connection_id":229267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7d8"} 
[2026-11-05 00: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-05 00: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-05 00:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217159168001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793817329000,"timestamp_ms":1793817329000,"timestamp_seconds":1793817329,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7d83d68"} 
[2026-11-05 00: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-05 00: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-05 00:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00: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-05 00: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-05 00:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217159168001,"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-05 00:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217159168001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:08:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:08:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217159168001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:08:12] 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":60947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:08:12] local.INFO: GPS data processed {"connection_id":229267,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:08:12] local.INFO: Acknowledgment sent {"connection_id":229267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:08:43] local.INFO: TCP Data received {"connection_id":229267,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7d83d68012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7d83d68012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:08:43] local.INFO: Processing buffer {"connection_id":229267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7d83d68012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:08:43] local.INFO: Packet analysis {"connection_id":229267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7d8"} 
[2026-11-05 00:08:43] local.INFO: Extracted packet for processing {"connection_id":229267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7d8"} 
[2026-11-05 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 00:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217159168001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793817329000,"timestamp_ms":1793817329000,"timestamp_seconds":1793817329,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7d83d68"} 
[2026-11-05 00:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 00:08: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-05 00:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:08: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-05 00:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 00:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 00:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217159168001,"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-05 00:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217159168001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:08:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:08:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217159168001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:08:43] 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":60948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:08:43] local.INFO: GPS data processed {"connection_id":229267,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:08:43] local.INFO: Acknowledgment sent {"connection_id":229267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:09:05] local.INFO: TCP Data received {"connection_id":232924,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:09:05] local.INFO: Processing buffer {"connection_id":232924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:09:05] local.INFO: IMEI packet received {"connection_id":232924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":232924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:09:10] local.INFO: TCP Data received {"connection_id":232924,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:09:10] local.INFO: Processing buffer {"connection_id":232924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:09:10] local.INFO: IMEI packet received {"connection_id":232924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":232924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:09:12] local.INFO: TCP Data received {"connection_id":232924,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7d83d68012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7d83d68012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:09:12] local.INFO: Processing buffer {"connection_id":232924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7d83d68012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:09:12] local.INFO: Packet analysis {"connection_id":232924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7d8"} 
[2026-11-05 00:09:12] local.INFO: Extracted packet for processing {"connection_id":232924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7d8"} 
[2026-11-05 00: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-05 00: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-05 00:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217159168001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793817329000,"timestamp_ms":1793817329000,"timestamp_seconds":1793817329,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7d83d68"} 
[2026-11-05 00: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-05 00: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-05 00:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00: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-05 00: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-05 00:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217159168001,"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-05 00:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217159168001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:09:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:09:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217159168001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":232924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:09:12] local.INFO: GPS data processed {"connection_id":232924,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:09:12] local.INFO: Acknowledgment sent {"connection_id":232924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:09:43] local.INFO: TCP Data received {"connection_id":232924,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7d83d68012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7d83d68012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:09:43] local.INFO: Processing buffer {"connection_id":232924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7d83d68012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:09:43] local.INFO: Packet analysis {"connection_id":232924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7d8"} 
[2026-11-05 00:09:43] local.INFO: Extracted packet for processing {"connection_id":232924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7d8"} 
[2026-11-05 00:09: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-05 00:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 00:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217159168001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:09: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-05 00:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793817329000,"timestamp_ms":1793817329000,"timestamp_seconds":1793817329,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7d83d68"} 
[2026-11-05 00:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 00:09: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-05 00:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-05 00:09: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-05 00:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 00:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 00:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:09: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-05 00:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217159168001,"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-05 00:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217159168001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:09:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:09:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:09: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-05 00:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217159168001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":232924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:09:43] local.INFO: GPS data processed {"connection_id":232924,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:09:43] local.INFO: Acknowledgment sent {"connection_id":232924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:10:05] local.INFO: TCP Data received {"connection_id":232926,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:10:05] local.INFO: Processing buffer {"connection_id":232926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:10:05] local.INFO: IMEI packet received {"connection_id":232926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":232926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:10:10] local.INFO: TCP Data received {"connection_id":232926,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:10:10] local.INFO: Processing buffer {"connection_id":232926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:10:10] local.INFO: IMEI packet received {"connection_id":232926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":232926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:10:11] local.INFO: TCP Data received {"connection_id":232926,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7d83d68012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7d83d68012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:10:11] local.INFO: Processing buffer {"connection_id":232926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7d83d68012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:10:11] local.INFO: Packet analysis {"connection_id":232926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7d8"} 
[2026-11-05 00:10:11] local.INFO: Extracted packet for processing {"connection_id":232926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7d8"} 
[2026-11-05 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217159168001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793817329000,"timestamp_ms":1793817329000,"timestamp_seconds":1793817329,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7d83d68"} 
[2026-11-05 00: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-05 00:10: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-05 00:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:10: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-05 00: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-05 00: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-05 00:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217159168001,"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-05 00:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217159168001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:10:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:10:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217159168001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":232926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:10:11] local.INFO: GPS data processed {"connection_id":232926,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:10:11] local.INFO: Acknowledgment sent {"connection_id":232926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:10:32] local.INFO: TCP Data received {"connection_id":229751,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229751,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:10:32] local.INFO: Processing buffer {"connection_id":229751,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:10:32] local.INFO: IMEI packet received {"connection_id":229751,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 00:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":229751,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:10:43] local.INFO: TCP Data received {"connection_id":232926,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7d83d68012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7d83d68012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:10:43] local.INFO: Processing buffer {"connection_id":232926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7d83d68012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:10:43] local.INFO: Packet analysis {"connection_id":232926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7d8"} 
[2026-11-05 00:10:43] local.INFO: Extracted packet for processing {"connection_id":232926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7d8"} 
[2026-11-05 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217159168001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793817329000,"timestamp_ms":1793817329000,"timestamp_seconds":1793817329,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7d83d68"} 
[2026-11-05 00: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-05 00:10: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-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:10: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-05 00: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-05 00: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-05 00:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217159168001,"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-05 00:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217159168001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:10:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:10:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217159168001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":232926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:10:43] local.INFO: GPS data processed {"connection_id":232926,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:10:43] local.INFO: Acknowledgment sent {"connection_id":232926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:11:05] local.INFO: TCP Data received {"connection_id":231060,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:11:05] local.INFO: Processing buffer {"connection_id":231060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:11:05] local.INFO: IMEI packet received {"connection_id":231060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":231060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:11:09] local.INFO: TCP Data received {"connection_id":231060,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:11:09] local.INFO: Processing buffer {"connection_id":231060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:11:09] local.INFO: IMEI packet received {"connection_id":231060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":231060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:11:10] local.INFO: TCP Data received {"connection_id":231060,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:11:10] local.INFO: Processing buffer {"connection_id":231060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:11:10] local.INFO: IMEI packet received {"connection_id":231060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":231060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:11:11] local.INFO: TCP Data received {"connection_id":231060,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7dcd530012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7dcd530012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:11:11] local.INFO: Processing buffer {"connection_id":231060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7dcd530012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:11:11] local.INFO: Packet analysis {"connection_id":231060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7dc"} 
[2026-11-05 00:11:11] local.INFO: Extracted packet for processing {"connection_id":231060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7dc"} 
[2026-11-05 00:11: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-05 00:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 00:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217236224001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793817630000,"timestamp_ms":1793817630000,"timestamp_seconds":1793817630,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7dcd530"} 
[2026-11-05 00:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 00:11: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-05 00:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 00:11: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-05 00:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 00:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 00:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:11: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-05 00:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217236224001,"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-05 00:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217236224001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:11:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:11:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:11: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-05 00:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217236224001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":231060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:11:11] local.INFO: GPS data processed {"connection_id":231060,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:11:11] local.INFO: Acknowledgment sent {"connection_id":231060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:11:42] local.INFO: TCP Data received {"connection_id":231060,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7dcd530012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7dcd530012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:11:42] local.INFO: Processing buffer {"connection_id":231060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7dcd530012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:11:42] local.INFO: Packet analysis {"connection_id":231060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7dc"} 
[2026-11-05 00:11:42] local.INFO: Extracted packet for processing {"connection_id":231060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7dc"} 
[2026-11-05 00:11: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 00:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217236224001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793817630000,"timestamp_ms":1793817630000,"timestamp_seconds":1793817630,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7dcd530"} 
[2026-11-05 00:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 00:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 00:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 00:11: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-05 00:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 00:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 00:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:11: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-05 00:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217236224001,"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-05 00:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217236224001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:11:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:11:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:11: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-05 00:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217236224001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":231060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:11:42] local.INFO: GPS data processed {"connection_id":231060,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:11:42] local.INFO: Acknowledgment sent {"connection_id":231060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:12:05] local.INFO: TCP Data received {"connection_id":229268,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:12:05] local.INFO: Processing buffer {"connection_id":229268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:12:05] local.INFO: IMEI packet received {"connection_id":229268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":229268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:12:10] local.INFO: TCP Data received {"connection_id":229268,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:12:10] local.INFO: Processing buffer {"connection_id":229268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:12:10] local.INFO: IMEI packet received {"connection_id":229268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":229268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:12:12] local.INFO: TCP Data received {"connection_id":229268,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7dcd530012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7dcd530012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:12:12] local.INFO: Processing buffer {"connection_id":229268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7dcd530012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:12:12] local.INFO: Packet analysis {"connection_id":229268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7dc"} 
[2026-11-05 00:12:12] local.INFO: Extracted packet for processing {"connection_id":229268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7dc"} 
[2026-11-05 00: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-05 00: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-05 00:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217236224001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793817630000,"timestamp_ms":1793817630000,"timestamp_seconds":1793817630,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7dcd530"} 
[2026-11-05 00: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-05 00: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-05 00: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":255,"data_length":795,"current_offset":136} 
[2026-11-05 00:12: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-05 00: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-05 00: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-05 00:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217236224001,"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-05 00:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217236224001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:12:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:12:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217236224001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:12:12] 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":60955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:12:12] local.INFO: GPS data processed {"connection_id":229268,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:12:12] local.INFO: Acknowledgment sent {"connection_id":229268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:12:43] local.INFO: TCP Data received {"connection_id":229268,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7dcd530012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7dcd530012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:12:43] local.INFO: Processing buffer {"connection_id":229268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7dcd530012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:12:43] local.INFO: Packet analysis {"connection_id":229268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7dc"} 
[2026-11-05 00:12:43] local.INFO: Extracted packet for processing {"connection_id":229268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7dc"} 
[2026-11-05 00: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-05 00: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-05 00:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217236224001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793817630000,"timestamp_ms":1793817630000,"timestamp_seconds":1793817630,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7dcd530"} 
[2026-11-05 00: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-05 00:12: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-05 00: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":255,"data_length":795,"current_offset":136} 
[2026-11-05 00:12: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-05 00: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-05 00: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-05 00:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217236224001,"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-05 00:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217236224001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:12:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:12:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217236224001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:12:43] 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":60956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:12:43] local.INFO: GPS data processed {"connection_id":229268,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:12:43] local.INFO: Acknowledgment sent {"connection_id":229268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:13:05] local.INFO: TCP Data received {"connection_id":232928,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:13:05] local.INFO: Processing buffer {"connection_id":232928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:13:05] local.INFO: IMEI packet received {"connection_id":232928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":232928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:13:10] local.INFO: TCP Data received {"connection_id":232928,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:13:10] local.INFO: Processing buffer {"connection_id":232928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:13:10] local.INFO: IMEI packet received {"connection_id":232928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":232928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:13:11] local.INFO: TCP Data received {"connection_id":232928,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7dcd530012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7dcd530012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:13:11] local.INFO: Processing buffer {"connection_id":232928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7dcd530012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:13:11] local.INFO: Packet analysis {"connection_id":232928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7dc"} 
[2026-11-05 00:13:11] local.INFO: Extracted packet for processing {"connection_id":232928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7dc"} 
[2026-11-05 00:13: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-05 00:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 00:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217236224001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793817630000,"timestamp_ms":1793817630000,"timestamp_seconds":1793817630,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7dcd530"} 
[2026-11-05 00:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 00:13: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-05 00:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 00:13: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-05 00:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 00:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 00:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:13: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-05 00:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217236224001,"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-05 00:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217236224001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:13:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:13:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:13: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-05 00:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217236224001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":232928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:13:11] local.INFO: GPS data processed {"connection_id":232928,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:13:11] local.INFO: Acknowledgment sent {"connection_id":232928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:13:43] local.INFO: TCP Data received {"connection_id":232928,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7dcd530012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7dcd530012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:13:43] local.INFO: Processing buffer {"connection_id":232928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7dcd530012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:13:43] local.INFO: Packet analysis {"connection_id":232928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7dc"} 
[2026-11-05 00:13:43] local.INFO: Extracted packet for processing {"connection_id":232928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7dc"} 
[2026-11-05 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217236224001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793817630000,"timestamp_ms":1793817630000,"timestamp_seconds":1793817630,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7dcd530"} 
[2026-11-05 00: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-05 00:13: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-05 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 00:13: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-05 00: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-05 00: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-05 00:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217236224001,"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-05 00:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217236224001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:13:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:13:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217236224001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":232928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:13:43] local.INFO: GPS data processed {"connection_id":232928,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:13:43] local.INFO: Acknowledgment sent {"connection_id":232928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:14:05] local.INFO: TCP Data received {"connection_id":229753,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:14:05] local.INFO: Processing buffer {"connection_id":229753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:14:05] local.INFO: IMEI packet received {"connection_id":229753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":229753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:14:10] local.INFO: TCP Data received {"connection_id":229753,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:14:10] local.INFO: Processing buffer {"connection_id":229753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:14:10] local.INFO: IMEI packet received {"connection_id":229753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":229753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:14:12] local.INFO: TCP Data received {"connection_id":229753,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7dcd530012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7dcd530012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:14:12] local.INFO: Processing buffer {"connection_id":229753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7dcd530012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:14:12] local.INFO: Packet analysis {"connection_id":229753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7dc"} 
[2026-11-05 00:14:12] local.INFO: Extracted packet for processing {"connection_id":229753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7dc"} 
[2026-11-05 00: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-05 00: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-05 00:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217236224001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793817630000,"timestamp_ms":1793817630000,"timestamp_seconds":1793817630,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7dcd530"} 
[2026-11-05 00: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-05 00: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-05 00: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":255,"data_length":795,"current_offset":136} 
[2026-11-05 00:14: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-05 00: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-05 00: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-05 00:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217236224001,"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-05 00:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217236224001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:14:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:14:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217236224001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":229753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:14:12] local.INFO: GPS data processed {"connection_id":229753,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:14:12] local.INFO: Acknowledgment sent {"connection_id":229753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:14:43] local.INFO: TCP Data received {"connection_id":229753,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7dcd530012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7dcd530012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:14:43] local.INFO: Processing buffer {"connection_id":229753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7dcd530012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:14:43] local.INFO: Packet analysis {"connection_id":229753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7dc"} 
[2026-11-05 00:14:43] local.INFO: Extracted packet for processing {"connection_id":229753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7dc"} 
[2026-11-05 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217236224001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793817630000,"timestamp_ms":1793817630000,"timestamp_seconds":1793817630,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7dcd530"} 
[2026-11-05 00: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-05 00:14: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-05 00: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":255,"data_length":795,"current_offset":136} 
[2026-11-05 00:14: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-05 00: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-05 00: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-05 00:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217236224001,"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-05 00:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217236224001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:14:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:14:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217236224001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":229753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:14:43] local.INFO: GPS data processed {"connection_id":229753,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:14:43] local.INFO: Acknowledgment sent {"connection_id":229753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:15:05] local.INFO: TCP Data received {"connection_id":229270,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:15:05] local.INFO: Processing buffer {"connection_id":229270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:15:05] local.INFO: IMEI packet received {"connection_id":229270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":229270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:15:10] local.INFO: TCP Data received {"connection_id":229270,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:15:10] local.INFO: Processing buffer {"connection_id":229270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:15:10] local.INFO: IMEI packet received {"connection_id":229270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":229270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:15:11] local.INFO: TCP Data received {"connection_id":229270,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7dcd530012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7dcd530012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:15:11] local.INFO: Processing buffer {"connection_id":229270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7dcd530012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:15:11] local.INFO: Packet analysis {"connection_id":229270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7dc"} 
[2026-11-05 00:15:11] local.INFO: Extracted packet for processing {"connection_id":229270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7dc"} 
[2026-11-05 00:15: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-05 00:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 00:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217236224001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793817630000,"timestamp_ms":1793817630000,"timestamp_seconds":1793817630,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7dcd530"} 
[2026-11-05 00:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 00:15: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-05 00:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 00:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 00:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 00:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:15: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-05 00:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217236224001,"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-05 00:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217236224001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:15:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:15:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:15: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-05 00:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217236224001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":229270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:15:11] local.INFO: GPS data processed {"connection_id":229270,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:15:11] local.INFO: Acknowledgment sent {"connection_id":229270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:15:43] local.INFO: TCP Data received {"connection_id":229270,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7dcd530012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7dcd530012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:15:43] local.INFO: Processing buffer {"connection_id":229270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7dcd530012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:15:43] local.INFO: Packet analysis {"connection_id":229270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7dc"} 
[2026-11-05 00:15:43] local.INFO: Extracted packet for processing {"connection_id":229270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7dc"} 
[2026-11-05 00: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-05 00: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-05 00:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217236224001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793817630000,"timestamp_ms":1793817630000,"timestamp_seconds":1793817630,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7dcd530"} 
[2026-11-05 00: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-05 00:15: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-05 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 00:15: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-05 00: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-05 00: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-05 00:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217236224001,"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-05 00:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217236224001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:15:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:15:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217236224001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":229270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:15:43] local.INFO: GPS data processed {"connection_id":229270,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:15:43] local.INFO: Acknowledgment sent {"connection_id":229270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:16:07] local.INFO: TCP Data received {"connection_id":232929,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:16:07] local.INFO: Processing buffer {"connection_id":232929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:16:07] local.INFO: IMEI packet received {"connection_id":232929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 00:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":232929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:16:09] local.INFO: TCP Data received {"connection_id":229756,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:16:09] local.INFO: Processing buffer {"connection_id":229756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:16:09] local.INFO: IMEI packet received {"connection_id":229756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":229756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:16:10] local.INFO: TCP Data received {"connection_id":229756,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:16:10] local.INFO: Processing buffer {"connection_id":229756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:16:10] local.INFO: IMEI packet received {"connection_id":229756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":229756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:16:15] local.INFO: TCP Data received {"connection_id":229756,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:16:15] local.INFO: Processing buffer {"connection_id":229756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:16:15] local.INFO: IMEI packet received {"connection_id":229756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":229756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:16:17] local.INFO: TCP Data received {"connection_id":229756,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7e16cf8012d34c14006aa4118000a01012b..."} 
[2026-11-05 00:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7e16cf8012d34c14006aa4118000a01012b..."} 
[2026-11-05 00:16:17] local.INFO: Processing buffer {"connection_id":229756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7e16cf8012d34c14006aa4118000a01012b..."} 
[2026-11-05 00:16:17] local.INFO: Packet analysis {"connection_id":229756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7e1"} 
[2026-11-05 00:16:17] local.INFO: Extracted packet for processing {"connection_id":229756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7e1"} 
[2026-11-05 00: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 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-05 00:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217313280001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793817931000,"timestamp_ms":1793817931000,"timestamp_seconds":1793817931,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7e16cf8"} 
[2026-11-05 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-05 00:16: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-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:16: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-05 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-05 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-05 00:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217313280001,"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-05 00:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217313280001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:16:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:16:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217313280001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":229756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:16:17] local.INFO: GPS data processed {"connection_id":229756,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:16:17] local.INFO: Acknowledgment sent {"connection_id":229756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:16:48] local.INFO: TCP Data received {"connection_id":229756,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7e16cf8012d34c14006aa4118000a01012b..."} 
[2026-11-05 00:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7e16cf8012d34c14006aa4118000a01012b..."} 
[2026-11-05 00:16:48] local.INFO: Processing buffer {"connection_id":229756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7e16cf8012d34c14006aa4118000a01012b..."} 
[2026-11-05 00:16:48] local.INFO: Packet analysis {"connection_id":229756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7e1"} 
[2026-11-05 00:16:48] local.INFO: Extracted packet for processing {"connection_id":229756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7e1"} 
[2026-11-05 00:16: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217313280001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793817931000,"timestamp_ms":1793817931000,"timestamp_seconds":1793817931,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7e16cf8"} 
[2026-11-05 00: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-05 00:16: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-05 00: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":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:16: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-05 00: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-05 00: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-05 00:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:16: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-05 00:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217313280001,"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-05 00:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217313280001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:16:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:16:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:16: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-05 00:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217313280001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":229756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:16:48] local.INFO: GPS data processed {"connection_id":229756,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:16:48] local.INFO: Acknowledgment sent {"connection_id":229756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:17:05] local.INFO: TCP Data received {"connection_id":232930,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:17:05] local.INFO: Processing buffer {"connection_id":232930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:17:05] local.INFO: IMEI packet received {"connection_id":232930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":232930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:17:10] local.INFO: TCP Data received {"connection_id":232930,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:17:10] local.INFO: Processing buffer {"connection_id":232930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:17:10] local.INFO: IMEI packet received {"connection_id":232930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":232930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:17:12] local.INFO: TCP Data received {"connection_id":232930,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7e16cf8012d34c14006aa4118000a01012b..."} 
[2026-11-05 00:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7e16cf8012d34c14006aa4118000a01012b..."} 
[2026-11-05 00:17:12] local.INFO: Processing buffer {"connection_id":232930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7e16cf8012d34c14006aa4118000a01012b..."} 
[2026-11-05 00:17:12] local.INFO: Packet analysis {"connection_id":232930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7e1"} 
[2026-11-05 00:17:12] local.INFO: Extracted packet for processing {"connection_id":232930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7e1"} 
[2026-11-05 00: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 00:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217313280001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793817931000,"timestamp_ms":1793817931000,"timestamp_seconds":1793817931,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7e16cf8"} 
[2026-11-05 00:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 00:17: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-05 00:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 00:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 00:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217313280001,"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-05 00:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217313280001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:17:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:17:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217313280001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":232930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:17:12] local.INFO: GPS data processed {"connection_id":232930,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:17:12] local.INFO: Acknowledgment sent {"connection_id":232930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:17:43] local.INFO: TCP Data received {"connection_id":232930,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7e16cf8012d34c14006aa4118000a01012b..."} 
[2026-11-05 00:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7e16cf8012d34c14006aa4118000a01012b..."} 
[2026-11-05 00:17:43] local.INFO: Processing buffer {"connection_id":232930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7e16cf8012d34c14006aa4118000a01012b..."} 
[2026-11-05 00:17:43] local.INFO: Packet analysis {"connection_id":232930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7e1"} 
[2026-11-05 00:17:43] local.INFO: Extracted packet for processing {"connection_id":232930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7e1"} 
[2026-11-05 00: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217313280001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:17: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-05 00:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793817931000,"timestamp_ms":1793817931000,"timestamp_seconds":1793817931,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7e16cf8"} 
[2026-11-05 00: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-05 00:17: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-05 00: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-05 00: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-05 00: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-05 00: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-05 00:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217313280001,"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-05 00:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217313280001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:17:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:17:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217313280001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":232930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:17:43] local.INFO: GPS data processed {"connection_id":232930,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:17:43] local.INFO: Acknowledgment sent {"connection_id":232930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:18:05] local.INFO: TCP Data received {"connection_id":232931,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:18:05] local.INFO: Processing buffer {"connection_id":232931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:18:05] local.INFO: IMEI packet received {"connection_id":232931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":232931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:18:10] local.INFO: TCP Data received {"connection_id":232931,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:18:10] local.INFO: Processing buffer {"connection_id":232931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:18:10] local.INFO: IMEI packet received {"connection_id":232931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":232931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:18:11] local.INFO: TCP Data received {"connection_id":232931,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7e16cf8012d34c14006aa4118000a01012b..."} 
[2026-11-05 00:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7e16cf8012d34c14006aa4118000a01012b..."} 
[2026-11-05 00:18:11] local.INFO: Processing buffer {"connection_id":232931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7e16cf8012d34c14006aa4118000a01012b..."} 
[2026-11-05 00:18:11] local.INFO: Packet analysis {"connection_id":232931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7e1"} 
[2026-11-05 00:18:11] local.INFO: Extracted packet for processing {"connection_id":232931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7e1"} 
[2026-11-05 00:18: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-05 00: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-05 00:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217313280001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793817931000,"timestamp_ms":1793817931000,"timestamp_seconds":1793817931,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7e16cf8"} 
[2026-11-05 00: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-05 00:18: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-05 00:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00: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-05 00: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-05 00:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:18: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-05 00:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217313280001,"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-05 00:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217313280001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:18:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:18:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:18: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-05 00:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217313280001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":232931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:18:11] local.INFO: GPS data processed {"connection_id":232931,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:18:11] local.INFO: Acknowledgment sent {"connection_id":232931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:18:43] local.INFO: TCP Data received {"connection_id":232931,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7e16cf8012d34c14006aa4118000a01012b..."} 
[2026-11-05 00:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7e16cf8012d34c14006aa4118000a01012b..."} 
[2026-11-05 00:18:43] local.INFO: Processing buffer {"connection_id":232931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7e16cf8012d34c14006aa4118000a01012b..."} 
[2026-11-05 00:18:43] local.INFO: Packet analysis {"connection_id":232931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7e1"} 
[2026-11-05 00:18:43] local.INFO: Extracted packet for processing {"connection_id":232931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7e1"} 
[2026-11-05 00:18: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-05 00:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 00:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217313280001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:18: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-05 00:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793817931000,"timestamp_ms":1793817931000,"timestamp_seconds":1793817931,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7e16cf8"} 
[2026-11-05 00: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-05 00:18: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-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:18: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-05 00: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-05 00: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-05 00:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:18: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-05 00:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217313280001,"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-05 00:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217313280001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:18:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:18:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:18: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-05 00:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217313280001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":232931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:18:43] local.INFO: GPS data processed {"connection_id":232931,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:18:43] local.INFO: Acknowledgment sent {"connection_id":232931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:19:10] local.INFO: TCP Data received {"connection_id":232932,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:19:10] local.INFO: Processing buffer {"connection_id":232932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:19:10] local.INFO: IMEI packet received {"connection_id":232932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":232932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:19:15] local.INFO: TCP Data received {"connection_id":232932,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:19:15] local.INFO: Processing buffer {"connection_id":232932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:19:15] local.INFO: IMEI packet received {"connection_id":232932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":232932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:19:16] local.INFO: TCP Data received {"connection_id":232932,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7e16cf8012d34c14006aa4118000a01012b..."} 
[2026-11-05 00:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7e16cf8012d34c14006aa4118000a01012b..."} 
[2026-11-05 00:19:16] local.INFO: Processing buffer {"connection_id":232932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7e16cf8012d34c14006aa4118000a01012b..."} 
[2026-11-05 00:19:16] local.INFO: Packet analysis {"connection_id":232932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7e1"} 
[2026-11-05 00:19:16] local.INFO: Extracted packet for processing {"connection_id":232932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7e1"} 
[2026-11-05 00:19: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-05 00: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-05 00:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217313280001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:19: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-05 00:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793817931000,"timestamp_ms":1793817931000,"timestamp_seconds":1793817931,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7e16cf8"} 
[2026-11-05 00: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-05 00: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-05 00:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00: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-05 00: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-05 00:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:19: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-05 00:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217313280001,"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-05 00:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217313280001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:19:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:19:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:19: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-05 00:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217313280001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":232932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:19:16] local.INFO: GPS data processed {"connection_id":232932,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:19:16] local.INFO: Acknowledgment sent {"connection_id":232932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:19:21] local.INFO: TCP Data received {"connection_id":232932,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7e16cf8012d34c14006aa4118000a01012b..."} 
[2026-11-05 00:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7e16cf8012d34c14006aa4118000a01012b..."} 
[2026-11-05 00:19:21] local.INFO: Processing buffer {"connection_id":232932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7e16cf8012d34c14006aa4118000a01012b..."} 
[2026-11-05 00:19:21] local.INFO: Packet analysis {"connection_id":232932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7e1"} 
[2026-11-05 00:19:21] local.INFO: Extracted packet for processing {"connection_id":232932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7e1"} 
[2026-11-05 00:19: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-05 00: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-05 00:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217313280001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:19: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-05 00:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793817931000,"timestamp_ms":1793817931000,"timestamp_seconds":1793817931,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7e16cf8"} 
[2026-11-05 00: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-05 00: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-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:19: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-05 00: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-05 00: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-05 00:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:19: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-05 00:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217313280001,"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-05 00:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217313280001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:19:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:19:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:19: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-05 00:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217313280001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":232932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:19:21] local.INFO: GPS data processed {"connection_id":232932,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:19:21] local.INFO: Acknowledgment sent {"connection_id":232932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:20:05] local.INFO: TCP Data received {"connection_id":229758,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:20:05] local.INFO: Processing buffer {"connection_id":229758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:20:05] local.INFO: IMEI packet received {"connection_id":229758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":229758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:20:10] local.INFO: TCP Data received {"connection_id":229758,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:20:10] local.INFO: Processing buffer {"connection_id":229758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:20:10] local.INFO: IMEI packet received {"connection_id":229758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":229758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:20:11] local.INFO: TCP Data received {"connection_id":229758,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7e16cf8012d34c14006aa4118000a01012b..."} 
[2026-11-05 00:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7e16cf8012d34c14006aa4118000a01012b..."} 
[2026-11-05 00:20:11] local.INFO: Processing buffer {"connection_id":229758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7e16cf8012d34c14006aa4118000a01012b..."} 
[2026-11-05 00:20:11] local.INFO: Packet analysis {"connection_id":229758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7e1"} 
[2026-11-05 00:20:11] local.INFO: Extracted packet for processing {"connection_id":229758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7e1"} 
[2026-11-05 00: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217313280001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793817931000,"timestamp_ms":1793817931000,"timestamp_seconds":1793817931,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7e16cf8"} 
[2026-11-05 00: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-05 00:20: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-05 00:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00: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-05 00: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-05 00:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217313280001,"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-05 00:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217313280001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:20:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:20:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217313280001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":229758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:20:11] local.INFO: GPS data processed {"connection_id":229758,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:20:11] local.INFO: Acknowledgment sent {"connection_id":229758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:20:43] local.INFO: TCP Data received {"connection_id":229758,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7e16cf8012d34c14006aa4118000a01012b..."} 
[2026-11-05 00:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7e16cf8012d34c14006aa4118000a01012b..."} 
[2026-11-05 00:20:43] local.INFO: Processing buffer {"connection_id":229758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7e16cf8012d34c14006aa4118000a01012b..."} 
[2026-11-05 00:20:43] local.INFO: Packet analysis {"connection_id":229758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7e1"} 
[2026-11-05 00:20:43] local.INFO: Extracted packet for processing {"connection_id":229758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7e1"} 
[2026-11-05 00: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217313280001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793817931000,"timestamp_ms":1793817931000,"timestamp_seconds":1793817931,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7e16cf8"} 
[2026-11-05 00: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-05 00:20: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-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:20: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-05 00: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-05 00: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-05 00:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217313280001,"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-05 00:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217313280001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:20:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:20:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217313280001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":229758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:20:43] local.INFO: GPS data processed {"connection_id":229758,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:20:43] local.INFO: Acknowledgment sent {"connection_id":229758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:21:06] local.INFO: TCP Data received {"connection_id":231062,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:21:06] local.INFO: Processing buffer {"connection_id":231062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:21:06] local.INFO: IMEI packet received {"connection_id":231062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":231062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:21:10] local.INFO: TCP Data received {"connection_id":231062,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:21:10] local.INFO: Processing buffer {"connection_id":231062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:21:10] local.INFO: IMEI packet received {"connection_id":231062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":231062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:21:11] local.INFO: TCP Data received {"connection_id":231062,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7e604c0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7e604c0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:21:11] local.INFO: Processing buffer {"connection_id":231062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7e604c0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:21:11] local.INFO: Packet analysis {"connection_id":231062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7e6"} 
[2026-11-05 00:21:11] local.INFO: Extracted packet for processing {"connection_id":231062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7e6"} 
[2026-11-05 00:21: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-05 00: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-05 00:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217390336001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:21: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-05 00:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793818232000,"timestamp_ms":1793818232000,"timestamp_seconds":1793818232,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7e604c0"} 
[2026-11-05 00: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-05 00: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-05 00:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 00:21: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-05 00: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-05 00: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-05 00:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:21: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-05 00:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217390336001,"66":25375,"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-05 00:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217390336001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:21:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 00:21:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:21: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-05 00:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217390336001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":231062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:21:11] local.INFO: GPS data processed {"connection_id":231062,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:21:11] local.INFO: Acknowledgment sent {"connection_id":231062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:21:27] local.INFO: TCP Data received {"connection_id":232933,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:21:27] local.INFO: Processing buffer {"connection_id":232933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:21:27] local.INFO: IMEI packet received {"connection_id":232933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 00:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":232933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:21:43] local.INFO: TCP Data received {"connection_id":231062,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7e604c0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7e604c0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:21:43] local.INFO: Processing buffer {"connection_id":231062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7e604c0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:21:43] local.INFO: Packet analysis {"connection_id":231062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7e6"} 
[2026-11-05 00:21:43] local.INFO: Extracted packet for processing {"connection_id":231062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7e6"} 
[2026-11-05 00: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217390336001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793818232000,"timestamp_ms":1793818232000,"timestamp_seconds":1793818232,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7e604c0"} 
[2026-11-05 00: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-05 00:21: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-05 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 00:21: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-05 00: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-05 00: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-05 00:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217390336001,"66":25375,"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-05 00:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217390336001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:21:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 00:21:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217390336001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":231062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:21:43] local.INFO: GPS data processed {"connection_id":231062,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:21:43] local.INFO: Acknowledgment sent {"connection_id":231062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:22:05] local.INFO: TCP Data received {"connection_id":232934,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:22:05] local.INFO: Processing buffer {"connection_id":232934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:22:05] local.INFO: IMEI packet received {"connection_id":232934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":232934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:22:10] local.INFO: TCP Data received {"connection_id":232934,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:22:10] local.INFO: Processing buffer {"connection_id":232934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:22:10] local.INFO: IMEI packet received {"connection_id":232934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":232934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:22:11] local.INFO: TCP Data received {"connection_id":232934,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7e604c0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7e604c0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:22:11] local.INFO: Processing buffer {"connection_id":232934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7e604c0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:22:11] local.INFO: Packet analysis {"connection_id":232934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7e6"} 
[2026-11-05 00:22:11] local.INFO: Extracted packet for processing {"connection_id":232934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7e6"} 
[2026-11-05 00:22: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-05 00: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-05 00:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217390336001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:22: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-05 00:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793818232000,"timestamp_ms":1793818232000,"timestamp_seconds":1793818232,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7e604c0"} 
[2026-11-05 00: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-05 00:22: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-05 00:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 00:22: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-05 00: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-05 00: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-05 00:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:22: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-05 00:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217390336001,"66":25375,"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-05 00:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217390336001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:22:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 00:22:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:22: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-05 00:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217390336001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":232934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:22:11] local.INFO: GPS data processed {"connection_id":232934,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:22:11] local.INFO: Acknowledgment sent {"connection_id":232934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:22:12] local.INFO: TCP Data received {"connection_id":229759,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229759,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:22:12] local.INFO: Processing buffer {"connection_id":229759,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:22:12] local.INFO: IMEI packet received {"connection_id":229759,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 00:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":229759,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:22:43] local.INFO: TCP Data received {"connection_id":232934,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7e604c0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7e604c0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:22:43] local.INFO: Processing buffer {"connection_id":232934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7e604c0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:22:43] local.INFO: Packet analysis {"connection_id":232934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7e6"} 
[2026-11-05 00:22:43] local.INFO: Extracted packet for processing {"connection_id":232934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7e6"} 
[2026-11-05 00: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217390336001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:22: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-05 00:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793818232000,"timestamp_ms":1793818232000,"timestamp_seconds":1793818232,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7e604c0"} 
[2026-11-05 00: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-05 00:22: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-05 00:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 00:22: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-05 00: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-05 00: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-05 00:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217390336001,"66":25375,"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-05 00:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217390336001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:22:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 00:22:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217390336001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":232934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:22:43] local.INFO: GPS data processed {"connection_id":232934,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:22:43] local.INFO: Acknowledgment sent {"connection_id":232934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:23:05] local.INFO: TCP Data received {"connection_id":231064,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:23:05] local.INFO: Processing buffer {"connection_id":231064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:23:05] local.INFO: IMEI packet received {"connection_id":231064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":231064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:23:10] local.INFO: TCP Data received {"connection_id":231064,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:23:10] local.INFO: Processing buffer {"connection_id":231064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:23:10] local.INFO: IMEI packet received {"connection_id":231064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":231064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:23:11] local.INFO: TCP Data received {"connection_id":231064,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7e604c0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7e604c0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:23:11] local.INFO: Processing buffer {"connection_id":231064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7e604c0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:23:11] local.INFO: Packet analysis {"connection_id":231064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7e6"} 
[2026-11-05 00:23:11] local.INFO: Extracted packet for processing {"connection_id":231064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7e6"} 
[2026-11-05 00:23: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-05 00: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-05 00:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217390336001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:23: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-05 00:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793818232000,"timestamp_ms":1793818232000,"timestamp_seconds":1793818232,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7e604c0"} 
[2026-11-05 00: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-05 00:23: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-05 00:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 00:23: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-05 00: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-05 00: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-05 00:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:23: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-05 00:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217390336001,"66":25375,"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-05 00:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217390336001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:23:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 00:23:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:23: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-05 00:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217390336001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":231064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:23:11] local.INFO: GPS data processed {"connection_id":231064,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:23:11] local.INFO: Acknowledgment sent {"connection_id":231064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:23:17] local.INFO: TCP Data received {"connection_id":231065,"ip":"85.217.140.15","data_length":8,"data_hex":"3030303030303030..."} 
[2026-11-05 00:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231065,"packet_length":8,"packet_hex":"3030303030303030..."} 
[2026-11-05 00:23:17] local.INFO: Processing buffer {"connection_id":231065,"buffer_length":8,"buffer_hex":"3030303030303030..."} 
[2026-11-05 00:23:42] local.INFO: TCP Data received {"connection_id":231064,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7e604c0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7e604c0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:23:42] local.INFO: Processing buffer {"connection_id":231064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7e604c0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:23:42] local.INFO: Packet analysis {"connection_id":231064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7e6"} 
[2026-11-05 00:23:42] local.INFO: Extracted packet for processing {"connection_id":231064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7e6"} 
[2026-11-05 00:23: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 00:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217390336001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:23: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-05 00:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793818232000,"timestamp_ms":1793818232000,"timestamp_seconds":1793818232,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7e604c0"} 
[2026-11-05 00:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 00:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 00:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 00:23: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-05 00:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 00:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 00:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:23: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-05 00:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217390336001,"66":25375,"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-05 00:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217390336001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:23:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 00:23:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:23: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-05 00:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217390336001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":231064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:23:42] local.INFO: GPS data processed {"connection_id":231064,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:23:42] local.INFO: Acknowledgment sent {"connection_id":231064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:24:10] local.INFO: TCP Data received {"connection_id":229273,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:24:10] local.INFO: Processing buffer {"connection_id":229273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:24:10] local.INFO: IMEI packet received {"connection_id":229273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":229273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:24:15] local.INFO: TCP Data received {"connection_id":229273,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:24:15] local.INFO: Processing buffer {"connection_id":229273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:24:15] local.INFO: IMEI packet received {"connection_id":229273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":229273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:24:16] local.INFO: TCP Data received {"connection_id":229273,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7e604c0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7e604c0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:24:16] local.INFO: Processing buffer {"connection_id":229273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7e604c0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:24:16] local.INFO: Packet analysis {"connection_id":229273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7e6"} 
[2026-11-05 00:24:16] local.INFO: Extracted packet for processing {"connection_id":229273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7e6"} 
[2026-11-05 00:24: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217390336001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:24: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-05 00:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793818232000,"timestamp_ms":1793818232000,"timestamp_seconds":1793818232,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7e604c0"} 
[2026-11-05 00: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-05 00:24: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-05 00:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 00:24: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-05 00: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-05 00: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-05 00:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:24: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-05 00:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217390336001,"66":25375,"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-05 00:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217390336001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:24:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 00:24:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:24: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-05 00:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217390336001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:24:16] 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":60979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:24:16] local.INFO: GPS data processed {"connection_id":229273,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:24:16] local.INFO: Acknowledgment sent {"connection_id":229273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:24:21] local.INFO: TCP Data received {"connection_id":229273,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7e604c0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7e604c0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:24:21] local.INFO: Processing buffer {"connection_id":229273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7e604c0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:24:21] local.INFO: Packet analysis {"connection_id":229273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7e6"} 
[2026-11-05 00:24:21] local.INFO: Extracted packet for processing {"connection_id":229273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7e6"} 
[2026-11-05 00:24: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 00:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217390336001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:24: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-05 00:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793818232000,"timestamp_ms":1793818232000,"timestamp_seconds":1793818232,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7e604c0"} 
[2026-11-05 00:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 00:24: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-05 00:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-05 00:24: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-05 00:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 00:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 00:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:24: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-05 00:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217390336001,"66":25375,"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-05 00:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217390336001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:24:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 00:24:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:24: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-05 00:24:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217390336001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:24:21] 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":60980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:24:21] local.INFO: GPS data processed {"connection_id":229273,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:24:21] local.INFO: Acknowledgment sent {"connection_id":229273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:25:06] local.INFO: TCP Data received {"connection_id":232936,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:25:06] local.INFO: Processing buffer {"connection_id":232936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:25:06] local.INFO: IMEI packet received {"connection_id":232936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":232936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:25:10] local.INFO: TCP Data received {"connection_id":232936,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:25:10] local.INFO: Processing buffer {"connection_id":232936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:25:10] local.INFO: IMEI packet received {"connection_id":232936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":232936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:25:12] local.INFO: TCP Data received {"connection_id":232936,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7e604c0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7e604c0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:25:12] local.INFO: Processing buffer {"connection_id":232936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7e604c0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:25:12] local.INFO: Packet analysis {"connection_id":232936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7e6"} 
[2026-11-05 00:25:12] local.INFO: Extracted packet for processing {"connection_id":232936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7e6"} 
[2026-11-05 00: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 00:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217390336001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:25: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-05 00:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793818232000,"timestamp_ms":1793818232000,"timestamp_seconds":1793818232,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7e604c0"} 
[2026-11-05 00:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 00: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-05 00:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 00:25: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-05 00:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 00:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 00:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217390336001,"66":25375,"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-05 00:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217390336001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:25:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 00:25:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217390336001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":232936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:25:12] local.INFO: GPS data processed {"connection_id":232936,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:25:12] local.INFO: Acknowledgment sent {"connection_id":232936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:25:43] local.INFO: TCP Data received {"connection_id":232936,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7e604c0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7e604c0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:25:43] local.INFO: Processing buffer {"connection_id":232936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7e604c0012d34c14006aa4118000a01012e..."} 
[2026-11-05 00:25:43] local.INFO: Packet analysis {"connection_id":232936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7e6"} 
[2026-11-05 00:25:43] local.INFO: Extracted packet for processing {"connection_id":232936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7e6"} 
[2026-11-05 00: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217390336001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793818232000,"timestamp_ms":1793818232000,"timestamp_seconds":1793818232,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7e604c0"} 
[2026-11-05 00: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-05 00:25: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-05 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 00:25: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-05 00: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-05 00: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-05 00:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217390336001,"66":25375,"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-05 00:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217390336001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:25:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 00:25:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217390336001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":232936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:25:43] local.INFO: GPS data processed {"connection_id":232936,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:25:43] local.INFO: Acknowledgment sent {"connection_id":232936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:26:05] local.INFO: TCP Data received {"connection_id":229274,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:26:05] local.INFO: Processing buffer {"connection_id":229274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:26:05] local.INFO: IMEI packet received {"connection_id":229274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":229274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:26:10] local.INFO: TCP Data received {"connection_id":229274,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:26:10] local.INFO: Processing buffer {"connection_id":229274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:26:10] local.INFO: IMEI packet received {"connection_id":229274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":229274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:26:11] local.INFO: TCP Data received {"connection_id":229274,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:26:11] local.INFO: Processing buffer {"connection_id":229274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:26:11] local.INFO: Packet analysis {"connection_id":229274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ea"} 
[2026-11-05 00:26:11] local.INFO: Extracted packet for processing {"connection_id":229274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ea"} 
[2026-11-05 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217467392001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793818533000,"timestamp_ms":1793818533000,"timestamp_seconds":1793818533,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7ea9c88"} 
[2026-11-05 00: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-05 00:26: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-05 00:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 00:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00: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-05 00: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-05 00:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217467392001,"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-05 00:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217467392001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:26:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:26:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217467392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":229274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:26:11] local.INFO: GPS data processed {"connection_id":229274,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:26:11] local.INFO: Acknowledgment sent {"connection_id":229274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:26:43] local.INFO: TCP Data received {"connection_id":229274,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:26:43] local.INFO: Processing buffer {"connection_id":229274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:26:43] local.INFO: Packet analysis {"connection_id":229274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ea"} 
[2026-11-05 00:26:43] local.INFO: Extracted packet for processing {"connection_id":229274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ea"} 
[2026-11-05 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 00:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217467392001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793818533000,"timestamp_ms":1793818533000,"timestamp_seconds":1793818533,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7ea9c88"} 
[2026-11-05 00:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 00:26: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-05 00:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 00:26: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-05 00:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 00:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 00:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217467392001,"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-05 00:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217467392001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:26:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:26:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217467392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":229274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:26:43] local.INFO: GPS data processed {"connection_id":229274,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:26:43] local.INFO: Acknowledgment sent {"connection_id":229274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:27:10] local.INFO: TCP Data received {"connection_id":229275,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:27:10] local.INFO: Processing buffer {"connection_id":229275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:27:10] local.INFO: IMEI packet received {"connection_id":229275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":229275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:27:15] local.INFO: TCP Data received {"connection_id":229275,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:27:15] local.INFO: Processing buffer {"connection_id":229275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:27:15] local.INFO: IMEI packet received {"connection_id":229275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":229275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:27:16] local.INFO: TCP Data received {"connection_id":229275,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:27:16] local.INFO: Processing buffer {"connection_id":229275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:27:16] local.INFO: Packet analysis {"connection_id":229275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ea"} 
[2026-11-05 00:27:16] local.INFO: Extracted packet for processing {"connection_id":229275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ea"} 
[2026-11-05 00:27: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-05 00: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-05 00:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217467392001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:27: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-05 00:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793818533000,"timestamp_ms":1793818533000,"timestamp_seconds":1793818533,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7ea9c88"} 
[2026-11-05 00: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-05 00: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-05 00:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 00:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00: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-05 00: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-05 00:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:27: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-05 00:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217467392001,"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-05 00:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217467392001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:27:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:27:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:27: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-05 00:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217467392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:27:16] 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":60985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:27:16] local.INFO: GPS data processed {"connection_id":229275,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:27:16] local.INFO: Acknowledgment sent {"connection_id":229275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:27:21] local.INFO: TCP Data received {"connection_id":229275,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:27:21] local.INFO: Processing buffer {"connection_id":229275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:27:21] local.INFO: Packet analysis {"connection_id":229275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ea"} 
[2026-11-05 00:27:21] local.INFO: Extracted packet for processing {"connection_id":229275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ea"} 
[2026-11-05 00:27: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-05 00: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-05 00:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217467392001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:27: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-05 00:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793818533000,"timestamp_ms":1793818533000,"timestamp_seconds":1793818533,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7ea9c88"} 
[2026-11-05 00: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-05 00:27: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-05 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 00:27: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-05 00: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-05 00: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-05 00:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:27: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-05 00:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217467392001,"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-05 00:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217467392001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:27:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:27:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:27: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-05 00:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217467392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:27:21] 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":60986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:27:21] local.INFO: GPS data processed {"connection_id":229275,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:27:21] local.INFO: Acknowledgment sent {"connection_id":229275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:27:42] local.INFO: TCP Data received {"connection_id":231066,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:27:42] local.INFO: Processing buffer {"connection_id":231066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:27:42] local.INFO: IMEI packet received {"connection_id":231066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 00:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":231066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:28:05] local.INFO: TCP Data received {"connection_id":229761,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:28:05] local.INFO: Processing buffer {"connection_id":229761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:28:05] local.INFO: IMEI packet received {"connection_id":229761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":229761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:28:07] local.INFO: TCP Data received {"connection_id":231067,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231067,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:28:07] local.INFO: Processing buffer {"connection_id":231067,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:28:07] local.INFO: IMEI packet received {"connection_id":231067,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 00:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":231067,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:28:10] local.INFO: TCP Data received {"connection_id":229761,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:28:10] local.INFO: Processing buffer {"connection_id":229761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:28:10] local.INFO: IMEI packet received {"connection_id":229761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":229761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:28:13] local.INFO: TCP Data received {"connection_id":229761,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:28:13] local.INFO: Processing buffer {"connection_id":229761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:28:13] local.INFO: Packet analysis {"connection_id":229761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ea"} 
[2026-11-05 00:28:13] local.INFO: Extracted packet for processing {"connection_id":229761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ea"} 
[2026-11-05 00:28: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-05 00:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 00:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217467392001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:28: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-05 00:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793818533000,"timestamp_ms":1793818533000,"timestamp_seconds":1793818533,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7ea9c88"} 
[2026-11-05 00:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 00:28: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-05 00:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 00:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 00:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 00:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:28: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-05 00:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217467392001,"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-05 00:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217467392001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:28:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:28:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:28: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-05 00:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217467392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":229761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:28:13] local.INFO: GPS data processed {"connection_id":229761,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:28:13] local.INFO: Acknowledgment sent {"connection_id":229761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:28:44] local.INFO: TCP Data received {"connection_id":229761,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:28:44] local.INFO: Processing buffer {"connection_id":229761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:28:44] local.INFO: Packet analysis {"connection_id":229761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ea"} 
[2026-11-05 00:28:44] local.INFO: Extracted packet for processing {"connection_id":229761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ea"} 
[2026-11-05 00: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-05 00:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 00:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217467392001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793818533000,"timestamp_ms":1793818533000,"timestamp_seconds":1793818533,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7ea9c88"} 
[2026-11-05 00:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 00:28: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-05 00:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 00: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-05 00:28:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 00:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 00:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217467392001,"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-05 00:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217467392001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:28:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:28:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217467392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":229761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:28:44] local.INFO: GPS data processed {"connection_id":229761,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:28:44] local.INFO: Acknowledgment sent {"connection_id":229761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:29:05] local.INFO: TCP Data received {"connection_id":231068,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:29:05] local.INFO: Processing buffer {"connection_id":231068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:29:05] local.INFO: IMEI packet received {"connection_id":231068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":231068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:29:10] local.INFO: TCP Data received {"connection_id":231068,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:29:10] local.INFO: Processing buffer {"connection_id":231068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:29:10] local.INFO: IMEI packet received {"connection_id":231068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":231068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:29:12] local.INFO: TCP Data received {"connection_id":231068,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:29:12] local.INFO: Processing buffer {"connection_id":231068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:29:12] local.INFO: Packet analysis {"connection_id":231068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ea"} 
[2026-11-05 00:29:12] local.INFO: Extracted packet for processing {"connection_id":231068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ea"} 
[2026-11-05 00: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-05 00: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-05 00:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217467392001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793818533000,"timestamp_ms":1793818533000,"timestamp_seconds":1793818533,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7ea9c88"} 
[2026-11-05 00: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-05 00:29: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-05 00: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 00:29: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-05 00: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-05 00: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-05 00:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217467392001,"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-05 00:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217467392001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:29:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:29:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217467392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":231068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:29:12] local.INFO: GPS data processed {"connection_id":231068,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:29:12] local.INFO: Acknowledgment sent {"connection_id":231068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:29:43] local.INFO: TCP Data received {"connection_id":231068,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:29:43] local.INFO: Processing buffer {"connection_id":231068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:29:43] local.INFO: Packet analysis {"connection_id":231068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ea"} 
[2026-11-05 00:29:43] local.INFO: Extracted packet for processing {"connection_id":231068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ea"} 
[2026-11-05 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217467392001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793818533000,"timestamp_ms":1793818533000,"timestamp_seconds":1793818533,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7ea9c88"} 
[2026-11-05 00: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-05 00:29: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-05 00: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 00:29: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-05 00: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-05 00: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-05 00:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217467392001,"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-05 00:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217467392001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:29:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:29:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217467392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":231068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:29:43] local.INFO: GPS data processed {"connection_id":231068,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:29:43] local.INFO: Acknowledgment sent {"connection_id":231068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:30:05] local.INFO: TCP Data received {"connection_id":229276,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:30:05] local.INFO: Processing buffer {"connection_id":229276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:30:05] local.INFO: IMEI packet received {"connection_id":229276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":229276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:30:10] local.INFO: TCP Data received {"connection_id":229276,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:30:10] local.INFO: Processing buffer {"connection_id":229276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:30:10] local.INFO: IMEI packet received {"connection_id":229276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":229276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:30:11] local.INFO: TCP Data received {"connection_id":229276,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:30:11] local.INFO: Processing buffer {"connection_id":229276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:30:11] local.INFO: Packet analysis {"connection_id":229276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ea"} 
[2026-11-05 00:30:11] local.INFO: Extracted packet for processing {"connection_id":229276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ea"} 
[2026-11-05 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217467392001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793818533000,"timestamp_ms":1793818533000,"timestamp_seconds":1793818533,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7ea9c88"} 
[2026-11-05 00: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-05 00: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-05 00: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 00:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00: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-05 00: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-05 00:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217467392001,"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-05 00:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217467392001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:30:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:30:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217467392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":229276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:30:11] local.INFO: GPS data processed {"connection_id":229276,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:30:11] local.INFO: Acknowledgment sent {"connection_id":229276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:30:43] local.INFO: TCP Data received {"connection_id":229276,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:30:43] local.INFO: Processing buffer {"connection_id":229276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:30:43] local.INFO: Packet analysis {"connection_id":229276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ea"} 
[2026-11-05 00:30:43] local.INFO: Extracted packet for processing {"connection_id":229276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ea"} 
[2026-11-05 00: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-05 00: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-05 00:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217467392001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793818533000,"timestamp_ms":1793818533000,"timestamp_seconds":1793818533,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7ea9c88"} 
[2026-11-05 00: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-05 00: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-05 00: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 00:30: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-05 00: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-05 00: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-05 00:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217467392001,"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-05 00:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217467392001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:30:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:30:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217467392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":229276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:30:43] local.INFO: GPS data processed {"connection_id":229276,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:30:43] local.INFO: Acknowledgment sent {"connection_id":229276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:31:05] local.INFO: TCP Data received {"connection_id":231069,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:31:05] local.INFO: Processing buffer {"connection_id":231069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:31:05] local.INFO: IMEI packet received {"connection_id":231069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":231069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:31:10] local.INFO: TCP Data received {"connection_id":231069,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:31:10] local.INFO: Processing buffer {"connection_id":231069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:31:10] local.INFO: IMEI packet received {"connection_id":231069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":231069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:31:12] local.INFO: TCP Data received {"connection_id":231069,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:31:12] local.INFO: Processing buffer {"connection_id":231069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7ea9c88012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:31:12] local.INFO: Packet analysis {"connection_id":231069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ea"} 
[2026-11-05 00:31:12] local.INFO: Extracted packet for processing {"connection_id":231069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ea"} 
[2026-11-05 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 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-05 00:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217467392001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793818533000,"timestamp_ms":1793818533000,"timestamp_seconds":1793818533,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7ea9c88"} 
[2026-11-05 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-05 00:31: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-05 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 00: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-05 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-05 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-05 00:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217467392001,"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-05 00:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217467392001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:31:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:31:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217467392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":231069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:31:12] local.INFO: GPS data processed {"connection_id":231069,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:31:12] local.INFO: Acknowledgment sent {"connection_id":231069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:31:43] local.INFO: TCP Data received {"connection_id":231069,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:31:43] local.INFO: Processing buffer {"connection_id":231069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:31:43] local.INFO: Packet analysis {"connection_id":231069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ef"} 
[2026-11-05 00:31:43] local.INFO: Extracted packet for processing {"connection_id":231069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ef"} 
[2026-11-05 00:31: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217544448001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:31: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-05 00:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793818834000,"timestamp_ms":1793818834000,"timestamp_seconds":1793818834,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7ef3450"} 
[2026-11-05 00: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-05 00:31: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-05 00:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:31: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-05 00: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-05 00: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-05 00:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:31: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-05 00:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217544448001,"66":24897,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 00:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217544448001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:31:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:31:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:31: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-05 00:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217544448001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":231069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:31:43] local.INFO: GPS data processed {"connection_id":231069,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:31:43] local.INFO: Acknowledgment sent {"connection_id":231069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:32:06] local.INFO: TCP Data received {"connection_id":231070,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:32:06] local.INFO: Processing buffer {"connection_id":231070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:32:06] local.INFO: IMEI packet received {"connection_id":231070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":231070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:32:10] local.INFO: TCP Data received {"connection_id":231070,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:32:10] local.INFO: Processing buffer {"connection_id":231070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:32:10] local.INFO: IMEI packet received {"connection_id":231070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":231070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:32:11] local.INFO: TCP Data received {"connection_id":231070,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:32:11] local.INFO: Processing buffer {"connection_id":231070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:32:11] local.INFO: Packet analysis {"connection_id":231070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ef"} 
[2026-11-05 00:32:11] local.INFO: Extracted packet for processing {"connection_id":231070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ef"} 
[2026-11-05 00:32: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217544448001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793818834000,"timestamp_ms":1793818834000,"timestamp_seconds":1793818834,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7ef3450"} 
[2026-11-05 00: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-05 00:32: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-05 00:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:32: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-05 00: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-05 00: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-05 00:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:32: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-05 00:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217544448001,"66":24897,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 00:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217544448001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:32:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:32:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:32: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-05 00:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217544448001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":231070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:32:11] local.INFO: GPS data processed {"connection_id":231070,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:32:11] local.INFO: Acknowledgment sent {"connection_id":231070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:32:43] local.INFO: TCP Data received {"connection_id":231070,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:32:43] local.INFO: Processing buffer {"connection_id":231070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:32:43] local.INFO: Packet analysis {"connection_id":231070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ef"} 
[2026-11-05 00:32:43] local.INFO: Extracted packet for processing {"connection_id":231070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ef"} 
[2026-11-05 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217544448001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:32: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-05 00:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793818834000,"timestamp_ms":1793818834000,"timestamp_seconds":1793818834,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7ef3450"} 
[2026-11-05 00: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-05 00:32: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-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:32: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-05 00: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-05 00: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-05 00:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217544448001,"66":24897,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 00:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217544448001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:32:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:32:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217544448001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":231070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:32:43] local.INFO: GPS data processed {"connection_id":231070,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:32:43] local.INFO: Acknowledgment sent {"connection_id":231070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:33:05] local.INFO: TCP Data received {"connection_id":232940,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:33:05] local.INFO: Processing buffer {"connection_id":232940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:33:05] local.INFO: IMEI packet received {"connection_id":232940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":232940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:33:10] local.INFO: TCP Data received {"connection_id":232940,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:33:10] local.INFO: Processing buffer {"connection_id":232940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:33:10] local.INFO: IMEI packet received {"connection_id":232940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":232940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:33:12] local.INFO: TCP Data received {"connection_id":232940,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:33:12] local.INFO: Processing buffer {"connection_id":232940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:33:12] local.INFO: Packet analysis {"connection_id":232940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ef"} 
[2026-11-05 00:33:12] local.INFO: Extracted packet for processing {"connection_id":232940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ef"} 
[2026-11-05 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 00:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217544448001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793818834000,"timestamp_ms":1793818834000,"timestamp_seconds":1793818834,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7ef3450"} 
[2026-11-05 00:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 00: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-05 00:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:33: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-05 00:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 00:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 00:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217544448001,"66":24897,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 00:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217544448001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:33:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:33:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217544448001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":232940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:33:12] local.INFO: GPS data processed {"connection_id":232940,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:33:12] local.INFO: Acknowledgment sent {"connection_id":232940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:33:32] local.INFO: TCP Data received {"connection_id":232941,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232941,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:33:32] local.INFO: Processing buffer {"connection_id":232941,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:33:32] local.INFO: IMEI packet received {"connection_id":232941,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 00:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":232941,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:33:44] local.INFO: TCP Data received {"connection_id":232940,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:33:44] local.INFO: Processing buffer {"connection_id":232940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:33:44] local.INFO: Packet analysis {"connection_id":232940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ef"} 
[2026-11-05 00:33:44] local.INFO: Extracted packet for processing {"connection_id":232940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ef"} 
[2026-11-05 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 00:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217544448001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793818834000,"timestamp_ms":1793818834000,"timestamp_seconds":1793818834,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7ef3450"} 
[2026-11-05 00:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 00:33: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-05 00:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:33: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-05 00:33:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 00:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 00:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217544448001,"66":24897,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 00:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217544448001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:33:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:33:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217544448001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":232940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:33:44] local.INFO: GPS data processed {"connection_id":232940,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:33:44] local.INFO: Acknowledgment sent {"connection_id":232940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:34:05] local.INFO: TCP Data received {"connection_id":229764,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:34:05] local.INFO: Processing buffer {"connection_id":229764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:34:05] local.INFO: IMEI packet received {"connection_id":229764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":229764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:34:08] local.INFO: TCP Data received {"connection_id":229765,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229765,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:34:08] local.INFO: Processing buffer {"connection_id":229765,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:34:08] local.INFO: IMEI packet received {"connection_id":229765,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 00:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":229765,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:34:10] local.INFO: TCP Data received {"connection_id":229764,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:34:10] local.INFO: Processing buffer {"connection_id":229764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:34:10] local.INFO: IMEI packet received {"connection_id":229764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":229764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:34:11] local.INFO: TCP Data received {"connection_id":229764,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:34:11] local.INFO: Processing buffer {"connection_id":229764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:34:11] local.INFO: Packet analysis {"connection_id":229764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ef"} 
[2026-11-05 00:34:11] local.INFO: Extracted packet for processing {"connection_id":229764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ef"} 
[2026-11-05 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217544448001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793818834000,"timestamp_ms":1793818834000,"timestamp_seconds":1793818834,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7ef3450"} 
[2026-11-05 00: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-05 00: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-05 00: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-05 00: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-05 00: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-05 00: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-05 00:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217544448001,"66":24897,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 00:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217544448001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:34:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:34:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217544448001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":229764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:34:11] local.INFO: GPS data processed {"connection_id":229764,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:34:11] local.INFO: Acknowledgment sent {"connection_id":229764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:34:43] local.INFO: TCP Data received {"connection_id":229764,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:34:43] local.INFO: Processing buffer {"connection_id":229764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:34:43] local.INFO: Packet analysis {"connection_id":229764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ef"} 
[2026-11-05 00:34:43] local.INFO: Extracted packet for processing {"connection_id":229764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ef"} 
[2026-11-05 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217544448001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793818834000,"timestamp_ms":1793818834000,"timestamp_seconds":1793818834,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7ef3450"} 
[2026-11-05 00: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-05 00: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-05 00: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-05 00: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-05 00: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-05 00: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-05 00:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217544448001,"66":24897,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 00:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217544448001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:34:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:34:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217544448001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":229764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:34:43] local.INFO: GPS data processed {"connection_id":229764,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:34:43] local.INFO: Acknowledgment sent {"connection_id":229764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:35:10] local.INFO: TCP Data received {"connection_id":229277,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:35:10] local.INFO: Processing buffer {"connection_id":229277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:35:10] local.INFO: IMEI packet received {"connection_id":229277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":229277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:35:15] local.INFO: TCP Data received {"connection_id":229277,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:35:15] local.INFO: Processing buffer {"connection_id":229277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:35:15] local.INFO: IMEI packet received {"connection_id":229277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":229277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:35:16] local.INFO: TCP Data received {"connection_id":229277,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:35:16] local.INFO: Processing buffer {"connection_id":229277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:35:16] local.INFO: Packet analysis {"connection_id":229277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ef"} 
[2026-11-05 00:35:16] local.INFO: Extracted packet for processing {"connection_id":229277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ef"} 
[2026-11-05 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217544448001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:35: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-05 00:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793818834000,"timestamp_ms":1793818834000,"timestamp_seconds":1793818834,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7ef3450"} 
[2026-11-05 00: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-05 00: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-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00: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-05 00: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-05 00:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217544448001,"66":24897,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 00:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217544448001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:35:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:35:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217544448001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:35:16] 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":61001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:35:16] local.INFO: GPS data processed {"connection_id":229277,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:35:16] local.INFO: Acknowledgment sent {"connection_id":229277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:35:21] local.INFO: TCP Data received {"connection_id":229277,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:35:21] local.INFO: Processing buffer {"connection_id":229277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:35:21] local.INFO: Packet analysis {"connection_id":229277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ef"} 
[2026-11-05 00:35:21] local.INFO: Extracted packet for processing {"connection_id":229277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ef"} 
[2026-11-05 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217544448001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:35: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-05 00:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793818834000,"timestamp_ms":1793818834000,"timestamp_seconds":1793818834,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7ef3450"} 
[2026-11-05 00: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-05 00: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-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:35: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-05 00: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-05 00: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-05 00:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217544448001,"66":24897,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 00:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217544448001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:35:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:35:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217544448001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:35:21] 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":61002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:35:21] local.INFO: GPS data processed {"connection_id":229277,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:35:21] local.INFO: Acknowledgment sent {"connection_id":229277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:35:26] local.INFO: TCP Data received {"connection_id":229277,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:35:26] local.INFO: Processing buffer {"connection_id":229277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:35:26] local.INFO: Packet analysis {"connection_id":229277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ef"} 
[2026-11-05 00:35:26] local.INFO: Extracted packet for processing {"connection_id":229277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ef"} 
[2026-11-05 00:35: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 00:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217544448001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:35: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-05 00:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793818834000,"timestamp_ms":1793818834000,"timestamp_seconds":1793818834,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7ef3450"} 
[2026-11-05 00:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 00: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-05 00:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00:35:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 00:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 00:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:35: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-05 00:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217544448001,"66":24897,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 00:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217544448001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:35:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:35:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:35: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-05 00:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217544448001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:35:26] 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":61003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:35:26] local.INFO: GPS data processed {"connection_id":229277,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:35:26] local.INFO: Acknowledgment sent {"connection_id":229277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:36:05] local.INFO: TCP Data received {"connection_id":231071,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:36:05] local.INFO: Processing buffer {"connection_id":231071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:36:05] local.INFO: IMEI packet received {"connection_id":231071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":231071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:36:10] local.INFO: TCP Data received {"connection_id":231071,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:36:10] local.INFO: Processing buffer {"connection_id":231071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:36:10] local.INFO: IMEI packet received {"connection_id":231071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":231071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:36:11] local.INFO: TCP Data received {"connection_id":231071,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:36:11] local.INFO: Processing buffer {"connection_id":231071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7ef3450012d34c14006aa4118000a01012f..."} 
[2026-11-05 00:36:11] local.INFO: Packet analysis {"connection_id":231071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ef"} 
[2026-11-05 00:36:11] local.INFO: Extracted packet for processing {"connection_id":231071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ef"} 
[2026-11-05 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217544448001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793818834000,"timestamp_ms":1793818834000,"timestamp_seconds":1793818834,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7ef3450"} 
[2026-11-05 00: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-05 00: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-05 00:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00: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-05 00: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-05 00:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217544448001,"66":24897,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 00:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217544448001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:36:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:36:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217544448001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":231071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:36:11] local.INFO: GPS data processed {"connection_id":231071,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:36:11] local.INFO: Acknowledgment sent {"connection_id":231071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:36:14] local.INFO: TCP Data received {"connection_id":231071,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:36:14] local.INFO: Processing buffer {"connection_id":231071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:36:14] local.INFO: Packet analysis {"connection_id":231071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7f3"} 
[2026-11-05 00:36:14] local.INFO: Extracted packet for processing {"connection_id":231071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7f3"} 
[2026-11-05 00:36: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217621504001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793819135000,"timestamp_ms":1793819135000,"timestamp_seconds":1793819135,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7f3cc18"} 
[2026-11-05 00: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-05 00:36: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-05 00: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-05 00:36:14] 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-05 00: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-05 00: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-05 00:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":231071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":231071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":231071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:36: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-05 00:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217621504001,"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-05 00:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217621504001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:36:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:36:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:36: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-05 00:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217621504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":231071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:36:14] local.INFO: GPS data processed {"connection_id":231071,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:36:14] local.INFO: Acknowledgment sent {"connection_id":231071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:36:45] local.INFO: TCP Data received {"connection_id":231071,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:36:45] local.INFO: Processing buffer {"connection_id":231071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:36:45] local.INFO: Packet analysis {"connection_id":231071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7f3"} 
[2026-11-05 00:36:45] local.INFO: Extracted packet for processing {"connection_id":231071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7f3"} 
[2026-11-05 00:36: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 00:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217621504001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:36: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-05 00:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793819135000,"timestamp_ms":1793819135000,"timestamp_seconds":1793819135,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7f3cc18"} 
[2026-11-05 00:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 00:36: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-05 00:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-05 00:36:45] 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-05 00:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 00:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 00:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":231071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":231071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":231071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:36: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-05 00:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217621504001,"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-05 00:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217621504001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:36:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:36:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:36: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-05 00:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217621504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":231071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:36:45] local.INFO: GPS data processed {"connection_id":231071,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:36:45] local.INFO: Acknowledgment sent {"connection_id":231071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:37:05] local.INFO: TCP Data received {"connection_id":229767,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:37:05] local.INFO: Processing buffer {"connection_id":229767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:37:05] local.INFO: IMEI packet received {"connection_id":229767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":229767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:37:10] local.INFO: TCP Data received {"connection_id":229767,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:37:10] local.INFO: Processing buffer {"connection_id":229767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:37:10] local.INFO: IMEI packet received {"connection_id":229767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":229767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:37:11] local.INFO: TCP Data received {"connection_id":229767,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:37:11] local.INFO: Processing buffer {"connection_id":229767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:37:11] local.INFO: Packet analysis {"connection_id":229767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7f3"} 
[2026-11-05 00:37:11] local.INFO: Extracted packet for processing {"connection_id":229767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7f3"} 
[2026-11-05 00: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-05 00: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-05 00:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217621504001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793819135000,"timestamp_ms":1793819135000,"timestamp_seconds":1793819135,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7f3cc18"} 
[2026-11-05 00: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-05 00:37: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-05 00: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-05 00:37:11] 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-05 00: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-05 00: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-05 00:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217621504001,"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-05 00:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217621504001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:37:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:37:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217621504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":229767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:37:11] local.INFO: GPS data processed {"connection_id":229767,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:37:11] local.INFO: Acknowledgment sent {"connection_id":229767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:37:43] local.INFO: TCP Data received {"connection_id":229767,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:37:43] local.INFO: Processing buffer {"connection_id":229767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:37:43] local.INFO: Packet analysis {"connection_id":229767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7f3"} 
[2026-11-05 00:37:43] local.INFO: Extracted packet for processing {"connection_id":229767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7f3"} 
[2026-11-05 00: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-05 00: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-05 00:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217621504001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:37: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-05 00:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793819135000,"timestamp_ms":1793819135000,"timestamp_seconds":1793819135,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7f3cc18"} 
[2026-11-05 00: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-05 00:37: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-05 00: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-05 00:37:43] 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-05 00: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-05 00: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-05 00:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217621504001,"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-05 00:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217621504001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:37:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:37:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217621504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":229767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:37:43] local.INFO: GPS data processed {"connection_id":229767,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:37:43] local.INFO: Acknowledgment sent {"connection_id":229767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:38:05] local.INFO: TCP Data received {"connection_id":232942,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:38:05] local.INFO: Processing buffer {"connection_id":232942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:38:05] local.INFO: IMEI packet received {"connection_id":232942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":232942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:38:10] local.INFO: TCP Data received {"connection_id":232942,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:38:10] local.INFO: Processing buffer {"connection_id":232942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:38:10] local.INFO: IMEI packet received {"connection_id":232942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":232942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:38:12] local.INFO: TCP Data received {"connection_id":232942,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:38:12] local.INFO: Processing buffer {"connection_id":232942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:38:12] local.INFO: Packet analysis {"connection_id":232942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7f3"} 
[2026-11-05 00:38:12] local.INFO: Extracted packet for processing {"connection_id":232942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7f3"} 
[2026-11-05 00: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217621504001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793819135000,"timestamp_ms":1793819135000,"timestamp_seconds":1793819135,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7f3cc18"} 
[2026-11-05 00: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-05 00: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-05 00: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-05 00:38:12] 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-05 00: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-05 00: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-05 00:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217621504001,"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-05 00:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217621504001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:38:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:38:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217621504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":232942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:38:12] local.INFO: GPS data processed {"connection_id":232942,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:38:12] local.INFO: Acknowledgment sent {"connection_id":232942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:38:43] local.INFO: TCP Data received {"connection_id":232942,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:38:43] local.INFO: Processing buffer {"connection_id":232942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:38:43] local.INFO: Packet analysis {"connection_id":232942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7f3"} 
[2026-11-05 00:38:43] local.INFO: Extracted packet for processing {"connection_id":232942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7f3"} 
[2026-11-05 00: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-05 00: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-05 00:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217621504001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:38: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-05 00:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793819135000,"timestamp_ms":1793819135000,"timestamp_seconds":1793819135,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7f3cc18"} 
[2026-11-05 00: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-05 00: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-05 00: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-05 00:38:43] 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-05 00: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-05 00: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-05 00:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217621504001,"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-05 00:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217621504001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:38:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:38:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217621504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":232942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:38:43] local.INFO: GPS data processed {"connection_id":232942,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:38:43] local.INFO: Acknowledgment sent {"connection_id":232942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:39:10] local.INFO: TCP Data received {"connection_id":231073,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:39:10] local.INFO: Processing buffer {"connection_id":231073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:39:10] local.INFO: IMEI packet received {"connection_id":231073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":231073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:39:15] local.INFO: TCP Data received {"connection_id":231073,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:39:15] local.INFO: Processing buffer {"connection_id":231073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:39:15] local.INFO: IMEI packet received {"connection_id":231073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":231073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:39:16] local.INFO: TCP Data received {"connection_id":231073,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:39:16] local.INFO: Processing buffer {"connection_id":231073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:39:16] local.INFO: Packet analysis {"connection_id":231073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7f3"} 
[2026-11-05 00:39:16] local.INFO: Extracted packet for processing {"connection_id":231073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7f3"} 
[2026-11-05 00:39: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-05 00: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-05 00:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217621504001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:39: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-05 00:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793819135000,"timestamp_ms":1793819135000,"timestamp_seconds":1793819135,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7f3cc18"} 
[2026-11-05 00: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-05 00:39: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-05 00: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-05 00:39:16] 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-05 00: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-05 00: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-05 00:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":231073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":231073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":231073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:39: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-05 00:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217621504001,"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-05 00:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217621504001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:39:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:39:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:39: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-05 00:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217621504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":231073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:39:16] local.INFO: GPS data processed {"connection_id":231073,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:39:16] local.INFO: Acknowledgment sent {"connection_id":231073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:39:21] local.INFO: TCP Data received {"connection_id":231073,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:39:21] local.INFO: Processing buffer {"connection_id":231073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:39:21] local.INFO: Packet analysis {"connection_id":231073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7f3"} 
[2026-11-05 00:39:21] local.INFO: Extracted packet for processing {"connection_id":231073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7f3"} 
[2026-11-05 00:39: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-05 00: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-05 00:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217621504001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:39: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-05 00:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793819135000,"timestamp_ms":1793819135000,"timestamp_seconds":1793819135,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7f3cc18"} 
[2026-11-05 00: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-05 00:39: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-05 00: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-05 00:39:21] 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-05 00: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-05 00: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-05 00:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":231073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":231073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":231073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:39: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-05 00:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217621504001,"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-05 00:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217621504001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:39:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:39:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:39: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-05 00:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217621504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":231073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:39:21] local.INFO: GPS data processed {"connection_id":231073,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:39:21] local.INFO: Acknowledgment sent {"connection_id":231073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:39:27] local.INFO: TCP Data received {"connection_id":229769,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229769,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:39:27] local.INFO: Processing buffer {"connection_id":229769,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:39:27] local.INFO: IMEI packet received {"connection_id":229769,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 00:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":229769,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:40:05] local.INFO: TCP Data received {"connection_id":229770,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:40:05] local.INFO: Processing buffer {"connection_id":229770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:40:05] local.INFO: IMEI packet received {"connection_id":229770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":229770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:40:07] local.INFO: TCP Data received {"connection_id":231074,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:40:07] local.INFO: Processing buffer {"connection_id":231074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:40:07] local.INFO: IMEI packet received {"connection_id":231074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 00:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":231074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:40:10] local.INFO: TCP Data received {"connection_id":229770,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:40:10] local.INFO: Processing buffer {"connection_id":229770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:40:10] local.INFO: IMEI packet received {"connection_id":229770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":229770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:40:11] local.INFO: TCP Data received {"connection_id":229770,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:40:11] local.INFO: Processing buffer {"connection_id":229770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:40:11] local.INFO: Packet analysis {"connection_id":229770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7f3"} 
[2026-11-05 00:40:11] local.INFO: Extracted packet for processing {"connection_id":229770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7f3"} 
[2026-11-05 00: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-05 00: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-05 00:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217621504001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793819135000,"timestamp_ms":1793819135000,"timestamp_seconds":1793819135,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7f3cc18"} 
[2026-11-05 00: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-05 00: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-05 00: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-05 00:40:11] 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-05 00: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-05 00: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-05 00:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217621504001,"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-05 00:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217621504001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:40:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:40:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217621504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":229770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:40:11] local.INFO: GPS data processed {"connection_id":229770,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:40:11] local.INFO: Acknowledgment sent {"connection_id":229770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:40:43] local.INFO: TCP Data received {"connection_id":229770,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:40:43] local.INFO: Processing buffer {"connection_id":229770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:40:43] local.INFO: Packet analysis {"connection_id":229770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7f3"} 
[2026-11-05 00:40:43] local.INFO: Extracted packet for processing {"connection_id":229770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7f3"} 
[2026-11-05 00: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217621504001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:40: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-05 00:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793819135000,"timestamp_ms":1793819135000,"timestamp_seconds":1793819135,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7f3cc18"} 
[2026-11-05 00: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-05 00:40: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-05 00: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-05 00:40:43] 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-05 00: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-05 00: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-05 00:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217621504001,"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-05 00:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217621504001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:40:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:40:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217621504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":229770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:40:43] local.INFO: GPS data processed {"connection_id":229770,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:40:43] local.INFO: Acknowledgment sent {"connection_id":229770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:41:05] local.INFO: TCP Data received {"connection_id":232943,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:41:05] local.INFO: Processing buffer {"connection_id":232943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:41:05] local.INFO: IMEI packet received {"connection_id":232943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":232943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:41:10] local.INFO: TCP Data received {"connection_id":232943,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:41:10] local.INFO: Processing buffer {"connection_id":232943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:41:10] local.INFO: IMEI packet received {"connection_id":232943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":232943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:41:11] local.INFO: TCP Data received {"connection_id":232943,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:41:11] local.INFO: Processing buffer {"connection_id":232943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7f3cc18012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:41:11] local.INFO: Packet analysis {"connection_id":232943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7f3"} 
[2026-11-05 00:41:11] local.INFO: Extracted packet for processing {"connection_id":232943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7f3"} 
[2026-11-05 00:41: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-05 00: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-05 00:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217621504001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793819135000,"timestamp_ms":1793819135000,"timestamp_seconds":1793819135,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7f3cc18"} 
[2026-11-05 00: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-05 00: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-05 00: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-05 00:41:11] 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-05 00: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-05 00: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-05 00:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:41: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-05 00:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217621504001,"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-05 00:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217621504001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:41:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:41:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:41: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-05 00:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217621504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":232943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:41:11] local.INFO: GPS data processed {"connection_id":232943,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:41:11] local.INFO: Acknowledgment sent {"connection_id":232943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:41:42] local.INFO: TCP Data received {"connection_id":232943,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7f863e0012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7f863e0012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:41:42] local.INFO: Processing buffer {"connection_id":232943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7f863e0012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:41:42] local.INFO: Packet analysis {"connection_id":232943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7f8"} 
[2026-11-05 00:41:42] local.INFO: Extracted packet for processing {"connection_id":232943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7f8"} 
[2026-11-05 00:41: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-05 00:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 00:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217698560001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793819436000,"timestamp_ms":1793819436000,"timestamp_seconds":1793819436,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7f863e0"} 
[2026-11-05 00:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 00:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 00:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 00:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 00:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":232943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":232943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":232943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:41: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-05 00:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217698560001,"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-05 00:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217698560001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:41:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:41:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:41: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-05 00:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217698560001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":232943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:41:42] local.INFO: GPS data processed {"connection_id":232943,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:41:42] local.INFO: Acknowledgment sent {"connection_id":232943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:42:05] local.INFO: TCP Data received {"connection_id":231076,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:42:05] local.INFO: Processing buffer {"connection_id":231076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:42:05] local.INFO: IMEI packet received {"connection_id":231076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":231076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:42:10] local.INFO: TCP Data received {"connection_id":231076,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:42:10] local.INFO: Processing buffer {"connection_id":231076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:42:10] local.INFO: IMEI packet received {"connection_id":231076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":231076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:42:11] local.INFO: TCP Data received {"connection_id":231076,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7f863e0012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7f863e0012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:42:11] local.INFO: Processing buffer {"connection_id":231076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7f863e0012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:42:11] local.INFO: Packet analysis {"connection_id":231076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7f8"} 
[2026-11-05 00:42:11] local.INFO: Extracted packet for processing {"connection_id":231076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7f8"} 
[2026-11-05 00: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217698560001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793819436000,"timestamp_ms":1793819436000,"timestamp_seconds":1793819436,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7f863e0"} 
[2026-11-05 00: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-05 00:42: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-05 00:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:42: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-05 00: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-05 00: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-05 00:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217698560001,"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-05 00:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217698560001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:42:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:42:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217698560001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":231076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:42:11] local.INFO: GPS data processed {"connection_id":231076,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:42:11] local.INFO: Acknowledgment sent {"connection_id":231076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:42:43] local.INFO: TCP Data received {"connection_id":231076,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7f863e0012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7f863e0012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:42:43] local.INFO: Processing buffer {"connection_id":231076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7f863e0012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:42:43] local.INFO: Packet analysis {"connection_id":231076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7f8"} 
[2026-11-05 00:42:43] local.INFO: Extracted packet for processing {"connection_id":231076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7f8"} 
[2026-11-05 00: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217698560001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:42: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-05 00:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793819436000,"timestamp_ms":1793819436000,"timestamp_seconds":1793819436,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7f863e0"} 
[2026-11-05 00: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-05 00:42: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-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:42: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-05 00: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-05 00: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-05 00:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217698560001,"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-05 00:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217698560001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:42:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:42:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217698560001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":231076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:42:43] local.INFO: GPS data processed {"connection_id":231076,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:42:43] local.INFO: Acknowledgment sent {"connection_id":231076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:43:05] local.INFO: TCP Data received {"connection_id":231077,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:43:05] local.INFO: Processing buffer {"connection_id":231077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:43:05] local.INFO: IMEI packet received {"connection_id":231077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":231077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:43:10] local.INFO: TCP Data received {"connection_id":231077,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:43:10] local.INFO: Processing buffer {"connection_id":231077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:43:10] local.INFO: IMEI packet received {"connection_id":231077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":231077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:43:11] local.INFO: TCP Data received {"connection_id":231077,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7f863e0012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7f863e0012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:43:11] local.INFO: Processing buffer {"connection_id":231077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7f863e0012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:43:11] local.INFO: Packet analysis {"connection_id":231077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7f8"} 
[2026-11-05 00:43:11] local.INFO: Extracted packet for processing {"connection_id":231077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7f8"} 
[2026-11-05 00:43: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-05 00:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 00:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217698560001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793819436000,"timestamp_ms":1793819436000,"timestamp_seconds":1793819436,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7f863e0"} 
[2026-11-05 00:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 00:43: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-05 00:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 00:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 00:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:43: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-05 00:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217698560001,"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-05 00:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217698560001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:43:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:43:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:43: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-05 00:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217698560001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":231077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:43:11] local.INFO: GPS data processed {"connection_id":231077,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:43:11] local.INFO: Acknowledgment sent {"connection_id":231077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:43:43] local.INFO: TCP Data received {"connection_id":231077,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7f863e0012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7f863e0012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:43:43] local.INFO: Processing buffer {"connection_id":231077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7f863e0012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:43:43] local.INFO: Packet analysis {"connection_id":231077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7f8"} 
[2026-11-05 00:43:43] local.INFO: Extracted packet for processing {"connection_id":231077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7f8"} 
[2026-11-05 00: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217698560001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793819436000,"timestamp_ms":1793819436000,"timestamp_seconds":1793819436,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7f863e0"} 
[2026-11-05 00: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-05 00:43: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-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:43: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-05 00: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-05 00: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-05 00:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217698560001,"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-05 00:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217698560001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:43:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:43:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217698560001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":231077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:43:43] local.INFO: GPS data processed {"connection_id":231077,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:43:43] local.INFO: Acknowledgment sent {"connection_id":231077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:44:10] local.INFO: TCP Data received {"connection_id":232944,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:44:10] local.INFO: Processing buffer {"connection_id":232944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:44:10] local.INFO: IMEI packet received {"connection_id":232944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":232944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:44:15] local.INFO: TCP Data received {"connection_id":232944,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:44:15] local.INFO: Processing buffer {"connection_id":232944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:44:15] local.INFO: IMEI packet received {"connection_id":232944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":232944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:44:16] local.INFO: TCP Data received {"connection_id":232944,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7f863e0012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7f863e0012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:44:16] local.INFO: Processing buffer {"connection_id":232944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7f863e0012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:44:16] local.INFO: Packet analysis {"connection_id":232944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7f8"} 
[2026-11-05 00:44:16] local.INFO: Extracted packet for processing {"connection_id":232944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7f8"} 
[2026-11-05 00:44: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-05 00: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-05 00:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217698560001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:44: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-05 00:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793819436000,"timestamp_ms":1793819436000,"timestamp_seconds":1793819436,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7f863e0"} 
[2026-11-05 00: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-05 00:44: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-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00: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-05 00: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-05 00:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:44: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-05 00:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217698560001,"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-05 00:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217698560001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:44:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:44:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:44: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-05 00:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217698560001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":232944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:44:16] local.INFO: GPS data processed {"connection_id":232944,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:44:16] local.INFO: Acknowledgment sent {"connection_id":232944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:44:21] local.INFO: TCP Data received {"connection_id":232944,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7f863e0012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7f863e0012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:44:21] local.INFO: Processing buffer {"connection_id":232944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7f863e0012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:44:21] local.INFO: Packet analysis {"connection_id":232944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7f8"} 
[2026-11-05 00:44:21] local.INFO: Extracted packet for processing {"connection_id":232944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7f8"} 
[2026-11-05 00:44: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-05 00: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-05 00:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217698560001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:44: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-05 00:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793819436000,"timestamp_ms":1793819436000,"timestamp_seconds":1793819436,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7f863e0"} 
[2026-11-05 00: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-05 00:44: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-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:44: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-05 00: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-05 00: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-05 00:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:44: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-05 00:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217698560001,"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-05 00:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217698560001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:44:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:44:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:44: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-05 00:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217698560001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":232944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:44:21] local.INFO: GPS data processed {"connection_id":232944,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:44:21] local.INFO: Acknowledgment sent {"connection_id":232944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:45:05] local.INFO: TCP Data received {"connection_id":232946,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:45:05] local.INFO: Processing buffer {"connection_id":232946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:45:05] local.INFO: IMEI packet received {"connection_id":232946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":232946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:45:10] local.INFO: TCP Data received {"connection_id":232946,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:45:10] local.INFO: Processing buffer {"connection_id":232946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:45:10] local.INFO: IMEI packet received {"connection_id":232946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":232946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:45:11] local.INFO: TCP Data received {"connection_id":232946,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7f863e0012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7f863e0012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:45:11] local.INFO: Processing buffer {"connection_id":232946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7f863e0012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:45:11] local.INFO: Packet analysis {"connection_id":232946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7f8"} 
[2026-11-05 00:45:11] local.INFO: Extracted packet for processing {"connection_id":232946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7f8"} 
[2026-11-05 00:45: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-05 00: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-05 00:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217698560001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793819436000,"timestamp_ms":1793819436000,"timestamp_seconds":1793819436,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7f863e0"} 
[2026-11-05 00: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-05 00:45: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-05 00:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00: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-05 00: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-05 00:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:45: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-05 00:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217698560001,"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-05 00:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217698560001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:45:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:45:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:45: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-05 00:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217698560001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":232946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:45:11] local.INFO: GPS data processed {"connection_id":232946,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:45:11] local.INFO: Acknowledgment sent {"connection_id":232946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:45:37] local.INFO: TCP Data received {"connection_id":232947,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232947,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:45:37] local.INFO: Processing buffer {"connection_id":232947,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:45:37] local.INFO: IMEI packet received {"connection_id":232947,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 00:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":232947,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:45:43] local.INFO: TCP Data received {"connection_id":232946,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7f863e0012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7f863e0012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:45:43] local.INFO: Processing buffer {"connection_id":232946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7f863e0012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:45:43] local.INFO: Packet analysis {"connection_id":232946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7f8"} 
[2026-11-05 00:45:43] local.INFO: Extracted packet for processing {"connection_id":232946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7f8"} 
[2026-11-05 00: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217698560001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793819436000,"timestamp_ms":1793819436000,"timestamp_seconds":1793819436,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7f863e0"} 
[2026-11-05 00: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-05 00:45: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-05 00:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:45: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-05 00: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-05 00: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-05 00:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217698560001,"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-05 00:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217698560001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:45:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:45:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217698560001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":232946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:45:43] local.INFO: GPS data processed {"connection_id":232946,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:45:43] local.INFO: Acknowledgment sent {"connection_id":232946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:46:06] local.INFO: TCP Data received {"connection_id":232948,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:46:06] local.INFO: Processing buffer {"connection_id":232948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:46:06] local.INFO: IMEI packet received {"connection_id":232948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":232948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:46:07] local.INFO: TCP Data received {"connection_id":232949,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:46:07] local.INFO: Processing buffer {"connection_id":232949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:46:07] local.INFO: IMEI packet received {"connection_id":232949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 00:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":232949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:46:10] local.INFO: TCP Data received {"connection_id":232948,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:46:10] local.INFO: Processing buffer {"connection_id":232948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:46:10] local.INFO: IMEI packet received {"connection_id":232948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":232948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:46:11] local.INFO: TCP Data received {"connection_id":232948,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7f863e0012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7f863e0012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:46:11] local.INFO: Processing buffer {"connection_id":232948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7f863e0012d34c14006aa4118000a01012d..."} 
[2026-11-05 00:46:11] local.INFO: Packet analysis {"connection_id":232948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7f8"} 
[2026-11-05 00:46:11] local.INFO: Extracted packet for processing {"connection_id":232948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7f8"} 
[2026-11-05 00:46: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-05 00:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 00:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217698560001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793819436000,"timestamp_ms":1793819436000,"timestamp_seconds":1793819436,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7f863e0"} 
[2026-11-05 00:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 00:46: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-05 00:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 00:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 00:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:46: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-05 00:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217698560001,"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-05 00:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217698560001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:46:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:46:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:46: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-05 00:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217698560001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":232948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:46:11] local.INFO: GPS data processed {"connection_id":232948,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:46:11] local.INFO: Acknowledgment sent {"connection_id":232948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:46:42] local.INFO: TCP Data received {"connection_id":232948,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7fcfba8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7fcfba8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:46:42] local.INFO: Processing buffer {"connection_id":232948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7fcfba8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:46:42] local.INFO: Packet analysis {"connection_id":232948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7fc"} 
[2026-11-05 00:46:42] local.INFO: Extracted packet for processing {"connection_id":232948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7fc"} 
[2026-11-05 00:46: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 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-05 00:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217775616001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793819737000,"timestamp_ms":1793819737000,"timestamp_seconds":1793819737,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7fcfba8"} 
[2026-11-05 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-05 00:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 00:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 00:46: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-05 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-05 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-05 00:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":232948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":232948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":232948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:46: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-05 00:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217775616001,"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-05 00:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217775616001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:46:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:46:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:46: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-05 00:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217775616001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":232948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:46:42] local.INFO: GPS data processed {"connection_id":232948,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:46:42] local.INFO: Acknowledgment sent {"connection_id":232948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:47:05] local.INFO: TCP Data received {"connection_id":229771,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:47:05] local.INFO: Processing buffer {"connection_id":229771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:47:05] local.INFO: IMEI packet received {"connection_id":229771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":229771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:47:10] local.INFO: TCP Data received {"connection_id":229771,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:47:10] local.INFO: Processing buffer {"connection_id":229771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:47:10] local.INFO: IMEI packet received {"connection_id":229771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":229771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:47:11] local.INFO: TCP Data received {"connection_id":229771,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7fcfba8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7fcfba8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:47:11] local.INFO: Processing buffer {"connection_id":229771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7fcfba8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:47:11] local.INFO: Packet analysis {"connection_id":229771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7fc"} 
[2026-11-05 00:47:11] local.INFO: Extracted packet for processing {"connection_id":229771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7fc"} 
[2026-11-05 00: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-05 00: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-05 00:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217775616001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793819737000,"timestamp_ms":1793819737000,"timestamp_seconds":1793819737,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7fcfba8"} 
[2026-11-05 00: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-05 00:47: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-05 00:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 00:47: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-05 00: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-05 00: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-05 00:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217775616001,"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-05 00:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217775616001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:47:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:47:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217775616001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":229771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:47:11] local.INFO: GPS data processed {"connection_id":229771,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:47:11] local.INFO: Acknowledgment sent {"connection_id":229771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:47:43] local.INFO: TCP Data received {"connection_id":229771,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7fcfba8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7fcfba8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:47:43] local.INFO: Processing buffer {"connection_id":229771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7fcfba8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:47:43] local.INFO: Packet analysis {"connection_id":229771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7fc"} 
[2026-11-05 00:47:43] local.INFO: Extracted packet for processing {"connection_id":229771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7fc"} 
[2026-11-05 00: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-05 00: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-05 00:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217775616001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793819737000,"timestamp_ms":1793819737000,"timestamp_seconds":1793819737,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7fcfba8"} 
[2026-11-05 00: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-05 00:47: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-05 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 00:47: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-05 00: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-05 00: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-05 00:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217775616001,"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-05 00:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217775616001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:47:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:47:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217775616001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":229771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:47:43] local.INFO: GPS data processed {"connection_id":229771,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:47:43] local.INFO: Acknowledgment sent {"connection_id":229771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:48:10] local.INFO: TCP Data received {"connection_id":229281,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:48:10] local.INFO: Processing buffer {"connection_id":229281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:48:10] local.INFO: IMEI packet received {"connection_id":229281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":229281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:48:15] local.INFO: TCP Data received {"connection_id":229281,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:48:15] local.INFO: Processing buffer {"connection_id":229281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:48:15] local.INFO: IMEI packet received {"connection_id":229281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":229281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:48:16] local.INFO: TCP Data received {"connection_id":229281,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7fcfba8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7fcfba8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:48:16] local.INFO: Processing buffer {"connection_id":229281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7fcfba8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:48:16] local.INFO: Packet analysis {"connection_id":229281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7fc"} 
[2026-11-05 00:48:16] local.INFO: Extracted packet for processing {"connection_id":229281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7fc"} 
[2026-11-05 00: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-05 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-05 00:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217775616001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793819737000,"timestamp_ms":1793819737000,"timestamp_seconds":1793819737,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7fcfba8"} 
[2026-11-05 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-05 00:48: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-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 00:48: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-05 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-05 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-05 00:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217775616001,"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-05 00:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217775616001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:48:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:48:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217775616001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:48:16] 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":61029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:48:16] local.INFO: GPS data processed {"connection_id":229281,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:48:16] local.INFO: Acknowledgment sent {"connection_id":229281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:48:21] local.INFO: TCP Data received {"connection_id":229281,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7fcfba8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7fcfba8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:48:21] local.INFO: Processing buffer {"connection_id":229281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7fcfba8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:48:21] local.INFO: Packet analysis {"connection_id":229281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7fc"} 
[2026-11-05 00:48:21] local.INFO: Extracted packet for processing {"connection_id":229281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7fc"} 
[2026-11-05 00: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-05 00: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-05 00:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217775616001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793819737000,"timestamp_ms":1793819737000,"timestamp_seconds":1793819737,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7fcfba8"} 
[2026-11-05 00: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-05 00:48: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-05 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 00:48: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-05 00: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-05 00: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-05 00:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217775616001,"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-05 00:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217775616001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:48:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:48:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217775616001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:48:21] 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":61030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:48:21] local.INFO: GPS data processed {"connection_id":229281,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:48:21] local.INFO: Acknowledgment sent {"connection_id":229281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:49:05] local.INFO: TCP Data received {"connection_id":232950,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:49:05] local.INFO: Processing buffer {"connection_id":232950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:49:05] local.INFO: IMEI packet received {"connection_id":232950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":232950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:49:10] local.INFO: TCP Data received {"connection_id":232950,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:49:10] local.INFO: Processing buffer {"connection_id":232950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:49:10] local.INFO: IMEI packet received {"connection_id":232950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":232950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:49:11] local.INFO: TCP Data received {"connection_id":232950,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7fcfba8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7fcfba8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:49:11] local.INFO: Processing buffer {"connection_id":232950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7fcfba8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:49:11] local.INFO: Packet analysis {"connection_id":232950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7fc"} 
[2026-11-05 00:49:11] local.INFO: Extracted packet for processing {"connection_id":232950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7fc"} 
[2026-11-05 00:49: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-05 00: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-05 00:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217775616001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793819737000,"timestamp_ms":1793819737000,"timestamp_seconds":1793819737,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7fcfba8"} 
[2026-11-05 00: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-05 00:49: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-05 00:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 00:49: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-05 00: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-05 00: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-05 00:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217775616001,"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-05 00:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217775616001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:49:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:49:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:49: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-05 00:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217775616001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":232950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:49:11] local.INFO: GPS data processed {"connection_id":232950,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:49:11] local.INFO: Acknowledgment sent {"connection_id":232950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:49:43] local.INFO: TCP Data received {"connection_id":232950,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7fcfba8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7fcfba8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:49:43] local.INFO: Processing buffer {"connection_id":232950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7fcfba8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:49:43] local.INFO: Packet analysis {"connection_id":232950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7fc"} 
[2026-11-05 00:49:43] local.INFO: Extracted packet for processing {"connection_id":232950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7fc"} 
[2026-11-05 00:49: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-05 00:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 00:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217775616001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:49: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-05 00:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793819737000,"timestamp_ms":1793819737000,"timestamp_seconds":1793819737,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7fcfba8"} 
[2026-11-05 00:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 00:49: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-05 00:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 00:49: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-05 00:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 00:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 00:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:49: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-05 00:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217775616001,"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-05 00:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217775616001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:49:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:49:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:49: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-05 00:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217775616001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":232950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:49:43] local.INFO: GPS data processed {"connection_id":232950,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:49:43] local.INFO: Acknowledgment sent {"connection_id":232950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:50:05] local.INFO: TCP Data received {"connection_id":229283,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:50:05] local.INFO: Processing buffer {"connection_id":229283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:50:05] local.INFO: IMEI packet received {"connection_id":229283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":229283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:50:10] local.INFO: TCP Data received {"connection_id":229283,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:50:10] local.INFO: Processing buffer {"connection_id":229283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:50:10] local.INFO: IMEI packet received {"connection_id":229283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":229283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:50:11] local.INFO: TCP Data received {"connection_id":229283,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7fcfba8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7fcfba8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:50:11] local.INFO: Processing buffer {"connection_id":229283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7fcfba8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:50:11] local.INFO: Packet analysis {"connection_id":229283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7fc"} 
[2026-11-05 00:50:11] local.INFO: Extracted packet for processing {"connection_id":229283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7fc"} 
[2026-11-05 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217775616001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793819737000,"timestamp_ms":1793819737000,"timestamp_seconds":1793819737,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7fcfba8"} 
[2026-11-05 00: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-05 00:50: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-05 00:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 00:50: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-05 00: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-05 00: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-05 00:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217775616001,"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-05 00:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217775616001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:50:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:50:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217775616001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:50:11] 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":61033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:50:11] local.INFO: GPS data processed {"connection_id":229283,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:50:11] local.INFO: Acknowledgment sent {"connection_id":229283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:50:43] local.INFO: TCP Data received {"connection_id":229283,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7fcfba8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7fcfba8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:50:43] local.INFO: Processing buffer {"connection_id":229283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7fcfba8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:50:43] local.INFO: Packet analysis {"connection_id":229283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7fc"} 
[2026-11-05 00:50:43] local.INFO: Extracted packet for processing {"connection_id":229283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7fc"} 
[2026-11-05 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217775616001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793819737000,"timestamp_ms":1793819737000,"timestamp_seconds":1793819737,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7fcfba8"} 
[2026-11-05 00: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-05 00:50: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-05 00: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":255,"data_length":795,"current_offset":136} 
[2026-11-05 00:50: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-05 00: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-05 00: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-05 00:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217775616001,"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-05 00:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217775616001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:50:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:50:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217775616001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:50:43] 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":61034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:50:43] local.INFO: GPS data processed {"connection_id":229283,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:50:43] local.INFO: Acknowledgment sent {"connection_id":229283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:51:05] local.INFO: TCP Data received {"connection_id":232951,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:51:05] local.INFO: Processing buffer {"connection_id":232951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:51:05] local.INFO: IMEI packet received {"connection_id":232951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":232951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:51:10] local.INFO: TCP Data received {"connection_id":232951,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:51:10] local.INFO: Processing buffer {"connection_id":232951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:51:10] local.INFO: IMEI packet received {"connection_id":232951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":232951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:51:11] local.INFO: TCP Data received {"connection_id":232951,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7fcfba8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7fcfba8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:51:11] local.INFO: Processing buffer {"connection_id":232951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7fcfba8012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:51:11] local.INFO: Packet analysis {"connection_id":232951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7fc"} 
[2026-11-05 00:51:11] local.INFO: Extracted packet for processing {"connection_id":232951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7fc"} 
[2026-11-05 00:51: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-05 00: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-05 00:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217775616001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793819737000,"timestamp_ms":1793819737000,"timestamp_seconds":1793819737,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7fcfba8"} 
[2026-11-05 00: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-05 00:51: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-05 00:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 00:51: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-05 00: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-05 00: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-05 00:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:51: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-05 00:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217775616001,"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-05 00:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217775616001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:51:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:51:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:51: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-05 00:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217775616001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":232951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:51:11] local.INFO: GPS data processed {"connection_id":232951,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:51:11] local.INFO: Acknowledgment sent {"connection_id":232951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:51:32] local.INFO: TCP Data received {"connection_id":232952,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232952,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:51:32] local.INFO: Processing buffer {"connection_id":232952,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:51:32] local.INFO: IMEI packet received {"connection_id":232952,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 00:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":232952,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:51:42] local.INFO: TCP Data received {"connection_id":232951,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8019370012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8019370012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:51:42] local.INFO: Processing buffer {"connection_id":232951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8019370012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:51:42] local.INFO: Packet analysis {"connection_id":232951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a801"} 
[2026-11-05 00:51:42] local.INFO: Extracted packet for processing {"connection_id":232951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a801"} 
[2026-11-05 00:51: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 00:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217852672001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793820038000,"timestamp_ms":1793820038000,"timestamp_seconds":1793820038,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8019370"} 
[2026-11-05 00:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 00:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 00:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 00:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 00:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":232951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":232951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":232951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:51: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-05 00:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217852672001,"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-05 00:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217852672001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:51:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:51:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:51: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-05 00:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217852672001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":232951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:51:42] local.INFO: GPS data processed {"connection_id":232951,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:51:42] local.INFO: Acknowledgment sent {"connection_id":232951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:52:07] local.INFO: TCP Data received {"connection_id":229285,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:52:07] local.INFO: Processing buffer {"connection_id":229285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:52:07] local.INFO: IMEI packet received {"connection_id":229285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 00:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":229285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:52:10] local.INFO: TCP Data received {"connection_id":231079,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:52:10] local.INFO: Processing buffer {"connection_id":231079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:52:10] local.INFO: IMEI packet received {"connection_id":231079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":231079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:52:15] local.INFO: TCP Data received {"connection_id":231079,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:52:15] local.INFO: Processing buffer {"connection_id":231079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:52:15] local.INFO: IMEI packet received {"connection_id":231079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":231079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:52:17] local.INFO: TCP Data received {"connection_id":231079,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8019370012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8019370012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:52:17] local.INFO: Processing buffer {"connection_id":231079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8019370012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:52:17] local.INFO: Packet analysis {"connection_id":231079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a801"} 
[2026-11-05 00:52:17] local.INFO: Extracted packet for processing {"connection_id":231079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a801"} 
[2026-11-05 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217852672001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793820038000,"timestamp_ms":1793820038000,"timestamp_seconds":1793820038,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8019370"} 
[2026-11-05 00: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-05 00:52:17] 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-05 00:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00: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-05 00: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-05 00:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":231079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":231079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":231079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217852672001,"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-05 00:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217852672001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:52:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:52:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217852672001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":231079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:52:17] local.INFO: GPS data processed {"connection_id":231079,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:52:17] local.INFO: Acknowledgment sent {"connection_id":231079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:52:21] local.INFO: TCP Data received {"connection_id":231079,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8019370012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8019370012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:52:21] local.INFO: Processing buffer {"connection_id":231079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8019370012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:52:21] local.INFO: Packet analysis {"connection_id":231079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a801"} 
[2026-11-05 00:52:21] local.INFO: Extracted packet for processing {"connection_id":231079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a801"} 
[2026-11-05 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217852672001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793820038000,"timestamp_ms":1793820038000,"timestamp_seconds":1793820038,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8019370"} 
[2026-11-05 00: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-05 00:52: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-05 00: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":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:52: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-05 00: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-05 00: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-05 00:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":231079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":231079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":231079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217852672001,"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-05 00:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217852672001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:52:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:52:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217852672001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":231079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:52:21] local.INFO: GPS data processed {"connection_id":231079,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:52:21] local.INFO: Acknowledgment sent {"connection_id":231079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:53:05] local.INFO: TCP Data received {"connection_id":229286,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:53:05] local.INFO: Processing buffer {"connection_id":229286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:53:05] local.INFO: IMEI packet received {"connection_id":229286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":229286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:53:10] local.INFO: TCP Data received {"connection_id":229286,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:53:10] local.INFO: Processing buffer {"connection_id":229286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:53:10] local.INFO: IMEI packet received {"connection_id":229286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":229286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:53:11] local.INFO: TCP Data received {"connection_id":229286,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8019370012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8019370012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:53:11] local.INFO: Processing buffer {"connection_id":229286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8019370012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:53:11] local.INFO: Packet analysis {"connection_id":229286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a801"} 
[2026-11-05 00:53:11] local.INFO: Extracted packet for processing {"connection_id":229286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a801"} 
[2026-11-05 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217852672001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793820038000,"timestamp_ms":1793820038000,"timestamp_seconds":1793820038,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8019370"} 
[2026-11-05 00: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-05 00:53: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-05 00:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00: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-05 00: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-05 00:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217852672001,"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-05 00:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217852672001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:53:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:53:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217852672001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:53:11] 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":61039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:53:11] local.INFO: GPS data processed {"connection_id":229286,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:53:11] local.INFO: Acknowledgment sent {"connection_id":229286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:53:43] local.INFO: TCP Data received {"connection_id":229286,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8019370012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8019370012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:53:43] local.INFO: Processing buffer {"connection_id":229286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8019370012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:53:43] local.INFO: Packet analysis {"connection_id":229286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a801"} 
[2026-11-05 00:53:43] local.INFO: Extracted packet for processing {"connection_id":229286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a801"} 
[2026-11-05 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217852672001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793820038000,"timestamp_ms":1793820038000,"timestamp_seconds":1793820038,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8019370"} 
[2026-11-05 00: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-05 00:53: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-05 00: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":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:53: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-05 00: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-05 00: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-05 00:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217852672001,"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-05 00:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217852672001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:53:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:53:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217852672001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:53:43] 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":61040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:53:43] local.INFO: GPS data processed {"connection_id":229286,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:53:43] local.INFO: Acknowledgment sent {"connection_id":229286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:54:05] local.INFO: TCP Data received {"connection_id":232953,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:54:05] local.INFO: Processing buffer {"connection_id":232953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:54:05] local.INFO: IMEI packet received {"connection_id":232953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":232953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:54:10] local.INFO: TCP Data received {"connection_id":232953,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:54:10] local.INFO: Processing buffer {"connection_id":232953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:54:10] local.INFO: IMEI packet received {"connection_id":232953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":232953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:54:11] local.INFO: TCP Data received {"connection_id":232953,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8019370012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8019370012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:54:11] local.INFO: Processing buffer {"connection_id":232953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8019370012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:54:11] local.INFO: Packet analysis {"connection_id":232953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a801"} 
[2026-11-05 00:54:11] local.INFO: Extracted packet for processing {"connection_id":232953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a801"} 
[2026-11-05 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217852672001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793820038000,"timestamp_ms":1793820038000,"timestamp_seconds":1793820038,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8019370"} 
[2026-11-05 00: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-05 00:54: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-05 00:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00: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-05 00: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-05 00:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217852672001,"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-05 00:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217852672001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:54:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:54:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217852672001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":232953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:54:11] local.INFO: GPS data processed {"connection_id":232953,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:54:11] local.INFO: Acknowledgment sent {"connection_id":232953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:54:43] local.INFO: TCP Data received {"connection_id":232953,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8019370012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8019370012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:54:43] local.INFO: Processing buffer {"connection_id":232953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8019370012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:54:43] local.INFO: Packet analysis {"connection_id":232953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a801"} 
[2026-11-05 00:54:43] local.INFO: Extracted packet for processing {"connection_id":232953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a801"} 
[2026-11-05 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217852672001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793820038000,"timestamp_ms":1793820038000,"timestamp_seconds":1793820038,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8019370"} 
[2026-11-05 00: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-05 00:54: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-05 00: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":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:54: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-05 00: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-05 00: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-05 00:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217852672001,"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-05 00:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217852672001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:54:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:54:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217852672001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":232953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:54:43] local.INFO: GPS data processed {"connection_id":232953,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:54:43] local.INFO: Acknowledgment sent {"connection_id":232953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:55:05] local.INFO: TCP Data received {"connection_id":229774,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:55:05] local.INFO: Processing buffer {"connection_id":229774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:55:05] local.INFO: IMEI packet received {"connection_id":229774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":229774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:55:10] local.INFO: TCP Data received {"connection_id":229774,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:55:10] local.INFO: Processing buffer {"connection_id":229774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:55:10] local.INFO: IMEI packet received {"connection_id":229774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":229774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:55:11] local.INFO: TCP Data received {"connection_id":229774,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8019370012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8019370012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:55:11] local.INFO: Processing buffer {"connection_id":229774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8019370012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:55:11] local.INFO: Packet analysis {"connection_id":229774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a801"} 
[2026-11-05 00:55:11] local.INFO: Extracted packet for processing {"connection_id":229774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a801"} 
[2026-11-05 00:55: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-05 00:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 00:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217852672001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793820038000,"timestamp_ms":1793820038000,"timestamp_seconds":1793820038,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8019370"} 
[2026-11-05 00: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-05 00:55: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-05 00:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00: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-05 00: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-05 00:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:55: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-05 00:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217852672001,"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-05 00:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217852672001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:55:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:55:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:55: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-05 00:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217852672001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":229774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:55:11] local.INFO: GPS data processed {"connection_id":229774,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:55:11] local.INFO: Acknowledgment sent {"connection_id":229774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:55:44] local.INFO: TCP Data received {"connection_id":229774,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8019370012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8019370012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:55:44] local.INFO: Processing buffer {"connection_id":229774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8019370012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:55:44] local.INFO: Packet analysis {"connection_id":229774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a801"} 
[2026-11-05 00:55:44] local.INFO: Extracted packet for processing {"connection_id":229774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a801"} 
[2026-11-05 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217852672001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793820038000,"timestamp_ms":1793820038000,"timestamp_seconds":1793820038,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8019370"} 
[2026-11-05 00: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-05 00:55: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-05 00: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":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:55: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-05 00: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-05 00: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-05 00:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217852672001,"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-05 00:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217852672001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:55:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:55:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217852672001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":229774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:55:44] local.INFO: GPS data processed {"connection_id":229774,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:55:44] local.INFO: Acknowledgment sent {"connection_id":229774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:56:10] local.INFO: TCP Data received {"connection_id":229289,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:56:10] local.INFO: Processing buffer {"connection_id":229289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:56:10] local.INFO: IMEI packet received {"connection_id":229289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":229289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:56:15] local.INFO: TCP Data received {"connection_id":229289,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:56:15] local.INFO: Processing buffer {"connection_id":229289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:56:15] local.INFO: IMEI packet received {"connection_id":229289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":229289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:56:17] local.INFO: TCP Data received {"connection_id":229289,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8019370012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8019370012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:56:17] local.INFO: Processing buffer {"connection_id":229289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8019370012d34c14006aa4118000a01012c..."} 
[2026-11-05 00:56:17] local.INFO: Packet analysis {"connection_id":229289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a801"} 
[2026-11-05 00:56:17] local.INFO: Extracted packet for processing {"connection_id":229289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a801"} 
[2026-11-05 00:56: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-05 00: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-05 00:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217852672001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793820038000,"timestamp_ms":1793820038000,"timestamp_seconds":1793820038,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8019370"} 
[2026-11-05 00: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-05 00:56:17] 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-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 00:56: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-05 00: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-05 00: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-05 00:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:56: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-05 00:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217852672001,"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-05 00:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217852672001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:56:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:56:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:56: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-05 00:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217852672001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:56:17] 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":61045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:56:17] local.INFO: GPS data processed {"connection_id":229289,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:56:17] local.INFO: Acknowledgment sent {"connection_id":229289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:56:18] local.INFO: TCP Data received {"connection_id":229289,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 00:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 00:56:18] local.INFO: Processing buffer {"connection_id":229289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 00:56:18] local.INFO: Packet analysis {"connection_id":229289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a806"} 
[2026-11-05 00:56:18] local.INFO: Extracted packet for processing {"connection_id":229289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a806"} 
[2026-11-05 00:56: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-05 00: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-05 00:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217929728001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:56: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-05 00:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793820339000,"timestamp_ms":1793820339000,"timestamp_seconds":1793820339,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8062b38"} 
[2026-11-05 00: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-05 00:56:18] 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-05 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 00:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00: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-05 00: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-05 00:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:56: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-05 00:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217929728001,"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-05 00:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217929728001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:56:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:56:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:56: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-05 00:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217929728001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:56:18] 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":61046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:56:18] local.INFO: GPS data processed {"connection_id":229289,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:56:18] local.INFO: Acknowledgment sent {"connection_id":229289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:56:49] local.INFO: TCP Data received {"connection_id":229289,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 00:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 00:56:49] local.INFO: Processing buffer {"connection_id":229289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 00:56:49] local.INFO: Packet analysis {"connection_id":229289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a806"} 
[2026-11-05 00:56:49] local.INFO: Extracted packet for processing {"connection_id":229289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a806"} 
[2026-11-05 00:56: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 00:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217929728001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:56: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-05 00:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793820339000,"timestamp_ms":1793820339000,"timestamp_seconds":1793820339,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8062b38"} 
[2026-11-05 00:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 00:56: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-05 00:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 00:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 00:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 00:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:56: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-05 00:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217929728001,"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-05 00:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217929728001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:56:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:56:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:56: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-05 00:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217929728001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:56:49] 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":61047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:56:49] local.INFO: GPS data processed {"connection_id":229289,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:56:49] local.INFO: Acknowledgment sent {"connection_id":229289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:57:06] local.INFO: TCP Data received {"connection_id":232954,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:57:06] local.INFO: Processing buffer {"connection_id":232954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:57:06] local.INFO: IMEI packet received {"connection_id":232954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":232954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:57:10] local.INFO: TCP Data received {"connection_id":232954,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:57:10] local.INFO: Processing buffer {"connection_id":232954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:57:10] local.INFO: IMEI packet received {"connection_id":232954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":232954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:57:11] local.INFO: TCP Data received {"connection_id":232954,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 00:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 00:57:11] local.INFO: Processing buffer {"connection_id":232954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 00:57:11] local.INFO: Packet analysis {"connection_id":232954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a806"} 
[2026-11-05 00:57:11] local.INFO: Extracted packet for processing {"connection_id":232954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a806"} 
[2026-11-05 00: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217929728001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793820339000,"timestamp_ms":1793820339000,"timestamp_seconds":1793820339,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8062b38"} 
[2026-11-05 00: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-05 00:57: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-05 00: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 00:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00: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-05 00: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-05 00:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217929728001,"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-05 00:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217929728001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:57:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:57:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217929728001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":232954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:57:11] local.INFO: GPS data processed {"connection_id":232954,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:57:11] local.INFO: Acknowledgment sent {"connection_id":232954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:57:37] local.INFO: TCP Data received {"connection_id":231081,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:57:37] local.INFO: Processing buffer {"connection_id":231081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:57:37] local.INFO: IMEI packet received {"connection_id":231081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 00:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":231081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:57:43] local.INFO: TCP Data received {"connection_id":232954,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 00:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 00:57:43] local.INFO: Processing buffer {"connection_id":232954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 00:57:43] local.INFO: Packet analysis {"connection_id":232954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a806"} 
[2026-11-05 00:57:43] local.INFO: Extracted packet for processing {"connection_id":232954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a806"} 
[2026-11-05 00: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217929728001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793820339000,"timestamp_ms":1793820339000,"timestamp_seconds":1793820339,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8062b38"} 
[2026-11-05 00: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-05 00:57: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-05 00: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 00:57: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-05 00: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-05 00: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-05 00:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217929728001,"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-05 00:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217929728001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:57:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:57:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217929728001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":232954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:57:43] local.INFO: GPS data processed {"connection_id":232954,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:57:43] local.INFO: Acknowledgment sent {"connection_id":232954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:58:05] local.INFO: TCP Data received {"connection_id":229290,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:58:05] local.INFO: Processing buffer {"connection_id":229290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:58:05] local.INFO: IMEI packet received {"connection_id":229290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":229290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:58:07] local.INFO: TCP Data received {"connection_id":231082,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231082,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:58:07] local.INFO: Processing buffer {"connection_id":231082,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 00:58:07] local.INFO: IMEI packet received {"connection_id":231082,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 00:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":231082,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:58:10] local.INFO: TCP Data received {"connection_id":229290,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:58:10] local.INFO: Processing buffer {"connection_id":229290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:58:10] local.INFO: IMEI packet received {"connection_id":229290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":229290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:58:11] local.INFO: TCP Data received {"connection_id":229290,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 00:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 00:58:11] local.INFO: Processing buffer {"connection_id":229290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 00:58:11] local.INFO: Packet analysis {"connection_id":229290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a806"} 
[2026-11-05 00:58:11] local.INFO: Extracted packet for processing {"connection_id":229290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a806"} 
[2026-11-05 00:58: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-05 00:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 00:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217929728001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 00:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793820339000,"timestamp_ms":1793820339000,"timestamp_seconds":1793820339,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8062b38"} 
[2026-11-05 00:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 00:58: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-05 00:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 00:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 00:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 00:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 00:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:58: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-05 00:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217929728001,"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-05 00:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217929728001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:58:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:58:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00:58: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-05 00:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217929728001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:58:11] 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":61050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:58:11] local.INFO: GPS data processed {"connection_id":229290,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:58:11] local.INFO: Acknowledgment sent {"connection_id":229290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:58:43] local.INFO: TCP Data received {"connection_id":229290,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 00:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 00:58:43] local.INFO: Processing buffer {"connection_id":229290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 00:58:43] local.INFO: Packet analysis {"connection_id":229290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a806"} 
[2026-11-05 00:58:43] local.INFO: Extracted packet for processing {"connection_id":229290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a806"} 
[2026-11-05 00: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-05 00: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-05 00:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217929728001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:58:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793820339000,"timestamp_ms":1793820339000,"timestamp_seconds":1793820339,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8062b38"} 
[2026-11-05 00: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-05 00:58: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-05 00: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 00:58: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-05 00: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-05 00: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-05 00:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217929728001,"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-05 00:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217929728001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:58:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:58:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:58:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217929728001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:58:43] 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":61051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:58:43] local.INFO: GPS data processed {"connection_id":229290,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:58:43] local.INFO: Acknowledgment sent {"connection_id":229290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:59:05] local.INFO: TCP Data received {"connection_id":232955,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:59:05] local.INFO: Processing buffer {"connection_id":232955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:59:05] local.INFO: IMEI packet received {"connection_id":232955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 00:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":232955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 00:59:10] local.INFO: TCP Data received {"connection_id":232955,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:59:10] local.INFO: Processing buffer {"connection_id":232955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 00:59:10] local.INFO: IMEI packet received {"connection_id":232955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 00:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":232955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 00:59:12] local.INFO: TCP Data received {"connection_id":232955,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 00:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 00:59:12] local.INFO: Processing buffer {"connection_id":232955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 00:59:12] local.INFO: Packet analysis {"connection_id":232955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a806"} 
[2026-11-05 00:59:12] local.INFO: Extracted packet for processing {"connection_id":232955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a806"} 
[2026-11-05 00: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217929728001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793820339000,"timestamp_ms":1793820339000,"timestamp_seconds":1793820339,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8062b38"} 
[2026-11-05 00: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-05 00: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-05 00: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 00:59: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-05 00: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-05 00: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-05 00:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217929728001,"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-05 00:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217929728001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:59:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:59:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217929728001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":232955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:59:12] local.INFO: GPS data processed {"connection_id":232955,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:59:12] local.INFO: Acknowledgment sent {"connection_id":232955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 00:59:43] local.INFO: TCP Data received {"connection_id":232955,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 00:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 00:59:43] local.INFO: Processing buffer {"connection_id":232955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 00:59:43] local.INFO: Packet analysis {"connection_id":232955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a806"} 
[2026-11-05 00:59:43] local.INFO: Extracted packet for processing {"connection_id":232955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a806"} 
[2026-11-05 00: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 00: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-05 00:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217929728001,"note":"Value kept but may cause issues"} 
[2026-11-05 00:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 00:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 00: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-05 00:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793820339000,"timestamp_ms":1793820339000,"timestamp_seconds":1793820339,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8062b38"} 
[2026-11-05 00: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-05 00:59: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-05 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 00:59: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-05 00: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-05 00: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-05 00:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 00:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 00:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 00: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-05 00:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 00:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 00:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217929728001,"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-05 00:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 00:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 00:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217929728001,"description":"Unknown IO ID 0"} 
[2026-11-05 00:59:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 00:59:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 00: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-05 00:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 00:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217929728001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 00:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":232955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 00:59:43] local.INFO: GPS data processed {"connection_id":232955,"processed":1,"errors":0,"total":1} 
[2026-11-05 00:59:43] local.INFO: Acknowledgment sent {"connection_id":232955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:00:10] local.INFO: TCP Data received {"connection_id":229775,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:00:10] local.INFO: Processing buffer {"connection_id":229775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:00:10] local.INFO: IMEI packet received {"connection_id":229775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":229775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:00:15] local.INFO: TCP Data received {"connection_id":229775,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:00:15] local.INFO: Processing buffer {"connection_id":229775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:00:15] local.INFO: IMEI packet received {"connection_id":229775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":229775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:00:16] local.INFO: TCP Data received {"connection_id":229775,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:00:16] local.INFO: Processing buffer {"connection_id":229775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:00:16] local.INFO: Packet analysis {"connection_id":229775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a806"} 
[2026-11-05 01:00:16] local.INFO: Extracted packet for processing {"connection_id":229775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a806"} 
[2026-11-05 01:00: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-05 01: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-05 01:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217929728001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:00: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-05 01:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793820339000,"timestamp_ms":1793820339000,"timestamp_seconds":1793820339,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8062b38"} 
[2026-11-05 01: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-05 01:00: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-05 01:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:00:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:00: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-05 01:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217929728001,"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-05 01:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217929728001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:00:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:00:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:00: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-05 01:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217929728001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":229775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:00:16] local.INFO: GPS data processed {"connection_id":229775,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:00:16] local.INFO: Acknowledgment sent {"connection_id":229775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:00:21] local.INFO: TCP Data received {"connection_id":229775,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:00:21] local.INFO: Processing buffer {"connection_id":229775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:00:21] local.INFO: Packet analysis {"connection_id":229775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a806"} 
[2026-11-05 01:00:21] local.INFO: Extracted packet for processing {"connection_id":229775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a806"} 
[2026-11-05 01:00: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-05 01: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-05 01:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217929728001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:00: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-05 01:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793820339000,"timestamp_ms":1793820339000,"timestamp_seconds":1793820339,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8062b38"} 
[2026-11-05 01: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-05 01:00: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-05 01:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:00: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-05 01: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-05 01: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-05 01:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:00: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-05 01:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217929728001,"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-05 01:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217929728001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:00:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:00:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:00: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-05 01:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217929728001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":229775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:00:21] local.INFO: GPS data processed {"connection_id":229775,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:00:21] local.INFO: Acknowledgment sent {"connection_id":229775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:01:05] local.INFO: TCP Data received {"connection_id":232956,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:01:05] local.INFO: Processing buffer {"connection_id":232956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:01:05] local.INFO: IMEI packet received {"connection_id":232956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":232956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:01:10] local.INFO: TCP Data received {"connection_id":232956,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:01:10] local.INFO: Processing buffer {"connection_id":232956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:01:10] local.INFO: IMEI packet received {"connection_id":232956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":232956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:01:11] local.INFO: TCP Data received {"connection_id":232956,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:01:11] local.INFO: Processing buffer {"connection_id":232956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8062b38012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:01:11] local.INFO: Packet analysis {"connection_id":232956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a806"} 
[2026-11-05 01:01:11] local.INFO: Extracted packet for processing {"connection_id":232956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a806"} 
[2026-11-05 01: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-05 01: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-05 01:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217929728001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793820339000,"timestamp_ms":1793820339000,"timestamp_seconds":1793820339,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8062b38"} 
[2026-11-05 01: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-05 01:01: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-05 01: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217929728001,"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-05 01:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217929728001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:01:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:01:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217929728001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":232956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:01:11] local.INFO: GPS data processed {"connection_id":232956,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:01:11] local.INFO: Acknowledgment sent {"connection_id":232956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:01:42] local.INFO: TCP Data received {"connection_id":232956,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a80ac300012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a80ac300012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:01:42] local.INFO: Processing buffer {"connection_id":232956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a80ac300012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:01:42] local.INFO: Packet analysis {"connection_id":232956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a80a"} 
[2026-11-05 01:01:42] local.INFO: Extracted packet for processing {"connection_id":232956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a80a"} 
[2026-11-05 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218006784001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793820640000,"timestamp_ms":1793820640000,"timestamp_seconds":1793820640,"priority":1,"record_length":96,"hex_timestamp":"000001a1a80ac300"} 
[2026-11-05 01: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-05 01:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 01: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":232956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":232956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":232956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218006784001,"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-05 01:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218006784001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:01:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:01:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218006784001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":232956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:01:42] local.INFO: GPS data processed {"connection_id":232956,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:01:42] local.INFO: Acknowledgment sent {"connection_id":232956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:02:05] local.INFO: TCP Data received {"connection_id":229291,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:02:05] local.INFO: Processing buffer {"connection_id":229291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:02:05] local.INFO: IMEI packet received {"connection_id":229291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":229291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:02:10] local.INFO: TCP Data received {"connection_id":229291,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:02:10] local.INFO: Processing buffer {"connection_id":229291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:02:10] local.INFO: IMEI packet received {"connection_id":229291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":229291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:02:10] local.INFO: TCP Data received {"connection_id":229291,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a80ac300012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a80ac300012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:02:10] local.INFO: Processing buffer {"connection_id":229291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a80ac300012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:02:10] local.INFO: Packet analysis {"connection_id":229291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a80a"} 
[2026-11-05 01:02:10] local.INFO: Extracted packet for processing {"connection_id":229291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a80a"} 
[2026-11-05 01:02:10] 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-05 01:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 01:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218006784001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793820640000,"timestamp_ms":1793820640000,"timestamp_seconds":1793820640,"priority":1,"record_length":96,"hex_timestamp":"000001a1a80ac300"} 
[2026-11-05 01:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 01:02:10] 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-05 01:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 01:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 01:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:02: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-05 01:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218006784001,"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-05 01:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218006784001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:02:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:02:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 01:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218006784001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:02:11] 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":61058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:02:11] local.INFO: GPS data processed {"connection_id":229291,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:02:11] local.INFO: Acknowledgment sent {"connection_id":229291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:02:42] local.INFO: TCP Data received {"connection_id":229291,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a80ac300012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a80ac300012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:02:42] local.INFO: Processing buffer {"connection_id":229291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a80ac300012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:02:42] local.INFO: Packet analysis {"connection_id":229291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a80a"} 
[2026-11-05 01:02:42] local.INFO: Extracted packet for processing {"connection_id":229291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a80a"} 
[2026-11-05 01:02: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 01:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218006784001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793820640000,"timestamp_ms":1793820640000,"timestamp_seconds":1793820640,"priority":1,"record_length":96,"hex_timestamp":"000001a1a80ac300"} 
[2026-11-05 01:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 01:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 01:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 01:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 01:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:02: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-05 01:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218006784001,"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-05 01:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218006784001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:02:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:02:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:02: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-05 01:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218006784001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:02:42] 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":61059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:02:42] local.INFO: GPS data processed {"connection_id":229291,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:02:42] local.INFO: Acknowledgment sent {"connection_id":229291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:03:10] local.INFO: TCP Data received {"connection_id":229292,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:03:10] local.INFO: Processing buffer {"connection_id":229292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:03:10] local.INFO: IMEI packet received {"connection_id":229292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":229292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:03:15] local.INFO: TCP Data received {"connection_id":229292,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:03:15] local.INFO: Processing buffer {"connection_id":229292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:03:15] local.INFO: IMEI packet received {"connection_id":229292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":229292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:03:16] local.INFO: TCP Data received {"connection_id":229292,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a80ac300012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a80ac300012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:03:16] local.INFO: Processing buffer {"connection_id":229292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a80ac300012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:03:16] local.INFO: Packet analysis {"connection_id":229292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a80a"} 
[2026-11-05 01:03:16] local.INFO: Extracted packet for processing {"connection_id":229292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a80a"} 
[2026-11-05 01:03: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-05 01: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-05 01:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218006784001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:03: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-05 01:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793820640000,"timestamp_ms":1793820640000,"timestamp_seconds":1793820640,"priority":1,"record_length":96,"hex_timestamp":"000001a1a80ac300"} 
[2026-11-05 01: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-05 01: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-05 01: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:03: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-05 01:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218006784001,"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-05 01:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218006784001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:03:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:03:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:03: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-05 01:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218006784001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:03:17] 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":61060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:03:17] local.INFO: GPS data processed {"connection_id":229292,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:03:17] local.INFO: Acknowledgment sent {"connection_id":229292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:03:21] local.INFO: TCP Data received {"connection_id":229292,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a80ac300012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a80ac300012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:03:21] local.INFO: Processing buffer {"connection_id":229292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a80ac300012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:03:21] local.INFO: Packet analysis {"connection_id":229292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a80a"} 
[2026-11-05 01:03:21] local.INFO: Extracted packet for processing {"connection_id":229292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a80a"} 
[2026-11-05 01:03: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-05 01: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-05 01:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218006784001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:03: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-05 01:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793820640000,"timestamp_ms":1793820640000,"timestamp_seconds":1793820640,"priority":1,"record_length":96,"hex_timestamp":"000001a1a80ac300"} 
[2026-11-05 01: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-05 01:03: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-05 01: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:03: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-05 01: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-05 01: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-05 01:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:03: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-05 01:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218006784001,"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-05 01:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218006784001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:03:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:03:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:03: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-05 01:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218006784001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:03:21] 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":61061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:03:21] local.INFO: GPS data processed {"connection_id":229292,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:03:21] local.INFO: Acknowledgment sent {"connection_id":229292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:03:32] local.INFO: TCP Data received {"connection_id":229293,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229293,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:03:32] local.INFO: Processing buffer {"connection_id":229293,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:03:32] local.INFO: IMEI packet received {"connection_id":229293,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 01:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":229293,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:04:05] local.INFO: TCP Data received {"connection_id":232957,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:04:05] local.INFO: Processing buffer {"connection_id":232957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:04:05] local.INFO: IMEI packet received {"connection_id":232957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":232957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:04:10] local.INFO: TCP Data received {"connection_id":232957,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:04:10] local.INFO: Processing buffer {"connection_id":232957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:04:10] local.INFO: IMEI packet received {"connection_id":232957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":232957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:04:11] local.INFO: TCP Data received {"connection_id":232957,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a80ac300012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a80ac300012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:04:11] local.INFO: Processing buffer {"connection_id":232957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a80ac300012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:04:11] local.INFO: Packet analysis {"connection_id":232957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a80a"} 
[2026-11-05 01:04:11] local.INFO: Extracted packet for processing {"connection_id":232957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a80a"} 
[2026-11-05 01:04: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-05 01:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 01:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218006784001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793820640000,"timestamp_ms":1793820640000,"timestamp_seconds":1793820640,"priority":1,"record_length":96,"hex_timestamp":"000001a1a80ac300"} 
[2026-11-05 01:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 01:04: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-05 01:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 01:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 01:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:04: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-05 01:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218006784001,"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-05 01:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218006784001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:04:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:04:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:04: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-05 01:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218006784001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":232957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:04:11] local.INFO: GPS data processed {"connection_id":232957,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:04:11] local.INFO: Acknowledgment sent {"connection_id":232957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:04:12] local.INFO: TCP Data received {"connection_id":229777,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:04:12] local.INFO: Processing buffer {"connection_id":229777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:04:12] local.INFO: IMEI packet received {"connection_id":229777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 01:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":229777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:04:43] local.INFO: TCP Data received {"connection_id":232957,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a80ac300012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a80ac300012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:04:43] local.INFO: Processing buffer {"connection_id":232957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a80ac300012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:04:43] local.INFO: Packet analysis {"connection_id":232957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a80a"} 
[2026-11-05 01:04:43] local.INFO: Extracted packet for processing {"connection_id":232957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a80a"} 
[2026-11-05 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 01:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218006784001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:04: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-05 01:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793820640000,"timestamp_ms":1793820640000,"timestamp_seconds":1793820640,"priority":1,"record_length":96,"hex_timestamp":"000001a1a80ac300"} 
[2026-11-05 01:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 01:04: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-05 01:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:04: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-05 01:04:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 01:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 01:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218006784001,"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-05 01:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218006784001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:04:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:04:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218006784001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":232957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:04:43] local.INFO: GPS data processed {"connection_id":232957,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:04:43] local.INFO: Acknowledgment sent {"connection_id":232957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:05:05] local.INFO: TCP Data received {"connection_id":231086,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:05:05] local.INFO: Processing buffer {"connection_id":231086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:05:05] local.INFO: IMEI packet received {"connection_id":231086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":231086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:05:10] local.INFO: TCP Data received {"connection_id":231086,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:05:10] local.INFO: Processing buffer {"connection_id":231086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:05:10] local.INFO: IMEI packet received {"connection_id":231086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":231086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:05:11] local.INFO: TCP Data received {"connection_id":231086,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a80ac300012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a80ac300012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:05:11] local.INFO: Processing buffer {"connection_id":231086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a80ac300012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:05:11] local.INFO: Packet analysis {"connection_id":231086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a80a"} 
[2026-11-05 01:05:11] local.INFO: Extracted packet for processing {"connection_id":231086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a80a"} 
[2026-11-05 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218006784001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793820640000,"timestamp_ms":1793820640000,"timestamp_seconds":1793820640,"priority":1,"record_length":96,"hex_timestamp":"000001a1a80ac300"} 
[2026-11-05 01: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-05 01:05: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-05 01: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218006784001,"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-05 01:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218006784001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:05:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:05:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218006784001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":231086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:05:11] local.INFO: GPS data processed {"connection_id":231086,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:05:11] local.INFO: Acknowledgment sent {"connection_id":231086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:05:43] local.INFO: TCP Data received {"connection_id":231086,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a80ac300012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a80ac300012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:05:43] local.INFO: Processing buffer {"connection_id":231086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a80ac300012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:05:43] local.INFO: Packet analysis {"connection_id":231086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a80a"} 
[2026-11-05 01:05:43] local.INFO: Extracted packet for processing {"connection_id":231086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a80a"} 
[2026-11-05 01:05: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-05 01: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-05 01:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218006784001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:05: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-05 01:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793820640000,"timestamp_ms":1793820640000,"timestamp_seconds":1793820640,"priority":1,"record_length":96,"hex_timestamp":"000001a1a80ac300"} 
[2026-11-05 01: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-05 01:05: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-05 01: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:05: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-05 01: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-05 01: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-05 01:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:05: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-05 01:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218006784001,"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-05 01:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218006784001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:05:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:05:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:05: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-05 01:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218006784001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":231086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:05:43] local.INFO: GPS data processed {"connection_id":231086,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:05:43] local.INFO: Acknowledgment sent {"connection_id":231086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:06:05] local.INFO: TCP Data received {"connection_id":229294,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:06:05] local.INFO: Processing buffer {"connection_id":229294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:06:05] local.INFO: IMEI packet received {"connection_id":229294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":229294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:06:10] local.INFO: TCP Data received {"connection_id":229294,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:06:10] local.INFO: Processing buffer {"connection_id":229294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:06:10] local.INFO: IMEI packet received {"connection_id":229294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":229294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:06:11] local.INFO: TCP Data received {"connection_id":229294,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a80ac300012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a80ac300012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:06:11] local.INFO: Processing buffer {"connection_id":229294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a80ac300012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:06:11] local.INFO: Packet analysis {"connection_id":229294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a80a"} 
[2026-11-05 01:06:11] local.INFO: Extracted packet for processing {"connection_id":229294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a80a"} 
[2026-11-05 01:06: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-05 01:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 01:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218006784001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793820640000,"timestamp_ms":1793820640000,"timestamp_seconds":1793820640,"priority":1,"record_length":96,"hex_timestamp":"000001a1a80ac300"} 
[2026-11-05 01:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 01:06: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-05 01:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 01:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 01:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:06: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-05 01:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218006784001,"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-05 01:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218006784001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:06:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:06:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:06: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-05 01:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218006784001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:06:11] 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":61066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:06:11] local.INFO: GPS data processed {"connection_id":229294,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:06:11] local.INFO: Acknowledgment sent {"connection_id":229294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:06:42] local.INFO: TCP Data received {"connection_id":229294,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a80f5ac8012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a80f5ac8012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:06:42] local.INFO: Processing buffer {"connection_id":229294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a80f5ac8012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:06:42] local.INFO: Packet analysis {"connection_id":229294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a80f"} 
[2026-11-05 01:06:42] local.INFO: Extracted packet for processing {"connection_id":229294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a80f"} 
[2026-11-05 01:06: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 01:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218083840001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793820941000,"timestamp_ms":1793820941000,"timestamp_seconds":1793820941,"priority":1,"record_length":96,"hex_timestamp":"000001a1a80f5ac8"} 
[2026-11-05 01:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 01:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 01:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 01:06: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-05 01:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 01:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 01:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:06: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-05 01:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218083840001,"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-05 01:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218083840001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:06:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:06:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:06: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-05 01:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218083840001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:06:43] 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":61067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:06:43] local.INFO: GPS data processed {"connection_id":229294,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:06:43] local.INFO: Acknowledgment sent {"connection_id":229294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:07:10] local.INFO: TCP Data received {"connection_id":231088,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:07:10] local.INFO: Processing buffer {"connection_id":231088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:07:10] local.INFO: IMEI packet received {"connection_id":231088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":231088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:07:15] local.INFO: TCP Data received {"connection_id":231088,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:07:15] local.INFO: Processing buffer {"connection_id":231088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:07:15] local.INFO: IMEI packet received {"connection_id":231088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":231088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:07:16] local.INFO: TCP Data received {"connection_id":231088,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a80f5ac8012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a80f5ac8012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:07:16] local.INFO: Processing buffer {"connection_id":231088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a80f5ac8012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:07:16] local.INFO: Packet analysis {"connection_id":231088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a80f"} 
[2026-11-05 01:07:16] local.INFO: Extracted packet for processing {"connection_id":231088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a80f"} 
[2026-11-05 01:07: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-05 01: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-05 01:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218083840001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:07: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-05 01:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793820941000,"timestamp_ms":1793820941000,"timestamp_seconds":1793820941,"priority":1,"record_length":96,"hex_timestamp":"000001a1a80f5ac8"} 
[2026-11-05 01: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-05 01:07: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-05 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 01:07: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-05 01: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-05 01: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-05 01:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":231088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":231088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":231088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218083840001,"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-05 01:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218083840001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:07:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:07:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:07: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-05 01:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218083840001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":231088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:07:16] local.INFO: GPS data processed {"connection_id":231088,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:07:16] local.INFO: Acknowledgment sent {"connection_id":231088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:07:21] local.INFO: TCP Data received {"connection_id":231088,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a80f5ac8012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a80f5ac8012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:07:21] local.INFO: Processing buffer {"connection_id":231088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a80f5ac8012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:07:21] local.INFO: Packet analysis {"connection_id":231088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a80f"} 
[2026-11-05 01:07:21] local.INFO: Extracted packet for processing {"connection_id":231088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a80f"} 
[2026-11-05 01:07: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-05 01: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-05 01:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218083840001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:07: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-05 01:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793820941000,"timestamp_ms":1793820941000,"timestamp_seconds":1793820941,"priority":1,"record_length":96,"hex_timestamp":"000001a1a80f5ac8"} 
[2026-11-05 01: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-05 01: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-05 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 01:07: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-05 01: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-05 01: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-05 01:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":231088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":231088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":231088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:07: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-05 01:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218083840001,"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-05 01:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218083840001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:07:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:07:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:07: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-05 01:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218083840001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":231088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:07:21] local.INFO: GPS data processed {"connection_id":231088,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:07:21] local.INFO: Acknowledgment sent {"connection_id":231088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:08:05] local.INFO: TCP Data received {"connection_id":229295,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:08:05] local.INFO: Processing buffer {"connection_id":229295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:08:05] local.INFO: IMEI packet received {"connection_id":229295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":229295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:08:10] local.INFO: TCP Data received {"connection_id":229295,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:08:10] local.INFO: Processing buffer {"connection_id":229295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:08:10] local.INFO: IMEI packet received {"connection_id":229295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":229295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:08:11] local.INFO: TCP Data received {"connection_id":229295,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a80f5ac8012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a80f5ac8012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:08:11] local.INFO: Processing buffer {"connection_id":229295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a80f5ac8012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:08:11] local.INFO: Packet analysis {"connection_id":229295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a80f"} 
[2026-11-05 01:08:11] local.INFO: Extracted packet for processing {"connection_id":229295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a80f"} 
[2026-11-05 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218083840001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793820941000,"timestamp_ms":1793820941000,"timestamp_seconds":1793820941,"priority":1,"record_length":96,"hex_timestamp":"000001a1a80f5ac8"} 
[2026-11-05 01: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-05 01:08: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-05 01:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 01:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218083840001,"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-05 01:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218083840001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:08:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:08:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218083840001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:08:11] 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":61070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:08:11] local.INFO: GPS data processed {"connection_id":229295,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:08:11] local.INFO: Acknowledgment sent {"connection_id":229295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:08:43] local.INFO: TCP Data received {"connection_id":229295,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a80f5ac8012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a80f5ac8012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:08:43] local.INFO: Processing buffer {"connection_id":229295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a80f5ac8012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:08:43] local.INFO: Packet analysis {"connection_id":229295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a80f"} 
[2026-11-05 01:08:43] local.INFO: Extracted packet for processing {"connection_id":229295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a80f"} 
[2026-11-05 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218083840001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793820941000,"timestamp_ms":1793820941000,"timestamp_seconds":1793820941,"priority":1,"record_length":96,"hex_timestamp":"000001a1a80f5ac8"} 
[2026-11-05 01: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-05 01:08: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-05 01:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 01:08: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-05 01: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-05 01: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-05 01:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218083840001,"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-05 01:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218083840001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:08:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:08:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218083840001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:08:43] 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":61071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:08:43] local.INFO: GPS data processed {"connection_id":229295,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:08:43] local.INFO: Acknowledgment sent {"connection_id":229295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:09:05] local.INFO: TCP Data received {"connection_id":232958,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:09:05] local.INFO: Processing buffer {"connection_id":232958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:09:05] local.INFO: IMEI packet received {"connection_id":232958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":232958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:09:10] local.INFO: TCP Data received {"connection_id":232958,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:09:10] local.INFO: Processing buffer {"connection_id":232958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:09:10] local.INFO: IMEI packet received {"connection_id":232958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":232958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:09:11] local.INFO: TCP Data received {"connection_id":232958,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a80f5ac8012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a80f5ac8012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:09:11] local.INFO: Processing buffer {"connection_id":232958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a80f5ac8012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:09:11] local.INFO: Packet analysis {"connection_id":232958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a80f"} 
[2026-11-05 01:09:11] local.INFO: Extracted packet for processing {"connection_id":232958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a80f"} 
[2026-11-05 01:09: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-05 01:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 01:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218083840001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793820941000,"timestamp_ms":1793820941000,"timestamp_seconds":1793820941,"priority":1,"record_length":96,"hex_timestamp":"000001a1a80f5ac8"} 
[2026-11-05 01:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 01:09: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-05 01:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 01:09: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-05 01:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 01:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 01:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:09: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-05 01:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218083840001,"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-05 01:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218083840001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:09:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:09:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:09: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-05 01:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218083840001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":232958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:09:11] local.INFO: GPS data processed {"connection_id":232958,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:09:11] local.INFO: Acknowledgment sent {"connection_id":232958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:09:42] local.INFO: TCP Data received {"connection_id":232959,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232959,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:09:42] local.INFO: Processing buffer {"connection_id":232959,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:09:42] local.INFO: IMEI packet received {"connection_id":232959,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 01:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":232959,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:09:43] local.INFO: TCP Data received {"connection_id":232958,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a80f5ac8012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a80f5ac8012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:09:43] local.INFO: Processing buffer {"connection_id":232958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a80f5ac8012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:09:43] local.INFO: Packet analysis {"connection_id":232958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a80f"} 
[2026-11-05 01:09:43] local.INFO: Extracted packet for processing {"connection_id":232958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a80f"} 
[2026-11-05 01:09: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-05 01:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 01:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218083840001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:09: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-05 01:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793820941000,"timestamp_ms":1793820941000,"timestamp_seconds":1793820941,"priority":1,"record_length":96,"hex_timestamp":"000001a1a80f5ac8"} 
[2026-11-05 01:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 01:09: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-05 01:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-05 01:09: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-05 01:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 01:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 01:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:09: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-05 01:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218083840001,"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-05 01:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218083840001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:09:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:09:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:09: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-05 01:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218083840001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":232958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:09:43] local.INFO: GPS data processed {"connection_id":232958,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:09:43] local.INFO: Acknowledgment sent {"connection_id":232958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:10:05] local.INFO: TCP Data received {"connection_id":229779,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:10:05] local.INFO: Processing buffer {"connection_id":229779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:10:05] local.INFO: IMEI packet received {"connection_id":229779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":229779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:10:07] local.INFO: TCP Data received {"connection_id":232960,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232960,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:10:07] local.INFO: Processing buffer {"connection_id":232960,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:10:07] local.INFO: IMEI packet received {"connection_id":232960,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 01:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":232960,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:10:10] local.INFO: TCP Data received {"connection_id":229779,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:10:10] local.INFO: Processing buffer {"connection_id":229779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:10:10] local.INFO: IMEI packet received {"connection_id":229779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":229779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:10:11] local.INFO: TCP Data received {"connection_id":229779,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a80f5ac8012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a80f5ac8012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:10:11] local.INFO: Processing buffer {"connection_id":229779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a80f5ac8012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:10:11] local.INFO: Packet analysis {"connection_id":229779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a80f"} 
[2026-11-05 01:10:11] local.INFO: Extracted packet for processing {"connection_id":229779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a80f"} 
[2026-11-05 01: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-05 01: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-05 01:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218083840001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793820941000,"timestamp_ms":1793820941000,"timestamp_seconds":1793820941,"priority":1,"record_length":96,"hex_timestamp":"000001a1a80f5ac8"} 
[2026-11-05 01: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-05 01:10: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-05 01:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 01:10: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-05 01: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-05 01: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-05 01:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218083840001,"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-05 01:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218083840001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:10:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:10:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218083840001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":229779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:10:11] local.INFO: GPS data processed {"connection_id":229779,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:10:11] local.INFO: Acknowledgment sent {"connection_id":229779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:10:43] local.INFO: TCP Data received {"connection_id":229779,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a80f5ac8012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a80f5ac8012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:10:43] local.INFO: Processing buffer {"connection_id":229779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a80f5ac8012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:10:43] local.INFO: Packet analysis {"connection_id":229779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a80f"} 
[2026-11-05 01:10:43] local.INFO: Extracted packet for processing {"connection_id":229779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a80f"} 
[2026-11-05 01: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-05 01: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-05 01:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218083840001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793820941000,"timestamp_ms":1793820941000,"timestamp_seconds":1793820941,"priority":1,"record_length":96,"hex_timestamp":"000001a1a80f5ac8"} 
[2026-11-05 01: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-05 01:10: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-05 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 01:10: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-05 01: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-05 01: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-05 01:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218083840001,"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-05 01:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218083840001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:10:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:10:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218083840001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":229779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:10:43] local.INFO: GPS data processed {"connection_id":229779,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:10:43] local.INFO: Acknowledgment sent {"connection_id":229779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:11:05] local.INFO: TCP Data received {"connection_id":229297,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:11:05] local.INFO: Processing buffer {"connection_id":229297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:11:05] local.INFO: IMEI packet received {"connection_id":229297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":229297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:11:10] local.INFO: TCP Data received {"connection_id":229297,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:11:10] local.INFO: Processing buffer {"connection_id":229297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:11:10] local.INFO: IMEI packet received {"connection_id":229297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":229297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:11:11] local.INFO: TCP Data received {"connection_id":229297,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a80f5ac8012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a80f5ac8012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:11:11] local.INFO: Processing buffer {"connection_id":229297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a80f5ac8012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:11:11] local.INFO: Packet analysis {"connection_id":229297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a80f"} 
[2026-11-05 01:11:11] local.INFO: Extracted packet for processing {"connection_id":229297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a80f"} 
[2026-11-05 01:11: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-05 01:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 01:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218083840001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793820941000,"timestamp_ms":1793820941000,"timestamp_seconds":1793820941,"priority":1,"record_length":96,"hex_timestamp":"000001a1a80f5ac8"} 
[2026-11-05 01:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 01:11: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-05 01:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 01:11: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-05 01:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 01:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 01:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:11: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-05 01:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218083840001,"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-05 01:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218083840001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:11:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:11:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:11: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-05 01:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218083840001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":229297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:11:12] local.INFO: GPS data processed {"connection_id":229297,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:11:12] local.INFO: Acknowledgment sent {"connection_id":229297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:11:43] local.INFO: TCP Data received {"connection_id":229297,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:11:43] local.INFO: Processing buffer {"connection_id":229297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:11:43] local.INFO: Packet analysis {"connection_id":229297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a813"} 
[2026-11-05 01:11:43] local.INFO: Extracted packet for processing {"connection_id":229297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a813"} 
[2026-11-05 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218160896001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:11: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-05 01:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793821242000,"timestamp_ms":1793821242000,"timestamp_seconds":1793821242,"priority":1,"record_length":96,"hex_timestamp":"000001a1a813f290"} 
[2026-11-05 01: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-05 01:11: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-05 01: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":53,"data_length":795,"current_offset":136} 
[2026-11-05 01:11: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-05 01: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-05 01: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-05 01:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218160896001,"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-05 01:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218160896001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:11:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:11:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218160896001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":229297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:11:43] local.INFO: GPS data processed {"connection_id":229297,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:11:43] local.INFO: Acknowledgment sent {"connection_id":229297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:12:05] local.INFO: TCP Data received {"connection_id":232962,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:12:05] local.INFO: Processing buffer {"connection_id":232962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:12:05] local.INFO: IMEI packet received {"connection_id":232962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":232962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:12:10] local.INFO: TCP Data received {"connection_id":232962,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:12:10] local.INFO: Processing buffer {"connection_id":232962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:12:10] local.INFO: IMEI packet received {"connection_id":232962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":232962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:12:11] local.INFO: TCP Data received {"connection_id":232962,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:12:11] local.INFO: Processing buffer {"connection_id":232962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:12:11] local.INFO: Packet analysis {"connection_id":232962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a813"} 
[2026-11-05 01:12:11] local.INFO: Extracted packet for processing {"connection_id":232962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a813"} 
[2026-11-05 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218160896001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793821242000,"timestamp_ms":1793821242000,"timestamp_seconds":1793821242,"priority":1,"record_length":96,"hex_timestamp":"000001a1a813f290"} 
[2026-11-05 01: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-05 01:12: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-05 01:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 01:12: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-05 01: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-05 01: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-05 01:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218160896001,"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-05 01:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218160896001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:12:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:12:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218160896001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":232962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:12:11] local.INFO: GPS data processed {"connection_id":232962,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:12:11] local.INFO: Acknowledgment sent {"connection_id":232962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:12:43] local.INFO: TCP Data received {"connection_id":232962,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:12:43] local.INFO: Processing buffer {"connection_id":232962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:12:43] local.INFO: Packet analysis {"connection_id":232962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a813"} 
[2026-11-05 01:12:43] local.INFO: Extracted packet for processing {"connection_id":232962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a813"} 
[2026-11-05 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218160896001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793821242000,"timestamp_ms":1793821242000,"timestamp_seconds":1793821242,"priority":1,"record_length":96,"hex_timestamp":"000001a1a813f290"} 
[2026-11-05 01: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-05 01:12: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-05 01: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":53,"data_length":795,"current_offset":136} 
[2026-11-05 01:12: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-05 01: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-05 01: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-05 01:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218160896001,"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-05 01:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218160896001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:12:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:12:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218160896001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":232962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:12:43] local.INFO: GPS data processed {"connection_id":232962,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:12:43] local.INFO: Acknowledgment sent {"connection_id":232962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:13:05] local.INFO: TCP Data received {"connection_id":229781,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:13:05] local.INFO: Processing buffer {"connection_id":229781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:13:05] local.INFO: IMEI packet received {"connection_id":229781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":229781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:13:10] local.INFO: TCP Data received {"connection_id":229781,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:13:10] local.INFO: Processing buffer {"connection_id":229781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:13:10] local.INFO: IMEI packet received {"connection_id":229781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":229781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:13:11] local.INFO: TCP Data received {"connection_id":229781,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:13:11] local.INFO: Processing buffer {"connection_id":229781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:13:11] local.INFO: Packet analysis {"connection_id":229781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a813"} 
[2026-11-05 01:13:11] local.INFO: Extracted packet for processing {"connection_id":229781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a813"} 
[2026-11-05 01:13: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-05 01:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 01:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218160896001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793821242000,"timestamp_ms":1793821242000,"timestamp_seconds":1793821242,"priority":1,"record_length":96,"hex_timestamp":"000001a1a813f290"} 
[2026-11-05 01:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 01:13: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-05 01:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 01:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 01:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 01:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:13: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-05 01:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218160896001,"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-05 01:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218160896001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:13:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:13:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:13: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-05 01:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218160896001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":229781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:13:11] local.INFO: GPS data processed {"connection_id":229781,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:13:11] local.INFO: Acknowledgment sent {"connection_id":229781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:13:43] local.INFO: TCP Data received {"connection_id":229781,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:13:43] local.INFO: Processing buffer {"connection_id":229781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:13:43] local.INFO: Packet analysis {"connection_id":229781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a813"} 
[2026-11-05 01:13:43] local.INFO: Extracted packet for processing {"connection_id":229781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a813"} 
[2026-11-05 01: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-05 01: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-05 01:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218160896001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793821242000,"timestamp_ms":1793821242000,"timestamp_seconds":1793821242,"priority":1,"record_length":96,"hex_timestamp":"000001a1a813f290"} 
[2026-11-05 01: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-05 01:13: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-05 01: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":53,"data_length":795,"current_offset":136} 
[2026-11-05 01:13: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-05 01: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-05 01: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-05 01:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218160896001,"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-05 01:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218160896001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:13:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:13:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218160896001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":229781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:13:43] local.INFO: GPS data processed {"connection_id":229781,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:13:43] local.INFO: Acknowledgment sent {"connection_id":229781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:14:05] local.INFO: TCP Data received {"connection_id":231090,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:14:05] local.INFO: Processing buffer {"connection_id":231090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:14:05] local.INFO: IMEI packet received {"connection_id":231090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":231090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:14:10] local.INFO: TCP Data received {"connection_id":231090,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:14:10] local.INFO: Processing buffer {"connection_id":231090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:14:10] local.INFO: IMEI packet received {"connection_id":231090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":231090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:14:11] local.INFO: TCP Data received {"connection_id":231090,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:14:11] local.INFO: Processing buffer {"connection_id":231090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:14:11] local.INFO: Packet analysis {"connection_id":231090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a813"} 
[2026-11-05 01:14:11] local.INFO: Extracted packet for processing {"connection_id":231090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a813"} 
[2026-11-05 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218160896001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793821242000,"timestamp_ms":1793821242000,"timestamp_seconds":1793821242,"priority":1,"record_length":96,"hex_timestamp":"000001a1a813f290"} 
[2026-11-05 01: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-05 01:14: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-05 01:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 01:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218160896001,"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-05 01:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218160896001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:14:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:14:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218160896001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":231090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:14:11] local.INFO: GPS data processed {"connection_id":231090,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:14:11] local.INFO: Acknowledgment sent {"connection_id":231090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:14:43] local.INFO: TCP Data received {"connection_id":231090,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:14:43] local.INFO: Processing buffer {"connection_id":231090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:14:43] local.INFO: Packet analysis {"connection_id":231090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a813"} 
[2026-11-05 01:14:43] local.INFO: Extracted packet for processing {"connection_id":231090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a813"} 
[2026-11-05 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218160896001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793821242000,"timestamp_ms":1793821242000,"timestamp_seconds":1793821242,"priority":1,"record_length":96,"hex_timestamp":"000001a1a813f290"} 
[2026-11-05 01: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-05 01:14: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-05 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 01:14: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-05 01: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-05 01: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-05 01:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218160896001,"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-05 01:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218160896001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:14:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:14:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218160896001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":231090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:14:43] local.INFO: GPS data processed {"connection_id":231090,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:14:43] local.INFO: Acknowledgment sent {"connection_id":231090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:15:05] local.INFO: TCP Data received {"connection_id":232963,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:15:05] local.INFO: Processing buffer {"connection_id":232963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:15:05] local.INFO: IMEI packet received {"connection_id":232963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":232963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:15:10] local.INFO: TCP Data received {"connection_id":232963,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:15:10] local.INFO: Processing buffer {"connection_id":232963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:15:10] local.INFO: IMEI packet received {"connection_id":232963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":232963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:15:11] local.INFO: TCP Data received {"connection_id":232963,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:15:11] local.INFO: Processing buffer {"connection_id":232963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:15:11] local.INFO: Packet analysis {"connection_id":232963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a813"} 
[2026-11-05 01:15:11] local.INFO: Extracted packet for processing {"connection_id":232963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a813"} 
[2026-11-05 01:15: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-05 01:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 01:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218160896001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793821242000,"timestamp_ms":1793821242000,"timestamp_seconds":1793821242,"priority":1,"record_length":96,"hex_timestamp":"000001a1a813f290"} 
[2026-11-05 01:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 01:15: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-05 01:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 01:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 01:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 01:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:15: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-05 01:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218160896001,"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-05 01:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218160896001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:15:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:15:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:15: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-05 01:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218160896001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":232963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:15:11] local.INFO: GPS data processed {"connection_id":232963,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:15:11] local.INFO: Acknowledgment sent {"connection_id":232963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:15:22] local.INFO: TCP Data received {"connection_id":231092,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231092,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:15:22] local.INFO: Processing buffer {"connection_id":231092,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:15:22] local.INFO: IMEI packet received {"connection_id":231092,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 01:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":231092,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:15:43] local.INFO: TCP Data received {"connection_id":232963,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:15:43] local.INFO: Processing buffer {"connection_id":232963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:15:43] local.INFO: Packet analysis {"connection_id":232963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a813"} 
[2026-11-05 01:15:43] local.INFO: Extracted packet for processing {"connection_id":232963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a813"} 
[2026-11-05 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218160896001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793821242000,"timestamp_ms":1793821242000,"timestamp_seconds":1793821242,"priority":1,"record_length":96,"hex_timestamp":"000001a1a813f290"} 
[2026-11-05 01: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-05 01:15: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-05 01: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":53,"data_length":795,"current_offset":136} 
[2026-11-05 01:15: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-05 01: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-05 01: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-05 01:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218160896001,"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-05 01:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218160896001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:15:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:15:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218160896001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":232963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:15:43] local.INFO: GPS data processed {"connection_id":232963,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:15:43] local.INFO: Acknowledgment sent {"connection_id":232963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:16:10] local.INFO: TCP Data received {"connection_id":229298,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:16:10] local.INFO: Processing buffer {"connection_id":229298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:16:10] local.INFO: IMEI packet received {"connection_id":229298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":229298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:16:12] local.INFO: TCP Data received {"connection_id":229299,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229299,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:16:12] local.INFO: Processing buffer {"connection_id":229299,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:16:12] local.INFO: IMEI packet received {"connection_id":229299,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 01:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":229299,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:16:15] local.INFO: TCP Data received {"connection_id":229298,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:16:15] local.INFO: Processing buffer {"connection_id":229298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:16:15] local.INFO: IMEI packet received {"connection_id":229298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":229298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:16:16] local.INFO: TCP Data received {"connection_id":229298,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:16:16] local.INFO: Processing buffer {"connection_id":229298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:16:16] local.INFO: Packet analysis {"connection_id":229298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a813"} 
[2026-11-05 01:16:16] local.INFO: Extracted packet for processing {"connection_id":229298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a813"} 
[2026-11-05 01:16: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-05 01: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-05 01:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218160896001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:16: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-05 01:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793821242000,"timestamp_ms":1793821242000,"timestamp_seconds":1793821242,"priority":1,"record_length":96,"hex_timestamp":"000001a1a813f290"} 
[2026-11-05 01: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-05 01:16: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-05 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 01:16: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-05 01: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-05 01: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-05 01:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:16: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-05 01:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218160896001,"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-05 01:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218160896001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:16:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:16:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:16: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-05 01:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218160896001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":229298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:16:16] local.INFO: GPS data processed {"connection_id":229298,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:16:16] local.INFO: Acknowledgment sent {"connection_id":229298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:16:21] local.INFO: TCP Data received {"connection_id":229298,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:16:21] local.INFO: Processing buffer {"connection_id":229298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a813f290012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:16:21] local.INFO: Packet analysis {"connection_id":229298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a813"} 
[2026-11-05 01:16:21] local.INFO: Extracted packet for processing {"connection_id":229298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a813"} 
[2026-11-05 01:16: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-05 01: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-05 01:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218160896001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:16: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-05 01:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793821242000,"timestamp_ms":1793821242000,"timestamp_seconds":1793821242,"priority":1,"record_length":96,"hex_timestamp":"000001a1a813f290"} 
[2026-11-05 01: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-05 01:16: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-05 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 01:16: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-05 01: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-05 01: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-05 01:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:16: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-05 01:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218160896001,"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-05 01:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218160896001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:16:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:16:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:16: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-05 01:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218160896001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":229298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:16:21] local.INFO: GPS data processed {"connection_id":229298,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:16:21] local.INFO: Acknowledgment sent {"connection_id":229298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:17:05] local.INFO: TCP Data received {"connection_id":229300,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:17:05] local.INFO: Processing buffer {"connection_id":229300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:17:05] local.INFO: IMEI packet received {"connection_id":229300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":229300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:17:10] local.INFO: TCP Data received {"connection_id":229300,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:17:10] local.INFO: Processing buffer {"connection_id":229300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:17:10] local.INFO: IMEI packet received {"connection_id":229300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":229300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:17:12] local.INFO: TCP Data received {"connection_id":229300,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8188a58012d34c14006aa4118000a010127..."} 
[2026-11-05 01:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8188a58012d34c14006aa4118000a010127..."} 
[2026-11-05 01:17:12] local.INFO: Processing buffer {"connection_id":229300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8188a58012d34c14006aa4118000a010127..."} 
[2026-11-05 01:17:12] local.INFO: Packet analysis {"connection_id":229300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a818"} 
[2026-11-05 01:17:12] local.INFO: Extracted packet for processing {"connection_id":229300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a818"} 
[2026-11-05 01: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":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 01:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218237952001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793821543000,"timestamp_ms":1793821543000,"timestamp_seconds":1793821543,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8188a58"} 
[2026-11-05 01:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 01: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-05 01:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 01:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 01:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 01:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218237952001,"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-05 01:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218237952001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:17:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:17:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218237952001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:17:12] 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":61088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:17:12] local.INFO: GPS data processed {"connection_id":229300,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:17:12] local.INFO: Acknowledgment sent {"connection_id":229300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:17:43] local.INFO: TCP Data received {"connection_id":229300,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8188a58012d34c14006aa4118000a010127..."} 
[2026-11-05 01:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8188a58012d34c14006aa4118000a010127..."} 
[2026-11-05 01:17:43] local.INFO: Processing buffer {"connection_id":229300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8188a58012d34c14006aa4118000a010127..."} 
[2026-11-05 01:17:43] local.INFO: Packet analysis {"connection_id":229300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a818"} 
[2026-11-05 01:17:43] local.INFO: Extracted packet for processing {"connection_id":229300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a818"} 
[2026-11-05 01: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":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218237952001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:17: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-05 01:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793821543000,"timestamp_ms":1793821543000,"timestamp_seconds":1793821543,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8188a58"} 
[2026-11-05 01: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-05 01:17: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-05 01: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":255,"data_length":795,"current_offset":136} 
[2026-11-05 01:17: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-05 01: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-05 01: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-05 01:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218237952001,"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-05 01:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218237952001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:17:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:17:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218237952001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:17:43] 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":61089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:17:43] local.INFO: GPS data processed {"connection_id":229300,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:17:43] local.INFO: Acknowledgment sent {"connection_id":229300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:18:05] local.INFO: TCP Data received {"connection_id":229783,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:18:05] local.INFO: Processing buffer {"connection_id":229783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:18:05] local.INFO: IMEI packet received {"connection_id":229783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":229783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:18:10] local.INFO: TCP Data received {"connection_id":229783,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:18:10] local.INFO: Processing buffer {"connection_id":229783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:18:10] local.INFO: IMEI packet received {"connection_id":229783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":229783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:18:11] local.INFO: TCP Data received {"connection_id":229783,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8188a58012d34c14006aa4118000a010127..."} 
[2026-11-05 01:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8188a58012d34c14006aa4118000a010127..."} 
[2026-11-05 01:18:11] local.INFO: Processing buffer {"connection_id":229783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8188a58012d34c14006aa4118000a010127..."} 
[2026-11-05 01:18:11] local.INFO: Packet analysis {"connection_id":229783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a818"} 
[2026-11-05 01:18:11] local.INFO: Extracted packet for processing {"connection_id":229783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a818"} 
[2026-11-05 01:18: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-05 01: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-05 01:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218237952001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793821543000,"timestamp_ms":1793821543000,"timestamp_seconds":1793821543,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8188a58"} 
[2026-11-05 01: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-05 01:18: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-05 01:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 01:18: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-05 01: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-05 01: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-05 01:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:18: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-05 01:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218237952001,"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-05 01:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218237952001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:18:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:18:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:18: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-05 01:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218237952001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":229783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:18:11] local.INFO: GPS data processed {"connection_id":229783,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:18:11] local.INFO: Acknowledgment sent {"connection_id":229783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:18:43] local.INFO: TCP Data received {"connection_id":229783,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8188a58012d34c14006aa4118000a010127..."} 
[2026-11-05 01:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8188a58012d34c14006aa4118000a010127..."} 
[2026-11-05 01:18:43] local.INFO: Processing buffer {"connection_id":229783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8188a58012d34c14006aa4118000a010127..."} 
[2026-11-05 01:18:43] local.INFO: Packet analysis {"connection_id":229783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a818"} 
[2026-11-05 01:18:43] local.INFO: Extracted packet for processing {"connection_id":229783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a818"} 
[2026-11-05 01:18: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-05 01:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 01:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218237952001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:18: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-05 01:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793821543000,"timestamp_ms":1793821543000,"timestamp_seconds":1793821543,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8188a58"} 
[2026-11-05 01: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-05 01:18: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-05 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 01:18: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-05 01: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-05 01: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-05 01:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:18: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-05 01:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218237952001,"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-05 01:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218237952001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:18:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:18:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:18: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-05 01:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218237952001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":229783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:18:43] local.INFO: GPS data processed {"connection_id":229783,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:18:43] local.INFO: Acknowledgment sent {"connection_id":229783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:19:10] local.INFO: TCP Data received {"connection_id":231094,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:19:10] local.INFO: Processing buffer {"connection_id":231094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:19:10] local.INFO: IMEI packet received {"connection_id":231094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":231094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:19:15] local.INFO: TCP Data received {"connection_id":231094,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:19:15] local.INFO: Processing buffer {"connection_id":231094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:19:15] local.INFO: IMEI packet received {"connection_id":231094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":231094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:19:16] local.INFO: TCP Data received {"connection_id":231094,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8188a58012d34c14006aa4118000a010127..."} 
[2026-11-05 01:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8188a58012d34c14006aa4118000a010127..."} 
[2026-11-05 01:19:16] local.INFO: Processing buffer {"connection_id":231094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8188a58012d34c14006aa4118000a010127..."} 
[2026-11-05 01:19:16] local.INFO: Packet analysis {"connection_id":231094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a818"} 
[2026-11-05 01:19:16] local.INFO: Extracted packet for processing {"connection_id":231094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a818"} 
[2026-11-05 01:19: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-05 01: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-05 01:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218237952001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:19: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-05 01:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793821543000,"timestamp_ms":1793821543000,"timestamp_seconds":1793821543,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8188a58"} 
[2026-11-05 01: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-05 01: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-05 01:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 01:19: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-05 01: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-05 01: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-05 01:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":231094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":231094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":231094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:19: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-05 01:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218237952001,"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-05 01:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218237952001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:19:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:19:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:19: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-05 01:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218237952001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":231094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:19:16] local.INFO: GPS data processed {"connection_id":231094,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:19:16] local.INFO: Acknowledgment sent {"connection_id":231094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:19:21] local.INFO: TCP Data received {"connection_id":231094,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8188a58012d34c14006aa4118000a010127..."} 
[2026-11-05 01:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8188a58012d34c14006aa4118000a010127..."} 
[2026-11-05 01:19:21] local.INFO: Processing buffer {"connection_id":231094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8188a58012d34c14006aa4118000a010127..."} 
[2026-11-05 01:19:21] local.INFO: Packet analysis {"connection_id":231094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a818"} 
[2026-11-05 01:19:21] local.INFO: Extracted packet for processing {"connection_id":231094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a818"} 
[2026-11-05 01:19: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-05 01: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-05 01:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218237952001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:19: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-05 01:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793821543000,"timestamp_ms":1793821543000,"timestamp_seconds":1793821543,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8188a58"} 
[2026-11-05 01: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-05 01:19: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-05 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 01:19: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-05 01: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-05 01: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-05 01:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":231094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":231094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":231094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:19: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-05 01:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218237952001,"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-05 01:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218237952001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:19:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:19:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:19: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-05 01:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218237952001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":231094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:19:21] local.INFO: GPS data processed {"connection_id":231094,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:19:21] local.INFO: Acknowledgment sent {"connection_id":231094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:20:05] local.INFO: TCP Data received {"connection_id":232966,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:20:05] local.INFO: Processing buffer {"connection_id":232966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:20:05] local.INFO: IMEI packet received {"connection_id":232966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":232966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:20:10] local.INFO: TCP Data received {"connection_id":232966,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:20:10] local.INFO: Processing buffer {"connection_id":232966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:20:10] local.INFO: IMEI packet received {"connection_id":232966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":232966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:20:11] local.INFO: TCP Data received {"connection_id":232966,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8188a58012d34c14006aa4118000a010127..."} 
[2026-11-05 01:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8188a58012d34c14006aa4118000a010127..."} 
[2026-11-05 01:20:11] local.INFO: Processing buffer {"connection_id":232966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8188a58012d34c14006aa4118000a010127..."} 
[2026-11-05 01:20:11] local.INFO: Packet analysis {"connection_id":232966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a818"} 
[2026-11-05 01:20:11] local.INFO: Extracted packet for processing {"connection_id":232966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a818"} 
[2026-11-05 01: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":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218237952001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793821543000,"timestamp_ms":1793821543000,"timestamp_seconds":1793821543,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8188a58"} 
[2026-11-05 01: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-05 01:20: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-05 01:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 01:20: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-05 01: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-05 01: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-05 01:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218237952001,"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-05 01:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218237952001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:20:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:20:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218237952001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":232966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:20:11] local.INFO: GPS data processed {"connection_id":232966,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:20:11] local.INFO: Acknowledgment sent {"connection_id":232966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:20:43] local.INFO: TCP Data received {"connection_id":232966,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8188a58012d34c14006aa4118000a010127..."} 
[2026-11-05 01:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8188a58012d34c14006aa4118000a010127..."} 
[2026-11-05 01:20:43] local.INFO: Processing buffer {"connection_id":232966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8188a58012d34c14006aa4118000a010127..."} 
[2026-11-05 01:20:43] local.INFO: Packet analysis {"connection_id":232966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a818"} 
[2026-11-05 01:20:43] local.INFO: Extracted packet for processing {"connection_id":232966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a818"} 
[2026-11-05 01: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":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218237952001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793821543000,"timestamp_ms":1793821543000,"timestamp_seconds":1793821543,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8188a58"} 
[2026-11-05 01: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-05 01:20: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-05 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 01:20: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-05 01: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-05 01: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-05 01:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218237952001,"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-05 01:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218237952001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:20:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:20:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218237952001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":232966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:20:43] local.INFO: GPS data processed {"connection_id":232966,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:20:43] local.INFO: Acknowledgment sent {"connection_id":232966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:21:06] local.INFO: TCP Data received {"connection_id":229302,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:21:06] local.INFO: Processing buffer {"connection_id":229302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:21:06] local.INFO: IMEI packet received {"connection_id":229302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":229302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:21:10] local.INFO: TCP Data received {"connection_id":229302,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:21:10] local.INFO: Processing buffer {"connection_id":229302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:21:10] local.INFO: IMEI packet received {"connection_id":229302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":229302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:21:12] local.INFO: TCP Data received {"connection_id":229302,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8188a58012d34c14006aa4118000a010127..."} 
[2026-11-05 01:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8188a58012d34c14006aa4118000a010127..."} 
[2026-11-05 01:21:12] local.INFO: Processing buffer {"connection_id":229302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8188a58012d34c14006aa4118000a010127..."} 
[2026-11-05 01:21:12] local.INFO: Packet analysis {"connection_id":229302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a818"} 
[2026-11-05 01:21:12] local.INFO: Extracted packet for processing {"connection_id":229302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a818"} 
[2026-11-05 01: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":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218237952001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793821543000,"timestamp_ms":1793821543000,"timestamp_seconds":1793821543,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8188a58"} 
[2026-11-05 01: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-05 01:21: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-05 01: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":255,"data_length":795,"current_offset":136} 
[2026-11-05 01:21: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-05 01: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-05 01: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-05 01:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218237952001,"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-05 01:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218237952001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:21:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:21:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218237952001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:21:12] 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":61096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:21:12] local.INFO: GPS data processed {"connection_id":229302,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:21:12] local.INFO: Acknowledgment sent {"connection_id":229302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:21:32] local.INFO: TCP Data received {"connection_id":229303,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229303,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:21:32] local.INFO: Processing buffer {"connection_id":229303,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:21:32] local.INFO: IMEI packet received {"connection_id":229303,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 01:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":229303,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:21:42] local.INFO: TCP Data received {"connection_id":229302,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a81d2220012d34c14006aa4118000a010129..."} 
[2026-11-05 01:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a81d2220012d34c14006aa4118000a010129..."} 
[2026-11-05 01:21:42] local.INFO: Processing buffer {"connection_id":229302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a81d2220012d34c14006aa4118000a010129..."} 
[2026-11-05 01:21:42] local.INFO: Packet analysis {"connection_id":229302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a81d"} 
[2026-11-05 01:21:42] local.INFO: Extracted packet for processing {"connection_id":229302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a81d"} 
[2026-11-05 01:21: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 01:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218315008001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793821844000,"timestamp_ms":1793821844000,"timestamp_seconds":1793821844,"priority":1,"record_length":96,"hex_timestamp":"000001a1a81d2220"} 
[2026-11-05 01:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 01:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 01:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 01:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 01:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:21: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-05 01:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218315008001,"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-05 01:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218315008001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:21:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:21:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:21: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-05 01:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218315008001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:21:42] 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":61097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:21:42] local.INFO: GPS data processed {"connection_id":229302,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:21:42] local.INFO: Acknowledgment sent {"connection_id":229302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:22:05] local.INFO: TCP Data received {"connection_id":229305,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:22:05] local.INFO: Processing buffer {"connection_id":229305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:22:05] local.INFO: IMEI packet received {"connection_id":229305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":229305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:22:07] local.INFO: TCP Data received {"connection_id":229304,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229304,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:22:07] local.INFO: Processing buffer {"connection_id":229304,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:22:07] local.INFO: IMEI packet received {"connection_id":229304,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 01:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":229304,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:22:10] local.INFO: TCP Data received {"connection_id":229305,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:22:10] local.INFO: Processing buffer {"connection_id":229305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:22:10] local.INFO: IMEI packet received {"connection_id":229305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":229305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:22:12] local.INFO: TCP Data received {"connection_id":229305,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a81d2220012d34c14006aa4118000a010129..."} 
[2026-11-05 01:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a81d2220012d34c14006aa4118000a010129..."} 
[2026-11-05 01:22:12] local.INFO: Processing buffer {"connection_id":229305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a81d2220012d34c14006aa4118000a010129..."} 
[2026-11-05 01:22:12] local.INFO: Packet analysis {"connection_id":229305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a81d"} 
[2026-11-05 01:22:12] local.INFO: Extracted packet for processing {"connection_id":229305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a81d"} 
[2026-11-05 01: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218315008001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793821844000,"timestamp_ms":1793821844000,"timestamp_seconds":1793821844,"priority":1,"record_length":96,"hex_timestamp":"000001a1a81d2220"} 
[2026-11-05 01: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-05 01: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-05 01: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:22: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-05 01: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-05 01: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-05 01:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218315008001,"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-05 01:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218315008001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:22:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:22:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218315008001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":229305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:22:12] local.INFO: GPS data processed {"connection_id":229305,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:22:12] local.INFO: Acknowledgment sent {"connection_id":229305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:22:43] local.INFO: TCP Data received {"connection_id":229305,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a81d2220012d34c14006aa4118000a010129..."} 
[2026-11-05 01:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a81d2220012d34c14006aa4118000a010129..."} 
[2026-11-05 01:22:43] local.INFO: Processing buffer {"connection_id":229305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a81d2220012d34c14006aa4118000a010129..."} 
[2026-11-05 01:22:43] local.INFO: Packet analysis {"connection_id":229305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a81d"} 
[2026-11-05 01:22:43] local.INFO: Extracted packet for processing {"connection_id":229305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a81d"} 
[2026-11-05 01: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218315008001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793821844000,"timestamp_ms":1793821844000,"timestamp_seconds":1793821844,"priority":1,"record_length":96,"hex_timestamp":"000001a1a81d2220"} 
[2026-11-05 01: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-05 01:22: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-05 01: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:22: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-05 01: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-05 01: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-05 01:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218315008001,"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-05 01:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218315008001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:22:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:22:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218315008001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":229305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:22:43] local.INFO: GPS data processed {"connection_id":229305,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:22:43] local.INFO: Acknowledgment sent {"connection_id":229305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:23:10] local.INFO: TCP Data received {"connection_id":229784,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:23:10] local.INFO: Processing buffer {"connection_id":229784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:23:10] local.INFO: IMEI packet received {"connection_id":229784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":229784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:23:15] local.INFO: TCP Data received {"connection_id":229784,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:23:15] local.INFO: Processing buffer {"connection_id":229784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:23:15] local.INFO: IMEI packet received {"connection_id":229784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":229784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:23:16] local.INFO: TCP Data received {"connection_id":229784,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a81d2220012d34c14006aa4118000a010129..."} 
[2026-11-05 01:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a81d2220012d34c14006aa4118000a010129..."} 
[2026-11-05 01:23:16] local.INFO: Processing buffer {"connection_id":229784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a81d2220012d34c14006aa4118000a010129..."} 
[2026-11-05 01:23:16] local.INFO: Packet analysis {"connection_id":229784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a81d"} 
[2026-11-05 01:23:16] local.INFO: Extracted packet for processing {"connection_id":229784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a81d"} 
[2026-11-05 01:23: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-05 01: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-05 01:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218315008001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:23: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-05 01:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793821844000,"timestamp_ms":1793821844000,"timestamp_seconds":1793821844,"priority":1,"record_length":96,"hex_timestamp":"000001a1a81d2220"} 
[2026-11-05 01: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-05 01:23: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-05 01: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:23: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-05 01:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218315008001,"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-05 01:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218315008001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:23:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:23:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:23: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-05 01:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218315008001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":229784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:23:16] local.INFO: GPS data processed {"connection_id":229784,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:23:16] local.INFO: Acknowledgment sent {"connection_id":229784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:23:21] local.INFO: TCP Data received {"connection_id":229784,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a81d2220012d34c14006aa4118000a010129..."} 
[2026-11-05 01:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a81d2220012d34c14006aa4118000a010129..."} 
[2026-11-05 01:23:21] local.INFO: Processing buffer {"connection_id":229784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a81d2220012d34c14006aa4118000a010129..."} 
[2026-11-05 01:23:21] local.INFO: Packet analysis {"connection_id":229784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a81d"} 
[2026-11-05 01:23:21] local.INFO: Extracted packet for processing {"connection_id":229784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a81d"} 
[2026-11-05 01: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218315008001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793821844000,"timestamp_ms":1793821844000,"timestamp_seconds":1793821844,"priority":1,"record_length":96,"hex_timestamp":"000001a1a81d2220"} 
[2026-11-05 01: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-05 01:23: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-05 01:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218315008001,"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-05 01:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218315008001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:23:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:23:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218315008001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":229784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:23:21] local.INFO: GPS data processed {"connection_id":229784,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:23:21] local.INFO: Acknowledgment sent {"connection_id":229784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:24:05] local.INFO: TCP Data received {"connection_id":232968,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:24:05] local.INFO: Processing buffer {"connection_id":232968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:24:05] local.INFO: IMEI packet received {"connection_id":232968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":232968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:24:10] local.INFO: TCP Data received {"connection_id":232968,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:24:10] local.INFO: Processing buffer {"connection_id":232968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:24:10] local.INFO: IMEI packet received {"connection_id":232968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":232968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:24:11] local.INFO: TCP Data received {"connection_id":232968,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a81d2220012d34c14006aa4118000a010129..."} 
[2026-11-05 01:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a81d2220012d34c14006aa4118000a010129..."} 
[2026-11-05 01:24:11] local.INFO: Processing buffer {"connection_id":232968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a81d2220012d34c14006aa4118000a010129..."} 
[2026-11-05 01:24:11] local.INFO: Packet analysis {"connection_id":232968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a81d"} 
[2026-11-05 01:24:11] local.INFO: Extracted packet for processing {"connection_id":232968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a81d"} 
[2026-11-05 01: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218315008001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793821844000,"timestamp_ms":1793821844000,"timestamp_seconds":1793821844,"priority":1,"record_length":96,"hex_timestamp":"000001a1a81d2220"} 
[2026-11-05 01: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-05 01:24: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-05 01: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218315008001,"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-05 01:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218315008001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:24:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:24:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218315008001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":232968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:24:11] local.INFO: GPS data processed {"connection_id":232968,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:24:11] local.INFO: Acknowledgment sent {"connection_id":232968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:24:43] local.INFO: TCP Data received {"connection_id":232968,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a81d2220012d34c14006aa4118000a010129..."} 
[2026-11-05 01:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a81d2220012d34c14006aa4118000a010129..."} 
[2026-11-05 01:24:43] local.INFO: Processing buffer {"connection_id":232968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a81d2220012d34c14006aa4118000a010129..."} 
[2026-11-05 01:24:43] local.INFO: Packet analysis {"connection_id":232968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a81d"} 
[2026-11-05 01:24:43] local.INFO: Extracted packet for processing {"connection_id":232968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a81d"} 
[2026-11-05 01: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218315008001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793821844000,"timestamp_ms":1793821844000,"timestamp_seconds":1793821844,"priority":1,"record_length":96,"hex_timestamp":"000001a1a81d2220"} 
[2026-11-05 01: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-05 01:24: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-05 01: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:24: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-05 01: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-05 01: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-05 01:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218315008001,"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-05 01:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218315008001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:24:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:24:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218315008001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":232968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:24:43] local.INFO: GPS data processed {"connection_id":232968,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:24:43] local.INFO: Acknowledgment sent {"connection_id":232968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:25:05] local.INFO: TCP Data received {"connection_id":231095,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:25:05] local.INFO: Processing buffer {"connection_id":231095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:25:05] local.INFO: IMEI packet received {"connection_id":231095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":231095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:25:10] local.INFO: TCP Data received {"connection_id":231095,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:25:10] local.INFO: Processing buffer {"connection_id":231095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:25:10] local.INFO: IMEI packet received {"connection_id":231095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":231095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:25:11] local.INFO: TCP Data received {"connection_id":231095,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a81d2220012d34c14006aa4118000a010129..."} 
[2026-11-05 01:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a81d2220012d34c14006aa4118000a010129..."} 
[2026-11-05 01:25:11] local.INFO: Processing buffer {"connection_id":231095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a81d2220012d34c14006aa4118000a010129..."} 
[2026-11-05 01:25:11] local.INFO: Packet analysis {"connection_id":231095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a81d"} 
[2026-11-05 01:25:11] local.INFO: Extracted packet for processing {"connection_id":231095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a81d"} 
[2026-11-05 01: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218315008001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793821844000,"timestamp_ms":1793821844000,"timestamp_seconds":1793821844,"priority":1,"record_length":96,"hex_timestamp":"000001a1a81d2220"} 
[2026-11-05 01: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-05 01:25: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-05 01: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218315008001,"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-05 01:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218315008001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:25:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:25:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218315008001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":231095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:25:11] local.INFO: GPS data processed {"connection_id":231095,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:25:11] local.INFO: Acknowledgment sent {"connection_id":231095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:25:43] local.INFO: TCP Data received {"connection_id":231095,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a81d2220012d34c14006aa4118000a010129..."} 
[2026-11-05 01:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a81d2220012d34c14006aa4118000a010129..."} 
[2026-11-05 01:25:43] local.INFO: Processing buffer {"connection_id":231095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a81d2220012d34c14006aa4118000a010129..."} 
[2026-11-05 01:25:43] local.INFO: Packet analysis {"connection_id":231095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a81d"} 
[2026-11-05 01:25:43] local.INFO: Extracted packet for processing {"connection_id":231095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a81d"} 
[2026-11-05 01: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218315008001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793821844000,"timestamp_ms":1793821844000,"timestamp_seconds":1793821844,"priority":1,"record_length":96,"hex_timestamp":"000001a1a81d2220"} 
[2026-11-05 01: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-05 01:25: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-05 01: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-05 01: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-05 01: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-05 01: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-05 01:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218315008001,"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-05 01:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218315008001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:25:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:25:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218315008001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":231095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:25:43] local.INFO: GPS data processed {"connection_id":231095,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:25:43] local.INFO: Acknowledgment sent {"connection_id":231095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:26:05] local.INFO: TCP Data received {"connection_id":231096,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:26:05] local.INFO: Processing buffer {"connection_id":231096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:26:05] local.INFO: IMEI packet received {"connection_id":231096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":231096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:26:10] local.INFO: TCP Data received {"connection_id":231096,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:26:10] local.INFO: Processing buffer {"connection_id":231096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:26:10] local.INFO: IMEI packet received {"connection_id":231096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":231096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:26:11] local.INFO: TCP Data received {"connection_id":231096,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a81d2220012d34c14006aa4118000a010129..."} 
[2026-11-05 01:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a81d2220012d34c14006aa4118000a010129..."} 
[2026-11-05 01:26:11] local.INFO: Processing buffer {"connection_id":231096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a81d2220012d34c14006aa4118000a010129..."} 
[2026-11-05 01:26:11] local.INFO: Packet analysis {"connection_id":231096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a81d"} 
[2026-11-05 01:26:11] local.INFO: Extracted packet for processing {"connection_id":231096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a81d"} 
[2026-11-05 01: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218315008001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793821844000,"timestamp_ms":1793821844000,"timestamp_seconds":1793821844,"priority":1,"record_length":96,"hex_timestamp":"000001a1a81d2220"} 
[2026-11-05 01: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-05 01:26: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-05 01:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218315008001,"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-05 01:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218315008001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:26:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:26:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218315008001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":231096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:26:11] local.INFO: GPS data processed {"connection_id":231096,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:26:11] local.INFO: Acknowledgment sent {"connection_id":231096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:26:42] local.INFO: TCP Data received {"connection_id":231096,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a821b9e8012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a821b9e8012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:26:42] local.INFO: Processing buffer {"connection_id":231096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a821b9e8012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:26:42] local.INFO: Packet analysis {"connection_id":231096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a821"} 
[2026-11-05 01:26:42] local.INFO: Extracted packet for processing {"connection_id":231096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a821"} 
[2026-11-05 01:26: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 01:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218392064001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:26: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-05 01:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793822145000,"timestamp_ms":1793822145000,"timestamp_seconds":1793822145,"priority":1,"record_length":96,"hex_timestamp":"000001a1a821b9e8"} 
[2026-11-05 01:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 01:26: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-05 01:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 01:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 01:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:26: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-05 01:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218392064001,"66":25375,"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-05 01:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218392064001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:26:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 01:26:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:26: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-05 01:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218392064001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":231096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:26:42] local.INFO: GPS data processed {"connection_id":231096,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:26:42] local.INFO: Acknowledgment sent {"connection_id":231096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:27:10] local.INFO: TCP Data received {"connection_id":232971,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:27:10] local.INFO: Processing buffer {"connection_id":232971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:27:10] local.INFO: IMEI packet received {"connection_id":232971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":232971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:27:15] local.INFO: TCP Data received {"connection_id":232971,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:27:15] local.INFO: Processing buffer {"connection_id":232971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:27:15] local.INFO: IMEI packet received {"connection_id":232971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":232971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:27:16] local.INFO: TCP Data received {"connection_id":232971,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a821b9e8012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a821b9e8012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:27:16] local.INFO: Processing buffer {"connection_id":232971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a821b9e8012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:27:16] local.INFO: Packet analysis {"connection_id":232971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a821"} 
[2026-11-05 01:27:16] local.INFO: Extracted packet for processing {"connection_id":232971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a821"} 
[2026-11-05 01:27: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-05 01: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-05 01:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218392064001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:27: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-05 01:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793822145000,"timestamp_ms":1793822145000,"timestamp_seconds":1793822145,"priority":1,"record_length":96,"hex_timestamp":"000001a1a821b9e8"} 
[2026-11-05 01: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-05 01:27: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-05 01:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:27: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-05 01:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218392064001,"66":25375,"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-05 01:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218392064001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:27:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 01:27:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:27: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-05 01:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218392064001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":232971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:27:16] local.INFO: GPS data processed {"connection_id":232971,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:27:16] local.INFO: Acknowledgment sent {"connection_id":232971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:27:21] local.INFO: TCP Data received {"connection_id":232971,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a821b9e8012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a821b9e8012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:27:21] local.INFO: Processing buffer {"connection_id":232971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a821b9e8012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:27:21] local.INFO: Packet analysis {"connection_id":232971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a821"} 
[2026-11-05 01:27:21] local.INFO: Extracted packet for processing {"connection_id":232971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a821"} 
[2026-11-05 01:27: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-05 01: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-05 01:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218392064001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:27: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-05 01:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793822145000,"timestamp_ms":1793822145000,"timestamp_seconds":1793822145,"priority":1,"record_length":96,"hex_timestamp":"000001a1a821b9e8"} 
[2026-11-05 01: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-05 01:27: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-05 01: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:27: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-05 01: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-05 01: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-05 01:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:27: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-05 01:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218392064001,"66":25375,"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-05 01:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218392064001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:27:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 01:27:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:27: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-05 01:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218392064001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":232971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:27:21] local.INFO: GPS data processed {"connection_id":232971,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:27:21] local.INFO: Acknowledgment sent {"connection_id":232971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:27:22] local.INFO: TCP Data received {"connection_id":232970,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:27:22] local.INFO: Processing buffer {"connection_id":232970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:27:22] local.INFO: IMEI packet received {"connection_id":232970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 01:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":232970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:28:07] local.INFO: TCP Data received {"connection_id":231097,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231097,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:28:07] local.INFO: Processing buffer {"connection_id":231097,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:28:07] local.INFO: IMEI packet received {"connection_id":231097,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 01:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":231097,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:28:15] local.INFO: TCP Data received {"connection_id":232972,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:28:15] local.INFO: Processing buffer {"connection_id":232972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:28:15] local.INFO: IMEI packet received {"connection_id":232972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":232972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:28:20] local.INFO: TCP Data received {"connection_id":232972,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:28:20] local.INFO: Processing buffer {"connection_id":232972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:28:20] local.INFO: IMEI packet received {"connection_id":232972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":232972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:28:21] local.INFO: TCP Data received {"connection_id":232972,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a821b9e8012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a821b9e8012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:28:21] local.INFO: Processing buffer {"connection_id":232972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a821b9e8012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:28:21] local.INFO: Packet analysis {"connection_id":232972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a821"} 
[2026-11-05 01:28:21] local.INFO: Extracted packet for processing {"connection_id":232972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a821"} 
[2026-11-05 01: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218392064001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:28: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-05 01:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793822145000,"timestamp_ms":1793822145000,"timestamp_seconds":1793822145,"priority":1,"record_length":96,"hex_timestamp":"000001a1a821b9e8"} 
[2026-11-05 01: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-05 01:28: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-05 01:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218392064001,"66":25375,"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-05 01:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218392064001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:28:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 01:28:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218392064001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":232972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:28:21] local.INFO: GPS data processed {"connection_id":232972,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:28:21] local.INFO: Acknowledgment sent {"connection_id":232972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:29:05] local.INFO: TCP Data received {"connection_id":229307,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:29:05] local.INFO: Processing buffer {"connection_id":229307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:29:05] local.INFO: IMEI packet received {"connection_id":229307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":229307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:29:10] local.INFO: TCP Data received {"connection_id":229307,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:29:10] local.INFO: Processing buffer {"connection_id":229307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:29:10] local.INFO: IMEI packet received {"connection_id":229307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":229307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:29:11] local.INFO: TCP Data received {"connection_id":229307,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a821b9e8012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a821b9e8012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:29:11] local.INFO: Processing buffer {"connection_id":229307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a821b9e8012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:29:11] local.INFO: Packet analysis {"connection_id":229307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a821"} 
[2026-11-05 01:29:11] local.INFO: Extracted packet for processing {"connection_id":229307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a821"} 
[2026-11-05 01:29: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-05 01: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-05 01:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218392064001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:29: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-05 01:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793822145000,"timestamp_ms":1793822145000,"timestamp_seconds":1793822145,"priority":1,"record_length":96,"hex_timestamp":"000001a1a821b9e8"} 
[2026-11-05 01: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-05 01: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-05 01:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:29: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-05 01:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218392064001,"66":25375,"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-05 01:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218392064001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:29:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 01:29:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:29: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-05 01:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218392064001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:29:11] 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":61111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:29:11] local.INFO: GPS data processed {"connection_id":229307,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:29:11] local.INFO: Acknowledgment sent {"connection_id":229307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:29:43] local.INFO: TCP Data received {"connection_id":229307,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a821b9e8012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a821b9e8012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:29:43] local.INFO: Processing buffer {"connection_id":229307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a821b9e8012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:29:43] local.INFO: Packet analysis {"connection_id":229307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a821"} 
[2026-11-05 01:29:43] local.INFO: Extracted packet for processing {"connection_id":229307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a821"} 
[2026-11-05 01: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218392064001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793822145000,"timestamp_ms":1793822145000,"timestamp_seconds":1793822145,"priority":1,"record_length":96,"hex_timestamp":"000001a1a821b9e8"} 
[2026-11-05 01: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-05 01:29: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-05 01: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:29: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-05 01: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-05 01: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-05 01:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218392064001,"66":25375,"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-05 01:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218392064001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:29:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 01:29:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218392064001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:29:43] 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":61112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:29:43] local.INFO: GPS data processed {"connection_id":229307,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:29:43] local.INFO: Acknowledgment sent {"connection_id":229307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:30:05] local.INFO: TCP Data received {"connection_id":232973,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:30:05] local.INFO: Processing buffer {"connection_id":232973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:30:05] local.INFO: IMEI packet received {"connection_id":232973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":232973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:30:10] local.INFO: TCP Data received {"connection_id":232973,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:30:10] local.INFO: Processing buffer {"connection_id":232973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:30:10] local.INFO: IMEI packet received {"connection_id":232973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":232973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:30:11] local.INFO: TCP Data received {"connection_id":232973,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a821b9e8012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a821b9e8012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:30:11] local.INFO: Processing buffer {"connection_id":232973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a821b9e8012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:30:11] local.INFO: Packet analysis {"connection_id":232973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a821"} 
[2026-11-05 01:30:11] local.INFO: Extracted packet for processing {"connection_id":232973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a821"} 
[2026-11-05 01: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218392064001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793822145000,"timestamp_ms":1793822145000,"timestamp_seconds":1793822145,"priority":1,"record_length":96,"hex_timestamp":"000001a1a821b9e8"} 
[2026-11-05 01: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-05 01: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-05 01: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218392064001,"66":25375,"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-05 01:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218392064001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:30:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 01:30:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218392064001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":232973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:30:11] local.INFO: GPS data processed {"connection_id":232973,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:30:11] local.INFO: Acknowledgment sent {"connection_id":232973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:30:42] local.INFO: TCP Data received {"connection_id":232973,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a821b9e8012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a821b9e8012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:30:43] local.INFO: Processing buffer {"connection_id":232973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a821b9e8012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:30:43] local.INFO: Packet analysis {"connection_id":232973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a821"} 
[2026-11-05 01:30:43] local.INFO: Extracted packet for processing {"connection_id":232973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a821"} 
[2026-11-05 01: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218392064001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793822145000,"timestamp_ms":1793822145000,"timestamp_seconds":1793822145,"priority":1,"record_length":96,"hex_timestamp":"000001a1a821b9e8"} 
[2026-11-05 01: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-05 01:30: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-05 01: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:30: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-05 01: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-05 01: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-05 01:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218392064001,"66":25375,"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-05 01:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218392064001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:30:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 01:30:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218392064001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":232973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:30:43] local.INFO: GPS data processed {"connection_id":232973,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:30:43] local.INFO: Acknowledgment sent {"connection_id":232973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:31:10] local.INFO: TCP Data received {"connection_id":229787,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:31:10] local.INFO: Processing buffer {"connection_id":229787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:31:10] local.INFO: IMEI packet received {"connection_id":229787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":229787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:31:15] local.INFO: TCP Data received {"connection_id":229787,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:31:15] local.INFO: Processing buffer {"connection_id":229787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:31:15] local.INFO: IMEI packet received {"connection_id":229787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":229787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:31:16] local.INFO: TCP Data received {"connection_id":229787,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a821b9e8012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a821b9e8012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:31:16] local.INFO: Processing buffer {"connection_id":229787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a821b9e8012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:31:16] local.INFO: Packet analysis {"connection_id":229787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a821"} 
[2026-11-05 01:31:16] local.INFO: Extracted packet for processing {"connection_id":229787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a821"} 
[2026-11-05 01: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218392064001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793822145000,"timestamp_ms":1793822145000,"timestamp_seconds":1793822145,"priority":1,"record_length":96,"hex_timestamp":"000001a1a821b9e8"} 
[2026-11-05 01: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-05 01:31: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-05 01: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218392064001,"66":25375,"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-05 01:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218392064001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:31:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 01:31:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218392064001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":229787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:31:16] local.INFO: GPS data processed {"connection_id":229787,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:31:16] local.INFO: Acknowledgment sent {"connection_id":229787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:31:21] local.INFO: TCP Data received {"connection_id":229787,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a821b9e8012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a821b9e8012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:31:21] local.INFO: Processing buffer {"connection_id":229787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a821b9e8012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:31:21] local.INFO: Packet analysis {"connection_id":229787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a821"} 
[2026-11-05 01:31:21] local.INFO: Extracted packet for processing {"connection_id":229787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a821"} 
[2026-11-05 01: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218392064001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:31: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-05 01:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793822145000,"timestamp_ms":1793822145000,"timestamp_seconds":1793822145,"priority":1,"record_length":96,"hex_timestamp":"000001a1a821b9e8"} 
[2026-11-05 01: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-05 01:31: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-05 01: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:31: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-05 01: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-05 01: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-05 01:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218392064001,"66":25375,"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-05 01:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218392064001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:31:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 01:31:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218392064001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":229787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:31:21] local.INFO: GPS data processed {"connection_id":229787,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:31:21] local.INFO: Acknowledgment sent {"connection_id":229787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:32:06] local.INFO: TCP Data received {"connection_id":231100,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:32:06] local.INFO: Processing buffer {"connection_id":231100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:32:06] local.INFO: IMEI packet received {"connection_id":231100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":231100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:32:10] local.INFO: TCP Data received {"connection_id":231100,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:32:10] local.INFO: Processing buffer {"connection_id":231100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:32:10] local.INFO: IMEI packet received {"connection_id":231100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":231100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:32:11] local.INFO: TCP Data received {"connection_id":231100,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a82651b0012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a82651b0012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:32:11] local.INFO: Processing buffer {"connection_id":231100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a82651b0012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:32:11] local.INFO: Packet analysis {"connection_id":231100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a826"} 
[2026-11-05 01:32:11] local.INFO: Extracted packet for processing {"connection_id":231100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a826"} 
[2026-11-05 01:32: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-05 01: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-05 01:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218469120001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:32: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-05 01:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793822446000,"timestamp_ms":1793822446000,"timestamp_seconds":1793822446,"priority":1,"record_length":96,"hex_timestamp":"000001a1a82651b0"} 
[2026-11-05 01: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-05 01:32: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-05 01:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:32: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-05 01:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218469120001,"66":25299,"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-05 01:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218469120001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:32:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 01:32:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:32: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-05 01:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218469120001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":231100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:32:11] local.INFO: GPS data processed {"connection_id":231100,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:32:11] local.INFO: Acknowledgment sent {"connection_id":231100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:32:43] local.INFO: TCP Data received {"connection_id":231100,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a82651b0012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a82651b0012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:32:43] local.INFO: Processing buffer {"connection_id":231100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a82651b0012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:32:43] local.INFO: Packet analysis {"connection_id":231100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a826"} 
[2026-11-05 01:32:43] local.INFO: Extracted packet for processing {"connection_id":231100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a826"} 
[2026-11-05 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218469120001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793822446000,"timestamp_ms":1793822446000,"timestamp_seconds":1793822446,"priority":1,"record_length":96,"hex_timestamp":"000001a1a82651b0"} 
[2026-11-05 01: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-05 01:32: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-05 01: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:32: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-05 01: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-05 01: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-05 01:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218469120001,"66":25299,"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-05 01:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218469120001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:32:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 01:32:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218469120001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":231100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:32:43] local.INFO: GPS data processed {"connection_id":231100,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:32:43] local.INFO: Acknowledgment sent {"connection_id":231100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:33:05] local.INFO: TCP Data received {"connection_id":229788,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:33:05] local.INFO: Processing buffer {"connection_id":229788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:33:05] local.INFO: IMEI packet received {"connection_id":229788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":229788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:33:10] local.INFO: TCP Data received {"connection_id":229788,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:33:10] local.INFO: Processing buffer {"connection_id":229788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:33:10] local.INFO: IMEI packet received {"connection_id":229788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":229788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:33:12] local.INFO: TCP Data received {"connection_id":229788,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a82651b0012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a82651b0012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:33:12] local.INFO: Processing buffer {"connection_id":229788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a82651b0012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:33:12] local.INFO: Packet analysis {"connection_id":229788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a826"} 
[2026-11-05 01:33:12] local.INFO: Extracted packet for processing {"connection_id":229788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a826"} 
[2026-11-05 01: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-05 01: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-05 01:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218469120001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793822446000,"timestamp_ms":1793822446000,"timestamp_seconds":1793822446,"priority":1,"record_length":96,"hex_timestamp":"000001a1a82651b0"} 
[2026-11-05 01: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-05 01: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-05 01: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:33: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-05 01: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-05 01: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-05 01:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218469120001,"66":25299,"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-05 01:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218469120001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:33:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 01:33:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218469120001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":229788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:33:12] local.INFO: GPS data processed {"connection_id":229788,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:33:12] local.INFO: Acknowledgment sent {"connection_id":229788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:33:32] local.INFO: TCP Data received {"connection_id":232976,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232976,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:33:32] local.INFO: Processing buffer {"connection_id":232976,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:33:32] local.INFO: IMEI packet received {"connection_id":232976,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 01:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":232976,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:33:43] local.INFO: TCP Data received {"connection_id":229788,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a82651b0012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a82651b0012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:33:43] local.INFO: Processing buffer {"connection_id":229788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a82651b0012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:33:43] local.INFO: Packet analysis {"connection_id":229788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a826"} 
[2026-11-05 01:33:43] local.INFO: Extracted packet for processing {"connection_id":229788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a826"} 
[2026-11-05 01: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-05 01: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-05 01:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218469120001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793822446000,"timestamp_ms":1793822446000,"timestamp_seconds":1793822446,"priority":1,"record_length":96,"hex_timestamp":"000001a1a82651b0"} 
[2026-11-05 01: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-05 01:33: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-05 01: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:33: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-05 01: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-05 01: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-05 01:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218469120001,"66":25299,"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-05 01:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218469120001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:33:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 01:33:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218469120001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":229788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:33:43] local.INFO: GPS data processed {"connection_id":229788,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:33:43] local.INFO: Acknowledgment sent {"connection_id":229788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:34:05] local.INFO: TCP Data received {"connection_id":229308,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:34:05] local.INFO: Processing buffer {"connection_id":229308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:34:05] local.INFO: IMEI packet received {"connection_id":229308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":229308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:34:10] local.INFO: TCP Data received {"connection_id":229308,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:34:10] local.INFO: Processing buffer {"connection_id":229308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:34:10] local.INFO: IMEI packet received {"connection_id":229308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":229308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:34:11] local.INFO: TCP Data received {"connection_id":229308,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a82651b0012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a82651b0012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:34:11] local.INFO: Processing buffer {"connection_id":229308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a82651b0012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:34:11] local.INFO: Packet analysis {"connection_id":229308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a826"} 
[2026-11-05 01:34:11] local.INFO: Extracted packet for processing {"connection_id":229308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a826"} 
[2026-11-05 01: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-05 01: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-05 01:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218469120001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793822446000,"timestamp_ms":1793822446000,"timestamp_seconds":1793822446,"priority":1,"record_length":96,"hex_timestamp":"000001a1a82651b0"} 
[2026-11-05 01: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-05 01:34: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-05 01: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218469120001,"66":25299,"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-05 01:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218469120001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:34:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 01:34:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218469120001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:34:11] 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":61121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:34:11] local.INFO: GPS data processed {"connection_id":229308,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:34:11] local.INFO: Acknowledgment sent {"connection_id":229308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:34:13] local.INFO: TCP Data received {"connection_id":232977,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232977,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:34:13] local.INFO: Processing buffer {"connection_id":232977,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:34:13] local.INFO: IMEI packet received {"connection_id":232977,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 01:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":232977,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:34:43] local.INFO: TCP Data received {"connection_id":229308,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a82651b0012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a82651b0012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:34:43] local.INFO: Processing buffer {"connection_id":229308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a82651b0012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:34:43] local.INFO: Packet analysis {"connection_id":229308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a826"} 
[2026-11-05 01:34:43] local.INFO: Extracted packet for processing {"connection_id":229308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a826"} 
[2026-11-05 01: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-05 01: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-05 01:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218469120001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793822446000,"timestamp_ms":1793822446000,"timestamp_seconds":1793822446,"priority":1,"record_length":96,"hex_timestamp":"000001a1a82651b0"} 
[2026-11-05 01: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-05 01:34: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-05 01:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:34:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218469120001,"66":25299,"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-05 01:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218469120001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:34:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 01:34:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218469120001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:34:43] 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":61122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:34:43] local.INFO: GPS data processed {"connection_id":229308,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:34:43] local.INFO: Acknowledgment sent {"connection_id":229308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:35:10] local.INFO: TCP Data received {"connection_id":232979,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:35:10] local.INFO: Processing buffer {"connection_id":232979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:35:10] local.INFO: IMEI packet received {"connection_id":232979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":232979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:35:15] local.INFO: TCP Data received {"connection_id":232979,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:35:15] local.INFO: Processing buffer {"connection_id":232979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:35:15] local.INFO: IMEI packet received {"connection_id":232979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":232979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:35:17] local.INFO: TCP Data received {"connection_id":232979,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a82651b0012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a82651b0012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:35:17] local.INFO: Processing buffer {"connection_id":232979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a82651b0012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:35:17] local.INFO: Packet analysis {"connection_id":232979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a826"} 
[2026-11-05 01:35:17] local.INFO: Extracted packet for processing {"connection_id":232979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a826"} 
[2026-11-05 01:35: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-05 01: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-05 01:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218469120001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793822446000,"timestamp_ms":1793822446000,"timestamp_seconds":1793822446,"priority":1,"record_length":96,"hex_timestamp":"000001a1a82651b0"} 
[2026-11-05 01: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-05 01:35:17] 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-05 01:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218469120001,"66":25299,"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-05 01:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218469120001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:35:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 01:35:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:35: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-05 01:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218469120001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":232979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:35:17] local.INFO: GPS data processed {"connection_id":232979,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:35:17] local.INFO: Acknowledgment sent {"connection_id":232979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:35:21] local.INFO: TCP Data received {"connection_id":232979,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a82651b0012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a82651b0012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:35:21] local.INFO: Processing buffer {"connection_id":232979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a82651b0012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:35:21] local.INFO: Packet analysis {"connection_id":232979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a826"} 
[2026-11-05 01:35:21] local.INFO: Extracted packet for processing {"connection_id":232979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a826"} 
[2026-11-05 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218469120001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793822446000,"timestamp_ms":1793822446000,"timestamp_seconds":1793822446,"priority":1,"record_length":96,"hex_timestamp":"000001a1a82651b0"} 
[2026-11-05 01: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-05 01:35: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-05 01: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:35: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-05 01: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-05 01: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-05 01:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218469120001,"66":25299,"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-05 01:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218469120001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:35:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 01:35:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218469120001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":232979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:35:21] local.INFO: GPS data processed {"connection_id":232979,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:35:21] local.INFO: Acknowledgment sent {"connection_id":232979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:36:05] local.INFO: TCP Data received {"connection_id":231101,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:36:05] local.INFO: Processing buffer {"connection_id":231101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:36:05] local.INFO: IMEI packet received {"connection_id":231101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":231101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:36:10] local.INFO: TCP Data received {"connection_id":231101,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:36:10] local.INFO: Processing buffer {"connection_id":231101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:36:10] local.INFO: IMEI packet received {"connection_id":231101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":231101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:36:12] local.INFO: TCP Data received {"connection_id":231101,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a82651b0012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a82651b0012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:36:12] local.INFO: Processing buffer {"connection_id":231101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a82651b0012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:36:12] local.INFO: Packet analysis {"connection_id":231101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a826"} 
[2026-11-05 01:36:12] local.INFO: Extracted packet for processing {"connection_id":231101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a826"} 
[2026-11-05 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 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-05 01:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218469120001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793822446000,"timestamp_ms":1793822446000,"timestamp_seconds":1793822446,"priority":1,"record_length":96,"hex_timestamp":"000001a1a82651b0"} 
[2026-11-05 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-05 01: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-05 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:36: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-05 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-05 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-05 01:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218469120001,"66":25299,"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-05 01:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218469120001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:36:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 01:36:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218469120001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":231101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:36:12] local.INFO: GPS data processed {"connection_id":231101,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:36:12] local.INFO: Acknowledgment sent {"connection_id":231101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:36:43] local.INFO: TCP Data received {"connection_id":231101,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a82ae978012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a82ae978012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:36:43] local.INFO: Processing buffer {"connection_id":231101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a82ae978012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:36:43] local.INFO: Packet analysis {"connection_id":231101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a82a"} 
[2026-11-05 01:36:43] local.INFO: Extracted packet for processing {"connection_id":231101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a82a"} 
[2026-11-05 01: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218546176001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:36: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-05 01:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793822747000,"timestamp_ms":1793822747000,"timestamp_seconds":1793822747,"priority":1,"record_length":96,"hex_timestamp":"000001a1a82ae978"} 
[2026-11-05 01: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-05 01:36: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-05 01: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":211,"data_length":795,"current_offset":136} 
[2026-11-05 01:36: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-05 01: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-05 01: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-05 01:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218546176001,"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-05 01:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218546176001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:36:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:36:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218546176001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":231101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:36:43] local.INFO: GPS data processed {"connection_id":231101,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:36:43] local.INFO: Acknowledgment sent {"connection_id":231101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:37:05] local.INFO: TCP Data received {"connection_id":229309,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:37:05] local.INFO: Processing buffer {"connection_id":229309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:37:05] local.INFO: IMEI packet received {"connection_id":229309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":229309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:37:10] local.INFO: TCP Data received {"connection_id":229309,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:37:10] local.INFO: Processing buffer {"connection_id":229309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:37:10] local.INFO: IMEI packet received {"connection_id":229309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":229309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:37:11] local.INFO: TCP Data received {"connection_id":229309,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a82ae978012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a82ae978012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:37:11] local.INFO: Processing buffer {"connection_id":229309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a82ae978012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:37:11] local.INFO: Packet analysis {"connection_id":229309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a82a"} 
[2026-11-05 01:37:11] local.INFO: Extracted packet for processing {"connection_id":229309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a82a"} 
[2026-11-05 01: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218546176001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793822747000,"timestamp_ms":1793822747000,"timestamp_seconds":1793822747,"priority":1,"record_length":96,"hex_timestamp":"000001a1a82ae978"} 
[2026-11-05 01: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-05 01:37: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-05 01:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 01:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218546176001,"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-05 01:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218546176001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:37:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:37:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218546176001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":229309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:37:11] local.INFO: GPS data processed {"connection_id":229309,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:37:11] local.INFO: Acknowledgment sent {"connection_id":229309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:37:43] local.INFO: TCP Data received {"connection_id":229309,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a82ae978012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a82ae978012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:37:43] local.INFO: Processing buffer {"connection_id":229309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a82ae978012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:37:43] local.INFO: Packet analysis {"connection_id":229309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a82a"} 
[2026-11-05 01:37:43] local.INFO: Extracted packet for processing {"connection_id":229309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a82a"} 
[2026-11-05 01: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218546176001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:37: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-05 01:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793822747000,"timestamp_ms":1793822747000,"timestamp_seconds":1793822747,"priority":1,"record_length":96,"hex_timestamp":"000001a1a82ae978"} 
[2026-11-05 01: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-05 01:37: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-05 01: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-05 01: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-05 01: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-05 01: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-05 01:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218546176001,"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-05 01:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218546176001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:37:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:37:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218546176001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":229309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:37:43] local.INFO: GPS data processed {"connection_id":229309,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:37:43] local.INFO: Acknowledgment sent {"connection_id":229309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:38:05] local.INFO: TCP Data received {"connection_id":231103,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:38:05] local.INFO: Processing buffer {"connection_id":231103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:38:05] local.INFO: IMEI packet received {"connection_id":231103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":231103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:38:10] local.INFO: TCP Data received {"connection_id":231103,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:38:10] local.INFO: Processing buffer {"connection_id":231103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:38:10] local.INFO: IMEI packet received {"connection_id":231103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":231103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:38:11] local.INFO: TCP Data received {"connection_id":231103,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a82ae978012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a82ae978012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:38:11] local.INFO: Processing buffer {"connection_id":231103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a82ae978012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:38:11] local.INFO: Packet analysis {"connection_id":231103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a82a"} 
[2026-11-05 01:38:11] local.INFO: Extracted packet for processing {"connection_id":231103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a82a"} 
[2026-11-05 01: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218546176001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793822747000,"timestamp_ms":1793822747000,"timestamp_seconds":1793822747,"priority":1,"record_length":96,"hex_timestamp":"000001a1a82ae978"} 
[2026-11-05 01: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-05 01:38: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-05 01:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 01:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218546176001,"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-05 01:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218546176001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:38:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:38:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218546176001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":231103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:38:11] local.INFO: GPS data processed {"connection_id":231103,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:38:11] local.INFO: Acknowledgment sent {"connection_id":231103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:38:43] local.INFO: TCP Data received {"connection_id":231103,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a82ae978012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a82ae978012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:38:43] local.INFO: Processing buffer {"connection_id":231103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a82ae978012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:38:43] local.INFO: Packet analysis {"connection_id":231103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a82a"} 
[2026-11-05 01:38:43] local.INFO: Extracted packet for processing {"connection_id":231103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a82a"} 
[2026-11-05 01: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218546176001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:38: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-05 01:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793822747000,"timestamp_ms":1793822747000,"timestamp_seconds":1793822747,"priority":1,"record_length":96,"hex_timestamp":"000001a1a82ae978"} 
[2026-11-05 01: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-05 01: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-05 01: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-05 01: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-05 01: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-05 01: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-05 01:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218546176001,"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-05 01:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218546176001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:38:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:38:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218546176001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":231103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:38:43] local.INFO: GPS data processed {"connection_id":231103,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:38:43] local.INFO: Acknowledgment sent {"connection_id":231103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:39:10] local.INFO: TCP Data received {"connection_id":232981,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:39:10] local.INFO: Processing buffer {"connection_id":232981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:39:10] local.INFO: IMEI packet received {"connection_id":232981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":232981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:39:15] local.INFO: TCP Data received {"connection_id":232981,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:39:15] local.INFO: Processing buffer {"connection_id":232981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:39:15] local.INFO: IMEI packet received {"connection_id":232981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":232981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:39:16] local.INFO: TCP Data received {"connection_id":232981,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a82ae978012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a82ae978012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:39:16] local.INFO: Processing buffer {"connection_id":232981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a82ae978012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:39:16] local.INFO: Packet analysis {"connection_id":232981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a82a"} 
[2026-11-05 01:39:16] local.INFO: Extracted packet for processing {"connection_id":232981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a82a"} 
[2026-11-05 01:39: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-05 01:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 01:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218546176001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:39: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-05 01:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793822747000,"timestamp_ms":1793822747000,"timestamp_seconds":1793822747,"priority":1,"record_length":96,"hex_timestamp":"000001a1a82ae978"} 
[2026-11-05 01:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 01:39: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-05 01:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 01:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01:39:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 01:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 01:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:39: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-05 01:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218546176001,"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-05 01:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218546176001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:39:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:39:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:39: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-05 01:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218546176001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":232981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:39:16] local.INFO: GPS data processed {"connection_id":232981,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:39:16] local.INFO: Acknowledgment sent {"connection_id":232981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:39:21] local.INFO: TCP Data received {"connection_id":232981,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a82ae978012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a82ae978012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:39:21] local.INFO: Processing buffer {"connection_id":232981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a82ae978012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:39:21] local.INFO: Packet analysis {"connection_id":232981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a82a"} 
[2026-11-05 01:39:21] local.INFO: Extracted packet for processing {"connection_id":232981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a82a"} 
[2026-11-05 01:39: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-05 01: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-05 01:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218546176001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:39: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-05 01:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793822747000,"timestamp_ms":1793822747000,"timestamp_seconds":1793822747,"priority":1,"record_length":96,"hex_timestamp":"000001a1a82ae978"} 
[2026-11-05 01: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-05 01:39: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-05 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 01:39: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-05 01: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-05 01: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-05 01:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:39: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-05 01:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218546176001,"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-05 01:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218546176001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:39:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:39:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:39: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-05 01:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218546176001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":232981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:39:21] local.INFO: GPS data processed {"connection_id":232981,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:39:21] local.INFO: Acknowledgment sent {"connection_id":232981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:39:27] local.INFO: TCP Data received {"connection_id":229789,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229789,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:39:27] local.INFO: Processing buffer {"connection_id":229789,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:39:27] local.INFO: IMEI packet received {"connection_id":229789,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 01:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":229789,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:40:05] local.INFO: TCP Data received {"connection_id":229790,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:40:05] local.INFO: Processing buffer {"connection_id":229790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:40:05] local.INFO: IMEI packet received {"connection_id":229790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":229790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:40:07] local.INFO: TCP Data received {"connection_id":229310,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:40:07] local.INFO: Processing buffer {"connection_id":229310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:40:07] local.INFO: IMEI packet received {"connection_id":229310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 01:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":229310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:40:10] local.INFO: TCP Data received {"connection_id":229790,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:40:10] local.INFO: Processing buffer {"connection_id":229790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:40:10] local.INFO: IMEI packet received {"connection_id":229790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":229790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:40:11] local.INFO: TCP Data received {"connection_id":229790,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a82ae978012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a82ae978012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:40:11] local.INFO: Processing buffer {"connection_id":229790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a82ae978012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:40:11] local.INFO: Packet analysis {"connection_id":229790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a82a"} 
[2026-11-05 01:40:11] local.INFO: Extracted packet for processing {"connection_id":229790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a82a"} 
[2026-11-05 01: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218546176001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793822747000,"timestamp_ms":1793822747000,"timestamp_seconds":1793822747,"priority":1,"record_length":96,"hex_timestamp":"000001a1a82ae978"} 
[2026-11-05 01: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-05 01: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-05 01:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 01:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218546176001,"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-05 01:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218546176001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:40:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:40:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218546176001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":229790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:40:11] local.INFO: GPS data processed {"connection_id":229790,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:40:11] local.INFO: Acknowledgment sent {"connection_id":229790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:40:43] local.INFO: TCP Data received {"connection_id":229790,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a82ae978012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a82ae978012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:40:43] local.INFO: Processing buffer {"connection_id":229790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a82ae978012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:40:43] local.INFO: Packet analysis {"connection_id":229790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a82a"} 
[2026-11-05 01:40:43] local.INFO: Extracted packet for processing {"connection_id":229790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a82a"} 
[2026-11-05 01: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218546176001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:40: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-05 01:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793822747000,"timestamp_ms":1793822747000,"timestamp_seconds":1793822747,"priority":1,"record_length":96,"hex_timestamp":"000001a1a82ae978"} 
[2026-11-05 01: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-05 01:40: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-05 01: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-05 01: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-05 01: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-05 01: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-05 01:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218546176001,"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-05 01:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218546176001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:40:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:40:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218546176001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":229790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:40:43] local.INFO: GPS data processed {"connection_id":229790,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:40:43] local.INFO: Acknowledgment sent {"connection_id":229790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:41:05] local.INFO: TCP Data received {"connection_id":229791,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:41:05] local.INFO: Processing buffer {"connection_id":229791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:41:05] local.INFO: IMEI packet received {"connection_id":229791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":229791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:41:10] local.INFO: TCP Data received {"connection_id":229791,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:41:10] local.INFO: Processing buffer {"connection_id":229791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:41:10] local.INFO: IMEI packet received {"connection_id":229791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":229791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:41:11] local.INFO: TCP Data received {"connection_id":229791,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a82ae978012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a82ae978012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:41:11] local.INFO: Processing buffer {"connection_id":229791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a82ae978012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:41:11] local.INFO: Packet analysis {"connection_id":229791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a82a"} 
[2026-11-05 01:41:11] local.INFO: Extracted packet for processing {"connection_id":229791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a82a"} 
[2026-11-05 01:41: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-05 01: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-05 01:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218546176001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793822747000,"timestamp_ms":1793822747000,"timestamp_seconds":1793822747,"priority":1,"record_length":96,"hex_timestamp":"000001a1a82ae978"} 
[2026-11-05 01: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-05 01: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-05 01:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 01:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:41: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-05 01:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218546176001,"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-05 01:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218546176001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:41:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:41:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:41: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-05 01:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218546176001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":229791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:41:11] local.INFO: GPS data processed {"connection_id":229791,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:41:11] local.INFO: Acknowledgment sent {"connection_id":229791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:41:43] local.INFO: TCP Data received {"connection_id":229791,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a82f8140012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a82f8140012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:41:43] local.INFO: Processing buffer {"connection_id":229791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a82f8140012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:41:43] local.INFO: Packet analysis {"connection_id":229791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a82f"} 
[2026-11-05 01:41:43] local.INFO: Extracted packet for processing {"connection_id":229791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a82f"} 
[2026-11-05 01: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 01:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218623232001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:41: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-05 01:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793823048000,"timestamp_ms":1793823048000,"timestamp_seconds":1793823048,"priority":1,"record_length":96,"hex_timestamp":"000001a1a82f8140"} 
[2026-11-05 01:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 01:41: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-05 01:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:41: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-05 01:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 01:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 01:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218623232001,"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-05 01:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218623232001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:41:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:41:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218623232001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":229791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:41:43] local.INFO: GPS data processed {"connection_id":229791,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:41:43] local.INFO: Acknowledgment sent {"connection_id":229791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:42:05] local.INFO: TCP Data received {"connection_id":232982,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:42:05] local.INFO: Processing buffer {"connection_id":232982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:42:05] local.INFO: IMEI packet received {"connection_id":232982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":232982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:42:10] local.INFO: TCP Data received {"connection_id":232982,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:42:10] local.INFO: Processing buffer {"connection_id":232982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:42:10] local.INFO: IMEI packet received {"connection_id":232982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":232982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:42:11] local.INFO: TCP Data received {"connection_id":232982,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a82f8140012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a82f8140012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:42:11] local.INFO: Processing buffer {"connection_id":232982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a82f8140012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:42:11] local.INFO: Packet analysis {"connection_id":232982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a82f"} 
[2026-11-05 01:42:11] local.INFO: Extracted packet for processing {"connection_id":232982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a82f"} 
[2026-11-05 01: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218623232001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793823048000,"timestamp_ms":1793823048000,"timestamp_seconds":1793823048,"priority":1,"record_length":96,"hex_timestamp":"000001a1a82f8140"} 
[2026-11-05 01: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-05 01:42: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-05 01: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218623232001,"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-05 01:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218623232001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:42:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:42:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218623232001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":232982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:42:11] local.INFO: GPS data processed {"connection_id":232982,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:42:11] local.INFO: Acknowledgment sent {"connection_id":232982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:42:42] local.INFO: TCP Data received {"connection_id":232982,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a82f8140012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a82f8140012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:42:42] local.INFO: Processing buffer {"connection_id":232982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a82f8140012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:42:42] local.INFO: Packet analysis {"connection_id":232982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a82f"} 
[2026-11-05 01:42:42] local.INFO: Extracted packet for processing {"connection_id":232982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a82f"} 
[2026-11-05 01:42: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 01:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218623232001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793823048000,"timestamp_ms":1793823048000,"timestamp_seconds":1793823048,"priority":1,"record_length":96,"hex_timestamp":"000001a1a82f8140"} 
[2026-11-05 01:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 01:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 01:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 01:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 01:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":232982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":232982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":232982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:42: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-05 01:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218623232001,"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-05 01:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218623232001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:42:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:42:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:42: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-05 01:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218623232001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":232982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:42:42] local.INFO: GPS data processed {"connection_id":232982,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:42:42] local.INFO: Acknowledgment sent {"connection_id":232982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:43:10] local.INFO: TCP Data received {"connection_id":229312,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:43:10] local.INFO: Processing buffer {"connection_id":229312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:43:10] local.INFO: IMEI packet received {"connection_id":229312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":229312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:43:15] local.INFO: TCP Data received {"connection_id":229312,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:43:15] local.INFO: Processing buffer {"connection_id":229312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:43:15] local.INFO: IMEI packet received {"connection_id":229312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":229312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:43:16] local.INFO: TCP Data received {"connection_id":229312,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a82f8140012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a82f8140012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:43:16] local.INFO: Processing buffer {"connection_id":229312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a82f8140012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:43:16] local.INFO: Packet analysis {"connection_id":229312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a82f"} 
[2026-11-05 01:43:16] local.INFO: Extracted packet for processing {"connection_id":229312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a82f"} 
[2026-11-05 01:43: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-05 01: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-05 01:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218623232001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:43: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-05 01:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793823048000,"timestamp_ms":1793823048000,"timestamp_seconds":1793823048,"priority":1,"record_length":96,"hex_timestamp":"000001a1a82f8140"} 
[2026-11-05 01: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-05 01:43: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-05 01: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:43: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-05 01:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218623232001,"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-05 01:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218623232001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:43:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:43:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:43: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-05 01:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218623232001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:43:16] 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":61139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:43:16] local.INFO: GPS data processed {"connection_id":229312,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:43:16] local.INFO: Acknowledgment sent {"connection_id":229312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:43:21] local.INFO: TCP Data received {"connection_id":229312,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a82f8140012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a82f8140012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:43:21] local.INFO: Processing buffer {"connection_id":229312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a82f8140012d34c14006aa4118000a01012a..."} 
[2026-11-05 01:43:21] local.INFO: Packet analysis {"connection_id":229312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a82f"} 
[2026-11-05 01:43:21] local.INFO: Extracted packet for processing {"connection_id":229312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a82f"} 
[2026-11-05 01:43: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-05 01:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 01:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218623232001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01:43: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-05 01:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793823048000,"timestamp_ms":1793823048000,"timestamp_seconds":1793823048,"priority":1,"record_length":96,"hex_timestamp":"000001a1a82f8140"} 
[2026-11-05 01:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 01:43: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-05 01:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:43: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-05 01:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 01:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 01:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:43: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-05 01:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218623232001,"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-05 01:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218623232001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:43:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:43:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:43: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-05 01:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218623232001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:43:21] 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":61140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:43:21] local.INFO: GPS data processed {"connection_id":229312,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:43:21] local.INFO: Acknowledgment sent {"connection_id":229312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:44:05] local.INFO: TCP Data received {"connection_id":232984,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:44:05] local.INFO: Processing buffer {"connection_id":232984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:44:05] local.INFO: IMEI packet received {"connection_id":232984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":232984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:44:11] local.INFO: TCP Data received {"connection_id":232984,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:44:11] local.INFO: Processing buffer {"connection_id":232984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:44:11] local.INFO: IMEI packet received {"connection_id":232984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":232984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:44:12] local.INFO: TCP Data received {"connection_id":232984,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a831c360012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a831c360012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:44:12] local.INFO: Processing buffer {"connection_id":232984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a831c360012d34c14006aa4118000a01012b..."} 
[2026-11-05 01:44:12] local.INFO: Packet analysis {"connection_id":232984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a831"} 
[2026-11-05 01:44:12] local.INFO: Extracted packet for processing {"connection_id":232984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a831"} 
[2026-11-05 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-05 01:44: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-05 01:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218700288001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793823196000,"timestamp_ms":1793823196000,"timestamp_seconds":1793823196,"priority":1,"record_length":96,"hex_timestamp":"000001a1a831c360"} 
[2026-11-05 01:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 01: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-05 01:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 01:44: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-05 01:44:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 01:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 01:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218700288001,"66":25375,"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-05 01:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218700288001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:44:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 01:44:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218700288001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":232984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:44:12] local.INFO: GPS data processed {"connection_id":232984,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:44:12] local.INFO: Acknowledgment sent {"connection_id":232984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:44:43] local.INFO: TCP Data received {"connection_id":232984,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8321950012d34bfc006aa4108000a01012a..."} 
[2026-11-05 01:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8321950012d34bfc006aa4108000a01012a..."} 
[2026-11-05 01:44:43] local.INFO: Processing buffer {"connection_id":232984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8321950012d34bfc006aa4108000a01012a..."} 
[2026-11-05 01:44:43] local.INFO: Packet analysis {"connection_id":232984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a832"} 
[2026-11-05 01:44:43] local.INFO: Extracted packet for processing {"connection_id":232984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a832"} 
[2026-11-05 01:44:43] local.INFO: GPS Element Parsed {"raw_longitude":758431680,"raw_latitude":111821064,"longitude_deg":75.843168,"latitude_deg":11.1821064,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34bfc0","hex_latitude":"06aa4108","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218738176001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793823218000,"timestamp_ms":1793823218000,"timestamp_seconds":1793823218,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8321950"} 
[2026-11-05 01: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-05 01:44:43] 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-05 01: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 01:44: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-05 01: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-05 01: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-05 01:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218738176001,"66":21505,"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-05 01:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218738176001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:44:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 01:44:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-05 01:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218738176001,"power":21505,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-05 01:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":232984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:44:43] local.INFO: GPS data processed {"connection_id":232984,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:44:43] local.INFO: Acknowledgment sent {"connection_id":232984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:45:05] local.INFO: TCP Data received {"connection_id":232986,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:45:05] local.INFO: Processing buffer {"connection_id":232986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:45:05] local.INFO: IMEI packet received {"connection_id":232986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":232986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:45:10] local.INFO: TCP Data received {"connection_id":232986,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:45:10] local.INFO: Processing buffer {"connection_id":232986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:45:10] local.INFO: IMEI packet received {"connection_id":232986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":232986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:45:11] local.INFO: TCP Data received {"connection_id":232986,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8326b58012d34bfc006aa4108000a010129..."} 
[2026-11-05 01:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8326b58012d34bfc006aa4108000a010129..."} 
[2026-11-05 01:45:11] local.INFO: Processing buffer {"connection_id":232986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8326b58012d34bfc006aa4108000a010129..."} 
[2026-11-05 01:45:11] local.INFO: Packet analysis {"connection_id":232986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a832"} 
[2026-11-05 01:45:11] local.INFO: Extracted packet for processing {"connection_id":232986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a832"} 
[2026-11-05 01:45:11] local.INFO: GPS Element Parsed {"raw_longitude":758431680,"raw_latitude":111821064,"longitude_deg":75.843168,"latitude_deg":11.1821064,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34bfc0","hex_latitude":"06aa4108","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218743808001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800967745382713344,"note":"Value kept but may cause issues"} 
[2026-11-05 01:45: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-05 01:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793823239000,"timestamp_ms":1793823239000,"timestamp_seconds":1793823239,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8326b58"} 
[2026-11-05 01: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-05 01:45: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-05 01: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":84,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-11-05 01:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303369104182630,"note":"Value kept but may cause issues"} 
[2026-11-05 01:45:11] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2321023277,"note":"Value kept but may cause issues"} 
[2026-11-05 01:45:11] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2820481568,"note":"Value kept but may cause issues"} 
[2026-11-05 01:45:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2712146930,"note":"Value kept but may cause issues"} 
[2026-11-05 01:45:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1718157518,"corrected_to":0} 
[2026-11-05 01:45:11] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3892391220,"note":"Value kept but may cause issues"} 
[2026-11-05 01:45:11] local.WARNING: Large IO value detected {"io_id":139,"raw_value":2617442304,"note":"Value kept but may cause issues"} 
[2026-11-05 01:45:11] local.WARNING: Large IO value detected {"io_id":6,"raw_value":2856392704,"note":"Value kept but may cause issues"} 
[2026-11-05 01:45:11] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3242198698,"note":"Value kept but may cause issues"} 
[2026-11-05 01:45:11] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,105,28,24,241,158,16,156,161,195,45,64,65,10,43,66,129,42,106,233,240,31,168,170,1,4,113,205,185,193,239,99,2,139,6,206,3,52,90,69,102,85,144],"length":633,"final_offset":763,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1718157518,"validated":0}]} 
[2026-11-05 01:45:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720858695256244224,"timestamp_seconds":720858695256244.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-11-05 01: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-05 01:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:45: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-05 01:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218743808001,"66":27082,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3800967745382713344},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-05 01:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218743808001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:45:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 01:45:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:45: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-05 01:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800967745382713344,"description":"Unknown IO ID 45"} 
[2026-11-05 01:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218743808001,"power":27082,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800967745382713344}} 
[2026-11-05 01:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":232986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:45:11] local.INFO: GPS data processed {"connection_id":232986,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:45:11] local.INFO: Acknowledgment sent {"connection_id":232986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:45:22] local.INFO: TCP Data received {"connection_id":229793,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229793,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:45:22] local.INFO: Processing buffer {"connection_id":229793,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:45:22] local.INFO: IMEI packet received {"connection_id":229793,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 01:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":229793,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:45:43] local.INFO: TCP Data received {"connection_id":232986,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a832bd60012d34bfc006aa4108000a01012a..."} 
[2026-11-05 01:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a832bd60012d34bfc006aa4108000a01012a..."} 
[2026-11-05 01:45:43] local.INFO: Processing buffer {"connection_id":232986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a832bd60012d34bfc006aa4108000a01012a..."} 
[2026-11-05 01:45:43] local.INFO: Packet analysis {"connection_id":232986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a832"} 
[2026-11-05 01:45:43] local.INFO: Extracted packet for processing {"connection_id":232986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a832"} 
[2026-11-05 01:45:43] local.INFO: GPS Element Parsed {"raw_longitude":758431680,"raw_latitude":111821064,"longitude_deg":75.843168,"latitude_deg":11.1821064,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34bfc0","hex_latitude":"06aa4108","is_valid_coordinates":true} 
[2026-11-05 01:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 01:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218749184001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-05 01:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800967745382713344,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793823260000,"timestamp_ms":1793823260000,"timestamp_seconds":1793823260,"priority":1,"record_length":96,"hex_timestamp":"000001a1a832bd60"} 
[2026-11-05 01:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 01:45:43] 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-05 01:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-11-05 01:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 01:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 01:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218749184001,"66":27321,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3800967745382713344},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-05 01:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218749184001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:45:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-05 01:45:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01: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-05 01:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800967745382713344,"description":"Unknown IO ID 45"} 
[2026-11-05 01:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218749184001,"power":27321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800967745382713344}} 
[2026-11-05 01:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":232986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:45:43] local.INFO: GPS data processed {"connection_id":232986,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:45:43] local.INFO: Acknowledgment sent {"connection_id":232986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:46:05] local.INFO: TCP Data received {"connection_id":231105,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:46:05] local.INFO: Processing buffer {"connection_id":231105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:46:05] local.INFO: IMEI packet received {"connection_id":231105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":231105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:46:06] local.INFO: TCP Data received {"connection_id":231105,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:46:06] local.INFO: Processing buffer {"connection_id":231105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:46:06] local.INFO: IMEI packet received {"connection_id":231105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":231105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:46:07] local.INFO: TCP Data received {"connection_id":229794,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:46:07] local.INFO: Processing buffer {"connection_id":229794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:46:07] local.INFO: IMEI packet received {"connection_id":229794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 01:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":229794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:46:10] local.INFO: TCP Data received {"connection_id":231105,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:46:10] local.INFO: Processing buffer {"connection_id":231105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:46:10] local.INFO: IMEI packet received {"connection_id":231105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":231105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:46:11] local.INFO: TCP Data received {"connection_id":231105,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8339050012d34c68006aa47b0000b00c829..."} 
[2026-11-05 01:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8339050012d34c68006aa47b0000b00c829..."} 
[2026-11-05 01:46:11] local.INFO: Processing buffer {"connection_id":231105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8339050012d34c68006aa47b0000b00c829..."} 
[2026-11-05 01:46:11] local.INFO: Packet analysis {"connection_id":231105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a833"} 
[2026-11-05 01:46:11] local.INFO: Extracted packet for processing {"connection_id":231105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a833"} 
[2026-11-05 01:46:11] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111822768,"longitude_deg":75.8433408,"latitude_deg":11.1822768,"altitude":11,"angle":200,"satellites":41,"speed":2,"hex_longitude":"2d34c680","hex_latitude":"06aa47b0","is_valid_coordinates":true} 
[2026-11-05 01:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 01:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218764032001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296721670373376,"note":"Value kept but may cause issues"} 
[2026-11-05 01:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499108864,"note":"Value kept but may cause issues"} 
[2026-11-05 01:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793823314000,"timestamp_ms":1793823314000,"timestamp_seconds":1793823314,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8339050"} 
[2026-11-05 01:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 01:46: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-05 01:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-11-05 01:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 01:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 01:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:46: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-05 01:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218764032001,"66":27550,"106":206,"28":21760,"24":2,"16":39296721670373376,"45":3802586226499108864},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 01:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218764032001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:46:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:46:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296721670373376,"km_value":39296721670373.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 01:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499108864,"description":"Unknown IO ID 45"} 
[2026-11-05 01:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218764032001,"power":27550,"unknown_106":206,"unknown_28":21760,"ignition":2,"odometer":null,"unknown_45":3802586226499108864}} 
[2026-11-05 01:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":231105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:46:11] local.INFO: GPS data processed {"connection_id":231105,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:46:11] local.INFO: Acknowledgment sent {"connection_id":231105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:46:43] local.INFO: TCP Data received {"connection_id":231105,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8339438012d34c60006aa4770000b00d829..."} 
[2026-11-05 01:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8339438012d34c60006aa4770000b00d829..."} 
[2026-11-05 01:46:43] local.INFO: Processing buffer {"connection_id":231105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8339438012d34c60006aa4770000b00d829..."} 
[2026-11-05 01:46:43] local.INFO: Packet analysis {"connection_id":231105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a833"} 
[2026-11-05 01:46:43] local.INFO: Extracted packet for processing {"connection_id":231105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a833"} 
[2026-11-05 01:46:43] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111822704,"longitude_deg":75.843328,"latitude_deg":11.1822704,"altitude":11,"angle":216,"satellites":41,"speed":2,"hex_longitude":"2d34c600","hex_latitude":"06aa4770","is_valid_coordinates":true} 
[2026-11-05 01:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 01:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218768384001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296725965340672,"note":"Value kept but may cause issues"} 
[2026-11-05 01:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475946496,"note":"Value kept but may cause issues"} 
[2026-11-05 01:46: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-05 01:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793823315000,"timestamp_ms":1793823315000,"timestamp_seconds":1793823315,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8339438"} 
[2026-11-05 01:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 01:46: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-05 01:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-05 01:46:43] 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-05 01:46:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 01:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 01:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218768384001,"66":27550,"106":206,"28":21760,"24":2,"16":39296725965340672,"45":3802867701475946496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 01:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218768384001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:46:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:46:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296725965340672,"km_value":39296725965340.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 01:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475946496,"description":"Unknown IO ID 45"} 
[2026-11-05 01:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218768384001,"power":27550,"unknown_106":206,"unknown_28":21760,"ignition":2,"odometer":null,"unknown_45":3802867701475946496}} 
[2026-11-05 01:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":231105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:46:43] local.INFO: GPS data processed {"connection_id":231105,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:46:43] local.INFO: Acknowledgment sent {"connection_id":231105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:47:10] local.INFO: TCP Data received {"connection_id":229314,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:47:10] local.INFO: Processing buffer {"connection_id":229314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:47:10] local.INFO: IMEI packet received {"connection_id":229314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":229314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:47:15] local.INFO: TCP Data received {"connection_id":229314,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:47:15] local.INFO: Processing buffer {"connection_id":229314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:47:15] local.INFO: IMEI packet received {"connection_id":229314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":229314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:47:16] local.INFO: TCP Data received {"connection_id":229314,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8339ff0012d34c54006aa46c0000a00ea29..."} 
[2026-11-05 01:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8339ff0012d34c54006aa46c0000a00ea29..."} 
[2026-11-05 01:47:16] local.INFO: Processing buffer {"connection_id":229314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8339ff0012d34c54006aa46c0000a00ea29..."} 
[2026-11-05 01:47:16] local.INFO: Packet analysis {"connection_id":229314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a833"} 
[2026-11-05 01:47:16] local.INFO: Extracted packet for processing {"connection_id":229314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a833"} 
[2026-11-05 01:47:16] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822528,"longitude_deg":75.8433088,"latitude_deg":11.1822528,"altitude":10,"angle":234,"satellites":41,"speed":3,"hex_longitude":"2d34c540","hex_latitude":"06aa46c0","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218768640001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296738850242560,"note":"Value kept but may cause issues"} 
[2026-11-05 01:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987574784,"note":"Value kept but may cause issues"} 
[2026-11-05 01:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793823318000,"timestamp_ms":1793823318000,"timestamp_seconds":1793823318,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8339ff0"} 
[2026-11-05 01: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-05 01:47: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-05 01: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":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-05 01:47:16] 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-05 01: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-05 01: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-05 01:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:47: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-05 01:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218768640001,"66":27463,"106":206,"28":21760,"24":3,"16":39296738850242560,"45":3802726963987574784},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 01:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218768640001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:47:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:47:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296738850242560,"km_value":39296738850242.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 01:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987574784,"description":"Unknown IO ID 45"} 
[2026-11-05 01:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218768640001,"power":27463,"unknown_106":206,"unknown_28":21760,"ignition":3,"odometer":null,"unknown_45":3802726963987574784}} 
[2026-11-05 01:47:16] 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":61147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:47:16] local.INFO: GPS data processed {"connection_id":229314,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:47:16] local.INFO: Acknowledgment sent {"connection_id":229314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:47:20] local.INFO: TCP Data received {"connection_id":229314,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a833a3d8012d34c50006aa46b0000a010229..."} 
[2026-11-05 01:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a833a3d8012d34c50006aa46b0000a010229..."} 
[2026-11-05 01:47:20] local.INFO: Processing buffer {"connection_id":229314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a833a3d8012d34c50006aa46b0000a010229..."} 
[2026-11-05 01:47:20] local.INFO: Packet analysis {"connection_id":229314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a833"} 
[2026-11-05 01:47:20] local.INFO: Extracted packet for processing {"connection_id":229314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a833"} 
[2026-11-05 01:47:20] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111822512,"longitude_deg":75.8433024,"latitude_deg":11.1822512,"altitude":10,"angle":258,"satellites":41,"speed":3,"hex_longitude":"2d34c500","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-11-05 01:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 01:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218769408001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296743145209856,"note":"Value kept but may cause issues"} 
[2026-11-05 01:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754996736,"note":"Value kept but may cause issues"} 
[2026-11-05 01:47: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-05 01:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793823319000,"timestamp_ms":1793823319000,"timestamp_seconds":1793823319,"priority":1,"record_length":96,"hex_timestamp":"000001a1a833a3d8"} 
[2026-11-05 01: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-05 01:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 01: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 01:47:20] 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-05 01: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-05 01: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-05 01:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:47: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-05 01:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218769408001,"66":27463,"106":206,"28":21760,"24":3,"16":39296743145209856,"45":3802515857754996736},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 01:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218769408001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:47:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:47:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296743145209856,"km_value":39296743145209.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 01:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754996736,"description":"Unknown IO ID 45"} 
[2026-11-05 01:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218769408001,"power":27463,"unknown_106":206,"unknown_28":21760,"ignition":3,"odometer":null,"unknown_45":3802515857754996736}} 
[2026-11-05 01:47: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":61148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:47:20] local.INFO: GPS data processed {"connection_id":229314,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:47:20] local.INFO: Acknowledgment sent {"connection_id":229314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:48:05] local.INFO: TCP Data received {"connection_id":229796,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:48:05] local.INFO: Processing buffer {"connection_id":229796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:48:05] local.INFO: IMEI packet received {"connection_id":229796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":229796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:48:10] local.INFO: TCP Data received {"connection_id":229796,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:48:10] local.INFO: Processing buffer {"connection_id":229796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:48:10] local.INFO: IMEI packet received {"connection_id":229796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":229796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:48:11] local.INFO: TCP Data received {"connection_id":229796,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a833aba8012d34c40006aa4698000a01182a..."} 
[2026-11-05 01:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a833aba8012d34c40006aa4698000a01182a..."} 
[2026-11-05 01:48:11] local.INFO: Processing buffer {"connection_id":229796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a833aba8012d34c40006aa4698000a01182a..."} 
[2026-11-05 01:48:11] local.INFO: Packet analysis {"connection_id":229796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a833"} 
[2026-11-05 01:48:11] local.INFO: Extracted packet for processing {"connection_id":229796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a833"} 
[2026-11-05 01:48:11] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822488,"longitude_deg":75.8432768,"latitude_deg":11.1822488,"altitude":10,"angle":280,"satellites":42,"speed":3,"hex_longitude":"2d34c400","hex_latitude":"06aa4698","is_valid_coordinates":true} 
[2026-11-05 01:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 01:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218769664001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296751735144448,"note":"Value kept but may cause issues"} 
[2026-11-05 01:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010814976,"note":"Value kept but may cause issues"} 
[2026-11-05 01:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793823321000,"timestamp_ms":1793823321000,"timestamp_seconds":1793823321,"priority":1,"record_length":96,"hex_timestamp":"000001a1a833aba8"} 
[2026-11-05 01:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 01:48: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-05 01:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 01:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 01:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 01:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:48: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-05 01:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218769664001,"66":27539,"106":206,"28":21760,"24":3,"16":39296751735144448,"45":3802445489010814976},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 01:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218769664001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:48:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:48:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296751735144448,"km_value":39296751735144.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 01:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010814976,"description":"Unknown IO ID 45"} 
[2026-11-05 01:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218769664001,"power":27539,"unknown_106":206,"unknown_28":21760,"ignition":3,"odometer":null,"unknown_45":3802445489010814976}} 
[2026-11-05 01:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":229796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:48:11] local.INFO: GPS data processed {"connection_id":229796,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:48:11] local.INFO: Acknowledgment sent {"connection_id":229796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:48:16] local.INFO: TCP Data received {"connection_id":229796,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a833b760012d34c2c006aa4710000a01262a..."} 
[2026-11-05 01:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a833b760012d34c2c006aa4710000a01262a..."} 
[2026-11-05 01:48:16] local.INFO: Processing buffer {"connection_id":229796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a833b760012d34c2c006aa4710000a01262a..."} 
[2026-11-05 01:48:16] local.INFO: Packet analysis {"connection_id":229796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a833"} 
[2026-11-05 01:48:16] local.INFO: Extracted packet for processing {"connection_id":229796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a833"} 
[2026-11-05 01:48:16] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111822608,"longitude_deg":75.8432448,"latitude_deg":11.1822608,"altitude":10,"angle":294,"satellites":42,"speed":4,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4710","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218770176001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296768915013632,"note":"Value kept but may cause issues"} 
[2026-11-05 01:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034098176,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793823324000,"timestamp_ms":1793823324000,"timestamp_seconds":1793823324,"priority":1,"record_length":96,"hex_timestamp":"000001a1a833b760"} 
[2026-11-05 01: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-05 01:48: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-05 01: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-05 01:48:16] 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-05 01: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-05 01: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-05 01:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218770176001,"66":27321,"106":206,"28":21760,"24":4,"16":39296768915013632,"45":3802164014034098176},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 01:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218770176001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:48:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:48:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296768915013632,"km_value":39296768915013.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 01:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034098176,"description":"Unknown IO ID 45"} 
[2026-11-05 01:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218770176001,"power":27321,"unknown_106":206,"unknown_28":21760,"ignition":4,"odometer":null,"unknown_45":3802164014034098176}} 
[2026-11-05 01:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":229796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:48:16] local.INFO: GPS data processed {"connection_id":229796,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:48:16] local.INFO: Acknowledgment sent {"connection_id":229796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:48:48] local.INFO: TCP Data received {"connection_id":229796,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a833bf30012d34c24006aa47600009011a2a..."} 
[2026-11-05 01:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a833bf30012d34c24006aa47600009011a2a..."} 
[2026-11-05 01:48:48] local.INFO: Processing buffer {"connection_id":229796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a833bf30012d34c24006aa47600009011a2a..."} 
[2026-11-05 01:48:48] local.INFO: Packet analysis {"connection_id":229796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a833"} 
[2026-11-05 01:48:48] local.INFO: Extracted packet for processing {"connection_id":229796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a833"} 
[2026-11-05 01:48:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111822688,"longitude_deg":75.843232,"latitude_deg":11.1822688,"altitude":9,"angle":282,"satellites":42,"speed":3,"hex_longitude":"2d34c240","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218770944001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296777504948224,"note":"Value kept but may cause issues"} 
[2026-11-05 01:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170313240576,"note":"Value kept but may cause issues"} 
[2026-11-05 01:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793823326000,"timestamp_ms":1793823326000,"timestamp_seconds":1793823326,"priority":1,"record_length":96,"hex_timestamp":"000001a1a833bf30"} 
[2026-11-05 01: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-05 01:48: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-05 01: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 01:48:48] 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-05 01: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-05 01: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-05 01:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:48: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-05 01:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218770944001,"66":27484,"106":206,"28":21760,"24":3,"16":39296777504948224,"45":3801812170313240576},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 01:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218770944001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:48:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:48:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296777504948224,"km_value":39296777504948.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 01:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170313240576,"description":"Unknown IO ID 45"} 
[2026-11-05 01:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218770944001,"power":27484,"unknown_106":206,"unknown_28":21760,"ignition":3,"odometer":null,"unknown_45":3801812170313240576}} 
[2026-11-05 01:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":229796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:48:48] local.INFO: GPS data processed {"connection_id":229796,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:48:48] local.INFO: Acknowledgment sent {"connection_id":229796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:49:05] local.INFO: TCP Data received {"connection_id":232988,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:49:05] local.INFO: Processing buffer {"connection_id":232988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:49:05] local.INFO: IMEI packet received {"connection_id":232988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":232988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:49:10] local.INFO: TCP Data received {"connection_id":232988,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:49:10] local.INFO: Processing buffer {"connection_id":232988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:49:10] local.INFO: IMEI packet received {"connection_id":232988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":232988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:49:11] local.INFO: TCP Data received {"connection_id":232988,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a833c700012d34c18006aa47900009010b2a..."} 
[2026-11-05 01:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a833c700012d34c18006aa47900009010b2a..."} 
[2026-11-05 01:49:11] local.INFO: Processing buffer {"connection_id":232988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a833c700012d34c18006aa47900009010b2a..."} 
[2026-11-05 01:49:11] local.INFO: Packet analysis {"connection_id":232988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a833"} 
[2026-11-05 01:49:11] local.INFO: Extracted packet for processing {"connection_id":232988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a833"} 
[2026-11-05 01:49:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111822736,"longitude_deg":75.8432128,"latitude_deg":11.1822736,"altitude":9,"angle":267,"satellites":42,"speed":3,"hex_longitude":"2d34c180","hex_latitude":"06aa4790","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218771456001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296786094882816,"note":"Value kept but may cause issues"} 
[2026-11-05 01:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824905728,"note":"Value kept but may cause issues"} 
[2026-11-05 01:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793823328000,"timestamp_ms":1793823328000,"timestamp_seconds":1793823328,"priority":1,"record_length":96,"hex_timestamp":"000001a1a833c700"} 
[2026-11-05 01: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-05 01: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-05 01: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 01:49:11] 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-05 01: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-05 01: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-05 01:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218771456001,"66":26854,"106":206,"28":21760,"24":3,"16":39296786094882816,"45":3801671432824905728},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 01:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218771456001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:49:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:49:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296786094882816,"km_value":39296786094882.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 01:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824905728,"description":"Unknown IO ID 45"} 
[2026-11-05 01:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218771456001,"power":26854,"unknown_106":206,"unknown_28":21760,"ignition":3,"odometer":null,"unknown_45":3801671432824905728}} 
[2026-11-05 01:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":232988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:49:11] local.INFO: GPS data processed {"connection_id":232988,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:49:11] local.INFO: Acknowledgment sent {"connection_id":232988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:49:16] local.INFO: TCP Data received {"connection_id":232988,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a833ea28012d34c20006aa4818000900432a..."} 
[2026-11-05 01:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a833ea28012d34c20006aa4818000900432a..."} 
[2026-11-05 01:49:16] local.INFO: Processing buffer {"connection_id":232988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a833ea28012d34c20006aa4818000900432a..."} 
[2026-11-05 01:49:16] local.INFO: Packet analysis {"connection_id":232988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a833"} 
[2026-11-05 01:49:16] local.INFO: Extracted packet for processing {"connection_id":232988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a833"} 
[2026-11-05 01:49:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111822872,"longitude_deg":75.8432256,"latitude_deg":11.1822872,"altitude":9,"angle":67,"satellites":42,"speed":3,"hex_longitude":"2d34c200","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-11-05 01:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 01:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218771968001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296803274752000,"note":"Value kept but may cause issues"} 
[2026-11-05 01:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592385024,"note":"Value kept but may cause issues"} 
[2026-11-05 01:49: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-05 01:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793823337000,"timestamp_ms":1793823337000,"timestamp_seconds":1793823337,"priority":1,"record_length":96,"hex_timestamp":"000001a1a833ea28"} 
[2026-11-05 01:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 01:49: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-05 01:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-11-05 01:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2788,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 01:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 01:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:49: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-05 01:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218771968001,"66":27995,"106":206,"28":21760,"24":3,"16":39296803274752000,"45":3801460326592385024},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 01:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218771968001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:49:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:49:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296803274752000,"km_value":39296803274752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 01:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592385024,"description":"Unknown IO ID 45"} 
[2026-11-05 01:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218771968001,"power":27995,"unknown_106":206,"unknown_28":21760,"ignition":3,"odometer":null,"unknown_45":3801460326592385024}} 
[2026-11-05 01:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":232988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:49:16] local.INFO: GPS data processed {"connection_id":232988,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:49:16] local.INFO: Acknowledgment sent {"connection_id":232988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:49:48] local.INFO: TCP Data received {"connection_id":232988,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a833f1f8012d34c28006aa48400008005229..."} 
[2026-11-05 01:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a833f1f8012d34c28006aa48400008005229..."} 
[2026-11-05 01:49:48] local.INFO: Processing buffer {"connection_id":232988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a833f1f8012d34c28006aa48400008005229..."} 
[2026-11-05 01:49:48] local.INFO: Packet analysis {"connection_id":232988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a833"} 
[2026-11-05 01:49:48] local.INFO: Extracted packet for processing {"connection_id":232988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a833"} 
[2026-11-05 01:49:48] local.INFO: GPS Element Parsed {"raw_longitude":758432384,"raw_latitude":111822912,"longitude_deg":75.8432384,"latitude_deg":11.1822912,"altitude":8,"angle":82,"satellites":41,"speed":3,"hex_longitude":"2d34c280","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218774272001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 01:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080775168,"note":"Value kept but may cause issues"} 
[2026-11-05 01:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793823339000,"timestamp_ms":1793823339000,"timestamp_seconds":1793823339,"priority":1,"record_length":96,"hex_timestamp":"000001a1a833f1f8"} 
[2026-11-05 01: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-05 01:49: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-05 01:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-05 01:49: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-05 01: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-05 01: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-05 01:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:49: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-05 01:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218774272001,"66":27974,"106":206,"28":21760,"24":3,"16":39296811864686592,"45":3801601064080775168},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 01:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218774272001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:49:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:49:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 01:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080775168,"description":"Unknown IO ID 45"} 
[2026-11-05 01:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218774272001,"power":27974,"unknown_106":206,"unknown_28":21760,"ignition":3,"odometer":null,"unknown_45":3801601064080775168}} 
[2026-11-05 01:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":232988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:49:48] local.INFO: GPS data processed {"connection_id":232988,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:49:48] local.INFO: Acknowledgment sent {"connection_id":232988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:50:05] local.INFO: TCP Data received {"connection_id":231106,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:50:05] local.INFO: Processing buffer {"connection_id":231106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:50:05] local.INFO: IMEI packet received {"connection_id":231106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":231106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:50:10] local.INFO: TCP Data received {"connection_id":231106,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:50:10] local.INFO: Processing buffer {"connection_id":231106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:50:10] local.INFO: IMEI packet received {"connection_id":231106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":231106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:50:11] local.INFO: TCP Data received {"connection_id":231106,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a833f1f8012d34c28006aa48400008005229..."} 
[2026-11-05 01:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a833f1f8012d34c28006aa48400008005229..."} 
[2026-11-05 01:50:11] local.INFO: Processing buffer {"connection_id":231106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a833f1f8012d34c28006aa48400008005229..."} 
[2026-11-05 01:50:11] local.INFO: Packet analysis {"connection_id":231106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a833"} 
[2026-11-05 01:50:11] local.INFO: Extracted packet for processing {"connection_id":231106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a833"} 
[2026-11-05 01:50:11] local.INFO: GPS Element Parsed {"raw_longitude":758432384,"raw_latitude":111822912,"longitude_deg":75.8432384,"latitude_deg":11.1822912,"altitude":8,"angle":82,"satellites":41,"speed":3,"hex_longitude":"2d34c280","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-11-05 01:50: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-05 01:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218774784001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 01:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801741801569140736,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793823339000,"timestamp_ms":1793823339000,"timestamp_seconds":1793823339,"priority":1,"record_length":96,"hex_timestamp":"000001a1a833f1f8"} 
[2026-11-05 01: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-05 01:50: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-05 01:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-05 01:50: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-05 01: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-05 01: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-05 01:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218774784001,"66":27974,"106":206,"28":21760,"24":3,"16":39296811864686592,"45":3801741801569140736},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 01:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218774784001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:50:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:50:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 01:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801741801569140736,"description":"Unknown IO ID 45"} 
[2026-11-05 01:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218774784001,"power":27974,"unknown_106":206,"unknown_28":21760,"ignition":3,"odometer":null,"unknown_45":3801741801569140736}} 
[2026-11-05 01:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":231106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:50:11] local.INFO: GPS data processed {"connection_id":231106,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:50:11] local.INFO: Acknowledgment sent {"connection_id":231106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:50:42] local.INFO: TCP Data received {"connection_id":231106,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a833f5e0012d34c2c006aa48400009006029..."} 
[2026-11-05 01:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a833f5e0012d34c2c006aa48400009006029..."} 
[2026-11-05 01:50:42] local.INFO: Processing buffer {"connection_id":231106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a833f5e0012d34c2c006aa48400009006029..."} 
[2026-11-05 01:50:42] local.INFO: Packet analysis {"connection_id":231106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a833"} 
[2026-11-05 01:50:42] local.INFO: Extracted packet for processing {"connection_id":231106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a833"} 
[2026-11-05 01:50:42] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111822912,"longitude_deg":75.8432448,"latitude_deg":11.1822912,"altitude":9,"angle":96,"satellites":41,"speed":3,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-11-05 01:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 01:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218774784001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 01:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801741801569140736,"note":"Value kept but may cause issues"} 
[2026-11-05 01:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793823340000,"timestamp_ms":1793823340000,"timestamp_seconds":1793823340,"priority":1,"record_length":96,"hex_timestamp":"000001a1a833f5e0"} 
[2026-11-05 01:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 01:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 01:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-05 01:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 01:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 01:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:50: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-05 01:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218774784001,"66":27180,"106":206,"28":21760,"24":3,"16":39296811864686592,"45":3801741801569140736},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 01:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218774784001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:50:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:50:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 01:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801741801569140736,"description":"Unknown IO ID 45"} 
[2026-11-05 01:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218774784001,"power":27180,"unknown_106":206,"unknown_28":21760,"ignition":3,"odometer":null,"unknown_45":3801741801569140736}} 
[2026-11-05 01:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":231106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:50:42] local.INFO: GPS data processed {"connection_id":231106,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:50:42] local.INFO: Acknowledgment sent {"connection_id":231106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:51:05] local.INFO: TCP Data received {"connection_id":232990,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:51:05] local.INFO: Processing buffer {"connection_id":232990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:51:05] local.INFO: IMEI packet received {"connection_id":232990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":232990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:51:10] local.INFO: TCP Data received {"connection_id":232990,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:51:10] local.INFO: Processing buffer {"connection_id":232990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:51:10] local.INFO: IMEI packet received {"connection_id":232990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":232990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:51:11] local.INFO: TCP Data received {"connection_id":232990,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8340198012d34c40006aa48180009006c29..."} 
[2026-11-05 01:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8340198012d34c40006aa48180009006c29..."} 
[2026-11-05 01:51:11] local.INFO: Processing buffer {"connection_id":232990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8340198012d34c40006aa48180009006c29..."} 
[2026-11-05 01:51:11] local.INFO: Packet analysis {"connection_id":232990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a834"} 
[2026-11-05 01:51:11] local.INFO: Extracted packet for processing {"connection_id":232990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a834"} 
[2026-11-05 01:51:11] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822872,"longitude_deg":75.8432768,"latitude_deg":11.1822872,"altitude":9,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218775040001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 01:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170313318400,"note":"Value kept but may cause issues"} 
[2026-11-05 01:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793823343000,"timestamp_ms":1793823343000,"timestamp_seconds":1793823343,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8340198"} 
[2026-11-05 01: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-05 01:51: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-05 01: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-11-05 01:51:11] 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-05 01: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-05 01: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-05 01:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:51: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-05 01:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218775040001,"66":27137,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3801812170313318400},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 01:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218775040001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:51:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:51:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 01:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170313318400,"description":"Unknown IO ID 45"} 
[2026-11-05 01:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218775040001,"power":27137,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801812170313318400}} 
[2026-11-05 01:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":232990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:51:11] local.INFO: GPS data processed {"connection_id":232990,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:51:11] local.INFO: Acknowledgment sent {"connection_id":232990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:51:32] local.INFO: TCP Data received {"connection_id":229797,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229797,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:51:32] local.INFO: Processing buffer {"connection_id":229797,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:51:32] local.INFO: IMEI packet received {"connection_id":229797,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 01:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":229797,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:51:42] local.INFO: TCP Data received {"connection_id":232990,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8389960012d34c94006aa46e00008006c25..."} 
[2026-11-05 01:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8389960012d34c94006aa46e00008006c25..."} 
[2026-11-05 01:51:42] local.INFO: Processing buffer {"connection_id":232990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8389960012d34c94006aa46e00008006c25..."} 
[2026-11-05 01:51:42] local.INFO: Packet analysis {"connection_id":232990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a838"} 
[2026-11-05 01:51:42] local.INFO: Extracted packet for processing {"connection_id":232990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a838"} 
[2026-11-05 01:51:42] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 01:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 01:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218775808001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 01:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034196480,"note":"Value kept but may cause issues"} 
[2026-11-05 01:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793823644000,"timestamp_ms":1793823644000,"timestamp_seconds":1793823644,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8389960"} 
[2026-11-05 01:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 01:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 01:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-11-05 01:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 01:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 01:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":232990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":232990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":232990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:51: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-05 01:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218775808001,"66":25941,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3802164014034196480},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 01:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218775808001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:51:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:51:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 01:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034196480,"description":"Unknown IO ID 45"} 
[2026-11-05 01:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218775808001,"power":25941,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034196480}} 
[2026-11-05 01:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":232990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:51:42] local.INFO: GPS data processed {"connection_id":232990,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:51:42] local.INFO: Acknowledgment sent {"connection_id":232990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:52:07] local.INFO: TCP Data received {"connection_id":229316,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229316,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:52:07] local.INFO: Processing buffer {"connection_id":229316,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:52:07] local.INFO: IMEI packet received {"connection_id":229316,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 01:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":229316,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:52:10] local.INFO: TCP Data received {"connection_id":229798,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:52:10] local.INFO: Processing buffer {"connection_id":229798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:52:10] local.INFO: IMEI packet received {"connection_id":229798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":229798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:52:15] local.INFO: TCP Data received {"connection_id":229798,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:52:15] local.INFO: Processing buffer {"connection_id":229798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:52:15] local.INFO: IMEI packet received {"connection_id":229798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":229798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:52:16] local.INFO: TCP Data received {"connection_id":229798,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8389960012d34c94006aa46e00008006c25..."} 
[2026-11-05 01:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8389960012d34c94006aa46e00008006c25..."} 
[2026-11-05 01:52:16] local.INFO: Processing buffer {"connection_id":229798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8389960012d34c94006aa46e00008006c25..."} 
[2026-11-05 01:52:16] local.INFO: Packet analysis {"connection_id":229798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a838"} 
[2026-11-05 01:52:16] local.INFO: Extracted packet for processing {"connection_id":229798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a838"} 
[2026-11-05 01:52:16] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218775808001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 01:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034196480,"note":"Value kept but may cause issues"} 
[2026-11-05 01:52: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-05 01:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793823644000,"timestamp_ms":1793823644000,"timestamp_seconds":1793823644,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8389960"} 
[2026-11-05 01: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-05 01:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 01: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":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-11-05 01:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:52: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-05 01:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218775808001,"66":25941,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3802164014034196480},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 01:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218775808001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:52:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:52:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 01:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034196480,"description":"Unknown IO ID 45"} 
[2026-11-05 01:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218775808001,"power":25941,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034196480}} 
[2026-11-05 01:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":229798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:52:16] local.INFO: GPS data processed {"connection_id":229798,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:52:16] local.INFO: Acknowledgment sent {"connection_id":229798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:52:21] local.INFO: TCP Data received {"connection_id":229798,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8389960012d34c94006aa46e00008006c25..."} 
[2026-11-05 01:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8389960012d34c94006aa46e00008006c25..."} 
[2026-11-05 01:52:21] local.INFO: Processing buffer {"connection_id":229798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8389960012d34c94006aa46e00008006c25..."} 
[2026-11-05 01:52:21] local.INFO: Packet analysis {"connection_id":229798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a838"} 
[2026-11-05 01:52:21] local.INFO: Extracted packet for processing {"connection_id":229798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a838"} 
[2026-11-05 01:52:21] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218775808001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 01:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034196480,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793823644000,"timestamp_ms":1793823644000,"timestamp_seconds":1793823644,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8389960"} 
[2026-11-05 01: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-05 01:52: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-05 01: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":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-11-05 01:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218775808001,"66":25941,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3802164014034196480},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 01:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218775808001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:52:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:52:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 01:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034196480,"description":"Unknown IO ID 45"} 
[2026-11-05 01:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218775808001,"power":25941,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034196480}} 
[2026-11-05 01:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":229798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:52:21] local.INFO: GPS data processed {"connection_id":229798,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:52:21] local.INFO: Acknowledgment sent {"connection_id":229798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:53:05] local.INFO: TCP Data received {"connection_id":229799,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:53:05] local.INFO: Processing buffer {"connection_id":229799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:53:05] local.INFO: IMEI packet received {"connection_id":229799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":229799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:53:10] local.INFO: TCP Data received {"connection_id":229799,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:53:10] local.INFO: Processing buffer {"connection_id":229799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:53:10] local.INFO: IMEI packet received {"connection_id":229799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":229799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:53:11] local.INFO: TCP Data received {"connection_id":229799,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8389960012d34c94006aa46e00008006c25..."} 
[2026-11-05 01:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8389960012d34c94006aa46e00008006c25..."} 
[2026-11-05 01:53:11] local.INFO: Processing buffer {"connection_id":229799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8389960012d34c94006aa46e00008006c25..."} 
[2026-11-05 01:53:11] local.INFO: Packet analysis {"connection_id":229799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a838"} 
[2026-11-05 01:53:11] local.INFO: Extracted packet for processing {"connection_id":229799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a838"} 
[2026-11-05 01:53:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218775808001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 01:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034196480,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793823644000,"timestamp_ms":1793823644000,"timestamp_seconds":1793823644,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8389960"} 
[2026-11-05 01: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-05 01:53: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-05 01: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":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-11-05 01:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218775808001,"66":25941,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3802164014034196480},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 01:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218775808001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:53:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:53:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 01:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034196480,"description":"Unknown IO ID 45"} 
[2026-11-05 01:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218775808001,"power":25941,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034196480}} 
[2026-11-05 01:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":229799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:53:11] local.INFO: GPS data processed {"connection_id":229799,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:53:11] local.INFO: Acknowledgment sent {"connection_id":229799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:53:43] local.INFO: TCP Data received {"connection_id":229799,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8389960012d34c94006aa46e00008006c25..."} 
[2026-11-05 01:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8389960012d34c94006aa46e00008006c25..."} 
[2026-11-05 01:53:43] local.INFO: Processing buffer {"connection_id":229799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8389960012d34c94006aa46e00008006c25..."} 
[2026-11-05 01:53:43] local.INFO: Packet analysis {"connection_id":229799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a838"} 
[2026-11-05 01:53:43] local.INFO: Extracted packet for processing {"connection_id":229799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a838"} 
[2026-11-05 01:53:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218775808001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 01:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034196480,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793823644000,"timestamp_ms":1793823644000,"timestamp_seconds":1793823644,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8389960"} 
[2026-11-05 01: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-05 01:53: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-05 01: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":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-11-05 01:53:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218775808001,"66":25941,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3802164014034196480},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 01:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218775808001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:53:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:53:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 01:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034196480,"description":"Unknown IO ID 45"} 
[2026-11-05 01:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218775808001,"power":25941,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034196480}} 
[2026-11-05 01:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":229799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:53:43] local.INFO: GPS data processed {"connection_id":229799,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:53:43] local.INFO: Acknowledgment sent {"connection_id":229799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:54:06] local.INFO: TCP Data received {"connection_id":231107,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:54:06] local.INFO: Processing buffer {"connection_id":231107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:54:06] local.INFO: IMEI packet received {"connection_id":231107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":231107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:54:10] local.INFO: TCP Data received {"connection_id":231107,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:54:10] local.INFO: Processing buffer {"connection_id":231107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:54:10] local.INFO: IMEI packet received {"connection_id":231107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":231107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:54:11] local.INFO: TCP Data received {"connection_id":231107,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8389960012d34c94006aa46e00008006c25..."} 
[2026-11-05 01:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8389960012d34c94006aa46e00008006c25..."} 
[2026-11-05 01:54:11] local.INFO: Processing buffer {"connection_id":231107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8389960012d34c94006aa46e00008006c25..."} 
[2026-11-05 01:54:11] local.INFO: Packet analysis {"connection_id":231107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a838"} 
[2026-11-05 01:54:11] local.INFO: Extracted packet for processing {"connection_id":231107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a838"} 
[2026-11-05 01:54:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218775808001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 01:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034196480,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793823644000,"timestamp_ms":1793823644000,"timestamp_seconds":1793823644,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8389960"} 
[2026-11-05 01: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-05 01:54: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-05 01: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":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-11-05 01:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218775808001,"66":25941,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3802164014034196480},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 01:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218775808001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:54:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:54:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 01:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034196480,"description":"Unknown IO ID 45"} 
[2026-11-05 01:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218775808001,"power":25941,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034196480}} 
[2026-11-05 01:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":231107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:54:11] local.INFO: GPS data processed {"connection_id":231107,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:54:11] local.INFO: Acknowledgment sent {"connection_id":231107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:54:42] local.INFO: TCP Data received {"connection_id":231107,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8389960012d34c94006aa46e00008006c25..."} 
[2026-11-05 01:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8389960012d34c94006aa46e00008006c25..."} 
[2026-11-05 01:54:42] local.INFO: Processing buffer {"connection_id":231107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8389960012d34c94006aa46e00008006c25..."} 
[2026-11-05 01:54:42] local.INFO: Packet analysis {"connection_id":231107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a838"} 
[2026-11-05 01:54:42] local.INFO: Extracted packet for processing {"connection_id":231107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a838"} 
[2026-11-05 01:54:42] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 01:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 01:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218775808001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 01:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034196480,"note":"Value kept but may cause issues"} 
[2026-11-05 01:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793823644000,"timestamp_ms":1793823644000,"timestamp_seconds":1793823644,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8389960"} 
[2026-11-05 01:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 01:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 01:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-11-05 01:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 01:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 01:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:54: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-05 01:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218775808001,"66":25941,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3802164014034196480},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 01:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218775808001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:54:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:54:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 01:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034196480,"description":"Unknown IO ID 45"} 
[2026-11-05 01:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218775808001,"power":25941,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034196480}} 
[2026-11-05 01:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":231107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:54:42] local.INFO: GPS data processed {"connection_id":231107,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:54:42] local.INFO: Acknowledgment sent {"connection_id":231107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:55:05] local.INFO: TCP Data received {"connection_id":229800,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:55:05] local.INFO: Processing buffer {"connection_id":229800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:55:05] local.INFO: IMEI packet received {"connection_id":229800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":229800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:55:10] local.INFO: TCP Data received {"connection_id":229800,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:55:10] local.INFO: Processing buffer {"connection_id":229800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:55:10] local.INFO: IMEI packet received {"connection_id":229800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":229800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:55:11] local.INFO: TCP Data received {"connection_id":229800,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8389960012d34c94006aa46e00008006c25..."} 
[2026-11-05 01:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8389960012d34c94006aa46e00008006c25..."} 
[2026-11-05 01:55:11] local.INFO: Processing buffer {"connection_id":229800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8389960012d34c94006aa46e00008006c25..."} 
[2026-11-05 01:55:11] local.INFO: Packet analysis {"connection_id":229800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a838"} 
[2026-11-05 01:55:11] local.INFO: Extracted packet for processing {"connection_id":229800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a838"} 
[2026-11-05 01:55:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 01:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 01:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218775808001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 01:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034196480,"note":"Value kept but may cause issues"} 
[2026-11-05 01:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793823644000,"timestamp_ms":1793823644000,"timestamp_seconds":1793823644,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8389960"} 
[2026-11-05 01: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-05 01:55: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-05 01:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-11-05 01:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:55: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-05 01:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218775808001,"66":25941,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3802164014034196480},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 01:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218775808001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:55:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:55:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 01:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034196480,"description":"Unknown IO ID 45"} 
[2026-11-05 01:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218775808001,"power":25941,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034196480}} 
[2026-11-05 01:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":229800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:55:11] local.INFO: GPS data processed {"connection_id":229800,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:55:11] local.INFO: Acknowledgment sent {"connection_id":229800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:55:43] local.INFO: TCP Data received {"connection_id":229800,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8389960012d34c94006aa46e00008006c25..."} 
[2026-11-05 01:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8389960012d34c94006aa46e00008006c25..."} 
[2026-11-05 01:55:43] local.INFO: Processing buffer {"connection_id":229800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8389960012d34c94006aa46e00008006c25..."} 
[2026-11-05 01:55:43] local.INFO: Packet analysis {"connection_id":229800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a838"} 
[2026-11-05 01:55:43] local.INFO: Extracted packet for processing {"connection_id":229800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a838"} 
[2026-11-05 01:55:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218775808001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 01:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034196480,"note":"Value kept but may cause issues"} 
[2026-11-05 01:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793823644000,"timestamp_ms":1793823644000,"timestamp_seconds":1793823644,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8389960"} 
[2026-11-05 01: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-05 01: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-05 01: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":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-11-05 01:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:55: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-05 01:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218775808001,"66":25941,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3802164014034196480},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 01:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218775808001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:55:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:55:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 01:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034196480,"description":"Unknown IO ID 45"} 
[2026-11-05 01:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218775808001,"power":25941,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034196480}} 
[2026-11-05 01:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":229800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:55:43] local.INFO: GPS data processed {"connection_id":229800,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:55:43] local.INFO: Acknowledgment sent {"connection_id":229800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:56:05] local.INFO: TCP Data received {"connection_id":229802,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:56:05] local.INFO: Processing buffer {"connection_id":229802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:56:05] local.INFO: IMEI packet received {"connection_id":229802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":229802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:56:10] local.INFO: TCP Data received {"connection_id":229802,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:56:10] local.INFO: Processing buffer {"connection_id":229802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:56:10] local.INFO: IMEI packet received {"connection_id":229802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":229802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:56:11] local.INFO: TCP Data received {"connection_id":229802,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8389960012d34c94006aa46e00008006c25..."} 
[2026-11-05 01:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8389960012d34c94006aa46e00008006c25..."} 
[2026-11-05 01:56:11] local.INFO: Processing buffer {"connection_id":229802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8389960012d34c94006aa46e00008006c25..."} 
[2026-11-05 01:56:11] local.INFO: Packet analysis {"connection_id":229802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a838"} 
[2026-11-05 01:56:11] local.INFO: Extracted packet for processing {"connection_id":229802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a838"} 
[2026-11-05 01:56:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 01:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 01:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218775808001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 01:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034196480,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793823644000,"timestamp_ms":1793823644000,"timestamp_seconds":1793823644,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8389960"} 
[2026-11-05 01:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 01:56: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-05 01:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-11-05 01:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 01:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 01:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218775808001,"66":25941,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3802164014034196480},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 01:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218775808001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:56:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:56:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 01:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034196480,"description":"Unknown IO ID 45"} 
[2026-11-05 01:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218775808001,"power":25941,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034196480}} 
[2026-11-05 01:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":229802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:56:11] local.INFO: GPS data processed {"connection_id":229802,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:56:11] local.INFO: Acknowledgment sent {"connection_id":229802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:56:42] local.INFO: TCP Data received {"connection_id":229802,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a83d3128012d34c94006aa46e00008006c1d..."} 
[2026-11-05 01:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a83d3128012d34c94006aa46e00008006c1d..."} 
[2026-11-05 01:56:42] local.INFO: Processing buffer {"connection_id":229802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a83d3128012d34c94006aa46e00008006c1d..."} 
[2026-11-05 01:56:42] local.INFO: Packet analysis {"connection_id":229802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a83d"} 
[2026-11-05 01:56:42] local.INFO: Extracted packet for processing {"connection_id":229802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a83d"} 
[2026-11-05 01:56:42] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":29,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 01:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 01:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218852864001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 01:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 01:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793823945000,"timestamp_ms":1793823945000,"timestamp_seconds":1793823945,"priority":1,"record_length":96,"hex_timestamp":"000001a1a83d3128"} 
[2026-11-05 01:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 01:56: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-05 01:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-11-05 01:56:42] 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-05 01:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 01:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 01:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:56: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-05 01:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218852864001,"66":25756,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 01:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218852864001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:56:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:56:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 01:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 01:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218852864001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 01:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":229802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:56:42] local.INFO: GPS data processed {"connection_id":229802,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:56:42] local.INFO: Acknowledgment sent {"connection_id":229802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:57:05] local.INFO: TCP Data received {"connection_id":229803,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:57:05] local.INFO: Processing buffer {"connection_id":229803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:57:05] local.INFO: IMEI packet received {"connection_id":229803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":229803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:57:10] local.INFO: TCP Data received {"connection_id":229803,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:57:10] local.INFO: Processing buffer {"connection_id":229803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:57:10] local.INFO: IMEI packet received {"connection_id":229803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":229803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:57:11] local.INFO: TCP Data received {"connection_id":229803,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a83d3128012d34c94006aa46e00008006c1d..."} 
[2026-11-05 01:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a83d3128012d34c94006aa46e00008006c1d..."} 
[2026-11-05 01:57:11] local.INFO: Processing buffer {"connection_id":229803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a83d3128012d34c94006aa46e00008006c1d..."} 
[2026-11-05 01:57:11] local.INFO: Packet analysis {"connection_id":229803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a83d"} 
[2026-11-05 01:57:11] local.INFO: Extracted packet for processing {"connection_id":229803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a83d"} 
[2026-11-05 01:57:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":29,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218852864001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 01:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 01:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793823945000,"timestamp_ms":1793823945000,"timestamp_seconds":1793823945,"priority":1,"record_length":96,"hex_timestamp":"000001a1a83d3128"} 
[2026-11-05 01: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-05 01:57: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-05 01: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-11-05 01:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218852864001,"66":25756,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 01:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218852864001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:57:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:57:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 01:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 01:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218852864001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 01:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":229803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:57:11] local.INFO: GPS data processed {"connection_id":229803,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:57:11] local.INFO: Acknowledgment sent {"connection_id":229803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:57:32] local.INFO: TCP Data received {"connection_id":232993,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232993,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:57:32] local.INFO: Processing buffer {"connection_id":232993,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:57:32] local.INFO: IMEI packet received {"connection_id":232993,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 01:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":232993,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:57:43] local.INFO: TCP Data received {"connection_id":229803,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a83d3128012d34c94006aa46e00008006c1d..."} 
[2026-11-05 01:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a83d3128012d34c94006aa46e00008006c1d..."} 
[2026-11-05 01:57:43] local.INFO: Processing buffer {"connection_id":229803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a83d3128012d34c94006aa46e00008006c1d..."} 
[2026-11-05 01:57:43] local.INFO: Packet analysis {"connection_id":229803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a83d"} 
[2026-11-05 01:57:43] local.INFO: Extracted packet for processing {"connection_id":229803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a83d"} 
[2026-11-05 01:57:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":29,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218852864001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 01:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793823945000,"timestamp_ms":1793823945000,"timestamp_seconds":1793823945,"priority":1,"record_length":96,"hex_timestamp":"000001a1a83d3128"} 
[2026-11-05 01: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-05 01:57: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-05 01: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-11-05 01:57: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-05 01: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-05 01: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-05 01:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218852864001,"66":25756,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 01:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218852864001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:57:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:57:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 01:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 01:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218852864001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 01:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":229803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:57:43] local.INFO: GPS data processed {"connection_id":229803,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:57:43] local.INFO: Acknowledgment sent {"connection_id":229803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:58:05] local.INFO: TCP Data received {"connection_id":229317,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:58:05] local.INFO: Processing buffer {"connection_id":229317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:58:05] local.INFO: IMEI packet received {"connection_id":229317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":229317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:58:08] local.INFO: TCP Data received {"connection_id":232994,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:58:08] local.INFO: Processing buffer {"connection_id":232994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 01:58:08] local.INFO: IMEI packet received {"connection_id":232994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 01:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":232994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:58:10] local.INFO: TCP Data received {"connection_id":229317,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:58:10] local.INFO: Processing buffer {"connection_id":229317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:58:10] local.INFO: IMEI packet received {"connection_id":229317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":229317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:58:11] local.INFO: TCP Data received {"connection_id":229317,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a83d3128012d34c94006aa46e00008006c1d..."} 
[2026-11-05 01:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a83d3128012d34c94006aa46e00008006c1d..."} 
[2026-11-05 01:58:11] local.INFO: Processing buffer {"connection_id":229317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a83d3128012d34c94006aa46e00008006c1d..."} 
[2026-11-05 01:58:11] local.INFO: Packet analysis {"connection_id":229317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a83d"} 
[2026-11-05 01:58:11] local.INFO: Extracted packet for processing {"connection_id":229317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a83d"} 
[2026-11-05 01:58:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":29,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218852864001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 01:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 01:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793823945000,"timestamp_ms":1793823945000,"timestamp_seconds":1793823945,"priority":1,"record_length":96,"hex_timestamp":"000001a1a83d3128"} 
[2026-11-05 01: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-05 01:58: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-05 01: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-11-05 01:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 01: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-05 01: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-05 01:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:58: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-05 01:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218852864001,"66":25756,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 01:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218852864001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:58:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:58:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 01:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 01:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218852864001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 01:58:11] 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":61171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:58:11] local.INFO: GPS data processed {"connection_id":229317,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:58:11] local.INFO: Acknowledgment sent {"connection_id":229317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:58:42] local.INFO: TCP Data received {"connection_id":229317,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a83d3128012d34c94006aa46e00008006c1d..."} 
[2026-11-05 01:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a83d3128012d34c94006aa46e00008006c1d..."} 
[2026-11-05 01:58:42] local.INFO: Processing buffer {"connection_id":229317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a83d3128012d34c94006aa46e00008006c1d..."} 
[2026-11-05 01:58:42] local.INFO: Packet analysis {"connection_id":229317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a83d"} 
[2026-11-05 01:58:42] local.INFO: Extracted packet for processing {"connection_id":229317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a83d"} 
[2026-11-05 01:58:42] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":29,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 01:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 01:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218852864001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 01:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 01:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 01:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793823945000,"timestamp_ms":1793823945000,"timestamp_seconds":1793823945,"priority":1,"record_length":96,"hex_timestamp":"000001a1a83d3128"} 
[2026-11-05 01:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 01:58: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-05 01:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-11-05 01:58:42] 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-05 01:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 01:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 01:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:58: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-05 01:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218852864001,"66":25756,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 01:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218852864001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:58:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:58:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 01:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 01:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218852864001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 01:58:42] 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":61172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:58:42] local.INFO: GPS data processed {"connection_id":229317,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:58:42] local.INFO: Acknowledgment sent {"connection_id":229317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:59:05] local.INFO: TCP Data received {"connection_id":232995,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:59:05] local.INFO: Processing buffer {"connection_id":232995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:59:05] local.INFO: IMEI packet received {"connection_id":232995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 01:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":232995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 01:59:10] local.INFO: TCP Data received {"connection_id":232995,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:59:10] local.INFO: Processing buffer {"connection_id":232995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 01:59:10] local.INFO: IMEI packet received {"connection_id":232995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 01:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":232995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 01:59:12] local.INFO: TCP Data received {"connection_id":232995,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a83d3128012d34c94006aa46e00008006c1d..."} 
[2026-11-05 01:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a83d3128012d34c94006aa46e00008006c1d..."} 
[2026-11-05 01:59:12] local.INFO: Processing buffer {"connection_id":232995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a83d3128012d34c94006aa46e00008006c1d..."} 
[2026-11-05 01:59:12] local.INFO: Packet analysis {"connection_id":232995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a83d"} 
[2026-11-05 01:59:12] local.INFO: Extracted packet for processing {"connection_id":232995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a83d"} 
[2026-11-05 01:59:12] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":29,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 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-05 01:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218852864001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 01:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793823945000,"timestamp_ms":1793823945000,"timestamp_seconds":1793823945,"priority":1,"record_length":96,"hex_timestamp":"000001a1a83d3128"} 
[2026-11-05 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-05 01: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-05 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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-11-05 01:59: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-05 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-05 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-05 01:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218852864001,"66":25756,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 01:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218852864001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:59:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:59:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 01:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 01:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218852864001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 01:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":232995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:59:12] local.INFO: GPS data processed {"connection_id":232995,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:59:12] local.INFO: Acknowledgment sent {"connection_id":232995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 01:59:43] local.INFO: TCP Data received {"connection_id":232995,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a83d3128012d34c94006aa46e00008006c1d..."} 
[2026-11-05 01:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a83d3128012d34c94006aa46e00008006c1d..."} 
[2026-11-05 01:59:43] local.INFO: Processing buffer {"connection_id":232995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a83d3128012d34c94006aa46e00008006c1d..."} 
[2026-11-05 01:59:43] local.INFO: Packet analysis {"connection_id":232995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a83d"} 
[2026-11-05 01:59:43] local.INFO: Extracted packet for processing {"connection_id":232995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a83d"} 
[2026-11-05 01:59:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":29,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 01: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-05 01:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218852864001,"note":"Value kept but may cause issues"} 
[2026-11-05 01:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 01:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 01: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-05 01:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793823945000,"timestamp_ms":1793823945000,"timestamp_seconds":1793823945,"priority":1,"record_length":96,"hex_timestamp":"000001a1a83d3128"} 
[2026-11-05 01: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-05 01:59: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-05 01: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":85,"data_length":795,"current_offset":136} 
[2026-11-05 01:59: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-05 01: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-05 01: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-05 01:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 01:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 01:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 01: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-05 01:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 01:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 01:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218852864001,"66":25756,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 01:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 01:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 01:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218852864001,"description":"Unknown IO ID 0"} 
[2026-11-05 01:59:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 01:59:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 01:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 01:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 01:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218852864001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 01:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":232995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 01:59:43] local.INFO: GPS data processed {"connection_id":232995,"processed":1,"errors":0,"total":1} 
[2026-11-05 01:59:43] local.INFO: Acknowledgment sent {"connection_id":232995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:00:05] local.INFO: TCP Data received {"connection_id":231109,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:00:05] local.INFO: Processing buffer {"connection_id":231109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:00:05] local.INFO: IMEI packet received {"connection_id":231109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":231109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:00:10] local.INFO: TCP Data received {"connection_id":231109,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:00:10] local.INFO: Processing buffer {"connection_id":231109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:00:10] local.INFO: IMEI packet received {"connection_id":231109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":231109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:00:11] local.INFO: TCP Data received {"connection_id":231109,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a83d3128012d34c94006aa46e00008006c1d..."} 
[2026-11-05 02:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a83d3128012d34c94006aa46e00008006c1d..."} 
[2026-11-05 02:00:11] local.INFO: Processing buffer {"connection_id":231109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a83d3128012d34c94006aa46e00008006c1d..."} 
[2026-11-05 02:00:11] local.INFO: Packet analysis {"connection_id":231109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a83d"} 
[2026-11-05 02:00:11] local.INFO: Extracted packet for processing {"connection_id":231109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a83d"} 
[2026-11-05 02:00:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":29,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218852864001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793823945000,"timestamp_ms":1793823945000,"timestamp_seconds":1793823945,"priority":1,"record_length":96,"hex_timestamp":"000001a1a83d3128"} 
[2026-11-05 02: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-05 02:00: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-05 02: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-11-05 02:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02: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-05 02: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-05 02:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218852864001,"66":25756,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218852864001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:00:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:00:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218852864001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":231109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:00:11] local.INFO: GPS data processed {"connection_id":231109,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:00:11] local.INFO: Acknowledgment sent {"connection_id":231109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:00:43] local.INFO: TCP Data received {"connection_id":231109,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a83d3128012d34c94006aa46e00008006c1d..."} 
[2026-11-05 02:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a83d3128012d34c94006aa46e00008006c1d..."} 
[2026-11-05 02:00:43] local.INFO: Processing buffer {"connection_id":231109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a83d3128012d34c94006aa46e00008006c1d..."} 
[2026-11-05 02:00:43] local.INFO: Packet analysis {"connection_id":231109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a83d"} 
[2026-11-05 02:00:43] local.INFO: Extracted packet for processing {"connection_id":231109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a83d"} 
[2026-11-05 02:00:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":29,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218852864001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:00: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-05 02:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793823945000,"timestamp_ms":1793823945000,"timestamp_seconds":1793823945,"priority":1,"record_length":96,"hex_timestamp":"000001a1a83d3128"} 
[2026-11-05 02: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-05 02:00: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-05 02: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-11-05 02:00: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-05 02: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-05 02: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-05 02:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218852864001,"66":25756,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218852864001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:00:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:00:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218852864001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":231109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:00:43] local.INFO: GPS data processed {"connection_id":231109,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:00:43] local.INFO: Acknowledgment sent {"connection_id":231109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:01:05] local.INFO: TCP Data received {"connection_id":232997,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:01:05] local.INFO: Processing buffer {"connection_id":232997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:01:05] local.INFO: IMEI packet received {"connection_id":232997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":232997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:01:10] local.INFO: TCP Data received {"connection_id":232997,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:01:10] local.INFO: Processing buffer {"connection_id":232997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:01:10] local.INFO: IMEI packet received {"connection_id":232997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":232997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:01:11] local.INFO: TCP Data received {"connection_id":232997,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a83d3128012d34c94006aa46e00008006c1d..."} 
[2026-11-05 02:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a83d3128012d34c94006aa46e00008006c1d..."} 
[2026-11-05 02:01:11] local.INFO: Processing buffer {"connection_id":232997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a83d3128012d34c94006aa46e00008006c1d..."} 
[2026-11-05 02:01:11] local.INFO: Packet analysis {"connection_id":232997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a83d"} 
[2026-11-05 02:01:11] local.INFO: Extracted packet for processing {"connection_id":232997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a83d"} 
[2026-11-05 02:01:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":29,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218852864001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793823945000,"timestamp_ms":1793823945000,"timestamp_seconds":1793823945,"priority":1,"record_length":96,"hex_timestamp":"000001a1a83d3128"} 
[2026-11-05 02: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-05 02:01: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-05 02: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-11-05 02:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02: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-05 02: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-05 02:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218852864001,"66":25756,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218852864001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:01:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:01:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218852864001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":232997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:01:11] local.INFO: GPS data processed {"connection_id":232997,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:01:11] local.INFO: Acknowledgment sent {"connection_id":232997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:01:42] local.INFO: TCP Data received {"connection_id":232997,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a841c8f0012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a841c8f0012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:01:42] local.INFO: Processing buffer {"connection_id":232997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a841c8f0012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:01:42] local.INFO: Packet analysis {"connection_id":232997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a841"} 
[2026-11-05 02:01:42] local.INFO: Extracted packet for processing {"connection_id":232997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a841"} 
[2026-11-05 02:01:42] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218929920001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793824246000,"timestamp_ms":1793824246000,"timestamp_seconds":1793824246,"priority":1,"record_length":96,"hex_timestamp":"000001a1a841c8f0"} 
[2026-11-05 02:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02: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-05 02:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 02:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":232997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":232997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":232997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218929920001,"66":25647,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218929920001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:01:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:01:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218929920001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":232997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:01:42] local.INFO: GPS data processed {"connection_id":232997,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:01:42] local.INFO: Acknowledgment sent {"connection_id":232997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:02:05] local.INFO: TCP Data received {"connection_id":232999,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:02:05] local.INFO: Processing buffer {"connection_id":232999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:02:05] local.INFO: IMEI packet received {"connection_id":232999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":232999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:02:10] local.INFO: TCP Data received {"connection_id":232999,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:02:10] local.INFO: Processing buffer {"connection_id":232999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:02:10] local.INFO: IMEI packet received {"connection_id":232999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":232999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:02:11] local.INFO: TCP Data received {"connection_id":232999,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a841c8f0012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a841c8f0012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:02:11] local.INFO: Processing buffer {"connection_id":232999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a841c8f0012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:02:11] local.INFO: Packet analysis {"connection_id":232999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a841"} 
[2026-11-05 02:02:11] local.INFO: Extracted packet for processing {"connection_id":232999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a841"} 
[2026-11-05 02:02:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218929920001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793824246000,"timestamp_ms":1793824246000,"timestamp_seconds":1793824246,"priority":1,"record_length":96,"hex_timestamp":"000001a1a841c8f0"} 
[2026-11-05 02:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02:02: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-05 02:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 02:02:11] 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-05 02:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:02: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-05 02:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218929920001,"66":25647,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218929920001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:02:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:02:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218929920001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":232999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:02:11] local.INFO: GPS data processed {"connection_id":232999,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:02:11] local.INFO: Acknowledgment sent {"connection_id":232999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:02:42] local.INFO: TCP Data received {"connection_id":232999,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a841c8f0012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a841c8f0012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:02:42] local.INFO: Processing buffer {"connection_id":232999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a841c8f0012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:02:42] local.INFO: Packet analysis {"connection_id":232999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a841"} 
[2026-11-05 02:02:42] local.INFO: Extracted packet for processing {"connection_id":232999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a841"} 
[2026-11-05 02:02:42] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218929920001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793824246000,"timestamp_ms":1793824246000,"timestamp_seconds":1793824246,"priority":1,"record_length":96,"hex_timestamp":"000001a1a841c8f0"} 
[2026-11-05 02:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02:02: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-05 02:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 02:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":232999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":232999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":232999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:02: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-05 02:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218929920001,"66":25647,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218929920001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:02:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:02:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218929920001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":232999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:02:42] local.INFO: GPS data processed {"connection_id":232999,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:02:42] local.INFO: Acknowledgment sent {"connection_id":232999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:03:05] local.INFO: TCP Data received {"connection_id":229806,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:03:05] local.INFO: Processing buffer {"connection_id":229806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:03:05] local.INFO: IMEI packet received {"connection_id":229806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":229806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:03:10] local.INFO: TCP Data received {"connection_id":229806,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:03:10] local.INFO: Processing buffer {"connection_id":229806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:03:10] local.INFO: IMEI packet received {"connection_id":229806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":229806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:03:11] local.INFO: TCP Data received {"connection_id":229806,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a841c8f0012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a841c8f0012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:03:11] local.INFO: Processing buffer {"connection_id":229806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a841c8f0012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:03:11] local.INFO: Packet analysis {"connection_id":229806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a841"} 
[2026-11-05 02:03:11] local.INFO: Extracted packet for processing {"connection_id":229806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a841"} 
[2026-11-05 02:03:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218929920001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793824246000,"timestamp_ms":1793824246000,"timestamp_seconds":1793824246,"priority":1,"record_length":96,"hex_timestamp":"000001a1a841c8f0"} 
[2026-11-05 02: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-05 02:03: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-05 02: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 02:03:11] 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-05 02: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-05 02: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-05 02:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:03: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-05 02:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218929920001,"66":25647,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218929920001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:03:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:03:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218929920001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":229806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:03:11] local.INFO: GPS data processed {"connection_id":229806,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:03:11] local.INFO: Acknowledgment sent {"connection_id":229806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:03:42] local.INFO: TCP Data received {"connection_id":229807,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229807,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:03:42] local.INFO: Processing buffer {"connection_id":229807,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:03:42] local.INFO: IMEI packet received {"connection_id":229807,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 02:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":229807,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:03:43] local.INFO: TCP Data received {"connection_id":229806,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a841c8f0012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a841c8f0012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:03:43] local.INFO: Processing buffer {"connection_id":229806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a841c8f0012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:03:43] local.INFO: Packet analysis {"connection_id":229806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a841"} 
[2026-11-05 02:03:43] local.INFO: Extracted packet for processing {"connection_id":229806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a841"} 
[2026-11-05 02:03:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218929920001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:03: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-05 02:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793824246000,"timestamp_ms":1793824246000,"timestamp_seconds":1793824246,"priority":1,"record_length":96,"hex_timestamp":"000001a1a841c8f0"} 
[2026-11-05 02: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-05 02: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-05 02: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 02:03: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-05 02: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-05 02: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-05 02:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218929920001,"66":25647,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218929920001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:03:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:03:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218929920001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":229806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:03:43] local.INFO: GPS data processed {"connection_id":229806,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:03:43] local.INFO: Acknowledgment sent {"connection_id":229806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:04:07] local.INFO: TCP Data received {"connection_id":233000,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233000,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:04:07] local.INFO: Processing buffer {"connection_id":233000,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:04:07] local.INFO: IMEI packet received {"connection_id":233000,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 02:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":233000,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:04:10] local.INFO: TCP Data received {"connection_id":231110,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:04:10] local.INFO: Processing buffer {"connection_id":231110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:04:10] local.INFO: IMEI packet received {"connection_id":231110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":231110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:04:15] local.INFO: TCP Data received {"connection_id":231110,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:04:15] local.INFO: Processing buffer {"connection_id":231110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:04:15] local.INFO: IMEI packet received {"connection_id":231110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":231110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:04:16] local.INFO: TCP Data received {"connection_id":231110,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a841c8f0012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a841c8f0012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:04:16] local.INFO: Processing buffer {"connection_id":231110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a841c8f0012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:04:16] local.INFO: Packet analysis {"connection_id":231110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a841"} 
[2026-11-05 02:04:16] local.INFO: Extracted packet for processing {"connection_id":231110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a841"} 
[2026-11-05 02:04:16] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218929920001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:04:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793824246000,"timestamp_ms":1793824246000,"timestamp_seconds":1793824246,"priority":1,"record_length":96,"hex_timestamp":"000001a1a841c8f0"} 
[2026-11-05 02: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-05 02: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-05 02: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-05 02: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-05 02: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-05 02: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-05 02:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":231110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":231110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":231110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:04: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-05 02:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218929920001,"66":25647,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218929920001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:04:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:04:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218929920001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":231110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:04:16] local.INFO: GPS data processed {"connection_id":231110,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:04:16] local.INFO: Acknowledgment sent {"connection_id":231110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:04:21] local.INFO: TCP Data received {"connection_id":231110,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a841c8f0012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a841c8f0012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:04:21] local.INFO: Processing buffer {"connection_id":231110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a841c8f0012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:04:21] local.INFO: Packet analysis {"connection_id":231110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a841"} 
[2026-11-05 02:04:21] local.INFO: Extracted packet for processing {"connection_id":231110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a841"} 
[2026-11-05 02:04:21] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218929920001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:04: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-05 02:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793824246000,"timestamp_ms":1793824246000,"timestamp_seconds":1793824246,"priority":1,"record_length":96,"hex_timestamp":"000001a1a841c8f0"} 
[2026-11-05 02: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-05 02:04: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-05 02: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 02:04: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-05 02: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-05 02: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-05 02:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":231110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":231110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":231110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218929920001,"66":25647,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218929920001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:04:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:04:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218929920001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":231110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:04:21] local.INFO: GPS data processed {"connection_id":231110,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:04:21] local.INFO: Acknowledgment sent {"connection_id":231110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:05:05] local.INFO: TCP Data received {"connection_id":229808,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:05:05] local.INFO: Processing buffer {"connection_id":229808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:05:05] local.INFO: IMEI packet received {"connection_id":229808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":229808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:05:10] local.INFO: TCP Data received {"connection_id":229808,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:05:10] local.INFO: Processing buffer {"connection_id":229808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:05:10] local.INFO: IMEI packet received {"connection_id":229808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":229808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:05:11] local.INFO: TCP Data received {"connection_id":229808,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a841c8f0012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a841c8f0012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:05:11] local.INFO: Processing buffer {"connection_id":229808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a841c8f0012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:05:11] local.INFO: Packet analysis {"connection_id":229808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a841"} 
[2026-11-05 02:05:11] local.INFO: Extracted packet for processing {"connection_id":229808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a841"} 
[2026-11-05 02:05:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218929920001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793824246000,"timestamp_ms":1793824246000,"timestamp_seconds":1793824246,"priority":1,"record_length":96,"hex_timestamp":"000001a1a841c8f0"} 
[2026-11-05 02: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-05 02: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-05 02: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 02:05:11] 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-05 02: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-05 02: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-05 02:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218929920001,"66":25647,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218929920001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:05:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:05:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218929920001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":229808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:05:11] local.INFO: GPS data processed {"connection_id":229808,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:05:11] local.INFO: Acknowledgment sent {"connection_id":229808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:05:43] local.INFO: TCP Data received {"connection_id":229808,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a841c8f0012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a841c8f0012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:05:43] local.INFO: Processing buffer {"connection_id":229808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a841c8f0012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:05:43] local.INFO: Packet analysis {"connection_id":229808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a841"} 
[2026-11-05 02:05:43] local.INFO: Extracted packet for processing {"connection_id":229808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a841"} 
[2026-11-05 02:05:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218929920001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:05: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-05 02:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793824246000,"timestamp_ms":1793824246000,"timestamp_seconds":1793824246,"priority":1,"record_length":96,"hex_timestamp":"000001a1a841c8f0"} 
[2026-11-05 02: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-05 02:05: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-05 02: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-05 02: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-05 02: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-05 02: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-05 02:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:05: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-05 02:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218929920001,"66":25647,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218929920001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:05:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:05:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218929920001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":229808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:05:43] local.INFO: GPS data processed {"connection_id":229808,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:05:43] local.INFO: Acknowledgment sent {"connection_id":229808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:06:05] local.INFO: TCP Data received {"connection_id":229318,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:06:05] local.INFO: Processing buffer {"connection_id":229318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:06:05] local.INFO: IMEI packet received {"connection_id":229318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":229318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:06:10] local.INFO: TCP Data received {"connection_id":229318,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:06:10] local.INFO: Processing buffer {"connection_id":229318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:06:10] local.INFO: IMEI packet received {"connection_id":229318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":229318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:06:13] local.INFO: TCP Data received {"connection_id":229318,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a841c8f0012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a841c8f0012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:06:13] local.INFO: Processing buffer {"connection_id":229318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a841c8f0012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:06:13] local.INFO: Packet analysis {"connection_id":229318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a841"} 
[2026-11-05 02:06:13] local.INFO: Extracted packet for processing {"connection_id":229318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a841"} 
[2026-11-05 02:06:13] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218929920001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793824246000,"timestamp_ms":1793824246000,"timestamp_seconds":1793824246,"priority":1,"record_length":96,"hex_timestamp":"000001a1a841c8f0"} 
[2026-11-05 02:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02:06: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-05 02:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 02:06: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-05 02:06:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218929920001,"66":25647,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218929920001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:06:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:06:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218929920001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:06:13] 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":61187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:06:13] local.INFO: GPS data processed {"connection_id":229318,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:06:13] local.INFO: Acknowledgment sent {"connection_id":229318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:06:45] local.INFO: TCP Data received {"connection_id":229318,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a84660b8012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a84660b8012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:06:45] local.INFO: Processing buffer {"connection_id":229318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a84660b8012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:06:45] local.INFO: Packet analysis {"connection_id":229318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a846"} 
[2026-11-05 02:06:45] local.INFO: Extracted packet for processing {"connection_id":229318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a846"} 
[2026-11-05 02:06:45] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219006976001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793824547000,"timestamp_ms":1793824547000,"timestamp_seconds":1793824547,"priority":1,"record_length":96,"hex_timestamp":"000001a1a84660b8"} 
[2026-11-05 02: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-05 02: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-05 02:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-05 02:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02: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-05 02: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-05 02:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219006976001,"66":25582,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219006976001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:06:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:06:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219006976001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:06:45] 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":61188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:06:45] local.INFO: GPS data processed {"connection_id":229318,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:06:45] local.INFO: Acknowledgment sent {"connection_id":229318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:07:05] local.INFO: TCP Data received {"connection_id":233001,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:07:05] local.INFO: Processing buffer {"connection_id":233001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:07:05] local.INFO: IMEI packet received {"connection_id":233001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":233001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:07:10] local.INFO: TCP Data received {"connection_id":233001,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:07:10] local.INFO: Processing buffer {"connection_id":233001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:07:10] local.INFO: IMEI packet received {"connection_id":233001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":233001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:07:11] local.INFO: TCP Data received {"connection_id":233001,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a84660b8012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a84660b8012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:07:11] local.INFO: Processing buffer {"connection_id":233001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a84660b8012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:07:11] local.INFO: Packet analysis {"connection_id":233001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a846"} 
[2026-11-05 02:07:11] local.INFO: Extracted packet for processing {"connection_id":233001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a846"} 
[2026-11-05 02:07:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219006976001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793824547000,"timestamp_ms":1793824547000,"timestamp_seconds":1793824547,"priority":1,"record_length":96,"hex_timestamp":"000001a1a84660b8"} 
[2026-11-05 02: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-05 02:07: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-05 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-05 02:07:11] 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-05 02: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-05 02: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-05 02:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:07: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-05 02:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219006976001,"66":25582,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219006976001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:07:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:07:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219006976001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":233001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:07:11] local.INFO: GPS data processed {"connection_id":233001,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:07:11] local.INFO: Acknowledgment sent {"connection_id":233001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:07:43] local.INFO: TCP Data received {"connection_id":233001,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a84660b8012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a84660b8012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:07:43] local.INFO: Processing buffer {"connection_id":233001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a84660b8012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:07:43] local.INFO: Packet analysis {"connection_id":233001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a846"} 
[2026-11-05 02:07:43] local.INFO: Extracted packet for processing {"connection_id":233001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a846"} 
[2026-11-05 02:07:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219006976001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793824547000,"timestamp_ms":1793824547000,"timestamp_seconds":1793824547,"priority":1,"record_length":96,"hex_timestamp":"000001a1a84660b8"} 
[2026-11-05 02: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-05 02: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-05 02: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":47,"data_length":795,"current_offset":136} 
[2026-11-05 02:07: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-05 02: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-05 02: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-05 02:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":233001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":233001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":233001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219006976001,"66":25582,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219006976001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:07:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:07:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219006976001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":233001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:07:43] local.INFO: GPS data processed {"connection_id":233001,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:07:43] local.INFO: Acknowledgment sent {"connection_id":233001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:08:10] local.INFO: TCP Data received {"connection_id":233003,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:08:10] local.INFO: Processing buffer {"connection_id":233003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:08:10] local.INFO: IMEI packet received {"connection_id":233003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":233003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:08:15] local.INFO: TCP Data received {"connection_id":233003,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:08:15] local.INFO: Processing buffer {"connection_id":233003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:08:15] local.INFO: IMEI packet received {"connection_id":233003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":233003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:08:17] local.INFO: TCP Data received {"connection_id":233003,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a84660b8012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a84660b8012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:08:17] local.INFO: Processing buffer {"connection_id":233003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a84660b8012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:08:17] local.INFO: Packet analysis {"connection_id":233003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a846"} 
[2026-11-05 02:08:17] local.INFO: Extracted packet for processing {"connection_id":233003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a846"} 
[2026-11-05 02:08:17] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219006976001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:08: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-05 02:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793824547000,"timestamp_ms":1793824547000,"timestamp_seconds":1793824547,"priority":1,"record_length":96,"hex_timestamp":"000001a1a84660b8"} 
[2026-11-05 02: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-05 02:08: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-05 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-05 02:08: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-05 02: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-05 02: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-05 02:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":233003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":233003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":233003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:08: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-05 02:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219006976001,"66":25582,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219006976001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:08:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:08:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219006976001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":233003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:08:17] local.INFO: GPS data processed {"connection_id":233003,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:08:17] local.INFO: Acknowledgment sent {"connection_id":233003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:08:21] local.INFO: TCP Data received {"connection_id":233003,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a84660b8012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a84660b8012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:08:21] local.INFO: Processing buffer {"connection_id":233003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a84660b8012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:08:21] local.INFO: Packet analysis {"connection_id":233003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a846"} 
[2026-11-05 02:08:21] local.INFO: Extracted packet for processing {"connection_id":233003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a846"} 
[2026-11-05 02:08:21] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219006976001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:08: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-05 02:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793824547000,"timestamp_ms":1793824547000,"timestamp_seconds":1793824547,"priority":1,"record_length":96,"hex_timestamp":"000001a1a84660b8"} 
[2026-11-05 02: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-05 02:08: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-05 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-05 02:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02: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-05 02: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-05 02:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":233003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":233003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":233003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:08: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-05 02:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219006976001,"66":25582,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219006976001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:08:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:08:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219006976001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":233003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:08:21] local.INFO: GPS data processed {"connection_id":233003,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:08:21] local.INFO: Acknowledgment sent {"connection_id":233003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:09:05] local.INFO: TCP Data received {"connection_id":229320,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:09:05] local.INFO: Processing buffer {"connection_id":229320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:09:05] local.INFO: IMEI packet received {"connection_id":229320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":229320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:09:10] local.INFO: TCP Data received {"connection_id":229320,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:09:10] local.INFO: Processing buffer {"connection_id":229320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:09:10] local.INFO: IMEI packet received {"connection_id":229320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":229320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:09:12] local.INFO: TCP Data received {"connection_id":229320,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a84660b8012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a84660b8012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:09:12] local.INFO: Processing buffer {"connection_id":229320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a84660b8012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:09:12] local.INFO: Packet analysis {"connection_id":229320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a846"} 
[2026-11-05 02:09:12] local.INFO: Extracted packet for processing {"connection_id":229320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a846"} 
[2026-11-05 02:09:12] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 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-05 02:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219006976001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793824547000,"timestamp_ms":1793824547000,"timestamp_seconds":1793824547,"priority":1,"record_length":96,"hex_timestamp":"000001a1a84660b8"} 
[2026-11-05 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-05 02: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-05 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-05 02:09: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-05 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-05 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-05 02:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219006976001,"66":25582,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219006976001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:09:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:09:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219006976001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":229320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:09:12] local.INFO: GPS data processed {"connection_id":229320,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:09:12] local.INFO: Acknowledgment sent {"connection_id":229320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:09:27] local.INFO: TCP Data received {"connection_id":229809,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:09:27] local.INFO: Processing buffer {"connection_id":229809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:09:27] local.INFO: IMEI packet received {"connection_id":229809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 02:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":229809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:09:44] local.INFO: TCP Data received {"connection_id":229320,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a84660b8012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a84660b8012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:09:44] local.INFO: Processing buffer {"connection_id":229320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a84660b8012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:09:44] local.INFO: Packet analysis {"connection_id":229320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a846"} 
[2026-11-05 02:09:44] local.INFO: Extracted packet for processing {"connection_id":229320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a846"} 
[2026-11-05 02:09:44] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219006976001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793824547000,"timestamp_ms":1793824547000,"timestamp_seconds":1793824547,"priority":1,"record_length":96,"hex_timestamp":"000001a1a84660b8"} 
[2026-11-05 02:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02: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-05 02:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-05 02:09:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02:09:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219006976001,"66":25582,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219006976001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:09:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:09:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219006976001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":229320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:09:44] local.INFO: GPS data processed {"connection_id":229320,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:09:44] local.INFO: Acknowledgment sent {"connection_id":229320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:10:05] local.INFO: TCP Data received {"connection_id":229810,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:10:05] local.INFO: Processing buffer {"connection_id":229810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:10:05] local.INFO: IMEI packet received {"connection_id":229810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":229810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:10:07] local.INFO: TCP Data received {"connection_id":233005,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233005,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:10:07] local.INFO: Processing buffer {"connection_id":233005,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:10:07] local.INFO: IMEI packet received {"connection_id":233005,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 02:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":233005,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:10:10] local.INFO: TCP Data received {"connection_id":229810,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:10:10] local.INFO: Processing buffer {"connection_id":229810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:10:10] local.INFO: IMEI packet received {"connection_id":229810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":229810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:10:11] local.INFO: TCP Data received {"connection_id":229810,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a84660b8012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a84660b8012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:10:11] local.INFO: Processing buffer {"connection_id":229810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a84660b8012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:10:11] local.INFO: Packet analysis {"connection_id":229810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a846"} 
[2026-11-05 02:10:11] local.INFO: Extracted packet for processing {"connection_id":229810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a846"} 
[2026-11-05 02:10:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219006976001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793824547000,"timestamp_ms":1793824547000,"timestamp_seconds":1793824547,"priority":1,"record_length":96,"hex_timestamp":"000001a1a84660b8"} 
[2026-11-05 02: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-05 02:10: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-05 02: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":47,"data_length":795,"current_offset":136} 
[2026-11-05 02:10:11] 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-05 02: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-05 02: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-05 02:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219006976001,"66":25582,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219006976001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:10:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:10:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219006976001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":229810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:10:11] local.INFO: GPS data processed {"connection_id":229810,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:10:11] local.INFO: Acknowledgment sent {"connection_id":229810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:10:12] local.INFO: TCP Data received {"connection_id":233005,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233005,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:10:12] local.INFO: Processing buffer {"connection_id":233005,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:10:12] local.INFO: IMEI packet received {"connection_id":233005,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 02:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":233005,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:10:13] local.INFO: TCP Data received {"connection_id":233005,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a81bf940012d27fd0006c224b0000a006535..."} 
[2026-11-05 02:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a81bf940012d27fd0006c224b0000a006535..."} 
[2026-11-05 02:10:13] local.INFO: Processing buffer {"connection_id":233005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a81bf940012d27fd0006c224b0000a006535..."} 
[2026-11-05 02:10:13] local.INFO: Packet analysis {"connection_id":233005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a81b"} 
[2026-11-05 02:10:13] local.INFO: Extracted packet for processing {"connection_id":233005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a81b"} 
[2026-11-05 02:10:13] local.INFO: GPS Element Parsed {"raw_longitude":757595392,"raw_latitude":113386672,"longitude_deg":75.7595392,"latitude_deg":11.3386672,"altitude":10,"angle":101,"satellites":53,"speed":0,"hex_longitude":"2d27fd00","hex_latitude":"06c224b0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459218295552001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-05 02:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2881459365613973504,"note":"Value kept but may cause issues"} 
[2026-11-05 02:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793821768000,"timestamp_ms":1793821768000,"timestamp_seconds":1793821768,"priority":1,"record_length":96,"hex_timestamp":"000001a1a81bf940"} 
[2026-11-05 02: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-05 02:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 02: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":145,"data_length":795,"current_offset":136} 
[2026-11-05 02:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02: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-05 02: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-05 02:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":233005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":233005,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 02:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":233005,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 02:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 02:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 02:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 02:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459218295552001,"66":25625,"180":206,"81":20992,"24":0,"16":20804074257514496,"45":2881459365613973504},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,81,24,16,45]} 
[2026-11-05 02:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 02:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 02:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459218295552001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:10:13] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-11-05 02:10:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-11-05 02:10:13] 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-05 02:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":2881459365613973504,"description":"Unknown IO ID 45"} 
[2026-11-05 02:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459218295552001,"power":25625,"unknown_180":206,"unknown_81":20992,"ignition":0,"odometer":null,"unknown_45":2881459365613973504}} 
[2026-11-05 02:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":233005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61196,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:10:13] local.INFO: GPS data processed {"connection_id":233005,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:10:13] local.INFO: Acknowledgment sent {"connection_id":233005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:10:42] local.INFO: TCP Data received {"connection_id":229810,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a84660b8012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a84660b8012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:10:42] local.INFO: Processing buffer {"connection_id":229810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a84660b8012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:10:42] local.INFO: Packet analysis {"connection_id":229810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a846"} 
[2026-11-05 02:10:42] local.INFO: Extracted packet for processing {"connection_id":229810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a846"} 
[2026-11-05 02:10:42] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219006976001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793824547000,"timestamp_ms":1793824547000,"timestamp_seconds":1793824547,"priority":1,"record_length":96,"hex_timestamp":"000001a1a84660b8"} 
[2026-11-05 02:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02: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-05 02:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-05 02:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:10: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-05 02:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219006976001,"66":25582,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219006976001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:10:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:10:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219006976001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":229810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:10:42] local.INFO: GPS data processed {"connection_id":229810,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:10:42] local.INFO: Acknowledgment sent {"connection_id":229810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:11:02] local.INFO: TCP Data received {"connection_id":229321,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229321,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:11:02] local.INFO: Processing buffer {"connection_id":229321,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:11:02] local.INFO: IMEI packet received {"connection_id":229321,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 02:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":229321,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:11:05] local.INFO: TCP Data received {"connection_id":229322,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:11:05] local.INFO: Processing buffer {"connection_id":229322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:11:05] local.INFO: IMEI packet received {"connection_id":229322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":229322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:11:10] local.INFO: TCP Data received {"connection_id":229322,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:11:10] local.INFO: Processing buffer {"connection_id":229322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:11:10] local.INFO: IMEI packet received {"connection_id":229322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":229322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:11:11] local.INFO: TCP Data received {"connection_id":229322,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a84660b8012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a84660b8012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:11:11] local.INFO: Processing buffer {"connection_id":229322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a84660b8012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:11:11] local.INFO: Packet analysis {"connection_id":229322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a846"} 
[2026-11-05 02:11:11] local.INFO: Extracted packet for processing {"connection_id":229322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a846"} 
[2026-11-05 02:11:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219006976001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793824547000,"timestamp_ms":1793824547000,"timestamp_seconds":1793824547,"priority":1,"record_length":96,"hex_timestamp":"000001a1a84660b8"} 
[2026-11-05 02:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02:11: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-05 02:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-05 02:11:11] 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-05 02:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:11: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-05 02:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219006976001,"66":25582,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219006976001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:11:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:11:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219006976001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:11:11] 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":61198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:11:11] local.INFO: GPS data processed {"connection_id":229322,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:11:11] local.INFO: Acknowledgment sent {"connection_id":229322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:11:43] local.INFO: TCP Data received {"connection_id":229322,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a84af880012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a84af880012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:11:43] local.INFO: Processing buffer {"connection_id":229322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a84af880012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:11:43] local.INFO: Packet analysis {"connection_id":229322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a84a"} 
[2026-11-05 02:11:43] local.INFO: Extracted packet for processing {"connection_id":229322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a84a"} 
[2026-11-05 02:11:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219084032001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:11: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-05 02:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793824848000,"timestamp_ms":1793824848000,"timestamp_seconds":1793824848,"priority":1,"record_length":96,"hex_timestamp":"000001a1a84af880"} 
[2026-11-05 02: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-05 02:11: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-05 02: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":238,"data_length":795,"current_offset":136} 
[2026-11-05 02:11: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-05 02: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-05 02: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-05 02:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219084032001,"66":25538,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219084032001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:11:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:11:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219084032001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:11:43] 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":61199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:11:43] local.INFO: GPS data processed {"connection_id":229322,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:11:43] local.INFO: Acknowledgment sent {"connection_id":229322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:12:10] local.INFO: TCP Data received {"connection_id":233006,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:12:10] local.INFO: Processing buffer {"connection_id":233006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:12:10] local.INFO: IMEI packet received {"connection_id":233006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":233006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:12:15] local.INFO: TCP Data received {"connection_id":233006,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:12:15] local.INFO: Processing buffer {"connection_id":233006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:12:15] local.INFO: IMEI packet received {"connection_id":233006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":233006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:12:17] local.INFO: TCP Data received {"connection_id":233006,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a84af880012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a84af880012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:12:17] local.INFO: Processing buffer {"connection_id":233006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a84af880012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:12:17] local.INFO: Packet analysis {"connection_id":233006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a84a"} 
[2026-11-05 02:12:17] local.INFO: Extracted packet for processing {"connection_id":233006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a84a"} 
[2026-11-05 02:12:17] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 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-05 02:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219084032001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793824848000,"timestamp_ms":1793824848000,"timestamp_seconds":1793824848,"priority":1,"record_length":96,"hex_timestamp":"000001a1a84af880"} 
[2026-11-05 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-05 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-05 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 02:12:17] 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-05 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-05 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-05 02:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":233006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":233006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":233006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219084032001,"66":25538,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219084032001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:12:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:12:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219084032001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":233006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:12:17] local.INFO: GPS data processed {"connection_id":233006,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:12:17] local.INFO: Acknowledgment sent {"connection_id":233006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:12:20] local.INFO: TCP Data received {"connection_id":233006,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a84af880012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a84af880012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:12:20] local.INFO: Processing buffer {"connection_id":233006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a84af880012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:12:20] local.INFO: Packet analysis {"connection_id":233006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a84a"} 
[2026-11-05 02:12:20] local.INFO: Extracted packet for processing {"connection_id":233006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a84a"} 
[2026-11-05 02:12:20] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219084032001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:12: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-05 02:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793824848000,"timestamp_ms":1793824848000,"timestamp_seconds":1793824848,"priority":1,"record_length":96,"hex_timestamp":"000001a1a84af880"} 
[2026-11-05 02: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-05 02:12: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-05 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 02:12:20] 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-05 02: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-05 02: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-05 02:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":233006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":233006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":233006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:12: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-05 02:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219084032001,"66":25538,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219084032001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:12:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:12:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219084032001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":233006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:12:20] local.INFO: GPS data processed {"connection_id":233006,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:12:20] local.INFO: Acknowledgment sent {"connection_id":233006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:13:05] local.INFO: TCP Data received {"connection_id":231112,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:13:05] local.INFO: Processing buffer {"connection_id":231112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:13:05] local.INFO: IMEI packet received {"connection_id":231112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":231112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:13:10] local.INFO: TCP Data received {"connection_id":231112,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:13:10] local.INFO: Processing buffer {"connection_id":231112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:13:10] local.INFO: IMEI packet received {"connection_id":231112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":231112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:13:11] local.INFO: TCP Data received {"connection_id":231112,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a84af880012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a84af880012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:13:11] local.INFO: Processing buffer {"connection_id":231112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a84af880012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:13:11] local.INFO: Packet analysis {"connection_id":231112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a84a"} 
[2026-11-05 02:13:11] local.INFO: Extracted packet for processing {"connection_id":231112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a84a"} 
[2026-11-05 02:13:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219084032001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793824848000,"timestamp_ms":1793824848000,"timestamp_seconds":1793824848,"priority":1,"record_length":96,"hex_timestamp":"000001a1a84af880"} 
[2026-11-05 02:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02:13: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-05 02:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 02:13:11] 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-05 02:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:13: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-05 02:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219084032001,"66":25538,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219084032001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:13:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:13:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219084032001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":231112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:13:11] local.INFO: GPS data processed {"connection_id":231112,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:13:11] local.INFO: Acknowledgment sent {"connection_id":231112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:13:43] local.INFO: TCP Data received {"connection_id":231112,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a84af880012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a84af880012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:13:43] local.INFO: Processing buffer {"connection_id":231112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a84af880012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:13:43] local.INFO: Packet analysis {"connection_id":231112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a84a"} 
[2026-11-05 02:13:43] local.INFO: Extracted packet for processing {"connection_id":231112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a84a"} 
[2026-11-05 02:13:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219084032001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793824848000,"timestamp_ms":1793824848000,"timestamp_seconds":1793824848,"priority":1,"record_length":96,"hex_timestamp":"000001a1a84af880"} 
[2026-11-05 02: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-05 02:13: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-05 02: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":238,"data_length":795,"current_offset":136} 
[2026-11-05 02:13: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-05 02: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-05 02: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-05 02:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219084032001,"66":25538,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219084032001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:13:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:13:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219084032001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":231112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:13:43] local.INFO: GPS data processed {"connection_id":231112,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:13:43] local.INFO: Acknowledgment sent {"connection_id":231112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:14:05] local.INFO: TCP Data received {"connection_id":229323,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:14:05] local.INFO: Processing buffer {"connection_id":229323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:14:05] local.INFO: IMEI packet received {"connection_id":229323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":229323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:14:10] local.INFO: TCP Data received {"connection_id":229323,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:14:10] local.INFO: Processing buffer {"connection_id":229323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:14:10] local.INFO: IMEI packet received {"connection_id":229323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":229323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:14:11] local.INFO: TCP Data received {"connection_id":229323,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a84af880012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a84af880012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:14:11] local.INFO: Processing buffer {"connection_id":229323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a84af880012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:14:11] local.INFO: Packet analysis {"connection_id":229323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a84a"} 
[2026-11-05 02:14:11] local.INFO: Extracted packet for processing {"connection_id":229323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a84a"} 
[2026-11-05 02:14:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219084032001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793824848000,"timestamp_ms":1793824848000,"timestamp_seconds":1793824848,"priority":1,"record_length":96,"hex_timestamp":"000001a1a84af880"} 
[2026-11-05 02: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-05 02: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-05 02:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 02:14:11] 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-05 02: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-05 02: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-05 02:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219084032001,"66":25538,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219084032001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:14:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:14:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219084032001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:14:11] 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":61204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:14:11] local.INFO: GPS data processed {"connection_id":229323,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:14:11] local.INFO: Acknowledgment sent {"connection_id":229323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:14:43] local.INFO: TCP Data received {"connection_id":229323,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a84af880012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a84af880012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:14:43] local.INFO: Processing buffer {"connection_id":229323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a84af880012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:14:43] local.INFO: Packet analysis {"connection_id":229323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a84a"} 
[2026-11-05 02:14:43] local.INFO: Extracted packet for processing {"connection_id":229323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a84a"} 
[2026-11-05 02:14:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219084032001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793824848000,"timestamp_ms":1793824848000,"timestamp_seconds":1793824848,"priority":1,"record_length":96,"hex_timestamp":"000001a1a84af880"} 
[2026-11-05 02: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-05 02: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-05 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 02:14: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-05 02: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-05 02: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-05 02:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219084032001,"66":25538,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219084032001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:14:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:14:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219084032001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:14:43] 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":61205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:14:43] local.INFO: GPS data processed {"connection_id":229323,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:14:43] local.INFO: Acknowledgment sent {"connection_id":229323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:15:05] local.INFO: TCP Data received {"connection_id":231113,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:15:05] local.INFO: Processing buffer {"connection_id":231113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:15:05] local.INFO: IMEI packet received {"connection_id":231113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":231113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:15:10] local.INFO: TCP Data received {"connection_id":231113,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:15:10] local.INFO: Processing buffer {"connection_id":231113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:15:10] local.INFO: IMEI packet received {"connection_id":231113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":231113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:15:11] local.INFO: TCP Data received {"connection_id":231113,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a84af880012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a84af880012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:15:11] local.INFO: Processing buffer {"connection_id":231113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a84af880012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:15:11] local.INFO: Packet analysis {"connection_id":231113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a84a"} 
[2026-11-05 02:15:11] local.INFO: Extracted packet for processing {"connection_id":231113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a84a"} 
[2026-11-05 02:15:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219084032001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793824848000,"timestamp_ms":1793824848000,"timestamp_seconds":1793824848,"priority":1,"record_length":96,"hex_timestamp":"000001a1a84af880"} 
[2026-11-05 02:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02:15: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-05 02:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 02:15:11] 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-05 02:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:15: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-05 02:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219084032001,"66":25538,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219084032001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:15:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:15:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219084032001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":231113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:15:11] local.INFO: GPS data processed {"connection_id":231113,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:15:11] local.INFO: Acknowledgment sent {"connection_id":231113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:15:43] local.INFO: TCP Data received {"connection_id":231113,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a84af880012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a84af880012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:15:43] local.INFO: Processing buffer {"connection_id":231113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a84af880012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:15:43] local.INFO: Packet analysis {"connection_id":231113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a84a"} 
[2026-11-05 02:15:43] local.INFO: Extracted packet for processing {"connection_id":231113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a84a"} 
[2026-11-05 02:15:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219084032001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793824848000,"timestamp_ms":1793824848000,"timestamp_seconds":1793824848,"priority":1,"record_length":96,"hex_timestamp":"000001a1a84af880"} 
[2026-11-05 02:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02:15: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-05 02:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 02:15: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-05 02:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219084032001,"66":25538,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219084032001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:15:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:15:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219084032001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":231113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:15:43] local.INFO: GPS data processed {"connection_id":231113,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:15:43] local.INFO: Acknowledgment sent {"connection_id":231113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:16:05] local.INFO: TCP Data received {"connection_id":231114,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:16:05] local.INFO: Processing buffer {"connection_id":231114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:16:05] local.INFO: IMEI packet received {"connection_id":231114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":231114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:16:10] local.INFO: TCP Data received {"connection_id":231114,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:16:10] local.INFO: Processing buffer {"connection_id":231114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:16:10] local.INFO: IMEI packet received {"connection_id":231114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":231114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:16:11] local.INFO: TCP Data received {"connection_id":231114,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a84af880012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a84af880012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:16:11] local.INFO: Processing buffer {"connection_id":231114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a84af880012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:16:11] local.INFO: Packet analysis {"connection_id":231114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a84a"} 
[2026-11-05 02:16:11] local.INFO: Extracted packet for processing {"connection_id":231114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a84a"} 
[2026-11-05 02:16:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219084032001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793824848000,"timestamp_ms":1793824848000,"timestamp_seconds":1793824848,"priority":1,"record_length":96,"hex_timestamp":"000001a1a84af880"} 
[2026-11-05 02: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-05 02: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-05 02: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":238,"data_length":795,"current_offset":136} 
[2026-11-05 02:16:11] 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-05 02: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-05 02: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-05 02:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219084032001,"66":25538,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219084032001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:16:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:16:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219084032001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":231114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:16:11] local.INFO: GPS data processed {"connection_id":231114,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:16:11] local.INFO: Acknowledgment sent {"connection_id":231114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:16:32] local.INFO: TCP Data received {"connection_id":229324,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:16:32] local.INFO: Processing buffer {"connection_id":229324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:16:32] local.INFO: IMEI packet received {"connection_id":229324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 02:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":229324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:16:42] local.INFO: TCP Data received {"connection_id":231114,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:16:42] local.INFO: Processing buffer {"connection_id":231114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:16:42] local.INFO: Packet analysis {"connection_id":231114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a84f"} 
[2026-11-05 02:16:42] local.INFO: Extracted packet for processing {"connection_id":231114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a84f"} 
[2026-11-05 02:16:42] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219161088001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793825149000,"timestamp_ms":1793825149000,"timestamp_seconds":1793825149,"priority":1,"record_length":96,"hex_timestamp":"000001a1a84f9048"} 
[2026-11-05 02:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02:16: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-05 02:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-05 02:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:16: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-05 02:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219161088001,"66":25473,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219161088001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:16:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:16:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219161088001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":231114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:16:42] local.INFO: GPS data processed {"connection_id":231114,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:16:42] local.INFO: Acknowledgment sent {"connection_id":231114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:17:05] local.INFO: TCP Data received {"connection_id":233008,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:17:05] local.INFO: Processing buffer {"connection_id":233008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:17:05] local.INFO: IMEI packet received {"connection_id":233008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":233008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:17:07] local.INFO: TCP Data received {"connection_id":229814,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:17:07] local.INFO: Processing buffer {"connection_id":229814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:17:07] local.INFO: IMEI packet received {"connection_id":229814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 02:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":229814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:17:10] local.INFO: TCP Data received {"connection_id":233008,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:17:10] local.INFO: Processing buffer {"connection_id":233008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:17:10] local.INFO: IMEI packet received {"connection_id":233008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":233008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:17:11] local.INFO: TCP Data received {"connection_id":233008,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:17:11] local.INFO: Processing buffer {"connection_id":233008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:17:11] local.INFO: Packet analysis {"connection_id":233008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a84f"} 
[2026-11-05 02:17:11] local.INFO: Extracted packet for processing {"connection_id":233008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a84f"} 
[2026-11-05 02:17:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219161088001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793825149000,"timestamp_ms":1793825149000,"timestamp_seconds":1793825149,"priority":1,"record_length":96,"hex_timestamp":"000001a1a84f9048"} 
[2026-11-05 02: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-05 02:17: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-05 02:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-05 02:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02: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-05 02: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-05 02:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:17: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-05 02:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219161088001,"66":25473,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219161088001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:17:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:17:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219161088001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":233008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:17:11] local.INFO: GPS data processed {"connection_id":233008,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:17:11] local.INFO: Acknowledgment sent {"connection_id":233008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:17:43] local.INFO: TCP Data received {"connection_id":233008,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:17:43] local.INFO: Processing buffer {"connection_id":233008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:17:43] local.INFO: Packet analysis {"connection_id":233008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a84f"} 
[2026-11-05 02:17:43] local.INFO: Extracted packet for processing {"connection_id":233008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a84f"} 
[2026-11-05 02:17:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219161088001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:17: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-05 02:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793825149000,"timestamp_ms":1793825149000,"timestamp_seconds":1793825149,"priority":1,"record_length":96,"hex_timestamp":"000001a1a84f9048"} 
[2026-11-05 02: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-05 02:17: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-05 02: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":194,"data_length":795,"current_offset":136} 
[2026-11-05 02:17:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02: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-05 02: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-05 02:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":233008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":233008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":233008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219161088001,"66":25473,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219161088001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:17:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:17:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219161088001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":233008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:17:43] local.INFO: GPS data processed {"connection_id":233008,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:17:43] local.INFO: Acknowledgment sent {"connection_id":233008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:18:05] local.INFO: TCP Data received {"connection_id":229325,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:18:05] local.INFO: Processing buffer {"connection_id":229325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:18:05] local.INFO: IMEI packet received {"connection_id":229325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":229325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:18:10] local.INFO: TCP Data received {"connection_id":229325,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:18:10] local.INFO: Processing buffer {"connection_id":229325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:18:10] local.INFO: IMEI packet received {"connection_id":229325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":229325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:18:11] local.INFO: TCP Data received {"connection_id":229325,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:18:11] local.INFO: Processing buffer {"connection_id":229325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:18:11] local.INFO: Packet analysis {"connection_id":229325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a84f"} 
[2026-11-05 02:18:11] local.INFO: Extracted packet for processing {"connection_id":229325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a84f"} 
[2026-11-05 02:18:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219161088001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793825149000,"timestamp_ms":1793825149000,"timestamp_seconds":1793825149,"priority":1,"record_length":96,"hex_timestamp":"000001a1a84f9048"} 
[2026-11-05 02: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-05 02:18: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-05 02:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-05 02:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02: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-05 02: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-05 02:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:18: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-05 02:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219161088001,"66":25473,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219161088001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:18:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:18:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219161088001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:18:11] 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":61212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:18:11] local.INFO: GPS data processed {"connection_id":229325,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:18:11] local.INFO: Acknowledgment sent {"connection_id":229325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:18:42] local.INFO: TCP Data received {"connection_id":229325,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:18:42] local.INFO: Processing buffer {"connection_id":229325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:18:42] local.INFO: Packet analysis {"connection_id":229325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a84f"} 
[2026-11-05 02:18:42] local.INFO: Extracted packet for processing {"connection_id":229325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a84f"} 
[2026-11-05 02:18:42] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219161088001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793825149000,"timestamp_ms":1793825149000,"timestamp_seconds":1793825149,"priority":1,"record_length":96,"hex_timestamp":"000001a1a84f9048"} 
[2026-11-05 02:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02:18: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-05 02:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-05 02:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:18: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-05 02:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219161088001,"66":25473,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219161088001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:18:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:18:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219161088001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:18:42] 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":61213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:18:42] local.INFO: GPS data processed {"connection_id":229325,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:18:42] local.INFO: Acknowledgment sent {"connection_id":229325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:19:05] local.INFO: TCP Data received {"connection_id":229326,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:19:05] local.INFO: Processing buffer {"connection_id":229326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:19:05] local.INFO: IMEI packet received {"connection_id":229326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":229326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:19:10] local.INFO: TCP Data received {"connection_id":229326,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:19:10] local.INFO: Processing buffer {"connection_id":229326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:19:10] local.INFO: IMEI packet received {"connection_id":229326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":229326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:19:11] local.INFO: TCP Data received {"connection_id":229326,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:19:11] local.INFO: Processing buffer {"connection_id":229326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:19:11] local.INFO: Packet analysis {"connection_id":229326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a84f"} 
[2026-11-05 02:19:11] local.INFO: Extracted packet for processing {"connection_id":229326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a84f"} 
[2026-11-05 02:19:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219161088001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793825149000,"timestamp_ms":1793825149000,"timestamp_seconds":1793825149,"priority":1,"record_length":96,"hex_timestamp":"000001a1a84f9048"} 
[2026-11-05 02: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-05 02:19: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-05 02:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-05 02:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02: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-05 02: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-05 02:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:19: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-05 02:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219161088001,"66":25473,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219161088001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:19:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:19:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219161088001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:19:11] 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":61214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:19:11] local.INFO: GPS data processed {"connection_id":229326,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:19:11] local.INFO: Acknowledgment sent {"connection_id":229326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:19:43] local.INFO: TCP Data received {"connection_id":229326,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:19:43] local.INFO: Processing buffer {"connection_id":229326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:19:43] local.INFO: Packet analysis {"connection_id":229326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a84f"} 
[2026-11-05 02:19:43] local.INFO: Extracted packet for processing {"connection_id":229326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a84f"} 
[2026-11-05 02:19:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219161088001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:19: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-05 02:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793825149000,"timestamp_ms":1793825149000,"timestamp_seconds":1793825149,"priority":1,"record_length":96,"hex_timestamp":"000001a1a84f9048"} 
[2026-11-05 02: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-05 02:19: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-05 02: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":194,"data_length":795,"current_offset":136} 
[2026-11-05 02:19:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02: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-05 02: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-05 02:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219161088001,"66":25473,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219161088001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:19:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:19:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219161088001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:19:43] 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":61215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:19:43] local.INFO: GPS data processed {"connection_id":229326,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:19:43] local.INFO: Acknowledgment sent {"connection_id":229326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:20:05] local.INFO: TCP Data received {"connection_id":231117,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:20:05] local.INFO: Processing buffer {"connection_id":231117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:20:05] local.INFO: IMEI packet received {"connection_id":231117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":231117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:20:10] local.INFO: TCP Data received {"connection_id":231117,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:20:10] local.INFO: Processing buffer {"connection_id":231117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:20:10] local.INFO: IMEI packet received {"connection_id":231117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":231117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:20:11] local.INFO: TCP Data received {"connection_id":231117,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:20:11] local.INFO: Processing buffer {"connection_id":231117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:20:11] local.INFO: Packet analysis {"connection_id":231117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a84f"} 
[2026-11-05 02:20:11] local.INFO: Extracted packet for processing {"connection_id":231117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a84f"} 
[2026-11-05 02:20:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219161088001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793825149000,"timestamp_ms":1793825149000,"timestamp_seconds":1793825149,"priority":1,"record_length":96,"hex_timestamp":"000001a1a84f9048"} 
[2026-11-05 02:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02: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-05 02:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-05 02:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219161088001,"66":25473,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219161088001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:20:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:20:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219161088001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":231117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:20:11] local.INFO: GPS data processed {"connection_id":231117,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:20:11] local.INFO: Acknowledgment sent {"connection_id":231117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:20:42] local.INFO: TCP Data received {"connection_id":231117,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:20:42] local.INFO: Processing buffer {"connection_id":231117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:20:42] local.INFO: Packet analysis {"connection_id":231117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a84f"} 
[2026-11-05 02:20:42] local.INFO: Extracted packet for processing {"connection_id":231117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a84f"} 
[2026-11-05 02:20:42] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219161088001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793825149000,"timestamp_ms":1793825149000,"timestamp_seconds":1793825149,"priority":1,"record_length":96,"hex_timestamp":"000001a1a84f9048"} 
[2026-11-05 02:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02:20: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-05 02:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-05 02:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:20: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-05 02:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219161088001,"66":25473,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219161088001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:20:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:20:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219161088001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":231117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:20:42] local.INFO: GPS data processed {"connection_id":231117,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:20:42] local.INFO: Acknowledgment sent {"connection_id":231117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:21:10] local.INFO: TCP Data received {"connection_id":229816,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:21:10] local.INFO: Processing buffer {"connection_id":229816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:21:10] local.INFO: IMEI packet received {"connection_id":229816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":229816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:21:15] local.INFO: TCP Data received {"connection_id":229816,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:21:15] local.INFO: Processing buffer {"connection_id":229816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:21:15] local.INFO: IMEI packet received {"connection_id":229816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":229816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:21:16] local.INFO: TCP Data received {"connection_id":229816,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:21:16] local.INFO: Processing buffer {"connection_id":229816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:21:16] local.INFO: Packet analysis {"connection_id":229816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a84f"} 
[2026-11-05 02:21:16] local.INFO: Extracted packet for processing {"connection_id":229816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a84f"} 
[2026-11-05 02:21:16] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219161088001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:21: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-05 02:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793825149000,"timestamp_ms":1793825149000,"timestamp_seconds":1793825149,"priority":1,"record_length":96,"hex_timestamp":"000001a1a84f9048"} 
[2026-11-05 02: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-05 02: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-05 02: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-05 02:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02: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-05 02: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-05 02:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219161088001,"66":25473,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219161088001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:21:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:21:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219161088001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":229816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:21:16] local.INFO: GPS data processed {"connection_id":229816,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:21:16] local.INFO: Acknowledgment sent {"connection_id":229816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:21:21] local.INFO: TCP Data received {"connection_id":229816,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:21:21] local.INFO: Processing buffer {"connection_id":229816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a84f9048012d34c94006aa46e00008006c28..."} 
[2026-11-05 02:21:21] local.INFO: Packet analysis {"connection_id":229816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a84f"} 
[2026-11-05 02:21:21] local.INFO: Extracted packet for processing {"connection_id":229816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a84f"} 
[2026-11-05 02:21:21] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219161088001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793825149000,"timestamp_ms":1793825149000,"timestamp_seconds":1793825149,"priority":1,"record_length":96,"hex_timestamp":"000001a1a84f9048"} 
[2026-11-05 02: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-05 02: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-05 02: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":194,"data_length":795,"current_offset":136} 
[2026-11-05 02:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02: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-05 02: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-05 02:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219161088001,"66":25473,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219161088001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:21:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:21:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219161088001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":229816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:21:21] local.INFO: GPS data processed {"connection_id":229816,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:21:21] local.INFO: Acknowledgment sent {"connection_id":229816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:22:05] local.INFO: TCP Data received {"connection_id":229817,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:22:05] local.INFO: Processing buffer {"connection_id":229817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:22:05] local.INFO: IMEI packet received {"connection_id":229817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":229817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:22:10] local.INFO: TCP Data received {"connection_id":229817,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:22:10] local.INFO: Processing buffer {"connection_id":229817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:22:10] local.INFO: IMEI packet received {"connection_id":229817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":229817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:22:11] local.INFO: TCP Data received {"connection_id":229817,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8542810012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8542810012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:22:11] local.INFO: Processing buffer {"connection_id":229817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8542810012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:22:11] local.INFO: Packet analysis {"connection_id":229817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a854"} 
[2026-11-05 02:22:11] local.INFO: Extracted packet for processing {"connection_id":229817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a854"} 
[2026-11-05 02:22:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219238144001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793825450000,"timestamp_ms":1793825450000,"timestamp_seconds":1793825450,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8542810"} 
[2026-11-05 02:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02:22: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-05 02:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 02:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:22: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-05 02:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219238144001,"66":25462,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219238144001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:22:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:22:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219238144001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":229817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:22:11] local.INFO: GPS data processed {"connection_id":229817,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:22:11] local.INFO: Acknowledgment sent {"connection_id":229817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:22:22] local.INFO: TCP Data received {"connection_id":229818,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229818,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:22:22] local.INFO: Processing buffer {"connection_id":229818,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:22:22] local.INFO: IMEI packet received {"connection_id":229818,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 02:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":229818,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:22:42] local.INFO: TCP Data received {"connection_id":229817,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8542810012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8542810012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:22:43] local.INFO: Processing buffer {"connection_id":229817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8542810012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:22:43] local.INFO: Packet analysis {"connection_id":229817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a854"} 
[2026-11-05 02:22:43] local.INFO: Extracted packet for processing {"connection_id":229817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a854"} 
[2026-11-05 02:22:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219238144001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793825450000,"timestamp_ms":1793825450000,"timestamp_seconds":1793825450,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8542810"} 
[2026-11-05 02: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-05 02:22: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-05 02: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":129,"data_length":795,"current_offset":136} 
[2026-11-05 02:22: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-05 02: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-05 02: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-05 02:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219238144001,"66":25462,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219238144001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:22:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:22:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219238144001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":229817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:22:43] local.INFO: GPS data processed {"connection_id":229817,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:22:43] local.INFO: Acknowledgment sent {"connection_id":229817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:23:05] local.INFO: TCP Data received {"connection_id":229819,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:23:05] local.INFO: Processing buffer {"connection_id":229819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:23:05] local.INFO: IMEI packet received {"connection_id":229819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":229819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:23:07] local.INFO: TCP Data received {"connection_id":229328,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229328,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:23:07] local.INFO: Processing buffer {"connection_id":229328,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:23:07] local.INFO: IMEI packet received {"connection_id":229328,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 02:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":229328,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:23:10] local.INFO: TCP Data received {"connection_id":229819,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:23:10] local.INFO: Processing buffer {"connection_id":229819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:23:10] local.INFO: IMEI packet received {"connection_id":229819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":229819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:23:11] local.INFO: TCP Data received {"connection_id":229819,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8542810012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8542810012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:23:11] local.INFO: Processing buffer {"connection_id":229819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8542810012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:23:11] local.INFO: Packet analysis {"connection_id":229819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a854"} 
[2026-11-05 02:23:11] local.INFO: Extracted packet for processing {"connection_id":229819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a854"} 
[2026-11-05 02:23:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219238144001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793825450000,"timestamp_ms":1793825450000,"timestamp_seconds":1793825450,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8542810"} 
[2026-11-05 02: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-05 02:23: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-05 02:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 02:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02: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-05 02: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-05 02:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:23: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-05 02:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219238144001,"66":25462,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219238144001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:23:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:23:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219238144001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":229819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:23:11] local.INFO: GPS data processed {"connection_id":229819,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:23:11] local.INFO: Acknowledgment sent {"connection_id":229819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:23:43] local.INFO: TCP Data received {"connection_id":229819,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8542810012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8542810012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:23:43] local.INFO: Processing buffer {"connection_id":229819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8542810012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:23:43] local.INFO: Packet analysis {"connection_id":229819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a854"} 
[2026-11-05 02:23:43] local.INFO: Extracted packet for processing {"connection_id":229819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a854"} 
[2026-11-05 02:23:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219238144001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:23: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-05 02:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793825450000,"timestamp_ms":1793825450000,"timestamp_seconds":1793825450,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8542810"} 
[2026-11-05 02: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-05 02:23: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-05 02: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":129,"data_length":795,"current_offset":136} 
[2026-11-05 02:23: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-05 02: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-05 02: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-05 02:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219238144001,"66":25462,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219238144001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:23:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:23:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219238144001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":229819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:23:43] local.INFO: GPS data processed {"connection_id":229819,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:23:43] local.INFO: Acknowledgment sent {"connection_id":229819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:24:05] local.INFO: TCP Data received {"connection_id":229330,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:24:05] local.INFO: Processing buffer {"connection_id":229330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:24:05] local.INFO: IMEI packet received {"connection_id":229330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":229330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:24:10] local.INFO: TCP Data received {"connection_id":229330,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:24:10] local.INFO: Processing buffer {"connection_id":229330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:24:10] local.INFO: IMEI packet received {"connection_id":229330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":229330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:24:11] local.INFO: TCP Data received {"connection_id":229330,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8542810012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8542810012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:24:11] local.INFO: Processing buffer {"connection_id":229330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8542810012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:24:11] local.INFO: Packet analysis {"connection_id":229330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a854"} 
[2026-11-05 02:24:11] local.INFO: Extracted packet for processing {"connection_id":229330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a854"} 
[2026-11-05 02:24:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219238144001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793825450000,"timestamp_ms":1793825450000,"timestamp_seconds":1793825450,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8542810"} 
[2026-11-05 02: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-05 02:24: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-05 02:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 02:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02: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-05 02: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-05 02:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219238144001,"66":25462,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219238144001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:24:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:24:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219238144001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:24:11] 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":61224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:24:11] local.INFO: GPS data processed {"connection_id":229330,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:24:11] local.INFO: Acknowledgment sent {"connection_id":229330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:24:42] local.INFO: TCP Data received {"connection_id":229330,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8542810012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8542810012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:24:42] local.INFO: Processing buffer {"connection_id":229330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8542810012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:24:42] local.INFO: Packet analysis {"connection_id":229330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a854"} 
[2026-11-05 02:24:42] local.INFO: Extracted packet for processing {"connection_id":229330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a854"} 
[2026-11-05 02:24:42] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219238144001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793825450000,"timestamp_ms":1793825450000,"timestamp_seconds":1793825450,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8542810"} 
[2026-11-05 02:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02:24: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-05 02:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 02:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:24: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-05 02:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219238144001,"66":25462,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219238144001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:24:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:24:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219238144001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:24:42] 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":61225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:24:42] local.INFO: GPS data processed {"connection_id":229330,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:24:42] local.INFO: Acknowledgment sent {"connection_id":229330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:25:10] local.INFO: TCP Data received {"connection_id":233011,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:25:10] local.INFO: Processing buffer {"connection_id":233011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:25:10] local.INFO: IMEI packet received {"connection_id":233011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":233011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:25:15] local.INFO: TCP Data received {"connection_id":233011,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:25:15] local.INFO: Processing buffer {"connection_id":233011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:25:15] local.INFO: IMEI packet received {"connection_id":233011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":233011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:25:16] local.INFO: TCP Data received {"connection_id":233011,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8542810012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8542810012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:25:16] local.INFO: Processing buffer {"connection_id":233011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8542810012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:25:16] local.INFO: Packet analysis {"connection_id":233011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a854"} 
[2026-11-05 02:25:16] local.INFO: Extracted packet for processing {"connection_id":233011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a854"} 
[2026-11-05 02:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219238144001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:25: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-05 02:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793825450000,"timestamp_ms":1793825450000,"timestamp_seconds":1793825450,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8542810"} 
[2026-11-05 02: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-05 02: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-05 02: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 02:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02: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-05 02: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-05 02:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":233011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":233011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":233011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:25: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-05 02:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219238144001,"66":25462,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219238144001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:25:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:25:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219238144001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":233011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:25:16] local.INFO: GPS data processed {"connection_id":233011,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:25:16] local.INFO: Acknowledgment sent {"connection_id":233011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:25:21] local.INFO: TCP Data received {"connection_id":233011,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8542810012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8542810012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:25:21] local.INFO: Processing buffer {"connection_id":233011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8542810012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:25:21] local.INFO: Packet analysis {"connection_id":233011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a854"} 
[2026-11-05 02:25:21] local.INFO: Extracted packet for processing {"connection_id":233011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a854"} 
[2026-11-05 02:25:21] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219238144001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:25: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-05 02:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793825450000,"timestamp_ms":1793825450000,"timestamp_seconds":1793825450,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8542810"} 
[2026-11-05 02: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-05 02:25: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-05 02: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":129,"data_length":795,"current_offset":136} 
[2026-11-05 02:25:21] 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-05 02: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-05 02: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-05 02:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":233011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":233011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":233011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:25: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-05 02:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219238144001,"66":25462,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219238144001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:25:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:25:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219238144001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":233011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:25:21] local.INFO: GPS data processed {"connection_id":233011,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:25:21] local.INFO: Acknowledgment sent {"connection_id":233011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:26:05] local.INFO: TCP Data received {"connection_id":233012,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:26:05] local.INFO: Processing buffer {"connection_id":233012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:26:05] local.INFO: IMEI packet received {"connection_id":233012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":233012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:26:10] local.INFO: TCP Data received {"connection_id":233012,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:26:10] local.INFO: Processing buffer {"connection_id":233012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:26:10] local.INFO: IMEI packet received {"connection_id":233012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":233012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:26:11] local.INFO: TCP Data received {"connection_id":233012,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8542810012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8542810012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:26:11] local.INFO: Processing buffer {"connection_id":233012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8542810012d34c94006aa46e00008006c25..."} 
[2026-11-05 02:26:11] local.INFO: Packet analysis {"connection_id":233012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a854"} 
[2026-11-05 02:26:11] local.INFO: Extracted packet for processing {"connection_id":233012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a854"} 
[2026-11-05 02:26:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":8,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219238144001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793825450000,"timestamp_ms":1793825450000,"timestamp_seconds":1793825450,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8542810"} 
[2026-11-05 02: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-05 02: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-05 02:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 02:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02: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-05 02: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-05 02:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219238144001,"66":25462,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219238144001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:26:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:26:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219238144001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":233012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:26:11] local.INFO: GPS data processed {"connection_id":233012,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:26:11] local.INFO: Acknowledgment sent {"connection_id":233012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:26:42] local.INFO: TCP Data received {"connection_id":233012,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:26:42] local.INFO: Processing buffer {"connection_id":233012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:26:42] local.INFO: Packet analysis {"connection_id":233012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a858"} 
[2026-11-05 02:26:42] local.INFO: Extracted packet for processing {"connection_id":233012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a858"} 
[2026-11-05 02:26:42] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":4,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219315200001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793825751000,"timestamp_ms":1793825751000,"timestamp_seconds":1793825751,"priority":1,"record_length":96,"hex_timestamp":"000001a1a858bfd8"} 
[2026-11-05 02:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02:26: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-05 02:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 02:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:26: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-05 02:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219315200001,"66":25462,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219315200001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:26:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:26:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219315200001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":233012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:26:42] local.INFO: GPS data processed {"connection_id":233012,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:26:42] local.INFO: Acknowledgment sent {"connection_id":233012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:27:05] local.INFO: TCP Data received {"connection_id":229820,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:27:05] local.INFO: Processing buffer {"connection_id":229820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:27:05] local.INFO: IMEI packet received {"connection_id":229820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":229820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:27:10] local.INFO: TCP Data received {"connection_id":229820,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:27:10] local.INFO: Processing buffer {"connection_id":229820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:27:10] local.INFO: IMEI packet received {"connection_id":229820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":229820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:27:11] local.INFO: TCP Data received {"connection_id":229820,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:27:11] local.INFO: Processing buffer {"connection_id":229820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:27:11] local.INFO: Packet analysis {"connection_id":229820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a858"} 
[2026-11-05 02:27:11] local.INFO: Extracted packet for processing {"connection_id":229820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a858"} 
[2026-11-05 02:27:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":4,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219315200001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793825751000,"timestamp_ms":1793825751000,"timestamp_seconds":1793825751,"priority":1,"record_length":96,"hex_timestamp":"000001a1a858bfd8"} 
[2026-11-05 02:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02:27: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-05 02:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 02:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219315200001,"66":25462,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219315200001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:27:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:27:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219315200001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":229820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:27:11] local.INFO: GPS data processed {"connection_id":229820,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:27:11] local.INFO: Acknowledgment sent {"connection_id":229820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:27:43] local.INFO: TCP Data received {"connection_id":229820,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:27:43] local.INFO: Processing buffer {"connection_id":229820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:27:43] local.INFO: Packet analysis {"connection_id":229820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a858"} 
[2026-11-05 02:27:43] local.INFO: Extracted packet for processing {"connection_id":229820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a858"} 
[2026-11-05 02:27:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":4,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219315200001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793825751000,"timestamp_ms":1793825751000,"timestamp_seconds":1793825751,"priority":1,"record_length":96,"hex_timestamp":"000001a1a858bfd8"} 
[2026-11-05 02:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02: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-05 02:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 02:27: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-05 02:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219315200001,"66":25462,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219315200001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:27:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:27:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219315200001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":229820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:27:43] local.INFO: GPS data processed {"connection_id":229820,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:27:43] local.INFO: Acknowledgment sent {"connection_id":229820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:28:10] local.INFO: TCP Data received {"connection_id":229332,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:28:10] local.INFO: Processing buffer {"connection_id":229332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:28:10] local.INFO: IMEI packet received {"connection_id":229332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":229332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:28:15] local.INFO: TCP Data received {"connection_id":229332,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:28:15] local.INFO: Processing buffer {"connection_id":229332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:28:15] local.INFO: IMEI packet received {"connection_id":229332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":229332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:28:17] local.INFO: TCP Data received {"connection_id":229332,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:28:17] local.INFO: Processing buffer {"connection_id":229332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:28:17] local.INFO: Packet analysis {"connection_id":229332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a858"} 
[2026-11-05 02:28:17] local.INFO: Extracted packet for processing {"connection_id":229332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a858"} 
[2026-11-05 02:28:17] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":4,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219315200001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793825751000,"timestamp_ms":1793825751000,"timestamp_seconds":1793825751,"priority":1,"record_length":96,"hex_timestamp":"000001a1a858bfd8"} 
[2026-11-05 02:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02:28: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-05 02:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 02:28: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-05 02:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219315200001,"66":25462,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219315200001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:28:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:28:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219315200001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:28:17] 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":61232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:28:17] local.INFO: GPS data processed {"connection_id":229332,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:28:17] local.INFO: Acknowledgment sent {"connection_id":229332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:28:21] local.INFO: TCP Data received {"connection_id":229332,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:28:21] local.INFO: Processing buffer {"connection_id":229332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:28:21] local.INFO: Packet analysis {"connection_id":229332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a858"} 
[2026-11-05 02:28:21] local.INFO: Extracted packet for processing {"connection_id":229332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a858"} 
[2026-11-05 02:28:21] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":4,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219315200001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793825751000,"timestamp_ms":1793825751000,"timestamp_seconds":1793825751,"priority":1,"record_length":96,"hex_timestamp":"000001a1a858bfd8"} 
[2026-11-05 02: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-05 02: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-05 02:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 02:28: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-05 02: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-05 02: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-05 02:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219315200001,"66":25462,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219315200001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:28:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:28:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219315200001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:28:21] 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":61233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:28:21] local.INFO: GPS data processed {"connection_id":229332,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:28:21] local.INFO: Acknowledgment sent {"connection_id":229332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:28:26] local.INFO: TCP Data received {"connection_id":229332,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:28:26] local.INFO: Processing buffer {"connection_id":229332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:28:26] local.INFO: Packet analysis {"connection_id":229332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a858"} 
[2026-11-05 02:28:26] local.INFO: Extracted packet for processing {"connection_id":229332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a858"} 
[2026-11-05 02:28:26] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":4,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219315200001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:28: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-05 02:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793825751000,"timestamp_ms":1793825751000,"timestamp_seconds":1793825751,"priority":1,"record_length":96,"hex_timestamp":"000001a1a858bfd8"} 
[2026-11-05 02: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-05 02:28: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-05 02:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 02:28:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02: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-05 02: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-05 02:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219315200001,"66":25462,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219315200001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:28:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:28:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219315200001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:28:26] 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":61234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:28:26] local.INFO: GPS data processed {"connection_id":229332,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:28:26] local.INFO: Acknowledgment sent {"connection_id":229332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:28:32] local.INFO: TCP Data received {"connection_id":233014,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233014,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:28:32] local.INFO: Processing buffer {"connection_id":233014,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:28:32] local.INFO: IMEI packet received {"connection_id":233014,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 02:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":233014,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:29:05] local.INFO: TCP Data received {"connection_id":231118,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:29:05] local.INFO: Processing buffer {"connection_id":231118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:29:05] local.INFO: IMEI packet received {"connection_id":231118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":231118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:29:07] local.INFO: TCP Data received {"connection_id":233015,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233015,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:29:07] local.INFO: Processing buffer {"connection_id":233015,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:29:07] local.INFO: IMEI packet received {"connection_id":233015,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 02:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":233015,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:29:10] local.INFO: TCP Data received {"connection_id":231118,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:29:10] local.INFO: Processing buffer {"connection_id":231118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:29:10] local.INFO: IMEI packet received {"connection_id":231118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":231118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:29:11] local.INFO: TCP Data received {"connection_id":231118,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:29:11] local.INFO: Processing buffer {"connection_id":231118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:29:11] local.INFO: Packet analysis {"connection_id":231118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a858"} 
[2026-11-05 02:29:11] local.INFO: Extracted packet for processing {"connection_id":231118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a858"} 
[2026-11-05 02:29:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":4,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219315200001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793825751000,"timestamp_ms":1793825751000,"timestamp_seconds":1793825751,"priority":1,"record_length":96,"hex_timestamp":"000001a1a858bfd8"} 
[2026-11-05 02: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-05 02:29: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-05 02:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 02:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02: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-05 02: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-05 02:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:29: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-05 02:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219315200001,"66":25462,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219315200001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:29:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:29:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219315200001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":231118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:29:11] local.INFO: GPS data processed {"connection_id":231118,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:29:11] local.INFO: Acknowledgment sent {"connection_id":231118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:29:43] local.INFO: TCP Data received {"connection_id":231118,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:29:43] local.INFO: Processing buffer {"connection_id":231118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:29:43] local.INFO: Packet analysis {"connection_id":231118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a858"} 
[2026-11-05 02:29:43] local.INFO: Extracted packet for processing {"connection_id":231118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a858"} 
[2026-11-05 02:29:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":4,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219315200001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793825751000,"timestamp_ms":1793825751000,"timestamp_seconds":1793825751,"priority":1,"record_length":96,"hex_timestamp":"000001a1a858bfd8"} 
[2026-11-05 02: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-05 02:29: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-05 02: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":118,"data_length":795,"current_offset":136} 
[2026-11-05 02:29: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-05 02: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-05 02: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-05 02:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219315200001,"66":25462,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219315200001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:29:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:29:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219315200001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":231118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:29:43] local.INFO: GPS data processed {"connection_id":231118,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:29:43] local.INFO: Acknowledgment sent {"connection_id":231118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:30:05] local.INFO: TCP Data received {"connection_id":229333,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:30:06] local.INFO: Processing buffer {"connection_id":229333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:30:06] local.INFO: IMEI packet received {"connection_id":229333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":229333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:30:10] local.INFO: TCP Data received {"connection_id":229333,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:30:10] local.INFO: Processing buffer {"connection_id":229333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:30:10] local.INFO: IMEI packet received {"connection_id":229333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":229333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:30:11] local.INFO: TCP Data received {"connection_id":229333,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:30:11] local.INFO: Processing buffer {"connection_id":229333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:30:11] local.INFO: Packet analysis {"connection_id":229333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a858"} 
[2026-11-05 02:30:11] local.INFO: Extracted packet for processing {"connection_id":229333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a858"} 
[2026-11-05 02:30:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":4,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219315200001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793825751000,"timestamp_ms":1793825751000,"timestamp_seconds":1793825751,"priority":1,"record_length":96,"hex_timestamp":"000001a1a858bfd8"} 
[2026-11-05 02: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-05 02:30: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-05 02:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 02:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02: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-05 02: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-05 02:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219315200001,"66":25462,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219315200001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:30:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:30:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219315200001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:30:11] 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":61237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:30:11] local.INFO: GPS data processed {"connection_id":229333,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:30:11] local.INFO: Acknowledgment sent {"connection_id":229333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:30:42] local.INFO: TCP Data received {"connection_id":229333,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:30:42] local.INFO: Processing buffer {"connection_id":229333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:30:42] local.INFO: Packet analysis {"connection_id":229333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a858"} 
[2026-11-05 02:30:42] local.INFO: Extracted packet for processing {"connection_id":229333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a858"} 
[2026-11-05 02:30:42] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":4,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219315200001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793825751000,"timestamp_ms":1793825751000,"timestamp_seconds":1793825751,"priority":1,"record_length":96,"hex_timestamp":"000001a1a858bfd8"} 
[2026-11-05 02:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02:30: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-05 02:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 02:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:30: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-05 02:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219315200001,"66":25462,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219315200001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:30:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:30:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219315200001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:30:42] 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":61238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:30:42] local.INFO: GPS data processed {"connection_id":229333,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:30:42] local.INFO: Acknowledgment sent {"connection_id":229333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:31:05] local.INFO: TCP Data received {"connection_id":233016,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:31:05] local.INFO: Processing buffer {"connection_id":233016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:31:05] local.INFO: IMEI packet received {"connection_id":233016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":233016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:31:10] local.INFO: TCP Data received {"connection_id":233016,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:31:10] local.INFO: Processing buffer {"connection_id":233016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:31:10] local.INFO: IMEI packet received {"connection_id":233016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":233016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:31:11] local.INFO: TCP Data received {"connection_id":233016,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:31:11] local.INFO: Processing buffer {"connection_id":233016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a858bfd8012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:31:11] local.INFO: Packet analysis {"connection_id":233016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a858"} 
[2026-11-05 02:31:11] local.INFO: Extracted packet for processing {"connection_id":233016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a858"} 
[2026-11-05 02:31:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":4,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219315200001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793825751000,"timestamp_ms":1793825751000,"timestamp_seconds":1793825751,"priority":1,"record_length":96,"hex_timestamp":"000001a1a858bfd8"} 
[2026-11-05 02: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-05 02:31: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-05 02:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 02:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02: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-05 02: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-05 02:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:31: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-05 02:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219315200001,"66":25462,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219315200001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:31:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:31:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219315200001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":233016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:31:11] local.INFO: GPS data processed {"connection_id":233016,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:31:11] local.INFO: Acknowledgment sent {"connection_id":233016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:31:43] local.INFO: TCP Data received {"connection_id":233016,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a85d57a0012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a85d57a0012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:31:43] local.INFO: Processing buffer {"connection_id":233016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a85d57a0012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:31:43] local.INFO: Packet analysis {"connection_id":233016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a85d"} 
[2026-11-05 02:31:43] local.INFO: Extracted packet for processing {"connection_id":233016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a85d"} 
[2026-11-05 02:31:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":4,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219392256001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:31: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-05 02:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793826052000,"timestamp_ms":1793826052000,"timestamp_seconds":1793826052,"priority":1,"record_length":96,"hex_timestamp":"000001a1a85d57a0"} 
[2026-11-05 02: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-05 02:31: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-05 02: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":118,"data_length":795,"current_offset":136} 
[2026-11-05 02:31: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-05 02: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-05 02: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-05 02:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":233016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":233016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":233016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:31: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-05 02:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219392256001,"66":25430,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219392256001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:31:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:31:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219392256001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":233016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:31:43] local.INFO: GPS data processed {"connection_id":233016,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:31:43] local.INFO: Acknowledgment sent {"connection_id":233016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:32:10] local.INFO: TCP Data received {"connection_id":231119,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:32:10] local.INFO: Processing buffer {"connection_id":231119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:32:10] local.INFO: IMEI packet received {"connection_id":231119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":231119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:32:15] local.INFO: TCP Data received {"connection_id":231119,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:32:15] local.INFO: Processing buffer {"connection_id":231119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:32:15] local.INFO: IMEI packet received {"connection_id":231119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":231119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:32:16] local.INFO: TCP Data received {"connection_id":231119,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a85d57a0012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a85d57a0012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:32:16] local.INFO: Processing buffer {"connection_id":231119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a85d57a0012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:32:16] local.INFO: Packet analysis {"connection_id":231119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a85d"} 
[2026-11-05 02:32:16] local.INFO: Extracted packet for processing {"connection_id":231119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a85d"} 
[2026-11-05 02:32:16] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":4,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 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-05 02:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219392256001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:32: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-05 02:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793826052000,"timestamp_ms":1793826052000,"timestamp_seconds":1793826052,"priority":1,"record_length":96,"hex_timestamp":"000001a1a85d57a0"} 
[2026-11-05 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-05 02:32: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-05 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 02:32: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-05 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-05 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-05 02:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":231119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":231119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":231119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219392256001,"66":25430,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219392256001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:32:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:32:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219392256001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":231119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:32:16] local.INFO: GPS data processed {"connection_id":231119,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:32:16] local.INFO: Acknowledgment sent {"connection_id":231119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:32:21] local.INFO: TCP Data received {"connection_id":231119,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a85d57a0012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a85d57a0012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:32:21] local.INFO: Processing buffer {"connection_id":231119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a85d57a0012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:32:21] local.INFO: Packet analysis {"connection_id":231119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a85d"} 
[2026-11-05 02:32:21] local.INFO: Extracted packet for processing {"connection_id":231119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a85d"} 
[2026-11-05 02:32:21] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":4,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219392256001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793826052000,"timestamp_ms":1793826052000,"timestamp_seconds":1793826052,"priority":1,"record_length":96,"hex_timestamp":"000001a1a85d57a0"} 
[2026-11-05 02: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-05 02: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-05 02: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":118,"data_length":795,"current_offset":136} 
[2026-11-05 02:32: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-05 02: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-05 02: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-05 02:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":231119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":231119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":231119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219392256001,"66":25430,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219392256001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:32:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:32:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219392256001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":231119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:32:21] local.INFO: GPS data processed {"connection_id":231119,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:32:21] local.INFO: Acknowledgment sent {"connection_id":231119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:33:05] local.INFO: TCP Data received {"connection_id":231121,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:33:05] local.INFO: Processing buffer {"connection_id":231121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:33:05] local.INFO: IMEI packet received {"connection_id":231121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":231121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:33:10] local.INFO: TCP Data received {"connection_id":231121,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:33:10] local.INFO: Processing buffer {"connection_id":231121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:33:10] local.INFO: IMEI packet received {"connection_id":231121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":231121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:33:11] local.INFO: TCP Data received {"connection_id":231121,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a85d57a0012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a85d57a0012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:33:11] local.INFO: Processing buffer {"connection_id":231121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a85d57a0012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:33:11] local.INFO: Packet analysis {"connection_id":231121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a85d"} 
[2026-11-05 02:33:11] local.INFO: Extracted packet for processing {"connection_id":231121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a85d"} 
[2026-11-05 02:33:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":4,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219392256001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793826052000,"timestamp_ms":1793826052000,"timestamp_seconds":1793826052,"priority":1,"record_length":96,"hex_timestamp":"000001a1a85d57a0"} 
[2026-11-05 02: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-05 02: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-05 02:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 02:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02: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-05 02: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-05 02:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219392256001,"66":25430,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219392256001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:33:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:33:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219392256001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":231121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:33:11] local.INFO: GPS data processed {"connection_id":231121,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:33:11] local.INFO: Acknowledgment sent {"connection_id":231121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:33:43] local.INFO: TCP Data received {"connection_id":231121,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a85d57a0012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a85d57a0012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:33:43] local.INFO: Processing buffer {"connection_id":231121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a85d57a0012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:33:43] local.INFO: Packet analysis {"connection_id":231121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a85d"} 
[2026-11-05 02:33:43] local.INFO: Extracted packet for processing {"connection_id":231121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a85d"} 
[2026-11-05 02:33:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":4,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219392256001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793826052000,"timestamp_ms":1793826052000,"timestamp_seconds":1793826052,"priority":1,"record_length":96,"hex_timestamp":"000001a1a85d57a0"} 
[2026-11-05 02: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-05 02: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-05 02: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":118,"data_length":795,"current_offset":136} 
[2026-11-05 02:33: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-05 02: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-05 02: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-05 02:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219392256001,"66":25430,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219392256001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:33:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:33:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219392256001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":231121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:33:43] local.INFO: GPS data processed {"connection_id":231121,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:33:43] local.INFO: Acknowledgment sent {"connection_id":231121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:34:04] local.INFO: TCP Data received {"connection_id":229334,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:34:04] local.INFO: Processing buffer {"connection_id":229334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:34:04] local.INFO: IMEI packet received {"connection_id":229334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":229334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:34:10] local.INFO: TCP Data received {"connection_id":229334,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:34:10] local.INFO: Processing buffer {"connection_id":229334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:34:10] local.INFO: IMEI packet received {"connection_id":229334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":229334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:34:12] local.INFO: TCP Data received {"connection_id":229334,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a85d57a0012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a85d57a0012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:34:12] local.INFO: Processing buffer {"connection_id":229334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a85d57a0012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:34:12] local.INFO: Packet analysis {"connection_id":229334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a85d"} 
[2026-11-05 02:34:12] local.INFO: Extracted packet for processing {"connection_id":229334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a85d"} 
[2026-11-05 02:34:12] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":4,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 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-05 02:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219392256001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793826052000,"timestamp_ms":1793826052000,"timestamp_seconds":1793826052,"priority":1,"record_length":96,"hex_timestamp":"000001a1a85d57a0"} 
[2026-11-05 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-05 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-05 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 02: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-05 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-05 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-05 02:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219392256001,"66":25430,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219392256001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:34:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:34:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219392256001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:34:12] 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":61245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:34:12] local.INFO: GPS data processed {"connection_id":229334,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:34:12] local.INFO: Acknowledgment sent {"connection_id":229334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:34:32] local.INFO: TCP Data received {"connection_id":229823,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229823,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:34:32] local.INFO: Processing buffer {"connection_id":229823,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:34:32] local.INFO: IMEI packet received {"connection_id":229823,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 02:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":229823,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:34:44] local.INFO: TCP Data received {"connection_id":229334,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a85d57a0012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a85d57a0012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:34:44] local.INFO: Processing buffer {"connection_id":229334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a85d57a0012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:34:44] local.INFO: Packet analysis {"connection_id":229334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a85d"} 
[2026-11-05 02:34:44] local.INFO: Extracted packet for processing {"connection_id":229334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a85d"} 
[2026-11-05 02:34:44] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":4,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219392256001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793826052000,"timestamp_ms":1793826052000,"timestamp_seconds":1793826052,"priority":1,"record_length":96,"hex_timestamp":"000001a1a85d57a0"} 
[2026-11-05 02: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-05 02:34: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-05 02: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-05 02: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-05 02: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-05 02: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-05 02:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219392256001,"66":25430,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219392256001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:34:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:34:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219392256001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:34:44] 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":61246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:34:44] local.INFO: GPS data processed {"connection_id":229334,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:34:44] local.INFO: Acknowledgment sent {"connection_id":229334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:35:05] local.INFO: TCP Data received {"connection_id":229335,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:35:05] local.INFO: Processing buffer {"connection_id":229335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:35:05] local.INFO: IMEI packet received {"connection_id":229335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":229335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:35:07] local.INFO: TCP Data received {"connection_id":229824,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229824,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:35:07] local.INFO: Processing buffer {"connection_id":229824,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:35:07] local.INFO: IMEI packet received {"connection_id":229824,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 02:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":229824,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:35:10] local.INFO: TCP Data received {"connection_id":229335,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:35:10] local.INFO: Processing buffer {"connection_id":229335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:35:10] local.INFO: IMEI packet received {"connection_id":229335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":229335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:35:11] local.INFO: TCP Data received {"connection_id":229335,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a85d57a0012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a85d57a0012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:35:11] local.INFO: Processing buffer {"connection_id":229335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a85d57a0012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:35:11] local.INFO: Packet analysis {"connection_id":229335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a85d"} 
[2026-11-05 02:35:11] local.INFO: Extracted packet for processing {"connection_id":229335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a85d"} 
[2026-11-05 02:35:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":4,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219392256001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793826052000,"timestamp_ms":1793826052000,"timestamp_seconds":1793826052,"priority":1,"record_length":96,"hex_timestamp":"000001a1a85d57a0"} 
[2026-11-05 02: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-05 02:35: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-05 02:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 02:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02: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-05 02: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-05 02:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:35: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-05 02:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219392256001,"66":25430,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219392256001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:35:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:35:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219392256001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:35:11] 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":61247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:35:11] local.INFO: GPS data processed {"connection_id":229335,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:35:11] local.INFO: Acknowledgment sent {"connection_id":229335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:35:43] local.INFO: TCP Data received {"connection_id":229335,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a85d57a0012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a85d57a0012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:35:43] local.INFO: Processing buffer {"connection_id":229335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a85d57a0012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:35:43] local.INFO: Packet analysis {"connection_id":229335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a85d"} 
[2026-11-05 02:35:43] local.INFO: Extracted packet for processing {"connection_id":229335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a85d"} 
[2026-11-05 02:35:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":4,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219392256001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793826052000,"timestamp_ms":1793826052000,"timestamp_seconds":1793826052,"priority":1,"record_length":96,"hex_timestamp":"000001a1a85d57a0"} 
[2026-11-05 02: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-05 02: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-05 02: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 02:35: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-05 02: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-05 02: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-05 02:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219392256001,"66":25430,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219392256001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:35:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:35:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219392256001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:35:43] 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":61248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:35:43] local.INFO: GPS data processed {"connection_id":229335,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:35:43] local.INFO: Acknowledgment sent {"connection_id":229335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:36:05] local.INFO: TCP Data received {"connection_id":231122,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:36:05] local.INFO: Processing buffer {"connection_id":231122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:36:05] local.INFO: IMEI packet received {"connection_id":231122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":231122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:36:10] local.INFO: TCP Data received {"connection_id":231122,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:36:10] local.INFO: Processing buffer {"connection_id":231122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:36:10] local.INFO: IMEI packet received {"connection_id":231122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":231122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:36:11] local.INFO: TCP Data received {"connection_id":231122,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a85d57a0012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a85d57a0012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:36:11] local.INFO: Processing buffer {"connection_id":231122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a85d57a0012d34c94006aa46e00004006c28..."} 
[2026-11-05 02:36:11] local.INFO: Packet analysis {"connection_id":231122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a85d"} 
[2026-11-05 02:36:11] local.INFO: Extracted packet for processing {"connection_id":231122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a85d"} 
[2026-11-05 02:36:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":4,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219392256001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793826052000,"timestamp_ms":1793826052000,"timestamp_seconds":1793826052,"priority":1,"record_length":96,"hex_timestamp":"000001a1a85d57a0"} 
[2026-11-05 02: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-05 02:36: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-05 02: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":118,"data_length":795,"current_offset":136} 
[2026-11-05 02:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02: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-05 02: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-05 02:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219392256001,"66":25430,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219392256001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:36:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:36:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219392256001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":231122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:36:11] local.INFO: GPS data processed {"connection_id":231122,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:36:11] local.INFO: Acknowledgment sent {"connection_id":231122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:36:43] local.INFO: TCP Data received {"connection_id":231122,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:36:43] local.INFO: Processing buffer {"connection_id":231122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:36:43] local.INFO: Packet analysis {"connection_id":231122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a861"} 
[2026-11-05 02:36:43] local.INFO: Extracted packet for processing {"connection_id":231122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a861"} 
[2026-11-05 02:36:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219469312001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:36: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-05 02:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793826353000,"timestamp_ms":1793826353000,"timestamp_seconds":1793826353,"priority":1,"record_length":96,"hex_timestamp":"000001a1a861ef68"} 
[2026-11-05 02:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02:36: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-05 02:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 02:36: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-05 02:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219469312001,"66":25430,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219469312001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:36:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:36:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219469312001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":231122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:36:43] local.INFO: GPS data processed {"connection_id":231122,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:36:43] local.INFO: Acknowledgment sent {"connection_id":231122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:37:05] local.INFO: TCP Data received {"connection_id":231123,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:37:05] local.INFO: Processing buffer {"connection_id":231123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:37:05] local.INFO: IMEI packet received {"connection_id":231123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":231123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:37:10] local.INFO: TCP Data received {"connection_id":231123,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:37:10] local.INFO: Processing buffer {"connection_id":231123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:37:10] local.INFO: IMEI packet received {"connection_id":231123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":231123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:37:11] local.INFO: TCP Data received {"connection_id":231123,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:37:11] local.INFO: Processing buffer {"connection_id":231123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:37:11] local.INFO: Packet analysis {"connection_id":231123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a861"} 
[2026-11-05 02:37:11] local.INFO: Extracted packet for processing {"connection_id":231123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a861"} 
[2026-11-05 02:37:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219469312001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793826353000,"timestamp_ms":1793826353000,"timestamp_seconds":1793826353,"priority":1,"record_length":96,"hex_timestamp":"000001a1a861ef68"} 
[2026-11-05 02: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-05 02:37: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-05 02:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 02:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02: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-05 02: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-05 02:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219469312001,"66":25430,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219469312001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:37:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:37:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219469312001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":231123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:37:11] local.INFO: GPS data processed {"connection_id":231123,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:37:11] local.INFO: Acknowledgment sent {"connection_id":231123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:37:43] local.INFO: TCP Data received {"connection_id":231123,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:37:43] local.INFO: Processing buffer {"connection_id":231123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:37:43] local.INFO: Packet analysis {"connection_id":231123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a861"} 
[2026-11-05 02:37:43] local.INFO: Extracted packet for processing {"connection_id":231123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a861"} 
[2026-11-05 02:37:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219469312001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:37: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-05 02:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793826353000,"timestamp_ms":1793826353000,"timestamp_seconds":1793826353,"priority":1,"record_length":96,"hex_timestamp":"000001a1a861ef68"} 
[2026-11-05 02: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-05 02: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-05 02:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 02:37: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-05 02: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-05 02: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-05 02:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219469312001,"66":25430,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219469312001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:37:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:37:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219469312001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":231123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:37:43] local.INFO: GPS data processed {"connection_id":231123,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:37:43] local.INFO: Acknowledgment sent {"connection_id":231123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:38:05] local.INFO: TCP Data received {"connection_id":229336,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:38:05] local.INFO: Processing buffer {"connection_id":229336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:38:05] local.INFO: IMEI packet received {"connection_id":229336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":229336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:38:10] local.INFO: TCP Data received {"connection_id":229336,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:38:10] local.INFO: Processing buffer {"connection_id":229336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:38:10] local.INFO: IMEI packet received {"connection_id":229336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":229336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:38:12] local.INFO: TCP Data received {"connection_id":229336,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:38:12] local.INFO: Processing buffer {"connection_id":229336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:38:12] local.INFO: Packet analysis {"connection_id":229336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a861"} 
[2026-11-05 02:38:12] local.INFO: Extracted packet for processing {"connection_id":229336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a861"} 
[2026-11-05 02:38:12] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 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-05 02:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219469312001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793826353000,"timestamp_ms":1793826353000,"timestamp_seconds":1793826353,"priority":1,"record_length":96,"hex_timestamp":"000001a1a861ef68"} 
[2026-11-05 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-05 02: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-05 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 02:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 02:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219469312001,"66":25430,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219469312001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:38:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:38:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219469312001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:38:12] 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":61253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:38:12] local.INFO: GPS data processed {"connection_id":229336,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:38:12] local.INFO: Acknowledgment sent {"connection_id":229336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:38:44] local.INFO: TCP Data received {"connection_id":229336,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:38:44] local.INFO: Processing buffer {"connection_id":229336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:38:44] local.INFO: Packet analysis {"connection_id":229336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a861"} 
[2026-11-05 02:38:44] local.INFO: Extracted packet for processing {"connection_id":229336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a861"} 
[2026-11-05 02:38:44] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 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-05 02:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219469312001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793826353000,"timestamp_ms":1793826353000,"timestamp_seconds":1793826353,"priority":1,"record_length":96,"hex_timestamp":"000001a1a861ef68"} 
[2026-11-05 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-05 02:38: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-05 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 02:38:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 02:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219469312001,"66":25430,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219469312001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:38:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:38:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219469312001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:38:44] 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":61254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:38:44] local.INFO: GPS data processed {"connection_id":229336,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:38:44] local.INFO: Acknowledgment sent {"connection_id":229336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:39:05] local.INFO: TCP Data received {"connection_id":233018,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:39:05] local.INFO: Processing buffer {"connection_id":233018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:39:05] local.INFO: IMEI packet received {"connection_id":233018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":233018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:39:10] local.INFO: TCP Data received {"connection_id":233018,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:39:10] local.INFO: Processing buffer {"connection_id":233018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:39:10] local.INFO: IMEI packet received {"connection_id":233018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":233018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:39:12] local.INFO: TCP Data received {"connection_id":233018,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:39:12] local.INFO: Processing buffer {"connection_id":233018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:39:12] local.INFO: Packet analysis {"connection_id":233018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a861"} 
[2026-11-05 02:39:12] local.INFO: Extracted packet for processing {"connection_id":233018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a861"} 
[2026-11-05 02:39:12] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219469312001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793826353000,"timestamp_ms":1793826353000,"timestamp_seconds":1793826353,"priority":1,"record_length":96,"hex_timestamp":"000001a1a861ef68"} 
[2026-11-05 02:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02: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-05 02:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 02:39: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-05 02:39:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":233018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":233018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":233018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219469312001,"66":25430,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219469312001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:39:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:39:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219469312001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":233018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:39:12] local.INFO: GPS data processed {"connection_id":233018,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:39:12] local.INFO: Acknowledgment sent {"connection_id":233018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:39:44] local.INFO: TCP Data received {"connection_id":233018,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:39:44] local.INFO: Processing buffer {"connection_id":233018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:39:44] local.INFO: Packet analysis {"connection_id":233018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a861"} 
[2026-11-05 02:39:44] local.INFO: Extracted packet for processing {"connection_id":233018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a861"} 
[2026-11-05 02:39:44] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219469312001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793826353000,"timestamp_ms":1793826353000,"timestamp_seconds":1793826353,"priority":1,"record_length":96,"hex_timestamp":"000001a1a861ef68"} 
[2026-11-05 02: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-05 02:39: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-05 02: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":86,"data_length":795,"current_offset":136} 
[2026-11-05 02:39: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-05 02: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-05 02: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-05 02:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":233018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":233018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":233018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219469312001,"66":25430,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219469312001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:39:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:39:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219469312001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":233018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:39:44] local.INFO: GPS data processed {"connection_id":233018,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:39:44] local.INFO: Acknowledgment sent {"connection_id":233018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:40:05] local.INFO: TCP Data received {"connection_id":233019,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:40:05] local.INFO: Processing buffer {"connection_id":233019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:40:05] local.INFO: IMEI packet received {"connection_id":233019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":233019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:40:10] local.INFO: TCP Data received {"connection_id":233019,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:40:10] local.INFO: Processing buffer {"connection_id":233019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:40:10] local.INFO: IMEI packet received {"connection_id":233019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":233019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:40:11] local.INFO: TCP Data received {"connection_id":233019,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:40:11] local.INFO: Processing buffer {"connection_id":233019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:40:11] local.INFO: Packet analysis {"connection_id":233019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a861"} 
[2026-11-05 02:40:11] local.INFO: Extracted packet for processing {"connection_id":233019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a861"} 
[2026-11-05 02:40:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219469312001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793826353000,"timestamp_ms":1793826353000,"timestamp_seconds":1793826353,"priority":1,"record_length":96,"hex_timestamp":"000001a1a861ef68"} 
[2026-11-05 02: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-05 02:40: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-05 02:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 02:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02: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-05 02: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-05 02:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219469312001,"66":25430,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219469312001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:40:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:40:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219469312001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":233019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:40:11] local.INFO: GPS data processed {"connection_id":233019,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:40:11] local.INFO: Acknowledgment sent {"connection_id":233019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:40:29] local.INFO: TCP Data received {"connection_id":229337,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229337,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:40:29] local.INFO: Processing buffer {"connection_id":229337,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:40:29] local.INFO: IMEI packet received {"connection_id":229337,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 02:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":229337,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:40:42] local.INFO: TCP Data received {"connection_id":233019,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:40:42] local.INFO: Processing buffer {"connection_id":233019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:40:42] local.INFO: Packet analysis {"connection_id":233019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a861"} 
[2026-11-05 02:40:42] local.INFO: Extracted packet for processing {"connection_id":233019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a861"} 
[2026-11-05 02:40:42] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219469312001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793826353000,"timestamp_ms":1793826353000,"timestamp_seconds":1793826353,"priority":1,"record_length":96,"hex_timestamp":"000001a1a861ef68"} 
[2026-11-05 02:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02:40: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-05 02:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 02:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219469312001,"66":25430,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219469312001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:40:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:40:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219469312001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":233019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:40:42] local.INFO: GPS data processed {"connection_id":233019,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:40:42] local.INFO: Acknowledgment sent {"connection_id":233019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:41:07] local.INFO: TCP Data received {"connection_id":229830,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229830,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:41:07] local.INFO: Processing buffer {"connection_id":229830,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:41:07] local.INFO: IMEI packet received {"connection_id":229830,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 02:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":229830,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:41:10] local.INFO: TCP Data received {"connection_id":229829,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:41:10] local.INFO: Processing buffer {"connection_id":229829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:41:10] local.INFO: IMEI packet received {"connection_id":229829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":229829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:41:15] local.INFO: TCP Data received {"connection_id":229829,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:41:15] local.INFO: Processing buffer {"connection_id":229829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:41:15] local.INFO: IMEI packet received {"connection_id":229829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":229829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:41:16] local.INFO: TCP Data received {"connection_id":229829,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:41:16] local.INFO: Processing buffer {"connection_id":229829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:41:16] local.INFO: Packet analysis {"connection_id":229829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a861"} 
[2026-11-05 02:41:16] local.INFO: Extracted packet for processing {"connection_id":229829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a861"} 
[2026-11-05 02:41:16] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219469312001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:41: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-05 02:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793826353000,"timestamp_ms":1793826353000,"timestamp_seconds":1793826353,"priority":1,"record_length":96,"hex_timestamp":"000001a1a861ef68"} 
[2026-11-05 02: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-05 02: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-05 02: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":86,"data_length":795,"current_offset":136} 
[2026-11-05 02:41: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-05 02: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-05 02: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-05 02:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219469312001,"66":25430,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219469312001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:41:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:41:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219469312001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":229829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:41:16] local.INFO: GPS data processed {"connection_id":229829,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:41:16] local.INFO: Acknowledgment sent {"connection_id":229829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:41:21] local.INFO: TCP Data received {"connection_id":229829,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:41:21] local.INFO: Processing buffer {"connection_id":229829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a861ef68012d34c94006aa46e0000a006c26..."} 
[2026-11-05 02:41:21] local.INFO: Packet analysis {"connection_id":229829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a861"} 
[2026-11-05 02:41:21] local.INFO: Extracted packet for processing {"connection_id":229829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a861"} 
[2026-11-05 02:41:21] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219469312001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:41: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-05 02:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793826353000,"timestamp_ms":1793826353000,"timestamp_seconds":1793826353,"priority":1,"record_length":96,"hex_timestamp":"000001a1a861ef68"} 
[2026-11-05 02: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-05 02:41: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-05 02: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":86,"data_length":795,"current_offset":136} 
[2026-11-05 02:41: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-05 02: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-05 02: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-05 02:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219469312001,"66":25430,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219469312001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:41:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:41:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219469312001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":229829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:41:21] local.INFO: GPS data processed {"connection_id":229829,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:41:21] local.INFO: Acknowledgment sent {"connection_id":229829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:42:05] local.INFO: TCP Data received {"connection_id":229338,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:42:05] local.INFO: Processing buffer {"connection_id":229338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:42:05] local.INFO: IMEI packet received {"connection_id":229338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":229338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:42:10] local.INFO: TCP Data received {"connection_id":229338,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:42:10] local.INFO: Processing buffer {"connection_id":229338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:42:10] local.INFO: IMEI packet received {"connection_id":229338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":229338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:42:11] local.INFO: TCP Data received {"connection_id":229338,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8668730012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8668730012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:42:11] local.INFO: Processing buffer {"connection_id":229338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8668730012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:42:11] local.INFO: Packet analysis {"connection_id":229338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a866"} 
[2026-11-05 02:42:11] local.INFO: Extracted packet for processing {"connection_id":229338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a866"} 
[2026-11-05 02:42:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219546368001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793826654000,"timestamp_ms":1793826654000,"timestamp_seconds":1793826654,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8668730"} 
[2026-11-05 02: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-05 02:42: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-05 02: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":86,"data_length":795,"current_offset":136} 
[2026-11-05 02:42: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-05 02: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-05 02: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-05 02:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219546368001,"66":25397,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219546368001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:42:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:42:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219546368001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:42:11] 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":61261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:42:11] local.INFO: GPS data processed {"connection_id":229338,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:42:11] local.INFO: Acknowledgment sent {"connection_id":229338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:42:42] local.INFO: TCP Data received {"connection_id":229338,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8668730012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8668730012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:42:42] local.INFO: Processing buffer {"connection_id":229338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8668730012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:42:42] local.INFO: Packet analysis {"connection_id":229338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a866"} 
[2026-11-05 02:42:42] local.INFO: Extracted packet for processing {"connection_id":229338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a866"} 
[2026-11-05 02:42:42] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219546368001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793826654000,"timestamp_ms":1793826654000,"timestamp_seconds":1793826654,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8668730"} 
[2026-11-05 02:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02:42: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-05 02:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 02:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:42: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-05 02:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219546368001,"66":25397,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219546368001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:42:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:42:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219546368001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:42:42] 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":61262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:42:42] local.INFO: GPS data processed {"connection_id":229338,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:42:42] local.INFO: Acknowledgment sent {"connection_id":229338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:43:05] local.INFO: TCP Data received {"connection_id":231124,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:43:05] local.INFO: Processing buffer {"connection_id":231124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:43:05] local.INFO: IMEI packet received {"connection_id":231124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":231124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:43:10] local.INFO: TCP Data received {"connection_id":231124,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:43:10] local.INFO: Processing buffer {"connection_id":231124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:43:10] local.INFO: IMEI packet received {"connection_id":231124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":231124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:43:11] local.INFO: TCP Data received {"connection_id":231124,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8668730012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8668730012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:43:11] local.INFO: Processing buffer {"connection_id":231124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8668730012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:43:11] local.INFO: Packet analysis {"connection_id":231124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a866"} 
[2026-11-05 02:43:11] local.INFO: Extracted packet for processing {"connection_id":231124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a866"} 
[2026-11-05 02:43:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219546368001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793826654000,"timestamp_ms":1793826654000,"timestamp_seconds":1793826654,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8668730"} 
[2026-11-05 02:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02:43: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-05 02:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 02:43: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-05 02:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:43: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-05 02:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219546368001,"66":25397,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219546368001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:43:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:43:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219546368001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":231124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:43:11] local.INFO: GPS data processed {"connection_id":231124,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:43:11] local.INFO: Acknowledgment sent {"connection_id":231124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:43:43] local.INFO: TCP Data received {"connection_id":231124,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8668730012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8668730012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:43:43] local.INFO: Processing buffer {"connection_id":231124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8668730012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:43:43] local.INFO: Packet analysis {"connection_id":231124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a866"} 
[2026-11-05 02:43:43] local.INFO: Extracted packet for processing {"connection_id":231124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a866"} 
[2026-11-05 02:43:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219546368001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793826654000,"timestamp_ms":1793826654000,"timestamp_seconds":1793826654,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8668730"} 
[2026-11-05 02: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-05 02:43: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-05 02: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":86,"data_length":795,"current_offset":136} 
[2026-11-05 02:43: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-05 02: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-05 02: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-05 02:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219546368001,"66":25397,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219546368001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:43:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:43:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219546368001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":231124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:43:43] local.INFO: GPS data processed {"connection_id":231124,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:43:43] local.INFO: Acknowledgment sent {"connection_id":231124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:44:05] local.INFO: TCP Data received {"connection_id":229339,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:44:05] local.INFO: Processing buffer {"connection_id":229339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:44:05] local.INFO: IMEI packet received {"connection_id":229339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":229339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:44:10] local.INFO: TCP Data received {"connection_id":229339,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:44:10] local.INFO: Processing buffer {"connection_id":229339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:44:10] local.INFO: IMEI packet received {"connection_id":229339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":229339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:44:11] local.INFO: TCP Data received {"connection_id":229339,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8668730012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8668730012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:44:11] local.INFO: Processing buffer {"connection_id":229339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8668730012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:44:11] local.INFO: Packet analysis {"connection_id":229339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a866"} 
[2026-11-05 02:44:11] local.INFO: Extracted packet for processing {"connection_id":229339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a866"} 
[2026-11-05 02:44:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219546368001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793826654000,"timestamp_ms":1793826654000,"timestamp_seconds":1793826654,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8668730"} 
[2026-11-05 02: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-05 02:44: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-05 02: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-05 02: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-05 02: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-05 02: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-05 02:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219546368001,"66":25397,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219546368001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:44:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:44:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219546368001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:44:11] 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":61265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:44:11] local.INFO: GPS data processed {"connection_id":229339,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:44:11] local.INFO: Acknowledgment sent {"connection_id":229339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:44:42] local.INFO: TCP Data received {"connection_id":229339,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8668730012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8668730012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:44:42] local.INFO: Processing buffer {"connection_id":229339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8668730012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:44:42] local.INFO: Packet analysis {"connection_id":229339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a866"} 
[2026-11-05 02:44:42] local.INFO: Extracted packet for processing {"connection_id":229339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a866"} 
[2026-11-05 02:44:42] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219546368001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793826654000,"timestamp_ms":1793826654000,"timestamp_seconds":1793826654,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8668730"} 
[2026-11-05 02:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02:44: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-05 02:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 02:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:44: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-05 02:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219546368001,"66":25397,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219546368001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:44:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:44:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219546368001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:44:42] 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":61266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:44:42] local.INFO: GPS data processed {"connection_id":229339,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:44:42] local.INFO: Acknowledgment sent {"connection_id":229339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:45:10] local.INFO: TCP Data received {"connection_id":233022,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:45:10] local.INFO: Processing buffer {"connection_id":233022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:45:10] local.INFO: IMEI packet received {"connection_id":233022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":233022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:45:15] local.INFO: TCP Data received {"connection_id":233022,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:45:15] local.INFO: Processing buffer {"connection_id":233022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:45:15] local.INFO: IMEI packet received {"connection_id":233022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":233022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:45:16] local.INFO: TCP Data received {"connection_id":233022,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8668730012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8668730012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:45:16] local.INFO: Processing buffer {"connection_id":233022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8668730012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:45:16] local.INFO: Packet analysis {"connection_id":233022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a866"} 
[2026-11-05 02:45:16] local.INFO: Extracted packet for processing {"connection_id":233022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a866"} 
[2026-11-05 02:45:16] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219546368001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793826654000,"timestamp_ms":1793826654000,"timestamp_seconds":1793826654,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8668730"} 
[2026-11-05 02: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-05 02:45: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-05 02:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 02:45: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-05 02: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-05 02: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-05 02:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":233022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":233022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":233022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:45: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-05 02:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219546368001,"66":25397,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219546368001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:45:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:45:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219546368001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":233022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:45:16] local.INFO: GPS data processed {"connection_id":233022,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:45:16] local.INFO: Acknowledgment sent {"connection_id":233022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:45:21] local.INFO: TCP Data received {"connection_id":233022,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8668730012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8668730012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:45:21] local.INFO: Processing buffer {"connection_id":233022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8668730012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:45:21] local.INFO: Packet analysis {"connection_id":233022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a866"} 
[2026-11-05 02:45:21] local.INFO: Extracted packet for processing {"connection_id":233022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a866"} 
[2026-11-05 02:45:21] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219546368001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:45: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-05 02:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793826654000,"timestamp_ms":1793826654000,"timestamp_seconds":1793826654,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8668730"} 
[2026-11-05 02: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-05 02:45: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-05 02: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-05 02: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-05 02: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-05 02: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-05 02:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":233022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":233022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":233022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219546368001,"66":25397,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219546368001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:45:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:45:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219546368001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":233022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:45:21] local.INFO: GPS data processed {"connection_id":233022,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:45:21] local.INFO: Acknowledgment sent {"connection_id":233022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:46:05] local.INFO: TCP Data received {"connection_id":231126,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:46:05] local.INFO: Processing buffer {"connection_id":231126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:46:05] local.INFO: IMEI packet received {"connection_id":231126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":231126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:46:10] local.INFO: TCP Data received {"connection_id":231126,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:46:10] local.INFO: Processing buffer {"connection_id":231126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:46:10] local.INFO: IMEI packet received {"connection_id":231126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":231126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:46:11] local.INFO: TCP Data received {"connection_id":231126,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8668730012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8668730012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:46:11] local.INFO: Processing buffer {"connection_id":231126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8668730012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:46:11] local.INFO: Packet analysis {"connection_id":231126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a866"} 
[2026-11-05 02:46:11] local.INFO: Extracted packet for processing {"connection_id":231126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a866"} 
[2026-11-05 02:46:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219546368001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793826654000,"timestamp_ms":1793826654000,"timestamp_seconds":1793826654,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8668730"} 
[2026-11-05 02:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02:46: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-05 02:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 02:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:46: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-05 02:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219546368001,"66":25397,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219546368001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:46:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:46:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219546368001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":231126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:46:11] local.INFO: GPS data processed {"connection_id":231126,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:46:11] local.INFO: Acknowledgment sent {"connection_id":231126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:46:27] local.INFO: TCP Data received {"connection_id":229832,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229832,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:46:27] local.INFO: Processing buffer {"connection_id":229832,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:46:27] local.INFO: IMEI packet received {"connection_id":229832,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 02:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":229832,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:46:42] local.INFO: TCP Data received {"connection_id":231126,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a86b1ef8012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a86b1ef8012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:46:42] local.INFO: Processing buffer {"connection_id":231126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a86b1ef8012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:46:42] local.INFO: Packet analysis {"connection_id":231126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a86b"} 
[2026-11-05 02:46:42] local.INFO: Extracted packet for processing {"connection_id":231126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a86b"} 
[2026-11-05 02:46:42] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219623424001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793826955000,"timestamp_ms":1793826955000,"timestamp_seconds":1793826955,"priority":1,"record_length":96,"hex_timestamp":"000001a1a86b1ef8"} 
[2026-11-05 02:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02: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-05 02:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 02:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 02:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:46: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-05 02:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219623424001,"66":25397,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219623424001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:46:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:46:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219623424001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":231126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:46:42] local.INFO: GPS data processed {"connection_id":231126,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:46:42] local.INFO: Acknowledgment sent {"connection_id":231126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:47:04] local.INFO: TCP Data received {"connection_id":229833,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:47:05] local.INFO: Processing buffer {"connection_id":229833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:47:05] local.INFO: IMEI packet received {"connection_id":229833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":229833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:47:07] local.INFO: TCP Data received {"connection_id":233023,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233023,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:47:07] local.INFO: Processing buffer {"connection_id":233023,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:47:07] local.INFO: IMEI packet received {"connection_id":233023,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 02:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":233023,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:47:10] local.INFO: TCP Data received {"connection_id":229833,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:47:10] local.INFO: Processing buffer {"connection_id":229833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:47:10] local.INFO: IMEI packet received {"connection_id":229833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":229833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:47:11] local.INFO: TCP Data received {"connection_id":229833,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a86b1ef8012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a86b1ef8012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:47:11] local.INFO: Processing buffer {"connection_id":229833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a86b1ef8012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:47:11] local.INFO: Packet analysis {"connection_id":229833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a86b"} 
[2026-11-05 02:47:11] local.INFO: Extracted packet for processing {"connection_id":229833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a86b"} 
[2026-11-05 02:47:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219623424001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793826955000,"timestamp_ms":1793826955000,"timestamp_seconds":1793826955,"priority":1,"record_length":96,"hex_timestamp":"000001a1a86b1ef8"} 
[2026-11-05 02: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-05 02:47: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-05 02: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-05 02: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-05 02: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-05 02: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-05 02:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219623424001,"66":25397,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219623424001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:47:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:47:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219623424001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":229833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:47:11] local.INFO: GPS data processed {"connection_id":229833,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:47:11] local.INFO: Acknowledgment sent {"connection_id":229833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:47:43] local.INFO: TCP Data received {"connection_id":229833,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a86b1ef8012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a86b1ef8012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:47:43] local.INFO: Processing buffer {"connection_id":229833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a86b1ef8012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:47:43] local.INFO: Packet analysis {"connection_id":229833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a86b"} 
[2026-11-05 02:47:43] local.INFO: Extracted packet for processing {"connection_id":229833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a86b"} 
[2026-11-05 02:47:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219623424001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793826955000,"timestamp_ms":1793826955000,"timestamp_seconds":1793826955,"priority":1,"record_length":96,"hex_timestamp":"000001a1a86b1ef8"} 
[2026-11-05 02: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-05 02:47: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-05 02: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-05 02: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-05 02: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-05 02: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-05 02:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219623424001,"66":25397,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219623424001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:47:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:47:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219623424001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":229833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:47:43] local.INFO: GPS data processed {"connection_id":229833,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:47:43] local.INFO: Acknowledgment sent {"connection_id":229833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:48:10] local.INFO: TCP Data received {"connection_id":233024,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:48:10] local.INFO: Processing buffer {"connection_id":233024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:48:10] local.INFO: IMEI packet received {"connection_id":233024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":233024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:48:15] local.INFO: TCP Data received {"connection_id":233024,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:48:15] local.INFO: Processing buffer {"connection_id":233024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:48:15] local.INFO: IMEI packet received {"connection_id":233024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":233024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:48:17] local.INFO: TCP Data received {"connection_id":233024,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a86b1ef8012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a86b1ef8012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:48:17] local.INFO: Processing buffer {"connection_id":233024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a86b1ef8012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:48:17] local.INFO: Packet analysis {"connection_id":233024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a86b"} 
[2026-11-05 02:48:17] local.INFO: Extracted packet for processing {"connection_id":233024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a86b"} 
[2026-11-05 02:48:17] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219623424001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:48: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-05 02:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793826955000,"timestamp_ms":1793826955000,"timestamp_seconds":1793826955,"priority":1,"record_length":96,"hex_timestamp":"000001a1a86b1ef8"} 
[2026-11-05 02:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02: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-05 02:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 02: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-05 02:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":233024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":233024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":233024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219623424001,"66":25397,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219623424001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:48:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:48:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219623424001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":233024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:48:17] local.INFO: GPS data processed {"connection_id":233024,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:48:17] local.INFO: Acknowledgment sent {"connection_id":233024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:48:21] local.INFO: TCP Data received {"connection_id":233024,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a86b1ef8012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a86b1ef8012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:48:21] local.INFO: Processing buffer {"connection_id":233024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a86b1ef8012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:48:21] local.INFO: Packet analysis {"connection_id":233024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a86b"} 
[2026-11-05 02:48:21] local.INFO: Extracted packet for processing {"connection_id":233024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a86b"} 
[2026-11-05 02:48:21] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219623424001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793826955000,"timestamp_ms":1793826955000,"timestamp_seconds":1793826955,"priority":1,"record_length":96,"hex_timestamp":"000001a1a86b1ef8"} 
[2026-11-05 02: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-05 02: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-05 02: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-05 02: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-05 02: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-05 02: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-05 02:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":233024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":233024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":233024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219623424001,"66":25397,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219623424001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:48:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:48:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219623424001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":233024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:48:21] local.INFO: GPS data processed {"connection_id":233024,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:48:21] local.INFO: Acknowledgment sent {"connection_id":233024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:49:05] local.INFO: TCP Data received {"connection_id":233026,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:49:05] local.INFO: Processing buffer {"connection_id":233026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:49:05] local.INFO: IMEI packet received {"connection_id":233026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":233026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:49:10] local.INFO: TCP Data received {"connection_id":233026,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:49:10] local.INFO: Processing buffer {"connection_id":233026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:49:10] local.INFO: IMEI packet received {"connection_id":233026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":233026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:49:11] local.INFO: TCP Data received {"connection_id":233026,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a86b1ef8012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a86b1ef8012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:49:11] local.INFO: Processing buffer {"connection_id":233026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a86b1ef8012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:49:11] local.INFO: Packet analysis {"connection_id":233026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a86b"} 
[2026-11-05 02:49:11] local.INFO: Extracted packet for processing {"connection_id":233026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a86b"} 
[2026-11-05 02:49:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219623424001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793826955000,"timestamp_ms":1793826955000,"timestamp_seconds":1793826955,"priority":1,"record_length":96,"hex_timestamp":"000001a1a86b1ef8"} 
[2026-11-05 02: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-05 02:49: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-05 02:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 02:49: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-05 02: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-05 02: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-05 02:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219623424001,"66":25397,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219623424001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:49:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:49:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219623424001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":233026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:49:11] local.INFO: GPS data processed {"connection_id":233026,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:49:11] local.INFO: Acknowledgment sent {"connection_id":233026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:49:43] local.INFO: TCP Data received {"connection_id":233026,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a86b1ef8012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a86b1ef8012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:49:43] local.INFO: Processing buffer {"connection_id":233026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a86b1ef8012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:49:43] local.INFO: Packet analysis {"connection_id":233026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a86b"} 
[2026-11-05 02:49:43] local.INFO: Extracted packet for processing {"connection_id":233026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a86b"} 
[2026-11-05 02:49:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219623424001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:49: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-05 02:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793826955000,"timestamp_ms":1793826955000,"timestamp_seconds":1793826955,"priority":1,"record_length":96,"hex_timestamp":"000001a1a86b1ef8"} 
[2026-11-05 02:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02:49: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-05 02:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 02:49:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":233026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":233026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":233026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:49: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-05 02:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219623424001,"66":25397,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219623424001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:49:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:49:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219623424001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":233026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:49:43] local.INFO: GPS data processed {"connection_id":233026,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:49:43] local.INFO: Acknowledgment sent {"connection_id":233026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:50:05] local.INFO: TCP Data received {"connection_id":231127,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:50:05] local.INFO: Processing buffer {"connection_id":231127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:50:05] local.INFO: IMEI packet received {"connection_id":231127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":231127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:50:10] local.INFO: TCP Data received {"connection_id":231127,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:50:10] local.INFO: Processing buffer {"connection_id":231127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:50:10] local.INFO: IMEI packet received {"connection_id":231127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":231127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:50:11] local.INFO: TCP Data received {"connection_id":231127,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a86b1ef8012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a86b1ef8012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:50:11] local.INFO: Processing buffer {"connection_id":231127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a86b1ef8012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:50:11] local.INFO: Packet analysis {"connection_id":231127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a86b"} 
[2026-11-05 02:50:11] local.INFO: Extracted packet for processing {"connection_id":231127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a86b"} 
[2026-11-05 02:50:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219623424001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793826955000,"timestamp_ms":1793826955000,"timestamp_seconds":1793826955,"priority":1,"record_length":96,"hex_timestamp":"000001a1a86b1ef8"} 
[2026-11-05 02: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-05 02: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-05 02: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":53,"data_length":795,"current_offset":136} 
[2026-11-05 02:50: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-05 02: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-05 02: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-05 02:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219623424001,"66":25397,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219623424001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:50:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:50:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219623424001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":231127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:50:11] local.INFO: GPS data processed {"connection_id":231127,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:50:11] local.INFO: Acknowledgment sent {"connection_id":231127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:50:42] local.INFO: TCP Data received {"connection_id":231127,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a86b1ef8012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a86b1ef8012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:50:42] local.INFO: Processing buffer {"connection_id":231127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a86b1ef8012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:50:42] local.INFO: Packet analysis {"connection_id":231127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a86b"} 
[2026-11-05 02:50:42] local.INFO: Extracted packet for processing {"connection_id":231127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a86b"} 
[2026-11-05 02:50:42] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219623424001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793826955000,"timestamp_ms":1793826955000,"timestamp_seconds":1793826955,"priority":1,"record_length":96,"hex_timestamp":"000001a1a86b1ef8"} 
[2026-11-05 02: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-05 02:50: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-05 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 02:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 02: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-05 02: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-05 02:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:50: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-05 02:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219623424001,"66":25397,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219623424001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:50:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:50:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219623424001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":231127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:50:42] local.INFO: GPS data processed {"connection_id":231127,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:50:42] local.INFO: Acknowledgment sent {"connection_id":231127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:51:05] local.INFO: TCP Data received {"connection_id":229834,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:51:05] local.INFO: Processing buffer {"connection_id":229834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:51:05] local.INFO: IMEI packet received {"connection_id":229834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":229834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:51:10] local.INFO: TCP Data received {"connection_id":229834,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:51:10] local.INFO: Processing buffer {"connection_id":229834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:51:10] local.INFO: IMEI packet received {"connection_id":229834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":229834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:51:11] local.INFO: TCP Data received {"connection_id":229834,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a86b1ef8012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a86b1ef8012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:51:11] local.INFO: Processing buffer {"connection_id":229834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a86b1ef8012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:51:11] local.INFO: Packet analysis {"connection_id":229834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a86b"} 
[2026-11-05 02:51:11] local.INFO: Extracted packet for processing {"connection_id":229834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a86b"} 
[2026-11-05 02:51:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219623424001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793826955000,"timestamp_ms":1793826955000,"timestamp_seconds":1793826955,"priority":1,"record_length":96,"hex_timestamp":"000001a1a86b1ef8"} 
[2026-11-05 02:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02:51: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-05 02:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 02:51: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-05 02:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:51: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-05 02:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219623424001,"66":25397,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219623424001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:51:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:51:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219623424001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":229834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:51:11] local.INFO: GPS data processed {"connection_id":229834,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:51:11] local.INFO: Acknowledgment sent {"connection_id":229834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:51:43] local.INFO: TCP Data received {"connection_id":229834,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:51:43] local.INFO: Processing buffer {"connection_id":229834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:51:43] local.INFO: Packet analysis {"connection_id":229834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a86f"} 
[2026-11-05 02:51:43] local.INFO: Extracted packet for processing {"connection_id":229834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a86f"} 
[2026-11-05 02:51:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219700480001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793827256000,"timestamp_ms":1793827256000,"timestamp_seconds":1793827256,"priority":1,"record_length":96,"hex_timestamp":"000001a1a86fb6c0"} 
[2026-11-05 02: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-05 02: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-05 02: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-05 02: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-05 02: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-05 02: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-05 02:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219700480001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219700480001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:51:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:51:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219700480001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":229834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:51:43] local.INFO: GPS data processed {"connection_id":229834,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:51:43] local.INFO: Acknowledgment sent {"connection_id":229834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:52:05] local.INFO: TCP Data received {"connection_id":229835,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:52:05] local.INFO: Processing buffer {"connection_id":229835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:52:05] local.INFO: IMEI packet received {"connection_id":229835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":229835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:52:10] local.INFO: TCP Data received {"connection_id":229835,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:52:10] local.INFO: Processing buffer {"connection_id":229835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:52:10] local.INFO: IMEI packet received {"connection_id":229835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":229835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:52:11] local.INFO: TCP Data received {"connection_id":229835,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:52:11] local.INFO: Processing buffer {"connection_id":229835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:52:11] local.INFO: Packet analysis {"connection_id":229835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a86f"} 
[2026-11-05 02:52:11] local.INFO: Extracted packet for processing {"connection_id":229835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a86f"} 
[2026-11-05 02:52:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219700480001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793827256000,"timestamp_ms":1793827256000,"timestamp_seconds":1793827256,"priority":1,"record_length":96,"hex_timestamp":"000001a1a86fb6c0"} 
[2026-11-05 02: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-05 02:52: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-05 02:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 02:52: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-05 02: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-05 02: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-05 02:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:52: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-05 02:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219700480001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219700480001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:52:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:52:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219700480001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":229835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:52:11] local.INFO: GPS data processed {"connection_id":229835,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:52:11] local.INFO: Acknowledgment sent {"connection_id":229835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:52:16] local.INFO: TCP Data received {"connection_id":229835,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:52:16] local.INFO: Processing buffer {"connection_id":229835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:52:16] local.INFO: Packet analysis {"connection_id":229835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a86f"} 
[2026-11-05 02:52:16] local.INFO: Extracted packet for processing {"connection_id":229835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a86f"} 
[2026-11-05 02:52:16] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219700480001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:52: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-05 02:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793827256000,"timestamp_ms":1793827256000,"timestamp_seconds":1793827256,"priority":1,"record_length":96,"hex_timestamp":"000001a1a86fb6c0"} 
[2026-11-05 02: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-05 02:52: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-05 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 02:52: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-05 02: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-05 02: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-05 02:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:52: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-05 02:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219700480001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219700480001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:52:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:52:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219700480001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":229835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:52:16] local.INFO: GPS data processed {"connection_id":229835,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:52:16] local.INFO: Acknowledgment sent {"connection_id":229835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:52:32] local.INFO: TCP Data received {"connection_id":233027,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233027,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:52:32] local.INFO: Processing buffer {"connection_id":233027,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:52:32] local.INFO: IMEI packet received {"connection_id":233027,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 02:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":233027,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:52:48] local.INFO: TCP Data received {"connection_id":229835,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:52:48] local.INFO: Processing buffer {"connection_id":229835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:52:48] local.INFO: Packet analysis {"connection_id":229835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a86f"} 
[2026-11-05 02:52:48] local.INFO: Extracted packet for processing {"connection_id":229835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a86f"} 
[2026-11-05 02:52:48] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219700480001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:52: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-05 02:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793827256000,"timestamp_ms":1793827256000,"timestamp_seconds":1793827256,"priority":1,"record_length":96,"hex_timestamp":"000001a1a86fb6c0"} 
[2026-11-05 02: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-05 02:52: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-05 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 02:52: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-05 02: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-05 02: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-05 02:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:52: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-05 02:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219700480001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219700480001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:52:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:52:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219700480001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":229835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:52:48] local.INFO: GPS data processed {"connection_id":229835,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:52:48] local.INFO: Acknowledgment sent {"connection_id":229835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:53:05] local.INFO: TCP Data received {"connection_id":229343,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:53:05] local.INFO: Processing buffer {"connection_id":229343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:53:05] local.INFO: IMEI packet received {"connection_id":229343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":229343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:53:10] local.INFO: TCP Data received {"connection_id":229343,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:53:10] local.INFO: Processing buffer {"connection_id":229343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:53:10] local.INFO: IMEI packet received {"connection_id":229343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":229343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:53:11] local.INFO: TCP Data received {"connection_id":229343,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:53:11] local.INFO: Processing buffer {"connection_id":229343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:53:11] local.INFO: Packet analysis {"connection_id":229343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a86f"} 
[2026-11-05 02:53:11] local.INFO: Extracted packet for processing {"connection_id":229343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a86f"} 
[2026-11-05 02:53:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219700480001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793827256000,"timestamp_ms":1793827256000,"timestamp_seconds":1793827256,"priority":1,"record_length":96,"hex_timestamp":"000001a1a86fb6c0"} 
[2026-11-05 02: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-05 02:53: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-05 02:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 02:53: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-05 02: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-05 02: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-05 02:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219700480001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219700480001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:53:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:53:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219700480001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:53:11] 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":61284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:53:11] local.INFO: GPS data processed {"connection_id":229343,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:53:11] local.INFO: Acknowledgment sent {"connection_id":229343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:53:12] local.INFO: TCP Data received {"connection_id":229344,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229344,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:53:12] local.INFO: Processing buffer {"connection_id":229344,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:53:12] local.INFO: IMEI packet received {"connection_id":229344,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 02:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":229344,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:53:43] local.INFO: TCP Data received {"connection_id":229343,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:53:43] local.INFO: Processing buffer {"connection_id":229343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:53:43] local.INFO: Packet analysis {"connection_id":229343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a86f"} 
[2026-11-05 02:53:43] local.INFO: Extracted packet for processing {"connection_id":229343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a86f"} 
[2026-11-05 02:53:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219700480001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793827256000,"timestamp_ms":1793827256000,"timestamp_seconds":1793827256,"priority":1,"record_length":96,"hex_timestamp":"000001a1a86fb6c0"} 
[2026-11-05 02:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02:53: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-05 02:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 02:53: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-05 02:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219700480001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219700480001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:53:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:53:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219700480001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:53:43] 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":61285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:53:43] local.INFO: GPS data processed {"connection_id":229343,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:53:43] local.INFO: Acknowledgment sent {"connection_id":229343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:54:05] local.INFO: TCP Data received {"connection_id":229345,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:54:05] local.INFO: Processing buffer {"connection_id":229345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:54:05] local.INFO: IMEI packet received {"connection_id":229345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":229345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:54:10] local.INFO: TCP Data received {"connection_id":229345,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:54:10] local.INFO: Processing buffer {"connection_id":229345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:54:10] local.INFO: IMEI packet received {"connection_id":229345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":229345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:54:12] local.INFO: TCP Data received {"connection_id":229345,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:54:12] local.INFO: Processing buffer {"connection_id":229345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:54:12] local.INFO: Packet analysis {"connection_id":229345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a86f"} 
[2026-11-05 02:54:12] local.INFO: Extracted packet for processing {"connection_id":229345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a86f"} 
[2026-11-05 02:54:12] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 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-05 02:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219700480001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793827256000,"timestamp_ms":1793827256000,"timestamp_seconds":1793827256,"priority":1,"record_length":96,"hex_timestamp":"000001a1a86fb6c0"} 
[2026-11-05 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-05 02: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-05 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 02:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 02:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219700480001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219700480001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:54:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:54:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219700480001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:54:12] 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":61286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:54:12] local.INFO: GPS data processed {"connection_id":229345,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:54:12] local.INFO: Acknowledgment sent {"connection_id":229345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:54:43] local.INFO: TCP Data received {"connection_id":229345,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:54:43] local.INFO: Processing buffer {"connection_id":229345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:54:43] local.INFO: Packet analysis {"connection_id":229345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a86f"} 
[2026-11-05 02:54:43] local.INFO: Extracted packet for processing {"connection_id":229345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a86f"} 
[2026-11-05 02:54:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219700480001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793827256000,"timestamp_ms":1793827256000,"timestamp_seconds":1793827256,"priority":1,"record_length":96,"hex_timestamp":"000001a1a86fb6c0"} 
[2026-11-05 02: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-05 02: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-05 02: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-05 02: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-05 02: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-05 02: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-05 02:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219700480001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219700480001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:54:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:54:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219700480001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:54:43] 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":61287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:54:43] local.INFO: GPS data processed {"connection_id":229345,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:54:43] local.INFO: Acknowledgment sent {"connection_id":229345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:55:05] local.INFO: TCP Data received {"connection_id":233028,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:55:05] local.INFO: Processing buffer {"connection_id":233028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:55:05] local.INFO: IMEI packet received {"connection_id":233028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":233028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:55:10] local.INFO: TCP Data received {"connection_id":233028,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:55:10] local.INFO: Processing buffer {"connection_id":233028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:55:10] local.INFO: IMEI packet received {"connection_id":233028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":233028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:55:11] local.INFO: TCP Data received {"connection_id":233028,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:55:11] local.INFO: Processing buffer {"connection_id":233028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:55:11] local.INFO: Packet analysis {"connection_id":233028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a86f"} 
[2026-11-05 02:55:11] local.INFO: Extracted packet for processing {"connection_id":233028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a86f"} 
[2026-11-05 02:55:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219700480001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793827256000,"timestamp_ms":1793827256000,"timestamp_seconds":1793827256,"priority":1,"record_length":96,"hex_timestamp":"000001a1a86fb6c0"} 
[2026-11-05 02: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-05 02:55: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-05 02:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 02:55: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-05 02: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-05 02: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-05 02:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:55: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-05 02:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219700480001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219700480001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:55:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:55:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219700480001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":233028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:55:11] local.INFO: GPS data processed {"connection_id":233028,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:55:11] local.INFO: Acknowledgment sent {"connection_id":233028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:55:42] local.INFO: TCP Data received {"connection_id":233028,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:55:42] local.INFO: Processing buffer {"connection_id":233028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:55:42] local.INFO: Packet analysis {"connection_id":233028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a86f"} 
[2026-11-05 02:55:42] local.INFO: Extracted packet for processing {"connection_id":233028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a86f"} 
[2026-11-05 02:55:42] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219700480001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793827256000,"timestamp_ms":1793827256000,"timestamp_seconds":1793827256,"priority":1,"record_length":96,"hex_timestamp":"000001a1a86fb6c0"} 
[2026-11-05 02:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02:55: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-05 02:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 02:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 02:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:55: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-05 02:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219700480001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219700480001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:55:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:55:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219700480001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":233028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:55:42] local.INFO: GPS data processed {"connection_id":233028,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:55:42] local.INFO: Acknowledgment sent {"connection_id":233028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:56:05] local.INFO: TCP Data received {"connection_id":229836,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:56:05] local.INFO: Processing buffer {"connection_id":229836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:56:05] local.INFO: IMEI packet received {"connection_id":229836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":229836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:56:10] local.INFO: TCP Data received {"connection_id":229836,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:56:10] local.INFO: Processing buffer {"connection_id":229836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:56:10] local.INFO: IMEI packet received {"connection_id":229836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":229836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:56:12] local.INFO: TCP Data received {"connection_id":229836,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:56:12] local.INFO: Processing buffer {"connection_id":229836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a86fb6c0012d34c94006aa46e0000a006c29..."} 
[2026-11-05 02:56:12] local.INFO: Packet analysis {"connection_id":229836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a86f"} 
[2026-11-05 02:56:12] local.INFO: Extracted packet for processing {"connection_id":229836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a86f"} 
[2026-11-05 02:56:12] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 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-05 02:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219700480001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793827256000,"timestamp_ms":1793827256000,"timestamp_seconds":1793827256,"priority":1,"record_length":96,"hex_timestamp":"000001a1a86fb6c0"} 
[2026-11-05 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-05 02: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-05 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 02:56: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-05 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-05 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-05 02:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219700480001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219700480001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:56:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:56:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219700480001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":229836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:56:12] local.INFO: GPS data processed {"connection_id":229836,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:56:12] local.INFO: Acknowledgment sent {"connection_id":229836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:56:43] local.INFO: TCP Data received {"connection_id":229836,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8744e88012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8744e88012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:56:43] local.INFO: Processing buffer {"connection_id":229836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8744e88012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:56:43] local.INFO: Packet analysis {"connection_id":229836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a874"} 
[2026-11-05 02:56:43] local.INFO: Extracted packet for processing {"connection_id":229836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a874"} 
[2026-11-05 02:56:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219777536001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793827557000,"timestamp_ms":1793827557000,"timestamp_seconds":1793827557,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8744e88"} 
[2026-11-05 02: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-05 02: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-05 02: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":255,"data_length":795,"current_offset":136} 
[2026-11-05 02:56: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-05 02: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-05 02: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-05 02:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219777536001,"66":25397,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219777536001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:56:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:56:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219777536001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":229836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:56:43] local.INFO: GPS data processed {"connection_id":229836,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:56:43] local.INFO: Acknowledgment sent {"connection_id":229836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:57:10] local.INFO: TCP Data received {"connection_id":233029,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:57:10] local.INFO: Processing buffer {"connection_id":233029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:57:10] local.INFO: IMEI packet received {"connection_id":233029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":233029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:57:15] local.INFO: TCP Data received {"connection_id":233029,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:57:15] local.INFO: Processing buffer {"connection_id":233029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:57:15] local.INFO: IMEI packet received {"connection_id":233029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":233029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:57:17] local.INFO: TCP Data received {"connection_id":233029,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8744e88012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8744e88012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:57:17] local.INFO: Processing buffer {"connection_id":233029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8744e88012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:57:17] local.INFO: Packet analysis {"connection_id":233029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a874"} 
[2026-11-05 02:57:17] local.INFO: Extracted packet for processing {"connection_id":233029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a874"} 
[2026-11-05 02:57:17] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 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-05 02:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219777536001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793827557000,"timestamp_ms":1793827557000,"timestamp_seconds":1793827557,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8744e88"} 
[2026-11-05 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-05 02: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-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 02:57: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-05 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-05 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-05 02:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":233029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":233029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":233029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219777536001,"66":25397,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219777536001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:57:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:57:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219777536001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":233029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:57:17] local.INFO: GPS data processed {"connection_id":233029,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:57:17] local.INFO: Acknowledgment sent {"connection_id":233029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:57:48] local.INFO: TCP Data received {"connection_id":233029,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8744e88012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8744e88012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:57:48] local.INFO: Processing buffer {"connection_id":233029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8744e88012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:57:48] local.INFO: Packet analysis {"connection_id":233029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a874"} 
[2026-11-05 02:57:48] local.INFO: Extracted packet for processing {"connection_id":233029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a874"} 
[2026-11-05 02:57:48] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 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-05 02:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219777536001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793827557000,"timestamp_ms":1793827557000,"timestamp_seconds":1793827557,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8744e88"} 
[2026-11-05 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-05 02: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-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 02:57:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 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-05 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-05 02:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":233029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":233029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":233029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219777536001,"66":25397,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219777536001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:57:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:57:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219777536001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":233029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:57:48] local.INFO: GPS data processed {"connection_id":233029,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:57:48] local.INFO: Acknowledgment sent {"connection_id":233029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:58:05] local.INFO: TCP Data received {"connection_id":229837,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:58:05] local.INFO: Processing buffer {"connection_id":229837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:58:05] local.INFO: IMEI packet received {"connection_id":229837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":229837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:58:10] local.INFO: TCP Data received {"connection_id":229837,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:58:10] local.INFO: Processing buffer {"connection_id":229837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:58:10] local.INFO: IMEI packet received {"connection_id":229837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":229837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:58:11] local.INFO: TCP Data received {"connection_id":229837,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8744e88012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8744e88012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:58:11] local.INFO: Processing buffer {"connection_id":229837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8744e88012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:58:11] local.INFO: Packet analysis {"connection_id":229837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a874"} 
[2026-11-05 02:58:11] local.INFO: Extracted packet for processing {"connection_id":229837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a874"} 
[2026-11-05 02:58:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219777536001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793827557000,"timestamp_ms":1793827557000,"timestamp_seconds":1793827557,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8744e88"} 
[2026-11-05 02: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-05 02:58: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-05 02:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 02:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 02: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-05 02: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-05 02:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:58: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-05 02:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219777536001,"66":25397,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219777536001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:58:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:58:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219777536001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":229837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:58:11] local.INFO: GPS data processed {"connection_id":229837,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:58:11] local.INFO: Acknowledgment sent {"connection_id":229837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:58:42] local.INFO: TCP Data received {"connection_id":229838,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:58:42] local.INFO: Processing buffer {"connection_id":229838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:58:42] local.INFO: IMEI packet received {"connection_id":229838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 02:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":229838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:58:42] local.INFO: TCP Data received {"connection_id":229837,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8744e88012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8744e88012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:58:42] local.INFO: Processing buffer {"connection_id":229837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8744e88012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:58:42] local.INFO: Packet analysis {"connection_id":229837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a874"} 
[2026-11-05 02:58:42] local.INFO: Extracted packet for processing {"connection_id":229837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a874"} 
[2026-11-05 02:58:42] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 02:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219777536001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 02:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793827557000,"timestamp_ms":1793827557000,"timestamp_seconds":1793827557,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8744e88"} 
[2026-11-05 02:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 02:58: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-05 02:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 02:58: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-05 02:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 02:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 02:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:58: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-05 02:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219777536001,"66":25397,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219777536001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:58:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:58:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219777536001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":229837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:58:42] local.INFO: GPS data processed {"connection_id":229837,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:58:42] local.INFO: Acknowledgment sent {"connection_id":229837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:59:05] local.INFO: TCP Data received {"connection_id":229839,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:59:05] local.INFO: Processing buffer {"connection_id":229839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:59:05] local.INFO: IMEI packet received {"connection_id":229839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 02:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":229839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:59:07] local.INFO: TCP Data received {"connection_id":229840,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:59:07] local.INFO: Processing buffer {"connection_id":229840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 02:59:07] local.INFO: IMEI packet received {"connection_id":229840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 02:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":229840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 02:59:10] local.INFO: TCP Data received {"connection_id":229839,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:59:10] local.INFO: Processing buffer {"connection_id":229839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 02:59:10] local.INFO: IMEI packet received {"connection_id":229839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 02:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":229839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 02:59:11] local.INFO: TCP Data received {"connection_id":229839,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8744e88012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8744e88012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:59:11] local.INFO: Processing buffer {"connection_id":229839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8744e88012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:59:11] local.INFO: Packet analysis {"connection_id":229839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a874"} 
[2026-11-05 02:59:11] local.INFO: Extracted packet for processing {"connection_id":229839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a874"} 
[2026-11-05 02:59:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219777536001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793827557000,"timestamp_ms":1793827557000,"timestamp_seconds":1793827557,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8744e88"} 
[2026-11-05 02: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-05 02:59: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-05 02:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 02:59: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-05 02: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-05 02: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-05 02:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219777536001,"66":25397,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219777536001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:59:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:59:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219777536001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":229839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:59:11] local.INFO: GPS data processed {"connection_id":229839,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:59:11] local.INFO: Acknowledgment sent {"connection_id":229839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 02:59:43] local.INFO: TCP Data received {"connection_id":229839,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8744e88012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8744e88012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:59:43] local.INFO: Processing buffer {"connection_id":229839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8744e88012d34c94006aa46e0000a006c27..."} 
[2026-11-05 02:59:43] local.INFO: Packet analysis {"connection_id":229839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a874"} 
[2026-11-05 02:59:43] local.INFO: Extracted packet for processing {"connection_id":229839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a874"} 
[2026-11-05 02:59:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 02: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-05 02:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219777536001,"note":"Value kept but may cause issues"} 
[2026-11-05 02:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 02:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 02: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-05 02:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793827557000,"timestamp_ms":1793827557000,"timestamp_seconds":1793827557,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8744e88"} 
[2026-11-05 02: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-05 02:59: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-05 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 02:59: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-05 02: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-05 02: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-05 02:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 02:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 02:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 02: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-05 02:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 02:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 02:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219777536001,"66":25397,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 02:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 02:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 02:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219777536001,"description":"Unknown IO ID 0"} 
[2026-11-05 02:59:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 02:59:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 02:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 02:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 02:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219777536001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 02:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":229839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 02:59:43] local.INFO: GPS data processed {"connection_id":229839,"processed":1,"errors":0,"total":1} 
[2026-11-05 02:59:43] local.INFO: Acknowledgment sent {"connection_id":229839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:00:05] local.INFO: TCP Data received {"connection_id":229841,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:00:05] local.INFO: Processing buffer {"connection_id":229841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:00:05] local.INFO: IMEI packet received {"connection_id":229841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":229841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:00:10] local.INFO: TCP Data received {"connection_id":229841,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:00:10] local.INFO: Processing buffer {"connection_id":229841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:00:10] local.INFO: IMEI packet received {"connection_id":229841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":229841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:00:11] local.INFO: TCP Data received {"connection_id":229841,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8744e88012d34c94006aa46e0000a006c27..."} 
[2026-11-05 03:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8744e88012d34c94006aa46e0000a006c27..."} 
[2026-11-05 03:00:11] local.INFO: Processing buffer {"connection_id":229841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8744e88012d34c94006aa46e0000a006c27..."} 
[2026-11-05 03:00:11] local.INFO: Packet analysis {"connection_id":229841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a874"} 
[2026-11-05 03:00:11] local.INFO: Extracted packet for processing {"connection_id":229841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a874"} 
[2026-11-05 03:00:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219777536001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793827557000,"timestamp_ms":1793827557000,"timestamp_seconds":1793827557,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8744e88"} 
[2026-11-05 03: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-05 03: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-05 03:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 03:00: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-05 03: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-05 03: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-05 03:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219777536001,"66":25397,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219777536001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:00:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:00:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219777536001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":229841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:00:11] local.INFO: GPS data processed {"connection_id":229841,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:00:11] local.INFO: Acknowledgment sent {"connection_id":229841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:00:42] local.INFO: TCP Data received {"connection_id":229841,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8744e88012d34c94006aa46e0000a006c27..."} 
[2026-11-05 03:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8744e88012d34c94006aa46e0000a006c27..."} 
[2026-11-05 03:00:42] local.INFO: Processing buffer {"connection_id":229841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8744e88012d34c94006aa46e0000a006c27..."} 
[2026-11-05 03:00:42] local.INFO: Packet analysis {"connection_id":229841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a874"} 
[2026-11-05 03:00:42] local.INFO: Extracted packet for processing {"connection_id":229841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a874"} 
[2026-11-05 03:00:42] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 03:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219777536001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793827557000,"timestamp_ms":1793827557000,"timestamp_seconds":1793827557,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8744e88"} 
[2026-11-05 03:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 03:00: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-05 03:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 03:00: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-05 03:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 03:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 03:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:00: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-05 03:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219777536001,"66":25397,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219777536001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:00:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:00:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219777536001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":229841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:00:42] local.INFO: GPS data processed {"connection_id":229841,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:00:42] local.INFO: Acknowledgment sent {"connection_id":229841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:01:05] local.INFO: TCP Data received {"connection_id":233032,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:01:05] local.INFO: Processing buffer {"connection_id":233032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:01:05] local.INFO: IMEI packet received {"connection_id":233032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":233032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:01:10] local.INFO: TCP Data received {"connection_id":233032,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:01:10] local.INFO: Processing buffer {"connection_id":233032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:01:10] local.INFO: IMEI packet received {"connection_id":233032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":233032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:01:11] local.INFO: TCP Data received {"connection_id":233032,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8744e88012d34c94006aa46e0000a006c27..."} 
[2026-11-05 03:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8744e88012d34c94006aa46e0000a006c27..."} 
[2026-11-05 03:01:11] local.INFO: Processing buffer {"connection_id":233032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8744e88012d34c94006aa46e0000a006c27..."} 
[2026-11-05 03:01:11] local.INFO: Packet analysis {"connection_id":233032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a874"} 
[2026-11-05 03:01:11] local.INFO: Extracted packet for processing {"connection_id":233032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a874"} 
[2026-11-05 03:01:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":10,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 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-05 03:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219777536001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03: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-05 03:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793827557000,"timestamp_ms":1793827557000,"timestamp_seconds":1793827557,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8744e88"} 
[2026-11-05 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-05 03: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-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 03:01: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-05 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-05 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-05 03:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219777536001,"66":25397,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219777536001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:01:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:01:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219777536001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":233032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:01:11] local.INFO: GPS data processed {"connection_id":233032,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:01:11] local.INFO: Acknowledgment sent {"connection_id":233032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:01:42] local.INFO: TCP Data received {"connection_id":233032,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:01:42] local.INFO: Processing buffer {"connection_id":233032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:01:42] local.INFO: Packet analysis {"connection_id":233032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a878"} 
[2026-11-05 03:01:42] local.INFO: Extracted packet for processing {"connection_id":233032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a878"} 
[2026-11-05 03:01:42] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":0,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 03:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219854592001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793827858000,"timestamp_ms":1793827858000,"timestamp_seconds":1793827858,"priority":1,"record_length":96,"hex_timestamp":"000001a1a878e650"} 
[2026-11-05 03:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 03: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-05 03:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 03:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 03:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 03:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 03:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219854592001,"66":25375,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219854592001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:01:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:01:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219854592001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":233032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:01:42] local.INFO: GPS data processed {"connection_id":233032,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:01:42] local.INFO: Acknowledgment sent {"connection_id":233032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:02:04] local.INFO: TCP Data received {"connection_id":233033,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:02:04] local.INFO: Processing buffer {"connection_id":233033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:02:04] local.INFO: IMEI packet received {"connection_id":233033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":233033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:02:10] local.INFO: TCP Data received {"connection_id":233033,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:02:10] local.INFO: Processing buffer {"connection_id":233033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:02:10] local.INFO: IMEI packet received {"connection_id":233033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":233033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:02:11] local.INFO: TCP Data received {"connection_id":233033,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:02:11] local.INFO: Processing buffer {"connection_id":233033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:02:11] local.INFO: Packet analysis {"connection_id":233033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a878"} 
[2026-11-05 03:02:11] local.INFO: Extracted packet for processing {"connection_id":233033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a878"} 
[2026-11-05 03:02:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":0,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 03:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219854592001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793827858000,"timestamp_ms":1793827858000,"timestamp_seconds":1793827858,"priority":1,"record_length":96,"hex_timestamp":"000001a1a878e650"} 
[2026-11-05 03:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 03:02: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-05 03:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 03:02: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-05 03:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 03:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 03:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:02: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-05 03:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219854592001,"66":25375,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219854592001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:02:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:02:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219854592001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":233033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:02:11] local.INFO: GPS data processed {"connection_id":233033,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:02:11] local.INFO: Acknowledgment sent {"connection_id":233033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:02:42] local.INFO: TCP Data received {"connection_id":233033,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:02:42] local.INFO: Processing buffer {"connection_id":233033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:02:42] local.INFO: Packet analysis {"connection_id":233033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a878"} 
[2026-11-05 03:02:42] local.INFO: Extracted packet for processing {"connection_id":233033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a878"} 
[2026-11-05 03:02:42] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":0,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 03:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219854592001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793827858000,"timestamp_ms":1793827858000,"timestamp_seconds":1793827858,"priority":1,"record_length":96,"hex_timestamp":"000001a1a878e650"} 
[2026-11-05 03:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 03:02: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-05 03:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 03:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 03:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 03:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 03:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:02: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-05 03:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219854592001,"66":25375,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219854592001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:02:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:02:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219854592001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":233033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:02:42] local.INFO: GPS data processed {"connection_id":233033,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:02:42] local.INFO: Acknowledgment sent {"connection_id":233033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:03:04] local.INFO: TCP Data received {"connection_id":231129,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:03:04] local.INFO: Processing buffer {"connection_id":231129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:03:04] local.INFO: IMEI packet received {"connection_id":231129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":231129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:03:10] local.INFO: TCP Data received {"connection_id":231129,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:03:10] local.INFO: Processing buffer {"connection_id":231129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:03:10] local.INFO: IMEI packet received {"connection_id":231129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":231129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:03:11] local.INFO: TCP Data received {"connection_id":231129,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:03:11] local.INFO: Processing buffer {"connection_id":231129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:03:11] local.INFO: Packet analysis {"connection_id":231129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a878"} 
[2026-11-05 03:03:11] local.INFO: Extracted packet for processing {"connection_id":231129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a878"} 
[2026-11-05 03:03:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":0,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219854592001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793827858000,"timestamp_ms":1793827858000,"timestamp_seconds":1793827858,"priority":1,"record_length":96,"hex_timestamp":"000001a1a878e650"} 
[2026-11-05 03: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-05 03:03: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-05 03:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 03:03: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-05 03: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-05 03: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-05 03:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:03: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-05 03:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219854592001,"66":25375,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219854592001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:03:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:03:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219854592001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":231129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:03:11] local.INFO: GPS data processed {"connection_id":231129,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:03:11] local.INFO: Acknowledgment sent {"connection_id":231129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:03:43] local.INFO: TCP Data received {"connection_id":231129,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:03:43] local.INFO: Processing buffer {"connection_id":231129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:03:43] local.INFO: Packet analysis {"connection_id":231129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a878"} 
[2026-11-05 03:03:43] local.INFO: Extracted packet for processing {"connection_id":231129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a878"} 
[2026-11-05 03:03:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":0,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 03:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219854592001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:03: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-05 03:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793827858000,"timestamp_ms":1793827858000,"timestamp_seconds":1793827858,"priority":1,"record_length":96,"hex_timestamp":"000001a1a878e650"} 
[2026-11-05 03:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 03: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-05 03:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 03:03: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-05 03:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 03:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 03:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219854592001,"66":25375,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219854592001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:03:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:03:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219854592001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":231129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:03:43] local.INFO: GPS data processed {"connection_id":231129,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:03:43] local.INFO: Acknowledgment sent {"connection_id":231129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:04:05] local.INFO: TCP Data received {"connection_id":231131,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:04:05] local.INFO: Processing buffer {"connection_id":231131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:04:05] local.INFO: IMEI packet received {"connection_id":231131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":231131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:04:10] local.INFO: TCP Data received {"connection_id":231131,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:04:10] local.INFO: Processing buffer {"connection_id":231131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:04:10] local.INFO: IMEI packet received {"connection_id":231131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":231131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:04:12] local.INFO: TCP Data received {"connection_id":231131,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:04:12] local.INFO: Processing buffer {"connection_id":231131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:04:12] local.INFO: Packet analysis {"connection_id":231131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a878"} 
[2026-11-05 03:04:12] local.INFO: Extracted packet for processing {"connection_id":231131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a878"} 
[2026-11-05 03:04:12] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":0,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 03:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219854592001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03: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-05 03:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793827858000,"timestamp_ms":1793827858000,"timestamp_seconds":1793827858,"priority":1,"record_length":96,"hex_timestamp":"000001a1a878e650"} 
[2026-11-05 03:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 03: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-05 03:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 03:04: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-05 03:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 03:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 03:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219854592001,"66":25375,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219854592001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:04:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:04:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219854592001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":231131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:04:12] local.INFO: GPS data processed {"connection_id":231131,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:04:12] local.INFO: Acknowledgment sent {"connection_id":231131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:04:22] local.INFO: TCP Data received {"connection_id":229349,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229349,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:04:22] local.INFO: Processing buffer {"connection_id":229349,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:04:22] local.INFO: IMEI packet received {"connection_id":229349,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 03:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":229349,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:04:42] local.INFO: TCP Data received {"connection_id":231131,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:04:42] local.INFO: Processing buffer {"connection_id":231131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:04:42] local.INFO: Packet analysis {"connection_id":231131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a878"} 
[2026-11-05 03:04:42] local.INFO: Extracted packet for processing {"connection_id":231131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a878"} 
[2026-11-05 03:04:42] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":0,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 03:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219854592001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793827858000,"timestamp_ms":1793827858000,"timestamp_seconds":1793827858,"priority":1,"record_length":96,"hex_timestamp":"000001a1a878e650"} 
[2026-11-05 03:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 03:04: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-05 03:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 03:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 03:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 03:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 03:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:04: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-05 03:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219854592001,"66":25375,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219854592001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:04:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:04:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219854592001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":231131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:04:42] local.INFO: GPS data processed {"connection_id":231131,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:04:42] local.INFO: Acknowledgment sent {"connection_id":231131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:05:07] local.INFO: TCP Data received {"connection_id":229350,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:05:07] local.INFO: Processing buffer {"connection_id":229350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:05:07] local.INFO: IMEI packet received {"connection_id":229350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 03:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":229350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:05:10] local.INFO: TCP Data received {"connection_id":229351,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:05:10] local.INFO: Processing buffer {"connection_id":229351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:05:10] local.INFO: IMEI packet received {"connection_id":229351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":229351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:05:15] local.INFO: TCP Data received {"connection_id":229351,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:05:15] local.INFO: Processing buffer {"connection_id":229351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:05:15] local.INFO: IMEI packet received {"connection_id":229351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":229351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:05:16] local.INFO: TCP Data received {"connection_id":229351,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:05:16] local.INFO: Processing buffer {"connection_id":229351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:05:16] local.INFO: Packet analysis {"connection_id":229351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a878"} 
[2026-11-05 03:05:16] local.INFO: Extracted packet for processing {"connection_id":229351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a878"} 
[2026-11-05 03:05:16] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":0,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 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-05 03:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219854592001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:05: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-05 03:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793827858000,"timestamp_ms":1793827858000,"timestamp_seconds":1793827858,"priority":1,"record_length":96,"hex_timestamp":"000001a1a878e650"} 
[2026-11-05 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-05 03: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-05 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 03:05: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-05 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-05 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-05 03:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:05: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-05 03:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219854592001,"66":25375,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219854592001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:05:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:05:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219854592001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:05:16] 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":61308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:05:16] local.INFO: GPS data processed {"connection_id":229351,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:05:16] local.INFO: Acknowledgment sent {"connection_id":229351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:05:21] local.INFO: TCP Data received {"connection_id":229351,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:05:21] local.INFO: Processing buffer {"connection_id":229351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:05:21] local.INFO: Packet analysis {"connection_id":229351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a878"} 
[2026-11-05 03:05:21] local.INFO: Extracted packet for processing {"connection_id":229351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a878"} 
[2026-11-05 03:05:21] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":0,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219854592001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03: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-05 03:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793827858000,"timestamp_ms":1793827858000,"timestamp_seconds":1793827858,"priority":1,"record_length":96,"hex_timestamp":"000001a1a878e650"} 
[2026-11-05 03: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-05 03: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-05 03:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 03:05: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-05 03: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-05 03: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-05 03:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219854592001,"66":25375,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219854592001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:05:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:05:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219854592001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:05:21] 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":61309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:05:21] local.INFO: GPS data processed {"connection_id":229351,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:05:21] local.INFO: Acknowledgment sent {"connection_id":229351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:06:06] local.INFO: TCP Data received {"connection_id":231132,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:06:06] local.INFO: Processing buffer {"connection_id":231132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:06:06] local.INFO: IMEI packet received {"connection_id":231132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":231132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:06:10] local.INFO: TCP Data received {"connection_id":231132,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:06:10] local.INFO: Processing buffer {"connection_id":231132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:06:10] local.INFO: IMEI packet received {"connection_id":231132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":231132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:06:11] local.INFO: TCP Data received {"connection_id":231132,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:06:11] local.INFO: Processing buffer {"connection_id":231132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:06:11] local.INFO: Packet analysis {"connection_id":231132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a878"} 
[2026-11-05 03:06:11] local.INFO: Extracted packet for processing {"connection_id":231132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a878"} 
[2026-11-05 03:06:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":0,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 03:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219854592001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793827858000,"timestamp_ms":1793827858000,"timestamp_seconds":1793827858,"priority":1,"record_length":96,"hex_timestamp":"000001a1a878e650"} 
[2026-11-05 03:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 03:06: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-05 03:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 03:06: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-05 03:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 03:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 03:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:06: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-05 03:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219854592001,"66":25375,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219854592001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:06:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:06:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219854592001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":231132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:06:11] local.INFO: GPS data processed {"connection_id":231132,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:06:11] local.INFO: Acknowledgment sent {"connection_id":231132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:06:16] local.INFO: TCP Data received {"connection_id":231132,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:06:16] local.INFO: Processing buffer {"connection_id":231132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a878e650012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:06:16] local.INFO: Packet analysis {"connection_id":231132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a878"} 
[2026-11-05 03:06:16] local.INFO: Extracted packet for processing {"connection_id":231132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a878"} 
[2026-11-05 03:06:16] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":0,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219854592001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:06: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-05 03:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793827858000,"timestamp_ms":1793827858000,"timestamp_seconds":1793827858,"priority":1,"record_length":96,"hex_timestamp":"000001a1a878e650"} 
[2026-11-05 03: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-05 03: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-05 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 03:06: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-05 03: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-05 03: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-05 03:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":231132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":231132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":231132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219854592001,"66":25375,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219854592001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:06:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:06:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219854592001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":231132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:06:16] local.INFO: GPS data processed {"connection_id":231132,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:06:16] local.INFO: Acknowledgment sent {"connection_id":231132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:06:47] local.INFO: TCP Data received {"connection_id":231132,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a87d7e18012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a87d7e18012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:06:47] local.INFO: Processing buffer {"connection_id":231132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a87d7e18012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:06:47] local.INFO: Packet analysis {"connection_id":231132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a87d"} 
[2026-11-05 03:06:47] local.INFO: Extracted packet for processing {"connection_id":231132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a87d"} 
[2026-11-05 03:06:47] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":0,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 03:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219931648001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793828159000,"timestamp_ms":1793828159000,"timestamp_seconds":1793828159,"priority":1,"record_length":96,"hex_timestamp":"000001a1a87d7e18"} 
[2026-11-05 03:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 03:06: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-05 03:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 03:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 03:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 03:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 03:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":231132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":231132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":231132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:06: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-05 03:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219931648001,"66":25321,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219931648001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:06:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:06:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219931648001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":231132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:06:48] local.INFO: GPS data processed {"connection_id":231132,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:06:48] local.INFO: Acknowledgment sent {"connection_id":231132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:07:05] local.INFO: TCP Data received {"connection_id":233035,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:07:05] local.INFO: Processing buffer {"connection_id":233035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:07:05] local.INFO: IMEI packet received {"connection_id":233035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":233035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:07:10] local.INFO: TCP Data received {"connection_id":233035,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:07:10] local.INFO: Processing buffer {"connection_id":233035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:07:10] local.INFO: IMEI packet received {"connection_id":233035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":233035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:07:11] local.INFO: TCP Data received {"connection_id":233035,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a87d7e18012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a87d7e18012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:07:11] local.INFO: Processing buffer {"connection_id":233035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a87d7e18012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:07:11] local.INFO: Packet analysis {"connection_id":233035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a87d"} 
[2026-11-05 03:07:11] local.INFO: Extracted packet for processing {"connection_id":233035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a87d"} 
[2026-11-05 03:07:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":0,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 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-05 03:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219931648001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793828159000,"timestamp_ms":1793828159000,"timestamp_seconds":1793828159,"priority":1,"record_length":96,"hex_timestamp":"000001a1a87d7e18"} 
[2026-11-05 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-05 03:07: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-05 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 03:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 03:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:07: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-05 03:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219931648001,"66":25321,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219931648001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:07:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:07:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219931648001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":233035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:07:11] local.INFO: GPS data processed {"connection_id":233035,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:07:11] local.INFO: Acknowledgment sent {"connection_id":233035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:07:43] local.INFO: TCP Data received {"connection_id":233035,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a87d7e18012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a87d7e18012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:07:43] local.INFO: Processing buffer {"connection_id":233035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a87d7e18012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:07:43] local.INFO: Packet analysis {"connection_id":233035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a87d"} 
[2026-11-05 03:07:43] local.INFO: Extracted packet for processing {"connection_id":233035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a87d"} 
[2026-11-05 03:07:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":0,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 03:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219931648001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03: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-05 03:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793828159000,"timestamp_ms":1793828159000,"timestamp_seconds":1793828159,"priority":1,"record_length":96,"hex_timestamp":"000001a1a87d7e18"} 
[2026-11-05 03:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 03:07: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-05 03:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 03:07: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-05 03:07:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 03:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 03:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":233035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":233035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":233035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219931648001,"66":25321,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219931648001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:07:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:07:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219931648001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":233035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:07:43] local.INFO: GPS data processed {"connection_id":233035,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:07:43] local.INFO: Acknowledgment sent {"connection_id":233035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:08:05] local.INFO: TCP Data received {"connection_id":231134,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:08:05] local.INFO: Processing buffer {"connection_id":231134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:08:05] local.INFO: IMEI packet received {"connection_id":231134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":231134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:08:10] local.INFO: TCP Data received {"connection_id":231134,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:08:10] local.INFO: Processing buffer {"connection_id":231134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:08:10] local.INFO: IMEI packet received {"connection_id":231134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":231134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:08:11] local.INFO: TCP Data received {"connection_id":231134,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a87d7e18012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a87d7e18012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:08:11] local.INFO: Processing buffer {"connection_id":231134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a87d7e18012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:08:11] local.INFO: Packet analysis {"connection_id":231134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a87d"} 
[2026-11-05 03:08:11] local.INFO: Extracted packet for processing {"connection_id":231134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a87d"} 
[2026-11-05 03:08:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":0,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219931648001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793828159000,"timestamp_ms":1793828159000,"timestamp_seconds":1793828159,"priority":1,"record_length":96,"hex_timestamp":"000001a1a87d7e18"} 
[2026-11-05 03: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-05 03:08: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-05 03:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 03:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 03: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-05 03: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-05 03:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219931648001,"66":25321,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219931648001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:08:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:08:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219931648001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":231134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:08:11] local.INFO: GPS data processed {"connection_id":231134,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:08:11] local.INFO: Acknowledgment sent {"connection_id":231134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:08:42] local.INFO: TCP Data received {"connection_id":231134,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a87d7e18012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a87d7e18012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:08:42] local.INFO: Processing buffer {"connection_id":231134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a87d7e18012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:08:42] local.INFO: Packet analysis {"connection_id":231134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a87d"} 
[2026-11-05 03:08:42] local.INFO: Extracted packet for processing {"connection_id":231134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a87d"} 
[2026-11-05 03:08:42] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":0,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 03:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219931648001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793828159000,"timestamp_ms":1793828159000,"timestamp_seconds":1793828159,"priority":1,"record_length":96,"hex_timestamp":"000001a1a87d7e18"} 
[2026-11-05 03:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 03:08: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-05 03:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 03:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 03:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 03:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 03:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:08: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-05 03:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219931648001,"66":25321,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219931648001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:08:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:08:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219931648001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":231134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:08:42] local.INFO: GPS data processed {"connection_id":231134,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:08:42] local.INFO: Acknowledgment sent {"connection_id":231134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:09:04] local.INFO: TCP Data received {"connection_id":229844,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:09:04] local.INFO: Processing buffer {"connection_id":229844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:09:04] local.INFO: IMEI packet received {"connection_id":229844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":229844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:09:10] local.INFO: TCP Data received {"connection_id":229844,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:09:10] local.INFO: Processing buffer {"connection_id":229844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:09:10] local.INFO: IMEI packet received {"connection_id":229844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":229844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:09:11] local.INFO: TCP Data received {"connection_id":229844,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a87d7e18012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a87d7e18012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:09:11] local.INFO: Processing buffer {"connection_id":229844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a87d7e18012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:09:11] local.INFO: Packet analysis {"connection_id":229844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a87d"} 
[2026-11-05 03:09:11] local.INFO: Extracted packet for processing {"connection_id":229844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a87d"} 
[2026-11-05 03:09:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":0,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 03:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219931648001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793828159000,"timestamp_ms":1793828159000,"timestamp_seconds":1793828159,"priority":1,"record_length":96,"hex_timestamp":"000001a1a87d7e18"} 
[2026-11-05 03:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 03:09: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-05 03:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 03:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 03:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 03:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 03:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:09: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-05 03:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219931648001,"66":25321,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219931648001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:09:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:09:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219931648001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":229844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:09:11] local.INFO: GPS data processed {"connection_id":229844,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:09:11] local.INFO: Acknowledgment sent {"connection_id":229844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:09:43] local.INFO: TCP Data received {"connection_id":229844,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a87d7e18012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a87d7e18012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:09:43] local.INFO: Processing buffer {"connection_id":229844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a87d7e18012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:09:43] local.INFO: Packet analysis {"connection_id":229844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a87d"} 
[2026-11-05 03:09:43] local.INFO: Extracted packet for processing {"connection_id":229844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a87d"} 
[2026-11-05 03:09:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":0,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 03:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219931648001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:09: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-05 03:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793828159000,"timestamp_ms":1793828159000,"timestamp_seconds":1793828159,"priority":1,"record_length":96,"hex_timestamp":"000001a1a87d7e18"} 
[2026-11-05 03:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 03:09: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-05 03:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-05 03:09: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-05 03:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 03:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 03:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:09: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-05 03:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219931648001,"66":25321,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219931648001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:09:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:09:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219931648001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":229844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:09:43] local.INFO: GPS data processed {"connection_id":229844,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:09:43] local.INFO: Acknowledgment sent {"connection_id":229844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:10:10] local.INFO: TCP Data received {"connection_id":229846,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:10:10] local.INFO: Processing buffer {"connection_id":229846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:10:10] local.INFO: IMEI packet received {"connection_id":229846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":229846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:10:15] local.INFO: TCP Data received {"connection_id":229846,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:10:15] local.INFO: Processing buffer {"connection_id":229846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:10:15] local.INFO: IMEI packet received {"connection_id":229846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":229846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:10:16] local.INFO: TCP Data received {"connection_id":229846,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a87d7e18012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a87d7e18012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:10:16] local.INFO: Processing buffer {"connection_id":229846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a87d7e18012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:10:16] local.INFO: Packet analysis {"connection_id":229846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a87d"} 
[2026-11-05 03:10:16] local.INFO: Extracted packet for processing {"connection_id":229846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a87d"} 
[2026-11-05 03:10:16] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":0,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219931648001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:10: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-05 03:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793828159000,"timestamp_ms":1793828159000,"timestamp_seconds":1793828159,"priority":1,"record_length":96,"hex_timestamp":"000001a1a87d7e18"} 
[2026-11-05 03: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-05 03:10: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-05 03: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 03:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 03: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-05 03: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-05 03:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:10: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-05 03:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219931648001,"66":25321,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219931648001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:10:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:10:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219931648001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":229846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:10:16] local.INFO: GPS data processed {"connection_id":229846,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:10:16] local.INFO: Acknowledgment sent {"connection_id":229846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:10:21] local.INFO: TCP Data received {"connection_id":229846,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a87d7e18012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a87d7e18012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:10:21] local.INFO: Processing buffer {"connection_id":229846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a87d7e18012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:10:21] local.INFO: Packet analysis {"connection_id":229846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a87d"} 
[2026-11-05 03:10:21] local.INFO: Extracted packet for processing {"connection_id":229846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a87d"} 
[2026-11-05 03:10:21] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":0,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219931648001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:10: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-05 03:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793828159000,"timestamp_ms":1793828159000,"timestamp_seconds":1793828159,"priority":1,"record_length":96,"hex_timestamp":"000001a1a87d7e18"} 
[2026-11-05 03: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-05 03:10: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-05 03: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 03:10: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-05 03: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-05 03: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-05 03:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219931648001,"66":25321,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219931648001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:10:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:10:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219931648001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":229846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:10:21] local.INFO: GPS data processed {"connection_id":229846,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:10:21] local.INFO: Acknowledgment sent {"connection_id":229846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:10:32] local.INFO: TCP Data received {"connection_id":229845,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229845,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:10:32] local.INFO: Processing buffer {"connection_id":229845,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:10:32] local.INFO: IMEI packet received {"connection_id":229845,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 03:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":229845,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:11:05] local.INFO: TCP Data received {"connection_id":233036,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:11:05] local.INFO: Processing buffer {"connection_id":233036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:11:05] local.INFO: IMEI packet received {"connection_id":233036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":233036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:11:07] local.INFO: TCP Data received {"connection_id":233037,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233037,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:11:07] local.INFO: Processing buffer {"connection_id":233037,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:11:07] local.INFO: IMEI packet received {"connection_id":233037,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 03:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":233037,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:11:10] local.INFO: TCP Data received {"connection_id":233036,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:11:10] local.INFO: Processing buffer {"connection_id":233036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:11:10] local.INFO: IMEI packet received {"connection_id":233036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":233036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:11:11] local.INFO: TCP Data received {"connection_id":233036,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a87d7e18012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a87d7e18012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:11:11] local.INFO: Processing buffer {"connection_id":233036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a87d7e18012d34c94006aa46e00000006c28..."} 
[2026-11-05 03:11:11] local.INFO: Packet analysis {"connection_id":233036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a87d"} 
[2026-11-05 03:11:11] local.INFO: Extracted packet for processing {"connection_id":233036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a87d"} 
[2026-11-05 03:11:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":0,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 03:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459219931648001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793828159000,"timestamp_ms":1793828159000,"timestamp_seconds":1793828159,"priority":1,"record_length":96,"hex_timestamp":"000001a1a87d7e18"} 
[2026-11-05 03:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 03:11: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-05 03:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 03:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 03:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 03:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 03:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:11: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-05 03:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459219931648001,"66":25321,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459219931648001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:11:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:11:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459219931648001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":233036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:11:11] local.INFO: GPS data processed {"connection_id":233036,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:11:11] local.INFO: Acknowledgment sent {"connection_id":233036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:11:43] local.INFO: TCP Data received {"connection_id":233036,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a88215e0012d34c94006aa46e00000006c23..."} 
[2026-11-05 03:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a88215e0012d34c94006aa46e00000006c23..."} 
[2026-11-05 03:11:43] local.INFO: Processing buffer {"connection_id":233036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a88215e0012d34c94006aa46e00000006c23..."} 
[2026-11-05 03:11:43] local.INFO: Packet analysis {"connection_id":233036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a882"} 
[2026-11-05 03:11:43] local.INFO: Extracted packet for processing {"connection_id":233036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a882"} 
[2026-11-05 03:11:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":0,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220008704001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:11: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-05 03:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793828460000,"timestamp_ms":1793828460000,"timestamp_seconds":1793828460,"priority":1,"record_length":96,"hex_timestamp":"000001a1a88215e0"} 
[2026-11-05 03: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-05 03:11: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-05 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 03:11: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-05 03: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-05 03: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-05 03:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":233036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":233036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":233036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220008704001,"66":25375,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220008704001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:11:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:11:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220008704001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":233036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:11:43] local.INFO: GPS data processed {"connection_id":233036,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:11:43] local.INFO: Acknowledgment sent {"connection_id":233036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:12:06] local.INFO: TCP Data received {"connection_id":229354,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:12:06] local.INFO: Processing buffer {"connection_id":229354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:12:06] local.INFO: IMEI packet received {"connection_id":229354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":229354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:12:10] local.INFO: TCP Data received {"connection_id":229354,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:12:10] local.INFO: Processing buffer {"connection_id":229354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:12:10] local.INFO: IMEI packet received {"connection_id":229354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":229354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:12:12] local.INFO: TCP Data received {"connection_id":229354,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a88215e0012d34c94006aa46e00000006c23..."} 
[2026-11-05 03:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a88215e0012d34c94006aa46e00000006c23..."} 
[2026-11-05 03:12:12] local.INFO: Processing buffer {"connection_id":229354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a88215e0012d34c94006aa46e00000006c23..."} 
[2026-11-05 03:12:12] local.INFO: Packet analysis {"connection_id":229354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a882"} 
[2026-11-05 03:12:12] local.INFO: Extracted packet for processing {"connection_id":229354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a882"} 
[2026-11-05 03:12:12] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":0,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 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-05 03:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220008704001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03: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-05 03:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793828460000,"timestamp_ms":1793828460000,"timestamp_seconds":1793828460,"priority":1,"record_length":96,"hex_timestamp":"000001a1a88215e0"} 
[2026-11-05 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-05 03:12: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-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 03:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 03:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220008704001,"66":25375,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220008704001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:12:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:12:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220008704001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:12:12] 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":61323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:12:12] local.INFO: GPS data processed {"connection_id":229354,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:12:12] local.INFO: Acknowledgment sent {"connection_id":229354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:12:43] local.INFO: TCP Data received {"connection_id":229354,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a88215e0012d34c94006aa46e00000006c23..."} 
[2026-11-05 03:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a88215e0012d34c94006aa46e00000006c23..."} 
[2026-11-05 03:12:43] local.INFO: Processing buffer {"connection_id":229354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a88215e0012d34c94006aa46e00000006c23..."} 
[2026-11-05 03:12:43] local.INFO: Packet analysis {"connection_id":229354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a882"} 
[2026-11-05 03:12:43] local.INFO: Extracted packet for processing {"connection_id":229354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a882"} 
[2026-11-05 03:12:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":0,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220008704001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03: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-05 03:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793828460000,"timestamp_ms":1793828460000,"timestamp_seconds":1793828460,"priority":1,"record_length":96,"hex_timestamp":"000001a1a88215e0"} 
[2026-11-05 03: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-05 03: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-05 03: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":233,"data_length":795,"current_offset":136} 
[2026-11-05 03:12: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-05 03: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-05 03: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-05 03:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220008704001,"66":25375,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220008704001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:12:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:12:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220008704001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:12:43] 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":61324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:12:43] local.INFO: GPS data processed {"connection_id":229354,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:12:43] local.INFO: Acknowledgment sent {"connection_id":229354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:13:05] local.INFO: TCP Data received {"connection_id":229355,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:13:05] local.INFO: Processing buffer {"connection_id":229355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:13:05] local.INFO: IMEI packet received {"connection_id":229355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":229355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:13:10] local.INFO: TCP Data received {"connection_id":229355,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:13:10] local.INFO: Processing buffer {"connection_id":229355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:13:10] local.INFO: IMEI packet received {"connection_id":229355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":229355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:13:11] local.INFO: TCP Data received {"connection_id":229355,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a88215e0012d34c94006aa46e00000006c23..."} 
[2026-11-05 03:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a88215e0012d34c94006aa46e00000006c23..."} 
[2026-11-05 03:13:11] local.INFO: Processing buffer {"connection_id":229355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a88215e0012d34c94006aa46e00000006c23..."} 
[2026-11-05 03:13:11] local.INFO: Packet analysis {"connection_id":229355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a882"} 
[2026-11-05 03:13:11] local.INFO: Extracted packet for processing {"connection_id":229355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a882"} 
[2026-11-05 03:13:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":0,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 03:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220008704001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793828460000,"timestamp_ms":1793828460000,"timestamp_seconds":1793828460,"priority":1,"record_length":96,"hex_timestamp":"000001a1a88215e0"} 
[2026-11-05 03:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 03:13: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-05 03:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 03:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 03:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 03:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 03:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:13: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-05 03:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220008704001,"66":25375,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220008704001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:13:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:13:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220008704001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:13:11] 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":61325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:13:11] local.INFO: GPS data processed {"connection_id":229355,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:13:11] local.INFO: Acknowledgment sent {"connection_id":229355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:13:43] local.INFO: TCP Data received {"connection_id":229355,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a88215e0012d34c94006aa46e00000006c23..."} 
[2026-11-05 03:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a88215e0012d34c94006aa46e00000006c23..."} 
[2026-11-05 03:13:43] local.INFO: Processing buffer {"connection_id":229355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a88215e0012d34c94006aa46e00000006c23..."} 
[2026-11-05 03:13:43] local.INFO: Packet analysis {"connection_id":229355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a882"} 
[2026-11-05 03:13:43] local.INFO: Extracted packet for processing {"connection_id":229355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a882"} 
[2026-11-05 03:13:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":0,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 03:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220008704001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03: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-05 03:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793828460000,"timestamp_ms":1793828460000,"timestamp_seconds":1793828460,"priority":1,"record_length":96,"hex_timestamp":"000001a1a88215e0"} 
[2026-11-05 03:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 03:13: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-05 03:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 03:13: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-05 03:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 03:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 03:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220008704001,"66":25375,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220008704001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:13:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:13:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220008704001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:13:43] 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":61326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:13:43] local.INFO: GPS data processed {"connection_id":229355,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:13:43] local.INFO: Acknowledgment sent {"connection_id":229355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:14:05] local.INFO: TCP Data received {"connection_id":229849,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:14:05] local.INFO: Processing buffer {"connection_id":229849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:14:05] local.INFO: IMEI packet received {"connection_id":229849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":229849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:14:10] local.INFO: TCP Data received {"connection_id":229849,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:14:10] local.INFO: Processing buffer {"connection_id":229849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:14:10] local.INFO: IMEI packet received {"connection_id":229849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":229849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:14:11] local.INFO: TCP Data received {"connection_id":229849,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a88215e0012d34c94006aa46e00000006c23..."} 
[2026-11-05 03:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a88215e0012d34c94006aa46e00000006c23..."} 
[2026-11-05 03:14:11] local.INFO: Processing buffer {"connection_id":229849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a88215e0012d34c94006aa46e00000006c23..."} 
[2026-11-05 03:14:11] local.INFO: Packet analysis {"connection_id":229849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a882"} 
[2026-11-05 03:14:11] local.INFO: Extracted packet for processing {"connection_id":229849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a882"} 
[2026-11-05 03:14:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":0,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220008704001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03: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-05 03:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793828460000,"timestamp_ms":1793828460000,"timestamp_seconds":1793828460,"priority":1,"record_length":96,"hex_timestamp":"000001a1a88215e0"} 
[2026-11-05 03: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-05 03: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-05 03: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":233,"data_length":795,"current_offset":136} 
[2026-11-05 03:14: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-05 03: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-05 03: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-05 03:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220008704001,"66":25375,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220008704001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:14:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:14:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220008704001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":229849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:14:11] local.INFO: GPS data processed {"connection_id":229849,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:14:11] local.INFO: Acknowledgment sent {"connection_id":229849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:14:43] local.INFO: TCP Data received {"connection_id":229849,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a88215e0012d34c94006aa46e00000006c23..."} 
[2026-11-05 03:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a88215e0012d34c94006aa46e00000006c23..."} 
[2026-11-05 03:14:43] local.INFO: Processing buffer {"connection_id":229849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a88215e0012d34c94006aa46e00000006c23..."} 
[2026-11-05 03:14:43] local.INFO: Packet analysis {"connection_id":229849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a882"} 
[2026-11-05 03:14:43] local.INFO: Extracted packet for processing {"connection_id":229849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a882"} 
[2026-11-05 03:14:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":0,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220008704001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03: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-05 03:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793828460000,"timestamp_ms":1793828460000,"timestamp_seconds":1793828460,"priority":1,"record_length":96,"hex_timestamp":"000001a1a88215e0"} 
[2026-11-05 03: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-05 03: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-05 03: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":233,"data_length":795,"current_offset":136} 
[2026-11-05 03:14: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-05 03: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-05 03: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-05 03:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220008704001,"66":25375,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220008704001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:14:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:14:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220008704001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":229849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:14:43] local.INFO: GPS data processed {"connection_id":229849,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:14:43] local.INFO: Acknowledgment sent {"connection_id":229849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:15:10] local.INFO: TCP Data received {"connection_id":231136,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:15:10] local.INFO: Processing buffer {"connection_id":231136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:15:10] local.INFO: IMEI packet received {"connection_id":231136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":231136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:15:15] local.INFO: TCP Data received {"connection_id":231136,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:15:15] local.INFO: Processing buffer {"connection_id":231136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:15:15] local.INFO: IMEI packet received {"connection_id":231136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":231136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:15:16] local.INFO: TCP Data received {"connection_id":231136,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a88215e0012d34c94006aa46e00000006c23..."} 
[2026-11-05 03:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a88215e0012d34c94006aa46e00000006c23..."} 
[2026-11-05 03:15:16] local.INFO: Processing buffer {"connection_id":231136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a88215e0012d34c94006aa46e00000006c23..."} 
[2026-11-05 03:15:16] local.INFO: Packet analysis {"connection_id":231136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a882"} 
[2026-11-05 03:15:16] local.INFO: Extracted packet for processing {"connection_id":231136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a882"} 
[2026-11-05 03:15:16] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":0,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 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-05 03:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220008704001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03: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-05 03:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793828460000,"timestamp_ms":1793828460000,"timestamp_seconds":1793828460,"priority":1,"record_length":96,"hex_timestamp":"000001a1a88215e0"} 
[2026-11-05 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-05 03: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-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 03:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 03:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":231136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":231136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":231136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220008704001,"66":25375,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220008704001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:15:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:15:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220008704001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":231136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:15:16] local.INFO: GPS data processed {"connection_id":231136,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:15:16] local.INFO: Acknowledgment sent {"connection_id":231136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:15:21] local.INFO: TCP Data received {"connection_id":231136,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a88215e0012d34c94006aa46e00000006c23..."} 
[2026-11-05 03:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a88215e0012d34c94006aa46e00000006c23..."} 
[2026-11-05 03:15:21] local.INFO: Processing buffer {"connection_id":231136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a88215e0012d34c94006aa46e00000006c23..."} 
[2026-11-05 03:15:21] local.INFO: Packet analysis {"connection_id":231136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a882"} 
[2026-11-05 03:15:21] local.INFO: Extracted packet for processing {"connection_id":231136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a882"} 
[2026-11-05 03:15:21] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":0,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220008704001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03: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-05 03:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793828460000,"timestamp_ms":1793828460000,"timestamp_seconds":1793828460,"priority":1,"record_length":96,"hex_timestamp":"000001a1a88215e0"} 
[2026-11-05 03: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-05 03:15: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-05 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 03:15: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-05 03: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-05 03: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-05 03:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":231136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":231136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":231136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220008704001,"66":25375,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220008704001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:15:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:15:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220008704001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":231136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:15:21] local.INFO: GPS data processed {"connection_id":231136,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:15:21] local.INFO: Acknowledgment sent {"connection_id":231136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:16:05] local.INFO: TCP Data received {"connection_id":231137,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:16:05] local.INFO: Processing buffer {"connection_id":231137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:16:05] local.INFO: IMEI packet received {"connection_id":231137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":231137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:16:10] local.INFO: TCP Data received {"connection_id":231137,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:16:10] local.INFO: Processing buffer {"connection_id":231137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:16:10] local.INFO: IMEI packet received {"connection_id":231137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":231137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:16:11] local.INFO: TCP Data received {"connection_id":231137,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a88215e0012d34c94006aa46e00000006c23..."} 
[2026-11-05 03:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a88215e0012d34c94006aa46e00000006c23..."} 
[2026-11-05 03:16:11] local.INFO: Processing buffer {"connection_id":231137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a88215e0012d34c94006aa46e00000006c23..."} 
[2026-11-05 03:16:11] local.INFO: Packet analysis {"connection_id":231137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a882"} 
[2026-11-05 03:16:11] local.INFO: Extracted packet for processing {"connection_id":231137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a882"} 
[2026-11-05 03:16:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":0,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220008704001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03: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-05 03:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793828460000,"timestamp_ms":1793828460000,"timestamp_seconds":1793828460,"priority":1,"record_length":96,"hex_timestamp":"000001a1a88215e0"} 
[2026-11-05 03: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-05 03: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-05 03:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 03:16: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-05 03: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-05 03: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-05 03:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220008704001,"66":25375,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220008704001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:16:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:16:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220008704001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":231137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:16:11] local.INFO: GPS data processed {"connection_id":231137,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:16:11] local.INFO: Acknowledgment sent {"connection_id":231137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:16:32] local.INFO: TCP Data received {"connection_id":229356,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229356,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:16:32] local.INFO: Processing buffer {"connection_id":229356,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:16:32] local.INFO: IMEI packet received {"connection_id":229356,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 03:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":229356,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:16:43] local.INFO: TCP Data received {"connection_id":231137,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a886ada8012d34c94006aa46e0000d006c22..."} 
[2026-11-05 03:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a886ada8012d34c94006aa46e0000d006c22..."} 
[2026-11-05 03:16:43] local.INFO: Processing buffer {"connection_id":231137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a886ada8012d34c94006aa46e0000d006c22..."} 
[2026-11-05 03:16:43] local.INFO: Packet analysis {"connection_id":231137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a886"} 
[2026-11-05 03:16:43] local.INFO: Extracted packet for processing {"connection_id":231137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a886"} 
[2026-11-05 03:16:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":13,"angle":108,"satellites":34,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220085760001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03: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-05 03:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793828761000,"timestamp_ms":1793828761000,"timestamp_seconds":1793828761,"priority":1,"record_length":96,"hex_timestamp":"000001a1a886ada8"} 
[2026-11-05 03: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-05 03: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-05 03: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 03:16: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-05 03: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-05 03: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-05 03:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220085760001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220085760001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:16:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:16:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220085760001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":231137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:16:43] local.INFO: GPS data processed {"connection_id":231137,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:16:43] local.INFO: Acknowledgment sent {"connection_id":231137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:17:04] local.INFO: TCP Data received {"connection_id":229357,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:17:04] local.INFO: Processing buffer {"connection_id":229357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:17:04] local.INFO: IMEI packet received {"connection_id":229357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":229357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:17:10] local.INFO: TCP Data received {"connection_id":229357,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:17:10] local.INFO: Processing buffer {"connection_id":229357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:17:10] local.INFO: IMEI packet received {"connection_id":229357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":229357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:17:11] local.INFO: TCP Data received {"connection_id":229357,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a886ada8012d34c94006aa46e0000d006c22..."} 
[2026-11-05 03:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a886ada8012d34c94006aa46e0000d006c22..."} 
[2026-11-05 03:17:11] local.INFO: Processing buffer {"connection_id":229357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a886ada8012d34c94006aa46e0000d006c22..."} 
[2026-11-05 03:17:11] local.INFO: Packet analysis {"connection_id":229357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a886"} 
[2026-11-05 03:17:11] local.INFO: Extracted packet for processing {"connection_id":229357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a886"} 
[2026-11-05 03:17:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":13,"angle":108,"satellites":34,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220085760001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793828761000,"timestamp_ms":1793828761000,"timestamp_seconds":1793828761,"priority":1,"record_length":96,"hex_timestamp":"000001a1a886ada8"} 
[2026-11-05 03: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-05 03:17: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-05 03:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 03:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 03: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-05 03: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-05 03:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:17: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-05 03:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220085760001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220085760001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:17:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:17:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220085760001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:17:11] 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":61333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:17:11] local.INFO: GPS data processed {"connection_id":229357,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:17:11] local.INFO: Acknowledgment sent {"connection_id":229357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:17:12] local.INFO: TCP Data received {"connection_id":233039,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233039,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:17:12] local.INFO: Processing buffer {"connection_id":233039,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:17:12] local.INFO: IMEI packet received {"connection_id":233039,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 03:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":233039,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:17:43] local.INFO: TCP Data received {"connection_id":229357,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a886ada8012d34c94006aa46e0000d006c22..."} 
[2026-11-05 03:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a886ada8012d34c94006aa46e0000d006c22..."} 
[2026-11-05 03:17:43] local.INFO: Processing buffer {"connection_id":229357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a886ada8012d34c94006aa46e0000d006c22..."} 
[2026-11-05 03:17:43] local.INFO: Packet analysis {"connection_id":229357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a886"} 
[2026-11-05 03:17:43] local.INFO: Extracted packet for processing {"connection_id":229357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a886"} 
[2026-11-05 03:17:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":13,"angle":108,"satellites":34,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220085760001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:17: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-05 03:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793828761000,"timestamp_ms":1793828761000,"timestamp_seconds":1793828761,"priority":1,"record_length":96,"hex_timestamp":"000001a1a886ada8"} 
[2026-11-05 03: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-05 03:17: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-05 03: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 03:17: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-05 03: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-05 03: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-05 03:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220085760001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220085760001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:17:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:17:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220085760001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:17:43] 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":61334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:17:43] local.INFO: GPS data processed {"connection_id":229357,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:17:43] local.INFO: Acknowledgment sent {"connection_id":229357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:18:05] local.INFO: TCP Data received {"connection_id":231139,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:18:05] local.INFO: Processing buffer {"connection_id":231139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:18:05] local.INFO: IMEI packet received {"connection_id":231139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":231139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:18:10] local.INFO: TCP Data received {"connection_id":231139,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:18:10] local.INFO: Processing buffer {"connection_id":231139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:18:10] local.INFO: IMEI packet received {"connection_id":231139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":231139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:18:11] local.INFO: TCP Data received {"connection_id":231139,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a886ada8012d34c94006aa46e0000d006c22..."} 
[2026-11-05 03:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a886ada8012d34c94006aa46e0000d006c22..."} 
[2026-11-05 03:18:11] local.INFO: Processing buffer {"connection_id":231139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a886ada8012d34c94006aa46e0000d006c22..."} 
[2026-11-05 03:18:11] local.INFO: Packet analysis {"connection_id":231139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a886"} 
[2026-11-05 03:18:11] local.INFO: Extracted packet for processing {"connection_id":231139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a886"} 
[2026-11-05 03:18:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":13,"angle":108,"satellites":34,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220085760001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793828761000,"timestamp_ms":1793828761000,"timestamp_seconds":1793828761,"priority":1,"record_length":96,"hex_timestamp":"000001a1a886ada8"} 
[2026-11-05 03: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-05 03:18: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-05 03:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 03:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 03: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-05 03: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-05 03:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:18: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-05 03:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220085760001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220085760001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:18:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:18:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220085760001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":231139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:18:11] local.INFO: GPS data processed {"connection_id":231139,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:18:11] local.INFO: Acknowledgment sent {"connection_id":231139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:18:43] local.INFO: TCP Data received {"connection_id":231139,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a886ada8012d34c94006aa46e0000d006c22..."} 
[2026-11-05 03:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a886ada8012d34c94006aa46e0000d006c22..."} 
[2026-11-05 03:18:43] local.INFO: Processing buffer {"connection_id":231139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a886ada8012d34c94006aa46e0000d006c22..."} 
[2026-11-05 03:18:43] local.INFO: Packet analysis {"connection_id":231139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a886"} 
[2026-11-05 03:18:43] local.INFO: Extracted packet for processing {"connection_id":231139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a886"} 
[2026-11-05 03:18:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":13,"angle":108,"satellites":34,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 03:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220085760001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:18: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-05 03:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793828761000,"timestamp_ms":1793828761000,"timestamp_seconds":1793828761,"priority":1,"record_length":96,"hex_timestamp":"000001a1a886ada8"} 
[2026-11-05 03: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-05 03:18: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-05 03: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 03:18: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-05 03: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-05 03: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-05 03:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:18: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-05 03:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220085760001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220085760001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:18:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:18:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220085760001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":231139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:18:43] local.INFO: GPS data processed {"connection_id":231139,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:18:43] local.INFO: Acknowledgment sent {"connection_id":231139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:19:05] local.INFO: TCP Data received {"connection_id":229359,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:19:05] local.INFO: Processing buffer {"connection_id":229359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:19:05] local.INFO: IMEI packet received {"connection_id":229359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":229359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:19:10] local.INFO: TCP Data received {"connection_id":229359,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:19:10] local.INFO: Processing buffer {"connection_id":229359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:19:10] local.INFO: IMEI packet received {"connection_id":229359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":229359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:19:11] local.INFO: TCP Data received {"connection_id":229359,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a886ada8012d34c94006aa46e0000d006c22..."} 
[2026-11-05 03:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a886ada8012d34c94006aa46e0000d006c22..."} 
[2026-11-05 03:19:11] local.INFO: Processing buffer {"connection_id":229359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a886ada8012d34c94006aa46e0000d006c22..."} 
[2026-11-05 03:19:11] local.INFO: Packet analysis {"connection_id":229359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a886"} 
[2026-11-05 03:19:11] local.INFO: Extracted packet for processing {"connection_id":229359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a886"} 
[2026-11-05 03:19:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":13,"angle":108,"satellites":34,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220085760001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793828761000,"timestamp_ms":1793828761000,"timestamp_seconds":1793828761,"priority":1,"record_length":96,"hex_timestamp":"000001a1a886ada8"} 
[2026-11-05 03: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-05 03:19: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-05 03:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 03:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 03: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-05 03: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-05 03:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:19: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-05 03:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220085760001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220085760001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:19:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:19:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220085760001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:19:11] 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":61337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:19:11] local.INFO: GPS data processed {"connection_id":229359,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:19:11] local.INFO: Acknowledgment sent {"connection_id":229359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:19:42] local.INFO: TCP Data received {"connection_id":229359,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a886ada8012d34c94006aa46e0000d006c22..."} 
[2026-11-05 03:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a886ada8012d34c94006aa46e0000d006c22..."} 
[2026-11-05 03:19:43] local.INFO: Processing buffer {"connection_id":229359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a886ada8012d34c94006aa46e0000d006c22..."} 
[2026-11-05 03:19:43] local.INFO: Packet analysis {"connection_id":229359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a886"} 
[2026-11-05 03:19:43] local.INFO: Extracted packet for processing {"connection_id":229359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a886"} 
[2026-11-05 03:19:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":13,"angle":108,"satellites":34,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220085760001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:19: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-05 03:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793828761000,"timestamp_ms":1793828761000,"timestamp_seconds":1793828761,"priority":1,"record_length":96,"hex_timestamp":"000001a1a886ada8"} 
[2026-11-05 03: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-05 03:19: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-05 03: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 03:19: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-05 03: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-05 03: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-05 03:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220085760001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220085760001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:19:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:19:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220085760001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:19:43] 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":61338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:19:43] local.INFO: GPS data processed {"connection_id":229359,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:19:43] local.INFO: Acknowledgment sent {"connection_id":229359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:20:10] local.INFO: TCP Data received {"connection_id":231140,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:20:10] local.INFO: Processing buffer {"connection_id":231140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:20:10] local.INFO: IMEI packet received {"connection_id":231140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":231140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:20:15] local.INFO: TCP Data received {"connection_id":231140,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:20:15] local.INFO: Processing buffer {"connection_id":231140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:20:15] local.INFO: IMEI packet received {"connection_id":231140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":231140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:20:16] local.INFO: TCP Data received {"connection_id":231140,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a886ada8012d34c94006aa46e0000d006c22..."} 
[2026-11-05 03:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a886ada8012d34c94006aa46e0000d006c22..."} 
[2026-11-05 03:20:16] local.INFO: Processing buffer {"connection_id":231140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a886ada8012d34c94006aa46e0000d006c22..."} 
[2026-11-05 03:20:16] local.INFO: Packet analysis {"connection_id":231140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a886"} 
[2026-11-05 03:20:16] local.INFO: Extracted packet for processing {"connection_id":231140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a886"} 
[2026-11-05 03:20:16] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":13,"angle":108,"satellites":34,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220085760001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:20: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-05 03:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793828761000,"timestamp_ms":1793828761000,"timestamp_seconds":1793828761,"priority":1,"record_length":96,"hex_timestamp":"000001a1a886ada8"} 
[2026-11-05 03: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-05 03: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-05 03: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 03:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 03: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-05 03: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-05 03:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":231140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":231140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":231140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:20: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-05 03:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220085760001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220085760001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:20:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:20:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220085760001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":231140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:20:16] local.INFO: GPS data processed {"connection_id":231140,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:20:16] local.INFO: Acknowledgment sent {"connection_id":231140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:20:48] local.INFO: TCP Data received {"connection_id":231140,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a886ada8012d34c94006aa46e0000d006c22..."} 
[2026-11-05 03:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a886ada8012d34c94006aa46e0000d006c22..."} 
[2026-11-05 03:20:48] local.INFO: Processing buffer {"connection_id":231140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a886ada8012d34c94006aa46e0000d006c22..."} 
[2026-11-05 03:20:48] local.INFO: Packet analysis {"connection_id":231140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a886"} 
[2026-11-05 03:20:48] local.INFO: Extracted packet for processing {"connection_id":231140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a886"} 
[2026-11-05 03:20:48] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":13,"angle":108,"satellites":34,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220085760001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:20: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-05 03:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793828761000,"timestamp_ms":1793828761000,"timestamp_seconds":1793828761,"priority":1,"record_length":96,"hex_timestamp":"000001a1a886ada8"} 
[2026-11-05 03: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-05 03: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-05 03: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 03:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 03: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-05 03: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-05 03:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":231140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":231140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":231140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:20: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-05 03:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220085760001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220085760001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:20:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:20:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220085760001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":231140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:20:48] local.INFO: GPS data processed {"connection_id":231140,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:20:48] local.INFO: Acknowledgment sent {"connection_id":231140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:21:05] local.INFO: TCP Data received {"connection_id":229850,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:21:05] local.INFO: Processing buffer {"connection_id":229850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:21:05] local.INFO: IMEI packet received {"connection_id":229850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":229850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:21:10] local.INFO: TCP Data received {"connection_id":229850,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:21:10] local.INFO: Processing buffer {"connection_id":229850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:21:10] local.INFO: IMEI packet received {"connection_id":229850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":229850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:21:11] local.INFO: TCP Data received {"connection_id":229850,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a886ada8012d34c94006aa46e0000d006c22..."} 
[2026-11-05 03:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a886ada8012d34c94006aa46e0000d006c22..."} 
[2026-11-05 03:21:11] local.INFO: Processing buffer {"connection_id":229850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a886ada8012d34c94006aa46e0000d006c22..."} 
[2026-11-05 03:21:11] local.INFO: Packet analysis {"connection_id":229850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a886"} 
[2026-11-05 03:21:11] local.INFO: Extracted packet for processing {"connection_id":229850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a886"} 
[2026-11-05 03:21:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":13,"angle":108,"satellites":34,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220085760001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793828761000,"timestamp_ms":1793828761000,"timestamp_seconds":1793828761,"priority":1,"record_length":96,"hex_timestamp":"000001a1a886ada8"} 
[2026-11-05 03: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-05 03:21: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-05 03:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 03:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 03: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-05 03: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-05 03:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:21: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-05 03:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220085760001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220085760001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:21:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:21:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220085760001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":229850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:21:11] local.INFO: GPS data processed {"connection_id":229850,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:21:11] local.INFO: Acknowledgment sent {"connection_id":229850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:21:44] local.INFO: TCP Data received {"connection_id":229850,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a88b4570012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a88b4570012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:21:44] local.INFO: Processing buffer {"connection_id":229850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a88b4570012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:21:44] local.INFO: Packet analysis {"connection_id":229850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a88b"} 
[2026-11-05 03:21:44] local.INFO: Extracted packet for processing {"connection_id":229850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a88b"} 
[2026-11-05 03:21:44] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":16,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220162816001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03: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-05 03:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793829062000,"timestamp_ms":1793829062000,"timestamp_seconds":1793829062,"priority":1,"record_length":96,"hex_timestamp":"000001a1a88b4570"} 
[2026-11-05 03: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-05 03:21: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-05 03: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":255,"data_length":795,"current_offset":136} 
[2026-11-05 03:21: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-05 03: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-05 03: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-05 03:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220162816001,"66":25321,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220162816001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:21:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:21:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220162816001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":229850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:21:44] local.INFO: GPS data processed {"connection_id":229850,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:21:44] local.INFO: Acknowledgment sent {"connection_id":229850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:22:04] local.INFO: TCP Data received {"connection_id":231141,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:22:04] local.INFO: Processing buffer {"connection_id":231141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:22:04] local.INFO: IMEI packet received {"connection_id":231141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":231141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:22:10] local.INFO: TCP Data received {"connection_id":231141,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:22:10] local.INFO: Processing buffer {"connection_id":231141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:22:10] local.INFO: IMEI packet received {"connection_id":231141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":231141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:22:11] local.INFO: TCP Data received {"connection_id":231141,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a88b4570012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a88b4570012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:22:11] local.INFO: Processing buffer {"connection_id":231141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a88b4570012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:22:11] local.INFO: Packet analysis {"connection_id":231141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a88b"} 
[2026-11-05 03:22:11] local.INFO: Extracted packet for processing {"connection_id":231141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a88b"} 
[2026-11-05 03:22:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":16,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220162816001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793829062000,"timestamp_ms":1793829062000,"timestamp_seconds":1793829062,"priority":1,"record_length":96,"hex_timestamp":"000001a1a88b4570"} 
[2026-11-05 03: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-05 03:22: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-05 03:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 03:22: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-05 03: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-05 03: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-05 03:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:22: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-05 03:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220162816001,"66":25321,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220162816001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:22:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:22:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220162816001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":231141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:22:11] local.INFO: GPS data processed {"connection_id":231141,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:22:11] local.INFO: Acknowledgment sent {"connection_id":231141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:22:37] local.INFO: TCP Data received {"connection_id":233040,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233040,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:22:37] local.INFO: Processing buffer {"connection_id":233040,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:22:37] local.INFO: IMEI packet received {"connection_id":233040,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 03:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":233040,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:22:42] local.INFO: TCP Data received {"connection_id":231141,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a88b4570012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a88b4570012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:22:42] local.INFO: Processing buffer {"connection_id":231141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a88b4570012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:22:42] local.INFO: Packet analysis {"connection_id":231141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a88b"} 
[2026-11-05 03:22:42] local.INFO: Extracted packet for processing {"connection_id":231141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a88b"} 
[2026-11-05 03:22:42] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":16,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 03:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220162816001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793829062000,"timestamp_ms":1793829062000,"timestamp_seconds":1793829062,"priority":1,"record_length":96,"hex_timestamp":"000001a1a88b4570"} 
[2026-11-05 03:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 03:22: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-05 03:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 03:22: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-05 03:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 03:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 03:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220162816001,"66":25321,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220162816001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:22:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:22:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220162816001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":231141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:22:42] local.INFO: GPS data processed {"connection_id":231141,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:22:42] local.INFO: Acknowledgment sent {"connection_id":231141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:23:07] local.INFO: TCP Data received {"connection_id":229361,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229361,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:23:07] local.INFO: Processing buffer {"connection_id":229361,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:23:07] local.INFO: IMEI packet received {"connection_id":229361,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 03:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":229361,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:23:10] local.INFO: TCP Data received {"connection_id":231142,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:23:10] local.INFO: Processing buffer {"connection_id":231142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:23:10] local.INFO: IMEI packet received {"connection_id":231142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":231142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:23:15] local.INFO: TCP Data received {"connection_id":231142,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:23:15] local.INFO: Processing buffer {"connection_id":231142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:23:15] local.INFO: IMEI packet received {"connection_id":231142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":231142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:23:16] local.INFO: TCP Data received {"connection_id":231142,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a88b4570012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a88b4570012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:23:16] local.INFO: Processing buffer {"connection_id":231142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a88b4570012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:23:16] local.INFO: Packet analysis {"connection_id":231142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a88b"} 
[2026-11-05 03:23:16] local.INFO: Extracted packet for processing {"connection_id":231142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a88b"} 
[2026-11-05 03:23:16] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":16,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 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-05 03:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220162816001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:23: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-05 03:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793829062000,"timestamp_ms":1793829062000,"timestamp_seconds":1793829062,"priority":1,"record_length":96,"hex_timestamp":"000001a1a88b4570"} 
[2026-11-05 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-05 03:23: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-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 03:23: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-05 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-05 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-05 03:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":231142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":231142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":231142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:23: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-05 03:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220162816001,"66":25321,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220162816001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:23:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:23:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220162816001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":231142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:23:16] local.INFO: GPS data processed {"connection_id":231142,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:23:16] local.INFO: Acknowledgment sent {"connection_id":231142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:23:21] local.INFO: TCP Data received {"connection_id":231142,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a88b4570012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a88b4570012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:23:21] local.INFO: Processing buffer {"connection_id":231142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a88b4570012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:23:21] local.INFO: Packet analysis {"connection_id":231142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a88b"} 
[2026-11-05 03:23:21] local.INFO: Extracted packet for processing {"connection_id":231142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a88b"} 
[2026-11-05 03:23:21] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":16,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220162816001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03: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-05 03:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793829062000,"timestamp_ms":1793829062000,"timestamp_seconds":1793829062,"priority":1,"record_length":96,"hex_timestamp":"000001a1a88b4570"} 
[2026-11-05 03: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-05 03:23: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-05 03: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 03:23: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-05 03: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-05 03: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-05 03:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":231142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":231142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":231142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220162816001,"66":25321,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220162816001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:23:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:23:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220162816001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":231142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:23:21] local.INFO: GPS data processed {"connection_id":231142,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:23:21] local.INFO: Acknowledgment sent {"connection_id":231142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:24:05] local.INFO: TCP Data received {"connection_id":229362,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:24:05] local.INFO: Processing buffer {"connection_id":229362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:24:05] local.INFO: IMEI packet received {"connection_id":229362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":229362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:24:10] local.INFO: TCP Data received {"connection_id":229362,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:24:10] local.INFO: Processing buffer {"connection_id":229362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:24:10] local.INFO: IMEI packet received {"connection_id":229362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":229362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:24:11] local.INFO: TCP Data received {"connection_id":229362,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a88b4570012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a88b4570012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:24:11] local.INFO: Processing buffer {"connection_id":229362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a88b4570012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:24:11] local.INFO: Packet analysis {"connection_id":229362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a88b"} 
[2026-11-05 03:24:11] local.INFO: Extracted packet for processing {"connection_id":229362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a88b"} 
[2026-11-05 03:24:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":16,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220162816001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03: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-05 03:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793829062000,"timestamp_ms":1793829062000,"timestamp_seconds":1793829062,"priority":1,"record_length":96,"hex_timestamp":"000001a1a88b4570"} 
[2026-11-05 03: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-05 03:24: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-05 03:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 03:24: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-05 03: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-05 03: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-05 03:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220162816001,"66":25321,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220162816001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:24:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:24:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220162816001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:24:11] 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":61347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:24:11] local.INFO: GPS data processed {"connection_id":229362,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:24:11] local.INFO: Acknowledgment sent {"connection_id":229362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:24:42] local.INFO: TCP Data received {"connection_id":229362,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a88b4570012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a88b4570012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:24:42] local.INFO: Processing buffer {"connection_id":229362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a88b4570012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:24:42] local.INFO: Packet analysis {"connection_id":229362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a88b"} 
[2026-11-05 03:24:42] local.INFO: Extracted packet for processing {"connection_id":229362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a88b"} 
[2026-11-05 03:24:42] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":16,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 03:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220162816001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793829062000,"timestamp_ms":1793829062000,"timestamp_seconds":1793829062,"priority":1,"record_length":96,"hex_timestamp":"000001a1a88b4570"} 
[2026-11-05 03:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 03:24: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-05 03:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 03:24: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-05 03:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 03:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 03:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:24: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-05 03:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220162816001,"66":25321,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220162816001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:24:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:24:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220162816001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:24:42] 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":61348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:24:42] local.INFO: GPS data processed {"connection_id":229362,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:24:42] local.INFO: Acknowledgment sent {"connection_id":229362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:25:04] local.INFO: TCP Data received {"connection_id":229852,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:25:04] local.INFO: Processing buffer {"connection_id":229852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:25:04] local.INFO: IMEI packet received {"connection_id":229852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":229852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:25:10] local.INFO: TCP Data received {"connection_id":229852,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:25:10] local.INFO: Processing buffer {"connection_id":229852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:25:10] local.INFO: IMEI packet received {"connection_id":229852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":229852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:25:11] local.INFO: TCP Data received {"connection_id":229852,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a88b4570012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a88b4570012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:25:11] local.INFO: Processing buffer {"connection_id":229852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a88b4570012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:25:11] local.INFO: Packet analysis {"connection_id":229852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a88b"} 
[2026-11-05 03:25:11] local.INFO: Extracted packet for processing {"connection_id":229852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a88b"} 
[2026-11-05 03:25:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":16,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220162816001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793829062000,"timestamp_ms":1793829062000,"timestamp_seconds":1793829062,"priority":1,"record_length":96,"hex_timestamp":"000001a1a88b4570"} 
[2026-11-05 03: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-05 03:25: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-05 03:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 03:25: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-05 03: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-05 03: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-05 03:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220162816001,"66":25321,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220162816001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:25:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:25:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220162816001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":229852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:25:11] local.INFO: GPS data processed {"connection_id":229852,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:25:11] local.INFO: Acknowledgment sent {"connection_id":229852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:25:43] local.INFO: TCP Data received {"connection_id":229852,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a88b4570012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a88b4570012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:25:43] local.INFO: Processing buffer {"connection_id":229852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a88b4570012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:25:43] local.INFO: Packet analysis {"connection_id":229852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a88b"} 
[2026-11-05 03:25:43] local.INFO: Extracted packet for processing {"connection_id":229852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a88b"} 
[2026-11-05 03:25:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":16,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220162816001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03: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-05 03:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793829062000,"timestamp_ms":1793829062000,"timestamp_seconds":1793829062,"priority":1,"record_length":96,"hex_timestamp":"000001a1a88b4570"} 
[2026-11-05 03: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-05 03:25: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-05 03: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 03:25: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-05 03: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-05 03: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-05 03:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220162816001,"66":25321,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220162816001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:25:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:25:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220162816001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":229852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:25:43] local.INFO: GPS data processed {"connection_id":229852,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:25:43] local.INFO: Acknowledgment sent {"connection_id":229852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:26:05] local.INFO: TCP Data received {"connection_id":233042,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:26:05] local.INFO: Processing buffer {"connection_id":233042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:26:05] local.INFO: IMEI packet received {"connection_id":233042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":233042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:26:10] local.INFO: TCP Data received {"connection_id":233042,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:26:10] local.INFO: Processing buffer {"connection_id":233042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:26:10] local.INFO: IMEI packet received {"connection_id":233042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":233042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:26:11] local.INFO: TCP Data received {"connection_id":233042,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a88b4570012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a88b4570012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:26:11] local.INFO: Processing buffer {"connection_id":233042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a88b4570012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:26:11] local.INFO: Packet analysis {"connection_id":233042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a88b"} 
[2026-11-05 03:26:11] local.INFO: Extracted packet for processing {"connection_id":233042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a88b"} 
[2026-11-05 03:26:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":16,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220162816001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03: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-05 03:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793829062000,"timestamp_ms":1793829062000,"timestamp_seconds":1793829062,"priority":1,"record_length":96,"hex_timestamp":"000001a1a88b4570"} 
[2026-11-05 03: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-05 03: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-05 03: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-05 03: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-05 03: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-05 03: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-05 03:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220162816001,"66":25321,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220162816001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:26:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:26:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220162816001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":233042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:26:11] local.INFO: GPS data processed {"connection_id":233042,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:26:11] local.INFO: Acknowledgment sent {"connection_id":233042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:26:42] local.INFO: TCP Data received {"connection_id":233042,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a88fdd38012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a88fdd38012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:26:42] local.INFO: Processing buffer {"connection_id":233042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a88fdd38012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:26:42] local.INFO: Packet analysis {"connection_id":233042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a88f"} 
[2026-11-05 03:26:42] local.INFO: Extracted packet for processing {"connection_id":233042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a88f"} 
[2026-11-05 03:26:42] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":16,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 03:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220239872001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793829363000,"timestamp_ms":1793829363000,"timestamp_seconds":1793829363,"priority":1,"record_length":96,"hex_timestamp":"000001a1a88fdd38"} 
[2026-11-05 03:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 03:26: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-05 03:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 03:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 03:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 03:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 03:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:26: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-05 03:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220239872001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220239872001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:26:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:26:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220239872001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":233042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:26:42] local.INFO: GPS data processed {"connection_id":233042,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:26:42] local.INFO: Acknowledgment sent {"connection_id":233042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:27:10] local.INFO: TCP Data received {"connection_id":229364,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:27:10] local.INFO: Processing buffer {"connection_id":229364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:27:10] local.INFO: IMEI packet received {"connection_id":229364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":229364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:27:15] local.INFO: TCP Data received {"connection_id":229364,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:27:15] local.INFO: Processing buffer {"connection_id":229364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:27:15] local.INFO: IMEI packet received {"connection_id":229364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":229364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:27:16] local.INFO: TCP Data received {"connection_id":229364,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a88fdd38012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a88fdd38012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:27:16] local.INFO: Processing buffer {"connection_id":229364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a88fdd38012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:27:16] local.INFO: Packet analysis {"connection_id":229364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a88f"} 
[2026-11-05 03:27:16] local.INFO: Extracted packet for processing {"connection_id":229364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a88f"} 
[2026-11-05 03:27:16] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":16,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 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-05 03:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220239872001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:27: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-05 03:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793829363000,"timestamp_ms":1793829363000,"timestamp_seconds":1793829363,"priority":1,"record_length":96,"hex_timestamp":"000001a1a88fdd38"} 
[2026-11-05 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-05 03:27: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-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 03:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 03:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:27: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-05 03:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220239872001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220239872001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:27:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:27:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220239872001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:27:16] 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":61353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:27:16] local.INFO: GPS data processed {"connection_id":229364,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:27:16] local.INFO: Acknowledgment sent {"connection_id":229364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:27:21] local.INFO: TCP Data received {"connection_id":229364,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a88fdd38012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a88fdd38012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:27:21] local.INFO: Processing buffer {"connection_id":229364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a88fdd38012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:27:21] local.INFO: Packet analysis {"connection_id":229364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a88f"} 
[2026-11-05 03:27:21] local.INFO: Extracted packet for processing {"connection_id":229364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a88f"} 
[2026-11-05 03:27:21] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":16,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220239872001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:27: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-05 03:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793829363000,"timestamp_ms":1793829363000,"timestamp_seconds":1793829363,"priority":1,"record_length":96,"hex_timestamp":"000001a1a88fdd38"} 
[2026-11-05 03: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-05 03:27: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-05 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 03:27: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-05 03: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-05 03: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-05 03:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:27: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-05 03:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220239872001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220239872001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:27:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:27:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220239872001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:27:21] 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":61354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:27:21] local.INFO: GPS data processed {"connection_id":229364,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:27:21] local.INFO: Acknowledgment sent {"connection_id":229364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:28:05] local.INFO: TCP Data received {"connection_id":233044,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:28:05] local.INFO: Processing buffer {"connection_id":233044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:28:05] local.INFO: IMEI packet received {"connection_id":233044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":233044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:28:10] local.INFO: TCP Data received {"connection_id":233044,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:28:10] local.INFO: Processing buffer {"connection_id":233044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:28:10] local.INFO: IMEI packet received {"connection_id":233044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":233044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:28:11] local.INFO: TCP Data received {"connection_id":233044,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a88fdd38012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a88fdd38012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:28:11] local.INFO: Processing buffer {"connection_id":233044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a88fdd38012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:28:11] local.INFO: Packet analysis {"connection_id":233044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a88f"} 
[2026-11-05 03:28:11] local.INFO: Extracted packet for processing {"connection_id":233044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a88f"} 
[2026-11-05 03:28:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":16,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220239872001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03: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-05 03:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793829363000,"timestamp_ms":1793829363000,"timestamp_seconds":1793829363,"priority":1,"record_length":96,"hex_timestamp":"000001a1a88fdd38"} 
[2026-11-05 03: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-05 03:28: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-05 03:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 03:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 03: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-05 03: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-05 03:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220239872001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220239872001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:28:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:28:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220239872001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":233044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:28:11] local.INFO: GPS data processed {"connection_id":233044,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:28:11] local.INFO: Acknowledgment sent {"connection_id":233044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:28:37] local.INFO: TCP Data received {"connection_id":233045,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233045,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:28:37] local.INFO: Processing buffer {"connection_id":233045,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:28:37] local.INFO: IMEI packet received {"connection_id":233045,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 03:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":233045,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:28:42] local.INFO: TCP Data received {"connection_id":233044,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a88fdd38012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a88fdd38012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:28:42] local.INFO: Processing buffer {"connection_id":233044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a88fdd38012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:28:42] local.INFO: Packet analysis {"connection_id":233044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a88f"} 
[2026-11-05 03:28:42] local.INFO: Extracted packet for processing {"connection_id":233044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a88f"} 
[2026-11-05 03:28:42] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":16,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 03:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220239872001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793829363000,"timestamp_ms":1793829363000,"timestamp_seconds":1793829363,"priority":1,"record_length":96,"hex_timestamp":"000001a1a88fdd38"} 
[2026-11-05 03:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 03:28: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-05 03:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 03:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 03:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 03:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 03:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:28: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-05 03:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220239872001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220239872001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:28:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:28:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220239872001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":233044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:28:42] local.INFO: GPS data processed {"connection_id":233044,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:28:42] local.INFO: Acknowledgment sent {"connection_id":233044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:29:05] local.INFO: TCP Data received {"connection_id":231144,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:29:05] local.INFO: Processing buffer {"connection_id":231144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:29:05] local.INFO: IMEI packet received {"connection_id":231144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":231144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:29:07] local.INFO: TCP Data received {"connection_id":231145,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231145,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:29:07] local.INFO: Processing buffer {"connection_id":231145,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:29:07] local.INFO: IMEI packet received {"connection_id":231145,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 03:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":231145,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:29:10] local.INFO: TCP Data received {"connection_id":231144,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:29:10] local.INFO: Processing buffer {"connection_id":231144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:29:10] local.INFO: IMEI packet received {"connection_id":231144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":231144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:29:11] local.INFO: TCP Data received {"connection_id":231144,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a88fdd38012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a88fdd38012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:29:11] local.INFO: Processing buffer {"connection_id":231144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a88fdd38012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:29:11] local.INFO: Packet analysis {"connection_id":231144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a88f"} 
[2026-11-05 03:29:11] local.INFO: Extracted packet for processing {"connection_id":231144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a88f"} 
[2026-11-05 03:29:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":16,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220239872001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793829363000,"timestamp_ms":1793829363000,"timestamp_seconds":1793829363,"priority":1,"record_length":96,"hex_timestamp":"000001a1a88fdd38"} 
[2026-11-05 03: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-05 03:29: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-05 03:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 03:29: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-05 03: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-05 03: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-05 03:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:29: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-05 03:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220239872001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220239872001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:29:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:29:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220239872001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":231144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:29:11] local.INFO: GPS data processed {"connection_id":231144,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:29:11] local.INFO: Acknowledgment sent {"connection_id":231144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:29:43] local.INFO: TCP Data received {"connection_id":231144,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a88fdd38012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a88fdd38012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:29:43] local.INFO: Processing buffer {"connection_id":231144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a88fdd38012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:29:43] local.INFO: Packet analysis {"connection_id":231144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a88f"} 
[2026-11-05 03:29:43] local.INFO: Extracted packet for processing {"connection_id":231144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a88f"} 
[2026-11-05 03:29:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":16,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220239872001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793829363000,"timestamp_ms":1793829363000,"timestamp_seconds":1793829363,"priority":1,"record_length":96,"hex_timestamp":"000001a1a88fdd38"} 
[2026-11-05 03: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-05 03:29: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-05 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 03:29: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-05 03: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-05 03: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-05 03:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220239872001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220239872001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:29:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:29:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220239872001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":231144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:29:43] local.INFO: GPS data processed {"connection_id":231144,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:29:43] local.INFO: Acknowledgment sent {"connection_id":231144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:30:05] local.INFO: TCP Data received {"connection_id":229365,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:30:05] local.INFO: Processing buffer {"connection_id":229365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:30:05] local.INFO: IMEI packet received {"connection_id":229365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":229365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:30:10] local.INFO: TCP Data received {"connection_id":229365,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:30:10] local.INFO: Processing buffer {"connection_id":229365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:30:10] local.INFO: IMEI packet received {"connection_id":229365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":229365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:30:12] local.INFO: TCP Data received {"connection_id":229365,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a88fdd38012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a88fdd38012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:30:12] local.INFO: Processing buffer {"connection_id":229365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a88fdd38012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:30:12] local.INFO: Packet analysis {"connection_id":229365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a88f"} 
[2026-11-05 03:30:12] local.INFO: Extracted packet for processing {"connection_id":229365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a88f"} 
[2026-11-05 03:30:12] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":16,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 03:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220239872001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03: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-05 03:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793829363000,"timestamp_ms":1793829363000,"timestamp_seconds":1793829363,"priority":1,"record_length":96,"hex_timestamp":"000001a1a88fdd38"} 
[2026-11-05 03:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 03:30: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-05 03:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 03:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 03:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 03:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 03:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220239872001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220239872001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:30:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:30:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220239872001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:30:12] 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":61359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:30:12] local.INFO: GPS data processed {"connection_id":229365,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:30:12] local.INFO: Acknowledgment sent {"connection_id":229365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:30:43] local.INFO: TCP Data received {"connection_id":229365,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a88fdd38012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a88fdd38012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:30:43] local.INFO: Processing buffer {"connection_id":229365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a88fdd38012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:30:43] local.INFO: Packet analysis {"connection_id":229365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a88f"} 
[2026-11-05 03:30:43] local.INFO: Extracted packet for processing {"connection_id":229365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a88f"} 
[2026-11-05 03:30:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":16,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220239872001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03: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-05 03:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793829363000,"timestamp_ms":1793829363000,"timestamp_seconds":1793829363,"priority":1,"record_length":96,"hex_timestamp":"000001a1a88fdd38"} 
[2026-11-05 03: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-05 03:30: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-05 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 03:30: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-05 03: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-05 03: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-05 03:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220239872001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220239872001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:30:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:30:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220239872001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:30:43] 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":61360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:30:43] local.INFO: GPS data processed {"connection_id":229365,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:30:43] local.INFO: Acknowledgment sent {"connection_id":229365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:31:05] local.INFO: TCP Data received {"connection_id":229367,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:31:05] local.INFO: Processing buffer {"connection_id":229367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:31:05] local.INFO: IMEI packet received {"connection_id":229367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":229367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:31:10] local.INFO: TCP Data received {"connection_id":229367,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:31:10] local.INFO: Processing buffer {"connection_id":229367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:31:10] local.INFO: IMEI packet received {"connection_id":229367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":229367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:31:11] local.INFO: TCP Data received {"connection_id":229367,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a88fdd38012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a88fdd38012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:31:11] local.INFO: Processing buffer {"connection_id":229367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a88fdd38012d34c94006aa46e00010006c24..."} 
[2026-11-05 03:31:11] local.INFO: Packet analysis {"connection_id":229367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a88f"} 
[2026-11-05 03:31:11] local.INFO: Extracted packet for processing {"connection_id":229367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a88f"} 
[2026-11-05 03:31:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":16,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220239872001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793829363000,"timestamp_ms":1793829363000,"timestamp_seconds":1793829363,"priority":1,"record_length":96,"hex_timestamp":"000001a1a88fdd38"} 
[2026-11-05 03: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-05 03:31: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-05 03:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 03:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 03: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-05 03: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-05 03:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:31: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-05 03:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220239872001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220239872001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:31:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:31:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220239872001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:31:11] 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":61361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:31:11] local.INFO: GPS data processed {"connection_id":229367,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:31:11] local.INFO: Acknowledgment sent {"connection_id":229367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:31:43] local.INFO: TCP Data received {"connection_id":229367,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:31:43] local.INFO: Processing buffer {"connection_id":229367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:31:43] local.INFO: Packet analysis {"connection_id":229367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a894"} 
[2026-11-05 03:31:43] local.INFO: Extracted packet for processing {"connection_id":229367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a894"} 
[2026-11-05 03:31:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":16,"angle":108,"satellites":32,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220316928001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:31: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-05 03:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793829664000,"timestamp_ms":1793829664000,"timestamp_seconds":1793829664,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8947500"} 
[2026-11-05 03: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-05 03:31: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-05 03:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 03:31: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-05 03: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-05 03: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-05 03:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:31: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-05 03:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220316928001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220316928001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:31:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:31:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220316928001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:31:43] 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":61362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:31:43] local.INFO: GPS data processed {"connection_id":229367,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:31:43] local.INFO: Acknowledgment sent {"connection_id":229367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:32:10] local.INFO: TCP Data received {"connection_id":233047,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:32:10] local.INFO: Processing buffer {"connection_id":233047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:32:10] local.INFO: IMEI packet received {"connection_id":233047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":233047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:32:15] local.INFO: TCP Data received {"connection_id":233047,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:32:15] local.INFO: Processing buffer {"connection_id":233047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:32:15] local.INFO: IMEI packet received {"connection_id":233047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":233047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:32:16] local.INFO: TCP Data received {"connection_id":233047,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:32:16] local.INFO: Processing buffer {"connection_id":233047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:32:16] local.INFO: Packet analysis {"connection_id":233047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a894"} 
[2026-11-05 03:32:16] local.INFO: Extracted packet for processing {"connection_id":233047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a894"} 
[2026-11-05 03:32:16] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":16,"angle":108,"satellites":32,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220316928001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:32: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-05 03:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793829664000,"timestamp_ms":1793829664000,"timestamp_seconds":1793829664,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8947500"} 
[2026-11-05 03: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-05 03:32: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-05 03: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 03:32: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-05 03: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-05 03: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-05 03:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":233047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":233047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":233047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220316928001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220316928001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:32:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:32:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220316928001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":233047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:32:16] local.INFO: GPS data processed {"connection_id":233047,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:32:16] local.INFO: Acknowledgment sent {"connection_id":233047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:32:48] local.INFO: TCP Data received {"connection_id":233047,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:32:48] local.INFO: Processing buffer {"connection_id":233047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:32:48] local.INFO: Packet analysis {"connection_id":233047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a894"} 
[2026-11-05 03:32:48] local.INFO: Extracted packet for processing {"connection_id":233047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a894"} 
[2026-11-05 03:32:48] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":16,"angle":108,"satellites":32,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220316928001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:32: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-05 03:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793829664000,"timestamp_ms":1793829664000,"timestamp_seconds":1793829664,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8947500"} 
[2026-11-05 03: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-05 03: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-05 03: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 03:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 03: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-05 03: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-05 03:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":233047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":233047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":233047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:32: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-05 03:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220316928001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220316928001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:32:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:32:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220316928001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":233047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:32:48] local.INFO: GPS data processed {"connection_id":233047,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:32:48] local.INFO: Acknowledgment sent {"connection_id":233047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:33:10] local.INFO: TCP Data received {"connection_id":229854,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:33:10] local.INFO: Processing buffer {"connection_id":229854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:33:10] local.INFO: IMEI packet received {"connection_id":229854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":229854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:33:15] local.INFO: TCP Data received {"connection_id":229854,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:33:15] local.INFO: Processing buffer {"connection_id":229854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:33:15] local.INFO: IMEI packet received {"connection_id":229854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":229854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:33:16] local.INFO: TCP Data received {"connection_id":229854,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:33:16] local.INFO: Processing buffer {"connection_id":229854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:33:16] local.INFO: Packet analysis {"connection_id":229854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a894"} 
[2026-11-05 03:33:16] local.INFO: Extracted packet for processing {"connection_id":229854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a894"} 
[2026-11-05 03:33:16] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":16,"angle":108,"satellites":32,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 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-05 03:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220316928001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:33: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-05 03:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793829664000,"timestamp_ms":1793829664000,"timestamp_seconds":1793829664,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8947500"} 
[2026-11-05 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-05 03:33: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-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 03:33: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-05 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-05 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-05 03:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:33: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-05 03:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220316928001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220316928001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:33:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:33:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220316928001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":229854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:33:16] local.INFO: GPS data processed {"connection_id":229854,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:33:16] local.INFO: Acknowledgment sent {"connection_id":229854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:33:48] local.INFO: TCP Data received {"connection_id":229854,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:33:48] local.INFO: Processing buffer {"connection_id":229854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:33:48] local.INFO: Packet analysis {"connection_id":229854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a894"} 
[2026-11-05 03:33:48] local.INFO: Extracted packet for processing {"connection_id":229854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a894"} 
[2026-11-05 03:33:48] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":16,"angle":108,"satellites":32,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220316928001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793829664000,"timestamp_ms":1793829664000,"timestamp_seconds":1793829664,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8947500"} 
[2026-11-05 03: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-05 03:33: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-05 03: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 03:33:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 03: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-05 03: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-05 03:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:33: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-05 03:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220316928001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220316928001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:33:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:33:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220316928001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":229854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:33:48] local.INFO: GPS data processed {"connection_id":229854,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:33:48] local.INFO: Acknowledgment sent {"connection_id":229854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:34:06] local.INFO: TCP Data received {"connection_id":231147,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:34:06] local.INFO: Processing buffer {"connection_id":231147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:34:06] local.INFO: IMEI packet received {"connection_id":231147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":231147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:34:10] local.INFO: TCP Data received {"connection_id":231147,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:34:10] local.INFO: Processing buffer {"connection_id":231147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:34:10] local.INFO: IMEI packet received {"connection_id":231147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":231147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:34:11] local.INFO: TCP Data received {"connection_id":231147,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:34:11] local.INFO: Processing buffer {"connection_id":231147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:34:11] local.INFO: Packet analysis {"connection_id":231147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a894"} 
[2026-11-05 03:34:11] local.INFO: Extracted packet for processing {"connection_id":231147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a894"} 
[2026-11-05 03:34:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":16,"angle":108,"satellites":32,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220316928001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03: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-05 03:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793829664000,"timestamp_ms":1793829664000,"timestamp_seconds":1793829664,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8947500"} 
[2026-11-05 03: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-05 03: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-05 03: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":255,"data_length":795,"current_offset":136} 
[2026-11-05 03:34: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-05 03: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-05 03: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-05 03:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220316928001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220316928001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:34:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:34:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220316928001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":231147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:34:11] local.INFO: GPS data processed {"connection_id":231147,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:34:11] local.INFO: Acknowledgment sent {"connection_id":231147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:34:32] local.INFO: TCP Data received {"connection_id":231148,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231148,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:34:32] local.INFO: Processing buffer {"connection_id":231148,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:34:32] local.INFO: IMEI packet received {"connection_id":231148,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 03:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":231148,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:34:42] local.INFO: TCP Data received {"connection_id":231147,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:34:42] local.INFO: Processing buffer {"connection_id":231147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:34:42] local.INFO: Packet analysis {"connection_id":231147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a894"} 
[2026-11-05 03:34:42] local.INFO: Extracted packet for processing {"connection_id":231147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a894"} 
[2026-11-05 03:34:42] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":16,"angle":108,"satellites":32,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 03:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220316928001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793829664000,"timestamp_ms":1793829664000,"timestamp_seconds":1793829664,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8947500"} 
[2026-11-05 03:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 03:34: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-05 03:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 03:34: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-05 03:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 03:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 03:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:34: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-05 03:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220316928001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220316928001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:34:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:34:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220316928001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":231147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:34:42] local.INFO: GPS data processed {"connection_id":231147,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:34:42] local.INFO: Acknowledgment sent {"connection_id":231147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:35:04] local.INFO: TCP Data received {"connection_id":229855,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:35:04] local.INFO: Processing buffer {"connection_id":229855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:35:04] local.INFO: IMEI packet received {"connection_id":229855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":229855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:35:07] local.INFO: TCP Data received {"connection_id":229368,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:35:07] local.INFO: Processing buffer {"connection_id":229368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:35:07] local.INFO: IMEI packet received {"connection_id":229368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 03:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":229368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:35:10] local.INFO: TCP Data received {"connection_id":229855,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:35:10] local.INFO: Processing buffer {"connection_id":229855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:35:10] local.INFO: IMEI packet received {"connection_id":229855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":229855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:35:11] local.INFO: TCP Data received {"connection_id":229855,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:35:11] local.INFO: Processing buffer {"connection_id":229855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:35:11] local.INFO: Packet analysis {"connection_id":229855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a894"} 
[2026-11-05 03:35:11] local.INFO: Extracted packet for processing {"connection_id":229855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a894"} 
[2026-11-05 03:35:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":16,"angle":108,"satellites":32,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 03:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220316928001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793829664000,"timestamp_ms":1793829664000,"timestamp_seconds":1793829664,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8947500"} 
[2026-11-05 03:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 03:35: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-05 03:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 03:35: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-05 03:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 03:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 03:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:35: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-05 03:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220316928001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220316928001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:35:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:35:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220316928001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":229855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:35:11] local.INFO: GPS data processed {"connection_id":229855,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:35:11] local.INFO: Acknowledgment sent {"connection_id":229855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:35:43] local.INFO: TCP Data received {"connection_id":229855,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:35:43] local.INFO: Processing buffer {"connection_id":229855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:35:43] local.INFO: Packet analysis {"connection_id":229855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a894"} 
[2026-11-05 03:35:43] local.INFO: Extracted packet for processing {"connection_id":229855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a894"} 
[2026-11-05 03:35:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":16,"angle":108,"satellites":32,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220316928001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03: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-05 03:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793829664000,"timestamp_ms":1793829664000,"timestamp_seconds":1793829664,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8947500"} 
[2026-11-05 03: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-05 03: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-05 03: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":255,"data_length":795,"current_offset":136} 
[2026-11-05 03:35: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-05 03: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-05 03: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-05 03:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220316928001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220316928001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:35:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:35:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220316928001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":229855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:35:43] local.INFO: GPS data processed {"connection_id":229855,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:35:43] local.INFO: Acknowledgment sent {"connection_id":229855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:36:04] local.INFO: TCP Data received {"connection_id":233048,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:36:04] local.INFO: Processing buffer {"connection_id":233048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:36:04] local.INFO: IMEI packet received {"connection_id":233048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":233048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:36:10] local.INFO: TCP Data received {"connection_id":233048,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:36:10] local.INFO: Processing buffer {"connection_id":233048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:36:10] local.INFO: IMEI packet received {"connection_id":233048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":233048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:36:11] local.INFO: TCP Data received {"connection_id":233048,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:36:11] local.INFO: Processing buffer {"connection_id":233048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:36:11] local.INFO: Packet analysis {"connection_id":233048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a894"} 
[2026-11-05 03:36:11] local.INFO: Extracted packet for processing {"connection_id":233048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a894"} 
[2026-11-05 03:36:11] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":16,"angle":108,"satellites":32,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220316928001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793829664000,"timestamp_ms":1793829664000,"timestamp_seconds":1793829664,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8947500"} 
[2026-11-05 03: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-05 03:36: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-05 03: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-05 03: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-05 03: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-05 03: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-05 03:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220316928001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220316928001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:36:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:36:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220316928001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":233048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:36:11] local.INFO: GPS data processed {"connection_id":233048,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:36:11] local.INFO: Acknowledgment sent {"connection_id":233048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:36:42] local.INFO: TCP Data received {"connection_id":233048,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:36:42] local.INFO: Processing buffer {"connection_id":233048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8947500012d34c94006aa46e00010006c20..."} 
[2026-11-05 03:36:42] local.INFO: Packet analysis {"connection_id":233048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a894"} 
[2026-11-05 03:36:42] local.INFO: Extracted packet for processing {"connection_id":233048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a894"} 
[2026-11-05 03:36:42] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":16,"angle":108,"satellites":32,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 03:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220316928001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793829664000,"timestamp_ms":1793829664000,"timestamp_seconds":1793829664,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8947500"} 
[2026-11-05 03:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 03:36: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-05 03:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 03:36: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-05 03:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 03:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 03:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:36: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-05 03:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220316928001,"66":25343,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220316928001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:36:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:36:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220316928001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":233048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:36:42] local.INFO: GPS data processed {"connection_id":233048,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:36:42] local.INFO: Acknowledgment sent {"connection_id":233048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:37:10] local.INFO: TCP Data received {"connection_id":233049,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:37:10] local.INFO: Processing buffer {"connection_id":233049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:37:10] local.INFO: IMEI packet received {"connection_id":233049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":233049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:37:15] local.INFO: TCP Data received {"connection_id":233049,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:37:15] local.INFO: Processing buffer {"connection_id":233049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:37:15] local.INFO: IMEI packet received {"connection_id":233049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":233049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:37:16] local.INFO: TCP Data received {"connection_id":233049,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8990cc8012d34c94006aa46e0000e006c21..."} 
[2026-11-05 03:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8990cc8012d34c94006aa46e0000e006c21..."} 
[2026-11-05 03:37:16] local.INFO: Processing buffer {"connection_id":233049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8990cc8012d34c94006aa46e0000e006c21..."} 
[2026-11-05 03:37:16] local.INFO: Packet analysis {"connection_id":233049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a899"} 
[2026-11-05 03:37:16] local.INFO: Extracted packet for processing {"connection_id":233049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a899"} 
[2026-11-05 03:37:16] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":14,"angle":108,"satellites":33,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 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-05 03:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220393984001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:37: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-05 03:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793829965000,"timestamp_ms":1793829965000,"timestamp_seconds":1793829965,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8990cc8"} 
[2026-11-05 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-05 03: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-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 03:37: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-05 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-05 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-05 03:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":233049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":233049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":233049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:37: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-05 03:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220393984001,"66":25038,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220393984001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:37:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:37:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220393984001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":233049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:37:16] local.INFO: GPS data processed {"connection_id":233049,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:37:16] local.INFO: Acknowledgment sent {"connection_id":233049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:37:47] local.INFO: TCP Data received {"connection_id":233049,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8990cc8012d34c94006aa46e0000e006c21..."} 
[2026-11-05 03:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8990cc8012d34c94006aa46e0000e006c21..."} 
[2026-11-05 03:37:47] local.INFO: Processing buffer {"connection_id":233049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8990cc8012d34c94006aa46e0000e006c21..."} 
[2026-11-05 03:37:47] local.INFO: Packet analysis {"connection_id":233049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a899"} 
[2026-11-05 03:37:47] local.INFO: Extracted packet for processing {"connection_id":233049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a899"} 
[2026-11-05 03:37:47] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":14,"angle":108,"satellites":33,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220393984001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793829965000,"timestamp_ms":1793829965000,"timestamp_seconds":1793829965,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8990cc8"} 
[2026-11-05 03: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-05 03:37: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-05 03:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 03:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 03: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-05 03: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-05 03:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":233049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":233049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":233049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:37: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-05 03:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220393984001,"66":25038,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220393984001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:37:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:37:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220393984001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":233049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:37:47] local.INFO: GPS data processed {"connection_id":233049,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:37:47] local.INFO: Acknowledgment sent {"connection_id":233049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:38:04] local.INFO: TCP Data received {"connection_id":229858,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:38:04] local.INFO: Processing buffer {"connection_id":229858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:38:04] local.INFO: IMEI packet received {"connection_id":229858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":229858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:38:10] local.INFO: TCP Data received {"connection_id":229858,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:38:10] local.INFO: Processing buffer {"connection_id":229858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:38:10] local.INFO: IMEI packet received {"connection_id":229858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":229858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:38:12] local.INFO: TCP Data received {"connection_id":229858,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8990cc8012d34c94006aa46e0000e006c21..."} 
[2026-11-05 03:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8990cc8012d34c94006aa46e0000e006c21..."} 
[2026-11-05 03:38:12] local.INFO: Processing buffer {"connection_id":229858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8990cc8012d34c94006aa46e0000e006c21..."} 
[2026-11-05 03:38:12] local.INFO: Packet analysis {"connection_id":229858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a899"} 
[2026-11-05 03:38:12] local.INFO: Extracted packet for processing {"connection_id":229858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a899"} 
[2026-11-05 03:38:12] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":14,"angle":108,"satellites":33,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 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-05 03:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220393984001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03: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-05 03:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793829965000,"timestamp_ms":1793829965000,"timestamp_seconds":1793829965,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8990cc8"} 
[2026-11-05 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-05 03: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-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 03:38: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-05 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-05 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-05 03:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220393984001,"66":25038,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220393984001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:38:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:38:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220393984001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":229858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:38:12] local.INFO: GPS data processed {"connection_id":229858,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:38:12] local.INFO: Acknowledgment sent {"connection_id":229858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:38:42] local.INFO: TCP Data received {"connection_id":229858,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8990cc8012d34c94006aa46e0000e006c21..."} 
[2026-11-05 03:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8990cc8012d34c94006aa46e0000e006c21..."} 
[2026-11-05 03:38:42] local.INFO: Processing buffer {"connection_id":229858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8990cc8012d34c94006aa46e0000e006c21..."} 
[2026-11-05 03:38:42] local.INFO: Packet analysis {"connection_id":229858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a899"} 
[2026-11-05 03:38:42] local.INFO: Extracted packet for processing {"connection_id":229858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a899"} 
[2026-11-05 03:38:42] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":14,"angle":108,"satellites":33,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 03:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220393984001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793829965000,"timestamp_ms":1793829965000,"timestamp_seconds":1793829965,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8990cc8"} 
[2026-11-05 03:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 03: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-05 03:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 03:38: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-05 03:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 03:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 03:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:38: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-05 03:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220393984001,"66":25038,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220393984001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:38:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:38:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220393984001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":229858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:38:42] local.INFO: GPS data processed {"connection_id":229858,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:38:42] local.INFO: Acknowledgment sent {"connection_id":229858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:39:05] local.INFO: TCP Data received {"connection_id":229369,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:39:05] local.INFO: Processing buffer {"connection_id":229369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:39:05] local.INFO: IMEI packet received {"connection_id":229369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":229369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:39:10] local.INFO: TCP Data received {"connection_id":229369,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:39:10] local.INFO: Processing buffer {"connection_id":229369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:39:10] local.INFO: IMEI packet received {"connection_id":229369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":229369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:39:12] local.INFO: TCP Data received {"connection_id":229369,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8990cc8012d34c94006aa46e0000e006c21..."} 
[2026-11-05 03:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8990cc8012d34c94006aa46e0000e006c21..."} 
[2026-11-05 03:39:12] local.INFO: Processing buffer {"connection_id":229369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8990cc8012d34c94006aa46e0000e006c21..."} 
[2026-11-05 03:39:12] local.INFO: Packet analysis {"connection_id":229369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a899"} 
[2026-11-05 03:39:12] local.INFO: Extracted packet for processing {"connection_id":229369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a899"} 
[2026-11-05 03:39:12] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":14,"angle":108,"satellites":33,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 03:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220393984001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793829965000,"timestamp_ms":1793829965000,"timestamp_seconds":1793829965,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8990cc8"} 
[2026-11-05 03:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 03: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-05 03:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 03:39: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-05 03:39:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 03:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 03:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220393984001,"66":25038,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220393984001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:39:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:39:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220393984001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:39:12] 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":61377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:39:12] local.INFO: GPS data processed {"connection_id":229369,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:39:12] local.INFO: Acknowledgment sent {"connection_id":229369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:39:43] local.INFO: TCP Data received {"connection_id":229369,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8990cc8012d34c94006aa46e0000e006c21..."} 
[2026-11-05 03:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8990cc8012d34c94006aa46e0000e006c21..."} 
[2026-11-05 03:39:43] local.INFO: Processing buffer {"connection_id":229369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8990cc8012d34c94006aa46e0000e006c21..."} 
[2026-11-05 03:39:43] local.INFO: Packet analysis {"connection_id":229369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a899"} 
[2026-11-05 03:39:43] local.INFO: Extracted packet for processing {"connection_id":229369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a899"} 
[2026-11-05 03:39:43] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":14,"angle":108,"satellites":33,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220393984001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:39: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-05 03:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793829965000,"timestamp_ms":1793829965000,"timestamp_seconds":1793829965,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8990cc8"} 
[2026-11-05 03: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-05 03: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-05 03: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-05 03: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-05 03: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-05 03: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-05 03:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220393984001,"66":25038,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220393984001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:39:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:39:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220393984001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:39:43] 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":61378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:39:43] local.INFO: GPS data processed {"connection_id":229369,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:39:43] local.INFO: Acknowledgment sent {"connection_id":229369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:40:10] local.INFO: TCP Data received {"connection_id":231149,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:40:10] local.INFO: Processing buffer {"connection_id":231149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:40:10] local.INFO: IMEI packet received {"connection_id":231149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":231149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:40:15] local.INFO: TCP Data received {"connection_id":231149,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:40:15] local.INFO: Processing buffer {"connection_id":231149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:40:15] local.INFO: IMEI packet received {"connection_id":231149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":231149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:40:16] local.INFO: TCP Data received {"connection_id":231149,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8990cc8012d34c94006aa46e0000e006c21..."} 
[2026-11-05 03:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8990cc8012d34c94006aa46e0000e006c21..."} 
[2026-11-05 03:40:16] local.INFO: Processing buffer {"connection_id":231149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8990cc8012d34c94006aa46e0000e006c21..."} 
[2026-11-05 03:40:16] local.INFO: Packet analysis {"connection_id":231149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a899"} 
[2026-11-05 03:40:16] local.INFO: Extracted packet for processing {"connection_id":231149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a899"} 
[2026-11-05 03:40:16] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":14,"angle":108,"satellites":33,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 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-05 03:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220393984001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:40: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-05 03:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793829965000,"timestamp_ms":1793829965000,"timestamp_seconds":1793829965,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8990cc8"} 
[2026-11-05 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-05 03: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-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 03:40: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-05 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-05 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-05 03:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":231149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":231149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":231149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:40: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-05 03:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220393984001,"66":25038,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220393984001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:40:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:40:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220393984001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":231149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:40:16] local.INFO: GPS data processed {"connection_id":231149,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:40:16] local.INFO: Acknowledgment sent {"connection_id":231149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:40:18] local.INFO: TCP Data received {"connection_id":231149,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a89c50b8012d34c94006aa46e0000e006c1f..."} 
[2026-11-05 03:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a89c50b8012d34c94006aa46e0000e006c1f..."} 
[2026-11-05 03:40:18] local.INFO: Processing buffer {"connection_id":231149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a89c50b8012d34c94006aa46e0000e006c1f..."} 
[2026-11-05 03:40:18] local.INFO: Packet analysis {"connection_id":231149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a89c"} 
[2026-11-05 03:40:18] local.INFO: Extracted packet for processing {"connection_id":231149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a89c"} 
[2026-11-05 03:40:18] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111822560,"longitude_deg":75.8434112,"latitude_deg":11.182256,"altitude":14,"angle":108,"satellites":31,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa46e0","is_valid_coordinates":true} 
[2026-11-05 03:40: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-05 03:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220471040001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:40: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-05 03:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793830179000,"timestamp_ms":1793830179000,"timestamp_seconds":1793830179,"priority":1,"record_length":96,"hex_timestamp":"000001a1a89c50b8"} 
[2026-11-05 03: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-05 03:40: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-05 03:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-11-05 03:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 03: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-05 03: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-05 03:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":231149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":231149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":231149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:40: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-05 03:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220471040001,"66":25028,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220471040001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:40:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:40:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220471040001,"power":25028,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":231149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:40:18] local.INFO: GPS data processed {"connection_id":231149,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:40:18] local.INFO: Acknowledgment sent {"connection_id":231149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:40:37] local.INFO: TCP Data received {"connection_id":229860,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:40:37] local.INFO: Processing buffer {"connection_id":229860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:40:37] local.INFO: IMEI packet received {"connection_id":229860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 03:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":229860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:40:50] local.INFO: TCP Data received {"connection_id":231149,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a89c6058012d34c88006aa46a8000e011523..."} 
[2026-11-05 03:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a89c6058012d34c88006aa46a8000e011523..."} 
[2026-11-05 03:40:50] local.INFO: Processing buffer {"connection_id":231149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a89c6058012d34c88006aa46a8000e011523..."} 
[2026-11-05 03:40:50] local.INFO: Packet analysis {"connection_id":231149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a89c"} 
[2026-11-05 03:40:50] local.INFO: Extracted packet for processing {"connection_id":231149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a89c"} 
[2026-11-05 03:40:50] local.INFO: GPS Element Parsed {"raw_longitude":758433920,"raw_latitude":111822504,"longitude_deg":75.843392,"latitude_deg":11.1822504,"altitude":14,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c880","hex_latitude":"06aa46a8","is_valid_coordinates":true} 
[2026-11-05 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-05 03:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220525824001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661847552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:40: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-05 03:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793830183000,"timestamp_ms":1793830183000,"timestamp_seconds":1793830183,"priority":1,"record_length":96,"hex_timestamp":"000001a1a89c6058"} 
[2026-11-05 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-05 03:40: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-05 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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 03:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 03:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":231149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":231149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":231149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220525824001,"66":24897,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803641757661847552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220525824001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:40:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:40:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661847552,"description":"Unknown IO ID 45"} 
[2026-11-05 03:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220525824001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803641757661847552}} 
[2026-11-05 03:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":231149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:40:50] local.INFO: GPS data processed {"connection_id":231149,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:40:50] local.INFO: Acknowledgment sent {"connection_id":231149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:41:03] local.INFO: TCP Data received {"connection_id":229861,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:41:03] local.INFO: Processing buffer {"connection_id":229861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:41:03] local.INFO: IMEI packet received {"connection_id":229861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":229861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:41:05] local.INFO: TCP Data received {"connection_id":229861,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:41:05] local.INFO: Processing buffer {"connection_id":229861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:41:05] local.INFO: IMEI packet received {"connection_id":229861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":229861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:41:07] local.INFO: TCP Data received {"connection_id":229371,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229371,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:41:07] local.INFO: Processing buffer {"connection_id":229371,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:41:07] local.INFO: IMEI packet received {"connection_id":229371,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 03:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":229371,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:41:09] local.INFO: TCP Data received {"connection_id":229861,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:41:09] local.INFO: Processing buffer {"connection_id":229861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:41:09] local.INFO: IMEI packet received {"connection_id":229861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":229861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:41:11] local.INFO: TCP Data received {"connection_id":229861,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a89cb260012d34c88006aa46a8000e011521..."} 
[2026-11-05 03:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a89cb260012d34c88006aa46a8000e011521..."} 
[2026-11-05 03:41:11] local.INFO: Processing buffer {"connection_id":229861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a89cb260012d34c88006aa46a8000e011521..."} 
[2026-11-05 03:41:11] local.INFO: Packet analysis {"connection_id":229861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a89c"} 
[2026-11-05 03:41:11] local.INFO: Extracted packet for processing {"connection_id":229861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a89c"} 
[2026-11-05 03:41:11] local.INFO: GPS Element Parsed {"raw_longitude":758433920,"raw_latitude":111822504,"longitude_deg":75.843392,"latitude_deg":11.1822504,"altitude":14,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c880","hex_latitude":"06aa46a8","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220526848001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803430651429300224,"note":"Value kept but may cause issues"} 
[2026-11-05 03:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793830204000,"timestamp_ms":1793830204000,"timestamp_seconds":1793830204,"priority":1,"record_length":96,"hex_timestamp":"000001a1a89cb260"} 
[2026-11-05 03: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-05 03:41: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-05 03: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-05 03:41:11] 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-05 03: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-05 03: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-05 03:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:41: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-05 03:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220526848001,"66":24049,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803430651429300224},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220526848001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:41:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:41:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803430651429300224,"description":"Unknown IO ID 45"} 
[2026-11-05 03:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220526848001,"power":24049,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803430651429300224}} 
[2026-11-05 03:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":229861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:41:11] local.INFO: GPS data processed {"connection_id":229861,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:41:11] local.INFO: Acknowledgment sent {"connection_id":229861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:41:42] local.INFO: TCP Data received {"connection_id":229861,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a89d0468012d34c88006aa46a8000e011521..."} 
[2026-11-05 03:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a89d0468012d34c88006aa46a8000e011521..."} 
[2026-11-05 03:41:42] local.INFO: Processing buffer {"connection_id":229861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a89d0468012d34c88006aa46a8000e011521..."} 
[2026-11-05 03:41:42] local.INFO: Packet analysis {"connection_id":229861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a89d"} 
[2026-11-05 03:41:42] local.INFO: Extracted packet for processing {"connection_id":229861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a89d"} 
[2026-11-05 03:41:42] local.INFO: GPS Element Parsed {"raw_longitude":758433920,"raw_latitude":111822504,"longitude_deg":75.843392,"latitude_deg":11.1822504,"altitude":14,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c880","hex_latitude":"06aa46a8","is_valid_coordinates":true} 
[2026-11-05 03:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 03:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220532224001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803430651429300224,"note":"Value kept but may cause issues"} 
[2026-11-05 03:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793830225000,"timestamp_ms":1793830225000,"timestamp_seconds":1793830225,"priority":1,"record_length":96,"hex_timestamp":"000001a1a89d0468"} 
[2026-11-05 03:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 03:41: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-05 03:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":93,"n8_eight_byte":241,"data_length":795,"current_offset":136} 
[2026-11-05 03:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 03:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 03:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 03:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:41: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-05 03:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220532224001,"66":27832,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803430651429300224},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220532224001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:41:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:41:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803430651429300224,"description":"Unknown IO ID 45"} 
[2026-11-05 03:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220532224001,"power":27832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803430651429300224}} 
[2026-11-05 03:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":229861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:41:42] local.INFO: GPS data processed {"connection_id":229861,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:41:42] local.INFO: Acknowledgment sent {"connection_id":229861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:42:05] local.INFO: TCP Data received {"connection_id":233050,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:42:05] local.INFO: Processing buffer {"connection_id":233050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:42:05] local.INFO: IMEI packet received {"connection_id":233050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":233050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:42:06] local.INFO: TCP Data received {"connection_id":233050,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:42:06] local.INFO: Processing buffer {"connection_id":233050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:42:06] local.INFO: IMEI packet received {"connection_id":233050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":233050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:42:07] local.INFO: TCP Data received {"connection_id":233050,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:42:07] local.INFO: Processing buffer {"connection_id":233050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:42:07] local.INFO: IMEI packet received {"connection_id":233050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":233050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:42:10] local.INFO: TCP Data received {"connection_id":233050,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:42:10] local.INFO: Processing buffer {"connection_id":233050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:42:10] local.INFO: IMEI packet received {"connection_id":233050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":233050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:42:12] local.INFO: TCP Data received {"connection_id":233050,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a89d5670012d34c88006aa46a8000e01151e..."} 
[2026-11-05 03:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a89d5670012d34c88006aa46a8000e01151e..."} 
[2026-11-05 03:42:12] local.INFO: Processing buffer {"connection_id":233050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a89d5670012d34c88006aa46a8000e01151e..."} 
[2026-11-05 03:42:12] local.INFO: Packet analysis {"connection_id":233050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a89d"} 
[2026-11-05 03:42:12] local.INFO: Extracted packet for processing {"connection_id":233050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a89d"} 
[2026-11-05 03:42:12] local.INFO: GPS Element Parsed {"raw_longitude":758433920,"raw_latitude":111822504,"longitude_deg":75.843392,"latitude_deg":11.1822504,"altitude":14,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c880","hex_latitude":"06aa46a8","is_valid_coordinates":true} 
[2026-11-05 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-05 03:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220537600001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803430651429300224,"note":"Value kept but may cause issues"} 
[2026-11-05 03:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793830246000,"timestamp_ms":1793830246000,"timestamp_seconds":1793830246,"priority":1,"record_length":96,"hex_timestamp":"000001a1a89d5670"} 
[2026-11-05 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-05 03:42: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-05 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-05 03:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 03:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":233050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":233050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":233050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220537600001,"66":27300,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803430651429300224},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220537600001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:42:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:42:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803430651429300224,"description":"Unknown IO ID 45"} 
[2026-11-05 03:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220537600001,"power":27300,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803430651429300224}} 
[2026-11-05 03:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":233050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:42:12] local.INFO: GPS data processed {"connection_id":233050,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:42:12] local.INFO: Acknowledgment sent {"connection_id":233050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:42:43] local.INFO: TCP Data received {"connection_id":233050,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a89da878012d34c88006aa46a8000e01151e..."} 
[2026-11-05 03:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a89da878012d34c88006aa46a8000e01151e..."} 
[2026-11-05 03:42:43] local.INFO: Processing buffer {"connection_id":233050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a89da878012d34c88006aa46a8000e01151e..."} 
[2026-11-05 03:42:43] local.INFO: Packet analysis {"connection_id":233050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a89d"} 
[2026-11-05 03:42:43] local.INFO: Extracted packet for processing {"connection_id":233050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a89d"} 
[2026-11-05 03:42:43] local.INFO: GPS Element Parsed {"raw_longitude":758433920,"raw_latitude":111822504,"longitude_deg":75.843392,"latitude_deg":11.1822504,"altitude":14,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c880","hex_latitude":"06aa46a8","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220542976001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296811864686592,"note":"Value kept but may cause issues"} 
[2026-11-05 03:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803430651429300224,"note":"Value kept but may cause issues"} 
[2026-11-05 03:42: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-05 03:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793830267000,"timestamp_ms":1793830267000,"timestamp_seconds":1793830267,"priority":1,"record_length":96,"hex_timestamp":"000001a1a89da878"} 
[2026-11-05 03: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-05 03:42: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-05 03: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 03:42:43] 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-05 03: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-05 03: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-05 03:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":233050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":233050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":233050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220542976001,"66":27321,"106":206,"28":21760,"24":0,"16":39296811864686592,"45":3803430651429300224},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220542976001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:42:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:42:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296811864686592,"km_value":39296811864686.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803430651429300224,"description":"Unknown IO ID 45"} 
[2026-11-05 03:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220542976001,"power":27321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803430651429300224}} 
[2026-11-05 03:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":233050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:42:43] local.INFO: GPS data processed {"connection_id":233050,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:42:43] local.INFO: Acknowledgment sent {"connection_id":233050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:43:04] local.INFO: TCP Data received {"connection_id":231150,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:43:04] local.INFO: Processing buffer {"connection_id":231150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:43:04] local.INFO: IMEI packet received {"connection_id":231150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":231150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:43:10] local.INFO: TCP Data received {"connection_id":231150,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:43:10] local.INFO: Processing buffer {"connection_id":231150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:43:10] local.INFO: IMEI packet received {"connection_id":231150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":231150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:43:12] local.INFO: TCP Data received {"connection_id":231150,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a89dd370012d34c5c006aa4770000e012222..."} 
[2026-11-05 03:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a89dd370012d34c5c006aa4770000e012222..."} 
[2026-11-05 03:43:12] local.INFO: Processing buffer {"connection_id":231150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a89dd370012d34c5c006aa4770000e012222..."} 
[2026-11-05 03:43:12] local.INFO: Packet analysis {"connection_id":231150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a89d"} 
[2026-11-05 03:43:12] local.INFO: Extracted packet for processing {"connection_id":231150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a89d"} 
[2026-11-05 03:43:12] local.INFO: GPS Element Parsed {"raw_longitude":758433216,"raw_latitude":111822704,"longitude_deg":75.8433216,"latitude_deg":11.1822704,"altitude":14,"angle":290,"satellites":34,"speed":2,"hex_longitude":"2d34c5c0","hex_latitude":"06aa4770","is_valid_coordinates":true} 
[2026-11-05 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-05 03:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220548352001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296846224424960,"note":"Value kept but may cause issues"} 
[2026-11-05 03:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803430651429300224,"note":"Value kept but may cause issues"} 
[2026-11-05 03: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-05 03:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793830278000,"timestamp_ms":1793830278000,"timestamp_seconds":1793830278,"priority":1,"record_length":96,"hex_timestamp":"000001a1a89dd370"} 
[2026-11-05 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-05 03: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-05 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 03:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 03:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220548352001,"66":27343,"106":206,"28":21760,"24":2,"16":39296846224424960,"45":3803430651429300224},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220548352001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:43:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:43:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296846224424960,"km_value":39296846224424.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803430651429300224,"description":"Unknown IO ID 45"} 
[2026-11-05 03:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220548352001,"power":27343,"unknown_106":206,"unknown_28":21760,"ignition":2,"odometer":null,"unknown_45":3803430651429300224}} 
[2026-11-05 03:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":231150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:43:12] local.INFO: GPS data processed {"connection_id":231150,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:43:12] local.INFO: Acknowledgment sent {"connection_id":231150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:43:43] local.INFO: TCP Data received {"connection_id":231150,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a89dd758012d34c54006aa47a8000e013321..."} 
[2026-11-05 03:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a89dd758012d34c54006aa47a8000e013321..."} 
[2026-11-05 03:43:43] local.INFO: Processing buffer {"connection_id":231150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a89dd758012d34c54006aa47a8000e013321..."} 
[2026-11-05 03:43:43] local.INFO: Packet analysis {"connection_id":231150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a89d"} 
[2026-11-05 03:43:43] local.INFO: Extracted packet for processing {"connection_id":231150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a89d"} 
[2026-11-05 03:43:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822760,"longitude_deg":75.8433088,"latitude_deg":11.182276,"altitude":14,"angle":307,"satellites":33,"speed":4,"hex_longitude":"2d34c540","hex_latitude":"06aa47a8","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220551168001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296854814359552,"note":"Value kept but may cause issues"} 
[2026-11-05 03:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595243397120,"note":"Value kept but may cause issues"} 
[2026-11-05 03: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-05 03:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793830279000,"timestamp_ms":1793830279000,"timestamp_seconds":1793830279,"priority":1,"record_length":96,"hex_timestamp":"000001a1a89dd758"} 
[2026-11-05 03: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-05 03:43: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-05 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 03:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 03: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-05 03: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-05 03:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220551168001,"66":27343,"106":206,"28":21760,"24":4,"16":39296854814359552,"45":3802656595243397120},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220551168001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:43:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:43:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296854814359552,"km_value":39296854814359.555,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595243397120,"description":"Unknown IO ID 45"} 
[2026-11-05 03:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220551168001,"power":27343,"unknown_106":206,"unknown_28":21760,"ignition":4,"odometer":null,"unknown_45":3802656595243397120}} 
[2026-11-05 03:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":231150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:43:43] local.INFO: GPS data processed {"connection_id":231150,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:43:43] local.INFO: Acknowledgment sent {"connection_id":231150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:44:04] local.INFO: TCP Data received {"connection_id":229372,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:44:04] local.INFO: Processing buffer {"connection_id":229372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:44:04] local.INFO: IMEI packet received {"connection_id":229372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":229372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:44:10] local.INFO: TCP Data received {"connection_id":229372,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:44:10] local.INFO: Processing buffer {"connection_id":229372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:44:10] local.INFO: IMEI packet received {"connection_id":229372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":229372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:44:11] local.INFO: TCP Data received {"connection_id":229372,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a89f9890012d34c54006aa51280005015c26..."} 
[2026-11-05 03:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a89f9890012d34c54006aa51280005015c26..."} 
[2026-11-05 03:44:11] local.INFO: Processing buffer {"connection_id":229372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a89f9890012d34c54006aa51280005015c26..."} 
[2026-11-05 03:44:11] local.INFO: Packet analysis {"connection_id":229372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a89f"} 
[2026-11-05 03:44:11] local.INFO: Extracted packet for processing {"connection_id":229372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a89f"} 
[2026-11-05 03:44:11] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825192,"longitude_deg":75.8433088,"latitude_deg":11.1825192,"altitude":5,"angle":348,"satellites":38,"speed":4,"hex_longitude":"2d34c540","hex_latitude":"06aa5128","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220575488001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296979368411136,"note":"Value kept but may cause issues"} 
[2026-11-05 03:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755533312,"note":"Value kept but may cause issues"} 
[2026-11-05 03:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793830394000,"timestamp_ms":1793830394000,"timestamp_seconds":1793830394,"priority":1,"record_length":96,"hex_timestamp":"000001a1a89f9890"} 
[2026-11-05 03: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-05 03:44: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-05 03: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-11-05 03:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 03: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-05 03: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-05 03:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220575488001,"66":27180,"106":206,"28":21760,"24":4,"16":39296979368411136,"45":3802515857755533312},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220575488001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:44:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:44:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296979368411136,"km_value":39296979368411.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755533312,"description":"Unknown IO ID 45"} 
[2026-11-05 03:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220575488001,"power":27180,"unknown_106":206,"unknown_28":21760,"ignition":4,"odometer":null,"unknown_45":3802515857755533312}} 
[2026-11-05 03:44:11] 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":61388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:44:11] local.INFO: GPS data processed {"connection_id":229372,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:44:11] local.INFO: Acknowledgment sent {"connection_id":229372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:44:42] local.INFO: TCP Data received {"connection_id":229372,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a89f9890012d34c54006aa51280005015c26..."} 
[2026-11-05 03:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a89f9890012d34c54006aa51280005015c26..."} 
[2026-11-05 03:44:42] local.INFO: Processing buffer {"connection_id":229372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a89f9890012d34c54006aa51280005015c26..."} 
[2026-11-05 03:44:42] local.INFO: Packet analysis {"connection_id":229372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a89f"} 
[2026-11-05 03:44:42] local.INFO: Extracted packet for processing {"connection_id":229372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a89f"} 
[2026-11-05 03:44:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825192,"longitude_deg":75.8433088,"latitude_deg":11.1825192,"altitude":5,"angle":348,"satellites":38,"speed":4,"hex_longitude":"2d34c540","hex_latitude":"06aa5128","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220580864001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296979368411136,"note":"Value kept but may cause issues"} 
[2026-11-05 03:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755678720,"note":"Value kept but may cause issues"} 
[2026-11-05 03:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793830394000,"timestamp_ms":1793830394000,"timestamp_seconds":1793830394,"priority":1,"record_length":96,"hex_timestamp":"000001a1a89f9890"} 
[2026-11-05 03: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-05 03:44: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-05 03: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-11-05 03:44:42] 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-05 03: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-05 03: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-05 03:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:44: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-05 03:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220580864001,"66":27180,"106":206,"28":21760,"24":4,"16":39296979368411136,"45":3802515857755678720},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220580864001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:44:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:44:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296979368411136,"km_value":39296979368411.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755678720,"description":"Unknown IO ID 45"} 
[2026-11-05 03:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220580864001,"power":27180,"unknown_106":206,"unknown_28":21760,"ignition":4,"odometer":null,"unknown_45":3802515857755678720}} 
[2026-11-05 03:44:42] 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":61389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:44:42] local.INFO: GPS data processed {"connection_id":229372,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:44:42] local.INFO: Acknowledgment sent {"connection_id":229372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:45:04] local.INFO: TCP Data received {"connection_id":231152,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:45:04] local.INFO: Processing buffer {"connection_id":231152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:45:04] local.INFO: IMEI packet received {"connection_id":231152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":231152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:45:10] local.INFO: TCP Data received {"connection_id":231152,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:45:10] local.INFO: Processing buffer {"connection_id":231152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:45:10] local.INFO: IMEI packet received {"connection_id":231152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":231152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:45:11] local.INFO: TCP Data received {"connection_id":231152,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a89fa060012d34c54006aa52200005000325..."} 
[2026-11-05 03:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a89fa060012d34c54006aa52200005000325..."} 
[2026-11-05 03:45:11] local.INFO: Processing buffer {"connection_id":231152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a89fa060012d34c54006aa52200005000325..."} 
[2026-11-05 03:45:11] local.INFO: Packet analysis {"connection_id":231152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a89f"} 
[2026-11-05 03:45:11] local.INFO: Extracted packet for processing {"connection_id":231152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a89f"} 
[2026-11-05 03:45:11] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825440,"longitude_deg":75.8433088,"latitude_deg":11.182544,"altitude":5,"angle":3,"satellites":37,"speed":7,"hex_longitude":"2d34c540","hex_latitude":"06aa5220","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220580864001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296992253313024,"note":"Value kept but may cause issues"} 
[2026-11-05 03:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755678720,"note":"Value kept but may cause issues"} 
[2026-11-05 03:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793830396000,"timestamp_ms":1793830396000,"timestamp_seconds":1793830396,"priority":1,"record_length":96,"hex_timestamp":"000001a1a89fa060"} 
[2026-11-05 03: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-05 03: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-05 03: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-11-05 03:45:11] 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-05 03: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-05 03: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-05 03:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:45: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-05 03:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220580864001,"66":27397,"106":206,"28":21760,"24":7,"16":39296992253313024,"45":3802515857755678720},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220580864001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:45:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:45:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296992253313024,"km_value":39296992253313.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755678720,"description":"Unknown IO ID 45"} 
[2026-11-05 03:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220580864001,"power":27397,"unknown_106":206,"unknown_28":21760,"ignition":7,"odometer":null,"unknown_45":3802515857755678720}} 
[2026-11-05 03:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":231152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:45:11] local.INFO: GPS data processed {"connection_id":231152,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:45:11] local.INFO: Acknowledgment sent {"connection_id":231152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:45:43] local.INFO: TCP Data received {"connection_id":231152,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8a0d4f8012d34e9c006aa76a8000d012027..."} 
[2026-11-05 03:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8a0d4f8012d34e9c006aa76a8000d012027..."} 
[2026-11-05 03:45:43] local.INFO: Processing buffer {"connection_id":231152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8a0d4f8012d34e9c006aa76a8000d012027..."} 
[2026-11-05 03:45:43] local.INFO: Packet analysis {"connection_id":231152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8a0"} 
[2026-11-05 03:45:43] local.INFO: Extracted packet for processing {"connection_id":231152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8a0"} 
[2026-11-05 03:45:43] local.INFO: GPS Element Parsed {"raw_longitude":758442432,"raw_latitude":111834792,"longitude_deg":75.8442432,"latitude_deg":11.1834792,"altitude":13,"angle":288,"satellites":39,"speed":30,"hex_longitude":"2d34e9c0","hex_latitude":"06aa76a8","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220597248001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39298504081801216,"note":"Value kept but may cause issues"} 
[2026-11-05 03:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3822852424824666112,"note":"Value kept but may cause issues"} 
[2026-11-05 03:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793830475000,"timestamp_ms":1793830475000,"timestamp_seconds":1793830475,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8a0d4f8"} 
[2026-11-05 03: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-05 03:45: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-05 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 03:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 03: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-05 03: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-05 03:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220597248001,"66":26539,"106":206,"28":21760,"24":30,"16":39298504081801216,"45":3822852424824666112},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-05 03:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220597248001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:45:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-05 03:45:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39298504081801216,"km_value":39298504081801.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3822852424824666112,"description":"Unknown IO ID 45"} 
[2026-11-05 03:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220597248001,"power":26539,"unknown_106":206,"unknown_28":21760,"ignition":30,"odometer":null,"unknown_45":3822852424824666112}} 
[2026-11-05 03:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":231152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:45:43] local.INFO: GPS data processed {"connection_id":231152,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:45:43] local.INFO: Acknowledgment sent {"connection_id":231152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:46:09] local.INFO: TCP Data received {"connection_id":229375,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:46:09] local.INFO: Processing buffer {"connection_id":229375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:46:09] local.INFO: IMEI packet received {"connection_id":229375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":229375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:46:14] local.INFO: TCP Data received {"connection_id":229375,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:46:14] local.INFO: Processing buffer {"connection_id":229375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:46:14] local.INFO: IMEI packet received {"connection_id":229375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":229375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:46:15] local.INFO: TCP Data received {"connection_id":229375,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8a0fff0012d34c5c006aa8348000a012126..."} 
[2026-11-05 03:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8a0fff0012d34c5c006aa8348000a012126..."} 
[2026-11-05 03:46:15] local.INFO: Processing buffer {"connection_id":229375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8a0fff0012d34c5c006aa8348000a012126..."} 
[2026-11-05 03:46:15] local.INFO: Packet analysis {"connection_id":229375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8a0"} 
[2026-11-05 03:46:15] local.INFO: Extracted packet for processing {"connection_id":229375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8a0"} 
[2026-11-05 03:46:15] local.INFO: GPS Element Parsed {"raw_longitude":758433216,"raw_latitude":111838024,"longitude_deg":75.8433216,"latitude_deg":11.1838024,"altitude":10,"angle":289,"satellites":38,"speed":38,"hex_longitude":"2d34c5c0","hex_latitude":"06aa8348","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220601600001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39298967938269184,"note":"Value kept but may cause issues"} 
[2026-11-05 03:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3812789694408075264,"note":"Value kept but may cause issues"} 
[2026-11-05 03:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793830486000,"timestamp_ms":1793830486000,"timestamp_seconds":1793830486,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8a0fff0"} 
[2026-11-05 03: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-05 03:46: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-05 03: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-11-05 03:46: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-05 03: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-05 03: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-05 03:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:46: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-05 03:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220601600001,"66":27376,"170":206,"28":21760,"24":38,"16":39298967938269184,"45":3812789694408075264},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-11-05 03:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220601600001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:46:15] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-11-05 03:46:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39298967938269184,"km_value":39298967938269.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3812789694408075264,"description":"Unknown IO ID 45"} 
[2026-11-05 03:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220601600001,"power":27376,"unknown_170":206,"unknown_28":21760,"ignition":38,"odometer":null,"unknown_45":3812789694408075264}} 
[2026-11-05 03:46:15] 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":61392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:46:15] local.INFO: GPS data processed {"connection_id":229375,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:46:15] local.INFO: Acknowledgment sent {"connection_id":229375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:46:16] local.INFO: TCP Data received {"connection_id":229375,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8a12700012d34a18006aa90700009011f26..."} 
[2026-11-05 03:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8a12700012d34a18006aa90700009011f26..."} 
[2026-11-05 03:46:16] local.INFO: Processing buffer {"connection_id":229375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8a12700012d34a18006aa90700009011f26..."} 
[2026-11-05 03:46:16] local.INFO: Packet analysis {"connection_id":229375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8a1"} 
[2026-11-05 03:46:16] local.INFO: Extracted packet for processing {"connection_id":229375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8a1"} 
[2026-11-05 03:46:16] local.INFO: GPS Element Parsed {"raw_longitude":758423936,"raw_latitude":111841392,"longitude_deg":75.8423936,"latitude_deg":11.1841392,"altitude":9,"angle":287,"satellites":38,"speed":38,"hex_longitude":"2d34a180","hex_latitude":"06aa9070","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220604416001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39299440384671744,"note":"Value kept but may cause issues"} 
[2026-11-05 03:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595247319040,"note":"Value kept but may cause issues"} 
[2026-11-05 03:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793830496000,"timestamp_ms":1793830496000,"timestamp_seconds":1793830496,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8a12700"} 
[2026-11-05 03: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-05 03: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-05 03: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 03:46:16] 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-05 03: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-05 03: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-05 03:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:46: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-05 03:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220604416001,"66":27376,"170":206,"28":21760,"24":38,"16":39299440384671744,"45":3802656595247319040},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-11-05 03:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220604416001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:46:16] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-11-05 03:46:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39299440384671744,"km_value":39299440384671.74,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595247319040,"description":"Unknown IO ID 45"} 
[2026-11-05 03:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220604416001,"power":27376,"unknown_170":206,"unknown_28":21760,"ignition":38,"odometer":null,"unknown_45":3802656595247319040}} 
[2026-11-05 03:46:16] 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":61393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:46:16] local.INFO: GPS data processed {"connection_id":229375,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:46:16] local.INFO: Acknowledgment sent {"connection_id":229375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:46:32] local.INFO: TCP Data received {"connection_id":233052,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233052,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:46:32] local.INFO: Processing buffer {"connection_id":233052,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:46:32] local.INFO: IMEI packet received {"connection_id":233052,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 03:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":233052,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:46:48] local.INFO: TCP Data received {"connection_id":229375,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8a14e10012d347ec006aa9838000c011324..."} 
[2026-11-05 03:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8a14e10012d347ec006aa9838000c011324..."} 
[2026-11-05 03:46:48] local.INFO: Processing buffer {"connection_id":229375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8a14e10012d347ec006aa9838000c011324..."} 
[2026-11-05 03:46:48] local.INFO: Packet analysis {"connection_id":229375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8a1"} 
[2026-11-05 03:46:48] local.INFO: Extracted packet for processing {"connection_id":229375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8a1"} 
[2026-11-05 03:46:48] local.INFO: GPS Element Parsed {"raw_longitude":758415040,"raw_latitude":111843384,"longitude_deg":75.841504,"latitude_deg":11.1843384,"altitude":12,"angle":275,"satellites":36,"speed":34,"hex_longitude":"2d347ec0","hex_latitude":"06aa9838","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220606976001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39299874176368640,"note":"Value kept but may cause issues"} 
[2026-11-05 03:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3792453127342419968,"note":"Value kept but may cause issues"} 
[2026-11-05 03:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793830506000,"timestamp_ms":1793830506000,"timestamp_seconds":1793830506,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8a14e10"} 
[2026-11-05 03: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-05 03:46: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-05 03: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 03:46:48] 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-05 03: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-05 03: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-05 03:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:46: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-05 03:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220606976001,"66":27300,"170":206,"28":21760,"24":34,"16":39299874176368640,"45":3792453127342419968},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-11-05 03:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220606976001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:46:48] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-11-05 03:46:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39299874176368640,"km_value":39299874176368.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3792453127342419968,"description":"Unknown IO ID 45"} 
[2026-11-05 03:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220606976001,"power":27300,"unknown_170":206,"unknown_28":21760,"ignition":34,"odometer":null,"unknown_45":3792453127342419968}} 
[2026-11-05 03:46:48] 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":61394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:46:48] local.INFO: GPS data processed {"connection_id":229375,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:46:48] local.INFO: Acknowledgment sent {"connection_id":229375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:47:00] local.INFO: TCP Data received {"connection_id":231153,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:47:00] local.INFO: Processing buffer {"connection_id":231153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:47:00] local.INFO: IMEI packet received {"connection_id":231153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":231153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:47:05] local.INFO: TCP Data received {"connection_id":231153,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:47:05] local.INFO: Processing buffer {"connection_id":231153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:47:05] local.INFO: IMEI packet received {"connection_id":231153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":231153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:47:07] local.INFO: TCP Data received {"connection_id":229862,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229862,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:47:07] local.INFO: Processing buffer {"connection_id":229862,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:47:07] local.INFO: IMEI packet received {"connection_id":229862,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 03:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":229862,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:47:10] local.INFO: TCP Data received {"connection_id":231153,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:47:10] local.INFO: Processing buffer {"connection_id":231153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:47:10] local.INFO: IMEI packet received {"connection_id":231153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":231153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:47:11] local.INFO: TCP Data received {"connection_id":231153,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8a25f80012d33b04006aa2728001000c025..."} 
[2026-11-05 03:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8a25f80012d33b04006aa2728001000c025..."} 
[2026-11-05 03:47:11] local.INFO: Processing buffer {"connection_id":231153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8a25f80012d33b04006aa2728001000c025..."} 
[2026-11-05 03:47:11] local.INFO: Packet analysis {"connection_id":231153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8a2"} 
[2026-11-05 03:47:11] local.INFO: Extracted packet for processing {"connection_id":231153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8a2"} 
[2026-11-05 03:47:11] local.INFO: GPS Element Parsed {"raw_longitude":758362176,"raw_latitude":111814440,"longitude_deg":75.8362176,"latitude_deg":11.181444,"altitude":16,"angle":192,"satellites":37,"speed":20,"hex_longitude":"2d33b040","hex_latitude":"06aa2728","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220627456001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39302927898116096,"note":"Value kept but may cause issues"} 
[2026-11-05 03:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724547289204074496,"note":"Value kept but may cause issues"} 
[2026-11-05 03:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793830576000,"timestamp_ms":1793830576000,"timestamp_seconds":1793830576,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8a25f80"} 
[2026-11-05 03: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-05 03: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-05 03: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-05 03: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-05 03: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-05 03: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-05 03:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220627456001,"66":27800,"170":206,"28":21760,"24":20,"16":39302927898116096,"45":3724547289204074496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-11-05 03:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220627456001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:47:11] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-11-05 03:47:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39302927898116096,"km_value":39302927898116.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724547289204074496,"description":"Unknown IO ID 45"} 
[2026-11-05 03:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220627456001,"power":27800,"unknown_170":206,"unknown_28":21760,"ignition":20,"odometer":null,"unknown_45":3724547289204074496}} 
[2026-11-05 03:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":231153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:47:11] local.INFO: GPS data processed {"connection_id":231153,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:47:11] local.INFO: Acknowledgment sent {"connection_id":231153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:47:16] local.INFO: TCP Data received {"connection_id":231153,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8a26368012d33b04006aa2540001000b525..."} 
[2026-11-05 03:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8a26368012d33b04006aa2540001000b525..."} 
[2026-11-05 03:47:16] local.INFO: Processing buffer {"connection_id":231153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8a26368012d33b04006aa2540001000b525..."} 
[2026-11-05 03:47:16] local.INFO: Packet analysis {"connection_id":231153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8a2"} 
[2026-11-05 03:47:16] local.INFO: Extracted packet for processing {"connection_id":231153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8a2"} 
[2026-11-05 03:47:16] local.INFO: GPS Element Parsed {"raw_longitude":758362176,"raw_latitude":111813952,"longitude_deg":75.8362176,"latitude_deg":11.1813952,"altitude":16,"angle":181,"satellites":37,"speed":18,"hex_longitude":"2d33b040","hex_latitude":"06aa2540","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220627456001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39302953667919872,"note":"Value kept but may cause issues"} 
[2026-11-05 03:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724547289204074496,"note":"Value kept but may cause issues"} 
[2026-11-05 03:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793830577000,"timestamp_ms":1793830577000,"timestamp_seconds":1793830577,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8a26368"} 
[2026-11-05 03: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-05 03:47: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-05 03: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-05 03:47: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-05 03: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-05 03: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-05 03:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":231153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":231153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":231153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:47: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-05 03:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220627456001,"66":27800,"170":206,"28":21760,"24":18,"16":39302953667919872,"45":3724547289204074496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-11-05 03:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220627456001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:47:16] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-11-05 03:47:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39302953667919872,"km_value":39302953667919.875,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724547289204074496,"description":"Unknown IO ID 45"} 
[2026-11-05 03:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220627456001,"power":27800,"unknown_170":206,"unknown_28":21760,"ignition":18,"odometer":null,"unknown_45":3724547289204074496}} 
[2026-11-05 03:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":231153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:47:16] local.INFO: GPS data processed {"connection_id":231153,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:47:16] local.INFO: Acknowledgment sent {"connection_id":231153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:47:47] local.INFO: TCP Data received {"connection_id":231153,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8a26368012d33b04006aa2540001000b525..."} 
[2026-11-05 03:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8a26368012d33b04006aa2540001000b525..."} 
[2026-11-05 03:47:47] local.INFO: Processing buffer {"connection_id":231153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8a26368012d33b04006aa2540001000b525..."} 
[2026-11-05 03:47:47] local.INFO: Packet analysis {"connection_id":231153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8a2"} 
[2026-11-05 03:47:47] local.INFO: Extracted packet for processing {"connection_id":231153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8a2"} 
[2026-11-05 03:47:47] local.INFO: GPS Element Parsed {"raw_longitude":758362176,"raw_latitude":111813952,"longitude_deg":75.8362176,"latitude_deg":11.1813952,"altitude":16,"angle":181,"satellites":37,"speed":18,"hex_longitude":"2d33b040","hex_latitude":"06aa2540","is_valid_coordinates":true} 
[2026-11-05 03:47: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-05 03:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220627712001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39302953667919872,"note":"Value kept but may cause issues"} 
[2026-11-05 03:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724547289203949568,"note":"Value kept but may cause issues"} 
[2026-11-05 03:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793830577000,"timestamp_ms":1793830577000,"timestamp_seconds":1793830577,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8a26368"} 
[2026-11-05 03: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-05 03:47: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-05 03: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-05 03:47: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-05 03: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-05 03: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-05 03:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":231153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":231153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":231153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:47: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-05 03:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220627712001,"66":27800,"170":206,"28":21760,"24":18,"16":39302953667919872,"45":3724547289203949568},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-11-05 03:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220627712001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:47:47] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-11-05 03:47:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39302953667919872,"km_value":39302953667919.875,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724547289203949568,"description":"Unknown IO ID 45"} 
[2026-11-05 03:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220627712001,"power":27800,"unknown_170":206,"unknown_28":21760,"ignition":18,"odometer":null,"unknown_45":3724547289203949568}} 
[2026-11-05 03:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":231153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:47:47] local.INFO: GPS data processed {"connection_id":231153,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:47:47] local.INFO: Acknowledgment sent {"connection_id":231153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:48:04] local.INFO: TCP Data received {"connection_id":231154,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:48:04] local.INFO: Processing buffer {"connection_id":231154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:48:04] local.INFO: IMEI packet received {"connection_id":231154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":231154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:48:10] local.INFO: TCP Data received {"connection_id":231154,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:48:10] local.INFO: Processing buffer {"connection_id":231154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:48:10] local.INFO: IMEI packet received {"connection_id":231154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":231154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:48:11] local.INFO: TCP Data received {"connection_id":231154,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8a26750012d33b04006aa2378001000a925..."} 
[2026-11-05 03:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8a26750012d33b04006aa2378001000a925..."} 
[2026-11-05 03:48:11] local.INFO: Processing buffer {"connection_id":231154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8a26750012d33b04006aa2378001000a925..."} 
[2026-11-05 03:48:11] local.INFO: Packet analysis {"connection_id":231154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8a2"} 
[2026-11-05 03:48:11] local.INFO: Extracted packet for processing {"connection_id":231154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8a2"} 
[2026-11-05 03:48:11] local.INFO: GPS Element Parsed {"raw_longitude":758362176,"raw_latitude":111813496,"longitude_deg":75.8362176,"latitude_deg":11.1813496,"altitude":16,"angle":169,"satellites":37,"speed":17,"hex_longitude":"2d33b040","hex_latitude":"06aa2378","is_valid_coordinates":true} 
[2026-11-05 03:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 03:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220627712001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39302953667919872,"note":"Value kept but may cause issues"} 
[2026-11-05 03:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724547289203949568,"note":"Value kept but may cause issues"} 
[2026-11-05 03:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793830578000,"timestamp_ms":1793830578000,"timestamp_seconds":1793830578,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8a26750"} 
[2026-11-05 03:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 03:48: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-05 03:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-05 03:48: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-05 03:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 03:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 03:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:48: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-05 03:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220627712001,"66":27865,"170":206,"28":21760,"24":17,"16":39302953667919872,"45":3724547289203949568},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-11-05 03:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220627712001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:48:11] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-11-05 03:48:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39302953667919872,"km_value":39302953667919.875,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724547289203949568,"description":"Unknown IO ID 45"} 
[2026-11-05 03:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220627712001,"power":27865,"unknown_170":206,"unknown_28":21760,"ignition":17,"odometer":null,"unknown_45":3724547289203949568}} 
[2026-11-05 03:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":231154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:48:11] local.INFO: GPS data processed {"connection_id":231154,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:48:11] local.INFO: Acknowledgment sent {"connection_id":231154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:48:43] local.INFO: TCP Data received {"connection_id":231154,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8a276f0012d33b18006aa1ef8001100c025..."} 
[2026-11-05 03:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8a276f0012d33b18006aa1ef8001100c025..."} 
[2026-11-05 03:48:43] local.INFO: Processing buffer {"connection_id":231154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8a276f0012d33b18006aa1ef8001100c025..."} 
[2026-11-05 03:48:43] local.INFO: Packet analysis {"connection_id":231154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8a2"} 
[2026-11-05 03:48:43] local.INFO: Extracted packet for processing {"connection_id":231154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8a2"} 
[2026-11-05 03:48:43] local.INFO: GPS Element Parsed {"raw_longitude":758362496,"raw_latitude":111812344,"longitude_deg":75.8362496,"latitude_deg":11.1812344,"altitude":17,"angle":192,"satellites":37,"speed":6,"hex_longitude":"2d33b180","hex_latitude":"06aa1ef8","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220627968001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39302953667919872,"note":"Value kept but may cause issues"} 
[2026-11-05 03:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724547289203832832,"note":"Value kept but may cause issues"} 
[2026-11-05 03:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793830582000,"timestamp_ms":1793830582000,"timestamp_seconds":1793830582,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8a276f0"} 
[2026-11-05 03: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-05 03: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-05 03:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 03:48: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-05 03: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-05 03: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-05 03:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220627968001,"66":27050,"170":206,"28":21760,"24":6,"16":39302953667919872,"45":3724547289203832832},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-11-05 03:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220627968001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:48:43] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-11-05 03:48:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39302953667919872,"km_value":39302953667919.875,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724547289203832832,"description":"Unknown IO ID 45"} 
[2026-11-05 03:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220627968001,"power":27050,"unknown_170":206,"unknown_28":21760,"ignition":6,"odometer":null,"unknown_45":3724547289203832832}} 
[2026-11-05 03:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":231154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:48:43] local.INFO: GPS data processed {"connection_id":231154,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:48:43] local.INFO: Acknowledgment sent {"connection_id":231154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:49:04] local.INFO: TCP Data received {"connection_id":233053,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:49:04] local.INFO: Processing buffer {"connection_id":233053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:49:04] local.INFO: IMEI packet received {"connection_id":233053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":233053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:49:10] local.INFO: TCP Data received {"connection_id":233053,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:49:10] local.INFO: Processing buffer {"connection_id":233053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:49:10] local.INFO: IMEI packet received {"connection_id":233053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":233053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:49:11] local.INFO: TCP Data received {"connection_id":233053,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8a27ad8012d33b14006aa1e60001200df24..."} 
[2026-11-05 03:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8a27ad8012d33b14006aa1e60001200df24..."} 
[2026-11-05 03:49:11] local.INFO: Processing buffer {"connection_id":233053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8a27ad8012d33b14006aa1e60001200df24..."} 
[2026-11-05 03:49:11] local.INFO: Packet analysis {"connection_id":233053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8a2"} 
[2026-11-05 03:49:11] local.INFO: Extracted packet for processing {"connection_id":233053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8a2"} 
[2026-11-05 03:49:11] local.INFO: GPS Element Parsed {"raw_longitude":758362432,"raw_latitude":111812192,"longitude_deg":75.8362432,"latitude_deg":11.1812192,"altitude":18,"angle":223,"satellites":36,"speed":0,"hex_longitude":"2d33b140","hex_latitude":"06aa1e60","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220628992001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39302953667919872,"note":"Value kept but may cause issues"} 
[2026-11-05 03:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724899132924426240,"note":"Value kept but may cause issues"} 
[2026-11-05 03:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793830583000,"timestamp_ms":1793830583000,"timestamp_seconds":1793830583,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8a27ad8"} 
[2026-11-05 03: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-05 03:49: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-05 03: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-11-05 03:49:11] 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-05 03: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-05 03: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-05 03:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220628992001,"66":27050,"170":206,"28":21760,"24":0,"16":39302953667919872,"45":3724899132924426240},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-11-05 03:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220628992001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:49:11] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-11-05 03:49:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39302953667919872,"km_value":39302953667919.875,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724899132924426240,"description":"Unknown IO ID 45"} 
[2026-11-05 03:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220628992001,"power":27050,"unknown_170":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3724899132924426240}} 
[2026-11-05 03:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":233053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:49:11] local.INFO: GPS data processed {"connection_id":233053,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:49:11] local.INFO: Acknowledgment sent {"connection_id":233053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:49:44] local.INFO: TCP Data received {"connection_id":233053,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8a27ad8012d33b14006aa1e60001200df24..."} 
[2026-11-05 03:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8a27ad8012d33b14006aa1e60001200df24..."} 
[2026-11-05 03:49:44] local.INFO: Processing buffer {"connection_id":233053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8a27ad8012d33b14006aa1e60001200df24..."} 
[2026-11-05 03:49:44] local.INFO: Packet analysis {"connection_id":233053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8a2"} 
[2026-11-05 03:49:44] local.INFO: Extracted packet for processing {"connection_id":233053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8a2"} 
[2026-11-05 03:49:44] local.INFO: GPS Element Parsed {"raw_longitude":758362432,"raw_latitude":111812192,"longitude_deg":75.8362432,"latitude_deg":11.1812192,"altitude":18,"angle":223,"satellites":36,"speed":0,"hex_longitude":"2d33b140","hex_latitude":"06aa1e60","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220628992001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39302953667919872,"note":"Value kept but may cause issues"} 
[2026-11-05 03:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724899132924426240,"note":"Value kept but may cause issues"} 
[2026-11-05 03:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793830583000,"timestamp_ms":1793830583000,"timestamp_seconds":1793830583,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8a27ad8"} 
[2026-11-05 03: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-05 03: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-05 03: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-11-05 03:49:44] 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-05 03: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-05 03: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-05 03:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":233053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":233053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":233053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220628992001,"66":27050,"170":206,"28":21760,"24":0,"16":39302953667919872,"45":3724899132924426240},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-11-05 03:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220628992001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:49:44] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-11-05 03:49:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39302953667919872,"km_value":39302953667919.875,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724899132924426240,"description":"Unknown IO ID 45"} 
[2026-11-05 03:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220628992001,"power":27050,"unknown_170":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3724899132924426240}} 
[2026-11-05 03:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":233053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:49:44] local.INFO: GPS data processed {"connection_id":233053,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:49:44] local.INFO: Acknowledgment sent {"connection_id":233053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:50:04] local.INFO: TCP Data received {"connection_id":229863,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:50:04] local.INFO: Processing buffer {"connection_id":229863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:50:04] local.INFO: IMEI packet received {"connection_id":229863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":229863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:50:10] local.INFO: TCP Data received {"connection_id":229863,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:50:10] local.INFO: Processing buffer {"connection_id":229863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:50:10] local.INFO: IMEI packet received {"connection_id":229863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":229863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:50:11] local.INFO: TCP Data received {"connection_id":229863,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8a27ad8012d33b14006aa1e60001200df24..."} 
[2026-11-05 03:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8a27ad8012d33b14006aa1e60001200df24..."} 
[2026-11-05 03:50:11] local.INFO: Processing buffer {"connection_id":229863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8a27ad8012d33b14006aa1e60001200df24..."} 
[2026-11-05 03:50:11] local.INFO: Packet analysis {"connection_id":229863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8a2"} 
[2026-11-05 03:50:11] local.INFO: Extracted packet for processing {"connection_id":229863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8a2"} 
[2026-11-05 03:50:11] local.INFO: GPS Element Parsed {"raw_longitude":758362432,"raw_latitude":111812192,"longitude_deg":75.8362432,"latitude_deg":11.1812192,"altitude":18,"angle":223,"satellites":36,"speed":0,"hex_longitude":"2d33b140","hex_latitude":"06aa1e60","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220628992001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39302953667919872,"note":"Value kept but may cause issues"} 
[2026-11-05 03:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724899132924426240,"note":"Value kept but may cause issues"} 
[2026-11-05 03:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793830583000,"timestamp_ms":1793830583000,"timestamp_seconds":1793830583,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8a27ad8"} 
[2026-11-05 03: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-05 03:50: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-05 03: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-11-05 03:50:11] 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-05 03: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-05 03: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-05 03:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220628992001,"66":27050,"170":206,"28":21760,"24":0,"16":39302953667919872,"45":3724899132924426240},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-11-05 03:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220628992001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:50:11] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-11-05 03:50:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39302953667919872,"km_value":39302953667919.875,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724899132924426240,"description":"Unknown IO ID 45"} 
[2026-11-05 03:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220628992001,"power":27050,"unknown_170":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3724899132924426240}} 
[2026-11-05 03:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":229863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:50:11] local.INFO: GPS data processed {"connection_id":229863,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:50:11] local.INFO: Acknowledgment sent {"connection_id":229863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:50:43] local.INFO: TCP Data received {"connection_id":229863,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8a27ad8012d33b14006aa1e60001200df24..."} 
[2026-11-05 03:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8a27ad8012d33b14006aa1e60001200df24..."} 
[2026-11-05 03:50:43] local.INFO: Processing buffer {"connection_id":229863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8a27ad8012d33b14006aa1e60001200df24..."} 
[2026-11-05 03:50:43] local.INFO: Packet analysis {"connection_id":229863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8a2"} 
[2026-11-05 03:50:43] local.INFO: Extracted packet for processing {"connection_id":229863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8a2"} 
[2026-11-05 03:50:43] local.INFO: GPS Element Parsed {"raw_longitude":758362432,"raw_latitude":111812192,"longitude_deg":75.8362432,"latitude_deg":11.1812192,"altitude":18,"angle":223,"satellites":36,"speed":0,"hex_longitude":"2d33b140","hex_latitude":"06aa1e60","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220628992001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39302953667919872,"note":"Value kept but may cause issues"} 
[2026-11-05 03:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724899132924426240,"note":"Value kept but may cause issues"} 
[2026-11-05 03:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793830583000,"timestamp_ms":1793830583000,"timestamp_seconds":1793830583,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8a27ad8"} 
[2026-11-05 03: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-05 03: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-05 03: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-11-05 03:50:43] 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-05 03: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-05 03: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-05 03:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220628992001,"66":27050,"170":206,"28":21760,"24":0,"16":39302953667919872,"45":3724899132924426240},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-11-05 03:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220628992001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:50:43] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-11-05 03:50:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39302953667919872,"km_value":39302953667919.875,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724899132924426240,"description":"Unknown IO ID 45"} 
[2026-11-05 03:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220628992001,"power":27050,"unknown_170":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3724899132924426240}} 
[2026-11-05 03:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":229863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:50:43] local.INFO: GPS data processed {"connection_id":229863,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:50:43] local.INFO: Acknowledgment sent {"connection_id":229863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:51:04] local.INFO: TCP Data received {"connection_id":229377,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:51:04] local.INFO: Processing buffer {"connection_id":229377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:51:04] local.INFO: IMEI packet received {"connection_id":229377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":229377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:51:10] local.INFO: TCP Data received {"connection_id":229377,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:51:10] local.INFO: Processing buffer {"connection_id":229377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:51:10] local.INFO: IMEI packet received {"connection_id":229377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":229377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:51:12] local.INFO: TCP Data received {"connection_id":229377,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8a27ad8012d33b14006aa1e60001200df24..."} 
[2026-11-05 03:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8a27ad8012d33b14006aa1e60001200df24..."} 
[2026-11-05 03:51:12] local.INFO: Processing buffer {"connection_id":229377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8a27ad8012d33b14006aa1e60001200df24..."} 
[2026-11-05 03:51:12] local.INFO: Packet analysis {"connection_id":229377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8a2"} 
[2026-11-05 03:51:12] local.INFO: Extracted packet for processing {"connection_id":229377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8a2"} 
[2026-11-05 03:51:12] local.INFO: GPS Element Parsed {"raw_longitude":758362432,"raw_latitude":111812192,"longitude_deg":75.8362432,"latitude_deg":11.1812192,"altitude":18,"angle":223,"satellites":36,"speed":0,"hex_longitude":"2d33b140","hex_latitude":"06aa1e60","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220628992001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39302953667919872,"note":"Value kept but may cause issues"} 
[2026-11-05 03:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724899132924426240,"note":"Value kept but may cause issues"} 
[2026-11-05 03:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793830583000,"timestamp_ms":1793830583000,"timestamp_seconds":1793830583,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8a27ad8"} 
[2026-11-05 03: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-05 03: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-05 03: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-11-05 03:51:12] 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-05 03: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-05 03: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-05 03:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220628992001,"66":27050,"170":206,"28":21760,"24":0,"16":39302953667919872,"45":3724899132924426240},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-11-05 03:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220628992001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:51:12] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-11-05 03:51:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39302953667919872,"km_value":39302953667919.875,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724899132924426240,"description":"Unknown IO ID 45"} 
[2026-11-05 03:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220628992001,"power":27050,"unknown_170":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3724899132924426240}} 
[2026-11-05 03:51:12] 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":61404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:51:12] local.INFO: GPS data processed {"connection_id":229377,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:51:12] local.INFO: Acknowledgment sent {"connection_id":229377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:51:43] local.INFO: TCP Data received {"connection_id":229377,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8a27ad8012d33b14006aa1e60001200df24..."} 
[2026-11-05 03:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8a27ad8012d33b14006aa1e60001200df24..."} 
[2026-11-05 03:51:43] local.INFO: Processing buffer {"connection_id":229377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8a27ad8012d33b14006aa1e60001200df24..."} 
[2026-11-05 03:51:43] local.INFO: Packet analysis {"connection_id":229377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8a2"} 
[2026-11-05 03:51:43] local.INFO: Extracted packet for processing {"connection_id":229377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8a2"} 
[2026-11-05 03:51:43] local.INFO: GPS Element Parsed {"raw_longitude":758362432,"raw_latitude":111812192,"longitude_deg":75.8362432,"latitude_deg":11.1812192,"altitude":18,"angle":223,"satellites":36,"speed":0,"hex_longitude":"2d33b140","hex_latitude":"06aa1e60","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220628992001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39302953667919872,"note":"Value kept but may cause issues"} 
[2026-11-05 03:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724899132924426240,"note":"Value kept but may cause issues"} 
[2026-11-05 03:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793830583000,"timestamp_ms":1793830583000,"timestamp_seconds":1793830583,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8a27ad8"} 
[2026-11-05 03: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-05 03:51: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-05 03: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-11-05 03:51:43] 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-05 03: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-05 03: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-05 03:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220628992001,"66":27050,"170":206,"28":21760,"24":0,"16":39302953667919872,"45":3724899132924426240},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-11-05 03:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220628992001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:51:43] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-11-05 03:51:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39302953667919872,"km_value":39302953667919.875,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724899132924426240,"description":"Unknown IO ID 45"} 
[2026-11-05 03:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220628992001,"power":27050,"unknown_170":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3724899132924426240}} 
[2026-11-05 03:51:43] 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":61405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:51:43] local.INFO: GPS data processed {"connection_id":229377,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:51:43] local.INFO: Acknowledgment sent {"connection_id":229377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:52:04] local.INFO: TCP Data received {"connection_id":229866,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:52:04] local.INFO: Processing buffer {"connection_id":229866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:52:04] local.INFO: IMEI packet received {"connection_id":229866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":229866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:52:10] local.INFO: TCP Data received {"connection_id":229866,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:52:10] local.INFO: Processing buffer {"connection_id":229866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:52:10] local.INFO: IMEI packet received {"connection_id":229866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":229866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:52:11] local.INFO: TCP Data received {"connection_id":229866,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8a712a0012d33afc006aa1cb8000b00df24..."} 
[2026-11-05 03:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8a712a0012d33afc006aa1cb8000b00df24..."} 
[2026-11-05 03:52:11] local.INFO: Processing buffer {"connection_id":229866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8a712a0012d33afc006aa1cb8000b00df24..."} 
[2026-11-05 03:52:11] local.INFO: Packet analysis {"connection_id":229866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8a7"} 
[2026-11-05 03:52:11] local.INFO: Extracted packet for processing {"connection_id":229866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8a7"} 
[2026-11-05 03:52:11] local.INFO: GPS Element Parsed {"raw_longitude":758362048,"raw_latitude":111811768,"longitude_deg":75.8362048,"latitude_deg":11.1811768,"altitude":11,"angle":223,"satellites":36,"speed":0,"hex_longitude":"2d33afc0","hex_latitude":"06aa1cb8","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220629248001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39302953667919872,"note":"Value kept but may cause issues"} 
[2026-11-05 03:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724828764180209664,"note":"Value kept but may cause issues"} 
[2026-11-05 03:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793830884000,"timestamp_ms":1793830884000,"timestamp_seconds":1793830884,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8a712a0"} 
[2026-11-05 03: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-05 03:52: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-05 03: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-11-05 03:52:11] 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-05 03: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-05 03: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-05 03:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:52: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-05 03:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220629248001,"66":25702,"170":206,"28":21760,"24":0,"16":39302953667919872,"45":3724828764180209664},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-11-05 03:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220629248001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:52:11] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-11-05 03:52:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39302953667919872,"km_value":39302953667919.875,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724828764180209664,"description":"Unknown IO ID 45"} 
[2026-11-05 03:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220629248001,"power":25702,"unknown_170":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3724828764180209664}} 
[2026-11-05 03:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":229866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:52:11] local.INFO: GPS data processed {"connection_id":229866,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:52:11] local.INFO: Acknowledgment sent {"connection_id":229866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:52:37] local.INFO: TCP Data received {"connection_id":229865,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229865,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:52:37] local.INFO: Processing buffer {"connection_id":229865,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:52:37] local.INFO: IMEI packet received {"connection_id":229865,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 03:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":229865,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:52:43] local.INFO: TCP Data received {"connection_id":229866,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8a712a0012d33afc006aa1cb8000b00df24..."} 
[2026-11-05 03:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8a712a0012d33afc006aa1cb8000b00df24..."} 
[2026-11-05 03:52:43] local.INFO: Processing buffer {"connection_id":229866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8a712a0012d33afc006aa1cb8000b00df24..."} 
[2026-11-05 03:52:43] local.INFO: Packet analysis {"connection_id":229866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8a7"} 
[2026-11-05 03:52:43] local.INFO: Extracted packet for processing {"connection_id":229866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8a7"} 
[2026-11-05 03:52:43] local.INFO: GPS Element Parsed {"raw_longitude":758362048,"raw_latitude":111811768,"longitude_deg":75.8362048,"latitude_deg":11.1811768,"altitude":11,"angle":223,"satellites":36,"speed":0,"hex_longitude":"2d33afc0","hex_latitude":"06aa1cb8","is_valid_coordinates":true} 
[2026-11-05 03:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 03:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220629248001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39302953667919872,"note":"Value kept but may cause issues"} 
[2026-11-05 03:52:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724828764180209664,"note":"Value kept but may cause issues"} 
[2026-11-05 03:52:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793830884000,"timestamp_ms":1793830884000,"timestamp_seconds":1793830884,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8a712a0"} 
[2026-11-05 03:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 03:52: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-05 03:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-11-05 03:52:43] 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-05 03:52:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 03:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 03:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:52: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-05 03:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220629248001,"66":25702,"170":206,"28":21760,"24":0,"16":39302953667919872,"45":3724828764180209664},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-11-05 03:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220629248001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:52:43] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-11-05 03:52:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39302953667919872,"km_value":39302953667919.875,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:52:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724828764180209664,"description":"Unknown IO ID 45"} 
[2026-11-05 03:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220629248001,"power":25702,"unknown_170":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3724828764180209664}} 
[2026-11-05 03:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":229866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:52:43] local.INFO: GPS data processed {"connection_id":229866,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:52:43] local.INFO: Acknowledgment sent {"connection_id":229866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:53:05] local.INFO: TCP Data received {"connection_id":233056,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:53:05] local.INFO: Processing buffer {"connection_id":233056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:53:05] local.INFO: IMEI packet received {"connection_id":233056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":233056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:53:07] local.INFO: TCP Data received {"connection_id":231155,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231155,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:53:07] local.INFO: Processing buffer {"connection_id":231155,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:53:07] local.INFO: IMEI packet received {"connection_id":231155,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 03:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":231155,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:53:10] local.INFO: TCP Data received {"connection_id":233056,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:53:10] local.INFO: Processing buffer {"connection_id":233056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:53:10] local.INFO: IMEI packet received {"connection_id":233056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":233056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:53:12] local.INFO: TCP Data received {"connection_id":233056,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8a712a0012d33afc006aa1cb8000b00df24..."} 
[2026-11-05 03:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8a712a0012d33afc006aa1cb8000b00df24..."} 
[2026-11-05 03:53:12] local.INFO: Processing buffer {"connection_id":233056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8a712a0012d33afc006aa1cb8000b00df24..."} 
[2026-11-05 03:53:12] local.INFO: Packet analysis {"connection_id":233056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8a7"} 
[2026-11-05 03:53:12] local.INFO: Extracted packet for processing {"connection_id":233056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8a7"} 
[2026-11-05 03:53:12] local.INFO: GPS Element Parsed {"raw_longitude":758362048,"raw_latitude":111811768,"longitude_deg":75.8362048,"latitude_deg":11.1811768,"altitude":11,"angle":223,"satellites":36,"speed":0,"hex_longitude":"2d33afc0","hex_latitude":"06aa1cb8","is_valid_coordinates":true} 
[2026-11-05 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-05 03:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220629248001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39302953667919872,"note":"Value kept but may cause issues"} 
[2026-11-05 03:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724828764180209664,"note":"Value kept but may cause issues"} 
[2026-11-05 03:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793830884000,"timestamp_ms":1793830884000,"timestamp_seconds":1793830884,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8a712a0"} 
[2026-11-05 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-05 03: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-05 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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-11-05 03:53:12] 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-05 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-05 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-05 03:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":233056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":233056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":233056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220629248001,"66":25702,"170":206,"28":21760,"24":0,"16":39302953667919872,"45":3724828764180209664},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-11-05 03:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220629248001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:53:12] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-11-05 03:53:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39302953667919872,"km_value":39302953667919.875,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724828764180209664,"description":"Unknown IO ID 45"} 
[2026-11-05 03:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220629248001,"power":25702,"unknown_170":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3724828764180209664}} 
[2026-11-05 03:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":233056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:53:12] local.INFO: GPS data processed {"connection_id":233056,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:53:12] local.INFO: Acknowledgment sent {"connection_id":233056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:53:43] local.INFO: TCP Data received {"connection_id":233056,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8a712a0012d33afc006aa1cb8000b00df24..."} 
[2026-11-05 03:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8a712a0012d33afc006aa1cb8000b00df24..."} 
[2026-11-05 03:53:43] local.INFO: Processing buffer {"connection_id":233056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8a712a0012d33afc006aa1cb8000b00df24..."} 
[2026-11-05 03:53:43] local.INFO: Packet analysis {"connection_id":233056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8a7"} 
[2026-11-05 03:53:43] local.INFO: Extracted packet for processing {"connection_id":233056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8a7"} 
[2026-11-05 03:53:43] local.INFO: GPS Element Parsed {"raw_longitude":758362048,"raw_latitude":111811768,"longitude_deg":75.8362048,"latitude_deg":11.1811768,"altitude":11,"angle":223,"satellites":36,"speed":0,"hex_longitude":"2d33afc0","hex_latitude":"06aa1cb8","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220629248001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39302953667919872,"note":"Value kept but may cause issues"} 
[2026-11-05 03:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724828764180209664,"note":"Value kept but may cause issues"} 
[2026-11-05 03:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793830884000,"timestamp_ms":1793830884000,"timestamp_seconds":1793830884,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8a712a0"} 
[2026-11-05 03: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-05 03:53: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-05 03: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-11-05 03:53:43] 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-05 03: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-05 03: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-05 03:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":233056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":233056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":233056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220629248001,"66":25702,"170":206,"28":21760,"24":0,"16":39302953667919872,"45":3724828764180209664},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-11-05 03:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220629248001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:53:43] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-11-05 03:53:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39302953667919872,"km_value":39302953667919.875,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724828764180209664,"description":"Unknown IO ID 45"} 
[2026-11-05 03:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220629248001,"power":25702,"unknown_170":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3724828764180209664}} 
[2026-11-05 03:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":233056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:53:43] local.INFO: GPS data processed {"connection_id":233056,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:53:43] local.INFO: Acknowledgment sent {"connection_id":233056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:54:04] local.INFO: TCP Data received {"connection_id":233057,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:54:04] local.INFO: Processing buffer {"connection_id":233057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:54:04] local.INFO: IMEI packet received {"connection_id":233057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":233057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:54:10] local.INFO: TCP Data received {"connection_id":233057,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:54:10] local.INFO: Processing buffer {"connection_id":233057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:54:10] local.INFO: IMEI packet received {"connection_id":233057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":233057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:54:11] local.INFO: TCP Data received {"connection_id":233057,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8a8acc8012d33afc006aa1cb8000b00df1f..."} 
[2026-11-05 03:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8a8acc8012d33afc006aa1cb8000b00df1f..."} 
[2026-11-05 03:54:11] local.INFO: Processing buffer {"connection_id":233057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8a8acc8012d33afc006aa1cb8000b00df1f..."} 
[2026-11-05 03:54:11] local.INFO: Packet analysis {"connection_id":233057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8a8"} 
[2026-11-05 03:54:11] local.INFO: Extracted packet for processing {"connection_id":233057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8a8"} 
[2026-11-05 03:54:11] local.INFO: GPS Element Parsed {"raw_longitude":758362048,"raw_latitude":111811768,"longitude_deg":75.8362048,"latitude_deg":11.1811768,"altitude":11,"angle":223,"satellites":31,"speed":0,"hex_longitude":"2d33afc0","hex_latitude":"06aa1cb8","is_valid_coordinates":true} 
[2026-11-05 03:54: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-05 03:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220706304001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39302953667919872,"note":"Value kept but may cause issues"} 
[2026-11-05 03:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724406551715035136,"note":"Value kept but may cause issues"} 
[2026-11-05 03:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793830989000,"timestamp_ms":1793830989000,"timestamp_seconds":1793830989,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8a8acc8"} 
[2026-11-05 03: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-05 03:54: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-05 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-05 03:54:11] 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-05 03: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-05 03: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-05 03:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220706304001,"66":25397,"170":206,"28":21760,"24":0,"16":39302953667919872,"45":3724406551715035136},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-11-05 03:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220706304001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:54:11] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-11-05 03:54:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39302953667919872,"km_value":39302953667919.875,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724406551715035136,"description":"Unknown IO ID 45"} 
[2026-11-05 03:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220706304001,"power":25397,"unknown_170":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3724406551715035136}} 
[2026-11-05 03:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":233057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:54:11] local.INFO: GPS data processed {"connection_id":233057,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:54:11] local.INFO: Acknowledgment sent {"connection_id":233057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:54:43] local.INFO: TCP Data received {"connection_id":233057,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8a8bc68012d33ab8006aa1b58000b00c420..."} 
[2026-11-05 03:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8a8bc68012d33ab8006aa1b58000b00c420..."} 
[2026-11-05 03:54:43] local.INFO: Processing buffer {"connection_id":233057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8a8bc68012d33ab8006aa1b58000b00c420..."} 
[2026-11-05 03:54:43] local.INFO: Packet analysis {"connection_id":233057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8a8"} 
[2026-11-05 03:54:43] local.INFO: Extracted packet for processing {"connection_id":233057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8a8"} 
[2026-11-05 03:54:43] local.INFO: GPS Element Parsed {"raw_longitude":758360960,"raw_latitude":111811416,"longitude_deg":75.836096,"latitude_deg":11.1811416,"altitude":11,"angle":196,"satellites":32,"speed":0,"hex_longitude":"2d33ab80","hex_latitude":"06aa1b58","is_valid_coordinates":true} 
[2026-11-05 03: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-05 03:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220733184001,"note":"Value kept but may cause issues"} 
[2026-11-05 03:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39302953667919872,"note":"Value kept but may cause issues"} 
[2026-11-05 03:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724406551715035136,"note":"Value kept but may cause issues"} 
[2026-11-05 03:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 03:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793830993000,"timestamp_ms":1793830993000,"timestamp_seconds":1793830993,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8a8bc68"} 
[2026-11-05 03: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-05 03:54: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-05 03: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-05 03: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-05 03: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-05 03: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-05 03:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 03:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":233057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 03:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":233057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":233057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 03: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-05 03:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 03:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 03:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220733184001,"66":25191,"170":206,"28":21760,"24":0,"16":39302953667919872,"45":3724406551715035136},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-11-05 03:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 03:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 03:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220733184001,"description":"Unknown IO ID 0"} 
[2026-11-05 03:54:43] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-11-05 03:54:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 03:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39302953667919872,"km_value":39302953667919.875,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 03:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724406551715035136,"description":"Unknown IO ID 45"} 
[2026-11-05 03:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220733184001,"power":25191,"unknown_170":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3724406551715035136}} 
[2026-11-05 03:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":233057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 03:54:43] local.INFO: GPS data processed {"connection_id":233057,"processed":1,"errors":0,"total":1} 
[2026-11-05 03:54:43] local.INFO: Acknowledgment sent {"connection_id":233057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 03:55:06] local.INFO: TCP Data received {"connection_id":229867,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:55:06] local.INFO: Processing buffer {"connection_id":229867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:55:06] local.INFO: IMEI packet received {"connection_id":229867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 03:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":229867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:55:08] local.INFO: TCP Data received {"connection_id":229867,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:55:08] local.INFO: Processing buffer {"connection_id":229867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:55:08] local.INFO: IMEI packet received {"connection_id":229867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":229867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:55:09] local.INFO: TCP Data received {"connection_id":229867,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:55:09] local.INFO: Processing buffer {"connection_id":229867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:55:09] local.INFO: IMEI packet received {"connection_id":229867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":229867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:55:10] local.INFO: TCP Data received {"connection_id":229867,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:55:10] local.INFO: Processing buffer {"connection_id":229867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 03:55:10] local.INFO: IMEI packet received {"connection_id":229867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 03:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":229867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 03:58:37] local.INFO: TCP Data received {"connection_id":233060,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233060,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:58:37] local.INFO: Processing buffer {"connection_id":233060,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:58:37] local.INFO: IMEI packet received {"connection_id":233060,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 03:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":233060,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 03:59:07] local.INFO: TCP Data received {"connection_id":229380,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229380,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:59:07] local.INFO: Processing buffer {"connection_id":229380,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 03:59:07] local.INFO: IMEI packet received {"connection_id":229380,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 03:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":229380,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:00:15] local.INFO: TCP Data received {"connection_id":231156,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:00:15] local.INFO: Processing buffer {"connection_id":231156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:00:15] local.INFO: IMEI packet received {"connection_id":231156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":231156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:00:16] local.INFO: TCP Data received {"connection_id":231156,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8ad8ae0012d37288006a99388000d006429..."} 
[2026-11-05 04:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8ad8ae0012d37288006a99388000d006429..."} 
[2026-11-05 04:00:16] local.INFO: Processing buffer {"connection_id":231156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8ad8ae0012d37288006a99388000d006429..."} 
[2026-11-05 04:00:16] local.INFO: Packet analysis {"connection_id":231156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8ad"} 
[2026-11-05 04:00:16] local.INFO: Extracted packet for processing {"connection_id":231156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8ad"} 
[2026-11-05 04:00:16] local.INFO: GPS Element Parsed {"raw_longitude":758589568,"raw_latitude":111776648,"longitude_deg":75.8589568,"latitude_deg":11.1776648,"altitude":13,"angle":100,"satellites":41,"speed":50,"hex_longitude":"2d372880","hex_latitude":"06a99388","is_valid_coordinates":true} 
[2026-11-05 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-05 04:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220813056001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39315190029746176,"note":"Value kept but may cause issues"} 
[2026-11-05 04:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3964715813073195008,"note":"Value kept but may cause issues"} 
[2026-11-05 04:00:16] 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-05 04:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793831308000,"timestamp_ms":1793831308000,"timestamp_seconds":1793831308,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8ad8ae0"} 
[2026-11-05 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-05 04:00: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-05 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 04:00: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-05 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-05 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-05 04:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":231156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":231156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":231156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:00: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-05 04:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220813056001,"66":27332,"91":206,"28":21760,"24":50,"16":39315190029746176,"45":3964715813073195008},"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-05 04:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220813056001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:00:16] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-11-05 04:00:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 04:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39315190029746176,"km_value":39315190029746.18,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3964715813073195008,"description":"Unknown IO ID 45"} 
[2026-11-05 04:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220813056001,"power":27332,"unknown_91":206,"unknown_28":21760,"ignition":50,"odometer":null,"unknown_45":3964715813073195008}} 
[2026-11-05 04:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":231156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:00:16] local.INFO: GPS data processed {"connection_id":231156,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:00:16] local.INFO: Acknowledgment sent {"connection_id":231156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:00:48] local.INFO: TCP Data received {"connection_id":231156,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8aecf18012d38988006a982c8000e006729..."} 
[2026-11-05 04:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8aecf18012d38988006a982c8000e006729..."} 
[2026-11-05 04:00:48] local.INFO: Processing buffer {"connection_id":231156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8aecf18012d38988006a982c8000e006729..."} 
[2026-11-05 04:00:48] local.INFO: Packet analysis {"connection_id":231156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8ae"} 
[2026-11-05 04:00:48] local.INFO: Extracted packet for processing {"connection_id":231156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8ae"} 
[2026-11-05 04:00:48] local.INFO: GPS Element Parsed {"raw_longitude":758683776,"raw_latitude":111772360,"longitude_deg":75.8683776,"latitude_deg":11.177236,"altitude":14,"angle":103,"satellites":41,"speed":41,"hex_longitude":"2d389880","hex_latitude":"06a982c8","is_valid_coordinates":true} 
[2026-11-05 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-05 04:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220833792001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39319716925276160,"note":"Value kept but may cause issues"} 
[2026-11-05 04:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4068017129525061632,"note":"Value kept but may cause issues"} 
[2026-11-05 04:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793831391000,"timestamp_ms":1793831391000,"timestamp_seconds":1793831391,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8aecf18"} 
[2026-11-05 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-05 04:00: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-05 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 04:00:48] 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-05 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-05 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-05 04:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":231156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":231156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":231156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:00: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-05 04:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220833792001,"66":27300,"90":206,"28":21760,"24":41,"16":39319716925276160,"45":4068017129525061632},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-11-05 04:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220833792001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:00:48] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-11-05 04:00:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 04:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39319716925276160,"km_value":39319716925276.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4068017129525061632,"description":"Unknown IO ID 45"} 
[2026-11-05 04:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220833792001,"power":27300,"unknown_90":206,"unknown_28":21760,"ignition":41,"odometer":null,"unknown_45":4068017129525061632}} 
[2026-11-05 04:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":231156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:00:48] local.INFO: GPS data processed {"connection_id":231156,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:00:48] local.INFO: Acknowledgment sent {"connection_id":231156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:01:04] local.INFO: TCP Data received {"connection_id":229381,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:01:04] local.INFO: Processing buffer {"connection_id":229381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:01:04] local.INFO: IMEI packet received {"connection_id":229381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":229381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:01:05] local.INFO: TCP Data received {"connection_id":229381,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:01:05] local.INFO: Processing buffer {"connection_id":229381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:01:05] local.INFO: IMEI packet received {"connection_id":229381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":229381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:01:10] local.INFO: TCP Data received {"connection_id":229381,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:01:10] local.INFO: Processing buffer {"connection_id":229381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:01:10] local.INFO: IMEI packet received {"connection_id":229381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":229381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:01:11] local.INFO: TCP Data received {"connection_id":229381,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8aef240012d38bd8006a979c0000e006922..."} 
[2026-11-05 04:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8aef240012d38bd8006a979c0000e006922..."} 
[2026-11-05 04:01:11] local.INFO: Processing buffer {"connection_id":229381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8aef240012d38bd8006a979c0000e006922..."} 
[2026-11-05 04:01:11] local.INFO: Packet analysis {"connection_id":229381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8ae"} 
[2026-11-05 04:01:11] local.INFO: Extracted packet for processing {"connection_id":229381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8ae"} 
[2026-11-05 04:01:11] local.INFO: GPS Element Parsed {"raw_longitude":758693248,"raw_latitude":111770048,"longitude_deg":75.8693248,"latitude_deg":11.1770048,"altitude":14,"angle":105,"satellites":34,"speed":43,"hex_longitude":"2d38bd80","hex_latitude":"06a979c0","is_valid_coordinates":true} 
[2026-11-05 04:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 04:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220836096001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39320180781744128,"note":"Value kept but may cause issues"} 
[2026-11-05 04:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4078150228686063616,"note":"Value kept but may cause issues"} 
[2026-11-05 04:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793831400000,"timestamp_ms":1793831400000,"timestamp_seconds":1793831400,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8aef240"} 
[2026-11-05 04:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 04:01: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-05 04:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 04:01: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-05 04:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 04:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 04:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04: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-05 04:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220836096001,"66":27517,"90":206,"28":21760,"24":43,"16":39320180781744128,"45":4078150228686063616},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-11-05 04:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220836096001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:01:11] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-11-05 04:01:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 04:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39320180781744128,"km_value":39320180781744.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4078150228686063616,"description":"Unknown IO ID 45"} 
[2026-11-05 04:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220836096001,"power":27517,"unknown_90":206,"unknown_28":21760,"ignition":43,"odometer":null,"unknown_45":4078150228686063616}} 
[2026-11-05 04:01:11] 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":61414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:01:11] local.INFO: GPS data processed {"connection_id":229381,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:01:11] local.INFO: Acknowledgment sent {"connection_id":229381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:01:43] local.INFO: TCP Data received {"connection_id":229381,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8af1568012d38e38006a97018000e006728..."} 
[2026-11-05 04:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8af1568012d38e38006a97018000e006728..."} 
[2026-11-05 04:01:43] local.INFO: Processing buffer {"connection_id":229381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8af1568012d38e38006a97018000e006728..."} 
[2026-11-05 04:01:43] local.INFO: Packet analysis {"connection_id":229381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8af"} 
[2026-11-05 04:01:43] local.INFO: Extracted packet for processing {"connection_id":229381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8af"} 
[2026-11-05 04:01:43] local.INFO: GPS Element Parsed {"raw_longitude":758702976,"raw_latitude":111767576,"longitude_deg":75.8702976,"latitude_deg":11.1767576,"altitude":14,"angle":103,"satellites":40,"speed":43,"hex_longitude":"2d38e380","hex_latitude":"06a97018","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220838400001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39320661818081280,"note":"Value kept but may cause issues"} 
[2026-11-05 04:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4088564802823766016,"note":"Value kept but may cause issues"} 
[2026-11-05 04:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793831409000,"timestamp_ms":1793831409000,"timestamp_seconds":1793831409,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8af1568"} 
[2026-11-05 04: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-05 04:01: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-05 04: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-05 04:01:43] 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-05 04: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-05 04: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-05 04:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04: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-05 04:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220838400001,"66":27343,"90":206,"28":21760,"24":43,"16":39320661818081280,"45":4088564802823766016},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-11-05 04:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220838400001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:01:43] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-11-05 04:01:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 04:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39320661818081280,"km_value":39320661818081.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4088564802823766016,"description":"Unknown IO ID 45"} 
[2026-11-05 04:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220838400001,"power":27343,"unknown_90":206,"unknown_28":21760,"ignition":43,"odometer":null,"unknown_45":4088564802823766016}} 
[2026-11-05 04:01:43] 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":61415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:01:43] local.INFO: GPS data processed {"connection_id":229381,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:01:43] local.INFO: Acknowledgment sent {"connection_id":229381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:02:10] local.INFO: TCP Data received {"connection_id":229871,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:02:10] local.INFO: Processing buffer {"connection_id":229871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:02:10] local.INFO: IMEI packet received {"connection_id":229871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":229871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:02:12] local.INFO: TCP Data received {"connection_id":229871,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:02:12] local.INFO: Processing buffer {"connection_id":229871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:02:12] local.INFO: IMEI packet received {"connection_id":229871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":229871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:02:13] local.INFO: TCP Data received {"connection_id":229871,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8af3890012d39094006a968d0000f006328..."} 
[2026-11-05 04:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8af3890012d39094006a968d0000f006328..."} 
[2026-11-05 04:02:13] local.INFO: Processing buffer {"connection_id":229871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8af3890012d39094006a968d0000f006328..."} 
[2026-11-05 04:02:13] local.INFO: Packet analysis {"connection_id":229871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8af"} 
[2026-11-05 04:02:13] local.INFO: Extracted packet for processing {"connection_id":229871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8af"} 
[2026-11-05 04:02:13] local.INFO: GPS Element Parsed {"raw_longitude":758712640,"raw_latitude":111765712,"longitude_deg":75.871264,"latitude_deg":11.1765712,"altitude":15,"angle":99,"satellites":40,"speed":42,"hex_longitude":"2d390940","hex_latitude":"06a968d0","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220840704001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39321129969516544,"note":"Value kept but may cause issues"} 
[2026-11-05 04:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4099260851938138112,"note":"Value kept but may cause issues"} 
[2026-11-05 04:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793831418000,"timestamp_ms":1793831418000,"timestamp_seconds":1793831418,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8af3890"} 
[2026-11-05 04: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-05 04:02: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-05 04: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 04:02: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-05 04: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-05 04: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-05 04:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04: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-05 04:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220840704001,"66":27343,"90":206,"28":21760,"24":42,"16":39321129969516544,"45":4099260851938138112},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-11-05 04:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220840704001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:02:13] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-11-05 04:02:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 04:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39321129969516544,"km_value":39321129969516.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4099260851938138112,"description":"Unknown IO ID 45"} 
[2026-11-05 04:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220840704001,"power":27343,"unknown_90":206,"unknown_28":21760,"ignition":42,"odometer":null,"unknown_45":4099260851938138112}} 
[2026-11-05 04:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":229871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:02:13] local.INFO: GPS data processed {"connection_id":229871,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:02:13] local.INFO: Acknowledgment sent {"connection_id":229871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:02:15] local.INFO: TCP Data received {"connection_id":229871,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8af5bb8012d392d8006a961a8000d006828..."} 
[2026-11-05 04:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8af5bb8012d392d8006a961a8000d006828..."} 
[2026-11-05 04:02:15] local.INFO: Processing buffer {"connection_id":229871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8af5bb8012d392d8006a961a8000d006828..."} 
[2026-11-05 04:02:15] local.INFO: Packet analysis {"connection_id":229871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8af"} 
[2026-11-05 04:02:15] local.INFO: Extracted packet for processing {"connection_id":229871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8af"} 
[2026-11-05 04:02:15] local.INFO: GPS Element Parsed {"raw_longitude":758721920,"raw_latitude":111763880,"longitude_deg":75.872192,"latitude_deg":11.176388,"altitude":13,"angle":104,"satellites":40,"speed":39,"hex_longitude":"2d392d80","hex_latitude":"06a961a8","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220843008001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39321580941082624,"note":"Value kept but may cause issues"} 
[2026-11-05 04:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4109886532308488192,"note":"Value kept but may cause issues"} 
[2026-11-05 04:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793831427000,"timestamp_ms":1793831427000,"timestamp_seconds":1793831427,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8af5bb8"} 
[2026-11-05 04: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-05 04: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-05 04: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 04:02:15] 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-05 04: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-05 04: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-05 04:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04: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-05 04:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220843008001,"66":27343,"90":206,"28":21760,"24":39,"16":39321580941082624,"45":4109886532308488192},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-11-05 04:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220843008001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:02:15] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-11-05 04:02:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 04:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39321580941082624,"km_value":39321580941082.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4109886532308488192,"description":"Unknown IO ID 45"} 
[2026-11-05 04:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220843008001,"power":27343,"unknown_90":206,"unknown_28":21760,"ignition":39,"odometer":null,"unknown_45":4109886532308488192}} 
[2026-11-05 04:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":229871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:02:15] local.INFO: GPS data processed {"connection_id":229871,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:02:15] local.INFO: Acknowledgment sent {"connection_id":229871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:02:47] local.INFO: TCP Data received {"connection_id":229871,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8af8a98012d39518006a95680000c006928..."} 
[2026-11-05 04:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8af8a98012d39518006a95680000c006928..."} 
[2026-11-05 04:02:47] local.INFO: Processing buffer {"connection_id":229871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8af8a98012d39518006a95680000c006928..."} 
[2026-11-05 04:02:47] local.INFO: Packet analysis {"connection_id":229871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8af"} 
[2026-11-05 04:02:47] local.INFO: Extracted packet for processing {"connection_id":229871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8af"} 
[2026-11-05 04:02:47] local.INFO: GPS Element Parsed {"raw_longitude":758731136,"raw_latitude":111761024,"longitude_deg":75.8731136,"latitude_deg":11.1761024,"altitude":12,"angle":105,"satellites":40,"speed":11,"hex_longitude":"2d395180","hex_latitude":"06a95680","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220845312001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39322040502583296,"note":"Value kept but may cause issues"} 
[2026-11-05 04:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4120090000213780480,"note":"Value kept but may cause issues"} 
[2026-11-05 04:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793831439000,"timestamp_ms":1793831439000,"timestamp_seconds":1793831439,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8af8a98"} 
[2026-11-05 04: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-05 04:02: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-05 04: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 04:02:47] 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-05 04: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-05 04: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-05 04:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:02: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-05 04:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220845312001,"66":27397,"90":206,"28":21760,"24":11,"16":39322040502583296,"45":4120090000213780480},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-11-05 04:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220845312001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:02:47] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-11-05 04:02:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 04:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39322040502583296,"km_value":39322040502583.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4120090000213780480,"description":"Unknown IO ID 45"} 
[2026-11-05 04:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220845312001,"power":27397,"unknown_90":206,"unknown_28":21760,"ignition":11,"odometer":null,"unknown_45":4120090000213780480}} 
[2026-11-05 04:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":229871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:02:47] local.INFO: GPS data processed {"connection_id":229871,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:02:47] local.INFO: Acknowledgment sent {"connection_id":229871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:03:02] local.INFO: TCP Data received {"connection_id":229382,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:03:02] local.INFO: Processing buffer {"connection_id":229382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:03:02] local.INFO: IMEI packet received {"connection_id":229382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":229382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:03:16] local.INFO: TCP Data received {"connection_id":229382,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:03:16] local.INFO: Processing buffer {"connection_id":229382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:03:16] local.INFO: IMEI packet received {"connection_id":229382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":229382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:03:18] local.INFO: TCP Data received {"connection_id":229382,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:03:18] local.INFO: Processing buffer {"connection_id":229382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:03:18] local.INFO: IMEI packet received {"connection_id":229382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":229382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:03:19] local.INFO: TCP Data received {"connection_id":229382,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8b0d2b8012d39a70006a85c20000900a525..."} 
[2026-11-05 04:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8b0d2b8012d39a70006a85c20000900a525..."} 
[2026-11-05 04:03:19] local.INFO: Processing buffer {"connection_id":229382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8b0d2b8012d39a70006a85c20000900a525..."} 
[2026-11-05 04:03:19] local.INFO: Packet analysis {"connection_id":229382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8b0"} 
[2026-11-05 04:03:19] local.INFO: Extracted packet for processing {"connection_id":229382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8b0"} 
[2026-11-05 04:03:19] local.INFO: GPS Element Parsed {"raw_longitude":758753024,"raw_latitude":111696928,"longitude_deg":75.8753024,"latitude_deg":11.1696928,"altitude":9,"angle":165,"satellites":37,"speed":35,"hex_longitude":"2d39a700","hex_latitude":"06a85c20","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220867328001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39325455001583616,"note":"Value kept but may cause issues"} 
[2026-11-05 04:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4151474460102178816,"note":"Value kept but may cause issues"} 
[2026-11-05 04:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793831523000,"timestamp_ms":1793831523000,"timestamp_seconds":1793831523,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8b0d2b8"} 
[2026-11-05 04: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-05 04:03: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-05 04: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 04:03:19] 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-05 04: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-05 04: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-05 04:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:03: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-05 04:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220867328001,"66":27300,"250":206,"28":21760,"24":35,"16":39325455001583616,"45":4151474460102178816},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-11-05 04:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220867328001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:03:19] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 04:03:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 04:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39325455001583616,"km_value":39325455001583.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":4151474460102178816,"description":"Unknown IO ID 45"} 
[2026-11-05 04:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220867328001,"power":27300,"unknown_250":206,"unknown_28":21760,"ignition":35,"odometer":null,"unknown_45":4151474460102178816}} 
[2026-11-05 04:03:19] 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":61419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:03:19] local.INFO: GPS data processed {"connection_id":229382,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:03:19] local.INFO: Acknowledgment sent {"connection_id":229382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:03:20] local.INFO: TCP Data received {"connection_id":229382,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8b0fdb0012d39b00006a83a38000c00a427..."} 
[2026-11-05 04:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8b0fdb0012d39b00006a83a38000c00a427..."} 
[2026-11-05 04:03:20] local.INFO: Processing buffer {"connection_id":229382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8b0fdb0012d39b00006a83a38000c00a427..."} 
[2026-11-05 04:03:20] local.INFO: Packet analysis {"connection_id":229382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8b0"} 
[2026-11-05 04:03:20] local.INFO: Extracted packet for processing {"connection_id":229382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8b0"} 
[2026-11-05 04:03:20] local.INFO: GPS Element Parsed {"raw_longitude":758755328,"raw_latitude":111688248,"longitude_deg":75.8755328,"latitude_deg":11.1688248,"altitude":12,"angle":164,"satellites":39,"speed":26,"hex_longitude":"2d39b000","hex_latitude":"06a83a38","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220869888001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39325893088247808,"note":"Value kept but may cause issues"} 
[2026-11-05 04:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4154289209866985472,"note":"Value kept but may cause issues"} 
[2026-11-05 04:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793831534000,"timestamp_ms":1793831534000,"timestamp_seconds":1793831534,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8b0fdb0"} 
[2026-11-05 04: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-05 04:03: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-05 04: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 04:03:20] 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-05 04: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-05 04: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-05 04:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:03: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-05 04:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220869888001,"66":27234,"250":206,"28":21760,"24":26,"16":39325893088247808,"45":4154289209866985472},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-11-05 04:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220869888001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:03:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 04:03:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 04:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39325893088247808,"km_value":39325893088247.805,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4154289209866985472,"description":"Unknown IO ID 45"} 
[2026-11-05 04:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220869888001,"power":27234,"unknown_250":206,"unknown_28":21760,"ignition":26,"odometer":null,"unknown_45":4154289209866985472}} 
[2026-11-05 04:03:20] 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":61420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:03:20] local.INFO: GPS data processed {"connection_id":229382,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:03:20] local.INFO: Acknowledgment sent {"connection_id":229382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:04:02] local.INFO: TCP Data received {"connection_id":231159,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:04:02] local.INFO: Processing buffer {"connection_id":231159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:04:02] local.INFO: IMEI packet received {"connection_id":231159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":231159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:04:04] local.INFO: TCP Data received {"connection_id":231159,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:04:04] local.INFO: Processing buffer {"connection_id":231159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:04:04] local.INFO: IMEI packet received {"connection_id":231159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":231159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:04:08] local.INFO: TCP Data received {"connection_id":231159,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:04:08] local.INFO: Processing buffer {"connection_id":231159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:04:08] local.INFO: IMEI packet received {"connection_id":231159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":231159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:04:10] local.INFO: TCP Data received {"connection_id":231159,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8b124c0012d39b2c006a82d50000d00b128..."} 
[2026-11-05 04:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8b124c0012d39b2c006a82d50000d00b128..."} 
[2026-11-05 04:04:10] local.INFO: Processing buffer {"connection_id":231159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8b124c0012d39b2c006a82d50000d00b128..."} 
[2026-11-05 04:04:10] local.INFO: Packet analysis {"connection_id":231159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8b1"} 
[2026-11-05 04:04:10] local.INFO: Extracted packet for processing {"connection_id":231159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8b1"} 
[2026-11-05 04:04:10] local.INFO: GPS Element Parsed {"raw_longitude":758756032,"raw_latitude":111684944,"longitude_deg":75.8756032,"latitude_deg":11.1684944,"altitude":13,"angle":177,"satellites":40,"speed":16,"hex_longitude":"2d39b2c0","hex_latitude":"06a82d50","is_valid_coordinates":true} 
[2026-11-05 04:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 04:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220872704001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39326056297005056,"note":"Value kept but may cause issues"} 
[2026-11-05 04:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4156822484655159296,"note":"Value kept but may cause issues"} 
[2026-11-05 04:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793831544000,"timestamp_ms":1793831544000,"timestamp_seconds":1793831544,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8b124c0"} 
[2026-11-05 04:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 04:04: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-05 04:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 04:04:10] 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-05 04:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 04:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 04:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:04: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-05 04:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220872704001,"66":27365,"250":206,"28":21760,"24":16,"16":39326056297005056,"45":4156822484655159296},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-11-05 04:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220872704001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:04:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 04:04:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 04:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39326056297005056,"km_value":39326056297005.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4156822484655159296,"description":"Unknown IO ID 45"} 
[2026-11-05 04:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220872704001,"power":27365,"unknown_250":206,"unknown_28":21760,"ignition":16,"odometer":null,"unknown_45":4156822484655159296}} 
[2026-11-05 04:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":231159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:04:10] local.INFO: GPS data processed {"connection_id":231159,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:04:10] local.INFO: Acknowledgment sent {"connection_id":231159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:04:37] local.INFO: TCP Data received {"connection_id":229383,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:04:37] local.INFO: Processing buffer {"connection_id":229383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:04:37] local.INFO: IMEI packet received {"connection_id":229383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 04:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":229383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:04:47] local.INFO: TCP Data received {"connection_id":231159,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8b14018012d39b48006a81ee0000e00a528..."} 
[2026-11-05 04:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8b14018012d39b48006a81ee0000e00a528..."} 
[2026-11-05 04:04:47] local.INFO: Processing buffer {"connection_id":231159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8b14018012d39b48006a81ee0000e00a528..."} 
[2026-11-05 04:04:47] local.INFO: Packet analysis {"connection_id":231159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8b1"} 
[2026-11-05 04:04:47] local.INFO: Extracted packet for processing {"connection_id":231159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8b1"} 
[2026-11-05 04:04:47] local.INFO: GPS Element Parsed {"raw_longitude":758756480,"raw_latitude":111681248,"longitude_deg":75.875648,"latitude_deg":11.1681248,"altitude":14,"angle":165,"satellites":40,"speed":24,"hex_longitude":"2d39b480","hex_latitude":"06a81ee0","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220875264001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39326236685631488,"note":"Value kept but may cause issues"} 
[2026-11-05 04:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4157596540840267776,"note":"Value kept but may cause issues"} 
[2026-11-05 04:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793831551000,"timestamp_ms":1793831551000,"timestamp_seconds":1793831551,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8b14018"} 
[2026-11-05 04: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-05 04: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-05 04: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 04:04:47] 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-05 04: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-05 04: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-05 04:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":231159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":231159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":231159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:04: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-05 04:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220875264001,"66":27321,"250":206,"28":21760,"24":24,"16":39326236685631488,"45":4157596540840267776},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-11-05 04:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220875264001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:04:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 04:04:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-05 04:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39326236685631488,"km_value":39326236685631.484,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4157596540840267776,"description":"Unknown IO ID 45"} 
[2026-11-05 04:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220875264001,"power":27321,"unknown_250":206,"unknown_28":21760,"ignition":24,"odometer":null,"unknown_45":4157596540840267776}} 
[2026-11-05 04:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":231159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:04:47] local.INFO: GPS data processed {"connection_id":231159,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:04:47] local.INFO: Acknowledgment sent {"connection_id":231159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:05:04] local.INFO: TCP Data received {"connection_id":231160,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:05:04] local.INFO: Processing buffer {"connection_id":231160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:05:04] local.INFO: IMEI packet received {"connection_id":231160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":231160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:05:05] local.INFO: TCP Data received {"connection_id":231160,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:05:05] local.INFO: Processing buffer {"connection_id":231160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:05:05] local.INFO: IMEI packet received {"connection_id":231160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":231160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:05:07] local.INFO: TCP Data received {"connection_id":233064,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233064,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:05:07] local.INFO: Processing buffer {"connection_id":233064,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:05:07] local.INFO: IMEI packet received {"connection_id":233064,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 04:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":233064,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:05:10] local.INFO: TCP Data received {"connection_id":231160,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:05:10] local.INFO: Processing buffer {"connection_id":231160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:05:10] local.INFO: IMEI packet received {"connection_id":231160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":231160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:05:11] local.INFO: TCP Data received {"connection_id":231160,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8b2af48012d3a8a8006a74aa8002500652b..."} 
[2026-11-05 04:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8b2af48012d3a8a8006a74aa8002500652b..."} 
[2026-11-05 04:05:11] local.INFO: Processing buffer {"connection_id":231160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8b2af48012d3a8a8006a74aa8002500652b..."} 
[2026-11-05 04:05:11] local.INFO: Packet analysis {"connection_id":231160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8b2"} 
[2026-11-05 04:05:11] local.INFO: Extracted packet for processing {"connection_id":231160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8b2"} 
[2026-11-05 04:05:11] local.INFO: GPS Element Parsed {"raw_longitude":758811264,"raw_latitude":111626920,"longitude_deg":75.8811264,"latitude_deg":11.162692,"altitude":37,"angle":101,"satellites":43,"speed":36,"hex_longitude":"2d3a8a80","hex_latitude":"06a74aa8","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220898560001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39330398508941312,"note":"Value kept but may cause issues"} 
[2026-11-05 04:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4208121299145398272,"note":"Value kept but may cause issues"} 
[2026-11-05 04:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793831645000,"timestamp_ms":1793831645000,"timestamp_seconds":1793831645,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8b2af48"} 
[2026-11-05 04: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-05 04:05: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-05 04: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 04:05:11] 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-05 04: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-05 04: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-05 04:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04: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-05 04:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220898560001,"66":27332,"193":206,"19":48128,"24":36,"16":39330398508941312,"45":4208121299145398272},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,19,24,16,45]} 
[2026-11-05 04:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220898560001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:05:11] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-11-05 04:05:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39330398508941312,"km_value":39330398508941.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4208121299145398272,"description":"Unknown IO ID 45"} 
[2026-11-05 04:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220898560001,"power":27332,"unknown_193":206,"unknown_19":48128,"ignition":36,"odometer":null,"unknown_45":4208121299145398272}} 
[2026-11-05 04:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":231160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:05:11] local.INFO: GPS data processed {"connection_id":231160,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:05:11] local.INFO: Acknowledgment sent {"connection_id":231160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:05:53] local.INFO: TCP Data received {"connection_id":231160,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8b2da40012d3ab0c006a742f0002900652b..."} 
[2026-11-05 04:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8b2da40012d3ab0c006a742f0002900652b..."} 
[2026-11-05 04:05:53] local.INFO: Processing buffer {"connection_id":231160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8b2da40012d3ab0c006a742f0002900652b..."} 
[2026-11-05 04:05:53] local.INFO: Packet analysis {"connection_id":231160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8b2"} 
[2026-11-05 04:05:53] local.INFO: Extracted packet for processing {"connection_id":231160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8b2"} 
[2026-11-05 04:05:53] local.INFO: GPS Element Parsed {"raw_longitude":758821056,"raw_latitude":111624944,"longitude_deg":75.8821056,"latitude_deg":11.1624944,"altitude":41,"angle":101,"satellites":43,"speed":35,"hex_longitude":"2d3ab0c0","hex_latitude":"06a742f0","is_valid_coordinates":true} 
[2026-11-05 04:05: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-05 04:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220901120001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39330875250311168,"note":"Value kept but may cause issues"} 
[2026-11-05 04:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4218324767050737664,"note":"Value kept but may cause issues"} 
[2026-11-05 04:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793831656000,"timestamp_ms":1793831656000,"timestamp_seconds":1793831656,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8b2da40"} 
[2026-11-05 04:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 04:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 04:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 04:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 04:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 04:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":231160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":231160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":231160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 04:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220901120001,"66":27300,"193":206,"19":48128,"24":35,"16":39330875250311168,"45":4218324767050737664},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,19,24,16,45]} 
[2026-11-05 04:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220901120001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:05:54] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-11-05 04:05:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39330875250311168,"km_value":39330875250311.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":4218324767050737664,"description":"Unknown IO ID 45"} 
[2026-11-05 04:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220901120001,"power":27300,"unknown_193":206,"unknown_19":48128,"ignition":35,"odometer":null,"unknown_45":4218324767050737664}} 
[2026-11-05 04:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":231160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:05:54] local.INFO: GPS data processed {"connection_id":231160,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:05:54] local.INFO: Acknowledgment sent {"connection_id":231160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:06:08] local.INFO: TCP Data received {"connection_id":233065,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:06:08] local.INFO: Processing buffer {"connection_id":233065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:06:08] local.INFO: IMEI packet received {"connection_id":233065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":233065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:06:09] local.INFO: TCP Data received {"connection_id":233065,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:06:09] local.INFO: Processing buffer {"connection_id":233065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:06:09] local.INFO: IMEI packet received {"connection_id":233065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":233065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:06:15] local.INFO: TCP Data received {"connection_id":233065,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:06:15] local.INFO: Processing buffer {"connection_id":233065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:06:15] local.INFO: IMEI packet received {"connection_id":233065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":233065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:06:16] local.INFO: TCP Data received {"connection_id":233065,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8b30538012d3ad60006a73be8002d00642c..."} 
[2026-11-05 04:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8b30538012d3ad60006a73be8002d00642c..."} 
[2026-11-05 04:06:16] local.INFO: Processing buffer {"connection_id":233065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8b30538012d3ad60006a73be8002d00642c..."} 
[2026-11-05 04:06:16] local.INFO: Packet analysis {"connection_id":233065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8b3"} 
[2026-11-05 04:06:16] local.INFO: Extracted packet for processing {"connection_id":233065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8b3"} 
[2026-11-05 04:06:16] local.INFO: GPS Element Parsed {"raw_longitude":758830592,"raw_latitude":111623144,"longitude_deg":75.8830592,"latitude_deg":11.1623144,"altitude":45,"angle":100,"satellites":44,"speed":33,"hex_longitude":"2d3ad600","hex_latitude":"06a73be8","is_valid_coordinates":true} 
[2026-11-05 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-05 04:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220903936001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39331334811811840,"note":"Value kept but may cause issues"} 
[2026-11-05 04:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4229091184909414400,"note":"Value kept but may cause issues"} 
[2026-11-05 04:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793831667000,"timestamp_ms":1793831667000,"timestamp_seconds":1793831667,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8b30538"} 
[2026-11-05 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-05 04:06: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-05 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 04:06:16] 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-05 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-05 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-05 04:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":233065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":233065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":233065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04: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-05 04:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220903936001,"66":27343,"191":206,"19":48128,"24":33,"16":39331334811811840,"45":4229091184909414400},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,19,24,16,45]} 
[2026-11-05 04:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220903936001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:06:16] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-11-05 04:06:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39331334811811840,"km_value":39331334811811.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4229091184909414400,"description":"Unknown IO ID 45"} 
[2026-11-05 04:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220903936001,"power":27343,"unknown_191":206,"unknown_19":48128,"ignition":33,"odometer":null,"unknown_45":4229091184909414400}} 
[2026-11-05 04:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":233065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:06:16] local.INFO: GPS data processed {"connection_id":233065,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:06:16] local.INFO: Acknowledgment sent {"connection_id":233065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:06:48] local.INFO: TCP Data received {"connection_id":233065,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8b33030012d3afa0006a734e8003000652b..."} 
[2026-11-05 04:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8b33030012d3afa0006a734e8003000652b..."} 
[2026-11-05 04:06:48] local.INFO: Processing buffer {"connection_id":233065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8b33030012d3afa0006a734e8003000652b..."} 
[2026-11-05 04:06:48] local.INFO: Packet analysis {"connection_id":233065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8b3"} 
[2026-11-05 04:06:48] local.INFO: Extracted packet for processing {"connection_id":233065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8b3"} 
[2026-11-05 04:06:48] local.INFO: GPS Element Parsed {"raw_longitude":758839808,"raw_latitude":111621352,"longitude_deg":75.8839808,"latitude_deg":11.1621352,"altitude":48,"angle":101,"satellites":43,"speed":34,"hex_longitude":"2d3afa00","hex_latitude":"06a734e8","is_valid_coordinates":true} 
[2026-11-05 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-05 04:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220906752001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39331781488410624,"note":"Value kept but may cause issues"} 
[2026-11-05 04:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4239576127791425536,"note":"Value kept but may cause issues"} 
[2026-11-05 04:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793831678000,"timestamp_ms":1793831678000,"timestamp_seconds":1793831678,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8b33030"} 
[2026-11-05 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-05 04:06: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-05 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 04:06:48] 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-05 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-05 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-05 04:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":233065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":233065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":233065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04: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-05 04:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220906752001,"66":27234,"191":206,"19":48128,"24":34,"16":39331781488410624,"45":4239576127791425536},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,19,24,16,45]} 
[2026-11-05 04:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220906752001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:06:48] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-11-05 04:06:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39331781488410624,"km_value":39331781488410.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4239576127791425536,"description":"Unknown IO ID 45"} 
[2026-11-05 04:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220906752001,"power":27234,"unknown_191":206,"unknown_19":48128,"ignition":34,"odometer":null,"unknown_45":4239576127791425536}} 
[2026-11-05 04:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":233065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:06:48] local.INFO: GPS data processed {"connection_id":233065,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:06:48] local.INFO: Acknowledgment sent {"connection_id":233065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:07:05] local.INFO: TCP Data received {"connection_id":231161,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:07:05] local.INFO: Processing buffer {"connection_id":231161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:07:05] local.INFO: IMEI packet received {"connection_id":231161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":231161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:07:08] local.INFO: TCP Data received {"connection_id":231161,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:07:08] local.INFO: Processing buffer {"connection_id":231161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:07:08] local.INFO: IMEI packet received {"connection_id":231161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":231161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:07:11] local.INFO: TCP Data received {"connection_id":231161,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8b35b28012d3b1e0006a72e48003400642a..."} 
[2026-11-05 04:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8b35b28012d3b1e0006a72e48003400642a..."} 
[2026-11-05 04:07:11] local.INFO: Processing buffer {"connection_id":231161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8b35b28012d3b1e0006a72e48003400642a..."} 
[2026-11-05 04:07:11] local.INFO: Packet analysis {"connection_id":231161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8b3"} 
[2026-11-05 04:07:11] local.INFO: Extracted packet for processing {"connection_id":231161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8b3"} 
[2026-11-05 04:07:11] local.INFO: GPS Element Parsed {"raw_longitude":758849024,"raw_latitude":111619656,"longitude_deg":75.8849024,"latitude_deg":11.1619656,"altitude":52,"angle":100,"satellites":42,"speed":33,"hex_longitude":"2d3b1e00","hex_latitude":"06a72e48","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220909568001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39332228165009408,"note":"Value kept but may cause issues"} 
[2026-11-05 04:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4249709226952550400,"note":"Value kept but may cause issues"} 
[2026-11-05 04:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793831689000,"timestamp_ms":1793831689000,"timestamp_seconds":1793831689,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8b35b28"} 
[2026-11-05 04: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-05 04:07: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-05 04: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 04:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04: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-05 04: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-05 04:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:07: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-05 04:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220909568001,"66":27343,"192":206,"19":48128,"24":33,"16":39332228165009408,"45":4249709226952550400},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,19,24,16,45]} 
[2026-11-05 04:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220909568001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:07:11] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-11-05 04:07:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39332228165009408,"km_value":39332228165009.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4249709226952550400,"description":"Unknown IO ID 45"} 
[2026-11-05 04:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220909568001,"power":27343,"unknown_192":206,"unknown_19":48128,"ignition":33,"odometer":null,"unknown_45":4249709226952550400}} 
[2026-11-05 04:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":231161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:07:11] local.INFO: GPS data processed {"connection_id":231161,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:07:11] local.INFO: Acknowledgment sent {"connection_id":231161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:07:17] local.INFO: TCP Data received {"connection_id":231161,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8b38620012d3b418006a72790003600642b..."} 
[2026-11-05 04:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8b38620012d3b418006a72790003600642b..."} 
[2026-11-05 04:07:17] local.INFO: Processing buffer {"connection_id":231161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8b38620012d3b418006a72790003600642b..."} 
[2026-11-05 04:07:17] local.INFO: Packet analysis {"connection_id":231161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8b3"} 
[2026-11-05 04:07:17] local.INFO: Extracted packet for processing {"connection_id":231161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8b3"} 
[2026-11-05 04:07:17] local.INFO: GPS Element Parsed {"raw_longitude":758858112,"raw_latitude":111617936,"longitude_deg":75.8858112,"latitude_deg":11.1617936,"altitude":54,"angle":100,"satellites":43,"speed":33,"hex_longitude":"2d3b4180","hex_latitude":"06a72790","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220912384001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39332670546640896,"note":"Value kept but may cause issues"} 
[2026-11-05 04:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4259842326113699840,"note":"Value kept but may cause issues"} 
[2026-11-05 04:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793831700000,"timestamp_ms":1793831700000,"timestamp_seconds":1793831700,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8b38620"} 
[2026-11-05 04: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-05 04:07: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-05 04: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 04:07:17] 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-05 04: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-05 04: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-05 04:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":231161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":231161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":231161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:07: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-05 04:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220912384001,"66":27300,"192":206,"19":48128,"24":33,"16":39332670546640896,"45":4259842326113699840},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,19,24,16,45]} 
[2026-11-05 04:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220912384001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:07:17] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-11-05 04:07:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39332670546640896,"km_value":39332670546640.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4259842326113699840,"description":"Unknown IO ID 45"} 
[2026-11-05 04:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220912384001,"power":27300,"unknown_192":206,"unknown_19":48128,"ignition":33,"odometer":null,"unknown_45":4259842326113699840}} 
[2026-11-05 04:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":231161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:07:17] local.INFO: GPS data processed {"connection_id":231161,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:07:17] local.INFO: Acknowledgment sent {"connection_id":231161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:07:49] local.INFO: TCP Data received {"connection_id":231161,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8b537b8012d3c31c006a610b8004e008e29..."} 
[2026-11-05 04:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8b537b8012d3c31c006a610b8004e008e29..."} 
[2026-11-05 04:07:49] local.INFO: Processing buffer {"connection_id":231161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8b537b8012d3c31c006a610b8004e008e29..."} 
[2026-11-05 04:07:49] local.INFO: Packet analysis {"connection_id":231161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8b5"} 
[2026-11-05 04:07:49] local.INFO: Extracted packet for processing {"connection_id":231161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8b5"} 
[2026-11-05 04:07:49] local.INFO: GPS Element Parsed {"raw_longitude":758919616,"raw_latitude":111546552,"longitude_deg":75.8919616,"latitude_deg":11.1546552,"altitude":78,"angle":142,"satellites":41,"speed":38,"hex_longitude":"2d3c31c0","hex_latitude":"06a610b8","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220941056001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39337420780470272,"note":"Value kept but may cause issues"} 
[2026-11-05 04:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4331407338925506560,"note":"Value kept but may cause issues"} 
[2026-11-05 04:07:49] 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-05 04:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793831811000,"timestamp_ms":1793831811000,"timestamp_seconds":1793831811,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8b537b8"} 
[2026-11-05 04: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-05 04: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-05 04: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 04:07:49] 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-05 04: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-05 04: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-05 04:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":231161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":231161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":231161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:07: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-05 04:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220941056001,"66":27300,"12":206,"19":48128,"24":38,"16":39337420780470272,"45":4331407338925506560},"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-05 04:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220941056001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:07:49] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-11-05 04:07:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39337420780470272,"km_value":39337420780470.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4331407338925506560,"description":"Unknown IO ID 45"} 
[2026-11-05 04:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220941056001,"power":27300,"unknown_12":206,"unknown_19":48128,"ignition":38,"odometer":null,"unknown_45":4331407338925506560}} 
[2026-11-05 04:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":231161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:07:49] local.INFO: GPS data processed {"connection_id":231161,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:07:49] local.INFO: Acknowledgment sent {"connection_id":231161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:08:04] local.INFO: TCP Data received {"connection_id":229384,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:08:04] local.INFO: Processing buffer {"connection_id":229384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:08:04] local.INFO: IMEI packet received {"connection_id":229384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":229384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:08:06] local.INFO: TCP Data received {"connection_id":229384,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:08:06] local.INFO: Processing buffer {"connection_id":229384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:08:06] local.INFO: IMEI packet received {"connection_id":229384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":229384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:08:11] local.INFO: TCP Data received {"connection_id":229384,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:08:11] local.INFO: Processing buffer {"connection_id":229384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:08:11] local.INFO: IMEI packet received {"connection_id":229384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":229384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:08:13] local.INFO: TCP Data received {"connection_id":229384,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8b55ae0012d3c480006a5f4c80051008c29..."} 
[2026-11-05 04:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8b55ae0012d3c480006a5f4c80051008c29..."} 
[2026-11-05 04:08:13] local.INFO: Processing buffer {"connection_id":229384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8b55ae0012d3c480006a5f4c80051008c29..."} 
[2026-11-05 04:08:13] local.INFO: Packet analysis {"connection_id":229384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8b5"} 
[2026-11-05 04:08:13] local.INFO: Extracted packet for processing {"connection_id":229384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8b5"} 
[2026-11-05 04:08:13] local.INFO: GPS Element Parsed {"raw_longitude":758925312,"raw_latitude":111539400,"longitude_deg":75.8925312,"latitude_deg":11.15394,"altitude":81,"angle":140,"satellites":41,"speed":41,"hex_longitude":"2d3c4800","hex_latitude":"06a5f4c8","is_valid_coordinates":true} 
[2026-11-05 04:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 04:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220943616001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39337863162101760,"note":"Value kept but may cause issues"} 
[2026-11-05 04:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4337459050922948608,"note":"Value kept but may cause issues"} 
[2026-11-05 04:08:13] 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-05 04:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793831820000,"timestamp_ms":1793831820000,"timestamp_seconds":1793831820,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8b55ae0"} 
[2026-11-05 04:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 04: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-05 04:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 04:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 04:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 04:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:08: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-05 04:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220943616001,"66":27517,"12":206,"19":48128,"24":41,"16":39337863162101760,"45":4337459050922948608},"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-05 04:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220943616001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:08:13] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-11-05 04:08:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39337863162101760,"km_value":39337863162101.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4337459050922948608,"description":"Unknown IO ID 45"} 
[2026-11-05 04:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220943616001,"power":27517,"unknown_12":206,"unknown_19":48128,"ignition":41,"odometer":null,"unknown_45":4337459050922948608}} 
[2026-11-05 04:08:13] 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":61430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:08:13] local.INFO: GPS data processed {"connection_id":229384,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:08:13] local.INFO: Acknowledgment sent {"connection_id":229384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:08:14] local.INFO: TCP Data received {"connection_id":229384,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8b57e08012d3c610006a5d6a8004e008c26..."} 
[2026-11-05 04:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8b57e08012d3c610006a5d6a8004e008c26..."} 
[2026-11-05 04:08:14] local.INFO: Processing buffer {"connection_id":229384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8b57e08012d3c610006a5d6a8004e008c26..."} 
[2026-11-05 04:08:14] local.INFO: Packet analysis {"connection_id":229384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8b5"} 
[2026-11-05 04:08:14] local.INFO: Extracted packet for processing {"connection_id":229384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8b5"} 
[2026-11-05 04:08:14] local.INFO: GPS Element Parsed {"raw_longitude":758931712,"raw_latitude":111531688,"longitude_deg":75.8931712,"latitude_deg":11.1531688,"altitude":78,"angle":140,"satellites":38,"speed":46,"hex_longitude":"2d3c6100","hex_latitude":"06a5d6a8","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220945920001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39338344198438912,"note":"Value kept but may cause issues"} 
[2026-11-05 04:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4343721869152929792,"note":"Value kept but may cause issues"} 
[2026-11-05 04:08:14] 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-05 04:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793831829000,"timestamp_ms":1793831829000,"timestamp_seconds":1793831829,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8b57e08"} 
[2026-11-05 04: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-05 04:08: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-05 04:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-05 04:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04: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-05 04: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-05 04:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:08: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-05 04:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220945920001,"66":27484,"12":206,"19":48128,"24":46,"16":39338344198438912,"45":4343721869152929792},"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-05 04:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220945920001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:08:14] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-11-05 04:08:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39338344198438912,"km_value":39338344198438.914,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4343721869152929792,"description":"Unknown IO ID 45"} 
[2026-11-05 04:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220945920001,"power":27484,"unknown_12":206,"unknown_19":48128,"ignition":46,"odometer":null,"unknown_45":4343721869152929792}} 
[2026-11-05 04:08: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":61431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:08:14] local.INFO: GPS data processed {"connection_id":229384,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:08:14] local.INFO: Acknowledgment sent {"connection_id":229384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:09:18] local.INFO: TCP Data received {"connection_id":229384,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8b59960012d3c76c006a5bb28004b008f1d..."} 
[2026-11-05 04:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8b59960012d3c76c006a5bb28004b008f1d..."} 
[2026-11-05 04:09:18] local.INFO: Processing buffer {"connection_id":229384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8b59960012d3c76c006a5bb28004b008f1d..."} 
[2026-11-05 04:09:18] local.INFO: Packet analysis {"connection_id":229384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8b5"} 
[2026-11-05 04:09:18] local.INFO: Extracted packet for processing {"connection_id":229384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8b5"} 
[2026-11-05 04:09:18] local.INFO: GPS Element Parsed {"raw_longitude":758937280,"raw_latitude":111524648,"longitude_deg":75.893728,"latitude_deg":11.1524648,"altitude":75,"angle":143,"satellites":29,"speed":54,"hex_longitude":"2d3c76c0","hex_latitude":"06a5bb28","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220948224001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39338777990135808,"note":"Value kept but may cause issues"} 
[2026-11-05 04:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4350758743568721920,"note":"Value kept but may cause issues"} 
[2026-11-05 04:09:18] 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-05 04:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793831836000,"timestamp_ms":1793831836000,"timestamp_seconds":1793831836,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8b59960"} 
[2026-11-05 04: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-05 04:09: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-05 04: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 04:09:18] 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-05 04: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-05 04: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-05 04:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:09: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-05 04:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220948224001,"66":27484,"12":206,"19":48128,"24":54,"16":39338777990135808,"45":4350758743568721920},"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-05 04:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220948224001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:09:18] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-11-05 04:09:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39338777990135808,"km_value":39338777990135.805,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4350758743568721920,"description":"Unknown IO ID 45"} 
[2026-11-05 04:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220948224001,"power":27484,"unknown_12":206,"unknown_19":48128,"ignition":54,"odometer":null,"unknown_45":4350758743568721920}} 
[2026-11-05 04:09:18] 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":61432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:09:18] local.INFO: GPS data processed {"connection_id":229384,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:09:18] local.INFO: Acknowledgment sent {"connection_id":229384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:09:38] local.INFO: TCP Data received {"connection_id":231164,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:09:38] local.INFO: Processing buffer {"connection_id":231164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:09:38] local.INFO: IMEI packet received {"connection_id":231164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":231164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:09:39] local.INFO: TCP Data received {"connection_id":231164,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:09:39] local.INFO: Processing buffer {"connection_id":231164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:09:39] local.INFO: IMEI packet received {"connection_id":231164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":231164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:09:44] local.INFO: TCP Data received {"connection_id":231164,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:09:44] local.INFO: Processing buffer {"connection_id":231164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:09:44] local.INFO: IMEI packet received {"connection_id":231164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":231164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:09:45] local.INFO: TCP Data received {"connection_id":231164,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8b67fd8012d3cb10006a46098003800d02b..."} 
[2026-11-05 04:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8b67fd8012d3cb10006a46098003800d02b..."} 
[2026-11-05 04:09:45] local.INFO: Processing buffer {"connection_id":231164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8b67fd8012d3cb10006a46098003800d02b..."} 
[2026-11-05 04:09:45] local.INFO: Packet analysis {"connection_id":231164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8b6"} 
[2026-11-05 04:09:45] local.INFO: Extracted packet for processing {"connection_id":231164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8b6"} 
[2026-11-05 04:09:45] local.INFO: GPS Element Parsed {"raw_longitude":758952192,"raw_latitude":111435928,"longitude_deg":75.8952192,"latitude_deg":11.1435928,"altitude":56,"angle":208,"satellites":43,"speed":47,"hex_longitude":"2d3cb100","hex_latitude":"06a46098","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220963328001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343416554815488,"note":"Value kept but may cause issues"} 
[2026-11-05 04:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4378413660008099840,"note":"Value kept but may cause issues"} 
[2026-11-05 04:09:45] 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-05 04:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793831895000,"timestamp_ms":1793831895000,"timestamp_seconds":1793831895,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8b67fd8"} 
[2026-11-05 04: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-05 04: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-05 04: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 04:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04: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-05 04: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-05 04:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":231164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":231164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":231164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04: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-05 04:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220963328001,"66":27321,"12":206,"19":48128,"24":47,"16":39343416554815488,"45":4378413660008099840},"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-05 04:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220963328001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:09:45] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-11-05 04:09:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343416554815488,"km_value":39343416554815.484,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":4378413660008099840,"description":"Unknown IO ID 45"} 
[2026-11-05 04:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220963328001,"power":27321,"unknown_12":206,"unknown_19":48128,"ignition":47,"odometer":null,"unknown_45":4378413660008099840}} 
[2026-11-05 04:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":231164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:09:45] local.INFO: GPS data processed {"connection_id":231164,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:09:45] local.INFO: Acknowledgment sent {"connection_id":231164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:10:15] local.INFO: TCP Data received {"connection_id":229873,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:10:15] local.INFO: Processing buffer {"connection_id":229873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:10:15] local.INFO: IMEI packet received {"connection_id":229873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":229873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:10:21] local.INFO: TCP Data received {"connection_id":229873,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:10:21] local.INFO: Processing buffer {"connection_id":229873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:10:21] local.INFO: IMEI packet received {"connection_id":229873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":229873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:10:22] local.INFO: TCP Data received {"connection_id":229385,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229385,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:10:22] local.INFO: Processing buffer {"connection_id":229385,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:10:22] local.INFO: IMEI packet received {"connection_id":229385,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 04:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":229385,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:10:23] local.INFO: TCP Data received {"connection_id":229873,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8b69b30012d3ca4c006a44450003b00c42a..."} 
[2026-11-05 04:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8b69b30012d3ca4c006a44450003b00c42a..."} 
[2026-11-05 04:10:23] local.INFO: Processing buffer {"connection_id":229873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8b69b30012d3ca4c006a44450003b00c42a..."} 
[2026-11-05 04:10:23] local.INFO: Packet analysis {"connection_id":229873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8b6"} 
[2026-11-05 04:10:23] local.INFO: Extracted packet for processing {"connection_id":229873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8b6"} 
[2026-11-05 04:10:23] local.INFO: GPS Element Parsed {"raw_longitude":758949056,"raw_latitude":111428688,"longitude_deg":75.8949056,"latitude_deg":11.1428688,"altitude":59,"angle":196,"satellites":42,"speed":43,"hex_longitude":"2d3ca4c0","hex_latitude":"06a44450","is_valid_coordinates":true} 
[2026-11-05 04:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 04:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459220965120001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343798806904832,"note":"Value kept but may cause issues"} 
[2026-11-05 04:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4373276741681059840,"note":"Value kept but may cause issues"} 
[2026-11-05 04:10:23] 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-05 04:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793831902000,"timestamp_ms":1793831902000,"timestamp_seconds":1793831902,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8b69b30"} 
[2026-11-05 04:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 04:10: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-05 04:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 04:10:23] 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-05 04:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 04:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 04:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":229873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":229873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":229873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:10: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-05 04:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459220965120001,"66":27234,"12":206,"19":48128,"24":43,"16":39343798806904832,"45":4373276741681059840},"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-05 04:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459220965120001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:10:23] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-11-05 04:10:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343798806904832,"km_value":39343798806904.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":4373276741681059840,"description":"Unknown IO ID 45"} 
[2026-11-05 04:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459220965120001,"power":27234,"unknown_12":206,"unknown_19":48128,"ignition":43,"odometer":null,"unknown_45":4373276741681059840}} 
[2026-11-05 04:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":229873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:10:23] local.INFO: GPS data processed {"connection_id":229873,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:10:23] local.INFO: Acknowledgment sent {"connection_id":229873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:11:12] local.INFO: TCP Data received {"connection_id":229386,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229386,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:11:12] local.INFO: Processing buffer {"connection_id":229386,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:11:12] local.INFO: IMEI packet received {"connection_id":229386,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 04:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":229386,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:11:29] local.INFO: TCP Data received {"connection_id":231165,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:11:29] local.INFO: Processing buffer {"connection_id":231165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:11:29] local.INFO: IMEI packet received {"connection_id":231165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":231165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:11:30] local.INFO: TCP Data received {"connection_id":231165,"ip":"117.224.67.174","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 04:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231165,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 04:11:30] local.INFO: Processing buffer {"connection_id":231165,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 04:11:30] local.INFO: IMEI packet received {"connection_id":231165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":231165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:16:22] local.INFO: TCP Data received {"connection_id":229387,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229387,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:16:22] local.INFO: Processing buffer {"connection_id":229387,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:16:22] local.INFO: IMEI packet received {"connection_id":229387,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 04:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":229387,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:16:35] local.INFO: TCP Data received {"connection_id":233073,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:16:35] local.INFO: Processing buffer {"connection_id":233073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:16:35] local.INFO: IMEI packet received {"connection_id":233073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":233073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:16:36] local.INFO: TCP Data received {"connection_id":233073,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8bcdcc0012d3d3bc0069c9e58003000952b..."} 
[2026-11-05 04:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8bcdcc0012d3d3bc0069c9e58003000952b..."} 
[2026-11-05 04:16:36] local.INFO: Processing buffer {"connection_id":233073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8bcdcc0012d3d3bc0069c9e58003000952b..."} 
[2026-11-05 04:16:36] local.INFO: Packet analysis {"connection_id":233073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8bc"} 
[2026-11-05 04:16:36] local.INFO: Extracted packet for processing {"connection_id":233073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8bc"} 
[2026-11-05 04:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758987712,"raw_latitude":110927448,"longitude_deg":75.8987712,"latitude_deg":11.0927448,"altitude":48,"angle":149,"satellites":43,"speed":62,"hex_longitude":"2d3d3bc0","hex_latitude":"069c9e58","is_valid_coordinates":true} 
[2026-11-05 04:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 04:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221070336001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39369860668456960,"note":"Value kept but may cause issues"} 
[2026-11-05 04:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4406983370014021632,"note":"Value kept but may cause issues"} 
[2026-11-05 04:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1793832312000,"timestamp_ms":1793832312000,"timestamp_seconds":1793832312,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8bcdcc0"} 
[2026-11-05 04:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 04:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 04:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 04:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 04:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 04:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":233073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":233073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":233073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:16: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-05 04:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221070336001,"66":27213,"163":206,"19":48128,"24":62,"16":39369860668456960,"45":4406983370014021632},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,19,24,16,45]} 
[2026-11-05 04:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221070336001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:16:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-05 04:16:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39369860668456960,"km_value":39369860668456.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4406983370014021632,"description":"Unknown IO ID 45"} 
[2026-11-05 04:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221070336001,"power":27213,"unknown_163":206,"unknown_19":48128,"ignition":62,"odometer":null,"unknown_45":4406983370014021632}} 
[2026-11-05 04:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":233073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:16:36] local.INFO: GPS data processed {"connection_id":233073,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:16:36] local.INFO: Acknowledgment sent {"connection_id":233073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:17:06] local.INFO: TCP Data received {"connection_id":229388,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:17:06] local.INFO: Processing buffer {"connection_id":229388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:17:06] local.INFO: IMEI packet received {"connection_id":229388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":229388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:17:07] local.INFO: TCP Data received {"connection_id":229388,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:17:07] local.INFO: Processing buffer {"connection_id":229388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:17:07] local.INFO: IMEI packet received {"connection_id":229388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":229388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:17:07] local.INFO: TCP Data received {"connection_id":229874,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:17:07] local.INFO: Processing buffer {"connection_id":229874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:17:07] local.INFO: IMEI packet received {"connection_id":229874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 04:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":229874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:17:09] local.INFO: TCP Data received {"connection_id":229388,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:17:09] local.INFO: Processing buffer {"connection_id":229388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:17:09] local.INFO: IMEI packet received {"connection_id":229388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":229388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:17:10] local.INFO: TCP Data received {"connection_id":229388,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8bdea48012d3da1c0069b12c80029009f28..."} 
[2026-11-05 04:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8bdea48012d3da1c0069b12c80029009f28..."} 
[2026-11-05 04:17:10] local.INFO: Processing buffer {"connection_id":229388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8bdea48012d3da1c0069b12c80029009f28..."} 
[2026-11-05 04:17:10] local.INFO: Packet analysis {"connection_id":229388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8bd"} 
[2026-11-05 04:17:10] local.INFO: Extracted packet for processing {"connection_id":229388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8bd"} 
[2026-11-05 04:17:10] local.INFO: GPS Element Parsed {"raw_longitude":759013824,"raw_latitude":110826184,"longitude_deg":75.9013824,"latitude_deg":11.0826184,"altitude":41,"angle":159,"satellites":40,"speed":59,"hex_longitude":"2d3da1c0","hex_latitude":"069b12c8","is_valid_coordinates":true} 
[2026-11-05 04:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 04:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221088000001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39374958794637312,"note":"Value kept but may cause issues"} 
[2026-11-05 04:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4438578936124073984,"note":"Value kept but may cause issues"} 
[2026-11-05 04:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793832381000,"timestamp_ms":1793832381000,"timestamp_seconds":1793832381,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8bdea48"} 
[2026-11-05 04:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 04:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 04:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 04:17:10] 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-05 04:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 04:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 04:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:17: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-05 04:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221088000001,"66":27267,"81":206,"19":48128,"24":59,"16":39374958794637312,"45":4438578936124073984},"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-05 04:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221088000001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:17:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-11-05 04:17:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39374958794637312,"km_value":39374958794637.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4438578936124073984,"description":"Unknown IO ID 45"} 
[2026-11-05 04:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221088000001,"power":27267,"unknown_81":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":4438578936124073984}} 
[2026-11-05 04:17:10] 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":61436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:17:10] local.INFO: GPS data processed {"connection_id":229388,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:17:10] local.INFO: Acknowledgment sent {"connection_id":229388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:17:14] local.INFO: TCP Data received {"connection_id":229388,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8bdea48012d3da1c0069b12c80029009f28..."} 
[2026-11-05 04:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8bdea48012d3da1c0069b12c80029009f28..."} 
[2026-11-05 04:17:14] local.INFO: Processing buffer {"connection_id":229388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8bdea48012d3da1c0069b12c80029009f28..."} 
[2026-11-05 04:17:14] local.INFO: Packet analysis {"connection_id":229388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8bd"} 
[2026-11-05 04:17:14] local.INFO: Extracted packet for processing {"connection_id":229388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8bd"} 
[2026-11-05 04:17:14] local.INFO: GPS Element Parsed {"raw_longitude":759013824,"raw_latitude":110826184,"longitude_deg":75.9013824,"latitude_deg":11.0826184,"altitude":41,"angle":159,"satellites":40,"speed":59,"hex_longitude":"2d3da1c0","hex_latitude":"069b12c8","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221089536001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39374958794637312,"note":"Value kept but may cause issues"} 
[2026-11-05 04:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4441041842168055808,"note":"Value kept but may cause issues"} 
[2026-11-05 04:17: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-05 04:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793832381000,"timestamp_ms":1793832381000,"timestamp_seconds":1793832381,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8bdea48"} 
[2026-11-05 04: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-05 04:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 04: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 04:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04: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-05 04: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-05 04:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:17: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-05 04:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221089536001,"66":27267,"81":206,"19":48128,"24":59,"16":39374958794637312,"45":4441041842168055808},"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-05 04:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221089536001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:17:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-11-05 04:17:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39374958794637312,"km_value":39374958794637.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4441041842168055808,"description":"Unknown IO ID 45"} 
[2026-11-05 04:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221089536001,"power":27267,"unknown_81":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":4441041842168055808}} 
[2026-11-05 04:17:14] 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":61437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:17:14] local.INFO: GPS data processed {"connection_id":229388,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:17:14] local.INFO: Acknowledgment sent {"connection_id":229388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:17:50] local.INFO: TCP Data received {"connection_id":229388,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8be05a0012d3db140069aed500028009e2b..."} 
[2026-11-05 04:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8be05a0012d3db140069aed500028009e2b..."} 
[2026-11-05 04:17:50] local.INFO: Processing buffer {"connection_id":229388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8be05a0012d3db140069aed500028009e2b..."} 
[2026-11-05 04:17:50] local.INFO: Packet analysis {"connection_id":229388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8be"} 
[2026-11-05 04:17:50] local.INFO: Extracted packet for processing {"connection_id":229388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8be"} 
[2026-11-05 04:17:50] local.INFO: GPS Element Parsed {"raw_longitude":759017792,"raw_latitude":110816592,"longitude_deg":75.9017792,"latitude_deg":11.0816592,"altitude":40,"angle":158,"satellites":43,"speed":59,"hex_longitude":"2d3db140","hex_latitude":"069aed50","is_valid_coordinates":true} 
[2026-11-05 04:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 04:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221089536001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39375461305810944,"note":"Value kept but may cause issues"} 
[2026-11-05 04:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4441041842168055808,"note":"Value kept but may cause issues"} 
[2026-11-05 04:17: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-05 04:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793832388000,"timestamp_ms":1793832388000,"timestamp_seconds":1793832388,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8be05a0"} 
[2026-11-05 04:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 04:17: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-05 04:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 04:17:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04:17:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 04:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 04:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:17: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-05 04:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221089536001,"66":27267,"81":206,"19":48128,"24":59,"16":39375461305810944,"45":4441041842168055808},"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-05 04:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221089536001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:17:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-11-05 04:17:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39375461305810944,"km_value":39375461305810.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":4441041842168055808,"description":"Unknown IO ID 45"} 
[2026-11-05 04:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221089536001,"power":27267,"unknown_81":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":4441041842168055808}} 
[2026-11-05 04:17:50] 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":61438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:17:50] local.INFO: GPS data processed {"connection_id":229388,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:17:50] local.INFO: Acknowledgment sent {"connection_id":229388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:18:05] local.INFO: TCP Data received {"connection_id":229389,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:18:05] local.INFO: Processing buffer {"connection_id":229389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:18:05] local.INFO: IMEI packet received {"connection_id":229389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":229389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:18:06] local.INFO: TCP Data received {"connection_id":229389,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:18:06] local.INFO: Processing buffer {"connection_id":229389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:18:06] local.INFO: IMEI packet received {"connection_id":229389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":229389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:18:08] local.INFO: TCP Data received {"connection_id":229389,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:18:08] local.INFO: Processing buffer {"connection_id":229389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:18:08] local.INFO: IMEI packet received {"connection_id":229389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":229389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:18:09] local.INFO: TCP Data received {"connection_id":229389,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:18:09] local.INFO: Processing buffer {"connection_id":229389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:18:09] local.INFO: IMEI packet received {"connection_id":229389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":229389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:18:10] local.INFO: TCP Data received {"connection_id":229389,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8be20f8012d3dc0c0069ac7f00026009e2b..."} 
[2026-11-05 04:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8be20f8012d3dc0c0069ac7f00026009e2b..."} 
[2026-11-05 04:18:10] local.INFO: Processing buffer {"connection_id":229389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8be20f8012d3dc0c0069ac7f00026009e2b..."} 
[2026-11-05 04:18:10] local.INFO: Packet analysis {"connection_id":229389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8be"} 
[2026-11-05 04:18:10] local.INFO: Extracted packet for processing {"connection_id":229389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8be"} 
[2026-11-05 04:18:10] local.INFO: GPS Element Parsed {"raw_longitude":759021760,"raw_latitude":110807024,"longitude_deg":75.902176,"latitude_deg":11.0807024,"altitude":38,"angle":158,"satellites":43,"speed":59,"hex_longitude":"2d3dc0c0","hex_latitude":"069ac7f0","is_valid_coordinates":true} 
[2026-11-05 04:18: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-05 04:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221091328001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39375959522017280,"note":"Value kept but may cause issues"} 
[2026-11-05 04:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4445404704304615424,"note":"Value kept but may cause issues"} 
[2026-11-05 04:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793832395000,"timestamp_ms":1793832395000,"timestamp_seconds":1793832395,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8be20f8"} 
[2026-11-05 04:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 04:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 04:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 04:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04:18: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-05 04:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 04:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:18: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-05 04:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221091328001,"66":27245,"81":206,"19":48128,"24":59,"16":39375959522017280,"45":4445404704304615424},"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-05 04:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221091328001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:18:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-11-05 04:18:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39375959522017280,"km_value":39375959522017.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4445404704304615424,"description":"Unknown IO ID 45"} 
[2026-11-05 04:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221091328001,"power":27245,"unknown_81":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":4445404704304615424}} 
[2026-11-05 04:18:10] 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":61439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:18:10] local.INFO: GPS data processed {"connection_id":229389,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:18:10] local.INFO: Acknowledgment sent {"connection_id":229389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:18:42] local.INFO: TCP Data received {"connection_id":229389,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8bf4208012d3e564006994180000c00632a..."} 
[2026-11-05 04:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8bf4208012d3e564006994180000c00632a..."} 
[2026-11-05 04:18:42] local.INFO: Processing buffer {"connection_id":229389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8bf4208012d3e564006994180000c00632a..."} 
[2026-11-05 04:18:42] local.INFO: Packet analysis {"connection_id":229389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8bf"} 
[2026-11-05 04:18:42] local.INFO: Extracted packet for processing {"connection_id":229389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8bf"} 
[2026-11-05 04:18:42] local.INFO: GPS Element Parsed {"raw_longitude":759060032,"raw_latitude":110707072,"longitude_deg":75.9060032,"latitude_deg":11.0707072,"altitude":12,"angle":99,"satellites":42,"speed":61,"hex_longitude":"2d3e5640","hex_latitude":"06994180","is_valid_coordinates":true} 
[2026-11-05 04:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 04:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221110528001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39381667533553664,"note":"Value kept but may cause issues"} 
[2026-11-05 04:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4481503870040180736,"note":"Value kept but may cause issues"} 
[2026-11-05 04:18:42] 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-05 04:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793832469000,"timestamp_ms":1793832469000,"timestamp_seconds":1793832469,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8bf4208"} 
[2026-11-05 04:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 04:18: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-05 04:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 04:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 04:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 04:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:18: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-05 04:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221110528001,"66":27267,"79":206,"19":48128,"24":61,"16":39381667533553664,"45":4481503870040180736},"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-05 04:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221110528001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:18:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-11-05 04:18:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39381667533553664,"km_value":39381667533553.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4481503870040180736,"description":"Unknown IO ID 45"} 
[2026-11-05 04:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221110528001,"power":27267,"unknown_79":206,"unknown_19":48128,"ignition":61,"odometer":null,"unknown_45":4481503870040180736}} 
[2026-11-05 04:18:42] 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":61440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:18:42] local.INFO: GPS data processed {"connection_id":229389,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:18:42] local.INFO: Acknowledgment sent {"connection_id":229389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:19:09] local.INFO: TCP Data received {"connection_id":229390,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:19:09] local.INFO: Processing buffer {"connection_id":229390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:19:09] local.INFO: IMEI packet received {"connection_id":229390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":229390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:19:12] local.INFO: TCP Data received {"connection_id":229390,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:19:12] local.INFO: Processing buffer {"connection_id":229390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:19:12] local.INFO: IMEI packet received {"connection_id":229390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":229390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:19:12] local.INFO: TCP Data received {"connection_id":229390,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:19:12] local.INFO: Processing buffer {"connection_id":229390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:19:12] local.INFO: IMEI packet received {"connection_id":229390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":229390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:19:14] local.INFO: TCP Data received {"connection_id":229390,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:19:14] local.INFO: Processing buffer {"connection_id":229390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:19:14] local.INFO: IMEI packet received {"connection_id":229390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":229390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:22:42] local.INFO: TCP Data received {"connection_id":231171,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231171,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:22:42] local.INFO: Processing buffer {"connection_id":231171,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:22:42] local.INFO: IMEI packet received {"connection_id":231171,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 04:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":231171,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:23:07] local.INFO: TCP Data received {"connection_id":229875,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229875,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:23:07] local.INFO: Processing buffer {"connection_id":229875,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:23:07] local.INFO: IMEI packet received {"connection_id":229875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 04:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":229875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:24:19] local.INFO: TCP Data received {"connection_id":229392,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:24:19] local.INFO: Processing buffer {"connection_id":229392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:24:19] local.INFO: IMEI packet received {"connection_id":229392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":229392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:24:20] local.INFO: TCP Data received {"connection_id":229392,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8c3e1a0012d431480069642f0000f009129..."} 
[2026-11-05 04:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8c3e1a0012d431480069642f0000f009129..."} 
[2026-11-05 04:24:20] local.INFO: Processing buffer {"connection_id":229392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8c3e1a0012d431480069642f0000f009129..."} 
[2026-11-05 04:24:20] local.INFO: Packet analysis {"connection_id":229392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8c3"} 
[2026-11-05 04:24:20] local.INFO: Extracted packet for processing {"connection_id":229392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8c3"} 
[2026-11-05 04:24:20] local.INFO: GPS Element Parsed {"raw_longitude":759370880,"raw_latitude":110510832,"longitude_deg":75.937088,"latitude_deg":11.0510832,"altitude":15,"angle":145,"satellites":41,"speed":77,"hex_longitude":"2d431480","hex_latitude":"069642f0","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221189632001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39401991318798336,"note":"Value kept but may cause issues"} 
[2026-11-05 04:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4833629065854513152,"note":"Value kept but may cause issues"} 
[2026-11-05 04:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793832772000,"timestamp_ms":1793832772000,"timestamp_seconds":1793832772,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8c3e1a0"} 
[2026-11-05 04: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-05 04:24: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-05 04: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 04:24:20] 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-05 04: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-05 04: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-05 04:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:24: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-05 04:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221189632001,"66":27234,"237":206,"19":48128,"24":77,"16":39401991318798336,"45":4833629065854513152},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-11-05 04:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221189632001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:24:20] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-11-05 04:24:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39401991318798336,"km_value":39401991318798.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4833629065854513152,"description":"Unknown IO ID 45"} 
[2026-11-05 04:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221189632001,"power":27234,"unknown_237":206,"unknown_19":48128,"ignition":77,"odometer":null,"unknown_45":4833629065854513152}} 
[2026-11-05 04:24:20] 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":61441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:24:20] local.INFO: GPS data processed {"connection_id":229392,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:24:20] local.INFO: Acknowledgment sent {"connection_id":229392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:25:39] local.INFO: TCP Data received {"connection_id":229393,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:25:39] local.INFO: Processing buffer {"connection_id":229393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:25:39] local.INFO: IMEI packet received {"connection_id":229393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":229393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:25:41] local.INFO: TCP Data received {"connection_id":229393,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:25:41] local.INFO: Processing buffer {"connection_id":229393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:25:41] local.INFO: IMEI packet received {"connection_id":229393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":229393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:25:46] local.INFO: TCP Data received {"connection_id":229393,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:25:46] local.INFO: Processing buffer {"connection_id":229393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:25:46] local.INFO: IMEI packet received {"connection_id":229393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":229393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:25:47] local.INFO: TCP Data received {"connection_id":229393,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8c4e370012d4376000694e980001100c62b..."} 
[2026-11-05 04:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8c4e370012d4376000694e980001100c62b..."} 
[2026-11-05 04:25:47] local.INFO: Processing buffer {"connection_id":229393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8c4e370012d4376000694e980001100c62b..."} 
[2026-11-05 04:25:47] local.INFO: Packet analysis {"connection_id":229393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8c4"} 
[2026-11-05 04:25:47] local.INFO: Extracted packet for processing {"connection_id":229393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8c4"} 
[2026-11-05 04:25:47] local.INFO: GPS Element Parsed {"raw_longitude":759395840,"raw_latitude":110422400,"longitude_deg":75.939584,"latitude_deg":11.04224,"altitude":17,"angle":198,"satellites":43,"speed":59,"hex_longitude":"2d437600","hex_latitude":"0694e980","is_valid_coordinates":true} 
[2026-11-05 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-05 04:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221204992001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39406810272104448,"note":"Value kept but may cause issues"} 
[2026-11-05 04:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4864169100807151616,"note":"Value kept but may cause issues"} 
[2026-11-05 04:25:47] 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-05 04:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793832838000,"timestamp_ms":1793832838000,"timestamp_seconds":1793832838,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8c4e370"} 
[2026-11-05 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-05 04:25: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-05 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-11-05 04:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 04:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:25: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-05 04:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221204992001,"66":27158,"238":206,"19":48128,"24":59,"16":39406810272104448,"45":4864169100807151616},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,19,24,16,45]} 
[2026-11-05 04:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221204992001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:25:47] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-11-05 04:25:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39406810272104448,"km_value":39406810272104.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4864169100807151616,"description":"Unknown IO ID 45"} 
[2026-11-05 04:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221204992001,"power":27158,"unknown_238":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":4864169100807151616}} 
[2026-11-05 04:25:47] 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":61442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:25:47] local.INFO: GPS data processed {"connection_id":229393,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:25:47] local.INFO: Acknowledgment sent {"connection_id":229393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:26:24] local.INFO: TCP Data received {"connection_id":231173,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:26:24] local.INFO: Processing buffer {"connection_id":231173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:26:24] local.INFO: IMEI packet received {"connection_id":231173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":231173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:26:24] local.INFO: TCP Data received {"connection_id":231173,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:26:24] local.INFO: Processing buffer {"connection_id":231173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:26:24] local.INFO: IMEI packet received {"connection_id":231173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":231173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:26:30] local.INFO: TCP Data received {"connection_id":231173,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:26:30] local.INFO: Processing buffer {"connection_id":231173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:26:30] local.INFO: IMEI packet received {"connection_id":231173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":231173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:26:31] local.INFO: TCP Data received {"connection_id":231173,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8c5dd70012d435c000693a9c00025009026..."} 
[2026-11-05 04:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8c5dd70012d435c000693a9c00025009026..."} 
[2026-11-05 04:26:31] local.INFO: Processing buffer {"connection_id":231173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8c5dd70012d435c000693a9c00025009026..."} 
[2026-11-05 04:26:31] local.INFO: Packet analysis {"connection_id":231173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8c5"} 
[2026-11-05 04:26:31] local.INFO: Extracted packet for processing {"connection_id":231173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8c5"} 
[2026-11-05 04:26:31] local.INFO: GPS Element Parsed {"raw_longitude":759389184,"raw_latitude":110340544,"longitude_deg":75.9389184,"latitude_deg":11.0340544,"altitude":37,"angle":144,"satellites":38,"speed":53,"hex_longitude":"2d435c00","hex_latitude":"0693a9c0","is_valid_coordinates":true} 
[2026-11-05 04:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 04:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221221120001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39411148189073408,"note":"Value kept but may cause issues"} 
[2026-11-05 04:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4847491708415887360,"note":"Value kept but may cause issues"} 
[2026-11-05 04:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793832902000,"timestamp_ms":1793832902000,"timestamp_seconds":1793832902,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8c5dd70"} 
[2026-11-05 04:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 04:26: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-05 04:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 04:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 04:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 04:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":231173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":231173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":231173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 04:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221221120001,"66":27213,"177":206,"19":48128,"24":53,"16":39411148189073408,"45":4847491708415887360},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-11-05 04:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221221120001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:26:31] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-05 04:26:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39411148189073408,"km_value":39411148189073.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4847491708415887360,"description":"Unknown IO ID 45"} 
[2026-11-05 04:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221221120001,"power":27213,"unknown_177":206,"unknown_19":48128,"ignition":53,"odometer":null,"unknown_45":4847491708415887360}} 
[2026-11-05 04:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":231173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:26:31] local.INFO: GPS data processed {"connection_id":231173,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:26:31] local.INFO: Acknowledgment sent {"connection_id":231173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:27:03] local.INFO: TCP Data received {"connection_id":233080,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:27:03] local.INFO: Processing buffer {"connection_id":233080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:27:03] local.INFO: IMEI packet received {"connection_id":233080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":233080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:27:04] local.INFO: TCP Data received {"connection_id":233080,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:27:04] local.INFO: Processing buffer {"connection_id":233080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:27:04] local.INFO: IMEI packet received {"connection_id":233080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":233080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:27:09] local.INFO: TCP Data received {"connection_id":233080,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:27:09] local.INFO: Processing buffer {"connection_id":233080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:27:09] local.INFO: IMEI packet received {"connection_id":233080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":233080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:27:10] local.INFO: TCP Data received {"connection_id":233080,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8c6fe80012d446ec006929c08002a00712a..."} 
[2026-11-05 04:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8c6fe80012d446ec006929c08002a00712a..."} 
[2026-11-05 04:27:10] local.INFO: Processing buffer {"connection_id":233080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8c6fe80012d446ec006929c08002a00712a..."} 
[2026-11-05 04:27:10] local.INFO: Packet analysis {"connection_id":233080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8c6"} 
[2026-11-05 04:27:10] local.INFO: Extracted packet for processing {"connection_id":233080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8c6"} 
[2026-11-05 04:27:10] local.INFO: GPS Element Parsed {"raw_longitude":759459520,"raw_latitude":110271496,"longitude_deg":75.945952,"latitude_deg":11.0271496,"altitude":42,"angle":113,"satellites":42,"speed":52,"hex_longitude":"2d446ec0","hex_latitude":"06929c08","is_valid_coordinates":true} 
[2026-11-05 04:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 04:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221240064001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39416053041725440,"note":"Value kept but may cause issues"} 
[2026-11-05 04:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4921238152295383040,"note":"Value kept but may cause issues"} 
[2026-11-05 04:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793832976000,"timestamp_ms":1793832976000,"timestamp_seconds":1793832976,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8c6fe80"} 
[2026-11-05 04:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 04:27: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-05 04:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 04:27:10] 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-05 04:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 04:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 04:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:27: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-05 04:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221240064001,"66":27115,"177":206,"19":48128,"24":52,"16":39416053041725440,"45":4921238152295383040},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-11-05 04:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221240064001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:27:10] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-05 04:27:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39416053041725440,"km_value":39416053041725.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4921238152295383040,"description":"Unknown IO ID 45"} 
[2026-11-05 04:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221240064001,"power":27115,"unknown_177":206,"unknown_19":48128,"ignition":52,"odometer":null,"unknown_45":4921238152295383040}} 
[2026-11-05 04:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":233080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:27:10] local.INFO: GPS data processed {"connection_id":233080,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:27:10] local.INFO: Acknowledgment sent {"connection_id":233080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:27:41] local.INFO: TCP Data received {"connection_id":233080,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8c71208012d44854006928ff0002a007d29..."} 
[2026-11-05 04:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8c71208012d44854006928ff0002a007d29..."} 
[2026-11-05 04:27:41] local.INFO: Processing buffer {"connection_id":233080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8c71208012d44854006928ff0002a007d29..."} 
[2026-11-05 04:27:41] local.INFO: Packet analysis {"connection_id":233080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8c7"} 
[2026-11-05 04:27:41] local.INFO: Extracted packet for processing {"connection_id":233080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8c7"} 
[2026-11-05 04:27:41] local.INFO: GPS Element Parsed {"raw_longitude":759465280,"raw_latitude":110268400,"longitude_deg":75.946528,"latitude_deg":11.02684,"altitude":42,"angle":125,"satellites":41,"speed":50,"hex_longitude":"2d448540","hex_latitude":"06928ff0","is_valid_coordinates":true} 
[2026-11-05 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-05 04:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221241856001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39416366574338048,"note":"Value kept but may cause issues"} 
[2026-11-05 04:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4931089776479307776,"note":"Value kept but may cause issues"} 
[2026-11-05 04:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793832981000,"timestamp_ms":1793832981000,"timestamp_seconds":1793832981,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8c71208"} 
[2026-11-05 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-05 04:27: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-05 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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-11-05 04:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 04:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:27: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-05 04:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221241856001,"66":27223,"177":206,"19":48128,"24":50,"16":39416366574338048,"45":4931089776479307776},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-11-05 04:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221241856001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:27:41] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-05 04:27:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39416366574338048,"km_value":39416366574338.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":4931089776479307776,"description":"Unknown IO ID 45"} 
[2026-11-05 04:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221241856001,"power":27223,"unknown_177":206,"unknown_19":48128,"ignition":50,"odometer":null,"unknown_45":4931089776479307776}} 
[2026-11-05 04:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":233080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:27:41] local.INFO: GPS data processed {"connection_id":233080,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:27:41] local.INFO: Acknowledgment sent {"connection_id":233080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:28:03] local.INFO: TCP Data received {"connection_id":231174,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:28:03] local.INFO: Processing buffer {"connection_id":231174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:28:03] local.INFO: IMEI packet received {"connection_id":231174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":231174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:28:04] local.INFO: TCP Data received {"connection_id":231174,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:28:04] local.INFO: Processing buffer {"connection_id":231174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:28:04] local.INFO: IMEI packet received {"connection_id":231174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":231174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:28:10] local.INFO: TCP Data received {"connection_id":231174,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:28:10] local.INFO: Processing buffer {"connection_id":231174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:28:10] local.INFO: IMEI packet received {"connection_id":231174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":231174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:28:11] local.INFO: TCP Data received {"connection_id":231174,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8c72590012d4497c006927f88002b008828..."} 
[2026-11-05 04:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8c72590012d4497c006927f88002b008828..."} 
[2026-11-05 04:28:11] local.INFO: Processing buffer {"connection_id":231174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8c72590012d4497c006927f88002b008828..."} 
[2026-11-05 04:28:11] local.INFO: Packet analysis {"connection_id":231174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8c7"} 
[2026-11-05 04:28:11] local.INFO: Extracted packet for processing {"connection_id":231174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8c7"} 
[2026-11-05 04:28:11] local.INFO: GPS Element Parsed {"raw_longitude":759470016,"raw_latitude":110264200,"longitude_deg":75.9470016,"latitude_deg":11.02642,"altitude":43,"angle":136,"satellites":40,"speed":51,"hex_longitude":"2d4497c0","hex_latitude":"06927f88","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221243136001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39416671517016064,"note":"Value kept but may cause issues"} 
[2026-11-05 04:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4937422963454504960,"note":"Value kept but may cause issues"} 
[2026-11-05 04:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793832986000,"timestamp_ms":1793832986000,"timestamp_seconds":1793832986,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8c72590"} 
[2026-11-05 04: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-05 04:28: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-05 04: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":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-11-05 04:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04: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-05 04: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-05 04:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04: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-05 04:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221243136001,"66":27332,"177":206,"19":48128,"24":51,"16":39416671517016064,"45":4937422963454504960},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-11-05 04:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221243136001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:28:11] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-05 04:28:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39416671517016064,"km_value":39416671517016.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4937422963454504960,"description":"Unknown IO ID 45"} 
[2026-11-05 04:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221243136001,"power":27332,"unknown_177":206,"unknown_19":48128,"ignition":51,"odometer":null,"unknown_45":4937422963454504960}} 
[2026-11-05 04:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":231174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:28:11] local.INFO: GPS data processed {"connection_id":231174,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:28:11] local.INFO: Acknowledgment sent {"connection_id":231174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:28:37] local.INFO: TCP Data received {"connection_id":229878,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:28:37] local.INFO: Processing buffer {"connection_id":229878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:28:37] local.INFO: IMEI packet received {"connection_id":229878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 04:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":229878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:28:46] local.INFO: TCP Data received {"connection_id":231174,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8c869c8012d44fdc0069101a0003c009528..."} 
[2026-11-05 04:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8c869c8012d44fdc0069101a0003c009528..."} 
[2026-11-05 04:28:46] local.INFO: Processing buffer {"connection_id":231174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8c869c8012d44fdc0069101a0003c009528..."} 
[2026-11-05 04:28:46] local.INFO: Packet analysis {"connection_id":231174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8c8"} 
[2026-11-05 04:28:46] local.INFO: Extracted packet for processing {"connection_id":231174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8c8"} 
[2026-11-05 04:28:46] local.INFO: GPS Element Parsed {"raw_longitude":759496128,"raw_latitude":110166432,"longitude_deg":75.9496128,"latitude_deg":11.0166432,"altitude":60,"angle":149,"satellites":40,"speed":51,"hex_longitude":"2d44fdc0","hex_latitude":"069101a0","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221263616001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39421675153915904,"note":"Value kept but may cause issues"} 
[2026-11-05 04:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4965781567334217728,"note":"Value kept but may cause issues"} 
[2026-11-05 04:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793833069000,"timestamp_ms":1793833069000,"timestamp_seconds":1793833069,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8c869c8"} 
[2026-11-05 04: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-05 04:28: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-05 04: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-11-05 04:28:46] 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-05 04: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-05 04: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-05 04:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":231174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":231174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":231174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:28: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-05 04:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221263616001,"66":27321,"177":206,"19":48128,"24":51,"16":39421675153915904,"45":4965781567334217728},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-11-05 04:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221263616001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:28:46] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-05 04:28:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39421675153915904,"km_value":39421675153915.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4965781567334217728,"description":"Unknown IO ID 45"} 
[2026-11-05 04:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221263616001,"power":27321,"unknown_177":206,"unknown_19":48128,"ignition":51,"odometer":null,"unknown_45":4965781567334217728}} 
[2026-11-05 04:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":231174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:28:46] local.INFO: GPS data processed {"connection_id":231174,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:28:46] local.INFO: Acknowledgment sent {"connection_id":231174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:29:05] local.INFO: TCP Data received {"connection_id":229394,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:29:05] local.INFO: Processing buffer {"connection_id":229394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:29:05] local.INFO: IMEI packet received {"connection_id":229394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":229394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:29:07] local.INFO: TCP Data received {"connection_id":229395,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229395,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:29:07] local.INFO: Processing buffer {"connection_id":229395,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:29:07] local.INFO: IMEI packet received {"connection_id":229395,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 04:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":229395,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:29:10] local.INFO: TCP Data received {"connection_id":229394,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:29:10] local.INFO: Processing buffer {"connection_id":229394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:29:10] local.INFO: IMEI packet received {"connection_id":229394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":229394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:29:20] local.INFO: TCP Data received {"connection_id":229394,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8c88520012d4510400690e1c0003c009628..."} 
[2026-11-05 04:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8c88520012d4510400690e1c0003c009628..."} 
[2026-11-05 04:29:20] local.INFO: Processing buffer {"connection_id":229394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8c88520012d4510400690e1c0003c009628..."} 
[2026-11-05 04:29:20] local.INFO: Packet analysis {"connection_id":229394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8c8"} 
[2026-11-05 04:29:20] local.INFO: Extracted packet for processing {"connection_id":229394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8c8"} 
[2026-11-05 04:29:20] local.INFO: GPS Element Parsed {"raw_longitude":759500864,"raw_latitude":110158272,"longitude_deg":75.9500864,"latitude_deg":11.0158272,"altitude":60,"angle":150,"satellites":40,"speed":55,"hex_longitude":"2d451040","hex_latitude":"0690e1c0","is_valid_coordinates":true} 
[2026-11-05 04:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 04:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221265664001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39422130420449280,"note":"Value kept but may cause issues"} 
[2026-11-05 04:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4971340698122035200,"note":"Value kept but may cause issues"} 
[2026-11-05 04:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793833076000,"timestamp_ms":1793833076000,"timestamp_seconds":1793833076,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8c88520"} 
[2026-11-05 04:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 04:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 04:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 04:29:20] 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-05 04:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 04:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 04:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:29: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-05 04:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221265664001,"66":27234,"177":206,"19":48128,"24":55,"16":39422130420449280,"45":4971340698122035200},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-11-05 04:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221265664001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:29:20] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-05 04:29:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39422130420449280,"km_value":39422130420449.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4971340698122035200,"description":"Unknown IO ID 45"} 
[2026-11-05 04:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221265664001,"power":27234,"unknown_177":206,"unknown_19":48128,"ignition":55,"odometer":null,"unknown_45":4971340698122035200}} 
[2026-11-05 04:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":229394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:29:20] local.INFO: GPS data processed {"connection_id":229394,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:29:20] local.INFO: Acknowledgment sent {"connection_id":229394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:30:21] local.INFO: TCP Data received {"connection_id":229879,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:30:21] local.INFO: Processing buffer {"connection_id":229879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:30:21] local.INFO: IMEI packet received {"connection_id":229879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":229879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:30:23] local.INFO: TCP Data received {"connection_id":229879,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:30:23] local.INFO: Processing buffer {"connection_id":229879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:30:23] local.INFO: IMEI packet received {"connection_id":229879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":229879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:30:24] local.INFO: TCP Data received {"connection_id":229879,"ip":"117.224.67.174","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 04:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229879,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 04:30:24] local.INFO: Processing buffer {"connection_id":229879,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 04:30:24] local.INFO: IMEI packet received {"connection_id":229879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":229879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:34:42] local.INFO: TCP Data received {"connection_id":229398,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:34:42] local.INFO: Processing buffer {"connection_id":229398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:34:42] local.INFO: IMEI packet received {"connection_id":229398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 04:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":229398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:35:07] local.INFO: TCP Data received {"connection_id":231178,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231178,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:35:07] local.INFO: Processing buffer {"connection_id":231178,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:35:07] local.INFO: IMEI packet received {"connection_id":231178,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 04:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":231178,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:35:25] local.INFO: TCP Data received {"connection_id":229881,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:35:25] local.INFO: Processing buffer {"connection_id":229881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:35:25] local.INFO: IMEI packet received {"connection_id":229881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":229881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:35:30] local.INFO: TCP Data received {"connection_id":229881,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8cdf3c0012d4a8400068b68a00012008629..."} 
[2026-11-05 04:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8cdf3c0012d4a8400068b68a00012008629..."} 
[2026-11-05 04:35:30] local.INFO: Processing buffer {"connection_id":229881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8cdf3c0012d4a8400068b68a00012008629..."} 
[2026-11-05 04:35:30] local.INFO: Packet analysis {"connection_id":229881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8cd"} 
[2026-11-05 04:35:30] local.INFO: Extracted packet for processing {"connection_id":229881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8cd"} 
[2026-11-05 04:35:30] local.INFO: GPS Element Parsed {"raw_longitude":759858176,"raw_latitude":109799584,"longitude_deg":75.9858176,"latitude_deg":10.9799584,"altitude":18,"angle":134,"satellites":41,"speed":59,"hex_longitude":"2d4a8400","hex_latitude":"068b68a0","is_valid_coordinates":true} 
[2026-11-05 04:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 04:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221357056001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39449476477222912,"note":"Value kept but may cause issues"} 
[2026-11-05 04:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5362872390634424320,"note":"Value kept but may cause issues"} 
[2026-11-05 04:35:30] 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-05 04:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793833432000,"timestamp_ms":1793833432000,"timestamp_seconds":1793833432,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8cdf3c0"} 
[2026-11-05 04:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 04:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 04:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-11-05 04:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2640,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 04:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 04:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":229881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":229881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":229881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 04:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221357056001,"66":27234,"67":206,"19":48128,"24":59,"16":39449476477222912,"45":5362872390634424320},"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-05 04:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221357056001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:35:30] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-11-05 04:35:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39449476477222912,"km_value":39449476477222.914,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5362872390634424320,"description":"Unknown IO ID 45"} 
[2026-11-05 04:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221357056001,"power":27234,"unknown_67":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":5362872390634424320}} 
[2026-11-05 04:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":229881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:35:30] local.INFO: GPS data processed {"connection_id":229881,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:35:30] local.INFO: Acknowledgment sent {"connection_id":229881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:36:04] local.INFO: TCP Data received {"connection_id":229399,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:36:04] local.INFO: Processing buffer {"connection_id":229399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:36:04] local.INFO: IMEI packet received {"connection_id":229399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":229399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:36:10] local.INFO: TCP Data received {"connection_id":229399,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:36:10] local.INFO: Processing buffer {"connection_id":229399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:36:10] local.INFO: IMEI packet received {"connection_id":229399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":229399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:36:12] local.INFO: TCP Data received {"connection_id":229399,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8cef1a8012d4ba040068b1b180027006328..."} 
[2026-11-05 04:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8cef1a8012d4ba040068b1b180027006328..."} 
[2026-11-05 04:36:12] local.INFO: Processing buffer {"connection_id":229399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8cef1a8012d4ba040068b1b180027006328..."} 
[2026-11-05 04:36:12] local.INFO: Packet analysis {"connection_id":229399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8ce"} 
[2026-11-05 04:36:12] local.INFO: Extracted packet for processing {"connection_id":229399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8ce"} 
[2026-11-05 04:36:12] local.INFO: GPS Element Parsed {"raw_longitude":759930944,"raw_latitude":109779736,"longitude_deg":75.9930944,"latitude_deg":10.9779736,"altitude":39,"angle":99,"satellites":40,"speed":33,"hex_longitude":"2d4ba040","hex_latitude":"068b1b18","is_valid_coordinates":true} 
[2026-11-05 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-05 04:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221372416001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39453131494391808,"note":"Value kept but may cause issues"} 
[2026-11-05 04:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5438941003084009472,"note":"Value kept but may cause issues"} 
[2026-11-05 04:36:12] 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-05 04:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793833497000,"timestamp_ms":1793833497000,"timestamp_seconds":1793833497,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8cef1a8"} 
[2026-11-05 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-05 04:36: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-05 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 04:36:12] 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-05 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-05 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-05 04:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04: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-05 04:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221372416001,"66":27267,"67":206,"19":48128,"24":33,"16":39453131494391808,"45":5438941003084009472},"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-05 04:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221372416001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:36:12] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-11-05 04:36:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39453131494391808,"km_value":39453131494391.805,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5438941003084009472,"description":"Unknown IO ID 45"} 
[2026-11-05 04:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221372416001,"power":27267,"unknown_67":206,"unknown_19":48128,"ignition":33,"odometer":null,"unknown_45":5438941003084009472}} 
[2026-11-05 04:36:12] 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":61450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:36:12] local.INFO: GPS data processed {"connection_id":229399,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:36:12] local.INFO: Acknowledgment sent {"connection_id":229399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:36:44] local.INFO: TCP Data received {"connection_id":229399,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8cf1ca0012d4bc440068b1570002b006228..."} 
[2026-11-05 04:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8cf1ca0012d4bc440068b1570002b006228..."} 
[2026-11-05 04:36:44] local.INFO: Processing buffer {"connection_id":229399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8cf1ca0012d4bc440068b1570002b006228..."} 
[2026-11-05 04:36:44] local.INFO: Packet analysis {"connection_id":229399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8cf"} 
[2026-11-05 04:36:44] local.INFO: Extracted packet for processing {"connection_id":229399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8cf"} 
[2026-11-05 04:36:44] local.INFO: GPS Element Parsed {"raw_longitude":759940160,"raw_latitude":109778288,"longitude_deg":75.994016,"latitude_deg":10.9778288,"altitude":43,"angle":98,"satellites":40,"speed":33,"hex_longitude":"2d4bc440","hex_latitude":"068b1570","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221375232001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39453573876023296,"note":"Value kept but may cause issues"} 
[2026-11-05 04:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5449425945966090240,"note":"Value kept but may cause issues"} 
[2026-11-05 04:36:44] 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-05 04:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793833508000,"timestamp_ms":1793833508000,"timestamp_seconds":1793833508,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8cf1ca0"} 
[2026-11-05 04: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-05 04: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-05 04: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 04:36:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04: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-05 04: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-05 04:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:36: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-05 04:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221375232001,"66":27169,"67":206,"19":48128,"24":33,"16":39453573876023296,"45":5449425945966090240},"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-05 04:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221375232001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:36:44] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-11-05 04:36:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39453573876023296,"km_value":39453573876023.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5449425945966090240,"description":"Unknown IO ID 45"} 
[2026-11-05 04:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221375232001,"power":27169,"unknown_67":206,"unknown_19":48128,"ignition":33,"odometer":null,"unknown_45":5449425945966090240}} 
[2026-11-05 04:36:44] 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":61451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:36:44] local.INFO: GPS data processed {"connection_id":229399,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:36:44] local.INFO: Acknowledgment sent {"connection_id":229399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:37:04] local.INFO: TCP Data received {"connection_id":231179,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:37:04] local.INFO: Processing buffer {"connection_id":231179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:37:04] local.INFO: IMEI packet received {"connection_id":231179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":231179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:37:09] local.INFO: TCP Data received {"connection_id":231179,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:37:09] local.INFO: Processing buffer {"connection_id":231179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:37:09] local.INFO: IMEI packet received {"connection_id":231179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":231179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:37:11] local.INFO: TCP Data received {"connection_id":231179,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8cf4798012d4be780068b0ff8002f006328..."} 
[2026-11-05 04:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8cf4798012d4be780068b0ff8002f006328..."} 
[2026-11-05 04:37:11] local.INFO: Processing buffer {"connection_id":231179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8cf4798012d4be780068b0ff8002f006328..."} 
[2026-11-05 04:37:11] local.INFO: Packet analysis {"connection_id":231179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8cf"} 
[2026-11-05 04:37:11] local.INFO: Extracted packet for processing {"connection_id":231179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8cf"} 
[2026-11-05 04:37:11] local.INFO: GPS Element Parsed {"raw_longitude":759949184,"raw_latitude":109776888,"longitude_deg":75.9949184,"latitude_deg":10.9776888,"altitude":47,"angle":99,"satellites":40,"speed":31,"hex_longitude":"2d4be780","hex_latitude":"068b0ff8","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221378048001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39454007667720192,"note":"Value kept but may cause issues"} 
[2026-11-05 04:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5459559045127303168,"note":"Value kept but may cause issues"} 
[2026-11-05 04:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793833519000,"timestamp_ms":1793833519000,"timestamp_seconds":1793833519,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8cf4798"} 
[2026-11-05 04: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-05 04: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-05 04:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-11-05 04:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04: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-05 04: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-05 04:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04: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-05 04:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221378048001,"66":27343,"67":206,"19":48128,"24":31,"16":39454007667720192,"45":5459559045127303168},"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-05 04:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221378048001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:37:11] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-11-05 04:37:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39454007667720192,"km_value":39454007667720.195,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5459559045127303168,"description":"Unknown IO ID 45"} 
[2026-11-05 04:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221378048001,"power":27343,"unknown_67":206,"unknown_19":48128,"ignition":31,"odometer":null,"unknown_45":5459559045127303168}} 
[2026-11-05 04:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":231179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:37:11] local.INFO: GPS data processed {"connection_id":231179,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:37:11] local.INFO: Acknowledgment sent {"connection_id":231179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:37:43] local.INFO: TCP Data received {"connection_id":231179,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8cf7678012d4c0c00068b09f80034006328..."} 
[2026-11-05 04:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8cf7678012d4c0c00068b09f80034006328..."} 
[2026-11-05 04:37:43] local.INFO: Processing buffer {"connection_id":231179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8cf7678012d4c0c00068b09f80034006328..."} 
[2026-11-05 04:37:43] local.INFO: Packet analysis {"connection_id":231179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8cf"} 
[2026-11-05 04:37:43] local.INFO: Extracted packet for processing {"connection_id":231179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8cf"} 
[2026-11-05 04:37:43] local.INFO: GPS Element Parsed {"raw_longitude":759958528,"raw_latitude":109775352,"longitude_deg":75.9958528,"latitude_deg":10.9775352,"altitude":52,"angle":99,"satellites":40,"speed":30,"hex_longitude":"2d4c0c00","hex_latitude":"068b09f8","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221380864001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39454458639286272,"note":"Value kept but may cause issues"} 
[2026-11-05 04:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5469481038055995392,"note":"Value kept but may cause issues"} 
[2026-11-05 04:37:43] 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-05 04:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793833531000,"timestamp_ms":1793833531000,"timestamp_seconds":1793833531,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8cf7678"} 
[2026-11-05 04: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-05 04:37: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-05 04: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 04:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04: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-05 04: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-05 04:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04: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-05 04:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221380864001,"66":27267,"67":206,"19":48128,"24":30,"16":39454458639286272,"45":5469481038055995392},"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-05 04:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221380864001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:37:43] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-11-05 04:37:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39454458639286272,"km_value":39454458639286.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5469481038055995392,"description":"Unknown IO ID 45"} 
[2026-11-05 04:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221380864001,"power":27267,"unknown_67":206,"unknown_19":48128,"ignition":30,"odometer":null,"unknown_45":5469481038055995392}} 
[2026-11-05 04:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":231179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:37:43] local.INFO: GPS data processed {"connection_id":231179,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:37:43] local.INFO: Acknowledgment sent {"connection_id":231179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:38:04] local.INFO: TCP Data received {"connection_id":233086,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:38:04] local.INFO: Processing buffer {"connection_id":233086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:38:04] local.INFO: IMEI packet received {"connection_id":233086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":233086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:38:10] local.INFO: TCP Data received {"connection_id":233086,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:38:10] local.INFO: Processing buffer {"connection_id":233086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:38:10] local.INFO: IMEI packet received {"connection_id":233086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":233086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:38:11] local.INFO: TCP Data received {"connection_id":233086,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8cfa558012d4c2f00068b04580037006325..."} 
[2026-11-05 04:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8cfa558012d4c2f00068b04580037006325..."} 
[2026-11-05 04:38:11] local.INFO: Processing buffer {"connection_id":233086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8cfa558012d4c2f00068b04580037006325..."} 
[2026-11-05 04:38:11] local.INFO: Packet analysis {"connection_id":233086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8cf"} 
[2026-11-05 04:38:11] local.INFO: Extracted packet for processing {"connection_id":233086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8cf"} 
[2026-11-05 04:38:11] local.INFO: GPS Element Parsed {"raw_longitude":759967488,"raw_latitude":109773912,"longitude_deg":75.9967488,"latitude_deg":10.9773912,"altitude":55,"angle":99,"satellites":37,"speed":30,"hex_longitude":"2d4c2f00","hex_latitude":"068b0458","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221383936001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39454892430983168,"note":"Value kept but may cause issues"} 
[2026-11-05 04:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5479754874705541120,"note":"Value kept but may cause issues"} 
[2026-11-05 04:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793833543000,"timestamp_ms":1793833543000,"timestamp_seconds":1793833543,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8cfa558"} 
[2026-11-05 04: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-05 04:38: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-05 04: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 04:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04: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-05 04: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-05 04:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04: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-05 04:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221383936001,"66":27310,"67":206,"19":48128,"24":30,"16":39454892430983168,"45":5479754874705541120},"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-05 04:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221383936001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:38:11] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-11-05 04:38:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39454892430983168,"km_value":39454892430983.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5479754874705541120,"description":"Unknown IO ID 45"} 
[2026-11-05 04:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221383936001,"power":27310,"unknown_67":206,"unknown_19":48128,"ignition":30,"odometer":null,"unknown_45":5479754874705541120}} 
[2026-11-05 04:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":233086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:38:11] local.INFO: GPS data processed {"connection_id":233086,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:38:11] local.INFO: Acknowledgment sent {"connection_id":233086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:38:43] local.INFO: TCP Data received {"connection_id":233086,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8cfd438012d4c5280068afe90003c006324..."} 
[2026-11-05 04:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8cfd438012d4c5280068afe90003c006324..."} 
[2026-11-05 04:38:43] local.INFO: Processing buffer {"connection_id":233086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8cfd438012d4c5280068afe90003c006324..."} 
[2026-11-05 04:38:43] local.INFO: Packet analysis {"connection_id":233086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8cf"} 
[2026-11-05 04:38:43] local.INFO: Extracted packet for processing {"connection_id":233086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8cf"} 
[2026-11-05 04:38:43] local.INFO: GPS Element Parsed {"raw_longitude":759976576,"raw_latitude":109772432,"longitude_deg":75.9976576,"latitude_deg":10.9772432,"altitude":60,"angle":99,"satellites":36,"speed":30,"hex_longitude":"2d4c5280","hex_latitude":"068afe90","is_valid_coordinates":true} 
[2026-11-05 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-05 04:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221387008001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39455330517647360,"note":"Value kept but may cause issues"} 
[2026-11-05 04:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5489606498890045440,"note":"Value kept but may cause issues"} 
[2026-11-05 04:38:43] 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-05 04:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793833555000,"timestamp_ms":1793833555000,"timestamp_seconds":1793833555,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8cfd438"} 
[2026-11-05 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-05 04:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-11-05 04:38:43] 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-05 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-05 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-05 04:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":233086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":233086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":233086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04: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-05 04:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221387008001,"66":27245,"67":206,"19":48128,"24":30,"16":39455330517647360,"45":5489606498890045440},"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-05 04:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221387008001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:38:43] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-11-05 04:38:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39455330517647360,"km_value":39455330517647.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5489606498890045440,"description":"Unknown IO ID 45"} 
[2026-11-05 04:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221387008001,"power":27245,"unknown_67":206,"unknown_19":48128,"ignition":30,"odometer":null,"unknown_45":5489606498890045440}} 
[2026-11-05 04:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":233086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:38:43] local.INFO: GPS data processed {"connection_id":233086,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:38:43] local.INFO: Acknowledgment sent {"connection_id":233086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:39:07] local.INFO: TCP Data received {"connection_id":233088,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:39:07] local.INFO: Processing buffer {"connection_id":233088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:39:07] local.INFO: IMEI packet received {"connection_id":233088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":233088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:39:19] local.INFO: TCP Data received {"connection_id":233088,"ip":"117.224.67.174","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 04:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233088,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 04:39:19] local.INFO: Processing buffer {"connection_id":233088,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 04:39:19] local.INFO: IMEI packet received {"connection_id":233088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":233088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:39:21] local.INFO: TCP Data received {"connection_id":233088,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8d1b4b0012d4dadc0068ab2a80064007f28..."} 
[2026-11-05 04:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8d1b4b0012d4dadc0068ab2a80064007f28..."} 
[2026-11-05 04:39:21] local.INFO: Processing buffer {"connection_id":233088,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a8..."} 
[2026-11-05 04:39:21] local.INFO: IMEI packet received {"connection_id":233088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":233088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:39:22] local.INFO: TCP Data received {"connection_id":233088,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8d1e390012d4dca80068a9a980067008328..."} 
[2026-11-05 04:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8d1e390012d4dca80068a9a980067008328..."} 
[2026-11-05 04:39:22] local.INFO: Processing buffer {"connection_id":233088,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1a8d1b4b0012d4dadc0068ab2a80064007f28..."} 
[2026-11-05 04:39:22] local.INFO: Packet analysis {"connection_id":233088,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1a8d1"} 
[2026-11-05 04:39:22] local.INFO: Extracted packet for processing {"connection_id":233088,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8d1"} 
[2026-11-05 04:39:22] local.INFO: GPS Element Parsed {"raw_longitude":760065472,"raw_latitude":109753000,"longitude_deg":76.0065472,"latitude_deg":10.9753,"altitude":100,"angle":127,"satellites":40,"speed":29,"hex_longitude":"2d4dadc0","hex_latitude":"068ab2a8","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221421568001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39459694204420096,"note":"Value kept but may cause issues"} 
[2026-11-05 04:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5597341046220695552,"note":"Value kept but may cause issues"} 
[2026-11-05 04:39:22] 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-05 04:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793833678000,"timestamp_ms":1793833678000,"timestamp_seconds":1793833678,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8d1b4b0"} 
[2026-11-05 04: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-05 04:39: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-05 04: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 04:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04: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-05 04: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-05 04:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":233088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":233088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":233088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04: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-05 04:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221421568001,"66":27267,"68":206,"19":48128,"24":29,"16":39459694204420096,"45":5597341046220695552},"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-05 04:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221421568001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:39:22] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-11-05 04:39:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39459694204420096,"km_value":39459694204420.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5597341046220695552,"description":"Unknown IO ID 45"} 
[2026-11-05 04:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221421568001,"power":27267,"unknown_68":206,"unknown_19":48128,"ignition":29,"odometer":null,"unknown_45":5597341046220695552}} 
[2026-11-05 04:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":233088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:39:22] local.INFO: GPS data processed {"connection_id":233088,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:39:22] local.INFO: Acknowledgment sent {"connection_id":233088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:39:22] local.INFO: Packet analysis {"connection_id":233088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8d1"} 
[2026-11-05 04:39:22] local.INFO: Extracted packet for processing {"connection_id":233088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8d1"} 
[2026-11-05 04:39:22] local.INFO: GPS Element Parsed {"raw_longitude":760072832,"raw_latitude":109746840,"longitude_deg":76.0072832,"latitude_deg":10.974684,"altitude":103,"angle":131,"satellites":40,"speed":34,"hex_longitude":"2d4dca80","hex_latitude":"068a9a98","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221421568001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39460158060888064,"note":"Value kept but may cause issues"} 
[2026-11-05 04:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5597341046220695552,"note":"Value kept but may cause issues"} 
[2026-11-05 04:39:22] 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-05 04:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793833690000,"timestamp_ms":1793833690000,"timestamp_seconds":1793833690,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8d1e390"} 
[2026-11-05 04: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-05 04:39: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-05 04: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 04:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04: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-05 04: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-05 04:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":233088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":233088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":233088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04: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-05 04:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221421568001,"66":27234,"68":206,"19":48128,"24":34,"16":39460158060888064,"45":5597341046220695552},"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-05 04:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221421568001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:39:22] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-11-05 04:39:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39460158060888064,"km_value":39460158060888.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5597341046220695552,"description":"Unknown IO ID 45"} 
[2026-11-05 04:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221421568001,"power":27234,"unknown_68":206,"unknown_19":48128,"ignition":34,"odometer":null,"unknown_45":5597341046220695552}} 
[2026-11-05 04:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":233088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:39:22] local.INFO: GPS data processed {"connection_id":233088,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:39:22] local.INFO: Acknowledgment sent {"connection_id":233088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:39:25] local.INFO: TCP Data received {"connection_id":233088,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8d20aa0012d4de580068a83b8006a008426..."} 
[2026-11-05 04:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8d20aa0012d4de580068a83b8006a008426..."} 
[2026-11-05 04:39:25] local.INFO: Processing buffer {"connection_id":233088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8d20aa0012d4de580068a83b8006a008426..."} 
[2026-11-05 04:39:25] local.INFO: Packet analysis {"connection_id":233088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8d2"} 
[2026-11-05 04:39:25] local.INFO: Extracted packet for processing {"connection_id":233088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8d2"} 
[2026-11-05 04:39:25] local.INFO: GPS Element Parsed {"raw_longitude":760079744,"raw_latitude":109740984,"longitude_deg":76.0079744,"latitude_deg":10.9740984,"altitude":106,"angle":132,"satellites":38,"speed":37,"hex_longitude":"2d4de580","hex_latitude":"068a83b8","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221424640001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39460591852584960,"note":"Value kept but may cause issues"} 
[2026-11-05 04:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5605433451799549952,"note":"Value kept but may cause issues"} 
[2026-11-05 04:39:25] 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-05 04:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793833700000,"timestamp_ms":1793833700000,"timestamp_seconds":1793833700,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8d20aa0"} 
[2026-11-05 04: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-05 04:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 04: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 04:39:25] 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-05 04: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-05 04: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-05 04:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":233088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":233088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":233088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:39: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-05 04:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221424640001,"66":27321,"68":206,"19":48128,"24":37,"16":39460591852584960,"45":5605433451799549952},"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-05 04:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221424640001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:39:25] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-11-05 04:39:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39460591852584960,"km_value":39460591852584.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5605433451799549952,"description":"Unknown IO ID 45"} 
[2026-11-05 04:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221424640001,"power":27321,"unknown_68":206,"unknown_19":48128,"ignition":37,"odometer":null,"unknown_45":5605433451799549952}} 
[2026-11-05 04:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":233088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:39:25] local.INFO: GPS data processed {"connection_id":233088,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:39:25] local.INFO: Acknowledgment sent {"connection_id":233088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:40:03] local.INFO: TCP Data received {"connection_id":229400,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:40:03] local.INFO: Processing buffer {"connection_id":229400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:40:03] local.INFO: IMEI packet received {"connection_id":229400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":229400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:40:04] local.INFO: TCP Data received {"connection_id":229400,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:40:04] local.INFO: Processing buffer {"connection_id":229400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:40:04] local.INFO: IMEI packet received {"connection_id":229400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":229400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:40:08] local.INFO: TCP Data received {"connection_id":229400,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:40:08] local.INFO: Processing buffer {"connection_id":229400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:40:08] local.INFO: IMEI packet received {"connection_id":229400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":229400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:40:09] local.INFO: TCP Data received {"connection_id":229400,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8d22dc8012d4dfc80068a6a30006c008f18..."} 
[2026-11-05 04:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8d22dc8012d4dfc80068a6a30006c008f18..."} 
[2026-11-05 04:40:09] local.INFO: Processing buffer {"connection_id":229400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8d22dc8012d4dfc80068a6a30006c008f18..."} 
[2026-11-05 04:40:09] local.INFO: Packet analysis {"connection_id":229400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8d2"} 
[2026-11-05 04:40:09] local.INFO: Extracted packet for processing {"connection_id":229400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8d2"} 
[2026-11-05 04:40:09] local.INFO: GPS Element Parsed {"raw_longitude":760085632,"raw_latitude":109734448,"longitude_deg":76.0085632,"latitude_deg":10.9734448,"altitude":108,"angle":143,"satellites":24,"speed":39,"hex_longitude":"2d4dfc80","hex_latitude":"068a6a30","is_valid_coordinates":true} 
[2026-11-05 04:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 04:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221427200001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39461012759379968,"note":"Value kept but may cause issues"} 
[2026-11-05 04:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5613033276169238528,"note":"Value kept but may cause issues"} 
[2026-11-05 04:40:09] 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-05 04:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793833709000,"timestamp_ms":1793833709000,"timestamp_seconds":1793833709,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8d22dc8"} 
[2026-11-05 04:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 04:40: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-05 04:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 04:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 04:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 04:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:40: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-05 04:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221427200001,"66":27234,"68":206,"19":48128,"24":39,"16":39461012759379968,"45":5613033276169238528},"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-05 04:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221427200001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:40:09] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-11-05 04:40:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39461012759379968,"km_value":39461012759379.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":5613033276169238528,"description":"Unknown IO ID 45"} 
[2026-11-05 04:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221427200001,"power":27234,"unknown_68":206,"unknown_19":48128,"ignition":39,"odometer":null,"unknown_45":5613033276169238528}} 
[2026-11-05 04:40:09] 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":61459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:40:09] local.INFO: GPS data processed {"connection_id":229400,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:40:09] local.INFO: Acknowledgment sent {"connection_id":229400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:40:32] local.INFO: TCP Data received {"connection_id":229882,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229882,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:40:32] local.INFO: Processing buffer {"connection_id":229882,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:40:32] local.INFO: IMEI packet received {"connection_id":229882,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 04:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":229882,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:40:40] local.INFO: TCP Data received {"connection_id":229400,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8d36a30012d4df54006889ab0005000af28..."} 
[2026-11-05 04:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8d36a30012d4df54006889ab0005000af28..."} 
[2026-11-05 04:40:40] local.INFO: Processing buffer {"connection_id":229400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8d36a30012d4df54006889ab0005000af28..."} 
[2026-11-05 04:40:40] local.INFO: Packet analysis {"connection_id":229400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8d3"} 
[2026-11-05 04:40:40] local.INFO: Extracted packet for processing {"connection_id":229400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8d3"} 
[2026-11-05 04:40:40] local.INFO: GPS Element Parsed {"raw_longitude":760083776,"raw_latitude":109615792,"longitude_deg":76.0083776,"latitude_deg":10.9615792,"altitude":80,"angle":175,"satellites":40,"speed":74,"hex_longitude":"2d4df540","hex_latitude":"06889ab0","is_valid_coordinates":true} 
[2026-11-05 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-05 04:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221448960001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39466896864575488,"note":"Value kept but may cause issues"} 
[2026-11-05 04:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5616270238371751936,"note":"Value kept but may cause issues"} 
[2026-11-05 04:40:40] 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-05 04:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793833790000,"timestamp_ms":1793833790000,"timestamp_seconds":1793833790,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8d36a30"} 
[2026-11-05 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-05 04:40: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-05 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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-11-05 04:40:40] 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-05 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-05 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-05 04:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:40: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-05 04:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221448960001,"66":206,"19":48128,"24":74,"16":39466896864575488,"45":5616270238371751936},"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-05 04:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221448960001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:40:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39466896864575488,"km_value":39466896864575.484,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5616270238371751936,"description":"Unknown IO ID 45"} 
[2026-11-05 04:40:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459221448960001,"power":206,"unknown_19":48128,"ignition":74,"odometer":null,"unknown_45":5616270238371751936}} 
[2026-11-05 04:40:40] 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":61460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:40:40] local.INFO: GPS data processed {"connection_id":229400,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:40:40] local.INFO: Acknowledgment sent {"connection_id":229400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:41:04] local.INFO: TCP Data received {"connection_id":231180,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:41:04] local.INFO: Processing buffer {"connection_id":231180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:41:04] local.INFO: IMEI packet received {"connection_id":231180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":231180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:41:04] local.INFO: TCP Data received {"connection_id":231180,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:41:04] local.INFO: Processing buffer {"connection_id":231180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:41:04] local.INFO: IMEI packet received {"connection_id":231180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":231180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:41:10] local.INFO: TCP Data received {"connection_id":231180,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:41:10] local.INFO: Processing buffer {"connection_id":231180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:41:10] local.INFO: IMEI packet received {"connection_id":231180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":231180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:41:12] local.INFO: TCP Data received {"connection_id":233089,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233089,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:41:12] local.INFO: Processing buffer {"connection_id":233089,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:41:12] local.INFO: IMEI packet received {"connection_id":233089,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 04:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":233089,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:41:13] local.INFO: TCP Data received {"connection_id":231180,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8d37db8012d4df68006887640004f00b626..."} 
[2026-11-05 04:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8d37db8012d4df68006887640004f00b626..."} 
[2026-11-05 04:41:13] local.INFO: Processing buffer {"connection_id":231180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8d37db8012d4df68006887640004f00b626..."} 
[2026-11-05 04:41:13] local.INFO: Packet analysis {"connection_id":231180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8d3"} 
[2026-11-05 04:41:13] local.INFO: Extracted packet for processing {"connection_id":231180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8d3"} 
[2026-11-05 04:41:13] local.INFO: GPS Element Parsed {"raw_longitude":760084096,"raw_latitude":109606464,"longitude_deg":76.0084096,"latitude_deg":10.9606464,"altitude":79,"angle":182,"satellites":38,"speed":73,"hex_longitude":"2d4df680","hex_latitude":"06887640","is_valid_coordinates":true} 
[2026-11-05 04:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 04:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221450240001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39467347836141568,"note":"Value kept but may cause issues"} 
[2026-11-05 04:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5617466507020382208,"note":"Value kept but may cause issues"} 
[2026-11-05 04:41: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-05 04:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793833795000,"timestamp_ms":1793833795000,"timestamp_seconds":1793833795,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8d37db8"} 
[2026-11-05 04:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 04:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 04:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-05 04:41:13] 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-05 04:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 04:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 04:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":231180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":231180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":231180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:41: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-05 04:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221450240001,"66":206,"19":48128,"24":73,"16":39467347836141568,"45":5617466507020382208},"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-05 04:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221450240001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:41:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39467347836141568,"km_value":39467347836141.57,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5617466507020382208,"description":"Unknown IO ID 45"} 
[2026-11-05 04:41:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459221450240001,"power":206,"unknown_19":48128,"ignition":73,"odometer":null,"unknown_45":5617466507020382208}} 
[2026-11-05 04:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":231180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:41:13] local.INFO: GPS data processed {"connection_id":231180,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:41:13] local.INFO: Acknowledgment sent {"connection_id":231180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:41:46] local.INFO: TCP Data received {"connection_id":231180,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8d39140012d4df280068852e8004e00bd26..."} 
[2026-11-05 04:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8d39140012d4df280068852e8004e00bd26..."} 
[2026-11-05 04:41:46] local.INFO: Processing buffer {"connection_id":231180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8d39140012d4df280068852e8004e00bd26..."} 
[2026-11-05 04:41:46] local.INFO: Packet analysis {"connection_id":231180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8d3"} 
[2026-11-05 04:41:46] local.INFO: Extracted packet for processing {"connection_id":231180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8d3"} 
[2026-11-05 04:41:46] local.INFO: GPS Element Parsed {"raw_longitude":760083072,"raw_latitude":109597416,"longitude_deg":76.0083072,"latitude_deg":10.9597416,"altitude":78,"angle":189,"satellites":38,"speed":70,"hex_longitude":"2d4df280","hex_latitude":"068852e8","is_valid_coordinates":true} 
[2026-11-05 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-05 04:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221451520001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39467790217773056,"note":"Value kept but may cause issues"} 
[2026-11-05 04:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5617818350738882560,"note":"Value kept but may cause issues"} 
[2026-11-05 04:41:46] 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-05 04:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793833800000,"timestamp_ms":1793833800000,"timestamp_seconds":1793833800,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8d39140"} 
[2026-11-05 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-05 04:41: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-05 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":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-11-05 04:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 04:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":231180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":231180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":231180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:41: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-05 04:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221451520001,"66":206,"19":48128,"24":70,"16":39467790217773056,"45":5617818350738882560},"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-05 04:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221451520001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:41:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39467790217773056,"km_value":39467790217773.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5617818350738882560,"description":"Unknown IO ID 45"} 
[2026-11-05 04:41:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459221451520001,"power":206,"unknown_19":48128,"ignition":70,"odometer":null,"unknown_45":5617818350738882560}} 
[2026-11-05 04:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":231180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:41:46] local.INFO: GPS data processed {"connection_id":231180,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:41:46] local.INFO: Acknowledgment sent {"connection_id":231180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:42:17] local.INFO: TCP Data received {"connection_id":233090,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:42:17] local.INFO: Processing buffer {"connection_id":233090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:42:17] local.INFO: IMEI packet received {"connection_id":233090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":233090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:42:19] local.INFO: TCP Data received {"connection_id":233090,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:42:19] local.INFO: Processing buffer {"connection_id":233090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:42:19] local.INFO: IMEI packet received {"connection_id":233090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":233090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:42:20] local.INFO: TCP Data received {"connection_id":233090,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8d3a8b0012d4de98006882bc0005000c225..."} 
[2026-11-05 04:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8d3a8b0012d4de98006882bc0005000c225..."} 
[2026-11-05 04:42:20] local.INFO: Processing buffer {"connection_id":233090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8d3a8b0012d4de98006882bc0005000c225..."} 
[2026-11-05 04:42:20] local.INFO: Packet analysis {"connection_id":233090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8d3"} 
[2026-11-05 04:42:20] local.INFO: Extracted packet for processing {"connection_id":233090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8d3"} 
[2026-11-05 04:42:20] local.INFO: GPS Element Parsed {"raw_longitude":760080768,"raw_latitude":109587392,"longitude_deg":76.0080768,"latitude_deg":10.9587392,"altitude":80,"angle":194,"satellites":37,"speed":65,"hex_longitude":"2d4de980","hex_latitude":"06882bc0","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221452800001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39468288433979392,"note":"Value kept but may cause issues"} 
[2026-11-05 04:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5616692450829723648,"note":"Value kept but may cause issues"} 
[2026-11-05 04:42:20] 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-05 04:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793833806000,"timestamp_ms":1793833806000,"timestamp_seconds":1793833806,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8d3a8b0"} 
[2026-11-05 04: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-05 04:42: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-05 04: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 04:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04: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-05 04: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-05 04:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":233090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":233090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":233090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:42: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-05 04:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221452800001,"66":206,"19":48128,"24":65,"16":39468288433979392,"45":5616692450829723648},"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-05 04:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221452800001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:42:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39468288433979392,"km_value":39468288433979.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5616692450829723648,"description":"Unknown IO ID 45"} 
[2026-11-05 04:42:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459221452800001,"power":206,"unknown_19":48128,"ignition":65,"odometer":null,"unknown_45":5616692450829723648}} 
[2026-11-05 04:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":233090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:42:20] local.INFO: GPS data processed {"connection_id":233090,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:42:20] local.INFO: Acknowledgment sent {"connection_id":233090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:42:24] local.INFO: TCP Data received {"connection_id":233090,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8d3c020012d4de040068808d8005300c226..."} 
[2026-11-05 04:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8d3c020012d4de040068808d8005300c226..."} 
[2026-11-05 04:42:24] local.INFO: Processing buffer {"connection_id":233090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8d3c020012d4de040068808d8005300c226..."} 
[2026-11-05 04:42:24] local.INFO: Packet analysis {"connection_id":233090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8d3"} 
[2026-11-05 04:42:24] local.INFO: Extracted packet for processing {"connection_id":233090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8d3"} 
[2026-11-05 04:42:24] local.INFO: GPS Element Parsed {"raw_longitude":760078400,"raw_latitude":109578456,"longitude_deg":76.00784,"latitude_deg":10.9578456,"altitude":83,"angle":194,"satellites":38,"speed":57,"hex_longitude":"2d4de040","hex_latitude":"068808d8","is_valid_coordinates":true} 
[2026-11-05 04:42: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-05 04:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221454336001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39468735110578176,"note":"Value kept but may cause issues"} 
[2026-11-05 04:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5614159176036761600,"note":"Value kept but may cause issues"} 
[2026-11-05 04:42:24] 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-05 04:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793833812000,"timestamp_ms":1793833812000,"timestamp_seconds":1793833812,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8d3c020"} 
[2026-11-05 04:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 04:42: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-05 04:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 04:42:24] 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-05 04:42: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-05 04:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 04:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":233090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":233090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":233090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:42: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-05 04:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221454336001,"66":206,"19":48128,"24":57,"16":39468735110578176,"45":5614159176036761600},"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-05 04:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221454336001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:42:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 04:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39468735110578176,"km_value":39468735110578.18,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5614159176036761600,"description":"Unknown IO ID 45"} 
[2026-11-05 04:42:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459221454336001,"power":206,"unknown_19":48128,"ignition":57,"odometer":null,"unknown_45":5614159176036761600}} 
[2026-11-05 04:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":233090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:42:24] local.INFO: GPS data processed {"connection_id":233090,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:42:24] local.INFO: Acknowledgment sent {"connection_id":233090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:43:10] local.INFO: TCP Data received {"connection_id":231181,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:43:10] local.INFO: Processing buffer {"connection_id":231181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:43:10] local.INFO: IMEI packet received {"connection_id":231181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":231181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:43:13] local.INFO: TCP Data received {"connection_id":231181,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:43:13] local.INFO: Processing buffer {"connection_id":231181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:43:13] local.INFO: IMEI packet received {"connection_id":231181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":231181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:43:13] local.INFO: TCP Data received {"connection_id":231181,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8d52f50012d4d710006868768007400d326..."} 
[2026-11-05 04:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8d52f50012d4d710006868768007400d326..."} 
[2026-11-05 04:43:13] local.INFO: Processing buffer {"connection_id":231181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8d52f50012d4d710006868768007400d326..."} 
[2026-11-05 04:43:13] local.INFO: Packet analysis {"connection_id":231181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8d5"} 
[2026-11-05 04:43:13] local.INFO: Extracted packet for processing {"connection_id":231181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8d5"} 
[2026-11-05 04:43:13] local.INFO: GPS Element Parsed {"raw_longitude":760049920,"raw_latitude":109479784,"longitude_deg":76.004992,"latitude_deg":10.9479784,"altitude":116,"angle":211,"satellites":38,"speed":34,"hex_longitude":"2d4d7100","hex_latitude":"06868768","is_valid_coordinates":true} 
[2026-11-05 04:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 04:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221477376001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39473717272641536,"note":"Value kept but may cause issues"} 
[2026-11-05 04:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5584604303456583680,"note":"Value kept but may cause issues"} 
[2026-11-05 04:43: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-05 04:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793833906000,"timestamp_ms":1793833906000,"timestamp_seconds":1793833906,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8d52f50"} 
[2026-11-05 04:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 04:43: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-05 04:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 04:43: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-05 04:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 04:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 04:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":231181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":231181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":231181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04: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-05 04:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221477376001,"66":27071,"229":206,"19":47872,"24":34,"16":39473717272641536,"45":5584604303456583680},"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-05 04:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221477376001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:43:13] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-11-05 04:43:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 04:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39473717272641536,"km_value":39473717272641.54,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5584604303456583680,"description":"Unknown IO ID 45"} 
[2026-11-05 04:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221477376001,"power":27071,"unknown_229":206,"unknown_19":47872,"ignition":34,"odometer":null,"unknown_45":5584604303456583680}} 
[2026-11-05 04:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":231181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:43:13] local.INFO: GPS data processed {"connection_id":231181,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:43:13] local.INFO: Acknowledgment sent {"connection_id":231181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:43:15] local.INFO: TCP Data received {"connection_id":231181,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8d55660012d4d5c0006866b30007500db27..."} 
[2026-11-05 04:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8d55660012d4d5c0006866b30007500db27..."} 
[2026-11-05 04:43:15] local.INFO: Processing buffer {"connection_id":231181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8d55660012d4d5c0006866b30007500db27..."} 
[2026-11-05 04:43:15] local.INFO: Packet analysis {"connection_id":231181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8d5"} 
[2026-11-05 04:43:15] local.INFO: Extracted packet for processing {"connection_id":231181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8d5"} 
[2026-11-05 04:43:15] local.INFO: GPS Element Parsed {"raw_longitude":760044544,"raw_latitude":109472560,"longitude_deg":76.0044544,"latitude_deg":10.947256,"altitude":117,"angle":219,"satellites":39,"speed":36,"hex_longitude":"2d4d5c00","hex_latitude":"06866b30","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221479936001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39474151064338432,"note":"Value kept but may cause issues"} 
[2026-11-05 04:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5580241441315579904,"note":"Value kept but may cause issues"} 
[2026-11-05 04:43:15] 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-05 04:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793833916000,"timestamp_ms":1793833916000,"timestamp_seconds":1793833916,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8d55660"} 
[2026-11-05 04: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-05 04:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 04: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":191,"data_length":795,"current_offset":136} 
[2026-11-05 04:43: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-05 04: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-05 04: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-05 04:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":231181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":231181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":231181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04: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-05 04:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221479936001,"66":27267,"229":206,"19":47872,"24":36,"16":39474151064338432,"45":5580241441315579904},"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-05 04:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221479936001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:43:15] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-11-05 04:43:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 04:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39474151064338432,"km_value":39474151064338.43,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5580241441315579904,"description":"Unknown IO ID 45"} 
[2026-11-05 04:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221479936001,"power":27267,"unknown_229":206,"unknown_19":47872,"ignition":36,"odometer":null,"unknown_45":5580241441315579904}} 
[2026-11-05 04:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":231181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:43:15] local.INFO: GPS data processed {"connection_id":231181,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:43:15] local.INFO: Acknowledgment sent {"connection_id":231181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:43:46] local.INFO: TCP Data received {"connection_id":231181,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8d57d70012d4d438006864f10007500db28..."} 
[2026-11-05 04:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8d57d70012d4d438006864f10007500db28..."} 
[2026-11-05 04:43:46] local.INFO: Processing buffer {"connection_id":231181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8d57d70012d4d438006864f10007500db28..."} 
[2026-11-05 04:43:46] local.INFO: Packet analysis {"connection_id":231181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8d5"} 
[2026-11-05 04:43:46] local.INFO: Extracted packet for processing {"connection_id":231181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8d5"} 
[2026-11-05 04:43:46] local.INFO: GPS Element Parsed {"raw_longitude":760038272,"raw_latitude":109465360,"longitude_deg":76.0038272,"latitude_deg":10.946536,"altitude":117,"angle":219,"satellites":40,"speed":38,"hex_longitude":"2d4d4380","hex_latitude":"06864f10","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221482496001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39474610625839104,"note":"Value kept but may cause issues"} 
[2026-11-05 04:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5574330466802806784,"note":"Value kept but may cause issues"} 
[2026-11-05 04:43:46] 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-05 04:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793833926000,"timestamp_ms":1793833926000,"timestamp_seconds":1793833926,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8d57d70"} 
[2026-11-05 04: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-05 04:43: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-05 04: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 04:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04: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-05 04: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-05 04:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":231181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":231181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":231181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:43: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-05 04:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221482496001,"66":27332,"229":206,"19":47872,"24":38,"16":39474610625839104,"45":5574330466802806784},"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-05 04:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221482496001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:43:46] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-11-05 04:43:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 04:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39474610625839104,"km_value":39474610625839.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5574330466802806784,"description":"Unknown IO ID 45"} 
[2026-11-05 04:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221482496001,"power":27332,"unknown_229":206,"unknown_19":47872,"ignition":38,"odometer":null,"unknown_45":5574330466802806784}} 
[2026-11-05 04:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":231181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:43:46] local.INFO: GPS data processed {"connection_id":231181,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:43:46] local.INFO: Acknowledgment sent {"connection_id":231181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:44:04] local.INFO: TCP Data received {"connection_id":231182,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:44:04] local.INFO: Processing buffer {"connection_id":231182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:44:04] local.INFO: IMEI packet received {"connection_id":231182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":231182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:44:07] local.INFO: TCP Data received {"connection_id":231182,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:44:07] local.INFO: Processing buffer {"connection_id":231182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:44:07] local.INFO: IMEI packet received {"connection_id":231182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":231182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:44:07] local.INFO: TCP Data received {"connection_id":231182,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:44:07] local.INFO: Processing buffer {"connection_id":231182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:44:07] local.INFO: IMEI packet received {"connection_id":231182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":231182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:44:09] local.INFO: TCP Data received {"connection_id":231182,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:44:09] local.INFO: Processing buffer {"connection_id":231182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:44:09] local.INFO: IMEI packet received {"connection_id":231182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":231182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:44:10] local.INFO: TCP Data received {"connection_id":231182,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8d66fa0012d4cd48006854240006b009b2a..."} 
[2026-11-05 04:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8d66fa0012d4cd48006854240006b009b2a..."} 
[2026-11-05 04:44:10] local.INFO: Processing buffer {"connection_id":231182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8d66fa0012d4cd48006854240006b009b2a..."} 
[2026-11-05 04:44:10] local.INFO: Packet analysis {"connection_id":231182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8d6"} 
[2026-11-05 04:44:10] local.INFO: Extracted packet for processing {"connection_id":231182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8d6"} 
[2026-11-05 04:44:10] local.INFO: GPS Element Parsed {"raw_longitude":760009856,"raw_latitude":109396544,"longitude_deg":76.0009856,"latitude_deg":10.9396544,"altitude":107,"angle":155,"satellites":42,"speed":62,"hex_longitude":"2d4cd480","hex_latitude":"06854240","is_valid_coordinates":true} 
[2026-11-05 04:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 04:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221499392001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39478579175620608,"note":"Value kept but may cause issues"} 
[2026-11-05 04:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5531616639069716480,"note":"Value kept but may cause issues"} 
[2026-11-05 04:44:10] 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-05 04:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793833988000,"timestamp_ms":1793833988000,"timestamp_seconds":1793833988,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8d66fa0"} 
[2026-11-05 04:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 04:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 04:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 04:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 04:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 04:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:44: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-05 04:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221499392001,"66":27321,"229":206,"19":47872,"24":62,"16":39478579175620608,"45":5531616639069716480},"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-05 04:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221499392001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:44:10] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-11-05 04:44:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 04:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39478579175620608,"km_value":39478579175620.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5531616639069716480,"description":"Unknown IO ID 45"} 
[2026-11-05 04:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221499392001,"power":27321,"unknown_229":206,"unknown_19":47872,"ignition":62,"odometer":null,"unknown_45":5531616639069716480}} 
[2026-11-05 04:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":231182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:44:10] local.INFO: GPS data processed {"connection_id":231182,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:44:10] local.INFO: Acknowledgment sent {"connection_id":231182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:44:15] local.INFO: TCP Data received {"connection_id":231182,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8d68710012d4ce40006852200006b009b2a..."} 
[2026-11-05 04:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8d68710012d4ce40006852200006b009b2a..."} 
[2026-11-05 04:44:15] local.INFO: Processing buffer {"connection_id":231182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8d68710012d4ce40006852200006b009b2a..."} 
[2026-11-05 04:44:15] local.INFO: Packet analysis {"connection_id":231182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8d6"} 
[2026-11-05 04:44:15] local.INFO: Extracted packet for processing {"connection_id":231182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8d6"} 
[2026-11-05 04:44:15] local.INFO: GPS Element Parsed {"raw_longitude":760013824,"raw_latitude":109388288,"longitude_deg":76.0013824,"latitude_deg":10.9388288,"altitude":107,"angle":155,"satellites":42,"speed":58,"hex_longitude":"2d4ce400","hex_latitude":"06852200","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221500928001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39479021557252096,"note":"Value kept but may cause issues"} 
[2026-11-05 04:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5536190607439052800,"note":"Value kept but may cause issues"} 
[2026-11-05 04:44:15] 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-05 04:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793833994000,"timestamp_ms":1793833994000,"timestamp_seconds":1793833994,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8d68710"} 
[2026-11-05 04: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-05 04:44: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-05 04: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 04:44:15] 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-05 04: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-05 04: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-05 04:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":231182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":231182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":231182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:44: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-05 04:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221500928001,"66":27213,"229":206,"19":47872,"24":58,"16":39479021557252096,"45":5536190607439052800},"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-05 04:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221500928001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:44:15] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-11-05 04:44:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 04:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39479021557252096,"km_value":39479021557252.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5536190607439052800,"description":"Unknown IO ID 45"} 
[2026-11-05 04:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221500928001,"power":27213,"unknown_229":206,"unknown_19":47872,"ignition":58,"odometer":null,"unknown_45":5536190607439052800}} 
[2026-11-05 04:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":231182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:44:15] local.INFO: GPS data processed {"connection_id":231182,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:44:15] local.INFO: Acknowledgment sent {"connection_id":231182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:44:47] local.INFO: TCP Data received {"connection_id":231182,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8d6a268012d4cf5400684ff20006d00992a..."} 
[2026-11-05 04:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8d6a268012d4cf5400684ff20006d00992a..."} 
[2026-11-05 04:44:47] local.INFO: Processing buffer {"connection_id":231182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8d6a268012d4cf5400684ff20006d00992a..."} 
[2026-11-05 04:44:47] local.INFO: Packet analysis {"connection_id":231182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8d6"} 
[2026-11-05 04:44:47] local.INFO: Extracted packet for processing {"connection_id":231182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8d6"} 
[2026-11-05 04:44:47] local.INFO: GPS Element Parsed {"raw_longitude":760018240,"raw_latitude":109379360,"longitude_deg":76.001824,"latitude_deg":10.937936,"altitude":109,"angle":153,"satellites":42,"speed":55,"hex_longitude":"2d4cf540","hex_latitude":"0684ff20","is_valid_coordinates":true} 
[2026-11-05 04:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 04:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221502464001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39479502593589248,"note":"Value kept but may cause issues"} 
[2026-11-05 04:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540553469575954432,"note":"Value kept but may cause issues"} 
[2026-11-05 04:44:47] 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-05 04:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793834001000,"timestamp_ms":1793834001000,"timestamp_seconds":1793834001,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8d6a268"} 
[2026-11-05 04:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 04:44: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-05 04:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-11-05 04:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 04:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 04:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":231182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":231182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":231182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:44: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-05 04:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221502464001,"66":27343,"227":206,"19":47872,"24":55,"16":39479502593589248,"45":5540553469575954432},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,19,24,16,45]} 
[2026-11-05 04:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221502464001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:44:47] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-11-05 04:44:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 04:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39479502593589248,"km_value":39479502593589.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540553469575954432,"description":"Unknown IO ID 45"} 
[2026-11-05 04:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221502464001,"power":27343,"unknown_227":206,"unknown_19":47872,"ignition":55,"odometer":null,"unknown_45":5540553469575954432}} 
[2026-11-05 04:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":231182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:44:47] local.INFO: GPS data processed {"connection_id":231182,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:44:47] local.INFO: Acknowledgment sent {"connection_id":231182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:45:04] local.INFO: TCP Data received {"connection_id":231183,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:45:04] local.INFO: Processing buffer {"connection_id":231183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:45:04] local.INFO: IMEI packet received {"connection_id":231183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":231183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:45:06] local.INFO: TCP Data received {"connection_id":231183,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:45:06] local.INFO: Processing buffer {"connection_id":231183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:45:06] local.INFO: IMEI packet received {"connection_id":231183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":231183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:45:07] local.INFO: TCP Data received {"connection_id":231183,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:45:07] local.INFO: Processing buffer {"connection_id":231183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:45:07] local.INFO: IMEI packet received {"connection_id":231183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":231183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:45:09] local.INFO: TCP Data received {"connection_id":231183,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:45:09] local.INFO: Processing buffer {"connection_id":231183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:45:09] local.INFO: IMEI packet received {"connection_id":231183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":231183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:45:11] local.INFO: TCP Data received {"connection_id":231183,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8d6bdc0012d4d08800684dfb0006f008e2a..."} 
[2026-11-05 04:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8d6bdc0012d4d08800684dfb0006f008e2a..."} 
[2026-11-05 04:45:11] local.INFO: Processing buffer {"connection_id":231183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8d6bdc0012d4d08800684dfb0006f008e2a..."} 
[2026-11-05 04:45:11] local.INFO: Packet analysis {"connection_id":231183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8d6"} 
[2026-11-05 04:45:11] local.INFO: Extracted packet for processing {"connection_id":231183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8d6"} 
[2026-11-05 04:45:11] local.INFO: GPS Element Parsed {"raw_longitude":760023168,"raw_latitude":109371312,"longitude_deg":76.0023168,"latitude_deg":10.9371312,"altitude":111,"angle":142,"satellites":42,"speed":52,"hex_longitude":"2d4d0880","hex_latitude":"0684dfb0","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221504256001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39479962155089920,"note":"Value kept but may cause issues"} 
[2026-11-05 04:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5545408912921927680,"note":"Value kept but may cause issues"} 
[2026-11-05 04:45:11] 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-05 04:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793834008000,"timestamp_ms":1793834008000,"timestamp_seconds":1793834008,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8d6bdc0"} 
[2026-11-05 04: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-05 04: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-05 04: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 04:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04: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-05 04: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-05 04:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:45: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-05 04:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221504256001,"66":27267,"227":206,"19":47872,"24":52,"16":39479962155089920,"45":5545408912921927680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,19,24,16,45]} 
[2026-11-05 04:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221504256001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:45:11] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-11-05 04:45:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 04:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39479962155089920,"km_value":39479962155089.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5545408912921927680,"description":"Unknown IO ID 45"} 
[2026-11-05 04:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221504256001,"power":27267,"unknown_227":206,"unknown_19":47872,"ignition":52,"odometer":null,"unknown_45":5545408912921927680}} 
[2026-11-05 04:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":231183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:45:11] local.INFO: GPS data processed {"connection_id":231183,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:45:11] local.INFO: Acknowledgment sent {"connection_id":231183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:45:14] local.INFO: TCP Data received {"connection_id":231183,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8d6bdc0012d4d08800684dfb0006f008e2a..."} 
[2026-11-05 04:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8d6bdc0012d4d08800684dfb0006f008e2a..."} 
[2026-11-05 04:45:14] local.INFO: Processing buffer {"connection_id":231183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8d6bdc0012d4d08800684dfb0006f008e2a..."} 
[2026-11-05 04:45:14] local.INFO: Packet analysis {"connection_id":231183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8d6"} 
[2026-11-05 04:45:14] local.INFO: Extracted packet for processing {"connection_id":231183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8d6"} 
[2026-11-05 04:45:14] local.INFO: GPS Element Parsed {"raw_longitude":760023168,"raw_latitude":109371312,"longitude_deg":76.0023168,"latitude_deg":10.9371312,"altitude":111,"angle":142,"satellites":42,"speed":52,"hex_longitude":"2d4d0880","hex_latitude":"0684dfb0","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221506048001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39479962155089920,"note":"Value kept but may cause issues"} 
[2026-11-05 04:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5550827306221547520,"note":"Value kept but may cause issues"} 
[2026-11-05 04:45:14] 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-05 04:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793834008000,"timestamp_ms":1793834008000,"timestamp_seconds":1793834008,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8d6bdc0"} 
[2026-11-05 04: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-05 04:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 04: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 04:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04: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-05 04: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-05 04:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":231183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":231183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":231183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04: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-05 04:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221506048001,"66":27267,"227":206,"19":47872,"24":52,"16":39479962155089920,"45":5550827306221547520},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,19,24,16,45]} 
[2026-11-05 04:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221506048001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:45:14] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-11-05 04:45:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 04:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39479962155089920,"km_value":39479962155089.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5550827306221547520,"description":"Unknown IO ID 45"} 
[2026-11-05 04:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221506048001,"power":27267,"unknown_227":206,"unknown_19":47872,"ignition":52,"odometer":null,"unknown_45":5550827306221547520}} 
[2026-11-05 04:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":231183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:45:14] local.INFO: GPS data processed {"connection_id":231183,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:45:14] local.INFO: Acknowledgment sent {"connection_id":231183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:45:45] local.INFO: TCP Data received {"connection_id":231183,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8d82138012d4e7e800683eef0007200862b..."} 
[2026-11-05 04:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8d82138012d4e7e800683eef0007200862b..."} 
[2026-11-05 04:45:45] local.INFO: Processing buffer {"connection_id":231183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8d82138012d4e7e800683eef0007200862b..."} 
[2026-11-05 04:45:45] local.INFO: Packet analysis {"connection_id":231183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8d8"} 
[2026-11-05 04:45:45] local.INFO: Extracted packet for processing {"connection_id":231183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8d8"} 
[2026-11-05 04:45:45] local.INFO: GPS Element Parsed {"raw_longitude":760118912,"raw_latitude":109309680,"longitude_deg":76.0118912,"latitude_deg":10.930968,"altitude":114,"angle":134,"satellites":43,"speed":65,"hex_longitude":"2d4e7e80","hex_latitude":"0683eef0","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221527808001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39485652986757120,"note":"Value kept but may cause issues"} 
[2026-11-05 04:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5649343548056451072,"note":"Value kept but may cause issues"} 
[2026-11-05 04:45:45] 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-05 04:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793834099000,"timestamp_ms":1793834099000,"timestamp_seconds":1793834099,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8d82138"} 
[2026-11-05 04: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-05 04:45: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-05 04: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 04:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04: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-05 04: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-05 04:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":231183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":231183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":231183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:45: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-05 04:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221527808001,"66":27365,"227":206,"19":47872,"24":65,"16":39485652986757120,"45":5649343548056451072},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,19,24,16,45]} 
[2026-11-05 04:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221527808001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:45:45] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-11-05 04:45:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 04:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39485652986757120,"km_value":39485652986757.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5649343548056451072,"description":"Unknown IO ID 45"} 
[2026-11-05 04:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221527808001,"power":27365,"unknown_227":206,"unknown_19":47872,"ignition":65,"odometer":null,"unknown_45":5649343548056451072}} 
[2026-11-05 04:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":231183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:45:45] local.INFO: GPS data processed {"connection_id":231183,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:45:45] local.INFO: Acknowledgment sent {"connection_id":231183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:46:03] local.INFO: TCP Data received {"connection_id":233092,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:46:03] local.INFO: Processing buffer {"connection_id":233092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:46:03] local.INFO: IMEI packet received {"connection_id":233092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":233092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:46:04] local.INFO: TCP Data received {"connection_id":233092,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:46:04] local.INFO: Processing buffer {"connection_id":233092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:46:04] local.INFO: IMEI packet received {"connection_id":233092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":233092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:46:10] local.INFO: TCP Data received {"connection_id":233092,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:46:10] local.INFO: Processing buffer {"connection_id":233092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:46:10] local.INFO: IMEI packet received {"connection_id":233092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":233092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:46:11] local.INFO: TCP Data received {"connection_id":233092,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8d82cf0012d4e8d800683e2e00072007a2b..."} 
[2026-11-05 04:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8d82cf0012d4e8d800683e2e00072007a2b..."} 
[2026-11-05 04:46:11] local.INFO: Processing buffer {"connection_id":233092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8d82cf0012d4e8d800683e2e00072007a2b..."} 
[2026-11-05 04:46:11] local.INFO: Packet analysis {"connection_id":233092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8d8"} 
[2026-11-05 04:46:11] local.INFO: Extracted packet for processing {"connection_id":233092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8d8"} 
[2026-11-05 04:46:11] local.INFO: GPS Element Parsed {"raw_longitude":760122752,"raw_latitude":109306592,"longitude_deg":76.0122752,"latitude_deg":10.9306592,"altitude":114,"angle":122,"satellites":43,"speed":65,"hex_longitude":"2d4e8d80","hex_latitude":"0683e2e0","is_valid_coordinates":true} 
[2026-11-05 04:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 04:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221529344001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39485889209958400,"note":"Value kept but may cause issues"} 
[2026-11-05 04:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5656098947495555072,"note":"Value kept but may cause issues"} 
[2026-11-05 04:46: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-05 04:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793834102000,"timestamp_ms":1793834102000,"timestamp_seconds":1793834102,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8d82cf0"} 
[2026-11-05 04:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 04:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 04:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 04:46:11] 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-05 04:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 04:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 04:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:46: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-05 04:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221529344001,"66":27343,"251":206,"19":47872,"24":65,"16":39485889209958400,"45":5656098947495555072},"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-05 04:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221529344001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:46:11] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-11-05 04:46:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 04:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39485889209958400,"km_value":39485889209958.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5656098947495555072,"description":"Unknown IO ID 45"} 
[2026-11-05 04:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221529344001,"power":27343,"unknown_251":206,"unknown_19":47872,"ignition":65,"odometer":null,"unknown_45":5656098947495555072}} 
[2026-11-05 04:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":233092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:46:11] local.INFO: GPS data processed {"connection_id":233092,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:46:11] local.INFO: Acknowledgment sent {"connection_id":233092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:46:32] local.INFO: TCP Data received {"connection_id":233093,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233093,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:46:32] local.INFO: Processing buffer {"connection_id":233093,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:46:32] local.INFO: IMEI packet received {"connection_id":233093,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 04:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":233093,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:46:42] local.INFO: TCP Data received {"connection_id":233092,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8d838a8012d4e9e800683dab80072006f2a..."} 
[2026-11-05 04:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8d838a8012d4e9e800683dab80072006f2a..."} 
[2026-11-05 04:46:42] local.INFO: Processing buffer {"connection_id":233092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8d838a8012d4e9e800683dab80072006f2a..."} 
[2026-11-05 04:46:42] local.INFO: Packet analysis {"connection_id":233092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8d8"} 
[2026-11-05 04:46:42] local.INFO: Extracted packet for processing {"connection_id":233092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8d8"} 
[2026-11-05 04:46:42] local.INFO: GPS Element Parsed {"raw_longitude":760127104,"raw_latitude":109304504,"longitude_deg":76.0127104,"latitude_deg":10.9304504,"altitude":114,"angle":111,"satellites":42,"speed":62,"hex_longitude":"2d4e9e80","hex_latitude":"0683dab8","is_valid_coordinates":true} 
[2026-11-05 04:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 04:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221530112001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39486121138192384,"note":"Value kept but may cause issues"} 
[2026-11-05 04:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5660321072145424384,"note":"Value kept but may cause issues"} 
[2026-11-05 04:46:42] 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-05 04:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793834105000,"timestamp_ms":1793834105000,"timestamp_seconds":1793834105,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8d838a8"} 
[2026-11-05 04:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 04:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 04:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 04:46:42] 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-05 04:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 04:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 04:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:46: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-05 04:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221530112001,"66":27332,"251":206,"19":47872,"24":62,"16":39486121138192384,"45":5660321072145424384},"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-05 04:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221530112001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:46:42] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-11-05 04:46:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 04:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39486121138192384,"km_value":39486121138192.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5660321072145424384,"description":"Unknown IO ID 45"} 
[2026-11-05 04:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221530112001,"power":27332,"unknown_251":206,"unknown_19":47872,"ignition":62,"odometer":null,"unknown_45":5660321072145424384}} 
[2026-11-05 04:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":233092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:46:42] local.INFO: GPS data processed {"connection_id":233092,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:46:42] local.INFO: Acknowledgment sent {"connection_id":233092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:47:07] local.INFO: TCP Data received {"connection_id":231185,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231185,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:47:07] local.INFO: Processing buffer {"connection_id":231185,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:47:07] local.INFO: IMEI packet received {"connection_id":231185,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 04:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":231185,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:47:10] local.INFO: TCP Data received {"connection_id":231186,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:47:10] local.INFO: Processing buffer {"connection_id":231186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:47:10] local.INFO: IMEI packet received {"connection_id":231186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":231186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:47:11] local.INFO: TCP Data received {"connection_id":231186,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:47:11] local.INFO: Processing buffer {"connection_id":231186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:47:11] local.INFO: IMEI packet received {"connection_id":231186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":231186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:47:13] local.INFO: TCP Data received {"connection_id":231186,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8d84c30012d4ebb000683d3c8007400632b..."} 
[2026-11-05 04:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8d84c30012d4ebb000683d3c8007400632b..."} 
[2026-11-05 04:47:13] local.INFO: Processing buffer {"connection_id":231186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8d84c30012d4ebb000683d3c8007400632b..."} 
[2026-11-05 04:47:13] local.INFO: Packet analysis {"connection_id":231186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8d8"} 
[2026-11-05 04:47:13] local.INFO: Extracted packet for processing {"connection_id":231186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8d8"} 
[2026-11-05 04:47:13] local.INFO: GPS Element Parsed {"raw_longitude":760134400,"raw_latitude":109302728,"longitude_deg":76.01344,"latitude_deg":10.9302728,"altitude":116,"angle":99,"satellites":43,"speed":56,"hex_longitude":"2d4ebb00","hex_latitude":"0683d3c8","is_valid_coordinates":true} 
[2026-11-05 04:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 04:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221530880001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39486477620477952,"note":"Value kept but may cause issues"} 
[2026-11-05 04:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5665106146748971008,"note":"Value kept but may cause issues"} 
[2026-11-05 04:47: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-05 04:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793834110000,"timestamp_ms":1793834110000,"timestamp_seconds":1793834110,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8d84c30"} 
[2026-11-05 04:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 04:47: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-05 04:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 04:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 04:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 04:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":231186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":231186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":231186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04: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-05 04:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221530880001,"66":27267,"251":206,"19":47872,"24":56,"16":39486477620477952,"45":5665106146748971008},"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-05 04:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221530880001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:47:13] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-11-05 04:47:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 04:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39486477620477952,"km_value":39486477620477.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5665106146748971008,"description":"Unknown IO ID 45"} 
[2026-11-05 04:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221530880001,"power":27267,"unknown_251":206,"unknown_19":47872,"ignition":56,"odometer":null,"unknown_45":5665106146748971008}} 
[2026-11-05 04:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":231186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:47:13] local.INFO: GPS data processed {"connection_id":231186,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:47:13] local.INFO: Acknowledgment sent {"connection_id":231186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:47:16] local.INFO: TCP Data received {"connection_id":231186,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8d86788012d4ede800683ce80007600622a..."} 
[2026-11-05 04:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8d86788012d4ede800683ce80007600622a..."} 
[2026-11-05 04:47:16] local.INFO: Processing buffer {"connection_id":231186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8d86788012d4ede800683ce80007600622a..."} 
[2026-11-05 04:47:16] local.INFO: Packet analysis {"connection_id":231186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8d8"} 
[2026-11-05 04:47:16] local.INFO: Extracted packet for processing {"connection_id":231186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8d8"} 
[2026-11-05 04:47:16] local.INFO: GPS Element Parsed {"raw_longitude":760143488,"raw_latitude":109301376,"longitude_deg":76.0143488,"latitude_deg":10.9301376,"altitude":118,"angle":98,"satellites":42,"speed":48,"hex_longitude":"2d4ede80","hex_latitude":"0683ce80","is_valid_coordinates":true} 
[2026-11-05 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-05 04:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221532160001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39486915707142144,"note":"Value kept but may cause issues"} 
[2026-11-05 04:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5673128183584770048,"note":"Value kept but may cause issues"} 
[2026-11-05 04:47:16] 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-05 04:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793834117000,"timestamp_ms":1793834117000,"timestamp_seconds":1793834117,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8d86788"} 
[2026-11-05 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-05 04:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 04:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 04:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":231186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":231186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":231186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:47: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-05 04:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221532160001,"66":27267,"251":206,"19":47872,"24":48,"16":39486915707142144,"45":5673128183584770048},"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-05 04:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221532160001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:47:16] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-11-05 04:47:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 04:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39486915707142144,"km_value":39486915707142.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5673128183584770048,"description":"Unknown IO ID 45"} 
[2026-11-05 04:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221532160001,"power":27267,"unknown_251":206,"unknown_19":47872,"ignition":48,"odometer":null,"unknown_45":5673128183584770048}} 
[2026-11-05 04:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":231186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:47:16] local.INFO: GPS data processed {"connection_id":231186,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:47:16] local.INFO: Acknowledgment sent {"connection_id":231186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:47:48] local.INFO: TCP Data received {"connection_id":231186,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8d886c8012d4f04400683c900007800622a..."} 
[2026-11-05 04:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8d886c8012d4f04400683c900007800622a..."} 
[2026-11-05 04:47:48] local.INFO: Processing buffer {"connection_id":231186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8d886c8012d4f04400683c900007800622a..."} 
[2026-11-05 04:47:48] local.INFO: Packet analysis {"connection_id":231186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8d8"} 
[2026-11-05 04:47:48] local.INFO: Extracted packet for processing {"connection_id":231186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8d8"} 
[2026-11-05 04:47:48] local.INFO: GPS Element Parsed {"raw_longitude":760153152,"raw_latitude":109299968,"longitude_deg":76.0153152,"latitude_deg":10.9299968,"altitude":120,"angle":98,"satellites":42,"speed":47,"hex_longitude":"2d4f0440","hex_latitude":"0683c900","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221533952001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39487379563610112,"note":"Value kept but may cause issues"} 
[2026-11-05 04:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5683120545257652224,"note":"Value kept but may cause issues"} 
[2026-11-05 04:47:48] 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-05 04:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793834125000,"timestamp_ms":1793834125000,"timestamp_seconds":1793834125,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8d886c8"} 
[2026-11-05 04: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-05 04:47: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-05 04: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 04:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04: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-05 04: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-05 04:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":231186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":231186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":231186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:47: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-05 04:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221533952001,"66":27332,"251":206,"19":47872,"24":47,"16":39487379563610112,"45":5683120545257652224},"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-05 04:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221533952001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:47:48] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-11-05 04:47:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 04:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39487379563610112,"km_value":39487379563610.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5683120545257652224,"description":"Unknown IO ID 45"} 
[2026-11-05 04:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221533952001,"power":27332,"unknown_251":206,"unknown_19":47872,"ignition":47,"odometer":null,"unknown_45":5683120545257652224}} 
[2026-11-05 04:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":231186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:47:48] local.INFO: GPS data processed {"connection_id":231186,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:47:48] local.INFO: Acknowledgment sent {"connection_id":231186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:48:01] local.INFO: TCP Data received {"connection_id":229884,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:48:01] local.INFO: Processing buffer {"connection_id":229884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:48:01] local.INFO: IMEI packet received {"connection_id":229884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":229884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:48:04] local.INFO: TCP Data received {"connection_id":229884,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:48:04] local.INFO: Processing buffer {"connection_id":229884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:48:04] local.INFO: IMEI packet received {"connection_id":229884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":229884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:48:10] local.INFO: TCP Data received {"connection_id":229884,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:48:10] local.INFO: Processing buffer {"connection_id":229884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:48:10] local.INFO: IMEI packet received {"connection_id":229884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":229884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:48:12] local.INFO: TCP Data received {"connection_id":229884,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8d8a608012d4f28400683c3a8007a00622a..."} 
[2026-11-05 04:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8d8a608012d4f28400683c3a8007a00622a..."} 
[2026-11-05 04:48:12] local.INFO: Processing buffer {"connection_id":229884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8d8a608012d4f28400683c3a8007a00622a..."} 
[2026-11-05 04:48:12] local.INFO: Packet analysis {"connection_id":229884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8d8"} 
[2026-11-05 04:48:12] local.INFO: Extracted packet for processing {"connection_id":229884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8d8"} 
[2026-11-05 04:48:12] local.INFO: GPS Element Parsed {"raw_longitude":760162368,"raw_latitude":109298600,"longitude_deg":76.0162368,"latitude_deg":10.92986,"altitude":122,"angle":98,"satellites":42,"speed":45,"hex_longitude":"2d4f2840","hex_latitude":"0683c3a8","is_valid_coordinates":true} 
[2026-11-05 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-05 04:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221536000001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39487821945241600,"note":"Value kept but may cause issues"} 
[2026-11-05 04:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5693746225628119040,"note":"Value kept but may cause issues"} 
[2026-11-05 04:48:12] 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-05 04:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793834133000,"timestamp_ms":1793834133000,"timestamp_seconds":1793834133,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8d8a608"} 
[2026-11-05 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-05 04:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 04:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 04:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04: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-05 04:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221536000001,"66":27321,"251":206,"19":47872,"24":45,"16":39487821945241600,"45":5693746225628119040},"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-05 04:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221536000001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:48:12] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-11-05 04:48:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 04:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39487821945241600,"km_value":39487821945241.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5693746225628119040,"description":"Unknown IO ID 45"} 
[2026-11-05 04:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221536000001,"power":27321,"unknown_251":206,"unknown_19":47872,"ignition":45,"odometer":null,"unknown_45":5693746225628119040}} 
[2026-11-05 04:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":229884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:48:12] local.INFO: GPS data processed {"connection_id":229884,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:48:12] local.INFO: Acknowledgment sent {"connection_id":229884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:48:44] local.INFO: TCP Data received {"connection_id":229884,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8da9a08012d51048006836ed0008f00762c..."} 
[2026-11-05 04:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8da9a08012d51048006836ed0008f00762c..."} 
[2026-11-05 04:48:44] local.INFO: Processing buffer {"connection_id":229884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8da9a08012d51048006836ed0008f00762c..."} 
[2026-11-05 04:48:44] local.INFO: Packet analysis {"connection_id":229884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8da"} 
[2026-11-05 04:48:44] local.INFO: Extracted packet for processing {"connection_id":229884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8da"} 
[2026-11-05 04:48:44] local.INFO: GPS Element Parsed {"raw_longitude":760284288,"raw_latitude":109276880,"longitude_deg":76.0284288,"latitude_deg":10.927688,"altitude":143,"angle":118,"satellites":44,"speed":21,"hex_longitude":"2d510480","hex_latitude":"06836ed0","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221568256001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39493731820240896,"note":"Value kept but may cause issues"} 
[2026-11-05 04:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5830613433048301568,"note":"Value kept but may cause issues"} 
[2026-11-05 04:48: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-05 04:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793834261000,"timestamp_ms":1793834261000,"timestamp_seconds":1793834261,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8da9a08"} 
[2026-11-05 04: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-05 04:48: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-05 04: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 04:48:44] 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-05 04: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-05 04: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-05 04:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04: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-05 04:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221568256001,"66":27300,"250":206,"19":47872,"24":21,"16":39493731820240896,"45":5830613433048301568},"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-05 04:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221568256001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:48:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 04:48:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 04:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39493731820240896,"km_value":39493731820240.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5830613433048301568,"description":"Unknown IO ID 45"} 
[2026-11-05 04:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221568256001,"power":27300,"unknown_250":206,"unknown_19":47872,"ignition":21,"odometer":null,"unknown_45":5830613433048301568}} 
[2026-11-05 04:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":229884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:48:44] local.INFO: GPS data processed {"connection_id":229884,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:48:44] local.INFO: Acknowledgment sent {"connection_id":229884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:49:07] local.INFO: TCP Data received {"connection_id":233094,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:49:07] local.INFO: Processing buffer {"connection_id":233094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:49:07] local.INFO: IMEI packet received {"connection_id":233094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":233094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:49:12] local.INFO: TCP Data received {"connection_id":233094,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:49:12] local.INFO: Processing buffer {"connection_id":233094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:49:12] local.INFO: IMEI packet received {"connection_id":233094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":233094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:49:13] local.INFO: TCP Data received {"connection_id":233094,"ip":"117.224.67.174","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a8..."} 
[2026-11-05 04:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233094,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a8..."} 
[2026-11-05 04:49:13] local.INFO: Processing buffer {"connection_id":233094,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a8..."} 
[2026-11-05 04:49:13] local.INFO: IMEI packet received {"connection_id":233094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":233094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:49:14] local.INFO: TCP Data received {"connection_id":233094,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8daec10012d51164006836470008f00812b..."} 
[2026-11-05 04:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8daec10012d51164006836470008f00812b..."} 
[2026-11-05 04:49:14] local.INFO: Processing buffer {"connection_id":233094,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1a8daec10012d51164006836470008f00812b..."} 
[2026-11-05 04:49:14] local.INFO: Packet analysis {"connection_id":233094,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1a8da"} 
[2026-11-05 04:49:14] local.INFO: Extracted packet for processing {"connection_id":233094,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8da"} 
[2026-11-05 04:49:14] local.INFO: GPS Element Parsed {"raw_longitude":760288832,"raw_latitude":109274224,"longitude_deg":76.0288832,"latitude_deg":10.9274224,"altitude":143,"angle":129,"satellites":43,"speed":17,"hex_longitude":"2d511640","hex_latitude":"06836470","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221570816001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39493985223311360,"note":"Value kept but may cause issues"} 
[2026-11-05 04:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5837931782442242048,"note":"Value kept but may cause issues"} 
[2026-11-05 04:49:14] 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-05 04:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793834282000,"timestamp_ms":1793834282000,"timestamp_seconds":1793834282,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8daec10"} 
[2026-11-05 04: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-05 04:49: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-05 04: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 04:49:14] 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-05 04: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-05 04: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-05 04:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:49: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-05 04:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221570816001,"66":27343,"250":206,"19":47872,"24":17,"16":39493985223311360,"45":5837931782442242048},"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-05 04:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221570816001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:49:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 04:49:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 04:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39493985223311360,"km_value":39493985223311.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5837931782442242048,"description":"Unknown IO ID 45"} 
[2026-11-05 04:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221570816001,"power":27343,"unknown_250":206,"unknown_19":47872,"ignition":17,"odometer":null,"unknown_45":5837931782442242048}} 
[2026-11-05 04:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":233094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:49:14] local.INFO: GPS data processed {"connection_id":233094,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:49:14] local.INFO: Acknowledgment sent {"connection_id":233094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:49:14] local.INFO: Packet analysis {"connection_id":233094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8da"} 
[2026-11-05 04:49:14] local.INFO: Extracted packet for processing {"connection_id":233094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8da"} 
[2026-11-05 04:49:14] local.INFO: GPS Element Parsed {"raw_longitude":760288832,"raw_latitude":109274224,"longitude_deg":76.0288832,"latitude_deg":10.9274224,"altitude":143,"angle":129,"satellites":43,"speed":17,"hex_longitude":"2d511640","hex_latitude":"06836470","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221576192001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39493985223311360,"note":"Value kept but may cause issues"} 
[2026-11-05 04:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5842927963278176256,"note":"Value kept but may cause issues"} 
[2026-11-05 04:49:14] 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-05 04:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793834282000,"timestamp_ms":1793834282000,"timestamp_seconds":1793834282,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8daec10"} 
[2026-11-05 04: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-05 04:49: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-05 04: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 04:49:14] 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-05 04: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-05 04: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-05 04:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:49: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-05 04:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221576192001,"66":27343,"250":206,"19":47872,"24":17,"16":39493985223311360,"45":5842927963278176256},"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-05 04:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221576192001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:49:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 04:49:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 04:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39493985223311360,"km_value":39493985223311.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5842927963278176256,"description":"Unknown IO ID 45"} 
[2026-11-05 04:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221576192001,"power":27343,"unknown_250":206,"unknown_19":47872,"ignition":17,"odometer":null,"unknown_45":5842927963278176256}} 
[2026-11-05 04:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":233094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:49:14] local.INFO: GPS data processed {"connection_id":233094,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:49:14] local.INFO: Acknowledgment sent {"connection_id":233094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:49:15] local.INFO: TCP Data received {"connection_id":233094,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8db1ed8012d51318006834de0008f00802c..."} 
[2026-11-05 04:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8db1ed8012d51318006834de0008f00802c..."} 
[2026-11-05 04:49:15] local.INFO: Processing buffer {"connection_id":233094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8db1ed8012d51318006834de0008f00802c..."} 
[2026-11-05 04:49:15] local.INFO: Packet analysis {"connection_id":233094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8db"} 
[2026-11-05 04:49:15] local.INFO: Extracted packet for processing {"connection_id":233094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8db"} 
[2026-11-05 04:49:15] local.INFO: GPS Element Parsed {"raw_longitude":760295808,"raw_latitude":109268448,"longitude_deg":76.0295808,"latitude_deg":10.9268448,"altitude":143,"angle":128,"satellites":44,"speed":33,"hex_longitude":"2d513180","hex_latitude":"06834de0","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221576192001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39494419015008256,"note":"Value kept but may cause issues"} 
[2026-11-05 04:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5842927963278176256,"note":"Value kept but may cause issues"} 
[2026-11-05 04:49: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-05 04:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793834295000,"timestamp_ms":1793834295000,"timestamp_seconds":1793834295,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8db1ed8"} 
[2026-11-05 04: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-05 04:49: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-05 04: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 04:49:15] 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-05 04: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-05 04: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-05 04:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04: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-05 04:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221576192001,"66":27267,"250":206,"19":47872,"24":33,"16":39494419015008256,"45":5842927963278176256},"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-05 04:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221576192001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:49:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 04:49:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 04:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39494419015008256,"km_value":39494419015008.26,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5842927963278176256,"description":"Unknown IO ID 45"} 
[2026-11-05 04:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221576192001,"power":27267,"unknown_250":206,"unknown_19":47872,"ignition":33,"odometer":null,"unknown_45":5842927963278176256}} 
[2026-11-05 04:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":233094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:49:15] local.INFO: GPS data processed {"connection_id":233094,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:49:15] local.INFO: Acknowledgment sent {"connection_id":233094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:49:47] local.INFO: TCP Data received {"connection_id":233094,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8db45e8012d514dc0068333d0008f00862b..."} 
[2026-11-05 04:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8db45e8012d514dc0068333d0008f00862b..."} 
[2026-11-05 04:49:47] local.INFO: Processing buffer {"connection_id":233094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8db45e8012d514dc0068333d0008f00862b..."} 
[2026-11-05 04:49:47] local.INFO: Packet analysis {"connection_id":233094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8db"} 
[2026-11-05 04:49:47] local.INFO: Extracted packet for processing {"connection_id":233094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8db"} 
[2026-11-05 04:49:47] local.INFO: GPS Element Parsed {"raw_longitude":760303040,"raw_latitude":109261776,"longitude_deg":76.030304,"latitude_deg":10.9261776,"altitude":143,"angle":134,"satellites":43,"speed":43,"hex_longitude":"2d514dc0","hex_latitude":"068333d0","is_valid_coordinates":true} 
[2026-11-05 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-05 04:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221579520001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39494891461410816,"note":"Value kept but may cause issues"} 
[2026-11-05 04:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5850598156392062976,"note":"Value kept but may cause issues"} 
[2026-11-05 04:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793834305000,"timestamp_ms":1793834305000,"timestamp_seconds":1793834305,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8db45e8"} 
[2026-11-05 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-05 04:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-05 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 04:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 04:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":233094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":233094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":233094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04: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-05 04:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221579520001,"66":27234,"203":206,"19":47872,"24":43,"16":39494891461410816,"45":5850598156392062976},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,19,24,16,45]} 
[2026-11-05 04:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221579520001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:49:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 04:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39494891461410816,"km_value":39494891461410.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5850598156392062976,"description":"Unknown IO ID 45"} 
[2026-11-05 04:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221579520001,"power":27234,"mnc":206,"unknown_19":47872,"ignition":43,"odometer":null,"unknown_45":5850598156392062976}} 
[2026-11-05 04:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":233094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:49:47] local.INFO: GPS data processed {"connection_id":233094,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:49:47] local.INFO: Acknowledgment sent {"connection_id":233094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:50:05] local.INFO: TCP Data received {"connection_id":231187,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:50:05] local.INFO: Processing buffer {"connection_id":231187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:50:05] local.INFO: IMEI packet received {"connection_id":231187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":231187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:50:10] local.INFO: TCP Data received {"connection_id":231187,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:50:10] local.INFO: Processing buffer {"connection_id":231187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:50:10] local.INFO: IMEI packet received {"connection_id":231187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":231187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:50:10] local.INFO: TCP Data received {"connection_id":231187,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:50:10] local.INFO: Processing buffer {"connection_id":231187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:50:10] local.INFO: IMEI packet received {"connection_id":231187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":231187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:50:12] local.INFO: TCP Data received {"connection_id":231187,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8db6528012d516600068319c8008e008c2a..."} 
[2026-11-05 04:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8db6528012d516600068319c8008e008c2a..."} 
[2026-11-05 04:50:12] local.INFO: Processing buffer {"connection_id":231187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8db6528012d516600068319c8008e008c2a..."} 
[2026-11-05 04:50:12] local.INFO: Packet analysis {"connection_id":231187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8db"} 
[2026-11-05 04:50:12] local.INFO: Extracted packet for processing {"connection_id":231187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8db"} 
[2026-11-05 04:50:12] local.INFO: GPS Element Parsed {"raw_longitude":760309248,"raw_latitude":109255112,"longitude_deg":76.0309248,"latitude_deg":10.9255112,"altitude":142,"angle":140,"satellites":42,"speed":49,"hex_longitude":"2d516600","hex_latitude":"068319c8","is_valid_coordinates":true} 
[2026-11-05 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-05 04:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221582080001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39495329548075008,"note":"Value kept but may cause issues"} 
[2026-11-05 04:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5858549824482430976,"note":"Value kept but may cause issues"} 
[2026-11-05 04:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793834313000,"timestamp_ms":1793834313000,"timestamp_seconds":1793834313,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8db6528"} 
[2026-11-05 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-05 04:50: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-05 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 04:50:12] 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-05 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-05 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-05 04:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04: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-05 04:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221582080001,"66":27300,"203":206,"19":47872,"24":49,"16":39495329548075008,"45":5858549824482430976},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,19,24,16,45]} 
[2026-11-05 04:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221582080001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:50:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 04:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39495329548075008,"km_value":39495329548075.01,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5858549824482430976,"description":"Unknown IO ID 45"} 
[2026-11-05 04:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221582080001,"power":27300,"mnc":206,"unknown_19":47872,"ignition":49,"odometer":null,"unknown_45":5858549824482430976}} 
[2026-11-05 04:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":231187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:50:12] local.INFO: GPS data processed {"connection_id":231187,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:50:12] local.INFO: Acknowledgment sent {"connection_id":231187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:50:16] local.INFO: TCP Data received {"connection_id":231187,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8db8080012d517cc00682fe60008d008c2a..."} 
[2026-11-05 04:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8db8080012d517cc00682fe60008d008c2a..."} 
[2026-11-05 04:50:16] local.INFO: Processing buffer {"connection_id":231187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8db8080012d517cc00682fe60008d008c2a..."} 
[2026-11-05 04:50:16] local.INFO: Packet analysis {"connection_id":231187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8db"} 
[2026-11-05 04:50:16] local.INFO: Extracted packet for processing {"connection_id":231187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8db"} 
[2026-11-05 04:50:16] local.INFO: GPS Element Parsed {"raw_longitude":760315072,"raw_latitude":109248096,"longitude_deg":76.0315072,"latitude_deg":10.9248096,"altitude":141,"angle":140,"satellites":42,"speed":54,"hex_longitude":"2d517cc0","hex_latitude":"0682fe60","is_valid_coordinates":true} 
[2026-11-05 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-05 04:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221584128001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39495771929706496,"note":"Value kept but may cause issues"} 
[2026-11-05 04:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5865375592665958400,"note":"Value kept but may cause issues"} 
[2026-11-05 04:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793834320000,"timestamp_ms":1793834320000,"timestamp_seconds":1793834320,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8db8080"} 
[2026-11-05 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-05 04:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 04:50:16] 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-05 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-05 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-05 04:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":231187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":231187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":231187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04: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-05 04:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221584128001,"66":27234,"203":206,"19":47872,"24":54,"16":39495771929706496,"45":5865375592665958400},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,19,24,16,45]} 
[2026-11-05 04:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221584128001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:50:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 04:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39495771929706496,"km_value":39495771929706.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5865375592665958400,"description":"Unknown IO ID 45"} 
[2026-11-05 04:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221584128001,"power":27234,"mnc":206,"unknown_19":47872,"ignition":54,"odometer":null,"unknown_45":5865375592665958400}} 
[2026-11-05 04:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":231187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:50:16] local.INFO: GPS data processed {"connection_id":231187,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:50:16] local.INFO: Acknowledgment sent {"connection_id":231187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:50:48] local.INFO: TCP Data received {"connection_id":231187,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8db9bd8012d5196400682e0f0008b008829..."} 
[2026-11-05 04:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8db9bd8012d5196400682e0f0008b008829..."} 
[2026-11-05 04:50:48] local.INFO: Processing buffer {"connection_id":231187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8db9bd8012d5196400682e0f0008b008829..."} 
[2026-11-05 04:50:48] local.INFO: Packet analysis {"connection_id":231187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8db"} 
[2026-11-05 04:50:48] local.INFO: Extracted packet for processing {"connection_id":231187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8db"} 
[2026-11-05 04:50:48] local.INFO: GPS Element Parsed {"raw_longitude":760321600,"raw_latitude":109240560,"longitude_deg":76.03216,"latitude_deg":10.924056,"altitude":139,"angle":136,"satellites":41,"speed":56,"hex_longitude":"2d519640","hex_latitude":"0682e0f0","is_valid_coordinates":true} 
[2026-11-05 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-05 04:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221585920001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39496248671076352,"note":"Value kept but may cause issues"} 
[2026-11-05 04:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5871779148384329728,"note":"Value kept but may cause issues"} 
[2026-11-05 04:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793834327000,"timestamp_ms":1793834327000,"timestamp_seconds":1793834327,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8db9bd8"} 
[2026-11-05 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-05 04:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 04:50:48] 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-05 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-05 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-05 04:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":231187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":231187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":231187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:50: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-05 04:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221585920001,"66":27332,"203":206,"19":47872,"24":56,"16":39496248671076352,"45":5871779148384329728},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,19,24,16,45]} 
[2026-11-05 04:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221585920001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:50:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 04:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39496248671076352,"km_value":39496248671076.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5871779148384329728,"description":"Unknown IO ID 45"} 
[2026-11-05 04:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221585920001,"power":27332,"mnc":206,"unknown_19":47872,"ignition":56,"odometer":null,"unknown_45":5871779148384329728}} 
[2026-11-05 04:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":231187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:50:48] local.INFO: GPS data processed {"connection_id":231187,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:50:48] local.INFO: Acknowledgment sent {"connection_id":231187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:51:28] local.INFO: TCP Data received {"connection_id":233095,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:51:28] local.INFO: Processing buffer {"connection_id":233095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:51:28] local.INFO: IMEI packet received {"connection_id":233095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":233095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:52:37] local.INFO: TCP Data received {"connection_id":233096,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233096,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:52:37] local.INFO: Processing buffer {"connection_id":233096,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:52:37] local.INFO: IMEI packet received {"connection_id":233096,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 04:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":233096,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:53:06] local.INFO: TCP Data received {"connection_id":229405,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229405,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:53:07] local.INFO: Processing buffer {"connection_id":229405,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:53:07] local.INFO: IMEI packet received {"connection_id":229405,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 04:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":229405,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:56:32] local.INFO: TCP Data received {"connection_id":229888,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:56:32] local.INFO: Processing buffer {"connection_id":229888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:56:32] local.INFO: IMEI packet received {"connection_id":229888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":229888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:56:34] local.INFO: TCP Data received {"connection_id":229888,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8e1e920012d56ed80067b8c48001b00e927..."} 
[2026-11-05 04:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8e1e920012d56ed80067b8c48001b00e927..."} 
[2026-11-05 04:56:34] local.INFO: Processing buffer {"connection_id":229888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8e1e920012d56ed80067b8c48001b00e927..."} 
[2026-11-05 04:56:34] local.INFO: Packet analysis {"connection_id":229888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8e1"} 
[2026-11-05 04:56:34] local.INFO: Extracted packet for processing {"connection_id":229888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8e1"} 
[2026-11-05 04:56:34] local.INFO: GPS Element Parsed {"raw_longitude":760671616,"raw_latitude":108760136,"longitude_deg":76.0671616,"latitude_deg":10.8760136,"altitude":27,"angle":233,"satellites":39,"speed":56,"hex_longitude":"2d56ed80","hex_latitude":"067b8c48","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221692416001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39526459471036416,"note":"Value kept but may cause issues"} 
[2026-11-05 04:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6268869971654897664,"note":"Value kept but may cause issues"} 
[2026-11-05 04:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 04:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793834740000,"timestamp_ms":1793834740000,"timestamp_seconds":1793834740,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8e1e920"} 
[2026-11-05 04: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-05 04:56: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-05 04: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 04:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04: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-05 04: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-05 04:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":229888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":229888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":229888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:56: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-05 04:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221692416001,"66":27365,"13":206,"19":47872,"24":56,"16":39526459471036416,"45":6268869971654897664},"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-05 04:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221692416001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:56:34] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-05 04:56:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 04:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39526459471036416,"km_value":39526459471036.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6268869971654897664,"description":"Unknown IO ID 45"} 
[2026-11-05 04:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221692416001,"power":27365,"unknown_13":206,"unknown_19":47872,"ignition":56,"odometer":null,"unknown_45":6268869971654897664}} 
[2026-11-05 04:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":229888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:56:34] local.INFO: GPS data processed {"connection_id":229888,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:56:34] local.INFO: Acknowledgment sent {"connection_id":229888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:57:05] local.INFO: TCP Data received {"connection_id":233099,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:57:05] local.INFO: Processing buffer {"connection_id":233099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:57:05] local.INFO: IMEI packet received {"connection_id":233099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":233099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:57:07] local.INFO: TCP Data received {"connection_id":233099,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:57:07] local.INFO: Processing buffer {"connection_id":233099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:57:07] local.INFO: IMEI packet received {"connection_id":233099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":233099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:57:08] local.INFO: TCP Data received {"connection_id":233099,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8e20478012d56cc00067b7848001c00ed25..."} 
[2026-11-05 04:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8e20478012d56cc00067b7848001c00ed25..."} 
[2026-11-05 04:57:08] local.INFO: Processing buffer {"connection_id":233099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8e20478012d56cc00067b7848001c00ed25..."} 
[2026-11-05 04:57:08] local.INFO: Packet analysis {"connection_id":233099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8e2"} 
[2026-11-05 04:57:08] local.INFO: Extracted packet for processing {"connection_id":233099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8e2"} 
[2026-11-05 04:57:08] local.INFO: GPS Element Parsed {"raw_longitude":760663040,"raw_latitude":108755016,"longitude_deg":76.066304,"latitude_deg":10.8755016,"altitude":28,"angle":237,"satellites":37,"speed":55,"hex_longitude":"2d56cc00","hex_latitude":"067b7848","is_valid_coordinates":true} 
[2026-11-05 04:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 04:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221693440001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39526936212406272,"note":"Value kept but may cause issues"} 
[2026-11-05 04:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6263803422073178112,"note":"Value kept but may cause issues"} 
[2026-11-05 04:57:08] 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-05 04:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793834747000,"timestamp_ms":1793834747000,"timestamp_seconds":1793834747,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8e20478"} 
[2026-11-05 04:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 04:57: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-05 04:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 04:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 04:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 04:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":233099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":233099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":233099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 04:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221693440001,"66":27267,"13":206,"19":47872,"24":55,"16":39526936212406272,"45":6263803422073178112},"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-05 04:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221693440001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:57:08] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-05 04:57:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 04:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39526936212406272,"km_value":39526936212406.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6263803422073178112,"description":"Unknown IO ID 45"} 
[2026-11-05 04:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221693440001,"power":27267,"unknown_13":206,"unknown_19":47872,"ignition":55,"odometer":null,"unknown_45":6263803422073178112}} 
[2026-11-05 04:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":233099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:57:08] local.INFO: GPS data processed {"connection_id":233099,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:57:08] local.INFO: Acknowledgment sent {"connection_id":233099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:57:40] local.INFO: TCP Data received {"connection_id":233099,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8e21fd0012d56abc0067b6490001d00ed26..."} 
[2026-11-05 04:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8e21fd0012d56abc0067b6490001d00ed26..."} 
[2026-11-05 04:57:40] local.INFO: Processing buffer {"connection_id":233099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8e21fd0012d56abc0067b6490001d00ed26..."} 
[2026-11-05 04:57:40] local.INFO: Packet analysis {"connection_id":233099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8e2"} 
[2026-11-05 04:57:40] local.INFO: Extracted packet for processing {"connection_id":233099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8e2"} 
[2026-11-05 04:57:40] local.INFO: GPS Element Parsed {"raw_longitude":760654784,"raw_latitude":108749968,"longitude_deg":76.0654784,"latitude_deg":10.8749968,"altitude":29,"angle":237,"satellites":38,"speed":55,"hex_longitude":"2d56abc0","hex_latitude":"067b6490","is_valid_coordinates":true} 
[2026-11-05 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-05 04:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221695232001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39527400068874240,"note":"Value kept but may cause issues"} 
[2026-11-05 04:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6254374010352060416,"note":"Value kept but may cause issues"} 
[2026-11-05 04:57:40] 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-05 04:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793834754000,"timestamp_ms":1793834754000,"timestamp_seconds":1793834754,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8e21fd0"} 
[2026-11-05 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-05 04: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-05 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 04:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 04:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:57: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-05 04:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221695232001,"66":27213,"14":206,"19":47872,"24":55,"16":39527400068874240,"45":6254374010352060416},"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-05 04:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221695232001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:57:40] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-05 04:57:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 04:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39527400068874240,"km_value":39527400068874.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":6254374010352060416,"description":"Unknown IO ID 45"} 
[2026-11-05 04:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221695232001,"power":27213,"unknown_14":206,"unknown_19":47872,"ignition":55,"odometer":null,"unknown_45":6254374010352060416}} 
[2026-11-05 04:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":233099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:57:40] local.INFO: GPS data processed {"connection_id":233099,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:57:40] local.INFO: Acknowledgment sent {"connection_id":233099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:58:05] local.INFO: TCP Data received {"connection_id":229407,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:58:05] local.INFO: Processing buffer {"connection_id":229407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:58:05] local.INFO: IMEI packet received {"connection_id":229407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":229407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:58:10] local.INFO: TCP Data received {"connection_id":229407,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:58:10] local.INFO: Processing buffer {"connection_id":229407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:58:10] local.INFO: IMEI packet received {"connection_id":229407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":229407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:58:13] local.INFO: TCP Data received {"connection_id":229407,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8e23b28012d568a80067b5190001e00f326..."} 
[2026-11-05 04:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8e23b28012d568a80067b5190001e00f326..."} 
[2026-11-05 04:58:13] local.INFO: Processing buffer {"connection_id":229407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8e23b28012d568a80067b5190001e00f326..."} 
[2026-11-05 04:58:13] local.INFO: Packet analysis {"connection_id":229407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8e2"} 
[2026-11-05 04:58:13] local.INFO: Extracted packet for processing {"connection_id":229407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8e2"} 
[2026-11-05 04:58:13] local.INFO: GPS Element Parsed {"raw_longitude":760646272,"raw_latitude":108745104,"longitude_deg":76.0646272,"latitude_deg":10.8745104,"altitude":30,"angle":243,"satellites":38,"speed":56,"hex_longitude":"2d568a80","hex_latitude":"067b5190","is_valid_coordinates":true} 
[2026-11-05 04:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 04:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221697024001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39527868220309504,"note":"Value kept but may cause issues"} 
[2026-11-05 04:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6245296442351849472,"note":"Value kept but may cause issues"} 
[2026-11-05 04:58: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-05 04:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793834761000,"timestamp_ms":1793834761000,"timestamp_seconds":1793834761,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8e23b28"} 
[2026-11-05 04:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 04:58: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-05 04:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-11-05 04:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 04:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 04:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:58: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-05 04:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221697024001,"66":27365,"14":206,"19":47872,"24":56,"16":39527868220309504,"45":6245296442351849472},"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-05 04:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221697024001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:58:13] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-05 04:58:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 04:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39527868220309504,"km_value":39527868220309.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6245296442351849472,"description":"Unknown IO ID 45"} 
[2026-11-05 04:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221697024001,"power":27365,"unknown_14":206,"unknown_19":47872,"ignition":56,"odometer":null,"unknown_45":6245296442351849472}} 
[2026-11-05 04:58:13] 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":61491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:58:13] local.INFO: GPS data processed {"connection_id":229407,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:58:13] local.INFO: Acknowledgment sent {"connection_id":229407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:58:45] local.INFO: TCP Data received {"connection_id":229407,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8e39ab8012d54ee80067a8fc0003300ec2a..."} 
[2026-11-05 04:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8e39ab8012d54ee80067a8fc0003300ec2a..."} 
[2026-11-05 04:58:45] local.INFO: Processing buffer {"connection_id":229407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8e39ab8012d54ee80067a8fc0003300ec2a..."} 
[2026-11-05 04:58:45] local.INFO: Packet analysis {"connection_id":229407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8e3"} 
[2026-11-05 04:58:45] local.INFO: Extracted packet for processing {"connection_id":229407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8e3"} 
[2026-11-05 04:58:45] local.INFO: GPS Element Parsed {"raw_longitude":760540800,"raw_latitude":108695488,"longitude_deg":76.05408,"latitude_deg":10.8695488,"altitude":51,"angle":236,"satellites":42,"speed":34,"hex_longitude":"2d54ee80","hex_latitude":"067a8fc0","is_valid_coordinates":true} 
[2026-11-05 04: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-05 04:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221719296001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39533494627467264,"note":"Value kept but may cause issues"} 
[2026-11-05 04:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6128273220771721216,"note":"Value kept but may cause issues"} 
[2026-11-05 04:58: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-05 04:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793834851000,"timestamp_ms":1793834851000,"timestamp_seconds":1793834851,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8e39ab8"} 
[2026-11-05 04: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-05 04:58: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-05 04: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 04:58: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-05 04: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-05 04: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-05 04:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:58: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-05 04:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221719296001,"66":27332,"15":206,"19":47872,"24":34,"16":39533494627467264,"45":6128273220771721216},"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-05 04:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221719296001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:58:45] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-11-05 04:58:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 04:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39533494627467264,"km_value":39533494627467.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":6128273220771721216,"description":"Unknown IO ID 45"} 
[2026-11-05 04:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221719296001,"power":27332,"unknown_15":206,"unknown_19":47872,"ignition":34,"odometer":null,"unknown_45":6128273220771721216}} 
[2026-11-05 04:58:45] 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":61492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:58:45] local.INFO: GPS data processed {"connection_id":229407,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:58:45] local.INFO: Acknowledgment sent {"connection_id":229407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:59:04] local.INFO: TCP Data received {"connection_id":233101,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:59:04] local.INFO: Processing buffer {"connection_id":233101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:59:04] local.INFO: IMEI packet received {"connection_id":233101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 04:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":233101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:59:07] local.INFO: TCP Data received {"connection_id":231190,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231190,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:59:07] local.INFO: Processing buffer {"connection_id":231190,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 04:59:07] local.INFO: IMEI packet received {"connection_id":231190,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 04:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":231190,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 04:59:10] local.INFO: TCP Data received {"connection_id":233101,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:59:10] local.INFO: Processing buffer {"connection_id":233101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 04:59:10] local.INFO: IMEI packet received {"connection_id":233101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 04:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":233101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 04:59:15] local.INFO: TCP Data received {"connection_id":233101,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8e3c5b0012d54d080067a7ba0003800ec2b..."} 
[2026-11-05 04:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8e3c5b0012d54d080067a7ba0003800ec2b..."} 
[2026-11-05 04:59:15] local.INFO: Processing buffer {"connection_id":233101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8e3c5b0012d54d080067a7ba0003800ec2b..."} 
[2026-11-05 04:59:15] local.INFO: Packet analysis {"connection_id":233101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8e3"} 
[2026-11-05 04:59:15] local.INFO: Extracted packet for processing {"connection_id":233101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8e3"} 
[2026-11-05 04:59:15] local.INFO: GPS Element Parsed {"raw_longitude":760533120,"raw_latitude":108690336,"longitude_deg":76.053312,"latitude_deg":10.8690336,"altitude":56,"angle":236,"satellites":43,"speed":31,"hex_longitude":"2d54d080","hex_latitude":"067a7ba0","is_valid_coordinates":true} 
[2026-11-05 04:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 04:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221721856001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39533932714131456,"note":"Value kept but may cause issues"} 
[2026-11-05 04:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6119969708957483008,"note":"Value kept but may cause issues"} 
[2026-11-05 04:59: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-05 04:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793834862000,"timestamp_ms":1793834862000,"timestamp_seconds":1793834862,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8e3c5b0"} 
[2026-11-05 04: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-05 04:59: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-05 04: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 04:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04: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-05 04: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-05 04:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:59: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-05 04:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221721856001,"66":27365,"15":206,"19":47872,"24":31,"16":39533932714131456,"45":6119969708957483008},"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-05 04:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221721856001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:59:15] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-11-05 04:59:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 04:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39533932714131456,"km_value":39533932714131.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":6119969708957483008,"description":"Unknown IO ID 45"} 
[2026-11-05 04:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221721856001,"power":27365,"unknown_15":206,"unknown_19":47872,"ignition":31,"odometer":null,"unknown_45":6119969708957483008}} 
[2026-11-05 04:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":233101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:59:15] local.INFO: GPS data processed {"connection_id":233101,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:59:15] local.INFO: Acknowledgment sent {"connection_id":233101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 04:59:56] local.INFO: TCP Data received {"connection_id":233101,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8e3f490012d54b240067a6808003d00ef2b..."} 
[2026-11-05 04:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8e3f490012d54b240067a6808003d00ef2b..."} 
[2026-11-05 04:59:56] local.INFO: Processing buffer {"connection_id":233101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8e3f490012d54b240067a6808003d00ef2b..."} 
[2026-11-05 04:59:56] local.INFO: Packet analysis {"connection_id":233101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8e3"} 
[2026-11-05 04:59:56] local.INFO: Extracted packet for processing {"connection_id":233101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8e3"} 
[2026-11-05 04:59:56] local.INFO: GPS Element Parsed {"raw_longitude":760525376,"raw_latitude":108685320,"longitude_deg":76.0525376,"latitude_deg":10.868532,"altitude":61,"angle":239,"satellites":43,"speed":28,"hex_longitude":"2d54b240","hex_latitude":"067a6808","is_valid_coordinates":true} 
[2026-11-05 04:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 04:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221724672001,"note":"Value kept but may cause issues"} 
[2026-11-05 04:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39534379390730240,"note":"Value kept but may cause issues"} 
[2026-11-05 04:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6111525459654844416,"note":"Value kept but may cause issues"} 
[2026-11-05 04:59:56] 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-05 04:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793834874000,"timestamp_ms":1793834874000,"timestamp_seconds":1793834874,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8e3f490"} 
[2026-11-05 04:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 04:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 04:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 04:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 04:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 04:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 04:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 04:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":233101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 04:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":233101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":233101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 04:59: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-05 04:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 04:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 04:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221724672001,"66":27332,"15":206,"19":47872,"24":28,"16":39534379390730240,"45":6111525459654844416},"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-05 04:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 04:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 04:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221724672001,"description":"Unknown IO ID 0"} 
[2026-11-05 04:59:56] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-11-05 04:59:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 04:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39534379390730240,"km_value":39534379390730.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 04:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":6111525459654844416,"description":"Unknown IO ID 45"} 
[2026-11-05 04:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221724672001,"power":27332,"unknown_15":206,"unknown_19":47872,"ignition":28,"odometer":null,"unknown_45":6111525459654844416}} 
[2026-11-05 04:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":233101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 04:59:56] local.INFO: GPS data processed {"connection_id":233101,"processed":1,"errors":0,"total":1} 
[2026-11-05 04:59:56] local.INFO: Acknowledgment sent {"connection_id":233101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:00:05] local.INFO: TCP Data received {"connection_id":229890,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:00:05] local.INFO: Processing buffer {"connection_id":229890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:00:05] local.INFO: IMEI packet received {"connection_id":229890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":229890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:00:07] local.INFO: TCP Data received {"connection_id":229890,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:00:07] local.INFO: Processing buffer {"connection_id":229890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:00:07] local.INFO: IMEI packet received {"connection_id":229890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":229890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:00:09] local.INFO: TCP Data received {"connection_id":229890,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:00:09] local.INFO: Processing buffer {"connection_id":229890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:00:09] local.INFO: IMEI packet received {"connection_id":229890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":229890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:00:12] local.INFO: TCP Data received {"connection_id":229890,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8e42758012d549340067a5948004200fa27..."} 
[2026-11-05 05:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8e42758012d549340067a5948004200fa27..."} 
[2026-11-05 05:00:12] local.INFO: Processing buffer {"connection_id":229890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8e42758012d549340067a5948004200fa27..."} 
[2026-11-05 05:00:12] local.INFO: Packet analysis {"connection_id":229890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8e4"} 
[2026-11-05 05:00:12] local.INFO: Extracted packet for processing {"connection_id":229890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8e4"} 
[2026-11-05 05:00:12] local.INFO: GPS Element Parsed {"raw_longitude":760517440,"raw_latitude":108681544,"longitude_deg":76.051744,"latitude_deg":10.8681544,"altitude":66,"angle":250,"satellites":39,"speed":25,"hex_longitude":"2d549340","hex_latitude":"067a5948","is_valid_coordinates":true} 
[2026-11-05 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-05 05:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221727744001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39534796002557952,"note":"Value kept but may cause issues"} 
[2026-11-05 05:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6103010841608062976,"note":"Value kept but may cause issues"} 
[2026-11-05 05:00: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-05 05:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793834887000,"timestamp_ms":1793834887000,"timestamp_seconds":1793834887,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8e42758"} 
[2026-11-05 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-05 05:00: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-05 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 05:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 05:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05: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-05 05:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221727744001,"66":27300,"15":206,"19":47872,"24":25,"16":39534796002557952,"45":6103010841608062976},"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-05 05:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221727744001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:00:12] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-11-05 05:00:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 05:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39534796002557952,"km_value":39534796002557.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6103010841608062976,"description":"Unknown IO ID 45"} 
[2026-11-05 05:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221727744001,"power":27300,"unknown_15":206,"unknown_19":47872,"ignition":25,"odometer":null,"unknown_45":6103010841608062976}} 
[2026-11-05 05:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":229890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:00:12] local.INFO: GPS data processed {"connection_id":229890,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:00:12] local.INFO: Acknowledgment sent {"connection_id":229890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:00:47] local.INFO: TCP Data received {"connection_id":229890,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8e465d8012d547080067a50780046010325..."} 
[2026-11-05 05:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8e465d8012d547080067a50780046010325..."} 
[2026-11-05 05:00:47] local.INFO: Processing buffer {"connection_id":229890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8e465d8012d547080067a50780046010325..."} 
[2026-11-05 05:00:47] local.INFO: Packet analysis {"connection_id":229890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8e4"} 
[2026-11-05 05:00:47] local.INFO: Extracted packet for processing {"connection_id":229890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8e4"} 
[2026-11-05 05:00:47] local.INFO: GPS Element Parsed {"raw_longitude":760508544,"raw_latitude":108679288,"longitude_deg":76.0508544,"latitude_deg":10.8679288,"altitude":70,"angle":259,"satellites":37,"speed":21,"hex_longitude":"2d547080","hex_latitude":"067a5078","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221731072001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39535234089222144,"note":"Value kept but may cause issues"} 
[2026-11-05 05:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6094285117329065984,"note":"Value kept but may cause issues"} 
[2026-11-05 05:00: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-05 05:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793834903000,"timestamp_ms":1793834903000,"timestamp_seconds":1793834903,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8e465d8"} 
[2026-11-05 05: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-05 05:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-05 05: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 05:00:47] 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-05 05: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-05 05: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-05 05:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:00: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-05 05:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221731072001,"66":27300,"15":206,"19":47872,"24":21,"16":39535234089222144,"45":6094285117329065984},"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-05 05:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221731072001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:00:47] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-11-05 05:00:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 05:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39535234089222144,"km_value":39535234089222.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":6094285117329065984,"description":"Unknown IO ID 45"} 
[2026-11-05 05:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221731072001,"power":27300,"unknown_15":206,"unknown_19":47872,"ignition":21,"odometer":null,"unknown_45":6094285117329065984}} 
[2026-11-05 05:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":229890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:00:47] local.INFO: GPS data processed {"connection_id":229890,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:00:47] local.INFO: Acknowledgment sent {"connection_id":229890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:01:06] local.INFO: TCP Data received {"connection_id":229891,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:01:06] local.INFO: Processing buffer {"connection_id":229891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:01:06] local.INFO: IMEI packet received {"connection_id":229891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":229891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:01:07] local.INFO: TCP Data received {"connection_id":229891,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:01:07] local.INFO: Processing buffer {"connection_id":229891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:01:07] local.INFO: IMEI packet received {"connection_id":229891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":229891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:01:10] local.INFO: TCP Data received {"connection_id":229891,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:01:10] local.INFO: Processing buffer {"connection_id":229891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:01:10] local.INFO: IMEI packet received {"connection_id":229891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":229891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:01:13] local.INFO: TCP Data received {"connection_id":229891,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8e49c88012d5452c0067a4e880049010f25..."} 
[2026-11-05 05:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8e49c88012d5452c0067a4e880049010f25..."} 
[2026-11-05 05:01:13] local.INFO: Processing buffer {"connection_id":229891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8e49c88012d5452c0067a4e880049010f25..."} 
[2026-11-05 05:01:13] local.INFO: Packet analysis {"connection_id":229891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8e4"} 
[2026-11-05 05:01:13] local.INFO: Extracted packet for processing {"connection_id":229891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8e4"} 
[2026-11-05 05:01:13] local.INFO: GPS Element Parsed {"raw_longitude":760500928,"raw_latitude":108678792,"longitude_deg":76.0500928,"latitude_deg":10.8678792,"altitude":73,"angle":271,"satellites":37,"speed":21,"hex_longitude":"2d5452c0","hex_latitude":"067a4e88","is_valid_coordinates":true} 
[2026-11-05 05:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221735168001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39535599161442304,"note":"Value kept but may cause issues"} 
[2026-11-05 05:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6084503861887793152,"note":"Value kept but may cause issues"} 
[2026-11-05 05:01: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-05 05:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793834917000,"timestamp_ms":1793834917000,"timestamp_seconds":1793834917,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8e49c88"} 
[2026-11-05 05:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:01: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-05 05:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 05:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05:01:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05: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-05 05:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221735168001,"66":27343,"15":206,"19":47872,"24":21,"16":39535599161442304,"45":6084503861887793152},"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-05 05:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221735168001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:01:13] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-11-05 05:01:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 05:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39535599161442304,"km_value":39535599161442.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6084503861887793152,"description":"Unknown IO ID 45"} 
[2026-11-05 05:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221735168001,"power":27343,"unknown_15":206,"unknown_19":47872,"ignition":21,"odometer":null,"unknown_45":6084503861887793152}} 
[2026-11-05 05:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":229891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:01:13] local.INFO: GPS data processed {"connection_id":229891,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:01:13] local.INFO: Acknowledgment sent {"connection_id":229891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:01:44] local.INFO: TCP Data received {"connection_id":229891,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8e69c40012d52a8000679d870005100d82b..."} 
[2026-11-05 05:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8e69c40012d52a8000679d870005100d82b..."} 
[2026-11-05 05:01:44] local.INFO: Processing buffer {"connection_id":229891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8e69c40012d52a8000679d870005100d82b..."} 
[2026-11-05 05:01:44] local.INFO: Packet analysis {"connection_id":229891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8e6"} 
[2026-11-05 05:01:44] local.INFO: Extracted packet for processing {"connection_id":229891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8e6"} 
[2026-11-05 05:01:44] local.INFO: GPS Element Parsed {"raw_longitude":760391680,"raw_latitude":108648560,"longitude_deg":76.039168,"latitude_deg":10.864856,"altitude":81,"angle":216,"satellites":43,"speed":56,"hex_longitude":"2d52a800","hex_latitude":"0679d870","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221770496001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39541418842128384,"note":"Value kept but may cause issues"} 
[2026-11-05 05:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5963188146919596032,"note":"Value kept but may cause issues"} 
[2026-11-05 05:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793835048000,"timestamp_ms":1793835048000,"timestamp_seconds":1793835048,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8e69c40"} 
[2026-11-05 05: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-05 05: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-05 05: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 05:01: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-05 05: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-05 05: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-05 05:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05: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-05 05:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221770496001,"66":27213,"137":206,"19":47872,"24":56,"16":39541418842128384,"45":5963188146919596032},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,19,24,16,45]} 
[2026-11-05 05:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221770496001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:01:44] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-11-05 05:01:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 05:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39541418842128384,"km_value":39541418842128.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5963188146919596032,"description":"Unknown IO ID 45"} 
[2026-11-05 05:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221770496001,"power":27213,"unknown_137":206,"unknown_19":47872,"ignition":56,"odometer":null,"unknown_45":5963188146919596032}} 
[2026-11-05 05:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":229891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:01:44] local.INFO: GPS data processed {"connection_id":229891,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:01:44] local.INFO: Acknowledgment sent {"connection_id":229891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:02:04] local.INFO: TCP Data received {"connection_id":231191,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:02:04] local.INFO: Processing buffer {"connection_id":231191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:02:04] local.INFO: IMEI packet received {"connection_id":231191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":231191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:02:09] local.INFO: TCP Data received {"connection_id":231191,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:02:09] local.INFO: Processing buffer {"connection_id":231191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:02:09] local.INFO: IMEI packet received {"connection_id":231191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":231191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:02:09] local.INFO: TCP Data received {"connection_id":231191,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:02:09] local.INFO: Processing buffer {"connection_id":231191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:02:09] local.INFO: IMEI packet received {"connection_id":231191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":231191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:02:11] local.INFO: TCP Data received {"connection_id":231191,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8e6b3b0012d5297400679bcc0005300cc2d..."} 
[2026-11-05 05:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8e6b3b0012d5297400679bcc0005300cc2d..."} 
[2026-11-05 05:02:11] local.INFO: Processing buffer {"connection_id":231191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8e6b3b0012d5297400679bcc0005300cc2d..."} 
[2026-11-05 05:02:11] local.INFO: Packet analysis {"connection_id":231191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8e6"} 
[2026-11-05 05:02:11] local.INFO: Extracted packet for processing {"connection_id":231191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8e6"} 
[2026-11-05 05:02:11] local.INFO: GPS Element Parsed {"raw_longitude":760387392,"raw_latitude":108641472,"longitude_deg":76.0387392,"latitude_deg":10.8641472,"altitude":83,"angle":204,"satellites":45,"speed":53,"hex_longitude":"2d529740","hex_latitude":"0679bcc0","is_valid_coordinates":true} 
[2026-11-05 05:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221772288001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39541818274086912,"note":"Value kept but may cause issues"} 
[2026-11-05 05:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5956010535011512320,"note":"Value kept but may cause issues"} 
[2026-11-05 05:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793835054000,"timestamp_ms":1793835054000,"timestamp_seconds":1793835054,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8e6b3b0"} 
[2026-11-05 05:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:02: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-05 05:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-11-05 05:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:02: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-05 05:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221772288001,"66":27213,"137":206,"19":47872,"24":53,"16":39541818274086912,"45":5956010535011512320},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,19,24,16,45]} 
[2026-11-05 05:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221772288001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:02:11] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-11-05 05:02:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 05:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39541818274086912,"km_value":39541818274086.914,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5956010535011512320,"description":"Unknown IO ID 45"} 
[2026-11-05 05:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221772288001,"power":27213,"unknown_137":206,"unknown_19":47872,"ignition":53,"odometer":null,"unknown_45":5956010535011512320}} 
[2026-11-05 05:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":231191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:02:11] local.INFO: GPS data processed {"connection_id":231191,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:02:11] local.INFO: Acknowledgment sent {"connection_id":231191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:02:16] local.INFO: TCP Data received {"connection_id":231191,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8e6cf08012d528a0006799b60005400c72d..."} 
[2026-11-05 05:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8e6cf08012d528a0006799b60005400c72d..."} 
[2026-11-05 05:02:16] local.INFO: Processing buffer {"connection_id":231191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8e6cf08012d528a0006799b60005400c72d..."} 
[2026-11-05 05:02:16] local.INFO: Packet analysis {"connection_id":231191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8e6"} 
[2026-11-05 05:02:16] local.INFO: Extracted packet for processing {"connection_id":231191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8e6"} 
[2026-11-05 05:02:16] local.INFO: GPS Element Parsed {"raw_longitude":760384000,"raw_latitude":108632928,"longitude_deg":76.0384,"latitude_deg":10.8632928,"altitude":84,"angle":199,"satellites":45,"speed":51,"hex_longitude":"2d528a00","hex_latitude":"06799b60","is_valid_coordinates":true} 
[2026-11-05 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-05 05:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221773824001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39542264950685696,"note":"Value kept but may cause issues"} 
[2026-11-05 05:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5951295829149794304,"note":"Value kept but may cause issues"} 
[2026-11-05 05:02:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793835061000,"timestamp_ms":1793835061000,"timestamp_seconds":1793835061,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8e6cf08"} 
[2026-11-05 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-05 05:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-11-05 05:02:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 05:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":231191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":231191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":231191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05: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-05 05:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221773824001,"66":27365,"138":206,"19":47872,"24":51,"16":39542264950685696,"45":5951295829149794304},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,19,24,16,45]} 
[2026-11-05 05:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221773824001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:02:16] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-11-05 05:02:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 05:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39542264950685696,"km_value":39542264950685.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5951295829149794304,"description":"Unknown IO ID 45"} 
[2026-11-05 05:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221773824001,"power":27365,"unknown_138":206,"unknown_19":47872,"ignition":51,"odometer":null,"unknown_45":5951295829149794304}} 
[2026-11-05 05:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":231191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:02:16] local.INFO: GPS data processed {"connection_id":231191,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:02:16] local.INFO: Acknowledgment sent {"connection_id":231191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:03:07] local.INFO: TCP Data received {"connection_id":231191,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8e6ea60012d527ec006797a50005500c82c..."} 
[2026-11-05 05:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8e6ea60012d527ec006797a50005500c82c..."} 
[2026-11-05 05:03:07] local.INFO: Processing buffer {"connection_id":231191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8e6ea60012d527ec006797a50005500c82c..."} 
[2026-11-05 05:03:07] local.INFO: Packet analysis {"connection_id":231191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8e6"} 
[2026-11-05 05:03:07] local.INFO: Extracted packet for processing {"connection_id":231191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8e6"} 
[2026-11-05 05:03:07] local.INFO: GPS Element Parsed {"raw_longitude":760381120,"raw_latitude":108624464,"longitude_deg":76.038112,"latitude_deg":10.8624464,"altitude":85,"angle":200,"satellites":44,"speed":50,"hex_longitude":"2d527ec0","hex_latitude":"06797a50","is_valid_coordinates":true} 
[2026-11-05 05:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221775616001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39542694447415296,"note":"Value kept but may cause issues"} 
[2026-11-05 05:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947566285706190848,"note":"Value kept but may cause issues"} 
[2026-11-05 05:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1793835068000,"timestamp_ms":1793835068000,"timestamp_seconds":1793835068,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8e6ea60"} 
[2026-11-05 05:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 05:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":231191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":231191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":231191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:03: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-05 05:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221775616001,"66":27376,"138":206,"19":47872,"24":50,"16":39542694447415296,"45":5947566285706190848},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,19,24,16,45]} 
[2026-11-05 05:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221775616001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:03:07] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-11-05 05:03:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 05:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39542694447415296,"km_value":39542694447415.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947566285706190848,"description":"Unknown IO ID 45"} 
[2026-11-05 05:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221775616001,"power":27376,"unknown_138":206,"unknown_19":47872,"ignition":50,"odometer":null,"unknown_45":5947566285706190848}} 
[2026-11-05 05:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":231191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:03:07] local.INFO: GPS data processed {"connection_id":231191,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:03:07] local.INFO: Acknowledgment sent {"connection_id":231191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:03:10] local.INFO: TCP Data received {"connection_id":233104,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:03:10] local.INFO: Processing buffer {"connection_id":233104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:03:10] local.INFO: IMEI packet received {"connection_id":233104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":233104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:03:14] local.INFO: TCP Data received {"connection_id":233104,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:03:14] local.INFO: Processing buffer {"connection_id":233104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:03:14] local.INFO: IMEI packet received {"connection_id":233104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":233104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:03:15] local.INFO: TCP Data received {"connection_id":233104,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8e7ffb8012d52320006780000003a00ca25..."} 
[2026-11-05 05:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8e7ffb8012d52320006780000003a00ca25..."} 
[2026-11-05 05:03:15] local.INFO: Processing buffer {"connection_id":233104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8e7ffb8012d52320006780000003a00ca25..."} 
[2026-11-05 05:03:15] local.INFO: Packet analysis {"connection_id":233104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8e7"} 
[2026-11-05 05:03:15] local.INFO: Extracted packet for processing {"connection_id":233104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8e7"} 
[2026-11-05 05:03:15] local.INFO: GPS Element Parsed {"raw_longitude":760361472,"raw_latitude":108527616,"longitude_deg":76.0361472,"latitude_deg":10.8527616,"altitude":58,"angle":202,"satellites":37,"speed":60,"hex_longitude":"2d523200","hex_latitude":"06780000","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221794560001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39547504810786816,"note":"Value kept but may cause issues"} 
[2026-11-05 05:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5924766812567148544,"note":"Value kept but may cause issues"} 
[2026-11-05 05:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793835139000,"timestamp_ms":1793835139000,"timestamp_seconds":1793835139,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8e7ffb8"} 
[2026-11-05 05: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-05 05:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 05:03:15] 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-05 05: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-05 05: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-05 05:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:03: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-05 05:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221794560001,"66":27300,"138":206,"19":47872,"24":60,"16":39547504810786816,"45":5924766812567148544},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,19,24,16,45]} 
[2026-11-05 05:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221794560001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:03:15] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-11-05 05:03:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 05:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39547504810786816,"km_value":39547504810786.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5924766812567148544,"description":"Unknown IO ID 45"} 
[2026-11-05 05:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221794560001,"power":27300,"unknown_138":206,"unknown_19":47872,"ignition":60,"odometer":null,"unknown_45":5924766812567148544}} 
[2026-11-05 05:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":233104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:03:15] local.INFO: GPS data processed {"connection_id":233104,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:03:15] local.INFO: Acknowledgment sent {"connection_id":233104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:03:46] local.INFO: TCP Data received {"connection_id":233104,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8e81728012d5220800677e0a0003700d620..."} 
[2026-11-05 05:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8e81728012d5220800677e0a0003700d620..."} 
[2026-11-05 05:03:46] local.INFO: Processing buffer {"connection_id":233104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8e81728012d5220800677e0a0003700d620..."} 
[2026-11-05 05:03:46] local.INFO: Packet analysis {"connection_id":233104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8e8"} 
[2026-11-05 05:03:46] local.INFO: Extracted packet for processing {"connection_id":233104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8e8"} 
[2026-11-05 05:03:46] local.INFO: GPS Element Parsed {"raw_longitude":760356992,"raw_latitude":108519584,"longitude_deg":76.0356992,"latitude_deg":10.8519584,"altitude":55,"angle":214,"satellites":32,"speed":59,"hex_longitude":"2d522080","hex_latitude":"0677e0a0","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221795584001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39547951487385600,"note":"Value kept but may cause issues"} 
[2026-11-05 05:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5922796487728693248,"note":"Value kept but may cause issues"} 
[2026-11-05 05:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793835145000,"timestamp_ms":1793835145000,"timestamp_seconds":1793835145,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8e81728"} 
[2026-11-05 05: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-05 05:03: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-05 05: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 05:03:46] 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-05 05: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-05 05: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-05 05:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":233104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":233104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":233104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:03: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-05 05:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221795584001,"66":27300,"138":206,"19":47872,"24":59,"16":39547951487385600,"45":5922796487728693248},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,19,24,16,45]} 
[2026-11-05 05:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221795584001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:03:46] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-11-05 05:03:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 05:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39547951487385600,"km_value":39547951487385.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5922796487728693248,"description":"Unknown IO ID 45"} 
[2026-11-05 05:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221795584001,"power":27300,"unknown_138":206,"unknown_19":47872,"ignition":59,"odometer":null,"unknown_45":5922796487728693248}} 
[2026-11-05 05:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":233104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:03:46] local.INFO: GPS data processed {"connection_id":233104,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:03:46] local.INFO: Acknowledgment sent {"connection_id":233104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:04:10] local.INFO: TCP Data received {"connection_id":233105,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:04:10] local.INFO: Processing buffer {"connection_id":233105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:04:10] local.INFO: IMEI packet received {"connection_id":233105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":233105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:04:10] local.INFO: TCP Data received {"connection_id":233105,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:04:10] local.INFO: Processing buffer {"connection_id":233105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:04:10] local.INFO: IMEI packet received {"connection_id":233105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":233105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:04:15] local.INFO: TCP Data received {"connection_id":233105,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:04:15] local.INFO: Processing buffer {"connection_id":233105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:04:15] local.INFO: IMEI packet received {"connection_id":233105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":233105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:04:16] local.INFO: TCP Data received {"connection_id":233105,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8e81728012d5220800677e0a0003700d620..."} 
[2026-11-05 05:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8e81728012d5220800677e0a0003700d620..."} 
[2026-11-05 05:04:16] local.INFO: Processing buffer {"connection_id":233105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8e81728012d5220800677e0a0003700d620..."} 
[2026-11-05 05:04:16] local.INFO: Packet analysis {"connection_id":233105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8e8"} 
[2026-11-05 05:04:16] local.INFO: Extracted packet for processing {"connection_id":233105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8e8"} 
[2026-11-05 05:04:16] local.INFO: GPS Element Parsed {"raw_longitude":760356992,"raw_latitude":108519584,"longitude_deg":76.0356992,"latitude_deg":10.8519584,"altitude":55,"angle":214,"satellites":32,"speed":59,"hex_longitude":"2d522080","hex_latitude":"0677e0a0","is_valid_coordinates":true} 
[2026-11-05 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-05 05:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221797120001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39547951487385600,"note":"Value kept but may cause issues"} 
[2026-11-05 05:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5917870675634200576,"note":"Value kept but may cause issues"} 
[2026-11-05 05:04:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793835145000,"timestamp_ms":1793835145000,"timestamp_seconds":1793835145,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8e81728"} 
[2026-11-05 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-05 05:04: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-05 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 05:04:16] 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-05 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-05 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-05 05:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":233105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":233105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":233105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:04: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-05 05:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221797120001,"66":27300,"138":206,"19":47872,"24":59,"16":39547951487385600,"45":5917870675634200576},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,19,24,16,45]} 
[2026-11-05 05:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221797120001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:04:16] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-11-05 05:04:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 05:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39547951487385600,"km_value":39547951487385.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5917870675634200576,"description":"Unknown IO ID 45"} 
[2026-11-05 05:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221797120001,"power":27300,"unknown_138":206,"unknown_19":47872,"ignition":59,"odometer":null,"unknown_45":5917870675634200576}} 
[2026-11-05 05:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":233105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:04:16] local.INFO: GPS data processed {"connection_id":233105,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:04:16] local.INFO: Acknowledgment sent {"connection_id":233105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:04:19] local.INFO: TCP Data received {"connection_id":233105,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8e82ab0012d520d000677caf0003300e321..."} 
[2026-11-05 05:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8e82ab0012d520d000677caf0003300e321..."} 
[2026-11-05 05:04:19] local.INFO: Processing buffer {"connection_id":233105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8e82ab0012d520d000677caf0003300e321..."} 
[2026-11-05 05:04:19] local.INFO: Packet analysis {"connection_id":233105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8e8"} 
[2026-11-05 05:04:19] local.INFO: Extracted packet for processing {"connection_id":233105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8e8"} 
[2026-11-05 05:04:19] local.INFO: GPS Element Parsed {"raw_longitude":760352000,"raw_latitude":108514032,"longitude_deg":76.0352,"latitude_deg":10.8514032,"altitude":51,"angle":227,"satellites":33,"speed":59,"hex_longitude":"2d520d00","hex_latitude":"0677caf0","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221797120001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39548312264638464,"note":"Value kept but may cause issues"} 
[2026-11-05 05:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5917870675634200576,"note":"Value kept but may cause issues"} 
[2026-11-05 05:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793835150000,"timestamp_ms":1793835150000,"timestamp_seconds":1793835150,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8e82ab0"} 
[2026-11-05 05: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-05 05:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 05:04:19] 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-05 05: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-05 05: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-05 05:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":233105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":233105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":233105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:04: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-05 05:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221797120001,"66":27321,"138":206,"19":47872,"24":59,"16":39548312264638464,"45":5917870675634200576},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,19,24,16,45]} 
[2026-11-05 05:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221797120001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:04:19] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-11-05 05:04:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 05:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39548312264638464,"km_value":39548312264638.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5917870675634200576,"description":"Unknown IO ID 45"} 
[2026-11-05 05:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221797120001,"power":27321,"unknown_138":206,"unknown_19":47872,"ignition":59,"odometer":null,"unknown_45":5917870675634200576}} 
[2026-11-05 05:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":233105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:04:19] local.INFO: GPS data processed {"connection_id":233105,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:04:19] local.INFO: Acknowledgment sent {"connection_id":233105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:04:32] local.INFO: TCP Data received {"connection_id":233106,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233106,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:04:32] local.INFO: Processing buffer {"connection_id":233106,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:04:32] local.INFO: IMEI packet received {"connection_id":233106,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 05:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":233106,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:05:05] local.INFO: TCP Data received {"connection_id":231192,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:05:05] local.INFO: Processing buffer {"connection_id":231192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:05:05] local.INFO: IMEI packet received {"connection_id":231192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":231192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:05:06] local.INFO: TCP Data received {"connection_id":231192,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:05:06] local.INFO: Processing buffer {"connection_id":231192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:05:06] local.INFO: IMEI packet received {"connection_id":231192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":231192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:05:07] local.INFO: TCP Data received {"connection_id":231193,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:05:07] local.INFO: Processing buffer {"connection_id":231193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:05:07] local.INFO: IMEI packet received {"connection_id":231193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 05:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":231193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:05:10] local.INFO: TCP Data received {"connection_id":231192,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:05:10] local.INFO: Processing buffer {"connection_id":231192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:05:10] local.INFO: IMEI packet received {"connection_id":231192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":231192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:05:11] local.INFO: TCP Data received {"connection_id":231192,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8e97aa0012d511b00067648d8001800e42d..."} 
[2026-11-05 05:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8e97aa0012d511b00067648d8001800e42d..."} 
[2026-11-05 05:05:11] local.INFO: Processing buffer {"connection_id":231192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8e97aa0012d511b00067648d8001800e42d..."} 
[2026-11-05 05:05:11] local.INFO: Packet analysis {"connection_id":231192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8e9"} 
[2026-11-05 05:05:11] local.INFO: Extracted packet for processing {"connection_id":231192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8e9"} 
[2026-11-05 05:05:11] local.INFO: GPS Element Parsed {"raw_longitude":760290048,"raw_latitude":108415192,"longitude_deg":76.0290048,"latitude_deg":10.8415192,"altitude":24,"angle":228,"satellites":45,"speed":49,"hex_longitude":"2d511b00","hex_latitude":"067648d8","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221818624001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39554046045978624,"note":"Value kept but may cause issues"} 
[2026-11-05 05:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5850527787431012352,"note":"Value kept but may cause issues"} 
[2026-11-05 05:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793835236000,"timestamp_ms":1793835236000,"timestamp_seconds":1793835236,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8e97aa0"} 
[2026-11-05 05: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-05 05:05: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-05 05: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 05:05:11] 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-05 05: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-05 05: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-05 05:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05: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-05 05:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221818624001,"66":27343,"129":206,"19":47872,"24":49,"16":39554046045978624,"45":5850527787431012352},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,19,24,16,45]} 
[2026-11-05 05:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221818624001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:05:11] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-11-05 05:05:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 05:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39554046045978624,"km_value":39554046045978.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5850527787431012352,"description":"Unknown IO ID 45"} 
[2026-11-05 05:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221818624001,"power":27343,"unknown_129":206,"unknown_19":47872,"ignition":49,"odometer":null,"unknown_45":5850527787431012352}} 
[2026-11-05 05:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":231192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:05:11] local.INFO: GPS data processed {"connection_id":231192,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:05:11] local.INFO: Acknowledgment sent {"connection_id":231192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:05:13] local.INFO: TCP Data received {"connection_id":231192,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8e99210012d5102c006763800001700f02c..."} 
[2026-11-05 05:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8e99210012d5102c006763800001700f02c..."} 
[2026-11-05 05:05:13] local.INFO: Processing buffer {"connection_id":231192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8e99210012d5102c006763800001700f02c..."} 
[2026-11-05 05:05:13] local.INFO: Packet analysis {"connection_id":231192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8e9"} 
[2026-11-05 05:05:13] local.INFO: Extracted packet for processing {"connection_id":231192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8e9"} 
[2026-11-05 05:05:13] local.INFO: GPS Element Parsed {"raw_longitude":760283840,"raw_latitude":108410880,"longitude_deg":76.028384,"latitude_deg":10.841088,"altitude":23,"angle":240,"satellites":44,"speed":51,"hex_longitude":"2d5102c0","hex_latitude":"06763800","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221820416001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39554411118198784,"note":"Value kept but may cause issues"} 
[2026-11-05 05:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5844264969197639680,"note":"Value kept but may cause issues"} 
[2026-11-05 05:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793835242000,"timestamp_ms":1793835242000,"timestamp_seconds":1793835242,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8e99210"} 
[2026-11-05 05: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-05 05:05: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-05 05: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 05:05: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-05 05: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-05 05: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-05 05:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":231192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":231192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":231192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05: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-05 05:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221820416001,"66":27213,"129":206,"19":47872,"24":51,"16":39554411118198784,"45":5844264969197639680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,19,24,16,45]} 
[2026-11-05 05:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221820416001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:05:13] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-11-05 05:05:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 05:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39554411118198784,"km_value":39554411118198.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5844264969197639680,"description":"Unknown IO ID 45"} 
[2026-11-05 05:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221820416001,"power":27213,"unknown_129":206,"unknown_19":47872,"ignition":51,"odometer":null,"unknown_45":5844264969197639680}} 
[2026-11-05 05:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":231192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:05:13] local.INFO: GPS data processed {"connection_id":231192,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:05:13] local.INFO: Acknowledgment sent {"connection_id":231192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:05:44] local.INFO: TCP Data received {"connection_id":231192,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8e9a598012d50ea4006762d70001600fc2b..."} 
[2026-11-05 05:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8e9a598012d50ea4006762d70001600fc2b..."} 
[2026-11-05 05:05:44] local.INFO: Processing buffer {"connection_id":231192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8e9a598012d50ea4006762d70001600fc2b..."} 
[2026-11-05 05:05:44] local.INFO: Packet analysis {"connection_id":231192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8e9"} 
[2026-11-05 05:05:44] local.INFO: Extracted packet for processing {"connection_id":231192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8e9"} 
[2026-11-05 05:05:44] local.INFO: GPS Element Parsed {"raw_longitude":760277568,"raw_latitude":108408176,"longitude_deg":76.0277568,"latitude_deg":10.8408176,"altitude":22,"angle":252,"satellites":43,"speed":55,"hex_longitude":"2d50ea40","hex_latitude":"06762d70","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221821952001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39554737535713280,"note":"Value kept but may cause issues"} 
[2026-11-05 05:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5837439201011302400,"note":"Value kept but may cause issues"} 
[2026-11-05 05:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793835247000,"timestamp_ms":1793835247000,"timestamp_seconds":1793835247,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8e9a598"} 
[2026-11-05 05: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-05 05:05: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-05 05: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-11-05 05:05:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05: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-05 05: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-05 05:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":231192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":231192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":231192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05: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-05 05:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221821952001,"66":27267,"129":206,"19":47872,"24":55,"16":39554737535713280,"45":5837439201011302400},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,19,24,16,45]} 
[2026-11-05 05:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221821952001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:05:44] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-11-05 05:05:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 05:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39554737535713280,"km_value":39554737535713.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5837439201011302400,"description":"Unknown IO ID 45"} 
[2026-11-05 05:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221821952001,"power":27267,"unknown_129":206,"unknown_19":47872,"ignition":55,"odometer":null,"unknown_45":5837439201011302400}} 
[2026-11-05 05:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":231192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:05:44] local.INFO: GPS data processed {"connection_id":231192,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:05:44] local.INFO: Acknowledgment sent {"connection_id":231192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:09:35] local.INFO: TCP Data received {"connection_id":229895,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:09:35] local.INFO: Processing buffer {"connection_id":229895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:09:35] local.INFO: IMEI packet received {"connection_id":229895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":229895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:09:39] local.INFO: TCP Data received {"connection_id":229895,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:09:39] local.INFO: Processing buffer {"connection_id":229895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:09:39] local.INFO: IMEI packet received {"connection_id":229895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":229895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:09:39] local.INFO: TCP Data received {"connection_id":229895,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8ed9180012d4c180006766f58000f01022e..."} 
[2026-11-05 05:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8ed9180012d4c180006766f58000f01022e..."} 
[2026-11-05 05:09:39] local.INFO: Processing buffer {"connection_id":229895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8ed9180012d4c180006766f58000f01022e..."} 
[2026-11-05 05:09:39] local.INFO: Packet analysis {"connection_id":229895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8ed"} 
[2026-11-05 05:09:39] local.INFO: Extracted packet for processing {"connection_id":229895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8ed"} 
[2026-11-05 05:09:39] local.INFO: GPS Element Parsed {"raw_longitude":759961600,"raw_latitude":108425048,"longitude_deg":75.99616,"latitude_deg":10.8425048,"altitude":15,"angle":258,"satellites":46,"speed":46,"hex_longitude":"2d4c1800","hex_latitude":"06766f58","is_valid_coordinates":true} 
[2026-11-05 05:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221886976001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39570508655624192,"note":"Value kept but may cause issues"} 
[2026-11-05 05:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5493617516963186688,"note":"Value kept but may cause issues"} 
[2026-11-05 05:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793835504000,"timestamp_ms":1793835504000,"timestamp_seconds":1793835504,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8ed9180"} 
[2026-11-05 05:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:09: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-05 05:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 05:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":229895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":229895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":229895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:09:39] 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-05 05:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221886976001,"66":27310,"235":206,"80":60160,"24":46,"16":39570508655624192,"45":5493617516963186688},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-11-05 05:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221886976001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:09:39] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-05 05:09:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-11-05 05:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39570508655624192,"km_value":39570508655624.195,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":5493617516963186688,"description":"Unknown IO ID 45"} 
[2026-11-05 05:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221886976001,"power":27310,"unknown_235":206,"unknown_80":60160,"ignition":46,"odometer":null,"unknown_45":5493617516963186688}} 
[2026-11-05 05:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":229895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:09:39] local.INFO: GPS data processed {"connection_id":229895,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:09:39] local.INFO: Acknowledgment sent {"connection_id":229895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:10:04] local.INFO: TCP Data received {"connection_id":233108,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:10:04] local.INFO: Processing buffer {"connection_id":233108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:10:04] local.INFO: IMEI packet received {"connection_id":233108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":233108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:10:07] local.INFO: TCP Data received {"connection_id":233108,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:10:07] local.INFO: Processing buffer {"connection_id":233108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:10:07] local.INFO: IMEI packet received {"connection_id":233108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":233108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:10:09] local.INFO: TCP Data received {"connection_id":233108,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:10:10] local.INFO: Processing buffer {"connection_id":233108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:10:10] local.INFO: IMEI packet received {"connection_id":233108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":233108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:10:10] local.INFO: TCP Data received {"connection_id":233108,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8eda8f0012d4bfe4006766750001000f72e..."} 
[2026-11-05 05:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8eda8f0012d4bfe4006766750001000f72e..."} 
[2026-11-05 05:10:10] local.INFO: Processing buffer {"connection_id":233108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8eda8f0012d4bfe4006766750001000f72e..."} 
[2026-11-05 05:10:10] local.INFO: Packet analysis {"connection_id":233108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8ed"} 
[2026-11-05 05:10:10] local.INFO: Extracted packet for processing {"connection_id":233108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8ed"} 
[2026-11-05 05:10:10] local.INFO: GPS Element Parsed {"raw_longitude":759955008,"raw_latitude":108422992,"longitude_deg":75.9955008,"latitude_deg":10.8422992,"altitude":16,"angle":247,"satellites":46,"speed":45,"hex_longitude":"2d4bfe40","hex_latitude":"06766750","is_valid_coordinates":true} 
[2026-11-05 05:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221889024001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39570839368105984,"note":"Value kept but may cause issues"} 
[2026-11-05 05:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5483132574080391168,"note":"Value kept but may cause issues"} 
[2026-11-05 05:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793835510000,"timestamp_ms":1793835510000,"timestamp_seconds":1793835510,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8eda8f0"} 
[2026-11-05 05:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-11-05 05:10:10] 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-05 05:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:10:10] 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-05 05:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221889024001,"66":27343,"235":206,"80":60160,"24":45,"16":39570839368105984,"45":5483132574080391168},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-11-05 05:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221889024001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:10:10] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-05 05:10:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-11-05 05:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39570839368105984,"km_value":39570839368105.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5483132574080391168,"description":"Unknown IO ID 45"} 
[2026-11-05 05:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221889024001,"power":27343,"unknown_235":206,"unknown_80":60160,"ignition":45,"odometer":null,"unknown_45":5483132574080391168}} 
[2026-11-05 05:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":233108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:10:10] local.INFO: GPS data processed {"connection_id":233108,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:10:10] local.INFO: Acknowledgment sent {"connection_id":233108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:10:32] local.INFO: TCP Data received {"connection_id":231194,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231194,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:10:32] local.INFO: Processing buffer {"connection_id":231194,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:10:32] local.INFO: IMEI packet received {"connection_id":231194,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 05:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":231194,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:10:41] local.INFO: TCP Data received {"connection_id":233108,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8edc448012d4be2c0067658b0001200e92f..."} 
[2026-11-05 05:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8edc448012d4be2c0067658b0001200e92f..."} 
[2026-11-05 05:10:41] local.INFO: Processing buffer {"connection_id":233108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8edc448012d4be2c0067658b0001200e92f..."} 
[2026-11-05 05:10:41] local.INFO: Packet analysis {"connection_id":233108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8ed"} 
[2026-11-05 05:10:41] local.INFO: Extracted packet for processing {"connection_id":233108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8ed"} 
[2026-11-05 05:10:41] local.INFO: GPS Element Parsed {"raw_longitude":759947968,"raw_latitude":108419248,"longitude_deg":75.9947968,"latitude_deg":10.8419248,"altitude":18,"angle":233,"satellites":47,"speed":45,"hex_longitude":"2d4be2c0","hex_latitude":"067658b0","is_valid_coordinates":true} 
[2026-11-05 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-05 05:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221890560001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39571221620195328,"note":"Value kept but may cause issues"} 
[2026-11-05 05:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5475884593429565440,"note":"Value kept but may cause issues"} 
[2026-11-05 05:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793835517000,"timestamp_ms":1793835517000,"timestamp_seconds":1793835517,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8edc448"} 
[2026-11-05 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-05 05:10: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-05 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 05:10:41] 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-05 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-05 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-05 05:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:10: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-05 05:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221890560001,"66":27300,"235":206,"80":60160,"24":45,"16":39571221620195328,"45":5475884593429565440},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-11-05 05:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221890560001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:10:41] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-05 05:10:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-11-05 05:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39571221620195328,"km_value":39571221620195.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":5475884593429565440,"description":"Unknown IO ID 45"} 
[2026-11-05 05:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221890560001,"power":27300,"unknown_235":206,"unknown_80":60160,"ignition":45,"odometer":null,"unknown_45":5475884593429565440}} 
[2026-11-05 05:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":233108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:10:41] local.INFO: GPS data processed {"connection_id":233108,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:10:41] local.INFO: Acknowledgment sent {"connection_id":233108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:11:04] local.INFO: TCP Data received {"connection_id":229897,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:11:04] local.INFO: Processing buffer {"connection_id":229897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:11:04] local.INFO: IMEI packet received {"connection_id":229897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":229897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:11:07] local.INFO: TCP Data received {"connection_id":229896,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:11:07] local.INFO: Processing buffer {"connection_id":229896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:11:07] local.INFO: IMEI packet received {"connection_id":229896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 05:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":229896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:11:09] local.INFO: TCP Data received {"connection_id":229897,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:11:09] local.INFO: Processing buffer {"connection_id":229897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:11:09] local.INFO: IMEI packet received {"connection_id":229897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":229897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:11:10] local.INFO: TCP Data received {"connection_id":229897,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8eefcc8012d4ae440067521a8000c00d92e..."} 
[2026-11-05 05:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8eefcc8012d4ae440067521a8000c00d92e..."} 
[2026-11-05 05:11:10] local.INFO: Processing buffer {"connection_id":229897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8eefcc8012d4ae440067521a8000c00d92e..."} 
[2026-11-05 05:11:10] local.INFO: Packet analysis {"connection_id":229897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8ee"} 
[2026-11-05 05:11:10] local.INFO: Extracted packet for processing {"connection_id":229897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8ee"} 
[2026-11-05 05:11:10] local.INFO: GPS Element Parsed {"raw_longitude":759882816,"raw_latitude":108339624,"longitude_deg":75.9882816,"latitude_deg":10.8339624,"altitude":12,"angle":217,"satellites":46,"speed":51,"hex_longitude":"2d4ae440","hex_latitude":"067521a8","is_valid_coordinates":true} 
[2026-11-05 05:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221911040001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39576182307422208,"note":"Value kept but may cause issues"} 
[2026-11-05 05:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5402630730721118208,"note":"Value kept but may cause issues"} 
[2026-11-05 05:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793835597000,"timestamp_ms":1793835597000,"timestamp_seconds":1793835597,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8eefcc8"} 
[2026-11-05 05:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 05:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:11:10] 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-05 05:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221911040001,"66":27321,"236":206,"80":60160,"24":51,"16":39576182307422208,"45":5402630730721118208},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-11-05 05:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221911040001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:11:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-11-05 05:11:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-11-05 05:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39576182307422208,"km_value":39576182307422.21,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5402630730721118208,"description":"Unknown IO ID 45"} 
[2026-11-05 05:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221911040001,"power":27321,"unknown_236":206,"unknown_80":60160,"ignition":51,"odometer":null,"unknown_45":5402630730721118208}} 
[2026-11-05 05:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":229897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:11:10] local.INFO: GPS data processed {"connection_id":229897,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:11:10] local.INFO: Acknowledgment sent {"connection_id":229897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:11:42] local.INFO: TCP Data received {"connection_id":229897,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8ef1820012d4acd00067504b0000b00d92a..."} 
[2026-11-05 05:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8ef1820012d4acd00067504b0000b00d92a..."} 
[2026-11-05 05:11:42] local.INFO: Processing buffer {"connection_id":229897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8ef1820012d4acd00067504b0000b00d92a..."} 
[2026-11-05 05:11:42] local.INFO: Packet analysis {"connection_id":229897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8ef"} 
[2026-11-05 05:11:42] local.INFO: Extracted packet for processing {"connection_id":229897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8ef"} 
[2026-11-05 05:11:42] local.INFO: GPS Element Parsed {"raw_longitude":759876864,"raw_latitude":108332208,"longitude_deg":75.9876864,"latitude_deg":10.8332208,"altitude":11,"angle":217,"satellites":42,"speed":54,"hex_longitude":"2d4acd00","hex_latitude":"067504b0","is_valid_coordinates":true} 
[2026-11-05 05:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221912832001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39576641868922880,"note":"Value kept but may cause issues"} 
[2026-11-05 05:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5396508649975818240,"note":"Value kept but may cause issues"} 
[2026-11-05 05:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793835604000,"timestamp_ms":1793835604000,"timestamp_seconds":1793835604,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8ef1820"} 
[2026-11-05 05:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 05:11:42] 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-05 05:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:11: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-05 05:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221912832001,"66":26789,"81":206,"80":60160,"24":54,"16":39576641868922880,"45":5396508649975818240},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-11-05 05:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221912832001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:11:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-11-05 05:11:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-11-05 05:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39576641868922880,"km_value":39576641868922.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5396508649975818240,"description":"Unknown IO ID 45"} 
[2026-11-05 05:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221912832001,"power":26789,"unknown_81":206,"unknown_80":60160,"ignition":54,"odometer":null,"unknown_45":5396508649975818240}} 
[2026-11-05 05:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":229897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:11:42] local.INFO: GPS data processed {"connection_id":229897,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:11:42] local.INFO: Acknowledgment sent {"connection_id":229897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:12:04] local.INFO: TCP Data received {"connection_id":231195,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:12:04] local.INFO: Processing buffer {"connection_id":231195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:12:04] local.INFO: IMEI packet received {"connection_id":231195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":231195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:12:09] local.INFO: TCP Data received {"connection_id":231195,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:12:09] local.INFO: Processing buffer {"connection_id":231195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:12:09] local.INFO: IMEI packet received {"connection_id":231195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":231195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:12:10] local.INFO: TCP Data received {"connection_id":231195,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8ef3378012d4ab4c00674e620000b00d92b..."} 
[2026-11-05 05:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8ef3378012d4ab4c00674e620000b00d92b..."} 
[2026-11-05 05:12:10] local.INFO: Processing buffer {"connection_id":231195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8ef3378012d4ab4c00674e620000b00d92b..."} 
[2026-11-05 05:12:10] local.INFO: Packet analysis {"connection_id":231195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8ef"} 
[2026-11-05 05:12:10] local.INFO: Extracted packet for processing {"connection_id":231195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8ef"} 
[2026-11-05 05:12:10] local.INFO: GPS Element Parsed {"raw_longitude":759870656,"raw_latitude":108324384,"longitude_deg":75.9870656,"latitude_deg":10.8324384,"altitude":11,"angle":217,"satellites":43,"speed":56,"hex_longitude":"2d4ab4c0","hex_latitude":"0674e620","is_valid_coordinates":true} 
[2026-11-05 05:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221914624001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39577118610292736,"note":"Value kept but may cause issues"} 
[2026-11-05 05:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5389964356765396992,"note":"Value kept but may cause issues"} 
[2026-11-05 05:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793835611000,"timestamp_ms":1793835611000,"timestamp_seconds":1793835611,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8ef3378"} 
[2026-11-05 05:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-11-05 05:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:12:10] 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-05 05:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221914624001,"66":27343,"81":206,"80":60160,"24":56,"16":39577118610292736,"45":5389964356765396992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-11-05 05:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221914624001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:12:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-11-05 05:12:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-11-05 05:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39577118610292736,"km_value":39577118610292.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5389964356765396992,"description":"Unknown IO ID 45"} 
[2026-11-05 05:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221914624001,"power":27343,"unknown_81":206,"unknown_80":60160,"ignition":56,"odometer":null,"unknown_45":5389964356765396992}} 
[2026-11-05 05:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":231195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:12:10] local.INFO: GPS data processed {"connection_id":231195,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:12:10] local.INFO: Acknowledgment sent {"connection_id":231195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:12:41] local.INFO: TCP Data received {"connection_id":231195,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8f096f0012d49a000067392c8000a00dc30..."} 
[2026-11-05 05:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8f096f0012d49a000067392c8000a00dc30..."} 
[2026-11-05 05:12:41] local.INFO: Processing buffer {"connection_id":231195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8f096f0012d49a000067392c8000a00dc30..."} 
[2026-11-05 05:12:41] local.INFO: Packet analysis {"connection_id":231195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8f0"} 
[2026-11-05 05:12:41] local.INFO: Extracted packet for processing {"connection_id":231195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8f0"} 
[2026-11-05 05:12:41] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108237512,"longitude_deg":75.9799808,"latitude_deg":10.8237512,"altitude":10,"angle":220,"satellites":48,"speed":43,"hex_longitude":"2d49a000","hex_latitude":"067392c8","is_valid_coordinates":true} 
[2026-11-05 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-05 05:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221937408001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39582517384183808,"note":"Value kept but may cause issues"} 
[2026-11-05 05:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5311855050705858560,"note":"Value kept but may cause issues"} 
[2026-11-05 05:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793835702000,"timestamp_ms":1793835702000,"timestamp_seconds":1793835702,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8f096f0"} 
[2026-11-05 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-05 05:12: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-05 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 05:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 05:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:12: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-05 05:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221937408001,"66":27343,"218":206,"80":60160,"24":43,"16":39582517384183808,"45":5311855050705858560},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-11-05 05:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221937408001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:12:41] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-11-05 05:12:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-11-05 05:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39582517384183808,"km_value":39582517384183.805,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":5311855050705858560,"description":"Unknown IO ID 45"} 
[2026-11-05 05:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221937408001,"power":27343,"unknown_218":206,"unknown_80":60160,"ignition":43,"odometer":null,"unknown_45":5311855050705858560}} 
[2026-11-05 05:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":231195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:12:41] local.INFO: GPS data processed {"connection_id":231195,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:12:41] local.INFO: Acknowledgment sent {"connection_id":231195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:13:07] local.INFO: TCP Data received {"connection_id":229899,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:13:07] local.INFO: Processing buffer {"connection_id":229899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:13:07] local.INFO: IMEI packet received {"connection_id":229899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":229899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:13:09] local.INFO: TCP Data received {"connection_id":229899,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:13:09] local.INFO: Processing buffer {"connection_id":229899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:13:09] local.INFO: IMEI packet received {"connection_id":229899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":229899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:13:15] local.INFO: TCP Data received {"connection_id":229899,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:13:15] local.INFO: Processing buffer {"connection_id":229899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:13:15] local.INFO: IMEI packet received {"connection_id":229899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":229899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:13:33] local.INFO: TCP Data received {"connection_id":229899,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8f0b630012d49894006737728000a00db31..."} 
[2026-11-05 05:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8f0b630012d49894006737728000a00db31..."} 
[2026-11-05 05:13:33] local.INFO: Processing buffer {"connection_id":229899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8f0b630012d49894006737728000a00db31..."} 
[2026-11-05 05:13:33] local.INFO: Packet analysis {"connection_id":229899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8f0"} 
[2026-11-05 05:13:33] local.INFO: Extracted packet for processing {"connection_id":229899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8f0"} 
[2026-11-05 05:13:33] local.INFO: GPS Element Parsed {"raw_longitude":759793984,"raw_latitude":108230440,"longitude_deg":75.9793984,"latitude_deg":10.823044,"altitude":10,"angle":219,"satellites":49,"speed":46,"hex_longitude":"2d498940","hex_latitude":"06737728","is_valid_coordinates":true} 
[2026-11-05 05:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221939712001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39582959765815296,"note":"Value kept but may cause issues"} 
[2026-11-05 05:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305240388751247360,"note":"Value kept but may cause issues"} 
[2026-11-05 05:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1793835710000,"timestamp_ms":1793835710000,"timestamp_seconds":1793835710,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8f0b630"} 
[2026-11-05 05:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:13: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-05 05:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 05:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":229899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":229899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":229899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:13:33] 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-05 05:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221939712001,"66":27321,"218":206,"80":60160,"24":46,"16":39582959765815296,"45":5305240388751247360},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-11-05 05:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221939712001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:13:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-11-05 05:13:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-11-05 05:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39582959765815296,"km_value":39582959765815.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305240388751247360,"description":"Unknown IO ID 45"} 
[2026-11-05 05:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221939712001,"power":27321,"unknown_218":206,"unknown_80":60160,"ignition":46,"odometer":null,"unknown_45":5305240388751247360}} 
[2026-11-05 05:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":229899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:13:33] local.INFO: GPS data processed {"connection_id":229899,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:13:33] local.INFO: Acknowledgment sent {"connection_id":229899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:13:35] local.INFO: TCP Data received {"connection_id":229899,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8f0d570012d49720006735ad8000c00da30..."} 
[2026-11-05 05:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8f0d570012d49720006735ad8000c00da30..."} 
[2026-11-05 05:13:35] local.INFO: Processing buffer {"connection_id":229899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8f0d570012d49720006735ad8000c00da30..."} 
[2026-11-05 05:13:35] local.INFO: Packet analysis {"connection_id":229899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8f0"} 
[2026-11-05 05:13:35] local.INFO: Extracted packet for processing {"connection_id":229899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8f0"} 
[2026-11-05 05:13:35] local.INFO: GPS Element Parsed {"raw_longitude":759788032,"raw_latitude":108223192,"longitude_deg":75.9788032,"latitude_deg":10.8223192,"altitude":12,"angle":218,"satellites":48,"speed":45,"hex_longitude":"2d497200","hex_latitude":"06735ad8","is_valid_coordinates":true} 
[2026-11-05 05:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221941760001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39583410737381376,"note":"Value kept but may cause issues"} 
[2026-11-05 05:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5298836833029269504,"note":"Value kept but may cause issues"} 
[2026-11-05 05:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1793835718000,"timestamp_ms":1793835718000,"timestamp_seconds":1793835718,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8f0d570"} 
[2026-11-05 05:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 05:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":229899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":229899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":229899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:13:35] 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-05 05:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221941760001,"66":27365,"83":206,"80":60160,"24":45,"16":39583410737381376,"45":5298836833029269504},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-11-05 05:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221941760001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:13:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-11-05 05:13:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-11-05 05:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39583410737381376,"km_value":39583410737381.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5298836833029269504,"description":"Unknown IO ID 45"} 
[2026-11-05 05:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221941760001,"power":27365,"unknown_83":206,"unknown_80":60160,"ignition":45,"odometer":null,"unknown_45":5298836833029269504}} 
[2026-11-05 05:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":229899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:13:35] local.INFO: GPS data processed {"connection_id":229899,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:13:35] local.INFO: Acknowledgment sent {"connection_id":229899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:14:01] local.INFO: TCP Data received {"connection_id":229410,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:14:01] local.INFO: Processing buffer {"connection_id":229410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:14:01] local.INFO: IMEI packet received {"connection_id":229410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":229410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:14:05] local.INFO: TCP Data received {"connection_id":229410,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:14:05] local.INFO: Processing buffer {"connection_id":229410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:14:05] local.INFO: IMEI packet received {"connection_id":229410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":229410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:14:09] local.INFO: TCP Data received {"connection_id":229410,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:14:09] local.INFO: Processing buffer {"connection_id":229410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:14:09] local.INFO: IMEI packet received {"connection_id":229410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":229410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:14:10] local.INFO: TCP Data received {"connection_id":229410,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8f20620012d486480067221d0000f00dd30..."} 
[2026-11-05 05:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8f20620012d486480067221d0000f00dd30..."} 
[2026-11-05 05:14:10] local.INFO: Processing buffer {"connection_id":229410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8f20620012d486480067221d0000f00dd30..."} 
[2026-11-05 05:14:10] local.INFO: Packet analysis {"connection_id":229410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8f2"} 
[2026-11-05 05:14:10] local.INFO: Extracted packet for processing {"connection_id":229410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8f2"} 
[2026-11-05 05:14:10] local.INFO: GPS Element Parsed {"raw_longitude":759719040,"raw_latitude":108143056,"longitude_deg":75.971904,"latitude_deg":10.8143056,"altitude":15,"angle":221,"satellites":48,"speed":55,"hex_longitude":"2d486480","hex_latitude":"067221d0","is_valid_coordinates":true} 
[2026-11-05 05:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221961984001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39588504568594432,"note":"Value kept but may cause issues"} 
[2026-11-05 05:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5223683014226974720,"note":"Value kept but may cause issues"} 
[2026-11-05 05:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793835796000,"timestamp_ms":1793835796000,"timestamp_seconds":1793835796,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8f20620"} 
[2026-11-05 05:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-05 05:14:10] 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-05 05:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:14:10] 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-05 05:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221961984001,"66":27300,"38":206,"80":60160,"24":55,"16":39588504568594432,"45":5223683014226974720},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,80,24,16,45]} 
[2026-11-05 05:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221961984001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:14:10] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-11-05 05:14:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-11-05 05:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39588504568594432,"km_value":39588504568594.43,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5223683014226974720,"description":"Unknown IO ID 45"} 
[2026-11-05 05:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221961984001,"power":27300,"unknown_38":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5223683014226974720}} 
[2026-11-05 05:14:10] 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":61518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:14:10] local.INFO: GPS data processed {"connection_id":229410,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:14:10] local.INFO: Acknowledgment sent {"connection_id":229410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:14:48] local.INFO: TCP Data received {"connection_id":229410,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8f22178012d484ac006720528000e00dc2f..."} 
[2026-11-05 05:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8f22178012d484ac006720528000e00dc2f..."} 
[2026-11-05 05:14:48] local.INFO: Processing buffer {"connection_id":229410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8f22178012d484ac006720528000e00dc2f..."} 
[2026-11-05 05:14:48] local.INFO: Packet analysis {"connection_id":229410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8f2"} 
[2026-11-05 05:14:48] local.INFO: Extracted packet for processing {"connection_id":229410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8f2"} 
[2026-11-05 05:14:48] local.INFO: GPS Element Parsed {"raw_longitude":759712448,"raw_latitude":108135720,"longitude_deg":75.9712448,"latitude_deg":10.813572,"altitude":14,"angle":220,"satellites":47,"speed":54,"hex_longitude":"2d484ac0","hex_latitude":"06720528","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221963776001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39588977014996992,"note":"Value kept but may cause issues"} 
[2026-11-05 05:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5216435033574854656,"note":"Value kept but may cause issues"} 
[2026-11-05 05:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793835803000,"timestamp_ms":1793835803000,"timestamp_seconds":1793835803,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8f22178"} 
[2026-11-05 05: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-05 05:14: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-05 05: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 05:14:48] 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-05 05: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-05 05: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-05 05:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:14: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-05 05:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221963776001,"66":27300,"38":206,"80":60160,"24":54,"16":39588977014996992,"45":5216435033574854656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,80,24,16,45]} 
[2026-11-05 05:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221963776001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:14:48] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-11-05 05:14:48] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-11-05 05:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39588977014996992,"km_value":39588977014996.99,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5216435033574854656,"description":"Unknown IO ID 45"} 
[2026-11-05 05:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221963776001,"power":27300,"unknown_38":206,"unknown_80":60160,"ignition":54,"odometer":null,"unknown_45":5216435033574854656}} 
[2026-11-05 05:14:48] 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":61519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:14:48] local.INFO: GPS data processed {"connection_id":229410,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:14:48] local.INFO: Acknowledgment sent {"connection_id":229410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:15:03] local.INFO: TCP Data received {"connection_id":229411,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:15:03] local.INFO: Processing buffer {"connection_id":229411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:15:03] local.INFO: IMEI packet received {"connection_id":229411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":229411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:15:04] local.INFO: TCP Data received {"connection_id":229411,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:15:04] local.INFO: Processing buffer {"connection_id":229411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:15:04] local.INFO: IMEI packet received {"connection_id":229411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":229411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:15:09] local.INFO: TCP Data received {"connection_id":229411,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:15:09] local.INFO: Processing buffer {"connection_id":229411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:15:09] local.INFO: IMEI packet received {"connection_id":229411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":229411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:15:10] local.INFO: TCP Data received {"connection_id":229411,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8f23cd0012d4831000671e7e0000c00de30..."} 
[2026-11-05 05:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8f23cd0012d4831000671e7e0000c00de30..."} 
[2026-11-05 05:15:10] local.INFO: Processing buffer {"connection_id":229411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8f23cd0012d4831000671e7e0000c00de30..."} 
[2026-11-05 05:15:10] local.INFO: Packet analysis {"connection_id":229411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8f2"} 
[2026-11-05 05:15:10] local.INFO: Extracted packet for processing {"connection_id":229411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8f2"} 
[2026-11-05 05:15:10] local.INFO: GPS Element Parsed {"raw_longitude":759705856,"raw_latitude":108128224,"longitude_deg":75.9705856,"latitude_deg":10.8128224,"altitude":12,"angle":222,"satellites":48,"speed":56,"hex_longitude":"2d483100","hex_latitude":"0671e7e0","is_valid_coordinates":true} 
[2026-11-05 05:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221965568001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39589453756366848,"note":"Value kept but may cause issues"} 
[2026-11-05 05:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5209187052922677248,"note":"Value kept but may cause issues"} 
[2026-11-05 05:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793835810000,"timestamp_ms":1793835810000,"timestamp_seconds":1793835810,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8f23cd0"} 
[2026-11-05 05:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 05:15:10] 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-05 05:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:15:10] 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-05 05:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221965568001,"66":27234,"38":206,"80":60160,"24":56,"16":39589453756366848,"45":5209187052922677248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,80,24,16,45]} 
[2026-11-05 05:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221965568001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:15:10] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-11-05 05:15:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-11-05 05:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39589453756366848,"km_value":39589453756366.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5209187052922677248,"description":"Unknown IO ID 45"} 
[2026-11-05 05:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221965568001,"power":27234,"unknown_38":206,"unknown_80":60160,"ignition":56,"odometer":null,"unknown_45":5209187052922677248}} 
[2026-11-05 05:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":229411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:15:10] local.INFO: GPS data processed {"connection_id":229411,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:15:10] local.INFO: Acknowledgment sent {"connection_id":229411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:15:41] local.INFO: TCP Data received {"connection_id":229411,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8f365b0012d4710000670b290000900dc31..."} 
[2026-11-05 05:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8f365b0012d4710000670b290000900dc31..."} 
[2026-11-05 05:15:41] local.INFO: Processing buffer {"connection_id":229411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8f365b0012d4710000670b290000900dc31..."} 
[2026-11-05 05:15:41] local.INFO: Packet analysis {"connection_id":229411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8f3"} 
[2026-11-05 05:15:41] local.INFO: Extracted packet for processing {"connection_id":229411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8f3"} 
[2026-11-05 05:15:41] local.INFO: GPS Element Parsed {"raw_longitude":759631872,"raw_latitude":108049040,"longitude_deg":75.9631872,"latitude_deg":10.804904,"altitude":9,"angle":220,"satellites":49,"speed":56,"hex_longitude":"2d471000","hex_latitude":"0670b290","is_valid_coordinates":true} 
[2026-11-05 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-05 05:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221985024001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39594667846664192,"note":"Value kept but may cause issues"} 
[2026-11-05 05:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5127700047144683520,"note":"Value kept but may cause issues"} 
[2026-11-05 05:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793835886000,"timestamp_ms":1793835886000,"timestamp_seconds":1793835886,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8f365b0"} 
[2026-11-05 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-05 05:15: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-05 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 05:15:41] 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-05 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-05 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-05 05:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:15: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-05 05:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221985024001,"66":26778,"195":206,"80":60160,"24":56,"16":39594667846664192,"45":5127700047144683520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,80,24,16,45]} 
[2026-11-05 05:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221985024001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:15:41] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-11-05 05:15:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-11-05 05:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39594667846664192,"km_value":39594667846664.195,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":5127700047144683520,"description":"Unknown IO ID 45"} 
[2026-11-05 05:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221985024001,"power":26778,"unknown_195":206,"unknown_80":60160,"ignition":56,"odometer":null,"unknown_45":5127700047144683520}} 
[2026-11-05 05:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":229411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:15:41] local.INFO: GPS data processed {"connection_id":229411,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:15:41] local.INFO: Acknowledgment sent {"connection_id":229411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:16:04] local.INFO: TCP Data received {"connection_id":229901,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:16:04] local.INFO: Processing buffer {"connection_id":229901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:16:04] local.INFO: IMEI packet received {"connection_id":229901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":229901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:16:07] local.INFO: TCP Data received {"connection_id":229901,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:16:07] local.INFO: Processing buffer {"connection_id":229901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:16:07] local.INFO: IMEI packet received {"connection_id":229901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":229901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:16:09] local.INFO: TCP Data received {"connection_id":229901,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:16:09] local.INFO: Processing buffer {"connection_id":229901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:16:09] local.INFO: IMEI packet received {"connection_id":229901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":229901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:16:10] local.INFO: TCP Data received {"connection_id":229901,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8f38108012d46f840067093e8000b00d92f..."} 
[2026-11-05 05:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8f38108012d46f840067093e8000b00d92f..."} 
[2026-11-05 05:16:10] local.INFO: Processing buffer {"connection_id":229901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8f38108012d46f840067093e8000b00d92f..."} 
[2026-11-05 05:16:10] local.INFO: Packet analysis {"connection_id":229901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8f3"} 
[2026-11-05 05:16:10] local.INFO: Extracted packet for processing {"connection_id":229901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8f3"} 
[2026-11-05 05:16:10] local.INFO: GPS Element Parsed {"raw_longitude":759625792,"raw_latitude":108041192,"longitude_deg":75.9625792,"latitude_deg":10.8041192,"altitude":11,"angle":217,"satellites":47,"speed":55,"hex_longitude":"2d46f840","hex_latitude":"067093e8","is_valid_coordinates":true} 
[2026-11-05 05:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221986816001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39595144588034048,"note":"Value kept but may cause issues"} 
[2026-11-05 05:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5120592803980808192,"note":"Value kept but may cause issues"} 
[2026-11-05 05:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793835893000,"timestamp_ms":1793835893000,"timestamp_seconds":1793835893,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8f38108"} 
[2026-11-05 05:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-11-05 05:16:10] 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-05 05:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:16:10] 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-05 05:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221986816001,"66":27343,"196":206,"80":60160,"24":55,"16":39595144588034048,"45":5120592803980808192},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,80,24,16,45]} 
[2026-11-05 05:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221986816001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:16:10] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-11-05 05:16:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-11-05 05:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39595144588034048,"km_value":39595144588034.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5120592803980808192,"description":"Unknown IO ID 45"} 
[2026-11-05 05:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221986816001,"power":27343,"unknown_196":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5120592803980808192}} 
[2026-11-05 05:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":229901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:16:10] local.INFO: GPS data processed {"connection_id":229901,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:16:10] local.INFO: Acknowledgment sent {"connection_id":229901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:16:37] local.INFO: TCP Data received {"connection_id":229902,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229902,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:16:37] local.INFO: Processing buffer {"connection_id":229902,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:16:37] local.INFO: IMEI packet received {"connection_id":229902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 05:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":229902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:16:41] local.INFO: TCP Data received {"connection_id":229901,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8f39c60012d46e1c006707678000d00d82e..."} 
[2026-11-05 05:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8f39c60012d46e1c006707678000d00d82e..."} 
[2026-11-05 05:16:41] local.INFO: Processing buffer {"connection_id":229901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8f39c60012d46e1c006707678000d00d82e..."} 
[2026-11-05 05:16:41] local.INFO: Packet analysis {"connection_id":229901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8f3"} 
[2026-11-05 05:16:41] local.INFO: Extracted packet for processing {"connection_id":229901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8f3"} 
[2026-11-05 05:16:41] local.INFO: GPS Element Parsed {"raw_longitude":759620032,"raw_latitude":108033656,"longitude_deg":75.9620032,"latitude_deg":10.8033656,"altitude":13,"angle":216,"satellites":46,"speed":52,"hex_longitude":"2d46e1c0","hex_latitude":"06707678","is_valid_coordinates":true} 
[2026-11-05 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-05 05:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459221988608001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39595599854567424,"note":"Value kept but may cause issues"} 
[2026-11-05 05:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5113907773281921024,"note":"Value kept but may cause issues"} 
[2026-11-05 05:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793835900000,"timestamp_ms":1793835900000,"timestamp_seconds":1793835900,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8f39c60"} 
[2026-11-05 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-05 05:16: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-05 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 05:16:41] 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-05 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-05 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-05 05:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:16: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-05 05:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459221988608001,"66":27321,"196":206,"80":60160,"24":52,"16":39595599854567424,"45":5113907773281921024},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,80,24,16,45]} 
[2026-11-05 05:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459221988608001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:16:42] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-11-05 05:16:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-11-05 05:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39595599854567424,"km_value":39595599854567.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5113907773281921024,"description":"Unknown IO ID 45"} 
[2026-11-05 05:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459221988608001,"power":27321,"unknown_196":206,"unknown_80":60160,"ignition":52,"odometer":null,"unknown_45":5113907773281921024}} 
[2026-11-05 05:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":229901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:16:42] local.INFO: GPS data processed {"connection_id":229901,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:16:42] local.INFO: Acknowledgment sent {"connection_id":229901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:17:06] local.INFO: TCP Data received {"connection_id":231196,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231196,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:17:06] local.INFO: Processing buffer {"connection_id":231196,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:17:06] local.INFO: IMEI packet received {"connection_id":231196,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 05:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":231196,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:17:19] local.INFO: TCP Data received {"connection_id":231197,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:17:19] local.INFO: Processing buffer {"connection_id":231197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:17:19] local.INFO: IMEI packet received {"connection_id":231197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":231197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:17:23] local.INFO: TCP Data received {"connection_id":231197,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:17:23] local.INFO: Processing buffer {"connection_id":231197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:17:23] local.INFO: IMEI packet received {"connection_id":231197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":231197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:17:24] local.INFO: TCP Data received {"connection_id":231197,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8f4c540012d45d140066f42c0000900d72a..."} 
[2026-11-05 05:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8f4c540012d45d140066f42c0000900d72a..."} 
[2026-11-05 05:17:24] local.INFO: Processing buffer {"connection_id":231197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8f4c540012d45d140066f42c0000900d72a..."} 
[2026-11-05 05:17:24] local.INFO: Packet analysis {"connection_id":231197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8f4"} 
[2026-11-05 05:17:24] local.INFO: Extracted packet for processing {"connection_id":231197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8f4"} 
[2026-11-05 05:17:24] local.INFO: GPS Element Parsed {"raw_longitude":759550272,"raw_latitude":107954880,"longitude_deg":75.9550272,"latitude_deg":10.795488,"altitude":9,"angle":215,"satellites":42,"speed":51,"hex_longitude":"2d45d140","hex_latitude":"066f42c0","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222008064001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39600685095845888,"note":"Value kept but may cause issues"} 
[2026-11-05 05:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5036994735875500032,"note":"Value kept but may cause issues"} 
[2026-11-05 05:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793835976000,"timestamp_ms":1793835976000,"timestamp_seconds":1793835976,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8f4c540"} 
[2026-11-05 05: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-05 05:17: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-05 05: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 05:17:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05: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-05 05: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-05 05:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":231197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":231197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":231197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:17:24] 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-05 05:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222008064001,"66":27343,"240":206,"80":60160,"24":51,"16":39600685095845888,"45":5036994735875500032},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-11-05 05:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222008064001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:17:24] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-11-05 05:17:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-11-05 05:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39600685095845888,"km_value":39600685095845.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5036994735875500032,"description":"Unknown IO ID 45"} 
[2026-11-05 05:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222008064001,"power":27343,"unknown_240":206,"unknown_80":60160,"ignition":51,"odometer":null,"unknown_45":5036994735875500032}} 
[2026-11-05 05:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":231197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:17:24] local.INFO: GPS data processed {"connection_id":231197,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:17:24] local.INFO: Acknowledgment sent {"connection_id":231197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:18:11] local.INFO: TCP Data received {"connection_id":231198,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:18:11] local.INFO: Processing buffer {"connection_id":231198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:18:11] local.INFO: IMEI packet received {"connection_id":231198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":231198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:18:15] local.INFO: TCP Data received {"connection_id":231198,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:18:15] local.INFO: Processing buffer {"connection_id":231198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:18:15] local.INFO: IMEI packet received {"connection_id":231198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":231198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:18:20] local.INFO: TCP Data received {"connection_id":231198,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:18:20] local.INFO: Processing buffer {"connection_id":231198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:18:20] local.INFO: IMEI packet received {"connection_id":231198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":231198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:18:21] local.INFO: TCP Data received {"connection_id":231198,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8f4e098012d45bb80066f2520000a00d62c..."} 
[2026-11-05 05:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8f4e098012d45bb80066f2520000a00d62c..."} 
[2026-11-05 05:18:21] local.INFO: Processing buffer {"connection_id":231198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8f4e098012d45bb80066f2520000a00d62c..."} 
[2026-11-05 05:18:21] local.INFO: Packet analysis {"connection_id":231198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8f4"} 
[2026-11-05 05:18:21] local.INFO: Extracted packet for processing {"connection_id":231198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8f4"} 
[2026-11-05 05:18:21] local.INFO: GPS Element Parsed {"raw_longitude":759544704,"raw_latitude":107947296,"longitude_deg":75.9544704,"latitude_deg":10.7947296,"altitude":10,"angle":214,"satellites":44,"speed":52,"hex_longitude":"2d45bb80","hex_latitude":"066f2520","is_valid_coordinates":true} 
[2026-11-05 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-05 05:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222009856001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39601140362379264,"note":"Value kept but may cause issues"} 
[2026-11-05 05:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5030872655130181632,"note":"Value kept but may cause issues"} 
[2026-11-05 05:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793835983000,"timestamp_ms":1793835983000,"timestamp_seconds":1793835983,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8f4e098"} 
[2026-11-05 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-05 05:18: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-05 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 05:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 05:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":231198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":231198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":231198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:18:21] 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-05 05:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222009856001,"66":27365,"240":206,"80":60160,"24":52,"16":39601140362379264,"45":5030872655130181632},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-11-05 05:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222009856001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:18:21] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-11-05 05:18:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-11-05 05:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39601140362379264,"km_value":39601140362379.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5030872655130181632,"description":"Unknown IO ID 45"} 
[2026-11-05 05:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222009856001,"power":27365,"unknown_240":206,"unknown_80":60160,"ignition":52,"odometer":null,"unknown_45":5030872655130181632}} 
[2026-11-05 05:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":231198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:18:21] local.INFO: GPS data processed {"connection_id":231198,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:18:21] local.INFO: Acknowledgment sent {"connection_id":231198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:19:10] local.INFO: TCP Data received {"connection_id":231199,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:19:10] local.INFO: Processing buffer {"connection_id":231199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:19:10] local.INFO: IMEI packet received {"connection_id":231199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":231199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:19:10] local.INFO: TCP Data received {"connection_id":231199,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:19:10] local.INFO: Processing buffer {"connection_id":231199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:19:10] local.INFO: IMEI packet received {"connection_id":231199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":231199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:19:15] local.INFO: TCP Data received {"connection_id":231199,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:19:15] local.INFO: Processing buffer {"connection_id":231199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:19:15] local.INFO: IMEI packet received {"connection_id":231199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":231199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:19:17] local.INFO: TCP Data received {"connection_id":231199,"ip":"42.109.136.8","data_length":1348,"data_hex":"000000000000030f8e0a000001a1a8f63088012d44a640066dc278001300d930..."} 
[2026-11-05 05:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231199,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a1a8f63088012d44a640066dc278001300d930..."} 
[2026-11-05 05:19:17] local.INFO: Processing buffer {"connection_id":231199,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a1a8f63088012d44a640066dc278001300d930..."} 
[2026-11-05 05:19:17] local.INFO: Packet analysis {"connection_id":231199,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a1a8f6"} 
[2026-11-05 05:19:17] local.INFO: Extracted packet for processing {"connection_id":231199,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a1a8f6"} 
[2026-11-05 05:19:17] local.INFO: GPS Element Parsed {"raw_longitude":759473728,"raw_latitude":107856504,"longitude_deg":75.9473728,"latitude_deg":10.7856504,"altitude":19,"angle":217,"satellites":48,"speed":43,"hex_longitude":"2d44a640","hex_latitude":"066dc278","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222031616001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39606698050060288,"note":"Value kept but may cause issues"} 
[2026-11-05 05:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4952904086557947904,"note":"Value kept but may cause issues"} 
[2026-11-05 05:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793836069000,"timestamp_ms":1793836069000,"timestamp_seconds":1793836069,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8f63088"} 
[2026-11-05 05: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-05 05: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-05 05: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 05:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05: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-05 05: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-05 05:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":231199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":231199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":231199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:19: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-05 05:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222031616001,"66":27267,"148":206,"80":60416,"24":43,"16":39606698050060288,"45":4952904086557947904},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,80,24,16,45]} 
[2026-11-05 05:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222031616001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:19:17] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-11-05 05:19:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39606698050060288,"km_value":39606698050060.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4952904086557947904,"description":"Unknown IO ID 45"} 
[2026-11-05 05:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222031616001,"power":27267,"unknown_148":206,"unknown_80":60416,"ignition":43,"odometer":null,"unknown_45":4952904086557947904}} 
[2026-11-05 05:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":231199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:19:17] local.INFO: GPS data processed {"connection_id":231199,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:19:17] local.INFO: Acknowledgment sent {"connection_id":231199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:19:17] local.INFO: Packet analysis {"connection_id":231199,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a1a8f6"} 
[2026-11-05 05:19:17] local.INFO: Incomplete packet, waiting for more data {"connection_id":231199,"needed":795,"available":553} 
[2026-11-05 05:19:22] local.INFO: TCP Data received {"connection_id":231199,"ip":"42.109.136.8","data_length":1037,"data_hex":"000000000001a1a8f584a8012d453700066e6970000c00da3000370000000a00..."} 
[2026-11-05 05:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231199,"packet_length":1037,"packet_hex":"000000000001a1a8f584a8012d453700066e6970000c00da3000370000000a00..."} 
[2026-11-05 05:19:22] local.INFO: Processing buffer {"connection_id":231199,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1a8f653b0012d448e80066da380001300d831..."} 
[2026-11-05 05:19:22] local.INFO: Packet analysis {"connection_id":231199,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1a8f6"} 
[2026-11-05 05:19:22] local.INFO: Extracted packet for processing {"connection_id":231199,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8f6"} 
[2026-11-05 05:19:22] local.INFO: GPS Element Parsed {"raw_longitude":759467648,"raw_latitude":107848576,"longitude_deg":75.9467648,"latitude_deg":10.7848576,"altitude":19,"angle":216,"satellites":49,"speed":46,"hex_longitude":"2d448e80","hex_latitude":"066da380","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222033664001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39607183381364736,"note":"Value kept but may cause issues"} 
[2026-11-05 05:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4946711637068511232,"note":"Value kept but may cause issues"} 
[2026-11-05 05:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793836078000,"timestamp_ms":1793836078000,"timestamp_seconds":1793836078,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8f653b0"} 
[2026-11-05 05: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-05 05:19: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-05 05: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 05:19:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05: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-05 05: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-05 05:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":231199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":231199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":231199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:19: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-05 05:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222033664001,"66":27463,"103":206,"80":60416,"24":46,"16":39607183381364736,"45":4946711637068511232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-11-05 05:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222033664001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:19:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-11-05 05:19:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39607183381364736,"km_value":39607183381364.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":4946711637068511232,"description":"Unknown IO ID 45"} 
[2026-11-05 05:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222033664001,"power":27463,"unknown_103":206,"unknown_80":60416,"ignition":46,"odometer":null,"unknown_45":4946711637068511232}} 
[2026-11-05 05:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":231199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:19:22] local.INFO: GPS data processed {"connection_id":231199,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:19:22] local.INFO: Acknowledgment sent {"connection_id":231199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:19:22] local.INFO: Packet analysis {"connection_id":231199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8f6"} 
[2026-11-05 05:19:22] local.INFO: Extracted packet for processing {"connection_id":231199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8f6"} 
[2026-11-05 05:19:22] local.INFO: GPS Element Parsed {"raw_longitude":759461696,"raw_latitude":107841072,"longitude_deg":75.9461696,"latitude_deg":10.7841072,"altitude":19,"angle":219,"satellites":48,"speed":48,"hex_longitude":"2d447740","hex_latitude":"066d8630","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222035968001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39607642942865408,"note":"Value kept but may cause issues"} 
[2026-11-05 05:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4940026606369603584,"note":"Value kept but may cause issues"} 
[2026-11-05 05:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793836086000,"timestamp_ms":1793836086000,"timestamp_seconds":1793836086,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8f672f0"} 
[2026-11-05 05: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-05 05:19: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-05 05: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 05:19:22] 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-05 05: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-05 05: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-05 05:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":231199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":231199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":231199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:19: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-05 05:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222035968001,"66":27484,"103":206,"80":60416,"24":48,"16":39607642942865408,"45":4940026606369603584},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-11-05 05:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222035968001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:19:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-11-05 05:19:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39607642942865408,"km_value":39607642942865.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":4940026606369603584,"description":"Unknown IO ID 45"} 
[2026-11-05 05:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222035968001,"power":27484,"unknown_103":206,"unknown_80":60416,"ignition":48,"odometer":null,"unknown_45":4940026606369603584}} 
[2026-11-05 05:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":231199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:19:22] local.INFO: GPS data processed {"connection_id":231199,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:19:22] local.INFO: Acknowledgment sent {"connection_id":231199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:20:04] local.INFO: TCP Data received {"connection_id":233111,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:20:04] local.INFO: Processing buffer {"connection_id":233111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:20:04] local.INFO: IMEI packet received {"connection_id":233111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":233111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:20:05] local.INFO: TCP Data received {"connection_id":233111,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:20:05] local.INFO: Processing buffer {"connection_id":233111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:20:05] local.INFO: IMEI packet received {"connection_id":233111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":233111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:20:10] local.INFO: TCP Data received {"connection_id":233111,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:20:10] local.INFO: Processing buffer {"connection_id":233111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:20:10] local.INFO: IMEI packet received {"connection_id":233111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":233111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:20:11] local.INFO: TCP Data received {"connection_id":233111,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8f68e48012d446080066d6b38001200da30..."} 
[2026-11-05 05:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8f68e48012d446080066d6b38001200da30..."} 
[2026-11-05 05:20:11] local.INFO: Processing buffer {"connection_id":233111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8f68e48012d446080066d6b38001200da30..."} 
[2026-11-05 05:20:11] local.INFO: Packet analysis {"connection_id":233111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8f6"} 
[2026-11-05 05:20:11] local.INFO: Extracted packet for processing {"connection_id":233111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8f6"} 
[2026-11-05 05:20:11] local.INFO: GPS Element Parsed {"raw_longitude":759455872,"raw_latitude":107834168,"longitude_deg":75.9455872,"latitude_deg":10.7834168,"altitude":18,"angle":218,"satellites":48,"speed":52,"hex_longitude":"2d446080","hex_latitude":"066d6b38","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222038016001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39608076734562304,"note":"Value kept but may cause issues"} 
[2026-11-05 05:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4933482313159159808,"note":"Value kept but may cause issues"} 
[2026-11-05 05:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793836093000,"timestamp_ms":1793836093000,"timestamp_seconds":1793836093,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8f68e48"} 
[2026-11-05 05: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-05 05: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-05 05: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 05:20:11] 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-05 05: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-05 05: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-05 05:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:20:11] 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-05 05:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222038016001,"66":27484,"103":206,"80":60416,"24":52,"16":39608076734562304,"45":4933482313159159808},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-11-05 05:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222038016001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:20:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-11-05 05:20:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39608076734562304,"km_value":39608076734562.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4933482313159159808,"description":"Unknown IO ID 45"} 
[2026-11-05 05:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222038016001,"power":27484,"unknown_103":206,"unknown_80":60416,"ignition":52,"odometer":null,"unknown_45":4933482313159159808}} 
[2026-11-05 05:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":233111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:20:11] local.INFO: GPS data processed {"connection_id":233111,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:20:11] local.INFO: Acknowledgment sent {"connection_id":233111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:20:42] local.INFO: TCP Data received {"connection_id":233111,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8f80160012d431200066be1a0000600df2c..."} 
[2026-11-05 05:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8f80160012d431200066be1a0000600df2c..."} 
[2026-11-05 05:20:42] local.INFO: Processing buffer {"connection_id":233111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8f80160012d431200066be1a0000600df2c..."} 
[2026-11-05 05:20:42] local.INFO: Packet analysis {"connection_id":233111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8f8"} 
[2026-11-05 05:20:42] local.INFO: Extracted packet for processing {"connection_id":233111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8f8"} 
[2026-11-05 05:20:42] local.INFO: GPS Element Parsed {"raw_longitude":759370240,"raw_latitude":107733408,"longitude_deg":75.937024,"latitude_deg":10.7733408,"altitude":6,"angle":223,"satellites":44,"speed":53,"hex_longitude":"2d431200","hex_latitude":"066be1a0","is_valid_coordinates":true} 
[2026-11-05 05:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222062336001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39614441876094976,"note":"Value kept but may cause issues"} 
[2026-11-05 05:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4840102989609625600,"note":"Value kept but may cause issues"} 
[2026-11-05 05:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793836188000,"timestamp_ms":1793836188000,"timestamp_seconds":1793836188,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8f80160"} 
[2026-11-05 05:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:20: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-05 05:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 05:20:42] 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-05 05:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:20: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-05 05:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222062336001,"66":27234,"19":206,"80":60416,"24":53,"16":39614441876094976,"45":4840102989609625600},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-11-05 05:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222062336001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:20:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-11-05 05:20:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39614441876094976,"km_value":39614441876094.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4840102989609625600,"description":"Unknown IO ID 45"} 
[2026-11-05 05:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222062336001,"power":27234,"unknown_19":206,"unknown_80":60416,"ignition":53,"odometer":null,"unknown_45":4840102989609625600}} 
[2026-11-05 05:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":233111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:20:42] local.INFO: GPS data processed {"connection_id":233111,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:20:42] local.INFO: Acknowledgment sent {"connection_id":233111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:21:04] local.INFO: TCP Data received {"connection_id":229412,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:21:04] local.INFO: Processing buffer {"connection_id":229412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:21:04] local.INFO: IMEI packet received {"connection_id":229412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":229412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:21:08] local.INFO: TCP Data received {"connection_id":229412,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:21:08] local.INFO: Processing buffer {"connection_id":229412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:21:08] local.INFO: IMEI packet received {"connection_id":229412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":229412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:21:08] local.INFO: TCP Data received {"connection_id":229412,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8f81cb8012d42f800066bc770000700e02d..."} 
[2026-11-05 05:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8f81cb8012d42f800066bc770000700e02d..."} 
[2026-11-05 05:21:08] local.INFO: Processing buffer {"connection_id":229412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8f81cb8012d42f800066bc770000700e02d..."} 
[2026-11-05 05:21:08] local.INFO: Packet analysis {"connection_id":229412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8f8"} 
[2026-11-05 05:21:08] local.INFO: Extracted packet for processing {"connection_id":229412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8f8"} 
[2026-11-05 05:21:08] local.INFO: GPS Element Parsed {"raw_longitude":759363584,"raw_latitude":107726704,"longitude_deg":75.9363584,"latitude_deg":10.7726704,"altitude":7,"angle":224,"satellites":45,"speed":54,"hex_longitude":"2d42f800","hex_latitude":"066bc770","is_valid_coordinates":true} 
[2026-11-05 05:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222064128001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39614897142628352,"note":"Value kept but may cause issues"} 
[2026-11-05 05:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4832925377701715968,"note":"Value kept but may cause issues"} 
[2026-11-05 05:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793836195000,"timestamp_ms":1793836195000,"timestamp_seconds":1793836195,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8f81cb8"} 
[2026-11-05 05:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 05:21:08] 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-05 05:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":229412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":229412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":229412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:21:08] 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-05 05:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222064128001,"66":27343,"19":206,"80":60416,"24":54,"16":39614897142628352,"45":4832925377701715968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-11-05 05:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222064128001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:21:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-11-05 05:21:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39614897142628352,"km_value":39614897142628.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4832925377701715968,"description":"Unknown IO ID 45"} 
[2026-11-05 05:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222064128001,"power":27343,"unknown_19":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":4832925377701715968}} 
[2026-11-05 05:21:08] 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":61531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:21:08] local.INFO: GPS data processed {"connection_id":229412,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:21:08] local.INFO: Acknowledgment sent {"connection_id":229412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:21:40] local.INFO: TCP Data received {"connection_id":229412,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8f83810012d42dd00066bac68000700e12d..."} 
[2026-11-05 05:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8f83810012d42dd00066bac68000700e12d..."} 
[2026-11-05 05:21:40] local.INFO: Processing buffer {"connection_id":229412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8f83810012d42dd00066bac68000700e12d..."} 
[2026-11-05 05:21:40] local.INFO: Packet analysis {"connection_id":229412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8f8"} 
[2026-11-05 05:21:40] local.INFO: Extracted packet for processing {"connection_id":229412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8f8"} 
[2026-11-05 05:21:40] local.INFO: GPS Element Parsed {"raw_longitude":759356672,"raw_latitude":107719784,"longitude_deg":75.9356672,"latitude_deg":10.7719784,"altitude":7,"angle":225,"satellites":45,"speed":55,"hex_longitude":"2d42dd00","hex_latitude":"066bac68","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222065920001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39615365294063616,"note":"Value kept but may cause issues"} 
[2026-11-05 05:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4825607028305522688,"note":"Value kept but may cause issues"} 
[2026-11-05 05:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793836202000,"timestamp_ms":1793836202000,"timestamp_seconds":1793836202,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8f83810"} 
[2026-11-05 05: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-05 05:21: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-05 05: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 05:21:40] 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-05 05: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-05 05: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-05 05:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:21:40] 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-05 05:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222065920001,"66":27321,"20":206,"80":60416,"24":55,"16":39615365294063616,"45":4825607028305522688},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,80,24,16,45]} 
[2026-11-05 05:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222065920001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:21:40] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-11-05 05:21:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39615365294063616,"km_value":39615365294063.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":4825607028305522688,"description":"Unknown IO ID 45"} 
[2026-11-05 05:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222065920001,"power":27321,"unknown_20":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":4825607028305522688}} 
[2026-11-05 05:21:40] 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":61532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:21:40] local.INFO: GPS data processed {"connection_id":229412,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:21:40] local.INFO: Acknowledgment sent {"connection_id":229412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:22:04] local.INFO: TCP Data received {"connection_id":229414,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:22:04] local.INFO: Processing buffer {"connection_id":229414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:22:04] local.INFO: IMEI packet received {"connection_id":229414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":229414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:22:09] local.INFO: TCP Data received {"connection_id":229414,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:22:09] local.INFO: Processing buffer {"connection_id":229414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:22:09] local.INFO: IMEI packet received {"connection_id":229414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":229414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:22:11] local.INFO: TCP Data received {"connection_id":229414,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8f960f0012d41cfc0066a61f0000e00d22e..."} 
[2026-11-05 05:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8f960f0012d41cfc0066a61f0000e00d22e..."} 
[2026-11-05 05:22:11] local.INFO: Processing buffer {"connection_id":229414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8f960f0012d41cfc0066a61f0000e00d22e..."} 
[2026-11-05 05:22:11] local.INFO: Packet analysis {"connection_id":229414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8f9"} 
[2026-11-05 05:22:11] local.INFO: Extracted packet for processing {"connection_id":229414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8f9"} 
[2026-11-05 05:22:11] local.INFO: GPS Element Parsed {"raw_longitude":759287744,"raw_latitude":107635184,"longitude_deg":75.9287744,"latitude_deg":10.7635184,"altitude":14,"angle":210,"satellites":46,"speed":58,"hex_longitude":"2d41cfc0","hex_latitude":"066a61f0","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222085376001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39620630923968512,"note":"Value kept but may cause issues"} 
[2026-11-05 05:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4748764359642251264,"note":"Value kept but may cause issues"} 
[2026-11-05 05:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793836278000,"timestamp_ms":1793836278000,"timestamp_seconds":1793836278,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8f960f0"} 
[2026-11-05 05: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-05 05:22: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-05 05: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 05:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05: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-05 05: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-05 05:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:22:11] 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-05 05:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222085376001,"66":27267,"96":206,"80":60416,"24":58,"16":39620630923968512,"45":4748764359642251264},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,80,24,16,45]} 
[2026-11-05 05:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222085376001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:22:11] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-11-05 05:22:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39620630923968512,"km_value":39620630923968.516,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4748764359642251264,"description":"Unknown IO ID 45"} 
[2026-11-05 05:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222085376001,"power":27267,"unknown_96":206,"unknown_80":60416,"ignition":58,"odometer":null,"unknown_45":4748764359642251264}} 
[2026-11-05 05:22:11] 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":61533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:22:11] local.INFO: GPS data processed {"connection_id":229414,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:22:11] local.INFO: Acknowledgment sent {"connection_id":229414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:22:32] local.INFO: TCP Data received {"connection_id":229413,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229413,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:22:32] local.INFO: Processing buffer {"connection_id":229413,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:22:32] local.INFO: IMEI packet received {"connection_id":229413,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 05:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":229413,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:22:42] local.INFO: TCP Data received {"connection_id":229414,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8f97c48012d41c040066a3e80000f00c52e..."} 
[2026-11-05 05:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8f97c48012d41c040066a3e80000f00c52e..."} 
[2026-11-05 05:22:42] local.INFO: Processing buffer {"connection_id":229414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8f97c48012d41c040066a3e80000f00c52e..."} 
[2026-11-05 05:22:42] local.INFO: Packet analysis {"connection_id":229414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8f9"} 
[2026-11-05 05:22:42] local.INFO: Extracted packet for processing {"connection_id":229414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8f9"} 
[2026-11-05 05:22:42] local.INFO: GPS Element Parsed {"raw_longitude":759283776,"raw_latitude":107626112,"longitude_deg":75.9283776,"latitude_deg":10.7626112,"altitude":15,"angle":197,"satellites":46,"speed":55,"hex_longitude":"2d41c040","hex_latitude":"066a3e80","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222087168001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39621111960305664,"note":"Value kept but may cause issues"} 
[2026-11-05 05:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4742220066431561728,"note":"Value kept but may cause issues"} 
[2026-11-05 05:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793836285000,"timestamp_ms":1793836285000,"timestamp_seconds":1793836285,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8f97c48"} 
[2026-11-05 05: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-05 05: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-05 05: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 05:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05: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-05 05: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-05 05:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:22: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-05 05:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222087168001,"66":27267,"96":206,"80":60416,"24":55,"16":39621111960305664,"45":4742220066431561728},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,80,24,16,45]} 
[2026-11-05 05:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222087168001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:22:42] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-11-05 05:22:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39621111960305664,"km_value":39621111960305.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4742220066431561728,"description":"Unknown IO ID 45"} 
[2026-11-05 05:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222087168001,"power":27267,"unknown_96":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":4742220066431561728}} 
[2026-11-05 05:22:42] 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":61534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:22:42] local.INFO: GPS data processed {"connection_id":229414,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:22:42] local.INFO: Acknowledgment sent {"connection_id":229414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:23:07] local.INFO: TCP Data received {"connection_id":233113,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233113,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:23:07] local.INFO: Processing buffer {"connection_id":233113,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:23:07] local.INFO: IMEI packet received {"connection_id":233113,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 05:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":233113,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:23:09] local.INFO: TCP Data received {"connection_id":233114,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:23:09] local.INFO: Processing buffer {"connection_id":233114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:23:09] local.INFO: IMEI packet received {"connection_id":233114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":233114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:23:12] local.INFO: TCP Data received {"connection_id":233114,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:23:12] local.INFO: Processing buffer {"connection_id":233114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:23:12] local.INFO: IMEI packet received {"connection_id":233114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":233114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:23:20] local.INFO: TCP Data received {"connection_id":233114,"ip":"42.109.136.8","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a8..."} 
[2026-11-05 05:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233114,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a8..."} 
[2026-11-05 05:23:20] local.INFO: Processing buffer {"connection_id":233114,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a8..."} 
[2026-11-05 05:23:20] local.INFO: IMEI packet received {"connection_id":233114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":233114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:23:28] local.INFO: TCP Data received {"connection_id":233114,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8f993b8012d41b980066a1f68001000ba2f..."} 
[2026-11-05 05:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8f993b8012d41b980066a1f68001000ba2f..."} 
[2026-11-05 05:23:28] local.INFO: Processing buffer {"connection_id":233114,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1a8f97c48012d41c040066a3e80000f00c52e..."} 
[2026-11-05 05:23:28] local.INFO: Packet analysis {"connection_id":233114,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1a8f9"} 
[2026-11-05 05:23:28] local.INFO: Extracted packet for processing {"connection_id":233114,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8f9"} 
[2026-11-05 05:23:28] local.INFO: GPS Element Parsed {"raw_longitude":759283776,"raw_latitude":107626112,"longitude_deg":75.9283776,"latitude_deg":10.7626112,"altitude":15,"angle":197,"satellites":46,"speed":55,"hex_longitude":"2d41c040","hex_latitude":"066a3e80","is_valid_coordinates":true} 
[2026-11-05 05:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222088960001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39621111960305664,"note":"Value kept but may cause issues"} 
[2026-11-05 05:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4737857204290224128,"note":"Value kept but may cause issues"} 
[2026-11-05 05:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1793836285000,"timestamp_ms":1793836285000,"timestamp_seconds":1793836285,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8f97c48"} 
[2026-11-05 05:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 05:23:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":233114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":233114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":233114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:23:28] 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-05 05:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222088960001,"66":27267,"96":206,"80":60416,"24":55,"16":39621111960305664,"45":4737857204290224128},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,80,24,16,45]} 
[2026-11-05 05:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222088960001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:23:28] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-11-05 05:23:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39621111960305664,"km_value":39621111960305.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":4737857204290224128,"description":"Unknown IO ID 45"} 
[2026-11-05 05:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222088960001,"power":27267,"unknown_96":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":4737857204290224128}} 
[2026-11-05 05:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":233114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:23:28] local.INFO: GPS data processed {"connection_id":233114,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:23:28] local.INFO: Acknowledgment sent {"connection_id":233114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:23:28] local.INFO: Packet analysis {"connection_id":233114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8f9"} 
[2026-11-05 05:23:28] local.INFO: Extracted packet for processing {"connection_id":233114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8f9"} 
[2026-11-05 05:23:28] local.INFO: GPS Element Parsed {"raw_longitude":759282048,"raw_latitude":107618152,"longitude_deg":75.9282048,"latitude_deg":10.7618152,"altitude":16,"angle":186,"satellites":47,"speed":54,"hex_longitude":"2d41b980","hex_latitude":"066a1f68","is_valid_coordinates":true} 
[2026-11-05 05:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222088960001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39621507097296896,"note":"Value kept but may cause issues"} 
[2026-11-05 05:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4737857204290224128,"note":"Value kept but may cause issues"} 
[2026-11-05 05:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1793836291000,"timestamp_ms":1793836291000,"timestamp_seconds":1793836291,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8f993b8"} 
[2026-11-05 05:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 05:23:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":233114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":233114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":233114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:23:28] 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-05 05:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222088960001,"66":27213,"97":206,"80":60416,"24":54,"16":39621507097296896,"45":4737857204290224128},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,80,24,16,45]} 
[2026-11-05 05:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222088960001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:23:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-05 05:23:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39621507097296896,"km_value":39621507097296.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":4737857204290224128,"description":"Unknown IO ID 45"} 
[2026-11-05 05:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222088960001,"power":27213,"unknown_97":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":4737857204290224128}} 
[2026-11-05 05:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":233114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:23:28] local.INFO: GPS data processed {"connection_id":233114,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:23:28] local.INFO: Acknowledgment sent {"connection_id":233114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:23:43] local.INFO: TCP Data received {"connection_id":233114,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8f9af10012d41b9400669fa98000f00ae2f..."} 
[2026-11-05 05:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8f9af10012d41b9400669fa98000f00ae2f..."} 
[2026-11-05 05:23:43] local.INFO: Processing buffer {"connection_id":233114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8f9af10012d41b9400669fa98000f00ae2f..."} 
[2026-11-05 05:23:43] local.INFO: Packet analysis {"connection_id":233114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8f9"} 
[2026-11-05 05:23:43] local.INFO: Extracted packet for processing {"connection_id":233114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8f9"} 
[2026-11-05 05:23:43] local.INFO: GPS Element Parsed {"raw_longitude":759281984,"raw_latitude":107608728,"longitude_deg":75.9281984,"latitude_deg":10.7608728,"altitude":15,"angle":174,"satellites":47,"speed":54,"hex_longitude":"2d41b940","hex_latitude":"0669fa98","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222090496001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39621962363830272,"note":"Value kept but may cause issues"} 
[2026-11-05 05:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4735957248195389440,"note":"Value kept but may cause issues"} 
[2026-11-05 05:23:43] 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-05 05:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793836298000,"timestamp_ms":1793836298000,"timestamp_seconds":1793836298,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8f9af10"} 
[2026-11-05 05: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-05 05:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-11-05 05:23:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05: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-05 05: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-05 05:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":233114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":233114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":233114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:23: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-05 05:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222090496001,"66":27300,"97":206,"80":60416,"24":54,"16":39621962363830272,"45":4735957248195389440},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,80,24,16,45]} 
[2026-11-05 05:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222090496001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:23:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-05 05:23:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39621962363830272,"km_value":39621962363830.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4735957248195389440,"description":"Unknown IO ID 45"} 
[2026-11-05 05:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222090496001,"power":27300,"unknown_97":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":4735957248195389440}} 
[2026-11-05 05:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":233114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:23:43] local.INFO: GPS data processed {"connection_id":233114,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:23:43] local.INFO: Acknowledgment sent {"connection_id":233114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:24:01] local.INFO: TCP Data received {"connection_id":231201,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:24:01] local.INFO: Processing buffer {"connection_id":231201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:24:01] local.INFO: IMEI packet received {"connection_id":231201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":231201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:24:05] local.INFO: TCP Data received {"connection_id":231201,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:24:05] local.INFO: Processing buffer {"connection_id":231201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:24:05] local.INFO: IMEI packet received {"connection_id":231201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":231201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:24:09] local.INFO: TCP Data received {"connection_id":231201,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:24:09] local.INFO: Processing buffer {"connection_id":231201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:24:09] local.INFO: IMEI packet received {"connection_id":231201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":231201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:24:10] local.INFO: TCP Data received {"connection_id":231201,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8fadbd8012d42450006686af0000800a12e..."} 
[2026-11-05 05:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8fadbd8012d42450006686af0000800a12e..."} 
[2026-11-05 05:24:10] local.INFO: Processing buffer {"connection_id":231201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8fadbd8012d42450006686af0000800a12e..."} 
[2026-11-05 05:24:10] local.INFO: Packet analysis {"connection_id":231201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8fa"} 
[2026-11-05 05:24:10] local.INFO: Extracted packet for processing {"connection_id":231201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8fa"} 
[2026-11-05 05:24:10] local.INFO: GPS Element Parsed {"raw_longitude":759317760,"raw_latitude":107506416,"longitude_deg":75.931776,"latitude_deg":10.7506416,"altitude":8,"angle":161,"satellites":46,"speed":55,"hex_longitude":"2d424500","hex_latitude":"06686af0","is_valid_coordinates":true} 
[2026-11-05 05:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222110208001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39627215108833280,"note":"Value kept but may cause issues"} 
[2026-11-05 05:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4771563832723015680,"note":"Value kept but may cause issues"} 
[2026-11-05 05:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793836375000,"timestamp_ms":1793836375000,"timestamp_seconds":1793836375,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8fadbd8"} 
[2026-11-05 05:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-11-05 05:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:24:10] 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-05 05:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222110208001,"66":27321,"181":206,"80":60416,"24":55,"16":39627215108833280,"45":4771563832723015680},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,80,24,16,45]} 
[2026-11-05 05:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222110208001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:24:10] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-11-05 05:24:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39627215108833280,"km_value":39627215108833.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4771563832723015680,"description":"Unknown IO ID 45"} 
[2026-11-05 05:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222110208001,"power":27321,"unknown_181":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":4771563832723015680}} 
[2026-11-05 05:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":231201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:24:10] local.INFO: GPS data processed {"connection_id":231201,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:24:10] local.INFO: Acknowledgment sent {"connection_id":231201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:24:41] local.INFO: TCP Data received {"connection_id":231201,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8faf730012d425280066846500009009f2d..."} 
[2026-11-05 05:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8faf730012d425280066846500009009f2d..."} 
[2026-11-05 05:24:41] local.INFO: Processing buffer {"connection_id":231201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8faf730012d425280066846500009009f2d..."} 
[2026-11-05 05:24:41] local.INFO: Packet analysis {"connection_id":231201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8fa"} 
[2026-11-05 05:24:41] local.INFO: Extracted packet for processing {"connection_id":231201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8fa"} 
[2026-11-05 05:24:41] local.INFO: GPS Element Parsed {"raw_longitude":759321216,"raw_latitude":107497040,"longitude_deg":75.9321216,"latitude_deg":10.749704,"altitude":9,"angle":159,"satellites":45,"speed":57,"hex_longitude":"2d425280","hex_latitude":"06684650","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222112000001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39627696145170432,"note":"Value kept but may cause issues"} 
[2026-11-05 05:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4775223007417921536,"note":"Value kept but may cause issues"} 
[2026-11-05 05:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793836382000,"timestamp_ms":1793836382000,"timestamp_seconds":1793836382,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8faf730"} 
[2026-11-05 05: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-05 05:24: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-05 05: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 05:24:41] 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-05 05: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-05 05: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-05 05:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:24: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-05 05:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222112000001,"66":27343,"181":206,"80":60416,"24":57,"16":39627696145170432,"45":4775223007417921536},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,80,24,16,45]} 
[2026-11-05 05:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222112000001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:24:41] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-11-05 05:24:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39627696145170432,"km_value":39627696145170.43,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":4775223007417921536,"description":"Unknown IO ID 45"} 
[2026-11-05 05:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222112000001,"power":27343,"unknown_181":206,"unknown_80":60416,"ignition":57,"odometer":null,"unknown_45":4775223007417921536}} 
[2026-11-05 05:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":231201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:24:41] local.INFO: GPS data processed {"connection_id":231201,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:24:41] local.INFO: Acknowledgment sent {"connection_id":231201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:25:04] local.INFO: TCP Data received {"connection_id":229905,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:25:04] local.INFO: Processing buffer {"connection_id":229905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:25:04] local.INFO: IMEI packet received {"connection_id":229905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":229905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:25:05] local.INFO: TCP Data received {"connection_id":229905,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:25:05] local.INFO: Processing buffer {"connection_id":229905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:25:05] local.INFO: IMEI packet received {"connection_id":229905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":229905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:25:09] local.INFO: TCP Data received {"connection_id":229905,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:25:09] local.INFO: Processing buffer {"connection_id":229905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:25:09] local.INFO: IMEI packet received {"connection_id":229905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":229905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:25:10] local.INFO: TCP Data received {"connection_id":229905,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8fbf518012d433d0006677020000a006630..."} 
[2026-11-05 05:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8fbf518012d433d0006677020000a006630..."} 
[2026-11-05 05:25:10] local.INFO: Processing buffer {"connection_id":229905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8fbf518012d433d0006677020000a006630..."} 
[2026-11-05 05:25:10] local.INFO: Packet analysis {"connection_id":229905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8fb"} 
[2026-11-05 05:25:10] local.INFO: Extracted packet for processing {"connection_id":229905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8fb"} 
[2026-11-05 05:25:10] local.INFO: GPS Element Parsed {"raw_longitude":759381248,"raw_latitude":107442208,"longitude_deg":75.9381248,"latitude_deg":10.7442208,"altitude":10,"angle":102,"satellites":48,"speed":51,"hex_longitude":"2d433d00","hex_latitude":"06677020","is_valid_coordinates":true} 
[2026-11-05 05:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222128384001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39631973932597248,"note":"Value kept but may cause issues"} 
[2026-11-05 05:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4834121646278750208,"note":"Value kept but may cause issues"} 
[2026-11-05 05:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793836447000,"timestamp_ms":1793836447000,"timestamp_seconds":1793836447,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8fbf518"} 
[2026-11-05 05:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 05:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:25:10] 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-05 05:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222128384001,"66":27245,"18":206,"80":60416,"24":51,"16":39631973932597248,"45":4834121646278750208},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,80,24,16,45]} 
[2026-11-05 05:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222128384001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:25:10] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-11-05 05:25:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39631973932597248,"km_value":39631973932597.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4834121646278750208,"description":"Unknown IO ID 45"} 
[2026-11-05 05:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222128384001,"power":27245,"unknown_18":206,"unknown_80":60416,"ignition":51,"odometer":null,"unknown_45":4834121646278750208}} 
[2026-11-05 05:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":229905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:25:10] local.INFO: GPS data processed {"connection_id":229905,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:25:10] local.INFO: Acknowledgment sent {"connection_id":229905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:25:42] local.INFO: TCP Data received {"connection_id":229905,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8fc1070012d43618006676850000a006630..."} 
[2026-11-05 05:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8fc1070012d43618006676850000a006630..."} 
[2026-11-05 05:25:42] local.INFO: Processing buffer {"connection_id":229905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8fc1070012d43618006676850000a006630..."} 
[2026-11-05 05:25:42] local.INFO: Packet analysis {"connection_id":229905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8fc"} 
[2026-11-05 05:25:42] local.INFO: Extracted packet for processing {"connection_id":229905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8fc"} 
[2026-11-05 05:25:42] local.INFO: GPS Element Parsed {"raw_longitude":759390592,"raw_latitude":107440208,"longitude_deg":75.9390592,"latitude_deg":10.7440208,"altitude":10,"angle":102,"satellites":48,"speed":53,"hex_longitude":"2d436180","hex_latitude":"06676850","is_valid_coordinates":true} 
[2026-11-05 05:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222130432001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39632424904163328,"note":"Value kept but may cause issues"} 
[2026-11-05 05:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4845028801625726976,"note":"Value kept but may cause issues"} 
[2026-11-05 05:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793836454000,"timestamp_ms":1793836454000,"timestamp_seconds":1793836454,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8fc1070"} 
[2026-11-05 05:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-11-05 05:25:42] 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-05 05:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:25: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-05 05:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222130432001,"66":27332,"59":206,"80":60416,"24":53,"16":39632424904163328,"45":4845028801625726976},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,80,24,16,45]} 
[2026-11-05 05:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222130432001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:25:42] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-11-05 05:25:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39632424904163328,"km_value":39632424904163.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4845028801625726976,"description":"Unknown IO ID 45"} 
[2026-11-05 05:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222130432001,"power":27332,"unknown_59":206,"unknown_80":60416,"ignition":53,"odometer":null,"unknown_45":4845028801625726976}} 
[2026-11-05 05:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":229905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:25:42] local.INFO: GPS data processed {"connection_id":229905,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:25:42] local.INFO: Acknowledgment sent {"connection_id":229905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:26:04] local.INFO: TCP Data received {"connection_id":231203,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:26:04] local.INFO: Processing buffer {"connection_id":231203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:26:04] local.INFO: IMEI packet received {"connection_id":231203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":231203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:26:06] local.INFO: TCP Data received {"connection_id":231203,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:26:06] local.INFO: Processing buffer {"connection_id":231203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:26:06] local.INFO: IMEI packet received {"connection_id":231203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":231203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:26:10] local.INFO: TCP Data received {"connection_id":231203,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:26:10] local.INFO: Processing buffer {"connection_id":231203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:26:10] local.INFO: IMEI packet received {"connection_id":231203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":231203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:26:11] local.INFO: TCP Data received {"connection_id":231203,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8fc2bc8012d43858006675f08000a006b30..."} 
[2026-11-05 05:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8fc2bc8012d43858006675f08000a006b30..."} 
[2026-11-05 05:26:11] local.INFO: Processing buffer {"connection_id":231203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8fc2bc8012d43858006675f08000a006b30..."} 
[2026-11-05 05:26:11] local.INFO: Packet analysis {"connection_id":231203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8fc"} 
[2026-11-05 05:26:11] local.INFO: Extracted packet for processing {"connection_id":231203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8fc"} 
[2026-11-05 05:26:11] local.INFO: GPS Element Parsed {"raw_longitude":759399808,"raw_latitude":107437832,"longitude_deg":75.9399808,"latitude_deg":10.7437832,"altitude":10,"angle":107,"satellites":48,"speed":54,"hex_longitude":"2d438580","hex_latitude":"06675f08","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222132224001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39632880170696704,"note":"Value kept but may cause issues"} 
[2026-11-05 05:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4855302638275153920,"note":"Value kept but may cause issues"} 
[2026-11-05 05:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793836461000,"timestamp_ms":1793836461000,"timestamp_seconds":1793836461,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8fc2bc8"} 
[2026-11-05 05: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-05 05:26: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-05 05: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 05:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05: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-05 05: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-05 05:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:26:11] 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-05 05:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222132224001,"66":27213,"59":206,"80":60416,"24":54,"16":39632880170696704,"45":4855302638275153920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,80,24,16,45]} 
[2026-11-05 05:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222132224001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:26:11] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-11-05 05:26:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39632880170696704,"km_value":39632880170696.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4855302638275153920,"description":"Unknown IO ID 45"} 
[2026-11-05 05:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222132224001,"power":27213,"unknown_59":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":4855302638275153920}} 
[2026-11-05 05:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":231203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:26:11] local.INFO: GPS data processed {"connection_id":231203,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:26:11] local.INFO: Acknowledgment sent {"connection_id":231203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:26:43] local.INFO: TCP Data received {"connection_id":231203,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8fd6448012d444f800665fd20000a009b2e..."} 
[2026-11-05 05:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8fd6448012d444f800665fd20000a009b2e..."} 
[2026-11-05 05:26:43] local.INFO: Processing buffer {"connection_id":231203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8fd6448012d444f800665fd20000a009b2e..."} 
[2026-11-05 05:26:43] local.INFO: Packet analysis {"connection_id":231203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8fd"} 
[2026-11-05 05:26:43] local.INFO: Extracted packet for processing {"connection_id":231203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8fd"} 
[2026-11-05 05:26:43] local.INFO: GPS Element Parsed {"raw_longitude":759451520,"raw_latitude":107347232,"longitude_deg":75.945152,"latitude_deg":10.7347232,"altitude":10,"angle":155,"satellites":46,"speed":53,"hex_longitude":"2d444f80","hex_latitude":"0665fd20","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222152704001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39638094260994048,"note":"Value kept but may cause issues"} 
[2026-11-05 05:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4918423401780975616,"note":"Value kept but may cause issues"} 
[2026-11-05 05:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793836541000,"timestamp_ms":1793836541000,"timestamp_seconds":1793836541,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8fd6448"} 
[2026-11-05 05: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-05 05:26: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-05 05: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 05:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05: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-05 05: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-05 05:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:26: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-05 05:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222152704001,"66":27332,"235":206,"80":60416,"24":53,"16":39638094260994048,"45":4918423401780975616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-11-05 05:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222152704001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:26:43] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-05 05:26:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39638094260994048,"km_value":39638094260994.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4918423401780975616,"description":"Unknown IO ID 45"} 
[2026-11-05 05:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222152704001,"power":27332,"unknown_235":206,"unknown_80":60416,"ignition":53,"odometer":null,"unknown_45":4918423401780975616}} 
[2026-11-05 05:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":231203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:26:43] local.INFO: GPS data processed {"connection_id":231203,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:26:43] local.INFO: Acknowledgment sent {"connection_id":231203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:27:04] local.INFO: TCP Data received {"connection_id":229906,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:27:04] local.INFO: Processing buffer {"connection_id":229906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:27:04] local.INFO: IMEI packet received {"connection_id":229906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":229906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:27:08] local.INFO: TCP Data received {"connection_id":229906,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:27:08] local.INFO: Processing buffer {"connection_id":229906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:27:08] local.INFO: IMEI packet received {"connection_id":229906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":229906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:27:09] local.INFO: TCP Data received {"connection_id":229906,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:27:09] local.INFO: Processing buffer {"connection_id":229906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:27:09] local.INFO: IMEI packet received {"connection_id":229906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":229906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:27:10] local.INFO: TCP Data received {"connection_id":229906,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8fd7fa0012d445f400665dc60000b009a2f..."} 
[2026-11-05 05:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8fd7fa0012d445f400665dc60000b009a2f..."} 
[2026-11-05 05:27:10] local.INFO: Processing buffer {"connection_id":229906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8fd7fa0012d445f400665dc60000b009a2f..."} 
[2026-11-05 05:27:10] local.INFO: Packet analysis {"connection_id":229906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8fd"} 
[2026-11-05 05:27:10] local.INFO: Extracted packet for processing {"connection_id":229906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8fd"} 
[2026-11-05 05:27:10] local.INFO: GPS Element Parsed {"raw_longitude":759455552,"raw_latitude":107338848,"longitude_deg":75.9455552,"latitude_deg":10.7338848,"altitude":11,"angle":154,"satellites":47,"speed":50,"hex_longitude":"2d445f40","hex_latitude":"0665dc60","is_valid_coordinates":true} 
[2026-11-05 05:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222154496001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39638545232560128,"note":"Value kept but may cause issues"} 
[2026-11-05 05:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4922293682708488192,"note":"Value kept but may cause issues"} 
[2026-11-05 05:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793836548000,"timestamp_ms":1793836548000,"timestamp_seconds":1793836548,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8fd7fa0"} 
[2026-11-05 05:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 05:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:27:10] 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-05 05:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222154496001,"66":27343,"235":206,"80":60416,"24":50,"16":39638545232560128,"45":4922293682708488192},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-11-05 05:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222154496001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:27:10] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-05 05:27:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39638545232560128,"km_value":39638545232560.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4922293682708488192,"description":"Unknown IO ID 45"} 
[2026-11-05 05:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222154496001,"power":27343,"unknown_235":206,"unknown_80":60416,"ignition":50,"odometer":null,"unknown_45":4922293682708488192}} 
[2026-11-05 05:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":229906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:27:10] local.INFO: GPS data processed {"connection_id":229906,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:27:10] local.INFO: Acknowledgment sent {"connection_id":229906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:27:41] local.INFO: TCP Data received {"connection_id":229906,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8fd9ee0012d446ec00665ba78000d009b2f..."} 
[2026-11-05 05:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8fd9ee0012d446ec00665ba78000d009b2f..."} 
[2026-11-05 05:27:41] local.INFO: Processing buffer {"connection_id":229906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8fd9ee0012d446ec00665ba78000d009b2f..."} 
[2026-11-05 05:27:41] local.INFO: Packet analysis {"connection_id":229906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8fd"} 
[2026-11-05 05:27:41] local.INFO: Extracted packet for processing {"connection_id":229906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8fd"} 
[2026-11-05 05:27:41] local.INFO: GPS Element Parsed {"raw_longitude":759459520,"raw_latitude":107330168,"longitude_deg":75.945952,"latitude_deg":10.7330168,"altitude":13,"angle":155,"satellites":47,"speed":44,"hex_longitude":"2d446ec0","hex_latitude":"0665ba78","is_valid_coordinates":true} 
[2026-11-05 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-05 05:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222156288001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39639004794060800,"note":"Value kept but may cause issues"} 
[2026-11-05 05:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4926726913589534720,"note":"Value kept but may cause issues"} 
[2026-11-05 05:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793836556000,"timestamp_ms":1793836556000,"timestamp_seconds":1793836556,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8fd9ee0"} 
[2026-11-05 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-05 05:27: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-05 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 05:27:41] 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-05 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-05 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-05 05:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:27: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-05 05:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222156288001,"66":27213,"235":206,"80":60416,"24":44,"16":39639004794060800,"45":4926726913589534720},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-11-05 05:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222156288001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:27:41] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-05 05:27:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39639004794060800,"km_value":39639004794060.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":4926726913589534720,"description":"Unknown IO ID 45"} 
[2026-11-05 05:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222156288001,"power":27213,"unknown_235":206,"unknown_80":60416,"ignition":44,"odometer":null,"unknown_45":4926726913589534720}} 
[2026-11-05 05:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":229906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:27:41] local.INFO: GPS data processed {"connection_id":229906,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:27:41] local.INFO: Acknowledgment sent {"connection_id":229906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:28:09] local.INFO: TCP Data received {"connection_id":229907,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:28:09] local.INFO: Processing buffer {"connection_id":229907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:28:09] local.INFO: IMEI packet received {"connection_id":229907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":229907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:28:09] local.INFO: TCP Data received {"connection_id":229907,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:28:09] local.INFO: Processing buffer {"connection_id":229907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:28:09] local.INFO: IMEI packet received {"connection_id":229907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":229907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:28:15] local.INFO: TCP Data received {"connection_id":229907,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:28:15] local.INFO: Processing buffer {"connection_id":229907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:28:15] local.INFO: IMEI packet received {"connection_id":229907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":229907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:28:16] local.INFO: TCP Data received {"connection_id":229907,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8fed760012d45098006644138000900a12b..."} 
[2026-11-05 05:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8fed760012d45098006644138000900a12b..."} 
[2026-11-05 05:28:16] local.INFO: Processing buffer {"connection_id":229907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8fed760012d45098006644138000900a12b..."} 
[2026-11-05 05:28:16] local.INFO: Packet analysis {"connection_id":229907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8fe"} 
[2026-11-05 05:28:16] local.INFO: Extracted packet for processing {"connection_id":229907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8fe"} 
[2026-11-05 05:28:16] local.INFO: GPS Element Parsed {"raw_longitude":759499136,"raw_latitude":107233592,"longitude_deg":75.9499136,"latitude_deg":10.7233592,"altitude":9,"angle":161,"satellites":43,"speed":53,"hex_longitude":"2d450980","hex_latitude":"06644138","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222177024001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39644059970568192,"note":"Value kept but may cause issues"} 
[2026-11-05 05:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4971270328629325824,"note":"Value kept but may cause issues"} 
[2026-11-05 05:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793836636000,"timestamp_ms":1793836636000,"timestamp_seconds":1793836636,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8fed760"} 
[2026-11-05 05: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-05 05:28: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-05 05: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 05:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05: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-05 05: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-05 05:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:28:16] 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-05 05:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222177024001,"66":27332,"205":206,"80":60416,"24":53,"16":39644059970568192,"45":4971270328629325824},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-11-05 05:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222177024001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:28:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39644059970568192,"km_value":39644059970568.195,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4971270328629325824,"description":"Unknown IO ID 45"} 
[2026-11-05 05:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222177024001,"power":27332,"cell_id":206,"unknown_80":60416,"ignition":53,"odometer":null,"unknown_45":4971270328629325824}} 
[2026-11-05 05:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":229907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:28:16] local.INFO: GPS data processed {"connection_id":229907,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:28:16] local.INFO: Acknowledgment sent {"connection_id":229907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:28:16] local.INFO: TCP Data received {"connection_id":229907,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8fef2b8012d45150006641eb8000900a12d..."} 
[2026-11-05 05:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8fef2b8012d45150006641eb8000900a12d..."} 
[2026-11-05 05:28:16] local.INFO: Processing buffer {"connection_id":229907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8fef2b8012d45150006641eb8000900a12d..."} 
[2026-11-05 05:28:16] local.INFO: Packet analysis {"connection_id":229907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8fe"} 
[2026-11-05 05:28:16] local.INFO: Extracted packet for processing {"connection_id":229907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8fe"} 
[2026-11-05 05:28:16] local.INFO: GPS Element Parsed {"raw_longitude":759502080,"raw_latitude":107224760,"longitude_deg":75.950208,"latitude_deg":10.722476,"altitude":9,"angle":161,"satellites":45,"speed":54,"hex_longitude":"2d451500","hex_latitude":"06641eb8","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222178816001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39644510942134272,"note":"Value kept but may cause issues"} 
[2026-11-05 05:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4974648028347578368,"note":"Value kept but may cause issues"} 
[2026-11-05 05:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793836643000,"timestamp_ms":1793836643000,"timestamp_seconds":1793836643,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8fef2b8"} 
[2026-11-05 05: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-05 05:28: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-05 05: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 05:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05: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-05 05: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-05 05:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:28:16] 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-05 05:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222178816001,"66":27234,"205":206,"80":60416,"24":54,"16":39644510942134272,"45":4974648028347578368},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-11-05 05:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222178816001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:28:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39644510942134272,"km_value":39644510942134.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4974648028347578368,"description":"Unknown IO ID 45"} 
[2026-11-05 05:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222178816001,"power":27234,"cell_id":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":4974648028347578368}} 
[2026-11-05 05:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":229907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:28:16] local.INFO: GPS data processed {"connection_id":229907,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:28:16] local.INFO: Acknowledgment sent {"connection_id":229907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:28:32] local.INFO: TCP Data received {"connection_id":233117,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233117,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:28:32] local.INFO: Processing buffer {"connection_id":233117,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:28:32] local.INFO: IMEI packet received {"connection_id":233117,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 05:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":233117,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:28:47] local.INFO: TCP Data received {"connection_id":229907,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8ff0e10012d4520c00663fc38000900a02a..."} 
[2026-11-05 05:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8ff0e10012d4520c00663fc38000900a02a..."} 
[2026-11-05 05:28:47] local.INFO: Processing buffer {"connection_id":229907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8ff0e10012d4520c00663fc38000900a02a..."} 
[2026-11-05 05:28:47] local.INFO: Packet analysis {"connection_id":229907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8ff"} 
[2026-11-05 05:28:47] local.INFO: Extracted packet for processing {"connection_id":229907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8ff"} 
[2026-11-05 05:28:47] local.INFO: GPS Element Parsed {"raw_longitude":759505088,"raw_latitude":107215928,"longitude_deg":75.9505088,"latitude_deg":10.7215928,"altitude":9,"angle":160,"satellites":42,"speed":52,"hex_longitude":"2d4520c0","hex_latitude":"0663fc38","is_valid_coordinates":true} 
[2026-11-05 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-05 05:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222180608001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39644961913700352,"note":"Value kept but may cause issues"} 
[2026-11-05 05:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4977884990577489920,"note":"Value kept but may cause issues"} 
[2026-11-05 05:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793836650000,"timestamp_ms":1793836650000,"timestamp_seconds":1793836650,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8ff0e10"} 
[2026-11-05 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-05 05:28: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-05 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 05:28:47] 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-05 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-05 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-05 05:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:28:47] 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-05 05:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222180608001,"66":27332,"206":206,"80":60416,"24":52,"16":39644961913700352,"45":4977884990577489920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-11-05 05:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222180608001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:28:47] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-11-05 05:28:47] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39644961913700352,"km_value":39644961913700.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4977884990577489920,"description":"Unknown IO ID 45"} 
[2026-11-05 05:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222180608001,"power":27332,"unknown_206":206,"unknown_80":60416,"ignition":52,"odometer":null,"unknown_45":4977884990577489920}} 
[2026-11-05 05:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":229907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:28:47] local.INFO: GPS data processed {"connection_id":229907,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:28:47] local.INFO: Acknowledgment sent {"connection_id":229907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:29:04] local.INFO: TCP Data received {"connection_id":233118,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:29:04] local.INFO: Processing buffer {"connection_id":233118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:29:04] local.INFO: IMEI packet received {"connection_id":233118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":233118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:29:06] local.INFO: TCP Data received {"connection_id":233118,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:29:06] local.INFO: Processing buffer {"connection_id":233118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:29:06] local.INFO: IMEI packet received {"connection_id":233118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":233118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:29:07] local.INFO: TCP Data received {"connection_id":233119,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:29:07] local.INFO: Processing buffer {"connection_id":233119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:29:07] local.INFO: IMEI packet received {"connection_id":233119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 05:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":233119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:29:07] local.INFO: TCP Data received {"connection_id":233118,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8ff2968012d452c000663dad8000b00a02a..."} 
[2026-11-05 05:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8ff2968012d452c000663dad8000b00a02a..."} 
[2026-11-05 05:29:07] local.INFO: Processing buffer {"connection_id":233118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8ff2968012d452c000663dad8000b00a02a..."} 
[2026-11-05 05:29:07] local.INFO: Packet analysis {"connection_id":233118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8ff"} 
[2026-11-05 05:29:07] local.INFO: Extracted packet for processing {"connection_id":233118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8ff"} 
[2026-11-05 05:29:07] local.INFO: GPS Element Parsed {"raw_longitude":759507968,"raw_latitude":107207384,"longitude_deg":75.9507968,"latitude_deg":10.7207384,"altitude":11,"angle":160,"satellites":42,"speed":49,"hex_longitude":"2d452c00","hex_latitude":"0663dad8","is_valid_coordinates":true} 
[2026-11-05 05:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222182400001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39645395705397248,"note":"Value kept but may cause issues"} 
[2026-11-05 05:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4981192321551579136,"note":"Value kept but may cause issues"} 
[2026-11-05 05:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1793836657000,"timestamp_ms":1793836657000,"timestamp_seconds":1793836657,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8ff2968"} 
[2026-11-05 05:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 05:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":233118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":233118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":233118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:29:07] 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-05 05:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222182400001,"66":27332,"206":206,"80":60416,"24":49,"16":39645395705397248,"45":4981192321551579136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-11-05 05:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222182400001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:29:07] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-11-05 05:29:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39645395705397248,"km_value":39645395705397.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4981192321551579136,"description":"Unknown IO ID 45"} 
[2026-11-05 05:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222182400001,"power":27332,"unknown_206":206,"unknown_80":60416,"ignition":49,"odometer":null,"unknown_45":4981192321551579136}} 
[2026-11-05 05:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":233118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:29:07] local.INFO: GPS data processed {"connection_id":233118,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:29:07] local.INFO: Acknowledgment sent {"connection_id":233118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:29:38] local.INFO: TCP Data received {"connection_id":233118,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a8ff48a8012d4538400663b700000d00a02c..."} 
[2026-11-05 05:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a8ff48a8012d4538400663b700000d00a02c..."} 
[2026-11-05 05:29:38] local.INFO: Processing buffer {"connection_id":233118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a8ff48a8012d4538400663b700000d00a02c..."} 
[2026-11-05 05:29:38] local.INFO: Packet analysis {"connection_id":233118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a8ff"} 
[2026-11-05 05:29:38] local.INFO: Extracted packet for processing {"connection_id":233118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a8ff"} 
[2026-11-05 05:29:38] local.INFO: GPS Element Parsed {"raw_longitude":759511104,"raw_latitude":107198208,"longitude_deg":75.9511104,"latitude_deg":10.7198208,"altitude":13,"angle":160,"satellites":44,"speed":46,"hex_longitude":"2d453840","hex_latitude":"0663b700","is_valid_coordinates":true} 
[2026-11-05 05:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222184192001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39645868151799808,"note":"Value kept but may cause issues"} 
[2026-11-05 05:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4984358915037386752,"note":"Value kept but may cause issues"} 
[2026-11-05 05:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1793836665000,"timestamp_ms":1793836665000,"timestamp_seconds":1793836665,"priority":1,"record_length":96,"hex_timestamp":"000001a1a8ff48a8"} 
[2026-11-05 05:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 05:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":233118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":233118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":233118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:29:38] 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-05 05:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222184192001,"66":27343,"206":206,"80":60416,"24":46,"16":39645868151799808,"45":4984358915037386752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-11-05 05:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222184192001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:29:38] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-11-05 05:29:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39645868151799808,"km_value":39645868151799.805,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4984358915037386752,"description":"Unknown IO ID 45"} 
[2026-11-05 05:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222184192001,"power":27343,"unknown_206":206,"unknown_80":60416,"ignition":46,"odometer":null,"unknown_45":4984358915037386752}} 
[2026-11-05 05:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":233118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:29:38] local.INFO: GPS data processed {"connection_id":233118,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:29:38] local.INFO: Acknowledgment sent {"connection_id":233118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:30:08] local.INFO: TCP Data received {"connection_id":231206,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:30:08] local.INFO: Processing buffer {"connection_id":231206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:30:08] local.INFO: IMEI packet received {"connection_id":231206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":231206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:30:09] local.INFO: TCP Data received {"connection_id":231206,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:30:09] local.INFO: Processing buffer {"connection_id":231206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:30:09] local.INFO: IMEI packet received {"connection_id":231206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":231206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:30:09] local.INFO: TCP Data received {"connection_id":231206,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:30:09] local.INFO: Processing buffer {"connection_id":231206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:30:09] local.INFO: IMEI packet received {"connection_id":231206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":231206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:30:14] local.INFO: TCP Data received {"connection_id":231206,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:30:14] local.INFO: Processing buffer {"connection_id":231206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:30:14] local.INFO: IMEI packet received {"connection_id":231206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":231206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:30:15] local.INFO: TCP Data received {"connection_id":231206,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9007958012d45ec00066240100009009e2d..."} 
[2026-11-05 05:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9007958012d45ec00066240100009009e2d..."} 
[2026-11-05 05:30:15] local.INFO: Processing buffer {"connection_id":231206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9007958012d45ec00066240100009009e2d..."} 
[2026-11-05 05:30:15] local.INFO: Packet analysis {"connection_id":231206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a900"} 
[2026-11-05 05:30:15] local.INFO: Extracted packet for processing {"connection_id":231206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a900"} 
[2026-11-05 05:30:15] local.INFO: GPS Element Parsed {"raw_longitude":759557120,"raw_latitude":107102224,"longitude_deg":75.955712,"latitude_deg":10.7102224,"altitude":9,"angle":158,"satellites":45,"speed":58,"hex_longitude":"2d45ec00","hex_latitude":"06624010","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222204416001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39651030702489600,"note":"Value kept but may cause issues"} 
[2026-11-05 05:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5033757773425602560,"note":"Value kept but may cause issues"} 
[2026-11-05 05:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793836743000,"timestamp_ms":1793836743000,"timestamp_seconds":1793836743,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9007958"} 
[2026-11-05 05: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-05 05:30: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-05 05: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 05:30:15] 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-05 05: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-05 05: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-05 05:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":231206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":231206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":231206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:30:15] 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-05 05:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222204416001,"66":27332,"206":206,"80":60416,"24":58,"16":39651030702489600,"45":5033757773425602560},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-11-05 05:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222204416001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:30:15] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-11-05 05:30:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39651030702489600,"km_value":39651030702489.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5033757773425602560,"description":"Unknown IO ID 45"} 
[2026-11-05 05:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222204416001,"power":27332,"unknown_206":206,"unknown_80":60416,"ignition":58,"odometer":null,"unknown_45":5033757773425602560}} 
[2026-11-05 05:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":231206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:30:15] local.INFO: GPS data processed {"connection_id":231206,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:30:15] local.INFO: Acknowledgment sent {"connection_id":231206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:30:48] local.INFO: TCP Data received {"connection_id":231206,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a90094b0012d45fc4006621b300009009c2d..."} 
[2026-11-05 05:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a90094b0012d45fc4006621b300009009c2d..."} 
[2026-11-05 05:30:48] local.INFO: Processing buffer {"connection_id":231206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a90094b0012d45fc4006621b300009009c2d..."} 
[2026-11-05 05:30:48] local.INFO: Packet analysis {"connection_id":231206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a900"} 
[2026-11-05 05:30:48] local.INFO: Extracted packet for processing {"connection_id":231206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a900"} 
[2026-11-05 05:30:48] local.INFO: GPS Element Parsed {"raw_longitude":759561280,"raw_latitude":107092784,"longitude_deg":75.956128,"latitude_deg":10.7092784,"altitude":9,"angle":156,"satellites":45,"speed":57,"hex_longitude":"2d45fc40","hex_latitude":"06621b30","is_valid_coordinates":true} 
[2026-11-05 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-05 05:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222206208001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39651528918695936,"note":"Value kept but may cause issues"} 
[2026-11-05 05:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5038402110538911744,"note":"Value kept but may cause issues"} 
[2026-11-05 05:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793836750000,"timestamp_ms":1793836750000,"timestamp_seconds":1793836750,"priority":1,"record_length":96,"hex_timestamp":"000001a1a90094b0"} 
[2026-11-05 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-05 05:30: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-05 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 05:30:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 05:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":231206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":231206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":231206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:30: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-05 05:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222206208001,"66":27223,"113":206,"80":60416,"24":57,"16":39651528918695936,"45":5038402110538911744},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-11-05 05:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222206208001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:30:48] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-11-05 05:30:48] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39651528918695936,"km_value":39651528918695.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5038402110538911744,"description":"Unknown IO ID 45"} 
[2026-11-05 05:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222206208001,"power":27223,"unknown_113":206,"unknown_80":60416,"ignition":57,"odometer":null,"unknown_45":5038402110538911744}} 
[2026-11-05 05:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":231206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:30:48] local.INFO: GPS data processed {"connection_id":231206,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:30:48] local.INFO: Acknowledgment sent {"connection_id":231206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:31:09] local.INFO: TCP Data received {"connection_id":233120,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:31:09] local.INFO: Processing buffer {"connection_id":233120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:31:09] local.INFO: IMEI packet received {"connection_id":233120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":233120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:31:14] local.INFO: TCP Data received {"connection_id":233120,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:31:14] local.INFO: Processing buffer {"connection_id":233120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:31:14] local.INFO: IMEI packet received {"connection_id":233120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":233120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:31:16] local.INFO: TCP Data received {"connection_id":233120,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a900b008012d460c800661f7000009009c2e..."} 
[2026-11-05 05:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a900b008012d460c800661f7000009009c2e..."} 
[2026-11-05 05:31:16] local.INFO: Processing buffer {"connection_id":233120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a900b008012d460c800661f7000009009c2e..."} 
[2026-11-05 05:31:16] local.INFO: Packet analysis {"connection_id":233120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a900"} 
[2026-11-05 05:31:16] local.INFO: Extracted packet for processing {"connection_id":233120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a900"} 
[2026-11-05 05:31:16] local.INFO: GPS Element Parsed {"raw_longitude":759565440,"raw_latitude":107083520,"longitude_deg":75.956544,"latitude_deg":10.708352,"altitude":9,"angle":156,"satellites":46,"speed":57,"hex_longitude":"2d460c80","hex_latitude":"0661f700","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222208000001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39652018544967680,"note":"Value kept but may cause issues"} 
[2026-11-05 05:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5042976078908043264,"note":"Value kept but may cause issues"} 
[2026-11-05 05:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793836757000,"timestamp_ms":1793836757000,"timestamp_seconds":1793836757,"priority":1,"record_length":96,"hex_timestamp":"000001a1a900b008"} 
[2026-11-05 05: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-05 05:31: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-05 05: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":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-11-05 05:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05: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-05 05: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-05 05:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":233120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":233120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":233120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:31:16] 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-05 05:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222208000001,"66":27213,"113":206,"80":60416,"24":57,"16":39652018544967680,"45":5042976078908043264},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-11-05 05:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222208000001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:31:16] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-11-05 05:31:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39652018544967680,"km_value":39652018544967.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5042976078908043264,"description":"Unknown IO ID 45"} 
[2026-11-05 05:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222208000001,"power":27213,"unknown_113":206,"unknown_80":60416,"ignition":57,"odometer":null,"unknown_45":5042976078908043264}} 
[2026-11-05 05:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":233120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:31:16] local.INFO: GPS data processed {"connection_id":233120,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:31:16] local.INFO: Acknowledgment sent {"connection_id":233120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:31:48] local.INFO: TCP Data received {"connection_id":233120,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9021f38012d46bc4006600290000b00a22f..."} 
[2026-11-05 05:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9021f38012d46bc4006600290000b00a22f..."} 
[2026-11-05 05:31:48] local.INFO: Processing buffer {"connection_id":233120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9021f38012d46bc4006600290000b00a22f..."} 
[2026-11-05 05:31:48] local.INFO: Packet analysis {"connection_id":233120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a902"} 
[2026-11-05 05:31:48] local.INFO: Extracted packet for processing {"connection_id":233120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a902"} 
[2026-11-05 05:31:48] local.INFO: GPS Element Parsed {"raw_longitude":759610432,"raw_latitude":106955408,"longitude_deg":75.9610432,"latitude_deg":10.6955408,"altitude":11,"angle":162,"satellites":47,"speed":60,"hex_longitude":"2d46bc40","hex_latitude":"06600290","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222232064001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39658611319767040,"note":"Value kept but may cause issues"} 
[2026-11-05 05:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5093993418404222976,"note":"Value kept but may cause issues"} 
[2026-11-05 05:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793836851000,"timestamp_ms":1793836851000,"timestamp_seconds":1793836851,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9021f38"} 
[2026-11-05 05: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-05 05:31: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-05 05: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 05:31:48] 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-05 05: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-05 05: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-05 05:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":233120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":233120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":233120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:31: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-05 05:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222232064001,"66":27213,"241":206,"80":60416,"24":60,"16":39658611319767040,"45":5093993418404222976},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-11-05 05:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222232064001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:31:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-05 05:31:48] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39658611319767040,"km_value":39658611319767.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5093993418404222976,"description":"Unknown IO ID 45"} 
[2026-11-05 05:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222232064001,"power":27213,"unknown_241":206,"unknown_80":60416,"ignition":60,"odometer":null,"unknown_45":5093993418404222976}} 
[2026-11-05 05:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":233120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:31:48] local.INFO: GPS data processed {"connection_id":233120,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:31:48] local.INFO: Acknowledgment sent {"connection_id":233120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:32:09] local.INFO: TCP Data received {"connection_id":229416,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:32:09] local.INFO: Processing buffer {"connection_id":229416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:32:09] local.INFO: IMEI packet received {"connection_id":229416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":229416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:32:10] local.INFO: TCP Data received {"connection_id":229416,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:32:10] local.INFO: Processing buffer {"connection_id":229416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:32:10] local.INFO: IMEI packet received {"connection_id":229416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":229416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:32:14] local.INFO: TCP Data received {"connection_id":229416,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a90236a8012d46c780065fe138000900a02f..."} 
[2026-11-05 05:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a90236a8012d46c780065fe138000900a02f..."} 
[2026-11-05 05:32:14] local.INFO: Processing buffer {"connection_id":229416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a90236a8012d46c780065fe138000900a02f..."} 
[2026-11-05 05:32:14] local.INFO: Packet analysis {"connection_id":229416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a902"} 
[2026-11-05 05:32:14] local.INFO: Extracted packet for processing {"connection_id":229416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a902"} 
[2026-11-05 05:32:14] local.INFO: GPS Element Parsed {"raw_longitude":759613312,"raw_latitude":106946872,"longitude_deg":75.9613312,"latitude_deg":10.6946872,"altitude":9,"angle":160,"satellites":47,"speed":59,"hex_longitude":"2d46c780","hex_latitude":"065fe138","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222233856001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39659049406431232,"note":"Value kept but may cause issues"} 
[2026-11-05 05:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5097019274401320960,"note":"Value kept but may cause issues"} 
[2026-11-05 05:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793836857000,"timestamp_ms":1793836857000,"timestamp_seconds":1793836857,"priority":1,"record_length":96,"hex_timestamp":"000001a1a90236a8"} 
[2026-11-05 05: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-05 05:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-11-05 05:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05: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-05 05: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-05 05:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:32: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-05 05:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222233856001,"66":27213,"241":206,"80":60416,"24":59,"16":39659049406431232,"45":5097019274401320960},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-11-05 05:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222233856001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:32:14] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-05 05:32:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39659049406431232,"km_value":39659049406431.234,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5097019274401320960,"description":"Unknown IO ID 45"} 
[2026-11-05 05:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222233856001,"power":27213,"unknown_241":206,"unknown_80":60416,"ignition":59,"odometer":null,"unknown_45":5097019274401320960}} 
[2026-11-05 05:32:14] 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":61555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:32:14] local.INFO: GPS data processed {"connection_id":229416,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:32:14] local.INFO: Acknowledgment sent {"connection_id":229416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:32:15] local.INFO: TCP Data received {"connection_id":229416,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9025200012d46d600065fbc080009009c2f..."} 
[2026-11-05 05:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9025200012d46d600065fbc080009009c2f..."} 
[2026-11-05 05:32:15] local.INFO: Processing buffer {"connection_id":229416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9025200012d46d600065fbc080009009c2f..."} 
[2026-11-05 05:32:15] local.INFO: Packet analysis {"connection_id":229416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a902"} 
[2026-11-05 05:32:15] local.INFO: Extracted packet for processing {"connection_id":229416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a902"} 
[2026-11-05 05:32:15] local.INFO: GPS Element Parsed {"raw_longitude":759617024,"raw_latitude":106937352,"longitude_deg":75.9617024,"latitude_deg":10.6937352,"altitude":9,"angle":156,"satellites":47,"speed":58,"hex_longitude":"2d46d600","hex_latitude":"065fbc08","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222235392001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39659539032702976,"note":"Value kept but may cause issues"} 
[2026-11-05 05:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5100185867887130624,"note":"Value kept but may cause issues"} 
[2026-11-05 05:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793836864000,"timestamp_ms":1793836864000,"timestamp_seconds":1793836864,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9025200"} 
[2026-11-05 05: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-05 05:32: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-05 05: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":77,"data_length":795,"current_offset":136} 
[2026-11-05 05:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05: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-05 05: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-05 05:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:32:15] 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-05 05:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222235392001,"66":27267,"241":206,"80":60416,"24":58,"16":39659539032702976,"45":5100185867887130624},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-11-05 05:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222235392001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:32:15] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-05 05:32:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39659539032702976,"km_value":39659539032702.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5100185867887130624,"description":"Unknown IO ID 45"} 
[2026-11-05 05:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222235392001,"power":27267,"unknown_241":206,"unknown_80":60416,"ignition":58,"odometer":null,"unknown_45":5100185867887130624}} 
[2026-11-05 05:32: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":61556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:32:15] local.INFO: GPS data processed {"connection_id":229416,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:32:15] local.INFO: Acknowledgment sent {"connection_id":229416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:32:47] local.INFO: TCP Data received {"connection_id":229416,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9026d58012d46e640065f97380009009a2e..."} 
[2026-11-05 05:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9026d58012d46e640065f97380009009a2e..."} 
[2026-11-05 05:32:47] local.INFO: Processing buffer {"connection_id":229416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9026d58012d46e640065f97380009009a2e..."} 
[2026-11-05 05:32:47] local.INFO: Packet analysis {"connection_id":229416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a902"} 
[2026-11-05 05:32:47] local.INFO: Extracted packet for processing {"connection_id":229416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a902"} 
[2026-11-05 05:32:47] local.INFO: GPS Element Parsed {"raw_longitude":759621184,"raw_latitude":106927928,"longitude_deg":75.9621184,"latitude_deg":10.6927928,"altitude":9,"angle":154,"satellites":46,"speed":58,"hex_longitude":"2d46e640","hex_latitude":"065f9738","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222237184001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39660037248909312,"note":"Value kept but may cause issues"} 
[2026-11-05 05:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5104267255046998016,"note":"Value kept but may cause issues"} 
[2026-11-05 05:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793836871000,"timestamp_ms":1793836871000,"timestamp_seconds":1793836871,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9026d58"} 
[2026-11-05 05: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-05 05:32: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-05 05: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":131,"data_length":795,"current_offset":136} 
[2026-11-05 05:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05: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-05 05: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-05 05:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:32:47] 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-05 05:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222237184001,"66":27180,"241":206,"80":60416,"24":58,"16":39660037248909312,"45":5104267255046998016},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-11-05 05:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222237184001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:32:47] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-05 05:32:47] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39660037248909312,"km_value":39660037248909.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5104267255046998016,"description":"Unknown IO ID 45"} 
[2026-11-05 05:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222237184001,"power":27180,"unknown_241":206,"unknown_80":60416,"ignition":58,"odometer":null,"unknown_45":5104267255046998016}} 
[2026-11-05 05:32:47] 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":61557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:32:47] local.INFO: GPS data processed {"connection_id":229416,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:32:47] local.INFO: Acknowledgment sent {"connection_id":229416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:33:04] local.INFO: TCP Data received {"connection_id":231207,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:33:04] local.INFO: Processing buffer {"connection_id":231207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:33:04] local.INFO: IMEI packet received {"connection_id":231207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":231207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:33:07] local.INFO: TCP Data received {"connection_id":231207,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:33:07] local.INFO: Processing buffer {"connection_id":231207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:33:07] local.INFO: IMEI packet received {"connection_id":231207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":231207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:33:08] local.INFO: TCP Data received {"connection_id":231207,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a90288b0012d46f880065f7378000900972e..."} 
[2026-11-05 05:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a90288b0012d46f880065f7378000900972e..."} 
[2026-11-05 05:33:08] local.INFO: Processing buffer {"connection_id":231207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a90288b0012d46f880065f7378000900972e..."} 
[2026-11-05 05:33:08] local.INFO: Packet analysis {"connection_id":231207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a902"} 
[2026-11-05 05:33:08] local.INFO: Extracted packet for processing {"connection_id":231207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a902"} 
[2026-11-05 05:33:08] local.INFO: GPS Element Parsed {"raw_longitude":759625856,"raw_latitude":106918776,"longitude_deg":75.9625856,"latitude_deg":10.6918776,"altitude":9,"angle":151,"satellites":46,"speed":56,"hex_longitude":"2d46f880","hex_latitude":"065f7378","is_valid_coordinates":true} 
[2026-11-05 05:33: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-05 05:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222238976001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39660535465115648,"note":"Value kept but may cause issues"} 
[2026-11-05 05:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5108841223416133632,"note":"Value kept but may cause issues"} 
[2026-11-05 05:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793836878000,"timestamp_ms":1793836878000,"timestamp_seconds":1793836878,"priority":1,"record_length":96,"hex_timestamp":"000001a1a90288b0"} 
[2026-11-05 05:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:33: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-05 05:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-11-05 05:33:08] 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-05 05:33: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-05 05:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":231207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":231207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":231207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:33:08] 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-05 05:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222238976001,"66":27300,"241":206,"80":60416,"24":56,"16":39660535465115648,"45":5108841223416133632},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-11-05 05:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222238976001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:33:08] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-05 05:33:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39660535465115648,"km_value":39660535465115.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5108841223416133632,"description":"Unknown IO ID 45"} 
[2026-11-05 05:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222238976001,"power":27300,"unknown_241":206,"unknown_80":60416,"ignition":56,"odometer":null,"unknown_45":5108841223416133632}} 
[2026-11-05 05:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":231207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:33:08] local.INFO: GPS data processed {"connection_id":231207,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:33:08] local.INFO: Acknowledgment sent {"connection_id":231207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:33:10] local.INFO: TCP Data received {"connection_id":231207,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a902a408012d470b80065f52a0000900952d..."} 
[2026-11-05 05:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a902a408012d470b80065f52a0000900952d..."} 
[2026-11-05 05:33:10] local.INFO: Processing buffer {"connection_id":231207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a902a408012d470b80065f52a0000900952d..."} 
[2026-11-05 05:33:10] local.INFO: Packet analysis {"connection_id":231207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a902"} 
[2026-11-05 05:33:10] local.INFO: Extracted packet for processing {"connection_id":231207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a902"} 
[2026-11-05 05:33:10] local.INFO: GPS Element Parsed {"raw_longitude":759630720,"raw_latitude":106910368,"longitude_deg":75.963072,"latitude_deg":10.6910368,"altitude":9,"angle":149,"satellites":45,"speed":54,"hex_longitude":"2d470b80","hex_latitude":"065f52a0","is_valid_coordinates":true} 
[2026-11-05 05:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222240768001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39661003616550912,"note":"Value kept but may cause issues"} 
[2026-11-05 05:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5113978141738760192,"note":"Value kept but may cause issues"} 
[2026-11-05 05:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793836885000,"timestamp_ms":1793836885000,"timestamp_seconds":1793836885,"priority":1,"record_length":96,"hex_timestamp":"000001a1a902a408"} 
[2026-11-05 05:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 05:33:10] 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-05 05:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:33:10] 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-05 05:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222240768001,"66":27310,"241":206,"80":60416,"24":54,"16":39661003616550912,"45":5113978141738760192},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-11-05 05:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222240768001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:33:10] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-05 05:33:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-11-05 05:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39661003616550912,"km_value":39661003616550.914,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5113978141738760192,"description":"Unknown IO ID 45"} 
[2026-11-05 05:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222240768001,"power":27310,"unknown_241":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":5113978141738760192}} 
[2026-11-05 05:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":231207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:33:10] local.INFO: GPS data processed {"connection_id":231207,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:33:10] local.INFO: Acknowledgment sent {"connection_id":231207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:33:46] local.INFO: TCP Data received {"connection_id":231207,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a903f010012d47cb80065dc418000b009a2f..."} 
[2026-11-05 05:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a903f010012d47cb80065dc418000b009a2f..."} 
[2026-11-05 05:33:46] local.INFO: Processing buffer {"connection_id":231207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a903f010012d47cb80065dc418000b009a2f..."} 
[2026-11-05 05:33:46] local.INFO: Packet analysis {"connection_id":231207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a903"} 
[2026-11-05 05:33:46] local.INFO: Extracted packet for processing {"connection_id":231207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a903"} 
[2026-11-05 05:33:46] local.INFO: GPS Element Parsed {"raw_longitude":759679872,"raw_latitude":106808344,"longitude_deg":75.9679872,"latitude_deg":10.6808344,"altitude":11,"angle":154,"satellites":47,"speed":49,"hex_longitude":"2d47cb80","hex_latitude":"065dc418","is_valid_coordinates":true} 
[2026-11-05 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-05 05:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222262528001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39666483994820608,"note":"Value kept but may cause issues"} 
[2026-11-05 05:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5169076868403675136,"note":"Value kept but may cause issues"} 
[2026-11-05 05:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793836970000,"timestamp_ms":1793836970000,"timestamp_seconds":1793836970,"priority":1,"record_length":96,"hex_timestamp":"000001a1a903f010"} 
[2026-11-05 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-05 05:33: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-05 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 05:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 05:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":231207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":231207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":231207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:33: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-05 05:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222262528001,"66":27245,"114":206,"78":62464,"24":49,"16":39666483994820608,"45":5169076868403675136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,78,24,16,45]} 
[2026-11-05 05:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222262528001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:33:46] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-11-05 05:33:46] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39666483994820608,"km_value":39666483994820.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5169076868403675136,"description":"Unknown IO ID 45"} 
[2026-11-05 05:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222262528001,"power":27245,"unknown_114":206,"unknown_78":62464,"ignition":49,"odometer":null,"unknown_45":5169076868403675136}} 
[2026-11-05 05:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":231207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:33:46] local.INFO: GPS data processed {"connection_id":231207,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:33:46] local.INFO: Acknowledgment sent {"connection_id":231207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:34:04] local.INFO: TCP Data received {"connection_id":229909,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:34:04] local.INFO: Processing buffer {"connection_id":229909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:34:04] local.INFO: IMEI packet received {"connection_id":229909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":229909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:34:09] local.INFO: TCP Data received {"connection_id":229909,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:34:09] local.INFO: Processing buffer {"connection_id":229909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:34:09] local.INFO: IMEI packet received {"connection_id":229909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":229909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:34:09] local.INFO: TCP Data received {"connection_id":229909,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9040f50012d47db80065da228000d009a2f..."} 
[2026-11-05 05:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9040f50012d47db80065da228000d009a2f..."} 
[2026-11-05 05:34:09] local.INFO: Processing buffer {"connection_id":229909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9040f50012d47db80065da228000d009a2f..."} 
[2026-11-05 05:34:09] local.INFO: Packet analysis {"connection_id":229909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a904"} 
[2026-11-05 05:34:09] local.INFO: Extracted packet for processing {"connection_id":229909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a904"} 
[2026-11-05 05:34:09] local.INFO: GPS Element Parsed {"raw_longitude":759683968,"raw_latitude":106799656,"longitude_deg":75.9683968,"latitude_deg":10.6799656,"altitude":13,"angle":154,"satellites":47,"speed":46,"hex_longitude":"2d47db80","hex_latitude":"065da228","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222264320001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39666947851288576,"note":"Value kept but may cause issues"} 
[2026-11-05 05:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5173369361796438016,"note":"Value kept but may cause issues"} 
[2026-11-05 05:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793836978000,"timestamp_ms":1793836978000,"timestamp_seconds":1793836978,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9040f50"} 
[2026-11-05 05:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-11-05 05:34:09] 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-05 05:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:34:09] 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-05 05:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222264320001,"66":27234,"114":206,"78":62464,"24":46,"16":39666947851288576,"45":5173369361796438016},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,78,24,16,45]} 
[2026-11-05 05:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222264320001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:34:09] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-11-05 05:34:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39666947851288576,"km_value":39666947851288.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":5173369361796438016,"description":"Unknown IO ID 45"} 
[2026-11-05 05:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222264320001,"power":27234,"unknown_114":206,"unknown_78":62464,"ignition":46,"odometer":null,"unknown_45":5173369361796438016}} 
[2026-11-05 05:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":229909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:34:09] local.INFO: GPS data processed {"connection_id":229909,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:34:09] local.INFO: Acknowledgment sent {"connection_id":229909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:34:37] local.INFO: TCP Data received {"connection_id":233122,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233122,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:34:37] local.INFO: Processing buffer {"connection_id":233122,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:34:37] local.INFO: IMEI packet received {"connection_id":233122,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 05:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":233122,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:34:40] local.INFO: TCP Data received {"connection_id":229909,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9042e90012d47eb80065d8120000f009a2f..."} 
[2026-11-05 05:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9042e90012d47eb80065d8120000f009a2f..."} 
[2026-11-05 05:34:40] local.INFO: Processing buffer {"connection_id":229909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9042e90012d47eb80065d8120000f009a2f..."} 
[2026-11-05 05:34:40] local.INFO: Packet analysis {"connection_id":229909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a904"} 
[2026-11-05 05:34:40] local.INFO: Extracted packet for processing {"connection_id":229909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a904"} 
[2026-11-05 05:34:40] local.INFO: GPS Element Parsed {"raw_longitude":759688064,"raw_latitude":106791200,"longitude_deg":75.9688064,"latitude_deg":10.67912,"altitude":15,"angle":154,"satellites":47,"speed":46,"hex_longitude":"2d47eb80","hex_latitude":"065d8120","is_valid_coordinates":true} 
[2026-11-05 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-05 05:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222266368001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39667398822854656,"note":"Value kept but may cause issues"} 
[2026-11-05 05:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5177872961421584384,"note":"Value kept but may cause issues"} 
[2026-11-05 05:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793836986000,"timestamp_ms":1793836986000,"timestamp_seconds":1793836986,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9042e90"} 
[2026-11-05 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-05 05:34: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-05 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 05:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 05:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:34:40] 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-05 05:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222266368001,"66":27245,"114":206,"78":62464,"24":46,"16":39667398822854656,"45":5177872961421584384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,78,24,16,45]} 
[2026-11-05 05:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222266368001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:34:40] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-11-05 05:34:40] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39667398822854656,"km_value":39667398822854.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5177872961421584384,"description":"Unknown IO ID 45"} 
[2026-11-05 05:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222266368001,"power":27245,"unknown_114":206,"unknown_78":62464,"ignition":46,"odometer":null,"unknown_45":5177872961421584384}} 
[2026-11-05 05:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":229909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:34:40] local.INFO: GPS data processed {"connection_id":229909,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:34:40] local.INFO: Acknowledgment sent {"connection_id":229909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:35:03] local.INFO: TCP Data received {"connection_id":229417,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:35:03] local.INFO: Processing buffer {"connection_id":229417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:35:03] local.INFO: IMEI packet received {"connection_id":229417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":229417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:35:05] local.INFO: TCP Data received {"connection_id":229417,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:35:05] local.INFO: Processing buffer {"connection_id":229417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:35:05] local.INFO: IMEI packet received {"connection_id":229417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":229417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:35:07] local.INFO: TCP Data received {"connection_id":233123,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:35:07] local.INFO: Processing buffer {"connection_id":233123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:35:07] local.INFO: IMEI packet received {"connection_id":233123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 05:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":233123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:35:09] local.INFO: TCP Data received {"connection_id":229417,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:35:09] local.INFO: Processing buffer {"connection_id":229417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:35:09] local.INFO: IMEI packet received {"connection_id":229417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":229417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:35:11] local.INFO: TCP Data received {"connection_id":229417,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9044dd0012d47fb00065d6058000f009a2f..."} 
[2026-11-05 05:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9044dd0012d47fb00065d6058000f009a2f..."} 
[2026-11-05 05:35:11] local.INFO: Processing buffer {"connection_id":229417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9044dd0012d47fb00065d6058000f009a2f..."} 
[2026-11-05 05:35:11] local.INFO: Packet analysis {"connection_id":229417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a904"} 
[2026-11-05 05:35:11] local.INFO: Extracted packet for processing {"connection_id":229417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a904"} 
[2026-11-05 05:35:11] local.INFO: GPS Element Parsed {"raw_longitude":759692032,"raw_latitude":106782808,"longitude_deg":75.9692032,"latitude_deg":10.6782808,"altitude":15,"angle":154,"satellites":47,"speed":45,"hex_longitude":"2d47fb00","hex_latitude":"065d6058","is_valid_coordinates":true} 
[2026-11-05 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-05 05:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222268416001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39667849794420736,"note":"Value kept but may cause issues"} 
[2026-11-05 05:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5182376561046790144,"note":"Value kept but may cause issues"} 
[2026-11-05 05:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793836994000,"timestamp_ms":1793836994000,"timestamp_seconds":1793836994,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9044dd0"} 
[2026-11-05 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-05 05:35: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-05 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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-11-05 05:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 05:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:35:11] 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-05 05:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222268416001,"66":27234,"131":206,"78":62464,"24":45,"16":39667849794420736,"45":5182376561046790144},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,78,24,16,45]} 
[2026-11-05 05:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222268416001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:35:11] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-11-05 05:35:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39667849794420736,"km_value":39667849794420.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5182376561046790144,"description":"Unknown IO ID 45"} 
[2026-11-05 05:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222268416001,"power":27234,"unknown_131":206,"unknown_78":62464,"ignition":45,"odometer":null,"unknown_45":5182376561046790144}} 
[2026-11-05 05:35:11] 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":61563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:35:11] local.INFO: GPS data processed {"connection_id":229417,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:35:11] local.INFO: Acknowledgment sent {"connection_id":229417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:35:43] local.INFO: TCP Data received {"connection_id":229417,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a905b918012d48c040065baf500004008f2e..."} 
[2026-11-05 05:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a905b918012d48c040065baf500004008f2e..."} 
[2026-11-05 05:35:43] local.INFO: Processing buffer {"connection_id":229417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a905b918012d48c040065baf500004008f2e..."} 
[2026-11-05 05:35:43] local.INFO: Packet analysis {"connection_id":229417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a905"} 
[2026-11-05 05:35:43] local.INFO: Extracted packet for processing {"connection_id":229417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a905"} 
[2026-11-05 05:35:43] local.INFO: GPS Element Parsed {"raw_longitude":759742528,"raw_latitude":106671952,"longitude_deg":75.9742528,"latitude_deg":10.6671952,"altitude":4,"angle":143,"satellites":46,"speed":47,"hex_longitude":"2d48c040","hex_latitude":"065baf50","is_valid_coordinates":true} 
[2026-11-05 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-05 05:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222292224001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39673815503994880,"note":"Value kept but may cause issues"} 
[2026-11-05 05:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5235645700360751104,"note":"Value kept but may cause issues"} 
[2026-11-05 05:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793837087000,"timestamp_ms":1793837087000,"timestamp_seconds":1793837087,"priority":1,"record_length":96,"hex_timestamp":"000001a1a905b918"} 
[2026-11-05 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-05 05:35: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-05 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 05:35:43] 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-05 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-05 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-05 05:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:35: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-05 05:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222292224001,"66":27234,"64":206,"78":62464,"24":47,"16":39673815503994880,"45":5235645700360751104},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-11-05 05:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222292224001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:35:43] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-11-05 05:35:43] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39673815503994880,"km_value":39673815503994.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5235645700360751104,"description":"Unknown IO ID 45"} 
[2026-11-05 05:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222292224001,"power":27234,"unknown_64":206,"unknown_78":62464,"ignition":47,"odometer":null,"unknown_45":5235645700360751104}} 
[2026-11-05 05:35:43] 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":61564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:35:43] local.INFO: GPS data processed {"connection_id":229417,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:35:43] local.INFO: Acknowledgment sent {"connection_id":229417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:36:21] local.INFO: TCP Data received {"connection_id":231209,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:36:21] local.INFO: Processing buffer {"connection_id":231209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:36:21] local.INFO: IMEI packet received {"connection_id":231209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":231209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:36:24] local.INFO: TCP Data received {"connection_id":231209,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:36:24] local.INFO: Processing buffer {"connection_id":231209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:36:24] local.INFO: IMEI packet received {"connection_id":231209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":231209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:36:30] local.INFO: TCP Data received {"connection_id":231209,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:36:30] local.INFO: Processing buffer {"connection_id":231209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:36:30] local.INFO: IMEI packet received {"connection_id":231209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":231209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:36:31] local.INFO: TCP Data received {"connection_id":231209,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a905d858012d48d640065b9140000400902d..."} 
[2026-11-05 05:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a905d858012d48d640065b9140000400902d..."} 
[2026-11-05 05:36:31] local.INFO: Processing buffer {"connection_id":231209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a905d858012d48d640065b9140000400902d..."} 
[2026-11-05 05:36:31] local.INFO: Packet analysis {"connection_id":231209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a905"} 
[2026-11-05 05:36:31] local.INFO: Extracted packet for processing {"connection_id":231209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a905"} 
[2026-11-05 05:36:31] local.INFO: GPS Element Parsed {"raw_longitude":759748160,"raw_latitude":106664256,"longitude_deg":75.974816,"latitude_deg":10.6664256,"altitude":4,"angle":144,"satellites":45,"speed":48,"hex_longitude":"2d48d640","hex_latitude":"065b9140","is_valid_coordinates":true} 
[2026-11-05 05:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222294272001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39674275065495552,"note":"Value kept but may cause issues"} 
[2026-11-05 05:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5242260362311454720,"note":"Value kept but may cause issues"} 
[2026-11-05 05:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793837095000,"timestamp_ms":1793837095000,"timestamp_seconds":1793837095,"priority":1,"record_length":96,"hex_timestamp":"000001a1a905d858"} 
[2026-11-05 05:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:36: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-05 05:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 05:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":231209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":231209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":231209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:36:31] 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-05 05:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222294272001,"66":27213,"64":206,"78":62464,"24":48,"16":39674275065495552,"45":5242260362311454720},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-11-05 05:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222294272001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:36:31] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-11-05 05:36:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39674275065495552,"km_value":39674275065495.555,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5242260362311454720,"description":"Unknown IO ID 45"} 
[2026-11-05 05:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222294272001,"power":27213,"unknown_64":206,"unknown_78":62464,"ignition":48,"odometer":null,"unknown_45":5242260362311454720}} 
[2026-11-05 05:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":231209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:36:31] local.INFO: GPS data processed {"connection_id":231209,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:36:31] local.INFO: Acknowledgment sent {"connection_id":231209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:36:31] local.INFO: TCP Data received {"connection_id":231209,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a905f798012d48ed00065b72b8000300902e..."} 
[2026-11-05 05:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a905f798012d48ed00065b72b8000300902e..."} 
[2026-11-05 05:36:31] local.INFO: Processing buffer {"connection_id":231209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a905f798012d48ed00065b72b8000300902e..."} 
[2026-11-05 05:36:31] local.INFO: Packet analysis {"connection_id":231209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a905"} 
[2026-11-05 05:36:31] local.INFO: Extracted packet for processing {"connection_id":231209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a905"} 
[2026-11-05 05:36:31] local.INFO: GPS Element Parsed {"raw_longitude":759753984,"raw_latitude":106656440,"longitude_deg":75.9753984,"latitude_deg":10.665644,"altitude":3,"angle":144,"satellites":46,"speed":48,"hex_longitude":"2d48ed00","hex_latitude":"065b72b8","is_valid_coordinates":true} 
[2026-11-05 05:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222296320001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39674743216930816,"note":"Value kept but may cause issues"} 
[2026-11-05 05:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5248452811797118976,"note":"Value kept but may cause issues"} 
[2026-11-05 05:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793837103000,"timestamp_ms":1793837103000,"timestamp_seconds":1793837103,"priority":1,"record_length":96,"hex_timestamp":"000001a1a905f798"} 
[2026-11-05 05:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-11-05 05:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":231209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":231209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":231209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:36:31] 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-05 05:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222296320001,"66":27321,"64":206,"78":62464,"24":48,"16":39674743216930816,"45":5248452811797118976},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-11-05 05:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222296320001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:36:31] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-11-05 05:36:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39674743216930816,"km_value":39674743216930.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5248452811797118976,"description":"Unknown IO ID 45"} 
[2026-11-05 05:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222296320001,"power":27321,"unknown_64":206,"unknown_78":62464,"ignition":48,"odometer":null,"unknown_45":5248452811797118976}} 
[2026-11-05 05:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":231209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:36:31] local.INFO: GPS data processed {"connection_id":231209,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:36:31] local.INFO: Acknowledgment sent {"connection_id":231209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:37:04] local.INFO: TCP Data received {"connection_id":231210,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:37:04] local.INFO: Processing buffer {"connection_id":231210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:37:04] local.INFO: IMEI packet received {"connection_id":231210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":231210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:37:05] local.INFO: TCP Data received {"connection_id":231210,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:37:05] local.INFO: Processing buffer {"connection_id":231210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:37:05] local.INFO: IMEI packet received {"connection_id":231210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":231210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:37:09] local.INFO: TCP Data received {"connection_id":231210,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:37:09] local.INFO: Processing buffer {"connection_id":231210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:37:09] local.INFO: IMEI packet received {"connection_id":231210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":231210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:37:10] local.INFO: TCP Data received {"connection_id":231210,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a90616d8012d4903c0065b53b8000300912e..."} 
[2026-11-05 05:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a90616d8012d4903c0065b53b8000300912e..."} 
[2026-11-05 05:37:10] local.INFO: Processing buffer {"connection_id":231210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a90616d8012d4903c0065b53b8000300912e..."} 
[2026-11-05 05:37:10] local.INFO: Packet analysis {"connection_id":231210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a906"} 
[2026-11-05 05:37:10] local.INFO: Extracted packet for processing {"connection_id":231210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a906"} 
[2026-11-05 05:37:10] local.INFO: GPS Element Parsed {"raw_longitude":759759808,"raw_latitude":106648504,"longitude_deg":75.9759808,"latitude_deg":10.6648504,"altitude":3,"angle":145,"satellites":46,"speed":47,"hex_longitude":"2d4903c0","hex_latitude":"065b53b8","is_valid_coordinates":true} 
[2026-11-05 05:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222298368001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39675219958300672,"note":"Value kept but may cause issues"} 
[2026-11-05 05:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5254856367515285504,"note":"Value kept but may cause issues"} 
[2026-11-05 05:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793837111000,"timestamp_ms":1793837111000,"timestamp_seconds":1793837111,"priority":1,"record_length":96,"hex_timestamp":"000001a1a90616d8"} 
[2026-11-05 05:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:37: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-05 05:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 05:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:37:10] 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-05 05:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222298368001,"66":27267,"64":206,"78":62464,"24":47,"16":39675219958300672,"45":5254856367515285504},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-11-05 05:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222298368001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:37:10] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-11-05 05:37:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39675219958300672,"km_value":39675219958300.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5254856367515285504,"description":"Unknown IO ID 45"} 
[2026-11-05 05:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222298368001,"power":27267,"unknown_64":206,"unknown_78":62464,"ignition":47,"odometer":null,"unknown_45":5254856367515285504}} 
[2026-11-05 05:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":231210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:37:10] local.INFO: GPS data processed {"connection_id":231210,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:37:10] local.INFO: Acknowledgment sent {"connection_id":231210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:37:15] local.INFO: TCP Data received {"connection_id":231210,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9063618012d491880065b3450000400962e..."} 
[2026-11-05 05:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9063618012d491880065b3450000400962e..."} 
[2026-11-05 05:37:15] local.INFO: Processing buffer {"connection_id":231210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9063618012d491880065b3450000400962e..."} 
[2026-11-05 05:37:15] local.INFO: Packet analysis {"connection_id":231210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a906"} 
[2026-11-05 05:37:15] local.INFO: Extracted packet for processing {"connection_id":231210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a906"} 
[2026-11-05 05:37:15] local.INFO: GPS Element Parsed {"raw_longitude":759765120,"raw_latitude":106640464,"longitude_deg":75.976512,"latitude_deg":10.6640464,"altitude":4,"angle":150,"satellites":46,"speed":47,"hex_longitude":"2d491880","hex_latitude":"065b3450","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222300416001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39675683814768640,"note":"Value kept but may cause issues"} 
[2026-11-05 05:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5261259923233421312,"note":"Value kept but may cause issues"} 
[2026-11-05 05:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793837119000,"timestamp_ms":1793837119000,"timestamp_seconds":1793837119,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9063618"} 
[2026-11-05 05: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-05 05:37: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-05 05: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 05:37:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05: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-05 05: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-05 05:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":231210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":231210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":231210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:37:15] 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-05 05:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222300416001,"66":27213,"64":206,"78":62464,"24":47,"16":39675683814768640,"45":5261259923233421312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-11-05 05:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222300416001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:37:15] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-11-05 05:37:15] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39675683814768640,"km_value":39675683814768.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5261259923233421312,"description":"Unknown IO ID 45"} 
[2026-11-05 05:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222300416001,"power":27213,"unknown_64":206,"unknown_78":62464,"ignition":47,"odometer":null,"unknown_45":5261259923233421312}} 
[2026-11-05 05:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":231210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:37:15] local.INFO: GPS data processed {"connection_id":231210,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:37:15] local.INFO: Acknowledgment sent {"connection_id":231210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:37:46] local.INFO: TCP Data received {"connection_id":231210,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9078dd8012d4983c00659e158001100932f..."} 
[2026-11-05 05:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9078dd8012d4983c00659e158001100932f..."} 
[2026-11-05 05:37:46] local.INFO: Processing buffer {"connection_id":231210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9078dd8012d4983c00659e158001100932f..."} 
[2026-11-05 05:37:46] local.INFO: Packet analysis {"connection_id":231210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a907"} 
[2026-11-05 05:37:46] local.INFO: Extracted packet for processing {"connection_id":231210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a907"} 
[2026-11-05 05:37:46] local.INFO: GPS Element Parsed {"raw_longitude":759792576,"raw_latitude":106553688,"longitude_deg":75.9792576,"latitude_deg":10.6553688,"altitude":17,"angle":147,"satellites":47,"speed":38,"hex_longitude":"2d4983c0","hex_latitude":"0659e158","is_valid_coordinates":true} 
[2026-11-05 05:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222322432001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39680163465658368,"note":"Value kept but may cause issues"} 
[2026-11-05 05:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5291729589439991808,"note":"Value kept but may cause issues"} 
[2026-11-05 05:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793837207000,"timestamp_ms":1793837207000,"timestamp_seconds":1793837207,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9078dd8"} 
[2026-11-05 05:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:37: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-05 05:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 05:37:46] 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-05 05:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":231210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":231210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":231210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:37: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-05 05:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222322432001,"66":27245,"131":206,"78":62464,"24":38,"16":39680163465658368,"45":5291729589439991808},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,78,24,16,45]} 
[2026-11-05 05:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222322432001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:37:46] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-11-05 05:37:46] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39680163465658368,"km_value":39680163465658.37,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5291729589439991808,"description":"Unknown IO ID 45"} 
[2026-11-05 05:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222322432001,"power":27245,"unknown_131":206,"unknown_78":62464,"ignition":38,"odometer":null,"unknown_45":5291729589439991808}} 
[2026-11-05 05:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":231210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:37:46] local.INFO: GPS data processed {"connection_id":231210,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:37:46] local.INFO: Acknowledgment sent {"connection_id":231210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:38:03] local.INFO: TCP Data received {"connection_id":229418,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:38:03] local.INFO: Processing buffer {"connection_id":229418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:38:03] local.INFO: IMEI packet received {"connection_id":229418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":229418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:38:04] local.INFO: TCP Data received {"connection_id":229418,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:38:04] local.INFO: Processing buffer {"connection_id":229418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:38:04] local.INFO: IMEI packet received {"connection_id":229418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":229418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:38:09] local.INFO: TCP Data received {"connection_id":229418,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:38:09] local.INFO: Processing buffer {"connection_id":229418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:38:09] local.INFO: IMEI packet received {"connection_id":229418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":229418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:38:10] local.INFO: TCP Data received {"connection_id":229418,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a907b100012d4996400659c2a00011009730..."} 
[2026-11-05 05:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a907b100012d4996400659c2a00011009730..."} 
[2026-11-05 05:38:10] local.INFO: Processing buffer {"connection_id":229418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a907b100012d4996400659c2a00011009730..."} 
[2026-11-05 05:38:10] local.INFO: Packet analysis {"connection_id":229418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a907"} 
[2026-11-05 05:38:10] local.INFO: Extracted packet for processing {"connection_id":229418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a907"} 
[2026-11-05 05:38:10] local.INFO: GPS Element Parsed {"raw_longitude":759797312,"raw_latitude":106545824,"longitude_deg":75.9797312,"latitude_deg":10.6545824,"altitude":17,"angle":151,"satellites":48,"speed":43,"hex_longitude":"2d499640","hex_latitude":"0659c2a0","is_valid_coordinates":true} 
[2026-11-05 05:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222324992001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39680610142257152,"note":"Value kept but may cause issues"} 
[2026-11-05 05:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5297288720228112384,"note":"Value kept but may cause issues"} 
[2026-11-05 05:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793837216000,"timestamp_ms":1793837216000,"timestamp_seconds":1793837216,"priority":1,"record_length":96,"hex_timestamp":"000001a1a907b100"} 
[2026-11-05 05:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-11-05 05:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:38:10] 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-05 05:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222324992001,"66":27310,"131":206,"78":62464,"24":43,"16":39680610142257152,"45":5297288720228112384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,78,24,16,45]} 
[2026-11-05 05:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222324992001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:38:10] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-11-05 05:38:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39680610142257152,"km_value":39680610142257.15,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5297288720228112384,"description":"Unknown IO ID 45"} 
[2026-11-05 05:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222324992001,"power":27310,"unknown_131":206,"unknown_78":62464,"ignition":43,"odometer":null,"unknown_45":5297288720228112384}} 
[2026-11-05 05:38:10] 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":61570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:38:10] local.INFO: GPS data processed {"connection_id":229418,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:38:10] local.INFO: Acknowledgment sent {"connection_id":229418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:38:41] local.INFO: TCP Data received {"connection_id":229418,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a907d040012d49a7800659a2b00010009730..."} 
[2026-11-05 05:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a907d040012d49a7800659a2b00010009730..."} 
[2026-11-05 05:38:41] local.INFO: Processing buffer {"connection_id":229418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a907d040012d49a7800659a2b00010009730..."} 
[2026-11-05 05:38:41] local.INFO: Packet analysis {"connection_id":229418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a907"} 
[2026-11-05 05:38:41] local.INFO: Extracted packet for processing {"connection_id":229418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a907"} 
[2026-11-05 05:38:41] local.INFO: GPS Element Parsed {"raw_longitude":759801728,"raw_latitude":106537648,"longitude_deg":75.9801728,"latitude_deg":10.6537648,"altitude":16,"angle":151,"satellites":48,"speed":49,"hex_longitude":"2d49a780","hex_latitude":"0659a2b0","is_valid_coordinates":true} 
[2026-11-05 05:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222327296001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39681056818855936,"note":"Value kept but may cause issues"} 
[2026-11-05 05:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5302496007295246336,"note":"Value kept but may cause issues"} 
[2026-11-05 05:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793837224000,"timestamp_ms":1793837224000,"timestamp_seconds":1793837224,"priority":1,"record_length":96,"hex_timestamp":"000001a1a907d040"} 
[2026-11-05 05:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05: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-05 05:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-11-05 05:38:41] 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-05 05:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:38: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-05 05:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222327296001,"66":27245,"131":206,"78":62464,"24":49,"16":39681056818855936,"45":5302496007295246336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,78,24,16,45]} 
[2026-11-05 05:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222327296001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:38:41] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-11-05 05:38:41] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39681056818855936,"km_value":39681056818855.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":5302496007295246336,"description":"Unknown IO ID 45"} 
[2026-11-05 05:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222327296001,"power":27245,"unknown_131":206,"unknown_78":62464,"ignition":49,"odometer":null,"unknown_45":5302496007295246336}} 
[2026-11-05 05:38:41] 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":61571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:38:41] local.INFO: GPS data processed {"connection_id":229418,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:38:41] local.INFO: Acknowledgment sent {"connection_id":229418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:39:05] local.INFO: TCP Data received {"connection_id":231211,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:39:05] local.INFO: Processing buffer {"connection_id":231211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:39:05] local.INFO: IMEI packet received {"connection_id":231211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":231211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:39:06] local.INFO: TCP Data received {"connection_id":231211,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:39:06] local.INFO: Processing buffer {"connection_id":231211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:39:06] local.INFO: IMEI packet received {"connection_id":231211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":231211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:39:09] local.INFO: TCP Data received {"connection_id":231211,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:39:09] local.INFO: Processing buffer {"connection_id":231211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:39:09] local.INFO: IMEI packet received {"connection_id":231211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":231211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:39:11] local.INFO: TCP Data received {"connection_id":231211,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a907eb98012d49b88006598338000e009830..."} 
[2026-11-05 05:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a907eb98012d49b88006598338000e009830..."} 
[2026-11-05 05:39:11] local.INFO: Processing buffer {"connection_id":231211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a907eb98012d49b88006598338000e009830..."} 
[2026-11-05 05:39:11] local.INFO: Packet analysis {"connection_id":231211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a907"} 
[2026-11-05 05:39:11] local.INFO: Extracted packet for processing {"connection_id":231211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a907"} 
[2026-11-05 05:39:11] local.INFO: GPS Element Parsed {"raw_longitude":759806080,"raw_latitude":106529592,"longitude_deg":75.980608,"latitude_deg":10.6529592,"altitude":14,"angle":152,"satellites":48,"speed":54,"hex_longitude":"2d49b880","hex_latitude":"06598338","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222329344001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39681499200487424,"note":"Value kept but may cause issues"} 
[2026-11-05 05:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5307351450641412096,"note":"Value kept but may cause issues"} 
[2026-11-05 05:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793837231000,"timestamp_ms":1793837231000,"timestamp_seconds":1793837231,"priority":1,"record_length":96,"hex_timestamp":"000001a1a907eb98"} 
[2026-11-05 05: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-05 05:39: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-05 05: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-11-05 05:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05: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-05 05: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-05 05:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:39:11] 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-05 05:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222329344001,"66":27213,"131":206,"78":62464,"24":54,"16":39681499200487424,"45":5307351450641412096},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,78,24,16,45]} 
[2026-11-05 05:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222329344001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:39:11] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-11-05 05:39:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39681499200487424,"km_value":39681499200487.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5307351450641412096,"description":"Unknown IO ID 45"} 
[2026-11-05 05:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222329344001,"power":27213,"unknown_131":206,"unknown_78":62464,"ignition":54,"odometer":null,"unknown_45":5307351450641412096}} 
[2026-11-05 05:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":231211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:39:11] local.INFO: GPS data processed {"connection_id":231211,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:39:11] local.INFO: Acknowledgment sent {"connection_id":231211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:39:43] local.INFO: TCP Data received {"connection_id":231211,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9096a68012d4aa3400657ad28000800992f..."} 
[2026-11-05 05:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9096a68012d4aa3400657ad28000800992f..."} 
[2026-11-05 05:39:43] local.INFO: Processing buffer {"connection_id":231211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9096a68012d4aa3400657ad28000800992f..."} 
[2026-11-05 05:39:43] local.INFO: Packet analysis {"connection_id":231211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a909"} 
[2026-11-05 05:39:43] local.INFO: Extracted packet for processing {"connection_id":231211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a909"} 
[2026-11-05 05:39:43] local.INFO: GPS Element Parsed {"raw_longitude":759866176,"raw_latitude":106409256,"longitude_deg":75.9866176,"latitude_deg":10.6409256,"altitude":8,"angle":153,"satellites":47,"speed":55,"hex_longitude":"2d4aa340","hex_latitude":"0657ad28","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222354432001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39688001780973568,"note":"Value kept but may cause issues"} 
[2026-11-05 05:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5373779545114494976,"note":"Value kept but may cause issues"} 
[2026-11-05 05:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793837329000,"timestamp_ms":1793837329000,"timestamp_seconds":1793837329,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9096a68"} 
[2026-11-05 05: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-05 05:39: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-05 05: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":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-11-05 05:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05: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-05 05: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-05 05:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:39: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-05 05:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222354432001,"66":27180,"130":206,"78":62464,"24":55,"16":39688001780973568,"45":5373779545114494976},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,78,24,16,45]} 
[2026-11-05 05:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222354432001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:39:43] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-11-05 05:39:43] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39688001780973568,"km_value":39688001780973.57,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5373779545114494976,"description":"Unknown IO ID 45"} 
[2026-11-05 05:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222354432001,"power":27180,"unknown_130":206,"unknown_78":62464,"ignition":55,"odometer":null,"unknown_45":5373779545114494976}} 
[2026-11-05 05:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":231211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:39:43] local.INFO: GPS data processed {"connection_id":231211,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:39:43] local.INFO: Acknowledgment sent {"connection_id":231211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:40:04] local.INFO: TCP Data received {"connection_id":229911,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:40:04] local.INFO: Processing buffer {"connection_id":229911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:40:04] local.INFO: IMEI packet received {"connection_id":229911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":229911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:40:05] local.INFO: TCP Data received {"connection_id":229911,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:40:05] local.INFO: Processing buffer {"connection_id":229911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:40:05] local.INFO: IMEI packet received {"connection_id":229911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":229911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:40:09] local.INFO: TCP Data received {"connection_id":229911,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:40:09] local.INFO: Processing buffer {"connection_id":229911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:40:09] local.INFO: IMEI packet received {"connection_id":229911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":229911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:40:10] local.INFO: TCP Data received {"connection_id":229911,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a90985c0012d4ab44006578bb0000900992f..."} 
[2026-11-05 05:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a90985c0012d4ab44006578bb0000900992f..."} 
[2026-11-05 05:40:10] local.INFO: Processing buffer {"connection_id":229911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a90985c0012d4ab44006578bb0000900992f..."} 
[2026-11-05 05:40:10] local.INFO: Packet analysis {"connection_id":229911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a909"} 
[2026-11-05 05:40:10] local.INFO: Extracted packet for processing {"connection_id":229911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a909"} 
[2026-11-05 05:40:10] local.INFO: GPS Element Parsed {"raw_longitude":759870528,"raw_latitude":106400688,"longitude_deg":75.9870528,"latitude_deg":10.6400688,"altitude":9,"angle":153,"satellites":47,"speed":53,"hex_longitude":"2d4ab440","hex_latitude":"06578bb0","is_valid_coordinates":true} 
[2026-11-05 05:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222356224001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39688465637441536,"note":"Value kept but may cause issues"} 
[2026-11-05 05:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5378212775995451392,"note":"Value kept but may cause issues"} 
[2026-11-05 05:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793837336000,"timestamp_ms":1793837336000,"timestamp_seconds":1793837336,"priority":1,"record_length":96,"hex_timestamp":"000001a1a90985c0"} 
[2026-11-05 05:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-11-05 05:40:10] 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-05 05:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:40:10] 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-05 05:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222356224001,"66":27158,"130":206,"78":62464,"24":53,"16":39688465637441536,"45":5378212775995451392},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,78,24,16,45]} 
[2026-11-05 05:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222356224001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:40:10] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-11-05 05:40:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39688465637441536,"km_value":39688465637441.54,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5378212775995451392,"description":"Unknown IO ID 45"} 
[2026-11-05 05:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222356224001,"power":27158,"unknown_130":206,"unknown_78":62464,"ignition":53,"odometer":null,"unknown_45":5378212775995451392}} 
[2026-11-05 05:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":229911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:40:10] local.INFO: GPS data processed {"connection_id":229911,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:40:10] local.INFO: Acknowledgment sent {"connection_id":229911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:40:32] local.INFO: TCP Data received {"connection_id":233125,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:40:32] local.INFO: Processing buffer {"connection_id":233125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:40:32] local.INFO: IMEI packet received {"connection_id":233125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 05:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":233125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:40:42] local.INFO: TCP Data received {"connection_id":229911,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a909a118012d4ac40006576c10000a00992f..."} 
[2026-11-05 05:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a909a118012d4ac40006576c10000a00992f..."} 
[2026-11-05 05:40:42] local.INFO: Processing buffer {"connection_id":229911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a909a118012d4ac40006576c10000a00992f..."} 
[2026-11-05 05:40:42] local.INFO: Packet analysis {"connection_id":229911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a909"} 
[2026-11-05 05:40:42] local.INFO: Extracted packet for processing {"connection_id":229911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a909"} 
[2026-11-05 05:40:42] local.INFO: GPS Element Parsed {"raw_longitude":759874560,"raw_latitude":106392592,"longitude_deg":75.987456,"latitude_deg":10.6392592,"altitude":10,"angle":153,"satellites":47,"speed":50,"hex_longitude":"2d4ac400","hex_latitude":"06576c10","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222358016001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39688903724105728,"note":"Value kept but may cause issues"} 
[2026-11-05 05:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5382997850597339136,"note":"Value kept but may cause issues"} 
[2026-11-05 05:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793837343000,"timestamp_ms":1793837343000,"timestamp_seconds":1793837343,"priority":1,"record_length":96,"hex_timestamp":"000001a1a909a118"} 
[2026-11-05 05: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-05 05:40: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-05 05: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":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-05 05:40:42] 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-05 05: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-05 05: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-05 05:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:40: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-05 05:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222358016001,"66":27213,"130":206,"78":62464,"24":50,"16":39688903724105728,"45":5382997850597339136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,78,24,16,45]} 
[2026-11-05 05:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222358016001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:40:42] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-11-05 05:40:42] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39688903724105728,"km_value":39688903724105.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5382997850597339136,"description":"Unknown IO ID 45"} 
[2026-11-05 05:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222358016001,"power":27213,"unknown_130":206,"unknown_78":62464,"ignition":50,"odometer":null,"unknown_45":5382997850597339136}} 
[2026-11-05 05:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":229911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:40:42] local.INFO: GPS data processed {"connection_id":229911,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:40:42] local.INFO: Acknowledgment sent {"connection_id":229911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:41:06] local.INFO: TCP Data received {"connection_id":233126,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:41:06] local.INFO: Processing buffer {"connection_id":233126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:41:06] local.INFO: IMEI packet received {"connection_id":233126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":233126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:41:09] local.INFO: TCP Data received {"connection_id":233126,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:41:09] local.INFO: Processing buffer {"connection_id":233126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:41:09] local.INFO: IMEI packet received {"connection_id":233126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":233126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:41:11] local.INFO: TCP Data received {"connection_id":231213,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231213,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:41:11] local.INFO: Processing buffer {"connection_id":231213,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:41:11] local.INFO: IMEI packet received {"connection_id":231213,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 05:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":231213,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:41:14] local.INFO: TCP Data received {"connection_id":233126,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:41:14] local.INFO: Processing buffer {"connection_id":233126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:41:14] local.INFO: IMEI packet received {"connection_id":233126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":233126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:41:14] local.INFO: TCP Data received {"connection_id":233126,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a90ad1c8012d4b64800655f050000700992e..."} 
[2026-11-05 05:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a90ad1c8012d4b64800655f050000700992e..."} 
[2026-11-05 05:41:14] local.INFO: Processing buffer {"connection_id":233126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a90ad1c8012d4b64800655f050000700992e..."} 
[2026-11-05 05:41:14] local.INFO: Packet analysis {"connection_id":233126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a90a"} 
[2026-11-05 05:41:14] local.INFO: Extracted packet for processing {"connection_id":233126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a90a"} 
[2026-11-05 05:41:14] local.INFO: GPS Element Parsed {"raw_longitude":759915648,"raw_latitude":106295376,"longitude_deg":75.9915648,"latitude_deg":10.6295376,"altitude":7,"angle":153,"satellites":46,"speed":53,"hex_longitude":"2d4b6480","hex_latitude":"0655f050","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222377984001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39694031915057152,"note":"Value kept but may cause issues"} 
[2026-11-05 05:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5428033846846244864,"note":"Value kept but may cause issues"} 
[2026-11-05 05:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793837421000,"timestamp_ms":1793837421000,"timestamp_seconds":1793837421,"priority":1,"record_length":96,"hex_timestamp":"000001a1a90ad1c8"} 
[2026-11-05 05: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-05 05: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-05 05: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 05:41:14] 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-05 05: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-05 05: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-05 05:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05: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-05 05:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222377984001,"66":27234,"145":206,"78":62464,"24":53,"16":39694031915057152,"45":5428033846846244864},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,78,24,16,45]} 
[2026-11-05 05:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222377984001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:41:14] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-11-05 05:41:14] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39694031915057152,"km_value":39694031915057.15,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5428033846846244864,"description":"Unknown IO ID 45"} 
[2026-11-05 05:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222377984001,"power":27234,"unknown_145":206,"unknown_78":62464,"ignition":53,"odometer":null,"unknown_45":5428033846846244864}} 
[2026-11-05 05:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":233126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:41:14] local.INFO: GPS data processed {"connection_id":233126,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:41:14] local.INFO: Acknowledgment sent {"connection_id":233126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:41:16] local.INFO: TCP Data received {"connection_id":233126,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a90aed20012d4b76000655d010000700982e..."} 
[2026-11-05 05:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a90aed20012d4b76000655d010000700982e..."} 
[2026-11-05 05:41:16] local.INFO: Processing buffer {"connection_id":233126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a90aed20012d4b76000655d010000700982e..."} 
[2026-11-05 05:41:16] local.INFO: Packet analysis {"connection_id":233126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a90a"} 
[2026-11-05 05:41:16] local.INFO: Extracted packet for processing {"connection_id":233126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a90a"} 
[2026-11-05 05:41:16] local.INFO: GPS Element Parsed {"raw_longitude":759920128,"raw_latitude":106287120,"longitude_deg":75.9920128,"latitude_deg":10.628712,"altitude":7,"angle":152,"satellites":46,"speed":53,"hex_longitude":"2d4b7600","hex_latitude":"0655d010","is_valid_coordinates":true} 
[2026-11-05 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-05 05:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222379776001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39694487181590528,"note":"Value kept but may cause issues"} 
[2026-11-05 05:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5432607815215632384,"note":"Value kept but may cause issues"} 
[2026-11-05 05:41:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793837428000,"timestamp_ms":1793837428000,"timestamp_seconds":1793837428,"priority":1,"record_length":96,"hex_timestamp":"000001a1a90aed20"} 
[2026-11-05 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-05 05:41: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-05 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 05:41:16] 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-05 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-05 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-05 05:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":233126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":233126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":233126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:41:16] 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-05 05:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222379776001,"66":27321,"145":206,"78":62464,"24":53,"16":39694487181590528,"45":5432607815215632384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,78,24,16,45]} 
[2026-11-05 05:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222379776001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:41:16] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-11-05 05:41:16] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39694487181590528,"km_value":39694487181590.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5432607815215632384,"description":"Unknown IO ID 45"} 
[2026-11-05 05:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222379776001,"power":27321,"unknown_145":206,"unknown_78":62464,"ignition":53,"odometer":null,"unknown_45":5432607815215632384}} 
[2026-11-05 05:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":233126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:41:16] local.INFO: GPS data processed {"connection_id":233126,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:41:16] local.INFO: Acknowledgment sent {"connection_id":233126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:41:48] local.INFO: TCP Data received {"connection_id":233126,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a90b0878012d4b87800655af80000600972c..."} 
[2026-11-05 05:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a90b0878012d4b87800655af80000600972c..."} 
[2026-11-05 05:41:48] local.INFO: Processing buffer {"connection_id":233126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a90b0878012d4b87800655af80000600972c..."} 
[2026-11-05 05:41:48] local.INFO: Packet analysis {"connection_id":233126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a90b"} 
[2026-11-05 05:41:48] local.INFO: Extracted packet for processing {"connection_id":233126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a90b"} 
[2026-11-05 05:41:48] local.INFO: GPS Element Parsed {"raw_longitude":759924608,"raw_latitude":106278784,"longitude_deg":75.9924608,"latitude_deg":10.6278784,"altitude":6,"angle":151,"satellites":44,"speed":53,"hex_longitude":"2d4b8780","hex_latitude":"0655af80","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222381568001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39694942448123904,"note":"Value kept but may cause issues"} 
[2026-11-05 05:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5437533627305955328,"note":"Value kept but may cause issues"} 
[2026-11-05 05:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793837435000,"timestamp_ms":1793837435000,"timestamp_seconds":1793837435,"priority":1,"record_length":96,"hex_timestamp":"000001a1a90b0878"} 
[2026-11-05 05: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-05 05:41: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-05 05: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 05:41:48] 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-05 05: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-05 05: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-05 05:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":233126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":233126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":233126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:41: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-05 05:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222381568001,"66":27321,"145":206,"78":62464,"24":53,"16":39694942448123904,"45":5437533627305955328},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,78,24,16,45]} 
[2026-11-05 05:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222381568001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:41:48] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-11-05 05:41:48] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39694942448123904,"km_value":39694942448123.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5437533627305955328,"description":"Unknown IO ID 45"} 
[2026-11-05 05:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222381568001,"power":27321,"unknown_145":206,"unknown_78":62464,"ignition":53,"odometer":null,"unknown_45":5437533627305955328}} 
[2026-11-05 05:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":233126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:41:48] local.INFO: GPS data processed {"connection_id":233126,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:41:48] local.INFO: Acknowledgment sent {"connection_id":233126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:42:15] local.INFO: TCP Data received {"connection_id":233127,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:42:15] local.INFO: Processing buffer {"connection_id":233127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:42:15] local.INFO: IMEI packet received {"connection_id":233127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":233127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:42:16] local.INFO: TCP Data received {"connection_id":233127,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:42:16] local.INFO: Processing buffer {"connection_id":233127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:42:16] local.INFO: IMEI packet received {"connection_id":233127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":233127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:42:17] local.INFO: TCP Data received {"connection_id":233127,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a90b23d0012d4b98c006558f78000600972d..."} 
[2026-11-05 05:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a90b23d0012d4b98c006558f78000600972d..."} 
[2026-11-05 05:42:17] local.INFO: Processing buffer {"connection_id":233127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a90b23d0012d4b98c006558f78000600972d..."} 
[2026-11-05 05:42:17] local.INFO: Packet analysis {"connection_id":233127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a90b"} 
[2026-11-05 05:42:17] local.INFO: Extracted packet for processing {"connection_id":233127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a90b"} 
[2026-11-05 05:42:17] local.INFO: GPS Element Parsed {"raw_longitude":759929024,"raw_latitude":106270584,"longitude_deg":75.9929024,"latitude_deg":10.6270584,"altitude":6,"angle":151,"satellites":45,"speed":52,"hex_longitude":"2d4b98c0","hex_latitude":"06558f78","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222383360001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39695393419689984,"note":"Value kept but may cause issues"} 
[2026-11-05 05:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5442459439396257792,"note":"Value kept but may cause issues"} 
[2026-11-05 05:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793837442000,"timestamp_ms":1793837442000,"timestamp_seconds":1793837442,"priority":1,"record_length":96,"hex_timestamp":"000001a1a90b23d0"} 
[2026-11-05 05: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-05 05:42: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-05 05: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 05:42:17] 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-05 05: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-05 05: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-05 05:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":233127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":233127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":233127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:42: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-05 05:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222383360001,"66":27234,"145":206,"78":62464,"24":52,"16":39695393419689984,"45":5442459439396257792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,78,24,16,45]} 
[2026-11-05 05:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222383360001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:42:17] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-11-05 05:42:17] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39695393419689984,"km_value":39695393419689.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5442459439396257792,"description":"Unknown IO ID 45"} 
[2026-11-05 05:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222383360001,"power":27234,"unknown_145":206,"unknown_78":62464,"ignition":52,"odometer":null,"unknown_45":5442459439396257792}} 
[2026-11-05 05:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":233127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:42:17] local.INFO: GPS data processed {"connection_id":233127,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:42:17] local.INFO: Acknowledgment sent {"connection_id":233127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:42:49] local.INFO: TCP Data received {"connection_id":233127,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a90b3f28012d4baa0006556f78000500972d..."} 
[2026-11-05 05:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a90b3f28012d4baa0006556f78000500972d..."} 
[2026-11-05 05:42:49] local.INFO: Processing buffer {"connection_id":233127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a90b3f28012d4baa0006556f78000500972d..."} 
[2026-11-05 05:42:49] local.INFO: Packet analysis {"connection_id":233127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a90b"} 
[2026-11-05 05:42:49] local.INFO: Extracted packet for processing {"connection_id":233127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a90b"} 
[2026-11-05 05:42:49] local.INFO: GPS Element Parsed {"raw_longitude":759933440,"raw_latitude":106262392,"longitude_deg":75.993344,"latitude_deg":10.6262392,"altitude":5,"angle":151,"satellites":45,"speed":52,"hex_longitude":"2d4baa00","hex_latitude":"06556f78","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222385152001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39695844391256064,"note":"Value kept but may cause issues"} 
[2026-11-05 05:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5447314882742417408,"note":"Value kept but may cause issues"} 
[2026-11-05 05:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793837449000,"timestamp_ms":1793837449000,"timestamp_seconds":1793837449,"priority":1,"record_length":96,"hex_timestamp":"000001a1a90b3f28"} 
[2026-11-05 05: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-05 05:42: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-05 05: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 05:42: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-05 05: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-05 05: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-05 05:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":233127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":233127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":233127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:42:49] 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-05 05:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222385152001,"66":27267,"145":206,"78":62464,"24":52,"16":39695844391256064,"45":5447314882742417408},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,78,24,16,45]} 
[2026-11-05 05:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222385152001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:42:49] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-11-05 05:42:49] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39695844391256064,"km_value":39695844391256.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5447314882742417408,"description":"Unknown IO ID 45"} 
[2026-11-05 05:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222385152001,"power":27267,"unknown_145":206,"unknown_78":62464,"ignition":52,"odometer":null,"unknown_45":5447314882742417408}} 
[2026-11-05 05:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":233127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:42:49] local.INFO: GPS data processed {"connection_id":233127,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:42:49] local.INFO: Acknowledgment sent {"connection_id":233127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:43:04] local.INFO: TCP Data received {"connection_id":231214,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:43:04] local.INFO: Processing buffer {"connection_id":231214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:43:04] local.INFO: IMEI packet received {"connection_id":231214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":231214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:43:05] local.INFO: TCP Data received {"connection_id":231214,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:43:05] local.INFO: Processing buffer {"connection_id":231214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:43:05] local.INFO: IMEI packet received {"connection_id":231214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":231214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:43:06] local.INFO: TCP Data received {"connection_id":231214,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:43:06] local.INFO: Processing buffer {"connection_id":231214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:43:06] local.INFO: IMEI packet received {"connection_id":231214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":231214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:43:09] local.INFO: TCP Data received {"connection_id":231214,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:43:09] local.INFO: Processing buffer {"connection_id":231214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:43:09] local.INFO: IMEI packet received {"connection_id":231214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":231214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:43:10] local.INFO: TCP Data received {"connection_id":231214,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a90c6bf0012d4c7d0006541580000d009d2f..."} 
[2026-11-05 05:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a90c6bf0012d4c7d0006541580000d009d2f..."} 
[2026-11-05 05:43:10] local.INFO: Processing buffer {"connection_id":231214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a90c6bf0012d4c7d0006541580000d009d2f..."} 
[2026-11-05 05:43:10] local.INFO: Packet analysis {"connection_id":231214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a90c"} 
[2026-11-05 05:43:10] local.INFO: Extracted packet for processing {"connection_id":231214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a90c"} 
[2026-11-05 05:43:10] local.INFO: GPS Element Parsed {"raw_longitude":759987456,"raw_latitude":106173824,"longitude_deg":75.9987456,"latitude_deg":10.6173824,"altitude":13,"angle":157,"satellites":47,"speed":53,"hex_longitude":"2d4c7d00","hex_latitude":"06541580","is_valid_coordinates":true} 
[2026-11-05 05:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222404864001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39700873797959680,"note":"Value kept but may cause issues"} 
[2026-11-05 05:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5507480158991736832,"note":"Value kept but may cause issues"} 
[2026-11-05 05:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793837526000,"timestamp_ms":1793837526000,"timestamp_seconds":1793837526,"priority":1,"record_length":96,"hex_timestamp":"000001a1a90c6bf0"} 
[2026-11-05 05:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:43: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-05 05:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 05:43:10] 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-05 05:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:43:10] 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-05 05:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222404864001,"66":27321,"247":206,"78":62464,"24":53,"16":39700873797959680,"45":5507480158991736832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,78,24,16,45]} 
[2026-11-05 05:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222404864001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:43:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39700873797959680,"km_value":39700873797959.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5507480158991736832,"description":"Unknown IO ID 45"} 
[2026-11-05 05:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222404864001,"power":27321,"internal_battery_voltage":206,"unknown_78":62464,"ignition":53,"odometer":null,"unknown_45":5507480158991736832}} 
[2026-11-05 05:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":231214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:43:10] local.INFO: GPS data processed {"connection_id":231214,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:43:10] local.INFO: Acknowledgment sent {"connection_id":231214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:43:42] local.INFO: TCP Data received {"connection_id":231214,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a90c8748012d4c8bc00653f2e8000e009d2f..."} 
[2026-11-05 05:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a90c8748012d4c8bc00653f2e8000e009d2f..."} 
[2026-11-05 05:43:42] local.INFO: Processing buffer {"connection_id":231214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a90c8748012d4c8bc00653f2e8000e009d2f..."} 
[2026-11-05 05:43:42] local.INFO: Packet analysis {"connection_id":231214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a90c"} 
[2026-11-05 05:43:42] local.INFO: Extracted packet for processing {"connection_id":231214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a90c"} 
[2026-11-05 05:43:42] local.INFO: GPS Element Parsed {"raw_longitude":759991232,"raw_latitude":106164968,"longitude_deg":75.9991232,"latitude_deg":10.6164968,"altitude":14,"angle":157,"satellites":47,"speed":55,"hex_longitude":"2d4c8bc0","hex_latitude":"0653f2e8","is_valid_coordinates":true} 
[2026-11-05 05:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222406656001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39701337654427648,"note":"Value kept but may cause issues"} 
[2026-11-05 05:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5511561546151854080,"note":"Value kept but may cause issues"} 
[2026-11-05 05:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793837533000,"timestamp_ms":1793837533000,"timestamp_seconds":1793837533,"priority":1,"record_length":96,"hex_timestamp":"000001a1a90c8748"} 
[2026-11-05 05:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:43: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-05 05:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 05:43:42] 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-05 05:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:43: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-05 05:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222406656001,"66":27245,"247":206,"78":62464,"24":55,"16":39701337654427648,"45":5511561546151854080},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,78,24,16,45]} 
[2026-11-05 05:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222406656001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:43:42] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39701337654427648,"km_value":39701337654427.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5511561546151854080,"description":"Unknown IO ID 45"} 
[2026-11-05 05:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222406656001,"power":27245,"internal_battery_voltage":206,"unknown_78":62464,"ignition":55,"odometer":null,"unknown_45":5511561546151854080}} 
[2026-11-05 05:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":231214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:43:42] local.INFO: GPS data processed {"connection_id":231214,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:43:42] local.INFO: Acknowledgment sent {"connection_id":231214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:44:05] local.INFO: TCP Data received {"connection_id":231215,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:44:05] local.INFO: Processing buffer {"connection_id":231215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:44:05] local.INFO: IMEI packet received {"connection_id":231215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":231215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:44:08] local.INFO: TCP Data received {"connection_id":231215,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:44:08] local.INFO: Processing buffer {"connection_id":231215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:44:08] local.INFO: IMEI packet received {"connection_id":231215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":231215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:44:09] local.INFO: TCP Data received {"connection_id":231215,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a90ca2a0012d4c9b400653cfe8000c009b2f..."} 
[2026-11-05 05:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a90ca2a0012d4c9b400653cfe8000c009b2f..."} 
[2026-11-05 05:44:09] local.INFO: Processing buffer {"connection_id":231215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a90ca2a0012d4c9b400653cfe8000c009b2f..."} 
[2026-11-05 05:44:09] local.INFO: Packet analysis {"connection_id":231215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a90c"} 
[2026-11-05 05:44:09] local.INFO: Extracted packet for processing {"connection_id":231215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a90c"} 
[2026-11-05 05:44:09] local.INFO: GPS Element Parsed {"raw_longitude":759995200,"raw_latitude":106156008,"longitude_deg":75.99952,"latitude_deg":10.6156008,"altitude":12,"angle":155,"satellites":47,"speed":55,"hex_longitude":"2d4c9b40","hex_latitude":"0653cfe8","is_valid_coordinates":true} 
[2026-11-05 05:44: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-05 05:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222408448001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39701810100830208,"note":"Value kept but may cause issues"} 
[2026-11-05 05:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5515713302056069120,"note":"Value kept but may cause issues"} 
[2026-11-05 05:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793837540000,"timestamp_ms":1793837540000,"timestamp_seconds":1793837540,"priority":1,"record_length":96,"hex_timestamp":"000001a1a90ca2a0"} 
[2026-11-05 05:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-11-05 05:44:09] 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-05 05:44: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-05 05:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:44:09] 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-05 05:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222408448001,"66":27180,"245":206,"78":62464,"24":55,"16":39701810100830208,"45":5515713302056069120},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,78,24,16,45]} 
[2026-11-05 05:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222408448001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:44:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39701810100830208,"km_value":39701810100830.21,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":5515713302056069120,"description":"Unknown IO ID 45"} 
[2026-11-05 05:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222408448001,"power":27180,"geofence_id":206,"unknown_78":62464,"ignition":55,"odometer":null,"unknown_45":5515713302056069120}} 
[2026-11-05 05:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":231215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:44:09] local.INFO: GPS data processed {"connection_id":231215,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:44:09] local.INFO: Acknowledgment sent {"connection_id":231215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:44:40] local.INFO: TCP Data received {"connection_id":231215,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a90deea8012d4d9300065244f0000a00962f..."} 
[2026-11-05 05:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a90deea8012d4d9300065244f0000a00962f..."} 
[2026-11-05 05:44:40] local.INFO: Processing buffer {"connection_id":231215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a90deea8012d4d9300065244f0000a00962f..."} 
[2026-11-05 05:44:40] local.INFO: Packet analysis {"connection_id":231215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a90d"} 
[2026-11-05 05:44:40] local.INFO: Extracted packet for processing {"connection_id":231215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a90d"} 
[2026-11-05 05:44:40] local.INFO: GPS Element Parsed {"raw_longitude":760058624,"raw_latitude":106054896,"longitude_deg":76.0058624,"latitude_deg":10.6054896,"altitude":10,"angle":150,"satellites":47,"speed":48,"hex_longitude":"2d4d9300","hex_latitude":"065244f0","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222429952001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39707582536876032,"note":"Value kept but may cause issues"} 
[2026-11-05 05:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5584463565091700736,"note":"Value kept but may cause issues"} 
[2026-11-05 05:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793837625000,"timestamp_ms":1793837625000,"timestamp_seconds":1793837625,"priority":1,"record_length":96,"hex_timestamp":"000001a1a90deea8"} 
[2026-11-05 05: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-05 05:44: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-05 05: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 05:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05: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-05 05: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-05 05:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:44:40] 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-05 05:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222429952001,"66":27213,"217":206,"78":62464,"24":48,"16":39707582536876032,"45":5584463565091700736},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-11-05 05:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222429952001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:44:40] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-11-05 05:44:40] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39707582536876032,"km_value":39707582536876.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5584463565091700736,"description":"Unknown IO ID 45"} 
[2026-11-05 05:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222429952001,"power":27213,"unknown_217":206,"unknown_78":62464,"ignition":48,"odometer":null,"unknown_45":5584463565091700736}} 
[2026-11-05 05:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":231215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:44:40] local.INFO: GPS data processed {"connection_id":231215,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:44:40] local.INFO: Acknowledgment sent {"connection_id":231215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:45:04] local.INFO: TCP Data received {"connection_id":229914,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:45:04] local.INFO: Processing buffer {"connection_id":229914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:45:04] local.INFO: IMEI packet received {"connection_id":229914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":229914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:45:07] local.INFO: TCP Data received {"connection_id":229914,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:45:07] local.INFO: Processing buffer {"connection_id":229914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:45:07] local.INFO: IMEI packet received {"connection_id":229914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":229914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:45:10] local.INFO: TCP Data received {"connection_id":229914,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:45:10] local.INFO: Processing buffer {"connection_id":229914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:45:10] local.INFO: IMEI packet received {"connection_id":229914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":229914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:45:12] local.INFO: TCP Data received {"connection_id":229914,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a90e0de8012d4da4c0065223c0000b00982f..."} 
[2026-11-05 05:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a90e0de8012d4da4c0065223c0000b00982f..."} 
[2026-11-05 05:45:12] local.INFO: Processing buffer {"connection_id":229914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a90e0de8012d4da4c0065223c0000b00982f..."} 
[2026-11-05 05:45:12] local.INFO: Packet analysis {"connection_id":229914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a90e"} 
[2026-11-05 05:45:12] local.INFO: Extracted packet for processing {"connection_id":229914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a90e"} 
[2026-11-05 05:45:12] local.INFO: GPS Element Parsed {"raw_longitude":760063168,"raw_latitude":106046400,"longitude_deg":76.0063168,"latitude_deg":10.60464,"altitude":11,"angle":152,"satellites":47,"speed":47,"hex_longitude":"2d4da4c0","hex_latitude":"065223c0","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222432000001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39708046393344000,"note":"Value kept but may cause issues"} 
[2026-11-05 05:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5589811589646970880,"note":"Value kept but may cause issues"} 
[2026-11-05 05:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793837633000,"timestamp_ms":1793837633000,"timestamp_seconds":1793837633,"priority":1,"record_length":96,"hex_timestamp":"000001a1a90e0de8"} 
[2026-11-05 05: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-05 05:45: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-05 05: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-11-05 05:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05: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-05 05: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-05 05:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05: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-05 05:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222432000001,"66":27321,"217":206,"78":62464,"24":47,"16":39708046393344000,"45":5589811589646970880},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-11-05 05:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222432000001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:45:12] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-11-05 05:45:12] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39708046393344000,"km_value":39708046393344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5589811589646970880,"description":"Unknown IO ID 45"} 
[2026-11-05 05:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222432000001,"power":27321,"unknown_217":206,"unknown_78":62464,"ignition":47,"odometer":null,"unknown_45":5589811589646970880}} 
[2026-11-05 05:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":229914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:45:12] local.INFO: GPS data processed {"connection_id":229914,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:45:12] local.INFO: Acknowledgment sent {"connection_id":229914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:45:43] local.INFO: TCP Data received {"connection_id":229914,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a90e2d28012d4db700065202a8000c00992f..."} 
[2026-11-05 05:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a90e2d28012d4db700065202a8000c00992f..."} 
[2026-11-05 05:45:43] local.INFO: Processing buffer {"connection_id":229914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a90e2d28012d4db700065202a8000c00992f..."} 
[2026-11-05 05:45:43] local.INFO: Packet analysis {"connection_id":229914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a90e"} 
[2026-11-05 05:45:43] local.INFO: Extracted packet for processing {"connection_id":229914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a90e"} 
[2026-11-05 05:45:43] local.INFO: GPS Element Parsed {"raw_longitude":760067840,"raw_latitude":106037928,"longitude_deg":76.006784,"latitude_deg":10.6037928,"altitude":12,"angle":153,"satellites":47,"speed":49,"hex_longitude":"2d4db700","hex_latitude":"065202a8","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222434048001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39708514544779264,"note":"Value kept but may cause issues"} 
[2026-11-05 05:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5594807770481410048,"note":"Value kept but may cause issues"} 
[2026-11-05 05:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793837641000,"timestamp_ms":1793837641000,"timestamp_seconds":1793837641,"priority":1,"record_length":96,"hex_timestamp":"000001a1a90e2d28"} 
[2026-11-05 05: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-05 05:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 05:45:43] 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-05 05: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-05 05: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-05 05:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05: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-05 05:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222434048001,"66":27321,"218":206,"78":62464,"24":49,"16":39708514544779264,"45":5594807770481410048},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,78,24,16,45]} 
[2026-11-05 05:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222434048001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:45:43] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-11-05 05:45:43] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39708514544779264,"km_value":39708514544779.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5594807770481410048,"description":"Unknown IO ID 45"} 
[2026-11-05 05:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222434048001,"power":27321,"unknown_218":206,"unknown_78":62464,"ignition":49,"odometer":null,"unknown_45":5594807770481410048}} 
[2026-11-05 05:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":229914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:45:43] local.INFO: GPS data processed {"connection_id":229914,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:45:43] local.INFO: Acknowledgment sent {"connection_id":229914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:46:09] local.INFO: TCP Data received {"connection_id":229420,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:46:09] local.INFO: Processing buffer {"connection_id":229420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:46:09] local.INFO: IMEI packet received {"connection_id":229420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":229420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:46:11] local.INFO: TCP Data received {"connection_id":229420,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:46:11] local.INFO: Processing buffer {"connection_id":229420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:46:11] local.INFO: IMEI packet received {"connection_id":229420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":229420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:46:12] local.INFO: TCP Data received {"connection_id":229420,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a90f59f0012d4e5580065086e00007009d2d..."} 
[2026-11-05 05:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a90f59f0012d4e5580065086e00007009d2d..."} 
[2026-11-05 05:46:12] local.INFO: Processing buffer {"connection_id":229420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a90f59f0012d4e5580065086e00007009d2d..."} 
[2026-11-05 05:46:12] local.INFO: Packet analysis {"connection_id":229420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a90f"} 
[2026-11-05 05:46:12] local.INFO: Extracted packet for processing {"connection_id":229420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a90f"} 
[2026-11-05 05:46:12] local.INFO: GPS Element Parsed {"raw_longitude":760108416,"raw_latitude":105940704,"longitude_deg":76.0108416,"latitude_deg":10.5940704,"altitude":7,"angle":157,"satellites":45,"speed":50,"hex_longitude":"2d4e5580","hex_latitude":"065086e0","is_valid_coordinates":true} 
[2026-11-05 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-05 05:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222454016001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39713612670959616,"note":"Value kept but may cause issues"} 
[2026-11-05 05:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5640758560404561920,"note":"Value kept but may cause issues"} 
[2026-11-05 05:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793837718000,"timestamp_ms":1793837718000,"timestamp_seconds":1793837718,"priority":1,"record_length":96,"hex_timestamp":"000001a1a90f59f0"} 
[2026-11-05 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-05 05:46: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-05 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 05:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 05:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05: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-05 05:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222454016001,"66":27234,"60":206,"78":62464,"24":50,"16":39713612670959616,"45":5640758560404561920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,78,24,16,45]} 
[2026-11-05 05:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222454016001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:46:12] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-11-05 05:46:12] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39713612670959616,"km_value":39713612670959.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5640758560404561920,"description":"Unknown IO ID 45"} 
[2026-11-05 05:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222454016001,"power":27234,"unknown_60":206,"unknown_78":62464,"ignition":50,"odometer":null,"unknown_45":5640758560404561920}} 
[2026-11-05 05:46:12] 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":61587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:46:12] local.INFO: GPS data processed {"connection_id":229420,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:46:12] local.INFO: Acknowledgment sent {"connection_id":229420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:46:14] local.INFO: TCP Data received {"connection_id":229420,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a90f7930012d4e64c0065062480006009d2e..."} 
[2026-11-05 05:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a90f7930012d4e64c0065062480006009d2e..."} 
[2026-11-05 05:46:14] local.INFO: Processing buffer {"connection_id":229420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a90f7930012d4e64c0065062480006009d2e..."} 
[2026-11-05 05:46:14] local.INFO: Packet analysis {"connection_id":229420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a90f"} 
[2026-11-05 05:46:14] local.INFO: Extracted packet for processing {"connection_id":229420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a90f"} 
[2026-11-05 05:46:14] local.INFO: GPS Element Parsed {"raw_longitude":760112320,"raw_latitude":105931336,"longitude_deg":76.011232,"latitude_deg":10.5931336,"altitude":6,"angle":157,"satellites":46,"speed":51,"hex_longitude":"2d4e64c0","hex_latitude":"06506248","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222455808001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39714102297231360,"note":"Value kept but may cause issues"} 
[2026-11-05 05:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5644558472587960320,"note":"Value kept but may cause issues"} 
[2026-11-05 05:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793837726000,"timestamp_ms":1793837726000,"timestamp_seconds":1793837726,"priority":1,"record_length":96,"hex_timestamp":"000001a1a90f7930"} 
[2026-11-05 05: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-05 05:46: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-05 05: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 05:46:14] 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-05 05: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-05 05: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-05 05:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:46: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-05 05:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222455808001,"66":27267,"60":206,"78":62464,"24":51,"16":39714102297231360,"45":5644558472587960320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,78,24,16,45]} 
[2026-11-05 05:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222455808001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:46:14] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-11-05 05:46:14] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39714102297231360,"km_value":39714102297231.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5644558472587960320,"description":"Unknown IO ID 45"} 
[2026-11-05 05:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222455808001,"power":27267,"unknown_60":206,"unknown_78":62464,"ignition":51,"odometer":null,"unknown_45":5644558472587960320}} 
[2026-11-05 05:46: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":61588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:46:14] local.INFO: GPS data processed {"connection_id":229420,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:46:14] local.INFO: Acknowledgment sent {"connection_id":229420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:46:42] local.INFO: TCP Data received {"connection_id":229421,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229421,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:46:42] local.INFO: Processing buffer {"connection_id":229421,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:46:42] local.INFO: IMEI packet received {"connection_id":229421,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 05:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":229421,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:46:46] local.INFO: TCP Data received {"connection_id":229420,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a90f9488012d4e7300065041e00006009a2d..."} 
[2026-11-05 05:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a90f9488012d4e7300065041e00006009a2d..."} 
[2026-11-05 05:46:46] local.INFO: Processing buffer {"connection_id":229420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a90f9488012d4e7300065041e00006009a2d..."} 
[2026-11-05 05:46:46] local.INFO: Packet analysis {"connection_id":229420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a90f"} 
[2026-11-05 05:46:46] local.INFO: Extracted packet for processing {"connection_id":229420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a90f"} 
[2026-11-05 05:46:46] local.INFO: GPS Element Parsed {"raw_longitude":760115968,"raw_latitude":105923040,"longitude_deg":76.0115968,"latitude_deg":10.592304,"altitude":6,"angle":154,"satellites":45,"speed":51,"hex_longitude":"2d4e7300","hex_latitude":"065041e0","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222457856001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39714540383895552,"note":"Value kept but may cause issues"} 
[2026-11-05 05:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5648850965980399616,"note":"Value kept but may cause issues"} 
[2026-11-05 05:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793837733000,"timestamp_ms":1793837733000,"timestamp_seconds":1793837733,"priority":1,"record_length":96,"hex_timestamp":"000001a1a90f9488"} 
[2026-11-05 05: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-05 05:46: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-05 05: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 05:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05: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-05 05: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-05 05:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:46: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-05 05:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222457856001,"66":27213,"60":206,"78":62464,"24":51,"16":39714540383895552,"45":5648850965980399616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,78,24,16,45]} 
[2026-11-05 05:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222457856001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:46:46] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-11-05 05:46:46] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39714540383895552,"km_value":39714540383895.555,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5648850965980399616,"description":"Unknown IO ID 45"} 
[2026-11-05 05:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222457856001,"power":27213,"unknown_60":206,"unknown_78":62464,"ignition":51,"odometer":null,"unknown_45":5648850965980399616}} 
[2026-11-05 05:46:46] 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":61589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:46:46] local.INFO: GPS data processed {"connection_id":229420,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:46:46] local.INFO: Acknowledgment sent {"connection_id":229420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:47:07] local.INFO: TCP Data received {"connection_id":229916,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229916,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:47:07] local.INFO: Processing buffer {"connection_id":229916,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:47:07] local.INFO: IMEI packet received {"connection_id":229916,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 05:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":229916,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:47:17] local.INFO: TCP Data received {"connection_id":233128,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:47:17] local.INFO: Processing buffer {"connection_id":233128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:47:17] local.INFO: IMEI packet received {"connection_id":233128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":233128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:47:19] local.INFO: TCP Data received {"connection_id":233128,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:47:19] local.INFO: Processing buffer {"connection_id":233128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:47:19] local.INFO: IMEI packet received {"connection_id":233128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":233128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:47:19] local.INFO: TCP Data received {"connection_id":233128,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:47:19] local.INFO: Processing buffer {"connection_id":233128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:47:19] local.INFO: IMEI packet received {"connection_id":233128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":233128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:47:25] local.INFO: TCP Data received {"connection_id":233128,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:47:25] local.INFO: Processing buffer {"connection_id":233128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:47:25] local.INFO: IMEI packet received {"connection_id":233128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":233128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:47:25] local.INFO: TCP Data received {"connection_id":233128,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a90fafe0012d4e8280065022980007009a2c..."} 
[2026-11-05 05:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a90fafe0012d4e8280065022980007009a2c..."} 
[2026-11-05 05:47:25] local.INFO: Processing buffer {"connection_id":233128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a90fafe0012d4e8280065022980007009a2c..."} 
[2026-11-05 05:47:25] local.INFO: Packet analysis {"connection_id":233128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a90f"} 
[2026-11-05 05:47:25] local.INFO: Extracted packet for processing {"connection_id":233128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a90f"} 
[2026-11-05 05:47:25] local.INFO: GPS Element Parsed {"raw_longitude":760119936,"raw_latitude":105915032,"longitude_deg":76.0119936,"latitude_deg":10.5915032,"altitude":7,"angle":154,"satellites":44,"speed":49,"hex_longitude":"2d4e8280","hex_latitude":"06502298","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222459648001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39714969880625152,"note":"Value kept but may cause issues"} 
[2026-11-05 05:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5652861984396402688,"note":"Value kept but may cause issues"} 
[2026-11-05 05:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793837740000,"timestamp_ms":1793837740000,"timestamp_seconds":1793837740,"priority":1,"record_length":96,"hex_timestamp":"000001a1a90fafe0"} 
[2026-11-05 05: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-05 05:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-11-05 05:47:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05: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-05 05: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-05 05:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":233128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":233128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":233128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:47:25] 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-05 05:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222459648001,"66":27321,"60":206,"78":62464,"24":49,"16":39714969880625152,"45":5652861984396402688},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,78,24,16,45]} 
[2026-11-05 05:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222459648001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:47:25] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-11-05 05:47:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39714969880625152,"km_value":39714969880625.15,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5652861984396402688,"description":"Unknown IO ID 45"} 
[2026-11-05 05:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222459648001,"power":27321,"unknown_60":206,"unknown_78":62464,"ignition":49,"odometer":null,"unknown_45":5652861984396402688}} 
[2026-11-05 05:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":233128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:47:25] local.INFO: GPS data processed {"connection_id":233128,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:47:25] local.INFO: Acknowledgment sent {"connection_id":233128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:48:04] local.INFO: TCP Data received {"connection_id":229917,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:48:04] local.INFO: Processing buffer {"connection_id":229917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:48:04] local.INFO: IMEI packet received {"connection_id":229917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":229917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:48:10] local.INFO: TCP Data received {"connection_id":229917,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:48:10] local.INFO: Processing buffer {"connection_id":229917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:48:10] local.INFO: IMEI packet received {"connection_id":229917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":229917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:48:10] local.INFO: TCP Data received {"connection_id":229917,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a90fcf20012d4e9300065001300009009a2e..."} 
[2026-11-05 05:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a90fcf20012d4e9300065001300009009a2e..."} 
[2026-11-05 05:48:10] local.INFO: Processing buffer {"connection_id":229917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a90fcf20012d4e9300065001300009009a2e..."} 
[2026-11-05 05:48:10] local.INFO: Packet analysis {"connection_id":229917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a90f"} 
[2026-11-05 05:48:10] local.INFO: Extracted packet for processing {"connection_id":229917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a90f"} 
[2026-11-05 05:48:10] local.INFO: GPS Element Parsed {"raw_longitude":760124160,"raw_latitude":105906480,"longitude_deg":76.012416,"latitude_deg":10.590648,"altitude":9,"angle":154,"satellites":46,"speed":45,"hex_longitude":"2d4e9300","hex_latitude":"06500130","is_valid_coordinates":true} 
[2026-11-05 05:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222461440001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39715433737093120,"note":"Value kept but may cause issues"} 
[2026-11-05 05:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5657224846533367808,"note":"Value kept but may cause issues"} 
[2026-11-05 05:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793837748000,"timestamp_ms":1793837748000,"timestamp_seconds":1793837748,"priority":1,"record_length":96,"hex_timestamp":"000001a1a90fcf20"} 
[2026-11-05 05:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 05:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:48:10] 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-05 05:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222461440001,"66":27245,"60":206,"78":62464,"24":45,"16":39715433737093120,"45":5657224846533367808},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,78,24,16,45]} 
[2026-11-05 05:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222461440001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:48:10] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-11-05 05:48:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39715433737093120,"km_value":39715433737093.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5657224846533367808,"description":"Unknown IO ID 45"} 
[2026-11-05 05:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222461440001,"power":27245,"unknown_60":206,"unknown_78":62464,"ignition":45,"odometer":null,"unknown_45":5657224846533367808}} 
[2026-11-05 05:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":229917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:48:10] local.INFO: GPS data processed {"connection_id":229917,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:48:10] local.INFO: Acknowledgment sent {"connection_id":229917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:48:42] local.INFO: TCP Data received {"connection_id":229917,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9116178012d4f6340064e9308000500912f..."} 
[2026-11-05 05:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9116178012d4f6340064e9308000500912f..."} 
[2026-11-05 05:48:42] local.INFO: Processing buffer {"connection_id":229917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9116178012d4f6340064e9308000500912f..."} 
[2026-11-05 05:48:42] local.INFO: Packet analysis {"connection_id":229917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a911"} 
[2026-11-05 05:48:42] local.INFO: Extracted packet for processing {"connection_id":229917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a911"} 
[2026-11-05 05:48:42] local.INFO: GPS Element Parsed {"raw_longitude":760177472,"raw_latitude":105812744,"longitude_deg":76.0177472,"latitude_deg":10.5812744,"altitude":5,"angle":145,"satellites":47,"speed":24,"hex_longitude":"2d4f6340","hex_latitude":"064e9308","is_valid_coordinates":true} 
[2026-11-05 05:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222485248001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39720643532423168,"note":"Value kept but may cause issues"} 
[2026-11-05 05:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5714856847990648832,"note":"Value kept but may cause issues"} 
[2026-11-05 05:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793837851000,"timestamp_ms":1793837851000,"timestamp_seconds":1793837851,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9116178"} 
[2026-11-05 05:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:48: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-05 05:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 05:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:48: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-05 05:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222485248001,"66":27213,"7":206,"78":62464,"24":24,"16":39720643532423168,"45":5714856847990648832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-11-05 05:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222485248001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:48:42] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-11-05 05:48:42] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39720643532423168,"km_value":39720643532423.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5714856847990648832,"description":"Unknown IO ID 45"} 
[2026-11-05 05:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222485248001,"power":27213,"unknown_7":206,"unknown_78":62464,"ignition":24,"odometer":null,"unknown_45":5714856847990648832}} 
[2026-11-05 05:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":229917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:48:42] local.INFO: GPS data processed {"connection_id":229917,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:48:42] local.INFO: Acknowledgment sent {"connection_id":229917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:49:04] local.INFO: TCP Data received {"connection_id":231216,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:49:04] local.INFO: Processing buffer {"connection_id":231216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:49:04] local.INFO: IMEI packet received {"connection_id":231216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":231216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:49:09] local.INFO: TCP Data received {"connection_id":231216,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:49:09] local.INFO: Processing buffer {"connection_id":231216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:49:09] local.INFO: IMEI packet received {"connection_id":231216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":231216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:49:10] local.INFO: TCP Data received {"connection_id":231216,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9119058012d4f77c0064e7538000600922f..."} 
[2026-11-05 05:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9119058012d4f77c0064e7538000600922f..."} 
[2026-11-05 05:49:10] local.INFO: Processing buffer {"connection_id":231216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9119058012d4f77c0064e7538000600922f..."} 
[2026-11-05 05:49:10] local.INFO: Packet analysis {"connection_id":231216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a911"} 
[2026-11-05 05:49:10] local.INFO: Extracted packet for processing {"connection_id":231216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a911"} 
[2026-11-05 05:49:10] local.INFO: GPS Element Parsed {"raw_longitude":760182720,"raw_latitude":105805112,"longitude_deg":76.018272,"latitude_deg":10.5805112,"altitude":6,"angle":146,"satellites":47,"speed":33,"hex_longitude":"2d4f77c0","hex_latitude":"064e7538","is_valid_coordinates":true} 
[2026-11-05 05:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222489856001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39721090209021952,"note":"Value kept but may cause issues"} 
[2026-11-05 05:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5720486347522902016,"note":"Value kept but may cause issues"} 
[2026-11-05 05:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793837863000,"timestamp_ms":1793837863000,"timestamp_seconds":1793837863,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9119058"} 
[2026-11-05 05:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:49: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-05 05:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-11-05 05:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:49:10] 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-05 05:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222489856001,"66":27234,"7":206,"78":62464,"24":33,"16":39721090209021952,"45":5720486347522902016},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-11-05 05:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222489856001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:49:10] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-11-05 05:49:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39721090209021952,"km_value":39721090209021.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5720486347522902016,"description":"Unknown IO ID 45"} 
[2026-11-05 05:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222489856001,"power":27234,"unknown_7":206,"unknown_78":62464,"ignition":33,"odometer":null,"unknown_45":5720486347522902016}} 
[2026-11-05 05:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":231216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:49:10] local.INFO: GPS data processed {"connection_id":231216,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:49:10] local.INFO: Acknowledgment sent {"connection_id":231216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:49:42] local.INFO: TCP Data received {"connection_id":231216,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a911bb50012d4f8a80064e57b8000700962c..."} 
[2026-11-05 05:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a911bb50012d4f8a80064e57b8000700962c..."} 
[2026-11-05 05:49:42] local.INFO: Processing buffer {"connection_id":231216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a911bb50012d4f8a80064e57b8000700962c..."} 
[2026-11-05 05:49:42] local.INFO: Packet analysis {"connection_id":231216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a911"} 
[2026-11-05 05:49:42] local.INFO: Extracted packet for processing {"connection_id":231216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a911"} 
[2026-11-05 05:49:42] local.INFO: GPS Element Parsed {"raw_longitude":760187520,"raw_latitude":105797560,"longitude_deg":76.018752,"latitude_deg":10.579756,"altitude":7,"angle":150,"satellites":44,"speed":33,"hex_longitude":"2d4f8a80","hex_latitude":"064e57b8","is_valid_coordinates":true} 
[2026-11-05 05:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222492928001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39721524000718848,"note":"Value kept but may cause issues"} 
[2026-11-05 05:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5726256584543516672,"note":"Value kept but may cause issues"} 
[2026-11-05 05:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793837874000,"timestamp_ms":1793837874000,"timestamp_seconds":1793837874,"priority":1,"record_length":96,"hex_timestamp":"000001a1a911bb50"} 
[2026-11-05 05:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:49: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-05 05:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 05:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:49: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-05 05:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222492928001,"66":27267,"7":206,"78":62464,"24":33,"16":39721524000718848,"45":5726256584543516672},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-11-05 05:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222492928001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:49:42] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-11-05 05:49:42] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39721524000718848,"km_value":39721524000718.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5726256584543516672,"description":"Unknown IO ID 45"} 
[2026-11-05 05:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222492928001,"power":27267,"unknown_7":206,"unknown_78":62464,"ignition":33,"odometer":null,"unknown_45":5726256584543516672}} 
[2026-11-05 05:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":231216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:49:42] local.INFO: GPS data processed {"connection_id":231216,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:49:42] local.INFO: Acknowledgment sent {"connection_id":231216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:50:04] local.INFO: TCP Data received {"connection_id":229919,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:50:04] local.INFO: Processing buffer {"connection_id":229919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:50:04] local.INFO: IMEI packet received {"connection_id":229919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":229919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:50:09] local.INFO: TCP Data received {"connection_id":229919,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:50:09] local.INFO: Processing buffer {"connection_id":229919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:50:09] local.INFO: IMEI packet received {"connection_id":229919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":229919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:50:11] local.INFO: TCP Data received {"connection_id":229919,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a911ea30012d4f9c80064e3768000600982b..."} 
[2026-11-05 05:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a911ea30012d4f9c80064e3768000600982b..."} 
[2026-11-05 05:50:11] local.INFO: Processing buffer {"connection_id":229919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a911ea30012d4f9c80064e3768000600982b..."} 
[2026-11-05 05:50:11] local.INFO: Packet analysis {"connection_id":229919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a911"} 
[2026-11-05 05:50:11] local.INFO: Extracted packet for processing {"connection_id":229919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a911"} 
[2026-11-05 05:50:11] local.INFO: GPS Element Parsed {"raw_longitude":760192128,"raw_latitude":105789288,"longitude_deg":76.0192128,"latitude_deg":10.5789288,"altitude":6,"angle":152,"satellites":43,"speed":28,"hex_longitude":"2d4f9c80","hex_latitude":"064e3768","is_valid_coordinates":true} 
[2026-11-05 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-05 05:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222495744001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39721979267252224,"note":"Value kept but may cause issues"} 
[2026-11-05 05:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5731534240354908160,"note":"Value kept but may cause issues"} 
[2026-11-05 05:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793837886000,"timestamp_ms":1793837886000,"timestamp_seconds":1793837886,"priority":1,"record_length":96,"hex_timestamp":"000001a1a911ea30"} 
[2026-11-05 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-05 05:50: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-05 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 05:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 05:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:50:11] 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-05 05:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222495744001,"66":27321,"7":206,"78":62464,"24":28,"16":39721979267252224,"45":5731534240354908160},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-11-05 05:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222495744001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:50:11] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-11-05 05:50:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39721979267252224,"km_value":39721979267252.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5731534240354908160,"description":"Unknown IO ID 45"} 
[2026-11-05 05:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222495744001,"power":27321,"unknown_7":206,"unknown_78":62464,"ignition":28,"odometer":null,"unknown_45":5731534240354908160}} 
[2026-11-05 05:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":229919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:50:11] local.INFO: GPS data processed {"connection_id":229919,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:50:11] local.INFO: Acknowledgment sent {"connection_id":229919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:50:42] local.INFO: TCP Data received {"connection_id":229919,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a91220e0012d4fa6c0064e22d80006008929..."} 
[2026-11-05 05:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a91220e0012d4fa6c0064e22d80006008929..."} 
[2026-11-05 05:50:42] local.INFO: Processing buffer {"connection_id":229919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a91220e0012d4fa6c0064e22d80006008929..."} 
[2026-11-05 05:50:42] local.INFO: Packet analysis {"connection_id":229919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a912"} 
[2026-11-05 05:50:42] local.INFO: Extracted packet for processing {"connection_id":229919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a912"} 
[2026-11-05 05:50:42] local.INFO: GPS Element Parsed {"raw_longitude":760194752,"raw_latitude":105784024,"longitude_deg":76.0194752,"latitude_deg":10.5784024,"altitude":6,"angle":137,"satellites":41,"speed":11,"hex_longitude":"2d4fa6c0","hex_latitude":"064e22d8","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222498816001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39722267030061056,"note":"Value kept but may cause issues"} 
[2026-11-05 05:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5736600789933582336,"note":"Value kept but may cause issues"} 
[2026-11-05 05:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793837900000,"timestamp_ms":1793837900000,"timestamp_seconds":1793837900,"priority":1,"record_length":96,"hex_timestamp":"000001a1a91220e0"} 
[2026-11-05 05: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-05 05:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 05:50:42] 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-05 05: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-05 05: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-05 05:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:50:42] 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-05 05:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222498816001,"66":27332,"7":206,"78":62464,"24":11,"16":39722267030061056,"45":5736600789933582336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-11-05 05:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222498816001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:50:42] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-11-05 05:50:42] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39722267030061056,"km_value":39722267030061.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5736600789933582336,"description":"Unknown IO ID 45"} 
[2026-11-05 05:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222498816001,"power":27332,"unknown_7":206,"unknown_78":62464,"ignition":11,"odometer":null,"unknown_45":5736600789933582336}} 
[2026-11-05 05:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":229919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:50:42] local.INFO: GPS data processed {"connection_id":229919,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:50:42] local.INFO: Acknowledgment sent {"connection_id":229919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:51:09] local.INFO: TCP Data received {"connection_id":231217,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:51:09] local.INFO: Processing buffer {"connection_id":231217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:51:09] local.INFO: IMEI packet received {"connection_id":231217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":231217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:51:14] local.INFO: TCP Data received {"connection_id":231217,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:51:14] local.INFO: Processing buffer {"connection_id":231217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:51:14] local.INFO: IMEI packet received {"connection_id":231217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":231217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:51:15] local.INFO: TCP Data received {"connection_id":231217,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a91224c8012d4fa7c0064e2230000600762b..."} 
[2026-11-05 05:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a91224c8012d4fa7c0064e2230000600762b..."} 
[2026-11-05 05:51:15] local.INFO: Processing buffer {"connection_id":231217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a91224c8012d4fa7c0064e2230000600762b..."} 
[2026-11-05 05:51:15] local.INFO: Packet analysis {"connection_id":231217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a912"} 
[2026-11-05 05:51:15] local.INFO: Extracted packet for processing {"connection_id":231217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a912"} 
[2026-11-05 05:51:15] local.INFO: GPS Element Parsed {"raw_longitude":760195008,"raw_latitude":105783856,"longitude_deg":76.0195008,"latitude_deg":10.5783856,"altitude":6,"angle":118,"satellites":43,"speed":11,"hex_longitude":"2d4fa7c0","hex_latitude":"064e2230","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222502400001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39722279914962944,"note":"Value kept but may cause issues"} 
[2026-11-05 05:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5739485908443518976,"note":"Value kept but may cause issues"} 
[2026-11-05 05:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793837901000,"timestamp_ms":1793837901000,"timestamp_seconds":1793837901,"priority":1,"record_length":96,"hex_timestamp":"000001a1a91224c8"} 
[2026-11-05 05: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-05 05:51: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-05 05: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 05:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05: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-05 05: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-05 05:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":231217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":231217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":231217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:51: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-05 05:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222502400001,"66":27321,"7":206,"78":62464,"24":11,"16":39722279914962944,"45":5739485908443518976},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-11-05 05:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222502400001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:51:15] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-11-05 05:51:15] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39722279914962944,"km_value":39722279914962.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5739485908443518976,"description":"Unknown IO ID 45"} 
[2026-11-05 05:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222502400001,"power":27321,"unknown_7":206,"unknown_78":62464,"ignition":11,"odometer":null,"unknown_45":5739485908443518976}} 
[2026-11-05 05:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":231217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:51:15] local.INFO: GPS data processed {"connection_id":231217,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:51:15] local.INFO: Acknowledgment sent {"connection_id":231217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:51:20] local.INFO: TCP Data received {"connection_id":231217,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a91228b0012d4fa940064e21c8000600622b..."} 
[2026-11-05 05:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a91228b0012d4fa940064e21c8000600622b..."} 
[2026-11-05 05:51:20] local.INFO: Processing buffer {"connection_id":231217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a91228b0012d4fa940064e21c8000600622b..."} 
[2026-11-05 05:51:20] local.INFO: Packet analysis {"connection_id":231217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a912"} 
[2026-11-05 05:51:20] local.INFO: Extracted packet for processing {"connection_id":231217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a912"} 
[2026-11-05 05:51:20] local.INFO: GPS Element Parsed {"raw_longitude":760195392,"raw_latitude":105783752,"longitude_deg":76.0195392,"latitude_deg":10.5783752,"altitude":6,"angle":98,"satellites":43,"speed":14,"hex_longitude":"2d4fa940","hex_latitude":"064e21c8","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222502656001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39722301389799424,"note":"Value kept but may cause issues"} 
[2026-11-05 05:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5739767383420186624,"note":"Value kept but may cause issues"} 
[2026-11-05 05:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793837902000,"timestamp_ms":1793837902000,"timestamp_seconds":1793837902,"priority":1,"record_length":96,"hex_timestamp":"000001a1a91228b0"} 
[2026-11-05 05: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-05 05:51: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-05 05: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 05:51:20] 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-05 05: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-05 05: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-05 05:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":231217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":231217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":231217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:51: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-05 05:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222502656001,"66":27321,"7":206,"78":62464,"24":14,"16":39722301389799424,"45":5739767383420186624},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-11-05 05:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222502656001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:51:20] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-11-05 05:51:20] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39722301389799424,"km_value":39722301389799.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5739767383420186624,"description":"Unknown IO ID 45"} 
[2026-11-05 05:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222502656001,"power":27321,"unknown_7":206,"unknown_78":62464,"ignition":14,"odometer":null,"unknown_45":5739767383420186624}} 
[2026-11-05 05:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":231217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:51:20] local.INFO: GPS data processed {"connection_id":231217,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:51:20] local.INFO: Acknowledgment sent {"connection_id":231217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:52:05] local.INFO: TCP Data received {"connection_id":233130,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:52:05] local.INFO: Processing buffer {"connection_id":233130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:52:05] local.INFO: IMEI packet received {"connection_id":233130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":233130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:52:09] local.INFO: TCP Data received {"connection_id":233130,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:52:09] local.INFO: Processing buffer {"connection_id":233130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:52:09] local.INFO: IMEI packet received {"connection_id":233130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":233130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:52:10] local.INFO: TCP Data received {"connection_id":233130,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9122c98012d4faac0064e21e00006004f2b..."} 
[2026-11-05 05:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9122c98012d4faac0064e21e00006004f2b..."} 
[2026-11-05 05:52:10] local.INFO: Processing buffer {"connection_id":233130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9122c98012d4faac0064e21e00006004f2b..."} 
[2026-11-05 05:52:10] local.INFO: Packet analysis {"connection_id":233130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a912"} 
[2026-11-05 05:52:10] local.INFO: Extracted packet for processing {"connection_id":233130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a912"} 
[2026-11-05 05:52:10] local.INFO: GPS Element Parsed {"raw_longitude":760195776,"raw_latitude":105783776,"longitude_deg":76.0195776,"latitude_deg":10.5783776,"altitude":6,"angle":79,"satellites":43,"speed":16,"hex_longitude":"2d4faac0","hex_latitude":"064e21e0","is_valid_coordinates":true} 
[2026-11-05 05:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222502912001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39722318569668608,"note":"Value kept but may cause issues"} 
[2026-11-05 05:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5740189595885225984,"note":"Value kept but may cause issues"} 
[2026-11-05 05:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793837903000,"timestamp_ms":1793837903000,"timestamp_seconds":1793837903,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9122c98"} 
[2026-11-05 05:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:52: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-05 05:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 05:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:52:10] 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-05 05:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222502912001,"66":27376,"7":206,"78":62464,"24":16,"16":39722318569668608,"45":5740189595885225984},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-11-05 05:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222502912001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:52:10] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-11-05 05:52:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39722318569668608,"km_value":39722318569668.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5740189595885225984,"description":"Unknown IO ID 45"} 
[2026-11-05 05:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222502912001,"power":27376,"unknown_7":206,"unknown_78":62464,"ignition":16,"odometer":null,"unknown_45":5740189595885225984}} 
[2026-11-05 05:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":233130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:52:10] local.INFO: GPS data processed {"connection_id":233130,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:52:10] local.INFO: Acknowledgment sent {"connection_id":233130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:52:37] local.INFO: TCP Data received {"connection_id":229423,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:52:37] local.INFO: Processing buffer {"connection_id":229423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:52:37] local.INFO: IMEI packet received {"connection_id":229423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 05:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":229423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:52:42] local.INFO: TCP Data received {"connection_id":233130,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9123468012d4fae00064e2310000600432d..."} 
[2026-11-05 05:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9123468012d4fae00064e2310000600432d..."} 
[2026-11-05 05:52:42] local.INFO: Processing buffer {"connection_id":233130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9123468012d4fae00064e2310000600432d..."} 
[2026-11-05 05:52:42] local.INFO: Packet analysis {"connection_id":233130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a912"} 
[2026-11-05 05:52:42] local.INFO: Extracted packet for processing {"connection_id":233130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a912"} 
[2026-11-05 05:52:42] local.INFO: GPS Element Parsed {"raw_longitude":760196608,"raw_latitude":105784080,"longitude_deg":76.0196608,"latitude_deg":10.578408,"altitude":6,"angle":67,"satellites":45,"speed":19,"hex_longitude":"2d4fae00","hex_latitude":"064e2310","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222503168001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39722361519341568,"note":"Value kept but may cause issues"} 
[2026-11-05 05:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5740611808350298112,"note":"Value kept but may cause issues"} 
[2026-11-05 05:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793837905000,"timestamp_ms":1793837905000,"timestamp_seconds":1793837905,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9123468"} 
[2026-11-05 05: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-05 05:52: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-05 05: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 05:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05: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-05 05: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-05 05:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:52:42] 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-05 05:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222503168001,"66":27484,"7":206,"78":62464,"24":19,"16":39722361519341568,"45":5740611808350298112},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-11-05 05:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222503168001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:52:42] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-11-05 05:52:42] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39722361519341568,"km_value":39722361519341.57,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5740611808350298112,"description":"Unknown IO ID 45"} 
[2026-11-05 05:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222503168001,"power":27484,"unknown_7":206,"unknown_78":62464,"ignition":19,"odometer":null,"unknown_45":5740611808350298112}} 
[2026-11-05 05:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":233130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:52:42] local.INFO: GPS data processed {"connection_id":233130,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:52:42] local.INFO: Acknowledgment sent {"connection_id":233130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:53:04] local.INFO: TCP Data received {"connection_id":229424,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:53:04] local.INFO: Processing buffer {"connection_id":229424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:53:04] local.INFO: IMEI packet received {"connection_id":229424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":229424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:53:07] local.INFO: TCP Data received {"connection_id":229921,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:53:07] local.INFO: Processing buffer {"connection_id":229921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:53:07] local.INFO: IMEI packet received {"connection_id":229921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 05:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":229921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:53:10] local.INFO: TCP Data received {"connection_id":229424,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:53:10] local.INFO: Processing buffer {"connection_id":229424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:53:10] local.INFO: IMEI packet received {"connection_id":229424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":229424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:53:10] local.INFO: TCP Data received {"connection_id":229424,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9126b18012d4fcfc0064e2ee0000600452a..."} 
[2026-11-05 05:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9126b18012d4fcfc0064e2ee0000600452a..."} 
[2026-11-05 05:53:10] local.INFO: Processing buffer {"connection_id":229424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9126b18012d4fcfc0064e2ee0000600452a..."} 
[2026-11-05 05:53:10] local.INFO: Packet analysis {"connection_id":229424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a912"} 
[2026-11-05 05:53:10] local.INFO: Extracted packet for processing {"connection_id":229424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a912"} 
[2026-11-05 05:53:10] local.INFO: GPS Element Parsed {"raw_longitude":760205248,"raw_latitude":105787104,"longitude_deg":76.0205248,"latitude_deg":10.5787104,"altitude":6,"angle":69,"satellites":42,"speed":26,"hex_longitude":"2d4fcfc0","hex_latitude":"064e2ee0","is_valid_coordinates":true} 
[2026-11-05 05:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222503680001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39722795311038464,"note":"Value kept but may cause issues"} 
[2026-11-05 05:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5741526602024685568,"note":"Value kept but may cause issues"} 
[2026-11-05 05:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793837919000,"timestamp_ms":1793837919000,"timestamp_seconds":1793837919,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9126b18"} 
[2026-11-05 05:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:53: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-05 05:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 05:53:10] 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-05 05:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:53:10] 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-05 05:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222503680001,"66":27213,"7":206,"78":62464,"24":26,"16":39722795311038464,"45":5741526602024685568},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-11-05 05:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222503680001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:53:10] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-11-05 05:53:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39722795311038464,"km_value":39722795311038.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5741526602024685568,"description":"Unknown IO ID 45"} 
[2026-11-05 05:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222503680001,"power":27213,"unknown_7":206,"unknown_78":62464,"ignition":26,"odometer":null,"unknown_45":5741526602024685568}} 
[2026-11-05 05:53:10] 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":61601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:53:10] local.INFO: GPS data processed {"connection_id":229424,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:53:10] local.INFO: Acknowledgment sent {"connection_id":229424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:53:42] local.INFO: TCP Data received {"connection_id":229424,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9127ea0012d4fdc00064e3470000700382c..."} 
[2026-11-05 05:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9127ea0012d4fdc00064e3470000700382c..."} 
[2026-11-05 05:53:42] local.INFO: Processing buffer {"connection_id":229424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9127ea0012d4fdc00064e3470000700382c..."} 
[2026-11-05 05:53:42] local.INFO: Packet analysis {"connection_id":229424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a912"} 
[2026-11-05 05:53:42] local.INFO: Extracted packet for processing {"connection_id":229424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a912"} 
[2026-11-05 05:53:42] local.INFO: GPS Element Parsed {"raw_longitude":760208384,"raw_latitude":105788528,"longitude_deg":76.0208384,"latitude_deg":10.5788528,"altitude":7,"angle":56,"satellites":44,"speed":28,"hex_longitude":"2d4fdc00","hex_latitude":"064e3470","is_valid_coordinates":true} 
[2026-11-05 05:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222507264001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39722962814763008,"note":"Value kept but may cause issues"} 
[2026-11-05 05:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5751026382489444352,"note":"Value kept but may cause issues"} 
[2026-11-05 05:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793837924000,"timestamp_ms":1793837924000,"timestamp_seconds":1793837924,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9127ea0"} 
[2026-11-05 05:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:53: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-05 05:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-11-05 05:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:53:42] 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-05 05:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222507264001,"66":27484,"7":206,"78":62464,"24":28,"16":39722962814763008,"45":5751026382489444352},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-11-05 05:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222507264001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:53:42] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-11-05 05:53:42] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39722962814763008,"km_value":39722962814763.01,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5751026382489444352,"description":"Unknown IO ID 45"} 
[2026-11-05 05:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222507264001,"power":27484,"unknown_7":206,"unknown_78":62464,"ignition":28,"odometer":null,"unknown_45":5751026382489444352}} 
[2026-11-05 05:53:42] 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":61602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:53:42] local.INFO: GPS data processed {"connection_id":229424,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:53:42] local.INFO: Acknowledgment sent {"connection_id":229424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:54:04] local.INFO: TCP Data received {"connection_id":229425,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:54:04] local.INFO: Processing buffer {"connection_id":229425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:54:04] local.INFO: IMEI packet received {"connection_id":229425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":229425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:54:12] local.INFO: TCP Data received {"connection_id":229425,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:54:12] local.INFO: Processing buffer {"connection_id":229425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:54:12] local.INFO: IMEI packet received {"connection_id":229425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":229425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:54:13] local.INFO: TCP Data received {"connection_id":229425,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a912b168012d4ff800064e47e0000900372b..."} 
[2026-11-05 05:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a912b168012d4ff800064e47e0000900372b..."} 
[2026-11-05 05:54:13] local.INFO: Processing buffer {"connection_id":229425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a912b168012d4ff800064e47e0000900372b..."} 
[2026-11-05 05:54:13] local.INFO: Packet analysis {"connection_id":229425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a912"} 
[2026-11-05 05:54:13] local.INFO: Extracted packet for processing {"connection_id":229425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a912"} 
[2026-11-05 05:54:13] local.INFO: GPS Element Parsed {"raw_longitude":760215552,"raw_latitude":105793504,"longitude_deg":76.0215552,"latitude_deg":10.5793504,"altitude":9,"angle":55,"satellites":43,"speed":25,"hex_longitude":"2d4ff800","hex_latitude":"064e47e0","is_valid_coordinates":true} 
[2026-11-05 05:54: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-05 05:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222508544001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39723379426590720,"note":"Value kept but may cause issues"} 
[2026-11-05 05:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5754474450954514432,"note":"Value kept but may cause issues"} 
[2026-11-05 05:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793837937000,"timestamp_ms":1793837937000,"timestamp_seconds":1793837937,"priority":1,"record_length":96,"hex_timestamp":"000001a1a912b168"} 
[2026-11-05 05:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05: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-05 05:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 05:54: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-05 05:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:54: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-05 05:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222508544001,"66":27919,"7":206,"78":62464,"24":25,"16":39723379426590720,"45":5754474450954514432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-11-05 05:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222508544001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:54:13] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-11-05 05:54:13] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39723379426590720,"km_value":39723379426590.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5754474450954514432,"description":"Unknown IO ID 45"} 
[2026-11-05 05:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222508544001,"power":27919,"unknown_7":206,"unknown_78":62464,"ignition":25,"odometer":null,"unknown_45":5754474450954514432}} 
[2026-11-05 05:54:13] 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":61603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:54:13] local.INFO: GPS data processed {"connection_id":229425,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:54:13] local.INFO: Acknowledgment sent {"connection_id":229425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:54:44] local.INFO: TCP Data received {"connection_id":229425,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a91758d0012d500e00064e5b08000800322a..."} 
[2026-11-05 05:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a91758d0012d500e00064e5b08000800322a..."} 
[2026-11-05 05:54:44] local.INFO: Processing buffer {"connection_id":229425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a91758d0012d500e00064e5b08000800322a..."} 
[2026-11-05 05:54:44] local.INFO: Packet analysis {"connection_id":229425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a917"} 
[2026-11-05 05:54:44] local.INFO: Extracted packet for processing {"connection_id":229425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a917"} 
[2026-11-05 05:54:44] local.INFO: GPS Element Parsed {"raw_longitude":760221184,"raw_latitude":105798408,"longitude_deg":76.0221184,"latitude_deg":10.5798408,"altitude":8,"angle":50,"satellites":42,"speed":0,"hex_longitude":"2d500e00","hex_latitude":"064e5b08","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222511872001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39723379426590720,"note":"Value kept but may cause issues"} 
[2026-11-05 05:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5762355750303686656,"note":"Value kept but may cause issues"} 
[2026-11-05 05:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793838242000,"timestamp_ms":1793838242000,"timestamp_seconds":1793838242,"priority":1,"record_length":96,"hex_timestamp":"000001a1a91758d0"} 
[2026-11-05 05: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-05 05:54: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-05 05:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 05:54: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-05 05: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-05 05: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-05 05:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:54: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-05 05:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222511872001,"66":26180,"7":206,"78":62464,"24":0,"16":39723379426590720,"45":5762355750303686656},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-11-05 05:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222511872001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:54:44] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-11-05 05:54:44] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39723379426590720,"km_value":39723379426590.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5762355750303686656,"description":"Unknown IO ID 45"} 
[2026-11-05 05:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222511872001,"power":26180,"unknown_7":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5762355750303686656}} 
[2026-11-05 05:54:44] 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":61604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:54:44] local.INFO: GPS data processed {"connection_id":229425,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:54:44] local.INFO: Acknowledgment sent {"connection_id":229425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:55:09] local.INFO: TCP Data received {"connection_id":231218,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:55:09] local.INFO: Processing buffer {"connection_id":231218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:55:09] local.INFO: IMEI packet received {"connection_id":231218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":231218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:55:14] local.INFO: TCP Data received {"connection_id":231218,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:55:14] local.INFO: Processing buffer {"connection_id":231218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:55:14] local.INFO: IMEI packet received {"connection_id":231218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":231218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:55:15] local.INFO: TCP Data received {"connection_id":231218,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a91758d0012d500e00064e5b08000800322a..."} 
[2026-11-05 05:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a91758d0012d500e00064e5b08000800322a..."} 
[2026-11-05 05:55:15] local.INFO: Processing buffer {"connection_id":231218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a91758d0012d500e00064e5b08000800322a..."} 
[2026-11-05 05:55:15] local.INFO: Packet analysis {"connection_id":231218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a917"} 
[2026-11-05 05:55:15] local.INFO: Extracted packet for processing {"connection_id":231218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a917"} 
[2026-11-05 05:55:15] local.INFO: GPS Element Parsed {"raw_longitude":760221184,"raw_latitude":105798408,"longitude_deg":76.0221184,"latitude_deg":10.5798408,"altitude":8,"angle":50,"satellites":42,"speed":0,"hex_longitude":"2d500e00","hex_latitude":"064e5b08","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222511872001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39723379426590720,"note":"Value kept but may cause issues"} 
[2026-11-05 05:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5762355750303686656,"note":"Value kept but may cause issues"} 
[2026-11-05 05:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793838242000,"timestamp_ms":1793838242000,"timestamp_seconds":1793838242,"priority":1,"record_length":96,"hex_timestamp":"000001a1a91758d0"} 
[2026-11-05 05: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-05 05:55: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-05 05: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":15,"data_length":795,"current_offset":136} 
[2026-11-05 05:55: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-05 05: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-05 05: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-05 05:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":231218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":231218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":231218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:55: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-05 05:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222511872001,"66":26180,"7":206,"78":62464,"24":0,"16":39723379426590720,"45":5762355750303686656},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-11-05 05:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222511872001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:55:15] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-11-05 05:55:15] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39723379426590720,"km_value":39723379426590.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5762355750303686656,"description":"Unknown IO ID 45"} 
[2026-11-05 05:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222511872001,"power":26180,"unknown_7":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5762355750303686656}} 
[2026-11-05 05:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":231218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:55:15] local.INFO: GPS data processed {"connection_id":231218,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:55:15] local.INFO: Acknowledgment sent {"connection_id":231218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:55:20] local.INFO: TCP Data received {"connection_id":231218,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a91758d0012d500e00064e5b08000800322a..."} 
[2026-11-05 05:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a91758d0012d500e00064e5b08000800322a..."} 
[2026-11-05 05:55:20] local.INFO: Processing buffer {"connection_id":231218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a91758d0012d500e00064e5b08000800322a..."} 
[2026-11-05 05:55:20] local.INFO: Packet analysis {"connection_id":231218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a917"} 
[2026-11-05 05:55:20] local.INFO: Extracted packet for processing {"connection_id":231218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a917"} 
[2026-11-05 05:55:20] local.INFO: GPS Element Parsed {"raw_longitude":760221184,"raw_latitude":105798408,"longitude_deg":76.0221184,"latitude_deg":10.5798408,"altitude":8,"angle":50,"satellites":42,"speed":0,"hex_longitude":"2d500e00","hex_latitude":"064e5b08","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222511872001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39723379426590720,"note":"Value kept but may cause issues"} 
[2026-11-05 05:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5762355750303686656,"note":"Value kept but may cause issues"} 
[2026-11-05 05:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793838242000,"timestamp_ms":1793838242000,"timestamp_seconds":1793838242,"priority":1,"record_length":96,"hex_timestamp":"000001a1a91758d0"} 
[2026-11-05 05: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-05 05:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 05: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 05:55:20] 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-05 05: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-05 05: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-05 05:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":231218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":231218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":231218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:55: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-05 05:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222511872001,"66":26180,"7":206,"78":62464,"24":0,"16":39723379426590720,"45":5762355750303686656},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-11-05 05:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222511872001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:55:20] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-11-05 05:55:20] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39723379426590720,"km_value":39723379426590.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5762355750303686656,"description":"Unknown IO ID 45"} 
[2026-11-05 05:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222511872001,"power":26180,"unknown_7":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5762355750303686656}} 
[2026-11-05 05:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":231218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:55:20] local.INFO: GPS data processed {"connection_id":231218,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:55:20] local.INFO: Acknowledgment sent {"connection_id":231218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:56:04] local.INFO: TCP Data received {"connection_id":231220,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:56:04] local.INFO: Processing buffer {"connection_id":231220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:56:04] local.INFO: IMEI packet received {"connection_id":231220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":231220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:56:09] local.INFO: TCP Data received {"connection_id":231220,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:56:09] local.INFO: Processing buffer {"connection_id":231220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:56:09] local.INFO: IMEI packet received {"connection_id":231220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":231220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:56:10] local.INFO: TCP Data received {"connection_id":231220,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a91758d0012d500e00064e5b08000800322a..."} 
[2026-11-05 05:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a91758d0012d500e00064e5b08000800322a..."} 
[2026-11-05 05:56:10] local.INFO: Processing buffer {"connection_id":231220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a91758d0012d500e00064e5b08000800322a..."} 
[2026-11-05 05:56:10] local.INFO: Packet analysis {"connection_id":231220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a917"} 
[2026-11-05 05:56:10] local.INFO: Extracted packet for processing {"connection_id":231220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a917"} 
[2026-11-05 05:56:10] local.INFO: GPS Element Parsed {"raw_longitude":760221184,"raw_latitude":105798408,"longitude_deg":76.0221184,"latitude_deg":10.5798408,"altitude":8,"angle":50,"satellites":42,"speed":0,"hex_longitude":"2d500e00","hex_latitude":"064e5b08","is_valid_coordinates":true} 
[2026-11-05 05:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222511872001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39723379426590720,"note":"Value kept but may cause issues"} 
[2026-11-05 05:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5762355750303686656,"note":"Value kept but may cause issues"} 
[2026-11-05 05:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793838242000,"timestamp_ms":1793838242000,"timestamp_seconds":1793838242,"priority":1,"record_length":96,"hex_timestamp":"000001a1a91758d0"} 
[2026-11-05 05:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 05:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 05:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:56:10] 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-05 05:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222511872001,"66":26180,"7":206,"78":62464,"24":0,"16":39723379426590720,"45":5762355750303686656},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-11-05 05:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222511872001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:56:10] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-11-05 05:56:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39723379426590720,"km_value":39723379426590.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5762355750303686656,"description":"Unknown IO ID 45"} 
[2026-11-05 05:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222511872001,"power":26180,"unknown_7":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5762355750303686656}} 
[2026-11-05 05:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":231220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:56:10] local.INFO: GPS data processed {"connection_id":231220,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:56:10] local.INFO: Acknowledgment sent {"connection_id":231220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:56:42] local.INFO: TCP Data received {"connection_id":231220,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a91758d0012d500e00064e5b08000800322a..."} 
[2026-11-05 05:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a91758d0012d500e00064e5b08000800322a..."} 
[2026-11-05 05:56:42] local.INFO: Processing buffer {"connection_id":231220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a91758d0012d500e00064e5b08000800322a..."} 
[2026-11-05 05:56:42] local.INFO: Packet analysis {"connection_id":231220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a917"} 
[2026-11-05 05:56:42] local.INFO: Extracted packet for processing {"connection_id":231220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a917"} 
[2026-11-05 05:56:42] local.INFO: GPS Element Parsed {"raw_longitude":760221184,"raw_latitude":105798408,"longitude_deg":76.0221184,"latitude_deg":10.5798408,"altitude":8,"angle":50,"satellites":42,"speed":0,"hex_longitude":"2d500e00","hex_latitude":"064e5b08","is_valid_coordinates":true} 
[2026-11-05 05:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222511872001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39723379426590720,"note":"Value kept but may cause issues"} 
[2026-11-05 05:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5762355750303686656,"note":"Value kept but may cause issues"} 
[2026-11-05 05:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793838242000,"timestamp_ms":1793838242000,"timestamp_seconds":1793838242,"priority":1,"record_length":96,"hex_timestamp":"000001a1a91758d0"} 
[2026-11-05 05:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:56: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-05 05:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 05:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:56:42] 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-05 05:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222511872001,"66":26180,"7":206,"78":62464,"24":0,"16":39723379426590720,"45":5762355750303686656},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-11-05 05:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222511872001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:56:42] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-11-05 05:56:42] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39723379426590720,"km_value":39723379426590.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5762355750303686656,"description":"Unknown IO ID 45"} 
[2026-11-05 05:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222511872001,"power":26180,"unknown_7":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5762355750303686656}} 
[2026-11-05 05:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":231220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:56:42] local.INFO: GPS data processed {"connection_id":231220,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:56:42] local.INFO: Acknowledgment sent {"connection_id":231220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:57:04] local.INFO: TCP Data received {"connection_id":229922,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:57:04] local.INFO: Processing buffer {"connection_id":229922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:57:04] local.INFO: IMEI packet received {"connection_id":229922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":229922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:57:09] local.INFO: TCP Data received {"connection_id":229922,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:57:09] local.INFO: Processing buffer {"connection_id":229922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:57:09] local.INFO: IMEI packet received {"connection_id":229922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":229922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:57:11] local.INFO: TCP Data received {"connection_id":229922,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a91758d0012d500e00064e5b08000800322a..."} 
[2026-11-05 05:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a91758d0012d500e00064e5b08000800322a..."} 
[2026-11-05 05:57:11] local.INFO: Processing buffer {"connection_id":229922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a91758d0012d500e00064e5b08000800322a..."} 
[2026-11-05 05:57:11] local.INFO: Packet analysis {"connection_id":229922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a917"} 
[2026-11-05 05:57:11] local.INFO: Extracted packet for processing {"connection_id":229922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a917"} 
[2026-11-05 05:57:11] local.INFO: GPS Element Parsed {"raw_longitude":760221184,"raw_latitude":105798408,"longitude_deg":76.0221184,"latitude_deg":10.5798408,"altitude":8,"angle":50,"satellites":42,"speed":0,"hex_longitude":"2d500e00","hex_latitude":"064e5b08","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222511872001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39723379426590720,"note":"Value kept but may cause issues"} 
[2026-11-05 05:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5762355750303686656,"note":"Value kept but may cause issues"} 
[2026-11-05 05:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793838242000,"timestamp_ms":1793838242000,"timestamp_seconds":1793838242,"priority":1,"record_length":96,"hex_timestamp":"000001a1a91758d0"} 
[2026-11-05 05: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-05 05:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 05: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 05:57:11] 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-05 05: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-05 05: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-05 05:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:57:11] 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-05 05:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222511872001,"66":26180,"7":206,"78":62464,"24":0,"16":39723379426590720,"45":5762355750303686656},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-11-05 05:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222511872001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:57:11] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-11-05 05:57:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39723379426590720,"km_value":39723379426590.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5762355750303686656,"description":"Unknown IO ID 45"} 
[2026-11-05 05:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222511872001,"power":26180,"unknown_7":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5762355750303686656}} 
[2026-11-05 05:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":229922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:57:11] local.INFO: GPS data processed {"connection_id":229922,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:57:11] local.INFO: Acknowledgment sent {"connection_id":229922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:57:42] local.INFO: TCP Data received {"connection_id":229922,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a91758d0012d500e00064e5b08000800322a..."} 
[2026-11-05 05:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a91758d0012d500e00064e5b08000800322a..."} 
[2026-11-05 05:57:42] local.INFO: Processing buffer {"connection_id":229922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a91758d0012d500e00064e5b08000800322a..."} 
[2026-11-05 05:57:42] local.INFO: Packet analysis {"connection_id":229922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a917"} 
[2026-11-05 05:57:42] local.INFO: Extracted packet for processing {"connection_id":229922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a917"} 
[2026-11-05 05:57:42] local.INFO: GPS Element Parsed {"raw_longitude":760221184,"raw_latitude":105798408,"longitude_deg":76.0221184,"latitude_deg":10.5798408,"altitude":8,"angle":50,"satellites":42,"speed":0,"hex_longitude":"2d500e00","hex_latitude":"064e5b08","is_valid_coordinates":true} 
[2026-11-05 05:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222511872001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39723379426590720,"note":"Value kept but may cause issues"} 
[2026-11-05 05:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5762355750303686656,"note":"Value kept but may cause issues"} 
[2026-11-05 05:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793838242000,"timestamp_ms":1793838242000,"timestamp_seconds":1793838242,"priority":1,"record_length":96,"hex_timestamp":"000001a1a91758d0"} 
[2026-11-05 05:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:57: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-05 05:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 05:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:57:42] 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-05 05:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222511872001,"66":26180,"7":206,"78":62464,"24":0,"16":39723379426590720,"45":5762355750303686656},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-11-05 05:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222511872001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:57:42] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-11-05 05:57:42] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39723379426590720,"km_value":39723379426590.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5762355750303686656,"description":"Unknown IO ID 45"} 
[2026-11-05 05:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222511872001,"power":26180,"unknown_7":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5762355750303686656}} 
[2026-11-05 05:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":229922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:57:42] local.INFO: GPS data processed {"connection_id":229922,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:57:42] local.INFO: Acknowledgment sent {"connection_id":229922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:58:04] local.INFO: TCP Data received {"connection_id":231222,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:58:04] local.INFO: Processing buffer {"connection_id":231222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:58:04] local.INFO: IMEI packet received {"connection_id":231222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":231222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:58:09] local.INFO: TCP Data received {"connection_id":231222,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:58:09] local.INFO: Processing buffer {"connection_id":231222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:58:09] local.INFO: IMEI packet received {"connection_id":231222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":231222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:58:11] local.INFO: TCP Data received {"connection_id":231222,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a91758d0012d500e00064e5b08000800322a..."} 
[2026-11-05 05:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a91758d0012d500e00064e5b08000800322a..."} 
[2026-11-05 05:58:11] local.INFO: Processing buffer {"connection_id":231222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a91758d0012d500e00064e5b08000800322a..."} 
[2026-11-05 05:58:11] local.INFO: Packet analysis {"connection_id":231222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a917"} 
[2026-11-05 05:58:11] local.INFO: Extracted packet for processing {"connection_id":231222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a917"} 
[2026-11-05 05:58:11] local.INFO: GPS Element Parsed {"raw_longitude":760221184,"raw_latitude":105798408,"longitude_deg":76.0221184,"latitude_deg":10.5798408,"altitude":8,"angle":50,"satellites":42,"speed":0,"hex_longitude":"2d500e00","hex_latitude":"064e5b08","is_valid_coordinates":true} 
[2026-11-05 05: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-05 05:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222511872001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39723379426590720,"note":"Value kept but may cause issues"} 
[2026-11-05 05:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5762355750303686656,"note":"Value kept but may cause issues"} 
[2026-11-05 05:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793838242000,"timestamp_ms":1793838242000,"timestamp_seconds":1793838242,"priority":1,"record_length":96,"hex_timestamp":"000001a1a91758d0"} 
[2026-11-05 05: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-05 05:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 05:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 05:58:11] 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-05 05: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-05 05: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-05 05:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:58:11] 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-05 05:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222511872001,"66":26180,"7":206,"78":62464,"24":0,"16":39723379426590720,"45":5762355750303686656},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-11-05 05:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222511872001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:58:11] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-11-05 05:58:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39723379426590720,"km_value":39723379426590.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5762355750303686656,"description":"Unknown IO ID 45"} 
[2026-11-05 05:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222511872001,"power":26180,"unknown_7":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5762355750303686656}} 
[2026-11-05 05:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":231222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:58:11] local.INFO: GPS data processed {"connection_id":231222,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:58:11] local.INFO: Acknowledgment sent {"connection_id":231222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:58:42] local.INFO: TCP Data received {"connection_id":231222,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a91ab430012d500e00064e5b08000800322d..."} 
[2026-11-05 05:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a91ab430012d500e00064e5b08000800322d..."} 
[2026-11-05 05:58:42] local.INFO: Processing buffer {"connection_id":231222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a91ab430012d500e00064e5b08000800322d..."} 
[2026-11-05 05:58:42] local.INFO: Packet analysis {"connection_id":231222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a91a"} 
[2026-11-05 05:58:42] local.INFO: Extracted packet for processing {"connection_id":231222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a91a"} 
[2026-11-05 05:58:42] local.INFO: GPS Element Parsed {"raw_longitude":760221184,"raw_latitude":105798408,"longitude_deg":76.0221184,"latitude_deg":10.5798408,"altitude":8,"angle":50,"satellites":45,"speed":0,"hex_longitude":"2d500e00","hex_latitude":"064e5b08","is_valid_coordinates":true} 
[2026-11-05 05:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222589952001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39723379426590720,"note":"Value kept but may cause issues"} 
[2026-11-05 05:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5768548199792576512,"note":"Value kept but may cause issues"} 
[2026-11-05 05:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793838462000,"timestamp_ms":1793838462000,"timestamp_seconds":1793838462,"priority":1,"record_length":96,"hex_timestamp":"000001a1a91ab430"} 
[2026-11-05 05:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:58: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-05 05:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-11-05 05:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:58:42] 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-05 05:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222589952001,"66":25995,"7":206,"78":62464,"24":0,"16":39723379426590720,"45":5768548199792576512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-11-05 05:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222589952001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:58:42] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-11-05 05:58:42] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39723379426590720,"km_value":39723379426590.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5768548199792576512,"description":"Unknown IO ID 45"} 
[2026-11-05 05:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222589952001,"power":25995,"unknown_7":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5768548199792576512}} 
[2026-11-05 05:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":231222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:58:42] local.INFO: GPS data processed {"connection_id":231222,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:58:42] local.INFO: Acknowledgment sent {"connection_id":231222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:59:04] local.INFO: TCP Data received {"connection_id":233133,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:59:04] local.INFO: Processing buffer {"connection_id":233133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:59:04] local.INFO: IMEI packet received {"connection_id":233133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 05:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":233133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:59:07] local.INFO: TCP Data received {"connection_id":229426,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229426,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:59:07] local.INFO: Processing buffer {"connection_id":229426,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 05:59:07] local.INFO: IMEI packet received {"connection_id":229426,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 05:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":229426,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 05:59:07] local.INFO: TCP Data received {"connection_id":233133,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:59:07] local.INFO: Processing buffer {"connection_id":233133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:59:07] local.INFO: IMEI packet received {"connection_id":233133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":233133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:59:09] local.INFO: TCP Data received {"connection_id":233133,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:59:09] local.INFO: Processing buffer {"connection_id":233133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 05:59:09] local.INFO: IMEI packet received {"connection_id":233133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 05:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":233133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 05:59:10] local.INFO: TCP Data received {"connection_id":233133,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a91ac7b8012d501040064e5c98000800112c..."} 
[2026-11-05 05:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a91ac7b8012d501040064e5c98000800112c..."} 
[2026-11-05 05:59:10] local.INFO: Processing buffer {"connection_id":233133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a91ac7b8012d501040064e5c98000800112c..."} 
[2026-11-05 05:59:10] local.INFO: Packet analysis {"connection_id":233133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a91a"} 
[2026-11-05 05:59:10] local.INFO: Extracted packet for processing {"connection_id":233133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a91a"} 
[2026-11-05 05:59:10] local.INFO: GPS Element Parsed {"raw_longitude":760221760,"raw_latitude":105798808,"longitude_deg":76.022176,"latitude_deg":10.5798808,"altitude":8,"angle":17,"satellites":44,"speed":0,"hex_longitude":"2d501040","hex_latitude":"064e5c98","is_valid_coordinates":true} 
[2026-11-05 05:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222646272001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39723379426590720,"note":"Value kept but may cause issues"} 
[2026-11-05 05:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5768548199792576512,"note":"Value kept but may cause issues"} 
[2026-11-05 05:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793838467000,"timestamp_ms":1793838467000,"timestamp_seconds":1793838467,"priority":1,"record_length":96,"hex_timestamp":"000001a1a91ac7b8"} 
[2026-11-05 05:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 05:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-11-05 05:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 05:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:59:10] 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-05 05:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222646272001,"66":25843,"7":206,"78":62464,"24":0,"16":39723379426590720,"45":5768548199792576512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-11-05 05:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222646272001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:59:10] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-11-05 05:59:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39723379426590720,"km_value":39723379426590.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5768548199792576512,"description":"Unknown IO ID 45"} 
[2026-11-05 05:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222646272001,"power":25843,"unknown_7":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5768548199792576512}} 
[2026-11-05 05:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":233133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:59:10] local.INFO: GPS data processed {"connection_id":233133,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:59:10] local.INFO: Acknowledgment sent {"connection_id":233133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 05:59:44] local.INFO: TCP Data received {"connection_id":233133,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a91b19c0012d501040064e5c980008001129..."} 
[2026-11-05 05:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a91b19c0012d501040064e5c980008001129..."} 
[2026-11-05 05:59:44] local.INFO: Processing buffer {"connection_id":233133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a91b19c0012d501040064e5c980008001129..."} 
[2026-11-05 05:59:44] local.INFO: Packet analysis {"connection_id":233133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a91b"} 
[2026-11-05 05:59:44] local.INFO: Extracted packet for processing {"connection_id":233133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a91b"} 
[2026-11-05 05:59:44] local.INFO: GPS Element Parsed {"raw_longitude":760221760,"raw_latitude":105798808,"longitude_deg":76.022176,"latitude_deg":10.5798808,"altitude":8,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d501040","hex_latitude":"064e5c98","is_valid_coordinates":true} 
[2026-11-05 05:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 05:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222647552001,"note":"Value kept but may cause issues"} 
[2026-11-05 05:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39723379426590720,"note":"Value kept but may cause issues"} 
[2026-11-05 05:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5769181518490277888,"note":"Value kept but may cause issues"} 
[2026-11-05 05:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 05:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793838488000,"timestamp_ms":1793838488000,"timestamp_seconds":1793838488,"priority":1,"record_length":96,"hex_timestamp":"000001a1a91b19c0"} 
[2026-11-05 05:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 05: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-05 05:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-11-05 05:59: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-05 05:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 05:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 05:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 05:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":233133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 05:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":233133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":233133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 05:59: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-05 05:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 05:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 05:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222647552001,"66":27484,"53":206,"78":62464,"24":0,"16":39723379426590720,"45":5769181518490277888},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-11-05 05:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 05:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 05:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222647552001,"description":"Unknown IO ID 0"} 
[2026-11-05 05:59:44] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-11-05 05:59:44] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 05:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39723379426590720,"km_value":39723379426590.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 05:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5769181518490277888,"description":"Unknown IO ID 45"} 
[2026-11-05 05:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222647552001,"power":27484,"unknown_53":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5769181518490277888}} 
[2026-11-05 05:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":233133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 05:59:44] local.INFO: GPS data processed {"connection_id":233133,"processed":1,"errors":0,"total":1} 
[2026-11-05 05:59:44] local.INFO: Acknowledgment sent {"connection_id":233133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:00:04] local.INFO: TCP Data received {"connection_id":229923,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:00:04] local.INFO: Processing buffer {"connection_id":229923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:00:04] local.INFO: IMEI packet received {"connection_id":229923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":229923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:00:09] local.INFO: TCP Data received {"connection_id":229923,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:00:09] local.INFO: Processing buffer {"connection_id":229923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:00:09] local.INFO: IMEI packet received {"connection_id":229923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":229923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:00:10] local.INFO: TCP Data received {"connection_id":229923,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a91b6bc8012d501040064e5c98000800112d..."} 
[2026-11-05 06:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a91b6bc8012d501040064e5c98000800112d..."} 
[2026-11-05 06:00:10] local.INFO: Processing buffer {"connection_id":229923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a91b6bc8012d501040064e5c98000800112d..."} 
[2026-11-05 06:00:10] local.INFO: Packet analysis {"connection_id":229923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a91b"} 
[2026-11-05 06:00:10] local.INFO: Extracted packet for processing {"connection_id":229923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a91b"} 
[2026-11-05 06:00:10] local.INFO: GPS Element Parsed {"raw_longitude":760221760,"raw_latitude":105798808,"longitude_deg":76.022176,"latitude_deg":10.5798808,"altitude":8,"angle":17,"satellites":45,"speed":0,"hex_longitude":"2d501040","hex_latitude":"064e5c98","is_valid_coordinates":true} 
[2026-11-05 06:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222652928001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39723379426590720,"note":"Value kept but may cause issues"} 
[2026-11-05 06:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5769181518490277888,"note":"Value kept but may cause issues"} 
[2026-11-05 06:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793838509000,"timestamp_ms":1793838509000,"timestamp_seconds":1793838509,"priority":1,"record_length":96,"hex_timestamp":"000001a1a91b6bc8"} 
[2026-11-05 06:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 06:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 06:00:10] 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-05 06:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:00:10] 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-05 06:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222652928001,"66":27604,"53":206,"78":62464,"24":0,"16":39723379426590720,"45":5769181518490277888},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-11-05 06:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222652928001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:00:10] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-11-05 06:00:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 06:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39723379426590720,"km_value":39723379426590.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5769181518490277888,"description":"Unknown IO ID 45"} 
[2026-11-05 06:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222652928001,"power":27604,"unknown_53":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5769181518490277888}} 
[2026-11-05 06:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":229923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:00:10] local.INFO: GPS data processed {"connection_id":229923,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:00:10] local.INFO: Acknowledgment sent {"connection_id":229923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:00:44] local.INFO: TCP Data received {"connection_id":229923,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a91c90c0012d503680064e6f10000d00842d..."} 
[2026-11-05 06:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a91c90c0012d503680064e6f10000d00842d..."} 
[2026-11-05 06:00:44] local.INFO: Processing buffer {"connection_id":229923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a91c90c0012d503680064e6f10000d00842d..."} 
[2026-11-05 06:00:44] local.INFO: Packet analysis {"connection_id":229923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a91c"} 
[2026-11-05 06:00:44] local.INFO: Extracted packet for processing {"connection_id":229923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a91c"} 
[2026-11-05 06:00:44] local.INFO: GPS Element Parsed {"raw_longitude":760231552,"raw_latitude":105803536,"longitude_deg":76.0231552,"latitude_deg":10.5803536,"altitude":13,"angle":132,"satellites":45,"speed":16,"hex_longitude":"2d503680","hex_latitude":"064e6f10","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222677248001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39723959247175680,"note":"Value kept but may cause issues"} 
[2026-11-05 06:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5779596092629843968,"note":"Value kept but may cause issues"} 
[2026-11-05 06:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793838584000,"timestamp_ms":1793838584000,"timestamp_seconds":1793838584,"priority":1,"record_length":96,"hex_timestamp":"000001a1a91c90c0"} 
[2026-11-05 06: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-05 06:00: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-05 06: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-05 06:00:44] 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-05 06: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-05 06: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-05 06:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:00: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-05 06:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222677248001,"66":27539,"53":206,"78":62464,"24":16,"16":39723959247175680,"45":5779596092629843968},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-11-05 06:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222677248001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:00:44] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-11-05 06:00:44] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 06:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39723959247175680,"km_value":39723959247175.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5779596092629843968,"description":"Unknown IO ID 45"} 
[2026-11-05 06:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222677248001,"power":27539,"unknown_53":206,"unknown_78":62464,"ignition":16,"odometer":null,"unknown_45":5779596092629843968}} 
[2026-11-05 06:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":229923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:00:44] local.INFO: GPS data processed {"connection_id":229923,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:00:44] local.INFO: Acknowledgment sent {"connection_id":229923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:01:08] local.INFO: TCP Data received {"connection_id":229428,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:01:08] local.INFO: Processing buffer {"connection_id":229428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:01:08] local.INFO: IMEI packet received {"connection_id":229428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":229428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:01:09] local.INFO: TCP Data received {"connection_id":229428,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:01:09] local.INFO: Processing buffer {"connection_id":229428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:01:09] local.INFO: IMEI packet received {"connection_id":229428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":229428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:01:14] local.INFO: TCP Data received {"connection_id":229428,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:01:14] local.INFO: Processing buffer {"connection_id":229428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:01:14] local.INFO: IMEI packet received {"connection_id":229428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":229428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:01:16] local.INFO: TCP Data received {"connection_id":229428,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a91c9890012d503900064e6c80000c00902e..."} 
[2026-11-05 06:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a91c9890012d503900064e6c80000c00902e..."} 
[2026-11-05 06:01:16] local.INFO: Processing buffer {"connection_id":229428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a91c9890012d503900064e6c80000c00902e..."} 
[2026-11-05 06:01:16] local.INFO: Packet analysis {"connection_id":229428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a91c"} 
[2026-11-05 06:01:16] local.INFO: Extracted packet for processing {"connection_id":229428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a91c"} 
[2026-11-05 06:01:16] local.INFO: GPS Element Parsed {"raw_longitude":760232192,"raw_latitude":105802880,"longitude_deg":76.0232192,"latitude_deg":10.580288,"altitude":12,"angle":144,"satellites":46,"speed":16,"hex_longitude":"2d503900","hex_latitude":"064e6c80","is_valid_coordinates":true} 
[2026-11-05 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-05 06:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222677504001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39724002196848640,"note":"Value kept but may cause issues"} 
[2026-11-05 06:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5779947936350670848,"note":"Value kept but may cause issues"} 
[2026-11-05 06:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793838586000,"timestamp_ms":1793838586000,"timestamp_seconds":1793838586,"priority":1,"record_length":96,"hex_timestamp":"000001a1a91c9890"} 
[2026-11-05 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-05 06:01: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-05 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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-05 06:01:16] 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-05 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-05 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-05 06:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:01:16] 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-05 06:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222677504001,"66":27463,"53":206,"78":62464,"24":16,"16":39724002196848640,"45":5779947936350670848},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-11-05 06:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222677504001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:01:16] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-11-05 06:01:16] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 06:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39724002196848640,"km_value":39724002196848.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5779947936350670848,"description":"Unknown IO ID 45"} 
[2026-11-05 06:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222677504001,"power":27463,"unknown_53":206,"unknown_78":62464,"ignition":16,"odometer":null,"unknown_45":5779947936350670848}} 
[2026-11-05 06:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":229428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:01:16] local.INFO: GPS data processed {"connection_id":229428,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:01:16] local.INFO: Acknowledgment sent {"connection_id":229428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:01:17] local.INFO: TCP Data received {"connection_id":229428,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a91cd328012d504c40064e5200000b00842d..."} 
[2026-11-05 06:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a91cd328012d504c40064e5200000b00842d..."} 
[2026-11-05 06:01:17] local.INFO: Processing buffer {"connection_id":229428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a91cd328012d504c40064e5200000b00842d..."} 
[2026-11-05 06:01:17] local.INFO: Packet analysis {"connection_id":229428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a91c"} 
[2026-11-05 06:01:17] local.INFO: Extracted packet for processing {"connection_id":229428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a91c"} 
[2026-11-05 06:01:17] local.INFO: GPS Element Parsed {"raw_longitude":760237120,"raw_latitude":105796096,"longitude_deg":76.023712,"latitude_deg":10.5796096,"altitude":11,"angle":132,"satellites":45,"speed":28,"hex_longitude":"2d504c40","hex_latitude":"064e5200","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222678016001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39724410218741760,"note":"Value kept but may cause issues"} 
[2026-11-05 06:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5780651623792279552,"note":"Value kept but may cause issues"} 
[2026-11-05 06:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793838601000,"timestamp_ms":1793838601000,"timestamp_seconds":1793838601,"priority":1,"record_length":96,"hex_timestamp":"000001a1a91cd328"} 
[2026-11-05 06: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-05 06:01: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-05 06: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 06:01: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-05 06: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-05 06: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-05 06:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:01: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-05 06:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222678016001,"66":27365,"53":206,"78":62464,"24":28,"16":39724410218741760,"45":5780651623792279552},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-11-05 06:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222678016001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:01:17] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-11-05 06:01:17] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 06:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39724410218741760,"km_value":39724410218741.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5780651623792279552,"description":"Unknown IO ID 45"} 
[2026-11-05 06:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222678016001,"power":27365,"unknown_53":206,"unknown_78":62464,"ignition":28,"odometer":null,"unknown_45":5780651623792279552}} 
[2026-11-05 06:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":229428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:01:17] local.INFO: GPS data processed {"connection_id":229428,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:01:17] local.INFO: Acknowledgment sent {"connection_id":229428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:01:49] local.INFO: TCP Data received {"connection_id":229428,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a91cfa38012d5067c0064e3be80009007e2b..."} 
[2026-11-05 06:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a91cfa38012d5067c0064e3be80009007e2b..."} 
[2026-11-05 06:01:49] local.INFO: Processing buffer {"connection_id":229428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a91cfa38012d5067c0064e3be80009007e2b..."} 
[2026-11-05 06:01:49] local.INFO: Packet analysis {"connection_id":229428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a91c"} 
[2026-11-05 06:01:49] local.INFO: Extracted packet for processing {"connection_id":229428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a91c"} 
[2026-11-05 06:01:49] local.INFO: GPS Element Parsed {"raw_longitude":760244160,"raw_latitude":105790440,"longitude_deg":76.024416,"latitude_deg":10.579044,"altitude":9,"angle":126,"satellites":43,"speed":39,"hex_longitude":"2d5067c0","hex_latitude":"064e3be8","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222681856001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39724844010438656,"note":"Value kept but may cause issues"} 
[2026-11-05 06:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5786070017092222976,"note":"Value kept but may cause issues"} 
[2026-11-05 06:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793838611000,"timestamp_ms":1793838611000,"timestamp_seconds":1793838611,"priority":1,"record_length":96,"hex_timestamp":"000001a1a91cfa38"} 
[2026-11-05 06: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-05 06:01: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-05 06: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 06:01:49] 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-05 06: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-05 06: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-05 06:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:01:49] 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-05 06:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222681856001,"66":27365,"53":206,"78":62464,"24":39,"16":39724844010438656,"45":5786070017092222976},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-11-05 06:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222681856001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:01:49] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-11-05 06:01:49] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 06:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39724844010438656,"km_value":39724844010438.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5786070017092222976,"description":"Unknown IO ID 45"} 
[2026-11-05 06:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222681856001,"power":27365,"unknown_53":206,"unknown_78":62464,"ignition":39,"odometer":null,"unknown_45":5786070017092222976}} 
[2026-11-05 06:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":229428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:01:49] local.INFO: GPS data processed {"connection_id":229428,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:01:49] local.INFO: Acknowledgment sent {"connection_id":229428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:02:04] local.INFO: TCP Data received {"connection_id":233135,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:02:04] local.INFO: Processing buffer {"connection_id":233135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:02:04] local.INFO: IMEI packet received {"connection_id":233135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":233135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:02:09] local.INFO: TCP Data received {"connection_id":233135,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:02:09] local.INFO: Processing buffer {"connection_id":233135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:02:09] local.INFO: IMEI packet received {"connection_id":233135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":233135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:02:10] local.INFO: TCP Data received {"connection_id":233135,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a91d0dc0012d5074c0064e30580008008b2a..."} 
[2026-11-05 06:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a91d0dc0012d5074c0064e30580008008b2a..."} 
[2026-11-05 06:02:10] local.INFO: Processing buffer {"connection_id":233135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a91d0dc0012d5074c0064e30580008008b2a..."} 
[2026-11-05 06:02:10] local.INFO: Packet analysis {"connection_id":233135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a91d"} 
[2026-11-05 06:02:10] local.INFO: Extracted packet for processing {"connection_id":233135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a91d"} 
[2026-11-05 06:02:10] local.INFO: GPS Element Parsed {"raw_longitude":760247488,"raw_latitude":105787480,"longitude_deg":76.0247488,"latitude_deg":10.578748,"altitude":8,"angle":139,"satellites":42,"speed":31,"hex_longitude":"2d5074c0","hex_latitude":"064e3058","is_valid_coordinates":true} 
[2026-11-05 06:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222684416001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39725058758803456,"note":"Value kept but may cause issues"} 
[2026-11-05 06:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5793810578950318080,"note":"Value kept but may cause issues"} 
[2026-11-05 06:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793838616000,"timestamp_ms":1793838616000,"timestamp_seconds":1793838616,"priority":1,"record_length":96,"hex_timestamp":"000001a1a91d0dc0"} 
[2026-11-05 06:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 06:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 06:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 06:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:02:10] 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-05 06:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222684416001,"66":27376,"53":206,"78":62464,"24":31,"16":39725058758803456,"45":5793810578950318080},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-11-05 06:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222684416001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:02:10] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-11-05 06:02:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 06:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39725058758803456,"km_value":39725058758803.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5793810578950318080,"description":"Unknown IO ID 45"} 
[2026-11-05 06:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222684416001,"power":27376,"unknown_53":206,"unknown_78":62464,"ignition":31,"odometer":null,"unknown_45":5793810578950318080}} 
[2026-11-05 06:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":233135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:02:10] local.INFO: GPS data processed {"connection_id":233135,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:02:10] local.INFO: Acknowledgment sent {"connection_id":233135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:02:42] local.INFO: TCP Data received {"connection_id":233135,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a91d2d00012d507e80064e24580006009a2c..."} 
[2026-11-05 06:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a91d2d00012d507e80064e24580006009a2c..."} 
[2026-11-05 06:02:42] local.INFO: Processing buffer {"connection_id":233135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a91d2d00012d507e80064e24580006009a2c..."} 
[2026-11-05 06:02:42] local.INFO: Packet analysis {"connection_id":233135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a91d"} 
[2026-11-05 06:02:42] local.INFO: Extracted packet for processing {"connection_id":233135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a91d"} 
[2026-11-05 06:02:42] local.INFO: GPS Element Parsed {"raw_longitude":760249984,"raw_latitude":105784408,"longitude_deg":76.0249984,"latitude_deg":10.5784408,"altitude":6,"angle":154,"satellites":44,"speed":13,"hex_longitude":"2d507e80","hex_latitude":"064e2458","is_valid_coordinates":true} 
[2026-11-05 06:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222685696001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39725252032331776,"note":"Value kept but may cause issues"} 
[2026-11-05 06:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5797469753646798848,"note":"Value kept but may cause issues"} 
[2026-11-05 06:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793838624000,"timestamp_ms":1793838624000,"timestamp_seconds":1793838624,"priority":1,"record_length":96,"hex_timestamp":"000001a1a91d2d00"} 
[2026-11-05 06:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 06:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 06:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 06:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:02:42] 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-05 06:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222685696001,"66":27300,"53":206,"78":62464,"24":13,"16":39725252032331776,"45":5797469753646798848},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-11-05 06:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222685696001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:02:42] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-11-05 06:02:42] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 06:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39725252032331776,"km_value":39725252032331.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5797469753646798848,"description":"Unknown IO ID 45"} 
[2026-11-05 06:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222685696001,"power":27300,"unknown_53":206,"unknown_78":62464,"ignition":13,"odometer":null,"unknown_45":5797469753646798848}} 
[2026-11-05 06:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":233135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:02:42] local.INFO: GPS data processed {"connection_id":233135,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:02:42] local.INFO: Acknowledgment sent {"connection_id":233135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:03:04] local.INFO: TCP Data received {"connection_id":229429,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:03:04] local.INFO: Processing buffer {"connection_id":229429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:03:04] local.INFO: IMEI packet received {"connection_id":229429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":229429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:03:05] local.INFO: TCP Data received {"connection_id":229429,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:03:05] local.INFO: Processing buffer {"connection_id":229429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:03:05] local.INFO: IMEI packet received {"connection_id":229429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":229429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:03:09] local.INFO: TCP Data received {"connection_id":229429,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:03:09] local.INFO: Processing buffer {"connection_id":229429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:03:09] local.INFO: IMEI packet received {"connection_id":229429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":229429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:03:10] local.INFO: TCP Data received {"connection_id":229429,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a91d4088012d508140064e1fd80007008d2c..."} 
[2026-11-05 06:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a91d4088012d508140064e1fd80007008d2c..."} 
[2026-11-05 06:03:10] local.INFO: Processing buffer {"connection_id":229429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a91d4088012d508140064e1fd80007008d2c..."} 
[2026-11-05 06:03:10] local.INFO: Packet analysis {"connection_id":229429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a91d"} 
[2026-11-05 06:03:10] local.INFO: Extracted packet for processing {"connection_id":229429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a91d"} 
[2026-11-05 06:03:10] local.INFO: GPS Element Parsed {"raw_longitude":760250688,"raw_latitude":105783256,"longitude_deg":76.0250688,"latitude_deg":10.5783256,"altitude":7,"angle":141,"satellites":44,"speed":7,"hex_longitude":"2d508140","hex_latitude":"064e1fd8","is_valid_coordinates":true} 
[2026-11-05 06:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222687744001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39725316456841216,"note":"Value kept but may cause issues"} 
[2026-11-05 06:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5800214134668941312,"note":"Value kept but may cause issues"} 
[2026-11-05 06:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793838629000,"timestamp_ms":1793838629000,"timestamp_seconds":1793838629,"priority":1,"record_length":96,"hex_timestamp":"000001a1a91d4088"} 
[2026-11-05 06:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:03: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-05 06:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 06:03:10] 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-05 06:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:03:10] 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-05 06:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222687744001,"66":27321,"53":206,"78":62464,"24":7,"16":39725316456841216,"45":5800214134668941312},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-11-05 06:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222687744001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:03:10] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-11-05 06:03:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 06:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39725316456841216,"km_value":39725316456841.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5800214134668941312,"description":"Unknown IO ID 45"} 
[2026-11-05 06:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222687744001,"power":27321,"unknown_53":206,"unknown_78":62464,"ignition":7,"odometer":null,"unknown_45":5800214134668941312}} 
[2026-11-05 06:03:10] 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":61622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:03:10] local.INFO: GPS data processed {"connection_id":229429,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:03:10] local.INFO: Acknowledgment sent {"connection_id":229429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:03:41] local.INFO: TCP Data received {"connection_id":229429,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a91d57f8012d5083c0064e1c380007009e2d..."} 
[2026-11-05 06:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a91d57f8012d5083c0064e1c380007009e2d..."} 
[2026-11-05 06:03:41] local.INFO: Processing buffer {"connection_id":229429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a91d57f8012d5083c0064e1c380007009e2d..."} 
[2026-11-05 06:03:41] local.INFO: Packet analysis {"connection_id":229429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a91d"} 
[2026-11-05 06:03:41] local.INFO: Extracted packet for processing {"connection_id":229429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a91d"} 
[2026-11-05 06:03:41] local.INFO: GPS Element Parsed {"raw_longitude":760251328,"raw_latitude":105782328,"longitude_deg":76.0251328,"latitude_deg":10.5782328,"altitude":7,"angle":158,"satellites":45,"speed":9,"hex_longitude":"2d5083c0","hex_latitude":"064e1c38","is_valid_coordinates":true} 
[2026-11-05 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-05 06:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222689024001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39725372291416064,"note":"Value kept but may cause issues"} 
[2026-11-05 06:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5800988190854600704,"note":"Value kept but may cause issues"} 
[2026-11-05 06:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793838635000,"timestamp_ms":1793838635000,"timestamp_seconds":1793838635,"priority":1,"record_length":96,"hex_timestamp":"000001a1a91d57f8"} 
[2026-11-05 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-05 06:03: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-05 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 06:03:41] 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-05 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-05 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-05 06:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:03:41] 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-05 06:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222689024001,"66":27376,"53":206,"78":62464,"24":9,"16":39725372291416064,"45":5800988190854600704},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-11-05 06:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222689024001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:03:41] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-11-05 06:03:41] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 06:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39725372291416064,"km_value":39725372291416.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":5800988190854600704,"description":"Unknown IO ID 45"} 
[2026-11-05 06:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222689024001,"power":27376,"unknown_53":206,"unknown_78":62464,"ignition":9,"odometer":null,"unknown_45":5800988190854600704}} 
[2026-11-05 06:03:41] 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":61623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:03:41] local.INFO: GPS data processed {"connection_id":229429,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:03:41] local.INFO: Acknowledgment sent {"connection_id":229429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:04:04] local.INFO: TCP Data received {"connection_id":229431,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:04:04] local.INFO: Processing buffer {"connection_id":229431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:04:04] local.INFO: IMEI packet received {"connection_id":229431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":229431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:04:09] local.INFO: TCP Data received {"connection_id":229431,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:04:09] local.INFO: Processing buffer {"connection_id":229431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:04:09] local.INFO: IMEI packet received {"connection_id":229431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":229431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:04:11] local.INFO: TCP Data received {"connection_id":229431,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a91d7350012d508880064e14700007008f2d..."} 
[2026-11-05 06:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a91d7350012d508880064e14700007008f2d..."} 
[2026-11-05 06:04:11] local.INFO: Processing buffer {"connection_id":229431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a91d7350012d508880064e14700007008f2d..."} 
[2026-11-05 06:04:11] local.INFO: Packet analysis {"connection_id":229431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a91d"} 
[2026-11-05 06:04:11] local.INFO: Extracted packet for processing {"connection_id":229431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a91d"} 
[2026-11-05 06:04:11] local.INFO: GPS Element Parsed {"raw_longitude":760252544,"raw_latitude":105780336,"longitude_deg":76.0252544,"latitude_deg":10.5780336,"altitude":7,"angle":143,"satellites":45,"speed":13,"hex_longitude":"2d508880","hex_latitude":"064e1470","is_valid_coordinates":true} 
[2026-11-05 06:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222690560001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39725483960565760,"note":"Value kept but may cause issues"} 
[2026-11-05 06:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5801691878296139776,"note":"Value kept but may cause issues"} 
[2026-11-05 06:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793838642000,"timestamp_ms":1793838642000,"timestamp_seconds":1793838642,"priority":1,"record_length":96,"hex_timestamp":"000001a1a91d7350"} 
[2026-11-05 06:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:04: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-05 06:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 06:04: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-05 06:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:04:11] 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-05 06:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222690560001,"66":27484,"53":206,"78":62464,"24":13,"16":39725483960565760,"45":5801691878296139776},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-11-05 06:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222690560001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:04:11] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-11-05 06:04:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 06:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39725483960565760,"km_value":39725483960565.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5801691878296139776,"description":"Unknown IO ID 45"} 
[2026-11-05 06:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222690560001,"power":27484,"unknown_53":206,"unknown_78":62464,"ignition":13,"odometer":null,"unknown_45":5801691878296139776}} 
[2026-11-05 06:04:11] 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":61624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:04:11] local.INFO: GPS data processed {"connection_id":229431,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:04:11] local.INFO: Acknowledgment sent {"connection_id":229431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:04:37] local.INFO: TCP Data received {"connection_id":229432,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229432,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:04:37] local.INFO: Processing buffer {"connection_id":229432,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:04:37] local.INFO: IMEI packet received {"connection_id":229432,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 06:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":229432,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:04:43] local.INFO: TCP Data received {"connection_id":229431,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a92026b8012d50f1c0064d32f80005009a2c..."} 
[2026-11-05 06:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a92026b8012d50f1c0064d32f80005009a2c..."} 
[2026-11-05 06:04:43] local.INFO: Processing buffer {"connection_id":229431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a92026b8012d50f1c0064d32f80005009a2c..."} 
[2026-11-05 06:04:43] local.INFO: Packet analysis {"connection_id":229431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a920"} 
[2026-11-05 06:04:43] local.INFO: Extracted packet for processing {"connection_id":229431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a920"} 
[2026-11-05 06:04:43] local.INFO: GPS Element Parsed {"raw_longitude":760279488,"raw_latitude":105722616,"longitude_deg":76.0279488,"latitude_deg":10.5722616,"altitude":5,"angle":154,"satellites":44,"speed":17,"hex_longitude":"2d50f1c0","hex_latitude":"064d32f8","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222732544001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39728610696757248,"note":"Value kept but may cause issues"} 
[2026-11-05 06:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5830754169627979776,"note":"Value kept but may cause issues"} 
[2026-11-05 06:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793838819000,"timestamp_ms":1793838819000,"timestamp_seconds":1793838819,"priority":1,"record_length":96,"hex_timestamp":"000001a1a92026b8"} 
[2026-11-05 06: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-05 06:04: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-05 06: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 06:04:43] 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-05 06: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-05 06: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-05 06:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:04:43] 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-05 06:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222732544001,"66":27321,"49":206,"78":62464,"24":17,"16":39728610696757248,"45":5830754169627979776},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-11-05 06:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222732544001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:04:43] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 06:04:43] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 06:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39728610696757248,"km_value":39728610696757.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5830754169627979776,"description":"Unknown IO ID 45"} 
[2026-11-05 06:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222732544001,"power":27321,"unknown_49":206,"unknown_78":62464,"ignition":17,"odometer":null,"unknown_45":5830754169627979776}} 
[2026-11-05 06:04:43] 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":61625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:04:43] local.INFO: GPS data processed {"connection_id":229431,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:04:43] local.INFO: Acknowledgment sent {"connection_id":229431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:05:05] local.INFO: TCP Data received {"connection_id":233136,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:05:05] local.INFO: Processing buffer {"connection_id":233136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:05:05] local.INFO: IMEI packet received {"connection_id":233136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":233136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:05:06] local.INFO: TCP Data received {"connection_id":231225,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231225,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:05:06] local.INFO: Processing buffer {"connection_id":231225,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:05:06] local.INFO: IMEI packet received {"connection_id":231225,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 06:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":231225,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:05:09] local.INFO: TCP Data received {"connection_id":233136,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:05:09] local.INFO: Processing buffer {"connection_id":233136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:05:09] local.INFO: IMEI packet received {"connection_id":233136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":233136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:05:11] local.INFO: TCP Data received {"connection_id":233136,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a92078c0012d510240064d13f8000500992d..."} 
[2026-11-05 06:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a92078c0012d510240064d13f8000500992d..."} 
[2026-11-05 06:05:11] local.INFO: Processing buffer {"connection_id":233136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a92078c0012d510240064d13f8000500992d..."} 
[2026-11-05 06:05:11] local.INFO: Packet analysis {"connection_id":233136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a920"} 
[2026-11-05 06:05:11] local.INFO: Extracted packet for processing {"connection_id":233136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a920"} 
[2026-11-05 06:05:11] local.INFO: GPS Element Parsed {"raw_longitude":760283712,"raw_latitude":105714680,"longitude_deg":76.0283712,"latitude_deg":10.571468,"altitude":5,"angle":153,"satellites":45,"speed":15,"hex_longitude":"2d510240","hex_latitude":"064d13f8","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222737664001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39729044488454144,"note":"Value kept but may cause issues"} 
[2026-11-05 06:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5832654125719025664,"note":"Value kept but may cause issues"} 
[2026-11-05 06:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793838840000,"timestamp_ms":1793838840000,"timestamp_seconds":1793838840,"priority":1,"record_length":96,"hex_timestamp":"000001a1a92078c0"} 
[2026-11-05 06: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-05 06:05: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-05 06: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 06:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 06: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-05 06: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-05 06:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:05:11] 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-05 06:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222737664001,"66":27397,"49":206,"78":62464,"24":15,"16":39729044488454144,"45":5832654125719025664},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-11-05 06:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222737664001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:05:11] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 06:05:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 06:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39729044488454144,"km_value":39729044488454.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5832654125719025664,"description":"Unknown IO ID 45"} 
[2026-11-05 06:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222737664001,"power":27397,"unknown_49":206,"unknown_78":62464,"ignition":15,"odometer":null,"unknown_45":5832654125719025664}} 
[2026-11-05 06:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":233136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:05:11] local.INFO: GPS data processed {"connection_id":233136,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:05:11] local.INFO: Acknowledgment sent {"connection_id":233136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:05:43] local.INFO: TCP Data received {"connection_id":233136,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a92078c0012d510240064d13f8000500992d..."} 
[2026-11-05 06:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a92078c0012d510240064d13f8000500992d..."} 
[2026-11-05 06:05:43] local.INFO: Processing buffer {"connection_id":233136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a92078c0012d510240064d13f8000500992d..."} 
[2026-11-05 06:05:43] local.INFO: Packet analysis {"connection_id":233136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a920"} 
[2026-11-05 06:05:43] local.INFO: Extracted packet for processing {"connection_id":233136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a920"} 
[2026-11-05 06:05:43] local.INFO: GPS Element Parsed {"raw_longitude":760283712,"raw_latitude":105714680,"longitude_deg":76.0283712,"latitude_deg":10.571468,"altitude":5,"angle":153,"satellites":45,"speed":15,"hex_longitude":"2d510240","hex_latitude":"064d13f8","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222743040001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39729044488454144,"note":"Value kept but may cause issues"} 
[2026-11-05 06:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5837298462832719872,"note":"Value kept but may cause issues"} 
[2026-11-05 06:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793838840000,"timestamp_ms":1793838840000,"timestamp_seconds":1793838840,"priority":1,"record_length":96,"hex_timestamp":"000001a1a92078c0"} 
[2026-11-05 06: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-05 06:05: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-05 06: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 06:05:43] 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-05 06: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-05 06: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-05 06:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":233136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":233136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":233136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:05:43] 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-05 06:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222743040001,"66":27397,"49":206,"78":62464,"24":15,"16":39729044488454144,"45":5837298462832719872},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-11-05 06:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222743040001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:05:43] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 06:05:43] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 06:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39729044488454144,"km_value":39729044488454.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5837298462832719872,"description":"Unknown IO ID 45"} 
[2026-11-05 06:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222743040001,"power":27397,"unknown_49":206,"unknown_78":62464,"ignition":15,"odometer":null,"unknown_45":5837298462832719872}} 
[2026-11-05 06:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":233136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:05:43] local.INFO: GPS data processed {"connection_id":233136,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:05:43] local.INFO: Acknowledgment sent {"connection_id":233136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:06:04] local.INFO: TCP Data received {"connection_id":233137,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:06:04] local.INFO: Processing buffer {"connection_id":233137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:06:04] local.INFO: IMEI packet received {"connection_id":233137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":233137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:06:07] local.INFO: TCP Data received {"connection_id":233137,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:06:07] local.INFO: Processing buffer {"connection_id":233137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:06:07] local.INFO: IMEI packet received {"connection_id":233137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":233137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:06:09] local.INFO: TCP Data received {"connection_id":233137,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:06:09] local.INFO: Processing buffer {"connection_id":233137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:06:09] local.INFO: IMEI packet received {"connection_id":233137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":233137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:06:11] local.INFO: TCP Data received {"connection_id":233137,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a920cac8012d510dc0064cf9a8000300a12d..."} 
[2026-11-05 06:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a920cac8012d510dc0064cf9a8000300a12d..."} 
[2026-11-05 06:06:11] local.INFO: Processing buffer {"connection_id":233137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a920cac8012d510dc0064cf9a8000300a12d..."} 
[2026-11-05 06:06:11] local.INFO: Packet analysis {"connection_id":233137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a920"} 
[2026-11-05 06:06:11] local.INFO: Extracted packet for processing {"connection_id":233137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a920"} 
[2026-11-05 06:06:11] local.INFO: GPS Element Parsed {"raw_longitude":760286656,"raw_latitude":105707944,"longitude_deg":76.0286656,"latitude_deg":10.5707944,"altitude":3,"angle":161,"satellites":45,"speed":13,"hex_longitude":"2d510dc0","hex_latitude":"064cf9a8","is_valid_coordinates":true} 
[2026-11-05 06:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222743040001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39729400970739712,"note":"Value kept but may cause issues"} 
[2026-11-05 06:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5837298462832719872,"note":"Value kept but may cause issues"} 
[2026-11-05 06:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793838861000,"timestamp_ms":1793838861000,"timestamp_seconds":1793838861,"priority":1,"record_length":96,"hex_timestamp":"000001a1a920cac8"} 
[2026-11-05 06:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:06: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-05 06:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 06:06:11] 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-05 06:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:06:11] 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-05 06:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222743040001,"66":27463,"49":206,"78":62464,"24":13,"16":39729400970739712,"45":5837298462832719872},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-11-05 06:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222743040001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:06:11] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 06:06:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 06:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39729400970739712,"km_value":39729400970739.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5837298462832719872,"description":"Unknown IO ID 45"} 
[2026-11-05 06:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222743040001,"power":27463,"unknown_49":206,"unknown_78":62464,"ignition":13,"odometer":null,"unknown_45":5837298462832719872}} 
[2026-11-05 06:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":233137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:06:11] local.INFO: GPS data processed {"connection_id":233137,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:06:11] local.INFO: Acknowledgment sent {"connection_id":233137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:06:42] local.INFO: TCP Data received {"connection_id":233137,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a920d680012d510f80064cf590000300962c..."} 
[2026-11-05 06:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a920d680012d510f80064cf590000300962c..."} 
[2026-11-05 06:06:42] local.INFO: Processing buffer {"connection_id":233137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a920d680012d510f80064cf590000300962c..."} 
[2026-11-05 06:06:42] local.INFO: Packet analysis {"connection_id":233137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a920"} 
[2026-11-05 06:06:42] local.INFO: Extracted packet for processing {"connection_id":233137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a920"} 
[2026-11-05 06:06:42] local.INFO: GPS Element Parsed {"raw_longitude":760287104,"raw_latitude":105706896,"longitude_deg":76.0287104,"latitude_deg":10.5706896,"altitude":3,"angle":150,"satellites":44,"speed":15,"hex_longitude":"2d510f80","hex_latitude":"064cf590","is_valid_coordinates":true} 
[2026-11-05 06:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222748416001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39729456805314560,"note":"Value kept but may cause issues"} 
[2026-11-05 06:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5840535425063168000,"note":"Value kept but may cause issues"} 
[2026-11-05 06:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793838864000,"timestamp_ms":1793838864000,"timestamp_seconds":1793838864,"priority":1,"record_length":96,"hex_timestamp":"000001a1a920d680"} 
[2026-11-05 06:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:06: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-05 06:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 06:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 06:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:06:42] 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-05 06:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222748416001,"66":27343,"49":206,"78":62464,"24":15,"16":39729456805314560,"45":5840535425063168000},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-11-05 06:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222748416001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:06:42] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 06:06:42] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-11-05 06:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39729456805314560,"km_value":39729456805314.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5840535425063168000,"description":"Unknown IO ID 45"} 
[2026-11-05 06:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222748416001,"power":27343,"unknown_49":206,"unknown_78":62464,"ignition":15,"odometer":null,"unknown_45":5840535425063168000}} 
[2026-11-05 06:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":233137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:06:42] local.INFO: GPS data processed {"connection_id":233137,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:06:42] local.INFO: Acknowledgment sent {"connection_id":233137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:07:09] local.INFO: TCP Data received {"connection_id":229434,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:07:09] local.INFO: Processing buffer {"connection_id":229434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:07:09] local.INFO: IMEI packet received {"connection_id":229434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":229434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:07:14] local.INFO: TCP Data received {"connection_id":229434,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:07:14] local.INFO: Processing buffer {"connection_id":229434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:07:14] local.INFO: IMEI packet received {"connection_id":229434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":229434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:07:15] local.INFO: TCP Data received {"connection_id":229434,"ip":"42.109.136.11","data_length":93,"data_hex":"00000000000000518e01000001a1a9225938012d51ae80064bb678000200992b..."} 
[2026-11-05 06:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229434,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9225938012d51ae80064bb678000200992b..."} 
[2026-11-05 06:07:15] local.INFO: Processing buffer {"connection_id":229434,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9225938012d51ae80064bb678000200992b..."} 
[2026-11-05 06:07:15] local.INFO: Packet analysis {"connection_id":229434,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a922"} 
[2026-11-05 06:07:15] local.INFO: Extracted packet for processing {"connection_id":229434,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a922"} 
[2026-11-05 06:07:15] local.INFO: GPS Element Parsed {"raw_longitude":760327808,"raw_latitude":105625208,"longitude_deg":76.0327808,"latitude_deg":10.5625208,"altitude":2,"angle":153,"satellites":43,"speed":55,"hex_longitude":"2d51ae80","hex_latitude":"064bb678","is_valid_coordinates":true} 
[2026-11-05 06: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":93,"current_offset":40} 
[2026-11-05 06:07:15] 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-05 06:07:15] 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-05 06:07:15] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:07:15] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 06:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229434,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 06:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229434,"device_imei":"862567074773115","avl_records_count":0} 
[2026-11-05 06:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229434,"device_imei":"862567074773115","avl_records_count":0} 
[2026-11-05 06:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 06:07:15] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 06:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":229434,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 06:07:15] local.ERROR: GPS data processing failed {"connection_id":229434,"error":"No valid data to process"} 
[2026-11-05 06:07:15] local.INFO: Acknowledgment sent {"connection_id":229434,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 06:07:16] local.INFO: TCP Data received {"connection_id":229434,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9227490012d51c0c0064b9520000400942c..."} 
[2026-11-05 06:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9227490012d51c0c0064b9520000400942c..."} 
[2026-11-05 06:07:16] local.INFO: Processing buffer {"connection_id":229434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9227490012d51c0c0064b9520000400942c..."} 
[2026-11-05 06:07:16] local.INFO: Packet analysis {"connection_id":229434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a922"} 
[2026-11-05 06:07:16] local.INFO: Extracted packet for processing {"connection_id":229434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a922"} 
[2026-11-05 06:07:16] local.INFO: GPS Element Parsed {"raw_longitude":760332480,"raw_latitude":105616672,"longitude_deg":76.033248,"latitude_deg":10.5616672,"altitude":4,"angle":148,"satellites":44,"speed":52,"hex_longitude":"2d51c0c0","hex_latitude":"064b9520","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222774528001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39734357362999296,"note":"Value kept but may cause issues"} 
[2026-11-05 06:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5885782527548225536,"note":"Value kept but may cause issues"} 
[2026-11-05 06:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793838970000,"timestamp_ms":1793838970000,"timestamp_seconds":1793838970,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9227490"} 
[2026-11-05 06: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-05 06: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-05 06: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 06:07: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-05 06: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-05 06: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-05 06:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:07:16] 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-05 06:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222774528001,"66":27463,"95":206,"78":38912,"24":52,"16":39734357362999296,"45":5885782527548225536},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-11-05 06:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222774528001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:07:16] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-11-05 06:07:16] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-11-05 06:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39734357362999296,"km_value":39734357362999.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5885782527548225536,"description":"Unknown IO ID 45"} 
[2026-11-05 06:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222774528001,"power":27463,"unknown_95":206,"unknown_78":38912,"ignition":52,"odometer":null,"unknown_45":5885782527548225536}} 
[2026-11-05 06:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":229434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:07:16] local.INFO: GPS data processed {"connection_id":229434,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:07:16] local.INFO: Acknowledgment sent {"connection_id":229434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:07:47] local.INFO: TCP Data received {"connection_id":229434,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a92293d0012d51d480064b75b0000500922b..."} 
[2026-11-05 06:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a92293d0012d51d480064b75b0000500922b..."} 
[2026-11-05 06:07:47] local.INFO: Processing buffer {"connection_id":229434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a92293d0012d51d480064b75b0000500922b..."} 
[2026-11-05 06:07:47] local.INFO: Packet analysis {"connection_id":229434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a922"} 
[2026-11-05 06:07:47] local.INFO: Extracted packet for processing {"connection_id":229434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a922"} 
[2026-11-05 06:07:47] local.INFO: GPS Element Parsed {"raw_longitude":760337536,"raw_latitude":105608624,"longitude_deg":76.0337536,"latitude_deg":10.5608624,"altitude":5,"angle":146,"satellites":43,"speed":35,"hex_longitude":"2d51d480","hex_latitude":"064b75b0","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222776320001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39734812629532672,"note":"Value kept but may cause issues"} 
[2026-11-05 06:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5890919445871009792,"note":"Value kept but may cause issues"} 
[2026-11-05 06:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793838978000,"timestamp_ms":1793838978000,"timestamp_seconds":1793838978,"priority":1,"record_length":96,"hex_timestamp":"000001a1a92293d0"} 
[2026-11-05 06: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-05 06:07: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-05 06: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 06:07: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-05 06: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-05 06: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-05 06:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:07:47] 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-05 06:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222776320001,"66":27397,"95":206,"78":38912,"24":35,"16":39734812629532672,"45":5890919445871009792},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-11-05 06:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222776320001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:07:47] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-11-05 06:07:47] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-11-05 06:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39734812629532672,"km_value":39734812629532.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5890919445871009792,"description":"Unknown IO ID 45"} 
[2026-11-05 06:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222776320001,"power":27397,"unknown_95":206,"unknown_78":38912,"ignition":35,"odometer":null,"unknown_45":5890919445871009792}} 
[2026-11-05 06:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":229434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:07:47] local.INFO: GPS data processed {"connection_id":229434,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:07:47] local.INFO: Acknowledgment sent {"connection_id":229434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:08:04] local.INFO: TCP Data received {"connection_id":231226,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:08:04] local.INFO: Processing buffer {"connection_id":231226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:08:04] local.INFO: IMEI packet received {"connection_id":231226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":231226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:08:06] local.INFO: TCP Data received {"connection_id":231226,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:08:06] local.INFO: Processing buffer {"connection_id":231226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:08:06] local.INFO: IMEI packet received {"connection_id":231226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":231226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:08:07] local.INFO: TCP Data received {"connection_id":231226,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a922da20012d51e640064b5668000600912c..."} 
[2026-11-05 06:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a922da20012d51e640064b5668000600912c..."} 
[2026-11-05 06:08:07] local.INFO: Processing buffer {"connection_id":231226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a922da20012d51e640064b5668000600912c..."} 
[2026-11-05 06:08:07] local.INFO: Packet analysis {"connection_id":231226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a922"} 
[2026-11-05 06:08:07] local.INFO: Extracted packet for processing {"connection_id":231226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a922"} 
[2026-11-05 06:08:07] local.INFO: GPS Element Parsed {"raw_longitude":760342080,"raw_latitude":105600616,"longitude_deg":76.034208,"latitude_deg":10.5600616,"altitude":6,"angle":145,"satellites":44,"speed":30,"hex_longitude":"2d51e640","hex_latitude":"064b5668","is_valid_coordinates":true} 
[2026-11-05 06:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222778368001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39735259306131456,"note":"Value kept but may cause issues"} 
[2026-11-05 06:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5896478576658984960,"note":"Value kept but may cause issues"} 
[2026-11-05 06:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1793838996000,"timestamp_ms":1793838996000,"timestamp_seconds":1793838996,"priority":1,"record_length":96,"hex_timestamp":"000001a1a922da20"} 
[2026-11-05 06:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 06:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 06:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 06:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":231226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":231226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":231226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:08:07] 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-05 06:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222778368001,"66":27397,"95":206,"78":38912,"24":30,"16":39735259306131456,"45":5896478576658984960},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-11-05 06:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222778368001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:08:07] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-11-05 06:08:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-11-05 06:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39735259306131456,"km_value":39735259306131.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5896478576658984960,"description":"Unknown IO ID 45"} 
[2026-11-05 06:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222778368001,"power":27397,"unknown_95":206,"unknown_78":38912,"ignition":30,"odometer":null,"unknown_45":5896478576658984960}} 
[2026-11-05 06:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":231226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:08:07] local.INFO: GPS data processed {"connection_id":231226,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:08:07] local.INFO: Acknowledgment sent {"connection_id":231226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:08:09] local.INFO: TCP Data received {"connection_id":231226,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9230130012d51fa40064b38d8000600922c..."} 
[2026-11-05 06:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9230130012d51fa40064b38d8000600922c..."} 
[2026-11-05 06:08:09] local.INFO: Processing buffer {"connection_id":231226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9230130012d51fa40064b38d8000600922c..."} 
[2026-11-05 06:08:09] local.INFO: Packet analysis {"connection_id":231226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a923"} 
[2026-11-05 06:08:09] local.INFO: Extracted packet for processing {"connection_id":231226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a923"} 
[2026-11-05 06:08:09] local.INFO: GPS Element Parsed {"raw_longitude":760347200,"raw_latitude":105593048,"longitude_deg":76.03472,"latitude_deg":10.5593048,"altitude":6,"angle":146,"satellites":44,"speed":40,"hex_longitude":"2d51fa40","hex_latitude":"064b38d8","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222782976001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39735701687762944,"note":"Value kept but may cause issues"} 
[2026-11-05 06:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5901474757493549056,"note":"Value kept but may cause issues"} 
[2026-11-05 06:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793839006000,"timestamp_ms":1793839006000,"timestamp_seconds":1793839006,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9230130"} 
[2026-11-05 06: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-05 06:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 06: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 06:08:09] 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-05 06: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-05 06: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-05 06:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:08:09] 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-05 06:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222782976001,"66":27376,"95":206,"78":38912,"24":40,"16":39735701687762944,"45":5901474757493549056},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-11-05 06:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222782976001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:08:09] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-11-05 06:08:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-11-05 06:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39735701687762944,"km_value":39735701687762.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":5901474757493549056,"description":"Unknown IO ID 45"} 
[2026-11-05 06:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222782976001,"power":27376,"unknown_95":206,"unknown_78":38912,"ignition":40,"odometer":null,"unknown_45":5901474757493549056}} 
[2026-11-05 06:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":231226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:08:09] local.INFO: GPS data processed {"connection_id":231226,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:08:09] local.INFO: Acknowledgment sent {"connection_id":231226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:08:42] local.INFO: TCP Data received {"connection_id":231226,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9232458012d520dc0064b1a78000700952c..."} 
[2026-11-05 06:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9232458012d520dc0064b1a78000700952c..."} 
[2026-11-05 06:08:42] local.INFO: Processing buffer {"connection_id":231226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9232458012d520dc0064b1a78000700952c..."} 
[2026-11-05 06:08:42] local.INFO: Packet analysis {"connection_id":231226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a923"} 
[2026-11-05 06:08:42] local.INFO: Extracted packet for processing {"connection_id":231226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a923"} 
[2026-11-05 06:08:42] local.INFO: GPS Element Parsed {"raw_longitude":760352192,"raw_latitude":105585272,"longitude_deg":76.0352192,"latitude_deg":10.5585272,"altitude":7,"angle":149,"satellites":44,"speed":40,"hex_longitude":"2d520dc0","hex_latitude":"064b1a78","is_valid_coordinates":true} 
[2026-11-05 06:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222785536001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39736144069394432,"note":"Value kept but may cause issues"} 
[2026-11-05 06:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5907104257025824768,"note":"Value kept but may cause issues"} 
[2026-11-05 06:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793839015000,"timestamp_ms":1793839015000,"timestamp_seconds":1793839015,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9232458"} 
[2026-11-05 06:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:08: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-05 06:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 06:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 06:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:08:42] 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-05 06:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222785536001,"66":27365,"95":206,"78":38912,"24":40,"16":39736144069394432,"45":5907104257025824768},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-11-05 06:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222785536001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:08:42] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-11-05 06:08:42] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-11-05 06:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39736144069394432,"km_value":39736144069394.43,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5907104257025824768,"description":"Unknown IO ID 45"} 
[2026-11-05 06:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222785536001,"power":27365,"unknown_95":206,"unknown_78":38912,"ignition":40,"odometer":null,"unknown_45":5907104257025824768}} 
[2026-11-05 06:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":231226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:08:42] local.INFO: GPS data processed {"connection_id":231226,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:08:42] local.INFO: Acknowledgment sent {"connection_id":231226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:09:04] local.INFO: TCP Data received {"connection_id":229925,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:09:04] local.INFO: Processing buffer {"connection_id":229925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:09:04] local.INFO: IMEI packet received {"connection_id":229925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":229925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:09:04] local.INFO: TCP Data received {"connection_id":229925,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:09:04] local.INFO: Processing buffer {"connection_id":229925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:09:04] local.INFO: IMEI packet received {"connection_id":229925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":229925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:09:09] local.INFO: TCP Data received {"connection_id":229925,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:09:09] local.INFO: Processing buffer {"connection_id":229925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:09:09] local.INFO: IMEI packet received {"connection_id":229925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":229925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:09:10] local.INFO: TCP Data received {"connection_id":229925,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9245120012d52ea000649cc000004008a2d..."} 
[2026-11-05 06:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9245120012d52ea000649cc000004008a2d..."} 
[2026-11-05 06:09:10] local.INFO: Processing buffer {"connection_id":229925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9245120012d52ea000649cc000004008a2d..."} 
[2026-11-05 06:09:10] local.INFO: Packet analysis {"connection_id":229925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a924"} 
[2026-11-05 06:09:10] local.INFO: Extracted packet for processing {"connection_id":229925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a924"} 
[2026-11-05 06:09:10] local.INFO: GPS Element Parsed {"raw_longitude":760408576,"raw_latitude":105499648,"longitude_deg":76.0408576,"latitude_deg":10.5499648,"altitude":4,"angle":138,"satellites":45,"speed":58,"hex_longitude":"2d52ea00","hex_latitude":"0649cc00","is_valid_coordinates":true} 
[2026-11-05 06:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222806016001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39741126231457792,"note":"Value kept but may cause issues"} 
[2026-11-05 06:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5967902851973103616,"note":"Value kept but may cause issues"} 
[2026-11-05 06:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793839092000,"timestamp_ms":1793839092000,"timestamp_seconds":1793839092,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9245120"} 
[2026-11-05 06:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 06:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 06:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 06:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:09:10] 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-05 06:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222806016001,"66":27376,"93":206,"78":38912,"24":58,"16":39741126231457792,"45":5967902851973103616},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-11-05 06:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222806016001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:09:10] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-11-05 06:09:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-11-05 06:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39741126231457792,"km_value":39741126231457.79,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5967902851973103616,"description":"Unknown IO ID 45"} 
[2026-11-05 06:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222806016001,"power":27376,"unknown_93":206,"unknown_78":38912,"ignition":58,"odometer":null,"unknown_45":5967902851973103616}} 
[2026-11-05 06:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":229925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:09:10] local.INFO: GPS data processed {"connection_id":229925,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:09:10] local.INFO: Acknowledgment sent {"connection_id":229925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:09:41] local.INFO: TCP Data received {"connection_id":229925,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9246890012d5300c00649b1c00004008b2d..."} 
[2026-11-05 06:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9246890012d5300c00649b1c00004008b2d..."} 
[2026-11-05 06:09:41] local.INFO: Processing buffer {"connection_id":229925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9246890012d5300c00649b1c00004008b2d..."} 
[2026-11-05 06:09:41] local.INFO: Packet analysis {"connection_id":229925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a924"} 
[2026-11-05 06:09:41] local.INFO: Extracted packet for processing {"connection_id":229925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a924"} 
[2026-11-05 06:09:41] local.INFO: GPS Element Parsed {"raw_longitude":760414400,"raw_latitude":105492928,"longitude_deg":76.04144,"latitude_deg":10.5492928,"altitude":4,"angle":139,"satellites":45,"speed":59,"hex_longitude":"2d5300c0","hex_latitude":"0649b1c0","is_valid_coordinates":true} 
[2026-11-05 06:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222807552001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39741555728187392,"note":"Value kept but may cause issues"} 
[2026-11-05 06:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5974587882668294144,"note":"Value kept but may cause issues"} 
[2026-11-05 06:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793839098000,"timestamp_ms":1793839098000,"timestamp_seconds":1793839098,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9246890"} 
[2026-11-05 06:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06: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-05 06:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 06:09:41] 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-05 06:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:09:41] 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-05 06:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222807552001,"66":27332,"93":206,"78":38912,"24":59,"16":39741555728187392,"45":5974587882668294144},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-11-05 06:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222807552001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:09:41] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-11-05 06:09:41] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-11-05 06:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39741555728187392,"km_value":39741555728187.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":5974587882668294144,"description":"Unknown IO ID 45"} 
[2026-11-05 06:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222807552001,"power":27332,"unknown_93":206,"unknown_78":38912,"ignition":59,"odometer":null,"unknown_45":5974587882668294144}} 
[2026-11-05 06:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":229925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:09:41] local.INFO: GPS data processed {"connection_id":229925,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:09:41] local.INFO: Acknowledgment sent {"connection_id":229925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:10:04] local.INFO: TCP Data received {"connection_id":229926,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:10:04] local.INFO: Processing buffer {"connection_id":229926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:10:04] local.INFO: IMEI packet received {"connection_id":229926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":229926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:10:09] local.INFO: TCP Data received {"connection_id":229926,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:10:09] local.INFO: Processing buffer {"connection_id":229926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:10:09] local.INFO: IMEI packet received {"connection_id":229926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":229926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:10:10] local.INFO: TCP Data received {"connection_id":229926,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a92483e8012d531ac0064992b80003008e2c..."} 
[2026-11-05 06:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a92483e8012d531ac0064992b80003008e2c..."} 
[2026-11-05 06:10:10] local.INFO: Processing buffer {"connection_id":229926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a92483e8012d531ac0064992b80003008e2c..."} 
[2026-11-05 06:10:10] local.INFO: Packet analysis {"connection_id":229926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a924"} 
[2026-11-05 06:10:10] local.INFO: Extracted packet for processing {"connection_id":229926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a924"} 
[2026-11-05 06:10:10] local.INFO: GPS Element Parsed {"raw_longitude":760421056,"raw_latitude":105484984,"longitude_deg":76.0421056,"latitude_deg":10.5484984,"altitude":3,"angle":142,"satellites":44,"speed":58,"hex_longitude":"2d531ac0","hex_latitude":"064992b8","is_valid_coordinates":true} 
[2026-11-05 06:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222809088001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39742053944393728,"note":"Value kept but may cause issues"} 
[2026-11-05 06:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5980991438386741248,"note":"Value kept but may cause issues"} 
[2026-11-05 06:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793839105000,"timestamp_ms":1793839105000,"timestamp_seconds":1793839105,"priority":1,"record_length":96,"hex_timestamp":"000001a1a92483e8"} 
[2026-11-05 06:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 06:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 06:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 06:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:10:10] 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-05 06:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222809088001,"66":27343,"193":206,"78":38912,"24":58,"16":39742053944393728,"45":5980991438386741248},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,78,24,16,45]} 
[2026-11-05 06:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222809088001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:10:10] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-11-05 06:10:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-11-05 06:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39742053944393728,"km_value":39742053944393.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5980991438386741248,"description":"Unknown IO ID 45"} 
[2026-11-05 06:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222809088001,"power":27343,"unknown_193":206,"unknown_78":38912,"ignition":58,"odometer":null,"unknown_45":5980991438386741248}} 
[2026-11-05 06:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":229926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:10:10] local.INFO: GPS data processed {"connection_id":229926,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:10:10] local.INFO: Acknowledgment sent {"connection_id":229926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:10:41] local.INFO: TCP Data received {"connection_id":229926,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a925bc68012d53db40064825c8000700ac2d..."} 
[2026-11-05 06:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a925bc68012d53db40064825c8000700ac2d..."} 
[2026-11-05 06:10:41] local.INFO: Processing buffer {"connection_id":229926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a925bc68012d53db40064825c8000700ac2d..."} 
[2026-11-05 06:10:41] local.INFO: Packet analysis {"connection_id":229926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a925"} 
[2026-11-05 06:10:41] local.INFO: Extracted packet for processing {"connection_id":229926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a925"} 
[2026-11-05 06:10:41] local.INFO: GPS Element Parsed {"raw_longitude":760470336,"raw_latitude":105391560,"longitude_deg":76.0470336,"latitude_deg":10.539156,"altitude":7,"angle":172,"satellites":45,"speed":56,"hex_longitude":"2d53db40","hex_latitude":"064825c8","is_valid_coordinates":true} 
[2026-11-05 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-05 06:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222831360001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39747186430312448,"note":"Value kept but may cause issues"} 
[2026-11-05 06:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042493720772069376,"note":"Value kept but may cause issues"} 
[2026-11-05 06:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793839185000,"timestamp_ms":1793839185000,"timestamp_seconds":1793839185,"priority":1,"record_length":96,"hex_timestamp":"000001a1a925bc68"} 
[2026-11-05 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-05 06:10: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-05 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 06:10:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 06:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:10:41] 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-05 06:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222831360001,"66":27332,"194":206,"78":38912,"24":56,"16":39747186430312448,"45":6042493720772069376},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,78,24,16,45]} 
[2026-11-05 06:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222831360001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:10:41] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-11-05 06:10:41] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-11-05 06:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39747186430312448,"km_value":39747186430312.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042493720772069376,"description":"Unknown IO ID 45"} 
[2026-11-05 06:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222831360001,"power":27332,"unknown_194":206,"unknown_78":38912,"ignition":56,"odometer":null,"unknown_45":6042493720772069376}} 
[2026-11-05 06:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":229926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:10:41] local.INFO: GPS data processed {"connection_id":229926,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:10:41] local.INFO: Acknowledgment sent {"connection_id":229926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:11:05] local.INFO: TCP Data received {"connection_id":229435,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:11:05] local.INFO: Processing buffer {"connection_id":229435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:11:05] local.INFO: IMEI packet received {"connection_id":229435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":229435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:11:05] local.INFO: TCP Data received {"connection_id":229435,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:11:05] local.INFO: Processing buffer {"connection_id":229435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:11:05] local.INFO: IMEI packet received {"connection_id":229435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":229435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:11:09] local.INFO: TCP Data received {"connection_id":229435,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:11:09] local.INFO: Processing buffer {"connection_id":229435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:11:09] local.INFO: IMEI packet received {"connection_id":229435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":229435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:11:10] local.INFO: TCP Data received {"connection_id":229435,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a925d7c0012d53ddc006480080000600b32c..."} 
[2026-11-05 06:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a925d7c0012d53ddc006480080000600b32c..."} 
[2026-11-05 06:11:10] local.INFO: Processing buffer {"connection_id":229435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a925d7c0012d53ddc006480080000600b32c..."} 
[2026-11-05 06:11:10] local.INFO: Packet analysis {"connection_id":229435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a925"} 
[2026-11-05 06:11:10] local.INFO: Extracted packet for processing {"connection_id":229435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a925"} 
[2026-11-05 06:11:10] local.INFO: GPS Element Parsed {"raw_longitude":760470976,"raw_latitude":105382016,"longitude_deg":76.0470976,"latitude_deg":10.5382016,"altitude":6,"angle":179,"satellites":44,"speed":52,"hex_longitude":"2d53ddc0","hex_latitude":"06480080","is_valid_coordinates":true} 
[2026-11-05 06:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222831360001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39747650286780416,"note":"Value kept but may cause issues"} 
[2026-11-05 06:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042493720772069376,"note":"Value kept but may cause issues"} 
[2026-11-05 06:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793839192000,"timestamp_ms":1793839192000,"timestamp_seconds":1793839192,"priority":1,"record_length":96,"hex_timestamp":"000001a1a925d7c0"} 
[2026-11-05 06:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 06:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 06:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 06:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:11:10] 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-05 06:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222831360001,"66":27365,"99":206,"78":38912,"24":52,"16":39747650286780416,"45":6042493720772069376},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-11-05 06:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222831360001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:11:10] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-11-05 06:11:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-11-05 06:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39747650286780416,"km_value":39747650286780.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042493720772069376,"description":"Unknown IO ID 45"} 
[2026-11-05 06:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222831360001,"power":27365,"unknown_99":206,"unknown_78":38912,"ignition":52,"odometer":null,"unknown_45":6042493720772069376}} 
[2026-11-05 06:11:10] 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":61639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:11:10] local.INFO: GPS data processed {"connection_id":229435,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:11:10] local.INFO: Acknowledgment sent {"connection_id":229435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:11:11] local.INFO: TCP Data received {"connection_id":229927,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229927,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:11:11] local.INFO: Processing buffer {"connection_id":229927,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:11:11] local.INFO: IMEI packet received {"connection_id":229927,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 06:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":229927,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:11:47] local.INFO: TCP Data received {"connection_id":229435,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a925fed0012d53de000647dd20000500b42d..."} 
[2026-11-05 06:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a925fed0012d53de000647dd20000500b42d..."} 
[2026-11-05 06:11:47] local.INFO: Processing buffer {"connection_id":229435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a925fed0012d53de000647dd20000500b42d..."} 
[2026-11-05 06:11:47] local.INFO: Packet analysis {"connection_id":229435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a925"} 
[2026-11-05 06:11:47] local.INFO: Extracted packet for processing {"connection_id":229435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a925"} 
[2026-11-05 06:11:47] local.INFO: GPS Element Parsed {"raw_longitude":760471040,"raw_latitude":105372960,"longitude_deg":76.047104,"latitude_deg":10.537296,"altitude":5,"angle":180,"satellites":45,"speed":28,"hex_longitude":"2d53de00","hex_latitude":"0647dd20","is_valid_coordinates":true} 
[2026-11-05 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-05 06:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222833152001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39748088373444608,"note":"Value kept but may cause issues"} 
[2026-11-05 06:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6043197408211402752,"note":"Value kept but may cause issues"} 
[2026-11-05 06:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793839202000,"timestamp_ms":1793839202000,"timestamp_seconds":1793839202,"priority":1,"record_length":96,"hex_timestamp":"000001a1a925fed0"} 
[2026-11-05 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-05 06:11: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-05 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 06:11:47] 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-05 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-05 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-05 06:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:11:47] 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-05 06:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222833152001,"66":27332,"99":206,"78":38912,"24":28,"16":39748088373444608,"45":6043197408211402752},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-11-05 06:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222833152001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:11:47] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-11-05 06:11:47] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-11-05 06:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39748088373444608,"km_value":39748088373444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":6043197408211402752,"description":"Unknown IO ID 45"} 
[2026-11-05 06:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222833152001,"power":27332,"unknown_99":206,"unknown_78":38912,"ignition":28,"odometer":null,"unknown_45":6043197408211402752}} 
[2026-11-05 06:11:47] 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":61640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:11:47] local.INFO: GPS data processed {"connection_id":229435,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:11:47] local.INFO: Acknowledgment sent {"connection_id":229435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:12:06] local.INFO: TCP Data received {"connection_id":233140,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:12:06] local.INFO: Processing buffer {"connection_id":233140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:12:06] local.INFO: IMEI packet received {"connection_id":233140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":233140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:12:09] local.INFO: TCP Data received {"connection_id":233140,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:12:09] local.INFO: Processing buffer {"connection_id":233140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:12:09] local.INFO: IMEI packet received {"connection_id":233140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":233140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:12:14] local.INFO: TCP Data received {"connection_id":233140,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:12:14] local.INFO: Processing buffer {"connection_id":233140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:12:14] local.INFO: IMEI packet received {"connection_id":233140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":233140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:12:16] local.INFO: TCP Data received {"connection_id":233140,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9262db0012d53dac00647ba08000400b52c..."} 
[2026-11-05 06:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9262db0012d53dac00647ba08000400b52c..."} 
[2026-11-05 06:12:16] local.INFO: Processing buffer {"connection_id":233140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9262db0012d53dac00647ba08000400b52c..."} 
[2026-11-05 06:12:16] local.INFO: Packet analysis {"connection_id":233140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a926"} 
[2026-11-05 06:12:16] local.INFO: Extracted packet for processing {"connection_id":233140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a926"} 
[2026-11-05 06:12:16] local.INFO: GPS Element Parsed {"raw_longitude":760470208,"raw_latitude":105363976,"longitude_deg":76.0470208,"latitude_deg":10.5363976,"altitude":4,"angle":181,"satellites":44,"speed":29,"hex_longitude":"2d53dac0","hex_latitude":"0647ba08","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222835712001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39748526460108800,"note":"Value kept but may cause issues"} 
[2026-11-05 06:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6043267776953262080,"note":"Value kept but may cause issues"} 
[2026-11-05 06:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793839214000,"timestamp_ms":1793839214000,"timestamp_seconds":1793839214,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9262db0"} 
[2026-11-05 06: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-05 06:12: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-05 06: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 06:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 06: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-05 06: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-05 06:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":233140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":233140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":233140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:12:16] 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-05 06:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222835712001,"66":27234,"99":206,"78":38912,"24":29,"16":39748526460108800,"45":6043267776953262080},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-11-05 06:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222835712001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:12:16] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-11-05 06:12:16] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-11-05 06:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39748526460108800,"km_value":39748526460108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":6043267776953262080,"description":"Unknown IO ID 45"} 
[2026-11-05 06:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222835712001,"power":27234,"unknown_99":206,"unknown_78":38912,"ignition":29,"odometer":null,"unknown_45":6043267776953262080}} 
[2026-11-05 06:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":233140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:12:16] local.INFO: GPS data processed {"connection_id":233140,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:12:16] local.INFO: Acknowledgment sent {"connection_id":233140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:12:17] local.INFO: TCP Data received {"connection_id":233140,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9265c90012d53dac0064795b8000500b42c..."} 
[2026-11-05 06:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9265c90012d53dac0064795b8000500b42c..."} 
[2026-11-05 06:12:17] local.INFO: Processing buffer {"connection_id":233140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9265c90012d53dac0064795b8000500b42c..."} 
[2026-11-05 06:12:17] local.INFO: Packet analysis {"connection_id":233140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a926"} 
[2026-11-05 06:12:17] local.INFO: Extracted packet for processing {"connection_id":233140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a926"} 
[2026-11-05 06:12:17] local.INFO: GPS Element Parsed {"raw_longitude":760470208,"raw_latitude":105354680,"longitude_deg":76.0470208,"latitude_deg":10.535468,"altitude":5,"angle":180,"satellites":44,"speed":31,"hex_longitude":"2d53dac0","hex_latitude":"064795b8","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222838784001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39748977431674880,"note":"Value kept but may cause issues"} 
[2026-11-05 06:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042352983276652544,"note":"Value kept but may cause issues"} 
[2026-11-05 06:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793839226000,"timestamp_ms":1793839226000,"timestamp_seconds":1793839226,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9265c90"} 
[2026-11-05 06: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-05 06:12: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-05 06: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 06:12:17] 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-05 06: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-05 06: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-05 06:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":233140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":233140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":233140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:12: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-05 06:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222838784001,"66":27017,"99":206,"78":38912,"24":31,"16":39748977431674880,"45":6042352983276652544},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-11-05 06:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222838784001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:12:17] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-11-05 06:12:17] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-11-05 06:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39748977431674880,"km_value":39748977431674.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042352983276652544,"description":"Unknown IO ID 45"} 
[2026-11-05 06:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222838784001,"power":27017,"unknown_99":206,"unknown_78":38912,"ignition":31,"odometer":null,"unknown_45":6042352983276652544}} 
[2026-11-05 06:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":233140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:12:17] local.INFO: GPS data processed {"connection_id":233140,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:12:17] local.INFO: Acknowledgment sent {"connection_id":233140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:12:48] local.INFO: TCP Data received {"connection_id":233140,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9268f58012d53db40064770d8000700b12d..."} 
[2026-11-05 06:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9268f58012d53db40064770d8000700b12d..."} 
[2026-11-05 06:12:48] local.INFO: Processing buffer {"connection_id":233140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9268f58012d53db40064770d8000700b12d..."} 
[2026-11-05 06:12:48] local.INFO: Packet analysis {"connection_id":233140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a926"} 
[2026-11-05 06:12:48] local.INFO: Extracted packet for processing {"connection_id":233140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a926"} 
[2026-11-05 06:12:48] local.INFO: GPS Element Parsed {"raw_longitude":760470336,"raw_latitude":105345240,"longitude_deg":76.0470336,"latitude_deg":10.534524,"altitude":7,"angle":177,"satellites":45,"speed":28,"hex_longitude":"2d53db40","hex_latitude":"064770d8","is_valid_coordinates":true} 
[2026-11-05 06:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222841856001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39749436993175552,"note":"Value kept but may cause issues"} 
[2026-11-05 06:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042352983274272768,"note":"Value kept but may cause issues"} 
[2026-11-05 06:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793839239000,"timestamp_ms":1793839239000,"timestamp_seconds":1793839239,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9268f58"} 
[2026-11-05 06:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:12: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-05 06:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-11-05 06:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1956,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 06:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":233140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":233140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":233140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:12:48] 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-05 06:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222841856001,"66":27397,"99":206,"78":38912,"24":28,"16":39749436993175552,"45":6042352983274272768},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-11-05 06:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222841856001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:12:48] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-11-05 06:12:48] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-11-05 06:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39749436993175552,"km_value":39749436993175.555,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042352983274272768,"description":"Unknown IO ID 45"} 
[2026-11-05 06:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222841856001,"power":27397,"unknown_99":206,"unknown_78":38912,"ignition":28,"odometer":null,"unknown_45":6042352983274272768}} 
[2026-11-05 06:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":233140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:12:48] local.INFO: GPS data processed {"connection_id":233140,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:12:48] local.INFO: Acknowledgment sent {"connection_id":233140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:13:04] local.INFO: TCP Data received {"connection_id":231228,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:13:04] local.INFO: Processing buffer {"connection_id":231228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:13:04] local.INFO: IMEI packet received {"connection_id":231228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":231228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:13:05] local.INFO: TCP Data received {"connection_id":231228,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:13:05] local.INFO: Processing buffer {"connection_id":231228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:13:05] local.INFO: IMEI packet received {"connection_id":231228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":231228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:13:09] local.INFO: TCP Data received {"connection_id":231228,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:13:09] local.INFO: Processing buffer {"connection_id":231228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:13:09] local.INFO: IMEI packet received {"connection_id":231228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":231228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:13:11] local.INFO: TCP Data received {"connection_id":231228,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a926c608012d53db8006474c58000900b32a..."} 
[2026-11-05 06:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a926c608012d53db8006474c58000900b32a..."} 
[2026-11-05 06:13:11] local.INFO: Processing buffer {"connection_id":231228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a926c608012d53db8006474c58000900b32a..."} 
[2026-11-05 06:13:11] local.INFO: Packet analysis {"connection_id":231228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a926"} 
[2026-11-05 06:13:11] local.INFO: Extracted packet for processing {"connection_id":231228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a926"} 
[2026-11-05 06:13:11] local.INFO: GPS Element Parsed {"raw_longitude":760470400,"raw_latitude":105335896,"longitude_deg":76.04704,"latitude_deg":10.5335896,"altitude":9,"angle":179,"satellites":42,"speed":27,"hex_longitude":"2d53db80","hex_latitude":"06474c58","is_valid_coordinates":true} 
[2026-11-05 06:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222845184001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39749887964741632,"note":"Value kept but may cause issues"} 
[2026-11-05 06:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042493720760211456,"note":"Value kept but may cause issues"} 
[2026-11-05 06:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793839253000,"timestamp_ms":1793839253000,"timestamp_seconds":1793839253,"priority":1,"record_length":96,"hex_timestamp":"000001a1a926c608"} 
[2026-11-05 06:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:13: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-05 06:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 06:13:11] 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-05 06:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:13:11] 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-05 06:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222845184001,"66":27484,"99":206,"78":38912,"24":27,"16":39749887964741632,"45":6042493720760211456},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-11-05 06:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222845184001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:13:11] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-11-05 06:13:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-11-05 06:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39749887964741632,"km_value":39749887964741.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042493720760211456,"description":"Unknown IO ID 45"} 
[2026-11-05 06:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222845184001,"power":27484,"unknown_99":206,"unknown_78":38912,"ignition":27,"odometer":null,"unknown_45":6042493720760211456}} 
[2026-11-05 06:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":231228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:13:11] local.INFO: GPS data processed {"connection_id":231228,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:13:11] local.INFO: Acknowledgment sent {"connection_id":231228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:13:42] local.INFO: TCP Data received {"connection_id":231228,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9288b28012d5465800645b520000600982d..."} 
[2026-11-05 06:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9288b28012d5465800645b520000600982d..."} 
[2026-11-05 06:13:42] local.INFO: Processing buffer {"connection_id":231228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9288b28012d5465800645b520000600982d..."} 
[2026-11-05 06:13:42] local.INFO: Packet analysis {"connection_id":231228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a928"} 
[2026-11-05 06:13:42] local.INFO: Extracted packet for processing {"connection_id":231228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a928"} 
[2026-11-05 06:13:42] local.INFO: GPS Element Parsed {"raw_longitude":760505728,"raw_latitude":105231648,"longitude_deg":76.0505728,"latitude_deg":10.5231648,"altitude":6,"angle":152,"satellites":45,"speed":53,"hex_longitude":"2d546580","hex_latitude":"0645b520","is_valid_coordinates":true} 
[2026-11-05 06:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222876672001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39755355458109440,"note":"Value kept but may cause issues"} 
[2026-11-05 06:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6076481824171051008,"note":"Value kept but may cause issues"} 
[2026-11-05 06:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793839369000,"timestamp_ms":1793839369000,"timestamp_seconds":1793839369,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9288b28"} 
[2026-11-05 06:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:13: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-05 06:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 06:13:42] 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-05 06:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:13:42] 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-05 06:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222876672001,"66":27463,"232":206,"78":38912,"24":53,"16":39755355458109440,"45":6076481824171051008},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,78,24,16,45]} 
[2026-11-05 06:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222876672001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:13:42] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-11-05 06:13:42] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-11-05 06:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39755355458109440,"km_value":39755355458109.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6076481824171051008,"description":"Unknown IO ID 45"} 
[2026-11-05 06:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222876672001,"power":27463,"unknown_232":206,"unknown_78":38912,"ignition":53,"odometer":null,"unknown_45":6076481824171051008}} 
[2026-11-05 06:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":231228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:13:42] local.INFO: GPS data processed {"connection_id":231228,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:13:42] local.INFO: Acknowledgment sent {"connection_id":231228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:14:04] local.INFO: TCP Data received {"connection_id":229437,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:14:04] local.INFO: Processing buffer {"connection_id":229437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:14:04] local.INFO: IMEI packet received {"connection_id":229437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":229437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:14:08] local.INFO: TCP Data received {"connection_id":229437,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:14:08] local.INFO: Processing buffer {"connection_id":229437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:14:08] local.INFO: IMEI packet received {"connection_id":229437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":229437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:14:09] local.INFO: TCP Data received {"connection_id":229437,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a928a680012d5477c0064593d8000700982d..."} 
[2026-11-05 06:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a928a680012d5477c0064593d8000700982d..."} 
[2026-11-05 06:14:09] local.INFO: Processing buffer {"connection_id":229437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a928a680012d5477c0064593d8000700982d..."} 
[2026-11-05 06:14:09] local.INFO: Packet analysis {"connection_id":229437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a928"} 
[2026-11-05 06:14:09] local.INFO: Extracted packet for processing {"connection_id":229437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a928"} 
[2026-11-05 06:14:09] local.INFO: GPS Element Parsed {"raw_longitude":760510400,"raw_latitude":105223128,"longitude_deg":76.05104,"latitude_deg":10.5223128,"altitude":7,"angle":152,"satellites":45,"speed":56,"hex_longitude":"2d5477c0","hex_latitude":"064593d8","is_valid_coordinates":true} 
[2026-11-05 06:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222878464001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39755823609544704,"note":"Value kept but may cause issues"} 
[2026-11-05 06:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6081407636261380096,"note":"Value kept but may cause issues"} 
[2026-11-05 06:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793839376000,"timestamp_ms":1793839376000,"timestamp_seconds":1793839376,"priority":1,"record_length":96,"hex_timestamp":"000001a1a928a680"} 
[2026-11-05 06:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 06:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 06:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 06:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:14:09] 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-05 06:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222878464001,"66":27343,"232":206,"78":38912,"24":56,"16":39755823609544704,"45":6081407636261380096},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,78,24,16,45]} 
[2026-11-05 06:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222878464001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:14:09] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-11-05 06:14:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-11-05 06:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39755823609544704,"km_value":39755823609544.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6081407636261380096,"description":"Unknown IO ID 45"} 
[2026-11-05 06:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222878464001,"power":27343,"unknown_232":206,"unknown_78":38912,"ignition":56,"odometer":null,"unknown_45":6081407636261380096}} 
[2026-11-05 06:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":229437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:14:09] local.INFO: GPS data processed {"connection_id":229437,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:14:09] local.INFO: Acknowledgment sent {"connection_id":229437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:14:41] local.INFO: TCP Data received {"connection_id":229437,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a928c1d8012d548a80064570e8000700982d..."} 
[2026-11-05 06:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a928c1d8012d548a80064570e8000700982d..."} 
[2026-11-05 06:14:41] local.INFO: Processing buffer {"connection_id":229437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a928c1d8012d548a80064570e8000700982d..."} 
[2026-11-05 06:14:41] local.INFO: Packet analysis {"connection_id":229437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a928"} 
[2026-11-05 06:14:41] local.INFO: Extracted packet for processing {"connection_id":229437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a928"} 
[2026-11-05 06:14:41] local.INFO: GPS Element Parsed {"raw_longitude":760515200,"raw_latitude":105214184,"longitude_deg":76.05152,"latitude_deg":10.5214184,"altitude":7,"angle":152,"satellites":45,"speed":58,"hex_longitude":"2d548a80","hex_latitude":"064570e8","is_valid_coordinates":true} 
[2026-11-05 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-05 06:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222880256001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39756313235816448,"note":"Value kept but may cause issues"} 
[2026-11-05 06:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6086544554584168448,"note":"Value kept but may cause issues"} 
[2026-11-05 06:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793839383000,"timestamp_ms":1793839383000,"timestamp_seconds":1793839383,"priority":1,"record_length":96,"hex_timestamp":"000001a1a928c1d8"} 
[2026-11-05 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-05 06:14: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-05 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 06:14:41] 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-05 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-05 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-05 06:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:14:41] 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-05 06:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222880256001,"66":27463,"217":206,"78":38912,"24":58,"16":39756313235816448,"45":6086544554584168448},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-11-05 06:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222880256001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:14:41] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-11-05 06:14:41] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-11-05 06:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39756313235816448,"km_value":39756313235816.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6086544554584168448,"description":"Unknown IO ID 45"} 
[2026-11-05 06:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222880256001,"power":27463,"unknown_217":206,"unknown_78":38912,"ignition":58,"odometer":null,"unknown_45":6086544554584168448}} 
[2026-11-05 06:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":229437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:14:41] local.INFO: GPS data processed {"connection_id":229437,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:14:41] local.INFO: Acknowledgment sent {"connection_id":229437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:15:04] local.INFO: TCP Data received {"connection_id":233143,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:15:04] local.INFO: Processing buffer {"connection_id":233143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:15:04] local.INFO: IMEI packet received {"connection_id":233143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":233143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:15:07] local.INFO: TCP Data received {"connection_id":233143,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:15:07] local.INFO: Processing buffer {"connection_id":233143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:15:07] local.INFO: IMEI packet received {"connection_id":233143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":233143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:15:08] local.INFO: TCP Data received {"connection_id":233143,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a929db18012d55504006440af0000600982e..."} 
[2026-11-05 06:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a929db18012d55504006440af0000600982e..."} 
[2026-11-05 06:15:08] local.INFO: Processing buffer {"connection_id":233143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a929db18012d55504006440af0000600982e..."} 
[2026-11-05 06:15:08] local.INFO: Packet analysis {"connection_id":233143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a929"} 
[2026-11-05 06:15:08] local.INFO: Extracted packet for processing {"connection_id":233143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a929"} 
[2026-11-05 06:15:08] local.INFO: GPS Element Parsed {"raw_longitude":760565824,"raw_latitude":105122544,"longitude_deg":76.0565824,"latitude_deg":10.5122544,"altitude":6,"angle":152,"satellites":46,"speed":60,"hex_longitude":"2d555040","hex_latitude":"06440af0","is_valid_coordinates":true} 
[2026-11-05 06:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222898944001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39761372707291136,"note":"Value kept but may cause issues"} 
[2026-11-05 06:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6142839549902686208,"note":"Value kept but may cause issues"} 
[2026-11-05 06:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793839455000,"timestamp_ms":1793839455000,"timestamp_seconds":1793839455,"priority":1,"record_length":96,"hex_timestamp":"000001a1a929db18"} 
[2026-11-05 06:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:15: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-05 06:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 06:15:08] 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-05 06:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":233143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":233143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":233143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:15:08] 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-05 06:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222898944001,"66":27376,"216":206,"78":38912,"24":60,"16":39761372707291136,"45":6142839549902686208},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-11-05 06:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222898944001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:15:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-11-05 06:15:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-11-05 06:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39761372707291136,"km_value":39761372707291.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6142839549902686208,"description":"Unknown IO ID 45"} 
[2026-11-05 06:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222898944001,"power":27376,"unknown_216":206,"unknown_78":38912,"ignition":60,"odometer":null,"unknown_45":6142839549902686208}} 
[2026-11-05 06:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":233143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:15:08] local.INFO: GPS data processed {"connection_id":233143,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:15:08] local.INFO: Acknowledgment sent {"connection_id":233143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:15:43] local.INFO: TCP Data received {"connection_id":233143,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a929f670012d5564800643e808000700942e..."} 
[2026-11-05 06:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a929f670012d5564800643e808000700942e..."} 
[2026-11-05 06:15:43] local.INFO: Processing buffer {"connection_id":233143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a929f670012d5564800643e808000700942e..."} 
[2026-11-05 06:15:43] local.INFO: Packet analysis {"connection_id":233143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a929"} 
[2026-11-05 06:15:43] local.INFO: Extracted packet for processing {"connection_id":233143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a929"} 
[2026-11-05 06:15:43] local.INFO: GPS Element Parsed {"raw_longitude":760571008,"raw_latitude":105113608,"longitude_deg":76.0571008,"latitude_deg":10.5113608,"altitude":7,"angle":148,"satellites":46,"speed":57,"hex_longitude":"2d556480","hex_latitude":"0643e808","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222900480001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39761870923497472,"note":"Value kept but may cause issues"} 
[2026-11-05 06:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6147483887016275968,"note":"Value kept but may cause issues"} 
[2026-11-05 06:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793839462000,"timestamp_ms":1793839462000,"timestamp_seconds":1793839462,"priority":1,"record_length":96,"hex_timestamp":"000001a1a929f670"} 
[2026-11-05 06: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-05 06:15: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-05 06: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 06:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 06: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-05 06: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-05 06:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":233143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":233143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":233143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:15:43] 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-05 06:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222900480001,"66":27767,"216":206,"78":38912,"24":57,"16":39761870923497472,"45":6147483887016275968},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-11-05 06:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222900480001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:15:43] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-11-05 06:15:43] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-11-05 06:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39761870923497472,"km_value":39761870923497.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":6147483887016275968,"description":"Unknown IO ID 45"} 
[2026-11-05 06:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222900480001,"power":27767,"unknown_216":206,"unknown_78":38912,"ignition":57,"odometer":null,"unknown_45":6147483887016275968}} 
[2026-11-05 06:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":233143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:15:43] local.INFO: GPS data processed {"connection_id":233143,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:15:43] local.INFO: Acknowledgment sent {"connection_id":233143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:16:04] local.INFO: TCP Data received {"connection_id":231229,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:16:04] local.INFO: Processing buffer {"connection_id":231229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:16:04] local.INFO: IMEI packet received {"connection_id":231229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":231229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:16:08] local.INFO: TCP Data received {"connection_id":231229,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:16:08] local.INFO: Processing buffer {"connection_id":231229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:16:08] local.INFO: IMEI packet received {"connection_id":231229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":231229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:16:09] local.INFO: TCP Data received {"connection_id":231229,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:16:09] local.INFO: Processing buffer {"connection_id":231229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:16:09] local.INFO: IMEI packet received {"connection_id":231229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":231229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:16:11] local.INFO: TCP Data received {"connection_id":231229,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a92a11c8012d5579000643c710000a00952c..."} 
[2026-11-05 06:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a92a11c8012d5579000643c710000a00952c..."} 
[2026-11-05 06:16:11] local.INFO: Processing buffer {"connection_id":231229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a92a11c8012d5579000643c710000a00952c..."} 
[2026-11-05 06:16:11] local.INFO: Packet analysis {"connection_id":231229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a92a"} 
[2026-11-05 06:16:11] local.INFO: Extracted packet for processing {"connection_id":231229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a92a"} 
[2026-11-05 06:16:11] local.INFO: GPS Element Parsed {"raw_longitude":760576256,"raw_latitude":105105168,"longitude_deg":76.0576256,"latitude_deg":10.5105168,"altitude":10,"angle":149,"satellites":44,"speed":55,"hex_longitude":"2d557900","hex_latitude":"0643c710","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222902272001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39762351959834624,"note":"Value kept but may cause issues"} 
[2026-11-05 06:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6153183755292379136,"note":"Value kept but may cause issues"} 
[2026-11-05 06:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793839469000,"timestamp_ms":1793839469000,"timestamp_seconds":1793839469,"priority":1,"record_length":96,"hex_timestamp":"000001a1a92a11c8"} 
[2026-11-05 06: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-05 06:16: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-05 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-05 06:16: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-05 06: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-05 06: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-05 06:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:16:11] 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-05 06:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222902272001,"66":27658,"216":206,"78":38912,"24":55,"16":39762351959834624,"45":6153183755292379136},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-11-05 06:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222902272001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:16:11] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-11-05 06:16:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-11-05 06:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39762351959834624,"km_value":39762351959834.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6153183755292379136,"description":"Unknown IO ID 45"} 
[2026-11-05 06:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222902272001,"power":27658,"unknown_216":206,"unknown_78":38912,"ignition":55,"odometer":null,"unknown_45":6153183755292379136}} 
[2026-11-05 06:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":231229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:16:11] local.INFO: GPS data processed {"connection_id":231229,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:16:11] local.INFO: Acknowledgment sent {"connection_id":231229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:16:15] local.INFO: TCP Data received {"connection_id":231229,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a92a2d20012d558c400643a6f0000c00942c..."} 
[2026-11-05 06:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a92a2d20012d558c400643a6f0000c00942c..."} 
[2026-11-05 06:16:15] local.INFO: Processing buffer {"connection_id":231229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a92a2d20012d558c400643a6f0000c00942c..."} 
[2026-11-05 06:16:15] local.INFO: Packet analysis {"connection_id":231229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a92a"} 
[2026-11-05 06:16:15] local.INFO: Extracted packet for processing {"connection_id":231229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a92a"} 
[2026-11-05 06:16:15] local.INFO: GPS Element Parsed {"raw_longitude":760581184,"raw_latitude":105096944,"longitude_deg":76.0581184,"latitude_deg":10.5096944,"altitude":12,"angle":148,"satellites":44,"speed":54,"hex_longitude":"2d558c40","hex_latitude":"0643a6f0","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222904064001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39762815816302592,"note":"Value kept but may cause issues"} 
[2026-11-05 06:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6158953992312786944,"note":"Value kept but may cause issues"} 
[2026-11-05 06:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793839476000,"timestamp_ms":1793839476000,"timestamp_seconds":1793839476,"priority":1,"record_length":96,"hex_timestamp":"000001a1a92a2d20"} 
[2026-11-05 06: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-05 06:16: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-05 06: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-11-05 06:16: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-05 06: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-05 06: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-05 06:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":231229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":231229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":231229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:16:15] 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-05 06:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222904064001,"66":27930,"216":206,"78":38912,"24":54,"16":39762815816302592,"45":6158953992312786944},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-11-05 06:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222904064001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:16:15] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-11-05 06:16:15] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-11-05 06:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39762815816302592,"km_value":39762815816302.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":6158953992312786944,"description":"Unknown IO ID 45"} 
[2026-11-05 06:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222904064001,"power":27930,"unknown_216":206,"unknown_78":38912,"ignition":54,"odometer":null,"unknown_45":6158953992312786944}} 
[2026-11-05 06:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":231229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:16:15] local.INFO: GPS data processed {"connection_id":231229,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:16:15] local.INFO: Acknowledgment sent {"connection_id":231229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:16:42] local.INFO: TCP Data received {"connection_id":229928,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229928,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:16:42] local.INFO: Processing buffer {"connection_id":229928,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:16:42] local.INFO: IMEI packet received {"connection_id":229928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 06:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":229928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:16:46] local.INFO: TCP Data received {"connection_id":231229,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a92b4e30012d56474006423bd8000700932d..."} 
[2026-11-05 06:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a92b4e30012d56474006423bd8000700932d..."} 
[2026-11-05 06:16:46] local.INFO: Processing buffer {"connection_id":231229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a92b4e30012d56474006423bd8000700932d..."} 
[2026-11-05 06:16:46] local.INFO: Packet analysis {"connection_id":231229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a92b"} 
[2026-11-05 06:16:46] local.INFO: Extracted packet for processing {"connection_id":231229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a92b"} 
[2026-11-05 06:16:46] local.INFO: GPS Element Parsed {"raw_longitude":760629056,"raw_latitude":105003992,"longitude_deg":76.0629056,"latitude_deg":10.5003992,"altitude":7,"angle":147,"satellites":45,"speed":53,"hex_longitude":"2d564740","hex_latitude":"06423bd8","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222923008001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39767870992809984,"note":"Value kept but may cause issues"} 
[2026-11-05 06:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6211378706701297664,"note":"Value kept but may cause issues"} 
[2026-11-05 06:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793839550000,"timestamp_ms":1793839550000,"timestamp_seconds":1793839550,"priority":1,"record_length":96,"hex_timestamp":"000001a1a92b4e30"} 
[2026-11-05 06: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-05 06:16: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-05 06: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-05 06:16: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-05 06: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-05 06: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-05 06:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":231229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":231229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":231229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:16:46] 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-05 06:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222923008001,"66":27767,"249":206,"78":38912,"24":53,"16":39767870992809984,"45":6211378706701297664},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,78,24,16,45]} 
[2026-11-05 06:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222923008001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:16:46] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-11-05 06:16:46] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-11-05 06:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39767870992809984,"km_value":39767870992809.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":6211378706701297664,"description":"Unknown IO ID 45"} 
[2026-11-05 06:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222923008001,"power":27767,"unknown_249":206,"unknown_78":38912,"ignition":53,"odometer":null,"unknown_45":6211378706701297664}} 
[2026-11-05 06:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":231229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:16:46] local.INFO: GPS data processed {"connection_id":231229,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:16:46] local.INFO: Acknowledgment sent {"connection_id":231229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:17:03] local.INFO: TCP Data received {"connection_id":229929,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:17:03] local.INFO: Processing buffer {"connection_id":229929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:17:03] local.INFO: IMEI packet received {"connection_id":229929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":229929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:17:04] local.INFO: TCP Data received {"connection_id":229929,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:17:04] local.INFO: Processing buffer {"connection_id":229929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:17:04] local.INFO: IMEI packet received {"connection_id":229929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":229929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:17:07] local.INFO: TCP Data received {"connection_id":229930,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:17:07] local.INFO: Processing buffer {"connection_id":229930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:17:07] local.INFO: IMEI packet received {"connection_id":229930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 06:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":229930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:17:09] local.INFO: TCP Data received {"connection_id":229929,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:17:09] local.INFO: Processing buffer {"connection_id":229929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:17:09] local.INFO: IMEI packet received {"connection_id":229929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":229929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:17:10] local.INFO: TCP Data received {"connection_id":229929,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a92b6988012d565b8006421c90000600932d..."} 
[2026-11-05 06:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a92b6988012d565b8006421c90000600932d..."} 
[2026-11-05 06:17:10] local.INFO: Processing buffer {"connection_id":229929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a92b6988012d565b8006421c90000600932d..."} 
[2026-11-05 06:17:10] local.INFO: Packet analysis {"connection_id":229929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a92b"} 
[2026-11-05 06:17:10] local.INFO: Extracted packet for processing {"connection_id":229929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a92b"} 
[2026-11-05 06:17:10] local.INFO: GPS Element Parsed {"raw_longitude":760634240,"raw_latitude":104995984,"longitude_deg":76.063424,"latitude_deg":10.4995984,"altitude":6,"angle":147,"satellites":45,"speed":54,"hex_longitude":"2d565b80","hex_latitude":"06421c90","is_valid_coordinates":true} 
[2026-11-05 06:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222924800001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39768330554310656,"note":"Value kept but may cause issues"} 
[2026-11-05 06:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6217008206233458688,"note":"Value kept but may cause issues"} 
[2026-11-05 06:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793839557000,"timestamp_ms":1793839557000,"timestamp_seconds":1793839557,"priority":1,"record_length":96,"hex_timestamp":"000001a1a92b6988"} 
[2026-11-05 06:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:17: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-05 06:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-05 06:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 06:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:17:10] 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-05 06:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222924800001,"66":27745,"249":206,"78":38912,"24":54,"16":39768330554310656,"45":6217008206233458688},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,78,24,16,45]} 
[2026-11-05 06:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222924800001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:17:10] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-11-05 06:17:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-11-05 06:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39768330554310656,"km_value":39768330554310.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6217008206233458688,"description":"Unknown IO ID 45"} 
[2026-11-05 06:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222924800001,"power":27745,"unknown_249":206,"unknown_78":38912,"ignition":54,"odometer":null,"unknown_45":6217008206233458688}} 
[2026-11-05 06:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":229929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:17:10] local.INFO: GPS data processed {"connection_id":229929,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:17:10] local.INFO: Acknowledgment sent {"connection_id":229929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:17:42] local.INFO: TCP Data received {"connection_id":229929,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a92b84e0012d566ec00641fc80000600962e..."} 
[2026-11-05 06:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a92b84e0012d566ec00641fc80000600962e..."} 
[2026-11-05 06:17:42] local.INFO: Processing buffer {"connection_id":229929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a92b84e0012d566ec00641fc80000600962e..."} 
[2026-11-05 06:17:42] local.INFO: Packet analysis {"connection_id":229929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a92b"} 
[2026-11-05 06:17:42] local.INFO: Extracted packet for processing {"connection_id":229929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a92b"} 
[2026-11-05 06:17:42] local.INFO: GPS Element Parsed {"raw_longitude":760639168,"raw_latitude":104987776,"longitude_deg":76.0639168,"latitude_deg":10.4987776,"altitude":6,"angle":150,"satellites":46,"speed":54,"hex_longitude":"2d566ec0","hex_latitude":"0641fc80","is_valid_coordinates":true} 
[2026-11-05 06:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222926592001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39768794410778624,"note":"Value kept but may cause issues"} 
[2026-11-05 06:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6222708074509799424,"note":"Value kept but may cause issues"} 
[2026-11-05 06:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793839564000,"timestamp_ms":1793839564000,"timestamp_seconds":1793839564,"priority":1,"record_length":96,"hex_timestamp":"000001a1a92b84e0"} 
[2026-11-05 06:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:17: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-05 06:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 06:17: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-05 06:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:17:42] 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-05 06:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222926592001,"66":27767,"249":206,"78":38912,"24":54,"16":39768794410778624,"45":6222708074509799424},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,78,24,16,45]} 
[2026-11-05 06:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222926592001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:17:42] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-11-05 06:17:42] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-11-05 06:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39768794410778624,"km_value":39768794410778.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6222708074509799424,"description":"Unknown IO ID 45"} 
[2026-11-05 06:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222926592001,"power":27767,"unknown_249":206,"unknown_78":38912,"ignition":54,"odometer":null,"unknown_45":6222708074509799424}} 
[2026-11-05 06:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":229929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:17:42] local.INFO: GPS data processed {"connection_id":229929,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:17:42] local.INFO: Acknowledgment sent {"connection_id":229929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:18:04] local.INFO: TCP Data received {"connection_id":233145,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:18:04] local.INFO: Processing buffer {"connection_id":233145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:18:04] local.INFO: IMEI packet received {"connection_id":233145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":233145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:18:05] local.INFO: TCP Data received {"connection_id":233145,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:18:05] local.INFO: Processing buffer {"connection_id":233145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:18:05] local.INFO: IMEI packet received {"connection_id":233145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":233145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:18:09] local.INFO: TCP Data received {"connection_id":233145,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:18:09] local.INFO: Processing buffer {"connection_id":233145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:18:09] local.INFO: IMEI packet received {"connection_id":233145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":233145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:18:10] local.INFO: TCP Data received {"connection_id":233145,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a92ba038012d5680c00641db70000600982d..."} 
[2026-11-05 06:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a92ba038012d5680c00641db70000600982d..."} 
[2026-11-05 06:18:10] local.INFO: Processing buffer {"connection_id":233145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a92ba038012d5680c00641db70000600982d..."} 
[2026-11-05 06:18:10] local.INFO: Packet analysis {"connection_id":233145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a92b"} 
[2026-11-05 06:18:10] local.INFO: Extracted packet for processing {"connection_id":233145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a92b"} 
[2026-11-05 06:18:10] local.INFO: GPS Element Parsed {"raw_longitude":760643776,"raw_latitude":104979312,"longitude_deg":76.0643776,"latitude_deg":10.4979312,"altitude":6,"angle":152,"satellites":45,"speed":54,"hex_longitude":"2d5680c0","hex_latitude":"0641db70","is_valid_coordinates":true} 
[2026-11-05 06:18: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-05 06:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222928384001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39769258267246592,"note":"Value kept but may cause issues"} 
[2026-11-05 06:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6228126467809378304,"note":"Value kept but may cause issues"} 
[2026-11-05 06:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793839571000,"timestamp_ms":1793839571000,"timestamp_seconds":1793839571,"priority":1,"record_length":96,"hex_timestamp":"000001a1a92ba038"} 
[2026-11-05 06:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:18: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-05 06:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-05 06:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 06:18: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-05 06:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:18:10] 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-05 06:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222928384001,"66":27843,"249":206,"78":38912,"24":54,"16":39769258267246592,"45":6228126467809378304},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,78,24,16,45]} 
[2026-11-05 06:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222928384001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:18:10] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-11-05 06:18:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-11-05 06:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39769258267246592,"km_value":39769258267246.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6228126467809378304,"description":"Unknown IO ID 45"} 
[2026-11-05 06:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222928384001,"power":27843,"unknown_249":206,"unknown_78":38912,"ignition":54,"odometer":null,"unknown_45":6228126467809378304}} 
[2026-11-05 06:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":233145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:18:10] local.INFO: GPS data processed {"connection_id":233145,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:18:10] local.INFO: Acknowledgment sent {"connection_id":233145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:18:41] local.INFO: TCP Data received {"connection_id":233145,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a92d1738012d57f98006409458000500712b..."} 
[2026-11-05 06:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a92d1738012d57f98006409458000500712b..."} 
[2026-11-05 06:18:41] local.INFO: Processing buffer {"connection_id":233145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a92d1738012d57f98006409458000500712b..."} 
[2026-11-05 06:18:41] local.INFO: Packet analysis {"connection_id":233145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a92d"} 
[2026-11-05 06:18:41] local.INFO: Extracted packet for processing {"connection_id":233145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a92d"} 
[2026-11-05 06:18:41] local.INFO: GPS Element Parsed {"raw_longitude":760740224,"raw_latitude":104895576,"longitude_deg":76.0740224,"latitude_deg":10.4895576,"altitude":5,"angle":113,"satellites":43,"speed":56,"hex_longitude":"2d57f980","hex_latitude":"06409458","is_valid_coordinates":true} 
[2026-11-05 06:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222952960001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39775670653419520,"note":"Value kept but may cause issues"} 
[2026-11-05 06:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6328964878193414144,"note":"Value kept but may cause issues"} 
[2026-11-05 06:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793839667000,"timestamp_ms":1793839667000,"timestamp_seconds":1793839667,"priority":1,"record_length":96,"hex_timestamp":"000001a1a92d1738"} 
[2026-11-05 06:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:18: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-05 06:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-05 06:18: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-05 06:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:18:41] 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-05 06:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222952960001,"66":27745,"11":206,"78":38656,"24":56,"16":39775670653419520,"45":6328964878193414144},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-11-05 06:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222952960001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:18:41] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-11-05 06:18:41] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-11-05 06:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39775670653419520,"km_value":39775670653419.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6328964878193414144,"description":"Unknown IO ID 45"} 
[2026-11-05 06:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222952960001,"power":27745,"unknown_11":206,"unknown_78":38656,"ignition":56,"odometer":null,"unknown_45":6328964878193414144}} 
[2026-11-05 06:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":233145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:18:41] local.INFO: GPS data processed {"connection_id":233145,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:18:41] local.INFO: Acknowledgment sent {"connection_id":233145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:19:08] local.INFO: TCP Data received {"connection_id":229931,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:19:08] local.INFO: Processing buffer {"connection_id":229931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:19:08] local.INFO: IMEI packet received {"connection_id":229931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":229931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:19:09] local.INFO: TCP Data received {"connection_id":229931,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:19:09] local.INFO: Processing buffer {"connection_id":229931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:19:09] local.INFO: IMEI packet received {"connection_id":229931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":229931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:19:14] local.INFO: TCP Data received {"connection_id":229931,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:19:14] local.INFO: Processing buffer {"connection_id":229931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:19:14] local.INFO: IMEI packet received {"connection_id":229931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":229931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:19:15] local.INFO: TCP Data received {"connection_id":229931,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a92d3290012d581c8006408510000500732d..."} 
[2026-11-05 06:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a92d3290012d581c8006408510000500732d..."} 
[2026-11-05 06:19:15] local.INFO: Processing buffer {"connection_id":229931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a92d3290012d581c8006408510000500732d..."} 
[2026-11-05 06:19:15] local.INFO: Packet analysis {"connection_id":229931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a92d"} 
[2026-11-05 06:19:15] local.INFO: Extracted packet for processing {"connection_id":229931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a92d"} 
[2026-11-05 06:19:15] local.INFO: GPS Element Parsed {"raw_longitude":760749184,"raw_latitude":104891664,"longitude_deg":76.0749184,"latitude_deg":10.4891664,"altitude":5,"angle":115,"satellites":45,"speed":54,"hex_longitude":"2d581c80","hex_latitude":"06408510","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222954752001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39776138804854784,"note":"Value kept but may cause issues"} 
[2026-11-05 06:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6339238714842306560,"note":"Value kept but may cause issues"} 
[2026-11-05 06:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793839674000,"timestamp_ms":1793839674000,"timestamp_seconds":1793839674,"priority":1,"record_length":96,"hex_timestamp":"000001a1a92d3290"} 
[2026-11-05 06: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-05 06:19: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-05 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 06:19: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-05 06: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-05 06: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-05 06:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:19:15] 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-05 06:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222954752001,"66":27745,"11":206,"78":38656,"24":54,"16":39776138804854784,"45":6339238714842306560},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-11-05 06:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222954752001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:19:15] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-11-05 06:19:15] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-11-05 06:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39776138804854784,"km_value":39776138804854.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":6339238714842306560,"description":"Unknown IO ID 45"} 
[2026-11-05 06:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222954752001,"power":27745,"unknown_11":206,"unknown_78":38656,"ignition":54,"odometer":null,"unknown_45":6339238714842306560}} 
[2026-11-05 06:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":229931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:19:15] local.INFO: GPS data processed {"connection_id":229931,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:19:15] local.INFO: Acknowledgment sent {"connection_id":229931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:19:46] local.INFO: TCP Data received {"connection_id":229931,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a92d4de8012d583e00064074f0000500772e..."} 
[2026-11-05 06:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a92d4de8012d583e00064074f0000500772e..."} 
[2026-11-05 06:19:46] local.INFO: Processing buffer {"connection_id":229931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a92d4de8012d583e00064074f0000500772e..."} 
[2026-11-05 06:19:46] local.INFO: Packet analysis {"connection_id":229931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a92d"} 
[2026-11-05 06:19:46] local.INFO: Extracted packet for processing {"connection_id":229931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a92d"} 
[2026-11-05 06:19:46] local.INFO: GPS Element Parsed {"raw_longitude":760757760,"raw_latitude":104887536,"longitude_deg":76.075776,"latitude_deg":10.4887536,"altitude":5,"angle":119,"satellites":46,"speed":52,"hex_longitude":"2d583e00","hex_latitude":"064074f0","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222956544001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39776594071388160,"note":"Value kept but may cause issues"} 
[2026-11-05 06:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6349090339026178048,"note":"Value kept but may cause issues"} 
[2026-11-05 06:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793839681000,"timestamp_ms":1793839681000,"timestamp_seconds":1793839681,"priority":1,"record_length":96,"hex_timestamp":"000001a1a92d4de8"} 
[2026-11-05 06: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-05 06:19: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-05 06: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":97,"data_length":795,"current_offset":136} 
[2026-11-05 06:19: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-05 06: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-05 06: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-05 06:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:19:46] 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-05 06:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222956544001,"66":27800,"11":206,"78":38656,"24":52,"16":39776594071388160,"45":6349090339026178048},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-11-05 06:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222956544001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:19:46] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-11-05 06:19:46] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-11-05 06:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39776594071388160,"km_value":39776594071388.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":6349090339026178048,"description":"Unknown IO ID 45"} 
[2026-11-05 06:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222956544001,"power":27800,"unknown_11":206,"unknown_78":38656,"ignition":52,"odometer":null,"unknown_45":6349090339026178048}} 
[2026-11-05 06:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":229931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:19:46] local.INFO: GPS data processed {"connection_id":229931,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:19:46] local.INFO: Acknowledgment sent {"connection_id":229931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:20:03] local.INFO: TCP Data received {"connection_id":231230,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:20:03] local.INFO: Processing buffer {"connection_id":231230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:20:03] local.INFO: IMEI packet received {"connection_id":231230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":231230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:20:04] local.INFO: TCP Data received {"connection_id":231230,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:20:04] local.INFO: Processing buffer {"connection_id":231230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:20:04] local.INFO: IMEI packet received {"connection_id":231230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":231230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:20:09] local.INFO: TCP Data received {"connection_id":231230,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:20:09] local.INFO: Processing buffer {"connection_id":231230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:20:09] local.INFO: IMEI packet received {"connection_id":231230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":231230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:20:10] local.INFO: TCP Data received {"connection_id":231230,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a92e5f58012d591480063f4600000500942e..."} 
[2026-11-05 06:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a92e5f58012d591480063f4600000500942e..."} 
[2026-11-05 06:20:10] local.INFO: Processing buffer {"connection_id":231230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a92e5f58012d591480063f4600000500942e..."} 
[2026-11-05 06:20:10] local.INFO: Packet analysis {"connection_id":231230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a92e"} 
[2026-11-05 06:20:10] local.INFO: Extracted packet for processing {"connection_id":231230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a92e"} 
[2026-11-05 06:20:10] local.INFO: GPS Element Parsed {"raw_longitude":760812672,"raw_latitude":104809984,"longitude_deg":76.0812672,"latitude_deg":10.4809984,"altitude":5,"angle":148,"satellites":46,"speed":57,"hex_longitude":"2d591480","hex_latitude":"063f4600","is_valid_coordinates":true} 
[2026-11-05 06:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222974464001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39781224046133248,"note":"Value kept but may cause issues"} 
[2026-11-05 06:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6413125896209172480,"note":"Value kept but may cause issues"} 
[2026-11-05 06:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793839751000,"timestamp_ms":1793839751000,"timestamp_seconds":1793839751,"priority":1,"record_length":96,"hex_timestamp":"000001a1a92e5f58"} 
[2026-11-05 06:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 06:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-11-05 06:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 06:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:20:10] 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-05 06:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222974464001,"66":27745,"103":206,"78":38656,"24":57,"16":39781224046133248,"45":6413125896209172480},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,78,24,16,45]} 
[2026-11-05 06:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222974464001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:20:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-11-05 06:20:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-11-05 06:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39781224046133248,"km_value":39781224046133.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6413125896209172480,"description":"Unknown IO ID 45"} 
[2026-11-05 06:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222974464001,"power":27745,"unknown_103":206,"unknown_78":38656,"ignition":57,"odometer":null,"unknown_45":6413125896209172480}} 
[2026-11-05 06:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":231230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:20:10] local.INFO: GPS data processed {"connection_id":231230,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:20:10] local.INFO: Acknowledgment sent {"connection_id":231230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:20:43] local.INFO: TCP Data received {"connection_id":231230,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a92e7ab0012d592880063f2570000500952e..."} 
[2026-11-05 06:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a92e7ab0012d592880063f2570000500952e..."} 
[2026-11-05 06:20:43] local.INFO: Processing buffer {"connection_id":231230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a92e7ab0012d592880063f2570000500952e..."} 
[2026-11-05 06:20:43] local.INFO: Packet analysis {"connection_id":231230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a92e"} 
[2026-11-05 06:20:43] local.INFO: Extracted packet for processing {"connection_id":231230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a92e"} 
[2026-11-05 06:20:43] local.INFO: GPS Element Parsed {"raw_longitude":760817792,"raw_latitude":104801648,"longitude_deg":76.0817792,"latitude_deg":10.4801648,"altitude":5,"angle":149,"satellites":46,"speed":54,"hex_longitude":"2d592880","hex_latitude":"063f2570","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222976256001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39781696492535808,"note":"Value kept but may cause issues"} 
[2026-11-05 06:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6418896133229510656,"note":"Value kept but may cause issues"} 
[2026-11-05 06:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793839758000,"timestamp_ms":1793839758000,"timestamp_seconds":1793839758,"priority":1,"record_length":96,"hex_timestamp":"000001a1a92e7ab0"} 
[2026-11-05 06: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-05 06:20: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-05 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 06:20: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-05 06: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-05 06: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-05 06:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:20:43] 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-05 06:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222976256001,"66":27821,"103":206,"78":38656,"24":54,"16":39781696492535808,"45":6418896133229510656},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,78,24,16,45]} 
[2026-11-05 06:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222976256001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:20:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-11-05 06:20:43] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-11-05 06:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39781696492535808,"km_value":39781696492535.805,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":6418896133229510656,"description":"Unknown IO ID 45"} 
[2026-11-05 06:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222976256001,"power":27821,"unknown_103":206,"unknown_78":38656,"ignition":54,"odometer":null,"unknown_45":6418896133229510656}} 
[2026-11-05 06:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":231230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:20:43] local.INFO: GPS data processed {"connection_id":231230,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:20:43] local.INFO: Acknowledgment sent {"connection_id":231230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:21:05] local.INFO: TCP Data received {"connection_id":231231,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:21:05] local.INFO: Processing buffer {"connection_id":231231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:21:05] local.INFO: IMEI packet received {"connection_id":231231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":231231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:21:08] local.INFO: TCP Data received {"connection_id":231231,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:21:08] local.INFO: Processing buffer {"connection_id":231231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:21:08] local.INFO: IMEI packet received {"connection_id":231231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":231231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:21:10] local.INFO: TCP Data received {"connection_id":231231,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a92e9608012d593b80063f0618000600942c..."} 
[2026-11-05 06:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a92e9608012d593b80063f0618000600942c..."} 
[2026-11-05 06:21:10] local.INFO: Processing buffer {"connection_id":231231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a92e9608012d593b80063f0618000600942c..."} 
[2026-11-05 06:21:10] local.INFO: Packet analysis {"connection_id":231231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a92e"} 
[2026-11-05 06:21:10] local.INFO: Extracted packet for processing {"connection_id":231231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a92e"} 
[2026-11-05 06:21:10] local.INFO: GPS Element Parsed {"raw_longitude":760822656,"raw_latitude":104793624,"longitude_deg":76.0822656,"latitude_deg":10.4793624,"altitude":6,"angle":148,"satellites":44,"speed":52,"hex_longitude":"2d593b80","hex_latitude":"063f0618","is_valid_coordinates":true} 
[2026-11-05 06:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222978048001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39782147464101888,"note":"Value kept but may cause issues"} 
[2026-11-05 06:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6424525632761589760,"note":"Value kept but may cause issues"} 
[2026-11-05 06:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793839765000,"timestamp_ms":1793839765000,"timestamp_seconds":1793839765,"priority":1,"record_length":96,"hex_timestamp":"000001a1a92e9608"} 
[2026-11-05 06:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 06:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-05 06:21:10] 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-05 06:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:21:10] 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-05 06:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222978048001,"66":27800,"13":206,"78":38656,"24":52,"16":39782147464101888,"45":6424525632761589760},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-11-05 06:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222978048001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:21:10] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-05 06:21:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-11-05 06:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39782147464101888,"km_value":39782147464101.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6424525632761589760,"description":"Unknown IO ID 45"} 
[2026-11-05 06:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222978048001,"power":27800,"unknown_13":206,"unknown_78":38656,"ignition":52,"odometer":null,"unknown_45":6424525632761589760}} 
[2026-11-05 06:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":231231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:21:10] local.INFO: GPS data processed {"connection_id":231231,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:21:10] local.INFO: Acknowledgment sent {"connection_id":231231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:21:41] local.INFO: TCP Data received {"connection_id":231231,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a92eb160012d594dc0063ee748000500962e..."} 
[2026-11-05 06:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a92eb160012d594dc0063ee748000500962e..."} 
[2026-11-05 06:21:41] local.INFO: Processing buffer {"connection_id":231231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a92eb160012d594dc0063ee748000500962e..."} 
[2026-11-05 06:21:41] local.INFO: Packet analysis {"connection_id":231231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a92e"} 
[2026-11-05 06:21:41] local.INFO: Extracted packet for processing {"connection_id":231231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a92e"} 
[2026-11-05 06:21:41] local.INFO: GPS Element Parsed {"raw_longitude":760827328,"raw_latitude":104785736,"longitude_deg":76.0827328,"latitude_deg":10.4785736,"altitude":5,"angle":150,"satellites":46,"speed":51,"hex_longitude":"2d594dc0","hex_latitude":"063ee748","is_valid_coordinates":true} 
[2026-11-05 06:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459222979840001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39782589845733376,"note":"Value kept but may cause issues"} 
[2026-11-05 06:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6429873657317038080,"note":"Value kept but may cause issues"} 
[2026-11-05 06:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793839772000,"timestamp_ms":1793839772000,"timestamp_seconds":1793839772,"priority":1,"record_length":96,"hex_timestamp":"000001a1a92eb160"} 
[2026-11-05 06:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06: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-05 06:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-05 06:21: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-05 06:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:21:41] 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-05 06:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459222979840001,"66":27789,"13":206,"78":38656,"24":51,"16":39782589845733376,"45":6429873657317038080},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-11-05 06:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459222979840001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:21:41] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-05 06:21:41] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-11-05 06:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39782589845733376,"km_value":39782589845733.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6429873657317038080,"description":"Unknown IO ID 45"} 
[2026-11-05 06:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459222979840001,"power":27789,"unknown_13":206,"unknown_78":38656,"ignition":51,"odometer":null,"unknown_45":6429873657317038080}} 
[2026-11-05 06:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":231231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:21:41] local.INFO: GPS data processed {"connection_id":231231,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:21:41] local.INFO: Acknowledgment sent {"connection_id":231231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:22:09] local.INFO: TCP Data received {"connection_id":229440,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:22:09] local.INFO: Processing buffer {"connection_id":229440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:22:09] local.INFO: IMEI packet received {"connection_id":229440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":229440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:22:16] local.INFO: TCP Data received {"connection_id":229440,"ip":"42.109.136.11","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 06:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229440,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 06:22:16] local.INFO: Processing buffer {"connection_id":229440,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 06:22:16] local.INFO: IMEI packet received {"connection_id":229440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":229440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:22:18] local.INFO: TCP Data received {"connection_id":229440,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:22:18] local.INFO: Processing buffer {"connection_id":229440,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 06:22:18] local.INFO: IMEI packet received {"connection_id":229440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":229440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:22:19] local.INFO: TCP Data received {"connection_id":229440,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9302c48012d5a1f80063d88d00001009e2e..."} 
[2026-11-05 06:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9302c48012d5a1f80063d88d00001009e2e..."} 
[2026-11-05 06:22:19] local.INFO: Processing buffer {"connection_id":229440,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a9..."} 
[2026-11-05 06:22:19] local.INFO: IMEI packet received {"connection_id":229440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":229440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:22:20] local.INFO: TCP Data received {"connection_id":229440,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9305358012d5a2c80063d68700002009e2f..."} 
[2026-11-05 06:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9305358012d5a2c80063d68700002009e2f..."} 
[2026-11-05 06:22:20] local.INFO: Processing buffer {"connection_id":229440,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1a9302c48012d5a1f80063d88d00001009e2e..."} 
[2026-11-05 06:22:20] local.INFO: Packet analysis {"connection_id":229440,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1a930"} 
[2026-11-05 06:22:20] local.INFO: Extracted packet for processing {"connection_id":229440,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a930"} 
[2026-11-05 06:22:20] local.INFO: GPS Element Parsed {"raw_longitude":760881024,"raw_latitude":104696016,"longitude_deg":76.0881024,"latitude_deg":10.4696016,"altitude":1,"angle":158,"satellites":46,"speed":31,"hex_longitude":"2d5a1f80","hex_latitude":"063d88d0","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223001600001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39787645022240768,"note":"Value kept but may cause issues"} 
[2026-11-05 06:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6489546352356855808,"note":"Value kept but may cause issues"} 
[2026-11-05 06:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793839869000,"timestamp_ms":1793839869000,"timestamp_seconds":1793839869,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9302c48"} 
[2026-11-05 06: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-05 06:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 06: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-05 06:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 06: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-05 06: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-05 06:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:22:20] 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-05 06:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223001600001,"66":27821,"161":206,"78":38656,"24":31,"16":39787645022240768,"45":6489546352356855808},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,78,24,16,45]} 
[2026-11-05 06:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223001600001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:22:20] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-11-05 06:22:20] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-11-05 06:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39787645022240768,"km_value":39787645022240.766,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":6489546352356855808,"description":"Unknown IO ID 45"} 
[2026-11-05 06:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223001600001,"power":27821,"unknown_161":206,"unknown_78":38656,"ignition":31,"odometer":null,"unknown_45":6489546352356855808}} 
[2026-11-05 06:22:21] 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":61663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:22:21] local.INFO: GPS data processed {"connection_id":229440,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:22:21] local.INFO: Acknowledgment sent {"connection_id":229440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:22:21] local.INFO: Packet analysis {"connection_id":229440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a930"} 
[2026-11-05 06:22:21] local.INFO: Extracted packet for processing {"connection_id":229440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a930"} 
[2026-11-05 06:22:21] local.INFO: GPS Element Parsed {"raw_longitude":760884352,"raw_latitude":104687728,"longitude_deg":76.0884352,"latitude_deg":10.4687728,"altitude":2,"angle":158,"satellites":47,"speed":36,"hex_longitude":"2d5a2c80","hex_latitude":"063d6870","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223006464001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39788078813937664,"note":"Value kept but may cause issues"} 
[2026-11-05 06:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6494049951982080000,"note":"Value kept but may cause issues"} 
[2026-11-05 06:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793839879000,"timestamp_ms":1793839879000,"timestamp_seconds":1793839879,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9305358"} 
[2026-11-05 06: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-05 06:22: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-05 06: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-05 06:22: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-05 06: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-05 06: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-05 06:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:22:21] 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-05 06:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223006464001,"66":27658,"161":206,"78":38656,"24":36,"16":39788078813937664,"45":6494049951982080000},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,78,24,16,45]} 
[2026-11-05 06:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223006464001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:22:21] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-11-05 06:22:21] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-11-05 06:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39788078813937664,"km_value":39788078813937.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6494049951982080000,"description":"Unknown IO ID 45"} 
[2026-11-05 06:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223006464001,"power":27658,"unknown_161":206,"unknown_78":38656,"ignition":36,"odometer":null,"unknown_45":6494049951982080000}} 
[2026-11-05 06:22:21] 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":61664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:22:21] local.INFO: GPS data processed {"connection_id":229440,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:22:21] local.INFO: Acknowledgment sent {"connection_id":229440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:22:24] local.INFO: TCP Data received {"connection_id":229440,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9307e50012d5a39c0063d44b0000200a12e..."} 
[2026-11-05 06:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9307e50012d5a39c0063d44b0000200a12e..."} 
[2026-11-05 06:22:24] local.INFO: Processing buffer {"connection_id":229440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9307e50012d5a39c0063d44b0000200a12e..."} 
[2026-11-05 06:22:24] local.INFO: Packet analysis {"connection_id":229440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a930"} 
[2026-11-05 06:22:24] local.INFO: Extracted packet for processing {"connection_id":229440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a930"} 
[2026-11-05 06:22:24] local.INFO: GPS Element Parsed {"raw_longitude":760887744,"raw_latitude":104678576,"longitude_deg":76.0887744,"latitude_deg":10.4678576,"altitude":2,"angle":161,"satellites":46,"speed":37,"hex_longitude":"2d5a39c0","hex_latitude":"063d44b0","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223009024001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39788551260340224,"note":"Value kept but may cause issues"} 
[2026-11-05 06:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6497709126677196800,"note":"Value kept but may cause issues"} 
[2026-11-05 06:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793839890000,"timestamp_ms":1793839890000,"timestamp_seconds":1793839890,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9307e50"} 
[2026-11-05 06: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-05 06:22: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-05 06: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-11-05 06:22: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-05 06: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-05 06: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-05 06:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":229440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":229440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":229440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:22:24] 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-05 06:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223009024001,"66":27800,"161":206,"78":38656,"24":37,"16":39788551260340224,"45":6497709126677196800},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,78,24,16,45]} 
[2026-11-05 06:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223009024001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:22:24] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-11-05 06:22:24] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-11-05 06:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39788551260340224,"km_value":39788551260340.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":6497709126677196800,"description":"Unknown IO ID 45"} 
[2026-11-05 06:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223009024001,"power":27800,"unknown_161":206,"unknown_78":38656,"ignition":37,"odometer":null,"unknown_45":6497709126677196800}} 
[2026-11-05 06:22:24] 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":61665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:22:24] local.INFO: GPS data processed {"connection_id":229440,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:22:24] local.INFO: Acknowledgment sent {"connection_id":229440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:22:32] local.INFO: TCP Data received {"connection_id":233146,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233146,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:22:32] local.INFO: Processing buffer {"connection_id":233146,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:22:32] local.INFO: IMEI packet received {"connection_id":233146,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 06:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":233146,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:23:06] local.INFO: TCP Data received {"connection_id":229934,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229934,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:23:06] local.INFO: Processing buffer {"connection_id":229934,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:23:06] local.INFO: IMEI packet received {"connection_id":229934,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 06:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":229934,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:23:10] local.INFO: TCP Data received {"connection_id":231232,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:23:10] local.INFO: Processing buffer {"connection_id":231232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:23:10] local.INFO: IMEI packet received {"connection_id":231232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":231232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:23:11] local.INFO: TCP Data received {"connection_id":231232,"ip":"42.109.136.11","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 06:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231232,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 06:23:11] local.INFO: Processing buffer {"connection_id":231232,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 06:23:11] local.INFO: IMEI packet received {"connection_id":231232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":231232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:23:14] local.INFO: TCP Data received {"connection_id":231232,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:23:14] local.INFO: Processing buffer {"connection_id":231232,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 06:23:14] local.INFO: IMEI packet received {"connection_id":231232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":231232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:23:15] local.INFO: TCP Data received {"connection_id":231232,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a930a560012d5a4500063d23d8000300a22f..."} 
[2026-11-05 06:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a930a560012d5a4500063d23d8000300a22f..."} 
[2026-11-05 06:23:15] local.INFO: Processing buffer {"connection_id":231232,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a9..."} 
[2026-11-05 06:23:15] local.INFO: IMEI packet received {"connection_id":231232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":231232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:23:18] local.INFO: TCP Data received {"connection_id":231232,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a930d058012d5a4f00063d01f8000300a42f..."} 
[2026-11-05 06:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a930d058012d5a4f00063d01f8000300a42f..."} 
[2026-11-05 06:23:18] local.INFO: Processing buffer {"connection_id":231232,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1a930a560012d5a4500063d23d8000300a22f..."} 
[2026-11-05 06:23:18] local.INFO: Packet analysis {"connection_id":231232,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1a930"} 
[2026-11-05 06:23:18] local.INFO: Extracted packet for processing {"connection_id":231232,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a930"} 
[2026-11-05 06:23:18] local.INFO: GPS Element Parsed {"raw_longitude":760890624,"raw_latitude":104670168,"longitude_deg":76.0890624,"latitude_deg":10.4670168,"altitude":3,"angle":162,"satellites":47,"speed":31,"hex_longitude":"2d5a4500","hex_latitude":"063d23d8","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223011840001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39788980757069824,"note":"Value kept but may cause issues"} 
[2026-11-05 06:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6501438670116270080,"note":"Value kept but may cause issues"} 
[2026-11-05 06:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793839900000,"timestamp_ms":1793839900000,"timestamp_seconds":1793839900,"priority":1,"record_length":96,"hex_timestamp":"000001a1a930a560"} 
[2026-11-05 06: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-05 06:23: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-05 06: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":152,"data_length":795,"current_offset":136} 
[2026-11-05 06:23:18] 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-05 06: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-05 06: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-05 06:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":231232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":231232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":231232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:23: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-05 06:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223011840001,"66":27745,"161":206,"78":38656,"24":31,"16":39788980757069824,"45":6501438670116270080},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,78,24,16,45]} 
[2026-11-05 06:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223011840001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:23:18] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-11-05 06:23:18] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-11-05 06:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39788980757069824,"km_value":39788980757069.82,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6501438670116270080,"description":"Unknown IO ID 45"} 
[2026-11-05 06:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223011840001,"power":27745,"unknown_161":206,"unknown_78":38656,"ignition":31,"odometer":null,"unknown_45":6501438670116270080}} 
[2026-11-05 06:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":231232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:23:18] local.INFO: GPS data processed {"connection_id":231232,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:23:18] local.INFO: Acknowledgment sent {"connection_id":231232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:23:18] local.INFO: Packet analysis {"connection_id":231232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a930"} 
[2026-11-05 06:23:18] local.INFO: Extracted packet for processing {"connection_id":231232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a930"} 
[2026-11-05 06:23:18] local.INFO: GPS Element Parsed {"raw_longitude":760893184,"raw_latitude":104661496,"longitude_deg":76.0893184,"latitude_deg":10.4661496,"altitude":3,"angle":164,"satellites":47,"speed":34,"hex_longitude":"2d5a4f00","hex_latitude":"063d01f8","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223014400001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39789418843734016,"note":"Value kept but may cause issues"} 
[2026-11-05 06:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6504605263602112512,"note":"Value kept but may cause issues"} 
[2026-11-05 06:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793839911000,"timestamp_ms":1793839911000,"timestamp_seconds":1793839911,"priority":1,"record_length":96,"hex_timestamp":"000001a1a930d058"} 
[2026-11-05 06: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-05 06:23: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-05 06: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":97,"data_length":795,"current_offset":136} 
[2026-11-05 06:23: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-05 06: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-05 06: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-05 06:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":231232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":231232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":231232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:23: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-05 06:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223014400001,"66":27691,"173":206,"78":38656,"24":34,"16":39789418843734016,"45":6504605263602112512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,78,24,16,45]} 
[2026-11-05 06:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223014400001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:23:18] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-11-05 06:23:18] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-11-05 06:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39789418843734016,"km_value":39789418843734.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6504605263602112512,"description":"Unknown IO ID 45"} 
[2026-11-05 06:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223014400001,"power":27691,"unknown_173":206,"unknown_78":38656,"ignition":34,"odometer":null,"unknown_45":6504605263602112512}} 
[2026-11-05 06:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":231232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:23:18] local.INFO: GPS data processed {"connection_id":231232,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:23:18] local.INFO: Acknowledgment sent {"connection_id":231232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:23:49] local.INFO: TCP Data received {"connection_id":231232,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a930f768012d5a5880063cdee8000400a22f..."} 
[2026-11-05 06:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a930f768012d5a5880063cdee8000400a22f..."} 
[2026-11-05 06:23:49] local.INFO: Processing buffer {"connection_id":231232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a930f768012d5a5880063cdee8000400a22f..."} 
[2026-11-05 06:23:49] local.INFO: Packet analysis {"connection_id":231232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a930"} 
[2026-11-05 06:23:49] local.INFO: Extracted packet for processing {"connection_id":231232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a930"} 
[2026-11-05 06:23:49] local.INFO: GPS Element Parsed {"raw_longitude":760895616,"raw_latitude":104652520,"longitude_deg":76.0895616,"latitude_deg":10.465252,"altitude":4,"angle":162,"satellites":47,"speed":37,"hex_longitude":"2d5a5880","hex_latitude":"063cdee8","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223017216001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39789869815300096,"note":"Value kept but may cause issues"} 
[2026-11-05 06:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6507420013366999040,"note":"Value kept but may cause issues"} 
[2026-11-05 06:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793839921000,"timestamp_ms":1793839921000,"timestamp_seconds":1793839921,"priority":1,"record_length":96,"hex_timestamp":"000001a1a930f768"} 
[2026-11-05 06: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-05 06:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 06:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-05 06:23: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-05 06: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-05 06: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-05 06:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":231232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":231232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":231232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:23:49] 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-05 06:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223017216001,"66":27343,"173":206,"78":38656,"24":37,"16":39789869815300096,"45":6507420013366999040},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,78,24,16,45]} 
[2026-11-05 06:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223017216001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:23:49] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-11-05 06:23:49] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-11-05 06:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39789869815300096,"km_value":39789869815300.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6507420013366999040,"description":"Unknown IO ID 45"} 
[2026-11-05 06:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223017216001,"power":27343,"unknown_173":206,"unknown_78":38656,"ignition":37,"odometer":null,"unknown_45":6507420013366999040}} 
[2026-11-05 06:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":231232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:23:49] local.INFO: GPS data processed {"connection_id":231232,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:23:49] local.INFO: Acknowledgment sent {"connection_id":231232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:24:04] local.INFO: TCP Data received {"connection_id":229935,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:24:04] local.INFO: Processing buffer {"connection_id":229935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:24:04] local.INFO: IMEI packet received {"connection_id":229935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":229935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:24:07] local.INFO: TCP Data received {"connection_id":229935,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:24:07] local.INFO: Processing buffer {"connection_id":229935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:24:07] local.INFO: IMEI packet received {"connection_id":229935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":229935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:24:09] local.INFO: TCP Data received {"connection_id":229935,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:24:09] local.INFO: Processing buffer {"connection_id":229935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:24:09] local.INFO: IMEI packet received {"connection_id":229935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":229935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:24:10] local.INFO: TCP Data received {"connection_id":229935,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9311e78012d5a6500063cbb48000700a130..."} 
[2026-11-05 06:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9311e78012d5a6500063cbb48000700a130..."} 
[2026-11-05 06:24:10] local.INFO: Processing buffer {"connection_id":229935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9311e78012d5a6500063cbb48000700a130..."} 
[2026-11-05 06:24:10] local.INFO: Packet analysis {"connection_id":229935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a931"} 
[2026-11-05 06:24:10] local.INFO: Extracted packet for processing {"connection_id":229935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a931"} 
[2026-11-05 06:24:10] local.INFO: GPS Element Parsed {"raw_longitude":760898816,"raw_latitude":104643400,"longitude_deg":76.0898816,"latitude_deg":10.46434,"altitude":7,"angle":161,"satellites":48,"speed":36,"hex_longitude":"2d5a6500","hex_latitude":"063cbb48","is_valid_coordinates":true} 
[2026-11-05 06:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223019776001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39790337966735360,"note":"Value kept but may cause issues"} 
[2026-11-05 06:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6510094025643452416,"note":"Value kept but may cause issues"} 
[2026-11-05 06:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793839931000,"timestamp_ms":1793839931000,"timestamp_seconds":1793839931,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9311e78"} 
[2026-11-05 06:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 06:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 06:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 06:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:24:10] 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-05 06:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223019776001,"66":27713,"173":206,"78":38656,"24":36,"16":39790337966735360,"45":6510094025643452416},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,78,24,16,45]} 
[2026-11-05 06:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223019776001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:24:10] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-11-05 06:24:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-11-05 06:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39790337966735360,"km_value":39790337966735.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6510094025643452416,"description":"Unknown IO ID 45"} 
[2026-11-05 06:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223019776001,"power":27713,"unknown_173":206,"unknown_78":38656,"ignition":36,"odometer":null,"unknown_45":6510094025643452416}} 
[2026-11-05 06:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":229935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:24:10] local.INFO: GPS data processed {"connection_id":229935,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:24:10] local.INFO: Acknowledgment sent {"connection_id":229935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:24:41] local.INFO: TCP Data received {"connection_id":229935,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9329d48012d5ad4c0063ae8d8000600c72e..."} 
[2026-11-05 06:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9329d48012d5ad4c0063ae8d8000600c72e..."} 
[2026-11-05 06:24:41] local.INFO: Processing buffer {"connection_id":229935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9329d48012d5ad4c0063ae8d8000600c72e..."} 
[2026-11-05 06:24:41] local.INFO: Packet analysis {"connection_id":229935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a932"} 
[2026-11-05 06:24:41] local.INFO: Extracted packet for processing {"connection_id":229935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a932"} 
[2026-11-05 06:24:41] local.INFO: GPS Element Parsed {"raw_longitude":760927424,"raw_latitude":104523992,"longitude_deg":76.0927424,"latitude_deg":10.4523992,"altitude":6,"angle":199,"satellites":46,"speed":58,"hex_longitude":"2d5ad4c0","hex_latitude":"063ae8d8","is_valid_coordinates":true} 
[2026-11-05 06:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223045632001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39796380985720832,"note":"Value kept but may cause issues"} 
[2026-11-05 06:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6547811672492253184,"note":"Value kept but may cause issues"} 
[2026-11-05 06:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793840029000,"timestamp_ms":1793840029000,"timestamp_seconds":1793840029,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9329d48"} 
[2026-11-05 06:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06: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-05 06:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-05 06:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 06:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:24:41] 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-05 06:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223045632001,"66":27213,"23":206,"78":38656,"24":58,"16":39796380985720832,"45":6547811672492253184},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,78,24,16,45]} 
[2026-11-05 06:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223045632001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:24:41] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-11-05 06:24:41] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-11-05 06:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39796380985720832,"km_value":39796380985720.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6547811672492253184,"description":"Unknown IO ID 45"} 
[2026-11-05 06:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223045632001,"power":27213,"unknown_23":206,"unknown_78":38656,"ignition":58,"odometer":null,"unknown_45":6547811672492253184}} 
[2026-11-05 06:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":229935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:24:41] local.INFO: GPS data processed {"connection_id":229935,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:24:41] local.INFO: Acknowledgment sent {"connection_id":229935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:25:08] local.INFO: TCP Data received {"connection_id":231233,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:25:08] local.INFO: Processing buffer {"connection_id":231233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:25:08] local.INFO: IMEI packet received {"connection_id":231233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":231233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:25:09] local.INFO: TCP Data received {"connection_id":231233,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:25:09] local.INFO: Processing buffer {"connection_id":231233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:25:09] local.INFO: IMEI packet received {"connection_id":231233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":231233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:25:14] local.INFO: TCP Data received {"connection_id":231233,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:25:14] local.INFO: Processing buffer {"connection_id":231233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:25:14] local.INFO: IMEI packet received {"connection_id":231233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":231233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:25:15] local.INFO: TCP Data received {"connection_id":231233,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a932b4b8012d5ac7c0063ac8b8000800ca2c..."} 
[2026-11-05 06:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a932b4b8012d5ac7c0063ac8b8000800ca2c..."} 
[2026-11-05 06:25:15] local.INFO: Processing buffer {"connection_id":231233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a932b4b8012d5ac7c0063ac8b8000800ca2c..."} 
[2026-11-05 06:25:15] local.INFO: Packet analysis {"connection_id":231233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a932"} 
[2026-11-05 06:25:15] local.INFO: Extracted packet for processing {"connection_id":231233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a932"} 
[2026-11-05 06:25:15] local.INFO: GPS Element Parsed {"raw_longitude":760924096,"raw_latitude":104515768,"longitude_deg":76.0924096,"latitude_deg":10.4515768,"altitude":8,"angle":202,"satellites":44,"speed":58,"hex_longitude":"2d5ac7c0","hex_latitude":"063ac8b8","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223047424001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39796810482450432,"note":"Value kept but may cause issues"} 
[2026-11-05 06:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6545067291466848256,"note":"Value kept but may cause issues"} 
[2026-11-05 06:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793840035000,"timestamp_ms":1793840035000,"timestamp_seconds":1793840035,"priority":1,"record_length":96,"hex_timestamp":"000001a1a932b4b8"} 
[2026-11-05 06: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-05 06:25: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-05 06: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-11-05 06:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 06: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-05 06: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-05 06:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":231233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":231233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":231233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:25:15] 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-05 06:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223047424001,"66":27767,"23":206,"78":38656,"24":58,"16":39796810482450432,"45":6545067291466848256},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,78,24,16,45]} 
[2026-11-05 06:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223047424001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:25:15] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-11-05 06:25:15] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-11-05 06:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39796810482450432,"km_value":39796810482450.43,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":6545067291466848256,"description":"Unknown IO ID 45"} 
[2026-11-05 06:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223047424001,"power":27767,"unknown_23":206,"unknown_78":38656,"ignition":58,"odometer":null,"unknown_45":6545067291466848256}} 
[2026-11-05 06:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":231233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:25:15] local.INFO: GPS data processed {"connection_id":231233,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:25:15] local.INFO: Acknowledgment sent {"connection_id":231233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:25:16] local.INFO: TCP Data received {"connection_id":231233,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a932d010012d5ab880063aa518000b00cb2e..."} 
[2026-11-05 06:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a932d010012d5ab880063aa518000b00cb2e..."} 
[2026-11-05 06:25:16] local.INFO: Processing buffer {"connection_id":231233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a932d010012d5ab880063aa518000b00cb2e..."} 
[2026-11-05 06:25:16] local.INFO: Packet analysis {"connection_id":231233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a932"} 
[2026-11-05 06:25:16] local.INFO: Extracted packet for processing {"connection_id":231233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a932"} 
[2026-11-05 06:25:16] local.INFO: GPS Element Parsed {"raw_longitude":760920192,"raw_latitude":104506648,"longitude_deg":76.0920192,"latitude_deg":10.4506648,"altitude":11,"angle":203,"satellites":46,"speed":54,"hex_longitude":"2d5ab880","hex_latitude":"063aa518","is_valid_coordinates":true} 
[2026-11-05 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-05 06:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223048960001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39797287223820288,"note":"Value kept but may cause issues"} 
[2026-11-05 06:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6541408116767504384,"note":"Value kept but may cause issues"} 
[2026-11-05 06:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793840042000,"timestamp_ms":1793840042000,"timestamp_seconds":1793840042,"priority":1,"record_length":96,"hex_timestamp":"000001a1a932d010"} 
[2026-11-05 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-05 06:25: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-05 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-05 06:25: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-05 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-05 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-05 06:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":231233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":231233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":231233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:25:16] 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-05 06:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223048960001,"66":27767,"23":206,"78":38656,"24":54,"16":39797287223820288,"45":6541408116767504384},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,78,24,16,45]} 
[2026-11-05 06:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223048960001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:25:16] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-11-05 06:25:16] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-11-05 06:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39797287223820288,"km_value":39797287223820.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":6541408116767504384,"description":"Unknown IO ID 45"} 
[2026-11-05 06:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223048960001,"power":27767,"unknown_23":206,"unknown_78":38656,"ignition":54,"odometer":null,"unknown_45":6541408116767504384}} 
[2026-11-05 06:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":231233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:25:16] local.INFO: GPS data processed {"connection_id":231233,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:25:16] local.INFO: Acknowledgment sent {"connection_id":231233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:25:47] local.INFO: TCP Data received {"connection_id":231233,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a932eb68012d5aaa80063a82d0000d00c72f..."} 
[2026-11-05 06:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a932eb68012d5aaa80063a82d0000d00c72f..."} 
[2026-11-05 06:25:47] local.INFO: Processing buffer {"connection_id":231233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a932eb68012d5aaa80063a82d0000d00c72f..."} 
[2026-11-05 06:25:47] local.INFO: Packet analysis {"connection_id":231233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a932"} 
[2026-11-05 06:25:47] local.INFO: Extracted packet for processing {"connection_id":231233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a932"} 
[2026-11-05 06:25:47] local.INFO: GPS Element Parsed {"raw_longitude":760916608,"raw_latitude":104497872,"longitude_deg":76.0916608,"latitude_deg":10.4497872,"altitude":13,"angle":199,"satellites":47,"speed":52,"hex_longitude":"2d5aaa80","hex_latitude":"063a82d0","is_valid_coordinates":true} 
[2026-11-05 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-05 06:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223050752001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39797746785320960,"note":"Value kept but may cause issues"} 
[2026-11-05 06:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6537115623370332160,"note":"Value kept but may cause issues"} 
[2026-11-05 06:25:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,78,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 06:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793840049000,"timestamp_ms":1793840049000,"timestamp_seconds":1793840049,"priority":1,"record_length":96,"hex_timestamp":"000001a1a932eb68"} 
[2026-11-05 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-05 06:25: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-05 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-05 06:25: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-05 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-05 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-05 06:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":231233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":231233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":231233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:25:47] 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-05 06:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223050752001,"66":27713,"24":52,"78":38656,"16":39797746785320960,"45":6537115623370332160},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,78,16,45]} 
[2026-11-05 06:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223050752001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:25:47] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-11-05 06:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39797746785320960,"km_value":39797746785320.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":6537115623370332160,"description":"Unknown IO ID 45"} 
[2026-11-05 06:25:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459223050752001,"power":27713,"ignition":52,"unknown_78":38656,"odometer":null,"unknown_45":6537115623370332160}} 
[2026-11-05 06:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":231233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:25:47] local.INFO: GPS data processed {"connection_id":231233,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:25:47] local.INFO: Acknowledgment sent {"connection_id":231233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:26:01] local.INFO: TCP Data received {"connection_id":229441,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:26:01] local.INFO: Processing buffer {"connection_id":229441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:26:01] local.INFO: IMEI packet received {"connection_id":229441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":229441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:26:23] local.INFO: TCP Data received {"connection_id":229441,"ip":"42.109.136.11","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 06:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229441,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 06:26:23] local.INFO: Processing buffer {"connection_id":229441,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 06:26:23] local.INFO: IMEI packet received {"connection_id":229441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":229441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:28:27] local.INFO: TCP Data received {"connection_id":229937,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:28:27] local.INFO: Processing buffer {"connection_id":229937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:28:27] local.INFO: IMEI packet received {"connection_id":229937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 06:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":229937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:29:06] local.INFO: TCP Data received {"connection_id":233149,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233149,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:29:06] local.INFO: Processing buffer {"connection_id":233149,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:29:06] local.INFO: IMEI packet received {"connection_id":233149,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 06:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":233149,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:31:18] local.INFO: TCP Data received {"connection_id":233151,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:31:18] local.INFO: Processing buffer {"connection_id":233151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:31:18] local.INFO: IMEI packet received {"connection_id":233151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":233151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:31:20] local.INFO: TCP Data received {"connection_id":233151,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9385238012d5cf0800635abb80007008f2d..."} 
[2026-11-05 06:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9385238012d5cf0800635abb80007008f2d..."} 
[2026-11-05 06:31:20] local.INFO: Processing buffer {"connection_id":233151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9385238012d5cf0800635abb80007008f2d..."} 
[2026-11-05 06:31:20] local.INFO: Packet analysis {"connection_id":233151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a938"} 
[2026-11-05 06:31:20] local.INFO: Extracted packet for processing {"connection_id":233151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a938"} 
[2026-11-05 06:31:20] local.INFO: GPS Element Parsed {"raw_longitude":761065600,"raw_latitude":104180664,"longitude_deg":76.10656,"latitude_deg":10.4180664,"altitude":7,"angle":143,"satellites":45,"speed":53,"hex_longitude":"2d5cf080","hex_latitude":"0635abb8","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223141376001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39814926654504960,"note":"Value kept but may cause issues"} 
[2026-11-05 06:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6691012066805338112,"note":"Value kept but may cause issues"} 
[2026-11-05 06:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793840403000,"timestamp_ms":1793840403000,"timestamp_seconds":1793840403,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9385238"} 
[2026-11-05 06: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-05 06:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 06:31: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-05 06: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-05 06: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-05 06:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":233151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":233151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":233151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:31:20] 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-05 06:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223141376001,"66":27745,"151":206,"78":38656,"24":53,"16":39814926654504960,"45":6691012066805338112},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,78,24,16,45]} 
[2026-11-05 06:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223141376001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:31:20] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-11-05 06:31:20] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-11-05 06:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39814926654504960,"km_value":39814926654504.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":6691012066805338112,"description":"Unknown IO ID 45"} 
[2026-11-05 06:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223141376001,"power":27745,"unknown_151":206,"unknown_78":38656,"ignition":53,"odometer":null,"unknown_45":6691012066805338112}} 
[2026-11-05 06:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":233151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:31:20] local.INFO: GPS data processed {"connection_id":233151,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:31:20] local.INFO: Acknowledgment sent {"connection_id":233151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:32:04] local.INFO: TCP Data received {"connection_id":233152,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:32:04] local.INFO: Processing buffer {"connection_id":233152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:32:04] local.INFO: IMEI packet received {"connection_id":233152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":233152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:32:24] local.INFO: TCP Data received {"connection_id":233152,"ip":"42.109.136.11","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 06:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233152,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 06:32:24] local.INFO: Processing buffer {"connection_id":233152,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 06:32:24] local.INFO: IMEI packet received {"connection_id":233152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":233152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:35:07] local.INFO: TCP Data received {"connection_id":229447,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229447,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:35:07] local.INFO: Processing buffer {"connection_id":229447,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:35:07] local.INFO: IMEI packet received {"connection_id":229447,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 06:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":229447,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:36:07] local.INFO: TCP Data received {"connection_id":229942,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229942,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:36:07] local.INFO: Processing buffer {"connection_id":229942,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:36:07] local.INFO: IMEI packet received {"connection_id":229942,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 06:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":229942,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:37:25] local.INFO: TCP Data received {"connection_id":229448,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:37:25] local.INFO: Processing buffer {"connection_id":229448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:37:25] local.INFO: IMEI packet received {"connection_id":229448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":229448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:38:04] local.INFO: TCP Data received {"connection_id":231238,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:38:04] local.INFO: Processing buffer {"connection_id":231238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:38:04] local.INFO: IMEI packet received {"connection_id":231238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":231238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:38:09] local.INFO: TCP Data received {"connection_id":231238,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:38:09] local.INFO: Processing buffer {"connection_id":231238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:38:09] local.INFO: IMEI packet received {"connection_id":231238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":231238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:38:10] local.INFO: TCP Data received {"connection_id":231238,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a93e0340012d5f96c0062ef218000900a02c..."} 
[2026-11-05 06:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a93e0340012d5f96c0062ef218000900a02c..."} 
[2026-11-05 06:38:10] local.INFO: Processing buffer {"connection_id":231238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a93e0340012d5f96c0062ef218000900a02c..."} 
[2026-11-05 06:38:10] local.INFO: Packet analysis {"connection_id":231238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a93e"} 
[2026-11-05 06:38:10] local.INFO: Extracted packet for processing {"connection_id":231238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a93e"} 
[2026-11-05 06:38:10] local.INFO: GPS Element Parsed {"raw_longitude":761239232,"raw_latitude":103739928,"longitude_deg":76.1239232,"latitude_deg":10.3739928,"altitude":9,"angle":160,"satellites":44,"speed":30,"hex_longitude":"2d5f96c0","hex_latitude":"062ef218","is_valid_coordinates":true} 
[2026-11-05 06:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223235072001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39838171017510912,"note":"Value kept but may cause issues"} 
[2026-11-05 06:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6885159431879053312,"note":"Value kept but may cause issues"} 
[2026-11-05 06:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793840776000,"timestamp_ms":1793840776000,"timestamp_seconds":1793840776,"priority":1,"record_length":96,"hex_timestamp":"000001a1a93e0340"} 
[2026-11-05 06:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 06:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-05 06:38:10] 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-05 06:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:38:10] 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-05 06:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223235072001,"66":27908,"211":206,"79":20992,"24":30,"16":39838171017510912,"45":6885159431879053312},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,79,24,16,45]} 
[2026-11-05 06:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223235072001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:38:10] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-11-05 06:38:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39838171017510912,"km_value":39838171017510.914,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6885159431879053312,"description":"Unknown IO ID 45"} 
[2026-11-05 06:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223235072001,"power":27908,"unknown_211":206,"unknown_79":20992,"ignition":30,"odometer":null,"unknown_45":6885159431879053312}} 
[2026-11-05 06:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":231238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:38:10] local.INFO: GPS data processed {"connection_id":231238,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:38:10] local.INFO: Acknowledgment sent {"connection_id":231238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:38:42] local.INFO: TCP Data received {"connection_id":231238,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a93e3220012d5fa200062ecef0000800a42c..."} 
[2026-11-05 06:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a93e3220012d5fa200062ecef0000800a42c..."} 
[2026-11-05 06:38:42] local.INFO: Processing buffer {"connection_id":231238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a93e3220012d5fa200062ecef0000800a42c..."} 
[2026-11-05 06:38:42] local.INFO: Packet analysis {"connection_id":231238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a93e"} 
[2026-11-05 06:38:42] local.INFO: Extracted packet for processing {"connection_id":231238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a93e"} 
[2026-11-05 06:38:42] local.INFO: GPS Element Parsed {"raw_longitude":761242112,"raw_latitude":103730928,"longitude_deg":76.1242112,"latitude_deg":10.3730928,"altitude":8,"angle":164,"satellites":44,"speed":36,"hex_longitude":"2d5fa200","hex_latitude":"062ecef0","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223238656001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39838626284044288,"note":"Value kept but may cause issues"} 
[2026-11-05 06:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6887903812899706880,"note":"Value kept but may cause issues"} 
[2026-11-05 06:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793840788000,"timestamp_ms":1793840788000,"timestamp_seconds":1793840788,"priority":1,"record_length":96,"hex_timestamp":"000001a1a93e3220"} 
[2026-11-05 06: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-05 06:38: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-05 06:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 06:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 06: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-05 06: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-05 06:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:38:42] 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-05 06:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223238656001,"66":27843,"211":206,"79":20992,"24":36,"16":39838626284044288,"45":6887903812899706880},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,79,24,16,45]} 
[2026-11-05 06:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223238656001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:38:42] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-11-05 06:38:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39838626284044288,"km_value":39838626284044.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6887903812899706880,"description":"Unknown IO ID 45"} 
[2026-11-05 06:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223238656001,"power":27843,"unknown_211":206,"unknown_79":20992,"ignition":36,"odometer":null,"unknown_45":6887903812899706880}} 
[2026-11-05 06:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":231238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:38:42] local.INFO: GPS data processed {"connection_id":231238,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:38:42] local.INFO: Acknowledgment sent {"connection_id":231238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:39:09] local.INFO: TCP Data received {"connection_id":229943,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:39:09] local.INFO: Processing buffer {"connection_id":229943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:39:09] local.INFO: IMEI packet received {"connection_id":229943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":229943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:39:11] local.INFO: TCP Data received {"connection_id":229943,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:39:11] local.INFO: Processing buffer {"connection_id":229943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:39:11] local.INFO: IMEI packet received {"connection_id":229943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":229943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:39:14] local.INFO: TCP Data received {"connection_id":229943,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a93f9598012d601900062d47580006009a2c..."} 
[2026-11-05 06:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a93f9598012d601900062d47580006009a2c..."} 
[2026-11-05 06:39:14] local.INFO: Processing buffer {"connection_id":229943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a93f9598012d601900062d47580006009a2c..."} 
[2026-11-05 06:39:14] local.INFO: Packet analysis {"connection_id":229943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a93f"} 
[2026-11-05 06:39:14] local.INFO: Extracted packet for processing {"connection_id":229943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a93f"} 
[2026-11-05 06:39:14] local.INFO: GPS Element Parsed {"raw_longitude":761272576,"raw_latitude":103630680,"longitude_deg":76.1272576,"latitude_deg":10.363068,"altitude":6,"angle":154,"satellites":44,"speed":57,"hex_longitude":"2d601900","hex_latitude":"062d4758","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223263232001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39843745885061120,"note":"Value kept but may cause issues"} 
[2026-11-05 06:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6920062328963305472,"note":"Value kept but may cause issues"} 
[2026-11-05 06:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793840879000,"timestamp_ms":1793840879000,"timestamp_seconds":1793840879,"priority":1,"record_length":96,"hex_timestamp":"000001a1a93f9598"} 
[2026-11-05 06: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-05 06:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-05 06:39: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-05 06: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-05 06: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-05 06:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:39:14] 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-05 06:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223263232001,"66":27832,"99":206,"79":20992,"24":57,"16":39843745885061120,"45":6920062328963305472},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,79,24,16,45]} 
[2026-11-05 06:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223263232001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:39:14] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-11-05 06:39:14] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39843745885061120,"km_value":39843745885061.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":6920062328963305472,"description":"Unknown IO ID 45"} 
[2026-11-05 06:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223263232001,"power":27832,"unknown_99":206,"unknown_79":20992,"ignition":57,"odometer":null,"unknown_45":6920062328963305472}} 
[2026-11-05 06:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":229943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:39:14] local.INFO: GPS data processed {"connection_id":229943,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:39:14] local.INFO: Acknowledgment sent {"connection_id":229943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:39:16] local.INFO: TCP Data received {"connection_id":229943,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a93fb0f0012d6028c0062d24480006009b2c..."} 
[2026-11-05 06:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a93fb0f0012d6028c0062d24480006009b2c..."} 
[2026-11-05 06:39:16] local.INFO: Processing buffer {"connection_id":229943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a93fb0f0012d6028c0062d24480006009b2c..."} 
[2026-11-05 06:39:16] local.INFO: Packet analysis {"connection_id":229943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a93f"} 
[2026-11-05 06:39:16] local.INFO: Extracted packet for processing {"connection_id":229943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a93f"} 
[2026-11-05 06:39:16] local.INFO: GPS Element Parsed {"raw_longitude":761276608,"raw_latitude":103621704,"longitude_deg":76.1276608,"latitude_deg":10.3621704,"altitude":6,"angle":155,"satellites":44,"speed":54,"hex_longitude":"2d6028c0","hex_latitude":"062d2448","is_valid_coordinates":true} 
[2026-11-05 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-05 06:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223265024001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39844218331463680,"note":"Value kept but may cause issues"} 
[2026-11-05 06:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6924565928588302336,"note":"Value kept but may cause issues"} 
[2026-11-05 06:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793840886000,"timestamp_ms":1793840886000,"timestamp_seconds":1793840886,"priority":1,"record_length":96,"hex_timestamp":"000001a1a93fb0f0"} 
[2026-11-05 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-05 06:39: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-05 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-05 06:39: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-05 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-05 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-05 06:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:39:16] 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-05 06:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223265024001,"66":27800,"99":206,"79":20992,"24":54,"16":39844218331463680,"45":6924565928588302336},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,79,24,16,45]} 
[2026-11-05 06:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223265024001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:39:16] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-11-05 06:39:16] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39844218331463680,"km_value":39844218331463.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":6924565928588302336,"description":"Unknown IO ID 45"} 
[2026-11-05 06:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223265024001,"power":27800,"unknown_99":206,"unknown_79":20992,"ignition":54,"odometer":null,"unknown_45":6924565928588302336}} 
[2026-11-05 06:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":229943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:39:16] local.INFO: GPS data processed {"connection_id":229943,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:39:16] local.INFO: Acknowledgment sent {"connection_id":229943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:39:48] local.INFO: TCP Data received {"connection_id":229943,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a93fcc48012d603800062d02280006009c2d..."} 
[2026-11-05 06:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a93fcc48012d603800062d02280006009c2d..."} 
[2026-11-05 06:39:48] local.INFO: Processing buffer {"connection_id":229943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a93fcc48012d603800062d02280006009c2d..."} 
[2026-11-05 06:39:48] local.INFO: Packet analysis {"connection_id":229943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a93f"} 
[2026-11-05 06:39:48] local.INFO: Extracted packet for processing {"connection_id":229943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a93f"} 
[2026-11-05 06:39:48] local.INFO: GPS Element Parsed {"raw_longitude":761280512,"raw_latitude":103612968,"longitude_deg":76.1280512,"latitude_deg":10.3612968,"altitude":6,"angle":156,"satellites":45,"speed":54,"hex_longitude":"2d603800","hex_latitude":"062d0228","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223266816001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39844682187931648,"note":"Value kept but may cause issues"} 
[2026-11-05 06:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6928999159469197312,"note":"Value kept but may cause issues"} 
[2026-11-05 06:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793840893000,"timestamp_ms":1793840893000,"timestamp_seconds":1793840893,"priority":1,"record_length":96,"hex_timestamp":"000001a1a93fcc48"} 
[2026-11-05 06: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-05 06:39: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-05 06: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-05 06:39:48] 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-05 06: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-05 06: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-05 06:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:39:48] 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-05 06:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223266816001,"66":27865,"99":206,"79":20992,"24":54,"16":39844682187931648,"45":6928999159469197312},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,79,24,16,45]} 
[2026-11-05 06:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223266816001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:39:48] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-11-05 06:39:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39844682187931648,"km_value":39844682187931.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6928999159469197312,"description":"Unknown IO ID 45"} 
[2026-11-05 06:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223266816001,"power":27865,"unknown_99":206,"unknown_79":20992,"ignition":54,"odometer":null,"unknown_45":6928999159469197312}} 
[2026-11-05 06:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":229943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:39:48] local.INFO: GPS data processed {"connection_id":229943,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:39:48] local.INFO: Acknowledgment sent {"connection_id":229943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:40:04] local.INFO: TCP Data received {"connection_id":229945,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:40:04] local.INFO: Processing buffer {"connection_id":229945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:40:04] local.INFO: IMEI packet received {"connection_id":229945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":229945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:40:05] local.INFO: TCP Data received {"connection_id":229945,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:40:05] local.INFO: Processing buffer {"connection_id":229945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:40:05] local.INFO: IMEI packet received {"connection_id":229945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":229945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:40:09] local.INFO: TCP Data received {"connection_id":229945,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:40:09] local.INFO: Processing buffer {"connection_id":229945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:40:09] local.INFO: IMEI packet received {"connection_id":229945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":229945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:40:10] local.INFO: TCP Data received {"connection_id":229945,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a93fe7a0012d604780062cdf380006009c2d..."} 
[2026-11-05 06:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a93fe7a0012d604780062cdf380006009c2d..."} 
[2026-11-05 06:40:10] local.INFO: Processing buffer {"connection_id":229945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a93fe7a0012d604780062cdf380006009c2d..."} 
[2026-11-05 06:40:10] local.INFO: Packet analysis {"connection_id":229945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a93f"} 
[2026-11-05 06:40:10] local.INFO: Extracted packet for processing {"connection_id":229945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a93f"} 
[2026-11-05 06:40:10] local.INFO: GPS Element Parsed {"raw_longitude":761284480,"raw_latitude":103604024,"longitude_deg":76.128448,"latitude_deg":10.3604024,"altitude":6,"angle":156,"satellites":45,"speed":55,"hex_longitude":"2d604780","hex_latitude":"062cdf38","is_valid_coordinates":true} 
[2026-11-05 06:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223268608001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39845154634334208,"note":"Value kept but may cause issues"} 
[2026-11-05 06:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6933291652861798400,"note":"Value kept but may cause issues"} 
[2026-11-05 06:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793840900000,"timestamp_ms":1793840900000,"timestamp_seconds":1793840900,"priority":1,"record_length":96,"hex_timestamp":"000001a1a93fe7a0"} 
[2026-11-05 06:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 06:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 06:40: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-05 06:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:40:10] 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-05 06:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223268608001,"66":27865,"99":206,"79":20992,"24":55,"16":39845154634334208,"45":6933291652861798400},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,79,24,16,45]} 
[2026-11-05 06:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223268608001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:40:10] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-11-05 06:40:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39845154634334208,"km_value":39845154634334.21,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6933291652861798400,"description":"Unknown IO ID 45"} 
[2026-11-05 06:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223268608001,"power":27865,"unknown_99":206,"unknown_79":20992,"ignition":55,"odometer":null,"unknown_45":6933291652861798400}} 
[2026-11-05 06:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":229945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:40:10] local.INFO: GPS data processed {"connection_id":229945,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:40:10] local.INFO: Acknowledgment sent {"connection_id":229945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:40:41] local.INFO: TCP Data received {"connection_id":229945,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9412fc0012d60ea40062b1bd8000900922d..."} 
[2026-11-05 06:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9412fc0012d60ea40062b1bd8000900922d..."} 
[2026-11-05 06:40:41] local.INFO: Processing buffer {"connection_id":229945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9412fc0012d60ea40062b1bd8000900922d..."} 
[2026-11-05 06:40:41] local.INFO: Packet analysis {"connection_id":229945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a941"} 
[2026-11-05 06:40:41] local.INFO: Extracted packet for processing {"connection_id":229945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a941"} 
[2026-11-05 06:40:41] local.INFO: GPS Element Parsed {"raw_longitude":761326144,"raw_latitude":103488472,"longitude_deg":76.1326144,"latitude_deg":10.3488472,"altitude":9,"angle":146,"satellites":45,"speed":59,"hex_longitude":"2d60ea40","hex_latitude":"062b1bd8","is_valid_coordinates":true} 
[2026-11-05 06:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223290368001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39851128933842944,"note":"Value kept but may cause issues"} 
[2026-11-05 06:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6978679492826540032,"note":"Value kept but may cause issues"} 
[2026-11-05 06:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793840984000,"timestamp_ms":1793840984000,"timestamp_seconds":1793840984,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9412fc0"} 
[2026-11-05 06:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:40: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-05 06:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-05 06:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 06:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:40:41] 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-05 06:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223290368001,"66":27800,"91":206,"79":20992,"24":59,"16":39851128933842944,"45":6978679492826540032},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-11-05 06:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223290368001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:40:41] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-11-05 06:40:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39851128933842944,"km_value":39851128933842.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6978679492826540032,"description":"Unknown IO ID 45"} 
[2026-11-05 06:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223290368001,"power":27800,"unknown_91":206,"unknown_79":20992,"ignition":59,"odometer":null,"unknown_45":6978679492826540032}} 
[2026-11-05 06:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":229945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:40:41] local.INFO: GPS data processed {"connection_id":229945,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:40:41] local.INFO: Acknowledgment sent {"connection_id":229945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:41:03] local.INFO: TCP Data received {"connection_id":229946,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:41:03] local.INFO: Processing buffer {"connection_id":229946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:41:03] local.INFO: IMEI packet received {"connection_id":229946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":229946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:41:04] local.INFO: TCP Data received {"connection_id":229946,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:41:04] local.INFO: Processing buffer {"connection_id":229946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:41:04] local.INFO: IMEI packet received {"connection_id":229946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":229946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:41:09] local.INFO: TCP Data received {"connection_id":229946,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:41:09] local.INFO: Processing buffer {"connection_id":229946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:41:09] local.INFO: IMEI packet received {"connection_id":229946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":229946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:41:10] local.INFO: TCP Data received {"connection_id":229947,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229947,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:41:10] local.INFO: Processing buffer {"connection_id":229947,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:41:10] local.INFO: IMEI packet received {"connection_id":229947,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 06:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":229947,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:41:10] local.INFO: TCP Data received {"connection_id":229946,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9414730012d60fe00062afea8000700912c..."} 
[2026-11-05 06:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9414730012d60fe00062afea8000700912c..."} 
[2026-11-05 06:41:10] local.INFO: Processing buffer {"connection_id":229946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9414730012d60fe00062afea8000700912c..."} 
[2026-11-05 06:41:10] local.INFO: Packet analysis {"connection_id":229946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a941"} 
[2026-11-05 06:41:10] local.INFO: Extracted packet for processing {"connection_id":229946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a941"} 
[2026-11-05 06:41:10] local.INFO: GPS Element Parsed {"raw_longitude":761331200,"raw_latitude":103481000,"longitude_deg":76.13312,"latitude_deg":10.3481,"altitude":7,"angle":145,"satellites":44,"speed":58,"hex_longitude":"2d60fe00","hex_latitude":"062afea8","is_valid_coordinates":true} 
[2026-11-05 06:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223291904001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39851567020507136,"note":"Value kept but may cause issues"} 
[2026-11-05 06:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6983464567428601856,"note":"Value kept but may cause issues"} 
[2026-11-05 06:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793840990000,"timestamp_ms":1793840990000,"timestamp_seconds":1793840990,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9414730"} 
[2026-11-05 06:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 06:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-05 06:41:10] 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-05 06:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:41:10] 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-05 06:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223291904001,"66":27767,"91":206,"79":20992,"24":58,"16":39851567020507136,"45":6983464567428601856},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-11-05 06:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223291904001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:41:10] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-11-05 06:41:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39851567020507136,"km_value":39851567020507.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6983464567428601856,"description":"Unknown IO ID 45"} 
[2026-11-05 06:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223291904001,"power":27767,"unknown_91":206,"unknown_79":20992,"ignition":58,"odometer":null,"unknown_45":6983464567428601856}} 
[2026-11-05 06:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":229946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:41:10] local.INFO: GPS data processed {"connection_id":229946,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:41:10] local.INFO: Acknowledgment sent {"connection_id":229946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:42:05] local.INFO: TCP Data received {"connection_id":231239,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:42:05] local.INFO: Processing buffer {"connection_id":231239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:42:05] local.INFO: IMEI packet received {"connection_id":231239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":231239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:42:14] local.INFO: TCP Data received {"connection_id":231239,"ip":"42.109.136.11","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 06:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231239,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 06:42:14] local.INFO: Processing buffer {"connection_id":231239,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 06:42:14] local.INFO: IMEI packet received {"connection_id":231239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":231239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:46:37] local.INFO: TCP Data received {"connection_id":229452,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229452,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:46:37] local.INFO: Processing buffer {"connection_id":229452,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:46:37] local.INFO: IMEI packet received {"connection_id":229452,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 06:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":229452,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:47:12] local.INFO: TCP Data received {"connection_id":231245,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:47:12] local.INFO: Processing buffer {"connection_id":231245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:47:12] local.INFO: IMEI packet received {"connection_id":231245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 06:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":231245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:47:14] local.INFO: TCP Data received {"connection_id":231244,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:47:14] local.INFO: Processing buffer {"connection_id":231244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:47:14] local.INFO: IMEI packet received {"connection_id":231244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":231244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:47:16] local.INFO: TCP Data received {"connection_id":231244,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9469e60012d639d000624ff980007008f2d..."} 
[2026-11-05 06:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9469e60012d639d000624ff980007008f2d..."} 
[2026-11-05 06:47:16] local.INFO: Processing buffer {"connection_id":231244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9469e60012d639d000624ff980007008f2d..."} 
[2026-11-05 06:47:16] local.INFO: Packet analysis {"connection_id":231244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a946"} 
[2026-11-05 06:47:16] local.INFO: Extracted packet for processing {"connection_id":231244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a946"} 
[2026-11-05 06:47:16] local.INFO: GPS Element Parsed {"raw_longitude":761502976,"raw_latitude":103088024,"longitude_deg":76.1502976,"latitude_deg":10.3088024,"altitude":7,"angle":143,"satellites":45,"speed":30,"hex_longitude":"2d639d00","hex_latitude":"0624ff98","is_valid_coordinates":true} 
[2026-11-05 06:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223379968001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39873595907768320,"note":"Value kept but may cause issues"} 
[2026-11-05 06:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7171208376793718784,"note":"Value kept but may cause issues"} 
[2026-11-05 06:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793841340000,"timestamp_ms":1793841340000,"timestamp_seconds":1793841340,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9469e60"} 
[2026-11-05 06:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:47: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-05 06:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 06:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 06:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":231244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":231244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":231244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:47:16] 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-05 06:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223379968001,"66":27767,"51":206,"79":20992,"24":30,"16":39873595907768320,"45":7171208376793718784},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,79,24,16,45]} 
[2026-11-05 06:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223379968001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:47:16] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-11-05 06:47:16] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39873595907768320,"km_value":39873595907768.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":7171208376793718784,"description":"Unknown IO ID 45"} 
[2026-11-05 06:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223379968001,"power":27767,"unknown_51":206,"unknown_79":20992,"ignition":30,"odometer":null,"unknown_45":7171208376793718784}} 
[2026-11-05 06:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":231244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:47:16] local.INFO: GPS data processed {"connection_id":231244,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:47:16] local.INFO: Acknowledgment sent {"connection_id":231244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:47:47] local.INFO: TCP Data received {"connection_id":231244,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a946d128012d63b2000624e2b80007009b2e..."} 
[2026-11-05 06:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a946d128012d63b2000624e2b80007009b2e..."} 
[2026-11-05 06:47:47] local.INFO: Processing buffer {"connection_id":231244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a946d128012d63b2000624e2b80007009b2e..."} 
[2026-11-05 06:47:47] local.INFO: Packet analysis {"connection_id":231244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a946"} 
[2026-11-05 06:47:47] local.INFO: Extracted packet for processing {"connection_id":231244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a946"} 
[2026-11-05 06:47:47] local.INFO: GPS Element Parsed {"raw_longitude":761508352,"raw_latitude":103080632,"longitude_deg":76.1508352,"latitude_deg":10.3080632,"altitude":7,"angle":155,"satellites":46,"speed":29,"hex_longitude":"2d63b200","hex_latitude":"0624e2b8","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223383040001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39874038289399808,"note":"Value kept but may cause issues"} 
[2026-11-05 06:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7177893407488972800,"note":"Value kept but may cause issues"} 
[2026-11-05 06:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793841353000,"timestamp_ms":1793841353000,"timestamp_seconds":1793841353,"priority":1,"record_length":96,"hex_timestamp":"000001a1a946d128"} 
[2026-11-05 06: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-05 06:47: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-05 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-05 06:47: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-05 06: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-05 06: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-05 06:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":231244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":231244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":231244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:47:47] 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-05 06:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223383040001,"66":27876,"51":206,"79":20992,"24":29,"16":39874038289399808,"45":7177893407488972800},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,79,24,16,45]} 
[2026-11-05 06:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223383040001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:47:47] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-11-05 06:47:47] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39874038289399808,"km_value":39874038289399.805,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":7177893407488972800,"description":"Unknown IO ID 45"} 
[2026-11-05 06:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223383040001,"power":27876,"unknown_51":206,"unknown_79":20992,"ignition":29,"odometer":null,"unknown_45":7177893407488972800}} 
[2026-11-05 06:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":231244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:47:47] local.INFO: GPS data processed {"connection_id":231244,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:47:47] local.INFO: Acknowledgment sent {"connection_id":231244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:48:05] local.INFO: TCP Data received {"connection_id":229453,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:48:05] local.INFO: Processing buffer {"connection_id":229453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:48:05] local.INFO: IMEI packet received {"connection_id":229453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":229453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:48:09] local.INFO: TCP Data received {"connection_id":229453,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:48:09] local.INFO: Processing buffer {"connection_id":229453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:48:09] local.INFO: IMEI packet received {"connection_id":229453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":229453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:48:10] local.INFO: TCP Data received {"connection_id":229453,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a946d128012d63b2000624e2b80007009b2e..."} 
[2026-11-05 06:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a946d128012d63b2000624e2b80007009b2e..."} 
[2026-11-05 06:48:10] local.INFO: Processing buffer {"connection_id":229453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a946d128012d63b2000624e2b80007009b2e..."} 
[2026-11-05 06:48:10] local.INFO: Packet analysis {"connection_id":229453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a946"} 
[2026-11-05 06:48:10] local.INFO: Extracted packet for processing {"connection_id":229453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a946"} 
[2026-11-05 06:48:10] local.INFO: GPS Element Parsed {"raw_longitude":761508352,"raw_latitude":103080632,"longitude_deg":76.1508352,"latitude_deg":10.3080632,"altitude":7,"angle":155,"satellites":46,"speed":29,"hex_longitude":"2d63b200","hex_latitude":"0624e2b8","is_valid_coordinates":true} 
[2026-11-05 06:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223386368001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39874038289399808,"note":"Value kept but may cause issues"} 
[2026-11-05 06:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7183804381998004224,"note":"Value kept but may cause issues"} 
[2026-11-05 06:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793841353000,"timestamp_ms":1793841353000,"timestamp_seconds":1793841353,"priority":1,"record_length":96,"hex_timestamp":"000001a1a946d128"} 
[2026-11-05 06:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 06:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-05 06:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 06:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:48:10] 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-05 06:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223386368001,"66":27876,"51":206,"79":20992,"24":29,"16":39874038289399808,"45":7183804381998004224},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,79,24,16,45]} 
[2026-11-05 06:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223386368001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:48:10] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-11-05 06:48:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39874038289399808,"km_value":39874038289399.805,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7183804381998004224,"description":"Unknown IO ID 45"} 
[2026-11-05 06:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223386368001,"power":27876,"unknown_51":206,"unknown_79":20992,"ignition":29,"odometer":null,"unknown_45":7183804381998004224}} 
[2026-11-05 06:48:10] 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":61685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:48:10] local.INFO: GPS data processed {"connection_id":229453,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:48:10] local.INFO: Acknowledgment sent {"connection_id":229453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:48:41] local.INFO: TCP Data received {"connection_id":229453,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9488a90012d64664006232498000e006d2e..."} 
[2026-11-05 06:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9488a90012d64664006232498000e006d2e..."} 
[2026-11-05 06:48:41] local.INFO: Processing buffer {"connection_id":229453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9488a90012d64664006232498000e006d2e..."} 
[2026-11-05 06:48:41] local.INFO: Packet analysis {"connection_id":229453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a948"} 
[2026-11-05 06:48:41] local.INFO: Extracted packet for processing {"connection_id":229453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a948"} 
[2026-11-05 06:48:41] local.INFO: GPS Element Parsed {"raw_longitude":761554496,"raw_latitude":102966424,"longitude_deg":76.1554496,"latitude_deg":10.2966424,"altitude":14,"angle":109,"satellites":46,"speed":59,"hex_longitude":"2d646640","hex_latitude":"06232498","is_valid_coordinates":true} 
[2026-11-05 06:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223415296001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39880227337273344,"note":"Value kept but may cause issues"} 
[2026-11-05 06:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7234540246520862720,"note":"Value kept but may cause issues"} 
[2026-11-05 06:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793841466000,"timestamp_ms":1793841466000,"timestamp_seconds":1793841466,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9488a90"} 
[2026-11-05 06:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:48: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-05 06:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-05 06:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 06:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:48:41] 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-05 06:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223415296001,"66":27821,"55":206,"79":20992,"24":59,"16":39880227337273344,"45":7234540246520862720},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,79,24,16,45]} 
[2026-11-05 06:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223415296001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:48:41] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-11-05 06:48:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39880227337273344,"km_value":39880227337273.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":7234540246520862720,"description":"Unknown IO ID 45"} 
[2026-11-05 06:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223415296001,"power":27821,"unknown_55":206,"unknown_79":20992,"ignition":59,"odometer":null,"unknown_45":7234540246520862720}} 
[2026-11-05 06:48:41] 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":61686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:48:41] local.INFO: GPS data processed {"connection_id":229453,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:48:41] local.INFO: Acknowledgment sent {"connection_id":229453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:49:04] local.INFO: TCP Data received {"connection_id":231246,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:49:04] local.INFO: Processing buffer {"connection_id":231246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:49:04] local.INFO: IMEI packet received {"connection_id":231246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":231246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:49:09] local.INFO: TCP Data received {"connection_id":231246,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:49:09] local.INFO: Processing buffer {"connection_id":231246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:49:09] local.INFO: IMEI packet received {"connection_id":231246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":231246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:49:11] local.INFO: TCP Data received {"connection_id":231246,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a948a200012d64888006231bf0000c00652d..."} 
[2026-11-05 06:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a948a200012d64888006231bf0000c00652d..."} 
[2026-11-05 06:49:11] local.INFO: Processing buffer {"connection_id":231246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a948a200012d64888006231bf0000c00652d..."} 
[2026-11-05 06:49:11] local.INFO: Packet analysis {"connection_id":231246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a948"} 
[2026-11-05 06:49:11] local.INFO: Extracted packet for processing {"connection_id":231246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a948"} 
[2026-11-05 06:49:11] local.INFO: GPS Element Parsed {"raw_longitude":761563264,"raw_latitude":102964208,"longitude_deg":76.1563264,"latitude_deg":10.2964208,"altitude":12,"angle":101,"satellites":45,"speed":59,"hex_longitude":"2d648880","hex_latitude":"06231bf0","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223415296001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39880661128970240,"note":"Value kept but may cause issues"} 
[2026-11-05 06:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7234540246520862720,"note":"Value kept but may cause issues"} 
[2026-11-05 06:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793841472000,"timestamp_ms":1793841472000,"timestamp_seconds":1793841472,"priority":1,"record_length":96,"hex_timestamp":"000001a1a948a200"} 
[2026-11-05 06: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-05 06:49: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-05 06: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":173,"data_length":795,"current_offset":136} 
[2026-11-05 06:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 06: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-05 06: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-05 06:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:49:11] 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-05 06:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223415296001,"66":27919,"13":206,"79":20992,"24":59,"16":39880661128970240,"45":7234540246520862720},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,79,24,16,45]} 
[2026-11-05 06:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223415296001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:49:11] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-05 06:49:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39880661128970240,"km_value":39880661128970.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7234540246520862720,"description":"Unknown IO ID 45"} 
[2026-11-05 06:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223415296001,"power":27919,"unknown_13":206,"unknown_79":20992,"ignition":59,"odometer":null,"unknown_45":7234540246520862720}} 
[2026-11-05 06:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":231246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:49:11] local.INFO: GPS data processed {"connection_id":231246,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:49:11] local.INFO: Acknowledgment sent {"connection_id":231246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:49:44] local.INFO: TCP Data received {"connection_id":231246,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a948b970012d64ac4006231510000a00642e..."} 
[2026-11-05 06:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a948b970012d64ac4006231510000a00642e..."} 
[2026-11-05 06:49:44] local.INFO: Processing buffer {"connection_id":231246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a948b970012d64ac4006231510000a00642e..."} 
[2026-11-05 06:49:44] local.INFO: Packet analysis {"connection_id":231246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a948"} 
[2026-11-05 06:49:44] local.INFO: Extracted packet for processing {"connection_id":231246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a948"} 
[2026-11-05 06:49:44] local.INFO: GPS Element Parsed {"raw_longitude":761572416,"raw_latitude":102962448,"longitude_deg":76.1572416,"latitude_deg":10.2962448,"altitude":10,"angle":100,"satellites":46,"speed":62,"hex_longitude":"2d64ac40","hex_latitude":"06231510","is_valid_coordinates":true} 
[2026-11-05 06:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223416832001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39881107805569024,"note":"Value kept but may cause issues"} 
[2026-11-05 06:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7244180764472635392,"note":"Value kept but may cause issues"} 
[2026-11-05 06:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793841478000,"timestamp_ms":1793841478000,"timestamp_seconds":1793841478,"priority":1,"record_length":96,"hex_timestamp":"000001a1a948b970"} 
[2026-11-05 06:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:49: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-05 06:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 06:49: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-05 06:49:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":231246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":231246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":231246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:49: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-05 06:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223416832001,"66":27843,"13":206,"79":20992,"24":62,"16":39881107805569024,"45":7244180764472635392},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,79,24,16,45]} 
[2026-11-05 06:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223416832001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:49:44] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-05 06:49:44] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39881107805569024,"km_value":39881107805569.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":7244180764472635392,"description":"Unknown IO ID 45"} 
[2026-11-05 06:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223416832001,"power":27843,"unknown_13":206,"unknown_79":20992,"ignition":62,"odometer":null,"unknown_45":7244180764472635392}} 
[2026-11-05 06:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":231246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:49:44] local.INFO: GPS data processed {"connection_id":231246,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:49:44] local.INFO: Acknowledgment sent {"connection_id":231246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:50:14] local.INFO: TCP Data received {"connection_id":229949,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:50:14] local.INFO: Processing buffer {"connection_id":229949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:50:14] local.INFO: IMEI packet received {"connection_id":229949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":229949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:50:15] local.INFO: TCP Data received {"connection_id":229949,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:50:15] local.INFO: Processing buffer {"connection_id":229949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:50:15] local.INFO: IMEI packet received {"connection_id":229949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":229949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:50:19] local.INFO: TCP Data received {"connection_id":229949,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:50:19] local.INFO: Processing buffer {"connection_id":229949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:50:19] local.INFO: IMEI packet received {"connection_id":229949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":229949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:50:20] local.INFO: TCP Data received {"connection_id":229949,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a949da80012d6645800622ca30000e00652e..."} 
[2026-11-05 06:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a949da80012d6645800622ca30000e00652e..."} 
[2026-11-05 06:50:20] local.INFO: Processing buffer {"connection_id":229949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a949da80012d6645800622ca30000e00652e..."} 
[2026-11-05 06:50:20] local.INFO: Packet analysis {"connection_id":229949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a949"} 
[2026-11-05 06:50:20] local.INFO: Extracted packet for processing {"connection_id":229949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a949"} 
[2026-11-05 06:50:20] local.INFO: GPS Element Parsed {"raw_longitude":761677184,"raw_latitude":102943280,"longitude_deg":76.1677184,"latitude_deg":10.294328,"altitude":14,"angle":101,"satellites":46,"speed":60,"hex_longitude":"2d664580","hex_latitude":"0622ca30","is_valid_coordinates":true} 
[2026-11-05 06:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223435776001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39886188751880192,"note":"Value kept but may cause issues"} 
[2026-11-05 06:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7359515136174893056,"note":"Value kept but may cause issues"} 
[2026-11-05 06:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793841552000,"timestamp_ms":1793841552000,"timestamp_seconds":1793841552,"priority":1,"record_length":96,"hex_timestamp":"000001a1a949da80"} 
[2026-11-05 06:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:50: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-05 06:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 06:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 06:50:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:50:20] 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-05 06:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223435776001,"66":27876,"11":206,"79":20992,"24":60,"16":39886188751880192,"45":7359515136174893056},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,79,24,16,45]} 
[2026-11-05 06:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223435776001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:50:20] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-11-05 06:50:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39886188751880192,"km_value":39886188751880.195,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":7359515136174893056,"description":"Unknown IO ID 45"} 
[2026-11-05 06:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223435776001,"power":27876,"unknown_11":206,"unknown_79":20992,"ignition":60,"odometer":null,"unknown_45":7359515136174893056}} 
[2026-11-05 06:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":229949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:50:20] local.INFO: GPS data processed {"connection_id":229949,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:50:20] local.INFO: Acknowledgment sent {"connection_id":229949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:51:04] local.INFO: TCP Data received {"connection_id":231248,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:51:04] local.INFO: Processing buffer {"connection_id":231248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:51:04] local.INFO: IMEI packet received {"connection_id":231248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":231248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:51:04] local.INFO: TCP Data received {"connection_id":231248,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:51:04] local.INFO: Processing buffer {"connection_id":231248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:51:04] local.INFO: IMEI packet received {"connection_id":231248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":231248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:51:09] local.INFO: TCP Data received {"connection_id":231248,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:51:09] local.INFO: Processing buffer {"connection_id":231248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:51:09] local.INFO: IMEI packet received {"connection_id":231248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":231248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:51:10] local.INFO: TCP Data received {"connection_id":231248,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a94ac4e0012d671b400621eb70000400a82e..."} 
[2026-11-05 06:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a94ac4e0012d671b400621eb70000400a82e..."} 
[2026-11-05 06:51:10] local.INFO: Processing buffer {"connection_id":231248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a94ac4e0012d671b400621eb70000400a82e..."} 
[2026-11-05 06:51:10] local.INFO: Packet analysis {"connection_id":231248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a94a"} 
[2026-11-05 06:51:10] local.INFO: Extracted packet for processing {"connection_id":231248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a94a"} 
[2026-11-05 06:51:10] local.INFO: GPS Element Parsed {"raw_longitude":761731904,"raw_latitude":102886256,"longitude_deg":76.1731904,"latitude_deg":10.2886256,"altitude":4,"angle":168,"satellites":46,"speed":58,"hex_longitude":"2d671b40","hex_latitude":"0621eb70","is_valid_coordinates":true} 
[2026-11-05 06:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223450880001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39890479424208896,"note":"Value kept but may cause issues"} 
[2026-11-05 06:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7427420974293915648,"note":"Value kept but may cause issues"} 
[2026-11-05 06:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793841612000,"timestamp_ms":1793841612000,"timestamp_seconds":1793841612,"priority":1,"record_length":96,"hex_timestamp":"000001a1a94ac4e0"} 
[2026-11-05 06:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 06:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 06:51: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-05 06:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:51:10] 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-05 06:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223450880001,"66":27745,"94":206,"79":20992,"24":58,"16":39890479424208896,"45":7427420974293915648},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,79,24,16,45]} 
[2026-11-05 06:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223450880001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:51:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-11-05 06:51:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39890479424208896,"km_value":39890479424208.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7427420974293915648,"description":"Unknown IO ID 45"} 
[2026-11-05 06:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223450880001,"power":27745,"unknown_94":206,"unknown_79":20992,"ignition":58,"odometer":null,"unknown_45":7427420974293915648}} 
[2026-11-05 06:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":231248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:51:10] local.INFO: GPS data processed {"connection_id":231248,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:51:10] local.INFO: Acknowledgment sent {"connection_id":231248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:51:43] local.INFO: TCP Data received {"connection_id":231248,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a94ae038012d6723c00621c4b0000400a92e..."} 
[2026-11-05 06:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a94ae038012d6723c00621c4b0000400a92e..."} 
[2026-11-05 06:51:43] local.INFO: Processing buffer {"connection_id":231248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a94ae038012d6723c00621c4b0000400a92e..."} 
[2026-11-05 06:51:43] local.INFO: Packet analysis {"connection_id":231248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a94a"} 
[2026-11-05 06:51:43] local.INFO: Extracted packet for processing {"connection_id":231248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a94a"} 
[2026-11-05 06:51:43] local.INFO: GPS Element Parsed {"raw_longitude":761734080,"raw_latitude":102876336,"longitude_deg":76.173408,"latitude_deg":10.2876336,"altitude":4,"angle":169,"satellites":46,"speed":57,"hex_longitude":"2d6723c0","hex_latitude":"0621c4b0","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223452672001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39890973345447936,"note":"Value kept but may cause issues"} 
[2026-11-05 06:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7429602405360824320,"note":"Value kept but may cause issues"} 
[2026-11-05 06:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793841619000,"timestamp_ms":1793841619000,"timestamp_seconds":1793841619,"priority":1,"record_length":96,"hex_timestamp":"000001a1a94ae038"} 
[2026-11-05 06: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-05 06:51: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-05 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 06:51: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-05 06: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-05 06: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-05 06:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:51:43] 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-05 06:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223452672001,"66":27821,"94":206,"79":20992,"24":57,"16":39890973345447936,"45":7429602405360824320},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,79,24,16,45]} 
[2026-11-05 06:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223452672001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:51:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-11-05 06:51:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39890973345447936,"km_value":39890973345447.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":7429602405360824320,"description":"Unknown IO ID 45"} 
[2026-11-05 06:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223452672001,"power":27821,"unknown_94":206,"unknown_79":20992,"ignition":57,"odometer":null,"unknown_45":7429602405360824320}} 
[2026-11-05 06:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":231248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:51:43] local.INFO: GPS data processed {"connection_id":231248,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:51:43] local.INFO: Acknowledgment sent {"connection_id":231248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:52:20] local.INFO: TCP Data received {"connection_id":229951,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:52:20] local.INFO: Processing buffer {"connection_id":229951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:52:20] local.INFO: IMEI packet received {"connection_id":229951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":229951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:52:20] local.INFO: TCP Data received {"connection_id":229951,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:52:20] local.INFO: Processing buffer {"connection_id":229951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:52:20] local.INFO: IMEI packet received {"connection_id":229951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":229951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:52:24] local.INFO: TCP Data received {"connection_id":229951,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:52:24] local.INFO: Processing buffer {"connection_id":229951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:52:24] local.INFO: IMEI packet received {"connection_id":229951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":229951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:52:25] local.INFO: TCP Data received {"connection_id":229951,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a94afb90012d672c0006219e00000500a72b..."} 
[2026-11-05 06:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a94afb90012d672c0006219e00000500a72b..."} 
[2026-11-05 06:52:25] local.INFO: Processing buffer {"connection_id":229951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a94afb90012d672c0006219e00000500a72b..."} 
[2026-11-05 06:52:25] local.INFO: Packet analysis {"connection_id":229951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a94a"} 
[2026-11-05 06:52:25] local.INFO: Extracted packet for processing {"connection_id":229951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a94a"} 
[2026-11-05 06:52:25] local.INFO: GPS Element Parsed {"raw_longitude":761736192,"raw_latitude":102866432,"longitude_deg":76.1736192,"latitude_deg":10.2866432,"altitude":5,"angle":167,"satellites":43,"speed":57,"hex_longitude":"2d672c00","hex_latitude":"06219e00","is_valid_coordinates":true} 
[2026-11-05 06:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223454464001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39891462971719680,"note":"Value kept but may cause issues"} 
[2026-11-05 06:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7431994942660325376,"note":"Value kept but may cause issues"} 
[2026-11-05 06:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793841626000,"timestamp_ms":1793841626000,"timestamp_seconds":1793841626,"priority":1,"record_length":96,"hex_timestamp":"000001a1a94afb90"} 
[2026-11-05 06:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:52: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-05 06:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-05 06:52: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-05 06:52:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":229951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":229951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":229951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:52:25] 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-05 06:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223454464001,"66":27908,"94":206,"79":20992,"24":57,"16":39891462971719680,"45":7431994942660325376},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,79,24,16,45]} 
[2026-11-05 06:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223454464001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:52:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-11-05 06:52:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39891462971719680,"km_value":39891462971719.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":7431994942660325376,"description":"Unknown IO ID 45"} 
[2026-11-05 06:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223454464001,"power":27908,"unknown_94":206,"unknown_79":20992,"ignition":57,"odometer":null,"unknown_45":7431994942660325376}} 
[2026-11-05 06:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":229951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:52:25] local.INFO: GPS data processed {"connection_id":229951,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:52:25] local.INFO: Acknowledgment sent {"connection_id":229951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:53:04] local.INFO: TCP Data received {"connection_id":233158,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:53:04] local.INFO: Processing buffer {"connection_id":233158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:53:04] local.INFO: IMEI packet received {"connection_id":233158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":233158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:53:07] local.INFO: TCP Data received {"connection_id":233159,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233159,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:53:07] local.INFO: Processing buffer {"connection_id":233159,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:53:07] local.INFO: IMEI packet received {"connection_id":233159,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 06:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":233159,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:53:08] local.INFO: TCP Data received {"connection_id":233158,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:53:08] local.INFO: Processing buffer {"connection_id":233158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:53:08] local.INFO: IMEI packet received {"connection_id":233158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":233158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:53:09] local.INFO: TCP Data received {"connection_id":233158,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a94c5738012d679400061fc138000b00a72d..."} 
[2026-11-05 06:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a94c5738012d679400061fc138000b00a72d..."} 
[2026-11-05 06:53:09] local.INFO: Processing buffer {"connection_id":233158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a94c5738012d679400061fc138000b00a72d..."} 
[2026-11-05 06:53:09] local.INFO: Packet analysis {"connection_id":233158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a94c"} 
[2026-11-05 06:53:09] local.INFO: Extracted packet for processing {"connection_id":233158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a94c"} 
[2026-11-05 06:53:09] local.INFO: GPS Element Parsed {"raw_longitude":761762816,"raw_latitude":102744376,"longitude_deg":76.1762816,"latitude_deg":10.2744376,"altitude":11,"angle":167,"satellites":45,"speed":57,"hex_longitude":"2d679400","hex_latitude":"061fc138","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223477248001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39897514580639744,"note":"Value kept but may cause issues"} 
[2026-11-05 06:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7461127602718629888,"note":"Value kept but may cause issues"} 
[2026-11-05 06:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793841715000,"timestamp_ms":1793841715000,"timestamp_seconds":1793841715,"priority":1,"record_length":96,"hex_timestamp":"000001a1a94c5738"} 
[2026-11-05 06: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-05 06:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 06:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-05 06:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 06: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-05 06: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-05 06:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:53:09] 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-05 06:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223477248001,"66":27800,"92":206,"79":20992,"24":57,"16":39897514580639744,"45":7461127602718629888},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,79,24,16,45]} 
[2026-11-05 06:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223477248001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:53:09] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-11-05 06:53:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39897514580639744,"km_value":39897514580639.74,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7461127602718629888,"description":"Unknown IO ID 45"} 
[2026-11-05 06:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223477248001,"power":27800,"unknown_92":206,"unknown_79":20992,"ignition":57,"odometer":null,"unknown_45":7461127602718629888}} 
[2026-11-05 06:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":233158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:53:09] local.INFO: GPS data processed {"connection_id":233158,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:53:09] local.INFO: Acknowledgment sent {"connection_id":233158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:53:40] local.INFO: TCP Data received {"connection_id":233158,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a94c7290012d679d00061f9c80000c00a52c..."} 
[2026-11-05 06:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a94c7290012d679d00061f9c80000c00a52c..."} 
[2026-11-05 06:53:40] local.INFO: Processing buffer {"connection_id":233158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a94c7290012d679d00061f9c80000c00a52c..."} 
[2026-11-05 06:53:40] local.INFO: Packet analysis {"connection_id":233158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a94c"} 
[2026-11-05 06:53:40] local.INFO: Extracted packet for processing {"connection_id":233158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a94c"} 
[2026-11-05 06:53:40] local.INFO: GPS Element Parsed {"raw_longitude":761765120,"raw_latitude":102734976,"longitude_deg":76.176512,"latitude_deg":10.2734976,"altitude":12,"angle":165,"satellites":44,"speed":52,"hex_longitude":"2d679d00","hex_latitude":"061f9c80","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223479040001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39897982732075008,"note":"Value kept but may cause issues"} 
[2026-11-05 06:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7463590508762314752,"note":"Value kept but may cause issues"} 
[2026-11-05 06:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793841722000,"timestamp_ms":1793841722000,"timestamp_seconds":1793841722,"priority":1,"record_length":96,"hex_timestamp":"000001a1a94c7290"} 
[2026-11-05 06: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-05 06:53: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-05 06: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-05 06:53: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-05 06: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-05 06: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-05 06:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:53:40] 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-05 06:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223479040001,"66":27887,"85":206,"79":20992,"24":52,"16":39897982732075008,"45":7463590508762314752},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-11-05 06:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223479040001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:53:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-11-05 06:53:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39897982732075008,"km_value":39897982732075.01,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":7463590508762314752,"description":"Unknown IO ID 45"} 
[2026-11-05 06:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223479040001,"power":27887,"unknown_85":206,"unknown_79":20992,"ignition":52,"odometer":null,"unknown_45":7463590508762314752}} 
[2026-11-05 06:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":233158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:53:40] local.INFO: GPS data processed {"connection_id":233158,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:53:40] local.INFO: Acknowledgment sent {"connection_id":233158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:54:04] local.INFO: TCP Data received {"connection_id":229454,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:54:04] local.INFO: Processing buffer {"connection_id":229454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:54:04] local.INFO: IMEI packet received {"connection_id":229454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":229454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:54:08] local.INFO: TCP Data received {"connection_id":229454,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:54:08] local.INFO: Processing buffer {"connection_id":229454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:54:08] local.INFO: IMEI packet received {"connection_id":229454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":229454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:54:09] local.INFO: TCP Data received {"connection_id":229454,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a94d7848012d6836c0061e4f180007009e2e..."} 
[2026-11-05 06:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a94d7848012d6836c0061e4f180007009e2e..."} 
[2026-11-05 06:54:09] local.INFO: Processing buffer {"connection_id":229454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a94d7848012d6836c0061e4f180007009e2e..."} 
[2026-11-05 06:54:09] local.INFO: Packet analysis {"connection_id":229454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a94d"} 
[2026-11-05 06:54:09] local.INFO: Extracted packet for processing {"connection_id":229454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a94d"} 
[2026-11-05 06:54:09] local.INFO: GPS Element Parsed {"raw_longitude":761804480,"raw_latitude":102649624,"longitude_deg":76.180448,"latitude_deg":10.2649624,"altitude":7,"angle":158,"satellites":46,"speed":54,"hex_longitude":"2d6836c0","hex_latitude":"061e4f18","is_valid_coordinates":true} 
[2026-11-05 06:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223496192001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39902574052114432,"note":"Value kept but may cause issues"} 
[2026-11-05 06:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7505389542781890560,"note":"Value kept but may cause issues"} 
[2026-11-05 06:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793841789000,"timestamp_ms":1793841789000,"timestamp_seconds":1793841789,"priority":1,"record_length":96,"hex_timestamp":"000001a1a94d7848"} 
[2026-11-05 06:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 06:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-05 06:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 06:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:54:09] 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-05 06:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223496192001,"66":27865,"85":206,"79":20992,"24":54,"16":39902574052114432,"45":7505389542781890560},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-11-05 06:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223496192001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:54:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-11-05 06:54:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39902574052114432,"km_value":39902574052114.43,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7505389542781890560,"description":"Unknown IO ID 45"} 
[2026-11-05 06:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223496192001,"power":27865,"unknown_85":206,"unknown_79":20992,"ignition":54,"odometer":null,"unknown_45":7505389542781890560}} 
[2026-11-05 06:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":229454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:54:09] local.INFO: GPS data processed {"connection_id":229454,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:54:09] local.INFO: Acknowledgment sent {"connection_id":229454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:54:49] local.INFO: TCP Data received {"connection_id":229454,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a94d93a0012d684600061e2bb00007009b2e..."} 
[2026-11-05 06:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a94d93a0012d684600061e2bb00007009b2e..."} 
[2026-11-05 06:54:49] local.INFO: Processing buffer {"connection_id":229454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a94d93a0012d684600061e2bb00007009b2e..."} 
[2026-11-05 06:54:49] local.INFO: Packet analysis {"connection_id":229454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a94d"} 
[2026-11-05 06:54:49] local.INFO: Extracted packet for processing {"connection_id":229454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a94d"} 
[2026-11-05 06:54:49] local.INFO: GPS Element Parsed {"raw_longitude":761808384,"raw_latitude":102640560,"longitude_deg":76.1808384,"latitude_deg":10.264056,"altitude":7,"angle":155,"satellites":46,"speed":57,"hex_longitude":"2d684600","hex_latitude":"061e2bb0","is_valid_coordinates":true} 
[2026-11-05 06:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223497984001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39903050793484288,"note":"Value kept but may cause issues"} 
[2026-11-05 06:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7509400561197717504,"note":"Value kept but may cause issues"} 
[2026-11-05 06:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793841796000,"timestamp_ms":1793841796000,"timestamp_seconds":1793841796,"priority":1,"record_length":96,"hex_timestamp":"000001a1a94d93a0"} 
[2026-11-05 06:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 06:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 06:54: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-05 06:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:54:49] 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-05 06:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223497984001,"66":27800,"85":206,"79":20992,"24":57,"16":39903050793484288,"45":7509400561197717504},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-11-05 06:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223497984001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:54:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-11-05 06:54:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39903050793484288,"km_value":39903050793484.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":7509400561197717504,"description":"Unknown IO ID 45"} 
[2026-11-05 06:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223497984001,"power":27800,"unknown_85":206,"unknown_79":20992,"ignition":57,"odometer":null,"unknown_45":7509400561197717504}} 
[2026-11-05 06:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":229454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:54:49] local.INFO: GPS data processed {"connection_id":229454,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:54:49] local.INFO: Acknowledgment sent {"connection_id":229454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:55:04] local.INFO: TCP Data received {"connection_id":229953,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:55:04] local.INFO: Processing buffer {"connection_id":229953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:55:04] local.INFO: IMEI packet received {"connection_id":229953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":229953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:55:07] local.INFO: TCP Data received {"connection_id":229953,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:55:07] local.INFO: Processing buffer {"connection_id":229953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:55:07] local.INFO: IMEI packet received {"connection_id":229953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":229953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:55:09] local.INFO: TCP Data received {"connection_id":229953,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:55:09] local.INFO: Processing buffer {"connection_id":229953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:55:09] local.INFO: IMEI packet received {"connection_id":229953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":229953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:55:10] local.INFO: TCP Data received {"connection_id":229953,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a94daef8012d685840061e0830000800962e..."} 
[2026-11-05 06:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a94daef8012d685840061e0830000800962e..."} 
[2026-11-05 06:55:10] local.INFO: Processing buffer {"connection_id":229953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a94daef8012d685840061e0830000800962e..."} 
[2026-11-05 06:55:10] local.INFO: Packet analysis {"connection_id":229953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a94d"} 
[2026-11-05 06:55:10] local.INFO: Extracted packet for processing {"connection_id":229953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a94d"} 
[2026-11-05 06:55:10] local.INFO: GPS Element Parsed {"raw_longitude":761813056,"raw_latitude":102631472,"longitude_deg":76.1813056,"latitude_deg":10.2631472,"altitude":8,"angle":150,"satellites":46,"speed":58,"hex_longitude":"2d685840","hex_latitude":"061e0830","is_valid_coordinates":true} 
[2026-11-05 06:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223499776001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39903544714723328,"note":"Value kept but may cause issues"} 
[2026-11-05 06:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7513693054590234624,"note":"Value kept but may cause issues"} 
[2026-11-05 06:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793841803000,"timestamp_ms":1793841803000,"timestamp_seconds":1793841803,"priority":1,"record_length":96,"hex_timestamp":"000001a1a94daef8"} 
[2026-11-05 06:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 06:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-05 06:55:10] 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-05 06:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:55:10] 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-05 06:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223499776001,"66":27908,"85":206,"79":20992,"24":58,"16":39903544714723328,"45":7513693054590234624},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-11-05 06:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223499776001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:55:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-11-05 06:55:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39903544714723328,"km_value":39903544714723.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7513693054590234624,"description":"Unknown IO ID 45"} 
[2026-11-05 06:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223499776001,"power":27908,"unknown_85":206,"unknown_79":20992,"ignition":58,"odometer":null,"unknown_45":7513693054590234624}} 
[2026-11-05 06:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":229953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:55:10] local.INFO: GPS data processed {"connection_id":229953,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:55:10] local.INFO: Acknowledgment sent {"connection_id":229953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:55:15] local.INFO: TCP Data received {"connection_id":229953,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a94dca50012d686cc0061de590000900932d..."} 
[2026-11-05 06:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a94dca50012d686cc0061de590000900932d..."} 
[2026-11-05 06:55:15] local.INFO: Processing buffer {"connection_id":229953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a94dca50012d686cc0061de590000900932d..."} 
[2026-11-05 06:55:15] local.INFO: Packet analysis {"connection_id":229953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a94d"} 
[2026-11-05 06:55:15] local.INFO: Extracted packet for processing {"connection_id":229953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a94d"} 
[2026-11-05 06:55:15] local.INFO: GPS Element Parsed {"raw_longitude":761818304,"raw_latitude":102622608,"longitude_deg":76.1818304,"latitude_deg":10.2622608,"altitude":9,"angle":147,"satellites":45,"speed":58,"hex_longitude":"2d686cc0","hex_latitude":"061de590","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223501568001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39904042930929664,"note":"Value kept but may cause issues"} 
[2026-11-05 06:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7518829972912877568,"note":"Value kept but may cause issues"} 
[2026-11-05 06:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793841810000,"timestamp_ms":1793841810000,"timestamp_seconds":1793841810,"priority":1,"record_length":96,"hex_timestamp":"000001a1a94dca50"} 
[2026-11-05 06: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-05 06:55: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-05 06: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":4,"data_length":795,"current_offset":136} 
[2026-11-05 06:55: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-05 06: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-05 06: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-05 06:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:55:15] 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-05 06:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223501568001,"66":27800,"86":206,"79":20992,"24":58,"16":39904042930929664,"45":7518829972912877568},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-11-05 06:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223501568001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:55:15] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-11-05 06:55:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39904042930929664,"km_value":39904042930929.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":7518829972912877568,"description":"Unknown IO ID 45"} 
[2026-11-05 06:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223501568001,"power":27800,"unknown_86":206,"unknown_79":20992,"ignition":58,"odometer":null,"unknown_45":7518829972912877568}} 
[2026-11-05 06:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":229953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:55:15] local.INFO: GPS data processed {"connection_id":229953,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:55:15] local.INFO: Acknowledgment sent {"connection_id":229953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:55:46] local.INFO: TCP Data received {"connection_id":229953,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a94efee8012d692700061c4a30000700962e..."} 
[2026-11-05 06:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a94efee8012d692700061c4a30000700962e..."} 
[2026-11-05 06:55:46] local.INFO: Processing buffer {"connection_id":229953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a94efee8012d692700061c4a30000700962e..."} 
[2026-11-05 06:55:46] local.INFO: Packet analysis {"connection_id":229953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a94e"} 
[2026-11-05 06:55:46] local.INFO: Extracted packet for processing {"connection_id":229953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a94e"} 
[2026-11-05 06:55:46] local.INFO: GPS Element Parsed {"raw_longitude":761865984,"raw_latitude":102517296,"longitude_deg":76.1865984,"latitude_deg":10.2517296,"altitude":7,"angle":150,"satellites":46,"speed":57,"hex_longitude":"2d692700","hex_latitude":"061c4a30","is_valid_coordinates":true} 
[2026-11-05 06: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-05 06:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223521792001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39909677928022016,"note":"Value kept but may cause issues"} 
[2026-11-05 06:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7571747268507555840,"note":"Value kept but may cause issues"} 
[2026-11-05 06:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793841889000,"timestamp_ms":1793841889000,"timestamp_seconds":1793841889,"priority":1,"record_length":96,"hex_timestamp":"000001a1a94efee8"} 
[2026-11-05 06: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-05 06:55: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-05 06: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":195,"data_length":795,"current_offset":136} 
[2026-11-05 06:55: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-05 06: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-05 06: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-05 06:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:55:46] 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-05 06:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223521792001,"66":27919,"128":206,"79":20992,"24":57,"16":39909677928022016,"45":7571747268507555840},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,79,24,16,45]} 
[2026-11-05 06:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223521792001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:55:46] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-11-05 06:55:46] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39909677928022016,"km_value":39909677928022.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":7571747268507555840,"description":"Unknown IO ID 45"} 
[2026-11-05 06:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223521792001,"power":27919,"unknown_128":206,"unknown_79":20992,"ignition":57,"odometer":null,"unknown_45":7571747268507555840}} 
[2026-11-05 06:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":229953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:55:46] local.INFO: GPS data processed {"connection_id":229953,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:55:46] local.INFO: Acknowledgment sent {"connection_id":229953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:56:04] local.INFO: TCP Data received {"connection_id":231250,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:56:04] local.INFO: Processing buffer {"connection_id":231250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:56:04] local.INFO: IMEI packet received {"connection_id":231250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":231250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:56:09] local.INFO: TCP Data received {"connection_id":231250,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:56:09] local.INFO: Processing buffer {"connection_id":231250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:56:09] local.INFO: IMEI packet received {"connection_id":231250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":231250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:56:10] local.INFO: TCP Data received {"connection_id":231250,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a94f1a40012d693a80061c26c0000700982e..."} 
[2026-11-05 06:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a94f1a40012d693a80061c26c0000700982e..."} 
[2026-11-05 06:56:10] local.INFO: Processing buffer {"connection_id":231250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a94f1a40012d693a80061c26c0000700982e..."} 
[2026-11-05 06:56:10] local.INFO: Packet analysis {"connection_id":231250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a94f"} 
[2026-11-05 06:56:10] local.INFO: Extracted packet for processing {"connection_id":231250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a94f"} 
[2026-11-05 06:56:10] local.INFO: GPS Element Parsed {"raw_longitude":761870976,"raw_latitude":102508224,"longitude_deg":76.1870976,"latitude_deg":10.2508224,"altitude":7,"angle":152,"satellites":46,"speed":60,"hex_longitude":"2d693a80","hex_latitude":"061c26c0","is_valid_coordinates":true} 
[2026-11-05 06:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223523584001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39910176144228352,"note":"Value kept but may cause issues"} 
[2026-11-05 06:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7577024924318576640,"note":"Value kept but may cause issues"} 
[2026-11-05 06:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793841896000,"timestamp_ms":1793841896000,"timestamp_seconds":1793841896,"priority":1,"record_length":96,"hex_timestamp":"000001a1a94f1a40"} 
[2026-11-05 06:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:56: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-05 06:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 06:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 06:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:56:10] 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-05 06:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223523584001,"66":27800,"128":206,"79":20992,"24":60,"16":39910176144228352,"45":7577024924318576640},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,79,24,16,45]} 
[2026-11-05 06:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223523584001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:56:10] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-11-05 06:56:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39910176144228352,"km_value":39910176144228.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7577024924318576640,"description":"Unknown IO ID 45"} 
[2026-11-05 06:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223523584001,"power":27800,"unknown_128":206,"unknown_79":20992,"ignition":60,"odometer":null,"unknown_45":7577024924318576640}} 
[2026-11-05 06:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":231250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:56:11] local.INFO: GPS data processed {"connection_id":231250,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:56:11] local.INFO: Acknowledgment sent {"connection_id":231250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:56:42] local.INFO: TCP Data received {"connection_id":231250,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a94f31b0012d694bc0061c0760000600982e..."} 
[2026-11-05 06:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a94f31b0012d694bc0061c0760000600982e..."} 
[2026-11-05 06:56:42] local.INFO: Processing buffer {"connection_id":231250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a94f31b0012d694bc0061c0760000600982e..."} 
[2026-11-05 06:56:42] local.INFO: Packet analysis {"connection_id":231250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a94f"} 
[2026-11-05 06:56:42] local.INFO: Extracted packet for processing {"connection_id":231250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a94f"} 
[2026-11-05 06:56:42] local.INFO: GPS Element Parsed {"raw_longitude":761875392,"raw_latitude":102500192,"longitude_deg":76.1875392,"latitude_deg":10.2500192,"altitude":6,"angle":152,"satellites":46,"speed":59,"hex_longitude":"2d694bc0","hex_latitude":"061c0760","is_valid_coordinates":true} 
[2026-11-05 06:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223525376001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39910618525859840,"note":"Value kept but may cause issues"} 
[2026-11-05 06:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7582513686362112000,"note":"Value kept but may cause issues"} 
[2026-11-05 06:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793841902000,"timestamp_ms":1793841902000,"timestamp_seconds":1793841902,"priority":1,"record_length":96,"hex_timestamp":"000001a1a94f31b0"} 
[2026-11-05 06:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:56: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-05 06:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-05 06:56: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-05 06:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:56:42] 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-05 06:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223525376001,"66":27876,"128":206,"79":20992,"24":59,"16":39910618525859840,"45":7582513686362112000},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,79,24,16,45]} 
[2026-11-05 06:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223525376001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:56:42] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-11-05 06:56:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39910618525859840,"km_value":39910618525859.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7582513686362112000,"description":"Unknown IO ID 45"} 
[2026-11-05 06:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223525376001,"power":27876,"unknown_128":206,"unknown_79":20992,"ignition":59,"odometer":null,"unknown_45":7582513686362112000}} 
[2026-11-05 06:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":231250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:56:42] local.INFO: GPS data processed {"connection_id":231250,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:56:42] local.INFO: Acknowledgment sent {"connection_id":231250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:57:09] local.INFO: TCP Data received {"connection_id":229456,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:57:09] local.INFO: Processing buffer {"connection_id":229456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:57:09] local.INFO: IMEI packet received {"connection_id":229456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":229456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:57:14] local.INFO: TCP Data received {"connection_id":229456,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:57:14] local.INFO: Processing buffer {"connection_id":229456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:57:14] local.INFO: IMEI packet received {"connection_id":229456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":229456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:57:16] local.INFO: TCP Data received {"connection_id":229456,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a94f4d08012d695e80061be428000800972e..."} 
[2026-11-05 06:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a94f4d08012d695e80061be428000800972e..."} 
[2026-11-05 06:57:16] local.INFO: Processing buffer {"connection_id":229456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a94f4d08012d695e80061be428000800972e..."} 
[2026-11-05 06:57:16] local.INFO: Packet analysis {"connection_id":229456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a94f"} 
[2026-11-05 06:57:16] local.INFO: Extracted packet for processing {"connection_id":229456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a94f"} 
[2026-11-05 06:57:16] local.INFO: GPS Element Parsed {"raw_longitude":761880192,"raw_latitude":102491176,"longitude_deg":76.1880192,"latitude_deg":10.2491176,"altitude":8,"angle":151,"satellites":46,"speed":57,"hex_longitude":"2d695e80","hex_latitude":"061be428","is_valid_coordinates":true} 
[2026-11-05 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-05 06:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223526912001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39911112447098880,"note":"Value kept but may cause issues"} 
[2026-11-05 06:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7587369129708314624,"note":"Value kept but may cause issues"} 
[2026-11-05 06:57:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793841909000,"timestamp_ms":1793841909000,"timestamp_seconds":1793841909,"priority":1,"record_length":96,"hex_timestamp":"000001a1a94f4d08"} 
[2026-11-05 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-05 06:57: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-05 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-05 06:57: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-05 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-05 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-05 06:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:57:16] 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-05 06:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223526912001,"66":27767,"128":206,"79":20992,"24":57,"16":39911112447098880,"45":7587369129708314624},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,79,24,16,45]} 
[2026-11-05 06:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223526912001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:57:16] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-11-05 06:57:16] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39911112447098880,"km_value":39911112447098.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":7587369129708314624,"description":"Unknown IO ID 45"} 
[2026-11-05 06:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223526912001,"power":27767,"unknown_128":206,"unknown_79":20992,"ignition":57,"odometer":null,"unknown_45":7587369129708314624}} 
[2026-11-05 06:57:16] 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":61702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:57:16] local.INFO: GPS data processed {"connection_id":229456,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:57:16] local.INFO: Acknowledgment sent {"connection_id":229456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:57:18] local.INFO: TCP Data received {"connection_id":229456,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a94f6860012d697100061bc328000900962d..."} 
[2026-11-05 06:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a94f6860012d697100061bc328000900962d..."} 
[2026-11-05 06:57:18] local.INFO: Processing buffer {"connection_id":229456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a94f6860012d697100061bc328000900962d..."} 
[2026-11-05 06:57:18] local.INFO: Packet analysis {"connection_id":229456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a94f"} 
[2026-11-05 06:57:18] local.INFO: Extracted packet for processing {"connection_id":229456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a94f"} 
[2026-11-05 06:57:18] local.INFO: GPS Element Parsed {"raw_longitude":761884928,"raw_latitude":102482728,"longitude_deg":76.1884928,"latitude_deg":10.2482728,"altitude":9,"angle":150,"satellites":45,"speed":53,"hex_longitude":"2d697100","hex_latitude":"061bc328","is_valid_coordinates":true} 
[2026-11-05 06:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223528704001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39911580598534144,"note":"Value kept but may cause issues"} 
[2026-11-05 06:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7592646785519331328,"note":"Value kept but may cause issues"} 
[2026-11-05 06:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793841916000,"timestamp_ms":1793841916000,"timestamp_seconds":1793841916,"priority":1,"record_length":96,"hex_timestamp":"000001a1a94f6860"} 
[2026-11-05 06: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-05 06:57: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-05 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-05 06:57: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-05 06: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-05 06: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-05 06:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:57: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-05 06:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223528704001,"66":27908,"128":206,"79":20992,"24":53,"16":39911580598534144,"45":7592646785519331328},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,79,24,16,45]} 
[2026-11-05 06:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223528704001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:57:18] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-11-05 06:57:18] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39911580598534144,"km_value":39911580598534.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":7592646785519331328,"description":"Unknown IO ID 45"} 
[2026-11-05 06:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223528704001,"power":27908,"unknown_128":206,"unknown_79":20992,"ignition":53,"odometer":null,"unknown_45":7592646785519331328}} 
[2026-11-05 06:57:18] 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":61703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:57:18] local.INFO: GPS data processed {"connection_id":229456,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:57:18] local.INFO: Acknowledgment sent {"connection_id":229456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:57:50] local.INFO: TCP Data received {"connection_id":229456,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a94f83b8012d698100061ba3c0000900992e..."} 
[2026-11-05 06:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a94f83b8012d698100061ba3c0000900992e..."} 
[2026-11-05 06:57:50] local.INFO: Processing buffer {"connection_id":229456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a94f83b8012d698100061ba3c0000900992e..."} 
[2026-11-05 06:57:50] local.INFO: Packet analysis {"connection_id":229456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a94f"} 
[2026-11-05 06:57:50] local.INFO: Extracted packet for processing {"connection_id":229456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a94f"} 
[2026-11-05 06:57:50] local.INFO: GPS Element Parsed {"raw_longitude":761889024,"raw_latitude":102474688,"longitude_deg":76.1889024,"latitude_deg":10.2474688,"altitude":9,"angle":153,"satellites":46,"speed":49,"hex_longitude":"2d698100","hex_latitude":"061ba3c0","is_valid_coordinates":true} 
[2026-11-05 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-05 06:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223530496001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39912018685198336,"note":"Value kept but may cause issues"} 
[2026-11-05 06:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7597854072586315776,"note":"Value kept but may cause issues"} 
[2026-11-05 06:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793841923000,"timestamp_ms":1793841923000,"timestamp_seconds":1793841923,"priority":1,"record_length":96,"hex_timestamp":"000001a1a94f83b8"} 
[2026-11-05 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-05 06:57: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-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 06:57: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-05 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-05 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-05 06:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:57:50] 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-05 06:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223530496001,"66":27995,"126":206,"79":20992,"24":49,"16":39912018685198336,"45":7597854072586315776},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-11-05 06:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223530496001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:57:50] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-11-05 06:57:50] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39912018685198336,"km_value":39912018685198.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":7597854072586315776,"description":"Unknown IO ID 45"} 
[2026-11-05 06:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223530496001,"power":27995,"unknown_126":206,"unknown_79":20992,"ignition":49,"odometer":null,"unknown_45":7597854072586315776}} 
[2026-11-05 06:57:51] 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":61704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:57:51] local.INFO: GPS data processed {"connection_id":229456,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:57:51] local.INFO: Acknowledgment sent {"connection_id":229456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:58:01] local.INFO: TCP Data received {"connection_id":229955,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:58:01] local.INFO: Processing buffer {"connection_id":229955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:58:01] local.INFO: IMEI packet received {"connection_id":229955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":229955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:58:04] local.INFO: TCP Data received {"connection_id":229955,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:58:04] local.INFO: Processing buffer {"connection_id":229955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:58:04] local.INFO: IMEI packet received {"connection_id":229955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":229955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:58:14] local.INFO: TCP Data received {"connection_id":229955,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:58:14] local.INFO: Processing buffer {"connection_id":229955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:58:14] local.INFO: IMEI packet received {"connection_id":229955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":229955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:58:16] local.INFO: TCP Data received {"connection_id":229955,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a94fa6e0012d699300061b85180009009a2e..."} 
[2026-11-05 06:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a94fa6e0012d699300061b85180009009a2e..."} 
[2026-11-05 06:58:16] local.INFO: Processing buffer {"connection_id":229955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a94fa6e0012d699300061b85180009009a2e..."} 
[2026-11-05 06:58:16] local.INFO: Packet analysis {"connection_id":229955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a94f"} 
[2026-11-05 06:58:16] local.INFO: Extracted packet for processing {"connection_id":229955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a94f"} 
[2026-11-05 06:58:16] local.INFO: GPS Element Parsed {"raw_longitude":761893632,"raw_latitude":102466840,"longitude_deg":76.1893632,"latitude_deg":10.246684,"altitude":9,"angle":154,"satellites":46,"speed":33,"hex_longitude":"2d699300","hex_latitude":"061b8518","is_valid_coordinates":true} 
[2026-11-05 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-05 06:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223532288001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39912456771862528,"note":"Value kept but may cause issues"} 
[2026-11-05 06:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7602357672211628032,"note":"Value kept but may cause issues"} 
[2026-11-05 06:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793841932000,"timestamp_ms":1793841932000,"timestamp_seconds":1793841932,"priority":1,"record_length":96,"hex_timestamp":"000001a1a94fa6e0"} 
[2026-11-05 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-05 06:58: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-05 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-05 06:58: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-05 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-05 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-05 06:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:58:16] 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-05 06:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223532288001,"66":27887,"126":206,"79":20992,"24":33,"16":39912456771862528,"45":7602357672211628032},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-11-05 06:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223532288001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:58:16] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-11-05 06:58:16] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39912456771862528,"km_value":39912456771862.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":7602357672211628032,"description":"Unknown IO ID 45"} 
[2026-11-05 06:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223532288001,"power":27887,"unknown_126":206,"unknown_79":20992,"ignition":33,"odometer":null,"unknown_45":7602357672211628032}} 
[2026-11-05 06:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":229955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:58:16] local.INFO: GPS data processed {"connection_id":229955,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:58:16] local.INFO: Acknowledgment sent {"connection_id":229955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:58:20] local.INFO: TCP Data received {"connection_id":229955,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a94fcdf0012d69a180061b63680008009d2b..."} 
[2026-11-05 06:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a94fcdf0012d69a180061b63680008009d2b..."} 
[2026-11-05 06:58:20] local.INFO: Processing buffer {"connection_id":229955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a94fcdf0012d69a180061b63680008009d2b..."} 
[2026-11-05 06:58:20] local.INFO: Packet analysis {"connection_id":229955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a94f"} 
[2026-11-05 06:58:20] local.INFO: Extracted packet for processing {"connection_id":229955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a94f"} 
[2026-11-05 06:58:20] local.INFO: GPS Element Parsed {"raw_longitude":761897344,"raw_latitude":102458216,"longitude_deg":76.1897344,"latitude_deg":10.2458216,"altitude":8,"angle":157,"satellites":43,"speed":39,"hex_longitude":"2d69a180","hex_latitude":"061b6368","is_valid_coordinates":true} 
[2026-11-05 06:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223534592001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39912912038395904,"note":"Value kept but may cause issues"} 
[2026-11-05 06:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7607424221790410752,"note":"Value kept but may cause issues"} 
[2026-11-05 06:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793841942000,"timestamp_ms":1793841942000,"timestamp_seconds":1793841942,"priority":1,"record_length":96,"hex_timestamp":"000001a1a94fcdf0"} 
[2026-11-05 06:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:58: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-05 06:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-11-05 06:58:20] 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-05 06:58:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:58:20] 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-05 06:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223534592001,"66":27843,"126":206,"79":20992,"24":39,"16":39912912038395904,"45":7607424221790410752},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-11-05 06:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223534592001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:58:20] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-11-05 06:58:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39912912038395904,"km_value":39912912038395.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":7607424221790410752,"description":"Unknown IO ID 45"} 
[2026-11-05 06:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223534592001,"power":27843,"unknown_126":206,"unknown_79":20992,"ignition":39,"odometer":null,"unknown_45":7607424221790410752}} 
[2026-11-05 06:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":229955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:58:20] local.INFO: GPS data processed {"connection_id":229955,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:58:20] local.INFO: Acknowledgment sent {"connection_id":229955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:58:37] local.INFO: TCP Data received {"connection_id":229956,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229956,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:58:37] local.INFO: Processing buffer {"connection_id":229956,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:58:37] local.INFO: IMEI packet received {"connection_id":229956,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 06:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":229956,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:59:04] local.INFO: TCP Data received {"connection_id":231251,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:59:04] local.INFO: Processing buffer {"connection_id":231251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:59:04] local.INFO: IMEI packet received {"connection_id":231251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 06:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":231251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:59:07] local.INFO: TCP Data received {"connection_id":231252,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:59:07] local.INFO: Processing buffer {"connection_id":231252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 06:59:07] local.INFO: IMEI packet received {"connection_id":231252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 06:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":231252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 06:59:09] local.INFO: TCP Data received {"connection_id":231251,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:59:09] local.INFO: Processing buffer {"connection_id":231251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 06:59:09] local.INFO: IMEI packet received {"connection_id":231251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 06:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":231251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 06:59:10] local.INFO: TCP Data received {"connection_id":231251,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a951ae68012d6a51c00619cac0000800a128..."} 
[2026-11-05 06:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a951ae68012d6a51c00619cac0000800a128..."} 
[2026-11-05 06:59:10] local.INFO: Processing buffer {"connection_id":231251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a951ae68012d6a51c00619cac0000800a128..."} 
[2026-11-05 06:59:10] local.INFO: Packet analysis {"connection_id":231251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a951"} 
[2026-11-05 06:59:10] local.INFO: Extracted packet for processing {"connection_id":231251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a951"} 
[2026-11-05 06:59:10] local.INFO: GPS Element Parsed {"raw_longitude":761942464,"raw_latitude":102353600,"longitude_deg":76.1942464,"latitude_deg":10.23536,"altitude":8,"angle":161,"satellites":40,"speed":33,"hex_longitude":"2d6a51c0","hex_latitude":"0619cac0","is_valid_coordinates":true} 
[2026-11-05 06:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223565568001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39918435366338560,"note":"Value kept but may cause issues"} 
[2026-11-05 06:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7657597136362385408,"note":"Value kept but may cause issues"} 
[2026-11-05 06:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793842065000,"timestamp_ms":1793842065000,"timestamp_seconds":1793842065,"priority":1,"record_length":96,"hex_timestamp":"000001a1a951ae68"} 
[2026-11-05 06:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:59: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-05 06:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-05 06:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 06:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:59:10] 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-05 06:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223565568001,"66":27821,"126":206,"79":20992,"24":33,"16":39918435366338560,"45":7657597136362385408},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-11-05 06:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223565568001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:59:10] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-11-05 06:59:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39918435366338560,"km_value":39918435366338.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7657597136362385408,"description":"Unknown IO ID 45"} 
[2026-11-05 06:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223565568001,"power":27821,"unknown_126":206,"unknown_79":20992,"ignition":33,"odometer":null,"unknown_45":7657597136362385408}} 
[2026-11-05 06:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":231251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:59:10] local.INFO: GPS data processed {"connection_id":231251,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:59:10] local.INFO: Acknowledgment sent {"connection_id":231251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 06:59:42] local.INFO: TCP Data received {"connection_id":231251,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a951d578012d6a5e400619a780000900a028..."} 
[2026-11-05 06:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a951d578012d6a5e400619a780000900a028..."} 
[2026-11-05 06:59:42] local.INFO: Processing buffer {"connection_id":231251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a951d578012d6a5e400619a780000900a028..."} 
[2026-11-05 06:59:42] local.INFO: Packet analysis {"connection_id":231251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a951"} 
[2026-11-05 06:59:42] local.INFO: Extracted packet for processing {"connection_id":231251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a951"} 
[2026-11-05 06:59:42] local.INFO: GPS Element Parsed {"raw_longitude":761945664,"raw_latitude":102344576,"longitude_deg":76.1945664,"latitude_deg":10.2344576,"altitude":9,"angle":160,"satellites":40,"speed":38,"hex_longitude":"2d6a5e40","hex_latitude":"0619a780","is_valid_coordinates":true} 
[2026-11-05 06:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 06:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223568640001,"note":"Value kept but may cause issues"} 
[2026-11-05 06:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39918899222806528,"note":"Value kept but may cause issues"} 
[2026-11-05 06:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7661115573568978944,"note":"Value kept but may cause issues"} 
[2026-11-05 06:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 06:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793842075000,"timestamp_ms":1793842075000,"timestamp_seconds":1793842075,"priority":1,"record_length":96,"hex_timestamp":"000001a1a951d578"} 
[2026-11-05 06:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 06:59: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-05 06:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-05 06:59: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-05 06:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 06:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 06:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 06:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 06:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 06:59:42] 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-05 06:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 06:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 06:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223568640001,"66":27767,"126":206,"79":20992,"24":38,"16":39918899222806528,"45":7661115573568978944},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-11-05 06:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 06:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 06:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223568640001,"description":"Unknown IO ID 0"} 
[2026-11-05 06:59:42] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-11-05 06:59:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 06:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39918899222806528,"km_value":39918899222806.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 06:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7661115573568978944,"description":"Unknown IO ID 45"} 
[2026-11-05 06:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223568640001,"power":27767,"unknown_126":206,"unknown_79":20992,"ignition":38,"odometer":null,"unknown_45":7661115573568978944}} 
[2026-11-05 06:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":231251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 06:59:42] local.INFO: GPS data processed {"connection_id":231251,"processed":1,"errors":0,"total":1} 
[2026-11-05 06:59:42] local.INFO: Acknowledgment sent {"connection_id":231251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:00:04] local.INFO: TCP Data received {"connection_id":233161,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:00:04] local.INFO: Processing buffer {"connection_id":233161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:00:04] local.INFO: IMEI packet received {"connection_id":233161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":233161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:00:07] local.INFO: TCP Data received {"connection_id":233161,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:00:07] local.INFO: Processing buffer {"connection_id":233161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:00:07] local.INFO: IMEI packet received {"connection_id":233161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":233161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:00:09] local.INFO: TCP Data received {"connection_id":233161,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:00:09] local.INFO: Processing buffer {"connection_id":233161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:00:09] local.INFO: IMEI packet received {"connection_id":233161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":233161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:00:11] local.INFO: TCP Data received {"connection_id":233161,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9520458012d6a690006198680000a00a22a..."} 
[2026-11-05 07:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9520458012d6a690006198680000a00a22a..."} 
[2026-11-05 07:00:11] local.INFO: Processing buffer {"connection_id":233161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9520458012d6a690006198680000a00a22a..."} 
[2026-11-05 07:00:11] local.INFO: Packet analysis {"connection_id":233161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a952"} 
[2026-11-05 07:00:11] local.INFO: Extracted packet for processing {"connection_id":233161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a952"} 
[2026-11-05 07:00:11] local.INFO: GPS Element Parsed {"raw_longitude":761948416,"raw_latitude":102336128,"longitude_deg":76.1948416,"latitude_deg":10.2336128,"altitude":10,"angle":162,"satellites":42,"speed":25,"hex_longitude":"2d6a6900","hex_latitude":"06198680","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223571200001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39919328719536128,"note":"Value kept but may cause issues"} 
[2026-11-05 07:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7664634010775552000,"note":"Value kept but may cause issues"} 
[2026-11-05 07:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793842087000,"timestamp_ms":1793842087000,"timestamp_seconds":1793842087,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9520458"} 
[2026-11-05 07: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-05 07:00: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-05 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-05 07:00: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-05 07: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-05 07: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-05 07:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:00:11] 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-05 07:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223571200001,"66":27865,"126":206,"79":20992,"24":25,"16":39919328719536128,"45":7664634010775552000},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-11-05 07:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223571200001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:00:11] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-11-05 07:00:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 07:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39919328719536128,"km_value":39919328719536.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7664634010775552000,"description":"Unknown IO ID 45"} 
[2026-11-05 07:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223571200001,"power":27865,"unknown_126":206,"unknown_79":20992,"ignition":25,"odometer":null,"unknown_45":7664634010775552000}} 
[2026-11-05 07:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":233161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:00:11] local.INFO: GPS data processed {"connection_id":233161,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:00:11] local.INFO: Acknowledgment sent {"connection_id":233161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:00:15] local.INFO: TCP Data received {"connection_id":233161,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9523720012d6a7640061965b8000c00a22c..."} 
[2026-11-05 07:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9523720012d6a7640061965b8000c00a22c..."} 
[2026-11-05 07:00:15] local.INFO: Processing buffer {"connection_id":233161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9523720012d6a7640061965b8000c00a22c..."} 
[2026-11-05 07:00:15] local.INFO: Packet analysis {"connection_id":233161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a952"} 
[2026-11-05 07:00:15] local.INFO: Extracted packet for processing {"connection_id":233161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a952"} 
[2026-11-05 07:00:15] local.INFO: GPS Element Parsed {"raw_longitude":761951808,"raw_latitude":102327736,"longitude_deg":76.1951808,"latitude_deg":10.2327736,"altitude":12,"angle":162,"satellites":44,"speed":31,"hex_longitude":"2d6a7640","hex_latitude":"061965b8","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223574272001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39919771101167616,"note":"Value kept but may cause issues"} 
[2026-11-05 07:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7667659866773028864,"note":"Value kept but may cause issues"} 
[2026-11-05 07:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793842100000,"timestamp_ms":1793842100000,"timestamp_seconds":1793842100,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9523720"} 
[2026-11-05 07: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-05 07:00: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-05 07: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":217,"data_length":795,"current_offset":136} 
[2026-11-05 07:00: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-05 07: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-05 07: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-05 07:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:00:15] 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-05 07:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223574272001,"66":27843,"181":206,"79":20992,"24":31,"16":39919771101167616,"45":7667659866773028864},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,79,24,16,45]} 
[2026-11-05 07:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223574272001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:00:15] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-11-05 07:00:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 07:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39919771101167616,"km_value":39919771101167.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":7667659866773028864,"description":"Unknown IO ID 45"} 
[2026-11-05 07:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223574272001,"power":27843,"unknown_181":206,"unknown_79":20992,"ignition":31,"odometer":null,"unknown_45":7667659866773028864}} 
[2026-11-05 07:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":233161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:00:15] local.INFO: GPS data processed {"connection_id":233161,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:00:15] local.INFO: Acknowledgment sent {"connection_id":233161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:00:47] local.INFO: TCP Data received {"connection_id":233161,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9526218012d6a7f80061940b0000c00a929..."} 
[2026-11-05 07:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9526218012d6a7f80061940b0000c00a929..."} 
[2026-11-05 07:00:47] local.INFO: Processing buffer {"connection_id":233161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9526218012d6a7f80061940b0000c00a929..."} 
[2026-11-05 07:00:47] local.INFO: Packet analysis {"connection_id":233161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a952"} 
[2026-11-05 07:00:47] local.INFO: Extracted packet for processing {"connection_id":233161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a952"} 
[2026-11-05 07:00:47] local.INFO: GPS Element Parsed {"raw_longitude":761954176,"raw_latitude":102318256,"longitude_deg":76.1954176,"latitude_deg":10.2318256,"altitude":12,"angle":169,"satellites":41,"speed":36,"hex_longitude":"2d6a7f80","hex_latitude":"061940b0","is_valid_coordinates":true} 
[2026-11-05 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-05 07:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223577600001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39920243547570176,"note":"Value kept but may cause issues"} 
[2026-11-05 07:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7671389410212296704,"note":"Value kept but may cause issues"} 
[2026-11-05 07:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793842111000,"timestamp_ms":1793842111000,"timestamp_seconds":1793842111,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9526218"} 
[2026-11-05 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-05 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-05 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":195,"data_length":795,"current_offset":136} 
[2026-11-05 07:00: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-05 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-05 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-05 07:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":233161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":233161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":233161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:00:47] 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-05 07:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223577600001,"66":27930,"191":206,"79":20992,"24":36,"16":39920243547570176,"45":7671389410212296704},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,79,24,16,45]} 
[2026-11-05 07:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223577600001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:00:47] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-11-05 07:00:47] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 07:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39920243547570176,"km_value":39920243547570.18,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":7671389410212296704,"description":"Unknown IO ID 45"} 
[2026-11-05 07:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223577600001,"power":27930,"unknown_191":206,"unknown_79":20992,"ignition":36,"odometer":null,"unknown_45":7671389410212296704}} 
[2026-11-05 07:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":233161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:00:47] local.INFO: GPS data processed {"connection_id":233161,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:00:47] local.INFO: Acknowledgment sent {"connection_id":233161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:01:04] local.INFO: TCP Data received {"connection_id":233163,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:01:04] local.INFO: Processing buffer {"connection_id":233163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:01:04] local.INFO: IMEI packet received {"connection_id":233163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":233163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:01:08] local.INFO: TCP Data received {"connection_id":233163,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:01:08] local.INFO: Processing buffer {"connection_id":233163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:01:08] local.INFO: IMEI packet received {"connection_id":233163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":233163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:01:09] local.INFO: TCP Data received {"connection_id":233163,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:01:09] local.INFO: Processing buffer {"connection_id":233163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:01:09] local.INFO: IMEI packet received {"connection_id":233163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":233163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:01:10] local.INFO: TCP Data received {"connection_id":233163,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9528928012d6a84c006191e20000c00ab25..."} 
[2026-11-05 07:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9528928012d6a84c006191e20000c00ab25..."} 
[2026-11-05 07:01:10] local.INFO: Processing buffer {"connection_id":233163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9528928012d6a84c006191e20000c00ab25..."} 
[2026-11-05 07:01:10] local.INFO: Packet analysis {"connection_id":233163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a952"} 
[2026-11-05 07:01:10] local.INFO: Extracted packet for processing {"connection_id":233163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a952"} 
[2026-11-05 07:01:10] local.INFO: GPS Element Parsed {"raw_longitude":761955520,"raw_latitude":102309408,"longitude_deg":76.195552,"latitude_deg":10.2309408,"altitude":12,"angle":171,"satellites":37,"speed":35,"hex_longitude":"2d6a84c0","hex_latitude":"06191e20","is_valid_coordinates":true} 
[2026-11-05 07:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223580416001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39920677339267072,"note":"Value kept but may cause issues"} 
[2026-11-05 07:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7673993053744443392,"note":"Value kept but may cause issues"} 
[2026-11-05 07:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793842121000,"timestamp_ms":1793842121000,"timestamp_seconds":1793842121,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9528928"} 
[2026-11-05 07:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:01: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-05 07:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-05 07:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:01:10] 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-05 07:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223580416001,"66":27887,"191":206,"79":20992,"24":35,"16":39920677339267072,"45":7673993053744443392},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,79,24,16,45]} 
[2026-11-05 07:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223580416001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:01:10] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-11-05 07:01:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 07:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39920677339267072,"km_value":39920677339267.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7673993053744443392,"description":"Unknown IO ID 45"} 
[2026-11-05 07:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223580416001,"power":27887,"unknown_191":206,"unknown_79":20992,"ignition":35,"odometer":null,"unknown_45":7673993053744443392}} 
[2026-11-05 07:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":233163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:01:10] local.INFO: GPS data processed {"connection_id":233163,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:01:10] local.INFO: Acknowledgment sent {"connection_id":233163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:01:15] local.INFO: TCP Data received {"connection_id":233163,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a952bbf0012d6a86000618f970000800b02a..."} 
[2026-11-05 07:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a952bbf0012d6a86000618f970000800b02a..."} 
[2026-11-05 07:01:15] local.INFO: Processing buffer {"connection_id":233163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a952bbf0012d6a86000618f970000800b02a..."} 
[2026-11-05 07:01:15] local.INFO: Packet analysis {"connection_id":233163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a952"} 
[2026-11-05 07:01:15] local.INFO: Extracted packet for processing {"connection_id":233163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a952"} 
[2026-11-05 07:01:15] local.INFO: GPS Element Parsed {"raw_longitude":761955840,"raw_latitude":102300016,"longitude_deg":76.195584,"latitude_deg":10.2300016,"altitude":8,"angle":176,"satellites":42,"speed":25,"hex_longitude":"2d6a8600","hex_latitude":"0618f970","is_valid_coordinates":true} 
[2026-11-05 07:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223582976001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39921132605800448,"note":"Value kept but may cause issues"} 
[2026-11-05 07:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7675470797369909248,"note":"Value kept but may cause issues"} 
[2026-11-05 07:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793842134000,"timestamp_ms":1793842134000,"timestamp_seconds":1793842134,"priority":1,"record_length":96,"hex_timestamp":"000001a1a952bbf0"} 
[2026-11-05 07:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 07:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-11-05 07:01: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-05 07:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:01:15] 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-05 07:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223582976001,"66":27821,"191":206,"79":20992,"24":25,"16":39921132605800448,"45":7675470797369909248},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,79,24,16,45]} 
[2026-11-05 07:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223582976001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:01:15] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-11-05 07:01:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 07:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39921132605800448,"km_value":39921132605800.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":7675470797369909248,"description":"Unknown IO ID 45"} 
[2026-11-05 07:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223582976001,"power":27821,"unknown_191":206,"unknown_79":20992,"ignition":25,"odometer":null,"unknown_45":7675470797369909248}} 
[2026-11-05 07:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":233163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:01:15] local.INFO: GPS data processed {"connection_id":233163,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:01:15] local.INFO: Acknowledgment sent {"connection_id":233163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:01:46] local.INFO: TCP Data received {"connection_id":233163,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a952ead0012d6a88400618d628000900b02c..."} 
[2026-11-05 07:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a952ead0012d6a88400618d628000900b02c..."} 
[2026-11-05 07:01:46] local.INFO: Processing buffer {"connection_id":233163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a952ead0012d6a88400618d628000900b02c..."} 
[2026-11-05 07:01:46] local.INFO: Packet analysis {"connection_id":233163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a952"} 
[2026-11-05 07:01:46] local.INFO: Extracted packet for processing {"connection_id":233163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a952"} 
[2026-11-05 07:01:46] local.INFO: GPS Element Parsed {"raw_longitude":761956416,"raw_latitude":102290984,"longitude_deg":76.1956416,"latitude_deg":10.2290984,"altitude":9,"angle":176,"satellites":44,"speed":34,"hex_longitude":"2d6a8840","hex_latitude":"0618d628","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223586304001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39921570692464640,"note":"Value kept but may cause issues"} 
[2026-11-05 07:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7675822641088393216,"note":"Value kept but may cause issues"} 
[2026-11-05 07:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793842146000,"timestamp_ms":1793842146000,"timestamp_seconds":1793842146,"priority":1,"record_length":96,"hex_timestamp":"000001a1a952ead0"} 
[2026-11-05 07: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-05 07:01: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-05 07: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-05 07:01: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-05 07: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-05 07: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-05 07:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":233163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":233163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":233163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:01:46] 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-05 07:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223586304001,"66":27930,"191":206,"79":20992,"24":34,"16":39921570692464640,"45":7675822641088393216},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,79,24,16,45]} 
[2026-11-05 07:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223586304001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:01:46] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-11-05 07:01:46] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 07:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39921570692464640,"km_value":39921570692464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":7675822641088393216,"description":"Unknown IO ID 45"} 
[2026-11-05 07:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223586304001,"power":27930,"unknown_191":206,"unknown_79":20992,"ignition":34,"odometer":null,"unknown_45":7675822641088393216}} 
[2026-11-05 07:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":233163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:01:46] local.INFO: GPS data processed {"connection_id":233163,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:01:46] local.INFO: Acknowledgment sent {"connection_id":233163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:02:08] local.INFO: TCP Data received {"connection_id":229458,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:02:08] local.INFO: Processing buffer {"connection_id":229458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:02:08] local.INFO: IMEI packet received {"connection_id":229458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":229458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:02:09] local.INFO: TCP Data received {"connection_id":229458,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:02:09] local.INFO: Processing buffer {"connection_id":229458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:02:09] local.INFO: IMEI packet received {"connection_id":229458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":229458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:02:14] local.INFO: TCP Data received {"connection_id":229458,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:02:14] local.INFO: Processing buffer {"connection_id":229458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:02:14] local.INFO: IMEI packet received {"connection_id":229458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":229458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:02:16] local.INFO: TCP Data received {"connection_id":229458,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a95315c8012d6a8a800618b3a8000800a92d..."} 
[2026-11-05 07:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a95315c8012d6a8a800618b3a8000800a92d..."} 
[2026-11-05 07:02:16] local.INFO: Processing buffer {"connection_id":229458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a95315c8012d6a8a800618b3a8000800a92d..."} 
[2026-11-05 07:02:16] local.INFO: Packet analysis {"connection_id":229458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a953"} 
[2026-11-05 07:02:16] local.INFO: Extracted packet for processing {"connection_id":229458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a953"} 
[2026-11-05 07:02:16] local.INFO: GPS Element Parsed {"raw_longitude":761956992,"raw_latitude":102282152,"longitude_deg":76.1956992,"latitude_deg":10.2282152,"altitude":8,"angle":169,"satellites":45,"speed":32,"hex_longitude":"2d6a8a80","hex_latitude":"0618b3a8","is_valid_coordinates":true} 
[2026-11-05 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-05 07:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223589376001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39922000189194240,"note":"Value kept but may cause issues"} 
[2026-11-05 07:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7676455959783680000,"note":"Value kept but may cause issues"} 
[2026-11-05 07:02:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793842157000,"timestamp_ms":1793842157000,"timestamp_seconds":1793842157,"priority":1,"record_length":96,"hex_timestamp":"000001a1a95315c8"} 
[2026-11-05 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-05 07:02: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-05 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-05 07:02:16] 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-05 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-05 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-05 07:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:02:16] 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-05 07:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223589376001,"66":27865,"191":206,"79":20992,"24":32,"16":39922000189194240,"45":7676455959783680000},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,79,24,16,45]} 
[2026-11-05 07:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223589376001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:02:16] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-11-05 07:02:16] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 07:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39922000189194240,"km_value":39922000189194.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":7676455959783680000,"description":"Unknown IO ID 45"} 
[2026-11-05 07:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223589376001,"power":27865,"unknown_191":206,"unknown_79":20992,"ignition":32,"odometer":null,"unknown_45":7676455959783680000}} 
[2026-11-05 07:02:16] 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":61715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:02:16] local.INFO: GPS data processed {"connection_id":229458,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:02:16] local.INFO: Acknowledgment sent {"connection_id":229458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:02:19] local.INFO: TCP Data received {"connection_id":229458,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a95344a8012d6a904006189110000700a92c..."} 
[2026-11-05 07:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a95344a8012d6a904006189110000700a92c..."} 
[2026-11-05 07:02:19] local.INFO: Processing buffer {"connection_id":229458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a95344a8012d6a904006189110000700a92c..."} 
[2026-11-05 07:02:19] local.INFO: Packet analysis {"connection_id":229458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a953"} 
[2026-11-05 07:02:19] local.INFO: Extracted packet for processing {"connection_id":229458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a953"} 
[2026-11-05 07:02:19] local.INFO: GPS Element Parsed {"raw_longitude":761958464,"raw_latitude":102273296,"longitude_deg":76.1958464,"latitude_deg":10.2273296,"altitude":7,"angle":169,"satellites":44,"speed":28,"hex_longitude":"2d6a9040","hex_latitude":"06189110","is_valid_coordinates":true} 
[2026-11-05 07:02: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-05 07:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223592192001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39922438275858432,"note":"Value kept but may cause issues"} 
[2026-11-05 07:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7677089278479017984,"note":"Value kept but may cause issues"} 
[2026-11-05 07:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793842169000,"timestamp_ms":1793842169000,"timestamp_seconds":1793842169,"priority":1,"record_length":96,"hex_timestamp":"000001a1a95344a8"} 
[2026-11-05 07:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:02:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 07:02: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-05 07:02: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-05 07:02: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-05 07:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:02:19] 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-05 07:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223592192001,"66":27876,"191":206,"79":20992,"24":28,"16":39922438275858432,"45":7677089278479017984},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,79,24,16,45]} 
[2026-11-05 07:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223592192001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:02:19] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-11-05 07:02:19] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 07:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39922438275858432,"km_value":39922438275858.43,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":7677089278479017984,"description":"Unknown IO ID 45"} 
[2026-11-05 07:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223592192001,"power":27876,"unknown_191":206,"unknown_79":20992,"ignition":28,"odometer":null,"unknown_45":7677089278479017984}} 
[2026-11-05 07:02:19] 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":61716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:02:19] local.INFO: GPS data processed {"connection_id":229458,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:02:19] local.INFO: Acknowledgment sent {"connection_id":229458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:03:04] local.INFO: TCP Data received {"connection_id":231254,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:03:04] local.INFO: Processing buffer {"connection_id":231254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:03:04] local.INFO: IMEI packet received {"connection_id":231254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":231254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:03:09] local.INFO: TCP Data received {"connection_id":231254,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:03:09] local.INFO: Processing buffer {"connection_id":231254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:03:09] local.INFO: IMEI packet received {"connection_id":231254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":231254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:03:10] local.INFO: TCP Data received {"connection_id":231254,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9554460012d6ab440061706280006009e2d..."} 
[2026-11-05 07:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9554460012d6ab440061706280006009e2d..."} 
[2026-11-05 07:03:10] local.INFO: Processing buffer {"connection_id":231254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9554460012d6ab440061706280006009e2d..."} 
[2026-11-05 07:03:10] local.INFO: Packet analysis {"connection_id":231254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a955"} 
[2026-11-05 07:03:10] local.INFO: Extracted packet for processing {"connection_id":231254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a955"} 
[2026-11-05 07:03:10] local.INFO: GPS Element Parsed {"raw_longitude":761967680,"raw_latitude":102172200,"longitude_deg":76.196768,"latitude_deg":10.21722,"altitude":6,"angle":158,"satellites":45,"speed":33,"hex_longitude":"2d6ab440","hex_latitude":"06170628","is_valid_coordinates":true} 
[2026-11-05 07:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223626240001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39927386078183424,"note":"Value kept but may cause issues"} 
[2026-11-05 07:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7685674265242824704,"note":"Value kept but may cause issues"} 
[2026-11-05 07:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793842300000,"timestamp_ms":1793842300000,"timestamp_seconds":1793842300,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9554460"} 
[2026-11-05 07:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 07:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-05 07:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:03:10] 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-05 07:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223626240001,"66":27887,"236":206,"79":20992,"24":33,"16":39927386078183424,"45":7685674265242824704},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,79,24,16,45]} 
[2026-11-05 07:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223626240001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:03:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-11-05 07:03:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 07:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39927386078183424,"km_value":39927386078183.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7685674265242824704,"description":"Unknown IO ID 45"} 
[2026-11-05 07:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223626240001,"power":27887,"unknown_236":206,"unknown_79":20992,"ignition":33,"odometer":null,"unknown_45":7685674265242824704}} 
[2026-11-05 07:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":231254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:03:10] local.INFO: GPS data processed {"connection_id":231254,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:03:10] local.INFO: Acknowledgment sent {"connection_id":231254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:03:15] local.INFO: TCP Data received {"connection_id":231254,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9557340012d6ac2000616e4a00007009e2c..."} 
[2026-11-05 07:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9557340012d6ac2000616e4a00007009e2c..."} 
[2026-11-05 07:03:15] local.INFO: Processing buffer {"connection_id":231254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9557340012d6ac2000616e4a00007009e2c..."} 
[2026-11-05 07:03:15] local.INFO: Packet analysis {"connection_id":231254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a955"} 
[2026-11-05 07:03:15] local.INFO: Extracted packet for processing {"connection_id":231254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a955"} 
[2026-11-05 07:03:15] local.INFO: GPS Element Parsed {"raw_longitude":761971200,"raw_latitude":102163616,"longitude_deg":76.19712,"latitude_deg":10.2163616,"altitude":7,"angle":158,"satellites":44,"speed":29,"hex_longitude":"2d6ac200","hex_latitude":"0616e4a0","is_valid_coordinates":true} 
[2026-11-05 07:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223628800001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39927837049749504,"note":"Value kept but may cause issues"} 
[2026-11-05 07:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7688840858728540160,"note":"Value kept but may cause issues"} 
[2026-11-05 07:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793842312000,"timestamp_ms":1793842312000,"timestamp_seconds":1793842312,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9557340"} 
[2026-11-05 07:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:03: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-05 07:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-11-05 07:03: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-05 07:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":231254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":231254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":231254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:03:15] 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-05 07:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223628800001,"66":27930,"236":206,"79":20992,"24":29,"16":39927837049749504,"45":7688840858728540160},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,79,24,16,45]} 
[2026-11-05 07:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223628800001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:03:15] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-11-05 07:03:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 07:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39927837049749504,"km_value":39927837049749.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":7688840858728540160,"description":"Unknown IO ID 45"} 
[2026-11-05 07:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223628800001,"power":27930,"unknown_236":206,"unknown_79":20992,"ignition":29,"odometer":null,"unknown_45":7688840858728540160}} 
[2026-11-05 07:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":231254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:03:15] local.INFO: GPS data processed {"connection_id":231254,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:03:15] local.INFO: Acknowledgment sent {"connection_id":231254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:03:46] local.INFO: TCP Data received {"connection_id":231254,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9559e38012d6ace800616c3a0000600a02a..."} 
[2026-11-05 07:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9559e38012d6ace800616c3a0000600a02a..."} 
[2026-11-05 07:03:46] local.INFO: Processing buffer {"connection_id":231254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9559e38012d6ace800616c3a0000600a02a..."} 
[2026-11-05 07:03:46] local.INFO: Packet analysis {"connection_id":231254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a955"} 
[2026-11-05 07:03:46] local.INFO: Extracted packet for processing {"connection_id":231254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a955"} 
[2026-11-05 07:03:46] local.INFO: GPS Element Parsed {"raw_longitude":761974400,"raw_latitude":102155168,"longitude_deg":76.19744,"latitude_deg":10.2155168,"altitude":6,"angle":160,"satellites":42,"speed":37,"hex_longitude":"2d6ace80","hex_latitude":"0616c3a0","is_valid_coordinates":true} 
[2026-11-05 07:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223631872001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39928270841446400,"note":"Value kept but may cause issues"} 
[2026-11-05 07:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7692711139656114176,"note":"Value kept but may cause issues"} 
[2026-11-05 07:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793842323000,"timestamp_ms":1793842323000,"timestamp_seconds":1793842323,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9559e38"} 
[2026-11-05 07:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:03: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-05 07:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-05 07:03: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-05 07:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":231254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":231254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":231254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:03:46] 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-05 07:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223631872001,"66":27919,"236":206,"79":20992,"24":37,"16":39928270841446400,"45":7692711139656114176},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,79,24,16,45]} 
[2026-11-05 07:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223631872001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:03:46] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-11-05 07:03:46] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 07:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39928270841446400,"km_value":39928270841446.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":7692711139656114176,"description":"Unknown IO ID 45"} 
[2026-11-05 07:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223631872001,"power":27919,"unknown_236":206,"unknown_79":20992,"ignition":37,"odometer":null,"unknown_45":7692711139656114176}} 
[2026-11-05 07:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":231254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:03:46] local.INFO: GPS data processed {"connection_id":231254,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:03:46] local.INFO: Acknowledgment sent {"connection_id":231254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:04:03] local.INFO: TCP Data received {"connection_id":233165,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:04:03] local.INFO: Processing buffer {"connection_id":233165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:04:03] local.INFO: IMEI packet received {"connection_id":233165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":233165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:04:04] local.INFO: TCP Data received {"connection_id":233165,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:04:04] local.INFO: Processing buffer {"connection_id":233165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:04:04] local.INFO: IMEI packet received {"connection_id":233165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":233165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:04:09] local.INFO: TCP Data received {"connection_id":233165,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:04:09] local.INFO: Processing buffer {"connection_id":233165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:04:09] local.INFO: IMEI packet received {"connection_id":233165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":233165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:04:10] local.INFO: TCP Data received {"connection_id":233165,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a955c160012d6ada400616a2a8000500a128..."} 
[2026-11-05 07:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a955c160012d6ada400616a2a8000500a128..."} 
[2026-11-05 07:04:10] local.INFO: Processing buffer {"connection_id":233165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a955c160012d6ada400616a2a8000500a128..."} 
[2026-11-05 07:04:10] local.INFO: Packet analysis {"connection_id":233165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a955"} 
[2026-11-05 07:04:10] local.INFO: Extracted packet for processing {"connection_id":233165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a955"} 
[2026-11-05 07:04:10] local.INFO: GPS Element Parsed {"raw_longitude":761977408,"raw_latitude":102146728,"longitude_deg":76.1977408,"latitude_deg":10.2146728,"altitude":5,"angle":161,"satellites":40,"speed":40,"hex_longitude":"2d6ada40","hex_latitude":"0616a2a8","is_valid_coordinates":true} 
[2026-11-05 07:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223634688001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39928704633143296,"note":"Value kept but may cause issues"} 
[2026-11-05 07:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7696229576862834688,"note":"Value kept but may cause issues"} 
[2026-11-05 07:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793842332000,"timestamp_ms":1793842332000,"timestamp_seconds":1793842332,"priority":1,"record_length":96,"hex_timestamp":"000001a1a955c160"} 
[2026-11-05 07:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 07:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 07:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:04:10] 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-05 07:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223634688001,"66":27876,"236":206,"79":20992,"24":40,"16":39928704633143296,"45":7696229576862834688},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,79,24,16,45]} 
[2026-11-05 07:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223634688001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:04:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-11-05 07:04:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 07:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39928704633143296,"km_value":39928704633143.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7696229576862834688,"description":"Unknown IO ID 45"} 
[2026-11-05 07:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223634688001,"power":27876,"unknown_236":206,"unknown_79":20992,"ignition":40,"odometer":null,"unknown_45":7696229576862834688}} 
[2026-11-05 07:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":233165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:04:10] local.INFO: GPS data processed {"connection_id":233165,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:04:10] local.INFO: Acknowledgment sent {"connection_id":233165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:04:37] local.INFO: TCP Data received {"connection_id":231255,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231255,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:04:37] local.INFO: Processing buffer {"connection_id":231255,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:04:37] local.INFO: IMEI packet received {"connection_id":231255,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 07:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":231255,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:04:41] local.INFO: TCP Data received {"connection_id":233165,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a955e488012d6ae68006168038000600a129..."} 
[2026-11-05 07:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a955e488012d6ae68006168038000600a129..."} 
[2026-11-05 07:04:41] local.INFO: Processing buffer {"connection_id":233165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a955e488012d6ae68006168038000600a129..."} 
[2026-11-05 07:04:41] local.INFO: Packet analysis {"connection_id":233165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a955"} 
[2026-11-05 07:04:41] local.INFO: Extracted packet for processing {"connection_id":233165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a955"} 
[2026-11-05 07:04:41] local.INFO: GPS Element Parsed {"raw_longitude":761980544,"raw_latitude":102137912,"longitude_deg":76.1980544,"latitude_deg":10.2137912,"altitude":6,"angle":161,"satellites":41,"speed":39,"hex_longitude":"2d6ae680","hex_latitude":"06168038","is_valid_coordinates":true} 
[2026-11-05 07:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223636992001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39929159899676672,"note":"Value kept but may cause issues"} 
[2026-11-05 07:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7699536907837024256,"note":"Value kept but may cause issues"} 
[2026-11-05 07:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793842341000,"timestamp_ms":1793842341000,"timestamp_seconds":1793842341,"priority":1,"record_length":96,"hex_timestamp":"000001a1a955e488"} 
[2026-11-05 07:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:04: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-05 07:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-05 07:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:04:41] 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-05 07:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223636992001,"66":27908,"236":206,"79":20992,"24":39,"16":39929159899676672,"45":7699536907837024256},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,79,24,16,45]} 
[2026-11-05 07:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223636992001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:04:41] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-11-05 07:04:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 07:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39929159899676672,"km_value":39929159899676.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":7699536907837024256,"description":"Unknown IO ID 45"} 
[2026-11-05 07:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223636992001,"power":27908,"unknown_236":206,"unknown_79":20992,"ignition":39,"odometer":null,"unknown_45":7699536907837024256}} 
[2026-11-05 07:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":233165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:04:41] local.INFO: GPS data processed {"connection_id":233165,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:04:41] local.INFO: Acknowledgment sent {"connection_id":233165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:05:03] local.INFO: TCP Data received {"connection_id":229957,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:05:03] local.INFO: Processing buffer {"connection_id":229957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:05:03] local.INFO: IMEI packet received {"connection_id":229957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":229957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:05:04] local.INFO: TCP Data received {"connection_id":229957,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:05:04] local.INFO: Processing buffer {"connection_id":229957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:05:04] local.INFO: IMEI packet received {"connection_id":229957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":229957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:05:06] local.INFO: TCP Data received {"connection_id":233166,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233166,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:05:06] local.INFO: Processing buffer {"connection_id":233166,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:05:06] local.INFO: IMEI packet received {"connection_id":233166,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 07:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":233166,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:05:09] local.INFO: TCP Data received {"connection_id":229957,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:05:09] local.INFO: Processing buffer {"connection_id":229957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:05:09] local.INFO: IMEI packet received {"connection_id":229957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":229957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:05:10] local.INFO: TCP Data received {"connection_id":229957,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9563690012d6af100061662f8000800a12b..."} 
[2026-11-05 07:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9563690012d6af100061662f8000800a12b..."} 
[2026-11-05 07:05:10] local.INFO: Processing buffer {"connection_id":229957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9563690012d6af100061662f8000800a12b..."} 
[2026-11-05 07:05:10] local.INFO: Packet analysis {"connection_id":229957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a956"} 
[2026-11-05 07:05:10] local.INFO: Extracted packet for processing {"connection_id":229957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a956"} 
[2026-11-05 07:05:10] local.INFO: GPS Element Parsed {"raw_longitude":761983232,"raw_latitude":102130424,"longitude_deg":76.1983232,"latitude_deg":10.2130424,"altitude":8,"angle":161,"satellites":43,"speed":8,"hex_longitude":"2d6af100","hex_latitude":"061662f8","is_valid_coordinates":true} 
[2026-11-05 07:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223639296001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39929546446733312,"note":"Value kept but may cause issues"} 
[2026-11-05 07:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7702984976299472896,"note":"Value kept but may cause issues"} 
[2026-11-05 07:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793842362000,"timestamp_ms":1793842362000,"timestamp_seconds":1793842362,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9563690"} 
[2026-11-05 07:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 07:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 07:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:05:10] 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-05 07:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223639296001,"66":27887,"236":206,"79":20992,"24":8,"16":39929546446733312,"45":7702984976299472896},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,79,24,16,45]} 
[2026-11-05 07:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223639296001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:05:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-11-05 07:05:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 07:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39929546446733312,"km_value":39929546446733.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7702984976299472896,"description":"Unknown IO ID 45"} 
[2026-11-05 07:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223639296001,"power":27887,"unknown_236":206,"unknown_79":20992,"ignition":8,"odometer":null,"unknown_45":7702984976299472896}} 
[2026-11-05 07:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":229957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:05:10] local.INFO: GPS data processed {"connection_id":229957,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:05:10] local.INFO: Acknowledgment sent {"connection_id":229957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:05:42] local.INFO: TCP Data received {"connection_id":229957,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9580768012d6b37c00614fb98000700ad2c..."} 
[2026-11-05 07:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9580768012d6b37c00614fb98000700ad2c..."} 
[2026-11-05 07:05:42] local.INFO: Processing buffer {"connection_id":229957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9580768012d6b37c00614fb98000700ad2c..."} 
[2026-11-05 07:05:42] local.INFO: Packet analysis {"connection_id":229957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a958"} 
[2026-11-05 07:05:42] local.INFO: Extracted packet for processing {"connection_id":229957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a958"} 
[2026-11-05 07:05:42] local.INFO: GPS Element Parsed {"raw_longitude":762001344,"raw_latitude":102038424,"longitude_deg":76.2001344,"latitude_deg":10.2038424,"altitude":7,"angle":173,"satellites":44,"speed":44,"hex_longitude":"2d6b37c0","hex_latitude":"0614fb98","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223672832001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39934146356707328,"note":"Value kept but may cause issues"} 
[2026-11-05 07:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7725010393204027392,"note":"Value kept but may cause issues"} 
[2026-11-05 07:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793842481000,"timestamp_ms":1793842481000,"timestamp_seconds":1793842481,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9580768"} 
[2026-11-05 07: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-05 07:05: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-05 07: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 07:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 07: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-05 07: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-05 07:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:05:42] 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-05 07:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223672832001,"66":27843,"167":206,"79":20992,"24":44,"16":39934146356707328,"45":7725010393204027392},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-11-05 07:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223672832001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:05:42] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-11-05 07:05:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 07:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39934146356707328,"km_value":39934146356707.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7725010393204027392,"description":"Unknown IO ID 45"} 
[2026-11-05 07:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223672832001,"power":27843,"unknown_167":206,"unknown_79":20992,"ignition":44,"odometer":null,"unknown_45":7725010393204027392}} 
[2026-11-05 07:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":229957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:05:42] local.INFO: GPS data processed {"connection_id":229957,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:05:42] local.INFO: Acknowledgment sent {"connection_id":229957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:06:03] local.INFO: TCP Data received {"connection_id":229958,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:06:03] local.INFO: Processing buffer {"connection_id":229958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:06:03] local.INFO: IMEI packet received {"connection_id":229958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":229958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:06:04] local.INFO: TCP Data received {"connection_id":229958,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:06:04] local.INFO: Processing buffer {"connection_id":229958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:06:04] local.INFO: IMEI packet received {"connection_id":229958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":229958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:06:09] local.INFO: TCP Data received {"connection_id":229958,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:06:09] local.INFO: Processing buffer {"connection_id":229958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:06:09] local.INFO: IMEI packet received {"connection_id":229958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":229958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:06:10] local.INFO: TCP Data received {"connection_id":229958,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a95826a8012d6b3ac00614d8d0000700ad2c..."} 
[2026-11-05 07:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a95826a8012d6b3ac00614d8d0000700ad2c..."} 
[2026-11-05 07:06:10] local.INFO: Processing buffer {"connection_id":229958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a95826a8012d6b3ac00614d8d0000700ad2c..."} 
[2026-11-05 07:06:10] local.INFO: Packet analysis {"connection_id":229958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a958"} 
[2026-11-05 07:06:10] local.INFO: Extracted packet for processing {"connection_id":229958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a958"} 
[2026-11-05 07:06:10] local.INFO: GPS Element Parsed {"raw_longitude":762002112,"raw_latitude":102029520,"longitude_deg":76.2002112,"latitude_deg":10.202952,"altitude":7,"angle":173,"satellites":44,"speed":42,"hex_longitude":"2d6b3ac0","hex_latitude":"0614d8d0","is_valid_coordinates":true} 
[2026-11-05 07:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223675136001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39934575853436928,"note":"Value kept but may cause issues"} 
[2026-11-05 07:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7725854818131744768,"note":"Value kept but may cause issues"} 
[2026-11-05 07:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793842489000,"timestamp_ms":1793842489000,"timestamp_seconds":1793842489,"priority":1,"record_length":96,"hex_timestamp":"000001a1a95826a8"} 
[2026-11-05 07:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:06: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-05 07:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-05 07:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:06:10] 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-05 07:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223675136001,"66":27908,"167":206,"79":20992,"24":42,"16":39934575853436928,"45":7725854818131744768},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-11-05 07:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223675136001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:06:10] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-11-05 07:06:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 07:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39934575853436928,"km_value":39934575853436.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7725854818131744768,"description":"Unknown IO ID 45"} 
[2026-11-05 07:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223675136001,"power":27908,"unknown_167":206,"unknown_79":20992,"ignition":42,"odometer":null,"unknown_45":7725854818131744768}} 
[2026-11-05 07:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":229958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:06:10] local.INFO: GPS data processed {"connection_id":229958,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:06:10] local.INFO: Acknowledgment sent {"connection_id":229958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:06:42] local.INFO: TCP Data received {"connection_id":229958,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a95849d0012d6b40000614b380000700ad2e..."} 
[2026-11-05 07:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a95849d0012d6b40000614b380000700ad2e..."} 
[2026-11-05 07:06:42] local.INFO: Processing buffer {"connection_id":229958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a95849d0012d6b40000614b380000700ad2e..."} 
[2026-11-05 07:06:42] local.INFO: Packet analysis {"connection_id":229958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a958"} 
[2026-11-05 07:06:42] local.INFO: Extracted packet for processing {"connection_id":229958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a958"} 
[2026-11-05 07:06:42] local.INFO: GPS Element Parsed {"raw_longitude":762003456,"raw_latitude":102019968,"longitude_deg":76.2003456,"latitude_deg":10.2019968,"altitude":7,"angle":173,"satellites":46,"speed":41,"hex_longitude":"2d6b4000","hex_latitude":"0614b380","is_valid_coordinates":true} 
[2026-11-05 07:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223677184001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39935044004872192,"note":"Value kept but may cause issues"} 
[2026-11-05 07:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7726699243059597312,"note":"Value kept but may cause issues"} 
[2026-11-05 07:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793842498000,"timestamp_ms":1793842498000,"timestamp_seconds":1793842498,"priority":1,"record_length":96,"hex_timestamp":"000001a1a95849d0"} 
[2026-11-05 07:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:06: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-05 07:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 07:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 07:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:06:42] 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-05 07:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223677184001,"66":27984,"167":206,"79":20992,"24":41,"16":39935044004872192,"45":7726699243059597312},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-11-05 07:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223677184001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:06:42] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-11-05 07:06:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 07:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39935044004872192,"km_value":39935044004872.195,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7726699243059597312,"description":"Unknown IO ID 45"} 
[2026-11-05 07:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223677184001,"power":27984,"unknown_167":206,"unknown_79":20992,"ignition":41,"odometer":null,"unknown_45":7726699243059597312}} 
[2026-11-05 07:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":229958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:06:42] local.INFO: GPS data processed {"connection_id":229958,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:06:42] local.INFO: Acknowledgment sent {"connection_id":229958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:07:04] local.INFO: TCP Data received {"connection_id":233168,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:07:04] local.INFO: Processing buffer {"connection_id":233168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:07:04] local.INFO: IMEI packet received {"connection_id":233168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":233168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:07:09] local.INFO: TCP Data received {"connection_id":233168,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:07:09] local.INFO: Processing buffer {"connection_id":233168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:07:09] local.INFO: IMEI packet received {"connection_id":233168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":233168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:07:10] local.INFO: TCP Data received {"connection_id":233168,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9586cf8012d6b444006148e30000900b22e..."} 
[2026-11-05 07:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9586cf8012d6b444006148e30000900b22e..."} 
[2026-11-05 07:07:10] local.INFO: Processing buffer {"connection_id":233168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9586cf8012d6b444006148e30000900b22e..."} 
[2026-11-05 07:07:10] local.INFO: Packet analysis {"connection_id":233168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a958"} 
[2026-11-05 07:07:10] local.INFO: Extracted packet for processing {"connection_id":233168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a958"} 
[2026-11-05 07:07:10] local.INFO: GPS Element Parsed {"raw_longitude":762004544,"raw_latitude":102010416,"longitude_deg":76.2004544,"latitude_deg":10.2010416,"altitude":9,"angle":178,"satellites":46,"speed":41,"hex_longitude":"2d6b4440","hex_latitude":"06148e30","is_valid_coordinates":true} 
[2026-11-05 07:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223679488001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39935512156307456,"note":"Value kept but may cause issues"} 
[2026-11-05 07:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7728176986684882944,"note":"Value kept but may cause issues"} 
[2026-11-05 07:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793842507000,"timestamp_ms":1793842507000,"timestamp_seconds":1793842507,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9586cf8"} 
[2026-11-05 07:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 07:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-05 07:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:07:10] 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-05 07:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223679488001,"66":27843,"167":206,"79":20992,"24":41,"16":39935512156307456,"45":7728176986684882944},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-11-05 07:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223679488001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:07:10] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-11-05 07:07:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 07:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39935512156307456,"km_value":39935512156307.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7728176986684882944,"description":"Unknown IO ID 45"} 
[2026-11-05 07:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223679488001,"power":27843,"unknown_167":206,"unknown_79":20992,"ignition":41,"odometer":null,"unknown_45":7728176986684882944}} 
[2026-11-05 07:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":233168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:07:10] local.INFO: GPS data processed {"connection_id":233168,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:07:10] local.INFO: Acknowledgment sent {"connection_id":233168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:07:41] local.INFO: TCP Data received {"connection_id":233168,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9589020012d6b474006146a50000b00ae2e..."} 
[2026-11-05 07:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9589020012d6b474006146a50000b00ae2e..."} 
[2026-11-05 07:07:41] local.INFO: Processing buffer {"connection_id":233168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9589020012d6b474006146a50000b00ae2e..."} 
[2026-11-05 07:07:41] local.INFO: Packet analysis {"connection_id":233168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a958"} 
[2026-11-05 07:07:41] local.INFO: Extracted packet for processing {"connection_id":233168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a958"} 
[2026-11-05 07:07:41] local.INFO: GPS Element Parsed {"raw_longitude":762005312,"raw_latitude":102001232,"longitude_deg":76.2005312,"latitude_deg":10.2001232,"altitude":11,"angle":174,"satellites":46,"speed":40,"hex_longitude":"2d6b4740","hex_latitude":"06146a50","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223681792001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39935958832906240,"note":"Value kept but may cause issues"} 
[2026-11-05 07:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7729373255333457920,"note":"Value kept but may cause issues"} 
[2026-11-05 07:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793842516000,"timestamp_ms":1793842516000,"timestamp_seconds":1793842516,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9589020"} 
[2026-11-05 07: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-05 07:07: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-05 07: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-05 07:07: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-05 07: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-05 07: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-05 07:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:07:41] 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-05 07:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223681792001,"66":27908,"44":206,"79":20992,"24":40,"16":39935958832906240,"45":7729373255333457920},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,79,24,16,45]} 
[2026-11-05 07:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223681792001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:07:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-11-05 07:07:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 07:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39935958832906240,"km_value":39935958832906.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":7729373255333457920,"description":"Unknown IO ID 45"} 
[2026-11-05 07:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223681792001,"power":27908,"unknown_44":206,"unknown_79":20992,"ignition":40,"odometer":null,"unknown_45":7729373255333457920}} 
[2026-11-05 07:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":233168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:07:41] local.INFO: GPS data processed {"connection_id":233168,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:07:41] local.INFO: Acknowledgment sent {"connection_id":233168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:08:04] local.INFO: TCP Data received {"connection_id":231257,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:08:04] local.INFO: Processing buffer {"connection_id":231257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:08:04] local.INFO: IMEI packet received {"connection_id":231257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":231257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:08:05] local.INFO: TCP Data received {"connection_id":231257,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:08:05] local.INFO: Processing buffer {"connection_id":231257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:08:05] local.INFO: IMEI packet received {"connection_id":231257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":231257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:08:09] local.INFO: TCP Data received {"connection_id":231257,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:08:09] local.INFO: Processing buffer {"connection_id":231257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:08:09] local.INFO: IMEI packet received {"connection_id":231257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":231257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:08:10] local.INFO: TCP Data received {"connection_id":231257,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a958b348012d6b4ac0061447b8000c00af2e..."} 
[2026-11-05 07:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a958b348012d6b4ac0061447b8000c00af2e..."} 
[2026-11-05 07:08:10] local.INFO: Processing buffer {"connection_id":231257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a958b348012d6b4ac0061447b8000c00af2e..."} 
[2026-11-05 07:08:10] local.INFO: Packet analysis {"connection_id":231257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a958"} 
[2026-11-05 07:08:10] local.INFO: Extracted packet for processing {"connection_id":231257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a958"} 
[2026-11-05 07:08:10] local.INFO: GPS Element Parsed {"raw_longitude":762006208,"raw_latitude":101992376,"longitude_deg":76.2006208,"latitude_deg":10.1992376,"altitude":12,"angle":175,"satellites":46,"speed":36,"hex_longitude":"2d6b4ac0","hex_latitude":"061447b8","is_valid_coordinates":true} 
[2026-11-05 07:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223684096001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39936392624603136,"note":"Value kept but may cause issues"} 
[2026-11-05 07:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7730217680261238784,"note":"Value kept but may cause issues"} 
[2026-11-05 07:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793842525000,"timestamp_ms":1793842525000,"timestamp_seconds":1793842525,"priority":1,"record_length":96,"hex_timestamp":"000001a1a958b348"} 
[2026-11-05 07:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 07:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 07:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:08:10] 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-05 07:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223684096001,"66":27930,"44":206,"79":20992,"24":36,"16":39936392624603136,"45":7730217680261238784},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,79,24,16,45]} 
[2026-11-05 07:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223684096001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:08:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-11-05 07:08:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-11-05 07:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39936392624603136,"km_value":39936392624603.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7730217680261238784,"description":"Unknown IO ID 45"} 
[2026-11-05 07:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223684096001,"power":27930,"unknown_44":206,"unknown_79":20992,"ignition":36,"odometer":null,"unknown_45":7730217680261238784}} 
[2026-11-05 07:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":231257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:08:10] local.INFO: GPS data processed {"connection_id":231257,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:08:10] local.INFO: Acknowledgment sent {"connection_id":231257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:08:41] local.INFO: TCP Data received {"connection_id":231257,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a95ae5c8012d6b78c00612b5d80003009f2e..."} 
[2026-11-05 07:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a95ae5c8012d6b78c00612b5d80003009f2e..."} 
[2026-11-05 07:08:41] local.INFO: Processing buffer {"connection_id":231257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a95ae5c8012d6b78c00612b5d80003009f2e..."} 
[2026-11-05 07:08:41] local.INFO: Packet analysis {"connection_id":231257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a95a"} 
[2026-11-05 07:08:41] local.INFO: Extracted packet for processing {"connection_id":231257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a95a"} 
[2026-11-05 07:08:41] local.INFO: GPS Element Parsed {"raw_longitude":762017984,"raw_latitude":101889496,"longitude_deg":76.2017984,"latitude_deg":10.1889496,"altitude":3,"angle":159,"satellites":46,"speed":9,"hex_longitude":"2d6b78c0","hex_latitude":"0612b5d8","is_valid_coordinates":true} 
[2026-11-05 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-05 07:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223721728001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39941417736339456,"note":"Value kept but may cause issues"} 
[2026-11-05 07:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7743939585347749888,"note":"Value kept but may cause issues"} 
[2026-11-05 07:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793842669000,"timestamp_ms":1793842669000,"timestamp_seconds":1793842669,"priority":1,"record_length":96,"hex_timestamp":"000001a1a95ae5c8"} 
[2026-11-05 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-05 07:08: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-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 07:08: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-05 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-05 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-05 07:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:08:41] 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-05 07:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223721728001,"66":27865,"137":206,"79":46336,"24":9,"16":39941417736339456,"45":7743939585347749888},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-11-05 07:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223721728001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:08:41] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-11-05 07:08:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-11-05 07:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39941417736339456,"km_value":39941417736339.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":7743939585347749888,"description":"Unknown IO ID 45"} 
[2026-11-05 07:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223721728001,"power":27865,"unknown_137":206,"unknown_79":46336,"ignition":9,"odometer":null,"unknown_45":7743939585347749888}} 
[2026-11-05 07:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":231257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:08:41] local.INFO: GPS data processed {"connection_id":231257,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:08:41] local.INFO: Acknowledgment sent {"connection_id":231257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:09:06] local.INFO: TCP Data received {"connection_id":233169,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:09:06] local.INFO: Processing buffer {"connection_id":233169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:09:06] local.INFO: IMEI packet received {"connection_id":233169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":233169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:09:08] local.INFO: TCP Data received {"connection_id":233169,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:09:08] local.INFO: Processing buffer {"connection_id":233169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:09:08] local.INFO: IMEI packet received {"connection_id":233169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":233169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:09:09] local.INFO: TCP Data received {"connection_id":233169,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:09:09] local.INFO: Processing buffer {"connection_id":233169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:09:09] local.INFO: IMEI packet received {"connection_id":233169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":233169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:09:14] local.INFO: TCP Data received {"connection_id":233169,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:09:14] local.INFO: Processing buffer {"connection_id":233169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:09:14] local.INFO: IMEI packet received {"connection_id":233169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":233169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:09:15] local.INFO: TCP Data received {"connection_id":233169,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a95aed98012d6b79400612b4380003008f2e..."} 
[2026-11-05 07:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a95aed98012d6b79400612b4380003008f2e..."} 
[2026-11-05 07:09:15] local.INFO: Processing buffer {"connection_id":233169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a95aed98012d6b79400612b4380003008f2e..."} 
[2026-11-05 07:09:15] local.INFO: Packet analysis {"connection_id":233169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a95a"} 
[2026-11-05 07:09:15] local.INFO: Extracted packet for processing {"connection_id":233169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a95a"} 
[2026-11-05 07:09:15] local.INFO: GPS Element Parsed {"raw_longitude":762018112,"raw_latitude":101889080,"longitude_deg":76.2018112,"latitude_deg":10.188908,"altitude":3,"angle":143,"satellites":46,"speed":9,"hex_longitude":"2d6b7940","hex_latitude":"0612b438","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223723264001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39941439211175936,"note":"Value kept but may cause issues"} 
[2026-11-05 07:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7744150691579811840,"note":"Value kept but may cause issues"} 
[2026-11-05 07:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793842671000,"timestamp_ms":1793842671000,"timestamp_seconds":1793842671,"priority":1,"record_length":96,"hex_timestamp":"000001a1a95aed98"} 
[2026-11-05 07: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-05 07:09: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-05 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 07:09: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-05 07: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-05 07: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-05 07:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:09:15] 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-05 07:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223723264001,"66":27843,"137":206,"79":46336,"24":9,"16":39941439211175936,"45":7744150691579811840},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-11-05 07:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223723264001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:09:15] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-11-05 07:09:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-11-05 07:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39941439211175936,"km_value":39941439211175.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":7744150691579811840,"description":"Unknown IO ID 45"} 
[2026-11-05 07:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223723264001,"power":27843,"unknown_137":206,"unknown_79":46336,"ignition":9,"odometer":null,"unknown_45":7744150691579811840}} 
[2026-11-05 07:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":233169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:09:15] local.INFO: GPS data processed {"connection_id":233169,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:09:15] local.INFO: Acknowledgment sent {"connection_id":233169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:09:46] local.INFO: TCP Data received {"connection_id":233169,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a95bff08012d6be3c006120900000400a62e..."} 
[2026-11-05 07:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a95bff08012d6be3c006120900000400a62e..."} 
[2026-11-05 07:09:46] local.INFO: Processing buffer {"connection_id":233169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a95bff08012d6be3c006120900000400a62e..."} 
[2026-11-05 07:09:46] local.INFO: Packet analysis {"connection_id":233169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a95b"} 
[2026-11-05 07:09:46] local.INFO: Extracted packet for processing {"connection_id":233169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a95b"} 
[2026-11-05 07:09:46] local.INFO: GPS Element Parsed {"raw_longitude":762045376,"raw_latitude":101845248,"longitude_deg":76.2045376,"latitude_deg":10.1845248,"altitude":4,"angle":166,"satellites":46,"speed":45,"hex_longitude":"2d6be3c0","hex_latitude":"06120900","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223739392001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39944037666390016,"note":"Value kept but may cause issues"} 
[2026-11-05 07:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7770046389428234240,"note":"Value kept but may cause issues"} 
[2026-11-05 07:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793842741000,"timestamp_ms":1793842741000,"timestamp_seconds":1793842741,"priority":1,"record_length":96,"hex_timestamp":"000001a1a95bff08"} 
[2026-11-05 07: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-05 07:09: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-05 07: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-05 07:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07: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-05 07: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-05 07:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":233169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":233169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":233169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:09:46] 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-05 07:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223739392001,"66":27908,"138":206,"79":46336,"24":45,"16":39944037666390016,"45":7770046389428234240},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-11-05 07:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223739392001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:09:46] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-11-05 07:09:46] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-11-05 07:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39944037666390016,"km_value":39944037666390.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":7770046389428234240,"description":"Unknown IO ID 45"} 
[2026-11-05 07:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223739392001,"power":27908,"unknown_138":206,"unknown_79":46336,"ignition":45,"odometer":null,"unknown_45":7770046389428234240}} 
[2026-11-05 07:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":233169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:09:46] local.INFO: GPS data processed {"connection_id":233169,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:09:46] local.INFO: Acknowledgment sent {"connection_id":233169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:10:04] local.INFO: TCP Data received {"connection_id":229960,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:10:04] local.INFO: Processing buffer {"connection_id":229960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:10:04] local.INFO: IMEI packet received {"connection_id":229960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":229960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:10:04] local.INFO: TCP Data received {"connection_id":229960,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:10:04] local.INFO: Processing buffer {"connection_id":229960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:10:04] local.INFO: IMEI packet received {"connection_id":229960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":229960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:10:09] local.INFO: TCP Data received {"connection_id":229960,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:10:09] local.INFO: Processing buffer {"connection_id":229960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:10:09] local.INFO: IMEI packet received {"connection_id":229960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":229960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:10:10] local.INFO: TCP Data received {"connection_id":229960,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a95bff08012d6be3c006120900000400a62e..."} 
[2026-11-05 07:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a95bff08012d6be3c006120900000400a62e..."} 
[2026-11-05 07:10:10] local.INFO: Processing buffer {"connection_id":229960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a95bff08012d6be3c006120900000400a62e..."} 
[2026-11-05 07:10:10] local.INFO: Packet analysis {"connection_id":229960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a95b"} 
[2026-11-05 07:10:10] local.INFO: Extracted packet for processing {"connection_id":229960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a95b"} 
[2026-11-05 07:10:10] local.INFO: GPS Element Parsed {"raw_longitude":762045376,"raw_latitude":101845248,"longitude_deg":76.2045376,"latitude_deg":10.1845248,"altitude":4,"angle":166,"satellites":46,"speed":45,"hex_longitude":"2d6be3c0","hex_latitude":"06120900","is_valid_coordinates":true} 
[2026-11-05 07:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223741696001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39944037666390016,"note":"Value kept but may cause issues"} 
[2026-11-05 07:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7774268514076524544,"note":"Value kept but may cause issues"} 
[2026-11-05 07:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793842741000,"timestamp_ms":1793842741000,"timestamp_seconds":1793842741,"priority":1,"record_length":96,"hex_timestamp":"000001a1a95bff08"} 
[2026-11-05 07:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 07:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 07:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:10:10] 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-05 07:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223741696001,"66":27908,"138":206,"79":46336,"24":45,"16":39944037666390016,"45":7774268514076524544},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-11-05 07:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223741696001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:10:10] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-11-05 07:10:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-11-05 07:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39944037666390016,"km_value":39944037666390.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7774268514076524544,"description":"Unknown IO ID 45"} 
[2026-11-05 07:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223741696001,"power":27908,"unknown_138":206,"unknown_79":46336,"ignition":45,"odometer":null,"unknown_45":7774268514076524544}} 
[2026-11-05 07:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":229960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:10:10] local.INFO: GPS data processed {"connection_id":229960,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:10:10] local.INFO: Acknowledgment sent {"connection_id":229960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:10:32] local.INFO: TCP Data received {"connection_id":231258,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231258,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:10:32] local.INFO: Processing buffer {"connection_id":231258,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:10:32] local.INFO: IMEI packet received {"connection_id":231258,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 07:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":231258,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:10:42] local.INFO: TCP Data received {"connection_id":229960,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a95c06d8012d6be48006120010000400b52d..."} 
[2026-11-05 07:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a95c06d8012d6be48006120010000400b52d..."} 
[2026-11-05 07:10:42] local.INFO: Processing buffer {"connection_id":229960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a95c06d8012d6be48006120010000400b52d..."} 
[2026-11-05 07:10:42] local.INFO: Packet analysis {"connection_id":229960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a95c"} 
[2026-11-05 07:10:42] local.INFO: Extracted packet for processing {"connection_id":229960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a95c"} 
[2026-11-05 07:10:42] local.INFO: GPS Element Parsed {"raw_longitude":762045568,"raw_latitude":101842960,"longitude_deg":76.2045568,"latitude_deg":10.184296,"altitude":4,"angle":181,"satellites":45,"speed":46,"hex_longitude":"2d6be480","hex_latitude":"06120010","is_valid_coordinates":true} 
[2026-11-05 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-05 07:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223741696001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39944149335539712,"note":"Value kept but may cause issues"} 
[2026-11-05 07:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7774268514076524544,"note":"Value kept but may cause issues"} 
[2026-11-05 07:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793842743000,"timestamp_ms":1793842743000,"timestamp_seconds":1793842743,"priority":1,"record_length":96,"hex_timestamp":"000001a1a95c06d8"} 
[2026-11-05 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-05 07:10: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-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 07:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 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-05 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-05 07:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:10:42] 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-05 07:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223741696001,"66":27876,"138":206,"79":46336,"24":46,"16":39944149335539712,"45":7774268514076524544},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-11-05 07:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223741696001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:10:42] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-11-05 07:10:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-11-05 07:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39944149335539712,"km_value":39944149335539.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7774268514076524544,"description":"Unknown IO ID 45"} 
[2026-11-05 07:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223741696001,"power":27876,"unknown_138":206,"unknown_79":46336,"ignition":46,"odometer":null,"unknown_45":7774268514076524544}} 
[2026-11-05 07:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":229960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:10:42] local.INFO: GPS data processed {"connection_id":229960,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:10:42] local.INFO: Acknowledgment sent {"connection_id":229960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:11:09] local.INFO: TCP Data received {"connection_id":229460,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:11:09] local.INFO: Processing buffer {"connection_id":229460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:11:09] local.INFO: IMEI packet received {"connection_id":229460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":229460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:11:12] local.INFO: TCP Data received {"connection_id":233170,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233170,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:11:12] local.INFO: Processing buffer {"connection_id":233170,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:11:12] local.INFO: IMEI packet received {"connection_id":233170,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 07:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":233170,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:11:12] local.INFO: TCP Data received {"connection_id":229460,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:11:12] local.INFO: Processing buffer {"connection_id":229460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:11:12] local.INFO: IMEI packet received {"connection_id":229460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":229460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:11:13] local.INFO: TCP Data received {"connection_id":229460,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a95c2618012d6be5800611db08000400ab2b..."} 
[2026-11-05 07:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a95c2618012d6be5800611db08000400ab2b..."} 
[2026-11-05 07:11:13] local.INFO: Processing buffer {"connection_id":229460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a95c2618012d6be5800611db08000400ab2b..."} 
[2026-11-05 07:11:13] local.INFO: Packet analysis {"connection_id":229460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a95c"} 
[2026-11-05 07:11:13] local.INFO: Extracted packet for processing {"connection_id":229460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a95c"} 
[2026-11-05 07:11:13] local.INFO: GPS Element Parsed {"raw_longitude":762045824,"raw_latitude":101833480,"longitude_deg":76.2045824,"latitude_deg":10.183348,"altitude":4,"angle":171,"satellites":43,"speed":46,"hex_longitude":"2d6be580","hex_latitude":"0611db08","is_valid_coordinates":true} 
[2026-11-05 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-05 07:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223742208001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39944613192007680,"note":"Value kept but may cause issues"} 
[2026-11-05 07:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7774479620308471808,"note":"Value kept but may cause issues"} 
[2026-11-05 07:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793842751000,"timestamp_ms":1793842751000,"timestamp_seconds":1793842751,"priority":1,"record_length":96,"hex_timestamp":"000001a1a95c2618"} 
[2026-11-05 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-05 07: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-05 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":228,"data_length":795,"current_offset":136} 
[2026-11-05 07:11: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-05 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-05 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-05 07:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:11: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-05 07:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223742208001,"66":27843,"138":206,"79":46336,"24":46,"16":39944613192007680,"45":7774479620308471808},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-11-05 07:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223742208001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:11:13] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-11-05 07:11:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-11-05 07:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39944613192007680,"km_value":39944613192007.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":7774479620308471808,"description":"Unknown IO ID 45"} 
[2026-11-05 07:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223742208001,"power":27843,"unknown_138":206,"unknown_79":46336,"ignition":46,"odometer":null,"unknown_45":7774479620308471808}} 
[2026-11-05 07:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":229460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:11:13] local.INFO: GPS data processed {"connection_id":229460,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:11:13] local.INFO: Acknowledgment sent {"connection_id":229460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:11:45] local.INFO: TCP Data received {"connection_id":229460,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a95db870012d6c710006112960000500642d..."} 
[2026-11-05 07:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a95db870012d6c710006112960000500642d..."} 
[2026-11-05 07:11:45] local.INFO: Processing buffer {"connection_id":229460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a95db870012d6c710006112960000500642d..."} 
[2026-11-05 07:11:45] local.INFO: Packet analysis {"connection_id":229460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a95d"} 
[2026-11-05 07:11:45] local.INFO: Extracted packet for processing {"connection_id":229460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a95d"} 
[2026-11-05 07:11:45] local.INFO: GPS Element Parsed {"raw_longitude":762081536,"raw_latitude":101788000,"longitude_deg":76.2081536,"latitude_deg":10.1788,"altitude":5,"angle":100,"satellites":45,"speed":17,"hex_longitude":"2d6c7100","hex_latitude":"06112960","is_valid_coordinates":true} 
[2026-11-05 07:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223769600001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39947589604343808,"note":"Value kept but may cause issues"} 
[2026-11-05 07:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7811986160941240320,"note":"Value kept but may cause issues"} 
[2026-11-05 07:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793842854000,"timestamp_ms":1793842854000,"timestamp_seconds":1793842854,"priority":1,"record_length":96,"hex_timestamp":"000001a1a95db870"} 
[2026-11-05 07:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:11: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-05 07:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 07:11: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-05 07:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:11: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-05 07:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223769600001,"66":27865,"193":206,"79":46336,"24":17,"16":39947589604343808,"45":7811986160941240320},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,79,24,16,45]} 
[2026-11-05 07:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223769600001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:11:45] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-11-05 07:11:45] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-11-05 07:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39947589604343808,"km_value":39947589604343.805,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":7811986160941240320,"description":"Unknown IO ID 45"} 
[2026-11-05 07:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223769600001,"power":27865,"unknown_193":206,"unknown_79":46336,"ignition":17,"odometer":null,"unknown_45":7811986160941240320}} 
[2026-11-05 07:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":229460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:11:45] local.INFO: GPS data processed {"connection_id":229460,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:11:45] local.INFO: Acknowledgment sent {"connection_id":229460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:12:04] local.INFO: TCP Data received {"connection_id":233171,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:12:04] local.INFO: Processing buffer {"connection_id":233171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:12:04] local.INFO: IMEI packet received {"connection_id":233171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":233171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:12:05] local.INFO: TCP Data received {"connection_id":233171,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:12:05] local.INFO: Processing buffer {"connection_id":233171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:12:05] local.INFO: IMEI packet received {"connection_id":233171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":233171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:12:07] local.INFO: TCP Data received {"connection_id":233171,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:12:07] local.INFO: Processing buffer {"connection_id":233171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:12:07] local.INFO: IMEI packet received {"connection_id":233171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":233171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:12:08] local.INFO: TCP Data received {"connection_id":233171,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:12:08] local.INFO: Processing buffer {"connection_id":233171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:12:08] local.INFO: IMEI packet received {"connection_id":233171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":233171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:12:09] local.INFO: TCP Data received {"connection_id":233171,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a95dcfe0012d6c7c40061126c0000500732d..."} 
[2026-11-05 07:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a95dcfe0012d6c7c40061126c0000500732d..."} 
[2026-11-05 07:12:09] local.INFO: Processing buffer {"connection_id":233171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a95dcfe0012d6c7c40061126c0000500732d..."} 
[2026-11-05 07:12:09] local.INFO: Packet analysis {"connection_id":233171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a95d"} 
[2026-11-05 07:12:09] local.INFO: Extracted packet for processing {"connection_id":233171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a95d"} 
[2026-11-05 07:12:09] local.INFO: GPS Element Parsed {"raw_longitude":762084416,"raw_latitude":101787328,"longitude_deg":76.2084416,"latitude_deg":10.1787328,"altitude":5,"angle":115,"satellites":45,"speed":14,"hex_longitude":"2d6c7c40","hex_latitude":"061126c0","is_valid_coordinates":true} 
[2026-11-05 07:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223770624001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39947731338264576,"note":"Value kept but may cause issues"} 
[2026-11-05 07:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7814026854522249216,"note":"Value kept but may cause issues"} 
[2026-11-05 07:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793842860000,"timestamp_ms":1793842860000,"timestamp_seconds":1793842860,"priority":1,"record_length":96,"hex_timestamp":"000001a1a95dcfe0"} 
[2026-11-05 07:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:12: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-05 07:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 07:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:12:09] 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-05 07:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223770624001,"66":27767,"193":206,"79":46336,"24":14,"16":39947731338264576,"45":7814026854522249216},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,79,24,16,45]} 
[2026-11-05 07:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223770624001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:12:09] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-11-05 07:12:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-11-05 07:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39947731338264576,"km_value":39947731338264.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7814026854522249216,"description":"Unknown IO ID 45"} 
[2026-11-05 07:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223770624001,"power":27767,"unknown_193":206,"unknown_79":46336,"ignition":14,"odometer":null,"unknown_45":7814026854522249216}} 
[2026-11-05 07:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":233171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:12:09] local.INFO: GPS data processed {"connection_id":233171,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:12:09] local.INFO: Acknowledgment sent {"connection_id":233171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:12:09] local.INFO: TCP Data received {"connection_id":233171,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a95ddb98012d6c804006112560000500642d..."} 
[2026-11-05 07:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a95ddb98012d6c804006112560000500642d..."} 
[2026-11-05 07:12:09] local.INFO: Processing buffer {"connection_id":233171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a95ddb98012d6c804006112560000500642d..."} 
[2026-11-05 07:12:09] local.INFO: Packet analysis {"connection_id":233171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a95d"} 
[2026-11-05 07:12:09] local.INFO: Extracted packet for processing {"connection_id":233171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a95d"} 
[2026-11-05 07:12:09] local.INFO: GPS Element Parsed {"raw_longitude":762085440,"raw_latitude":101786976,"longitude_deg":76.208544,"latitude_deg":10.1786976,"altitude":5,"angle":100,"satellites":45,"speed":14,"hex_longitude":"2d6c8040","hex_latitude":"06112560","is_valid_coordinates":true} 
[2026-11-05 07:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223772160001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39947782877872128,"note":"Value kept but may cause issues"} 
[2026-11-05 07:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7817193448010072064,"note":"Value kept but may cause issues"} 
[2026-11-05 07:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793842863000,"timestamp_ms":1793842863000,"timestamp_seconds":1793842863,"priority":1,"record_length":96,"hex_timestamp":"000001a1a95ddb98"} 
[2026-11-05 07:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 07:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-05 07:12: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-05 07:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:12:09] 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-05 07:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223772160001,"66":27843,"193":206,"79":46336,"24":14,"16":39947782877872128,"45":7817193448010072064},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,79,24,16,45]} 
[2026-11-05 07:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223772160001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:12:09] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-11-05 07:12:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-11-05 07:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39947782877872128,"km_value":39947782877872.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7817193448010072064,"description":"Unknown IO ID 45"} 
[2026-11-05 07:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223772160001,"power":27843,"unknown_193":206,"unknown_79":46336,"ignition":14,"odometer":null,"unknown_45":7817193448010072064}} 
[2026-11-05 07:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":233171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:12:09] local.INFO: GPS data processed {"connection_id":233171,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:12:09] local.INFO: Acknowledgment sent {"connection_id":233171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:12:41] local.INFO: TCP Data received {"connection_id":233171,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a95e0e60012d6ca340061120100004005f2c..."} 
[2026-11-05 07:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a95e0e60012d6ca340061120100004005f2c..."} 
[2026-11-05 07:12:41] local.INFO: Processing buffer {"connection_id":233171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a95e0e60012d6ca340061120100004005f2c..."} 
[2026-11-05 07:12:41] local.INFO: Packet analysis {"connection_id":233171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a95e"} 
[2026-11-05 07:12:41] local.INFO: Extracted packet for processing {"connection_id":233171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a95e"} 
[2026-11-05 07:12:41] local.INFO: GPS Element Parsed {"raw_longitude":762094400,"raw_latitude":101785616,"longitude_deg":76.20944,"latitude_deg":10.1785616,"altitude":4,"angle":95,"satellites":44,"speed":37,"hex_longitude":"2d6ca340","hex_latitude":"06112010","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223772928001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39948216669569024,"note":"Value kept but may cause issues"} 
[2026-11-05 07:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7818319347916824576,"note":"Value kept but may cause issues"} 
[2026-11-05 07:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793842876000,"timestamp_ms":1793842876000,"timestamp_seconds":1793842876,"priority":1,"record_length":96,"hex_timestamp":"000001a1a95e0e60"} 
[2026-11-05 07: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-05 07:12: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-05 07: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-05 07:12: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-05 07: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-05 07: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-05 07:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:12:41] 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-05 07:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223772928001,"66":27919,"207":206,"79":46336,"24":37,"16":39948216669569024,"45":7818319347916824576},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-11-05 07:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223772928001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:12:41] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-11-05 07:12:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-11-05 07:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39948216669569024,"km_value":39948216669569.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":7818319347916824576,"description":"Unknown IO ID 45"} 
[2026-11-05 07:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223772928001,"power":27919,"unknown_207":206,"unknown_79":46336,"ignition":37,"odometer":null,"unknown_45":7818319347916824576}} 
[2026-11-05 07:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":233171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:12:41] local.INFO: GPS data processed {"connection_id":233171,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:12:41] local.INFO: Acknowledgment sent {"connection_id":233171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:13:04] local.INFO: TCP Data received {"connection_id":231260,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:13:04] local.INFO: Processing buffer {"connection_id":231260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:13:04] local.INFO: IMEI packet received {"connection_id":231260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":231260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:13:06] local.INFO: TCP Data received {"connection_id":231260,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:13:06] local.INFO: Processing buffer {"connection_id":231260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:13:06] local.INFO: IMEI packet received {"connection_id":231260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":231260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:13:09] local.INFO: TCP Data received {"connection_id":231260,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:13:09] local.INFO: Processing buffer {"connection_id":231260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:13:09] local.INFO: IMEI packet received {"connection_id":231260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":231260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:13:09] local.INFO: TCP Data received {"connection_id":231260,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a95eba40012d6cffc00610ac80000500a92c..."} 
[2026-11-05 07:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a95eba40012d6cffc00610ac80000500a92c..."} 
[2026-11-05 07:13:09] local.INFO: Processing buffer {"connection_id":231260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a95eba40012d6cffc00610ac80000500a92c..."} 
[2026-11-05 07:13:09] local.INFO: Packet analysis {"connection_id":231260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a95e"} 
[2026-11-05 07:13:09] local.INFO: Extracted packet for processing {"connection_id":231260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a95e"} 
[2026-11-05 07:13:09] local.INFO: GPS Element Parsed {"raw_longitude":762118080,"raw_latitude":101756032,"longitude_deg":76.211808,"latitude_deg":10.1756032,"altitude":5,"angle":169,"satellites":44,"speed":36,"hex_longitude":"2d6cffc0","hex_latitude":"0610ac80","is_valid_coordinates":true} 
[2026-11-05 07:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223785472001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39950411397857280,"note":"Value kept but may cause issues"} 
[2026-11-05 07:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7852448188837357568,"note":"Value kept but may cause issues"} 
[2026-11-05 07:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793842920000,"timestamp_ms":1793842920000,"timestamp_seconds":1793842920,"priority":1,"record_length":96,"hex_timestamp":"000001a1a95eba40"} 
[2026-11-05 07:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:13: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-05 07:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-05 07:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:13:09] 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-05 07:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223785472001,"66":27908,"205":206,"79":46336,"24":36,"16":39950411397857280,"45":7852448188837357568},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,79,24,16,45]} 
[2026-11-05 07:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223785472001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:13:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-11-05 07:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39950411397857280,"km_value":39950411397857.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7852448188837357568,"description":"Unknown IO ID 45"} 
[2026-11-05 07:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223785472001,"power":27908,"cell_id":206,"unknown_79":46336,"ignition":36,"odometer":null,"unknown_45":7852448188837357568}} 
[2026-11-05 07:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":231260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:13:10] local.INFO: GPS data processed {"connection_id":231260,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:13:10] local.INFO: Acknowledgment sent {"connection_id":231260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:13:40] local.INFO: TCP Data received {"connection_id":231260,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a95f9500012d6d24c0060fa5b8000500b62c..."} 
[2026-11-05 07:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a95f9500012d6d24c0060fa5b8000500b62c..."} 
[2026-11-05 07:13:40] local.INFO: Processing buffer {"connection_id":231260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a95f9500012d6d24c0060fa5b8000500b62c..."} 
[2026-11-05 07:13:40] local.INFO: Packet analysis {"connection_id":231260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a95f"} 
[2026-11-05 07:13:40] local.INFO: Extracted packet for processing {"connection_id":231260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a95f"} 
[2026-11-05 07:13:40] local.INFO: GPS Element Parsed {"raw_longitude":762127552,"raw_latitude":101688760,"longitude_deg":76.2127552,"latitude_deg":10.168876,"altitude":5,"angle":182,"satellites":44,"speed":53,"hex_longitude":"2d6d24c0","hex_latitude":"060fa5b8","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223801344001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39953770062282752,"note":"Value kept but may cause issues"} 
[2026-11-05 07:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7864340506584561664,"note":"Value kept but may cause issues"} 
[2026-11-05 07:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793842976000,"timestamp_ms":1793842976000,"timestamp_seconds":1793842976,"priority":1,"record_length":96,"hex_timestamp":"000001a1a95f9500"} 
[2026-11-05 07: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-05 07:13: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-05 07: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-05 07:13: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-05 07: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-05 07: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-05 07:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:13:40] 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-05 07:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223801344001,"66":27767,"13":206,"79":46336,"24":53,"16":39953770062282752,"45":7864340506584561664},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,79,24,16,45]} 
[2026-11-05 07:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223801344001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:13:40] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-05 07:13:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-11-05 07:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39953770062282752,"km_value":39953770062282.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":7864340506584561664,"description":"Unknown IO ID 45"} 
[2026-11-05 07:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223801344001,"power":27767,"unknown_13":206,"unknown_79":46336,"ignition":53,"odometer":null,"unknown_45":7864340506584561664}} 
[2026-11-05 07:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":231260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:13:40] local.INFO: GPS data processed {"connection_id":231260,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:13:40] local.INFO: Acknowledgment sent {"connection_id":231260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:14:04] local.INFO: TCP Data received {"connection_id":229462,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:14:04] local.INFO: Processing buffer {"connection_id":229462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:14:04] local.INFO: IMEI packet received {"connection_id":229462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":229462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:14:06] local.INFO: TCP Data received {"connection_id":229462,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:14:06] local.INFO: Processing buffer {"connection_id":229462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:14:06] local.INFO: IMEI packet received {"connection_id":229462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":229462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:14:09] local.INFO: TCP Data received {"connection_id":229462,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:14:09] local.INFO: Processing buffer {"connection_id":229462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:14:09] local.INFO: IMEI packet received {"connection_id":229462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":229462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:14:10] local.INFO: TCP Data received {"connection_id":229462,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a95fa888012d6d24c0060f8c70000500a72c..."} 
[2026-11-05 07:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a95fa888012d6d24c0060f8c70000500a72c..."} 
[2026-11-05 07:14:10] local.INFO: Processing buffer {"connection_id":229462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a95fa888012d6d24c0060f8c70000500a72c..."} 
[2026-11-05 07:14:10] local.INFO: Packet analysis {"connection_id":229462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a95f"} 
[2026-11-05 07:14:10] local.INFO: Extracted packet for processing {"connection_id":229462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a95f"} 
[2026-11-05 07:14:10] local.INFO: GPS Element Parsed {"raw_longitude":762127552,"raw_latitude":101682288,"longitude_deg":76.2127552,"latitude_deg":10.1682288,"altitude":5,"angle":167,"satellites":44,"speed":46,"hex_longitude":"2d6d24c0","hex_latitude":"060f8c70","is_valid_coordinates":true} 
[2026-11-05 07:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223801856001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39954083594895360,"note":"Value kept but may cause issues"} 
[2026-11-05 07:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7864621981560584192,"note":"Value kept but may cause issues"} 
[2026-11-05 07:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793842981000,"timestamp_ms":1793842981000,"timestamp_seconds":1793842981,"priority":1,"record_length":96,"hex_timestamp":"000001a1a95fa888"} 
[2026-11-05 07:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:14: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-05 07:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-05 07:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:14:10] 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-05 07:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223801856001,"66":27865,"13":206,"79":46336,"24":46,"16":39954083594895360,"45":7864621981560584192},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,79,24,16,45]} 
[2026-11-05 07:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223801856001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:14:10] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-05 07:14:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-11-05 07:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39954083594895360,"km_value":39954083594895.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7864621981560584192,"description":"Unknown IO ID 45"} 
[2026-11-05 07:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223801856001,"power":27865,"unknown_13":206,"unknown_79":46336,"ignition":46,"odometer":null,"unknown_45":7864621981560584192}} 
[2026-11-05 07:14:10] 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":61741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:14:10] local.INFO: GPS data processed {"connection_id":229462,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:14:10] local.INFO: Acknowledgment sent {"connection_id":229462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:14:41] local.INFO: TCP Data received {"connection_id":229462,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a95fac70012d6d25c0060f88700005009b2c..."} 
[2026-11-05 07:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a95fac70012d6d25c0060f88700005009b2c..."} 
[2026-11-05 07:14:41] local.INFO: Processing buffer {"connection_id":229462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a95fac70012d6d25c0060f88700005009b2c..."} 
[2026-11-05 07:14:41] local.INFO: Packet analysis {"connection_id":229462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a95f"} 
[2026-11-05 07:14:41] local.INFO: Extracted packet for processing {"connection_id":229462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a95f"} 
[2026-11-05 07:14:41] local.INFO: GPS Element Parsed {"raw_longitude":762127808,"raw_latitude":101681264,"longitude_deg":76.2127808,"latitude_deg":10.1681264,"altitude":5,"angle":155,"satellites":44,"speed":41,"hex_longitude":"2d6d25c0","hex_latitude":"060f8870","is_valid_coordinates":true} 
[2026-11-05 07:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223803136001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39954135134502912,"note":"Value kept but may cause issues"} 
[2026-11-05 07:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7864621981558927360,"note":"Value kept but may cause issues"} 
[2026-11-05 07:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793842982000,"timestamp_ms":1793842982000,"timestamp_seconds":1793842982,"priority":1,"record_length":96,"hex_timestamp":"000001a1a95fac70"} 
[2026-11-05 07:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:14: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-05 07:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 07:14: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-05 07:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:14:41] 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-05 07:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223803136001,"66":27865,"13":206,"79":46336,"24":41,"16":39954135134502912,"45":7864621981558927360},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,79,24,16,45]} 
[2026-11-05 07:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223803136001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:14:41] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-05 07:14:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-11-05 07:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39954135134502912,"km_value":39954135134502.914,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":7864621981558927360,"description":"Unknown IO ID 45"} 
[2026-11-05 07:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223803136001,"power":27865,"unknown_13":206,"unknown_79":46336,"ignition":41,"odometer":null,"unknown_45":7864621981558927360}} 
[2026-11-05 07:14:41] 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":61742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:14:41] local.INFO: GPS data processed {"connection_id":229462,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:14:41] local.INFO: Acknowledgment sent {"connection_id":229462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:15:04] local.INFO: TCP Data received {"connection_id":229464,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:15:04] local.INFO: Processing buffer {"connection_id":229464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:15:04] local.INFO: IMEI packet received {"connection_id":229464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":229464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:15:08] local.INFO: TCP Data received {"connection_id":229464,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:15:08] local.INFO: Processing buffer {"connection_id":229464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:15:08] local.INFO: IMEI packet received {"connection_id":229464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":229464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:15:09] local.INFO: TCP Data received {"connection_id":229464,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:15:09] local.INFO: Processing buffer {"connection_id":229464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:15:09] local.INFO: IMEI packet received {"connection_id":229464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":229464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:15:10] local.INFO: TCP Data received {"connection_id":229464,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a95fbff8012d6d2e40060f77f8000600a72d..."} 
[2026-11-05 07:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a95fbff8012d6d2e40060f77f8000600a72d..."} 
[2026-11-05 07:15:10] local.INFO: Processing buffer {"connection_id":229464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a95fbff8012d6d2e40060f77f8000600a72d..."} 
[2026-11-05 07:15:10] local.INFO: Packet analysis {"connection_id":229464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a95f"} 
[2026-11-05 07:15:10] local.INFO: Extracted packet for processing {"connection_id":229464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a95f"} 
[2026-11-05 07:15:10] local.INFO: GPS Element Parsed {"raw_longitude":762129984,"raw_latitude":101677048,"longitude_deg":76.2129984,"latitude_deg":10.1677048,"altitude":6,"angle":167,"satellites":45,"speed":35,"hex_longitude":"2d6d2e40","hex_latitude":"060f77f8","is_valid_coordinates":true} 
[2026-11-05 07:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223803392001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39954362767769600,"note":"Value kept but may cause issues"} 
[2026-11-05 07:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7864903456535375872,"note":"Value kept but may cause issues"} 
[2026-11-05 07:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793842987000,"timestamp_ms":1793842987000,"timestamp_seconds":1793842987,"priority":1,"record_length":96,"hex_timestamp":"000001a1a95fbff8"} 
[2026-11-05 07:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 07:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 07:15: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-05 07:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:15:10] 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-05 07:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223803392001,"66":27843,"12":206,"79":46336,"24":35,"16":39954362767769600,"45":7864903456535375872},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-11-05 07:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223803392001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:15:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-11-05 07:15:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-11-05 07:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39954362767769600,"km_value":39954362767769.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7864903456535375872,"description":"Unknown IO ID 45"} 
[2026-11-05 07:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223803392001,"power":27843,"unknown_12":206,"unknown_79":46336,"ignition":35,"odometer":null,"unknown_45":7864903456535375872}} 
[2026-11-05 07:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":229464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:15:10] local.INFO: GPS data processed {"connection_id":229464,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:15:10] local.INFO: Acknowledgment sent {"connection_id":229464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:15:41] local.INFO: TCP Data received {"connection_id":229464,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9613310012d6d44c0060e2ef8000400c52a..."} 
[2026-11-05 07:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9613310012d6d44c0060e2ef8000400c52a..."} 
[2026-11-05 07:15:41] local.INFO: Processing buffer {"connection_id":229464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9613310012d6d44c0060e2ef8000400c52a..."} 
[2026-11-05 07:15:41] local.INFO: Packet analysis {"connection_id":229464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a961"} 
[2026-11-05 07:15:41] local.INFO: Extracted packet for processing {"connection_id":229464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a961"} 
[2026-11-05 07:15:41] local.INFO: GPS Element Parsed {"raw_longitude":762135744,"raw_latitude":101592824,"longitude_deg":76.2135744,"latitude_deg":10.1592824,"altitude":4,"angle":197,"satellites":42,"speed":40,"hex_longitude":"2d6d44c0","hex_latitude":"060e2ef8","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223826688001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7876373561815900160,"note":"Value kept but may cause issues"} 
[2026-11-05 07:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39958606195458048,"note":"Value kept but may cause issues"} 
[2026-11-05 07:15:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 07:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793843082000,"timestamp_ms":1793843082000,"timestamp_seconds":1793843082,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9613310"} 
[2026-11-05 07: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-05 07:15: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-05 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 07:15: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-05 07: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-05 07: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-05 07:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:15:41] 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-05 07:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223826688001,"66":27865,"45":7876373561815900160,"79":46336,"24":40,"16":39958606195458048},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-11-05 07:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223826688001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":7876373561815900160,"description":"Unknown IO ID 45"} 
[2026-11-05 07:15:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-11-05 07:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39958606195458048,"km_value":39958606195458.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:15:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459223826688001,"power":27865,"unknown_45":7876373561815900160,"unknown_79":46336,"ignition":40,"odometer":null}} 
[2026-11-05 07:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":229464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:15:41] local.INFO: GPS data processed {"connection_id":229464,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:15:41] local.INFO: Acknowledgment sent {"connection_id":229464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:16:09] local.INFO: TCP Data received {"connection_id":229961,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:16:09] local.INFO: Processing buffer {"connection_id":229961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:16:09] local.INFO: IMEI packet received {"connection_id":229961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":229961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:16:10] local.INFO: TCP Data received {"connection_id":229961,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:16:10] local.INFO: Processing buffer {"connection_id":229961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:16:10] local.INFO: IMEI packet received {"connection_id":229961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":229961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:16:14] local.INFO: TCP Data received {"connection_id":229961,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:16:14] local.INFO: Processing buffer {"connection_id":229961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:16:14] local.INFO: IMEI packet received {"connection_id":229961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":229961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:16:15] local.INFO: TCP Data received {"connection_id":229961,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a96142b0012d6d3fc0060e23b8000400d42d..."} 
[2026-11-05 07:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a96142b0012d6d3fc0060e23b8000400d42d..."} 
[2026-11-05 07:16:15] local.INFO: Processing buffer {"connection_id":229961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a96142b0012d6d3fc0060e23b8000400d42d..."} 
[2026-11-05 07:16:15] local.INFO: Packet analysis {"connection_id":229961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a961"} 
[2026-11-05 07:16:15] local.INFO: Extracted packet for processing {"connection_id":229961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a961"} 
[2026-11-05 07:16:15] local.INFO: GPS Element Parsed {"raw_longitude":762134464,"raw_latitude":101589944,"longitude_deg":76.2134464,"latitude_deg":10.1589944,"altitude":4,"angle":212,"satellites":45,"speed":23,"hex_longitude":"2d6d3fc0","hex_latitude":"060e23b8","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223828992001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7873629180790765568,"note":"Value kept but may cause issues"} 
[2026-11-05 07:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39958760814280704,"note":"Value kept but may cause issues"} 
[2026-11-05 07:16:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 07:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793843086000,"timestamp_ms":1793843086000,"timestamp_seconds":1793843086,"priority":1,"record_length":96,"hex_timestamp":"000001a1a96142b0"} 
[2026-11-05 07: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-05 07:16: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-05 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 07:16: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-05 07: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-05 07: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-05 07:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:16:15] 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-05 07:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223828992001,"66":27843,"45":7873629180790765568,"79":46336,"24":23,"16":39958760814280704},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-11-05 07:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223828992001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":7873629180790765568,"description":"Unknown IO ID 45"} 
[2026-11-05 07:16:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-11-05 07:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39958760814280704,"km_value":39958760814280.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:16:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459223828992001,"power":27843,"unknown_45":7873629180790765568,"unknown_79":46336,"ignition":23,"odometer":null}} 
[2026-11-05 07:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":229961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:16:15] local.INFO: GPS data processed {"connection_id":229961,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:16:15] local.INFO: Acknowledgment sent {"connection_id":229961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:16:20] local.INFO: TCP Data received {"connection_id":229961,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9618130012d6d39c0060e19f0000600c62d..."} 
[2026-11-05 07:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9618130012d6d39c0060e19f0000600c62d..."} 
[2026-11-05 07:16:20] local.INFO: Processing buffer {"connection_id":229961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9618130012d6d39c0060e19f0000600c62d..."} 
[2026-11-05 07:16:20] local.INFO: Packet analysis {"connection_id":229961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a961"} 
[2026-11-05 07:16:20] local.INFO: Extracted packet for processing {"connection_id":229961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a961"} 
[2026-11-05 07:16:20] local.INFO: GPS Element Parsed {"raw_longitude":762132928,"raw_latitude":101587440,"longitude_deg":76.2132928,"latitude_deg":10.158744,"altitude":6,"angle":198,"satellites":45,"speed":8,"hex_longitude":"2d6d39c0","hex_latitude":"060e19f0","is_valid_coordinates":true} 
[2026-11-05 07:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223830016001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7872221805906475008,"note":"Value kept but may cause issues"} 
[2026-11-05 07:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39958906843168768,"note":"Value kept but may cause issues"} 
[2026-11-05 07:16:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 07:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793843102000,"timestamp_ms":1793843102000,"timestamp_seconds":1793843102,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9618130"} 
[2026-11-05 07:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 07:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-05 07:16: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-05 07:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:16:20] 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-05 07:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223830016001,"66":27908,"45":7872221805906475008,"79":46336,"24":8,"16":39958906843168768},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-11-05 07:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223830016001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":7872221805906475008,"description":"Unknown IO ID 45"} 
[2026-11-05 07:16:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-11-05 07:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39958906843168768,"km_value":39958906843168.766,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:16:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459223830016001,"power":27908,"unknown_45":7872221805906475008,"unknown_79":46336,"ignition":8,"odometer":null}} 
[2026-11-05 07:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":229961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:16:20] local.INFO: GPS data processed {"connection_id":229961,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:16:20] local.INFO: Acknowledgment sent {"connection_id":229961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:17:04] local.INFO: TCP Data received {"connection_id":231261,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:17:04] local.INFO: Processing buffer {"connection_id":231261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:17:04] local.INFO: IMEI packet received {"connection_id":231261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":231261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:17:07] local.INFO: TCP Data received {"connection_id":229465,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:17:07] local.INFO: Processing buffer {"connection_id":229465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:17:07] local.INFO: IMEI packet received {"connection_id":229465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 07:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":229465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:17:09] local.INFO: TCP Data received {"connection_id":231261,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:17:09] local.INFO: Processing buffer {"connection_id":231261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:17:09] local.INFO: IMEI packet received {"connection_id":231261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":231261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:17:10] local.INFO: TCP Data received {"connection_id":231261,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a96194b8012d6d38c0060e1488000500b92c..."} 
[2026-11-05 07:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a96194b8012d6d38c0060e1488000500b92c..."} 
[2026-11-05 07:17:10] local.INFO: Processing buffer {"connection_id":231261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a96194b8012d6d38c0060e1488000500b92c..."} 
[2026-11-05 07:17:10] local.INFO: Packet analysis {"connection_id":231261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a961"} 
[2026-11-05 07:17:10] local.INFO: Extracted packet for processing {"connection_id":231261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a961"} 
[2026-11-05 07:17:10] local.INFO: GPS Element Parsed {"raw_longitude":762132672,"raw_latitude":101586056,"longitude_deg":76.2132672,"latitude_deg":10.1586056,"altitude":5,"angle":185,"satellites":44,"speed":11,"hex_longitude":"2d6d38c0","hex_latitude":"060e1488","is_valid_coordinates":true} 
[2026-11-05 07:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223834112001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39958975562645504,"note":"Value kept but may cause issues"} 
[2026-11-05 07:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7870532956045570048,"note":"Value kept but may cause issues"} 
[2026-11-05 07:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793843107000,"timestamp_ms":1793843107000,"timestamp_seconds":1793843107,"priority":1,"record_length":96,"hex_timestamp":"000001a1a96194b8"} 
[2026-11-05 07:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 07:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 07:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:17:10] 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-05 07:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223834112001,"66":27865,"46":206,"79":46336,"24":11,"16":39958975562645504,"45":7870532956045570048},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,79,24,16,45]} 
[2026-11-05 07:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223834112001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:17:10] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-11-05 07:17:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-11-05 07:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39958975562645504,"km_value":39958975562645.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7870532956045570048,"description":"Unknown IO ID 45"} 
[2026-11-05 07:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223834112001,"power":27865,"unknown_46":206,"unknown_79":46336,"ignition":11,"odometer":null,"unknown_45":7870532956045570048}} 
[2026-11-05 07:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":231261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:17:10] local.INFO: GPS data processed {"connection_id":231261,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:17:10] local.INFO: Acknowledgment sent {"connection_id":231261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:17:41] local.INFO: TCP Data received {"connection_id":231261,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a961bbc8012d6d3800060e08d8000600ac2a..."} 
[2026-11-05 07:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a961bbc8012d6d3800060e08d8000600ac2a..."} 
[2026-11-05 07:17:41] local.INFO: Processing buffer {"connection_id":231261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a961bbc8012d6d3800060e08d8000600ac2a..."} 
[2026-11-05 07:17:41] local.INFO: Packet analysis {"connection_id":231261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a961"} 
[2026-11-05 07:17:41] local.INFO: Extracted packet for processing {"connection_id":231261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a961"} 
[2026-11-05 07:17:41] local.INFO: GPS Element Parsed {"raw_longitude":762132480,"raw_latitude":101583064,"longitude_deg":76.213248,"latitude_deg":10.1583064,"altitude":6,"angle":172,"satellites":42,"speed":16,"hex_longitude":"2d6d3800","hex_latitude":"060e08d8","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223835392001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39959121591533568,"note":"Value kept but may cause issues"} 
[2026-11-05 07:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7870251481068505088,"note":"Value kept but may cause issues"} 
[2026-11-05 07:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793843117000,"timestamp_ms":1793843117000,"timestamp_seconds":1793843117,"priority":1,"record_length":96,"hex_timestamp":"000001a1a961bbc8"} 
[2026-11-05 07: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-05 07:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 07:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 07:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07: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-05 07: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-05 07:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:17:41] 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-05 07:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223835392001,"66":27908,"46":206,"79":46336,"24":16,"16":39959121591533568,"45":7870251481068505088},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,79,24,16,45]} 
[2026-11-05 07:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223835392001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:17:41] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-11-05 07:17:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-11-05 07:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39959121591533568,"km_value":39959121591533.57,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":7870251481068505088,"description":"Unknown IO ID 45"} 
[2026-11-05 07:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223835392001,"power":27908,"unknown_46":206,"unknown_79":46336,"ignition":16,"odometer":null,"unknown_45":7870251481068505088}} 
[2026-11-05 07:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":231261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:17:41] local.INFO: GPS data processed {"connection_id":231261,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:17:41] local.INFO: Acknowledgment sent {"connection_id":231261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:18:15] local.INFO: TCP Data received {"connection_id":229466,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:18:15] local.INFO: Processing buffer {"connection_id":229466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:18:15] local.INFO: IMEI packet received {"connection_id":229466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":229466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:18:15] local.INFO: TCP Data received {"connection_id":229466,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:18:15] local.INFO: Processing buffer {"connection_id":229466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:18:15] local.INFO: IMEI packet received {"connection_id":229466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":229466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:18:19] local.INFO: TCP Data received {"connection_id":229466,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:18:19] local.INFO: Processing buffer {"connection_id":229466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:18:19] local.INFO: IMEI packet received {"connection_id":229466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":229466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:18:20] local.INFO: TCP Data received {"connection_id":229466,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9634650012d6d5c80060d2d98000300b32c..."} 
[2026-11-05 07:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9634650012d6d5c80060d2d98000300b32c..."} 
[2026-11-05 07:18:20] local.INFO: Processing buffer {"connection_id":229466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9634650012d6d5c80060d2d98000300b32c..."} 
[2026-11-05 07:18:20] local.INFO: Packet analysis {"connection_id":229466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a963"} 
[2026-11-05 07:18:20] local.INFO: Extracted packet for processing {"connection_id":229466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a963"} 
[2026-11-05 07:18:20] local.INFO: GPS Element Parsed {"raw_longitude":762141824,"raw_latitude":101526936,"longitude_deg":76.2141824,"latitude_deg":10.1526936,"altitude":3,"angle":179,"satellites":44,"speed":9,"hex_longitude":"2d6d5c80","hex_latitude":"060d2d98","is_valid_coordinates":true} 
[2026-11-05 07:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223863552001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39961921910210560,"note":"Value kept but may cause issues"} 
[2026-11-05 07:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7880384580215015424,"note":"Value kept but may cause issues"} 
[2026-11-05 07:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793843218000,"timestamp_ms":1793843218000,"timestamp_seconds":1793843218,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9634650"} 
[2026-11-05 07:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 07:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 07:18: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-05 07:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:18:20] 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-05 07:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223863552001,"66":27745,"83":206,"79":46336,"24":9,"16":39961921910210560,"45":7880384580215015424},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,79,24,16,45]} 
[2026-11-05 07:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223863552001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:18:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-11-05 07:18:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-11-05 07:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39961921910210560,"km_value":39961921910210.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":7880384580215015424,"description":"Unknown IO ID 45"} 
[2026-11-05 07:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223863552001,"power":27745,"unknown_83":206,"unknown_79":46336,"ignition":9,"odometer":null,"unknown_45":7880384580215015424}} 
[2026-11-05 07:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":229466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:18:20] local.INFO: GPS data processed {"connection_id":229466,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:18:20] local.INFO: Acknowledgment sent {"connection_id":229466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:19:05] local.INFO: TCP Data received {"connection_id":229467,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:19:05] local.INFO: Processing buffer {"connection_id":229467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:19:05] local.INFO: IMEI packet received {"connection_id":229467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":229467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:19:05] local.INFO: TCP Data received {"connection_id":229467,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:19:05] local.INFO: Processing buffer {"connection_id":229467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:19:05] local.INFO: IMEI packet received {"connection_id":229467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":229467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:19:09] local.INFO: TCP Data received {"connection_id":229467,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:19:09] local.INFO: Processing buffer {"connection_id":229467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:19:09] local.INFO: IMEI packet received {"connection_id":229467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":229467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:19:11] local.INFO: TCP Data received {"connection_id":229467,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9645f90012d6df8c0060cd288000400392a..."} 
[2026-11-05 07:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9645f90012d6df8c0060cd288000400392a..."} 
[2026-11-05 07:19:11] local.INFO: Processing buffer {"connection_id":229467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9645f90012d6df8c0060cd288000400392a..."} 
[2026-11-05 07:19:11] local.INFO: Packet analysis {"connection_id":229467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a964"} 
[2026-11-05 07:19:11] local.INFO: Extracted packet for processing {"connection_id":229467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a964"} 
[2026-11-05 07:19:11] local.INFO: GPS Element Parsed {"raw_longitude":762181824,"raw_latitude":101503624,"longitude_deg":76.2181824,"latitude_deg":10.1503624,"altitude":4,"angle":57,"satellites":42,"speed":26,"hex_longitude":"2d6df8c0","hex_latitude":"060cd288","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223879680001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39964528955359232,"note":"Value kept but may cause issues"} 
[2026-11-05 07:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7914372683646210048,"note":"Value kept but may cause issues"} 
[2026-11-05 07:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793843290000,"timestamp_ms":1793843290000,"timestamp_seconds":1793843290,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9645f90"} 
[2026-11-05 07: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-05 07:19: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-05 07: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-05 07:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07: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-05 07: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-05 07:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:19:11] 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-05 07:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223879680001,"66":27865,"184":206,"79":46336,"24":26,"16":39964528955359232,"45":7914372683646210048},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,79,24,16,45]} 
[2026-11-05 07:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223879680001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:19:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-11-05 07:19:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-11-05 07:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39964528955359232,"km_value":39964528955359.234,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7914372683646210048,"description":"Unknown IO ID 45"} 
[2026-11-05 07:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223879680001,"power":27865,"unknown_184":206,"unknown_79":46336,"ignition":26,"odometer":null,"unknown_45":7914372683646210048}} 
[2026-11-05 07:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":229467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:19:11] local.INFO: GPS data processed {"connection_id":229467,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:19:11] local.INFO: Acknowledgment sent {"connection_id":229467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:19:42] local.INFO: TCP Data received {"connection_id":229467,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a96522e0012d6ec400060cf7780008007f2a..."} 
[2026-11-05 07:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a96522e0012d6ec400060cf7780008007f2a..."} 
[2026-11-05 07:19:42] local.INFO: Processing buffer {"connection_id":229467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a96522e0012d6ec400060cf7780008007f2a..."} 
[2026-11-05 07:19:42] local.INFO: Packet analysis {"connection_id":229467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a965"} 
[2026-11-05 07:19:42] local.INFO: Extracted packet for processing {"connection_id":229467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a965"} 
[2026-11-05 07:19:42] local.INFO: GPS Element Parsed {"raw_longitude":762233856,"raw_latitude":101513080,"longitude_deg":76.2233856,"latitude_deg":10.151308,"altitude":8,"angle":127,"satellites":42,"speed":18,"hex_longitude":"2d6ec400","hex_latitude":"060cf778","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223892992001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39967123115606016,"note":"Value kept but may cause issues"} 
[2026-11-05 07:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7974326853688760320,"note":"Value kept but may cause issues"} 
[2026-11-05 07:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793843340000,"timestamp_ms":1793843340000,"timestamp_seconds":1793843340,"priority":1,"record_length":96,"hex_timestamp":"000001a1a96522e0"} 
[2026-11-05 07: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-05 07:19: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-05 07: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 07:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07: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-05 07: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-05 07:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:19:42] 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-05 07:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223892992001,"66":27908,"186":206,"79":46336,"24":18,"16":39967123115606016,"45":7974326853688760320},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,79,24,16,45]} 
[2026-11-05 07:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223892992001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:19:42] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-11-05 07:19:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-11-05 07:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39967123115606016,"km_value":39967123115606.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7974326853688760320,"description":"Unknown IO ID 45"} 
[2026-11-05 07:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223892992001,"power":27908,"unknown_186":206,"unknown_79":46336,"ignition":18,"odometer":null,"unknown_45":7974326853688760320}} 
[2026-11-05 07:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":229467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:19:42] local.INFO: GPS data processed {"connection_id":229467,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:19:42] local.INFO: Acknowledgment sent {"connection_id":229467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:20:09] local.INFO: TCP Data received {"connection_id":229468,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:20:09] local.INFO: Processing buffer {"connection_id":229468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:20:09] local.INFO: IMEI packet received {"connection_id":229468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":229468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:20:12] local.INFO: TCP Data received {"connection_id":229468,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:20:12] local.INFO: Processing buffer {"connection_id":229468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:20:12] local.INFO: IMEI packet received {"connection_id":229468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":229468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:20:13] local.INFO: TCP Data received {"connection_id":229468,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a96526c8012d6ec500060cf638000800972b..."} 
[2026-11-05 07:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a96526c8012d6ec500060cf638000800972b..."} 
[2026-11-05 07:20:13] local.INFO: Processing buffer {"connection_id":229468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a96526c8012d6ec500060cf638000800972b..."} 
[2026-11-05 07:20:13] local.INFO: Packet analysis {"connection_id":229468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a965"} 
[2026-11-05 07:20:13] local.INFO: Extracted packet for processing {"connection_id":229468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a965"} 
[2026-11-05 07:20:13] local.INFO: GPS Element Parsed {"raw_longitude":762234112,"raw_latitude":101512760,"longitude_deg":76.2234112,"latitude_deg":10.151276,"altitude":8,"angle":151,"satellites":43,"speed":15,"hex_longitude":"2d6ec500","hex_latitude":"060cf638","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223895040001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39967140295475200,"note":"Value kept but may cause issues"} 
[2026-11-05 07:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7981504465594710016,"note":"Value kept but may cause issues"} 
[2026-11-05 07:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793843341000,"timestamp_ms":1793843341000,"timestamp_seconds":1793843341,"priority":1,"record_length":96,"hex_timestamp":"000001a1a96526c8"} 
[2026-11-05 07: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-05 07:20: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-05 07:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 07:20: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-05 07: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-05 07: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-05 07:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:20: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-05 07:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223895040001,"66":27865,"186":206,"79":46336,"24":15,"16":39967140295475200,"45":7981504465594710016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,79,24,16,45]} 
[2026-11-05 07:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223895040001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:20:13] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-11-05 07:20:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-11-05 07:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39967140295475200,"km_value":39967140295475.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":7981504465594710016,"description":"Unknown IO ID 45"} 
[2026-11-05 07:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223895040001,"power":27865,"unknown_186":206,"unknown_79":46336,"ignition":15,"odometer":null,"unknown_45":7981504465594710016}} 
[2026-11-05 07:20:13] 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":61752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:20:13] local.INFO: GPS data processed {"connection_id":229468,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:20:13] local.INFO: Acknowledgment sent {"connection_id":229468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:20:44] local.INFO: TCP Data received {"connection_id":229468,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9652ab0012d6ec540060cf498000700b12b..."} 
[2026-11-05 07:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9652ab0012d6ec540060cf498000700b12b..."} 
[2026-11-05 07:20:44] local.INFO: Processing buffer {"connection_id":229468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9652ab0012d6ec540060cf498000700b12b..."} 
[2026-11-05 07:20:44] local.INFO: Packet analysis {"connection_id":229468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a965"} 
[2026-11-05 07:20:44] local.INFO: Extracted packet for processing {"connection_id":229468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a965"} 
[2026-11-05 07:20:44] local.INFO: GPS Element Parsed {"raw_longitude":762234176,"raw_latitude":101512344,"longitude_deg":76.2234176,"latitude_deg":10.1512344,"altitude":7,"angle":177,"satellites":43,"speed":16,"hex_longitude":"2d6ec540","hex_latitude":"060cf498","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223895296001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39967161770311680,"note":"Value kept but may cause issues"} 
[2026-11-05 07:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7981785940571338752,"note":"Value kept but may cause issues"} 
[2026-11-05 07:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793843342000,"timestamp_ms":1793843342000,"timestamp_seconds":1793843342,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9652ab0"} 
[2026-11-05 07: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-05 07:20: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-05 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 07:20: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-05 07: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-05 07: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-05 07:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:20: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-05 07:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223895296001,"66":27865,"186":206,"79":46336,"24":16,"16":39967161770311680,"45":7981785940571338752},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,79,24,16,45]} 
[2026-11-05 07:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223895296001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:20:44] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-11-05 07:20:44] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-11-05 07:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39967161770311680,"km_value":39967161770311.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":7981785940571338752,"description":"Unknown IO ID 45"} 
[2026-11-05 07:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223895296001,"power":27865,"unknown_186":206,"unknown_79":46336,"ignition":16,"odometer":null,"unknown_45":7981785940571338752}} 
[2026-11-05 07:20: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":61753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:20:44] local.INFO: GPS data processed {"connection_id":229468,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:20:44] local.INFO: Acknowledgment sent {"connection_id":229468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:21:04] local.INFO: TCP Data received {"connection_id":233175,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:21:04] local.INFO: Processing buffer {"connection_id":233175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:21:04] local.INFO: IMEI packet received {"connection_id":233175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":233175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:21:10] local.INFO: TCP Data received {"connection_id":233175,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:21:10] local.INFO: Processing buffer {"connection_id":233175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:21:10] local.INFO: IMEI packet received {"connection_id":233175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":233175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:21:11] local.INFO: TCP Data received {"connection_id":233175,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9654608012d6ec800060ce4d0000800a22c..."} 
[2026-11-05 07:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9654608012d6ec800060ce4d0000800a22c..."} 
[2026-11-05 07:21:11] local.INFO: Processing buffer {"connection_id":233175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9654608012d6ec800060ce4d0000800a22c..."} 
[2026-11-05 07:21:11] local.INFO: Packet analysis {"connection_id":233175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a965"} 
[2026-11-05 07:21:11] local.INFO: Extracted packet for processing {"connection_id":233175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a965"} 
[2026-11-05 07:21:11] local.INFO: GPS Element Parsed {"raw_longitude":762234880,"raw_latitude":101508304,"longitude_deg":76.223488,"latitude_deg":10.1508304,"altitude":8,"angle":162,"satellites":44,"speed":28,"hex_longitude":"2d6ec800","hex_latitude":"060ce4d0","is_valid_coordinates":true} 
[2026-11-05 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-05 07:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223895552001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39967359338807296,"note":"Value kept but may cause issues"} 
[2026-11-05 07:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7981856309315409920,"note":"Value kept but may cause issues"} 
[2026-11-05 07:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793843349000,"timestamp_ms":1793843349000,"timestamp_seconds":1793843349,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9654608"} 
[2026-11-05 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-05 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-05 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":217,"data_length":795,"current_offset":136} 
[2026-11-05 07:21: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-05 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-05 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-05 07:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:21:11] 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-05 07:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223895552001,"66":27919,"186":206,"79":46336,"24":28,"16":39967359338807296,"45":7981856309315409920},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,79,24,16,45]} 
[2026-11-05 07:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223895552001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:21:11] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-11-05 07:21:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-11-05 07:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39967359338807296,"km_value":39967359338807.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7981856309315409920,"description":"Unknown IO ID 45"} 
[2026-11-05 07:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223895552001,"power":27919,"unknown_186":206,"unknown_79":46336,"ignition":28,"odometer":null,"unknown_45":7981856309315409920}} 
[2026-11-05 07:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":233175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:21:11] local.INFO: GPS data processed {"connection_id":233175,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:21:11] local.INFO: Acknowledgment sent {"connection_id":233175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:21:42] local.INFO: TCP Data received {"connection_id":233175,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a96578d0012d6ed4c0060cc1f80006009f2a..."} 
[2026-11-05 07:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a96578d0012d6ed4c0060cc1f80006009f2a..."} 
[2026-11-05 07:21:42] local.INFO: Processing buffer {"connection_id":233175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a96578d0012d6ed4c0060cc1f80006009f2a..."} 
[2026-11-05 07:21:42] local.INFO: Packet analysis {"connection_id":233175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a965"} 
[2026-11-05 07:21:42] local.INFO: Extracted packet for processing {"connection_id":233175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a965"} 
[2026-11-05 07:21:42] local.INFO: GPS Element Parsed {"raw_longitude":762238144,"raw_latitude":101499384,"longitude_deg":76.2238144,"latitude_deg":10.1499384,"altitude":6,"angle":159,"satellites":42,"speed":26,"hex_longitude":"2d6ed4c0","hex_latitude":"060cc1f8","is_valid_coordinates":true} 
[2026-11-05 07:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223897344001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39967818900307968,"note":"Value kept but may cause issues"} 
[2026-11-05 07:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7982630365500329984,"note":"Value kept but may cause issues"} 
[2026-11-05 07:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793843362000,"timestamp_ms":1793843362000,"timestamp_seconds":1793843362,"priority":1,"record_length":96,"hex_timestamp":"000001a1a96578d0"} 
[2026-11-05 07:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:21: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-05 07:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 07:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:21:42] 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-05 07:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223897344001,"66":27908,"186":206,"79":46336,"24":26,"16":39967818900307968,"45":7982630365500329984},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,79,24,16,45]} 
[2026-11-05 07:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223897344001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:21:42] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-11-05 07:21:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-11-05 07:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39967818900307968,"km_value":39967818900307.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7982630365500329984,"description":"Unknown IO ID 45"} 
[2026-11-05 07:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223897344001,"power":27908,"unknown_186":206,"unknown_79":46336,"ignition":26,"odometer":null,"unknown_45":7982630365500329984}} 
[2026-11-05 07:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":233175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:21:42] local.INFO: GPS data processed {"connection_id":233175,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:21:42] local.INFO: Acknowledgment sent {"connection_id":233175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:22:04] local.INFO: TCP Data received {"connection_id":233177,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:22:04] local.INFO: Processing buffer {"connection_id":233177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:22:04] local.INFO: IMEI packet received {"connection_id":233177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":233177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:22:06] local.INFO: TCP Data received {"connection_id":233177,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:22:06] local.INFO: Processing buffer {"connection_id":233177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:22:06] local.INFO: IMEI packet received {"connection_id":233177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":233177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:22:08] local.INFO: TCP Data received {"connection_id":233177,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:22:08] local.INFO: Processing buffer {"connection_id":233177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:22:08] local.INFO: IMEI packet received {"connection_id":233177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":233177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:22:09] local.INFO: TCP Data received {"connection_id":233177,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a965a7b0012d6ee300060ca0e80007009c2a..."} 
[2026-11-05 07:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a965a7b0012d6ee300060ca0e80007009c2a..."} 
[2026-11-05 07:22:09] local.INFO: Processing buffer {"connection_id":233177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a965a7b0012d6ee300060ca0e80007009c2a..."} 
[2026-11-05 07:22:09] local.INFO: Packet analysis {"connection_id":233177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a965"} 
[2026-11-05 07:22:09] local.INFO: Extracted packet for processing {"connection_id":233177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a965"} 
[2026-11-05 07:22:09] local.INFO: GPS Element Parsed {"raw_longitude":762241792,"raw_latitude":101490920,"longitude_deg":76.2241792,"latitude_deg":10.149092,"altitude":7,"angle":156,"satellites":42,"speed":31,"hex_longitude":"2d6ee300","hex_latitude":"060ca0e8","is_valid_coordinates":true} 
[2026-11-05 07:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223900672001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39968265576906752,"note":"Value kept but may cause issues"} 
[2026-11-05 07:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7986219171451107328,"note":"Value kept but may cause issues"} 
[2026-11-05 07:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793843374000,"timestamp_ms":1793843374000,"timestamp_seconds":1793843374,"priority":1,"record_length":96,"hex_timestamp":"000001a1a965a7b0"} 
[2026-11-05 07:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 07:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 07:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:22:09] 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-05 07:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223900672001,"66":27843,"8":206,"79":46336,"24":31,"16":39968265576906752,"45":7986219171451107328},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,79,24,16,45]} 
[2026-11-05 07:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223900672001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:22:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-11-05 07:22:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-11-05 07:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39968265576906752,"km_value":39968265576906.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7986219171451107328,"description":"Unknown IO ID 45"} 
[2026-11-05 07:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223900672001,"power":27843,"unknown_8":206,"unknown_79":46336,"ignition":31,"odometer":null,"unknown_45":7986219171451107328}} 
[2026-11-05 07:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":233177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:22:09] local.INFO: GPS data processed {"connection_id":233177,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:22:09] local.INFO: Acknowledgment sent {"connection_id":233177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:22:37] local.INFO: TCP Data received {"connection_id":233178,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233178,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:22:37] local.INFO: Processing buffer {"connection_id":233178,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:22:37] local.INFO: IMEI packet received {"connection_id":233178,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 07:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":233178,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:22:42] local.INFO: TCP Data received {"connection_id":233177,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9678ff8012d6f6380060be7c8000b00972e..."} 
[2026-11-05 07:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9678ff8012d6f6380060be7c8000b00972e..."} 
[2026-11-05 07:22:43] local.INFO: Processing buffer {"connection_id":233177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9678ff8012d6f6380060be7c8000b00972e..."} 
[2026-11-05 07:22:43] local.INFO: Packet analysis {"connection_id":233177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a967"} 
[2026-11-05 07:22:43] local.INFO: Extracted packet for processing {"connection_id":233177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a967"} 
[2026-11-05 07:22:43] local.INFO: GPS Element Parsed {"raw_longitude":762274688,"raw_latitude":101443528,"longitude_deg":76.2274688,"latitude_deg":10.1443528,"altitude":11,"angle":151,"satellites":46,"speed":12,"hex_longitude":"2d6f6380","hex_latitude":"060be7c8","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459223933440001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39971070190551040,"note":"Value kept but may cause issues"} 
[2026-11-05 07:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8024499768270168064,"note":"Value kept but may cause issues"} 
[2026-11-05 07:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793843499000,"timestamp_ms":1793843499000,"timestamp_seconds":1793843499,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9678ff8"} 
[2026-11-05 07: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-05 07:22: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-05 07: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":195,"data_length":795,"current_offset":136} 
[2026-11-05 07:22: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-05 07: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-05 07: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-05 07:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":233177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":233177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":233177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:22:43] 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-05 07:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459223933440001,"66":27908,"7":206,"79":46336,"24":12,"16":39971070190551040,"45":8024499768270168064},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,79,24,16,45]} 
[2026-11-05 07:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459223933440001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:22:43] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-11-05 07:22:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-11-05 07:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39971070190551040,"km_value":39971070190551.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8024499768270168064,"description":"Unknown IO ID 45"} 
[2026-11-05 07:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459223933440001,"power":27908,"unknown_7":206,"unknown_79":46336,"ignition":12,"odometer":null,"unknown_45":8024499768270168064}} 
[2026-11-05 07:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":233177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:22:43] local.INFO: GPS data processed {"connection_id":233177,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:22:43] local.INFO: Acknowledgment sent {"connection_id":233177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:23:03] local.INFO: TCP Data received {"connection_id":229469,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:23:03] local.INFO: Processing buffer {"connection_id":229469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:23:03] local.INFO: IMEI packet received {"connection_id":229469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":229469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:23:04] local.INFO: TCP Data received {"connection_id":229469,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:23:04] local.INFO: Processing buffer {"connection_id":229469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:23:04] local.INFO: IMEI packet received {"connection_id":229469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":229469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:23:05] local.INFO: TCP Data received {"connection_id":229469,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:23:05] local.INFO: Processing buffer {"connection_id":229469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:23:05] local.INFO: IMEI packet received {"connection_id":229469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":229469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:23:05] local.INFO: TCP Data received {"connection_id":229469,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:23:05] local.INFO: Processing buffer {"connection_id":229469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:23:05] local.INFO: IMEI packet received {"connection_id":229469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":229469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:23:07] local.INFO: TCP Data received {"connection_id":231263,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231263,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:23:07] local.INFO: Processing buffer {"connection_id":231263,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:23:07] local.INFO: IMEI packet received {"connection_id":231263,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 07:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":231263,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:28:09] local.INFO: TCP Data received {"connection_id":229471,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:28:09] local.INFO: Processing buffer {"connection_id":229471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:28:09] local.INFO: IMEI packet received {"connection_id":229471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":229471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:28:10] local.INFO: TCP Data received {"connection_id":229471,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a96bd1d0012d71c18006096e080007009f2f..."} 
[2026-11-05 07:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a96bd1d0012d71c18006096e080007009f2f..."} 
[2026-11-05 07:28:10] local.INFO: Processing buffer {"connection_id":229471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a96bd1d0012d71c18006096e080007009f2f..."} 
[2026-11-05 07:28:10] local.INFO: Packet analysis {"connection_id":229471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a96b"} 
[2026-11-05 07:28:10] local.INFO: Extracted packet for processing {"connection_id":229471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a96b"} 
[2026-11-05 07:28:10] local.INFO: GPS Element Parsed {"raw_longitude":762429824,"raw_latitude":101281288,"longitude_deg":76.2429824,"latitude_deg":10.1281288,"altitude":7,"angle":159,"satellites":47,"speed":44,"hex_longitude":"2d71c180","hex_latitude":"06096e08","is_valid_coordinates":true} 
[2026-11-05 07:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224004864001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39984152660934656,"note":"Value kept but may cause issues"} 
[2026-11-05 07:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8193384754256631808,"note":"Value kept but may cause issues"} 
[2026-11-05 07:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793843778000,"timestamp_ms":1793843778000,"timestamp_seconds":1793843778,"priority":1,"record_length":96,"hex_timestamp":"000001a1a96bd1d0"} 
[2026-11-05 07:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 07:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-05 07:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:28:10] 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-05 07:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224004864001,"66":27919,"198":206,"79":47616,"24":44,"16":39984152660934656,"45":8193384754256631808},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,79,24,16,45]} 
[2026-11-05 07:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224004864001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:28:10] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-11-05 07:28:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39984152660934656,"km_value":39984152660934.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8193384754256631808,"description":"Unknown IO ID 45"} 
[2026-11-05 07:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224004864001,"power":27919,"unknown_198":206,"unknown_79":47616,"ignition":44,"odometer":null,"unknown_45":8193384754256631808}} 
[2026-11-05 07:28:10] 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":61758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:28:10] local.INFO: GPS data processed {"connection_id":229471,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:28:10] local.INFO: Acknowledgment sent {"connection_id":229471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:28:37] local.INFO: TCP Data received {"connection_id":229472,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:28:37] local.INFO: Processing buffer {"connection_id":229472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:28:37] local.INFO: IMEI packet received {"connection_id":229472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 07:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":229472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:28:41] local.INFO: TCP Data received {"connection_id":229471,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a96d6040012d721ec00608a7980009005930..."} 
[2026-11-05 07:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a96d6040012d721ec00608a7980009005930..."} 
[2026-11-05 07:28:41] local.INFO: Processing buffer {"connection_id":229471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a96d6040012d721ec00608a7980009005930..."} 
[2026-11-05 07:28:41] local.INFO: Packet analysis {"connection_id":229471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a96d"} 
[2026-11-05 07:28:41] local.INFO: Extracted packet for processing {"connection_id":229471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a96d"} 
[2026-11-05 07:28:41] local.INFO: GPS Element Parsed {"raw_longitude":762453696,"raw_latitude":101230488,"longitude_deg":76.2453696,"latitude_deg":10.1230488,"altitude":9,"angle":89,"satellites":48,"speed":13,"hex_longitude":"2d721ec0","hex_latitude":"0608a798","is_valid_coordinates":true} 
[2026-11-05 07:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224033024001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39986905734971392,"note":"Value kept but may cause issues"} 
[2026-11-05 07:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8222869258051764224,"note":"Value kept but may cause issues"} 
[2026-11-05 07:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793843880000,"timestamp_ms":1793843880000,"timestamp_seconds":1793843880,"priority":1,"record_length":96,"hex_timestamp":"000001a1a96d6040"} 
[2026-11-05 07:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:28: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-05 07:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-05 07:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:28:41] 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-05 07:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224033024001,"66":27876,"199":206,"79":47616,"24":13,"16":39986905734971392,"45":8222869258051764224},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,79,24,16,45]} 
[2026-11-05 07:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224033024001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:28:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 07:28:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39986905734971392,"km_value":39986905734971.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8222869258051764224,"description":"Unknown IO ID 45"} 
[2026-11-05 07:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224033024001,"power":27876,"trip_odometer":0.206,"unknown_79":47616,"ignition":13,"odometer":null,"unknown_45":8222869258051764224}} 
[2026-11-05 07:28:41] 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":61759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:28:41] local.INFO: GPS data processed {"connection_id":229471,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:28:41] local.INFO: Acknowledgment sent {"connection_id":229471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:29:04] local.INFO: TCP Data received {"connection_id":233183,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:29:04] local.INFO: Processing buffer {"connection_id":233183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:29:04] local.INFO: IMEI packet received {"connection_id":233183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":233183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:29:05] local.INFO: TCP Data received {"connection_id":233183,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:29:05] local.INFO: Processing buffer {"connection_id":233183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:29:05] local.INFO: IMEI packet received {"connection_id":233183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":233183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:29:06] local.INFO: TCP Data received {"connection_id":233184,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233184,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:29:06] local.INFO: Processing buffer {"connection_id":233184,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:29:06] local.INFO: IMEI packet received {"connection_id":233184,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 07:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":233184,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:29:09] local.INFO: TCP Data received {"connection_id":233183,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:29:09] local.INFO: Processing buffer {"connection_id":233183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:29:09] local.INFO: IMEI packet received {"connection_id":233183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":233183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:29:10] local.INFO: TCP Data received {"connection_id":233183,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a96d6428012d7220400608a7c0000a004d2f..."} 
[2026-11-05 07:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a96d6428012d7220400608a7c0000a004d2f..."} 
[2026-11-05 07:29:10] local.INFO: Processing buffer {"connection_id":233183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a96d6428012d7220400608a7c0000a004d2f..."} 
[2026-11-05 07:29:10] local.INFO: Packet analysis {"connection_id":233183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a96d"} 
[2026-11-05 07:29:10] local.INFO: Extracted packet for processing {"connection_id":233183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a96d"} 
[2026-11-05 07:29:10] local.INFO: GPS Element Parsed {"raw_longitude":762454080,"raw_latitude":101230528,"longitude_deg":76.245408,"latitude_deg":10.1230528,"altitude":10,"angle":77,"satellites":47,"speed":14,"hex_longitude":"2d722040","hex_latitude":"0608a7c0","is_valid_coordinates":true} 
[2026-11-05 07:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224033280001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39986922914840576,"note":"Value kept but may cause issues"} 
[2026-11-05 07:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8223221101772642304,"note":"Value kept but may cause issues"} 
[2026-11-05 07:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793843881000,"timestamp_ms":1793843881000,"timestamp_seconds":1793843881,"priority":1,"record_length":96,"hex_timestamp":"000001a1a96d6428"} 
[2026-11-05 07:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 07:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-05 07:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:29:10] 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-05 07:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224033280001,"66":27876,"199":206,"79":47616,"24":14,"16":39986922914840576,"45":8223221101772642304},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,79,24,16,45]} 
[2026-11-05 07:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224033280001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:29:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 07:29:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39986922914840576,"km_value":39986922914840.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8223221101772642304,"description":"Unknown IO ID 45"} 
[2026-11-05 07:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224033280001,"power":27876,"trip_odometer":0.206,"unknown_79":47616,"ignition":14,"odometer":null,"unknown_45":8223221101772642304}} 
[2026-11-05 07:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":233183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:29:10] local.INFO: GPS data processed {"connection_id":233183,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:29:10] local.INFO: Acknowledgment sent {"connection_id":233183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:29:41] local.INFO: TCP Data received {"connection_id":233183,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a96d6810012d7221c00608a840000a003e30..."} 
[2026-11-05 07:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a96d6810012d7221c00608a840000a003e30..."} 
[2026-11-05 07:29:41] local.INFO: Processing buffer {"connection_id":233183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a96d6810012d7221c00608a840000a003e30..."} 
[2026-11-05 07:29:41] local.INFO: Packet analysis {"connection_id":233183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a96d"} 
[2026-11-05 07:29:41] local.INFO: Extracted packet for processing {"connection_id":233183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a96d"} 
[2026-11-05 07:29:41] local.INFO: GPS Element Parsed {"raw_longitude":762454464,"raw_latitude":101230656,"longitude_deg":76.2454464,"latitude_deg":10.1230656,"altitude":10,"angle":62,"satellites":48,"speed":14,"hex_longitude":"2d7221c0","hex_latitude":"0608a840","is_valid_coordinates":true} 
[2026-11-05 07:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224033536001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39986944389677056,"note":"Value kept but may cause issues"} 
[2026-11-05 07:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8223643314237718528,"note":"Value kept but may cause issues"} 
[2026-11-05 07:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793843882000,"timestamp_ms":1793843882000,"timestamp_seconds":1793843882,"priority":1,"record_length":96,"hex_timestamp":"000001a1a96d6810"} 
[2026-11-05 07:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:29: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-05 07:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-05 07:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:29:41] 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-05 07:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224033536001,"66":27876,"199":206,"79":47616,"24":14,"16":39986944389677056,"45":8223643314237718528},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,79,24,16,45]} 
[2026-11-05 07:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224033536001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:29:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 07:29:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39986944389677056,"km_value":39986944389677.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8223643314237718528,"description":"Unknown IO ID 45"} 
[2026-11-05 07:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224033536001,"power":27876,"trip_odometer":0.206,"unknown_79":47616,"ignition":14,"odometer":null,"unknown_45":8223643314237718528}} 
[2026-11-05 07:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":233183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:29:41] local.INFO: GPS data processed {"connection_id":233183,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:29:41] local.INFO: Acknowledgment sent {"connection_id":233183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:30:04] local.INFO: TCP Data received {"connection_id":231265,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:30:04] local.INFO: Processing buffer {"connection_id":231265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:30:04] local.INFO: IMEI packet received {"connection_id":231265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":231265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:30:07] local.INFO: TCP Data received {"connection_id":231265,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:30:07] local.INFO: Processing buffer {"connection_id":231265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:30:07] local.INFO: IMEI packet received {"connection_id":231265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":231265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:30:08] local.INFO: TCP Data received {"connection_id":231265,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:30:08] local.INFO: Processing buffer {"connection_id":231265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:30:08] local.INFO: IMEI packet received {"connection_id":231265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":231265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:30:10] local.INFO: TCP Data received {"connection_id":231265,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:30:10] local.INFO: Processing buffer {"connection_id":231265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:30:10] local.INFO: IMEI packet received {"connection_id":231265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":231265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:30:11] local.INFO: TCP Data received {"connection_id":231265,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a96da2a8012d7243800608b7e0000700422f..."} 
[2026-11-05 07:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a96da2a8012d7243800608b7e0000700422f..."} 
[2026-11-05 07:30:11] local.INFO: Processing buffer {"connection_id":231265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a96da2a8012d7243800608b7e0000700422f..."} 
[2026-11-05 07:30:11] local.INFO: Packet analysis {"connection_id":231265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a96d"} 
[2026-11-05 07:30:11] local.INFO: Extracted packet for processing {"connection_id":231265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a96d"} 
[2026-11-05 07:30:11] local.INFO: GPS Element Parsed {"raw_longitude":762463104,"raw_latitude":101234656,"longitude_deg":76.2463104,"latitude_deg":10.1234656,"altitude":7,"angle":66,"satellites":47,"speed":33,"hex_longitude":"2d724380","hex_latitude":"0608b7e0","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224033792001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39987399656210432,"note":"Value kept but may cause issues"} 
[2026-11-05 07:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8224065526702817280,"note":"Value kept but may cause issues"} 
[2026-11-05 07:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793843897000,"timestamp_ms":1793843897000,"timestamp_seconds":1793843897,"priority":1,"record_length":96,"hex_timestamp":"000001a1a96da2a8"} 
[2026-11-05 07: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-05 07:30: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-05 07: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-05 07:30: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-05 07: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-05 07: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-05 07:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:30:11] 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-05 07:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224033792001,"66":27658,"199":206,"79":47616,"24":33,"16":39987399656210432,"45":8224065526702817280},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,79,24,16,45]} 
[2026-11-05 07:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224033792001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:30:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 07:30:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39987399656210432,"km_value":39987399656210.43,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8224065526702817280,"description":"Unknown IO ID 45"} 
[2026-11-05 07:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224033792001,"power":27658,"trip_odometer":0.206,"unknown_79":47616,"ignition":33,"odometer":null,"unknown_45":8224065526702817280}} 
[2026-11-05 07:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":231265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:30:11] local.INFO: GPS data processed {"connection_id":231265,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:30:11] local.INFO: Acknowledgment sent {"connection_id":231265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:30:12] local.INFO: TCP Data received {"connection_id":231265,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a96dc9b8012d7267800608c3000007004b2e..."} 
[2026-11-05 07:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a96dc9b8012d7267800608c3000007004b2e..."} 
[2026-11-05 07:30:12] local.INFO: Processing buffer {"connection_id":231265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a96dc9b8012d7267800608c3000007004b2e..."} 
[2026-11-05 07:30:12] local.INFO: Packet analysis {"connection_id":231265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a96d"} 
[2026-11-05 07:30:12] local.INFO: Extracted packet for processing {"connection_id":231265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a96d"} 
[2026-11-05 07:30:12] local.INFO: GPS Element Parsed {"raw_longitude":762472320,"raw_latitude":101237504,"longitude_deg":76.247232,"latitude_deg":10.1237504,"altitude":7,"angle":75,"satellites":46,"speed":38,"hex_longitude":"2d726780","hex_latitude":"0608c300","is_valid_coordinates":true} 
[2026-11-05 07:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224037632001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39987859217711104,"note":"Value kept but may cause issues"} 
[2026-11-05 07:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8233565307167825920,"note":"Value kept but may cause issues"} 
[2026-11-05 07:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793843907000,"timestamp_ms":1793843907000,"timestamp_seconds":1793843907,"priority":1,"record_length":96,"hex_timestamp":"000001a1a96dc9b8"} 
[2026-11-05 07:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:30: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-05 07:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-11-05 07:30:12] 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-05 07:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:30:12] 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-05 07:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224037632001,"66":27876,"199":206,"79":47616,"24":38,"16":39987859217711104,"45":8233565307167825920},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,79,24,16,45]} 
[2026-11-05 07:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224037632001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:30:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 07:30:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39987859217711104,"km_value":39987859217711.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8233565307167825920,"description":"Unknown IO ID 45"} 
[2026-11-05 07:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224037632001,"power":27876,"trip_odometer":0.206,"unknown_79":47616,"ignition":38,"odometer":null,"unknown_45":8233565307167825920}} 
[2026-11-05 07:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":231265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:30:12] local.INFO: GPS data processed {"connection_id":231265,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:30:12] local.INFO: Acknowledgment sent {"connection_id":231265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:30:44] local.INFO: TCP Data received {"connection_id":231265,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a96f0238012d73840006089270000800962d..."} 
[2026-11-05 07:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a96f0238012d73840006089270000800962d..."} 
[2026-11-05 07:30:44] local.INFO: Processing buffer {"connection_id":231265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a96f0238012d73840006089270000800962d..."} 
[2026-11-05 07:30:44] local.INFO: Packet analysis {"connection_id":231265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a96f"} 
[2026-11-05 07:30:44] local.INFO: Extracted packet for processing {"connection_id":231265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a96f"} 
[2026-11-05 07:30:44] local.INFO: GPS Element Parsed {"raw_longitude":762545152,"raw_latitude":101225072,"longitude_deg":76.2545152,"latitude_deg":10.1225072,"altitude":8,"angle":150,"satellites":45,"speed":33,"hex_longitude":"2d738400","hex_latitude":"06089270","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224059648001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39991690328539136,"note":"Value kept but may cause issues"} 
[2026-11-05 07:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8321244762411485184,"note":"Value kept but may cause issues"} 
[2026-11-05 07:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793843987000,"timestamp_ms":1793843987000,"timestamp_seconds":1793843987,"priority":1,"record_length":96,"hex_timestamp":"000001a1a96f0238"} 
[2026-11-05 07: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-05 07:30: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-05 07: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":228,"data_length":795,"current_offset":136} 
[2026-11-05 07:30: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-05 07: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-05 07: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-05 07:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":231265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":231265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":231265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:30: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-05 07:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224059648001,"66":27876,"130":206,"79":47616,"24":33,"16":39991690328539136,"45":8321244762411485184},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,79,24,16,45]} 
[2026-11-05 07:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224059648001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:30:44] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-11-05 07:30:44] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39991690328539136,"km_value":39991690328539.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8321244762411485184,"description":"Unknown IO ID 45"} 
[2026-11-05 07:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224059648001,"power":27876,"unknown_130":206,"unknown_79":47616,"ignition":33,"odometer":null,"unknown_45":8321244762411485184}} 
[2026-11-05 07:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":231265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:30:44] local.INFO: GPS data processed {"connection_id":231265,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:30:44] local.INFO: Acknowledgment sent {"connection_id":231265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:31:11] local.INFO: TCP Data received {"connection_id":231267,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:31:11] local.INFO: Processing buffer {"connection_id":231267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:31:11] local.INFO: IMEI packet received {"connection_id":231267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":231267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:31:14] local.INFO: TCP Data received {"connection_id":231267,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:31:14] local.INFO: Processing buffer {"connection_id":231267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:31:14] local.INFO: IMEI packet received {"connection_id":231267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":231267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:31:19] local.INFO: TCP Data received {"connection_id":231267,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:31:19] local.INFO: Processing buffer {"connection_id":231267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:31:19] local.INFO: IMEI packet received {"connection_id":231267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":231267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:31:20] local.INFO: TCP Data received {"connection_id":231267,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a96f0df0012d738800060889b0000800a32d..."} 
[2026-11-05 07:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a96f0df0012d738800060889b0000800a32d..."} 
[2026-11-05 07:31:20] local.INFO: Processing buffer {"connection_id":231267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a96f0df0012d738800060889b0000800a32d..."} 
[2026-11-05 07:31:20] local.INFO: Packet analysis {"connection_id":231267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a96f"} 
[2026-11-05 07:31:20] local.INFO: Extracted packet for processing {"connection_id":231267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a96f"} 
[2026-11-05 07:31:20] local.INFO: GPS Element Parsed {"raw_longitude":762546176,"raw_latitude":101222832,"longitude_deg":76.2546176,"latitude_deg":10.1222832,"altitude":8,"angle":163,"satellites":45,"speed":30,"hex_longitude":"2d738800","hex_latitude":"060889b0","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224060672001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39991810587623424,"note":"Value kept but may cause issues"} 
[2026-11-05 07:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8323778037201137664,"note":"Value kept but may cause issues"} 
[2026-11-05 07:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793843990000,"timestamp_ms":1793843990000,"timestamp_seconds":1793843990,"priority":1,"record_length":96,"hex_timestamp":"000001a1a96f0df0"} 
[2026-11-05 07: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-05 07:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 07: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-05 07:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07: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-05 07: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-05 07:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":231267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":231267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":231267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:31:20] 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-05 07:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224060672001,"66":27517,"130":206,"79":47616,"24":30,"16":39991810587623424,"45":8323778037201137664},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,79,24,16,45]} 
[2026-11-05 07:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224060672001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:31:20] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-11-05 07:31:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39991810587623424,"km_value":39991810587623.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8323778037201137664,"description":"Unknown IO ID 45"} 
[2026-11-05 07:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224060672001,"power":27517,"unknown_130":206,"unknown_79":47616,"ignition":30,"odometer":null,"unknown_45":8323778037201137664}} 
[2026-11-05 07:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":231267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:31:20] local.INFO: GPS data processed {"connection_id":231267,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:31:20] local.INFO: Acknowledgment sent {"connection_id":231267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:32:04] local.INFO: TCP Data received {"connection_id":229966,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:32:04] local.INFO: Processing buffer {"connection_id":229966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:32:04] local.INFO: IMEI packet received {"connection_id":229966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":229966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:32:16] local.INFO: TCP Data received {"connection_id":229966,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:32:16] local.INFO: Processing buffer {"connection_id":229966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:32:16] local.INFO: IMEI packet received {"connection_id":229966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":229966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:32:34] local.INFO: TCP Data received {"connection_id":229966,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9701f60012d73e2000607c1600008006d2e..."} 
[2026-11-05 07:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9701f60012d73e2000607c1600008006d2e..."} 
[2026-11-05 07:32:34] local.INFO: Processing buffer {"connection_id":229966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9701f60012d73e2000607c1600008006d2e..."} 
[2026-11-05 07:32:34] local.INFO: Packet analysis {"connection_id":229966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a970"} 
[2026-11-05 07:32:34] local.INFO: Extracted packet for processing {"connection_id":229966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a970"} 
[2026-11-05 07:32:34] local.INFO: GPS Element Parsed {"raw_longitude":762569216,"raw_latitude":101171552,"longitude_deg":76.2569216,"latitude_deg":10.1171552,"altitude":8,"angle":109,"satellites":46,"speed":26,"hex_longitude":"2d73e200","hex_latitude":"0607c160","is_valid_coordinates":true} 
[2026-11-05 07:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224078848001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39994602316365824,"note":"Value kept but may cause issues"} 
[2026-11-05 07:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8348758941370656768,"note":"Value kept but may cause issues"} 
[2026-11-05 07:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793844060000,"timestamp_ms":1793844060000,"timestamp_seconds":1793844060,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9701f60"} 
[2026-11-05 07:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:32: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-05 07:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 07:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":229966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":229966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":229966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:32:34] 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-05 07:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224078848001,"66":27767,"99":206,"79":47616,"24":26,"16":39994602316365824,"45":8348758941370656768},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,79,24,16,45]} 
[2026-11-05 07:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224078848001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:32:34] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-11-05 07:32:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39994602316365824,"km_value":39994602316365.82,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8348758941370656768,"description":"Unknown IO ID 45"} 
[2026-11-05 07:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224078848001,"power":27767,"unknown_99":206,"unknown_79":47616,"ignition":26,"odometer":null,"unknown_45":8348758941370656768}} 
[2026-11-05 07:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":229966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:32:34] local.INFO: GPS data processed {"connection_id":229966,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:32:34] local.INFO: Acknowledgment sent {"connection_id":229966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:32:38] local.INFO: TCP Data received {"connection_id":229966,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9702b18012d73ea400607bd600006007b2c..."} 
[2026-11-05 07:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9702b18012d73ea400607bd600006007b2c..."} 
[2026-11-05 07:32:38] local.INFO: Processing buffer {"connection_id":229966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9702b18012d73ea400607bd600006007b2c..."} 
[2026-11-05 07:32:38] local.INFO: Packet analysis {"connection_id":229966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a970"} 
[2026-11-05 07:32:38] local.INFO: Extracted packet for processing {"connection_id":229966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a970"} 
[2026-11-05 07:32:38] local.INFO: GPS Element Parsed {"raw_longitude":762571328,"raw_latitude":101170528,"longitude_deg":76.2571328,"latitude_deg":10.1170528,"altitude":6,"angle":123,"satellites":44,"speed":29,"hex_longitude":"2d73ea40","hex_latitude":"0607bd60","is_valid_coordinates":true} 
[2026-11-05 07:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224079360001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39994713985515520,"note":"Value kept but may cause issues"} 
[2026-11-05 07:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8350236684998238208,"note":"Value kept but may cause issues"} 
[2026-11-05 07:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1793844063000,"timestamp_ms":1793844063000,"timestamp_seconds":1793844063,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9702b18"} 
[2026-11-05 07:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:32: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-05 07:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-05 07:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":229966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":229966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":229966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:32:38] 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-05 07:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224079360001,"66":27919,"99":206,"79":47616,"24":29,"16":39994713985515520,"45":8350236684998238208},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,79,24,16,45]} 
[2026-11-05 07:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224079360001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:32:38] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-11-05 07:32:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39994713985515520,"km_value":39994713985515.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8350236684998238208,"description":"Unknown IO ID 45"} 
[2026-11-05 07:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224079360001,"power":27919,"unknown_99":206,"unknown_79":47616,"ignition":29,"odometer":null,"unknown_45":8350236684998238208}} 
[2026-11-05 07:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":229966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:32:38] local.INFO: GPS data processed {"connection_id":229966,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:32:38] local.INFO: Acknowledgment sent {"connection_id":229966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:33:09] local.INFO: TCP Data received {"connection_id":233186,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:33:09] local.INFO: Processing buffer {"connection_id":233186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:33:09] local.INFO: IMEI packet received {"connection_id":233186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":233186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:33:11] local.INFO: TCP Data received {"connection_id":233186,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:33:11] local.INFO: Processing buffer {"connection_id":233186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:33:11] local.INFO: IMEI packet received {"connection_id":233186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":233186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:33:11] local.INFO: TCP Data received {"connection_id":233186,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9704670012d73fcc00607b0800005006b2e..."} 
[2026-11-05 07:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9704670012d73fcc00607b0800005006b2e..."} 
[2026-11-05 07:33:11] local.INFO: Processing buffer {"connection_id":233186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9704670012d73fcc00607b0800005006b2e..."} 
[2026-11-05 07:33:11] local.INFO: Packet analysis {"connection_id":233186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a970"} 
[2026-11-05 07:33:11] local.INFO: Extracted packet for processing {"connection_id":233186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a970"} 
[2026-11-05 07:33:11] local.INFO: GPS Element Parsed {"raw_longitude":762576064,"raw_latitude":101167232,"longitude_deg":76.2576064,"latitude_deg":10.1167232,"altitude":5,"angle":107,"satellites":46,"speed":35,"hex_longitude":"2d73fcc0","hex_latitude":"0607b080","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224080128001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39994993158389760,"note":"Value kept but may cause issues"} 
[2026-11-05 07:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8352558853555838976,"note":"Value kept but may cause issues"} 
[2026-11-05 07:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793844070000,"timestamp_ms":1793844070000,"timestamp_seconds":1793844070,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9704670"} 
[2026-11-05 07: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-05 07:33: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-05 07:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 07:33:11] 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-05 07: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-05 07: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-05 07:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:33:11] 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-05 07:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224080128001,"66":27876,"99":206,"79":47616,"24":35,"16":39994993158389760,"45":8352558853555838976},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,79,24,16,45]} 
[2026-11-05 07:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224080128001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:33:11] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-11-05 07:33:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39994993158389760,"km_value":39994993158389.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8352558853555838976,"description":"Unknown IO ID 45"} 
[2026-11-05 07:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224080128001,"power":27876,"unknown_99":206,"unknown_79":47616,"ignition":35,"odometer":null,"unknown_45":8352558853555838976}} 
[2026-11-05 07:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":233186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:33:11] local.INFO: GPS data processed {"connection_id":233186,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:33:11] local.INFO: Acknowledgment sent {"connection_id":233186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:33:12] local.INFO: TCP Data received {"connection_id":233186,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a97059f8012d740e400607a9c8000500782a..."} 
[2026-11-05 07:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a97059f8012d740e400607a9c8000500782a..."} 
[2026-11-05 07:33:12] local.INFO: Processing buffer {"connection_id":233186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a97059f8012d740e400607a9c8000500782a..."} 
[2026-11-05 07:33:12] local.INFO: Packet analysis {"connection_id":233186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a970"} 
[2026-11-05 07:33:12] local.INFO: Extracted packet for processing {"connection_id":233186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a970"} 
[2026-11-05 07:33:12] local.INFO: GPS Element Parsed {"raw_longitude":762580544,"raw_latitude":101165512,"longitude_deg":76.2580544,"latitude_deg":10.1165512,"altitude":5,"angle":120,"satellites":42,"speed":39,"hex_longitude":"2d740e40","hex_latitude":"0607a9c8","is_valid_coordinates":true} 
[2026-11-05 07:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224081920001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39995225086623744,"note":"Value kept but may cause issues"} 
[2026-11-05 07:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8357766140624142336,"note":"Value kept but may cause issues"} 
[2026-11-05 07:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793844075000,"timestamp_ms":1793844075000,"timestamp_seconds":1793844075,"priority":1,"record_length":96,"hex_timestamp":"000001a1a97059f8"} 
[2026-11-05 07:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07: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-05 07:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-05 07:33: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-05 07:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":233186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":233186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":233186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:33:12] 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-05 07:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224081920001,"66":27865,"99":206,"79":47616,"24":39,"16":39995225086623744,"45":8357766140624142336},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,79,24,16,45]} 
[2026-11-05 07:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224081920001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:33:12] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-11-05 07:33:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39995225086623744,"km_value":39995225086623.74,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8357766140624142336,"description":"Unknown IO ID 45"} 
[2026-11-05 07:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224081920001,"power":27865,"unknown_99":206,"unknown_79":47616,"ignition":39,"odometer":null,"unknown_45":8357766140624142336}} 
[2026-11-05 07:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":233186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:33:12] local.INFO: GPS data processed {"connection_id":233186,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:33:12] local.INFO: Acknowledgment sent {"connection_id":233186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:33:43] local.INFO: TCP Data received {"connection_id":233186,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a971add0012d749a80060654f8000900a42f..."} 
[2026-11-05 07:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a971add0012d749a80060654f8000900a42f..."} 
[2026-11-05 07:33:43] local.INFO: Processing buffer {"connection_id":233186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a971add0012d749a80060654f8000900a42f..."} 
[2026-11-05 07:33:43] local.INFO: Packet analysis {"connection_id":233186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a971"} 
[2026-11-05 07:33:43] local.INFO: Extracted packet for processing {"connection_id":233186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a971"} 
[2026-11-05 07:33:43] local.INFO: GPS Element Parsed {"raw_longitude":762616448,"raw_latitude":101078264,"longitude_deg":76.2616448,"latitude_deg":10.1078264,"altitude":9,"angle":164,"satellites":47,"speed":54,"hex_longitude":"2d749a80","hex_latitude":"060654f8","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224103680001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39999876536205312,"note":"Value kept but may cause issues"} 
[2026-11-05 07:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8399142962180352000,"note":"Value kept but may cause issues"} 
[2026-11-05 07:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793844162000,"timestamp_ms":1793844162000,"timestamp_seconds":1793844162,"priority":1,"record_length":96,"hex_timestamp":"000001a1a971add0"} 
[2026-11-05 07: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-05 07: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-05 07: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-05 07:33: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-05 07: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-05 07: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-05 07:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":233186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":233186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":233186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:33:43] 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-05 07:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224103680001,"66":27908,"197":206,"79":47616,"24":54,"16":39999876536205312,"45":8399142962180352000},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-11-05 07:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224103680001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:33:43] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-11-05 07:33:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39999876536205312,"km_value":39999876536205.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8399142962180352000,"description":"Unknown IO ID 45"} 
[2026-11-05 07:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224103680001,"power":27908,"unknown_197":206,"unknown_79":47616,"ignition":54,"odometer":null,"unknown_45":8399142962180352000}} 
[2026-11-05 07:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":233186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:33:44] local.INFO: GPS data processed {"connection_id":233186,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:33:44] local.INFO: Acknowledgment sent {"connection_id":233186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:34:04] local.INFO: TCP Data received {"connection_id":229967,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:34:04] local.INFO: Processing buffer {"connection_id":229967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:34:04] local.INFO: IMEI packet received {"connection_id":229967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":229967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:34:07] local.INFO: TCP Data received {"connection_id":229967,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:34:07] local.INFO: Processing buffer {"connection_id":229967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:34:07] local.INFO: IMEI packet received {"connection_id":229967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":229967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:34:08] local.INFO: TCP Data received {"connection_id":229967,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a971c928012d74a40006063258000900a42f..."} 
[2026-11-05 07:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a971c928012d74a40006063258000900a42f..."} 
[2026-11-05 07:34:08] local.INFO: Processing buffer {"connection_id":229967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a971c928012d74a40006063258000900a42f..."} 
[2026-11-05 07:34:08] local.INFO: Packet analysis {"connection_id":229967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a971"} 
[2026-11-05 07:34:08] local.INFO: Extracted packet for processing {"connection_id":229967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a971"} 
[2026-11-05 07:34:08] local.INFO: GPS Element Parsed {"raw_longitude":762618880,"raw_latitude":101069400,"longitude_deg":76.261888,"latitude_deg":10.10694,"altitude":9,"angle":164,"satellites":47,"speed":51,"hex_longitude":"2d74a400","hex_latitude":"06063258","is_valid_coordinates":true} 
[2026-11-05 07:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224105472001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40000323212804096,"note":"Value kept but may cause issues"} 
[2026-11-05 07:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8402168818177472512,"note":"Value kept but may cause issues"} 
[2026-11-05 07:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793844169000,"timestamp_ms":1793844169000,"timestamp_seconds":1793844169,"priority":1,"record_length":96,"hex_timestamp":"000001a1a971c928"} 
[2026-11-05 07:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 07:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 07:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":229967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":229967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":229967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:34:08] 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-05 07:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224105472001,"66":27843,"197":206,"79":47616,"24":51,"16":40000323212804096,"45":8402168818177472512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-11-05 07:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224105472001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:34:08] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-11-05 07:34:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40000323212804096,"km_value":40000323212804.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8402168818177472512,"description":"Unknown IO ID 45"} 
[2026-11-05 07:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224105472001,"power":27843,"unknown_197":206,"unknown_79":47616,"ignition":51,"odometer":null,"unknown_45":8402168818177472512}} 
[2026-11-05 07:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":229967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:34:08] local.INFO: GPS data processed {"connection_id":229967,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:34:08] local.INFO: Acknowledgment sent {"connection_id":229967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:34:32] local.INFO: TCP Data received {"connection_id":233188,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233188,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:34:32] local.INFO: Processing buffer {"connection_id":233188,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:34:32] local.INFO: IMEI packet received {"connection_id":233188,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 07:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":233188,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:34:39] local.INFO: TCP Data received {"connection_id":229967,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a971e868012d74adc006060f80000900a32e..."} 
[2026-11-05 07:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a971e868012d74adc006060f80000900a32e..."} 
[2026-11-05 07:34:39] local.INFO: Processing buffer {"connection_id":229967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a971e868012d74adc006060f80000900a32e..."} 
[2026-11-05 07:34:39] local.INFO: Packet analysis {"connection_id":229967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a971"} 
[2026-11-05 07:34:39] local.INFO: Extracted packet for processing {"connection_id":229967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a971"} 
[2026-11-05 07:34:39] local.INFO: GPS Element Parsed {"raw_longitude":762621376,"raw_latitude":101060480,"longitude_deg":76.2621376,"latitude_deg":10.106048,"altitude":9,"angle":163,"satellites":46,"speed":39,"hex_longitude":"2d74adc0","hex_latitude":"06060f80","is_valid_coordinates":true} 
[2026-11-05 07:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224107264001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40000769889402880,"note":"Value kept but may cause issues"} 
[2026-11-05 07:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8404842830453954560,"note":"Value kept but may cause issues"} 
[2026-11-05 07:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793844177000,"timestamp_ms":1793844177000,"timestamp_seconds":1793844177,"priority":1,"record_length":96,"hex_timestamp":"000001a1a971e868"} 
[2026-11-05 07:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 07:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-05 07:34: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-05 07:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":229967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":229967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":229967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:34:39] 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-05 07:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224107264001,"66":27865,"197":206,"79":47616,"24":39,"16":40000769889402880,"45":8404842830453954560},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-11-05 07:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224107264001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:34:39] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-11-05 07:34:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40000769889402880,"km_value":40000769889402.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8404842830453954560,"description":"Unknown IO ID 45"} 
[2026-11-05 07:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224107264001,"power":27865,"unknown_197":206,"unknown_79":47616,"ignition":39,"odometer":null,"unknown_45":8404842830453954560}} 
[2026-11-05 07:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":229967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:34:39] local.INFO: GPS data processed {"connection_id":229967,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:34:39] local.INFO: Acknowledgment sent {"connection_id":229967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:35:04] local.INFO: TCP Data received {"connection_id":229968,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:35:04] local.INFO: Processing buffer {"connection_id":229968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:35:04] local.INFO: IMEI packet received {"connection_id":229968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":229968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:35:09] local.INFO: TCP Data received {"connection_id":229968,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:35:09] local.INFO: Processing buffer {"connection_id":229968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:35:09] local.INFO: IMEI packet received {"connection_id":229968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":229968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:35:10] local.INFO: TCP Data received {"connection_id":229968,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9720f78012d74b6800605f500000800962e..."} 
[2026-11-05 07:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9720f78012d74b6800605f500000800962e..."} 
[2026-11-05 07:35:10] local.INFO: Processing buffer {"connection_id":229968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9720f78012d74b6800605f500000800962e..."} 
[2026-11-05 07:35:10] local.INFO: Packet analysis {"connection_id":229968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a972"} 
[2026-11-05 07:35:10] local.INFO: Extracted packet for processing {"connection_id":229968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a972"} 
[2026-11-05 07:35:10] local.INFO: GPS Element Parsed {"raw_longitude":762623616,"raw_latitude":101053696,"longitude_deg":76.2623616,"latitude_deg":10.1053696,"altitude":8,"angle":150,"satellites":46,"speed":17,"hex_longitude":"2d74b680","hex_latitude":"0605f500","is_valid_coordinates":true} 
[2026-11-05 07:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224109312001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40001117781753856,"note":"Value kept but may cause issues"} 
[2026-11-05 07:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8407587211474599936,"note":"Value kept but may cause issues"} 
[2026-11-05 07:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793844187000,"timestamp_ms":1793844187000,"timestamp_seconds":1793844187,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9720f78"} 
[2026-11-05 07:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:35: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-05 07:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 07:35: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-05 07:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:35:10] 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-05 07:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224109312001,"66":27767,"197":206,"79":47616,"24":17,"16":40001117781753856,"45":8407587211474599936},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-11-05 07:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224109312001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:35:10] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-11-05 07:35:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40001117781753856,"km_value":40001117781753.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8407587211474599936,"description":"Unknown IO ID 45"} 
[2026-11-05 07:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224109312001,"power":27767,"unknown_197":206,"unknown_79":47616,"ignition":17,"odometer":null,"unknown_45":8407587211474599936}} 
[2026-11-05 07:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":229968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:35:10] local.INFO: GPS data processed {"connection_id":229968,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:35:10] local.INFO: Acknowledgment sent {"connection_id":229968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:35:12] local.INFO: TCP Data received {"connection_id":229969,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229969,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:35:12] local.INFO: Processing buffer {"connection_id":229969,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:35:12] local.INFO: IMEI packet received {"connection_id":229969,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 07:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":229969,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:35:41] local.INFO: TCP Data received {"connection_id":229968,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9721360012d74b7400605f3a8000900882f..."} 
[2026-11-05 07:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9721360012d74b7400605f3a8000900882f..."} 
[2026-11-05 07:35:41] local.INFO: Processing buffer {"connection_id":229968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9721360012d74b7400605f3a8000900882f..."} 
[2026-11-05 07:35:41] local.INFO: Packet analysis {"connection_id":229968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a972"} 
[2026-11-05 07:35:41] local.INFO: Extracted packet for processing {"connection_id":229968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a972"} 
[2026-11-05 07:35:41] local.INFO: GPS Element Parsed {"raw_longitude":762623808,"raw_latitude":101053352,"longitude_deg":76.2623808,"latitude_deg":10.1053352,"altitude":9,"angle":136,"satellites":47,"speed":16,"hex_longitude":"2d74b740","hex_latitude":"0605f3a8","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224111872001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40001134961623040,"note":"Value kept but may cause issues"} 
[2026-11-05 07:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8410050117519081472,"note":"Value kept but may cause issues"} 
[2026-11-05 07:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793844188000,"timestamp_ms":1793844188000,"timestamp_seconds":1793844188,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9721360"} 
[2026-11-05 07: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-05 07:35: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-05 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-05 07:35: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-05 07: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-05 07: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-05 07:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:35:41] 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-05 07:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224111872001,"66":27767,"197":206,"79":47616,"24":16,"16":40001134961623040,"45":8410050117519081472},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-11-05 07:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224111872001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:35:41] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-11-05 07:35:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40001134961623040,"km_value":40001134961623.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8410050117519081472,"description":"Unknown IO ID 45"} 
[2026-11-05 07:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224111872001,"power":27767,"unknown_197":206,"unknown_79":47616,"ignition":16,"odometer":null,"unknown_45":8410050117519081472}} 
[2026-11-05 07:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":229968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:35:41] local.INFO: GPS data processed {"connection_id":229968,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:35:41] local.INFO: Acknowledgment sent {"connection_id":229968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:36:09] local.INFO: TCP Data received {"connection_id":229473,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:36:09] local.INFO: Processing buffer {"connection_id":229473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:36:09] local.INFO: IMEI packet received {"connection_id":229473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":229473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:36:10] local.INFO: TCP Data received {"connection_id":229473,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:36:10] local.INFO: Processing buffer {"connection_id":229473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:36:10] local.INFO: IMEI packet received {"connection_id":229473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":229473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:36:11] local.INFO: TCP Data received {"connection_id":229473,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9721748012d74b8800605f2b0000800782f..."} 
[2026-11-05 07:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9721748012d74b8800605f2b0000800782f..."} 
[2026-11-05 07:36:11] local.INFO: Processing buffer {"connection_id":229473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9721748012d74b8800605f2b0000800782f..."} 
[2026-11-05 07:36:11] local.INFO: Packet analysis {"connection_id":229473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a972"} 
[2026-11-05 07:36:11] local.INFO: Extracted packet for processing {"connection_id":229473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a972"} 
[2026-11-05 07:36:11] local.INFO: GPS Element Parsed {"raw_longitude":762624128,"raw_latitude":101053104,"longitude_deg":76.2624128,"latitude_deg":10.1053104,"altitude":8,"angle":120,"satellites":47,"speed":15,"hex_longitude":"2d74b880","hex_latitude":"0605f2b0","is_valid_coordinates":true} 
[2026-11-05 07:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224112128001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40001156436459520,"note":"Value kept but may cause issues"} 
[2026-11-05 07:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8410261223751526400,"note":"Value kept but may cause issues"} 
[2026-11-05 07:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793844189000,"timestamp_ms":1793844189000,"timestamp_seconds":1793844189,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9721748"} 
[2026-11-05 07:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07: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-05 07:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-05 07:36: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-05 07:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:36:11] 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-05 07:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224112128001,"66":27908,"197":206,"79":47616,"24":15,"16":40001156436459520,"45":8410261223751526400},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-11-05 07:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224112128001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:36:11] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-11-05 07:36:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40001156436459520,"km_value":40001156436459.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8410261223751526400,"description":"Unknown IO ID 45"} 
[2026-11-05 07:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224112128001,"power":27908,"unknown_197":206,"unknown_79":47616,"ignition":15,"odometer":null,"unknown_45":8410261223751526400}} 
[2026-11-05 07:36:11] 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":61775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:36:11] local.INFO: GPS data processed {"connection_id":229473,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:36:11] local.INFO: Acknowledgment sent {"connection_id":229473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:36:14] local.INFO: TCP Data received {"connection_id":229473,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9722ad0012d74bf400605ee880008008b2e..."} 
[2026-11-05 07:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9722ad0012d74bf400605ee880008008b2e..."} 
[2026-11-05 07:36:14] local.INFO: Processing buffer {"connection_id":229473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9722ad0012d74bf400605ee880008008b2e..."} 
[2026-11-05 07:36:14] local.INFO: Packet analysis {"connection_id":229473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a972"} 
[2026-11-05 07:36:14] local.INFO: Extracted packet for processing {"connection_id":229473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a972"} 
[2026-11-05 07:36:14] local.INFO: GPS Element Parsed {"raw_longitude":762625856,"raw_latitude":101052040,"longitude_deg":76.2625856,"latitude_deg":10.105204,"altitude":8,"angle":139,"satellites":46,"speed":16,"hex_longitude":"2d74bf40","hex_latitude":"0605ee88","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224112384001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40001255220707328,"note":"Value kept but may cause issues"} 
[2026-11-05 07:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8410613067472351232,"note":"Value kept but may cause issues"} 
[2026-11-05 07:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793844194000,"timestamp_ms":1793844194000,"timestamp_seconds":1793844194,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9722ad0"} 
[2026-11-05 07: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-05 07:36: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-05 07: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 07:36: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-05 07: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-05 07: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-05 07:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:36:14] 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-05 07:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224112384001,"66":27908,"197":206,"79":47616,"24":16,"16":40001255220707328,"45":8410613067472351232},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-11-05 07:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224112384001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:36:14] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-11-05 07:36:14] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40001255220707328,"km_value":40001255220707.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8410613067472351232,"description":"Unknown IO ID 45"} 
[2026-11-05 07:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224112384001,"power":27908,"unknown_197":206,"unknown_79":47616,"ignition":16,"odometer":null,"unknown_45":8410613067472351232}} 
[2026-11-05 07:36:14] 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":61776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:36:14] local.INFO: GPS data processed {"connection_id":229473,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:36:14] local.INFO: Acknowledgment sent {"connection_id":229473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:36:55] local.INFO: TCP Data received {"connection_id":229473,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9748c30012d752cc00604ab30000a00a42e..."} 
[2026-11-05 07:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9748c30012d752cc00604ab30000a00a42e..."} 
[2026-11-05 07:36:55] local.INFO: Processing buffer {"connection_id":229473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9748c30012d752cc00604ab30000a00a42e..."} 
[2026-11-05 07:36:55] local.INFO: Packet analysis {"connection_id":229473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a974"} 
[2026-11-05 07:36:55] local.INFO: Extracted packet for processing {"connection_id":229473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a974"} 
[2026-11-05 07:36:55] local.INFO: GPS Element Parsed {"raw_longitude":762653888,"raw_latitude":100969264,"longitude_deg":76.2653888,"latitude_deg":10.0969264,"altitude":10,"angle":164,"satellites":46,"speed":45,"hex_longitude":"2d752cc0","hex_latitude":"0604ab30","is_valid_coordinates":true} 
[2026-11-05 07:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224151552001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40005498648395776,"note":"Value kept but may cause issues"} 
[2026-11-05 07:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8440027202519298048,"note":"Value kept but may cause issues"} 
[2026-11-05 07:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793844350000,"timestamp_ms":1793844350000,"timestamp_seconds":1793844350,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9748c30"} 
[2026-11-05 07:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 07:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-05 07:36: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-05 07:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:36:55] 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-05 07:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224151552001,"66":27919,"119":206,"79":47616,"24":45,"16":40005498648395776,"45":8440027202519298048},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,79,24,16,45]} 
[2026-11-05 07:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224151552001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:36:55] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-11-05 07:36:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40005498648395776,"km_value":40005498648395.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8440027202519298048,"description":"Unknown IO ID 45"} 
[2026-11-05 07:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224151552001,"power":27919,"unknown_119":206,"unknown_79":47616,"ignition":45,"odometer":null,"unknown_45":8440027202519298048}} 
[2026-11-05 07:36:56] 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":61777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:36:56] local.INFO: GPS data processed {"connection_id":229473,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:36:56] local.INFO: Acknowledgment sent {"connection_id":229473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:37:05] local.INFO: TCP Data received {"connection_id":231268,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:37:05] local.INFO: Processing buffer {"connection_id":231268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:37:05] local.INFO: IMEI packet received {"connection_id":231268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":231268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:37:06] local.INFO: TCP Data received {"connection_id":231268,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:37:06] local.INFO: Processing buffer {"connection_id":231268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:37:06] local.INFO: IMEI packet received {"connection_id":231268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":231268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:37:09] local.INFO: TCP Data received {"connection_id":231268,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:37:09] local.INFO: Processing buffer {"connection_id":231268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:37:09] local.INFO: IMEI packet received {"connection_id":231268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":231268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:37:10] local.INFO: TCP Data received {"connection_id":231268,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a974af58012d753740060485f0000900a22d..."} 
[2026-11-05 07:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a974af58012d753740060485f0000900a22d..."} 
[2026-11-05 07:37:10] local.INFO: Processing buffer {"connection_id":231268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a974af58012d753740060485f0000900a22d..."} 
[2026-11-05 07:37:10] local.INFO: Packet analysis {"connection_id":231268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a974"} 
[2026-11-05 07:37:10] local.INFO: Extracted packet for processing {"connection_id":231268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a974"} 
[2026-11-05 07:37:10] local.INFO: GPS Element Parsed {"raw_longitude":762656576,"raw_latitude":100959728,"longitude_deg":76.2656576,"latitude_deg":10.0959728,"altitude":9,"angle":162,"satellites":45,"speed":43,"hex_longitude":"2d753740","hex_latitude":"060485f0","is_valid_coordinates":true} 
[2026-11-05 07:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224153600001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40005979684732928,"note":"Value kept but may cause issues"} 
[2026-11-05 07:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8443334533493501952,"note":"Value kept but may cause issues"} 
[2026-11-05 07:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793844359000,"timestamp_ms":1793844359000,"timestamp_seconds":1793844359,"priority":1,"record_length":96,"hex_timestamp":"000001a1a974af58"} 
[2026-11-05 07:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:37: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-05 07:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 07:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:37:10] 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-05 07:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224153600001,"66":27908,"119":206,"79":47616,"24":43,"16":40005979684732928,"45":8443334533493501952},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,79,24,16,45]} 
[2026-11-05 07:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224153600001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:37:10] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-11-05 07:37:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40005979684732928,"km_value":40005979684732.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8443334533493501952,"description":"Unknown IO ID 45"} 
[2026-11-05 07:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224153600001,"power":27908,"unknown_119":206,"unknown_79":47616,"ignition":43,"odometer":null,"unknown_45":8443334533493501952}} 
[2026-11-05 07:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":231268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:37:10] local.INFO: GPS data processed {"connection_id":231268,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:37:10] local.INFO: Acknowledgment sent {"connection_id":231268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:37:13] local.INFO: TCP Data received {"connection_id":231268,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a974d280012d754400060463000009009e2f..."} 
[2026-11-05 07:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a974d280012d754400060463000009009e2f..."} 
[2026-11-05 07:37:13] local.INFO: Processing buffer {"connection_id":231268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a974d280012d754400060463000009009e2f..."} 
[2026-11-05 07:37:13] local.INFO: Packet analysis {"connection_id":231268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a974"} 
[2026-11-05 07:37:13] local.INFO: Extracted packet for processing {"connection_id":231268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a974"} 
[2026-11-05 07:37:13] local.INFO: GPS Element Parsed {"raw_longitude":762659840,"raw_latitude":100950784,"longitude_deg":76.265984,"latitude_deg":10.0950784,"altitude":9,"angle":158,"satellites":47,"speed":39,"hex_longitude":"2d754400","hex_latitude":"06046300","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224155904001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40006439246233600,"note":"Value kept but may cause issues"} 
[2026-11-05 07:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8446290020746522624,"note":"Value kept but may cause issues"} 
[2026-11-05 07:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793844368000,"timestamp_ms":1793844368000,"timestamp_seconds":1793844368,"priority":1,"record_length":96,"hex_timestamp":"000001a1a974d280"} 
[2026-11-05 07: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-05 07: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-05 07: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-05 07: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-05 07: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-05 07: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-05 07:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":231268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":231268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":231268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:37: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-05 07:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224155904001,"66":27843,"119":206,"79":47616,"24":39,"16":40006439246233600,"45":8446290020746522624},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,79,24,16,45]} 
[2026-11-05 07:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224155904001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:37:13] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-11-05 07:37:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40006439246233600,"km_value":40006439246233.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8446290020746522624,"description":"Unknown IO ID 45"} 
[2026-11-05 07:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224155904001,"power":27843,"unknown_119":206,"unknown_79":47616,"ignition":39,"odometer":null,"unknown_45":8446290020746522624}} 
[2026-11-05 07:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":231268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:37:13] local.INFO: GPS data processed {"connection_id":231268,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:37:13] local.INFO: Acknowledgment sent {"connection_id":231268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:37:44] local.INFO: TCP Data received {"connection_id":231268,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a974f5a8012d7550c006044160000b00a02f..."} 
[2026-11-05 07:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a974f5a8012d7550c006044160000b00a02f..."} 
[2026-11-05 07:37:44] local.INFO: Processing buffer {"connection_id":231268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a974f5a8012d7550c006044160000b00a02f..."} 
[2026-11-05 07:37:44] local.INFO: Packet analysis {"connection_id":231268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a974"} 
[2026-11-05 07:37:44] local.INFO: Extracted packet for processing {"connection_id":231268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a974"} 
[2026-11-05 07:37:44] local.INFO: GPS Element Parsed {"raw_longitude":762663104,"raw_latitude":100942176,"longitude_deg":76.2663104,"latitude_deg":10.0942176,"altitude":11,"angle":160,"satellites":47,"speed":41,"hex_longitude":"2d7550c0","hex_latitude":"06044160","is_valid_coordinates":true} 
[2026-11-05 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-05 07:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224158208001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40006885922832384,"note":"Value kept but may cause issues"} 
[2026-11-05 07:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8449878826697293824,"note":"Value kept but may cause issues"} 
[2026-11-05 07:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793844377000,"timestamp_ms":1793844377000,"timestamp_seconds":1793844377,"priority":1,"record_length":96,"hex_timestamp":"000001a1a974f5a8"} 
[2026-11-05 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-05 07: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-05 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":195,"data_length":795,"current_offset":136} 
[2026-11-05 07:37: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-05 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-05 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-05 07:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":231268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":231268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":231268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:37: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-05 07:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224158208001,"66":28050,"119":206,"79":47616,"24":41,"16":40006885922832384,"45":8449878826697293824},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,79,24,16,45]} 
[2026-11-05 07:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224158208001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:37:44] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-11-05 07:37:44] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40006885922832384,"km_value":40006885922832.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8449878826697293824,"description":"Unknown IO ID 45"} 
[2026-11-05 07:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224158208001,"power":28050,"unknown_119":206,"unknown_79":47616,"ignition":41,"odometer":null,"unknown_45":8449878826697293824}} 
[2026-11-05 07:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":231268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:37:44] local.INFO: GPS data processed {"connection_id":231268,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:37:44] local.INFO: Acknowledgment sent {"connection_id":231268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:38:04] local.INFO: TCP Data received {"connection_id":229474,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:38:04] local.INFO: Processing buffer {"connection_id":229474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:38:04] local.INFO: IMEI packet received {"connection_id":229474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":229474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:38:09] local.INFO: TCP Data received {"connection_id":229474,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:38:09] local.INFO: Processing buffer {"connection_id":229474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:38:09] local.INFO: IMEI packet received {"connection_id":229474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":229474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:38:10] local.INFO: TCP Data received {"connection_id":229474,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a97518d0012d755bc006041d20000c00a52f..."} 
[2026-11-05 07:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a97518d0012d755bc006041d20000c00a52f..."} 
[2026-11-05 07:38:10] local.INFO: Processing buffer {"connection_id":229474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a97518d0012d755bc006041d20000c00a52f..."} 
[2026-11-05 07:38:10] local.INFO: Packet analysis {"connection_id":229474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a975"} 
[2026-11-05 07:38:10] local.INFO: Extracted packet for processing {"connection_id":229474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a975"} 
[2026-11-05 07:38:10] local.INFO: GPS Element Parsed {"raw_longitude":762665920,"raw_latitude":100932896,"longitude_deg":76.266592,"latitude_deg":10.0932896,"altitude":12,"angle":165,"satellites":47,"speed":44,"hex_longitude":"2d755bc0","hex_latitude":"06041d20","is_valid_coordinates":true} 
[2026-11-05 07:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224160512001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40007354074267648,"note":"Value kept but may cause issues"} 
[2026-11-05 07:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8453467632648151040,"note":"Value kept but may cause issues"} 
[2026-11-05 07:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793844386000,"timestamp_ms":1793844386000,"timestamp_seconds":1793844386,"priority":1,"record_length":96,"hex_timestamp":"000001a1a97518d0"} 
[2026-11-05 07:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:38: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-05 07:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-05 07:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:38:10] 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-05 07:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224160512001,"66":28006,"21":206,"79":47616,"24":44,"16":40007354074267648,"45":8453467632648151040},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-11-05 07:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224160512001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:38:10] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-11-05 07:38:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40007354074267648,"km_value":40007354074267.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8453467632648151040,"description":"Unknown IO ID 45"} 
[2026-11-05 07:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224160512001,"power":28006,"unknown_21":206,"unknown_79":47616,"ignition":44,"odometer":null,"unknown_45":8453467632648151040}} 
[2026-11-05 07:38:10] 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":61781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:38:10] local.INFO: GPS data processed {"connection_id":229474,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:38:10] local.INFO: Acknowledgment sent {"connection_id":229474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:38:41] local.INFO: TCP Data received {"connection_id":229474,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9753810012d7563400603f8b8000c00a92f..."} 
[2026-11-05 07:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9753810012d7563400603f8b8000c00a92f..."} 
[2026-11-05 07:38:41] local.INFO: Processing buffer {"connection_id":229474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9753810012d7563400603f8b8000c00a92f..."} 
[2026-11-05 07:38:41] local.INFO: Packet analysis {"connection_id":229474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a975"} 
[2026-11-05 07:38:41] local.INFO: Extracted packet for processing {"connection_id":229474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a975"} 
[2026-11-05 07:38:41] local.INFO: GPS Element Parsed {"raw_longitude":762667840,"raw_latitude":100923576,"longitude_deg":76.266784,"latitude_deg":10.0923576,"altitude":12,"angle":169,"satellites":47,"speed":50,"hex_longitude":"2d756340","hex_latitude":"0603f8b8","is_valid_coordinates":true} 
[2026-11-05 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-05 07:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224162816001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40007817930735616,"note":"Value kept but may cause issues"} 
[2026-11-05 07:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8456563857389592576,"note":"Value kept but may cause issues"} 
[2026-11-05 07:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793844394000,"timestamp_ms":1793844394000,"timestamp_seconds":1793844394,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9753810"} 
[2026-11-05 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-05 07:38: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-05 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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-05 07:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 07:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:38:41] 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-05 07:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224162816001,"66":27974,"21":206,"79":47616,"24":50,"16":40007817930735616,"45":8456563857389592576},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-11-05 07:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224162816001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:38:41] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-11-05 07:38:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40007817930735616,"km_value":40007817930735.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8456563857389592576,"description":"Unknown IO ID 45"} 
[2026-11-05 07:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224162816001,"power":27974,"unknown_21":206,"unknown_79":47616,"ignition":50,"odometer":null,"unknown_45":8456563857389592576}} 
[2026-11-05 07:38:41] 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":61782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:38:41] local.INFO: GPS data processed {"connection_id":229474,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:38:41] local.INFO: Acknowledgment sent {"connection_id":229474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:39:03] local.INFO: TCP Data received {"connection_id":231269,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:39:03] local.INFO: Processing buffer {"connection_id":231269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:39:03] local.INFO: IMEI packet received {"connection_id":231269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":231269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:39:04] local.INFO: TCP Data received {"connection_id":231269,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:39:04] local.INFO: Processing buffer {"connection_id":231269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:39:04] local.INFO: IMEI packet received {"connection_id":231269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":231269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:39:06] local.INFO: TCP Data received {"connection_id":231269,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:39:06] local.INFO: Processing buffer {"connection_id":231269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:39:06] local.INFO: IMEI packet received {"connection_id":231269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":231269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:39:14] local.INFO: TCP Data received {"connection_id":231269,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:39:14] local.INFO: Processing buffer {"connection_id":231269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:39:14] local.INFO: IMEI packet received {"connection_id":231269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":231269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:39:15] local.INFO: TCP Data received {"connection_id":231269,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9755368012d756a400603d4e0000c00a72f..."} 
[2026-11-05 07:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9755368012d756a400603d4e0000c00a72f..."} 
[2026-11-05 07:39:15] local.INFO: Processing buffer {"connection_id":231269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9755368012d756a400603d4e0000c00a72f..."} 
[2026-11-05 07:39:15] local.INFO: Packet analysis {"connection_id":231269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a975"} 
[2026-11-05 07:39:15] local.INFO: Extracted packet for processing {"connection_id":231269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a975"} 
[2026-11-05 07:39:15] local.INFO: GPS Element Parsed {"raw_longitude":762669632,"raw_latitude":100914400,"longitude_deg":76.2669632,"latitude_deg":10.09144,"altitude":12,"angle":167,"satellites":47,"speed":56,"hex_longitude":"2d756a40","hex_latitude":"0603d4e0","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224164864001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40008268902301696,"note":"Value kept but may cause issues"} 
[2026-11-05 07:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8458674919712536576,"note":"Value kept but may cause issues"} 
[2026-11-05 07:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793844401000,"timestamp_ms":1793844401000,"timestamp_seconds":1793844401,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9755368"} 
[2026-11-05 07: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-05 07:39: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-05 07: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":70,"data_length":795,"current_offset":136} 
[2026-11-05 07:39:15] 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-05 07: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-05 07: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-05 07:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":231269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":231269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":231269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:39:15] 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-05 07:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224164864001,"66":27919,"21":206,"79":47616,"24":56,"16":40008268902301696,"45":8458674919712536576},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-11-05 07:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224164864001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:39:15] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-11-05 07:39:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40008268902301696,"km_value":40008268902301.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8458674919712536576,"description":"Unknown IO ID 45"} 
[2026-11-05 07:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224164864001,"power":27919,"unknown_21":206,"unknown_79":47616,"ignition":56,"odometer":null,"unknown_45":8458674919712536576}} 
[2026-11-05 07:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":231269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:39:15] local.INFO: GPS data processed {"connection_id":231269,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:39:15] local.INFO: Acknowledgment sent {"connection_id":231269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:39:16] local.INFO: TCP Data received {"connection_id":231269,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a976f560012d75cb400602b578000800b02f..."} 
[2026-11-05 07:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a976f560012d75cb400602b578000800b02f..."} 
[2026-11-05 07:39:16] local.INFO: Processing buffer {"connection_id":231269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a976f560012d75cb400602b578000800b02f..."} 
[2026-11-05 07:39:16] local.INFO: Packet analysis {"connection_id":231269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a976"} 
[2026-11-05 07:39:16] local.INFO: Extracted packet for processing {"connection_id":231269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a976"} 
[2026-11-05 07:39:16] local.INFO: GPS Element Parsed {"raw_longitude":762694464,"raw_latitude":100840824,"longitude_deg":76.2694464,"latitude_deg":10.0840824,"altitude":8,"angle":176,"satellites":47,"speed":11,"hex_longitude":"2d75cb40","hex_latitude":"0602b578","is_valid_coordinates":true} 
[2026-11-05 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-05 07:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224193280001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40012039883587584,"note":"Value kept but may cause issues"} 
[2026-11-05 07:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8487807579781109760,"note":"Value kept but may cause issues"} 
[2026-11-05 07:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793844508000,"timestamp_ms":1793844508000,"timestamp_seconds":1793844508,"priority":1,"record_length":96,"hex_timestamp":"000001a1a976f560"} 
[2026-11-05 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-05 07:39: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-05 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":195,"data_length":795,"current_offset":136} 
[2026-11-05 07:39: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-05 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-05 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-05 07:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":231269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":231269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":231269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:39:16] 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-05 07:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224193280001,"66":27865,"21":206,"79":47616,"24":11,"16":40012039883587584,"45":8487807579781109760},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-11-05 07:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224193280001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:39:16] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-11-05 07:39:16] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40012039883587584,"km_value":40012039883587.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8487807579781109760,"description":"Unknown IO ID 45"} 
[2026-11-05 07:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224193280001,"power":27865,"unknown_21":206,"unknown_79":47616,"ignition":11,"odometer":null,"unknown_45":8487807579781109760}} 
[2026-11-05 07:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":231269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:39:16] local.INFO: GPS data processed {"connection_id":231269,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:39:16] local.INFO: Acknowledgment sent {"connection_id":231269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:39:47] local.INFO: TCP Data received {"connection_id":231269,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a97708e8012d75cb800602af70000800a12f..."} 
[2026-11-05 07:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a97708e8012d75cb800602af70000800a12f..."} 
[2026-11-05 07:39:47] local.INFO: Processing buffer {"connection_id":231269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a97708e8012d75cb800602af70000800a12f..."} 
[2026-11-05 07:39:47] local.INFO: Packet analysis {"connection_id":231269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a977"} 
[2026-11-05 07:39:47] local.INFO: Extracted packet for processing {"connection_id":231269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a977"} 
[2026-11-05 07:39:47] local.INFO: GPS Element Parsed {"raw_longitude":762694528,"raw_latitude":100839280,"longitude_deg":76.2694528,"latitude_deg":10.083928,"altitude":8,"angle":161,"satellites":47,"speed":15,"hex_longitude":"2d75cb80","hex_latitude":"0602af70","is_valid_coordinates":true} 
[2026-11-05 07:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224194048001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40012117192998912,"note":"Value kept but may cause issues"} 
[2026-11-05 07:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8487948317269260288,"note":"Value kept but may cause issues"} 
[2026-11-05 07:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793844513000,"timestamp_ms":1793844513000,"timestamp_seconds":1793844513,"priority":1,"record_length":96,"hex_timestamp":"000001a1a97708e8"} 
[2026-11-05 07:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:39: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-05 07:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 07:39: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-05 07:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":231269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":231269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":231269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:39:47] 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-05 07:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224194048001,"66":27832,"21":206,"79":47616,"24":15,"16":40012117192998912,"45":8487948317269260288},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-11-05 07:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224194048001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:39:47] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-11-05 07:39:47] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40012117192998912,"km_value":40012117192998.914,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8487948317269260288,"description":"Unknown IO ID 45"} 
[2026-11-05 07:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224194048001,"power":27832,"unknown_21":206,"unknown_79":47616,"ignition":15,"odometer":null,"unknown_45":8487948317269260288}} 
[2026-11-05 07:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":231269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:39:47] local.INFO: GPS data processed {"connection_id":231269,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:39:47] local.INFO: Acknowledgment sent {"connection_id":231269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:40:04] local.INFO: TCP Data received {"connection_id":231270,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:40:04] local.INFO: Processing buffer {"connection_id":231270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:40:04] local.INFO: IMEI packet received {"connection_id":231270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":231270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:40:05] local.INFO: TCP Data received {"connection_id":231270,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:40:05] local.INFO: Processing buffer {"connection_id":231270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:40:05] local.INFO: IMEI packet received {"connection_id":231270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":231270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:40:09] local.INFO: TCP Data received {"connection_id":231270,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:40:09] local.INFO: Processing buffer {"connection_id":231270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:40:09] local.INFO: IMEI packet received {"connection_id":231270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":231270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:40:10] local.INFO: TCP Data received {"connection_id":231270,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a97714a0012d75ce000602aa68000800962f..."} 
[2026-11-05 07:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a97714a0012d75ce000602aa68000800962f..."} 
[2026-11-05 07:40:10] local.INFO: Processing buffer {"connection_id":231270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a97714a0012d75ce000602aa68000800962f..."} 
[2026-11-05 07:40:10] local.INFO: Packet analysis {"connection_id":231270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a977"} 
[2026-11-05 07:40:10] local.INFO: Extracted packet for processing {"connection_id":231270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a977"} 
[2026-11-05 07:40:10] local.INFO: GPS Element Parsed {"raw_longitude":762695168,"raw_latitude":100837992,"longitude_deg":76.2695168,"latitude_deg":10.0837992,"altitude":8,"angle":150,"satellites":47,"speed":22,"hex_longitude":"2d75ce00","hex_latitude":"0602aa68","is_valid_coordinates":true} 
[2026-11-05 07:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224195328001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40012185912475648,"note":"Value kept but may cause issues"} 
[2026-11-05 07:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8488018686013042688,"note":"Value kept but may cause issues"} 
[2026-11-05 07:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793844516000,"timestamp_ms":1793844516000,"timestamp_seconds":1793844516,"priority":1,"record_length":96,"hex_timestamp":"000001a1a97714a0"} 
[2026-11-05 07:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:40: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-05 07:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-05 07:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:40:10] 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-05 07:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224195328001,"66":27995,"21":206,"79":47616,"24":22,"16":40012185912475648,"45":8488018686013042688},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-11-05 07:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224195328001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:40:10] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-11-05 07:40:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40012185912475648,"km_value":40012185912475.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8488018686013042688,"description":"Unknown IO ID 45"} 
[2026-11-05 07:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224195328001,"power":27995,"unknown_21":206,"unknown_79":47616,"ignition":22,"odometer":null,"unknown_45":8488018686013042688}} 
[2026-11-05 07:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":231270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:40:10] local.INFO: GPS data processed {"connection_id":231270,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:40:10] local.INFO: Acknowledgment sent {"connection_id":231270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:40:41] local.INFO: TCP Data received {"connection_id":231270,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9774380012d75e28006028c600009008d2f..."} 
[2026-11-05 07:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9774380012d75e28006028c600009008d2f..."} 
[2026-11-05 07:40:41] local.INFO: Processing buffer {"connection_id":231270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9774380012d75e28006028c600009008d2f..."} 
[2026-11-05 07:40:41] local.INFO: Packet analysis {"connection_id":231270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a977"} 
[2026-11-05 07:40:41] local.INFO: Extracted packet for processing {"connection_id":231270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a977"} 
[2026-11-05 07:40:41] local.INFO: GPS Element Parsed {"raw_longitude":762700416,"raw_latitude":100830304,"longitude_deg":76.2700416,"latitude_deg":10.0830304,"altitude":9,"angle":141,"satellites":47,"speed":38,"hex_longitude":"2d75e280","hex_latitude":"06028c60","is_valid_coordinates":true} 
[2026-11-05 07:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224196096001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40012636884041728,"note":"Value kept but may cause issues"} 
[2026-11-05 07:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8488722373454489600,"note":"Value kept but may cause issues"} 
[2026-11-05 07:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793844528000,"timestamp_ms":1793844528000,"timestamp_seconds":1793844528,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9774380"} 
[2026-11-05 07:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:40: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-05 07:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-05 07:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:40:41] 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-05 07:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224196096001,"66":27908,"187":206,"79":47616,"24":38,"16":40012636884041728,"45":8488722373454489600},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,79,24,16,45]} 
[2026-11-05 07:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224196096001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:40:41] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-11-05 07:40:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40012636884041728,"km_value":40012636884041.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8488722373454489600,"description":"Unknown IO ID 45"} 
[2026-11-05 07:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224196096001,"power":27908,"unknown_187":206,"unknown_79":47616,"ignition":38,"odometer":null,"unknown_45":8488722373454489600}} 
[2026-11-05 07:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":231270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:40:41] local.INFO: GPS data processed {"connection_id":231270,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:40:41] local.INFO: Acknowledgment sent {"connection_id":231270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:41:04] local.INFO: TCP Data received {"connection_id":231271,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:41:04] local.INFO: Processing buffer {"connection_id":231271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:41:04] local.INFO: IMEI packet received {"connection_id":231271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":231271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:41:07] local.INFO: TCP Data received {"connection_id":229972,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:41:07] local.INFO: Processing buffer {"connection_id":229972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:41:07] local.INFO: IMEI packet received {"connection_id":229972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 07:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":229972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:41:09] local.INFO: TCP Data received {"connection_id":231271,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:41:09] local.INFO: Processing buffer {"connection_id":231271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:41:09] local.INFO: IMEI packet received {"connection_id":231271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":231271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:41:10] local.INFO: TCP Data received {"connection_id":231271,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a97766a8012d75fc4006027078000900852f..."} 
[2026-11-05 07:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a97766a8012d75fc4006027078000900852f..."} 
[2026-11-05 07:41:10] local.INFO: Processing buffer {"connection_id":231271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a97766a8012d75fc4006027078000900852f..."} 
[2026-11-05 07:41:10] local.INFO: Packet analysis {"connection_id":231271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a977"} 
[2026-11-05 07:41:10] local.INFO: Extracted packet for processing {"connection_id":231271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a977"} 
[2026-11-05 07:41:10] local.INFO: GPS Element Parsed {"raw_longitude":762707008,"raw_latitude":100823160,"longitude_deg":76.2707008,"latitude_deg":10.082316,"altitude":9,"angle":133,"satellites":47,"speed":40,"hex_longitude":"2d75fc40","hex_latitude":"06027078","is_valid_coordinates":true} 
[2026-11-05 07:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224199168001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40013100740509696,"note":"Value kept but may cause issues"} 
[2026-11-05 07:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8494492610475089920,"note":"Value kept but may cause issues"} 
[2026-11-05 07:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793844537000,"timestamp_ms":1793844537000,"timestamp_seconds":1793844537,"priority":1,"record_length":96,"hex_timestamp":"000001a1a97766a8"} 
[2026-11-05 07:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:41: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-05 07:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 07:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:41:10] 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-05 07:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224199168001,"66":27919,"187":206,"79":47616,"24":40,"16":40013100740509696,"45":8494492610475089920},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,79,24,16,45]} 
[2026-11-05 07:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224199168001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:41:10] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-11-05 07:41:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40013100740509696,"km_value":40013100740509.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8494492610475089920,"description":"Unknown IO ID 45"} 
[2026-11-05 07:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224199168001,"power":27919,"unknown_187":206,"unknown_79":47616,"ignition":40,"odometer":null,"unknown_45":8494492610475089920}} 
[2026-11-05 07:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":231271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:41:10] local.INFO: GPS data processed {"connection_id":231271,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:41:10] local.INFO: Acknowledgment sent {"connection_id":231271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:41:41] local.INFO: TCP Data received {"connection_id":231271,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a978e960012d7691800601e9300006008230..."} 
[2026-11-05 07:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a978e960012d7691800601e9300006008230..."} 
[2026-11-05 07:41:41] local.INFO: Processing buffer {"connection_id":231271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a978e960012d7691800601e9300006008230..."} 
[2026-11-05 07:41:41] local.INFO: Packet analysis {"connection_id":231271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a978"} 
[2026-11-05 07:41:41] local.INFO: Extracted packet for processing {"connection_id":231271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a978"} 
[2026-11-05 07:41:41] local.INFO: GPS Element Parsed {"raw_longitude":762745216,"raw_latitude":100788528,"longitude_deg":76.2745216,"latitude_deg":10.0788528,"altitude":6,"angle":130,"satellites":48,"speed":15,"hex_longitude":"2d769180","hex_latitude":"0601e930","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224223488001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40015639066181632,"note":"Value kept but may cause issues"} 
[2026-11-05 07:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8540302662924982272,"note":"Value kept but may cause issues"} 
[2026-11-05 07:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793844636000,"timestamp_ms":1793844636000,"timestamp_seconds":1793844636,"priority":1,"record_length":96,"hex_timestamp":"000001a1a978e960"} 
[2026-11-05 07: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-05 07:41: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-05 07: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 07:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07: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-05 07: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-05 07:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:41:41] 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-05 07:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224223488001,"66":27865,"188":206,"79":47616,"24":15,"16":40015639066181632,"45":8540302662924982272},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,79,24,16,45]} 
[2026-11-05 07:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224223488001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:41:41] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-11-05 07:41:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40015639066181632,"km_value":40015639066181.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8540302662924982272,"description":"Unknown IO ID 45"} 
[2026-11-05 07:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224223488001,"power":27865,"unknown_188":206,"unknown_79":47616,"ignition":15,"odometer":null,"unknown_45":8540302662924982272}} 
[2026-11-05 07:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":231271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:41:41] local.INFO: GPS data processed {"connection_id":231271,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:41:41] local.INFO: Acknowledgment sent {"connection_id":231271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:42:05] local.INFO: TCP Data received {"connection_id":229973,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:42:05] local.INFO: Processing buffer {"connection_id":229973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:42:05] local.INFO: IMEI packet received {"connection_id":229973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":229973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:42:06] local.INFO: TCP Data received {"connection_id":233192,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233192,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:42:06] local.INFO: Processing buffer {"connection_id":233192,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:42:06] local.INFO: IMEI packet received {"connection_id":233192,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 07:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":233192,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:42:09] local.INFO: TCP Data received {"connection_id":229973,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:42:09] local.INFO: Processing buffer {"connection_id":229973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:42:09] local.INFO: IMEI packet received {"connection_id":229973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":229973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:42:18] local.INFO: TCP Data received {"connection_id":229973,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:42:18] local.INFO: Processing buffer {"connection_id":229973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:42:18] local.INFO: IMEI packet received {"connection_id":229973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":229973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:42:19] local.INFO: TCP Data received {"connection_id":229973,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a97927e0012d76ad800601cfe0000600852f..."} 
[2026-11-05 07:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a97927e0012d76ad800601cfe0000600852f..."} 
[2026-11-05 07:42:19] local.INFO: Processing buffer {"connection_id":229973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a97927e0012d76ad800601cfe0000600852f..."} 
[2026-11-05 07:42:19] local.INFO: Packet analysis {"connection_id":229973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a979"} 
[2026-11-05 07:42:19] local.INFO: Extracted packet for processing {"connection_id":229973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a979"} 
[2026-11-05 07:42:19] local.INFO: GPS Element Parsed {"raw_longitude":762752384,"raw_latitude":100782048,"longitude_deg":76.2752384,"latitude_deg":10.0782048,"altitude":6,"angle":133,"satellites":47,"speed":31,"hex_longitude":"2d76ad80","hex_latitude":"0601cfe0","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224226816001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40016102922649600,"note":"Value kept but may cause issues"} 
[2026-11-05 07:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8543750731388760064,"note":"Value kept but may cause issues"} 
[2026-11-05 07:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793844652000,"timestamp_ms":1793844652000,"timestamp_seconds":1793844652,"priority":1,"record_length":96,"hex_timestamp":"000001a1a97927e0"} 
[2026-11-05 07: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-05 07:42: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-05 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 07:42: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-05 07: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-05 07: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-05 07:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:42:19] 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-05 07:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224226816001,"66":27930,"188":206,"79":47616,"24":31,"16":40016102922649600,"45":8543750731388760064},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,79,24,16,45]} 
[2026-11-05 07:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224226816001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:42:19] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-11-05 07:42:19] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40016102922649600,"km_value":40016102922649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8543750731388760064,"description":"Unknown IO ID 45"} 
[2026-11-05 07:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224226816001,"power":27930,"unknown_188":206,"unknown_79":47616,"ignition":31,"odometer":null,"unknown_45":8543750731388760064}} 
[2026-11-05 07:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":229973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:42:19] local.INFO: GPS data processed {"connection_id":229973,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:42:19] local.INFO: Acknowledgment sent {"connection_id":229973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:42:20] local.INFO: TCP Data received {"connection_id":229973,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9794ef0012d76c9400601b8200005008228..."} 
[2026-11-05 07:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9794ef0012d76c9400601b8200005008228..."} 
[2026-11-05 07:42:20] local.INFO: Processing buffer {"connection_id":229973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9794ef0012d76c9400601b8200005008228..."} 
[2026-11-05 07:42:20] local.INFO: Packet analysis {"connection_id":229973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a979"} 
[2026-11-05 07:42:20] local.INFO: Extracted packet for processing {"connection_id":229973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a979"} 
[2026-11-05 07:42:20] local.INFO: GPS Element Parsed {"raw_longitude":762759488,"raw_latitude":100775968,"longitude_deg":76.2759488,"latitude_deg":10.0775968,"altitude":5,"angle":130,"satellites":40,"speed":43,"hex_longitude":"2d76c940","hex_latitude":"0601b820","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224230912001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40016553894215680,"note":"Value kept but may cause issues"} 
[2026-11-05 07:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8551632030734999552,"note":"Value kept but may cause issues"} 
[2026-11-05 07:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793844662000,"timestamp_ms":1793844662000,"timestamp_seconds":1793844662,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9794ef0"} 
[2026-11-05 07: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-05 07:42: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-05 07: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-05 07:42: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-05 07: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-05 07: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-05 07:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:42:20] 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-05 07:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224230912001,"66":27876,"226":206,"79":47616,"24":43,"16":40016553894215680,"45":8551632030734999552},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,79,24,16,45]} 
[2026-11-05 07:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224230912001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:42:20] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-11-05 07:42:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40016553894215680,"km_value":40016553894215.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8551632030734999552,"description":"Unknown IO ID 45"} 
[2026-11-05 07:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224230912001,"power":27876,"unknown_226":206,"unknown_79":47616,"ignition":43,"odometer":null,"unknown_45":8551632030734999552}} 
[2026-11-05 07:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":229973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:42:20] local.INFO: GPS data processed {"connection_id":229973,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:42:20] local.INFO: Acknowledgment sent {"connection_id":229973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:43:03] local.INFO: TCP Data received {"connection_id":233193,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:43:03] local.INFO: Processing buffer {"connection_id":233193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:43:03] local.INFO: IMEI packet received {"connection_id":233193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":233193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:43:04] local.INFO: TCP Data received {"connection_id":233193,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:43:04] local.INFO: Processing buffer {"connection_id":233193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:43:04] local.INFO: IMEI packet received {"connection_id":233193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":233193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:43:09] local.INFO: TCP Data received {"connection_id":233193,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:43:09] local.INFO: Processing buffer {"connection_id":233193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:43:09] local.INFO: IMEI packet received {"connection_id":233193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":233193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:43:10] local.INFO: TCP Data received {"connection_id":233193,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9796e30012d76e3c00601a110000700832f..."} 
[2026-11-05 07:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9796e30012d76e3c00601a110000700832f..."} 
[2026-11-05 07:43:10] local.INFO: Processing buffer {"connection_id":233193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9796e30012d76e3c00601a110000700832f..."} 
[2026-11-05 07:43:10] local.INFO: Packet analysis {"connection_id":233193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a979"} 
[2026-11-05 07:43:10] local.INFO: Extracted packet for processing {"connection_id":233193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a979"} 
[2026-11-05 07:43:10] local.INFO: GPS Element Parsed {"raw_longitude":762766272,"raw_latitude":100770064,"longitude_deg":76.2766272,"latitude_deg":10.0770064,"altitude":7,"angle":131,"satellites":47,"speed":44,"hex_longitude":"2d76e3c0","hex_latitude":"0601a110","is_valid_coordinates":true} 
[2026-11-05 07:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224233472001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40016987685912576,"note":"Value kept but may cause issues"} 
[2026-11-05 07:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8559442961337163776,"note":"Value kept but may cause issues"} 
[2026-11-05 07:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793844670000,"timestamp_ms":1793844670000,"timestamp_seconds":1793844670,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9796e30"} 
[2026-11-05 07:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:43: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-05 07:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-05 07:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:43:10] 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-05 07:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224233472001,"66":27865,"226":206,"79":47616,"24":44,"16":40016987685912576,"45":8559442961337163776},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,79,24,16,45]} 
[2026-11-05 07:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224233472001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:43:10] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-11-05 07:43:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-11-05 07:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40016987685912576,"km_value":40016987685912.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8559442961337163776,"description":"Unknown IO ID 45"} 
[2026-11-05 07:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224233472001,"power":27865,"unknown_226":206,"unknown_79":47616,"ignition":44,"odometer":null,"unknown_45":8559442961337163776}} 
[2026-11-05 07:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":233193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:43:10] local.INFO: GPS data processed {"connection_id":233193,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:43:10] local.INFO: Acknowledgment sent {"connection_id":233193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:43:41] local.INFO: TCP Data received {"connection_id":233193,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a97af0e8012d78608006004a400004009030..."} 
[2026-11-05 07:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a97af0e8012d78608006004a400004009030..."} 
[2026-11-05 07:43:41] local.INFO: Processing buffer {"connection_id":233193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a97af0e8012d78608006004a400004009030..."} 
[2026-11-05 07:43:41] local.INFO: Packet analysis {"connection_id":233193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a97a"} 
[2026-11-05 07:43:41] local.INFO: Extracted packet for processing {"connection_id":233193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a97a"} 
[2026-11-05 07:43:41] local.INFO: GPS Element Parsed {"raw_longitude":762863744,"raw_latitude":100682304,"longitude_deg":76.2863744,"latitude_deg":10.0682304,"altitude":4,"angle":144,"satellites":48,"speed":60,"hex_longitude":"2d786080","hex_latitude":"06004a40","is_valid_coordinates":true} 
[2026-11-05 07:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224259840001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40023296992870400,"note":"Value kept but may cause issues"} 
[2026-11-05 07:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8669851520929171456,"note":"Value kept but may cause issues"} 
[2026-11-05 07:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793844769000,"timestamp_ms":1793844769000,"timestamp_seconds":1793844769,"priority":1,"record_length":96,"hex_timestamp":"000001a1a97af0e8"} 
[2026-11-05 07:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:43: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-05 07:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 07:43: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-05 07:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:43:41] 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-05 07:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224259840001,"66":27908,"216":206,"87":10752,"24":60,"16":40023296992870400,"45":8669851520929171456},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,87,24,16,45]} 
[2026-11-05 07:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224259840001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:43:41] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-11-05 07:43:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-11-05 07:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40023296992870400,"km_value":40023296992870.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8669851520929171456,"description":"Unknown IO ID 45"} 
[2026-11-05 07:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224259840001,"power":27908,"unknown_216":206,"unknown_87":10752,"ignition":60,"odometer":null,"unknown_45":8669851520929171456}} 
[2026-11-05 07:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":233193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:43:42] local.INFO: GPS data processed {"connection_id":233193,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:43:42] local.INFO: Acknowledgment sent {"connection_id":233193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:44:02] local.INFO: TCP Data received {"connection_id":229974,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:44:02] local.INFO: Processing buffer {"connection_id":229974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:44:02] local.INFO: IMEI packet received {"connection_id":229974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":229974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:44:04] local.INFO: TCP Data received {"connection_id":229974,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:44:04] local.INFO: Processing buffer {"connection_id":229974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:44:04] local.INFO: IMEI packet received {"connection_id":229974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":229974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:44:10] local.INFO: TCP Data received {"connection_id":229974,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:44:10] local.INFO: Processing buffer {"connection_id":229974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:44:10] local.INFO: IMEI packet received {"connection_id":229974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":229974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:44:11] local.INFO: TCP Data received {"connection_id":229974,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a97b1028012d7875c006002c000005008b30..."} 
[2026-11-05 07:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a97b1028012d7875c006002c000005008b30..."} 
[2026-11-05 07:44:11] local.INFO: Processing buffer {"connection_id":229974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a97b1028012d7875c006002c000005008b30..."} 
[2026-11-05 07:44:11] local.INFO: Packet analysis {"connection_id":229974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a97b"} 
[2026-11-05 07:44:11] local.INFO: Extracted packet for processing {"connection_id":229974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a97b"} 
[2026-11-05 07:44:11] local.INFO: GPS Element Parsed {"raw_longitude":762869184,"raw_latitude":100674560,"longitude_deg":76.2869184,"latitude_deg":10.067456,"altitude":5,"angle":139,"satellites":48,"speed":39,"hex_longitude":"2d7875c0","hex_latitude":"06002c00","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224260864001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40023752259403776,"note":"Value kept but may cause issues"} 
[2026-11-05 07:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8674073645578600448,"note":"Value kept but may cause issues"} 
[2026-11-05 07:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793844777000,"timestamp_ms":1793844777000,"timestamp_seconds":1793844777,"priority":1,"record_length":96,"hex_timestamp":"000001a1a97b1028"} 
[2026-11-05 07: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-05 07:44: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-05 07: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 07:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07: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-05 07: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-05 07:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:44:11] 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-05 07:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224260864001,"66":27876,"216":206,"87":10752,"24":39,"16":40023752259403776,"45":8674073645578600448},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,87,24,16,45]} 
[2026-11-05 07:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224260864001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:44:11] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-11-05 07:44:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-11-05 07:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40023752259403776,"km_value":40023752259403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8674073645578600448,"description":"Unknown IO ID 45"} 
[2026-11-05 07:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224260864001,"power":27876,"unknown_216":206,"unknown_87":10752,"ignition":39,"odometer":null,"unknown_45":8674073645578600448}} 
[2026-11-05 07:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":229974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:44:11] local.INFO: GPS data processed {"connection_id":229974,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:44:11] local.INFO: Acknowledgment sent {"connection_id":229974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:44:43] local.INFO: TCP Data received {"connection_id":229974,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a97b23b0012d78804006001d780006009830..."} 
[2026-11-05 07:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a97b23b0012d78804006001d780006009830..."} 
[2026-11-05 07:44:43] local.INFO: Processing buffer {"connection_id":229974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a97b23b0012d78804006001d780006009830..."} 
[2026-11-05 07:44:43] local.INFO: Packet analysis {"connection_id":229974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a97b"} 
[2026-11-05 07:44:43] local.INFO: Extracted packet for processing {"connection_id":229974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a97b"} 
[2026-11-05 07:44:43] local.INFO: GPS Element Parsed {"raw_longitude":762871872,"raw_latitude":100670840,"longitude_deg":76.2871872,"latitude_deg":10.067084,"altitude":6,"angle":152,"satellites":48,"speed":32,"hex_longitude":"2d788040","hex_latitude":"06001d78","is_valid_coordinates":true} 
[2026-11-05 07:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224262912001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40023975597703168,"note":"Value kept but may cause issues"} 
[2026-11-05 07:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8680054988831719424,"note":"Value kept but may cause issues"} 
[2026-11-05 07:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793844782000,"timestamp_ms":1793844782000,"timestamp_seconds":1793844782,"priority":1,"record_length":96,"hex_timestamp":"000001a1a97b23b0"} 
[2026-11-05 07:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07: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-05 07:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-05 07:44:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:44:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:44:43] 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-05 07:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224262912001,"66":27821,"216":206,"87":10752,"24":32,"16":40023975597703168,"45":8680054988831719424},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,87,24,16,45]} 
[2026-11-05 07:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224262912001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:44:43] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-11-05 07:44:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-11-05 07:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40023975597703168,"km_value":40023975597703.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8680054988831719424,"description":"Unknown IO ID 45"} 
[2026-11-05 07:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224262912001,"power":27821,"unknown_216":206,"unknown_87":10752,"ignition":32,"odometer":null,"unknown_45":8680054988831719424}} 
[2026-11-05 07:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":229974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:44:43] local.INFO: GPS data processed {"connection_id":229974,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:44:43] local.INFO: Acknowledgment sent {"connection_id":229974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:45:04] local.INFO: TCP Data received {"connection_id":233195,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:45:04] local.INFO: Processing buffer {"connection_id":233195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:45:04] local.INFO: IMEI packet received {"connection_id":233195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":233195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:45:04] local.INFO: TCP Data received {"connection_id":233195,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:45:04] local.INFO: Processing buffer {"connection_id":233195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:45:04] local.INFO: IMEI packet received {"connection_id":233195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":233195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:45:09] local.INFO: TCP Data received {"connection_id":233195,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:45:09] local.INFO: Processing buffer {"connection_id":233195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:45:09] local.INFO: IMEI packet received {"connection_id":233195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":233195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:45:10] local.INFO: TCP Data received {"connection_id":233195,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a97c44c0012d78c6c005ff4e48000a009430..."} 
[2026-11-05 07:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a97c44c0012d78c6c005ff4e48000a009430..."} 
[2026-11-05 07:45:10] local.INFO: Processing buffer {"connection_id":233195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a97c44c0012d78c6c005ff4e48000a009430..."} 
[2026-11-05 07:45:10] local.INFO: Packet analysis {"connection_id":233195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a97c"} 
[2026-11-05 07:45:10] local.INFO: Extracted packet for processing {"connection_id":233195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a97c"} 
[2026-11-05 07:45:10] local.INFO: GPS Element Parsed {"raw_longitude":762889920,"raw_latitude":100617800,"longitude_deg":76.288992,"latitude_deg":10.06178,"altitude":10,"angle":148,"satellites":48,"speed":10,"hex_longitude":"2d78c6c0","hex_latitude":"05ff4e48","is_valid_coordinates":true} 
[2026-11-05 07:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224282624001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40026775916380160,"note":"Value kept but may cause issues"} 
[2026-11-05 07:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8702361880721633280,"note":"Value kept but may cause issues"} 
[2026-11-05 07:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793844856000,"timestamp_ms":1793844856000,"timestamp_seconds":1793844856,"priority":1,"record_length":96,"hex_timestamp":"000001a1a97c44c0"} 
[2026-11-05 07:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:45: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-05 07:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 07:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:45:10] 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-05 07:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224282624001,"66":27974,"140":206,"87":10752,"24":10,"16":40026775916380160,"45":8702361880721633280},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,87,24,16,45]} 
[2026-11-05 07:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224282624001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:45:10] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-11-05 07:45:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-11-05 07:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40026775916380160,"km_value":40026775916380.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8702361880721633280,"description":"Unknown IO ID 45"} 
[2026-11-05 07:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224282624001,"power":27974,"unknown_140":206,"unknown_87":10752,"ignition":10,"odometer":null,"unknown_45":8702361880721633280}} 
[2026-11-05 07:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":233195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:45:10] local.INFO: GPS data processed {"connection_id":233195,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:45:10] local.INFO: Acknowledgment sent {"connection_id":233195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:45:42] local.INFO: TCP Data received {"connection_id":233195,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a97c48a8012d78c70005ff4d78000a00a330..."} 
[2026-11-05 07:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a97c48a8012d78c70005ff4d78000a00a330..."} 
[2026-11-05 07:45:42] local.INFO: Processing buffer {"connection_id":233195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a97c48a8012d78c70005ff4d78000a00a330..."} 
[2026-11-05 07:45:42] local.INFO: Packet analysis {"connection_id":233195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a97c"} 
[2026-11-05 07:45:42] local.INFO: Extracted packet for processing {"connection_id":233195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a97c"} 
[2026-11-05 07:45:42] local.INFO: GPS Element Parsed {"raw_longitude":762889984,"raw_latitude":100617592,"longitude_deg":76.2889984,"latitude_deg":10.0617592,"altitude":10,"angle":163,"satellites":48,"speed":7,"hex_longitude":"2d78c700","hex_latitude":"05ff4d78","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224283136001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40026784506314752,"note":"Value kept but may cause issues"} 
[2026-11-05 07:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8702854461930752000,"note":"Value kept but may cause issues"} 
[2026-11-05 07:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793844857000,"timestamp_ms":1793844857000,"timestamp_seconds":1793844857,"priority":1,"record_length":96,"hex_timestamp":"000001a1a97c48a8"} 
[2026-11-05 07: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-05 07:45: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-05 07: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-05 07:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07: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-05 07: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-05 07:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:45:42] 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-05 07:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224283136001,"66":27876,"140":206,"87":10752,"24":7,"16":40026784506314752,"45":8702854461930752000},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,87,24,16,45]} 
[2026-11-05 07:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224283136001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:45:42] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-11-05 07:45:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-11-05 07:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40026784506314752,"km_value":40026784506314.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8702854461930752000,"description":"Unknown IO ID 45"} 
[2026-11-05 07:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224283136001,"power":27876,"unknown_140":206,"unknown_87":10752,"ignition":7,"odometer":null,"unknown_45":8702854461930752000}} 
[2026-11-05 07:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":233195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:45:42] local.INFO: GPS data processed {"connection_id":233195,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:45:42] local.INFO: Acknowledgment sent {"connection_id":233195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:46:04] local.INFO: TCP Data received {"connection_id":231274,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:46:04] local.INFO: Processing buffer {"connection_id":231274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:46:04] local.INFO: IMEI packet received {"connection_id":231274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":231274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:46:09] local.INFO: TCP Data received {"connection_id":231274,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:46:09] local.INFO: Processing buffer {"connection_id":231274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:46:09] local.INFO: IMEI packet received {"connection_id":231274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":231274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:46:10] local.INFO: TCP Data received {"connection_id":231274,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a97c6bd0012d78c68005ff4a38000900c031..."} 
[2026-11-05 07:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a97c6bd0012d78c68005ff4a38000900c031..."} 
[2026-11-05 07:46:10] local.INFO: Processing buffer {"connection_id":231274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a97c6bd0012d78c68005ff4a38000900c031..."} 
[2026-11-05 07:46:10] local.INFO: Packet analysis {"connection_id":231274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a97c"} 
[2026-11-05 07:46:10] local.INFO: Extracted packet for processing {"connection_id":231274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a97c"} 
[2026-11-05 07:46:10] local.INFO: GPS Element Parsed {"raw_longitude":762889856,"raw_latitude":100616760,"longitude_deg":76.2889856,"latitude_deg":10.061676,"altitude":9,"angle":192,"satellites":49,"speed":5,"hex_longitude":"2d78c680","hex_latitude":"05ff4a38","is_valid_coordinates":true} 
[2026-11-05 07:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224283392001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40026827455987712,"note":"Value kept but may cause issues"} 
[2026-11-05 07:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8702924830674876416,"note":"Value kept but may cause issues"} 
[2026-11-05 07:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793844866000,"timestamp_ms":1793844866000,"timestamp_seconds":1793844866,"priority":1,"record_length":96,"hex_timestamp":"000001a1a97c6bd0"} 
[2026-11-05 07:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:46: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-05 07:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-05 07:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:46:10] 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-05 07:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224283392001,"66":27821,"218":206,"87":10752,"24":5,"16":40026827455987712,"45":8702924830674876416},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,87,24,16,45]} 
[2026-11-05 07:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224283392001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:46:10] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-11-05 07:46:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-11-05 07:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40026827455987712,"km_value":40026827455987.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8702924830674876416,"description":"Unknown IO ID 45"} 
[2026-11-05 07:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224283392001,"power":27821,"unknown_218":206,"unknown_87":10752,"ignition":5,"odometer":null,"unknown_45":8702924830674876416}} 
[2026-11-05 07:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":231274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:46:10] local.INFO: GPS data processed {"connection_id":231274,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:46:10] local.INFO: Acknowledgment sent {"connection_id":231274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:46:41] local.INFO: TCP Data received {"connection_id":231274,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a97c8b10012d78c4c005ff4368000800b131..."} 
[2026-11-05 07:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a97c8b10012d78c4c005ff4368000800b131..."} 
[2026-11-05 07:46:41] local.INFO: Processing buffer {"connection_id":231274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a97c8b10012d78c4c005ff4368000800b131..."} 
[2026-11-05 07:46:41] local.INFO: Packet analysis {"connection_id":231274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a97c"} 
[2026-11-05 07:46:41] local.INFO: Extracted packet for processing {"connection_id":231274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a97c"} 
[2026-11-05 07:46:41] local.INFO: GPS Element Parsed {"raw_longitude":762889408,"raw_latitude":100615016,"longitude_deg":76.2889408,"latitude_deg":10.0615016,"altitude":8,"angle":177,"satellites":49,"speed":12,"hex_longitude":"2d78c4c0","hex_latitude":"05ff4368","is_valid_coordinates":true} 
[2026-11-05 07:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224285696001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40026917650300928,"note":"Value kept but may cause issues"} 
[2026-11-05 07:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8702784093186308096,"note":"Value kept but may cause issues"} 
[2026-11-05 07:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793844874000,"timestamp_ms":1793844874000,"timestamp_seconds":1793844874,"priority":1,"record_length":96,"hex_timestamp":"000001a1a97c8b10"} 
[2026-11-05 07:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:46: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-05 07:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-05 07:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:46:41] 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-05 07:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224285696001,"66":27876,"218":206,"87":10752,"24":12,"16":40026917650300928,"45":8702784093186308096},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,87,24,16,45]} 
[2026-11-05 07:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224285696001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:46:41] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-11-05 07:46:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-11-05 07:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40026917650300928,"km_value":40026917650300.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8702784093186308096,"description":"Unknown IO ID 45"} 
[2026-11-05 07:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224285696001,"power":27876,"unknown_218":206,"unknown_87":10752,"ignition":12,"odometer":null,"unknown_45":8702784093186308096}} 
[2026-11-05 07:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":231274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:46:41] local.INFO: GPS data processed {"connection_id":231274,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:46:41] local.INFO: Acknowledgment sent {"connection_id":231274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:47:04] local.INFO: TCP Data received {"connection_id":233197,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:47:04] local.INFO: Processing buffer {"connection_id":233197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:47:04] local.INFO: IMEI packet received {"connection_id":233197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":233197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:47:04] local.INFO: TCP Data received {"connection_id":233197,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:47:04] local.INFO: Processing buffer {"connection_id":233197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:47:04] local.INFO: IMEI packet received {"connection_id":233197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":233197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:47:09] local.INFO: TCP Data received {"connection_id":233197,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:47:09] local.INFO: Processing buffer {"connection_id":233197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:47:09] local.INFO: IMEI packet received {"connection_id":233197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":233197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:47:10] local.INFO: TCP Data received {"connection_id":233197,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a97e0210012d79444005fe46180009009d30..."} 
[2026-11-05 07:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a97e0210012d79444005fe46180009009d30..."} 
[2026-11-05 07:47:10] local.INFO: Processing buffer {"connection_id":233197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a97e0210012d79444005fe46180009009d30..."} 
[2026-11-05 07:47:10] local.INFO: Packet analysis {"connection_id":233197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a97e"} 
[2026-11-05 07:47:10] local.INFO: Extracted packet for processing {"connection_id":233197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a97e"} 
[2026-11-05 07:47:10] local.INFO: GPS Element Parsed {"raw_longitude":762922048,"raw_latitude":100550168,"longitude_deg":76.2922048,"latitude_deg":10.0550168,"altitude":9,"angle":157,"satellites":48,"speed":41,"hex_longitude":"2d794440","hex_latitude":"05fe4618","is_valid_coordinates":true} 
[2026-11-05 07:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224309504001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40030452408385536,"note":"Value kept but may cause issues"} 
[2026-11-05 07:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8734098184330588160,"note":"Value kept but may cause issues"} 
[2026-11-05 07:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793844970000,"timestamp_ms":1793844970000,"timestamp_seconds":1793844970,"priority":1,"record_length":96,"hex_timestamp":"000001a1a97e0210"} 
[2026-11-05 07:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:47: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-05 07:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 07:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:47:10] 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-05 07:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224309504001,"66":27930,"218":206,"87":10752,"24":41,"16":40030452408385536,"45":8734098184330588160},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,87,24,16,45]} 
[2026-11-05 07:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224309504001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:47:10] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-11-05 07:47:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-11-05 07:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40030452408385536,"km_value":40030452408385.54,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8734098184330588160,"description":"Unknown IO ID 45"} 
[2026-11-05 07:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224309504001,"power":27930,"unknown_218":206,"unknown_87":10752,"ignition":41,"odometer":null,"unknown_45":8734098184330588160}} 
[2026-11-05 07:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":233197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:47:10] local.INFO: GPS data processed {"connection_id":233197,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:47:10] local.INFO: Acknowledgment sent {"connection_id":233197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:47:12] local.INFO: TCP Data received {"connection_id":231275,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231275,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:47:12] local.INFO: Processing buffer {"connection_id":231275,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:47:12] local.INFO: IMEI packet received {"connection_id":231275,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 07:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":231275,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:47:42] local.INFO: TCP Data received {"connection_id":233197,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a97e2150012d79520005fe25c0000a009f2e..."} 
[2026-11-05 07:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a97e2150012d79520005fe25c0000a009f2e..."} 
[2026-11-05 07:47:42] local.INFO: Processing buffer {"connection_id":233197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a97e2150012d79520005fe25c0000a009f2e..."} 
[2026-11-05 07:47:42] local.INFO: Packet analysis {"connection_id":233197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a97e"} 
[2026-11-05 07:47:42] local.INFO: Extracted packet for processing {"connection_id":233197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a97e"} 
[2026-11-05 07:47:42] local.INFO: GPS Element Parsed {"raw_longitude":762925568,"raw_latitude":100541888,"longitude_deg":76.2925568,"latitude_deg":10.0541888,"altitude":10,"angle":159,"satellites":46,"speed":46,"hex_longitude":"2d795200","hex_latitude":"05fe25c0","is_valid_coordinates":true} 
[2026-11-05 07:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224312320001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40030886200082432,"note":"Value kept but may cause issues"} 
[2026-11-05 07:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8738179571490625536,"note":"Value kept but may cause issues"} 
[2026-11-05 07:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793844978000,"timestamp_ms":1793844978000,"timestamp_seconds":1793844978,"priority":1,"record_length":96,"hex_timestamp":"000001a1a97e2150"} 
[2026-11-05 07:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:47: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-05 07:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-05 07:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:47:42] 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-05 07:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224312320001,"66":28006,"218":206,"87":10752,"24":46,"16":40030886200082432,"45":8738179571490625536},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,87,24,16,45]} 
[2026-11-05 07:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224312320001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:47:42] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-11-05 07:47:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-11-05 07:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40030886200082432,"km_value":40030886200082.43,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8738179571490625536,"description":"Unknown IO ID 45"} 
[2026-11-05 07:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224312320001,"power":28006,"unknown_218":206,"unknown_87":10752,"ignition":46,"odometer":null,"unknown_45":8738179571490625536}} 
[2026-11-05 07:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":233197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:47:42] local.INFO: GPS data processed {"connection_id":233197,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:47:42] local.INFO: Acknowledgment sent {"connection_id":233197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:48:09] local.INFO: TCP Data received {"connection_id":231276,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:48:09] local.INFO: Processing buffer {"connection_id":231276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:48:09] local.INFO: IMEI packet received {"connection_id":231276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":231276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:48:09] local.INFO: TCP Data received {"connection_id":231276,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:48:09] local.INFO: Processing buffer {"connection_id":231276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:48:09] local.INFO: IMEI packet received {"connection_id":231276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":231276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:48:14] local.INFO: TCP Data received {"connection_id":231276,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:48:14] local.INFO: Processing buffer {"connection_id":231276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:48:14] local.INFO: IMEI packet received {"connection_id":231276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":231276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:48:15] local.INFO: TCP Data received {"connection_id":231276,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a97e4090012d79610005fe0250000b009c2e..."} 
[2026-11-05 07:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a97e4090012d79610005fe0250000b009c2e..."} 
[2026-11-05 07:48:15] local.INFO: Processing buffer {"connection_id":231276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a97e4090012d79610005fe0250000b009c2e..."} 
[2026-11-05 07:48:15] local.INFO: Packet analysis {"connection_id":231276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a97e"} 
[2026-11-05 07:48:15] local.INFO: Extracted packet for processing {"connection_id":231276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a97e"} 
[2026-11-05 07:48:15] local.INFO: GPS Element Parsed {"raw_longitude":762929408,"raw_latitude":100532816,"longitude_deg":76.2929408,"latitude_deg":10.0532816,"altitude":11,"angle":156,"satellites":46,"speed":51,"hex_longitude":"2d796100","hex_latitude":"05fe0250","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224314368001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40031362941452288,"note":"Value kept but may cause issues"} 
[2026-11-05 07:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8742049852418277376,"note":"Value kept but may cause issues"} 
[2026-11-05 07:48:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793844986000,"timestamp_ms":1793844986000,"timestamp_seconds":1793844986,"priority":1,"record_length":96,"hex_timestamp":"000001a1a97e4090"} 
[2026-11-05 07: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-05 07:48: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-05 07: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-05 07:48: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-05 07: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-05 07: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-05 07:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":231276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":231276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":231276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:48:15] 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-05 07:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224314368001,"66":28028,"218":206,"87":10752,"24":51,"16":40031362941452288,"45":8742049852418277376},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,87,24,16,45]} 
[2026-11-05 07:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224314368001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:48:15] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-11-05 07:48:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-11-05 07:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40031362941452288,"km_value":40031362941452.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8742049852418277376,"description":"Unknown IO ID 45"} 
[2026-11-05 07:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224314368001,"power":28028,"unknown_218":206,"unknown_87":10752,"ignition":51,"odometer":null,"unknown_45":8742049852418277376}} 
[2026-11-05 07:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":231276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:48:15] local.INFO: GPS data processed {"connection_id":231276,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:48:15] local.INFO: Acknowledgment sent {"connection_id":231276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:48:46] local.INFO: TCP Data received {"connection_id":231276,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a97e5be8012d796fc005fddfe0000b009d2e..."} 
[2026-11-05 07:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a97e5be8012d796fc005fddfe0000b009d2e..."} 
[2026-11-05 07:48:46] local.INFO: Processing buffer {"connection_id":231276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a97e5be8012d796fc005fddfe0000b009d2e..."} 
[2026-11-05 07:48:46] local.INFO: Packet analysis {"connection_id":231276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a97e"} 
[2026-11-05 07:48:46] local.INFO: Extracted packet for processing {"connection_id":231276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a97e"} 
[2026-11-05 07:48:46] local.INFO: GPS Element Parsed {"raw_longitude":762933184,"raw_latitude":100524000,"longitude_deg":76.2933184,"latitude_deg":10.0524,"altitude":11,"angle":157,"satellites":46,"speed":56,"hex_longitude":"2d796fc0","hex_latitude":"05fddfe0","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224316416001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40031826797920256,"note":"Value kept but may cause issues"} 
[2026-11-05 07:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8746271977066614784,"note":"Value kept but may cause issues"} 
[2026-11-05 07:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793844993000,"timestamp_ms":1793844993000,"timestamp_seconds":1793844993,"priority":1,"record_length":96,"hex_timestamp":"000001a1a97e5be8"} 
[2026-11-05 07: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-05 07:48: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-05 07: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-05 07:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07: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-05 07: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-05 07:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":231276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":231276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":231276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:48:46] 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-05 07:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224316416001,"66":28028,"218":206,"87":10752,"24":56,"16":40031826797920256,"45":8746271977066614784},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,87,24,16,45]} 
[2026-11-05 07:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224316416001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:48:46] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-11-05 07:48:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-11-05 07:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40031826797920256,"km_value":40031826797920.26,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8746271977066614784,"description":"Unknown IO ID 45"} 
[2026-11-05 07:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224316416001,"power":28028,"unknown_218":206,"unknown_87":10752,"ignition":56,"odometer":null,"unknown_45":8746271977066614784}} 
[2026-11-05 07:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":231276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:48:47] local.INFO: GPS data processed {"connection_id":231276,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:48:47] local.INFO: Acknowledgment sent {"connection_id":231276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:49:04] local.INFO: TCP Data received {"connection_id":233198,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:49:04] local.INFO: Processing buffer {"connection_id":233198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:49:04] local.INFO: IMEI packet received {"connection_id":233198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":233198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:49:09] local.INFO: TCP Data received {"connection_id":233198,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:49:09] local.INFO: Processing buffer {"connection_id":233198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:49:09] local.INFO: IMEI packet received {"connection_id":233198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":233198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:49:10] local.INFO: TCP Data received {"connection_id":233198,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a97e7b28012d797b8005fdc2a8000a00a82f..."} 
[2026-11-05 07:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a97e7b28012d797b8005fdc2a8000a00a82f..."} 
[2026-11-05 07:49:10] local.INFO: Processing buffer {"connection_id":233198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a97e7b28012d797b8005fdc2a8000a00a82f..."} 
[2026-11-05 07:49:10] local.INFO: Packet analysis {"connection_id":233198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a97e"} 
[2026-11-05 07:49:10] local.INFO: Extracted packet for processing {"connection_id":233198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a97e"} 
[2026-11-05 07:49:10] local.INFO: GPS Element Parsed {"raw_longitude":762936192,"raw_latitude":100516520,"longitude_deg":76.2936192,"latitude_deg":10.051652,"altitude":10,"angle":168,"satellites":47,"speed":27,"hex_longitude":"2d797b80","hex_latitude":"05fdc2a8","is_valid_coordinates":true} 
[2026-11-05 07:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224318208001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40032217639944192,"note":"Value kept but may cause issues"} 
[2026-11-05 07:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8750423732970840064,"note":"Value kept but may cause issues"} 
[2026-11-05 07:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793845001000,"timestamp_ms":1793845001000,"timestamp_seconds":1793845001,"priority":1,"record_length":96,"hex_timestamp":"000001a1a97e7b28"} 
[2026-11-05 07:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:49: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-05 07:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-05 07:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:49:10] 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-05 07:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224318208001,"66":27767,"218":206,"87":10752,"24":27,"16":40032217639944192,"45":8750423732970840064},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,87,24,16,45]} 
[2026-11-05 07:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224318208001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:49:10] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-11-05 07:49:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-11-05 07:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40032217639944192,"km_value":40032217639944.195,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8750423732970840064,"description":"Unknown IO ID 45"} 
[2026-11-05 07:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224318208001,"power":27767,"unknown_218":206,"unknown_87":10752,"ignition":27,"odometer":null,"unknown_45":8750423732970840064}} 
[2026-11-05 07:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":233198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:49:10] local.INFO: GPS data processed {"connection_id":233198,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:49:10] local.INFO: Acknowledgment sent {"connection_id":233198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:49:42] local.INFO: TCP Data received {"connection_id":233198,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a97e9e50012d7985c005fda698000a009c2f..."} 
[2026-11-05 07:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a97e9e50012d7985c005fda698000a009c2f..."} 
[2026-11-05 07:49:42] local.INFO: Processing buffer {"connection_id":233198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a97e9e50012d7985c005fda698000a009c2f..."} 
[2026-11-05 07:49:42] local.INFO: Packet analysis {"connection_id":233198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a97e"} 
[2026-11-05 07:49:42] local.INFO: Extracted packet for processing {"connection_id":233198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a97e"} 
[2026-11-05 07:49:42] local.INFO: GPS Element Parsed {"raw_longitude":762938816,"raw_latitude":100509336,"longitude_deg":76.2938816,"latitude_deg":10.0509336,"altitude":10,"angle":156,"satellites":47,"speed":37,"hex_longitude":"2d7985c0","hex_latitude":"05fda698","is_valid_coordinates":true} 
[2026-11-05 07:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224320256001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40032587007131648,"note":"Value kept but may cause issues"} 
[2026-11-05 07:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8753731063945275392,"note":"Value kept but may cause issues"} 
[2026-11-05 07:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793845010000,"timestamp_ms":1793845010000,"timestamp_seconds":1793845010,"priority":1,"record_length":96,"hex_timestamp":"000001a1a97e9e50"} 
[2026-11-05 07:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:49: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-05 07:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-05 07:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:49:42] 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-05 07:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224320256001,"66":27876,"218":206,"87":10752,"24":37,"16":40032587007131648,"45":8753731063945275392},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,87,24,16,45]} 
[2026-11-05 07:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224320256001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:49:42] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-11-05 07:49:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-11-05 07:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40032587007131648,"km_value":40032587007131.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8753731063945275392,"description":"Unknown IO ID 45"} 
[2026-11-05 07:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224320256001,"power":27876,"unknown_218":206,"unknown_87":10752,"ignition":37,"odometer":null,"unknown_45":8753731063945275392}} 
[2026-11-05 07:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":233198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:49:42] local.INFO: GPS data processed {"connection_id":233198,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:49:42] local.INFO: Acknowledgment sent {"connection_id":233198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:50:04] local.INFO: TCP Data received {"connection_id":231277,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:50:04] local.INFO: Processing buffer {"connection_id":231277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:50:04] local.INFO: IMEI packet received {"connection_id":231277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":231277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:50:08] local.INFO: TCP Data received {"connection_id":231277,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:50:08] local.INFO: Processing buffer {"connection_id":231277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:50:08] local.INFO: IMEI packet received {"connection_id":231277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":231277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:50:09] local.INFO: TCP Data received {"connection_id":231277,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9809250012d7a154005fcdbd00007008f2c..."} 
[2026-11-05 07:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9809250012d7a154005fcdbd00007008f2c..."} 
[2026-11-05 07:50:09] local.INFO: Processing buffer {"connection_id":231277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9809250012d7a154005fcdbd00007008f2c..."} 
[2026-11-05 07:50:09] local.INFO: Packet analysis {"connection_id":231277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a980"} 
[2026-11-05 07:50:09] local.INFO: Extracted packet for processing {"connection_id":231277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a980"} 
[2026-11-05 07:50:09] local.INFO: GPS Element Parsed {"raw_longitude":762975552,"raw_latitude":100457424,"longitude_deg":76.2975552,"latitude_deg":10.0457424,"altitude":7,"angle":143,"satellites":44,"speed":41,"hex_longitude":"2d7a1540","hex_latitude":"05fcdbd0","is_valid_coordinates":true} 
[2026-11-05 07:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224352768001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40035670793650176,"note":"Value kept but may cause issues"} 
[2026-11-05 07:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790463548392916992,"note":"Value kept but may cause issues"} 
[2026-11-05 07:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793845138000,"timestamp_ms":1793845138000,"timestamp_seconds":1793845138,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9809250"} 
[2026-11-05 07:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:50: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-05 07:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 07:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:50:09] 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-05 07:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224352768001,"66":27908,"216":206,"87":10752,"24":41,"16":40035670793650176,"45":8790463548392916992},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,87,24,16,45]} 
[2026-11-05 07:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224352768001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:50:09] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-11-05 07:50:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-11-05 07:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40035670793650176,"km_value":40035670793650.18,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790463548392916992,"description":"Unknown IO ID 45"} 
[2026-11-05 07:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224352768001,"power":27908,"unknown_216":206,"unknown_87":10752,"ignition":41,"odometer":null,"unknown_45":8790463548392916992}} 
[2026-11-05 07:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":231277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:50:09] local.INFO: GPS data processed {"connection_id":231277,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:50:09] local.INFO: Acknowledgment sent {"connection_id":231277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:50:41] local.INFO: TCP Data received {"connection_id":231277,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a980b578012d7a2c4005fcbd480006008f2b..."} 
[2026-11-05 07:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a980b578012d7a2c4005fcbd480006008f2b..."} 
[2026-11-05 07:50:41] local.INFO: Processing buffer {"connection_id":231277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a980b578012d7a2c4005fcbd480006008f2b..."} 
[2026-11-05 07:50:41] local.INFO: Packet analysis {"connection_id":231277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a980"} 
[2026-11-05 07:50:41] local.INFO: Extracted packet for processing {"connection_id":231277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a980"} 
[2026-11-05 07:50:41] local.INFO: GPS Element Parsed {"raw_longitude":762981440,"raw_latitude":100449608,"longitude_deg":76.298144,"latitude_deg":10.0449608,"altitude":6,"angle":143,"satellites":43,"speed":44,"hex_longitude":"2d7a2c40","hex_latitude":"05fcbd48","is_valid_coordinates":true} 
[2026-11-05 07:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224355328001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40036143240052736,"note":"Value kept but may cause issues"} 
[2026-11-05 07:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797007841599410176,"note":"Value kept but may cause issues"} 
[2026-11-05 07:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793845147000,"timestamp_ms":1793845147000,"timestamp_seconds":1793845147,"priority":1,"record_length":96,"hex_timestamp":"000001a1a980b578"} 
[2026-11-05 07:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:50: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-05 07:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 07:50: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-05 07:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:50:41] 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-05 07:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224355328001,"66":27767,"216":206,"87":10752,"24":44,"16":40036143240052736,"45":8797007841599410176},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,87,24,16,45]} 
[2026-11-05 07:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224355328001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:50:41] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-11-05 07:50:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-11-05 07:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40036143240052736,"km_value":40036143240052.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797007841599410176,"description":"Unknown IO ID 45"} 
[2026-11-05 07:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224355328001,"power":27767,"unknown_216":206,"unknown_87":10752,"ignition":44,"odometer":null,"unknown_45":8797007841599410176}} 
[2026-11-05 07:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":231277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:50:41] local.INFO: GPS data processed {"connection_id":231277,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:50:41] local.INFO: Acknowledgment sent {"connection_id":231277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:51:04] local.INFO: TCP Data received {"connection_id":233200,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:51:04] local.INFO: Processing buffer {"connection_id":233200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:51:04] local.INFO: IMEI packet received {"connection_id":233200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":233200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:51:09] local.INFO: TCP Data received {"connection_id":233200,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:51:09] local.INFO: Processing buffer {"connection_id":233200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:51:09] local.INFO: IMEI packet received {"connection_id":233200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":233200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:51:10] local.INFO: TCP Data received {"connection_id":233200,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a980d8a0012d7a3fc005fc9fd8000700942d..."} 
[2026-11-05 07:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a980d8a0012d7a3fc005fc9fd8000700942d..."} 
[2026-11-05 07:51:10] local.INFO: Processing buffer {"connection_id":233200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a980d8a0012d7a3fc005fc9fd8000700942d..."} 
[2026-11-05 07:51:10] local.INFO: Packet analysis {"connection_id":233200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a980"} 
[2026-11-05 07:51:10] local.INFO: Extracted packet for processing {"connection_id":233200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a980"} 
[2026-11-05 07:51:10] local.INFO: GPS Element Parsed {"raw_longitude":762986432,"raw_latitude":100442072,"longitude_deg":76.2986432,"latitude_deg":10.0442072,"altitude":7,"angle":148,"satellites":45,"speed":34,"hex_longitude":"2d7a3fc0","hex_latitude":"05fc9fd8","is_valid_coordinates":true} 
[2026-11-05 07:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224357632001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40036577031749632,"note":"Value kept but may cause issues"} 
[2026-11-05 07:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803481766061754368,"note":"Value kept but may cause issues"} 
[2026-11-05 07:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793845156000,"timestamp_ms":1793845156000,"timestamp_seconds":1793845156,"priority":1,"record_length":96,"hex_timestamp":"000001a1a980d8a0"} 
[2026-11-05 07:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:51: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-05 07:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-05 07:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:51:10] 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-05 07:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224357632001,"66":27821,"216":206,"87":10752,"24":34,"16":40036577031749632,"45":8803481766061754368},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,87,24,16,45]} 
[2026-11-05 07:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224357632001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:51:10] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-11-05 07:51:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-11-05 07:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40036577031749632,"km_value":40036577031749.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803481766061754368,"description":"Unknown IO ID 45"} 
[2026-11-05 07:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224357632001,"power":27821,"unknown_216":206,"unknown_87":10752,"ignition":34,"odometer":null,"unknown_45":8803481766061754368}} 
[2026-11-05 07:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":233200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:51:10] local.INFO: GPS data processed {"connection_id":233200,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:51:10] local.INFO: Acknowledgment sent {"connection_id":233200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:51:42] local.INFO: TCP Data received {"connection_id":233200,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9820950012d7a99c005fbe870000c00982e..."} 
[2026-11-05 07:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9820950012d7a99c005fbe870000c00982e..."} 
[2026-11-05 07:51:42] local.INFO: Processing buffer {"connection_id":233200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9820950012d7a99c005fbe870000c00982e..."} 
[2026-11-05 07:51:42] local.INFO: Packet analysis {"connection_id":233200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a982"} 
[2026-11-05 07:51:42] local.INFO: Extracted packet for processing {"connection_id":233200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a982"} 
[2026-11-05 07:51:42] local.INFO: GPS Element Parsed {"raw_longitude":763009472,"raw_latitude":100395120,"longitude_deg":76.3009472,"latitude_deg":10.039512,"altitude":12,"angle":152,"satellites":46,"speed":41,"hex_longitude":"2d7a99c0","hex_latitude":"05fbe870","is_valid_coordinates":true} 
[2026-11-05 07:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224377344001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40039128242323456,"note":"Value kept but may cause issues"} 
[2026-11-05 07:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8829518201395759104,"note":"Value kept but may cause issues"} 
[2026-11-05 07:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793845234000,"timestamp_ms":1793845234000,"timestamp_seconds":1793845234,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9820950"} 
[2026-11-05 07:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:51: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-05 07:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 07:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:51:42] 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-05 07:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224377344001,"66":27908,"168":206,"87":10752,"24":41,"16":40039128242323456,"45":8829518201395759104},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-11-05 07:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224377344001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:51:42] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-11-05 07:51:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-11-05 07:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40039128242323456,"km_value":40039128242323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8829518201395759104,"description":"Unknown IO ID 45"} 
[2026-11-05 07:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224377344001,"power":27908,"unknown_168":206,"unknown_87":10752,"ignition":41,"odometer":null,"unknown_45":8829518201395759104}} 
[2026-11-05 07:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":233200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:51:42] local.INFO: GPS data processed {"connection_id":233200,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:51:42] local.INFO: Acknowledgment sent {"connection_id":233200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:52:04] local.INFO: TCP Data received {"connection_id":231278,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:52:04] local.INFO: Processing buffer {"connection_id":231278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:52:04] local.INFO: IMEI packet received {"connection_id":231278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":231278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:52:04] local.INFO: TCP Data received {"connection_id":231278,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:52:04] local.INFO: Processing buffer {"connection_id":231278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:52:04] local.INFO: IMEI packet received {"connection_id":231278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":231278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:52:09] local.INFO: TCP Data received {"connection_id":231278,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:52:09] local.INFO: Processing buffer {"connection_id":231278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:52:09] local.INFO: IMEI packet received {"connection_id":231278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":231278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:52:10] local.INFO: TCP Data received {"connection_id":231278,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9822c78012d7aab0005fbc628000f00992d..."} 
[2026-11-05 07:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9822c78012d7aab0005fbc628000f00992d..."} 
[2026-11-05 07:52:10] local.INFO: Processing buffer {"connection_id":231278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9822c78012d7aab0005fbc628000f00992d..."} 
[2026-11-05 07:52:10] local.INFO: Packet analysis {"connection_id":231278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a982"} 
[2026-11-05 07:52:10] local.INFO: Extracted packet for processing {"connection_id":231278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a982"} 
[2026-11-05 07:52:10] local.INFO: GPS Element Parsed {"raw_longitude":763013888,"raw_latitude":100386344,"longitude_deg":76.3013888,"latitude_deg":10.0386344,"altitude":15,"angle":153,"satellites":45,"speed":45,"hex_longitude":"2d7aab00","hex_latitude":"05fbc628","is_valid_coordinates":true} 
[2026-11-05 07:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224379904001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40039604983693312,"note":"Value kept but may cause issues"} 
[2026-11-05 07:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8834303275997622272,"note":"Value kept but may cause issues"} 
[2026-11-05 07:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793845243000,"timestamp_ms":1793845243000,"timestamp_seconds":1793845243,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9822c78"} 
[2026-11-05 07:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:52: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-05 07:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 07:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:52:10] 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-05 07:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224379904001,"66":27865,"168":206,"87":10752,"24":45,"16":40039604983693312,"45":8834303275997622272},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-11-05 07:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224379904001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:52:10] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-11-05 07:52:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-11-05 07:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40039604983693312,"km_value":40039604983693.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8834303275997622272,"description":"Unknown IO ID 45"} 
[2026-11-05 07:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224379904001,"power":27865,"unknown_168":206,"unknown_87":10752,"ignition":45,"odometer":null,"unknown_45":8834303275997622272}} 
[2026-11-05 07:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":231278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:52:10] local.INFO: GPS data processed {"connection_id":231278,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:52:10] local.INFO: Acknowledgment sent {"connection_id":231278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:52:43] local.INFO: TCP Data received {"connection_id":231278,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9824fa0012d7abb8005fba660001000992e..."} 
[2026-11-05 07:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9824fa0012d7abb8005fba660001000992e..."} 
[2026-11-05 07:52:43] local.INFO: Processing buffer {"connection_id":231278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9824fa0012d7abb8005fba660001000992e..."} 
[2026-11-05 07:52:43] local.INFO: Packet analysis {"connection_id":231278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a982"} 
[2026-11-05 07:52:43] local.INFO: Extracted packet for processing {"connection_id":231278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a982"} 
[2026-11-05 07:52:43] local.INFO: GPS Element Parsed {"raw_longitude":763018112,"raw_latitude":100378208,"longitude_deg":76.3018112,"latitude_deg":10.0378208,"altitude":16,"angle":153,"satellites":46,"speed":27,"hex_longitude":"2d7abb80","hex_latitude":"05fba660","is_valid_coordinates":true} 
[2026-11-05 07:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224382208001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40040047365324800,"note":"Value kept but may cause issues"} 
[2026-11-05 07:52:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8839158719343634432,"note":"Value kept but may cause issues"} 
[2026-11-05 07:52:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793845252000,"timestamp_ms":1793845252000,"timestamp_seconds":1793845252,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9824fa0"} 
[2026-11-05 07:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:52: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-05 07:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 07:52: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-05 07:52:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:52:43] 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-05 07:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224382208001,"66":27800,"168":206,"87":10752,"24":27,"16":40040047365324800,"45":8839158719343634432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-11-05 07:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224382208001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:52:43] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-11-05 07:52:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-11-05 07:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40040047365324800,"km_value":40040047365324.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:52:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8839158719343634432,"description":"Unknown IO ID 45"} 
[2026-11-05 07:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224382208001,"power":27800,"unknown_168":206,"unknown_87":10752,"ignition":27,"odometer":null,"unknown_45":8839158719343634432}} 
[2026-11-05 07:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":231278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:52:43] local.INFO: GPS data processed {"connection_id":231278,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:52:43] local.INFO: Acknowledgment sent {"connection_id":231278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:52:46] local.INFO: TCP Data received {"connection_id":231279,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231279,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:52:47] local.INFO: Processing buffer {"connection_id":231279,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:52:47] local.INFO: IMEI packet received {"connection_id":231279,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 07:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":231279,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:53:07] local.INFO: TCP Data received {"connection_id":229475,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:53:07] local.INFO: Processing buffer {"connection_id":229475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:53:07] local.INFO: IMEI packet received {"connection_id":229475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":229475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:53:09] local.INFO: TCP Data received {"connection_id":229475,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:53:09] local.INFO: Processing buffer {"connection_id":229475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:53:09] local.INFO: IMEI packet received {"connection_id":229475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":229475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:53:10] local.INFO: TCP Data received {"connection_id":229475,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:53:10] local.INFO: Processing buffer {"connection_id":229475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:53:10] local.INFO: IMEI packet received {"connection_id":229475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":229475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:53:11] local.INFO: TCP Data received {"connection_id":229978,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:53:11] local.INFO: Processing buffer {"connection_id":229978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:53:11] local.INFO: IMEI packet received {"connection_id":229978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 07:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":229978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:53:13] local.INFO: TCP Data received {"connection_id":229475,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:53:13] local.INFO: Processing buffer {"connection_id":229475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:53:13] local.INFO: IMEI packet received {"connection_id":229475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":229475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:53:15] local.INFO: TCP Data received {"connection_id":229475,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9829208012d7acb8005fb86e0001200972e..."} 
[2026-11-05 07:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9829208012d7acb8005fb86e0001200972e..."} 
[2026-11-05 07:53:15] local.INFO: Processing buffer {"connection_id":229475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9829208012d7acb8005fb86e0001200972e..."} 
[2026-11-05 07:53:15] local.INFO: Packet analysis {"connection_id":229475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a982"} 
[2026-11-05 07:53:15] local.INFO: Extracted packet for processing {"connection_id":229475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a982"} 
[2026-11-05 07:53:15] local.INFO: GPS Element Parsed {"raw_longitude":763022208,"raw_latitude":100370144,"longitude_deg":76.3022208,"latitude_deg":10.0370144,"altitude":18,"angle":151,"satellites":46,"speed":28,"hex_longitude":"2d7acb80","hex_latitude":"05fb86e0","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224384512001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40040485451988992,"note":"Value kept but may cause issues"} 
[2026-11-05 07:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8843803056457277440,"note":"Value kept but may cause issues"} 
[2026-11-05 07:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793845269000,"timestamp_ms":1793845269000,"timestamp_seconds":1793845269,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9829208"} 
[2026-11-05 07: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-05 07:53: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-05 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-05 07:53: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-05 07: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-05 07: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-05 07:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:53:15] 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-05 07:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224384512001,"66":27865,"168":206,"87":10752,"24":28,"16":40040485451988992,"45":8843803056457277440},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-11-05 07:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224384512001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:53:15] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-11-05 07:53:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-11-05 07:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40040485451988992,"km_value":40040485451988.99,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8843803056457277440,"description":"Unknown IO ID 45"} 
[2026-11-05 07:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224384512001,"power":27865,"unknown_168":206,"unknown_87":10752,"ignition":28,"odometer":null,"unknown_45":8843803056457277440}} 
[2026-11-05 07:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":229475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:53:15] local.INFO: GPS data processed {"connection_id":229475,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:53:15] local.INFO: Acknowledgment sent {"connection_id":229475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:53:16] local.INFO: TCP Data received {"connection_id":229475,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a982d470012d7adbc005fb66c0001300982e..."} 
[2026-11-05 07:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a982d470012d7adbc005fb66c0001300982e..."} 
[2026-11-05 07:53:16] local.INFO: Processing buffer {"connection_id":229475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a982d470012d7adbc005fb66c0001300982e..."} 
[2026-11-05 07:53:16] local.INFO: Packet analysis {"connection_id":229475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a982"} 
[2026-11-05 07:53:16] local.INFO: Extracted packet for processing {"connection_id":229475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a982"} 
[2026-11-05 07:53:16] local.INFO: GPS Element Parsed {"raw_longitude":763026368,"raw_latitude":100361920,"longitude_deg":76.3026368,"latitude_deg":10.036192,"altitude":19,"angle":152,"satellites":46,"speed":28,"hex_longitude":"2d7adbc0","hex_latitude":"05fb66c0","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224388864001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40040932128587776,"note":"Value kept but may cause issues"} 
[2026-11-05 07:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848306656082583552,"note":"Value kept but may cause issues"} 
[2026-11-05 07:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793845286000,"timestamp_ms":1793845286000,"timestamp_seconds":1793845286,"priority":1,"record_length":96,"hex_timestamp":"000001a1a982d470"} 
[2026-11-05 07: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-05 07:53: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-05 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 07:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07: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-05 07: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-05 07:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:53:16] 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-05 07:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224388864001,"66":27876,"168":206,"87":10752,"24":28,"16":40040932128587776,"45":8848306656082583552},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-11-05 07:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224388864001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:53:16] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-11-05 07:53:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-11-05 07:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40040932128587776,"km_value":40040932128587.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848306656082583552,"description":"Unknown IO ID 45"} 
[2026-11-05 07:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224388864001,"power":27876,"unknown_168":206,"unknown_87":10752,"ignition":28,"odometer":null,"unknown_45":8848306656082583552}} 
[2026-11-05 07:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":229475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:53:16] local.INFO: GPS data processed {"connection_id":229475,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:53:16] local.INFO: Acknowledgment sent {"connection_id":229475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:53:47] local.INFO: TCP Data received {"connection_id":229475,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a982ff68012d7aec8005fb44a8001200992e..."} 
[2026-11-05 07:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a982ff68012d7aec8005fb44a8001200992e..."} 
[2026-11-05 07:53:47] local.INFO: Processing buffer {"connection_id":229475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a982ff68012d7aec8005fb44a8001200992e..."} 
[2026-11-05 07:53:47] local.INFO: Packet analysis {"connection_id":229475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a982"} 
[2026-11-05 07:53:47] local.INFO: Extracted packet for processing {"connection_id":229475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a982"} 
[2026-11-05 07:53:47] local.INFO: GPS Element Parsed {"raw_longitude":763030656,"raw_latitude":100353192,"longitude_deg":76.3030656,"latitude_deg":10.0353192,"altitude":18,"angle":153,"satellites":46,"speed":37,"hex_longitude":"2d7aec80","hex_latitude":"05fb44a8","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224393216001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40041400280023040,"note":"Value kept but may cause issues"} 
[2026-11-05 07:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8852880624452026368,"note":"Value kept but may cause issues"} 
[2026-11-05 07:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793845297000,"timestamp_ms":1793845297000,"timestamp_seconds":1793845297,"priority":1,"record_length":96,"hex_timestamp":"000001a1a982ff68"} 
[2026-11-05 07: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-05 07:53: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-05 07: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":228,"data_length":795,"current_offset":136} 
[2026-11-05 07:53: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-05 07: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-05 07: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-05 07:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:53:47] 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-05 07:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224393216001,"66":27919,"54":206,"87":10752,"24":37,"16":40041400280023040,"45":8852880624452026368},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,87,24,16,45]} 
[2026-11-05 07:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224393216001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:53:47] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-11-05 07:53:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-11-05 07:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40041400280023040,"km_value":40041400280023.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8852880624452026368,"description":"Unknown IO ID 45"} 
[2026-11-05 07:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224393216001,"power":27919,"unknown_54":206,"unknown_87":10752,"ignition":37,"odometer":null,"unknown_45":8852880624452026368}} 
[2026-11-05 07:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":229475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:53:47] local.INFO: GPS data processed {"connection_id":229475,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:53:47] local.INFO: Acknowledgment sent {"connection_id":229475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:54:04] local.INFO: TCP Data received {"connection_id":231280,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:54:04] local.INFO: Processing buffer {"connection_id":231280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:54:04] local.INFO: IMEI packet received {"connection_id":231280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":231280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:54:09] local.INFO: TCP Data received {"connection_id":231280,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:54:09] local.INFO: Processing buffer {"connection_id":231280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:54:09] local.INFO: IMEI packet received {"connection_id":231280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":231280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:54:10] local.INFO: TCP Data received {"connection_id":231280,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9832678012d7afc8005fb24f8001000992e..."} 
[2026-11-05 07:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9832678012d7afc8005fb24f8001000992e..."} 
[2026-11-05 07:54:10] local.INFO: Processing buffer {"connection_id":231280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9832678012d7afc8005fb24f8001000992e..."} 
[2026-11-05 07:54:10] local.INFO: Packet analysis {"connection_id":231280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a983"} 
[2026-11-05 07:54:10] local.INFO: Extracted packet for processing {"connection_id":231280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a983"} 
[2026-11-05 07:54:10] local.INFO: GPS Element Parsed {"raw_longitude":763034752,"raw_latitude":100345080,"longitude_deg":76.3034752,"latitude_deg":10.034508,"altitude":16,"angle":153,"satellites":46,"speed":31,"hex_longitude":"2d7afc80","hex_latitude":"05fb24f8","is_valid_coordinates":true} 
[2026-11-05 07:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224396032001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40041842661654528,"note":"Value kept but may cause issues"} 
[2026-11-05 07:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857595330309695488,"note":"Value kept but may cause issues"} 
[2026-11-05 07:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793845307000,"timestamp_ms":1793845307000,"timestamp_seconds":1793845307,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9832678"} 
[2026-11-05 07:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:54: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-05 07:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 07:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:54:10] 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-05 07:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224396032001,"66":27930,"54":206,"87":10752,"24":31,"16":40041842661654528,"45":8857595330309695488},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,87,24,16,45]} 
[2026-11-05 07:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224396032001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:54:10] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-11-05 07:54:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-11-05 07:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40041842661654528,"km_value":40041842661654.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857595330309695488,"description":"Unknown IO ID 45"} 
[2026-11-05 07:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224396032001,"power":27930,"unknown_54":206,"unknown_87":10752,"ignition":31,"odometer":null,"unknown_45":8857595330309695488}} 
[2026-11-05 07:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":231280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:54:10] local.INFO: GPS data processed {"connection_id":231280,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:54:10] local.INFO: Acknowledgment sent {"connection_id":231280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:54:42] local.INFO: TCP Data received {"connection_id":231280,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9836110012d7b0d4005fb03d0000e00982e..."} 
[2026-11-05 07:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9836110012d7b0d4005fb03d0000e00982e..."} 
[2026-11-05 07:54:42] local.INFO: Processing buffer {"connection_id":231280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9836110012d7b0d4005fb03d0000e00982e..."} 
[2026-11-05 07:54:42] local.INFO: Packet analysis {"connection_id":231280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a983"} 
[2026-11-05 07:54:42] local.INFO: Extracted packet for processing {"connection_id":231280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a983"} 
[2026-11-05 07:54:42] local.INFO: GPS Element Parsed {"raw_longitude":763039040,"raw_latitude":100336592,"longitude_deg":76.303904,"latitude_deg":10.0336592,"altitude":14,"angle":152,"satellites":46,"speed":28,"hex_longitude":"2d7b0d40","hex_latitude":"05fb03d0","is_valid_coordinates":true} 
[2026-11-05 07:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224398592001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40042302223155200,"note":"Value kept but may cause issues"} 
[2026-11-05 07:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8862098929934989312,"note":"Value kept but may cause issues"} 
[2026-11-05 07:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793845322000,"timestamp_ms":1793845322000,"timestamp_seconds":1793845322,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9836110"} 
[2026-11-05 07:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:54: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-05 07:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-05 07:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:54:42] 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-05 07:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224398592001,"66":27919,"54":206,"87":10752,"24":28,"16":40042302223155200,"45":8862098929934989312},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,87,24,16,45]} 
[2026-11-05 07:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224398592001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:54:42] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-11-05 07:54:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-11-05 07:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40042302223155200,"km_value":40042302223155.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8862098929934989312,"description":"Unknown IO ID 45"} 
[2026-11-05 07:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224398592001,"power":27919,"unknown_54":206,"unknown_87":10752,"ignition":28,"odometer":null,"unknown_45":8862098929934989312}} 
[2026-11-05 07:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":231280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:54:42] local.INFO: GPS data processed {"connection_id":231280,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:54:42] local.INFO: Acknowledgment sent {"connection_id":231280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:55:04] local.INFO: TCP Data received {"connection_id":231281,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:55:04] local.INFO: Processing buffer {"connection_id":231281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:55:04] local.INFO: IMEI packet received {"connection_id":231281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":231281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:55:09] local.INFO: TCP Data received {"connection_id":231281,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:55:09] local.INFO: Processing buffer {"connection_id":231281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:55:09] local.INFO: IMEI packet received {"connection_id":231281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":231281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:55:10] local.INFO: TCP Data received {"connection_id":231281,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9852e00012d7b84c005f9d0380008008f2c..."} 
[2026-11-05 07:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9852e00012d7b84c005f9d0380008008f2c..."} 
[2026-11-05 07:55:10] local.INFO: Processing buffer {"connection_id":231281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9852e00012d7b84c005f9d0380008008f2c..."} 
[2026-11-05 07:55:10] local.INFO: Packet analysis {"connection_id":231281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a985"} 
[2026-11-05 07:55:10] local.INFO: Extracted packet for processing {"connection_id":231281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a985"} 
[2026-11-05 07:55:10] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100257848,"longitude_deg":76.3069632,"latitude_deg":10.0257848,"altitude":8,"angle":143,"satellites":44,"speed":32,"hex_longitude":"2d7b84c0","hex_latitude":"05f9d038","is_valid_coordinates":true} 
[2026-11-05 07:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224429056001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40046429686726656,"note":"Value kept but may cause issues"} 
[2026-11-05 07:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894820395957256192,"note":"Value kept but may cause issues"} 
[2026-11-05 07:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793845440000,"timestamp_ms":1793845440000,"timestamp_seconds":1793845440,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9852e00"} 
[2026-11-05 07:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:55: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-05 07:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-05 07:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:55:10] 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-05 07:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224429056001,"66":28082,"14":206,"87":10752,"24":32,"16":40046429686726656,"45":8894820395957256192},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,87,24,16,45]} 
[2026-11-05 07:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224429056001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:55:10] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-05 07:55:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-11-05 07:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40046429686726656,"km_value":40046429686726.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894820395957256192,"description":"Unknown IO ID 45"} 
[2026-11-05 07:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224429056001,"power":28082,"unknown_14":206,"unknown_87":10752,"ignition":32,"odometer":null,"unknown_45":8894820395957256192}} 
[2026-11-05 07:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":231281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:55:10] local.INFO: GPS data processed {"connection_id":231281,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:55:10] local.INFO: Acknowledgment sent {"connection_id":231281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:55:47] local.INFO: TCP Data received {"connection_id":231281,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9855510012d7b9cc005f9b528000a008728..."} 
[2026-11-05 07:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9855510012d7b9cc005f9b528000a008728..."} 
[2026-11-05 07:55:47] local.INFO: Processing buffer {"connection_id":231281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9855510012d7b9cc005f9b528000a008728..."} 
[2026-11-05 07:55:47] local.INFO: Packet analysis {"connection_id":231281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a985"} 
[2026-11-05 07:55:47] local.INFO: Extracted packet for processing {"connection_id":231281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a985"} 
[2026-11-05 07:55:47] local.INFO: GPS Element Parsed {"raw_longitude":763075776,"raw_latitude":100250920,"longitude_deg":76.3075776,"latitude_deg":10.025092,"altitude":10,"angle":135,"satellites":40,"speed":34,"hex_longitude":"2d7b9cc0","hex_latitude":"05f9b528","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224432640001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40046876363325440,"note":"Value kept but may cause issues"} 
[2026-11-05 07:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895489484800,"note":"Value kept but may cause issues"} 
[2026-11-05 07:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793845450000,"timestamp_ms":1793845450000,"timestamp_seconds":1793845450,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9855510"} 
[2026-11-05 07: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-05 07:55: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-05 07: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 07:55:47] 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-05 07: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-05 07: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-05 07:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":231281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":231281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":231281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:55:47] 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-05 07:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224432640001,"66":28006,"14":206,"87":10752,"24":34,"16":40046876363325440,"45":8900449895489484800},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,87,24,16,45]} 
[2026-11-05 07:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224432640001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:55:47] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-05 07:55:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-11-05 07:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40046876363325440,"km_value":40046876363325.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895489484800,"description":"Unknown IO ID 45"} 
[2026-11-05 07:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224432640001,"power":28006,"unknown_14":206,"unknown_87":10752,"ignition":34,"odometer":null,"unknown_45":8900449895489484800}} 
[2026-11-05 07:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":231281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:55:47] local.INFO: GPS data processed {"connection_id":231281,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:55:47] local.INFO: Acknowledgment sent {"connection_id":231281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:56:04] local.INFO: TCP Data received {"connection_id":233201,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:56:04] local.INFO: Processing buffer {"connection_id":233201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:56:04] local.INFO: IMEI packet received {"connection_id":233201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":233201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:56:09] local.INFO: TCP Data received {"connection_id":233201,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:56:09] local.INFO: Processing buffer {"connection_id":233201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:56:09] local.INFO: IMEI packet received {"connection_id":233201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":233201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:56:10] local.INFO: TCP Data received {"connection_id":233201,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a985a718012d7ba60005f9aba8000a008c2e..."} 
[2026-11-05 07:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a985a718012d7ba60005f9aba8000a008c2e..."} 
[2026-11-05 07:56:10] local.INFO: Processing buffer {"connection_id":233201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a985a718012d7ba60005f9aba8000a008c2e..."} 
[2026-11-05 07:56:10] local.INFO: Packet analysis {"connection_id":233201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a985"} 
[2026-11-05 07:56:10] local.INFO: Extracted packet for processing {"connection_id":233201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a985"} 
[2026-11-05 07:56:10] local.INFO: GPS Element Parsed {"raw_longitude":763078144,"raw_latitude":100248488,"longitude_deg":76.3078144,"latitude_deg":10.0248488,"altitude":10,"angle":140,"satellites":46,"speed":0,"hex_longitude":"2d7ba600","hex_latitude":"05f9aba8","is_valid_coordinates":true} 
[2026-11-05 07:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224435200001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40047039572082688,"note":"Value kept but may cause issues"} 
[2026-11-05 07:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907205294928766976,"note":"Value kept but may cause issues"} 
[2026-11-05 07:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793845471000,"timestamp_ms":1793845471000,"timestamp_seconds":1793845471,"priority":1,"record_length":96,"hex_timestamp":"000001a1a985a718"} 
[2026-11-05 07:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:56: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-05 07:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-05 07:56:10] 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-05 07:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:56:10] 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-05 07:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224435200001,"66":27919,"14":206,"87":10752,"24":0,"16":40047039572082688,"45":8907205294928766976},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,87,24,16,45]} 
[2026-11-05 07:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224435200001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:56:10] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-05 07:56:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-11-05 07:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40047039572082688,"km_value":40047039572082.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907205294928766976,"description":"Unknown IO ID 45"} 
[2026-11-05 07:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224435200001,"power":27919,"unknown_14":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":8907205294928766976}} 
[2026-11-05 07:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":233201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:56:10] local.INFO: GPS data processed {"connection_id":233201,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:56:10] local.INFO: Acknowledgment sent {"connection_id":233201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:56:19] local.INFO: TCP Data received {"connection_id":229477,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 07:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229477,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 07:56:19] local.INFO: Processing buffer {"connection_id":229477,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 07:56:19] local.INFO: IMEI packet received {"connection_id":229477,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 07:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":229477,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:56:24] local.INFO: TCP Data received {"connection_id":229477,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 07:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229477,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 07:56:24] local.INFO: Processing buffer {"connection_id":229477,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 07:56:24] local.INFO: IMEI packet received {"connection_id":229477,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 07:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":229477,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:56:25] local.INFO: TCP Data received {"connection_id":229477,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-11-05 07:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229477,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-11-05 07:56:25] local.INFO: Processing buffer {"connection_id":229477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-11-05 07:56:25] local.INFO: Packet analysis {"connection_id":229477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-11-05 07:56:25] local.INFO: Extracted packet for processing {"connection_id":229477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-11-05 07:56: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-05 07:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39338412917915648,"note":"Value kept but may cause issues"} 
[2026-11-05 07:56:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 07:56:25] 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-05 07:56:25] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 07:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":229477,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":229477,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 07:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":229477,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 07:56:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 07:56:25] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 07:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":229477,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 07:56:25] local.ERROR: GPS data processing failed {"connection_id":229477,"error":"No valid data to process"} 
[2026-11-05 07:56:25] local.INFO: Acknowledgment sent {"connection_id":229477,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 07:56:42] local.INFO: TCP Data received {"connection_id":233201,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a985f920012d7ba60005f9aba8000a008c2e..."} 
[2026-11-05 07:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a985f920012d7ba60005f9aba8000a008c2e..."} 
[2026-11-05 07:56:42] local.INFO: Processing buffer {"connection_id":233201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a985f920012d7ba60005f9aba8000a008c2e..."} 
[2026-11-05 07:56:42] local.INFO: Packet analysis {"connection_id":233201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a985"} 
[2026-11-05 07:56:42] local.INFO: Extracted packet for processing {"connection_id":233201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a985"} 
[2026-11-05 07:56:42] local.INFO: GPS Element Parsed {"raw_longitude":763078144,"raw_latitude":100248488,"longitude_deg":76.3078144,"latitude_deg":10.0248488,"altitude":10,"angle":140,"satellites":46,"speed":0,"hex_longitude":"2d7ba600","hex_latitude":"05f9aba8","is_valid_coordinates":true} 
[2026-11-05 07:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224440576001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40047039572082688,"note":"Value kept but may cause issues"} 
[2026-11-05 07:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909808938462717952,"note":"Value kept but may cause issues"} 
[2026-11-05 07:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793845492000,"timestamp_ms":1793845492000,"timestamp_seconds":1793845492,"priority":1,"record_length":96,"hex_timestamp":"000001a1a985f920"} 
[2026-11-05 07:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:56: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-05 07:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 07:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:56:42] 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-05 07:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224440576001,"66":27843,"14":206,"87":10752,"24":0,"16":40047039572082688,"45":8909808938462717952},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,87,24,16,45]} 
[2026-11-05 07:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224440576001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:56:42] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-05 07:56:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-11-05 07:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40047039572082688,"km_value":40047039572082.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909808938462717952,"description":"Unknown IO ID 45"} 
[2026-11-05 07:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224440576001,"power":27843,"unknown_14":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":8909808938462717952}} 
[2026-11-05 07:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":233201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:56:42] local.INFO: GPS data processed {"connection_id":233201,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:56:42] local.INFO: Acknowledgment sent {"connection_id":233201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:56:56] local.INFO: TCP Data received {"connection_id":229477,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-11-05 07:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229477,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-11-05 07:56:56] local.INFO: Processing buffer {"connection_id":229477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-11-05 07:56:56] local.INFO: Packet analysis {"connection_id":229477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-11-05 07:56:56] local.INFO: Extracted packet for processing {"connection_id":229477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-11-05 07:56:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-11-05 07:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39338412917915648,"note":"Value kept but may cause issues"} 
[2026-11-05 07:56:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 07:56:56] 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-05 07:56:56] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 07:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":229477,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":229477,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 07:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":229477,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 07:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 07:56:56] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 07:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":229477,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 07:56:56] local.ERROR: GPS data processing failed {"connection_id":229477,"error":"No valid data to process"} 
[2026-11-05 07:56:56] local.INFO: Acknowledgment sent {"connection_id":229477,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 07:57:14] local.INFO: TCP Data received {"connection_id":229981,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:57:14] local.INFO: Processing buffer {"connection_id":229981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:57:14] local.INFO: IMEI packet received {"connection_id":229981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":229981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:57:15] local.INFO: TCP Data received {"connection_id":229981,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:57:15] local.INFO: Processing buffer {"connection_id":229981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:57:15] local.INFO: IMEI packet received {"connection_id":229981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":229981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:57:16] local.INFO: TCP Data received {"connection_id":229981,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9864b28012d7ba60005f9aba8000a008c2e..."} 
[2026-11-05 07:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9864b28012d7ba60005f9aba8000a008c2e..."} 
[2026-11-05 07:57:16] local.INFO: Processing buffer {"connection_id":229981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9864b28012d7ba60005f9aba8000a008c2e..."} 
[2026-11-05 07:57:16] local.INFO: Packet analysis {"connection_id":229981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a986"} 
[2026-11-05 07:57:16] local.INFO: Extracted packet for processing {"connection_id":229981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a986"} 
[2026-11-05 07:57:16] local.INFO: GPS Element Parsed {"raw_longitude":763078144,"raw_latitude":100248488,"longitude_deg":76.3078144,"latitude_deg":10.0248488,"altitude":10,"angle":140,"satellites":46,"speed":0,"hex_longitude":"2d7ba600","hex_latitude":"05f9aba8","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224445952001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40047039572082688,"note":"Value kept but may cause issues"} 
[2026-11-05 07:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909808938462717952,"note":"Value kept but may cause issues"} 
[2026-11-05 07:57:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793845513000,"timestamp_ms":1793845513000,"timestamp_seconds":1793845513,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9864b28"} 
[2026-11-05 07: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-05 07:57: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-05 07: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":195,"data_length":795,"current_offset":136} 
[2026-11-05 07:57: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-05 07: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-05 07: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-05 07:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:57:16] 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-05 07:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224445952001,"66":27974,"14":206,"87":10752,"24":0,"16":40047039572082688,"45":8909808938462717952},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,87,24,16,45]} 
[2026-11-05 07:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224445952001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:57:16] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-05 07:57:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-11-05 07:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40047039572082688,"km_value":40047039572082.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909808938462717952,"description":"Unknown IO ID 45"} 
[2026-11-05 07:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224445952001,"power":27974,"unknown_14":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":8909808938462717952}} 
[2026-11-05 07:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":229981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:57:16] local.INFO: GPS data processed {"connection_id":229981,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:57:16] local.INFO: Acknowledgment sent {"connection_id":229981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:57:20] local.INFO: TCP Data received {"connection_id":229981,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9869d30012d7ba60005f9aba8000a008c2d..."} 
[2026-11-05 07:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9869d30012d7ba60005f9aba8000a008c2d..."} 
[2026-11-05 07:57:20] local.INFO: Processing buffer {"connection_id":229981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9869d30012d7ba60005f9aba8000a008c2d..."} 
[2026-11-05 07:57:20] local.INFO: Packet analysis {"connection_id":229981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a986"} 
[2026-11-05 07:57:20] local.INFO: Extracted packet for processing {"connection_id":229981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a986"} 
[2026-11-05 07:57:20] local.INFO: GPS Element Parsed {"raw_longitude":763078144,"raw_latitude":100248488,"longitude_deg":76.3078144,"latitude_deg":10.0248488,"altitude":10,"angle":140,"satellites":45,"speed":0,"hex_longitude":"2d7ba600","hex_latitude":"05f9aba8","is_valid_coordinates":true} 
[2026-11-05 07:57: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-05 07:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224451328001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40047039572082688,"note":"Value kept but may cause issues"} 
[2026-11-05 07:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909808938462717952,"note":"Value kept but may cause issues"} 
[2026-11-05 07:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793845534000,"timestamp_ms":1793845534000,"timestamp_seconds":1793845534,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9869d30"} 
[2026-11-05 07:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:57: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-05 07:57: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-05 07:57: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-05 07:57: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-05 07:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:57:20] 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-05 07:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224451328001,"66":27800,"14":206,"87":10752,"24":0,"16":40047039572082688,"45":8909808938462717952},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,87,24,16,45]} 
[2026-11-05 07:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224451328001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:57:20] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-05 07:57:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-11-05 07:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40047039572082688,"km_value":40047039572082.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909808938462717952,"description":"Unknown IO ID 45"} 
[2026-11-05 07:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224451328001,"power":27800,"unknown_14":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":8909808938462717952}} 
[2026-11-05 07:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":229981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:57:20] local.INFO: GPS data processed {"connection_id":229981,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:57:20] local.INFO: Acknowledgment sent {"connection_id":229981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:57:27] local.INFO: TCP Data received {"connection_id":229477,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a987c9f80100000000000000000000000000..."} 
[2026-11-05 07:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a987c9f80100000000000000000000000000..."} 
[2026-11-05 07:57:27] local.INFO: Processing buffer {"connection_id":229477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a987c9f80100000000000000000000000000..."} 
[2026-11-05 07:57:27] local.INFO: Packet analysis {"connection_id":229477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a987"} 
[2026-11-05 07:57:27] local.INFO: Extracted packet for processing {"connection_id":229477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a987"} 
[2026-11-05 07:57:27] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-11-05 07:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39338412917915648,"note":"Value kept but may cause issues"} 
[2026-11-05 07:57:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 07:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793845611000,"timestamp_ms":1793845611000,"timestamp_seconds":1793845611,"priority":1,"record_length":96,"hex_timestamp":"000001a1a987c9f8"} 
[2026-11-05 07:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2304,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 07:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-05 07:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2139,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":229477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":229477,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 07:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":229477,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 07:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 07:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 07:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 07:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":229477,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 07:57:27] local.INFO: GPS data processed {"connection_id":229477,"processed":0,"errors":0,"total":1} 
[2026-11-05 07:57:27] local.INFO: Acknowledgment sent {"connection_id":229477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:58:03] local.INFO: TCP Data received {"connection_id":233202,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:58:03] local.INFO: Processing buffer {"connection_id":233202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:58:03] local.INFO: IMEI packet received {"connection_id":233202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":233202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:58:04] local.INFO: TCP Data received {"connection_id":233202,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:58:04] local.INFO: Processing buffer {"connection_id":233202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:58:04] local.INFO: IMEI packet received {"connection_id":233202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":233202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:58:09] local.INFO: TCP Data received {"connection_id":233202,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:58:09] local.INFO: Processing buffer {"connection_id":233202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:58:09] local.INFO: IMEI packet received {"connection_id":233202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":233202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:58:10] local.INFO: TCP Data received {"connection_id":233202,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a986ef38012d7ba60005f9aba8000a008c2d..."} 
[2026-11-05 07:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a986ef38012d7ba60005f9aba8000a008c2d..."} 
[2026-11-05 07:58:10] local.INFO: Processing buffer {"connection_id":233202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a986ef38012d7ba60005f9aba8000a008c2d..."} 
[2026-11-05 07:58:10] local.INFO: Packet analysis {"connection_id":233202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a986"} 
[2026-11-05 07:58:10] local.INFO: Extracted packet for processing {"connection_id":233202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a986"} 
[2026-11-05 07:58:10] local.INFO: GPS Element Parsed {"raw_longitude":763078144,"raw_latitude":100248488,"longitude_deg":76.3078144,"latitude_deg":10.0248488,"altitude":10,"angle":140,"satellites":45,"speed":0,"hex_longitude":"2d7ba600","hex_latitude":"05f9aba8","is_valid_coordinates":true} 
[2026-11-05 07:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224456704001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40047039572082688,"note":"Value kept but may cause issues"} 
[2026-11-05 07:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909808938462717952,"note":"Value kept but may cause issues"} 
[2026-11-05 07:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793845555000,"timestamp_ms":1793845555000,"timestamp_seconds":1793845555,"priority":1,"record_length":96,"hex_timestamp":"000001a1a986ef38"} 
[2026-11-05 07:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:58: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-05 07:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-05 07:58:10] 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-05 07:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:58:10] 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-05 07:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224456704001,"66":27865,"14":206,"87":10752,"24":0,"16":40047039572082688,"45":8909808938462717952},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,87,24,16,45]} 
[2026-11-05 07:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224456704001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:58:10] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-05 07:58:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-11-05 07:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40047039572082688,"km_value":40047039572082.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909808938462717952,"description":"Unknown IO ID 45"} 
[2026-11-05 07:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224456704001,"power":27865,"unknown_14":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":8909808938462717952}} 
[2026-11-05 07:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":233202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:58:10] local.INFO: GPS data processed {"connection_id":233202,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:58:10] local.INFO: Acknowledgment sent {"connection_id":233202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:58:14] local.INFO: TCP Data received {"connection_id":229477,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98818180100000000000000000000000000..."} 
[2026-11-05 07:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98818180100000000000000000000000000..."} 
[2026-11-05 07:58:14] local.INFO: Processing buffer {"connection_id":229477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98818180100000000000000000000000000..."} 
[2026-11-05 07:58:14] local.INFO: Packet analysis {"connection_id":229477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a988"} 
[2026-11-05 07:58:14] local.INFO: Extracted packet for processing {"connection_id":229477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a988"} 
[2026-11-05 07:58: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-05 07: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-05 07:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39338412917915648,"note":"Value kept but may cause issues"} 
[2026-11-05 07:58:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 07:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793845631000,"timestamp_ms":1793845631000,"timestamp_seconds":1793845631,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9881818"} 
[2026-11-05 07: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-05 07:58:14] 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-05 07: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-05 07:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07: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-05 07: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-05 07:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229477,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 07:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229477,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 07:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 07:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 07:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 07:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":229477,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 07:58:14] local.INFO: GPS data processed {"connection_id":229477,"processed":0,"errors":0,"total":1} 
[2026-11-05 07:58:14] local.INFO: Acknowledgment sent {"connection_id":229477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:58:41] local.INFO: TCP Data received {"connection_id":233202,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9889900012d7c2e0005f85130000700ab2d..."} 
[2026-11-05 07:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9889900012d7c2e0005f85130000700ab2d..."} 
[2026-11-05 07:58:41] local.INFO: Processing buffer {"connection_id":233202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9889900012d7c2e0005f85130000700ab2d..."} 
[2026-11-05 07:58:41] local.INFO: Packet analysis {"connection_id":233202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a988"} 
[2026-11-05 07:58:41] local.INFO: Extracted packet for processing {"connection_id":233202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a988"} 
[2026-11-05 07:58:41] local.INFO: GPS Element Parsed {"raw_longitude":763112960,"raw_latitude":100159792,"longitude_deg":76.311296,"latitude_deg":10.0159792,"altitude":7,"angle":171,"satellites":45,"speed":48,"hex_longitude":"2d7c2e00","hex_latitude":"05f85130","is_valid_coordinates":true} 
[2026-11-05 07:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224487936001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40051776921010176,"note":"Value kept but may cause issues"} 
[2026-11-05 07:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946682160391458816,"note":"Value kept but may cause issues"} 
[2026-11-05 07:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793845664000,"timestamp_ms":1793845664000,"timestamp_seconds":1793845664,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9889900"} 
[2026-11-05 07:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:58: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-05 07:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 07:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:58:41] 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-05 07:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224487936001,"66":27919,"142":206,"87":12800,"24":48,"16":40051776921010176,"45":8946682160391458816},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,87,24,16,45]} 
[2026-11-05 07:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224487936001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:58:41] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-05 07:58:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-11-05 07:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40051776921010176,"km_value":40051776921010.18,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946682160391458816,"description":"Unknown IO ID 45"} 
[2026-11-05 07:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224487936001,"power":27919,"unknown_142":206,"unknown_87":12800,"ignition":48,"odometer":null,"unknown_45":8946682160391458816}} 
[2026-11-05 07:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":233202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:58:41] local.INFO: GPS data processed {"connection_id":233202,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:58:41] local.INFO: Acknowledgment sent {"connection_id":233202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:58:42] local.INFO: TCP Data received {"connection_id":231283,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:58:42] local.INFO: Processing buffer {"connection_id":231283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:58:42] local.INFO: IMEI packet received {"connection_id":231283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 07:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":231283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:58:45] local.INFO: TCP Data received {"connection_id":229477,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9886a200100000000000000000000000000..."} 
[2026-11-05 07:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9886a200100000000000000000000000000..."} 
[2026-11-05 07:58:45] local.INFO: Processing buffer {"connection_id":229477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9886a200100000000000000000000000000..."} 
[2026-11-05 07:58:45] local.INFO: Packet analysis {"connection_id":229477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a988"} 
[2026-11-05 07:58:45] local.INFO: Extracted packet for processing {"connection_id":229477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a988"} 
[2026-11-05 07:58: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-05 07: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-05 07:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39338412917915648,"note":"Value kept but may cause issues"} 
[2026-11-05 07:58:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 07:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793845652000,"timestamp_ms":1793845652000,"timestamp_seconds":1793845652,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9886a20"} 
[2026-11-05 07: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-05 07:58:45] 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-05 07: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-11-05 07:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07: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-05 07: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-05 07:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229477,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 07:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229477,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 07:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 07:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 07:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 07:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":229477,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 07:58:45] local.INFO: GPS data processed {"connection_id":229477,"processed":0,"errors":0,"total":1} 
[2026-11-05 07:58:45] local.INFO: Acknowledgment sent {"connection_id":229477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:59:06] local.INFO: TCP Data received {"connection_id":229982,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:59:07] local.INFO: Processing buffer {"connection_id":229982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 07:59:07] local.INFO: IMEI packet received {"connection_id":229982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 07:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":229982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:59:09] local.INFO: TCP Data received {"connection_id":229983,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:59:09] local.INFO: Processing buffer {"connection_id":229983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:59:09] local.INFO: IMEI packet received {"connection_id":229983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 07:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":229983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 07:59:16] local.INFO: TCP Data received {"connection_id":229477,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a988bc280100000000000000000000000000..."} 
[2026-11-05 07:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a988bc280100000000000000000000000000..."} 
[2026-11-05 07:59:16] local.INFO: Processing buffer {"connection_id":229477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a988bc280100000000000000000000000000..."} 
[2026-11-05 07:59:16] local.INFO: Packet analysis {"connection_id":229477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a988"} 
[2026-11-05 07:59:16] local.INFO: Extracted packet for processing {"connection_id":229477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a988"} 
[2026-11-05 07:59: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-05 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-05 07:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39338412917915648,"note":"Value kept but may cause issues"} 
[2026-11-05 07:59:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 07:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793845673000,"timestamp_ms":1793845673000,"timestamp_seconds":1793845673,"priority":1,"record_length":96,"hex_timestamp":"000001a1a988bc28"} 
[2026-11-05 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-05 07:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-11-05 07:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 07:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229477,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 07:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229477,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 07:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 07:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 07:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 07:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":229477,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 07:59:16] local.INFO: GPS data processed {"connection_id":229477,"processed":0,"errors":0,"total":1} 
[2026-11-05 07:59:16] local.INFO: Acknowledgment sent {"connection_id":229477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:59:28] local.INFO: TCP Data received {"connection_id":229983,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:59:28] local.INFO: Processing buffer {"connection_id":229983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 07:59:28] local.INFO: IMEI packet received {"connection_id":229983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 07:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":229983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 07:59:29] local.INFO: TCP Data received {"connection_id":229983,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a988b458012d7c334005f82ec8000900ab2c..."} 
[2026-11-05 07:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a988b458012d7c334005f82ec8000900ab2c..."} 
[2026-11-05 07:59:29] local.INFO: Processing buffer {"connection_id":229983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a988b458012d7c334005f82ec8000900ab2c..."} 
[2026-11-05 07:59:29] local.INFO: Packet analysis {"connection_id":229983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a988"} 
[2026-11-05 07:59:29] local.INFO: Extracted packet for processing {"connection_id":229983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a988"} 
[2026-11-05 07:59:29] local.INFO: GPS Element Parsed {"raw_longitude":763114304,"raw_latitude":100150984,"longitude_deg":76.3114304,"latitude_deg":10.0150984,"altitude":9,"angle":171,"satellites":44,"speed":53,"hex_longitude":"2d7c3340","hex_latitude":"05f82ec8","is_valid_coordinates":true} 
[2026-11-05 07:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224489984001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40052210712707072,"note":"Value kept but may cause issues"} 
[2026-11-05 07:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948089535272660992,"note":"Value kept but may cause issues"} 
[2026-11-05 07:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793845671000,"timestamp_ms":1793845671000,"timestamp_seconds":1793845671,"priority":1,"record_length":96,"hex_timestamp":"000001a1a988b458"} 
[2026-11-05 07:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 07:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 07:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:59:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":229983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":229983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":229983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:59:29] 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-05 07:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224489984001,"66":27865,"142":206,"87":12800,"24":53,"16":40052210712707072,"45":8948089535272660992},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,87,24,16,45]} 
[2026-11-05 07:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224489984001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:59:29] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-05 07:59:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-11-05 07:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40052210712707072,"km_value":40052210712707.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948089535272660992,"description":"Unknown IO ID 45"} 
[2026-11-05 07:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224489984001,"power":27865,"unknown_142":206,"unknown_87":12800,"ignition":53,"odometer":null,"unknown_45":8948089535272660992}} 
[2026-11-05 07:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":229983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:59:29] local.INFO: GPS data processed {"connection_id":229983,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:59:29] local.INFO: Acknowledgment sent {"connection_id":229983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:59:30] local.INFO: TCP Data received {"connection_id":229983,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a988cfb0012d7c390005f80930000800aa2c..."} 
[2026-11-05 07:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a988cfb0012d7c390005f80930000800aa2c..."} 
[2026-11-05 07:59:30] local.INFO: Processing buffer {"connection_id":229983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a988cfb0012d7c390005f80930000800aa2c..."} 
[2026-11-05 07:59:30] local.INFO: Packet analysis {"connection_id":229983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a988"} 
[2026-11-05 07:59:30] local.INFO: Extracted packet for processing {"connection_id":229983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a988"} 
[2026-11-05 07:59:30] local.INFO: GPS Element Parsed {"raw_longitude":763115776,"raw_latitude":100141360,"longitude_deg":76.3115776,"latitude_deg":10.014136,"altitude":8,"angle":170,"satellites":44,"speed":55,"hex_longitude":"2d7c3900","hex_latitude":"05f80930","is_valid_coordinates":true} 
[2026-11-05 07:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 07:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224491776001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40052683159109632,"note":"Value kept but may cause issues"} 
[2026-11-05 07:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949567278898137088,"note":"Value kept but may cause issues"} 
[2026-11-05 07:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 07:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793845678000,"timestamp_ms":1793845678000,"timestamp_seconds":1793845678,"priority":1,"record_length":96,"hex_timestamp":"000001a1a988cfb0"} 
[2026-11-05 07:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 07:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 07:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 07:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 07:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 07:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":229983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":229983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":229983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 07:59:30] 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-05 07:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 07:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 07:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224491776001,"66":27865,"142":206,"87":12800,"24":55,"16":40052683159109632,"45":8949567278898137088},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,87,24,16,45]} 
[2026-11-05 07:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 07:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 07:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224491776001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:59:30] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-05 07:59:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-11-05 07:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40052683159109632,"km_value":40052683159109.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949567278898137088,"description":"Unknown IO ID 45"} 
[2026-11-05 07:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224491776001,"power":27865,"unknown_142":206,"unknown_87":12800,"ignition":55,"odometer":null,"unknown_45":8949567278898137088}} 
[2026-11-05 07:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":229983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:59:30] local.INFO: GPS data processed {"connection_id":229983,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:59:30] local.INFO: Acknowledgment sent {"connection_id":229983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 07:59:47] local.INFO: TCP Data received {"connection_id":229477,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98a46b0012d0b39400702af500010006c0a..."} 
[2026-11-05 07:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98a46b0012d0b39400702af500010006c0a..."} 
[2026-11-05 07:59:47] local.INFO: Processing buffer {"connection_id":229477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98a46b0012d0b39400702af500010006c0a..."} 
[2026-11-05 07:59:47] local.INFO: Packet analysis {"connection_id":229477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98a"} 
[2026-11-05 07:59:47] local.INFO: Extracted packet for processing {"connection_id":229477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98a"} 
[2026-11-05 07:59:47] local.INFO: GPS Element Parsed {"raw_longitude":755710272,"raw_latitude":117616464,"longitude_deg":75.5710272,"latitude_deg":11.7616464,"altitude":16,"angle":108,"satellites":10,"speed":17,"hex_longitude":"2d0b3940","hex_latitude":"0702af50","is_valid_coordinates":true} 
[2026-11-05 07: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-05 07:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224517632001,"note":"Value kept but may cause issues"} 
[2026-11-05 07:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39339138767388672,"note":"Value kept but may cause issues"} 
[2026-11-05 07:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":807762844525254656,"note":"Value kept but may cause issues"} 
[2026-11-05 07:59: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-05 07:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793845774000,"timestamp_ms":1793845774000,"timestamp_seconds":1793845774,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98a46b0"} 
[2026-11-05 07: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-05 07:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 07: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":56,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 07:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2773,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 07: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-05 07: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-05 07:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 07:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 07:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229477,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 07:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229477,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 07:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 07:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 07:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 07:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224517632001,"66":14646,"17":206,"94":11008,"24":17,"16":39339138767388672,"45":807762844525254656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 07:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 07:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 07:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224517632001,"description":"Unknown IO ID 0"} 
[2026-11-05 07:59:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 07:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39339138767388672,"km_value":39339138767388.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 07:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":807762844525254656,"description":"Unknown IO ID 45"} 
[2026-11-05 07:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224517632001,"power":14646,"axis_x":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":807762844525254656}} 
[2026-11-05 07:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":229477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61827,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 07:59:47] local.INFO: GPS data processed {"connection_id":229477,"processed":1,"errors":0,"total":1} 
[2026-11-05 07:59:47] local.INFO: Acknowledgment sent {"connection_id":229477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:00:04] local.INFO: TCP Data received {"connection_id":233203,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:00:04] local.INFO: Processing buffer {"connection_id":233203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:00:04] local.INFO: IMEI packet received {"connection_id":233203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":233203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:00:06] local.INFO: TCP Data received {"connection_id":233203,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:00:06] local.INFO: Processing buffer {"connection_id":233203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:00:06] local.INFO: IMEI packet received {"connection_id":233203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":233203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:00:12] local.INFO: TCP Data received {"connection_id":233203,"ip":"42.109.136.11","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a9..."} 
[2026-11-05 08:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233203,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a9..."} 
[2026-11-05 08:00:12] local.INFO: Processing buffer {"connection_id":233203,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a9..."} 
[2026-11-05 08:00:12] local.INFO: IMEI packet received {"connection_id":233203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":233203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:00:13] local.INFO: TCP Data received {"connection_id":233203,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9890660012d7c458005f7bc20000800ac2d..."} 
[2026-11-05 08:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9890660012d7c458005f7bc20000800ac2d..."} 
[2026-11-05 08:00:13] local.INFO: Processing buffer {"connection_id":233203,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1a988eb08012d7c3f4005f7e1f0000800ab2c..."} 
[2026-11-05 08:00:13] local.INFO: Packet analysis {"connection_id":233203,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1a988"} 
[2026-11-05 08:00:13] local.INFO: Extracted packet for processing {"connection_id":233203,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a988"} 
[2026-11-05 08:00:13] local.INFO: GPS Element Parsed {"raw_longitude":763117376,"raw_latitude":100131312,"longitude_deg":76.3117376,"latitude_deg":10.0131312,"altitude":8,"angle":171,"satellites":44,"speed":59,"hex_longitude":"2d7c3f40","hex_latitude":"05f7e1f0","is_valid_coordinates":true} 
[2026-11-05 08:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224493568001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40053177080348672,"note":"Value kept but may cause issues"} 
[2026-11-05 08:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951185760011759616,"note":"Value kept but may cause issues"} 
[2026-11-05 08:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793845685000,"timestamp_ms":1793845685000,"timestamp_seconds":1793845685,"priority":1,"record_length":96,"hex_timestamp":"000001a1a988eb08"} 
[2026-11-05 08:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:00: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-05 08:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 08:00: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-05 08:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":233203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":233203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":233203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:00: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-05 08:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224493568001,"66":27908,"144":206,"87":12800,"24":59,"16":40053177080348672,"45":8951185760011759616},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-11-05 08:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224493568001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:00:13] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-11-05 08:00:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-11-05 08:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40053177080348672,"km_value":40053177080348.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951185760011759616,"description":"Unknown IO ID 45"} 
[2026-11-05 08:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224493568001,"power":27908,"unknown_144":206,"unknown_87":12800,"ignition":59,"odometer":null,"unknown_45":8951185760011759616}} 
[2026-11-05 08:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":233203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:00:13] local.INFO: GPS data processed {"connection_id":233203,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:00:13] local.INFO: Acknowledgment sent {"connection_id":233203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:00:13] local.INFO: Packet analysis {"connection_id":233203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a989"} 
[2026-11-05 08:00:13] local.INFO: Extracted packet for processing {"connection_id":233203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a989"} 
[2026-11-05 08:00:13] local.INFO: GPS Element Parsed {"raw_longitude":763118976,"raw_latitude":100121632,"longitude_deg":76.3118976,"latitude_deg":10.0121632,"altitude":8,"angle":172,"satellites":45,"speed":52,"hex_longitude":"2d7c4580","hex_latitude":"05f7bc20","is_valid_coordinates":true} 
[2026-11-05 08:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224495360001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40053649526751232,"note":"Value kept but may cause issues"} 
[2026-11-05 08:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952944978613628928,"note":"Value kept but may cause issues"} 
[2026-11-05 08:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793845692000,"timestamp_ms":1793845692000,"timestamp_seconds":1793845692,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9890660"} 
[2026-11-05 08:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:00: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-05 08:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 08:00: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-05 08:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":233203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":233203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":233203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:00: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-05 08:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224495360001,"66":27539,"144":206,"87":12800,"24":52,"16":40053649526751232,"45":8952944978613628928},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-11-05 08:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224495360001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:00:13] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-11-05 08:00:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-11-05 08:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40053649526751232,"km_value":40053649526751.234,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952944978613628928,"description":"Unknown IO ID 45"} 
[2026-11-05 08:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224495360001,"power":27539,"unknown_144":206,"unknown_87":12800,"ignition":52,"odometer":null,"unknown_45":8952944978613628928}} 
[2026-11-05 08:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":233203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:00:13] local.INFO: GPS data processed {"connection_id":233203,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:00:13] local.INFO: Acknowledgment sent {"connection_id":233203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:00:14] local.INFO: TCP Data received {"connection_id":233203,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98921b8012d7c4b4005f79748000700aa2c..."} 
[2026-11-05 08:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98921b8012d7c4b4005f79748000700aa2c..."} 
[2026-11-05 08:00:14] local.INFO: Processing buffer {"connection_id":233203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98921b8012d7c4b4005f79748000700aa2c..."} 
[2026-11-05 08:00:14] local.INFO: Packet analysis {"connection_id":233203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a989"} 
[2026-11-05 08:00:14] local.INFO: Extracted packet for processing {"connection_id":233203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a989"} 
[2026-11-05 08:00:14] local.INFO: GPS Element Parsed {"raw_longitude":763120448,"raw_latitude":100112200,"longitude_deg":76.3120448,"latitude_deg":10.01122,"altitude":7,"angle":170,"satellites":44,"speed":54,"hex_longitude":"2d7c4b40","hex_latitude":"05f79748","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224497152001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40054113383219200,"note":"Value kept but may cause issues"} 
[2026-11-05 08:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954704197215592448,"note":"Value kept but may cause issues"} 
[2026-11-05 08:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793845699000,"timestamp_ms":1793845699000,"timestamp_seconds":1793845699,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98921b8"} 
[2026-11-05 08: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-05 08: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-05 08: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-05 08:00:14] 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-05 08: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-05 08: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-05 08:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:00:14] 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-05 08:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224497152001,"66":27843,"144":206,"87":12800,"24":54,"16":40054113383219200,"45":8954704197215592448},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-11-05 08:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224497152001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:00:14] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-11-05 08:00:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-11-05 08:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40054113383219200,"km_value":40054113383219.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954704197215592448,"description":"Unknown IO ID 45"} 
[2026-11-05 08:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224497152001,"power":27843,"unknown_144":206,"unknown_87":12800,"ignition":54,"odometer":null,"unknown_45":8954704197215592448}} 
[2026-11-05 08:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":233203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:00:14] local.INFO: GPS data processed {"connection_id":233203,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:00:14] local.INFO: Acknowledgment sent {"connection_id":233203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:00:18] local.INFO: TCP Data received {"connection_id":229477,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98a5a38012d0b41800702ade8000f008a0a..."} 
[2026-11-05 08:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98a5a38012d0b41800702ade8000f008a0a..."} 
[2026-11-05 08:00:18] local.INFO: Processing buffer {"connection_id":229477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98a5a38012d0b41800702ade8000f008a0a..."} 
[2026-11-05 08:00:18] local.INFO: Packet analysis {"connection_id":229477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98a"} 
[2026-11-05 08:00:18] local.INFO: Extracted packet for processing {"connection_id":229477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98a"} 
[2026-11-05 08:00:18] local.INFO: GPS Element Parsed {"raw_longitude":755712384,"raw_latitude":117616104,"longitude_deg":75.5712384,"latitude_deg":11.7616104,"altitude":15,"angle":138,"satellites":10,"speed":16,"hex_longitude":"2d0b4180","hex_latitude":"0702ade8","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224518144001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39339241846603776,"note":"Value kept but may cause issues"} 
[2026-11-05 08:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":808748006943707136,"note":"Value kept but may cause issues"} 
[2026-11-05 08:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793845779000,"timestamp_ms":1793845779000,"timestamp_seconds":1793845779,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98a5a38"} 
[2026-11-05 08: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-05 08:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08: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":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-11-05 08:00:18] 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-05 08: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-05 08: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-05 08:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229477,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229477,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224518144001,"66":14787,"17":206,"94":11008,"24":16,"16":39339241846603776,"45":808748006943707136},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 08:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224518144001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:00:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39339241846603776,"km_value":39339241846603.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":808748006943707136,"description":"Unknown IO ID 45"} 
[2026-11-05 08:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224518144001,"power":14787,"axis_x":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":808748006943707136}} 
[2026-11-05 08:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":229477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61831,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:00:18] local.INFO: GPS data processed {"connection_id":229477,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:00:18] local.INFO: Acknowledgment sent {"connection_id":229477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:00:45] local.INFO: TCP Data received {"connection_id":233203,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98b0230012d7cb68005f51120000700aa2b..."} 
[2026-11-05 08:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98b0230012d7cb68005f51120000700aa2b..."} 
[2026-11-05 08:00:45] local.INFO: Processing buffer {"connection_id":233203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98b0230012d7cb68005f51120000700aa2b..."} 
[2026-11-05 08:00:45] local.INFO: Packet analysis {"connection_id":233203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98b"} 
[2026-11-05 08:00:45] local.INFO: Extracted packet for processing {"connection_id":233203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98b"} 
[2026-11-05 08:00:45] local.INFO: GPS Element Parsed {"raw_longitude":763147904,"raw_latitude":99946784,"longitude_deg":76.3147904,"latitude_deg":9.9946784,"altitude":7,"angle":170,"satellites":43,"speed":52,"hex_longitude":"2d7cb680","hex_latitude":"05f51120","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224528640001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40058790602604544,"note":"Value kept but may cause issues"} 
[2026-11-05 08:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984822019681159168,"note":"Value kept but may cause issues"} 
[2026-11-05 08:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793845822000,"timestamp_ms":1793845822000,"timestamp_seconds":1793845822,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98b0230"} 
[2026-11-05 08: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-05 08:00: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-05 08: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":15,"data_length":795,"current_offset":136} 
[2026-11-05 08:00: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-05 08: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-05 08: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-05 08:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":233203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":233203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":233203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:00: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-05 08:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224528640001,"66":27865,"165":206,"87":12800,"24":52,"16":40058790602604544,"45":8984822019681159168},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,87,24,16,45]} 
[2026-11-05 08:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224528640001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:00:45] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 08:00:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-11-05 08:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40058790602604544,"km_value":40058790602604.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984822019681159168,"description":"Unknown IO ID 45"} 
[2026-11-05 08:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224528640001,"power":27865,"unknown_165":206,"unknown_87":12800,"ignition":52,"odometer":null,"unknown_45":8984822019681159168}} 
[2026-11-05 08:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":233203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:00:45] local.INFO: GPS data processed {"connection_id":233203,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:00:45] local.INFO: Acknowledgment sent {"connection_id":233203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:00:49] local.INFO: TCP Data received {"connection_id":233205,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233205,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:00:49] local.INFO: Processing buffer {"connection_id":233205,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:00:49] local.INFO: IMEI packet received {"connection_id":233205,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":233205,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:00:52] local.INFO: TCP Data received {"connection_id":233205,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233205,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:00:52] local.INFO: Processing buffer {"connection_id":233205,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:00:52] local.INFO: IMEI packet received {"connection_id":233205,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":233205,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:00:54] local.INFO: TCP Data received {"connection_id":233205,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233205,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:00:54] local.INFO: Processing buffer {"connection_id":233205,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:00:54] local.INFO: IMEI packet received {"connection_id":233205,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":233205,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:00:55] local.INFO: TCP Data received {"connection_id":233205,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98b0de8012d0b93400702a7f8000000620a..."} 
[2026-11-05 08:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98b0de8012d0b93400702a7f8000000620a..."} 
[2026-11-05 08:00:55] local.INFO: Processing buffer {"connection_id":233205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98b0de8012d0b93400702a7f8000000620a..."} 
[2026-11-05 08:00:55] local.INFO: Packet analysis {"connection_id":233205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98b"} 
[2026-11-05 08:00:55] local.INFO: Extracted packet for processing {"connection_id":233205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98b"} 
[2026-11-05 08:00:55] local.INFO: GPS Element Parsed {"raw_longitude":755733312,"raw_latitude":117614584,"longitude_deg":75.5733312,"latitude_deg":11.7614584,"altitude":0,"angle":98,"satellites":10,"speed":24,"hex_longitude":"2d0b9340","hex_latitude":"0702a7f8","is_valid_coordinates":true} 
[2026-11-05 08:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224529664001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39340380012937216,"note":"Value kept but may cause issues"} 
[2026-11-05 08:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":831054898847631360,"note":"Value kept but may cause issues"} 
[2026-11-05 08:00: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-05 08:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793845825000,"timestamp_ms":1793845825000,"timestamp_seconds":1793845825,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98b0de8"} 
[2026-11-05 08:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-05 08:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233205,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233205,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224529664001,"66":14407,"17":206,"94":11008,"24":24,"16":39340380012937216,"45":831054898847631360},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 08:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224529664001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:00:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39340380012937216,"km_value":39340380012937.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":831054898847631360,"description":"Unknown IO ID 45"} 
[2026-11-05 08:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224529664001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":831054898847631360}} 
[2026-11-05 08:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":233205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61833,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:00:55] local.INFO: GPS data processed {"connection_id":233205,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:00:55] local.INFO: Acknowledgment sent {"connection_id":233205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:01:04] local.INFO: TCP Data received {"connection_id":231284,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:01:04] local.INFO: Processing buffer {"connection_id":231284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:01:04] local.INFO: IMEI packet received {"connection_id":231284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":231284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:01:09] local.INFO: TCP Data received {"connection_id":231284,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:01:09] local.INFO: Processing buffer {"connection_id":231284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:01:09] local.INFO: IMEI packet received {"connection_id":231284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":231284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:01:10] local.INFO: TCP Data received {"connection_id":231284,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98b1d88012d7cbcc005f4eba8000700aa2a..."} 
[2026-11-05 08:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98b1d88012d7cbcc005f4eba8000700aa2a..."} 
[2026-11-05 08:01:10] local.INFO: Processing buffer {"connection_id":231284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98b1d88012d7cbcc005f4eba8000700aa2a..."} 
[2026-11-05 08:01:10] local.INFO: Packet analysis {"connection_id":231284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98b"} 
[2026-11-05 08:01:10] local.INFO: Extracted packet for processing {"connection_id":231284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98b"} 
[2026-11-05 08:01:10] local.INFO: GPS Element Parsed {"raw_longitude":763149504,"raw_latitude":99937192,"longitude_deg":76.3149504,"latitude_deg":9.9937192,"altitude":7,"angle":170,"satellites":42,"speed":55,"hex_longitude":"2d7cbcc0","hex_latitude":"05f4eba8","is_valid_coordinates":true} 
[2026-11-05 08:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224530432001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40059258754039808,"note":"Value kept but may cause issues"} 
[2026-11-05 08:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8986510869539135488,"note":"Value kept but may cause issues"} 
[2026-11-05 08:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793845829000,"timestamp_ms":1793845829000,"timestamp_seconds":1793845829,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98b1d88"} 
[2026-11-05 08:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:01: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-05 08:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 08:01: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-05 08:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:01:10] 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-05 08:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224530432001,"66":27767,"165":206,"87":12800,"24":55,"16":40059258754039808,"45":8986510869539135488},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,87,24,16,45]} 
[2026-11-05 08:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224530432001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:01:10] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 08:01:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-11-05 08:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40059258754039808,"km_value":40059258754039.805,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8986510869539135488,"description":"Unknown IO ID 45"} 
[2026-11-05 08:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224530432001,"power":27767,"unknown_165":206,"unknown_87":12800,"ignition":55,"odometer":null,"unknown_45":8986510869539135488}} 
[2026-11-05 08:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":231284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:01:10] local.INFO: GPS data processed {"connection_id":231284,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:01:10] local.INFO: Acknowledgment sent {"connection_id":231284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:01:26] local.INFO: TCP Data received {"connection_id":233205,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98b3cc8012d0babc00702a5d00000006e0a..."} 
[2026-11-05 08:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98b3cc8012d0babc00702a5d00000006e0a..."} 
[2026-11-05 08:01:26] local.INFO: Processing buffer {"connection_id":233205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98b3cc8012d0babc00702a5d00000006e0a..."} 
[2026-11-05 08:01:26] local.INFO: Packet analysis {"connection_id":233205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98b"} 
[2026-11-05 08:01:26] local.INFO: Extracted packet for processing {"connection_id":233205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98b"} 
[2026-11-05 08:01:26] local.INFO: GPS Element Parsed {"raw_longitude":755739584,"raw_latitude":117614032,"longitude_deg":75.5739584,"latitude_deg":11.7614032,"altitude":0,"angle":110,"satellites":10,"speed":11,"hex_longitude":"2d0babc0","hex_latitude":"0702a5d0","is_valid_coordinates":true} 
[2026-11-05 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-05 08:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224531200001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39340676365680640,"note":"Value kept but may cause issues"} 
[2026-11-05 08:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":834080754847184896,"note":"Value kept but may cause issues"} 
[2026-11-05 08:01: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-05 08:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793845837000,"timestamp_ms":1793845837000,"timestamp_seconds":1793845837,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98b3cc8"} 
[2026-11-05 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-05 08:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 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":71,"data_length":795,"current_offset":136} 
[2026-11-05 08:01:26] 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-05 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-05 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-05 08:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233205,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233205,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224531200001,"66":14537,"17":206,"94":11008,"24":11,"16":39340676365680640,"45":834080754847184896},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 08:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224531200001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:01:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39340676365680640,"km_value":39340676365680.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":834080754847184896,"description":"Unknown IO ID 45"} 
[2026-11-05 08:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224531200001,"power":14537,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":834080754847184896}} 
[2026-11-05 08:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":233205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61835,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:01:27] local.INFO: GPS data processed {"connection_id":233205,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:01:27] local.INFO: Acknowledgment sent {"connection_id":233205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:01:54] local.INFO: TCP Data received {"connection_id":231284,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98b38e0012d7cc2c005f4c8b0000700aa2b..."} 
[2026-11-05 08:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98b38e0012d7cc2c005f4c8b0000700aa2b..."} 
[2026-11-05 08:01:54] local.INFO: Processing buffer {"connection_id":231284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98b38e0012d7cc2c005f4c8b0000700aa2b..."} 
[2026-11-05 08:01:54] local.INFO: Packet analysis {"connection_id":231284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98b"} 
[2026-11-05 08:01:54] local.INFO: Extracted packet for processing {"connection_id":231284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98b"} 
[2026-11-05 08:01:54] local.INFO: GPS Element Parsed {"raw_longitude":763151040,"raw_latitude":99928240,"longitude_deg":76.315104,"latitude_deg":9.992824,"altitude":7,"angle":170,"satellites":43,"speed":46,"hex_longitude":"2d7cc2c0","hex_latitude":"05f4c8b0","is_valid_coordinates":true} 
[2026-11-05 08:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224532224001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40059701135671296,"note":"Value kept but may cause issues"} 
[2026-11-05 08:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8988270088141121536,"note":"Value kept but may cause issues"} 
[2026-11-05 08:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793845836000,"timestamp_ms":1793845836000,"timestamp_seconds":1793845836,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98b38e0"} 
[2026-11-05 08:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-05 08:01: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-05 08:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":231284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":231284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":231284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:01:54] 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-05 08:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224532224001,"66":27919,"178":206,"87":12800,"24":46,"16":40059701135671296,"45":8988270088141121536},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,87,24,16,45]} 
[2026-11-05 08:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224532224001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:01:54] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-11-05 08:01:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-11-05 08:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40059701135671296,"km_value":40059701135671.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8988270088141121536,"description":"Unknown IO ID 45"} 
[2026-11-05 08:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224532224001,"power":27919,"unknown_178":206,"unknown_87":12800,"ignition":46,"odometer":null,"unknown_45":8988270088141121536}} 
[2026-11-05 08:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":231284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:01:54] local.INFO: GPS data processed {"connection_id":231284,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:01:54] local.INFO: Acknowledgment sent {"connection_id":231284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:01:58] local.INFO: TCP Data received {"connection_id":233205,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98c5220012d0bf58007029d080001005d0b..."} 
[2026-11-05 08:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98c5220012d0bf58007029d080001005d0b..."} 
[2026-11-05 08:01:58] local.INFO: Processing buffer {"connection_id":233205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98c5220012d0bf58007029d080001005d0b..."} 
[2026-11-05 08:01:58] local.INFO: Packet analysis {"connection_id":233205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98c"} 
[2026-11-05 08:01:58] local.INFO: Extracted packet for processing {"connection_id":233205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98c"} 
[2026-11-05 08:01:58] local.INFO: GPS Element Parsed {"raw_longitude":755758464,"raw_latitude":117611784,"longitude_deg":75.5758464,"latitude_deg":11.7611784,"altitude":1,"angle":93,"satellites":11,"speed":7,"hex_longitude":"2d0bf580","hex_latitude":"07029d08","is_valid_coordinates":true} 
[2026-11-05 08:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224549376001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39341715747766272,"note":"Value kept but may cause issues"} 
[2026-11-05 08:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":858287602843467776,"note":"Value kept but may cause issues"} 
[2026-11-05 08:01:58] 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-05 08:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793845908000,"timestamp_ms":1793845908000,"timestamp_seconds":1793845908,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98c5220"} 
[2026-11-05 08:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-05 08:01:58] 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-05 08:01:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":233205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":233205,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":233205,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:01:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224549376001,"66":14646,"37":206,"94":11008,"24":7,"16":39341715747766272,"45":858287602843467776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224549376001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:01:58] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:01:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39341715747766272,"km_value":39341715747766.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":858287602843467776,"description":"Unknown IO ID 45"} 
[2026-11-05 08:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224549376001,"power":14646,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":858287602843467776}} 
[2026-11-05 08:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":233205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61837,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:01:58] local.INFO: GPS data processed {"connection_id":233205,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:01:58] local.INFO: Acknowledgment sent {"connection_id":233205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:02:09] local.INFO: TCP Data received {"connection_id":233206,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:02:09] local.INFO: Processing buffer {"connection_id":233206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:02:09] local.INFO: IMEI packet received {"connection_id":233206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":233206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:02:09] local.INFO: TCP Data received {"connection_id":233206,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:02:09] local.INFO: Processing buffer {"connection_id":233206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:02:09] local.INFO: IMEI packet received {"connection_id":233206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":233206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:02:14] local.INFO: TCP Data received {"connection_id":233206,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:02:14] local.INFO: Processing buffer {"connection_id":233206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:02:14] local.INFO: IMEI packet received {"connection_id":233206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":233206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:02:15] local.INFO: TCP Data received {"connection_id":233206,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98b5820012d7cc88005f4a3c0000900aa2a..."} 
[2026-11-05 08:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98b5820012d7cc88005f4a3c0000900aa2a..."} 
[2026-11-05 08:02:15] local.INFO: Processing buffer {"connection_id":233206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98b5820012d7cc88005f4a3c0000900aa2a..."} 
[2026-11-05 08:02:15] local.INFO: Packet analysis {"connection_id":233206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98b"} 
[2026-11-05 08:02:15] local.INFO: Extracted packet for processing {"connection_id":233206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98b"} 
[2026-11-05 08:02:15] local.INFO: GPS Element Parsed {"raw_longitude":763152512,"raw_latitude":99918784,"longitude_deg":76.3152512,"latitude_deg":9.9918784,"altitude":9,"angle":170,"satellites":42,"speed":44,"hex_longitude":"2d7cc880","hex_latitude":"05f4a3c0","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224534016001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40060164992139264,"note":"Value kept but may cause issues"} 
[2026-11-05 08:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8989958937999093760,"note":"Value kept but may cause issues"} 
[2026-11-05 08:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793845844000,"timestamp_ms":1793845844000,"timestamp_seconds":1793845844,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98b5820"} 
[2026-11-05 08: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-05 08: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-05 08: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 08:02: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-05 08: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-05 08: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-05 08:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:02:15] 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-05 08:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224534016001,"66":27919,"178":206,"87":12800,"24":44,"16":40060164992139264,"45":8989958937999093760},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,87,24,16,45]} 
[2026-11-05 08:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224534016001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:02:15] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-11-05 08:02:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-11-05 08:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40060164992139264,"km_value":40060164992139.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8989958937999093760,"description":"Unknown IO ID 45"} 
[2026-11-05 08:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224534016001,"power":27919,"unknown_178":206,"unknown_87":12800,"ignition":44,"odometer":null,"unknown_45":8989958937999093760}} 
[2026-11-05 08:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":233206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:02:15] local.INFO: GPS data processed {"connection_id":233206,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:02:15] local.INFO: Acknowledgment sent {"connection_id":233206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:02:17] local.INFO: TCP Data received {"connection_id":233206,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98b7f30012d7ccf0005f47e60000900a82b..."} 
[2026-11-05 08:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98b7f30012d7ccf0005f47e60000900a82b..."} 
[2026-11-05 08:02:17] local.INFO: Processing buffer {"connection_id":233206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98b7f30012d7ccf0005f47e60000900a82b..."} 
[2026-11-05 08:02:17] local.INFO: Packet analysis {"connection_id":233206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98b"} 
[2026-11-05 08:02:17] local.INFO: Extracted packet for processing {"connection_id":233206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98b"} 
[2026-11-05 08:02:17] local.INFO: GPS Element Parsed {"raw_longitude":763154176,"raw_latitude":99909216,"longitude_deg":76.3154176,"latitude_deg":9.9909216,"altitude":9,"angle":168,"satellites":43,"speed":40,"hex_longitude":"2d7ccf00","hex_latitude":"05f47e60","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224536064001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40060633143574528,"note":"Value kept but may cause issues"} 
[2026-11-05 08:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8991577419112759296,"note":"Value kept but may cause issues"} 
[2026-11-05 08:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793845854000,"timestamp_ms":1793845854000,"timestamp_seconds":1793845854,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98b7f30"} 
[2026-11-05 08: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-05 08:02: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-05 08: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":15,"data_length":795,"current_offset":136} 
[2026-11-05 08:02: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-05 08: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-05 08: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-05 08:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":233206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":233206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":233206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:02: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-05 08:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224536064001,"66":27745,"178":206,"87":12800,"24":40,"16":40060633143574528,"45":8991577419112759296},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,87,24,16,45]} 
[2026-11-05 08:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224536064001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:02:17] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-11-05 08:02:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-11-05 08:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40060633143574528,"km_value":40060633143574.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8991577419112759296,"description":"Unknown IO ID 45"} 
[2026-11-05 08:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224536064001,"power":27745,"unknown_178":206,"unknown_87":12800,"ignition":40,"odometer":null,"unknown_45":8991577419112759296}} 
[2026-11-05 08:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":233206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:02:17] local.INFO: GPS data processed {"connection_id":233206,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:02:17] local.INFO: Acknowledgment sent {"connection_id":233206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:02:28] local.INFO: TCP Data received {"connection_id":233205,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98c59f0012d0bf74007029e10000200450b..."} 
[2026-11-05 08:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98c59f0012d0bf74007029e10000200450b..."} 
[2026-11-05 08:02:28] local.INFO: Processing buffer {"connection_id":233205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98c59f0012d0bf74007029e10000200450b..."} 
[2026-11-05 08:02:28] local.INFO: Packet analysis {"connection_id":233205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98c"} 
[2026-11-05 08:02:28] local.INFO: Extracted packet for processing {"connection_id":233205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98c"} 
[2026-11-05 08:02:28] local.INFO: GPS Element Parsed {"raw_longitude":755758912,"raw_latitude":117612048,"longitude_deg":75.5758912,"latitude_deg":11.7612048,"altitude":2,"angle":69,"satellites":11,"speed":11,"hex_longitude":"2d0bf740","hex_latitude":"07029e10","is_valid_coordinates":true} 
[2026-11-05 08:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224552448001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39341741517570048,"note":"Value kept but may cause issues"} 
[2026-11-05 08:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":861735671308290048,"note":"Value kept but may cause issues"} 
[2026-11-05 08:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1793845910000,"timestamp_ms":1793845910000,"timestamp_seconds":1793845910,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98c59f0"} 
[2026-11-05 08:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:02:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-11-05 08:02:28] 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-05 08:02:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":233205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":233205,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":233205,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224552448001,"66":14515,"37":206,"94":11008,"24":11,"16":39341741517570048,"45":861735671308290048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224552448001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:02:28] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:02:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39341741517570048,"km_value":39341741517570.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":861735671308290048,"description":"Unknown IO ID 45"} 
[2026-11-05 08:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224552448001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":861735671308290048}} 
[2026-11-05 08:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":233205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61840,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:02:29] local.INFO: GPS data processed {"connection_id":233205,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:02:29] local.INFO: Acknowledgment sent {"connection_id":233205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:02:49] local.INFO: TCP Data received {"connection_id":233206,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98baa28012d7cd40005f45b30000a00aa28..."} 
[2026-11-05 08:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98baa28012d7cd40005f45b30000a00aa28..."} 
[2026-11-05 08:02:49] local.INFO: Processing buffer {"connection_id":233206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98baa28012d7cd40005f45b30000a00aa28..."} 
[2026-11-05 08:02:49] local.INFO: Packet analysis {"connection_id":233206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98b"} 
[2026-11-05 08:02:49] local.INFO: Extracted packet for processing {"connection_id":233206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98b"} 
[2026-11-05 08:02:49] local.INFO: GPS Element Parsed {"raw_longitude":763155456,"raw_latitude":99900208,"longitude_deg":76.3155456,"latitude_deg":9.9900208,"altitude":10,"angle":170,"satellites":40,"speed":33,"hex_longitude":"2d7cd400","hex_latitude":"05f45b30","is_valid_coordinates":true} 
[2026-11-05 08:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224538624001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40061075525206016,"note":"Value kept but may cause issues"} 
[2026-11-05 08:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993407006458929152,"note":"Value kept but may cause issues"} 
[2026-11-05 08:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793845865000,"timestamp_ms":1793845865000,"timestamp_seconds":1793845865,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98baa28"} 
[2026-11-05 08:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:02: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-05 08:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 08:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":233206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":233206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":233206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:02:49] 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-05 08:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224538624001,"66":27908,"177":206,"87":12800,"24":33,"16":40061075525206016,"45":8993407006458929152},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,87,24,16,45]} 
[2026-11-05 08:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224538624001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:02:49] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-05 08:02:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-11-05 08:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40061075525206016,"km_value":40061075525206.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993407006458929152,"description":"Unknown IO ID 45"} 
[2026-11-05 08:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224538624001,"power":27908,"unknown_177":206,"unknown_87":12800,"ignition":33,"odometer":null,"unknown_45":8993407006458929152}} 
[2026-11-05 08:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":233206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:02:49] local.INFO: GPS data processed {"connection_id":233206,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:02:49] local.INFO: Acknowledgment sent {"connection_id":233206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:02:52] local.INFO: TCP Data received {"connection_id":231286,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231286,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:02:52] local.INFO: Processing buffer {"connection_id":231286,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:02:52] local.INFO: IMEI packet received {"connection_id":231286,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":231286,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:02:54] local.INFO: TCP Data received {"connection_id":231286,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231286,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:02:54] local.INFO: Processing buffer {"connection_id":231286,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:02:54] local.INFO: IMEI packet received {"connection_id":231286,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":231286,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:02:59] local.INFO: TCP Data received {"connection_id":231286,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231286,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:02:59] local.INFO: Processing buffer {"connection_id":231286,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:02:59] local.INFO: IMEI packet received {"connection_id":231286,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":231286,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:02:59] local.INFO: TCP Data received {"connection_id":231286,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98c61c0012d0bf90007029f78000300310b..."} 
[2026-11-05 08:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98c61c0012d0bf90007029f78000300310b..."} 
[2026-11-05 08:02:59] local.INFO: Processing buffer {"connection_id":231286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98c61c0012d0bf90007029f78000300310b..."} 
[2026-11-05 08:02:59] local.INFO: Packet analysis {"connection_id":231286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98c"} 
[2026-11-05 08:02:59] local.INFO: Extracted packet for processing {"connection_id":231286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98c"} 
[2026-11-05 08:02:59] local.INFO: GPS Element Parsed {"raw_longitude":755759360,"raw_latitude":117612408,"longitude_deg":75.575936,"latitude_deg":11.7612408,"altitude":3,"angle":49,"satellites":11,"speed":8,"hex_longitude":"2d0bf900","hex_latitude":"07029f78","is_valid_coordinates":true} 
[2026-11-05 08:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224552960001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39341767287373824,"note":"Value kept but may cause issues"} 
[2026-11-05 08:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862228252517601280,"note":"Value kept but may cause issues"} 
[2026-11-05 08:02: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-05 08:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793845912000,"timestamp_ms":1793845912000,"timestamp_seconds":1793845912,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98c61c0"} 
[2026-11-05 08:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-05 08:02:59] 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-05 08:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":231286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":231286,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":231286,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224552960001,"66":14559,"37":206,"94":11008,"24":8,"16":39341767287373824,"45":862228252517601280},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224552960001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:02:59] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:02:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39341767287373824,"km_value":39341767287373.82,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":862228252517601280,"description":"Unknown IO ID 45"} 
[2026-11-05 08:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224552960001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":862228252517601280}} 
[2026-11-05 08:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":231286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61842,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:03:00] local.INFO: GPS data processed {"connection_id":231286,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:03:00] local.INFO: Acknowledgment sent {"connection_id":231286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:03:09] local.INFO: TCP Data received {"connection_id":233208,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:03:09] local.INFO: Processing buffer {"connection_id":233208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:03:09] local.INFO: IMEI packet received {"connection_id":233208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":233208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:03:23] local.INFO: TCP Data received {"connection_id":233208,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:03:23] local.INFO: Processing buffer {"connection_id":233208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:03:23] local.INFO: IMEI packet received {"connection_id":233208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":233208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:03:24] local.INFO: TCP Data received {"connection_id":233208,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98cdad8012d7d144005f2d270000d00ab2c..."} 
[2026-11-05 08:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98cdad8012d7d144005f2d270000d00ab2c..."} 
[2026-11-05 08:03:24] local.INFO: Processing buffer {"connection_id":233208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98cdad8012d7d144005f2d270000d00ab2c..."} 
[2026-11-05 08:03:24] local.INFO: Packet analysis {"connection_id":233208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98c"} 
[2026-11-05 08:03:24] local.INFO: Extracted packet for processing {"connection_id":233208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98c"} 
[2026-11-05 08:03:24] local.INFO: GPS Element Parsed {"raw_longitude":763171904,"raw_latitude":99799664,"longitude_deg":76.3171904,"latitude_deg":9.9799664,"altitude":13,"angle":171,"satellites":44,"speed":52,"hex_longitude":"2d7d1440","hex_latitude":"05f2d270","is_valid_coordinates":true} 
[2026-11-05 08:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224559616001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40066014737596416,"note":"Value kept but may cause issues"} 
[2026-11-05 08:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011210298710128640,"note":"Value kept but may cause issues"} 
[2026-11-05 08:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793845943000,"timestamp_ms":1793845943000,"timestamp_seconds":1793845943,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98cdad8"} 
[2026-11-05 08:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:03:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 08:03:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:03:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":233208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":233208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":233208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:03:24] 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-05 08:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224559616001,"66":27865,"90":206,"87":13056,"24":52,"16":40066014737596416,"45":9011210298710128640},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,87,24,16,45]} 
[2026-11-05 08:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224559616001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:03:24] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-11-05 08:03:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-11-05 08:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40066014737596416,"km_value":40066014737596.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011210298710128640,"description":"Unknown IO ID 45"} 
[2026-11-05 08:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224559616001,"power":27865,"unknown_90":206,"unknown_87":13056,"ignition":52,"odometer":null,"unknown_45":9011210298710128640}} 
[2026-11-05 08:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":233208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:03:24] local.INFO: GPS data processed {"connection_id":233208,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:03:24] local.INFO: Acknowledgment sent {"connection_id":233208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:03:24] local.INFO: TCP Data received {"connection_id":233208,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98cf630012d7d19c005f2ac50000e00ab2c..."} 
[2026-11-05 08:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98cf630012d7d19c005f2ac50000e00ab2c..."} 
[2026-11-05 08:03:24] local.INFO: Processing buffer {"connection_id":233208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98cf630012d7d19c005f2ac50000e00ab2c..."} 
[2026-11-05 08:03:24] local.INFO: Packet analysis {"connection_id":233208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98c"} 
[2026-11-05 08:03:24] local.INFO: Extracted packet for processing {"connection_id":233208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98c"} 
[2026-11-05 08:03:24] local.INFO: GPS Element Parsed {"raw_longitude":763173312,"raw_latitude":99789904,"longitude_deg":76.3173312,"latitude_deg":9.9789904,"altitude":14,"angle":171,"satellites":44,"speed":57,"hex_longitude":"2d7d19c0","hex_latitude":"05f2ac50","is_valid_coordinates":true} 
[2026-11-05 08:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224561408001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40066491478966272,"note":"Value kept but may cause issues"} 
[2026-11-05 08:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012899148568096768,"note":"Value kept but may cause issues"} 
[2026-11-05 08:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793845950000,"timestamp_ms":1793845950000,"timestamp_seconds":1793845950,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98cf630"} 
[2026-11-05 08:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:03:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 08:03: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-05 08:03:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":233208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":233208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":233208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:03:24] 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-05 08:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224561408001,"66":27865,"28":206,"87":13056,"24":57,"16":40066491478966272,"45":9012899148568096768},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,87,24,16,45]} 
[2026-11-05 08:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224561408001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:03:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 08:03:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-11-05 08:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40066491478966272,"km_value":40066491478966.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012899148568096768,"description":"Unknown IO ID 45"} 
[2026-11-05 08:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224561408001,"power":27865,"unknown_28":206,"unknown_87":13056,"ignition":57,"odometer":null,"unknown_45":9012899148568096768}} 
[2026-11-05 08:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":233208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:03:24] local.INFO: GPS data processed {"connection_id":233208,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:03:24] local.INFO: Acknowledgment sent {"connection_id":233208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:03:30] local.INFO: TCP Data received {"connection_id":231286,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98d4838012d0c27400702ab10000b00640d..."} 
[2026-11-05 08:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98d4838012d0c27400702ab10000b00640d..."} 
[2026-11-05 08:03:30] local.INFO: Processing buffer {"connection_id":231286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98d4838012d0c27400702ab10000b00640d..."} 
[2026-11-05 08:03:30] local.INFO: Packet analysis {"connection_id":231286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98d"} 
[2026-11-05 08:03:30] local.INFO: Extracted packet for processing {"connection_id":231286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98d"} 
[2026-11-05 08:03:30] local.INFO: GPS Element Parsed {"raw_longitude":755771200,"raw_latitude":117615376,"longitude_deg":75.57712,"latitude_deg":11.7615376,"altitude":11,"angle":100,"satellites":13,"speed":9,"hex_longitude":"2d0c2740","hex_latitude":"0702ab10","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224568064001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39342390057631744,"note":"Value kept but may cause issues"} 
[2026-11-05 08:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875246470191384576,"note":"Value kept but may cause issues"} 
[2026-11-05 08:03: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-05 08:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793845971000,"timestamp_ms":1793845971000,"timestamp_seconds":1793845971,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98d4838"} 
[2026-11-05 08: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-05 08:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-11-05 08:03:30] 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-05 08: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-05 08: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-05 08:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":231286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":231286,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":231286,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224568064001,"66":14461,"37":206,"94":11008,"24":9,"16":39342390057631744,"45":875246470191384576},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224568064001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:03:30] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:03:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39342390057631744,"km_value":39342390057631.74,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":875246470191384576,"description":"Unknown IO ID 45"} 
[2026-11-05 08:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224568064001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":875246470191384576}} 
[2026-11-05 08:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":231286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61845,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:03:31] local.INFO: GPS data processed {"connection_id":231286,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:03:31] local.INFO: Acknowledgment sent {"connection_id":231286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:03:49] local.INFO: TCP Data received {"connection_id":233209,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233209,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:03:49] local.INFO: Processing buffer {"connection_id":233209,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:03:49] local.INFO: IMEI packet received {"connection_id":233209,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":233209,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:03:54] local.INFO: TCP Data received {"connection_id":233209,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233209,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:03:54] local.INFO: Processing buffer {"connection_id":233209,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:03:54] local.INFO: IMEI packet received {"connection_id":233209,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":233209,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:03:55] local.INFO: TCP Data received {"connection_id":233209,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98d9658012d0c29c00702ab00000c005910..."} 
[2026-11-05 08:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98d9658012d0c29c00702ab00000c005910..."} 
[2026-11-05 08:03:55] local.INFO: Processing buffer {"connection_id":233209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98d9658012d0c29c00702ab00000c005910..."} 
[2026-11-05 08:03:55] local.INFO: Packet analysis {"connection_id":233209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98d"} 
[2026-11-05 08:03:55] local.INFO: Extracted packet for processing {"connection_id":233209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98d"} 
[2026-11-05 08:03:55] local.INFO: GPS Element Parsed {"raw_longitude":755771840,"raw_latitude":117615360,"longitude_deg":75.577184,"latitude_deg":11.761536,"altitude":12,"angle":89,"satellites":16,"speed":0,"hex_longitude":"2d0c29c0","hex_latitude":"0702ab00","is_valid_coordinates":true} 
[2026-11-05 08:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224568576001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39342424417370112,"note":"Value kept but may cause issues"} 
[2026-11-05 08:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875739051400564736,"note":"Value kept but may cause issues"} 
[2026-11-05 08:03: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-05 08:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793845991000,"timestamp_ms":1793845991000,"timestamp_seconds":1793845991,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98d9658"} 
[2026-11-05 08:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:03: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-05 08:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-05 08:03:55] 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-05 08:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233209,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233209,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224568576001,"66":14559,"37":206,"94":11008,"24":0,"16":39342424417370112,"45":875739051400564736},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224568576001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:03:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:03:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39342424417370112,"km_value":39342424417370.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":875739051400564736,"description":"Unknown IO ID 45"} 
[2026-11-05 08:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224568576001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":875739051400564736}} 
[2026-11-05 08:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":233209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61846,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:03:55] local.INFO: GPS data processed {"connection_id":233209,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:03:55] local.INFO: Acknowledgment sent {"connection_id":233209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:04:04] local.INFO: TCP Data received {"connection_id":229479,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:04:04] local.INFO: Processing buffer {"connection_id":229479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:04:04] local.INFO: IMEI packet received {"connection_id":229479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":229479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:04:09] local.INFO: TCP Data received {"connection_id":229479,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:04:09] local.INFO: Processing buffer {"connection_id":229479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:04:09] local.INFO: IMEI packet received {"connection_id":229479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":229479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:04:10] local.INFO: TCP Data received {"connection_id":229479,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98d0da0012d7d1d4005f28928000e00af2a..."} 
[2026-11-05 08:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98d0da0012d7d1d4005f28928000e00af2a..."} 
[2026-11-05 08:04:10] local.INFO: Processing buffer {"connection_id":229479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98d0da0012d7d1d4005f28928000e00af2a..."} 
[2026-11-05 08:04:10] local.INFO: Packet analysis {"connection_id":229479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98d"} 
[2026-11-05 08:04:10] local.INFO: Extracted packet for processing {"connection_id":229479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98d"} 
[2026-11-05 08:04:10] local.INFO: GPS Element Parsed {"raw_longitude":763174208,"raw_latitude":99780904,"longitude_deg":76.3174208,"latitude_deg":9.9780904,"altitude":14,"angle":175,"satellites":42,"speed":59,"hex_longitude":"2d7d1d40","hex_latitude":"05f28928","is_valid_coordinates":true} 
[2026-11-05 08:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224563200001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40066929565630464,"note":"Value kept but may cause issues"} 
[2026-11-05 08:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014447260937506816,"note":"Value kept but may cause issues"} 
[2026-11-05 08:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793845956000,"timestamp_ms":1793845956000,"timestamp_seconds":1793845956,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98d0da0"} 
[2026-11-05 08:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:04: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-05 08:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 08:04: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-05 08:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:04:10] 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-05 08:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224563200001,"66":27865,"28":206,"87":13056,"24":59,"16":40066929565630464,"45":9014447260937506816},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,87,24,16,45]} 
[2026-11-05 08:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224563200001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:04:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 08:04:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-11-05 08:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40066929565630464,"km_value":40066929565630.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014447260937506816,"description":"Unknown IO ID 45"} 
[2026-11-05 08:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224563200001,"power":27865,"unknown_28":206,"unknown_87":13056,"ignition":59,"odometer":null,"unknown_45":9014447260937506816}} 
[2026-11-05 08:04:10] 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":61847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:04:10] local.INFO: GPS data processed {"connection_id":229479,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:04:10] local.INFO: Acknowledgment sent {"connection_id":229479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:04:26] local.INFO: TCP Data received {"connection_id":233209,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98dc920012d0c2c000702aad8000c003f13..."} 
[2026-11-05 08:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98dc920012d0c2c000702aad8000c003f13..."} 
[2026-11-05 08:04:26] local.INFO: Processing buffer {"connection_id":233209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98dc920012d0c2c000702aad8000c003f13..."} 
[2026-11-05 08:04:26] local.INFO: Packet analysis {"connection_id":233209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98d"} 
[2026-11-05 08:04:26] local.INFO: Extracted packet for processing {"connection_id":233209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98d"} 
[2026-11-05 08:04:26] local.INFO: GPS Element Parsed {"raw_longitude":755772416,"raw_latitude":117615320,"longitude_deg":75.5772416,"latitude_deg":11.761532,"altitude":12,"angle":63,"satellites":19,"speed":5,"hex_longitude":"2d0c2c00","hex_latitude":"0702aad8","is_valid_coordinates":true} 
[2026-11-05 08:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224573696001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39342450187173888,"note":"Value kept but may cause issues"} 
[2026-11-05 08:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876442738842337280,"note":"Value kept but may cause issues"} 
[2026-11-05 08:04: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-05 08:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793846004000,"timestamp_ms":1793846004000,"timestamp_seconds":1793846004,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98dc920"} 
[2026-11-05 08:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:04: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-05 08:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-05 08:04: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-05 08:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233209,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233209,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224573696001,"66":14559,"37":206,"94":11008,"24":5,"16":39342450187173888,"45":876442738842337280},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224573696001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:04:26] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:04:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39342450187173888,"km_value":39342450187173.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":876442738842337280,"description":"Unknown IO ID 45"} 
[2026-11-05 08:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224573696001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":876442738842337280}} 
[2026-11-05 08:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":233209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61848,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:04:26] local.INFO: GPS data processed {"connection_id":233209,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:04:26] local.INFO: Acknowledgment sent {"connection_id":233209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:04:32] local.INFO: TCP Data received {"connection_id":231287,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:04:32] local.INFO: Processing buffer {"connection_id":231287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:04:32] local.INFO: IMEI packet received {"connection_id":231287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 08:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":231287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:04:41] local.INFO: TCP Data received {"connection_id":229479,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98d2510012d7d20c005f26638000e00ab2a..."} 
[2026-11-05 08:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98d2510012d7d20c005f26638000e00ab2a..."} 
[2026-11-05 08:04:41] local.INFO: Processing buffer {"connection_id":229479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98d2510012d7d20c005f26638000e00ab2a..."} 
[2026-11-05 08:04:41] local.INFO: Packet analysis {"connection_id":229479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98d"} 
[2026-11-05 08:04:41] local.INFO: Extracted packet for processing {"connection_id":229479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98d"} 
[2026-11-05 08:04:41] local.INFO: GPS Element Parsed {"raw_longitude":763175104,"raw_latitude":99771960,"longitude_deg":76.3175104,"latitude_deg":9.977196,"altitude":14,"angle":171,"satellites":42,"speed":58,"hex_longitude":"2d7d20c0","hex_latitude":"05f26638","is_valid_coordinates":true} 
[2026-11-05 08:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224564736001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40067367652294656,"note":"Value kept but may cause issues"} 
[2026-11-05 08:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015432423353690112,"note":"Value kept but may cause issues"} 
[2026-11-05 08:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793845962000,"timestamp_ms":1793845962000,"timestamp_seconds":1793845962,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98d2510"} 
[2026-11-05 08:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:04: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-05 08:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 08:04: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-05 08:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:04:41] 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-05 08:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224564736001,"66":27930,"28":206,"87":13056,"24":58,"16":40067367652294656,"45":9015432423353690112},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,87,24,16,45]} 
[2026-11-05 08:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224564736001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:04:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 08:04:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-11-05 08:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40067367652294656,"km_value":40067367652294.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015432423353690112,"description":"Unknown IO ID 45"} 
[2026-11-05 08:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224564736001,"power":27930,"unknown_28":206,"unknown_87":13056,"ignition":58,"odometer":null,"unknown_45":9015432423353690112}} 
[2026-11-05 08:04: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":61849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:04:41] local.INFO: GPS data processed {"connection_id":229479,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:04:41] local.INFO: Acknowledgment sent {"connection_id":229479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:04:49] local.INFO: TCP Data received {"connection_id":229984,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229984,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:04:49] local.INFO: Processing buffer {"connection_id":229984,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:04:49] local.INFO: IMEI packet received {"connection_id":229984,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":229984,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:04:54] local.INFO: TCP Data received {"connection_id":229984,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229984,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:04:54] local.INFO: Processing buffer {"connection_id":229984,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:04:54] local.INFO: IMEI packet received {"connection_id":229984,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":229984,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:04:55] local.INFO: TCP Data received {"connection_id":229984,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98de090012d0c2e400702ac30000d004d13..."} 
[2026-11-05 08:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98de090012d0c2e400702ac30000d004d13..."} 
[2026-11-05 08:04:55] local.INFO: Processing buffer {"connection_id":229984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98de090012d0c2e400702ac30000d004d13..."} 
[2026-11-05 08:04:55] local.INFO: Packet analysis {"connection_id":229984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98d"} 
[2026-11-05 08:04:55] local.INFO: Extracted packet for processing {"connection_id":229984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98d"} 
[2026-11-05 08:04:55] local.INFO: GPS Element Parsed {"raw_longitude":755772992,"raw_latitude":117615664,"longitude_deg":75.5772992,"latitude_deg":11.7615664,"altitude":13,"angle":77,"satellites":19,"speed":5,"hex_longitude":"2d0c2e40","hex_latitude":"0702ac30","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224577024001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39342484546912256,"note":"Value kept but may cause issues"} 
[2026-11-05 08:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":877076057539926016,"note":"Value kept but may cause issues"} 
[2026-11-05 08:04: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-05 08:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793846010000,"timestamp_ms":1793846010000,"timestamp_seconds":1793846010,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98de090"} 
[2026-11-05 08: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-05 08:04: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-05 08: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-05 08:04: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-05 08: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-05 08: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-05 08:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229984,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229984,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224577024001,"66":14537,"37":206,"94":11008,"24":5,"16":39342484546912256,"45":877076057539926016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224577024001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:04:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:04:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39342484546912256,"km_value":39342484546912.26,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":877076057539926016,"description":"Unknown IO ID 45"} 
[2026-11-05 08:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224577024001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":877076057539926016}} 
[2026-11-05 08:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":229984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61850,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:04:55] local.INFO: GPS data processed {"connection_id":229984,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:04:55] local.INFO: Acknowledgment sent {"connection_id":229984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:05:04] local.INFO: TCP Data received {"connection_id":231289,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:05:04] local.INFO: Processing buffer {"connection_id":231289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:05:04] local.INFO: IMEI packet received {"connection_id":231289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 08:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":231289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:05:07] local.INFO: TCP Data received {"connection_id":231289,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:05:07] local.INFO: Processing buffer {"connection_id":231289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:05:07] local.INFO: IMEI packet received {"connection_id":231289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 08:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":231289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:05:08] local.INFO: TCP Data received {"connection_id":231288,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:05:08] local.INFO: Processing buffer {"connection_id":231288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:05:08] local.INFO: IMEI packet received {"connection_id":231288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":231288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:05:09] local.INFO: TCP Data received {"connection_id":231288,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:05:09] local.INFO: Processing buffer {"connection_id":231288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:05:09] local.INFO: IMEI packet received {"connection_id":231288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":231288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:05:11] local.INFO: TCP Data received {"connection_id":231289,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:05:11] local.INFO: Processing buffer {"connection_id":231289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:05:11] local.INFO: IMEI packet received {"connection_id":231289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 08:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":231289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:05:18] local.INFO: TCP Data received {"connection_id":231288,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:05:18] local.INFO: Processing buffer {"connection_id":231288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:05:18] local.INFO: IMEI packet received {"connection_id":231288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":231288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:05:22] local.INFO: TCP Data received {"connection_id":231288,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98e6178012d7d410005f0d150000c00b22f..."} 
[2026-11-05 08:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98e6178012d7d410005f0d150000c00b22f..."} 
[2026-11-05 08:05:22] local.INFO: Processing buffer {"connection_id":231288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98e6178012d7d410005f0d150000c00b22f..."} 
[2026-11-05 08:05:22] local.INFO: Packet analysis {"connection_id":231288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98e"} 
[2026-11-05 08:05:22] local.INFO: Extracted packet for processing {"connection_id":231288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98e"} 
[2026-11-05 08:05:22] local.INFO: GPS Element Parsed {"raw_longitude":763183360,"raw_latitude":99668304,"longitude_deg":76.318336,"latitude_deg":9.9668304,"altitude":12,"angle":178,"satellites":47,"speed":55,"hex_longitude":"2d7d4100","hex_latitude":"05f0d150","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224585216001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40072409943900160,"note":"Value kept but may cause issues"} 
[2026-11-05 08:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025072941279608832,"note":"Value kept but may cause issues"} 
[2026-11-05 08:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793846043000,"timestamp_ms":1793846043000,"timestamp_seconds":1793846043,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98e6178"} 
[2026-11-05 08: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-05 08:05: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-05 08:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 08:05: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-05 08: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-05 08: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-05 08:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":231288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":231288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":231288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:05: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-05 08:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224585216001,"66":27865,"117":206,"87":11264,"24":55,"16":40072409943900160,"45":9025072941279608832},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-11-05 08:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224585216001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:05:22] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-11-05 08:05:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-11-05 08:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40072409943900160,"km_value":40072409943900.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025072941279608832,"description":"Unknown IO ID 45"} 
[2026-11-05 08:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224585216001,"power":27865,"unknown_117":206,"unknown_87":11264,"ignition":55,"odometer":null,"unknown_45":9025072941279608832}} 
[2026-11-05 08:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":231288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:05:22] local.INFO: GPS data processed {"connection_id":231288,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:05:22] local.INFO: Acknowledgment sent {"connection_id":231288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:05:26] local.INFO: TCP Data received {"connection_id":229984,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98dfbe8012d0c35400702ad40000e005913..."} 
[2026-11-05 08:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98dfbe8012d0c35400702ad40000e005913..."} 
[2026-11-05 08:05:26] local.INFO: Processing buffer {"connection_id":229984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98dfbe8012d0c35400702ad40000e005913..."} 
[2026-11-05 08:05:26] local.INFO: Packet analysis {"connection_id":229984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98d"} 
[2026-11-05 08:05:26] local.INFO: Extracted packet for processing {"connection_id":229984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98d"} 
[2026-11-05 08:05:26] local.INFO: GPS Element Parsed {"raw_longitude":755774784,"raw_latitude":117615936,"longitude_deg":75.5774784,"latitude_deg":11.7615936,"altitude":14,"angle":89,"satellites":19,"speed":8,"hex_longitude":"2d0c3540","hex_latitude":"0702ad40","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224578560001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39342570446258176,"note":"Value kept but may cause issues"} 
[2026-11-05 08:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":877709376237613056,"note":"Value kept but may cause issues"} 
[2026-11-05 08:05: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-05 08:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793846017000,"timestamp_ms":1793846017000,"timestamp_seconds":1793846017,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98dfbe8"} 
[2026-11-05 08: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-05 08:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-05 08:05:26] 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-05 08: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-05 08: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-05 08:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229984,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229984,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224578560001,"66":14428,"37":206,"94":11008,"24":8,"16":39342570446258176,"45":877709376237613056},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224578560001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:05:26] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:05:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39342570446258176,"km_value":39342570446258.18,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":877709376237613056,"description":"Unknown IO ID 45"} 
[2026-11-05 08:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224578560001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":877709376237613056}} 
[2026-11-05 08:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":229984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61852,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:05:27] local.INFO: GPS data processed {"connection_id":229984,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:05:27] local.INFO: Acknowledgment sent {"connection_id":229984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:05:37] local.INFO: TCP Data received {"connection_id":231288,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98e7cd0012d7d418005f0ab80000a00b12f..."} 
[2026-11-05 08:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98e7cd0012d7d418005f0ab80000a00b12f..."} 
[2026-11-05 08:05:37] local.INFO: Processing buffer {"connection_id":231288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98e7cd0012d7d418005f0ab80000a00b12f..."} 
[2026-11-05 08:05:37] local.INFO: Packet analysis {"connection_id":231288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98e"} 
[2026-11-05 08:05:37] local.INFO: Extracted packet for processing {"connection_id":231288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98e"} 
[2026-11-05 08:05:37] local.INFO: GPS Element Parsed {"raw_longitude":763183488,"raw_latitude":99658624,"longitude_deg":76.3183488,"latitude_deg":9.9658624,"altitude":10,"angle":177,"satellites":47,"speed":59,"hex_longitude":"2d7d4180","hex_latitude":"05f0ab80","is_valid_coordinates":true} 
[2026-11-05 08:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224587008001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40072882390302720,"note":"Value kept but may cause issues"} 
[2026-11-05 08:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025495153742270464,"note":"Value kept but may cause issues"} 
[2026-11-05 08:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793846050000,"timestamp_ms":1793846050000,"timestamp_seconds":1793846050,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98e7cd0"} 
[2026-11-05 08:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:05: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-05 08:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 08:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":231288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":231288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":231288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:05:37] 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-05 08:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224587008001,"66":27865,"117":206,"87":11264,"24":59,"16":40072882390302720,"45":9025495153742270464},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-11-05 08:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224587008001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:05:37] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-11-05 08:05:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-11-05 08:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40072882390302720,"km_value":40072882390302.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025495153742270464,"description":"Unknown IO ID 45"} 
[2026-11-05 08:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224587008001,"power":27865,"unknown_117":206,"unknown_87":11264,"ignition":59,"odometer":null,"unknown_45":9025495153742270464}} 
[2026-11-05 08:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":231288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:05:37] local.INFO: GPS data processed {"connection_id":231288,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:05:37] local.INFO: Acknowledgment sent {"connection_id":231288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:05:54] local.INFO: TCP Data received {"connection_id":229480,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229480,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:05:54] local.INFO: Processing buffer {"connection_id":229480,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:05:54] local.INFO: IMEI packet received {"connection_id":229480,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":229480,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:05:59] local.INFO: TCP Data received {"connection_id":229480,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229480,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:05:59] local.INFO: Processing buffer {"connection_id":229480,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:05:59] local.INFO: IMEI packet received {"connection_id":229480,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":229480,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:06:00] local.INFO: TCP Data received {"connection_id":229480,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98e07a0012d0c37800702adb8000e004d13..."} 
[2026-11-05 08:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98e07a0012d0c37800702adb8000e004d13..."} 
[2026-11-05 08:06:00] local.INFO: Processing buffer {"connection_id":229480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98e07a0012d0c37800702adb8000e004d13..."} 
[2026-11-05 08:06:00] local.INFO: Packet analysis {"connection_id":229480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98e"} 
[2026-11-05 08:06:00] local.INFO: Extracted packet for processing {"connection_id":229480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98e"} 
[2026-11-05 08:06:00] local.INFO: GPS Element Parsed {"raw_longitude":755775360,"raw_latitude":117616056,"longitude_deg":75.577536,"latitude_deg":11.7616056,"altitude":14,"angle":77,"satellites":19,"speed":7,"hex_longitude":"2d0c3780","hex_latitude":"0702adb8","is_valid_coordinates":true} 
[2026-11-05 08:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224580352001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39342600511029248,"note":"Value kept but may cause issues"} 
[2026-11-05 08:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":879679701074657280,"note":"Value kept but may cause issues"} 
[2026-11-05 08:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793846020000,"timestamp_ms":1793846020000,"timestamp_seconds":1793846020,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98e07a0"} 
[2026-11-05 08:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 08:06: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-05 08:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":229480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":229480,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":229480,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224580352001,"66":14515,"37":206,"94":11008,"24":7,"16":39342600511029248,"45":879679701074657280},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224580352001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:06:00] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:06:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39342600511029248,"km_value":39342600511029.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":879679701074657280,"description":"Unknown IO ID 45"} 
[2026-11-05 08:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224580352001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":879679701074657280}} 
[2026-11-05 08:06:00] 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":61854,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:06:00] local.INFO: GPS data processed {"connection_id":229480,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:06:00] local.INFO: Acknowledgment sent {"connection_id":229480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:06:08] local.INFO: TCP Data received {"connection_id":231290,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:06:08] local.INFO: Processing buffer {"connection_id":231290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:06:08] local.INFO: IMEI packet received {"connection_id":231290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":231290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:06:09] local.INFO: TCP Data received {"connection_id":231290,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:06:09] local.INFO: Processing buffer {"connection_id":231290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:06:09] local.INFO: IMEI packet received {"connection_id":231290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":231290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:06:16] local.INFO: TCP Data received {"connection_id":231290,"ip":"42.109.136.11","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a9..."} 
[2026-11-05 08:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231290,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a9..."} 
[2026-11-05 08:06:16] local.INFO: Processing buffer {"connection_id":231290,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a9..."} 
[2026-11-05 08:06:16] local.INFO: IMEI packet received {"connection_id":231290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":231290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:06:17] local.INFO: TCP Data received {"connection_id":231290,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98eabb0012d7d454005f064e8000900b02e..."} 
[2026-11-05 08:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98eabb0012d7d454005f064e8000900b02e..."} 
[2026-11-05 08:06:17] local.INFO: Processing buffer {"connection_id":231290,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1a98e9440012d7d438005f087b8000a00b12d..."} 
[2026-11-05 08:06:17] local.INFO: Packet analysis {"connection_id":231290,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1a98e"} 
[2026-11-05 08:06:17] local.INFO: Extracted packet for processing {"connection_id":231290,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98e"} 
[2026-11-05 08:06:17] local.INFO: GPS Element Parsed {"raw_longitude":763184000,"raw_latitude":99649464,"longitude_deg":76.3184,"latitude_deg":9.9649464,"altitude":10,"angle":177,"satellites":45,"speed":59,"hex_longitude":"2d7d4380","hex_latitude":"05f087b8","is_valid_coordinates":true} 
[2026-11-05 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-05 08:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224588800001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40073324771934208,"note":"Value kept but may cause issues"} 
[2026-11-05 08:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025635891228147712,"note":"Value kept but may cause issues"} 
[2026-11-05 08:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793846056000,"timestamp_ms":1793846056000,"timestamp_seconds":1793846056,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98e9440"} 
[2026-11-05 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-05 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-05 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 08:06: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-05 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-05 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-05 08:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":231290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":231290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":231290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:06: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-05 08:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224588800001,"66":27843,"108":206,"87":11264,"24":59,"16":40073324771934208,"45":9025635891228147712},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-11-05 08:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224588800001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:06:17] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-11-05 08:06:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-11-05 08:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40073324771934208,"km_value":40073324771934.21,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025635891228147712,"description":"Unknown IO ID 45"} 
[2026-11-05 08:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224588800001,"power":27843,"unknown_108":206,"unknown_87":11264,"ignition":59,"odometer":null,"unknown_45":9025635891228147712}} 
[2026-11-05 08:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":231290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:06:17] local.INFO: GPS data processed {"connection_id":231290,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:06:17] local.INFO: Acknowledgment sent {"connection_id":231290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:06:17] local.INFO: Packet analysis {"connection_id":231290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98e"} 
[2026-11-05 08:06:17] local.INFO: Extracted packet for processing {"connection_id":231290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98e"} 
[2026-11-05 08:06:17] local.INFO: GPS Element Parsed {"raw_longitude":763184448,"raw_latitude":99640552,"longitude_deg":76.3184448,"latitude_deg":9.9640552,"altitude":9,"angle":176,"satellites":46,"speed":59,"hex_longitude":"2d7d4540","hex_latitude":"05f064e8","is_valid_coordinates":true} 
[2026-11-05 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-05 08:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224590336001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40073758563631104,"note":"Value kept but may cause issues"} 
[2026-11-05 08:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026198841179224064,"note":"Value kept but may cause issues"} 
[2026-11-05 08:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793846062000,"timestamp_ms":1793846062000,"timestamp_seconds":1793846062,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98eabb0"} 
[2026-11-05 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-05 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-05 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-05 08:06: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-05 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-05 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-05 08:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":231290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":231290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":231290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:06: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-05 08:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224590336001,"66":27876,"108":206,"87":11264,"24":59,"16":40073758563631104,"45":9026198841179224064},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-11-05 08:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224590336001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:06:17] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-11-05 08:06:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-11-05 08:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40073758563631104,"km_value":40073758563631.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026198841179224064,"description":"Unknown IO ID 45"} 
[2026-11-05 08:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224590336001,"power":27876,"unknown_108":206,"unknown_87":11264,"ignition":59,"odometer":null,"unknown_45":9026198841179224064}} 
[2026-11-05 08:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":231290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:06:17] local.INFO: GPS data processed {"connection_id":231290,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:06:17] local.INFO: Acknowledgment sent {"connection_id":231290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:06:18] local.INFO: TCP Data received {"connection_id":231290,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98ec708012d7d470005f03d70000900b330..."} 
[2026-11-05 08:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98ec708012d7d470005f03d70000900b330..."} 
[2026-11-05 08:06:18] local.INFO: Processing buffer {"connection_id":231290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98ec708012d7d470005f03d70000900b330..."} 
[2026-11-05 08:06:18] local.INFO: Packet analysis {"connection_id":231290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98e"} 
[2026-11-05 08:06:18] local.INFO: Extracted packet for processing {"connection_id":231290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98e"} 
[2026-11-05 08:06:18] local.INFO: GPS Element Parsed {"raw_longitude":763184896,"raw_latitude":99630448,"longitude_deg":76.3184896,"latitude_deg":9.9630448,"altitude":9,"angle":179,"satellites":48,"speed":51,"hex_longitude":"2d7d4700","hex_latitude":"05f03d70","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224591872001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40074248189902848,"note":"Value kept but may cause issues"} 
[2026-11-05 08:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026691422386186240,"note":"Value kept but may cause issues"} 
[2026-11-05 08:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793846069000,"timestamp_ms":1793846069000,"timestamp_seconds":1793846069,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98ec708"} 
[2026-11-05 08: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-05 08:06: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-05 08: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-05 08:06: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-05 08: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-05 08: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-05 08:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":231290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":231290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":231290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:06: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-05 08:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224591872001,"66":27821,"108":206,"87":11264,"24":51,"16":40074248189902848,"45":9026691422386186240},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-11-05 08:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224591872001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:06:18] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-11-05 08:06:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-11-05 08:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40074248189902848,"km_value":40074248189902.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026691422386186240,"description":"Unknown IO ID 45"} 
[2026-11-05 08:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224591872001,"power":27821,"unknown_108":206,"unknown_87":11264,"ignition":51,"odometer":null,"unknown_45":9026691422386186240}} 
[2026-11-05 08:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":231290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:06:18] local.INFO: GPS data processed {"connection_id":231290,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:06:18] local.INFO: Acknowledgment sent {"connection_id":231290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:06:31] local.INFO: TCP Data received {"connection_id":229480,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98e55c0012d0c48c00702b3280015005413..."} 
[2026-11-05 08:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98e55c0012d0c48c00702b3280015005413..."} 
[2026-11-05 08:06:31] local.INFO: Processing buffer {"connection_id":229480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98e55c0012d0c48c00702b3280015005413..."} 
[2026-11-05 08:06:31] local.INFO: Packet analysis {"connection_id":229480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98e"} 
[2026-11-05 08:06:31] local.INFO: Extracted packet for processing {"connection_id":229480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98e"} 
[2026-11-05 08:06:31] local.INFO: GPS Element Parsed {"raw_longitude":755779776,"raw_latitude":117617448,"longitude_deg":75.5779776,"latitude_deg":11.7617448,"altitude":21,"angle":84,"satellites":19,"speed":8,"hex_longitude":"2d0c48c0","hex_latitude":"0702b328","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224581120001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39342823849328640,"note":"Value kept but may cause issues"} 
[2026-11-05 08:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880313019772286976,"note":"Value kept but may cause issues"} 
[2026-11-05 08:06:31] 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-05 08:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793846040000,"timestamp_ms":1793846040000,"timestamp_seconds":1793846040,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98e55c0"} 
[2026-11-05 08: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-05 08:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-05 08:06:31] 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-05 08: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-05 08: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-05 08:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":229480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":229480,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":229480,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224581120001,"66":14515,"37":206,"94":11008,"24":8,"16":39342823849328640,"45":880313019772286976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224581120001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:06:31] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:06:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39342823849328640,"km_value":39342823849328.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":880313019772286976,"description":"Unknown IO ID 45"} 
[2026-11-05 08:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224581120001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":880313019772286976}} 
[2026-11-05 08:06:31] 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":61858,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:06:31] local.INFO: GPS data processed {"connection_id":229480,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:06:31] local.INFO: Acknowledgment sent {"connection_id":229480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:06:49] local.INFO: TCP Data received {"connection_id":233211,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233211,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:06:49] local.INFO: Processing buffer {"connection_id":233211,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:06:49] local.INFO: IMEI packet received {"connection_id":233211,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":233211,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:06:54] local.INFO: TCP Data received {"connection_id":233211,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233211,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:06:54] local.INFO: Processing buffer {"connection_id":233211,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:06:54] local.INFO: IMEI packet received {"connection_id":233211,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":233211,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:06:55] local.INFO: TCP Data received {"connection_id":233211,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98e5d90012d0c4ac00702b3080015006313..."} 
[2026-11-05 08:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98e5d90012d0c4ac00702b3080015006313..."} 
[2026-11-05 08:06:55] local.INFO: Processing buffer {"connection_id":233211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98e5d90012d0c4ac00702b3080015006313..."} 
[2026-11-05 08:06:55] local.INFO: Packet analysis {"connection_id":233211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98e"} 
[2026-11-05 08:06:55] local.INFO: Extracted packet for processing {"connection_id":233211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98e"} 
[2026-11-05 08:06:55] local.INFO: GPS Element Parsed {"raw_longitude":755780288,"raw_latitude":117617416,"longitude_deg":75.5780288,"latitude_deg":11.7617416,"altitude":21,"angle":99,"satellites":19,"speed":8,"hex_longitude":"2d0c4ac0","hex_latitude":"0702b308","is_valid_coordinates":true} 
[2026-11-05 08:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224586240001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39342845324165120,"note":"Value kept but may cause issues"} 
[2026-11-05 08:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885168463120902144,"note":"Value kept but may cause issues"} 
[2026-11-05 08:06: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-05 08:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793846042000,"timestamp_ms":1793846042000,"timestamp_seconds":1793846042,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98e5d90"} 
[2026-11-05 08:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-05 08:06:55] 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-05 08:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233211,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233211,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224586240001,"66":14559,"37":206,"94":11008,"24":8,"16":39342845324165120,"45":885168463120902144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224586240001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:06:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:06:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39342845324165120,"km_value":39342845324165.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":885168463120902144,"description":"Unknown IO ID 45"} 
[2026-11-05 08:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224586240001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":885168463120902144}} 
[2026-11-05 08:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":233211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61859,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:06:55] local.INFO: GPS data processed {"connection_id":233211,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:06:55] local.INFO: Acknowledgment sent {"connection_id":233211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:07:04] local.INFO: TCP Data received {"connection_id":229986,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:07:04] local.INFO: Processing buffer {"connection_id":229986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:07:04] local.INFO: IMEI packet received {"connection_id":229986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":229986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:07:04] local.INFO: TCP Data received {"connection_id":229986,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:07:05] local.INFO: Processing buffer {"connection_id":229986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:07:05] local.INFO: IMEI packet received {"connection_id":229986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":229986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:07:09] local.INFO: TCP Data received {"connection_id":229986,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:07:09] local.INFO: Processing buffer {"connection_id":229986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:07:09] local.INFO: IMEI packet received {"connection_id":229986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":229986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:07:10] local.INFO: TCP Data received {"connection_id":229986,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a99016f8012d7d43c005ee7f58000b00b532..."} 
[2026-11-05 08:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a99016f8012d7d43c005ee7f58000b00b532..."} 
[2026-11-05 08:07:10] local.INFO: Processing buffer {"connection_id":229986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a99016f8012d7d43c005ee7f58000b00b532..."} 
[2026-11-05 08:07:10] local.INFO: Packet analysis {"connection_id":229986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a990"} 
[2026-11-05 08:07:10] local.INFO: Extracted packet for processing {"connection_id":229986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a990"} 
[2026-11-05 08:07:10] local.INFO: GPS Element Parsed {"raw_longitude":763184064,"raw_latitude":99516248,"longitude_deg":76.3184064,"latitude_deg":9.9516248,"altitude":11,"angle":181,"satellites":50,"speed":52,"hex_longitude":"2d7d43c0","hex_latitude":"05ee7f58","is_valid_coordinates":true} 
[2026-11-05 08:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224613888001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40079788697714688,"note":"Value kept but may cause issues"} 
[2026-11-05 08:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026621053612611584,"note":"Value kept but may cause issues"} 
[2026-11-05 08:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793846155000,"timestamp_ms":1793846155000,"timestamp_seconds":1793846155,"priority":1,"record_length":96,"hex_timestamp":"000001a1a99016f8"} 
[2026-11-05 08:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:07: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-05 08:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-05 08:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:07:10] 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-05 08:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224613888001,"66":27876,"255":206,"87":13824,"24":52,"16":40079788697714688,"45":9026621053612611584},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,87,24,16,45]} 
[2026-11-05 08:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224613888001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:07:10] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-11-05 08:07:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 08:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40079788697714688,"km_value":40079788697714.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026621053612611584,"description":"Unknown IO ID 45"} 
[2026-11-05 08:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224613888001,"power":27876,"unknown_255":206,"unknown_87":13824,"ignition":52,"odometer":null,"unknown_45":9026621053612611584}} 
[2026-11-05 08:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":229986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:07:10] local.INFO: GPS data processed {"connection_id":229986,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:07:10] local.INFO: Acknowledgment sent {"connection_id":229986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:07:26] local.INFO: TCP Data received {"connection_id":233211,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98e6948012d0c4d400702b3300016005713..."} 
[2026-11-05 08:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98e6948012d0c4d400702b3300016005713..."} 
[2026-11-05 08:07:26] local.INFO: Processing buffer {"connection_id":233211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98e6948012d0c4d400702b3300016005713..."} 
[2026-11-05 08:07:26] local.INFO: Packet analysis {"connection_id":233211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98e"} 
[2026-11-05 08:07:26] local.INFO: Extracted packet for processing {"connection_id":233211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98e"} 
[2026-11-05 08:07:26] local.INFO: GPS Element Parsed {"raw_longitude":755780928,"raw_latitude":117617456,"longitude_deg":75.5780928,"latitude_deg":11.7617456,"altitude":22,"angle":87,"satellites":19,"speed":10,"hex_longitude":"2d0c4d40","hex_latitude":"0702b330","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224586752001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39342875388936192,"note":"Value kept but may cause issues"} 
[2026-11-05 08:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885731413074315264,"note":"Value kept but may cause issues"} 
[2026-11-05 08:07: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-05 08:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793846045000,"timestamp_ms":1793846045000,"timestamp_seconds":1793846045,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98e6948"} 
[2026-11-05 08:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-05 08:07: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-05 08:07:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233211,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233211,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224586752001,"66":14537,"37":206,"94":11008,"24":10,"16":39342875388936192,"45":885731413074315264},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224586752001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:07:26] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:07:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39342875388936192,"km_value":39342875388936.195,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":885731413074315264,"description":"Unknown IO ID 45"} 
[2026-11-05 08:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224586752001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":885731413074315264}} 
[2026-11-05 08:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":233211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61861,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:07:26] local.INFO: GPS data processed {"connection_id":233211,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:07:26] local.INFO: Acknowledgment sent {"connection_id":233211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:07:41] local.INFO: TCP Data received {"connection_id":229986,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9903250012d7d42c005ee5ad8000a00b432..."} 
[2026-11-05 08:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9903250012d7d42c005ee5ad8000a00b432..."} 
[2026-11-05 08:07:41] local.INFO: Processing buffer {"connection_id":229986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9903250012d7d42c005ee5ad8000a00b432..."} 
[2026-11-05 08:07:41] local.INFO: Packet analysis {"connection_id":229986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a990"} 
[2026-11-05 08:07:41] local.INFO: Extracted packet for processing {"connection_id":229986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a990"} 
[2026-11-05 08:07:41] local.INFO: GPS Element Parsed {"raw_longitude":763183808,"raw_latitude":99506904,"longitude_deg":76.3183808,"latitude_deg":9.9506904,"altitude":10,"angle":180,"satellites":50,"speed":54,"hex_longitude":"2d7d42c0","hex_latitude":"05ee5ad8","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224615680001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40080239669280768,"note":"Value kept but may cause issues"} 
[2026-11-05 08:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026269209889298432,"note":"Value kept but may cause issues"} 
[2026-11-05 08:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793846162000,"timestamp_ms":1793846162000,"timestamp_seconds":1793846162,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9903250"} 
[2026-11-05 08: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-05 08:07: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-05 08: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-05 08:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08: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-05 08: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-05 08:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:07:41] 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-05 08:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224615680001,"66":27865,"255":206,"87":13824,"24":54,"16":40080239669280768,"45":9026269209889298432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,87,24,16,45]} 
[2026-11-05 08:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224615680001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:07:41] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-11-05 08:07:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 08:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40080239669280768,"km_value":40080239669280.766,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026269209889298432,"description":"Unknown IO ID 45"} 
[2026-11-05 08:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224615680001,"power":27865,"unknown_255":206,"unknown_87":13824,"ignition":54,"odometer":null,"unknown_45":9026269209889298432}} 
[2026-11-05 08:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":229986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:07:41] local.INFO: GPS data processed {"connection_id":229986,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:07:41] local.INFO: Acknowledgment sent {"connection_id":229986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:07:49] local.INFO: TCP Data received {"connection_id":229482,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229482,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:07:49] local.INFO: Processing buffer {"connection_id":229482,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:07:49] local.INFO: IMEI packet received {"connection_id":229482,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":229482,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:07:54] local.INFO: TCP Data received {"connection_id":229482,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229482,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:07:54] local.INFO: Processing buffer {"connection_id":229482,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:07:54] local.INFO: IMEI packet received {"connection_id":229482,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":229482,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:07:55] local.INFO: TCP Data received {"connection_id":229482,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98eb768012d0c65800702b3d80013005e13..."} 
[2026-11-05 08:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98eb768012d0c65800702b3d80013005e13..."} 
[2026-11-05 08:07:55] local.INFO: Processing buffer {"connection_id":229482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98eb768012d0c65800702b3d80013005e13..."} 
[2026-11-05 08:07:55] local.INFO: Packet analysis {"connection_id":229482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98e"} 
[2026-11-05 08:07:55] local.INFO: Extracted packet for processing {"connection_id":229482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98e"} 
[2026-11-05 08:07:55] local.INFO: GPS Element Parsed {"raw_longitude":755787136,"raw_latitude":117617624,"longitude_deg":75.5787136,"latitude_deg":11.7617624,"altitude":19,"angle":94,"satellites":19,"speed":11,"hex_longitude":"2d0c6580","hex_latitude":"0702b3d8","is_valid_coordinates":true} 
[2026-11-05 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-05 08:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224587520001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343171741679616,"note":"Value kept but may cause issues"} 
[2026-11-05 08:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886435100516102144,"note":"Value kept but may cause issues"} 
[2026-11-05 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-05 08:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793846065000,"timestamp_ms":1793846065000,"timestamp_seconds":1793846065,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98eb768"} 
[2026-11-05 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-05 08:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 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":201,"data_length":795,"current_offset":136} 
[2026-11-05 08:07:55] 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-05 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-05 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-05 08:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229482,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229482,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224587520001,"66":14450,"37":206,"94":11008,"24":11,"16":39343171741679616,"45":886435100516102144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224587520001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:07:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:07:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343171741679616,"km_value":39343171741679.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":886435100516102144,"description":"Unknown IO ID 45"} 
[2026-11-05 08:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224587520001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":886435100516102144}} 
[2026-11-05 08:07:55] 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":61863,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:07:55] local.INFO: GPS data processed {"connection_id":229482,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:07:55] local.INFO: Acknowledgment sent {"connection_id":229482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:08:09] local.INFO: TCP Data received {"connection_id":229483,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:08:09] local.INFO: Processing buffer {"connection_id":229483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:08:09] local.INFO: IMEI packet received {"connection_id":229483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":229483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:08:13] local.INFO: TCP Data received {"connection_id":229483,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:08:13] local.INFO: Processing buffer {"connection_id":229483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:08:13] local.INFO: IMEI packet received {"connection_id":229483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":229483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:08:14] local.INFO: TCP Data received {"connection_id":229483,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9915b30012d7d3a8005ecc380000b00b332..."} 
[2026-11-05 08:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9915b30012d7d3a8005ecc380000b00b332..."} 
[2026-11-05 08:08:14] local.INFO: Processing buffer {"connection_id":229483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9915b30012d7d3a8005ecc380000b00b332..."} 
[2026-11-05 08:08:14] local.INFO: Packet analysis {"connection_id":229483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a991"} 
[2026-11-05 08:08:14] local.INFO: Extracted packet for processing {"connection_id":229483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a991"} 
[2026-11-05 08:08:14] local.INFO: GPS Element Parsed {"raw_longitude":763181696,"raw_latitude":99402624,"longitude_deg":76.3181696,"latitude_deg":9.9402624,"altitude":11,"angle":179,"satellites":50,"speed":58,"hex_longitude":"2d7d3a80","hex_latitude":"05ecc380","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224635392001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40085299140755456,"note":"Value kept but may cause issues"} 
[2026-11-05 08:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023806303816280064,"note":"Value kept but may cause issues"} 
[2026-11-05 08:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793846238000,"timestamp_ms":1793846238000,"timestamp_seconds":1793846238,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9915b30"} 
[2026-11-05 08: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-05 08:08: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-05 08: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 08:08:14] 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-05 08: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-05 08: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-05 08:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:08:14] 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-05 08:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224635392001,"66":27908,"108":206,"87":13824,"24":58,"16":40085299140755456,"45":9023806303816280064},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-11-05 08:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224635392001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:08:14] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-11-05 08:08:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 08:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40085299140755456,"km_value":40085299140755.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023806303816280064,"description":"Unknown IO ID 45"} 
[2026-11-05 08:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224635392001,"power":27908,"unknown_108":206,"unknown_87":13824,"ignition":58,"odometer":null,"unknown_45":9023806303816280064}} 
[2026-11-05 08:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":229483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:08:15] local.INFO: GPS data processed {"connection_id":229483,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:08:15] local.INFO: Acknowledgment sent {"connection_id":229483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:08:26] local.INFO: TCP Data received {"connection_id":229482,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98ee648012d0c71c00702b3780013004e13..."} 
[2026-11-05 08:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98ee648012d0c71c00702b3780013004e13..."} 
[2026-11-05 08:08:26] local.INFO: Processing buffer {"connection_id":229482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98ee648012d0c71c00702b3780013004e13..."} 
[2026-11-05 08:08:26] local.INFO: Packet analysis {"connection_id":229482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98e"} 
[2026-11-05 08:08:26] local.INFO: Extracted packet for processing {"connection_id":229482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98e"} 
[2026-11-05 08:08:26] local.INFO: GPS Element Parsed {"raw_longitude":755790272,"raw_latitude":117617528,"longitude_deg":75.5790272,"latitude_deg":11.7617528,"altitude":19,"angle":78,"satellites":19,"speed":7,"hex_longitude":"2d0c71c0","hex_latitude":"0702b378","is_valid_coordinates":true} 
[2026-11-05 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-05 08:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224592640001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343322065534976,"note":"Value kept but may cause issues"} 
[2026-11-05 08:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893260868701378560,"note":"Value kept but may cause issues"} 
[2026-11-05 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-05 08:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793846077000,"timestamp_ms":1793846077000,"timestamp_seconds":1793846077,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98ee648"} 
[2026-11-05 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-05 08:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 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":114,"data_length":795,"current_offset":136} 
[2026-11-05 08:08:26] 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-05 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-05 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-05 08:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229482,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229482,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224592640001,"66":14559,"37":206,"94":11008,"24":7,"16":39343322065534976,"45":893260868701378560},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224592640001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:08:26] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:08:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343322065534976,"km_value":39343322065534.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":893260868701378560,"description":"Unknown IO ID 45"} 
[2026-11-05 08:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224592640001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":893260868701378560}} 
[2026-11-05 08:08:26] 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":61865,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:08:26] local.INFO: GPS data processed {"connection_id":229482,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:08:26] local.INFO: Acknowledgment sent {"connection_id":229482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:08:46] local.INFO: TCP Data received {"connection_id":229483,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9917688012d7d39c005ec9c00000c00b633..."} 
[2026-11-05 08:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9917688012d7d39c005ec9c00000c00b633..."} 
[2026-11-05 08:08:46] local.INFO: Processing buffer {"connection_id":229483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9917688012d7d39c005ec9c00000c00b633..."} 
[2026-11-05 08:08:46] local.INFO: Packet analysis {"connection_id":229483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a991"} 
[2026-11-05 08:08:46] local.INFO: Extracted packet for processing {"connection_id":229483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a991"} 
[2026-11-05 08:08:46] local.INFO: GPS Element Parsed {"raw_longitude":763181504,"raw_latitude":99392512,"longitude_deg":76.3181504,"latitude_deg":9.9392512,"altitude":12,"angle":182,"satellites":51,"speed":52,"hex_longitude":"2d7d39c0","hex_latitude":"05ec9c00","is_valid_coordinates":true} 
[2026-11-05 08:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224636928001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40085788767027200,"note":"Value kept but may cause issues"} 
[2026-11-05 08:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023665566325637120,"note":"Value kept but may cause issues"} 
[2026-11-05 08:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793846245000,"timestamp_ms":1793846245000,"timestamp_seconds":1793846245,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9917688"} 
[2026-11-05 08:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:08: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-05 08:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 08:08: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-05 08:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:08:46] 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-05 08:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224636928001,"66":27930,"255":206,"87":13824,"24":52,"16":40085788767027200,"45":9023665566325637120},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,87,24,16,45]} 
[2026-11-05 08:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224636928001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:08:46] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-11-05 08:08:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 08:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40085788767027200,"km_value":40085788767027.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023665566325637120,"description":"Unknown IO ID 45"} 
[2026-11-05 08:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224636928001,"power":27930,"unknown_255":206,"unknown_87":13824,"ignition":52,"odometer":null,"unknown_45":9023665566325637120}} 
[2026-11-05 08:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":229483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:08:46] local.INFO: GPS data processed {"connection_id":229483,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:08:46] local.INFO: Acknowledgment sent {"connection_id":229483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:08:49] local.INFO: TCP Data received {"connection_id":233213,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233213,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:08:49] local.INFO: Processing buffer {"connection_id":233213,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:08:49] local.INFO: IMEI packet received {"connection_id":233213,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":233213,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:08:54] local.INFO: TCP Data received {"connection_id":233213,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233213,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:08:54] local.INFO: Processing buffer {"connection_id":233213,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:08:54] local.INFO: IMEI packet received {"connection_id":233213,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":233213,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:08:55] local.INFO: TCP Data received {"connection_id":233213,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98eee18012d0c73800702b3f00013004113..."} 
[2026-11-05 08:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98eee18012d0c73800702b3f00013004113..."} 
[2026-11-05 08:08:55] local.INFO: Processing buffer {"connection_id":233213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98eee18012d0c73800702b3f00013004113..."} 
[2026-11-05 08:08:55] local.INFO: Packet analysis {"connection_id":233213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98e"} 
[2026-11-05 08:08:55] local.INFO: Extracted packet for processing {"connection_id":233213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98e"} 
[2026-11-05 08:08:55] local.INFO: GPS Element Parsed {"raw_longitude":755790720,"raw_latitude":117617648,"longitude_deg":75.579072,"latitude_deg":11.7617648,"altitude":19,"angle":65,"satellites":19,"speed":9,"hex_longitude":"2d0c7380","hex_latitude":"0702b3f0","is_valid_coordinates":true} 
[2026-11-05 08:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224595712001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343343540371456,"note":"Value kept but may cause issues"} 
[2026-11-05 08:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896708937166059520,"note":"Value kept but may cause issues"} 
[2026-11-05 08:08: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-05 08:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793846079000,"timestamp_ms":1793846079000,"timestamp_seconds":1793846079,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98eee18"} 
[2026-11-05 08:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-05 08:08: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-05 08:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233213,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233213,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224595712001,"66":14613,"37":206,"94":11008,"24":9,"16":39343343540371456,"45":896708937166059520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224595712001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:08:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:08:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343343540371456,"km_value":39343343540371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":896708937166059520,"description":"Unknown IO ID 45"} 
[2026-11-05 08:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224595712001,"power":14613,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":896708937166059520}} 
[2026-11-05 08:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":233213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61867,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:08:55] local.INFO: GPS data processed {"connection_id":233213,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:08:55] local.INFO: Acknowledgment sent {"connection_id":233213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:09:04] local.INFO: TCP Data received {"connection_id":233214,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:09:04] local.INFO: Processing buffer {"connection_id":233214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:09:04] local.INFO: IMEI packet received {"connection_id":233214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":233214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:09:09] local.INFO: TCP Data received {"connection_id":233214,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:09:09] local.INFO: Processing buffer {"connection_id":233214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:09:09] local.INFO: IMEI packet received {"connection_id":233214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":233214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:09:10] local.INFO: TCP Data received {"connection_id":233214,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9919d98012d7d394005ec7958001000b632..."} 
[2026-11-05 08:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9919d98012d7d394005ec7958001000b632..."} 
[2026-11-05 08:09:10] local.INFO: Processing buffer {"connection_id":233214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9919d98012d7d394005ec7958001000b632..."} 
[2026-11-05 08:09:10] local.INFO: Packet analysis {"connection_id":233214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a991"} 
[2026-11-05 08:09:10] local.INFO: Extracted packet for processing {"connection_id":233214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a991"} 
[2026-11-05 08:09:10] local.INFO: GPS Element Parsed {"raw_longitude":763181376,"raw_latitude":99383640,"longitude_deg":76.3181376,"latitude_deg":9.938364,"altitude":16,"angle":182,"satellites":50,"speed":28,"hex_longitude":"2d7d3940","hex_latitude":"05ec7958","is_valid_coordinates":true} 
[2026-11-05 08:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224638720001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40086218263756800,"note":"Value kept but may cause issues"} 
[2026-11-05 08:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023454460090515456,"note":"Value kept but may cause issues"} 
[2026-11-05 08:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793846255000,"timestamp_ms":1793846255000,"timestamp_seconds":1793846255,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9919d98"} 
[2026-11-05 08:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:09: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-05 08:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-05 08:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:09:10] 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-05 08:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224638720001,"66":27865,"108":206,"87":13824,"24":28,"16":40086218263756800,"45":9023454460090515456},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-11-05 08:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224638720001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:09:10] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-11-05 08:09:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 08:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40086218263756800,"km_value":40086218263756.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023454460090515456,"description":"Unknown IO ID 45"} 
[2026-11-05 08:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224638720001,"power":27865,"unknown_108":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":9023454460090515456}} 
[2026-11-05 08:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":233214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:09:10] local.INFO: GPS data processed {"connection_id":233214,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:09:10] local.INFO: Acknowledgment sent {"connection_id":233214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:09:26] local.INFO: TCP Data received {"connection_id":233213,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98ef9d0012d0c75800702b4f80013004013..."} 
[2026-11-05 08:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98ef9d0012d0c75800702b4f80013004013..."} 
[2026-11-05 08:09:26] local.INFO: Processing buffer {"connection_id":233213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98ef9d0012d0c75800702b4f80013004013..."} 
[2026-11-05 08:09:26] local.INFO: Packet analysis {"connection_id":233213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98e"} 
[2026-11-05 08:09:26] local.INFO: Extracted packet for processing {"connection_id":233213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98e"} 
[2026-11-05 08:09:26] local.INFO: GPS Element Parsed {"raw_longitude":755791232,"raw_latitude":117617912,"longitude_deg":75.5791232,"latitude_deg":11.7617912,"altitude":19,"angle":64,"satellites":19,"speed":4,"hex_longitude":"2d0c7580","hex_latitude":"0702b4f8","is_valid_coordinates":true} 
[2026-11-05 08:09: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-05 08:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224596224001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897201518375333888,"note":"Value kept but may cause issues"} 
[2026-11-05 08:09: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-05 08:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793846082000,"timestamp_ms":1793846082000,"timestamp_seconds":1793846082,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98ef9d0"} 
[2026-11-05 08: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-05 08:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08: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":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-11-05 08:09:26] 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-05 08: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-05 08: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-05 08:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233213,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233213,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:09:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224596224001,"66":14613,"37":206,"94":11008,"24":4,"16":39343365015207936,"45":897201518375333888},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224596224001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:09:26] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:09:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":897201518375333888,"description":"Unknown IO ID 45"} 
[2026-11-05 08:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224596224001,"power":14613,"unknown_37":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":897201518375333888}} 
[2026-11-05 08:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":233213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61869,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:09:26] local.INFO: GPS data processed {"connection_id":233213,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:09:26] local.INFO: Acknowledgment sent {"connection_id":233213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:09:41] local.INFO: TCP Data received {"connection_id":233214,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a991cc78012d7d388005ec5510001300b631..."} 
[2026-11-05 08:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a991cc78012d7d388005ec5510001300b631..."} 
[2026-11-05 08:09:41] local.INFO: Processing buffer {"connection_id":233214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a991cc78012d7d388005ec5510001300b631..."} 
[2026-11-05 08:09:41] local.INFO: Packet analysis {"connection_id":233214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a991"} 
[2026-11-05 08:09:41] local.INFO: Extracted packet for processing {"connection_id":233214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a991"} 
[2026-11-05 08:09:41] local.INFO: GPS Element Parsed {"raw_longitude":763181184,"raw_latitude":99374352,"longitude_deg":76.3181184,"latitude_deg":9.9374352,"altitude":19,"angle":182,"satellites":49,"speed":33,"hex_longitude":"2d7d3880","hex_latitude":"05ec5510","is_valid_coordinates":true} 
[2026-11-05 08:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224641280001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40086669235322880,"note":"Value kept but may cause issues"} 
[2026-11-05 08:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023313722599888896,"note":"Value kept but may cause issues"} 
[2026-11-05 08:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793846267000,"timestamp_ms":1793846267000,"timestamp_seconds":1793846267,"priority":1,"record_length":96,"hex_timestamp":"000001a1a991cc78"} 
[2026-11-05 08:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:09: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-05 08:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 08:09: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-05 08:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:09:41] 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-05 08:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224641280001,"66":27908,"109":206,"87":13824,"24":33,"16":40086669235322880,"45":9023313722599888896},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-11-05 08:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224641280001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:09:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-11-05 08:09:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 08:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40086669235322880,"km_value":40086669235322.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023313722599888896,"description":"Unknown IO ID 45"} 
[2026-11-05 08:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224641280001,"power":27908,"unknown_109":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":9023313722599888896}} 
[2026-11-05 08:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":233214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:09:41] local.INFO: GPS data processed {"connection_id":233214,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:09:41] local.INFO: Acknowledgment sent {"connection_id":233214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:09:49] local.INFO: TCP Data received {"connection_id":229987,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229987,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:09:49] local.INFO: Processing buffer {"connection_id":229987,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:09:49] local.INFO: IMEI packet received {"connection_id":229987,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":229987,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:09:54] local.INFO: TCP Data received {"connection_id":229987,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229987,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:09:54] local.INFO: Processing buffer {"connection_id":229987,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:09:54] local.INFO: IMEI packet received {"connection_id":229987,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":229987,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:09:54] local.INFO: TCP Data received {"connection_id":229987,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a98ef9d0012d0c75800702b4f80013004013..."} 
[2026-11-05 08:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a98ef9d0012d0c75800702b4f80013004013..."} 
[2026-11-05 08:09:54] local.INFO: Processing buffer {"connection_id":229987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a98ef9d0012d0c75800702b4f80013004013..."} 
[2026-11-05 08:09:54] local.INFO: Packet analysis {"connection_id":229987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a98e"} 
[2026-11-05 08:09:54] local.INFO: Extracted packet for processing {"connection_id":229987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a98e"} 
[2026-11-05 08:09:54] local.INFO: GPS Element Parsed {"raw_longitude":755791232,"raw_latitude":117617912,"longitude_deg":75.5791232,"latitude_deg":11.7617912,"altitude":19,"angle":64,"satellites":19,"speed":4,"hex_longitude":"2d0c7580","hex_latitude":"0702b4f8","is_valid_coordinates":true} 
[2026-11-05 08:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224596992001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897764468328822784,"note":"Value kept but may cause issues"} 
[2026-11-05 08:09: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-05 08:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793846082000,"timestamp_ms":1793846082000,"timestamp_seconds":1793846082,"priority":1,"record_length":96,"hex_timestamp":"000001a1a98ef9d0"} 
[2026-11-05 08:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 08:09: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":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-11-05 08:09:54] 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-05 08:09: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-05 08:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":229987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":229987,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":229987,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224596992001,"66":14613,"37":206,"94":11008,"24":4,"16":39343365015207936,"45":897764468328822784},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224596992001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:09:54] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:09:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":897764468328822784,"description":"Unknown IO ID 45"} 
[2026-11-05 08:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224596992001,"power":14613,"unknown_37":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":897764468328822784}} 
[2026-11-05 08:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":229987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61871,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:09:55] local.INFO: GPS data processed {"connection_id":229987,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:09:55] local.INFO: Acknowledgment sent {"connection_id":229987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:10:04] local.INFO: TCP Data received {"connection_id":233215,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:10:04] local.INFO: Processing buffer {"connection_id":233215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:10:04] local.INFO: IMEI packet received {"connection_id":233215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":233215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:10:06] local.INFO: TCP Data received {"connection_id":233215,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:10:06] local.INFO: Processing buffer {"connection_id":233215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:10:06] local.INFO: IMEI packet received {"connection_id":233215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":233215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:10:09] local.INFO: TCP Data received {"connection_id":233215,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:10:09] local.INFO: Processing buffer {"connection_id":233215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:10:09] local.INFO: IMEI packet received {"connection_id":233215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":233215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:10:10] local.INFO: TCP Data received {"connection_id":233215,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a991f388012d7d378005ec31f8001300b532..."} 
[2026-11-05 08:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a991f388012d7d378005ec31f8001300b532..."} 
[2026-11-05 08:10:10] local.INFO: Processing buffer {"connection_id":233215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a991f388012d7d378005ec31f8001300b532..."} 
[2026-11-05 08:10:10] local.INFO: Packet analysis {"connection_id":233215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a991"} 
[2026-11-05 08:10:10] local.INFO: Extracted packet for processing {"connection_id":233215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a991"} 
[2026-11-05 08:10:10] local.INFO: GPS Element Parsed {"raw_longitude":763180928,"raw_latitude":99365368,"longitude_deg":76.3180928,"latitude_deg":9.9365368,"altitude":19,"angle":181,"satellites":50,"speed":40,"hex_longitude":"2d7d3780","hex_latitude":"05ec31f8","is_valid_coordinates":true} 
[2026-11-05 08:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224644352001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40087107321987072,"note":"Value kept but may cause issues"} 
[2026-11-05 08:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023102616364978176,"note":"Value kept but may cause issues"} 
[2026-11-05 08:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793846277000,"timestamp_ms":1793846277000,"timestamp_seconds":1793846277,"priority":1,"record_length":96,"hex_timestamp":"000001a1a991f388"} 
[2026-11-05 08:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:10: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-05 08:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 08:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:10:10] 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-05 08:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224644352001,"66":27908,"109":206,"87":13824,"24":40,"16":40087107321987072,"45":9023102616364978176},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-11-05 08:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224644352001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:10:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-11-05 08:10:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 08:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40087107321987072,"km_value":40087107321987.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023102616364978176,"description":"Unknown IO ID 45"} 
[2026-11-05 08:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224644352001,"power":27908,"unknown_109":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":9023102616364978176}} 
[2026-11-05 08:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":233215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:10:10] local.INFO: GPS data processed {"connection_id":233215,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:10:10] local.INFO: Acknowledgment sent {"connection_id":233215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:10:15] local.INFO: TCP Data received {"connection_id":233215,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a99216b0012d7d368005ec0aa8001100b531..."} 
[2026-11-05 08:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a99216b0012d7d368005ec0aa8001100b531..."} 
[2026-11-05 08:10:15] local.INFO: Processing buffer {"connection_id":233215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a99216b0012d7d368005ec0aa8001100b531..."} 
[2026-11-05 08:10:15] local.INFO: Packet analysis {"connection_id":233215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a992"} 
[2026-11-05 08:10:15] local.INFO: Extracted packet for processing {"connection_id":233215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a992"} 
[2026-11-05 08:10:15] local.INFO: GPS Element Parsed {"raw_longitude":763180672,"raw_latitude":99355304,"longitude_deg":76.3180672,"latitude_deg":9.9355304,"altitude":17,"angle":181,"satellites":49,"speed":48,"hex_longitude":"2d7d3680","hex_latitude":"05ec0aa8","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224646912001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40087592653291520,"note":"Value kept but may cause issues"} 
[2026-11-05 08:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022821141385967616,"note":"Value kept but may cause issues"} 
[2026-11-05 08:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793846286000,"timestamp_ms":1793846286000,"timestamp_seconds":1793846286,"priority":1,"record_length":96,"hex_timestamp":"000001a1a99216b0"} 
[2026-11-05 08: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-05 08:10: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-05 08: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 08:10: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-05 08: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-05 08: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-05 08:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:10:15] 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-05 08:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224646912001,"66":27604,"109":206,"87":13824,"24":48,"16":40087592653291520,"45":9022821141385967616},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-11-05 08:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224646912001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:10:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-11-05 08:10:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 08:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40087592653291520,"km_value":40087592653291.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022821141385967616,"description":"Unknown IO ID 45"} 
[2026-11-05 08:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224646912001,"power":27604,"unknown_109":206,"unknown_87":13824,"ignition":48,"odometer":null,"unknown_45":9022821141385967616}} 
[2026-11-05 08:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":233215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:10:15] local.INFO: GPS data processed {"connection_id":233215,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:10:15] local.INFO: Acknowledgment sent {"connection_id":233215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:10:26] local.INFO: TCP Data received {"connection_id":229987,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9939198012d0c75000702b4c00014004022..."} 
[2026-11-05 08:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9939198012d0c75000702b4c00014004022..."} 
[2026-11-05 08:10:26] local.INFO: Processing buffer {"connection_id":229987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9939198012d0c75000702b4c00014004022..."} 
[2026-11-05 08:10:26] local.INFO: Packet analysis {"connection_id":229987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a993"} 
[2026-11-05 08:10:26] local.INFO: Extracted packet for processing {"connection_id":229987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a993"} 
[2026-11-05 08:10:26] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":20,"angle":64,"satellites":34,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224596992001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897764468328822784,"note":"Value kept but may cause issues"} 
[2026-11-05 08:10: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-05 08:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793846383000,"timestamp_ms":1793846383000,"timestamp_seconds":1793846383,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9939198"} 
[2026-11-05 08:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:10:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 08:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-11-05 08:10:26] 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-05 08:10:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229987,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229987,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:10:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224596992001,"66":12841,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897764468328822784},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224596992001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:10:26] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:10:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":897764468328822784,"description":"Unknown IO ID 45"} 
[2026-11-05 08:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224596992001,"power":12841,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897764468328822784}} 
[2026-11-05 08:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":229987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61874,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:10:26] local.INFO: GPS data processed {"connection_id":229987,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:10:26] local.INFO: Acknowledgment sent {"connection_id":229987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:10:36] local.INFO: TCP Data received {"connection_id":229484,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229484,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:10:37] local.INFO: Processing buffer {"connection_id":229484,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:10:37] local.INFO: IMEI packet received {"connection_id":229484,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 08:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":229484,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:10:46] local.INFO: TCP Data received {"connection_id":233215,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a99235f0012d7d350005ebe478001000b52e..."} 
[2026-11-05 08:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a99235f0012d7d350005ebe478001000b52e..."} 
[2026-11-05 08:10:46] local.INFO: Processing buffer {"connection_id":233215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a99235f0012d7d350005ebe478001000b52e..."} 
[2026-11-05 08:10:46] local.INFO: Packet analysis {"connection_id":233215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a992"} 
[2026-11-05 08:10:46] local.INFO: Extracted packet for processing {"connection_id":233215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a992"} 
[2026-11-05 08:10:46] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99345528,"longitude_deg":76.3180288,"latitude_deg":9.9345528,"altitude":16,"angle":181,"satellites":46,"speed":43,"hex_longitude":"2d7d3500","hex_latitude":"05ebe478","is_valid_coordinates":true} 
[2026-11-05 08:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224649216001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40088069394661376,"note":"Value kept but may cause issues"} 
[2026-11-05 08:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539666406680576,"note":"Value kept but may cause issues"} 
[2026-11-05 08:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793846294000,"timestamp_ms":1793846294000,"timestamp_seconds":1793846294,"priority":1,"record_length":96,"hex_timestamp":"000001a1a99235f0"} 
[2026-11-05 08:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:10: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-05 08:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-05 08:10: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-05 08:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":233215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":233215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":233215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:10:46] 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-05 08:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224649216001,"66":27908,"109":206,"87":13824,"24":43,"16":40088069394661376,"45":9022539666406680576},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-11-05 08:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224649216001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:10:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-11-05 08:10:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 08:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40088069394661376,"km_value":40088069394661.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539666406680576,"description":"Unknown IO ID 45"} 
[2026-11-05 08:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224649216001,"power":27908,"unknown_109":206,"unknown_87":13824,"ignition":43,"odometer":null,"unknown_45":9022539666406680576}} 
[2026-11-05 08:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":233215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:10:46] local.INFO: GPS data processed {"connection_id":233215,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:10:46] local.INFO: Acknowledgment sent {"connection_id":233215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:10:54] local.INFO: TCP Data received {"connection_id":231292,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231292,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:10:54] local.INFO: Processing buffer {"connection_id":231292,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:10:54] local.INFO: IMEI packet received {"connection_id":231292,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":231292,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:10:59] local.INFO: TCP Data received {"connection_id":231292,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231292,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:10:59] local.INFO: Processing buffer {"connection_id":231292,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:10:59] local.INFO: IMEI packet received {"connection_id":231292,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":231292,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:11:00] local.INFO: TCP Data received {"connection_id":231292,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9939198012d0c75000702b4c00014004022..."} 
[2026-11-05 08:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9939198012d0c75000702b4c00014004022..."} 
[2026-11-05 08:11:00] local.INFO: Processing buffer {"connection_id":231292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9939198012d0c75000702b4c00014004022..."} 
[2026-11-05 08:11:00] local.INFO: Packet analysis {"connection_id":231292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a993"} 
[2026-11-05 08:11:00] local.INFO: Extracted packet for processing {"connection_id":231292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a993"} 
[2026-11-05 08:11:00] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":20,"angle":64,"satellites":34,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224596992001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897764468328822784,"note":"Value kept but may cause issues"} 
[2026-11-05 08:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793846383000,"timestamp_ms":1793846383000,"timestamp_seconds":1793846383,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9939198"} 
[2026-11-05 08:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 08:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-11-05 08:11: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-05 08:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":231292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":231292,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":231292,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224596992001,"66":12841,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897764468328822784},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224596992001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:11:00] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:11:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":897764468328822784,"description":"Unknown IO ID 45"} 
[2026-11-05 08:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224596992001,"power":12841,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897764468328822784}} 
[2026-11-05 08:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":231292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61876,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:11:00] local.INFO: GPS data processed {"connection_id":231292,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:11:00] local.INFO: Acknowledgment sent {"connection_id":231292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:11:03] local.INFO: TCP Data received {"connection_id":229988,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:11:03] local.INFO: Processing buffer {"connection_id":229988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:11:03] local.INFO: IMEI packet received {"connection_id":229988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":229988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:11:04] local.INFO: TCP Data received {"connection_id":229988,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:11:04] local.INFO: Processing buffer {"connection_id":229988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:11:04] local.INFO: IMEI packet received {"connection_id":229988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":229988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:11:04] local.INFO: TCP Data received {"connection_id":231292,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9939198012d0c75000702b4c00014004022..."} 
[2026-11-05 08:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9939198012d0c75000702b4c00014004022..."} 
[2026-11-05 08:11:04] local.INFO: Processing buffer {"connection_id":231292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9939198012d0c75000702b4c00014004022..."} 
[2026-11-05 08:11:04] local.INFO: Packet analysis {"connection_id":231292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a993"} 
[2026-11-05 08:11:04] local.INFO: Extracted packet for processing {"connection_id":231292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a993"} 
[2026-11-05 08:11:04] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":20,"angle":64,"satellites":34,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224596992001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897764468328822784,"note":"Value kept but may cause issues"} 
[2026-11-05 08:11: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-05 08:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793846383000,"timestamp_ms":1793846383000,"timestamp_seconds":1793846383,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9939198"} 
[2026-11-05 08:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 08:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-11-05 08:11:04] 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-05 08:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":231292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":231292,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":231292,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224596992001,"66":12841,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897764468328822784},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224596992001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:11:04] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:11:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":897764468328822784,"description":"Unknown IO ID 45"} 
[2026-11-05 08:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224596992001,"power":12841,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897764468328822784}} 
[2026-11-05 08:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":231292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61877,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:11:05] local.INFO: GPS data processed {"connection_id":231292,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:11:05] local.INFO: Acknowledgment sent {"connection_id":231292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:11:06] local.INFO: TCP Data received {"connection_id":233216,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233216,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:11:06] local.INFO: Processing buffer {"connection_id":233216,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:11:06] local.INFO: IMEI packet received {"connection_id":233216,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 08:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":233216,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:11:09] local.INFO: TCP Data received {"connection_id":229988,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:11:09] local.INFO: Processing buffer {"connection_id":229988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:11:09] local.INFO: IMEI packet received {"connection_id":229988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":229988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:11:10] local.INFO: TCP Data received {"connection_id":229988,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a993dbd0012d7d228005ea5388000c00b633..."} 
[2026-11-05 08:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a993dbd0012d7d228005ea5388000c00b633..."} 
[2026-11-05 08:11:10] local.INFO: Processing buffer {"connection_id":229988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a993dbd0012d7d228005ea5388000c00b633..."} 
[2026-11-05 08:11:10] local.INFO: Packet analysis {"connection_id":229988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a993"} 
[2026-11-05 08:11:10] local.INFO: Extracted packet for processing {"connection_id":229988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a993"} 
[2026-11-05 08:11:10] local.INFO: GPS Element Parsed {"raw_longitude":763175552,"raw_latitude":99242888,"longitude_deg":76.3175552,"latitude_deg":9.9242888,"altitude":12,"angle":182,"satellites":51,"speed":45,"hex_longitude":"2d7d2280","hex_latitude":"05ea5388","is_valid_coordinates":true} 
[2026-11-05 08:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224676608001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40093051556724736,"note":"Value kept but may cause issues"} 
[2026-11-05 08:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017262010567032832,"note":"Value kept but may cause issues"} 
[2026-11-05 08:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793846402000,"timestamp_ms":1793846402000,"timestamp_seconds":1793846402,"priority":1,"record_length":96,"hex_timestamp":"000001a1a993dbd0"} 
[2026-11-05 08:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:11: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-05 08:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-05 08:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:11:10] 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-05 08:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224676608001,"66":27691,"158":206,"87":13824,"24":45,"16":40093051556724736,"45":9017262010567032832},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-11-05 08:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224676608001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:11:10] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-11-05 08:11:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 08:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40093051556724736,"km_value":40093051556724.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017262010567032832,"description":"Unknown IO ID 45"} 
[2026-11-05 08:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224676608001,"power":27691,"unknown_158":206,"unknown_87":13824,"ignition":45,"odometer":null,"unknown_45":9017262010567032832}} 
[2026-11-05 08:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":229988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:11:10] local.INFO: GPS data processed {"connection_id":229988,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:11:10] local.INFO: Acknowledgment sent {"connection_id":229988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:11:41] local.INFO: TCP Data received {"connection_id":229988,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a993fb10012d7d208005ea2db0000c00b730..."} 
[2026-11-05 08:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a993fb10012d7d208005ea2db0000c00b730..."} 
[2026-11-05 08:11:41] local.INFO: Processing buffer {"connection_id":229988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a993fb10012d7d208005ea2db0000c00b730..."} 
[2026-11-05 08:11:41] local.INFO: Packet analysis {"connection_id":229988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a993"} 
[2026-11-05 08:11:41] local.INFO: Extracted packet for processing {"connection_id":229988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a993"} 
[2026-11-05 08:11:41] local.INFO: GPS Element Parsed {"raw_longitude":763175040,"raw_latitude":99233200,"longitude_deg":76.317504,"latitude_deg":9.92332,"altitude":12,"angle":183,"satellites":48,"speed":50,"hex_longitude":"2d7d2080","hex_latitude":"05ea2db0","is_valid_coordinates":true} 
[2026-11-05 08:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224678912001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40093524003127296,"note":"Value kept but may cause issues"} 
[2026-11-05 08:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016910166843688960,"note":"Value kept but may cause issues"} 
[2026-11-05 08:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793846410000,"timestamp_ms":1793846410000,"timestamp_seconds":1793846410,"priority":1,"record_length":96,"hex_timestamp":"000001a1a993fb10"} 
[2026-11-05 08:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:11: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-05 08:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-05 08:11: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-05 08:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:11:41] 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-05 08:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224678912001,"66":27843,"192":206,"87":13824,"24":50,"16":40093524003127296,"45":9016910166843688960},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-11-05 08:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224678912001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:11:41] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-11-05 08:11:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 08:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40093524003127296,"km_value":40093524003127.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016910166843688960,"description":"Unknown IO ID 45"} 
[2026-11-05 08:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224678912001,"power":27843,"unknown_192":206,"unknown_87":13824,"ignition":50,"odometer":null,"unknown_45":9016910166843688960}} 
[2026-11-05 08:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":229988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:11:41] local.INFO: GPS data processed {"connection_id":229988,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:11:41] local.INFO: Acknowledgment sent {"connection_id":229988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:11:49] local.INFO: TCP Data received {"connection_id":229989,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229989,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:11:49] local.INFO: Processing buffer {"connection_id":229989,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:11:49] local.INFO: IMEI packet received {"connection_id":229989,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":229989,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:11:54] local.INFO: TCP Data received {"connection_id":229989,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229989,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:11:54] local.INFO: Processing buffer {"connection_id":229989,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:11:54] local.INFO: IMEI packet received {"connection_id":229989,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":229989,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:11:55] local.INFO: TCP Data received {"connection_id":229989,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9939198012d0c75000702b4c00014004022..."} 
[2026-11-05 08:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9939198012d0c75000702b4c00014004022..."} 
[2026-11-05 08:11:55] local.INFO: Processing buffer {"connection_id":229989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9939198012d0c75000702b4c00014004022..."} 
[2026-11-05 08:11:55] local.INFO: Packet analysis {"connection_id":229989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a993"} 
[2026-11-05 08:11:55] local.INFO: Extracted packet for processing {"connection_id":229989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a993"} 
[2026-11-05 08:11:55] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":20,"angle":64,"satellites":34,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224596992001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897764468328822784,"note":"Value kept but may cause issues"} 
[2026-11-05 08:11: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-05 08:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793846383000,"timestamp_ms":1793846383000,"timestamp_seconds":1793846383,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9939198"} 
[2026-11-05 08:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 08:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-11-05 08:11:55] 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-05 08:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229989,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229989,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224596992001,"66":12841,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897764468328822784},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224596992001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:11:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:11:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":897764468328822784,"description":"Unknown IO ID 45"} 
[2026-11-05 08:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224596992001,"power":12841,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897764468328822784}} 
[2026-11-05 08:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":229989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61880,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:11:56] local.INFO: GPS data processed {"connection_id":229989,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:11:56] local.INFO: Acknowledgment sent {"connection_id":229989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:11:59] local.INFO: TCP Data received {"connection_id":229989,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9939198012d0c75000702b4c00014004022..."} 
[2026-11-05 08:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9939198012d0c75000702b4c00014004022..."} 
[2026-11-05 08:11:59] local.INFO: Processing buffer {"connection_id":229989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9939198012d0c75000702b4c00014004022..."} 
[2026-11-05 08:11:59] local.INFO: Packet analysis {"connection_id":229989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a993"} 
[2026-11-05 08:11:59] local.INFO: Extracted packet for processing {"connection_id":229989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a993"} 
[2026-11-05 08:11:59] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":20,"angle":64,"satellites":34,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224596992001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897764468328822784,"note":"Value kept but may cause issues"} 
[2026-11-05 08:11: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-05 08:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793846383000,"timestamp_ms":1793846383000,"timestamp_seconds":1793846383,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9939198"} 
[2026-11-05 08:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 08:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-11-05 08:11:59] 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-05 08:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":229989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":229989,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":229989,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224596992001,"66":12841,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897764468328822784},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224596992001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:11:59] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:11:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":897764468328822784,"description":"Unknown IO ID 45"} 
[2026-11-05 08:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224596992001,"power":12841,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897764468328822784}} 
[2026-11-05 08:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":229989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61881,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:11:59] local.INFO: GPS data processed {"connection_id":229989,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:11:59] local.INFO: Acknowledgment sent {"connection_id":229989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:12:04] local.INFO: TCP Data received {"connection_id":231293,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:12:04] local.INFO: Processing buffer {"connection_id":231293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:12:04] local.INFO: IMEI packet received {"connection_id":231293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":231293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:12:04] local.INFO: TCP Data received {"connection_id":231293,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:12:04] local.INFO: Processing buffer {"connection_id":231293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:12:04] local.INFO: IMEI packet received {"connection_id":231293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":231293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:12:09] local.INFO: TCP Data received {"connection_id":231293,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:12:09] local.INFO: Processing buffer {"connection_id":231293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:12:09] local.INFO: IMEI packet received {"connection_id":231293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":231293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:12:10] local.INFO: TCP Data received {"connection_id":231293,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9941668012d7d1ec005ea0a70000c00b632..."} 
[2026-11-05 08:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9941668012d7d1ec005ea0a70000c00b632..."} 
[2026-11-05 08:12:10] local.INFO: Processing buffer {"connection_id":231293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9941668012d7d1ec005ea0a70000c00b632..."} 
[2026-11-05 08:12:10] local.INFO: Packet analysis {"connection_id":231293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a994"} 
[2026-11-05 08:12:10] local.INFO: Extracted packet for processing {"connection_id":231293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a994"} 
[2026-11-05 08:12:10] local.INFO: GPS Element Parsed {"raw_longitude":763174592,"raw_latitude":99224176,"longitude_deg":76.3174592,"latitude_deg":9.9224176,"altitude":12,"angle":182,"satellites":50,"speed":49,"hex_longitude":"2d7d1ec0","hex_latitude":"05ea0a70","is_valid_coordinates":true} 
[2026-11-05 08:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224680960001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40093962089791488,"note":"Value kept but may cause issues"} 
[2026-11-05 08:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016347216887787520,"note":"Value kept but may cause issues"} 
[2026-11-05 08:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793846417000,"timestamp_ms":1793846417000,"timestamp_seconds":1793846417,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9941668"} 
[2026-11-05 08:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:12: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-05 08:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-05 08:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:12:10] 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-05 08:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224680960001,"66":27865,"192":206,"87":13824,"24":49,"16":40093962089791488,"45":9016347216887787520},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-11-05 08:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224680960001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:12:10] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-11-05 08:12:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 08:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40093962089791488,"km_value":40093962089791.484,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016347216887787520,"description":"Unknown IO ID 45"} 
[2026-11-05 08:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224680960001,"power":27865,"unknown_192":206,"unknown_87":13824,"ignition":49,"odometer":null,"unknown_45":9016347216887787520}} 
[2026-11-05 08:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":231293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:12:10] local.INFO: GPS data processed {"connection_id":231293,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:12:10] local.INFO: Acknowledgment sent {"connection_id":231293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:12:30] local.INFO: TCP Data received {"connection_id":229989,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9939198012d0c75000702b4c00014004022..."} 
[2026-11-05 08:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9939198012d0c75000702b4c00014004022..."} 
[2026-11-05 08:12:30] local.INFO: Processing buffer {"connection_id":229989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9939198012d0c75000702b4c00014004022..."} 
[2026-11-05 08:12:30] local.INFO: Packet analysis {"connection_id":229989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a993"} 
[2026-11-05 08:12:30] local.INFO: Extracted packet for processing {"connection_id":229989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a993"} 
[2026-11-05 08:12:30] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":20,"angle":64,"satellites":34,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224596992001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897764468328822784,"note":"Value kept but may cause issues"} 
[2026-11-05 08:12: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-05 08:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793846383000,"timestamp_ms":1793846383000,"timestamp_seconds":1793846383,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9939198"} 
[2026-11-05 08:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 08:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-11-05 08:12:30] 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-05 08:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":229989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":229989,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":229989,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224596992001,"66":12841,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897764468328822784},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224596992001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:12:30] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:12:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":897764468328822784,"description":"Unknown IO ID 45"} 
[2026-11-05 08:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224596992001,"power":12841,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897764468328822784}} 
[2026-11-05 08:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":229989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61883,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:12:30] local.INFO: GPS data processed {"connection_id":229989,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:12:30] local.INFO: Acknowledgment sent {"connection_id":229989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:12:42] local.INFO: TCP Data received {"connection_id":231293,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a99435a8012d7d1cc005e9e390000b00b633..."} 
[2026-11-05 08:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a99435a8012d7d1cc005e9e390000b00b633..."} 
[2026-11-05 08:12:42] local.INFO: Processing buffer {"connection_id":231293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a99435a8012d7d1cc005e9e390000b00b633..."} 
[2026-11-05 08:12:42] local.INFO: Packet analysis {"connection_id":231293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a994"} 
[2026-11-05 08:12:42] local.INFO: Extracted packet for processing {"connection_id":231293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a994"} 
[2026-11-05 08:12:42] local.INFO: GPS Element Parsed {"raw_longitude":763174080,"raw_latitude":99214224,"longitude_deg":76.317408,"latitude_deg":9.9214224,"altitude":11,"angle":182,"satellites":51,"speed":50,"hex_longitude":"2d7d1cc0","hex_latitude":"05e9e390","is_valid_coordinates":true} 
[2026-11-05 08:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224682752001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40094443126128640,"note":"Value kept but may cause issues"} 
[2026-11-05 08:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015854635676233728,"note":"Value kept but may cause issues"} 
[2026-11-05 08:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793846425000,"timestamp_ms":1793846425000,"timestamp_seconds":1793846425,"priority":1,"record_length":96,"hex_timestamp":"000001a1a99435a8"} 
[2026-11-05 08:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:12: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-05 08:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 08:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:12:42] 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-05 08:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224682752001,"66":27832,"192":206,"87":13824,"24":50,"16":40094443126128640,"45":9015854635676233728},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-11-05 08:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224682752001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:12:42] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-11-05 08:12:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 08:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40094443126128640,"km_value":40094443126128.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015854635676233728,"description":"Unknown IO ID 45"} 
[2026-11-05 08:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224682752001,"power":27832,"unknown_192":206,"unknown_87":13824,"ignition":50,"odometer":null,"unknown_45":9015854635676233728}} 
[2026-11-05 08:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":231293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:12:42] local.INFO: GPS data processed {"connection_id":231293,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:12:42] local.INFO: Acknowledgment sent {"connection_id":231293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:12:49] local.INFO: TCP Data received {"connection_id":229485,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229485,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:12:49] local.INFO: Processing buffer {"connection_id":229485,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:12:49] local.INFO: IMEI packet received {"connection_id":229485,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":229485,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:12:54] local.INFO: TCP Data received {"connection_id":229485,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229485,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:12:54] local.INFO: Processing buffer {"connection_id":229485,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:12:54] local.INFO: IMEI packet received {"connection_id":229485,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":229485,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:12:55] local.INFO: TCP Data received {"connection_id":229485,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9939198012d0c75000702b4c00014004022..."} 
[2026-11-05 08:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9939198012d0c75000702b4c00014004022..."} 
[2026-11-05 08:12:55] local.INFO: Processing buffer {"connection_id":229485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9939198012d0c75000702b4c00014004022..."} 
[2026-11-05 08:12:55] local.INFO: Packet analysis {"connection_id":229485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a993"} 
[2026-11-05 08:12:55] local.INFO: Extracted packet for processing {"connection_id":229485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a993"} 
[2026-11-05 08:12:55] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":20,"angle":64,"satellites":34,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224596992001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897764468328822784,"note":"Value kept but may cause issues"} 
[2026-11-05 08:12: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-05 08:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793846383000,"timestamp_ms":1793846383000,"timestamp_seconds":1793846383,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9939198"} 
[2026-11-05 08: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-05 08:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 08: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":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-11-05 08:12:55] 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-05 08: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-05 08: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-05 08:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229485,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229485,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224596992001,"66":12841,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897764468328822784},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224596992001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:12:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:12:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":897764468328822784,"description":"Unknown IO ID 45"} 
[2026-11-05 08:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224596992001,"power":12841,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897764468328822784}} 
[2026-11-05 08:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":229485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61885,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:12:55] local.INFO: GPS data processed {"connection_id":229485,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:12:55] local.INFO: Acknowledgment sent {"connection_id":229485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:13:04] local.INFO: TCP Data received {"connection_id":233217,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:13:04] local.INFO: Processing buffer {"connection_id":233217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:13:04] local.INFO: IMEI packet received {"connection_id":233217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":233217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:13:11] local.INFO: TCP Data received {"connection_id":233217,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:13:11] local.INFO: Processing buffer {"connection_id":233217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:13:11] local.INFO: IMEI packet received {"connection_id":233217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":233217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:13:12] local.INFO: TCP Data received {"connection_id":233217,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9945100012d7d1b4005e9c0e0000c00b633..."} 
[2026-11-05 08:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9945100012d7d1b4005e9c0e0000c00b633..."} 
[2026-11-05 08:13:12] local.INFO: Processing buffer {"connection_id":233217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9945100012d7d1b4005e9c0e0000c00b633..."} 
[2026-11-05 08:13:12] local.INFO: Packet analysis {"connection_id":233217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a994"} 
[2026-11-05 08:13:12] local.INFO: Extracted packet for processing {"connection_id":233217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a994"} 
[2026-11-05 08:13:12] local.INFO: GPS Element Parsed {"raw_longitude":763173696,"raw_latitude":99205344,"longitude_deg":76.3173696,"latitude_deg":9.9205344,"altitude":12,"angle":182,"satellites":51,"speed":51,"hex_longitude":"2d7d1b40","hex_latitude":"05e9c0e0","is_valid_coordinates":true} 
[2026-11-05 08:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224684800001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40094876917825536,"note":"Value kept but may cause issues"} 
[2026-11-05 08:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015291685720264704,"note":"Value kept but may cause issues"} 
[2026-11-05 08:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793846432000,"timestamp_ms":1793846432000,"timestamp_seconds":1793846432,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9945100"} 
[2026-11-05 08:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08: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-05 08:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-05 08:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":233217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":233217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":233217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:13:12] 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-05 08:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224684800001,"66":27767,"192":206,"87":13824,"24":51,"16":40094876917825536,"45":9015291685720264704},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-11-05 08:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224684800001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:13:12] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-11-05 08:13:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 08:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40094876917825536,"km_value":40094876917825.54,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015291685720264704,"description":"Unknown IO ID 45"} 
[2026-11-05 08:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224684800001,"power":27767,"unknown_192":206,"unknown_87":13824,"ignition":51,"odometer":null,"unknown_45":9015291685720264704}} 
[2026-11-05 08:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":233217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:13:12] local.INFO: GPS data processed {"connection_id":233217,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:13:12] local.INFO: Acknowledgment sent {"connection_id":233217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:13:26] local.INFO: TCP Data received {"connection_id":229485,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9939198012d0c75000702b4c00014004022..."} 
[2026-11-05 08:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9939198012d0c75000702b4c00014004022..."} 
[2026-11-05 08:13:26] local.INFO: Processing buffer {"connection_id":229485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9939198012d0c75000702b4c00014004022..."} 
[2026-11-05 08:13:26] local.INFO: Packet analysis {"connection_id":229485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a993"} 
[2026-11-05 08:13:26] local.INFO: Extracted packet for processing {"connection_id":229485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a993"} 
[2026-11-05 08:13:26] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":20,"angle":64,"satellites":34,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224596992001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897764468328822784,"note":"Value kept but may cause issues"} 
[2026-11-05 08:13: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-05 08:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793846383000,"timestamp_ms":1793846383000,"timestamp_seconds":1793846383,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9939198"} 
[2026-11-05 08:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 08:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-11-05 08:13:26] 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-05 08:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229485,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229485,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224596992001,"66":12841,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897764468328822784},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224596992001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:13:26] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:13:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":897764468328822784,"description":"Unknown IO ID 45"} 
[2026-11-05 08:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224596992001,"power":12841,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897764468328822784}} 
[2026-11-05 08:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":229485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61887,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:13:26] local.INFO: GPS data processed {"connection_id":229485,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:13:26] local.INFO: Acknowledgment sent {"connection_id":229485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:13:43] local.INFO: TCP Data received {"connection_id":233217,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9963948012d7d068005e87bf8000c00b832..."} 
[2026-11-05 08:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9963948012d7d068005e87bf8000c00b832..."} 
[2026-11-05 08:13:43] local.INFO: Processing buffer {"connection_id":233217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9963948012d7d068005e87bf8000c00b832..."} 
[2026-11-05 08:13:43] local.INFO: Packet analysis {"connection_id":233217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a996"} 
[2026-11-05 08:13:43] local.INFO: Extracted packet for processing {"connection_id":233217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a996"} 
[2026-11-05 08:13:43] local.INFO: GPS Element Parsed {"raw_longitude":763168384,"raw_latitude":99122168,"longitude_deg":76.3168384,"latitude_deg":9.9122168,"altitude":12,"angle":184,"satellites":50,"speed":17,"hex_longitude":"2d7d0680","hex_latitude":"05e87bf8","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224713216001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40098922777018368,"note":"Value kept but may cause issues"} 
[2026-11-05 08:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009380711186458624,"note":"Value kept but may cause issues"} 
[2026-11-05 08:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793846557000,"timestamp_ms":1793846557000,"timestamp_seconds":1793846557,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9963948"} 
[2026-11-05 08: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-05 08:13: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-05 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 08:13: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-05 08: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-05 08: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-05 08:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":233217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":233217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":233217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:13:43] 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-05 08:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224713216001,"66":27908,"155":206,"87":13824,"24":17,"16":40098922777018368,"45":9009380711186458624},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-11-05 08:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224713216001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:13:43] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-11-05 08:13:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 08:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40098922777018368,"km_value":40098922777018.37,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009380711186458624,"description":"Unknown IO ID 45"} 
[2026-11-05 08:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224713216001,"power":27908,"unknown_155":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":9009380711186458624}} 
[2026-11-05 08:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":233217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:13:43] local.INFO: GPS data processed {"connection_id":233217,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:13:43] local.INFO: Acknowledgment sent {"connection_id":233217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:13:49] local.INFO: TCP Data received {"connection_id":229991,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229991,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:13:49] local.INFO: Processing buffer {"connection_id":229991,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:13:49] local.INFO: IMEI packet received {"connection_id":229991,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":229991,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:13:54] local.INFO: TCP Data received {"connection_id":229991,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229991,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:13:54] local.INFO: Processing buffer {"connection_id":229991,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:13:54] local.INFO: IMEI packet received {"connection_id":229991,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":229991,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:13:55] local.INFO: TCP Data received {"connection_id":229991,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9939198012d0c75000702b4c00014004022..."} 
[2026-11-05 08:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9939198012d0c75000702b4c00014004022..."} 
[2026-11-05 08:13:55] local.INFO: Processing buffer {"connection_id":229991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9939198012d0c75000702b4c00014004022..."} 
[2026-11-05 08:13:55] local.INFO: Packet analysis {"connection_id":229991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a993"} 
[2026-11-05 08:13:55] local.INFO: Extracted packet for processing {"connection_id":229991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a993"} 
[2026-11-05 08:13:55] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":20,"angle":64,"satellites":34,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224596992001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897764468328822784,"note":"Value kept but may cause issues"} 
[2026-11-05 08:13: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-05 08:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793846383000,"timestamp_ms":1793846383000,"timestamp_seconds":1793846383,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9939198"} 
[2026-11-05 08:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 08:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-11-05 08:13:55] 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-05 08:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229991,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229991,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224596992001,"66":12841,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897764468328822784},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224596992001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:13:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:13:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":897764468328822784,"description":"Unknown IO ID 45"} 
[2026-11-05 08:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224596992001,"power":12841,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897764468328822784}} 
[2026-11-05 08:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":229991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61889,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:13:55] local.INFO: GPS data processed {"connection_id":229991,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:13:55] local.INFO: Acknowledgment sent {"connection_id":229991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:14:09] local.INFO: TCP Data received {"connection_id":231294,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:14:09] local.INFO: Processing buffer {"connection_id":231294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:14:09] local.INFO: IMEI packet received {"connection_id":231294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":231294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:14:12] local.INFO: TCP Data received {"connection_id":231294,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:14:12] local.INFO: Processing buffer {"connection_id":231294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:14:12] local.INFO: IMEI packet received {"connection_id":231294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":231294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:14:13] local.INFO: TCP Data received {"connection_id":231294,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a99673e0012d7d050005e85730000b00b633..."} 
[2026-11-05 08:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a99673e0012d7d050005e85730000b00b633..."} 
[2026-11-05 08:14:13] local.INFO: Processing buffer {"connection_id":231294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a99673e0012d7d050005e85730000b00b633..."} 
[2026-11-05 08:14:13] local.INFO: Packet analysis {"connection_id":231294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a996"} 
[2026-11-05 08:14:13] local.INFO: Extracted packet for processing {"connection_id":231294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a996"} 
[2026-11-05 08:14:13] local.INFO: GPS Element Parsed {"raw_longitude":763168000,"raw_latitude":99112752,"longitude_deg":76.3168,"latitude_deg":9.9112752,"altitude":11,"angle":182,"satellites":51,"speed":32,"hex_longitude":"2d7d0500","hex_latitude":"05e85730","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224718592001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40099382338519040,"note":"Value kept but may cause issues"} 
[2026-11-05 08:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009028867464886272,"note":"Value kept but may cause issues"} 
[2026-11-05 08:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793846572000,"timestamp_ms":1793846572000,"timestamp_seconds":1793846572,"priority":1,"record_length":96,"hex_timestamp":"000001a1a99673e0"} 
[2026-11-05 08: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-05 08:14: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-05 08:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 08:14: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-05 08: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-05 08: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-05 08:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":231294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":231294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":231294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:14: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-05 08:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224718592001,"66":27767,"31":206,"87":13824,"24":32,"16":40099382338519040,"45":9009028867464886272},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-11-05 08:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224718592001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:14:13] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-11-05 08:14:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 08:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40099382338519040,"km_value":40099382338519.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009028867464886272,"description":"Unknown IO ID 45"} 
[2026-11-05 08:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224718592001,"power":27767,"unknown_31":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":9009028867464886272}} 
[2026-11-05 08:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":231294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:14:13] local.INFO: GPS data processed {"connection_id":231294,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:14:13] local.INFO: Acknowledgment sent {"connection_id":231294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:14:14] local.INFO: TCP Data received {"connection_id":231294,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9969af0012d7d02c005e831a0000b00b931..."} 
[2026-11-05 08:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9969af0012d7d02c005e831a0000b00b931..."} 
[2026-11-05 08:14:14] local.INFO: Processing buffer {"connection_id":231294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9969af0012d7d02c005e831a0000b00b931..."} 
[2026-11-05 08:14:14] local.INFO: Packet analysis {"connection_id":231294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a996"} 
[2026-11-05 08:14:14] local.INFO: Extracted packet for processing {"connection_id":231294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a996"} 
[2026-11-05 08:14:14] local.INFO: GPS Element Parsed {"raw_longitude":763167424,"raw_latitude":99103136,"longitude_deg":76.3167424,"latitude_deg":9.9103136,"altitude":11,"angle":185,"satellites":49,"speed":43,"hex_longitude":"2d7d02c0","hex_latitude":"05e831a0","is_valid_coordinates":true} 
[2026-11-05 08:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224722432001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40099850489954304,"note":"Value kept but may cause issues"} 
[2026-11-05 08:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008606654997409792,"note":"Value kept but may cause issues"} 
[2026-11-05 08:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793846582000,"timestamp_ms":1793846582000,"timestamp_seconds":1793846582,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9969af0"} 
[2026-11-05 08:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:14: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-05 08:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-05 08:14: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-05 08:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":231294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":231294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":231294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:14:14] 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-05 08:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224722432001,"66":27876,"31":206,"87":13824,"24":43,"16":40099850489954304,"45":9008606654997409792},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-11-05 08:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224722432001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:14:14] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-11-05 08:14:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 08:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40099850489954304,"km_value":40099850489954.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008606654997409792,"description":"Unknown IO ID 45"} 
[2026-11-05 08:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224722432001,"power":27876,"unknown_31":206,"unknown_87":13824,"ignition":43,"odometer":null,"unknown_45":9008606654997409792}} 
[2026-11-05 08:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":231294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:14:14] local.INFO: GPS data processed {"connection_id":231294,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:14:14] local.INFO: Acknowledgment sent {"connection_id":231294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:14:26] local.INFO: TCP Data received {"connection_id":229991,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9939198012d0c75000702b4c00014004022..."} 
[2026-11-05 08:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9939198012d0c75000702b4c00014004022..."} 
[2026-11-05 08:14:26] local.INFO: Processing buffer {"connection_id":229991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9939198012d0c75000702b4c00014004022..."} 
[2026-11-05 08:14:26] local.INFO: Packet analysis {"connection_id":229991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a993"} 
[2026-11-05 08:14:26] local.INFO: Extracted packet for processing {"connection_id":229991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a993"} 
[2026-11-05 08:14:26] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":20,"angle":64,"satellites":34,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224596992001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897764468328822784,"note":"Value kept but may cause issues"} 
[2026-11-05 08:14: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-05 08:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793846383000,"timestamp_ms":1793846383000,"timestamp_seconds":1793846383,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9939198"} 
[2026-11-05 08:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 08:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-11-05 08:14:26] 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-05 08:14:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229991,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229991,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224596992001,"66":12841,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897764468328822784},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224596992001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:14:26] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:14:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":897764468328822784,"description":"Unknown IO ID 45"} 
[2026-11-05 08:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224596992001,"power":12841,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897764468328822784}} 
[2026-11-05 08:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":229991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61892,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:14:26] local.INFO: GPS data processed {"connection_id":229991,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:14:26] local.INFO: Acknowledgment sent {"connection_id":229991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:14:46] local.INFO: TCP Data received {"connection_id":231294,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a996ba30012d7cfdc005e80df8000a00bf31..."} 
[2026-11-05 08:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a996ba30012d7cfdc005e80df8000a00bf31..."} 
[2026-11-05 08:14:46] local.INFO: Processing buffer {"connection_id":231294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a996ba30012d7cfdc005e80df8000a00bf31..."} 
[2026-11-05 08:14:46] local.INFO: Packet analysis {"connection_id":231294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a996"} 
[2026-11-05 08:14:46] local.INFO: Extracted packet for processing {"connection_id":231294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a996"} 
[2026-11-05 08:14:46] local.INFO: GPS Element Parsed {"raw_longitude":763166144,"raw_latitude":99094008,"longitude_deg":76.3166144,"latitude_deg":9.9094008,"altitude":10,"angle":191,"satellites":49,"speed":48,"hex_longitude":"2d7cfdc0","hex_latitude":"05e80df8","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224724992001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40100297166553088,"note":"Value kept but may cause issues"} 
[2026-11-05 08:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007973336297349120,"note":"Value kept but may cause issues"} 
[2026-11-05 08:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793846590000,"timestamp_ms":1793846590000,"timestamp_seconds":1793846590,"priority":1,"record_length":96,"hex_timestamp":"000001a1a996ba30"} 
[2026-11-05 08: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-05 08:14: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-05 08: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-05 08:14: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-05 08: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-05 08: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-05 08:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":231294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":231294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":231294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:14:46] 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-05 08:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224724992001,"66":27930,"31":206,"87":13824,"24":48,"16":40100297166553088,"45":9007973336297349120},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-11-05 08:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224724992001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:14:46] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-11-05 08:14:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 08:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40100297166553088,"km_value":40100297166553.086,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007973336297349120,"description":"Unknown IO ID 45"} 
[2026-11-05 08:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224724992001,"power":27930,"unknown_31":206,"unknown_87":13824,"ignition":48,"odometer":null,"unknown_45":9007973336297349120}} 
[2026-11-05 08:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":231294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:14:46] local.INFO: GPS data processed {"connection_id":231294,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:14:46] local.INFO: Acknowledgment sent {"connection_id":231294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:14:49] local.INFO: TCP Data received {"connection_id":229487,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229487,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:14:49] local.INFO: Processing buffer {"connection_id":229487,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:14:49] local.INFO: IMEI packet received {"connection_id":229487,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":229487,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:14:54] local.INFO: TCP Data received {"connection_id":229487,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229487,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:14:54] local.INFO: Processing buffer {"connection_id":229487,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:14:54] local.INFO: IMEI packet received {"connection_id":229487,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":229487,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:14:55] local.INFO: TCP Data received {"connection_id":229487,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9982578012d0c75000702b4c00014004029..."} 
[2026-11-05 08:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9982578012d0c75000702b4c00014004029..."} 
[2026-11-05 08:14:55] local.INFO: Processing buffer {"connection_id":229487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9982578012d0c75000702b4c00014004029..."} 
[2026-11-05 08:14:55] local.INFO: Packet analysis {"connection_id":229487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a998"} 
[2026-11-05 08:14:55] local.INFO: Extracted packet for processing {"connection_id":229487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a998"} 
[2026-11-05 08:14:55] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":20,"angle":64,"satellites":41,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224674048001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840453120,"note":"Value kept but may cause issues"} 
[2026-11-05 08:14: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-05 08:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793846683000,"timestamp_ms":1793846683000,"timestamp_seconds":1793846683,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9982578"} 
[2026-11-05 08:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 08:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-11-05 08:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229487,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229487,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224674048001,"66":12689,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897623730840453120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224674048001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:14:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:14:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840453120,"description":"Unknown IO ID 45"} 
[2026-11-05 08:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224674048001,"power":12689,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840453120}} 
[2026-11-05 08:14:55] 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":61894,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:14:55] local.INFO: GPS data processed {"connection_id":229487,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:14:55] local.INFO: Acknowledgment sent {"connection_id":229487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:15:04] local.INFO: TCP Data received {"connection_id":229992,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:15:04] local.INFO: Processing buffer {"connection_id":229992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:15:04] local.INFO: IMEI packet received {"connection_id":229992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":229992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:15:07] local.INFO: TCP Data received {"connection_id":229992,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:15:07] local.INFO: Processing buffer {"connection_id":229992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:15:07] local.INFO: IMEI packet received {"connection_id":229992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":229992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:15:08] local.INFO: TCP Data received {"connection_id":229992,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a996d970012d7cf60005e7e850000900bf33..."} 
[2026-11-05 08:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a996d970012d7cf60005e7e850000900bf33..."} 
[2026-11-05 08:15:08] local.INFO: Processing buffer {"connection_id":229992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a996d970012d7cf60005e7e850000900bf33..."} 
[2026-11-05 08:15:08] local.INFO: Packet analysis {"connection_id":229992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a996"} 
[2026-11-05 08:15:08] local.INFO: Extracted packet for processing {"connection_id":229992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a996"} 
[2026-11-05 08:15:08] local.INFO: GPS Element Parsed {"raw_longitude":763164160,"raw_latitude":99084368,"longitude_deg":76.316416,"latitude_deg":9.9084368,"altitude":9,"angle":191,"satellites":51,"speed":49,"hex_longitude":"2d7cf600","hex_latitude":"05e7e850","is_valid_coordinates":true} 
[2026-11-05 08:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224727040001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40100773907922944,"note":"Value kept but may cause issues"} 
[2026-11-05 08:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9006565961411459072,"note":"Value kept but may cause issues"} 
[2026-11-05 08:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793846598000,"timestamp_ms":1793846598000,"timestamp_seconds":1793846598,"priority":1,"record_length":96,"hex_timestamp":"000001a1a996d970"} 
[2026-11-05 08:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-05 08:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":229992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":229992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":229992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:15:08] 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-05 08:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224727040001,"66":27865,"31":206,"87":13824,"24":49,"16":40100773907922944,"45":9006565961411459072},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-11-05 08:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224727040001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:15:08] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-11-05 08:15:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 08:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40100773907922944,"km_value":40100773907922.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9006565961411459072,"description":"Unknown IO ID 45"} 
[2026-11-05 08:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224727040001,"power":27865,"unknown_31":206,"unknown_87":13824,"ignition":49,"odometer":null,"unknown_45":9006565961411459072}} 
[2026-11-05 08:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":229992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:15:08] local.INFO: GPS data processed {"connection_id":229992,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:15:08] local.INFO: Acknowledgment sent {"connection_id":229992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:15:09] local.INFO: TCP Data received {"connection_id":229992,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a996f8b0012d7cee4005e7c230000b00be30..."} 
[2026-11-05 08:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a996f8b0012d7cee4005e7c230000b00be30..."} 
[2026-11-05 08:15:09] local.INFO: Processing buffer {"connection_id":229992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a996f8b0012d7cee4005e7c230000b00be30..."} 
[2026-11-05 08:15:09] local.INFO: Packet analysis {"connection_id":229992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a996"} 
[2026-11-05 08:15:09] local.INFO: Extracted packet for processing {"connection_id":229992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a996"} 
[2026-11-05 08:15:09] local.INFO: GPS Element Parsed {"raw_longitude":763162176,"raw_latitude":99074608,"longitude_deg":76.3162176,"latitude_deg":9.9074608,"altitude":11,"angle":190,"satellites":48,"speed":47,"hex_longitude":"2d7cee40","hex_latitude":"05e7c230","is_valid_coordinates":true} 
[2026-11-05 08:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224729088001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40101254944260096,"note":"Value kept but may cause issues"} 
[2026-11-05 08:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004384530339483648,"note":"Value kept but may cause issues"} 
[2026-11-05 08:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793846606000,"timestamp_ms":1793846606000,"timestamp_seconds":1793846606,"priority":1,"record_length":96,"hex_timestamp":"000001a1a996f8b0"} 
[2026-11-05 08:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:15: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-05 08:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 08:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:15:09] 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-05 08:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224729088001,"66":27908,"31":206,"87":13824,"24":47,"16":40101254944260096,"45":9004384530339483648},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-11-05 08:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224729088001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:15:09] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-11-05 08:15:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 08:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40101254944260096,"km_value":40101254944260.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004384530339483648,"description":"Unknown IO ID 45"} 
[2026-11-05 08:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224729088001,"power":27908,"unknown_31":206,"unknown_87":13824,"ignition":47,"odometer":null,"unknown_45":9004384530339483648}} 
[2026-11-05 08:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":229992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:15:09] local.INFO: GPS data processed {"connection_id":229992,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:15:09] local.INFO: Acknowledgment sent {"connection_id":229992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:15:26] local.INFO: TCP Data received {"connection_id":229487,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9982578012d0c75000702b4c00014004029..."} 
[2026-11-05 08:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9982578012d0c75000702b4c00014004029..."} 
[2026-11-05 08:15:26] local.INFO: Processing buffer {"connection_id":229487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9982578012d0c75000702b4c00014004029..."} 
[2026-11-05 08:15:26] local.INFO: Packet analysis {"connection_id":229487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a998"} 
[2026-11-05 08:15:26] local.INFO: Extracted packet for processing {"connection_id":229487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a998"} 
[2026-11-05 08:15:26] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":20,"angle":64,"satellites":41,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224674048001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840453120,"note":"Value kept but may cause issues"} 
[2026-11-05 08:15: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-05 08:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793846683000,"timestamp_ms":1793846683000,"timestamp_seconds":1793846683,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9982578"} 
[2026-11-05 08:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:15:26] 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-05 08:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-11-05 08:15:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:15:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229487,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229487,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:15:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224674048001,"66":12689,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897623730840453120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224674048001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:15:26] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:15:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840453120,"description":"Unknown IO ID 45"} 
[2026-11-05 08:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224674048001,"power":12689,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840453120}} 
[2026-11-05 08:15:27] 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":61897,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:15:27] local.INFO: GPS data processed {"connection_id":229487,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:15:27] local.INFO: Acknowledgment sent {"connection_id":229487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:15:40] local.INFO: TCP Data received {"connection_id":229992,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a99717f0012d7ce78005e79ec8000d00bf32..."} 
[2026-11-05 08:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a99717f0012d7ce78005e79ec8000d00bf32..."} 
[2026-11-05 08:15:40] local.INFO: Processing buffer {"connection_id":229992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a99717f0012d7ce78005e79ec8000d00bf32..."} 
[2026-11-05 08:15:40] local.INFO: Packet analysis {"connection_id":229992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a997"} 
[2026-11-05 08:15:40] local.INFO: Extracted packet for processing {"connection_id":229992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a997"} 
[2026-11-05 08:15:40] local.INFO: GPS Element Parsed {"raw_longitude":763160448,"raw_latitude":99065544,"longitude_deg":76.3160448,"latitude_deg":9.9065544,"altitude":13,"angle":191,"satellites":50,"speed":43,"hex_longitude":"2d7ce780","hex_latitude":"05e79ec8","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224731136001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40101701620858880,"note":"Value kept but may cause issues"} 
[2026-11-05 08:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9002203099267477504,"note":"Value kept but may cause issues"} 
[2026-11-05 08:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793846614000,"timestamp_ms":1793846614000,"timestamp_seconds":1793846614,"priority":1,"record_length":96,"hex_timestamp":"000001a1a99717f0"} 
[2026-11-05 08: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-05 08:15: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-05 08:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 08:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08: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-05 08: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-05 08:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:15:40] 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-05 08:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224731136001,"66":27767,"31":206,"87":13824,"24":43,"16":40101701620858880,"45":9002203099267477504},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-11-05 08:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224731136001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:15:40] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-11-05 08:15:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 08:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40101701620858880,"km_value":40101701620858.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9002203099267477504,"description":"Unknown IO ID 45"} 
[2026-11-05 08:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224731136001,"power":27767,"unknown_31":206,"unknown_87":13824,"ignition":43,"odometer":null,"unknown_45":9002203099267477504}} 
[2026-11-05 08:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":229992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:15:40] local.INFO: GPS data processed {"connection_id":229992,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:15:40] local.INFO: Acknowledgment sent {"connection_id":229992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:15:49] local.INFO: TCP Data received {"connection_id":229488,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229488,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:15:49] local.INFO: Processing buffer {"connection_id":229488,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:15:49] local.INFO: IMEI packet received {"connection_id":229488,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":229488,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:15:54] local.INFO: TCP Data received {"connection_id":229488,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229488,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:15:54] local.INFO: Processing buffer {"connection_id":229488,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:15:54] local.INFO: IMEI packet received {"connection_id":229488,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":229488,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:15:57] local.INFO: TCP Data received {"connection_id":229488,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9982578012d0c75000702b4c00014004029..."} 
[2026-11-05 08:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9982578012d0c75000702b4c00014004029..."} 
[2026-11-05 08:15:57] local.INFO: Processing buffer {"connection_id":229488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9982578012d0c75000702b4c00014004029..."} 
[2026-11-05 08:15:57] local.INFO: Packet analysis {"connection_id":229488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a998"} 
[2026-11-05 08:15:57] local.INFO: Extracted packet for processing {"connection_id":229488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a998"} 
[2026-11-05 08:15:57] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":20,"angle":64,"satellites":41,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224674048001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840453120,"note":"Value kept but may cause issues"} 
[2026-11-05 08:15:57] 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-05 08:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1793846683000,"timestamp_ms":1793846683000,"timestamp_seconds":1793846683,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9982578"} 
[2026-11-05 08:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 08:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-11-05 08:15:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:15:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":229488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":229488,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":229488,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224674048001,"66":12689,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897623730840453120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224674048001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:15:57] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:15:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840453120,"description":"Unknown IO ID 45"} 
[2026-11-05 08:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224674048001,"power":12689,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840453120}} 
[2026-11-05 08:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":229488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61899,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:15:57] local.INFO: GPS data processed {"connection_id":229488,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:15:57] local.INFO: Acknowledgment sent {"connection_id":229488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:16:04] local.INFO: TCP Data received {"connection_id":233219,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:16:04] local.INFO: Processing buffer {"connection_id":233219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:16:04] local.INFO: IMEI packet received {"connection_id":233219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":233219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:16:04] local.INFO: TCP Data received {"connection_id":233219,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:16:04] local.INFO: Processing buffer {"connection_id":233219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:16:04] local.INFO: IMEI packet received {"connection_id":233219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":233219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:16:09] local.INFO: TCP Data received {"connection_id":233219,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:16:09] local.INFO: Processing buffer {"connection_id":233219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:16:09] local.INFO: IMEI packet received {"connection_id":233219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":233219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:16:09] local.INFO: TCP Data received {"connection_id":233219,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9973f00012d7cdfc005e77b28000f00c132..."} 
[2026-11-05 08:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9973f00012d7cdfc005e77b28000f00c132..."} 
[2026-11-05 08:16:10] local.INFO: Processing buffer {"connection_id":233219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9973f00012d7cdfc005e77b28000f00c132..."} 
[2026-11-05 08:16:10] local.INFO: Packet analysis {"connection_id":233219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a997"} 
[2026-11-05 08:16:10] local.INFO: Extracted packet for processing {"connection_id":233219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a997"} 
[2026-11-05 08:16:10] local.INFO: GPS Element Parsed {"raw_longitude":763158464,"raw_latitude":99056424,"longitude_deg":76.3158464,"latitude_deg":9.9056424,"altitude":15,"angle":193,"satellites":50,"speed":24,"hex_longitude":"2d7cdfc0","hex_latitude":"05e77b28","is_valid_coordinates":true} 
[2026-11-05 08:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224733184001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40102152592424960,"note":"Value kept but may cause issues"} 
[2026-11-05 08:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9000303143172360192,"note":"Value kept but may cause issues"} 
[2026-11-05 08:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793846624000,"timestamp_ms":1793846624000,"timestamp_seconds":1793846624,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9973f00"} 
[2026-11-05 08:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:16: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-05 08:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-05 08:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:16:10] 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-05 08:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224733184001,"66":27908,"31":206,"87":13824,"24":24,"16":40102152592424960,"45":9000303143172360192},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-11-05 08:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224733184001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:16:10] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-11-05 08:16:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 08:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40102152592424960,"km_value":40102152592424.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9000303143172360192,"description":"Unknown IO ID 45"} 
[2026-11-05 08:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224733184001,"power":27908,"unknown_31":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":9000303143172360192}} 
[2026-11-05 08:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":233219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:16:10] local.INFO: GPS data processed {"connection_id":233219,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:16:10] local.INFO: Acknowledgment sent {"connection_id":233219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:16:24] local.INFO: TCP Data received {"connection_id":231296,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231296,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:16:24] local.INFO: Processing buffer {"connection_id":231296,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:16:24] local.INFO: IMEI packet received {"connection_id":231296,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 08:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":231296,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:16:25] local.INFO: TCP Data received {"connection_id":231296,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231296,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:16:25] local.INFO: Processing buffer {"connection_id":231296,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:16:25] local.INFO: IMEI packet received {"connection_id":231296,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 08:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":231296,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:16:28] local.INFO: TCP Data received {"connection_id":229488,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9982578012d0c75000702b4c00014004029..."} 
[2026-11-05 08:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9982578012d0c75000702b4c00014004029..."} 
[2026-11-05 08:16:28] local.INFO: Processing buffer {"connection_id":229488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9982578012d0c75000702b4c00014004029..."} 
[2026-11-05 08:16:28] local.INFO: Packet analysis {"connection_id":229488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a998"} 
[2026-11-05 08:16:28] local.INFO: Extracted packet for processing {"connection_id":229488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a998"} 
[2026-11-05 08:16:28] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":20,"angle":64,"satellites":41,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224674048001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840453120,"note":"Value kept but may cause issues"} 
[2026-11-05 08:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1793846683000,"timestamp_ms":1793846683000,"timestamp_seconds":1793846683,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9982578"} 
[2026-11-05 08:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:16:28] 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-05 08:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-11-05 08:16:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:16:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":229488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":229488,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":229488,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224674048001,"66":12689,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897623730840453120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224674048001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:16:28] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:16:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840453120,"description":"Unknown IO ID 45"} 
[2026-11-05 08:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224674048001,"power":12689,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840453120}} 
[2026-11-05 08:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":229488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61901,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:16:29] local.INFO: GPS data processed {"connection_id":229488,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:16:29] local.INFO: Acknowledgment sent {"connection_id":229488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:16:41] local.INFO: TCP Data received {"connection_id":233219,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a99775b0012d7cd80005e75960000f00bf32..."} 
[2026-11-05 08:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a99775b0012d7cd80005e75960000f00bf32..."} 
[2026-11-05 08:16:41] local.INFO: Processing buffer {"connection_id":233219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a99775b0012d7cd80005e75960000f00bf32..."} 
[2026-11-05 08:16:41] local.INFO: Packet analysis {"connection_id":233219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a997"} 
[2026-11-05 08:16:41] local.INFO: Extracted packet for processing {"connection_id":233219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a997"} 
[2026-11-05 08:16:41] local.INFO: GPS Element Parsed {"raw_longitude":763156480,"raw_latitude":99047776,"longitude_deg":76.315648,"latitude_deg":9.9047776,"altitude":15,"angle":191,"satellites":50,"speed":31,"hex_longitude":"2d7cd800","hex_latitude":"05e75960","is_valid_coordinates":true} 
[2026-11-05 08:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224735744001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40102586384121856,"note":"Value kept but may cause issues"} 
[2026-11-05 08:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8998121712100517888,"note":"Value kept but may cause issues"} 
[2026-11-05 08:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793846638000,"timestamp_ms":1793846638000,"timestamp_seconds":1793846638,"priority":1,"record_length":96,"hex_timestamp":"000001a1a99775b0"} 
[2026-11-05 08:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:16: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-05 08:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 08:16: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-05 08:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:16:41] 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-05 08:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224735744001,"66":27908,"31":206,"87":13824,"24":31,"16":40102586384121856,"45":8998121712100517888},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-11-05 08:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224735744001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:16:41] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-11-05 08:16:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 08:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40102586384121856,"km_value":40102586384121.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8998121712100517888,"description":"Unknown IO ID 45"} 
[2026-11-05 08:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224735744001,"power":27908,"unknown_31":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8998121712100517888}} 
[2026-11-05 08:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":233219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:16:41] local.INFO: GPS data processed {"connection_id":233219,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:16:41] local.INFO: Acknowledgment sent {"connection_id":233219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:16:49] local.INFO: TCP Data received {"connection_id":231297,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231297,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:16:49] local.INFO: Processing buffer {"connection_id":231297,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:16:49] local.INFO: IMEI packet received {"connection_id":231297,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":231297,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:16:54] local.INFO: TCP Data received {"connection_id":231297,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231297,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:16:54] local.INFO: Processing buffer {"connection_id":231297,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:16:54] local.INFO: IMEI packet received {"connection_id":231297,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":231297,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:16:55] local.INFO: TCP Data received {"connection_id":231297,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9982578012d0c75000702b4c00014004029..."} 
[2026-11-05 08:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9982578012d0c75000702b4c00014004029..."} 
[2026-11-05 08:16:55] local.INFO: Processing buffer {"connection_id":231297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9982578012d0c75000702b4c00014004029..."} 
[2026-11-05 08:16:55] local.INFO: Packet analysis {"connection_id":231297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a998"} 
[2026-11-05 08:16:55] local.INFO: Extracted packet for processing {"connection_id":231297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a998"} 
[2026-11-05 08:16:55] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":20,"angle":64,"satellites":41,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224674048001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840453120,"note":"Value kept but may cause issues"} 
[2026-11-05 08:16: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-05 08:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793846683000,"timestamp_ms":1793846683000,"timestamp_seconds":1793846683,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9982578"} 
[2026-11-05 08: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-05 08:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 08: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-11-05 08:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08: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-05 08: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-05 08:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231297,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231297,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224674048001,"66":12689,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897623730840453120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224674048001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:16:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:16:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840453120,"description":"Unknown IO ID 45"} 
[2026-11-05 08:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224674048001,"power":12689,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840453120}} 
[2026-11-05 08:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":231297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61903,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:16:55] local.INFO: GPS data processed {"connection_id":231297,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:16:55] local.INFO: Acknowledgment sent {"connection_id":231297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:17:04] local.INFO: TCP Data received {"connection_id":233220,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:17:04] local.INFO: Processing buffer {"connection_id":233220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:17:04] local.INFO: IMEI packet received {"connection_id":233220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":233220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:17:06] local.INFO: TCP Data received {"connection_id":233220,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:17:06] local.INFO: Processing buffer {"connection_id":233220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:17:06] local.INFO: IMEI packet received {"connection_id":233220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":233220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:17:09] local.INFO: TCP Data received {"connection_id":233220,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:17:09] local.INFO: Processing buffer {"connection_id":233220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:17:09] local.INFO: IMEI packet received {"connection_id":233220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":233220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:17:09] local.INFO: TCP Data received {"connection_id":233220,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9991b90012d7c8d4005e5ecb8000800ba33..."} 
[2026-11-05 08:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9991b90012d7c8d4005e5ecb8000800ba33..."} 
[2026-11-05 08:17:09] local.INFO: Processing buffer {"connection_id":233220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9991b90012d7c8d4005e5ecb8000800ba33..."} 
[2026-11-05 08:17:09] local.INFO: Packet analysis {"connection_id":233220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a999"} 
[2026-11-05 08:17:09] local.INFO: Extracted packet for processing {"connection_id":233220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a999"} 
[2026-11-05 08:17:09] local.INFO: GPS Element Parsed {"raw_longitude":763137344,"raw_latitude":98954424,"longitude_deg":76.3137344,"latitude_deg":9.8954424,"altitude":8,"angle":186,"satellites":51,"speed":4,"hex_longitude":"2d7c8d40","hex_latitude":"05e5ecb8","is_valid_coordinates":true} 
[2026-11-05 08:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224761600001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40107212063899648,"note":"Value kept but may cause issues"} 
[2026-11-05 08:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974970395240763392,"note":"Value kept but may cause issues"} 
[2026-11-05 08:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793846746000,"timestamp_ms":1793846746000,"timestamp_seconds":1793846746,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9991b90"} 
[2026-11-05 08:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:17: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-05 08:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 08:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:17:09] 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-05 08:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224761600001,"66":28050,"38":206,"87":13824,"24":4,"16":40107212063899648,"45":8974970395240763392},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-11-05 08:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224761600001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:17:09] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-11-05 08:17:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 08:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40107212063899648,"km_value":40107212063899.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974970395240763392,"description":"Unknown IO ID 45"} 
[2026-11-05 08:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224761600001,"power":28050,"unknown_38":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8974970395240763392}} 
[2026-11-05 08:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":233220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:17:10] local.INFO: GPS data processed {"connection_id":233220,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:17:10] local.INFO: Acknowledgment sent {"connection_id":233220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:17:15] local.INFO: TCP Data received {"connection_id":233220,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9996d98012d7c8d8005e5ea78000900ba31..."} 
[2026-11-05 08:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9996d98012d7c8d8005e5ea78000900ba31..."} 
[2026-11-05 08:17:15] local.INFO: Processing buffer {"connection_id":233220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9996d98012d7c8d8005e5ea78000900ba31..."} 
[2026-11-05 08:17:15] local.INFO: Packet analysis {"connection_id":233220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a999"} 
[2026-11-05 08:17:15] local.INFO: Extracted packet for processing {"connection_id":233220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a999"} 
[2026-11-05 08:17:15] local.INFO: GPS Element Parsed {"raw_longitude":763137408,"raw_latitude":98953848,"longitude_deg":76.3137408,"latitude_deg":9.8953848,"altitude":9,"angle":186,"satellites":49,"speed":0,"hex_longitude":"2d7c8d80","hex_latitude":"05e5ea78","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224766976001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40107242128670720,"note":"Value kept but may cause issues"} 
[2026-11-05 08:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974900026495776768,"note":"Value kept but may cause issues"} 
[2026-11-05 08:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793846767000,"timestamp_ms":1793846767000,"timestamp_seconds":1793846767,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9996d98"} 
[2026-11-05 08: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-05 08:17: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-05 08: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-05 08:17: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-05 08: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-05 08: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-05 08:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:17:15] 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-05 08:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224766976001,"66":28093,"38":206,"87":13824,"24":0,"16":40107242128670720,"45":8974900026495776768},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-11-05 08:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224766976001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:17:15] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-11-05 08:17:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 08:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40107242128670720,"km_value":40107242128670.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974900026495776768,"description":"Unknown IO ID 45"} 
[2026-11-05 08:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224766976001,"power":28093,"unknown_38":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8974900026495776768}} 
[2026-11-05 08:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":233220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:17:15] local.INFO: GPS data processed {"connection_id":233220,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:17:15] local.INFO: Acknowledgment sent {"connection_id":233220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:17:26] local.INFO: TCP Data received {"connection_id":231297,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9982578012d0c75000702b4c00014004029..."} 
[2026-11-05 08:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9982578012d0c75000702b4c00014004029..."} 
[2026-11-05 08:17:26] local.INFO: Processing buffer {"connection_id":231297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9982578012d0c75000702b4c00014004029..."} 
[2026-11-05 08:17:26] local.INFO: Packet analysis {"connection_id":231297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a998"} 
[2026-11-05 08:17:26] local.INFO: Extracted packet for processing {"connection_id":231297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a998"} 
[2026-11-05 08:17:26] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":20,"angle":64,"satellites":41,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224674048001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840453120,"note":"Value kept but may cause issues"} 
[2026-11-05 08:17: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-05 08:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793846683000,"timestamp_ms":1793846683000,"timestamp_seconds":1793846683,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9982578"} 
[2026-11-05 08: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-05 08:17:26] 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-05 08: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-11-05 08:17:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08: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-05 08: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-05 08:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231297,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231297,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224674048001,"66":12689,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897623730840453120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224674048001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:17:26] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:17:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840453120,"description":"Unknown IO ID 45"} 
[2026-11-05 08:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224674048001,"power":12689,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840453120}} 
[2026-11-05 08:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":231297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61906,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:17:26] local.INFO: GPS data processed {"connection_id":231297,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:17:26] local.INFO: Acknowledgment sent {"connection_id":231297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:17:46] local.INFO: TCP Data received {"connection_id":233220,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a999bfa0012d7c8d8005e5ea78000900ba33..."} 
[2026-11-05 08:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a999bfa0012d7c8d8005e5ea78000900ba33..."} 
[2026-11-05 08:17:46] local.INFO: Processing buffer {"connection_id":233220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a999bfa0012d7c8d8005e5ea78000900ba33..."} 
[2026-11-05 08:17:46] local.INFO: Packet analysis {"connection_id":233220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a999"} 
[2026-11-05 08:17:46] local.INFO: Extracted packet for processing {"connection_id":233220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a999"} 
[2026-11-05 08:17:46] local.INFO: GPS Element Parsed {"raw_longitude":763137408,"raw_latitude":98953848,"longitude_deg":76.3137408,"latitude_deg":9.8953848,"altitude":9,"angle":186,"satellites":51,"speed":0,"hex_longitude":"2d7c8d80","hex_latitude":"05e5ea78","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224772352001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40107242128670720,"note":"Value kept but may cause issues"} 
[2026-11-05 08:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974970395239806976,"note":"Value kept but may cause issues"} 
[2026-11-05 08:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793846788000,"timestamp_ms":1793846788000,"timestamp_seconds":1793846788,"priority":1,"record_length":96,"hex_timestamp":"000001a1a999bfa0"} 
[2026-11-05 08: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-05 08:17: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-05 08: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-11-05 08:17:46] 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-05 08: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-05 08: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-05 08:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":233220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":233220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":233220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:17:46] 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-05 08:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224772352001,"66":27865,"38":206,"87":13824,"24":0,"16":40107242128670720,"45":8974970395239806976},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-11-05 08:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224772352001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:17:46] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-11-05 08:17:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 08:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40107242128670720,"km_value":40107242128670.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974970395239806976,"description":"Unknown IO ID 45"} 
[2026-11-05 08:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224772352001,"power":27865,"unknown_38":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8974970395239806976}} 
[2026-11-05 08:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":233220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:17:46] local.INFO: GPS data processed {"connection_id":233220,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:17:46] local.INFO: Acknowledgment sent {"connection_id":233220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:17:54] local.INFO: TCP Data received {"connection_id":233221,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233221,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:17:54] local.INFO: Processing buffer {"connection_id":233221,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:17:54] local.INFO: IMEI packet received {"connection_id":233221,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":233221,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:17:59] local.INFO: TCP Data received {"connection_id":233221,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233221,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:17:59] local.INFO: Processing buffer {"connection_id":233221,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:17:59] local.INFO: IMEI packet received {"connection_id":233221,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":233221,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:18:00] local.INFO: TCP Data received {"connection_id":233221,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9982578012d0c75000702b4c00014004029..."} 
[2026-11-05 08:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9982578012d0c75000702b4c00014004029..."} 
[2026-11-05 08:18:00] local.INFO: Processing buffer {"connection_id":233221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9982578012d0c75000702b4c00014004029..."} 
[2026-11-05 08:18:00] local.INFO: Packet analysis {"connection_id":233221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a998"} 
[2026-11-05 08:18:00] local.INFO: Extracted packet for processing {"connection_id":233221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a998"} 
[2026-11-05 08:18:00] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":20,"angle":64,"satellites":41,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224674048001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840453120,"note":"Value kept but may cause issues"} 
[2026-11-05 08:18:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793846683000,"timestamp_ms":1793846683000,"timestamp_seconds":1793846683,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9982578"} 
[2026-11-05 08:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:18:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 08:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-11-05 08:18:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:18:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":233221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":233221,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":233221,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224674048001,"66":12689,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897623730840453120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224674048001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:18:00] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:18:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840453120,"description":"Unknown IO ID 45"} 
[2026-11-05 08:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224674048001,"power":12689,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840453120}} 
[2026-11-05 08:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":233221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61908,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:18:00] local.INFO: GPS data processed {"connection_id":233221,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:18:00] local.INFO: Acknowledgment sent {"connection_id":233221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:18:04] local.INFO: TCP Data received {"connection_id":233221,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9982578012d0c75000702b4c00014004029..."} 
[2026-11-05 08:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9982578012d0c75000702b4c00014004029..."} 
[2026-11-05 08:18:04] local.INFO: Processing buffer {"connection_id":233221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9982578012d0c75000702b4c00014004029..."} 
[2026-11-05 08:18:04] local.INFO: Packet analysis {"connection_id":233221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a998"} 
[2026-11-05 08:18:04] local.INFO: Extracted packet for processing {"connection_id":233221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a998"} 
[2026-11-05 08:18:04] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":20,"angle":64,"satellites":41,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224674048001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840453120,"note":"Value kept but may cause issues"} 
[2026-11-05 08:18: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-05 08:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793846683000,"timestamp_ms":1793846683000,"timestamp_seconds":1793846683,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9982578"} 
[2026-11-05 08:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 08:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-11-05 08:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":233221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":233221,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":233221,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224674048001,"66":12689,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897623730840453120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224674048001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:18:04] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:18:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840453120,"description":"Unknown IO ID 45"} 
[2026-11-05 08:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224674048001,"power":12689,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840453120}} 
[2026-11-05 08:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":233221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61909,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:18:05] local.INFO: GPS data processed {"connection_id":233221,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:18:05] local.INFO: Acknowledgment sent {"connection_id":233221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:18:10] local.INFO: TCP Data received {"connection_id":229489,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:18:10] local.INFO: Processing buffer {"connection_id":229489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:18:10] local.INFO: IMEI packet received {"connection_id":229489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":229489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:18:13] local.INFO: TCP Data received {"connection_id":229489,"ip":"42.109.136.11","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 08:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229489,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 08:18:13] local.INFO: Processing buffer {"connection_id":229489,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 08:18:13] local.INFO: IMEI packet received {"connection_id":229489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":229489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:18:49] local.INFO: TCP Data received {"connection_id":229993,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229993,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:18:49] local.INFO: Processing buffer {"connection_id":229993,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:18:49] local.INFO: IMEI packet received {"connection_id":229993,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":229993,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:18:54] local.INFO: TCP Data received {"connection_id":229993,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229993,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:18:54] local.INFO: Processing buffer {"connection_id":229993,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:18:54] local.INFO: IMEI packet received {"connection_id":229993,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":229993,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:18:55] local.INFO: TCP Data received {"connection_id":229993,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9982578012d0c75000702b4c00014004029..."} 
[2026-11-05 08:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9982578012d0c75000702b4c00014004029..."} 
[2026-11-05 08:18:55] local.INFO: Processing buffer {"connection_id":229993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9982578012d0c75000702b4c00014004029..."} 
[2026-11-05 08:18:55] local.INFO: Packet analysis {"connection_id":229993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a998"} 
[2026-11-05 08:18:55] local.INFO: Extracted packet for processing {"connection_id":229993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a998"} 
[2026-11-05 08:18:55] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":20,"angle":64,"satellites":41,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 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-05 08:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224674048001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840453120,"note":"Value kept but may cause issues"} 
[2026-11-05 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-05 08:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793846683000,"timestamp_ms":1793846683000,"timestamp_seconds":1793846683,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9982578"} 
[2026-11-05 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-05 08:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-11-05 08:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 08:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229993,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229993,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224674048001,"66":12689,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897623730840453120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224674048001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:18:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:18:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840453120,"description":"Unknown IO ID 45"} 
[2026-11-05 08:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224674048001,"power":12689,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840453120}} 
[2026-11-05 08:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":229993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61910,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:18:55] local.INFO: GPS data processed {"connection_id":229993,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:18:55] local.INFO: Acknowledgment sent {"connection_id":229993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:19:26] local.INFO: TCP Data received {"connection_id":229993,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9982578012d0c75000702b4c00014004029..."} 
[2026-11-05 08:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9982578012d0c75000702b4c00014004029..."} 
[2026-11-05 08:19:26] local.INFO: Processing buffer {"connection_id":229993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9982578012d0c75000702b4c00014004029..."} 
[2026-11-05 08:19:26] local.INFO: Packet analysis {"connection_id":229993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a998"} 
[2026-11-05 08:19:26] local.INFO: Extracted packet for processing {"connection_id":229993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a998"} 
[2026-11-05 08:19:26] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":20,"angle":64,"satellites":41,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224674048001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840453120,"note":"Value kept but may cause issues"} 
[2026-11-05 08:19: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-05 08:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793846683000,"timestamp_ms":1793846683000,"timestamp_seconds":1793846683,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9982578"} 
[2026-11-05 08: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-05 08:19:26] 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-05 08:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-11-05 08:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08: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-05 08: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-05 08:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229993,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229993,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224674048001,"66":12689,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897623730840453120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224674048001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:19:26] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:19:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840453120,"description":"Unknown IO ID 45"} 
[2026-11-05 08:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224674048001,"power":12689,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840453120}} 
[2026-11-05 08:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":229993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61911,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:19:26] local.INFO: GPS data processed {"connection_id":229993,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:19:26] local.INFO: Acknowledgment sent {"connection_id":229993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:19:49] local.INFO: TCP Data received {"connection_id":233222,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233222,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:19:49] local.INFO: Processing buffer {"connection_id":233222,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:19:49] local.INFO: IMEI packet received {"connection_id":233222,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":233222,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:19:54] local.INFO: TCP Data received {"connection_id":233222,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233222,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:19:54] local.INFO: Processing buffer {"connection_id":233222,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:19:54] local.INFO: IMEI packet received {"connection_id":233222,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":233222,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:19:55] local.INFO: TCP Data received {"connection_id":233222,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a99cbd40012d0c75000702b4c0001400402c..."} 
[2026-11-05 08:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a99cbd40012d0c75000702b4c0001400402c..."} 
[2026-11-05 08:19:55] local.INFO: Processing buffer {"connection_id":233222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a99cbd40012d0c75000702b4c0001400402c..."} 
[2026-11-05 08:19:55] local.INFO: Packet analysis {"connection_id":233222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a99c"} 
[2026-11-05 08:19:55] local.INFO: Extracted packet for processing {"connection_id":233222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a99c"} 
[2026-11-05 08:19:55] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":20,"angle":64,"satellites":44,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224750848001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840453120,"note":"Value kept but may cause issues"} 
[2026-11-05 08:19: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-05 08:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793846984000,"timestamp_ms":1793846984000,"timestamp_seconds":1793846984,"priority":1,"record_length":96,"hex_timestamp":"000001a1a99cbd40"} 
[2026-11-05 08:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:19: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-05 08:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 08:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233222,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233222,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224750848001,"66":12645,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897623730840453120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224750848001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:19:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:19:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840453120,"description":"Unknown IO ID 45"} 
[2026-11-05 08:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224750848001,"power":12645,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840453120}} 
[2026-11-05 08:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":233222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61912,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:19:55] local.INFO: GPS data processed {"connection_id":233222,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:19:55] local.INFO: Acknowledgment sent {"connection_id":233222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:20:26] local.INFO: TCP Data received {"connection_id":233222,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a99cbd40012d0c75000702b4c0001400402c..."} 
[2026-11-05 08:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a99cbd40012d0c75000702b4c0001400402c..."} 
[2026-11-05 08:20:26] local.INFO: Processing buffer {"connection_id":233222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a99cbd40012d0c75000702b4c0001400402c..."} 
[2026-11-05 08:20:26] local.INFO: Packet analysis {"connection_id":233222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a99c"} 
[2026-11-05 08:20:26] local.INFO: Extracted packet for processing {"connection_id":233222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a99c"} 
[2026-11-05 08:20:26] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":20,"angle":64,"satellites":44,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 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-05 08:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224750848001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840453120,"note":"Value kept but may cause issues"} 
[2026-11-05 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-05 08:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793846984000,"timestamp_ms":1793846984000,"timestamp_seconds":1793846984,"priority":1,"record_length":96,"hex_timestamp":"000001a1a99cbd40"} 
[2026-11-05 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-05 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-05 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":145,"data_length":795,"current_offset":136} 
[2026-11-05 08:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 08:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233222,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233222,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224750848001,"66":12645,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897623730840453120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224750848001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:20:26] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:20:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840453120,"description":"Unknown IO ID 45"} 
[2026-11-05 08:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224750848001,"power":12645,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840453120}} 
[2026-11-05 08:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":233222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61913,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:20:26] local.INFO: GPS data processed {"connection_id":233222,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:20:26] local.INFO: Acknowledgment sent {"connection_id":233222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:20:49] local.INFO: TCP Data received {"connection_id":231303,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231303,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:20:49] local.INFO: Processing buffer {"connection_id":231303,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:20:49] local.INFO: IMEI packet received {"connection_id":231303,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":231303,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:20:54] local.INFO: TCP Data received {"connection_id":231303,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231303,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:20:54] local.INFO: Processing buffer {"connection_id":231303,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:20:54] local.INFO: IMEI packet received {"connection_id":231303,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":231303,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:20:55] local.INFO: TCP Data received {"connection_id":231303,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a99cbd40012d0c75000702b4c0001400402c..."} 
[2026-11-05 08:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a99cbd40012d0c75000702b4c0001400402c..."} 
[2026-11-05 08:20:55] local.INFO: Processing buffer {"connection_id":231303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a99cbd40012d0c75000702b4c0001400402c..."} 
[2026-11-05 08:20:55] local.INFO: Packet analysis {"connection_id":231303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a99c"} 
[2026-11-05 08:20:55] local.INFO: Extracted packet for processing {"connection_id":231303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a99c"} 
[2026-11-05 08:20:55] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":20,"angle":64,"satellites":44,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224750848001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840453120,"note":"Value kept but may cause issues"} 
[2026-11-05 08:20: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-05 08:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793846984000,"timestamp_ms":1793846984000,"timestamp_seconds":1793846984,"priority":1,"record_length":96,"hex_timestamp":"000001a1a99cbd40"} 
[2026-11-05 08:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:20: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-05 08:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 08:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231303,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231303,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224750848001,"66":12645,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897623730840453120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224750848001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:20:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:20:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840453120,"description":"Unknown IO ID 45"} 
[2026-11-05 08:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224750848001,"power":12645,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840453120}} 
[2026-11-05 08:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":231303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61914,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:20:55] local.INFO: GPS data processed {"connection_id":231303,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:20:55] local.INFO: Acknowledgment sent {"connection_id":231303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:21:26] local.INFO: TCP Data received {"connection_id":231303,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a99cbd40012d0c75000702b4c0001400402c..."} 
[2026-11-05 08:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a99cbd40012d0c75000702b4c0001400402c..."} 
[2026-11-05 08:21:26] local.INFO: Processing buffer {"connection_id":231303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a99cbd40012d0c75000702b4c0001400402c..."} 
[2026-11-05 08:21:26] local.INFO: Packet analysis {"connection_id":231303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a99c"} 
[2026-11-05 08:21:26] local.INFO: Extracted packet for processing {"connection_id":231303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a99c"} 
[2026-11-05 08:21:26] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":20,"angle":64,"satellites":44,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224750848001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840453120,"note":"Value kept but may cause issues"} 
[2026-11-05 08:21: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-05 08:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793846984000,"timestamp_ms":1793846984000,"timestamp_seconds":1793846984,"priority":1,"record_length":96,"hex_timestamp":"000001a1a99cbd40"} 
[2026-11-05 08: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-05 08:21: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-05 08: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 08:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08: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-05 08: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-05 08:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231303,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231303,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224750848001,"66":12645,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897623730840453120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224750848001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:21:26] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:21:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840453120,"description":"Unknown IO ID 45"} 
[2026-11-05 08:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224750848001,"power":12645,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840453120}} 
[2026-11-05 08:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":231303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61915,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:21:26] local.INFO: GPS data processed {"connection_id":231303,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:21:26] local.INFO: Acknowledgment sent {"connection_id":231303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:21:49] local.INFO: TCP Data received {"connection_id":229491,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229491,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:21:49] local.INFO: Processing buffer {"connection_id":229491,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:21:49] local.INFO: IMEI packet received {"connection_id":229491,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":229491,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:21:54] local.INFO: TCP Data received {"connection_id":229491,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229491,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:21:54] local.INFO: Processing buffer {"connection_id":229491,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:21:54] local.INFO: IMEI packet received {"connection_id":229491,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":229491,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:21:55] local.INFO: TCP Data received {"connection_id":229491,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a99cbd40012d0c75000702b4c0001400402c..."} 
[2026-11-05 08:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a99cbd40012d0c75000702b4c0001400402c..."} 
[2026-11-05 08:21:55] local.INFO: Processing buffer {"connection_id":229491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a99cbd40012d0c75000702b4c0001400402c..."} 
[2026-11-05 08:21:55] local.INFO: Packet analysis {"connection_id":229491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a99c"} 
[2026-11-05 08:21:55] local.INFO: Extracted packet for processing {"connection_id":229491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a99c"} 
[2026-11-05 08:21:55] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":20,"angle":64,"satellites":44,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224750848001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840453120,"note":"Value kept but may cause issues"} 
[2026-11-05 08:21: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-05 08:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793846984000,"timestamp_ms":1793846984000,"timestamp_seconds":1793846984,"priority":1,"record_length":96,"hex_timestamp":"000001a1a99cbd40"} 
[2026-11-05 08:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:21: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-05 08:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 08:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229491,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229491,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224750848001,"66":12645,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897623730840453120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224750848001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:21:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:21:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840453120,"description":"Unknown IO ID 45"} 
[2026-11-05 08:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224750848001,"power":12645,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840453120}} 
[2026-11-05 08:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":229491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61916,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:21:55] local.INFO: GPS data processed {"connection_id":229491,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:21:55] local.INFO: Acknowledgment sent {"connection_id":229491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:22:06] local.INFO: TCP Data received {"connection_id":229994,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:22:06] local.INFO: Processing buffer {"connection_id":229994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:22:06] local.INFO: IMEI packet received {"connection_id":229994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 08:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":229994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:22:26] local.INFO: TCP Data received {"connection_id":229491,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a99cbd40012d0c75000702b4c0001400402c..."} 
[2026-11-05 08:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a99cbd40012d0c75000702b4c0001400402c..."} 
[2026-11-05 08:22:26] local.INFO: Processing buffer {"connection_id":229491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a99cbd40012d0c75000702b4c0001400402c..."} 
[2026-11-05 08:22:26] local.INFO: Packet analysis {"connection_id":229491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a99c"} 
[2026-11-05 08:22:26] local.INFO: Extracted packet for processing {"connection_id":229491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a99c"} 
[2026-11-05 08:22:26] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":20,"angle":64,"satellites":44,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224750848001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840453120,"note":"Value kept but may cause issues"} 
[2026-11-05 08:22: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-05 08:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793846984000,"timestamp_ms":1793846984000,"timestamp_seconds":1793846984,"priority":1,"record_length":96,"hex_timestamp":"000001a1a99cbd40"} 
[2026-11-05 08:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:22: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-05 08:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 08:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229491,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229491,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224750848001,"66":12645,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897623730840453120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224750848001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:22:26] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:22:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840453120,"description":"Unknown IO ID 45"} 
[2026-11-05 08:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224750848001,"power":12645,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840453120}} 
[2026-11-05 08:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":229491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61917,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:22:26] local.INFO: GPS data processed {"connection_id":229491,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:22:26] local.INFO: Acknowledgment sent {"connection_id":229491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:22:49] local.INFO: TCP Data received {"connection_id":231305,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231305,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:22:49] local.INFO: Processing buffer {"connection_id":231305,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:22:49] local.INFO: IMEI packet received {"connection_id":231305,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":231305,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:22:54] local.INFO: TCP Data received {"connection_id":231305,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231305,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:22:54] local.INFO: Processing buffer {"connection_id":231305,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:22:54] local.INFO: IMEI packet received {"connection_id":231305,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":231305,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:22:55] local.INFO: TCP Data received {"connection_id":231305,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a99cbd40012d0c75000702b4c0001400402c..."} 
[2026-11-05 08:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a99cbd40012d0c75000702b4c0001400402c..."} 
[2026-11-05 08:22:55] local.INFO: Processing buffer {"connection_id":231305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a99cbd40012d0c75000702b4c0001400402c..."} 
[2026-11-05 08:22:55] local.INFO: Packet analysis {"connection_id":231305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a99c"} 
[2026-11-05 08:22:55] local.INFO: Extracted packet for processing {"connection_id":231305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a99c"} 
[2026-11-05 08:22:55] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":20,"angle":64,"satellites":44,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224750848001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840453120,"note":"Value kept but may cause issues"} 
[2026-11-05 08:22: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-05 08:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793846984000,"timestamp_ms":1793846984000,"timestamp_seconds":1793846984,"priority":1,"record_length":96,"hex_timestamp":"000001a1a99cbd40"} 
[2026-11-05 08:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:22: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-05 08:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 08:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231305,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231305,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224750848001,"66":12645,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897623730840453120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224750848001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:22:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:22:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840453120,"description":"Unknown IO ID 45"} 
[2026-11-05 08:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224750848001,"power":12645,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840453120}} 
[2026-11-05 08:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":231305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61918,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:22:55] local.INFO: GPS data processed {"connection_id":231305,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:22:55] local.INFO: Acknowledgment sent {"connection_id":231305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:23:14] local.INFO: TCP Data received {"connection_id":229995,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:23:14] local.INFO: Processing buffer {"connection_id":229995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:23:14] local.INFO: IMEI packet received {"connection_id":229995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":229995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:23:17] local.INFO: TCP Data received {"connection_id":229995,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a99da3b8012d7b2b4005e269b0000400a130..."} 
[2026-11-05 08:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a99da3b8012d7b2b4005e269b0000400a130..."} 
[2026-11-05 08:23:17] local.INFO: Processing buffer {"connection_id":229995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a99da3b8012d7b2b4005e269b0000400a130..."} 
[2026-11-05 08:23:17] local.INFO: Packet analysis {"connection_id":229995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a99d"} 
[2026-11-05 08:23:17] local.INFO: Extracted packet for processing {"connection_id":229995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a99d"} 
[2026-11-05 08:23:17] local.INFO: GPS Element Parsed {"raw_longitude":763046720,"raw_latitude":98724272,"longitude_deg":76.304672,"latitude_deg":9.8724272,"altitude":4,"angle":161,"satellites":48,"speed":16,"hex_longitude":"2d7b2b40","hex_latitude":"05e269b0","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224840448001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40119693238861824,"note":"Value kept but may cause issues"} 
[2026-11-05 08:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874272722264131584,"note":"Value kept but may cause issues"} 
[2026-11-05 08:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793847043000,"timestamp_ms":1793847043000,"timestamp_seconds":1793847043,"priority":1,"record_length":96,"hex_timestamp":"000001a1a99da3b8"} 
[2026-11-05 08: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-05 08:23: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-05 08: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":4,"data_length":795,"current_offset":136} 
[2026-11-05 08:23: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-05 08: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-05 08: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-05 08:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:23: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-05 08:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224840448001,"66":27919,"207":206,"85":15104,"24":16,"16":40119693238861824,"45":8874272722264131584},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-11-05 08:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224840448001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:23:17] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-11-05 08:23:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40119693238861824,"km_value":40119693238861.82,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874272722264131584,"description":"Unknown IO ID 45"} 
[2026-11-05 08:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224840448001,"power":27919,"unknown_207":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8874272722264131584}} 
[2026-11-05 08:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":229995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:23:17] local.INFO: GPS data processed {"connection_id":229995,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:23:17] local.INFO: Acknowledgment sent {"connection_id":229995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:23:26] local.INFO: TCP Data received {"connection_id":231305,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a99cbd40012d0c75000702b4c0001400402c..."} 
[2026-11-05 08:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a99cbd40012d0c75000702b4c0001400402c..."} 
[2026-11-05 08:23:26] local.INFO: Processing buffer {"connection_id":231305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a99cbd40012d0c75000702b4c0001400402c..."} 
[2026-11-05 08:23:26] local.INFO: Packet analysis {"connection_id":231305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a99c"} 
[2026-11-05 08:23:26] local.INFO: Extracted packet for processing {"connection_id":231305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a99c"} 
[2026-11-05 08:23:26] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":20,"angle":64,"satellites":44,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224750848001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840453120,"note":"Value kept but may cause issues"} 
[2026-11-05 08:23: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-05 08:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793846984000,"timestamp_ms":1793846984000,"timestamp_seconds":1793846984,"priority":1,"record_length":96,"hex_timestamp":"000001a1a99cbd40"} 
[2026-11-05 08: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-05 08:23: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-05 08:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 08:23:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08: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-05 08: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-05 08:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231305,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231305,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:23:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224750848001,"66":12645,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897623730840453120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224750848001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:23:26] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:23:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840453120,"description":"Unknown IO ID 45"} 
[2026-11-05 08:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224750848001,"power":12645,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840453120}} 
[2026-11-05 08:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":231305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61920,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:23:26] local.INFO: GPS data processed {"connection_id":231305,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:23:26] local.INFO: Acknowledgment sent {"connection_id":231305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:23:49] local.INFO: TCP Data received {"connection_id":229995,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a99fab40012d7b668005e0aeb8000500ab2b..."} 
[2026-11-05 08:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a99fab40012d7b668005e0aeb8000500ab2b..."} 
[2026-11-05 08:23:49] local.INFO: Processing buffer {"connection_id":229995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a99fab40012d7b668005e0aeb8000500ab2b..."} 
[2026-11-05 08:23:49] local.INFO: Packet analysis {"connection_id":229995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a99f"} 
[2026-11-05 08:23:49] local.INFO: Extracted packet for processing {"connection_id":229995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a99f"} 
[2026-11-05 08:23:49] local.INFO: GPS Element Parsed {"raw_longitude":763061888,"raw_latitude":98610872,"longitude_deg":76.3061888,"latitude_deg":9.8610872,"altitude":5,"angle":171,"satellites":43,"speed":53,"hex_longitude":"2d7b6680","hex_latitude":"05e0aeb8","is_valid_coordinates":true} 
[2026-11-05 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-05 08:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224875264001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40125246631575552,"note":"Value kept but may cause issues"} 
[2026-11-05 08:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890387164652806144,"note":"Value kept but may cause issues"} 
[2026-11-05 08:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793847176000,"timestamp_ms":1793847176000,"timestamp_seconds":1793847176,"priority":1,"record_length":96,"hex_timestamp":"000001a1a99fab40"} 
[2026-11-05 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-05 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-05 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-05 08:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 08:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:23:49] 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-05 08:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224875264001,"66":27767,"102":206,"85":15104,"24":53,"16":40125246631575552,"45":8890387164652806144},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,85,24,16,45]} 
[2026-11-05 08:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224875264001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:23:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-11-05 08:23:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40125246631575552,"km_value":40125246631575.555,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890387164652806144,"description":"Unknown IO ID 45"} 
[2026-11-05 08:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224875264001,"power":27767,"unknown_102":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8890387164652806144}} 
[2026-11-05 08:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":229995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:23:49] local.INFO: GPS data processed {"connection_id":229995,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:23:49] local.INFO: Acknowledgment sent {"connection_id":229995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:23:54] local.INFO: TCP Data received {"connection_id":231307,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231307,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:23:54] local.INFO: Processing buffer {"connection_id":231307,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:23:54] local.INFO: IMEI packet received {"connection_id":231307,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":231307,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:23:59] local.INFO: TCP Data received {"connection_id":231307,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231307,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:23:59] local.INFO: Processing buffer {"connection_id":231307,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:23:59] local.INFO: IMEI packet received {"connection_id":231307,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":231307,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:24:00] local.INFO: TCP Data received {"connection_id":231307,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a99cbd40012d0c75000702b4c0001400402c..."} 
[2026-11-05 08:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a99cbd40012d0c75000702b4c0001400402c..."} 
[2026-11-05 08:24:00] local.INFO: Processing buffer {"connection_id":231307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a99cbd40012d0c75000702b4c0001400402c..."} 
[2026-11-05 08:24:00] local.INFO: Packet analysis {"connection_id":231307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a99c"} 
[2026-11-05 08:24:00] local.INFO: Extracted packet for processing {"connection_id":231307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a99c"} 
[2026-11-05 08:24:00] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":20,"angle":64,"satellites":44,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224750848001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840453120,"note":"Value kept but may cause issues"} 
[2026-11-05 08:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793846984000,"timestamp_ms":1793846984000,"timestamp_seconds":1793846984,"priority":1,"record_length":96,"hex_timestamp":"000001a1a99cbd40"} 
[2026-11-05 08:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:24:00] 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-05 08:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 08:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":231307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":231307,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":231307,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224750848001,"66":12645,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897623730840453120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224750848001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:24:00] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:24:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840453120,"description":"Unknown IO ID 45"} 
[2026-11-05 08:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224750848001,"power":12645,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840453120}} 
[2026-11-05 08:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":231307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61922,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:24:00] local.INFO: GPS data processed {"connection_id":231307,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:24:00] local.INFO: Acknowledgment sent {"connection_id":231307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:24:04] local.INFO: TCP Data received {"connection_id":233225,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:24:04] local.INFO: Processing buffer {"connection_id":233225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:24:04] local.INFO: IMEI packet received {"connection_id":233225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":233225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:24:04] local.INFO: TCP Data received {"connection_id":231307,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a99cbd40012d0c75000702b4c0001400402c..."} 
[2026-11-05 08:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a99cbd40012d0c75000702b4c0001400402c..."} 
[2026-11-05 08:24:04] local.INFO: Processing buffer {"connection_id":231307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a99cbd40012d0c75000702b4c0001400402c..."} 
[2026-11-05 08:24:04] local.INFO: Packet analysis {"connection_id":231307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a99c"} 
[2026-11-05 08:24:04] local.INFO: Extracted packet for processing {"connection_id":231307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a99c"} 
[2026-11-05 08:24:04] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":20,"angle":64,"satellites":44,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224750848001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840453120,"note":"Value kept but may cause issues"} 
[2026-11-05 08:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793846984000,"timestamp_ms":1793846984000,"timestamp_seconds":1793846984,"priority":1,"record_length":96,"hex_timestamp":"000001a1a99cbd40"} 
[2026-11-05 08:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:24:04] 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-05 08:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 08:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":231307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":231307,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":231307,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224750848001,"66":12645,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897623730840453120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224750848001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:24:04] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:24:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840453120,"description":"Unknown IO ID 45"} 
[2026-11-05 08:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224750848001,"power":12645,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840453120}} 
[2026-11-05 08:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":231307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61923,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:24:05] local.INFO: GPS data processed {"connection_id":231307,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:24:05] local.INFO: Acknowledgment sent {"connection_id":231307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:24:09] local.INFO: TCP Data received {"connection_id":233225,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:24:09] local.INFO: Processing buffer {"connection_id":233225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:24:09] local.INFO: IMEI packet received {"connection_id":233225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":233225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:24:10] local.INFO: TCP Data received {"connection_id":233225,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a99fc698012d7b6c4005e089d0000500ab2c..."} 
[2026-11-05 08:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a99fc698012d7b6c4005e089d0000500ab2c..."} 
[2026-11-05 08:24:10] local.INFO: Processing buffer {"connection_id":233225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a99fc698012d7b6c4005e089d0000500ab2c..."} 
[2026-11-05 08:24:10] local.INFO: Packet analysis {"connection_id":233225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a99f"} 
[2026-11-05 08:24:10] local.INFO: Extracted packet for processing {"connection_id":233225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a99f"} 
[2026-11-05 08:24:10] local.INFO: GPS Element Parsed {"raw_longitude":763063360,"raw_latitude":98601424,"longitude_deg":76.306336,"latitude_deg":9.8601424,"altitude":5,"angle":171,"satellites":44,"speed":53,"hex_longitude":"2d7b6c40","hex_latitude":"05e089d0","is_valid_coordinates":true} 
[2026-11-05 08:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224877056001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40125710488043520,"note":"Value kept but may cause issues"} 
[2026-11-05 08:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891935277022361600,"note":"Value kept but may cause issues"} 
[2026-11-05 08:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793847183000,"timestamp_ms":1793847183000,"timestamp_seconds":1793847183,"priority":1,"record_length":96,"hex_timestamp":"000001a1a99fc698"} 
[2026-11-05 08:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:24: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-05 08:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-05 08:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:24:10] 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-05 08:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224877056001,"66":27821,"102":206,"85":15104,"24":53,"16":40125710488043520,"45":8891935277022361600},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,85,24,16,45]} 
[2026-11-05 08:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224877056001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:24:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-11-05 08:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40125710488043520,"km_value":40125710488043.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891935277022361600,"description":"Unknown IO ID 45"} 
[2026-11-05 08:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224877056001,"power":27821,"unknown_102":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8891935277022361600}} 
[2026-11-05 08:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":233225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:24:10] local.INFO: GPS data processed {"connection_id":233225,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:24:10] local.INFO: Acknowledgment sent {"connection_id":233225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:24:41] local.INFO: TCP Data received {"connection_id":233225,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a99fe1f0012d7b714005e06708000300ae29..."} 
[2026-11-05 08:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a99fe1f0012d7b714005e06708000300ae29..."} 
[2026-11-05 08:24:41] local.INFO: Processing buffer {"connection_id":233225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a99fe1f0012d7b714005e06708000300ae29..."} 
[2026-11-05 08:24:41] local.INFO: Packet analysis {"connection_id":233225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a99f"} 
[2026-11-05 08:24:41] local.INFO: Extracted packet for processing {"connection_id":233225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a99f"} 
[2026-11-05 08:24:41] local.INFO: GPS Element Parsed {"raw_longitude":763064640,"raw_latitude":98592520,"longitude_deg":76.306464,"latitude_deg":9.859252,"altitude":3,"angle":174,"satellites":41,"speed":50,"hex_longitude":"2d7b7140","hex_latitude":"05e06708","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224878848001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40126144279740416,"note":"Value kept but may cause issues"} 
[2026-11-05 08:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893553758136029184,"note":"Value kept but may cause issues"} 
[2026-11-05 08:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793847190000,"timestamp_ms":1793847190000,"timestamp_seconds":1793847190,"priority":1,"record_length":96,"hex_timestamp":"000001a1a99fe1f0"} 
[2026-11-05 08: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-05 08:24: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-05 08: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":173,"data_length":795,"current_offset":136} 
[2026-11-05 08:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08: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-05 08: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-05 08:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:24:41] 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-05 08:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224878848001,"66":27930,"103":206,"85":15104,"24":50,"16":40126144279740416,"45":8893553758136029184},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-11-05 08:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224878848001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:24:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-11-05 08:24:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40126144279740416,"km_value":40126144279740.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893553758136029184,"description":"Unknown IO ID 45"} 
[2026-11-05 08:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224878848001,"power":27930,"unknown_103":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8893553758136029184}} 
[2026-11-05 08:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":233225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:24:41] local.INFO: GPS data processed {"connection_id":233225,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:24:41] local.INFO: Acknowledgment sent {"connection_id":233225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:24:47] local.INFO: TCP Data received {"connection_id":229996,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229996,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:24:47] local.INFO: Processing buffer {"connection_id":229996,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:24:47] local.INFO: IMEI packet received {"connection_id":229996,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":229996,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:24:49] local.INFO: TCP Data received {"connection_id":229996,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229996,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:24:49] local.INFO: Processing buffer {"connection_id":229996,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:24:49] local.INFO: IMEI packet received {"connection_id":229996,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":229996,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:24:54] local.INFO: TCP Data received {"connection_id":229996,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229996,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:24:54] local.INFO: Processing buffer {"connection_id":229996,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:24:54] local.INFO: IMEI packet received {"connection_id":229996,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":229996,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:24:55] local.INFO: TCP Data received {"connection_id":229996,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a15508012d0c75000702b4c0001f00402c..."} 
[2026-11-05 08:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a15508012d0c75000702b4c0001f00402c..."} 
[2026-11-05 08:24:55] local.INFO: Processing buffer {"connection_id":229996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a15508012d0c75000702b4c0001f00402c..."} 
[2026-11-05 08:24:55] local.INFO: Packet analysis {"connection_id":229996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a1"} 
[2026-11-05 08:24:55] local.INFO: Extracted packet for processing {"connection_id":229996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a1"} 
[2026-11-05 08:24:55] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":31,"angle":64,"satellites":44,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224827904001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840453120,"note":"Value kept but may cause issues"} 
[2026-11-05 08:24: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-05 08:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793847285000,"timestamp_ms":1793847285000,"timestamp_seconds":1793847285,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a15508"} 
[2026-11-05 08:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 08:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-11-05 08:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229996,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229996,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224827904001,"66":12493,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897623730840453120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224827904001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:24:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:24:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840453120,"description":"Unknown IO ID 45"} 
[2026-11-05 08:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224827904001,"power":12493,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840453120}} 
[2026-11-05 08:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":229996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61926,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:24:55] local.INFO: GPS data processed {"connection_id":229996,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:24:55] local.INFO: Acknowledgment sent {"connection_id":229996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:25:09] local.INFO: TCP Data received {"connection_id":229997,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:25:09] local.INFO: Processing buffer {"connection_id":229997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:25:09] local.INFO: IMEI packet received {"connection_id":229997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":229997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:25:10] local.INFO: TCP Data received {"connection_id":229997,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:25:10] local.INFO: Processing buffer {"connection_id":229997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:25:10] local.INFO: IMEI packet received {"connection_id":229997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":229997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:25:14] local.INFO: TCP Data received {"connection_id":229997,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:25:14] local.INFO: Processing buffer {"connection_id":229997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:25:14] local.INFO: IMEI packet received {"connection_id":229997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":229997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:25:15] local.INFO: TCP Data received {"connection_id":229997,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a99ffd48012d7b748005e04428000100ae2c..."} 
[2026-11-05 08:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a99ffd48012d7b748005e04428000100ae2c..."} 
[2026-11-05 08:25:15] local.INFO: Processing buffer {"connection_id":229997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a99ffd48012d7b748005e04428000100ae2c..."} 
[2026-11-05 08:25:15] local.INFO: Packet analysis {"connection_id":229997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a99f"} 
[2026-11-05 08:25:15] local.INFO: Extracted packet for processing {"connection_id":229997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a99f"} 
[2026-11-05 08:25:15] local.INFO: GPS Element Parsed {"raw_longitude":763065472,"raw_latitude":98583592,"longitude_deg":76.3065472,"latitude_deg":9.8583592,"altitude":1,"angle":174,"satellites":44,"speed":50,"hex_longitude":"2d7b7480","hex_latitude":"05e04428","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224880640001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40126582366404608,"note":"Value kept but may cause issues"} 
[2026-11-05 08:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894961133017303040,"note":"Value kept but may cause issues"} 
[2026-11-05 08:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793847197000,"timestamp_ms":1793847197000,"timestamp_seconds":1793847197,"priority":1,"record_length":96,"hex_timestamp":"000001a1a99ffd48"} 
[2026-11-05 08: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-05 08:25: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-05 08: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":26,"data_length":795,"current_offset":136} 
[2026-11-05 08:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08: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-05 08: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-05 08:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:25:15] 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-05 08:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224880640001,"66":27865,"103":206,"85":15104,"24":50,"16":40126582366404608,"45":8894961133017303040},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-11-05 08:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224880640001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:25:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-11-05 08:25:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40126582366404608,"km_value":40126582366404.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894961133017303040,"description":"Unknown IO ID 45"} 
[2026-11-05 08:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224880640001,"power":27865,"unknown_103":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8894961133017303040}} 
[2026-11-05 08:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":229997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:25:15] local.INFO: GPS data processed {"connection_id":229997,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:25:15] local.INFO: Acknowledgment sent {"connection_id":229997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:25:17] local.INFO: TCP Data received {"connection_id":229997,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a01c88012d7b78c005e01d18000200ad2f..."} 
[2026-11-05 08:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a01c88012d7b78c005e01d18000200ad2f..."} 
[2026-11-05 08:25:17] local.INFO: Processing buffer {"connection_id":229997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a01c88012d7b78c005e01d18000200ad2f..."} 
[2026-11-05 08:25:17] local.INFO: Packet analysis {"connection_id":229997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a0"} 
[2026-11-05 08:25:17] local.INFO: Extracted packet for processing {"connection_id":229997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a0"} 
[2026-11-05 08:25:17] local.INFO: GPS Element Parsed {"raw_longitude":763066560,"raw_latitude":98573592,"longitude_deg":76.306656,"latitude_deg":9.8573592,"altitude":2,"angle":173,"satellites":47,"speed":51,"hex_longitude":"2d7b78c0","hex_latitude":"05e01d18","is_valid_coordinates":true} 
[2026-11-05 08:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224882432001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40127067697709056,"note":"Value kept but may cause issues"} 
[2026-11-05 08:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895875926689327104,"note":"Value kept but may cause issues"} 
[2026-11-05 08:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793847205000,"timestamp_ms":1793847205000,"timestamp_seconds":1793847205,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a01c88"} 
[2026-11-05 08:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:25: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-05 08:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 08:25: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-05 08:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:25: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-05 08:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224882432001,"66":27876,"103":206,"85":15104,"24":51,"16":40127067697709056,"45":8895875926689327104},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-11-05 08:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224882432001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:25:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-11-05 08:25:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40127067697709056,"km_value":40127067697709.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895875926689327104,"description":"Unknown IO ID 45"} 
[2026-11-05 08:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224882432001,"power":27876,"unknown_103":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8895875926689327104}} 
[2026-11-05 08:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":229997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:25:17] local.INFO: GPS data processed {"connection_id":229997,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:25:17] local.INFO: Acknowledgment sent {"connection_id":229997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:25:26] local.INFO: TCP Data received {"connection_id":229996,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a15508012d0c75000702b4c0001f00402c..."} 
[2026-11-05 08:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a15508012d0c75000702b4c0001f00402c..."} 
[2026-11-05 08:25:26] local.INFO: Processing buffer {"connection_id":229996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a15508012d0c75000702b4c0001f00402c..."} 
[2026-11-05 08:25:26] local.INFO: Packet analysis {"connection_id":229996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a1"} 
[2026-11-05 08:25:26] local.INFO: Extracted packet for processing {"connection_id":229996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a1"} 
[2026-11-05 08:25:26] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":31,"angle":64,"satellites":44,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224827904001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840453120,"note":"Value kept but may cause issues"} 
[2026-11-05 08:25: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-05 08:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793847285000,"timestamp_ms":1793847285000,"timestamp_seconds":1793847285,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a15508"} 
[2026-11-05 08:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 08:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-11-05 08:25:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:25:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229996,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229996,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224827904001,"66":12493,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897623730840453120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224827904001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:25:26] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:25:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840453120,"description":"Unknown IO ID 45"} 
[2026-11-05 08:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224827904001,"power":12493,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840453120}} 
[2026-11-05 08:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":229996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61929,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:25:26] local.INFO: GPS data processed {"connection_id":229996,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:25:26] local.INFO: Acknowledgment sent {"connection_id":229996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:25:48] local.INFO: TCP Data received {"connection_id":229997,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a15508012d7ba4c005de8218000000ad2e..."} 
[2026-11-05 08:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a15508012d7ba4c005de8218000000ad2e..."} 
[2026-11-05 08:25:48] local.INFO: Processing buffer {"connection_id":229997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a15508012d7ba4c005de8218000000ad2e..."} 
[2026-11-05 08:25:48] local.INFO: Packet analysis {"connection_id":229997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a1"} 
[2026-11-05 08:25:48] local.INFO: Extracted packet for processing {"connection_id":229997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a1"} 
[2026-11-05 08:25:48] local.INFO: GPS Element Parsed {"raw_longitude":763077824,"raw_latitude":98468376,"longitude_deg":76.3077824,"latitude_deg":9.8468376,"altitude":0,"angle":173,"satellites":46,"speed":49,"hex_longitude":"2d7ba4c0","hex_latitude":"05de8218","is_valid_coordinates":true} 
[2026-11-05 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-05 08:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224903168001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908542300614148096,"note":"Value kept but may cause issues"} 
[2026-11-05 08:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40132200183627776,"note":"Value kept but may cause issues"} 
[2026-11-05 08:25:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 08:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793847285000,"timestamp_ms":1793847285000,"timestamp_seconds":1793847285,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a15508"} 
[2026-11-05 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-05 08:25: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-05 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-05 08:25: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-05 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-05 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-05 08:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:25:48] 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-05 08:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224903168001,"66":27887,"45":8908542300614148096,"85":15104,"24":49,"16":40132200183627776},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-11-05 08:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224903168001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908542300614148096,"description":"Unknown IO ID 45"} 
[2026-11-05 08:25:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40132200183627776,"km_value":40132200183627.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:25:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459224903168001,"power":27887,"unknown_45":8908542300614148096,"unknown_85":15104,"ignition":49,"odometer":null}} 
[2026-11-05 08:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":229997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:25:48] local.INFO: GPS data processed {"connection_id":229997,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:25:48] local.INFO: Acknowledgment sent {"connection_id":229997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:25:49] local.INFO: TCP Data received {"connection_id":229998,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229998,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:25:49] local.INFO: Processing buffer {"connection_id":229998,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:25:49] local.INFO: IMEI packet received {"connection_id":229998,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":229998,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:25:54] local.INFO: TCP Data received {"connection_id":229998,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229998,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:25:54] local.INFO: Processing buffer {"connection_id":229998,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:25:54] local.INFO: IMEI packet received {"connection_id":229998,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":229998,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:25:55] local.INFO: TCP Data received {"connection_id":229998,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a15508012d0c75000702b4c0001f00402c..."} 
[2026-11-05 08:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a15508012d0c75000702b4c0001f00402c..."} 
[2026-11-05 08:25:55] local.INFO: Processing buffer {"connection_id":229998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a15508012d0c75000702b4c0001f00402c..."} 
[2026-11-05 08:25:55] local.INFO: Packet analysis {"connection_id":229998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a1"} 
[2026-11-05 08:25:55] local.INFO: Extracted packet for processing {"connection_id":229998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a1"} 
[2026-11-05 08:25:55] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":31,"angle":64,"satellites":44,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224827904001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840453120,"note":"Value kept but may cause issues"} 
[2026-11-05 08:25: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-05 08:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793847285000,"timestamp_ms":1793847285000,"timestamp_seconds":1793847285,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a15508"} 
[2026-11-05 08:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 08:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-11-05 08:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:25:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229998,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229998,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224827904001,"66":12493,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897623730840453120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224827904001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:25:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:25:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840453120,"description":"Unknown IO ID 45"} 
[2026-11-05 08:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224827904001,"power":12493,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840453120}} 
[2026-11-05 08:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":229998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61931,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:25:55] local.INFO: GPS data processed {"connection_id":229998,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:25:55] local.INFO: Acknowledgment sent {"connection_id":229998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:26:18] local.INFO: TCP Data received {"connection_id":233227,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:26:18] local.INFO: Processing buffer {"connection_id":233227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:26:18] local.INFO: IMEI packet received {"connection_id":233227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":233227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:26:19] local.INFO: TCP Data received {"connection_id":233227,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:26:19] local.INFO: Processing buffer {"connection_id":233227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:26:19] local.INFO: IMEI packet received {"connection_id":233227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":233227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:26:24] local.INFO: TCP Data received {"connection_id":233227,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:26:24] local.INFO: Processing buffer {"connection_id":233227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:26:24] local.INFO: IMEI packet received {"connection_id":233227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":233227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:26:25] local.INFO: TCP Data received {"connection_id":233227,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a17448012d7baa8005de5bb0000000aa31..."} 
[2026-11-05 08:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a17448012d7baa8005de5bb0000000aa31..."} 
[2026-11-05 08:26:25] local.INFO: Processing buffer {"connection_id":233227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a17448012d7baa8005de5bb0000000aa31..."} 
[2026-11-05 08:26:25] local.INFO: Packet analysis {"connection_id":233227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a1"} 
[2026-11-05 08:26:25] local.INFO: Extracted packet for processing {"connection_id":233227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a1"} 
[2026-11-05 08:26:25] local.INFO: GPS Element Parsed {"raw_longitude":763079296,"raw_latitude":98458544,"longitude_deg":76.3079296,"latitude_deg":9.8458544,"altitude":0,"angle":170,"satellites":49,"speed":49,"hex_longitude":"2d7baa80","hex_latitude":"05de5bb0","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224904960001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909457094286120960,"note":"Value kept but may cause issues"} 
[2026-11-05 08:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40132681219964928,"note":"Value kept but may cause issues"} 
[2026-11-05 08:26:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 08:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793847293000,"timestamp_ms":1793847293000,"timestamp_seconds":1793847293,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a17448"} 
[2026-11-05 08: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-05 08:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-11-05 08:26:25] 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-05 08: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-05 08: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-05 08:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":233227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":233227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":233227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:26:25] 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-05 08:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224904960001,"66":27908,"45":8909457094286120960,"85":15104,"24":49,"16":40132681219964928},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-11-05 08:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224904960001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909457094286120960,"description":"Unknown IO ID 45"} 
[2026-11-05 08:26:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40132681219964928,"km_value":40132681219964.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:26:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459224904960001,"power":27908,"unknown_45":8909457094286120960,"unknown_85":15104,"ignition":49,"odometer":null}} 
[2026-11-05 08:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":233227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:26:25] local.INFO: GPS data processed {"connection_id":233227,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:26:25] local.INFO: Acknowledgment sent {"connection_id":233227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:26:26] local.INFO: TCP Data received {"connection_id":229998,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a2d3d8012d0c75000702b4c0001f00402b..."} 
[2026-11-05 08:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a2d3d8012d0c75000702b4c0001f00402b..."} 
[2026-11-05 08:26:26] local.INFO: Processing buffer {"connection_id":229998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a2d3d8012d0c75000702b4c0001f00402b..."} 
[2026-11-05 08:26:26] local.INFO: Packet analysis {"connection_id":229998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a2"} 
[2026-11-05 08:26:26] local.INFO: Extracted packet for processing {"connection_id":229998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a2"} 
[2026-11-05 08:26:26] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":31,"angle":64,"satellites":43,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08:26: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-05 08:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224904960001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840453120,"note":"Value kept but may cause issues"} 
[2026-11-05 08:26: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-05 08:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793847383000,"timestamp_ms":1793847383000,"timestamp_seconds":1793847383,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a2d3d8"} 
[2026-11-05 08:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 08:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-05 08:26:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2283,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:26:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229998,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229998,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224904960001,"66":12580,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897623730840453120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224904960001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:26:26] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:26:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840453120,"description":"Unknown IO ID 45"} 
[2026-11-05 08:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224904960001,"power":12580,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840453120}} 
[2026-11-05 08:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":229998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61933,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:26:26] local.INFO: GPS data processed {"connection_id":229998,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:26:26] local.INFO: Acknowledgment sent {"connection_id":229998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:26:49] local.INFO: TCP Data received {"connection_id":231309,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231309,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:26:49] local.INFO: Processing buffer {"connection_id":231309,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:26:49] local.INFO: IMEI packet received {"connection_id":231309,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":231309,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:26:50] local.INFO: TCP Data received {"connection_id":231309,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231309,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:26:50] local.INFO: Processing buffer {"connection_id":231309,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:26:50] local.INFO: IMEI packet received {"connection_id":231309,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":231309,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:26:54] local.INFO: TCP Data received {"connection_id":231309,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231309,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:26:54] local.INFO: Processing buffer {"connection_id":231309,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:26:54] local.INFO: IMEI packet received {"connection_id":231309,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":231309,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:26:54] local.INFO: TCP Data received {"connection_id":231309,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a2d3d8012d0c75000702b4c0001f00402b..."} 
[2026-11-05 08:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a2d3d8012d0c75000702b4c0001f00402b..."} 
[2026-11-05 08:26:54] local.INFO: Processing buffer {"connection_id":231309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a2d3d8012d0c75000702b4c0001f00402b..."} 
[2026-11-05 08:26:54] local.INFO: Packet analysis {"connection_id":231309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a2"} 
[2026-11-05 08:26:54] local.INFO: Extracted packet for processing {"connection_id":231309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a2"} 
[2026-11-05 08:26:54] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617856,"longitude_deg":75.5791104,"latitude_deg":11.7617856,"altitude":31,"angle":64,"satellites":43,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b4c0","is_valid_coordinates":true} 
[2026-11-05 08:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224930048001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840453120,"note":"Value kept but may cause issues"} 
[2026-11-05 08:26: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-05 08:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793847383000,"timestamp_ms":1793847383000,"timestamp_seconds":1793847383,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a2d3d8"} 
[2026-11-05 08:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:26:54] 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-05 08:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-05 08:26:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:26:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":231309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":231309,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":231309,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:26:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224930048001,"66":12580,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897623730840453120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224930048001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:26:54] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:26:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840453120,"description":"Unknown IO ID 45"} 
[2026-11-05 08:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224930048001,"power":12580,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840453120}} 
[2026-11-05 08:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":231309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61934,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:26:55] local.INFO: GPS data processed {"connection_id":231309,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:26:55] local.INFO: Acknowledgment sent {"connection_id":231309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:27:04] local.INFO: TCP Data received {"connection_id":229493,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:27:04] local.INFO: Processing buffer {"connection_id":229493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:27:04] local.INFO: IMEI packet received {"connection_id":229493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":229493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:27:08] local.INFO: TCP Data received {"connection_id":229493,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:27:08] local.INFO: Processing buffer {"connection_id":229493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:27:08] local.INFO: IMEI packet received {"connection_id":229493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":229493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:27:09] local.INFO: TCP Data received {"connection_id":229493,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:27:09] local.INFO: Processing buffer {"connection_id":229493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:27:09] local.INFO: IMEI packet received {"connection_id":229493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":229493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:27:10] local.INFO: TCP Data received {"connection_id":229493,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a19388012d7bb24005de3540000000a72e..."} 
[2026-11-05 08:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a19388012d7bb24005de3540000000a72e..."} 
[2026-11-05 08:27:10] local.INFO: Processing buffer {"connection_id":229493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a19388012d7bb24005de3540000000a72e..."} 
[2026-11-05 08:27:10] local.INFO: Packet analysis {"connection_id":229493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a1"} 
[2026-11-05 08:27:10] local.INFO: Extracted packet for processing {"connection_id":229493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a1"} 
[2026-11-05 08:27:10] local.INFO: GPS Element Parsed {"raw_longitude":763081280,"raw_latitude":98448704,"longitude_deg":76.308128,"latitude_deg":9.8448704,"altitude":0,"angle":167,"satellites":46,"speed":48,"hex_longitude":"2d7bb240","hex_latitude":"05de3540","is_valid_coordinates":true} 
[2026-11-05 08:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224907008001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911075575399690240,"note":"Value kept but may cause issues"} 
[2026-11-05 08:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40133170846236672,"note":"Value kept but may cause issues"} 
[2026-11-05 08:27:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 08:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793847301000,"timestamp_ms":1793847301000,"timestamp_seconds":1793847301,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a19388"} 
[2026-11-05 08:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:27: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-05 08:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 08:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:27:10] 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-05 08:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224907008001,"66":27821,"45":8911075575399690240,"85":15104,"24":48,"16":40133170846236672},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-11-05 08:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224907008001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911075575399690240,"description":"Unknown IO ID 45"} 
[2026-11-05 08:27:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40133170846236672,"km_value":40133170846236.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:27:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459224907008001,"power":27821,"unknown_45":8911075575399690240,"unknown_85":15104,"ignition":48,"odometer":null}} 
[2026-11-05 08:27:10] 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":61935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:27:10] local.INFO: GPS data processed {"connection_id":229493,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:27:10] local.INFO: Acknowledgment sent {"connection_id":229493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:27:14] local.INFO: TCP Data received {"connection_id":229493,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a1b6b0012d7bb9c005de0fa8000100a82d..."} 
[2026-11-05 08:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a1b6b0012d7bb9c005de0fa8000100a82d..."} 
[2026-11-05 08:27:14] local.INFO: Processing buffer {"connection_id":229493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a1b6b0012d7bb9c005de0fa8000100a82d..."} 
[2026-11-05 08:27:14] local.INFO: Packet analysis {"connection_id":229493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a1"} 
[2026-11-05 08:27:14] local.INFO: Extracted packet for processing {"connection_id":229493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a1"} 
[2026-11-05 08:27:14] local.INFO: GPS Element Parsed {"raw_longitude":763083200,"raw_latitude":98439080,"longitude_deg":76.30832,"latitude_deg":9.843908,"altitude":1,"angle":168,"satellites":45,"speed":38,"hex_longitude":"2d7bb9c0","hex_latitude":"05de0fa8","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224909056001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40133643292639232,"note":"Value kept but may cause issues"} 
[2026-11-05 08:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8913257006466678784,"note":"Value kept but may cause issues"} 
[2026-11-05 08:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793847310000,"timestamp_ms":1793847310000,"timestamp_seconds":1793847310,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a1b6b0"} 
[2026-11-05 08: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-05 08:27: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-05 08: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-05 08:27: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-05 08: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-05 08: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-05 08:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:27:14] 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-05 08:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224909056001,"66":27604,"33":206,"85":15104,"24":38,"16":40133643292639232,"45":8913257006466678784},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-11-05 08:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224909056001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:27:14] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-05 08:27:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40133643292639232,"km_value":40133643292639.234,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8913257006466678784,"description":"Unknown IO ID 45"} 
[2026-11-05 08:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224909056001,"power":27604,"unknown_33":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8913257006466678784}} 
[2026-11-05 08:27:15] 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":61936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:27:15] local.INFO: GPS data processed {"connection_id":229493,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:27:15] local.INFO: Acknowledgment sent {"connection_id":229493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:27:25] local.INFO: TCP Data received {"connection_id":231309,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a2e760012d0c78400702b240001f01132a..."} 
[2026-11-05 08:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a2e760012d0c78400702b240001f01132a..."} 
[2026-11-05 08:27:25] local.INFO: Processing buffer {"connection_id":231309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a2e760012d0c78400702b240001f01132a..."} 
[2026-11-05 08:27:25] local.INFO: Packet analysis {"connection_id":231309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a2"} 
[2026-11-05 08:27:25] local.INFO: Extracted packet for processing {"connection_id":231309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a2"} 
[2026-11-05 08:27:25] local.INFO: GPS Element Parsed {"raw_longitude":755791936,"raw_latitude":117617216,"longitude_deg":75.5791936,"latitude_deg":11.7617216,"altitude":31,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d0c7840","hex_latitude":"0702b240","is_valid_coordinates":true} 
[2026-11-05 08:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224930048001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840453120,"note":"Value kept but may cause issues"} 
[2026-11-05 08:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793847388000,"timestamp_ms":1793847388000,"timestamp_seconds":1793847388,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a2e760"} 
[2026-11-05 08:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-05 08:27:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:27:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":231309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":231309,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":231309,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224930048001,"66":11721,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":897623730840453120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224930048001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:27:25] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:27:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840453120,"description":"Unknown IO ID 45"} 
[2026-11-05 08:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224930048001,"power":11721,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840453120}} 
[2026-11-05 08:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":231309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61937,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:27:25] local.INFO: GPS data processed {"connection_id":231309,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:27:25] local.INFO: Acknowledgment sent {"connection_id":231309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:27:36] local.INFO: TCP Data received {"connection_id":229494,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229494,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:27:36] local.INFO: Processing buffer {"connection_id":229494,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:27:36] local.INFO: IMEI packet received {"connection_id":229494,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 08:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":229494,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:27:46] local.INFO: TCP Data received {"connection_id":229493,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a32db0012d7be8c005dc7de8000000b228..."} 
[2026-11-05 08:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a32db0012d7be8c005dc7de8000000b228..."} 
[2026-11-05 08:27:46] local.INFO: Processing buffer {"connection_id":229493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a32db0012d7be8c005dc7de8000000b228..."} 
[2026-11-05 08:27:46] local.INFO: Packet analysis {"connection_id":229493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a3"} 
[2026-11-05 08:27:46] local.INFO: Extracted packet for processing {"connection_id":229493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a3"} 
[2026-11-05 08:27:46] local.INFO: GPS Element Parsed {"raw_longitude":763095232,"raw_latitude":98336232,"longitude_deg":76.3095232,"latitude_deg":9.8336232,"altitude":0,"angle":178,"satellites":40,"speed":46,"hex_longitude":"2d7be8c0","hex_latitude":"05dc7de8","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224933632001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40138676994310144,"note":"Value kept but may cause issues"} 
[2026-11-05 08:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928386286438633472,"note":"Value kept but may cause issues"} 
[2026-11-05 08:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793847406000,"timestamp_ms":1793847406000,"timestamp_seconds":1793847406,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a32db0"} 
[2026-11-05 08: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-05 08:27: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-05 08: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":217,"data_length":795,"current_offset":136} 
[2026-11-05 08:27: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-05 08: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-05 08: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-05 08:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:27:46] 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-05 08:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224933632001,"66":27930,"162":206,"85":15104,"24":46,"16":40138676994310144,"45":8928386286438633472},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-11-05 08:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224933632001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:27:46] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-11-05 08:27:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40138676994310144,"km_value":40138676994310.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928386286438633472,"description":"Unknown IO ID 45"} 
[2026-11-05 08:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224933632001,"power":27930,"unknown_162":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8928386286438633472}} 
[2026-11-05 08:27:46] 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":61938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:27:46] local.INFO: GPS data processed {"connection_id":229493,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:27:46] local.INFO: Acknowledgment sent {"connection_id":229493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:27:49] local.INFO: TCP Data received {"connection_id":233228,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233228,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:27:49] local.INFO: Processing buffer {"connection_id":233228,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:27:49] local.INFO: IMEI packet received {"connection_id":233228,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":233228,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:27:51] local.INFO: TCP Data received {"connection_id":233228,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233228,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:27:51] local.INFO: Processing buffer {"connection_id":233228,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:27:51] local.INFO: IMEI packet received {"connection_id":233228,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":233228,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:27:52] local.INFO: TCP Data received {"connection_id":233228,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233228,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:27:52] local.INFO: Processing buffer {"connection_id":233228,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:27:52] local.INFO: IMEI packet received {"connection_id":233228,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":233228,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:27:53] local.INFO: TCP Data received {"connection_id":233228,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233228,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:27:53] local.INFO: Processing buffer {"connection_id":233228,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:27:53] local.INFO: IMEI packet received {"connection_id":233228,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":233228,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:27:54] local.INFO: TCP Data received {"connection_id":233228,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a33580012d0c78400702b240001f011324..."} 
[2026-11-05 08:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a33580012d0c78400702b240001f011324..."} 
[2026-11-05 08:27:54] local.INFO: Processing buffer {"connection_id":233228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a33580012d0c78400702b240001f011324..."} 
[2026-11-05 08:27:54] local.INFO: Packet analysis {"connection_id":233228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a3"} 
[2026-11-05 08:27:54] local.INFO: Extracted packet for processing {"connection_id":233228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a3"} 
[2026-11-05 08:27:54] local.INFO: GPS Element Parsed {"raw_longitude":755791936,"raw_latitude":117617216,"longitude_deg":75.5791936,"latitude_deg":11.7617216,"altitude":31,"angle":275,"satellites":36,"speed":0,"hex_longitude":"2d0c7840","hex_latitude":"0702b240","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224931328001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39343365015207936,"note":"Value kept but may cause issues"} 
[2026-11-05 08:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":898538524514598912,"note":"Value kept but may cause issues"} 
[2026-11-05 08:27: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-05 08:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793847408000,"timestamp_ms":1793847408000,"timestamp_seconds":1793847408,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a33580"} 
[2026-11-05 08: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-05 08:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-05 08:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08: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-05 08: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-05 08:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":233228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":233228,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":233228,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224931328001,"66":14548,"37":206,"94":11008,"24":0,"16":39343365015207936,"45":898538524514598912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224931328001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:27:54] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:27:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39343365015207936,"km_value":39343365015207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":898538524514598912,"description":"Unknown IO ID 45"} 
[2026-11-05 08:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224931328001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":898538524514598912}} 
[2026-11-05 08:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":233228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61939,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:27:54] local.INFO: GPS data processed {"connection_id":233228,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:27:54] local.INFO: Acknowledgment sent {"connection_id":233228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:28:04] local.INFO: TCP Data received {"connection_id":229999,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:28:04] local.INFO: Processing buffer {"connection_id":229999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:28:04] local.INFO: IMEI packet received {"connection_id":229999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":229999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:28:06] local.INFO: TCP Data received {"connection_id":233229,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233229,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:28:06] local.INFO: Processing buffer {"connection_id":233229,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:28:06] local.INFO: IMEI packet received {"connection_id":233229,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 08:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":233229,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:28:08] local.INFO: TCP Data received {"connection_id":229999,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:28:08] local.INFO: Processing buffer {"connection_id":229999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:28:08] local.INFO: IMEI packet received {"connection_id":229999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":229999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:28:09] local.INFO: TCP Data received {"connection_id":229999,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a34cf0012d7bea0005dc56f0000000af2e..."} 
[2026-11-05 08:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a34cf0012d7bea0005dc56f0000000af2e..."} 
[2026-11-05 08:28:09] local.INFO: Processing buffer {"connection_id":229999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a34cf0012d7bea0005dc56f0000000af2e..."} 
[2026-11-05 08:28:09] local.INFO: Packet analysis {"connection_id":229999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a3"} 
[2026-11-05 08:28:09] local.INFO: Extracted packet for processing {"connection_id":229999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a3"} 
[2026-11-05 08:28:09] local.INFO: GPS Element Parsed {"raw_longitude":763095552,"raw_latitude":98326256,"longitude_deg":76.3095552,"latitude_deg":9.8326256,"altitude":0,"angle":175,"satellites":46,"speed":51,"hex_longitude":"2d7bea00","hex_latitude":"05dc56f0","is_valid_coordinates":true} 
[2026-11-05 08:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224935936001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40139162325614592,"note":"Value kept but may cause issues"} 
[2026-11-05 08:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928597392668616704,"note":"Value kept but may cause issues"} 
[2026-11-05 08:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793847414000,"timestamp_ms":1793847414000,"timestamp_seconds":1793847414,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a34cf0"} 
[2026-11-05 08:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:28: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-05 08:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-05 08:28:09] 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-05 08:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:28:09] 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-05 08:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224935936001,"66":27821,"162":206,"85":15104,"24":51,"16":40139162325614592,"45":8928597392668616704},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-11-05 08:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224935936001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:28:09] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-11-05 08:28:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40139162325614592,"km_value":40139162325614.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928597392668616704,"description":"Unknown IO ID 45"} 
[2026-11-05 08:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224935936001,"power":27821,"unknown_162":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8928597392668616704}} 
[2026-11-05 08:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":229999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:28:09] local.INFO: GPS data processed {"connection_id":229999,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:28:09] local.INFO: Acknowledgment sent {"connection_id":229999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:28:25] local.INFO: TCP Data received {"connection_id":233228,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a49128012d0c4d000702b740001901362b..."} 
[2026-11-05 08:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a49128012d0c4d000702b740001901362b..."} 
[2026-11-05 08:28:25] local.INFO: Processing buffer {"connection_id":233228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a49128012d0c4d000702b740001901362b..."} 
[2026-11-05 08:28:25] local.INFO: Packet analysis {"connection_id":233228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a4"} 
[2026-11-05 08:28:25] local.INFO: Extracted packet for processing {"connection_id":233228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a4"} 
[2026-11-05 08:28:25] local.INFO: GPS Element Parsed {"raw_longitude":755780864,"raw_latitude":117618496,"longitude_deg":75.5780864,"latitude_deg":11.7618496,"altitude":25,"angle":310,"satellites":43,"speed":11,"hex_longitude":"2d0c4d00","hex_latitude":"0702b740","is_valid_coordinates":true} 
[2026-11-05 08:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224958976001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39344129519386624,"note":"Value kept but may cause issues"} 
[2026-11-05 08:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886716575493044224,"note":"Value kept but may cause issues"} 
[2026-11-05 08:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793847497000,"timestamp_ms":1793847497000,"timestamp_seconds":1793847497,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a49128"} 
[2026-11-05 08:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 08:28:25] 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-05 08:28:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":233228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":233228,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":233228,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224958976001,"66":14450,"37":206,"94":11008,"24":11,"16":39344129519386624,"45":886716575493044224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224958976001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:28:25] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:28:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39344129519386624,"km_value":39344129519386.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":886716575493044224,"description":"Unknown IO ID 45"} 
[2026-11-05 08:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224958976001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":886716575493044224}} 
[2026-11-05 08:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":233228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61941,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:28:25] local.INFO: GPS data processed {"connection_id":233228,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:28:25] local.INFO: Acknowledgment sent {"connection_id":233228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:28:42] local.INFO: TCP Data received {"connection_id":229999,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a36c30012d7bea8005dc2f68000400b12e..."} 
[2026-11-05 08:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a36c30012d7bea8005dc2f68000400b12e..."} 
[2026-11-05 08:28:42] local.INFO: Processing buffer {"connection_id":229999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a36c30012d7bea8005dc2f68000400b12e..."} 
[2026-11-05 08:28:42] local.INFO: Packet analysis {"connection_id":229999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a3"} 
[2026-11-05 08:28:42] local.INFO: Extracted packet for processing {"connection_id":229999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a3"} 
[2026-11-05 08:28:42] local.INFO: GPS Element Parsed {"raw_longitude":763095680,"raw_latitude":98316136,"longitude_deg":76.309568,"latitude_deg":9.8316136,"altitude":4,"angle":177,"satellites":46,"speed":51,"hex_longitude":"2d7bea80","hex_latitude":"05dc2f68","is_valid_coordinates":true} 
[2026-11-05 08:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224937984001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40139651951886336,"note":"Value kept but may cause issues"} 
[2026-11-05 08:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928949236386951168,"note":"Value kept but may cause issues"} 
[2026-11-05 08:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793847422000,"timestamp_ms":1793847422000,"timestamp_seconds":1793847422,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a36c30"} 
[2026-11-05 08:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:28: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-05 08:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-05 08:28: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-05 08:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:28:42] 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-05 08:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224937984001,"66":27919,"162":206,"85":15104,"24":51,"16":40139651951886336,"45":8928949236386951168},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-11-05 08:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224937984001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:28:42] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-11-05 08:28:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40139651951886336,"km_value":40139651951886.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928949236386951168,"description":"Unknown IO ID 45"} 
[2026-11-05 08:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224937984001,"power":27919,"unknown_162":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8928949236386951168}} 
[2026-11-05 08:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":229999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:28:42] local.INFO: GPS data processed {"connection_id":229999,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:28:42] local.INFO: Acknowledgment sent {"connection_id":229999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:28:50] local.INFO: TCP Data received {"connection_id":230000,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230000,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:28:50] local.INFO: Processing buffer {"connection_id":230000,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:28:50] local.INFO: IMEI packet received {"connection_id":230000,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":230000,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:28:52] local.INFO: TCP Data received {"connection_id":230000,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230000,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:28:52] local.INFO: Processing buffer {"connection_id":230000,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:28:52] local.INFO: IMEI packet received {"connection_id":230000,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":230000,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:28:53] local.INFO: TCP Data received {"connection_id":230000,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230000,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:28:53] local.INFO: Processing buffer {"connection_id":230000,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:28:53] local.INFO: IMEI packet received {"connection_id":230000,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":230000,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:28:54] local.INFO: TCP Data received {"connection_id":230000,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230000,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:28:54] local.INFO: Processing buffer {"connection_id":230000,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:28:54] local.INFO: IMEI packet received {"connection_id":230000,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":230000,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:28:54] local.INFO: TCP Data received {"connection_id":230000,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a49510012d0c4c000702b818001901412a..."} 
[2026-11-05 08:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a49510012d0c4c000702b818001901412a..."} 
[2026-11-05 08:28:54] local.INFO: Processing buffer {"connection_id":230000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a49510012d0c4c000702b818001901412a..."} 
[2026-11-05 08:28:54] local.INFO: Packet analysis {"connection_id":230000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a4"} 
[2026-11-05 08:28:54] local.INFO: Extracted packet for processing {"connection_id":230000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a4"} 
[2026-11-05 08:28:54] local.INFO: GPS Element Parsed {"raw_longitude":755780608,"raw_latitude":117618712,"longitude_deg":75.5780608,"latitude_deg":11.7618712,"altitude":25,"angle":321,"satellites":42,"speed":13,"hex_longitude":"2d0c4c00","hex_latitude":"0702b818","is_valid_coordinates":true} 
[2026-11-05 08:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224959232001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39344146699255808,"note":"Value kept but may cause issues"} 
[2026-11-05 08:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886364731772190720,"note":"Value kept but may cause issues"} 
[2026-11-05 08:28: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-05 08:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793847498000,"timestamp_ms":1793847498000,"timestamp_seconds":1793847498,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a49510"} 
[2026-11-05 08:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-05 08:28: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-05 08:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":230000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":230000,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":230000,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224959232001,"66":14450,"37":206,"94":11008,"24":13,"16":39344146699255808,"45":886364731772190720},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224959232001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:28:54] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:28:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39344146699255808,"km_value":39344146699255.805,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":886364731772190720,"description":"Unknown IO ID 45"} 
[2026-11-05 08:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224959232001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":886364731772190720}} 
[2026-11-05 08:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":230000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61943,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:28:55] local.INFO: GPS data processed {"connection_id":230000,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:28:55] local.INFO: Acknowledgment sent {"connection_id":230000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:28:59] local.INFO: TCP Data received {"connection_id":230000,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a498f8012d0c4b800702b9380019014f2a..."} 
[2026-11-05 08:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a498f8012d0c4b800702b9380019014f2a..."} 
[2026-11-05 08:28:59] local.INFO: Processing buffer {"connection_id":230000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a498f8012d0c4b800702b9380019014f2a..."} 
[2026-11-05 08:28:59] local.INFO: Packet analysis {"connection_id":230000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a4"} 
[2026-11-05 08:28:59] local.INFO: Extracted packet for processing {"connection_id":230000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a4"} 
[2026-11-05 08:28:59] local.INFO: GPS Element Parsed {"raw_longitude":755780480,"raw_latitude":117619000,"longitude_deg":75.578048,"latitude_deg":11.7619,"altitude":25,"angle":335,"satellites":42,"speed":14,"hex_longitude":"2d0c4b80","hex_latitude":"0702b938","is_valid_coordinates":true} 
[2026-11-05 08:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224959488001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39344163879124992,"note":"Value kept but may cause issues"} 
[2026-11-05 08:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886083256795535360,"note":"Value kept but may cause issues"} 
[2026-11-05 08:28: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-05 08:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793847499000,"timestamp_ms":1793847499000,"timestamp_seconds":1793847499,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a498f8"} 
[2026-11-05 08:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-05 08:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":230000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":230000,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":230000,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224959488001,"66":14461,"37":206,"94":11008,"24":14,"16":39344163879124992,"45":886083256795535360},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224959488001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:28:59] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:28:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39344163879124992,"km_value":39344163879124.99,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":886083256795535360,"description":"Unknown IO ID 45"} 
[2026-11-05 08:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224959488001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":886083256795535360}} 
[2026-11-05 08:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":230000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61944,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:28:59] local.INFO: GPS data processed {"connection_id":230000,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:28:59] local.INFO: Acknowledgment sent {"connection_id":230000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:29:04] local.INFO: TCP Data received {"connection_id":231310,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:29:04] local.INFO: Processing buffer {"connection_id":231310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:29:04] local.INFO: IMEI packet received {"connection_id":231310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":231310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:29:06] local.INFO: TCP Data received {"connection_id":231310,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:29:06] local.INFO: Processing buffer {"connection_id":231310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:29:06] local.INFO: IMEI packet received {"connection_id":231310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":231310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:29:09] local.INFO: TCP Data received {"connection_id":231310,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:29:09] local.INFO: Processing buffer {"connection_id":231310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:29:09] local.INFO: IMEI packet received {"connection_id":231310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":231310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:29:10] local.INFO: TCP Data received {"connection_id":231310,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a38788012d7becc005dc0bc0000400ae2e..."} 
[2026-11-05 08:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a38788012d7becc005dc0bc0000400ae2e..."} 
[2026-11-05 08:29:10] local.INFO: Processing buffer {"connection_id":231310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a38788012d7becc005dc0bc0000400ae2e..."} 
[2026-11-05 08:29:10] local.INFO: Packet analysis {"connection_id":231310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a3"} 
[2026-11-05 08:29:10] local.INFO: Extracted packet for processing {"connection_id":231310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a3"} 
[2026-11-05 08:29:10] local.INFO: GPS Element Parsed {"raw_longitude":763096256,"raw_latitude":98307008,"longitude_deg":76.3096256,"latitude_deg":9.8307008,"altitude":4,"angle":174,"satellites":46,"speed":52,"hex_longitude":"2d7becc0","hex_latitude":"05dc0bc0","is_valid_coordinates":true} 
[2026-11-05 08:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224940032001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40140094333517824,"note":"Value kept but may cause issues"} 
[2026-11-05 08:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929089973872715776,"note":"Value kept but may cause issues"} 
[2026-11-05 08:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793847429000,"timestamp_ms":1793847429000,"timestamp_seconds":1793847429,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a38788"} 
[2026-11-05 08:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:29: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-05 08:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 08:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:29:10] 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-05 08:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224940032001,"66":27908,"162":206,"85":15104,"24":52,"16":40140094333517824,"45":8929089973872715776},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-11-05 08:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224940032001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:29:10] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-11-05 08:29:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40140094333517824,"km_value":40140094333517.82,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929089973872715776,"description":"Unknown IO ID 45"} 
[2026-11-05 08:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224940032001,"power":27908,"unknown_162":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8929089973872715776}} 
[2026-11-05 08:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":231310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:29:10] local.INFO: GPS data processed {"connection_id":231310,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:29:10] local.INFO: Acknowledgment sent {"connection_id":231310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:29:30] local.INFO: TCP Data received {"connection_id":230000,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a57b88012d0c25c00702b670001701392b..."} 
[2026-11-05 08:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a57b88012d0c25c00702b670001701392b..."} 
[2026-11-05 08:29:30] local.INFO: Processing buffer {"connection_id":230000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a57b88012d0c25c00702b670001701392b..."} 
[2026-11-05 08:29:30] local.INFO: Packet analysis {"connection_id":230000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a5"} 
[2026-11-05 08:29:30] local.INFO: Extracted packet for processing {"connection_id":230000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a5"} 
[2026-11-05 08:29:30] local.INFO: GPS Element Parsed {"raw_longitude":755770816,"raw_latitude":117618288,"longitude_deg":75.5770816,"latitude_deg":11.7618288,"altitude":23,"angle":313,"satellites":43,"speed":8,"hex_longitude":"2d0c25c0","hex_latitude":"0702b670","is_valid_coordinates":true} 
[2026-11-05 08:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224974336001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39344756584611840,"note":"Value kept but may cause issues"} 
[2026-11-05 08:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875457576424570880,"note":"Value kept but may cause issues"} 
[2026-11-05 08:29: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-05 08:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793847557000,"timestamp_ms":1793847557000,"timestamp_seconds":1793847557,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a57b88"} 
[2026-11-05 08:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 08:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":230000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":230000,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":230000,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224974336001,"66":14428,"37":206,"94":11008,"24":8,"16":39344756584611840,"45":875457576424570880},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224974336001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:29:30] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:29:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39344756584611840,"km_value":39344756584611.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":875457576424570880,"description":"Unknown IO ID 45"} 
[2026-11-05 08:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224974336001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":875457576424570880}} 
[2026-11-05 08:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":230000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61946,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:29:31] local.INFO: GPS data processed {"connection_id":230000,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:29:31] local.INFO: Acknowledgment sent {"connection_id":230000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:29:41] local.INFO: TCP Data received {"connection_id":231310,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a4db60012d7c4a0005da88e0000400a02d..."} 
[2026-11-05 08:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a4db60012d7c4a0005da88e0000400a02d..."} 
[2026-11-05 08:29:41] local.INFO: Processing buffer {"connection_id":231310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a4db60012d7c4a0005da88e0000400a02d..."} 
[2026-11-05 08:29:41] local.INFO: Packet analysis {"connection_id":231310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a4"} 
[2026-11-05 08:29:41] local.INFO: Extracted packet for processing {"connection_id":231310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a4"} 
[2026-11-05 08:29:41] local.INFO: GPS Element Parsed {"raw_longitude":763120128,"raw_latitude":98207968,"longitude_deg":76.3120128,"latitude_deg":9.8207968,"altitude":4,"angle":160,"satellites":45,"speed":39,"hex_longitude":"2d7c4a00","hex_latitude":"05da88e0","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224962048001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40145042135842816,"note":"Value kept but may cause issues"} 
[2026-11-05 08:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952593134402588672,"note":"Value kept but may cause issues"} 
[2026-11-05 08:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793847516000,"timestamp_ms":1793847516000,"timestamp_seconds":1793847516,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a4db60"} 
[2026-11-05 08: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-05 08:29: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-05 08:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 08:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08: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-05 08: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-05 08:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:29:41] 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-05 08:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224962048001,"66":28050,"245":206,"85":15104,"24":39,"16":40145042135842816,"45":8952593134402588672},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-11-05 08:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224962048001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:29:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40145042135842816,"km_value":40145042135842.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952593134402588672,"description":"Unknown IO ID 45"} 
[2026-11-05 08:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224962048001,"power":28050,"geofence_id":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8952593134402588672}} 
[2026-11-05 08:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":231310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:29:41] local.INFO: GPS data processed {"connection_id":231310,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:29:41] local.INFO: Acknowledgment sent {"connection_id":231310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:29:49] local.INFO: TCP Data received {"connection_id":233230,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233230,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:29:49] local.INFO: Processing buffer {"connection_id":233230,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:29:49] local.INFO: IMEI packet received {"connection_id":233230,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":233230,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:29:53] local.INFO: TCP Data received {"connection_id":233230,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233230,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:29:53] local.INFO: Processing buffer {"connection_id":233230,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:29:53] local.INFO: IMEI packet received {"connection_id":233230,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":233230,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:29:54] local.INFO: TCP Data received {"connection_id":233230,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233230,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:29:54] local.INFO: Processing buffer {"connection_id":233230,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:29:54] local.INFO: IMEI packet received {"connection_id":233230,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":233230,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:29:55] local.INFO: TCP Data received {"connection_id":233230,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a57f70012d0c25000702b738001701452b..."} 
[2026-11-05 08:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a57f70012d0c25000702b738001701452b..."} 
[2026-11-05 08:29:55] local.INFO: Processing buffer {"connection_id":233230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a57f70012d0c25000702b738001701452b..."} 
[2026-11-05 08:29:55] local.INFO: Packet analysis {"connection_id":233230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a5"} 
[2026-11-05 08:29:55] local.INFO: Extracted packet for processing {"connection_id":233230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a5"} 
[2026-11-05 08:29:55] local.INFO: GPS Element Parsed {"raw_longitude":755770624,"raw_latitude":117618488,"longitude_deg":75.5770624,"latitude_deg":11.7618488,"altitude":23,"angle":325,"satellites":43,"speed":12,"hex_longitude":"2d0c2500","hex_latitude":"0702b738","is_valid_coordinates":true} 
[2026-11-05 08:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224974592001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39344769469513728,"note":"Value kept but may cause issues"} 
[2026-11-05 08:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875316838936244224,"note":"Value kept but may cause issues"} 
[2026-11-05 08:29: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-05 08:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793847558000,"timestamp_ms":1793847558000,"timestamp_seconds":1793847558,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a57f70"} 
[2026-11-05 08:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 08:29:55] 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-05 08:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233230,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233230,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224974592001,"66":14428,"37":206,"94":11008,"24":12,"16":39344769469513728,"45":875316838936244224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224974592001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:29:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:29:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39344769469513728,"km_value":39344769469513.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":875316838936244224,"description":"Unknown IO ID 45"} 
[2026-11-05 08:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224974592001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":875316838936244224}} 
[2026-11-05 08:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":233230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61948,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:29:55] local.INFO: GPS data processed {"connection_id":233230,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:29:55] local.INFO: Acknowledgment sent {"connection_id":233230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:30:04] local.INFO: TCP Data received {"connection_id":233232,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:30:04] local.INFO: Processing buffer {"connection_id":233232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:30:04] local.INFO: IMEI packet received {"connection_id":233232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":233232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:30:17] local.INFO: TCP Data received {"connection_id":233232,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:30:17] local.INFO: Processing buffer {"connection_id":233232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:30:17] local.INFO: IMEI packet received {"connection_id":233232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":233232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:30:18] local.INFO: TCP Data received {"connection_id":233232,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a4fe88012d7c560005da67f0000200a12e..."} 
[2026-11-05 08:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a4fe88012d7c560005da67f0000200a12e..."} 
[2026-11-05 08:30:18] local.INFO: Processing buffer {"connection_id":233232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a4fe88012d7c560005da67f0000200a12e..."} 
[2026-11-05 08:30:18] local.INFO: Packet analysis {"connection_id":233232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a4"} 
[2026-11-05 08:30:18] local.INFO: Extracted packet for processing {"connection_id":233232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a4"} 
[2026-11-05 08:30:18] local.INFO: GPS Element Parsed {"raw_longitude":763123200,"raw_latitude":98199536,"longitude_deg":76.31232,"latitude_deg":9.8199536,"altitude":2,"angle":161,"satellites":46,"speed":42,"hex_longitude":"2d7c5600","hex_latitude":"05da67f0","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224964096001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40145475927539712,"note":"Value kept but may cause issues"} 
[2026-11-05 08:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8955970834120892416,"note":"Value kept but may cause issues"} 
[2026-11-05 08:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793847525000,"timestamp_ms":1793847525000,"timestamp_seconds":1793847525,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a4fe88"} 
[2026-11-05 08: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-05 08:30: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-05 08: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":146,"data_length":795,"current_offset":136} 
[2026-11-05 08:30: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-05 08: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-05 08: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-05 08:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":233232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":233232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":233232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:30: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-05 08:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224964096001,"66":27908,"245":206,"85":15104,"24":42,"16":40145475927539712,"45":8955970834120892416},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-11-05 08:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224964096001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:30:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40145475927539712,"km_value":40145475927539.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8955970834120892416,"description":"Unknown IO ID 45"} 
[2026-11-05 08:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224964096001,"power":27908,"geofence_id":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8955970834120892416}} 
[2026-11-05 08:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":233232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:30:18] local.INFO: GPS data processed {"connection_id":233232,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:30:18] local.INFO: Acknowledgment sent {"connection_id":233232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:30:33] local.INFO: TCP Data received {"connection_id":233230,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a58358012d0c24800702b850001701502a..."} 
[2026-11-05 08:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a58358012d0c24800702b850001701502a..."} 
[2026-11-05 08:30:33] local.INFO: Processing buffer {"connection_id":233230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a58358012d0c24800702b850001701502a..."} 
[2026-11-05 08:30:33] local.INFO: Packet analysis {"connection_id":233230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a5"} 
[2026-11-05 08:30:33] local.INFO: Extracted packet for processing {"connection_id":233230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a5"} 
[2026-11-05 08:30:33] local.INFO: GPS Element Parsed {"raw_longitude":755770496,"raw_latitude":117618768,"longitude_deg":75.5770496,"latitude_deg":11.7618768,"altitude":23,"angle":336,"satellites":42,"speed":14,"hex_longitude":"2d0c2480","hex_latitude":"0702b850","is_valid_coordinates":true} 
[2026-11-05 08:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224974848001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39344782354415616,"note":"Value kept but may cause issues"} 
[2026-11-05 08:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875105732703762432,"note":"Value kept but may cause issues"} 
[2026-11-05 08:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1793847559000,"timestamp_ms":1793847559000,"timestamp_seconds":1793847559,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a58358"} 
[2026-11-05 08:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 08:30: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-05 08:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":233230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":233230,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":233230,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224974848001,"66":14450,"37":206,"94":11008,"24":14,"16":39344782354415616,"45":875105732703762432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 08:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224974848001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:30:33] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 08:30:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39344782354415616,"km_value":39344782354415.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":875105732703762432,"description":"Unknown IO ID 45"} 
[2026-11-05 08:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224974848001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":875105732703762432}} 
[2026-11-05 08:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":233230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61950,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:30:33] local.INFO: GPS data processed {"connection_id":233230,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:30:33] local.INFO: Acknowledgment sent {"connection_id":233230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:30:57] local.INFO: TCP Data received {"connection_id":230001,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230001,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:30:57] local.INFO: Processing buffer {"connection_id":230001,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:30:57] local.INFO: IMEI packet received {"connection_id":230001,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":230001,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:30:58] local.INFO: TCP Data received {"connection_id":230001,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230001,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:30:58] local.INFO: Processing buffer {"connection_id":230001,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:30:58] local.INFO: IMEI packet received {"connection_id":230001,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":230001,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:30:59] local.INFO: TCP Data received {"connection_id":230001,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230001,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:30:59] local.INFO: Processing buffer {"connection_id":230001,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:30:59] local.INFO: IMEI packet received {"connection_id":230001,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":230001,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:30:59] local.INFO: TCP Data received {"connection_id":230001,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230001,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:30:59] local.INFO: Processing buffer {"connection_id":230001,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:30:59] local.INFO: IMEI packet received {"connection_id":230001,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":230001,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:31:06] local.INFO: TCP Data received {"connection_id":229496,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:31:06] local.INFO: Processing buffer {"connection_id":229496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:31:06] local.INFO: IMEI packet received {"connection_id":229496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":229496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:31:09] local.INFO: TCP Data received {"connection_id":229496,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:31:09] local.INFO: Processing buffer {"connection_id":229496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:31:09] local.INFO: IMEI packet received {"connection_id":229496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":229496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:31:13] local.INFO: TCP Data received {"connection_id":229496,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:31:13] local.INFO: Processing buffer {"connection_id":229496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:31:13] local.INFO: IMEI packet received {"connection_id":229496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":229496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:31:14] local.INFO: TCP Data received {"connection_id":229496,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a642c0012d7c8a0005d94010000200ae28..."} 
[2026-11-05 08:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a642c0012d7c8a0005d94010000200ae28..."} 
[2026-11-05 08:31:14] local.INFO: Processing buffer {"connection_id":229496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a642c0012d7c8a0005d94010000200ae28..."} 
[2026-11-05 08:31:14] local.INFO: Packet analysis {"connection_id":229496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a6"} 
[2026-11-05 08:31:14] local.INFO: Extracted packet for processing {"connection_id":229496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a6"} 
[2026-11-05 08:31:14] local.INFO: GPS Element Parsed {"raw_longitude":763136512,"raw_latitude":98123792,"longitude_deg":76.3136512,"latitude_deg":9.8123792,"altitude":2,"angle":174,"satellites":40,"speed":60,"hex_longitude":"2d7c8a00","hex_latitude":"05d94010","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224986112001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40149221139021824,"note":"Value kept but may cause issues"} 
[2026-11-05 08:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973070438936803328,"note":"Value kept but may cause issues"} 
[2026-11-05 08:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793847608000,"timestamp_ms":1793847608000,"timestamp_seconds":1793847608,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a642c0"} 
[2026-11-05 08: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-05 08:31: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-05 08: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 08:31:14] 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-05 08: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-05 08: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-05 08:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:31:14] 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-05 08:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224986112001,"66":27865,"197":206,"85":15104,"24":60,"16":40149221139021824,"45":8973070438936803328},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-11-05 08:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224986112001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:31:14] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-11-05 08:31:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40149221139021824,"km_value":40149221139021.82,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973070438936803328,"description":"Unknown IO ID 45"} 
[2026-11-05 08:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224986112001,"power":27865,"unknown_197":206,"unknown_85":15104,"ignition":60,"odometer":null,"unknown_45":8973070438936803328}} 
[2026-11-05 08:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":229496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:31:14] local.INFO: GPS data processed {"connection_id":229496,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:31:14] local.INFO: Acknowledgment sent {"connection_id":229496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:31:15] local.INFO: TCP Data received {"connection_id":229496,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a65a30012d7c8e4005d91d40000200ae2b..."} 
[2026-11-05 08:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a65a30012d7c8e4005d91d40000200ae2b..."} 
[2026-11-05 08:31:15] local.INFO: Processing buffer {"connection_id":229496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a65a30012d7c8e4005d91d40000200ae2b..."} 
[2026-11-05 08:31:15] local.INFO: Packet analysis {"connection_id":229496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a6"} 
[2026-11-05 08:31:15] local.INFO: Extracted packet for processing {"connection_id":229496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a6"} 
[2026-11-05 08:31:15] local.INFO: GPS Element Parsed {"raw_longitude":763137600,"raw_latitude":98114880,"longitude_deg":76.31376,"latitude_deg":9.811488,"altitude":2,"angle":174,"satellites":43,"speed":58,"hex_longitude":"2d7c8e40","hex_latitude":"05d91d40","is_valid_coordinates":true} 
[2026-11-05 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-05 08:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224987648001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40149654930718720,"note":"Value kept but may cause issues"} 
[2026-11-05 08:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973985232608825344,"note":"Value kept but may cause issues"} 
[2026-11-05 08:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793847614000,"timestamp_ms":1793847614000,"timestamp_seconds":1793847614,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a65a30"} 
[2026-11-05 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-05 08:31: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-05 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 08:31: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-05 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-05 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-05 08:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:31:15] 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-05 08:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224987648001,"66":27767,"197":206,"85":15104,"24":58,"16":40149654930718720,"45":8973985232608825344},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-11-05 08:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224987648001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:31:15] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-11-05 08:31:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40149654930718720,"km_value":40149654930718.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973985232608825344,"description":"Unknown IO ID 45"} 
[2026-11-05 08:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224987648001,"power":27767,"unknown_197":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":8973985232608825344}} 
[2026-11-05 08:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":229496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:31:15] local.INFO: GPS data processed {"connection_id":229496,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:31:15] local.INFO: Acknowledgment sent {"connection_id":229496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:31:47] local.INFO: TCP Data received {"connection_id":229496,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a67588012d7c91c005d8f6f8000100ad2f..."} 
[2026-11-05 08:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a67588012d7c91c005d8f6f8000100ad2f..."} 
[2026-11-05 08:31:47] local.INFO: Processing buffer {"connection_id":229496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a67588012d7c91c005d8f6f8000100ad2f..."} 
[2026-11-05 08:31:47] local.INFO: Packet analysis {"connection_id":229496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a6"} 
[2026-11-05 08:31:47] local.INFO: Extracted packet for processing {"connection_id":229496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a6"} 
[2026-11-05 08:31:47] local.INFO: GPS Element Parsed {"raw_longitude":763138496,"raw_latitude":98105080,"longitude_deg":76.3138496,"latitude_deg":9.810508,"altitude":1,"angle":173,"satellites":47,"speed":55,"hex_longitude":"2d7c91c0","hex_latitude":"05d8f6f8","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224989184001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40150131672088576,"note":"Value kept but may cause issues"} 
[2026-11-05 08:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975181501257564160,"note":"Value kept but may cause issues"} 
[2026-11-05 08:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793847621000,"timestamp_ms":1793847621000,"timestamp_seconds":1793847621,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a67588"} 
[2026-11-05 08: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-05 08:31: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-05 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-05 08:31: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-05 08: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-05 08: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-05 08:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:31:47] 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-05 08:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224989184001,"66":27843,"197":206,"85":15104,"24":55,"16":40150131672088576,"45":8975181501257564160},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-11-05 08:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224989184001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:31:47] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-11-05 08:31:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40150131672088576,"km_value":40150131672088.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975181501257564160,"description":"Unknown IO ID 45"} 
[2026-11-05 08:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224989184001,"power":27843,"unknown_197":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":8975181501257564160}} 
[2026-11-05 08:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":229496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:31:47] local.INFO: GPS data processed {"connection_id":229496,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:31:47] local.INFO: Acknowledgment sent {"connection_id":229496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:32:04] local.INFO: TCP Data received {"connection_id":231312,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:32:04] local.INFO: Processing buffer {"connection_id":231312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:32:04] local.INFO: IMEI packet received {"connection_id":231312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":231312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:32:05] local.INFO: TCP Data received {"connection_id":231312,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:32:05] local.INFO: Processing buffer {"connection_id":231312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:32:05] local.INFO: IMEI packet received {"connection_id":231312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":231312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:32:09] local.INFO: TCP Data received {"connection_id":231312,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:32:09] local.INFO: Processing buffer {"connection_id":231312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:32:09] local.INFO: IMEI packet received {"connection_id":231312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":231312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:32:10] local.INFO: TCP Data received {"connection_id":231312,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a690e0012d7c950005d8d250000200af2e..."} 
[2026-11-05 08:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a690e0012d7c950005d8d250000200af2e..."} 
[2026-11-05 08:32:10] local.INFO: Processing buffer {"connection_id":231312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a690e0012d7c950005d8d250000200af2e..."} 
[2026-11-05 08:32:10] local.INFO: Packet analysis {"connection_id":231312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a6"} 
[2026-11-05 08:32:10] local.INFO: Extracted packet for processing {"connection_id":231312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a6"} 
[2026-11-05 08:32:10] local.INFO: GPS Element Parsed {"raw_longitude":763139328,"raw_latitude":98095696,"longitude_deg":76.3139328,"latitude_deg":9.8095696,"altitude":2,"angle":175,"satellites":46,"speed":54,"hex_longitude":"2d7c9500","hex_latitude":"05d8d250","is_valid_coordinates":true} 
[2026-11-05 08:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224990976001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40150591233589248,"note":"Value kept but may cause issues"} 
[2026-11-05 08:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976166663673542656,"note":"Value kept but may cause issues"} 
[2026-11-05 08:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793847628000,"timestamp_ms":1793847628000,"timestamp_seconds":1793847628,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a690e0"} 
[2026-11-05 08:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:32: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-05 08:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-05 08:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:32:10] 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-05 08:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224990976001,"66":27876,"196":206,"85":15104,"24":54,"16":40150591233589248,"45":8976166663673542656},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-11-05 08:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224990976001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:32:10] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-11-05 08:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40150591233589248,"km_value":40150591233589.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976166663673542656,"description":"Unknown IO ID 45"} 
[2026-11-05 08:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224990976001,"power":27876,"unknown_196":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8976166663673542656}} 
[2026-11-05 08:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":231312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:32:10] local.INFO: GPS data processed {"connection_id":231312,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:32:10] local.INFO: Acknowledgment sent {"connection_id":231312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:32:11] local.INFO: TCP Data received {"connection_id":231312,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a6ac38012d7c98c005d8abf0000200ae2f..."} 
[2026-11-05 08:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a6ac38012d7c98c005d8abf0000200ae2f..."} 
[2026-11-05 08:32:11] local.INFO: Processing buffer {"connection_id":231312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a6ac38012d7c98c005d8abf0000200ae2f..."} 
[2026-11-05 08:32:11] local.INFO: Packet analysis {"connection_id":231312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a6"} 
[2026-11-05 08:32:11] local.INFO: Extracted packet for processing {"connection_id":231312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a6"} 
[2026-11-05 08:32:11] local.INFO: GPS Element Parsed {"raw_longitude":763140288,"raw_latitude":98085872,"longitude_deg":76.3140288,"latitude_deg":9.8085872,"altitude":2,"angle":174,"satellites":47,"speed":57,"hex_longitude":"2d7c98c0","hex_latitude":"05d8abf0","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224992768001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40151067974959104,"note":"Value kept but may cause issues"} 
[2026-11-05 08:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977081457345449984,"note":"Value kept but may cause issues"} 
[2026-11-05 08:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793847635000,"timestamp_ms":1793847635000,"timestamp_seconds":1793847635,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a6ac38"} 
[2026-11-05 08: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-05 08:32: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-05 08: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-05 08: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-05 08: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-05 08: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-05 08:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:32:11] 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-05 08:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224992768001,"66":27919,"196":206,"85":15104,"24":57,"16":40151067974959104,"45":8977081457345449984},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-11-05 08:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224992768001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:32:11] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-11-05 08:32:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40151067974959104,"km_value":40151067974959.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977081457345449984,"description":"Unknown IO ID 45"} 
[2026-11-05 08:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224992768001,"power":27919,"unknown_196":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":8977081457345449984}} 
[2026-11-05 08:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":231312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:32:11] local.INFO: GPS data processed {"connection_id":231312,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:32:11] local.INFO: Acknowledgment sent {"connection_id":231312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:32:42] local.INFO: TCP Data received {"connection_id":231312,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a6c790012d7c9ac005d883c0000300b22f..."} 
[2026-11-05 08:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a6c790012d7c9ac005d883c0000300b22f..."} 
[2026-11-05 08:32:42] local.INFO: Processing buffer {"connection_id":231312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a6c790012d7c9ac005d883c0000300b22f..."} 
[2026-11-05 08:32:42] local.INFO: Packet analysis {"connection_id":231312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a6"} 
[2026-11-05 08:32:42] local.INFO: Extracted packet for processing {"connection_id":231312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a6"} 
[2026-11-05 08:32:42] local.INFO: GPS Element Parsed {"raw_longitude":763140800,"raw_latitude":98075584,"longitude_deg":76.31408,"latitude_deg":9.8075584,"altitude":3,"angle":178,"satellites":47,"speed":58,"hex_longitude":"2d7c9ac0","hex_latitude":"05d883c0","is_valid_coordinates":true} 
[2026-11-05 08:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459224994560001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40151566191165440,"note":"Value kept but may cause issues"} 
[2026-11-05 08:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978136988505600000,"note":"Value kept but may cause issues"} 
[2026-11-05 08:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793847642000,"timestamp_ms":1793847642000,"timestamp_seconds":1793847642,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a6c790"} 
[2026-11-05 08:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:32: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-05 08:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 08:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:32:42] 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-05 08:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459224994560001,"66":27919,"196":206,"85":15104,"24":58,"16":40151566191165440,"45":8978136988505600000},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-11-05 08:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459224994560001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:32:42] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-11-05 08:32:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40151566191165440,"km_value":40151566191165.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978136988505600000,"description":"Unknown IO ID 45"} 
[2026-11-05 08:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459224994560001,"power":27919,"unknown_196":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":8978136988505600000}} 
[2026-11-05 08:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":231312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:32:42] local.INFO: GPS data processed {"connection_id":231312,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:32:42] local.INFO: Acknowledgment sent {"connection_id":231312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:33:04] local.INFO: TCP Data received {"connection_id":233235,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:33:04] local.INFO: Processing buffer {"connection_id":233235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:33:04] local.INFO: IMEI packet received {"connection_id":233235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":233235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:33:04] local.INFO: TCP Data received {"connection_id":233235,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:33:04] local.INFO: Processing buffer {"connection_id":233235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:33:04] local.INFO: IMEI packet received {"connection_id":233235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":233235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:33:09] local.INFO: TCP Data received {"connection_id":233235,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:33:09] local.INFO: Processing buffer {"connection_id":233235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:33:09] local.INFO: IMEI packet received {"connection_id":233235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":233235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:33:10] local.INFO: TCP Data received {"connection_id":233235,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a7f458012d7cd70005d6f320000600a22b..."} 
[2026-11-05 08:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a7f458012d7cd70005d6f320000600a22b..."} 
[2026-11-05 08:33:10] local.INFO: Processing buffer {"connection_id":233235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a7f458012d7cd70005d6f320000600a22b..."} 
[2026-11-05 08:33:10] local.INFO: Packet analysis {"connection_id":233235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a7"} 
[2026-11-05 08:33:10] local.INFO: Extracted packet for processing {"connection_id":233235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a7"} 
[2026-11-05 08:33:10] local.INFO: GPS Element Parsed {"raw_longitude":763156224,"raw_latitude":97973024,"longitude_deg":76.3156224,"latitude_deg":9.7973024,"altitude":6,"angle":162,"satellites":43,"speed":59,"hex_longitude":"2d7cd700","hex_latitude":"05d6f320","is_valid_coordinates":true} 
[2026-11-05 08:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225014528001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40156621367672832,"note":"Value kept but may cause issues"} 
[2026-11-05 08:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992421843546961920,"note":"Value kept but may cause issues"} 
[2026-11-05 08:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793847719000,"timestamp_ms":1793847719000,"timestamp_seconds":1793847719,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a7f458"} 
[2026-11-05 08:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:33: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-05 08:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-05 08:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:33:10] 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-05 08:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225014528001,"66":27767,"31":206,"85":15104,"24":59,"16":40156621367672832,"45":8992421843546961920},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-11-05 08:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225014528001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:33:10] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-11-05 08:33:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40156621367672832,"km_value":40156621367672.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992421843546961920,"description":"Unknown IO ID 45"} 
[2026-11-05 08:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225014528001,"power":27767,"unknown_31":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":8992421843546961920}} 
[2026-11-05 08:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":233235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:33:10] local.INFO: GPS data processed {"connection_id":233235,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:33:10] local.INFO: Acknowledgment sent {"connection_id":233235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:33:21] local.INFO: TCP Data received {"connection_id":229497,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229497,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:33:21] local.INFO: Processing buffer {"connection_id":229497,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:33:21] local.INFO: IMEI packet received {"connection_id":229497,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 08:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":229497,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:33:41] local.INFO: TCP Data received {"connection_id":233235,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a80bc8012d7ce10005d6d1b8000500a42c..."} 
[2026-11-05 08:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a80bc8012d7ce10005d6d1b8000500a42c..."} 
[2026-11-05 08:33:41] local.INFO: Processing buffer {"connection_id":233235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a80bc8012d7ce10005d6d1b8000500a42c..."} 
[2026-11-05 08:33:41] local.INFO: Packet analysis {"connection_id":233235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a8"} 
[2026-11-05 08:33:41] local.INFO: Extracted packet for processing {"connection_id":233235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a8"} 
[2026-11-05 08:33:41] local.INFO: GPS Element Parsed {"raw_longitude":763158784,"raw_latitude":97964472,"longitude_deg":76.3158784,"latitude_deg":9.7964472,"altitude":5,"angle":164,"satellites":44,"speed":59,"hex_longitude":"2d7ce100","hex_latitude":"05d6d1b8","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225016064001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40157055159369728,"note":"Value kept but may cause issues"} 
[2026-11-05 08:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8995658805776949248,"note":"Value kept but may cause issues"} 
[2026-11-05 08:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793847725000,"timestamp_ms":1793847725000,"timestamp_seconds":1793847725,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a80bc8"} 
[2026-11-05 08: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-05 08:33: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-05 08: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":119,"data_length":795,"current_offset":136} 
[2026-11-05 08:33: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-05 08: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-05 08: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-05 08:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:33:41] 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-05 08:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225016064001,"66":27919,"31":206,"85":15104,"24":59,"16":40157055159369728,"45":8995658805776949248},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-11-05 08:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225016064001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:33:41] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-11-05 08:33:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40157055159369728,"km_value":40157055159369.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8995658805776949248,"description":"Unknown IO ID 45"} 
[2026-11-05 08:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225016064001,"power":27919,"unknown_31":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":8995658805776949248}} 
[2026-11-05 08:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":233235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:33:41] local.INFO: GPS data processed {"connection_id":233235,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:33:41] local.INFO: Acknowledgment sent {"connection_id":233235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:34:04] local.INFO: TCP Data received {"connection_id":230003,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:34:04] local.INFO: Processing buffer {"connection_id":230003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:34:04] local.INFO: IMEI packet received {"connection_id":230003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":230003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:34:06] local.INFO: TCP Data received {"connection_id":230003,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:34:06] local.INFO: Processing buffer {"connection_id":230003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:34:06] local.INFO: IMEI packet received {"connection_id":230003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":230003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:34:09] local.INFO: TCP Data received {"connection_id":230003,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:34:09] local.INFO: Processing buffer {"connection_id":230003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:34:09] local.INFO: IMEI packet received {"connection_id":230003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":230003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:34:10] local.INFO: TCP Data received {"connection_id":230003,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a82720012d7ce98005d6ab48000300ab2d..."} 
[2026-11-05 08:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a82720012d7ce98005d6ab48000300ab2d..."} 
[2026-11-05 08:34:10] local.INFO: Processing buffer {"connection_id":230003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a82720012d7ce98005d6ab48000300ab2d..."} 
[2026-11-05 08:34:10] local.INFO: Packet analysis {"connection_id":230003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a8"} 
[2026-11-05 08:34:10] local.INFO: Extracted packet for processing {"connection_id":230003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a8"} 
[2026-11-05 08:34:10] local.INFO: GPS Element Parsed {"raw_longitude":763160960,"raw_latitude":97954632,"longitude_deg":76.316096,"latitude_deg":9.7954632,"altitude":3,"angle":171,"satellites":45,"speed":55,"hex_longitude":"2d7ce980","hex_latitude":"05d6ab48","is_valid_coordinates":true} 
[2026-11-05 08:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225017600001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40157544785641472,"note":"Value kept but may cause issues"} 
[2026-11-05 08:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8998473555541866496,"note":"Value kept but may cause issues"} 
[2026-11-05 08:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793847732000,"timestamp_ms":1793847732000,"timestamp_seconds":1793847732,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a82720"} 
[2026-11-05 08:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:34: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-05 08:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 08:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:34:10] 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-05 08:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225017600001,"66":27930,"29":206,"85":15104,"24":55,"16":40157544785641472,"45":8998473555541866496},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-11-05 08:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225017600001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:34:10] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-11-05 08:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40157544785641472,"km_value":40157544785641.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8998473555541866496,"description":"Unknown IO ID 45"} 
[2026-11-05 08:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225017600001,"power":27930,"unknown_29":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":8998473555541866496}} 
[2026-11-05 08:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":230003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:34:10] local.INFO: GPS data processed {"connection_id":230003,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:34:10] local.INFO: Acknowledgment sent {"connection_id":230003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:34:10] local.INFO: TCP Data received {"connection_id":229499,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229499,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:34:10] local.INFO: Processing buffer {"connection_id":229499,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:34:10] local.INFO: IMEI packet received {"connection_id":229499,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 08:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":229499,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:34:41] local.INFO: TCP Data received {"connection_id":230003,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a99650012d7d330005d4bb70000400a82c..."} 
[2026-11-05 08:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a99650012d7d330005d4bb70000400a82c..."} 
[2026-11-05 08:34:41] local.INFO: Processing buffer {"connection_id":230003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a99650012d7d330005d4bb70000400a82c..."} 
[2026-11-05 08:34:41] local.INFO: Packet analysis {"connection_id":230003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a9"} 
[2026-11-05 08:34:41] local.INFO: Extracted packet for processing {"connection_id":230003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a9"} 
[2026-11-05 08:34:41] local.INFO: GPS Element Parsed {"raw_longitude":763179776,"raw_latitude":97827696,"longitude_deg":76.3179776,"latitude_deg":9.7827696,"altitude":4,"angle":168,"satellites":44,"speed":58,"hex_longitude":"2d7d3300","hex_latitude":"05d4bb70","is_valid_coordinates":true} 
[2026-11-05 08:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225041920001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40163802552991744,"note":"Value kept but may cause issues"} 
[2026-11-05 08:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020498972436725760,"note":"Value kept but may cause issues"} 
[2026-11-05 08:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793847826000,"timestamp_ms":1793847826000,"timestamp_seconds":1793847826,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a99650"} 
[2026-11-05 08:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:34: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-05 08:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-05 08:34:41] 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-05 08:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:34:41] 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-05 08:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225041920001,"66":27865,"81":206,"85":15104,"24":58,"16":40163802552991744,"45":9020498972436725760},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-11-05 08:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225041920001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:34:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-11-05 08:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40163802552991744,"km_value":40163802552991.74,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020498972436725760,"description":"Unknown IO ID 45"} 
[2026-11-05 08:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225041920001,"power":27865,"unknown_81":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":9020498972436725760}} 
[2026-11-05 08:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":230003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:34:41] local.INFO: GPS data processed {"connection_id":230003,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:34:41] local.INFO: Acknowledgment sent {"connection_id":230003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:35:14] local.INFO: TCP Data received {"connection_id":229501,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:35:14] local.INFO: Processing buffer {"connection_id":229501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:35:14] local.INFO: IMEI packet received {"connection_id":229501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":229501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:35:16] local.INFO: TCP Data received {"connection_id":229501,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:35:16] local.INFO: Processing buffer {"connection_id":229501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:35:16] local.INFO: IMEI packet received {"connection_id":229501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":229501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:35:19] local.INFO: TCP Data received {"connection_id":229501,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:35:19] local.INFO: Processing buffer {"connection_id":229501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:35:19] local.INFO: IMEI packet received {"connection_id":229501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":229501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:35:20] local.INFO: TCP Data received {"connection_id":229501,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a9adc0012d7d390005d49930000500aa2b..."} 
[2026-11-05 08:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a9adc0012d7d390005d49930000500aa2b..."} 
[2026-11-05 08:35:20] local.INFO: Processing buffer {"connection_id":229501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a9adc0012d7d390005d49930000500aa2b..."} 
[2026-11-05 08:35:20] local.INFO: Packet analysis {"connection_id":229501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a9"} 
[2026-11-05 08:35:20] local.INFO: Extracted packet for processing {"connection_id":229501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a9"} 
[2026-11-05 08:35:20] local.INFO: GPS Element Parsed {"raw_longitude":763181312,"raw_latitude":97818928,"longitude_deg":76.3181312,"latitude_deg":9.7818928,"altitude":5,"angle":170,"satellites":43,"speed":58,"hex_longitude":"2d7d3900","hex_latitude":"05d49930","is_valid_coordinates":true} 
[2026-11-05 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-05 08:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225043456001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40164232049721344,"note":"Value kept but may cause issues"} 
[2026-11-05 08:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021554503597125632,"note":"Value kept but may cause issues"} 
[2026-11-05 08:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793847832000,"timestamp_ms":1793847832000,"timestamp_seconds":1793847832,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a9adc0"} 
[2026-11-05 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-05 08: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-05 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 08:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 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-05 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-05 08:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:35:20] 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-05 08:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225043456001,"66":27908,"81":206,"85":15104,"24":58,"16":40164232049721344,"45":9021554503597125632},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-11-05 08:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225043456001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:35:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-11-05 08:35:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40164232049721344,"km_value":40164232049721.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021554503597125632,"description":"Unknown IO ID 45"} 
[2026-11-05 08:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225043456001,"power":27908,"unknown_81":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":9021554503597125632}} 
[2026-11-05 08:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":229501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:35:20] local.INFO: GPS data processed {"connection_id":229501,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:35:20] local.INFO: Acknowledgment sent {"connection_id":229501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:35:23] local.INFO: TCP Data received {"connection_id":229501,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a9c918012d7d3fc005d471a0000500ab29..."} 
[2026-11-05 08:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a9c918012d7d3fc005d471a0000500ab29..."} 
[2026-11-05 08:35:23] local.INFO: Processing buffer {"connection_id":229501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a9c918012d7d3fc005d471a0000500ab29..."} 
[2026-11-05 08:35:23] local.INFO: Packet analysis {"connection_id":229501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a9"} 
[2026-11-05 08:35:23] local.INFO: Extracted packet for processing {"connection_id":229501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a9"} 
[2026-11-05 08:35:23] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":97808800,"longitude_deg":76.318304,"latitude_deg":9.78088,"altitude":5,"angle":171,"satellites":41,"speed":58,"hex_longitude":"2d7d3fc0","hex_latitude":"05d471a0","is_valid_coordinates":true} 
[2026-11-05 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-05 08:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225044992001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40164730265927680,"note":"Value kept but may cause issues"} 
[2026-11-05 08:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023243353455144960,"note":"Value kept but may cause issues"} 
[2026-11-05 08:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793847839000,"timestamp_ms":1793847839000,"timestamp_seconds":1793847839,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a9c918"} 
[2026-11-05 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-05 08:35: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-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 08:35: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-05 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-05 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-05 08:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":229501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":229501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":229501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:35:23] 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-05 08:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225044992001,"66":27876,"81":206,"85":15104,"24":58,"16":40164730265927680,"45":9023243353455144960},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-11-05 08:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225044992001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:35:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-11-05 08:35:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40164730265927680,"km_value":40164730265927.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023243353455144960,"description":"Unknown IO ID 45"} 
[2026-11-05 08:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225044992001,"power":27876,"unknown_81":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":9023243353455144960}} 
[2026-11-05 08:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":229501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:35:23] local.INFO: GPS data processed {"connection_id":229501,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:35:23] local.INFO: Acknowledgment sent {"connection_id":229501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:36:04] local.INFO: TCP Data received {"connection_id":231314,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231314,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:36:04] local.INFO: Processing buffer {"connection_id":231314,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:36:04] local.INFO: IMEI packet received {"connection_id":231314,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":231314,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:36:04] local.INFO: TCP Data received {"connection_id":231315,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:36:04] local.INFO: Processing buffer {"connection_id":231315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:36:04] local.INFO: IMEI packet received {"connection_id":231315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":231315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:36:05] local.INFO: TCP Data received {"connection_id":231314,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ab5f58012d0cef400705d3b8001300352c..."} 
[2026-11-05 08:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ab5f58012d0cef400705d3b8001300352c..."} 
[2026-11-05 08:36:05] local.INFO: Processing buffer {"connection_id":231314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ab5f58012d0cef400705d3b8001300352c..."} 
[2026-11-05 08:36:05] local.INFO: Packet analysis {"connection_id":231314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ab"} 
[2026-11-05 08:36:05] local.INFO: Extracted packet for processing {"connection_id":231314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ab"} 
[2026-11-05 08:36:05] local.INFO: GPS Element Parsed {"raw_longitude":755822400,"raw_latitude":117822392,"longitude_deg":75.58224,"latitude_deg":11.7822392,"altitude":19,"angle":53,"satellites":44,"speed":21,"hex_longitude":"2d0cef40","hex_latitude":"0705d3b8","is_valid_coordinates":true} 
[2026-11-05 08:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225073152001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39357783220420608,"note":"Value kept but may cause issues"} 
[2026-11-05 08:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":931611834330527744,"note":"Value kept but may cause issues"} 
[2026-11-05 08:36: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-05 08:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793847943000,"timestamp_ms":1793847943000,"timestamp_seconds":1793847943,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ab5f58"} 
[2026-11-05 08:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-11-05 08:36:05] 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-05 08:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":231314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":231314,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":231314,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225073152001,"66":13863,"220":206,"94":10240,"24":21,"16":39357783220420608,"45":931611834330527744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-11-05 08:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225073152001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:36:05] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-11-05 08:36:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39357783220420608,"km_value":39357783220420.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":931611834330527744,"description":"Unknown IO ID 45"} 
[2026-11-05 08:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225073152001,"power":13863,"unknown_220":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":931611834330527744}} 
[2026-11-05 08:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":231314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61963,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:36:05] local.INFO: GPS data processed {"connection_id":231314,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:36:05] local.INFO: Acknowledgment sent {"connection_id":231314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:36:08] local.INFO: TCP Data received {"connection_id":231315,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:36:08] local.INFO: Processing buffer {"connection_id":231315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:36:08] local.INFO: IMEI packet received {"connection_id":231315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":231315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:36:09] local.INFO: TCP Data received {"connection_id":231315,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9a9e088012d7d43c005d44ee0000400b02b..."} 
[2026-11-05 08:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9a9e088012d7d43c005d44ee0000400b02b..."} 
[2026-11-05 08:36:09] local.INFO: Processing buffer {"connection_id":231315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9a9e088012d7d43c005d44ee0000400b02b..."} 
[2026-11-05 08:36:09] local.INFO: Packet analysis {"connection_id":231315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9a9"} 
[2026-11-05 08:36:09] local.INFO: Extracted packet for processing {"connection_id":231315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9a9"} 
[2026-11-05 08:36:09] local.INFO: GPS Element Parsed {"raw_longitude":763184064,"raw_latitude":97799904,"longitude_deg":76.3184064,"latitude_deg":9.7799904,"altitude":4,"angle":176,"satellites":43,"speed":60,"hex_longitude":"2d7d43c0","hex_latitude":"05d44ee0","is_valid_coordinates":true} 
[2026-11-05 08:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225046784001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40165164057624576,"note":"Value kept but may cause issues"} 
[2026-11-05 08:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309545349120,"note":"Value kept but may cause issues"} 
[2026-11-05 08:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793847845000,"timestamp_ms":1793847845000,"timestamp_seconds":1793847845,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9a9e088"} 
[2026-11-05 08:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:36: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-05 08:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-05 08:36:09] 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-05 08:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:36:09] 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-05 08:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225046784001,"66":27843,"81":206,"85":15104,"24":60,"16":40165164057624576,"45":9025143309545349120},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-11-05 08:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225046784001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:36:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-11-05 08:36:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40165164057624576,"km_value":40165164057624.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309545349120,"description":"Unknown IO ID 45"} 
[2026-11-05 08:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225046784001,"power":27843,"unknown_81":206,"unknown_85":15104,"ignition":60,"odometer":null,"unknown_45":9025143309545349120}} 
[2026-11-05 08:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":231315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:36:09] local.INFO: GPS data processed {"connection_id":231315,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:36:09] local.INFO: Acknowledgment sent {"connection_id":231315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:36:41] local.INFO: TCP Data received {"connection_id":231315,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ab7e98012d7d40c005d29038000a009f32..."} 
[2026-11-05 08:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ab7e98012d7d40c005d29038000a009f32..."} 
[2026-11-05 08:36:41] local.INFO: Processing buffer {"connection_id":231315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ab7e98012d7d40c005d29038000a009f32..."} 
[2026-11-05 08:36:41] local.INFO: Packet analysis {"connection_id":231315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ab"} 
[2026-11-05 08:36:41] local.INFO: Extracted packet for processing {"connection_id":231315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ab"} 
[2026-11-05 08:36:41] local.INFO: GPS Element Parsed {"raw_longitude":763183296,"raw_latitude":97685560,"longitude_deg":76.3183296,"latitude_deg":9.768556,"altitude":10,"angle":159,"satellites":50,"speed":14,"hex_longitude":"2d7d40c0","hex_latitude":"05d29038","is_valid_coordinates":true} 
[2026-11-05 08:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225074688001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40170717450338304,"note":"Value kept but may cause issues"} 
[2026-11-05 08:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309514127360,"note":"Value kept but may cause issues"} 
[2026-11-05 08:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793847951000,"timestamp_ms":1793847951000,"timestamp_seconds":1793847951,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ab7e98"} 
[2026-11-05 08:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:36: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-05 08:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-05 08:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:36:41] 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-05 08:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225074688001,"66":27876,"117":206,"85":15104,"24":14,"16":40170717450338304,"45":9025143309514127360},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-11-05 08:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225074688001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:36:41] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-11-05 08:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40170717450338304,"km_value":40170717450338.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309514127360,"description":"Unknown IO ID 45"} 
[2026-11-05 08:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225074688001,"power":27876,"unknown_117":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9025143309514127360}} 
[2026-11-05 08:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":231315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:36:41] local.INFO: GPS data processed {"connection_id":231315,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:36:41] local.INFO: Acknowledgment sent {"connection_id":231315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:36:49] local.INFO: TCP Data received {"connection_id":230004,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230004,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:36:49] local.INFO: Processing buffer {"connection_id":230004,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:36:49] local.INFO: IMEI packet received {"connection_id":230004,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":230004,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:36:54] local.INFO: TCP Data received {"connection_id":230004,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230004,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:36:54] local.INFO: Processing buffer {"connection_id":230004,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:36:54] local.INFO: IMEI packet received {"connection_id":230004,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":230004,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:36:54] local.INFO: TCP Data received {"connection_id":230004,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ac0f20012d0d3a400705c2580012008c2c..."} 
[2026-11-05 08:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ac0f20012d0d3a400705c2580012008c2c..."} 
[2026-11-05 08:36:54] local.INFO: Processing buffer {"connection_id":230004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ac0f20012d0d3a400705c2580012008c2c..."} 
[2026-11-05 08:36:54] local.INFO: Packet analysis {"connection_id":230004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ac"} 
[2026-11-05 08:36:54] local.INFO: Extracted packet for processing {"connection_id":230004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ac"} 
[2026-11-05 08:36:54] local.INFO: GPS Element Parsed {"raw_longitude":755841600,"raw_latitude":117817944,"longitude_deg":75.58416,"latitude_deg":11.7817944,"altitude":18,"angle":140,"satellites":44,"speed":11,"hex_longitude":"2d0d3a40","hex_latitude":"0705c258","is_valid_coordinates":true} 
[2026-11-05 08:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225084672001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39358955746492416,"note":"Value kept but may cause issues"} 
[2026-11-05 08:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953003932559566848,"note":"Value kept but may cause issues"} 
[2026-11-05 08:36:54] 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-05 08:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793847988000,"timestamp_ms":1793847988000,"timestamp_seconds":1793847988,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ac0f20"} 
[2026-11-05 08:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-05 08:36:54] 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-05 08:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":230004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":230004,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":230004,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225084672001,"66":14537,"167":206,"94":11008,"24":11,"16":39358955746492416,"45":953003932559566848},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-11-05 08:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225084672001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:36:54] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-11-05 08:36:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39358955746492416,"km_value":39358955746492.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":953003932559566848,"description":"Unknown IO ID 45"} 
[2026-11-05 08:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225084672001,"power":14537,"unknown_167":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":953003932559566848}} 
[2026-11-05 08:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":230004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61966,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:36:55] local.INFO: GPS data processed {"connection_id":230004,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:36:55] local.INFO: Acknowledgment sent {"connection_id":230004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:37:08] local.INFO: TCP Data received {"connection_id":230005,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:37:08] local.INFO: Processing buffer {"connection_id":230005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:37:08] local.INFO: IMEI packet received {"connection_id":230005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":230005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:37:09] local.INFO: TCP Data received {"connection_id":230005,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:37:09] local.INFO: Processing buffer {"connection_id":230005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:37:09] local.INFO: IMEI packet received {"connection_id":230005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":230005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:37:09] local.INFO: TCP Data received {"connection_id":230005,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ab99f0012d7d42c005d28820000a00ae34..."} 
[2026-11-05 08:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ab99f0012d7d42c005d28820000a00ae34..."} 
[2026-11-05 08:37:09] local.INFO: Processing buffer {"connection_id":230005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ab99f0012d7d42c005d28820000a00ae34..."} 
[2026-11-05 08:37:09] local.INFO: Packet analysis {"connection_id":230005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ab"} 
[2026-11-05 08:37:09] local.INFO: Extracted packet for processing {"connection_id":230005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ab"} 
[2026-11-05 08:37:09] local.INFO: GPS Element Parsed {"raw_longitude":763183808,"raw_latitude":97683488,"longitude_deg":76.3183808,"latitude_deg":9.7683488,"altitude":10,"angle":174,"satellites":52,"speed":12,"hex_longitude":"2d7d42c0","hex_latitude":"05d28820","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225075456001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40170824824520704,"note":"Value kept but may cause issues"} 
[2026-11-05 08:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025424784490510336,"note":"Value kept but may cause issues"} 
[2026-11-05 08:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793847958000,"timestamp_ms":1793847958000,"timestamp_seconds":1793847958,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ab99f0"} 
[2026-11-05 08: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-05 08:37: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-05 08:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-05 08:37:09] 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-05 08: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-05 08: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-05 08:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:37:09] 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-05 08:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225075456001,"66":27995,"117":206,"85":15104,"24":12,"16":40170824824520704,"45":9025424784490510336},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-11-05 08:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225075456001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:37:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-11-05 08:37:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40170824824520704,"km_value":40170824824520.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025424784490510336,"description":"Unknown IO ID 45"} 
[2026-11-05 08:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225075456001,"power":27995,"unknown_117":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9025424784490510336}} 
[2026-11-05 08:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":230005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:37:09] local.INFO: GPS data processed {"connection_id":230005,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:37:09] local.INFO: Acknowledgment sent {"connection_id":230005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:37:15] local.INFO: TCP Data received {"connection_id":230005,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9aba5a8012d7d428005d283d0000b00bc32..."} 
[2026-11-05 08:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9aba5a8012d7d428005d283d0000b00bc32..."} 
[2026-11-05 08:37:15] local.INFO: Processing buffer {"connection_id":230005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9aba5a8012d7d428005d283d0000b00bc32..."} 
[2026-11-05 08:37:15] local.INFO: Packet analysis {"connection_id":230005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ab"} 
[2026-11-05 08:37:15] local.INFO: Extracted packet for processing {"connection_id":230005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ab"} 
[2026-11-05 08:37:15] local.INFO: GPS Element Parsed {"raw_longitude":763183744,"raw_latitude":97682384,"longitude_deg":76.3183744,"latitude_deg":9.7682384,"altitude":11,"angle":188,"satellites":50,"speed":14,"hex_longitude":"2d7d4280","hex_latitude":"05d283d0","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225077248001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40170876364128256,"note":"Value kept but may cause issues"} 
[2026-11-05 08:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025987734443401216,"note":"Value kept but may cause issues"} 
[2026-11-05 08:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793847961000,"timestamp_ms":1793847961000,"timestamp_seconds":1793847961,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9aba5a8"} 
[2026-11-05 08: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-05 08:37: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-05 08: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-05 08:37: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-05 08: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-05 08: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-05 08:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:37:15] 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-05 08:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225077248001,"66":27876,"117":206,"85":15104,"24":14,"16":40170876364128256,"45":9025987734443401216},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-11-05 08:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225077248001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:37:15] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-11-05 08:37:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40170876364128256,"km_value":40170876364128.26,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025987734443401216,"description":"Unknown IO ID 45"} 
[2026-11-05 08:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225077248001,"power":27876,"unknown_117":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9025987734443401216}} 
[2026-11-05 08:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":230005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:37:15] local.INFO: GPS data processed {"connection_id":230005,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:37:15] local.INFO: Acknowledgment sent {"connection_id":230005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:37:26] local.INFO: TCP Data received {"connection_id":230004,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ac1308012d0d3b400705c1a8001200802b..."} 
[2026-11-05 08:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ac1308012d0d3b400705c1a8001200802b..."} 
[2026-11-05 08:37:26] local.INFO: Processing buffer {"connection_id":230004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ac1308012d0d3b400705c1a8001200802b..."} 
[2026-11-05 08:37:26] local.INFO: Packet analysis {"connection_id":230004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ac"} 
[2026-11-05 08:37:26] local.INFO: Extracted packet for processing {"connection_id":230004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ac"} 
[2026-11-05 08:37:26] local.INFO: GPS Element Parsed {"raw_longitude":755841856,"raw_latitude":117817768,"longitude_deg":75.5841856,"latitude_deg":11.7817768,"altitude":18,"angle":128,"satellites":43,"speed":8,"hex_longitude":"2d0d3b40","hex_latitude":"0705c1a8","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225084928001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39358968631394304,"note":"Value kept but may cause issues"} 
[2026-11-05 08:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953144670047852544,"note":"Value kept but may cause issues"} 
[2026-11-05 08:37:26] 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-05 08:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793847989000,"timestamp_ms":1793847989000,"timestamp_seconds":1793847989,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ac1308"} 
[2026-11-05 08: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-05 08:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-05 08:37:26] 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-05 08: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-05 08: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-05 08:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230004,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230004,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:37:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225084928001,"66":14667,"167":206,"94":11008,"24":8,"16":39358968631394304,"45":953144670047852544},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-11-05 08:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225084928001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:37:26] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-11-05 08:37:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39358968631394304,"km_value":39358968631394.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":953144670047852544,"description":"Unknown IO ID 45"} 
[2026-11-05 08:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225084928001,"power":14667,"unknown_167":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":953144670047852544}} 
[2026-11-05 08:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":230004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61969,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:37:26] local.INFO: GPS data processed {"connection_id":230004,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:37:26] local.INFO: Acknowledgment sent {"connection_id":230004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:37:46] local.INFO: TCP Data received {"connection_id":230005,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9abf3c8012d7d3ec005d25fb0000c00bd31..."} 
[2026-11-05 08:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9abf3c8012d7d3ec005d25fb0000c00bd31..."} 
[2026-11-05 08:37:46] local.INFO: Processing buffer {"connection_id":230005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9abf3c8012d7d3ec005d25fb0000c00bd31..."} 
[2026-11-05 08:37:46] local.INFO: Packet analysis {"connection_id":230005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ab"} 
[2026-11-05 08:37:46] local.INFO: Extracted packet for processing {"connection_id":230005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ab"} 
[2026-11-05 08:37:46] local.INFO: GPS Element Parsed {"raw_longitude":763182784,"raw_latitude":97673136,"longitude_deg":76.3182784,"latitude_deg":9.7673136,"altitude":12,"angle":189,"satellites":49,"speed":25,"hex_longitude":"2d7d3ec0","hex_latitude":"05d25fb0","is_valid_coordinates":true} 
[2026-11-05 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-05 08:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225078016001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40171331630661632,"note":"Value kept but may cause issues"} 
[2026-11-05 08:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025917365698940928,"note":"Value kept but may cause issues"} 
[2026-11-05 08:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793847981000,"timestamp_ms":1793847981000,"timestamp_seconds":1793847981,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9abf3c8"} 
[2026-11-05 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-05 08:37: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-05 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-05 08:37: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-05 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-05 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-05 08:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:37:46] 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-05 08:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225078016001,"66":26984,"23":206,"85":15104,"24":25,"16":40171331630661632,"45":9025917365698940928},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-11-05 08:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225078016001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:37:46] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-11-05 08:37:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40171331630661632,"km_value":40171331630661.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025917365698940928,"description":"Unknown IO ID 45"} 
[2026-11-05 08:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225078016001,"power":26984,"unknown_23":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9025917365698940928}} 
[2026-11-05 08:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":230005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:37:46] local.INFO: GPS data processed {"connection_id":230005,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:37:46] local.INFO: Acknowledgment sent {"connection_id":230005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:37:50] local.INFO: TCP Data received {"connection_id":231317,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231317,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:37:50] local.INFO: Processing buffer {"connection_id":231317,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:37:50] local.INFO: IMEI packet received {"connection_id":231317,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":231317,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:37:54] local.INFO: TCP Data received {"connection_id":231317,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231317,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:37:54] local.INFO: Processing buffer {"connection_id":231317,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:37:54] local.INFO: IMEI packet received {"connection_id":231317,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":231317,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:37:55] local.INFO: TCP Data received {"connection_id":231317,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231317,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:37:55] local.INFO: Processing buffer {"connection_id":231317,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:37:55] local.INFO: IMEI packet received {"connection_id":231317,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":231317,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:37:55] local.INFO: TCP Data received {"connection_id":231317,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ac1ad8012d0d3c400705c060001300972c..."} 
[2026-11-05 08:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ac1ad8012d0d3c400705c060001300972c..."} 
[2026-11-05 08:37:55] local.INFO: Processing buffer {"connection_id":231317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ac1ad8012d0d3c400705c060001300972c..."} 
[2026-11-05 08:37:55] local.INFO: Packet analysis {"connection_id":231317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ac"} 
[2026-11-05 08:37:55] local.INFO: Extracted packet for processing {"connection_id":231317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ac"} 
[2026-11-05 08:37:55] local.INFO: GPS Element Parsed {"raw_longitude":755842112,"raw_latitude":117817440,"longitude_deg":75.5842112,"latitude_deg":11.781744,"altitude":19,"angle":151,"satellites":44,"speed":8,"hex_longitude":"2d0d3c40","hex_latitude":"0705c060","is_valid_coordinates":true} 
[2026-11-05 08:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225085184001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39358990106230784,"note":"Value kept but may cause issues"} 
[2026-11-05 08:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953426145024518144,"note":"Value kept but may cause issues"} 
[2026-11-05 08:37:55] 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-05 08:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793847991000,"timestamp_ms":1793847991000,"timestamp_seconds":1793847991,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ac1ad8"} 
[2026-11-05 08:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-05 08:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-11-05 08:37:55] 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-05 08:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225085184001,"66":14167,"167":206,"94":11008,"24":8,"16":39358990106230784,"45":953426145024518144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-11-05 08:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225085184001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:37:55] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-11-05 08:37:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39358990106230784,"km_value":39358990106230.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":953426145024518144,"description":"Unknown IO ID 45"} 
[2026-11-05 08:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225085184001,"power":14167,"unknown_167":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":953426145024518144}} 
[2026-11-05 08:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":231317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61971,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:37:55] local.INFO: GPS data processed {"connection_id":231317,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:37:55] local.INFO: Acknowledgment sent {"connection_id":231317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:37:59] local.INFO: TCP Data received {"connection_id":231317,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ac22a8012d0d3d000705bec8001400a52b..."} 
[2026-11-05 08:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ac22a8012d0d3d000705bec8001400a52b..."} 
[2026-11-05 08:37:59] local.INFO: Processing buffer {"connection_id":231317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ac22a8012d0d3d000705bec8001400a52b..."} 
[2026-11-05 08:37:59] local.INFO: Packet analysis {"connection_id":231317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ac"} 
[2026-11-05 08:37:59] local.INFO: Extracted packet for processing {"connection_id":231317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ac"} 
[2026-11-05 08:37:59] local.INFO: GPS Element Parsed {"raw_longitude":755842304,"raw_latitude":117817032,"longitude_deg":75.5842304,"latitude_deg":11.7817032,"altitude":20,"angle":165,"satellites":43,"speed":8,"hex_longitude":"2d0d3d00","hex_latitude":"0705bec8","is_valid_coordinates":true} 
[2026-11-05 08:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225085696001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39359011581067264,"note":"Value kept but may cause issues"} 
[2026-11-05 08:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953707620001144832,"note":"Value kept but may cause issues"} 
[2026-11-05 08:37:59] 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-05 08:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793847993000,"timestamp_ms":1793847993000,"timestamp_seconds":1793847993,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ac22a8"} 
[2026-11-05 08:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-11-05 08:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1256,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":231317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":231317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":231317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225085696001,"66":14559,"167":206,"94":11008,"24":8,"16":39359011581067264,"45":953707620001144832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-11-05 08:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225085696001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:37:59] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-11-05 08:37:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39359011581067264,"km_value":39359011581067.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":953707620001144832,"description":"Unknown IO ID 45"} 
[2026-11-05 08:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225085696001,"power":14559,"unknown_167":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":953707620001144832}} 
[2026-11-05 08:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":231317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61972,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:38:00] local.INFO: GPS data processed {"connection_id":231317,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:38:00] local.INFO: Acknowledgment sent {"connection_id":231317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:38:04] local.INFO: TCP Data received {"connection_id":230006,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:38:04] local.INFO: Processing buffer {"connection_id":230006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:38:04] local.INFO: IMEI packet received {"connection_id":230006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":230006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:38:09] local.INFO: TCP Data received {"connection_id":230006,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:38:09] local.INFO: Processing buffer {"connection_id":230006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:38:09] local.INFO: IMEI packet received {"connection_id":230006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":230006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:38:10] local.INFO: TCP Data received {"connection_id":230006,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ac3630012d7d390005d23d68000c00be30..."} 
[2026-11-05 08:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ac3630012d7d390005d23d68000c00be30..."} 
[2026-11-05 08:38:10] local.INFO: Processing buffer {"connection_id":230006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ac3630012d7d390005d23d68000c00be30..."} 
[2026-11-05 08:38:10] local.INFO: Packet analysis {"connection_id":230006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ac"} 
[2026-11-05 08:38:10] local.INFO: Extracted packet for processing {"connection_id":230006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ac"} 
[2026-11-05 08:38:10] local.INFO: GPS Element Parsed {"raw_longitude":763181312,"raw_latitude":97664360,"longitude_deg":76.3181312,"latitude_deg":9.766436,"altitude":12,"angle":190,"satellites":48,"speed":15,"hex_longitude":"2d7d3900","hex_latitude":"05d23d68","is_valid_coordinates":true} 
[2026-11-05 08:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225083136001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40171761127391232,"note":"Value kept but may cause issues"} 
[2026-11-05 08:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024861834533908480,"note":"Value kept but may cause issues"} 
[2026-11-05 08:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793847998000,"timestamp_ms":1793847998000,"timestamp_seconds":1793847998,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ac3630"} 
[2026-11-05 08:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:38: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-05 08:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-05 08:38:10] 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-05 08:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:38:10] 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-05 08:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225083136001,"66":27767,"23":206,"85":15104,"24":15,"16":40171761127391232,"45":9024861834533908480},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-11-05 08:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225083136001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:38:10] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-11-05 08:38:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40171761127391232,"km_value":40171761127391.234,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024861834533908480,"description":"Unknown IO ID 45"} 
[2026-11-05 08:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225083136001,"power":27767,"unknown_23":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9024861834533908480}} 
[2026-11-05 08:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":230006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:38:10] local.INFO: GPS data processed {"connection_id":230006,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:38:10] local.INFO: Acknowledgment sent {"connection_id":230006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:38:30] local.INFO: TCP Data received {"connection_id":231317,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9adc4a0012d0d5f800705d8b00019008f29..."} 
[2026-11-05 08:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9adc4a0012d0d5f800705d8b00019008f29..."} 
[2026-11-05 08:38:30] local.INFO: Processing buffer {"connection_id":231317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9adc4a0012d0d5f800705d8b00019008f29..."} 
[2026-11-05 08:38:30] local.INFO: Packet analysis {"connection_id":231317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ad"} 
[2026-11-05 08:38:30] local.INFO: Extracted packet for processing {"connection_id":231317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ad"} 
[2026-11-05 08:38:30] local.INFO: GPS Element Parsed {"raw_longitude":755851136,"raw_latitude":117823664,"longitude_deg":75.5851136,"latitude_deg":11.7823664,"altitude":25,"angle":143,"satellites":41,"speed":12,"hex_longitude":"2d0d5f80","hex_latitude":"0705d8b0","is_valid_coordinates":true} 
[2026-11-05 08:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225113088001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39359853394657280,"note":"Value kept but may cause issues"} 
[2026-11-05 08:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":962925925490122752,"note":"Value kept but may cause issues"} 
[2026-11-05 08:38:30] 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-05 08:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793848100000,"timestamp_ms":1793848100000,"timestamp_seconds":1793848100,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9adc4a0"} 
[2026-11-05 08:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-05 08:38:30] 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-05 08:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":231317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":231317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":231317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225113088001,"66":14494,"167":206,"94":11008,"24":12,"16":39359853394657280,"45":962925925490122752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-11-05 08:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225113088001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:38:30] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-11-05 08:38:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39359853394657280,"km_value":39359853394657.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":962925925490122752,"description":"Unknown IO ID 45"} 
[2026-11-05 08:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225113088001,"power":14494,"unknown_167":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":962925925490122752}} 
[2026-11-05 08:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":231317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61974,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:38:30] local.INFO: GPS data processed {"connection_id":231317,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:38:30] local.INFO: Acknowledgment sent {"connection_id":231317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:38:41] local.INFO: TCP Data received {"connection_id":230006,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ac8838012d7d340005d22010000d00bf32..."} 
[2026-11-05 08:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ac8838012d7d340005d22010000d00bf32..."} 
[2026-11-05 08:38:41] local.INFO: Processing buffer {"connection_id":230006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ac8838012d7d340005d22010000d00bf32..."} 
[2026-11-05 08:38:41] local.INFO: Packet analysis {"connection_id":230006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ac"} 
[2026-11-05 08:38:41] local.INFO: Extracted packet for processing {"connection_id":230006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ac"} 
[2026-11-05 08:38:41] local.INFO: GPS Element Parsed {"raw_longitude":763180032,"raw_latitude":97656848,"longitude_deg":76.3180032,"latitude_deg":9.7656848,"altitude":13,"angle":191,"satellites":50,"speed":19,"hex_longitude":"2d7d3400","hex_latitude":"05d22010","is_valid_coordinates":true} 
[2026-11-05 08:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225087488001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40172130494578688,"note":"Value kept but may cause issues"} 
[2026-11-05 08:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023243353415575552,"note":"Value kept but may cause issues"} 
[2026-11-05 08:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793848019000,"timestamp_ms":1793848019000,"timestamp_seconds":1793848019,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ac8838"} 
[2026-11-05 08:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:38: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-05 08:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-05 08:38: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-05 08:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:38:41] 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-05 08:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225087488001,"66":27865,"23":206,"85":15104,"24":19,"16":40172130494578688,"45":9023243353415575552},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-11-05 08:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225087488001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:38:41] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-11-05 08:38:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40172130494578688,"km_value":40172130494578.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023243353415575552,"description":"Unknown IO ID 45"} 
[2026-11-05 08:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225087488001,"power":27865,"unknown_23":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9023243353415575552}} 
[2026-11-05 08:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":230006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:38:41] local.INFO: GPS data processed {"connection_id":230006,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:38:41] local.INFO: Acknowledgment sent {"connection_id":230006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:38:45] local.INFO: TCP Data received {"connection_id":229504,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229504,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:38:45] local.INFO: Processing buffer {"connection_id":229504,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:38:45] local.INFO: IMEI packet received {"connection_id":229504,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":229504,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:38:48] local.INFO: TCP Data received {"connection_id":229504,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229504,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:38:48] local.INFO: Processing buffer {"connection_id":229504,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:38:48] local.INFO: IMEI packet received {"connection_id":229504,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":229504,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:38:49] local.INFO: TCP Data received {"connection_id":229504,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229504,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:38:49] local.INFO: Processing buffer {"connection_id":229504,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:38:49] local.INFO: IMEI packet received {"connection_id":229504,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":229504,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:38:50] local.INFO: TCP Data received {"connection_id":229504,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229504,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:38:50] local.INFO: Processing buffer {"connection_id":229504,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:38:50] local.INFO: IMEI packet received {"connection_id":229504,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":229504,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:38:50] local.INFO: TCP Data received {"connection_id":229504,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9add828012d0d64800705d230001b007a2c..."} 
[2026-11-05 08:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9add828012d0d64800705d230001b007a2c..."} 
[2026-11-05 08:38:50] local.INFO: Processing buffer {"connection_id":229504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9add828012d0d64800705d230001b007a2c..."} 
[2026-11-05 08:38:50] local.INFO: Packet analysis {"connection_id":229504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ad"} 
[2026-11-05 08:38:50] local.INFO: Extracted packet for processing {"connection_id":229504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ad"} 
[2026-11-05 08:38:50] local.INFO: GPS Element Parsed {"raw_longitude":755852416,"raw_latitude":117822000,"longitude_deg":75.5852416,"latitude_deg":11.7822,"altitude":27,"angle":122,"satellites":44,"speed":16,"hex_longitude":"2d0d6480","hex_latitude":"0705d230","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225113600001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39359956473872384,"note":"Value kept but may cause issues"} 
[2026-11-05 08:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963629612931788800,"note":"Value kept but may cause issues"} 
[2026-11-05 08:38:50] 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-05 08:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793848105000,"timestamp_ms":1793848105000,"timestamp_seconds":1793848105,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9add828"} 
[2026-11-05 08: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-05 08:38: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-05 08:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-05 08:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08: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-05 08: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-05 08:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229504,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229504,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225113600001,"66":14428,"167":206,"94":11008,"24":16,"16":39359956473872384,"45":963629612931788800},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-11-05 08:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225113600001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:38:50] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-11-05 08:38:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39359956473872384,"km_value":39359956473872.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":963629612931788800,"description":"Unknown IO ID 45"} 
[2026-11-05 08:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225113600001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":963629612931788800}} 
[2026-11-05 08:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":229504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61976,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:38:51] local.INFO: GPS data processed {"connection_id":229504,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:38:51] local.INFO: Acknowledgment sent {"connection_id":229504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:39:09] local.INFO: TCP Data received {"connection_id":231318,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:39:09] local.INFO: Processing buffer {"connection_id":231318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:39:09] local.INFO: IMEI packet received {"connection_id":231318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":231318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:39:09] local.INFO: TCP Data received {"connection_id":231318,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:39:09] local.INFO: Processing buffer {"connection_id":231318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:39:09] local.INFO: IMEI packet received {"connection_id":231318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":231318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:39:14] local.INFO: TCP Data received {"connection_id":231318,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:39:14] local.INFO: Processing buffer {"connection_id":231318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:39:14] local.INFO: IMEI packet received {"connection_id":231318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":231318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:39:15] local.INFO: TCP Data received {"connection_id":231318,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9acd270012d7d300005d1fcb8000d00b930..."} 
[2026-11-05 08:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9acd270012d7d300005d1fcb8000d00b930..."} 
[2026-11-05 08:39:15] local.INFO: Processing buffer {"connection_id":231318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9acd270012d7d300005d1fcb8000d00b930..."} 
[2026-11-05 08:39:15] local.INFO: Packet analysis {"connection_id":231318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ac"} 
[2026-11-05 08:39:15] local.INFO: Extracted packet for processing {"connection_id":231318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ac"} 
[2026-11-05 08:39:15] local.INFO: GPS Element Parsed {"raw_longitude":763179008,"raw_latitude":97647800,"longitude_deg":76.3179008,"latitude_deg":9.76478,"altitude":13,"angle":185,"satellites":48,"speed":23,"hex_longitude":"2d7d3000","hex_latitude":"05d1fcb8","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225092864001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40172577171177472,"note":"Value kept but may cause issues"} 
[2026-11-05 08:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021835978530099200,"note":"Value kept but may cause issues"} 
[2026-11-05 08:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793848038000,"timestamp_ms":1793848038000,"timestamp_seconds":1793848038,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9acd270"} 
[2026-11-05 08: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-05 08:39: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-05 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 08:39: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-05 08: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-05 08: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-05 08:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":231318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":231318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":231318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:39:15] 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-05 08:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225092864001,"66":27865,"23":206,"85":15104,"24":23,"16":40172577171177472,"45":9021835978530099200},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-11-05 08:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225092864001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:39:15] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-11-05 08:39:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40172577171177472,"km_value":40172577171177.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021835978530099200,"description":"Unknown IO ID 45"} 
[2026-11-05 08:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225092864001,"power":27865,"unknown_23":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9021835978530099200}} 
[2026-11-05 08:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":231318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:39:15] local.INFO: GPS data processed {"connection_id":231318,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:39:15] local.INFO: Acknowledgment sent {"connection_id":231318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:39:16] local.INFO: TCP Data received {"connection_id":231318,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ad0538012d7d314005d1d7b0000d00b02f..."} 
[2026-11-05 08:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ad0538012d7d314005d1d7b0000d00b02f..."} 
[2026-11-05 08:39:16] local.INFO: Processing buffer {"connection_id":231318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ad0538012d7d314005d1d7b0000d00b02f..."} 
[2026-11-05 08:39:16] local.INFO: Packet analysis {"connection_id":231318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ad"} 
[2026-11-05 08:39:16] local.INFO: Extracted packet for processing {"connection_id":231318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ad"} 
[2026-11-05 08:39:16] local.INFO: GPS Element Parsed {"raw_longitude":763179328,"raw_latitude":97638320,"longitude_deg":76.3179328,"latitude_deg":9.763832,"altitude":13,"angle":176,"satellites":47,"speed":31,"hex_longitude":"2d7d3140","hex_latitude":"05d1d7b0","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225097728001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40173036732678144,"note":"Value kept but may cause issues"} 
[2026-11-05 08:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020710078620940288,"note":"Value kept but may cause issues"} 
[2026-11-05 08:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793848051000,"timestamp_ms":1793848051000,"timestamp_seconds":1793848051,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ad0538"} 
[2026-11-05 08: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-05 08:39: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-05 08: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":217,"data_length":795,"current_offset":136} 
[2026-11-05 08:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08: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-05 08: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-05 08:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":231318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":231318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":231318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:39:16] 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-05 08:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225097728001,"66":27865,"23":206,"85":15104,"24":31,"16":40173036732678144,"45":9020710078620940288},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-11-05 08:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225097728001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:39:16] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-11-05 08:39:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40173036732678144,"km_value":40173036732678.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020710078620940288,"description":"Unknown IO ID 45"} 
[2026-11-05 08:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225097728001,"power":27865,"unknown_23":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9020710078620940288}} 
[2026-11-05 08:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":231318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:39:16] local.INFO: GPS data processed {"connection_id":231318,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:39:16] local.INFO: Acknowledgment sent {"connection_id":231318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:39:20] local.INFO: TCP Data received {"connection_id":230007,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:39:20] local.INFO: Processing buffer {"connection_id":230007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:39:20] local.INFO: IMEI packet received {"connection_id":230007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 08:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":230007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:39:21] local.INFO: TCP Data received {"connection_id":229504,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ae5cf8012d0dbb400705d1980017005f2b..."} 
[2026-11-05 08:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ae5cf8012d0dbb400705d1980017005f2b..."} 
[2026-11-05 08:39:21] local.INFO: Processing buffer {"connection_id":229504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ae5cf8012d0dbb400705d1980017005f2b..."} 
[2026-11-05 08:39:21] local.INFO: Packet analysis {"connection_id":229504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ae"} 
[2026-11-05 08:39:21] local.INFO: Extracted packet for processing {"connection_id":229504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ae"} 
[2026-11-05 08:39:21] local.INFO: GPS Element Parsed {"raw_longitude":755874624,"raw_latitude":117821848,"longitude_deg":75.5874624,"latitude_deg":11.7821848,"altitude":23,"angle":95,"satellites":43,"speed":40,"hex_longitude":"2d0dbb40","hex_latitude":"0705d198","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225122816001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39361073165369344,"note":"Value kept but may cause issues"} 
[2026-11-05 08:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":986429086044852224,"note":"Value kept but may cause issues"} 
[2026-11-05 08:39:21] 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-05 08:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793848139000,"timestamp_ms":1793848139000,"timestamp_seconds":1793848139,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ae5cf8"} 
[2026-11-05 08: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-05 08:39: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-05 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-05 08:39: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-05 08: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-05 08: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-05 08:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229504,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229504,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225122816001,"66":14439,"167":206,"94":11008,"24":40,"16":39361073165369344,"45":986429086044852224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-11-05 08:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225122816001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:39:21] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-11-05 08:39:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39361073165369344,"km_value":39361073165369.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":986429086044852224,"description":"Unknown IO ID 45"} 
[2026-11-05 08:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225122816001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":40,"odometer":null,"unknown_45":986429086044852224}} 
[2026-11-05 08:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":229504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61979,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:39:22] local.INFO: GPS data processed {"connection_id":229504,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:39:22] local.INFO: Acknowledgment sent {"connection_id":229504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:39:47] local.INFO: TCP Data received {"connection_id":231319,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231319,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:39:47] local.INFO: Processing buffer {"connection_id":231319,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:39:47] local.INFO: IMEI packet received {"connection_id":231319,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":231319,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:39:47] local.INFO: TCP Data received {"connection_id":231318,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ad3418012d7d338005d1b1e0000c00b02e..."} 
[2026-11-05 08:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ad3418012d7d338005d1b1e0000c00b02e..."} 
[2026-11-05 08:39:47] local.INFO: Processing buffer {"connection_id":231318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ad3418012d7d338005d1b1e0000c00b02e..."} 
[2026-11-05 08:39:47] local.INFO: Packet analysis {"connection_id":231318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ad"} 
[2026-11-05 08:39:47] local.INFO: Extracted packet for processing {"connection_id":231318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ad"} 
[2026-11-05 08:39:47] local.INFO: GPS Element Parsed {"raw_longitude":763179904,"raw_latitude":97628640,"longitude_deg":76.3179904,"latitude_deg":9.762864,"altitude":12,"angle":176,"satellites":46,"speed":35,"hex_longitude":"2d7d3380","hex_latitude":"05d1b1e0","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225101056001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40173504884113408,"note":"Value kept but may cause issues"} 
[2026-11-05 08:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021061922339401728,"note":"Value kept but may cause issues"} 
[2026-11-05 08:39:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 08:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793848063000,"timestamp_ms":1793848063000,"timestamp_seconds":1793848063,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ad3418"} 
[2026-11-05 08: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-05 08:39: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-05 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 08:39: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-05 08: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-05 08: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-05 08:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":231318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":231318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":231318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:39:47] 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-05 08:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225101056001,"66":27800,"24":35,"85":15104,"16":40173504884113408,"45":9021061922339401728},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-11-05 08:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225101056001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:39:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40173504884113408,"km_value":40173504884113.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021061922339401728,"description":"Unknown IO ID 45"} 
[2026-11-05 08:39:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459225101056001,"power":27800,"ignition":35,"unknown_85":15104,"odometer":null,"unknown_45":9021061922339401728}} 
[2026-11-05 08:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":231318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:39:47] local.INFO: GPS data processed {"connection_id":231318,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:39:47] local.INFO: Acknowledgment sent {"connection_id":231318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:39:49] local.INFO: TCP Data received {"connection_id":231319,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231319,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:39:49] local.INFO: Processing buffer {"connection_id":231319,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:39:49] local.INFO: IMEI packet received {"connection_id":231319,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":231319,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:39:52] local.INFO: TCP Data received {"connection_id":231319,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231319,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:39:52] local.INFO: Processing buffer {"connection_id":231319,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:39:52] local.INFO: IMEI packet received {"connection_id":231319,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":231319,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:39:52] local.INFO: TCP Data received {"connection_id":231319,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ae8408012d0de0c00705ccd0001600602b..."} 
[2026-11-05 08:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ae8408012d0de0c00705ccd0001600602b..."} 
[2026-11-05 08:39:52] local.INFO: Processing buffer {"connection_id":231319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ae8408012d0de0c00705ccd0001600602b..."} 
[2026-11-05 08:39:52] local.INFO: Packet analysis {"connection_id":231319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ae"} 
[2026-11-05 08:39:52] local.INFO: Extracted packet for processing {"connection_id":231319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ae"} 
[2026-11-05 08:39:52] local.INFO: GPS Element Parsed {"raw_longitude":755884224,"raw_latitude":117820624,"longitude_deg":75.5884224,"latitude_deg":11.7820624,"altitude":22,"angle":96,"satellites":43,"speed":38,"hex_longitude":"2d0de0c0","hex_latitude":"0705ccd0","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225123584001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39361532726870016,"note":"Value kept but may cause issues"} 
[2026-11-05 08:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":989454942044526592,"note":"Value kept but may cause issues"} 
[2026-11-05 08:39:52] 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-05 08:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793848149000,"timestamp_ms":1793848149000,"timestamp_seconds":1793848149,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ae8408"} 
[2026-11-05 08: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-05 08:39: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-05 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-05 08:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08: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-05 08: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-05 08:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":231319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":231319,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":231319,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225123584001,"66":14548,"167":206,"94":11008,"24":38,"16":39361532726870016,"45":989454942044526592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-11-05 08:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225123584001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:39:52] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-11-05 08:39:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39361532726870016,"km_value":39361532726870.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":989454942044526592,"description":"Unknown IO ID 45"} 
[2026-11-05 08:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225123584001,"power":14548,"unknown_167":206,"unknown_94":11008,"ignition":38,"odometer":null,"unknown_45":989454942044526592}} 
[2026-11-05 08:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":231319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61981,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:39:53] local.INFO: GPS data processed {"connection_id":231319,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:39:53] local.INFO: Acknowledgment sent {"connection_id":231319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:40:09] local.INFO: TCP Data received {"connection_id":233237,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:40:09] local.INFO: Processing buffer {"connection_id":233237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:40:09] local.INFO: IMEI packet received {"connection_id":233237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":233237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:40:10] local.INFO: TCP Data received {"connection_id":233237,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:40:10] local.INFO: Processing buffer {"connection_id":233237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:40:10] local.INFO: IMEI packet received {"connection_id":233237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":233237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:40:11] local.INFO: TCP Data received {"connection_id":233237,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ae9790012d7d4ac005d03f40000a00ae33..."} 
[2026-11-05 08:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ae9790012d7d4ac005d03f40000a00ae33..."} 
[2026-11-05 08:40:11] local.INFO: Processing buffer {"connection_id":233237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ae9790012d7d4ac005d03f40000a00ae33..."} 
[2026-11-05 08:40:11] local.INFO: Packet analysis {"connection_id":233237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ae"} 
[2026-11-05 08:40:11] local.INFO: Extracted packet for processing {"connection_id":233237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ae"} 
[2026-11-05 08:40:11] local.INFO: GPS Element Parsed {"raw_longitude":763185856,"raw_latitude":97533760,"longitude_deg":76.3185856,"latitude_deg":9.753376,"altitude":10,"angle":174,"satellites":51,"speed":49,"hex_longitude":"2d7d4ac0","hex_latitude":"05d03f40","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225125376001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40178121973956608,"note":"Value kept but may cause issues"} 
[2026-11-05 08:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027184003058446336,"note":"Value kept but may cause issues"} 
[2026-11-05 08:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793848154000,"timestamp_ms":1793848154000,"timestamp_seconds":1793848154,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ae9790"} 
[2026-11-05 08: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-05 08:40: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-05 08: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-05 08:40: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-05 08: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-05 08: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-05 08:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:40:11] 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-05 08:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225125376001,"66":27908,"198":206,"85":15104,"24":49,"16":40178121973956608,"45":9027184003058446336},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-11-05 08:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225125376001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:40:11] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-11-05 08:40:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40178121973956608,"km_value":40178121973956.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027184003058446336,"description":"Unknown IO ID 45"} 
[2026-11-05 08:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225125376001,"power":27908,"unknown_198":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9027184003058446336}} 
[2026-11-05 08:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":233237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:40:11] local.INFO: GPS data processed {"connection_id":233237,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:40:11] local.INFO: Acknowledgment sent {"connection_id":233237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:40:11] local.INFO: TCP Data received {"connection_id":233237,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9aeb2e8012d7d4d8005d01b68000a00b032..."} 
[2026-11-05 08:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9aeb2e8012d7d4d8005d01b68000a00b032..."} 
[2026-11-05 08:40:11] local.INFO: Processing buffer {"connection_id":233237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9aeb2e8012d7d4d8005d01b68000a00b032..."} 
[2026-11-05 08:40:11] local.INFO: Packet analysis {"connection_id":233237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ae"} 
[2026-11-05 08:40:11] local.INFO: Extracted packet for processing {"connection_id":233237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ae"} 
[2026-11-05 08:40:11] local.INFO: GPS Element Parsed {"raw_longitude":763186560,"raw_latitude":97524584,"longitude_deg":76.318656,"latitude_deg":9.7524584,"altitude":10,"angle":176,"satellites":50,"speed":54,"hex_longitude":"2d7d4d80","hex_latitude":"05d01b68","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225127424001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40178568650555392,"note":"Value kept but may cause issues"} 
[2026-11-05 08:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028239534218756096,"note":"Value kept but may cause issues"} 
[2026-11-05 08:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793848161000,"timestamp_ms":1793848161000,"timestamp_seconds":1793848161,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9aeb2e8"} 
[2026-11-05 08: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-05 08:40: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-05 08: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 08:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08: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-05 08: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-05 08:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:40:11] 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-05 08:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225127424001,"66":27539,"198":206,"85":15104,"24":54,"16":40178568650555392,"45":9028239534218756096},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-11-05 08:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225127424001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:40:11] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-11-05 08:40:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40178568650555392,"km_value":40178568650555.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028239534218756096,"description":"Unknown IO ID 45"} 
[2026-11-05 08:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225127424001,"power":27539,"unknown_198":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":9028239534218756096}} 
[2026-11-05 08:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":233237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:40:11] local.INFO: GPS data processed {"connection_id":233237,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:40:11] local.INFO: Acknowledgment sent {"connection_id":233237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:40:23] local.INFO: TCP Data received {"connection_id":231319,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9af85d8012d0e67000705ed58001a01612b..."} 
[2026-11-05 08:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9af85d8012d0e67000705ed58001a01612b..."} 
[2026-11-05 08:40:23] local.INFO: Processing buffer {"connection_id":231319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9af85d8012d0e67000705ed58001a01612b..."} 
[2026-11-05 08:40:23] local.INFO: Packet analysis {"connection_id":231319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9af"} 
[2026-11-05 08:40:23] local.INFO: Extracted packet for processing {"connection_id":231319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9af"} 
[2026-11-05 08:40:23] local.INFO: GPS Element Parsed {"raw_longitude":755918592,"raw_latitude":117828952,"longitude_deg":75.5918592,"latitude_deg":11.7828952,"altitude":26,"angle":353,"satellites":43,"speed":22,"hex_longitude":"2d0e6700","hex_latitude":"0705ed58","is_valid_coordinates":true} 
[2026-11-05 08:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225142528001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39363461167185920,"note":"Value kept but may cause issues"} 
[2026-11-05 08:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1037798269296130048,"note":"Value kept but may cause issues"} 
[2026-11-05 08:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793848215000,"timestamp_ms":1793848215000,"timestamp_seconds":1793848215,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9af85d8"} 
[2026-11-05 08:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:40: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-05 08:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-05 08:40:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:40:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":231319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":231319,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":231319,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225142528001,"66":14439,"165":206,"94":11008,"24":22,"16":39363461167185920,"45":1037798269296130048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 08:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225142528001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:40:23] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 08:40:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39363461167185920,"km_value":39363461167185.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1037798269296130048,"description":"Unknown IO ID 45"} 
[2026-11-05 08:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225142528001,"power":14439,"unknown_165":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":1037798269296130048}} 
[2026-11-05 08:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":231319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61984,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:40:24] local.INFO: GPS data processed {"connection_id":231319,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:40:24] local.INFO: Acknowledgment sent {"connection_id":231319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:40:42] local.INFO: TCP Data received {"connection_id":233237,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9aece40012d7d4f4005cff3f8000a00b332..."} 
[2026-11-05 08:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9aece40012d7d4f4005cff3f8000a00b332..."} 
[2026-11-05 08:40:42] local.INFO: Processing buffer {"connection_id":233237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9aece40012d7d4f4005cff3f8000a00b332..."} 
[2026-11-05 08:40:42] local.INFO: Packet analysis {"connection_id":233237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ae"} 
[2026-11-05 08:40:42] local.INFO: Extracted packet for processing {"connection_id":233237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ae"} 
[2026-11-05 08:40:42] local.INFO: GPS Element Parsed {"raw_longitude":763187008,"raw_latitude":97514488,"longitude_deg":76.3187008,"latitude_deg":9.7514488,"altitude":10,"angle":179,"satellites":50,"speed":59,"hex_longitude":"2d7d4f40","hex_latitude":"05cff3f8","is_valid_coordinates":true} 
[2026-11-05 08:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225129216001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40179058276827136,"note":"Value kept but may cause issues"} 
[2026-11-05 08:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029013590402361344,"note":"Value kept but may cause issues"} 
[2026-11-05 08:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793848168000,"timestamp_ms":1793848168000,"timestamp_seconds":1793848168,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9aece40"} 
[2026-11-05 08:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:40: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-05 08:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-05 08:40:42] 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-05 08:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:40:42] 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-05 08:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225129216001,"66":27908,"198":206,"85":15104,"24":59,"16":40179058276827136,"45":9029013590402361344},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-11-05 08:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225129216001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:40:42] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-11-05 08:40:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40179058276827136,"km_value":40179058276827.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029013590402361344,"description":"Unknown IO ID 45"} 
[2026-11-05 08:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225129216001,"power":27908,"unknown_198":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9029013590402361344}} 
[2026-11-05 08:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":233237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:40:42] local.INFO: GPS data processed {"connection_id":233237,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:40:42] local.INFO: Acknowledgment sent {"connection_id":233237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:40:47] local.INFO: TCP Data received {"connection_id":230008,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230008,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:40:47] local.INFO: Processing buffer {"connection_id":230008,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:40:47] local.INFO: IMEI packet received {"connection_id":230008,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":230008,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:40:48] local.INFO: TCP Data received {"connection_id":230008,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230008,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:40:48] local.INFO: Processing buffer {"connection_id":230008,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:40:48] local.INFO: IMEI packet received {"connection_id":230008,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":230008,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:40:49] local.INFO: TCP Data received {"connection_id":230008,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230008,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:40:49] local.INFO: Processing buffer {"connection_id":230008,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:40:49] local.INFO: IMEI packet received {"connection_id":230008,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":230008,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:40:54] local.INFO: TCP Data received {"connection_id":230008,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230008,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:40:54] local.INFO: Processing buffer {"connection_id":230008,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:40:54] local.INFO: IMEI packet received {"connection_id":230008,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":230008,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:40:55] local.INFO: TCP Data received {"connection_id":230008,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9af8da8012d0e66000705f180001b01562b..."} 
[2026-11-05 08:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9af8da8012d0e66000705f180001b01562b..."} 
[2026-11-05 08:40:55] local.INFO: Processing buffer {"connection_id":230008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9af8da8012d0e66000705f180001b01562b..."} 
[2026-11-05 08:40:55] local.INFO: Packet analysis {"connection_id":230008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9af"} 
[2026-11-05 08:40:55] local.INFO: Extracted packet for processing {"connection_id":230008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9af"} 
[2026-11-05 08:40:55] local.INFO: GPS Element Parsed {"raw_longitude":755918336,"raw_latitude":117830016,"longitude_deg":75.5918336,"latitude_deg":11.7830016,"altitude":27,"angle":342,"satellites":43,"speed":22,"hex_longitude":"2d0e6600","hex_latitude":"0705f180","is_valid_coordinates":true} 
[2026-11-05 08:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225143040001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39363517001760768,"note":"Value kept but may cause issues"} 
[2026-11-05 08:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1037798269296400384,"note":"Value kept but may cause issues"} 
[2026-11-05 08:40:55] 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-05 08:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793848217000,"timestamp_ms":1793848217000,"timestamp_seconds":1793848217,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9af8da8"} 
[2026-11-05 08:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:40: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-05 08:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-05 08:40: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-05 08:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230008,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230008,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225143040001,"66":14396,"165":206,"94":11008,"24":22,"16":39363517001760768,"45":1037798269296400384},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 08:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225143040001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:40:55] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 08:40:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39363517001760768,"km_value":39363517001760.766,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1037798269296400384,"description":"Unknown IO ID 45"} 
[2026-11-05 08:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225143040001,"power":14396,"unknown_165":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":1037798269296400384}} 
[2026-11-05 08:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":230008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61986,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:40:55] local.INFO: GPS data processed {"connection_id":230008,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:40:55] local.INFO: Acknowledgment sent {"connection_id":230008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:41:03] local.INFO: TCP Data received {"connection_id":229505,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:41:03] local.INFO: Processing buffer {"connection_id":229505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:41:03] local.INFO: IMEI packet received {"connection_id":229505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":229505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:41:04] local.INFO: TCP Data received {"connection_id":229505,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:41:04] local.INFO: Processing buffer {"connection_id":229505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:41:04] local.INFO: IMEI packet received {"connection_id":229505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":229505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:41:09] local.INFO: TCP Data received {"connection_id":229505,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:41:09] local.INFO: Processing buffer {"connection_id":229505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:41:09] local.INFO: IMEI packet received {"connection_id":229505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":229505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:41:10] local.INFO: TCP Data received {"connection_id":229505,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9aee5b0012d7d4f4005cfd088000b00b333..."} 
[2026-11-05 08:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9aee5b0012d7d4f4005cfd088000b00b333..."} 
[2026-11-05 08:41:10] local.INFO: Processing buffer {"connection_id":229505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9aee5b0012d7d4f4005cfd088000b00b333..."} 
[2026-11-05 08:41:10] local.INFO: Packet analysis {"connection_id":229505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ae"} 
[2026-11-05 08:41:10] local.INFO: Extracted packet for processing {"connection_id":229505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ae"} 
[2026-11-05 08:41:10] local.INFO: GPS Element Parsed {"raw_longitude":763187008,"raw_latitude":97505416,"longitude_deg":76.3187008,"latitude_deg":9.7505416,"altitude":11,"angle":179,"satellites":51,"speed":59,"hex_longitude":"2d7d4f40","hex_latitude":"05cfd088","is_valid_coordinates":true} 
[2026-11-05 08:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225131008001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40179496363491328,"note":"Value kept but may cause issues"} 
[2026-11-05 08:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029506171609020416,"note":"Value kept but may cause issues"} 
[2026-11-05 08:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793848174000,"timestamp_ms":1793848174000,"timestamp_seconds":1793848174,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9aee5b0"} 
[2026-11-05 08:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:41: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-05 08:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 08:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:41:10] 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-05 08:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225131008001,"66":27865,"198":206,"85":15104,"24":59,"16":40179496363491328,"45":9029506171609020416},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-11-05 08:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225131008001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:41:10] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-11-05 08:41:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40179496363491328,"km_value":40179496363491.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029506171609020416,"description":"Unknown IO ID 45"} 
[2026-11-05 08:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225131008001,"power":27865,"unknown_198":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9029506171609020416}} 
[2026-11-05 08:41:10] 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":61987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:41:10] local.INFO: GPS data processed {"connection_id":229505,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:41:10] local.INFO: Acknowledgment sent {"connection_id":229505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:41:26] local.INFO: TCP Data received {"connection_id":230008,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b058c8012d0e658007063b78002501292a..."} 
[2026-11-05 08:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b058c8012d0e658007063b78002501292a..."} 
[2026-11-05 08:41:26] local.INFO: Processing buffer {"connection_id":230008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b058c8012d0e658007063b78002501292a..."} 
[2026-11-05 08:41:26] local.INFO: Packet analysis {"connection_id":230008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b0"} 
[2026-11-05 08:41:26] local.INFO: Extracted packet for processing {"connection_id":230008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b0"} 
[2026-11-05 08:41:26] local.INFO: GPS Element Parsed {"raw_longitude":755918208,"raw_latitude":117848952,"longitude_deg":75.5918208,"latitude_deg":11.7848952,"altitude":37,"angle":297,"satellites":42,"speed":13,"hex_longitude":"2d0e6580","hex_latitude":"07063b78","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225156608001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39364577858682880,"note":"Value kept but may cause issues"} 
[2026-11-05 08:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1037587163068936192,"note":"Value kept but may cause issues"} 
[2026-11-05 08:41: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-05 08:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793848269000,"timestamp_ms":1793848269000,"timestamp_seconds":1793848269,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b058c8"} 
[2026-11-05 08: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-05 08:41: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-05 08: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-11-05 08:41:26] 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-05 08: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-05 08: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-05 08:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230008,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230008,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225156608001,"66":14309,"165":206,"94":11008,"24":13,"16":39364577858682880,"45":1037587163068936192},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 08:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225156608001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:41:26] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 08:41:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39364577858682880,"km_value":39364577858682.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1037587163068936192,"description":"Unknown IO ID 45"} 
[2026-11-05 08:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225156608001,"power":14309,"unknown_165":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":1037587163068936192}} 
[2026-11-05 08:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":230008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61988,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:41:26] local.INFO: GPS data processed {"connection_id":230008,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:41:26] local.INFO: Acknowledgment sent {"connection_id":230008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:41:41] local.INFO: TCP Data received {"connection_id":229505,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9aff720012d7d490005ce43c0000b00b933..."} 
[2026-11-05 08:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9aff720012d7d490005ce43c0000b00b933..."} 
[2026-11-05 08:41:41] local.INFO: Processing buffer {"connection_id":229505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9aff720012d7d490005ce43c0000b00b933..."} 
[2026-11-05 08:41:41] local.INFO: Packet analysis {"connection_id":229505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9af"} 
[2026-11-05 08:41:41] local.INFO: Extracted packet for processing {"connection_id":229505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9af"} 
[2026-11-05 08:41:41] local.INFO: GPS Element Parsed {"raw_longitude":763185408,"raw_latitude":97403840,"longitude_deg":76.3185408,"latitude_deg":9.740384,"altitude":11,"angle":185,"satellites":51,"speed":58,"hex_longitude":"2d7d4900","hex_latitude":"05ce43c0","is_valid_coordinates":true} 
[2026-11-05 08:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225148928001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40184426985947136,"note":"Value kept but may cause issues"} 
[2026-11-05 08:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028591377908701184,"note":"Value kept but may cause issues"} 
[2026-11-05 08:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793848244000,"timestamp_ms":1793848244000,"timestamp_seconds":1793848244,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9aff720"} 
[2026-11-05 08:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:41: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-05 08:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-05 08:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:41:41] 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-05 08:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225148928001,"66":27908,"235":206,"85":15104,"24":58,"16":40184426985947136,"45":9028591377908701184},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-11-05 08:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225148928001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:41:41] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-05 08:41:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40184426985947136,"km_value":40184426985947.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028591377908701184,"description":"Unknown IO ID 45"} 
[2026-11-05 08:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225148928001,"power":27908,"unknown_235":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":9028591377908701184}} 
[2026-11-05 08:41:41] 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":61989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:41:41] local.INFO: GPS data processed {"connection_id":229505,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:41:41] local.INFO: Acknowledgment sent {"connection_id":229505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:41:49] local.INFO: TCP Data received {"connection_id":229506,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229506,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:41:49] local.INFO: Processing buffer {"connection_id":229506,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:41:49] local.INFO: IMEI packet received {"connection_id":229506,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":229506,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:41:51] local.INFO: TCP Data received {"connection_id":229506,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229506,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:41:51] local.INFO: Processing buffer {"connection_id":229506,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:41:51] local.INFO: IMEI packet received {"connection_id":229506,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":229506,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:41:54] local.INFO: TCP Data received {"connection_id":229506,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229506,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:41:54] local.INFO: Processing buffer {"connection_id":229506,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:41:54] local.INFO: IMEI packet received {"connection_id":229506,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":229506,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:41:55] local.INFO: TCP Data received {"connection_id":229506,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b06480012d0e600007063d400026011d2b..."} 
[2026-11-05 08:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b06480012d0e600007063d400026011d2b..."} 
[2026-11-05 08:41:55] local.INFO: Processing buffer {"connection_id":229506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b06480012d0e600007063d400026011d2b..."} 
[2026-11-05 08:41:55] local.INFO: Packet analysis {"connection_id":229506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b0"} 
[2026-11-05 08:41:55] local.INFO: Extracted packet for processing {"connection_id":229506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b0"} 
[2026-11-05 08:41:55] local.INFO: GPS Element Parsed {"raw_longitude":755916800,"raw_latitude":117849408,"longitude_deg":75.59168,"latitude_deg":11.7849408,"altitude":38,"angle":285,"satellites":43,"speed":22,"hex_longitude":"2d0e6000","hex_latitude":"07063d40","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225156864001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39364646578159616,"note":"Value kept but may cause issues"} 
[2026-11-05 08:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1037376056836454400,"note":"Value kept but may cause issues"} 
[2026-11-05 08:41:55] 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-05 08:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793848272000,"timestamp_ms":1793848272000,"timestamp_seconds":1793848272,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b06480"} 
[2026-11-05 08: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-05 08:41:55] 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-05 08: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 08:41:55] 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-05 08: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-05 08: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-05 08:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229506,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229506,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225156864001,"66":14494,"165":206,"94":11008,"24":22,"16":39364646578159616,"45":1037376056836454400},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 08:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225156864001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:41:55] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 08:41:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 08:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39364646578159616,"km_value":39364646578159.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1037376056836454400,"description":"Unknown IO ID 45"} 
[2026-11-05 08:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225156864001,"power":14494,"unknown_165":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":1037376056836454400}} 
[2026-11-05 08:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":229506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61990,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:41:55] local.INFO: GPS data processed {"connection_id":229506,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:41:55] local.INFO: Acknowledgment sent {"connection_id":229506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:42:04] local.INFO: TCP Data received {"connection_id":229507,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:42:04] local.INFO: Processing buffer {"connection_id":229507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:42:04] local.INFO: IMEI packet received {"connection_id":229507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":229507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:42:07] local.INFO: TCP Data received {"connection_id":229507,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:42:07] local.INFO: Processing buffer {"connection_id":229507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:42:07] local.INFO: IMEI packet received {"connection_id":229507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":229507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:42:08] local.INFO: TCP Data received {"connection_id":229507,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b01278012d7d460005ce1e60000d00b832..."} 
[2026-11-05 08:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b01278012d7d460005ce1e60000d00b832..."} 
[2026-11-05 08:42:08] local.INFO: Processing buffer {"connection_id":229507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b01278012d7d460005ce1e60000d00b832..."} 
[2026-11-05 08:42:08] local.INFO: Packet analysis {"connection_id":229507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b0"} 
[2026-11-05 08:42:08] local.INFO: Extracted packet for processing {"connection_id":229507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b0"} 
[2026-11-05 08:42:08] local.INFO: GPS Element Parsed {"raw_longitude":763184640,"raw_latitude":97394272,"longitude_deg":76.318464,"latitude_deg":9.7394272,"altitude":13,"angle":184,"satellites":50,"speed":44,"hex_longitude":"2d7d4600","hex_latitude":"05ce1e60","is_valid_coordinates":true} 
[2026-11-05 08:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225150464001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40184890842415104,"note":"Value kept but may cause issues"} 
[2026-11-05 08:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027746952976252928,"note":"Value kept but may cause issues"} 
[2026-11-05 08:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793848251000,"timestamp_ms":1793848251000,"timestamp_seconds":1793848251,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b01278"} 
[2026-11-05 08:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 08:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":229507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":229507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":229507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:42:08] 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-05 08:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225150464001,"66":27821,"235":206,"85":15104,"24":44,"16":40184890842415104,"45":9027746952976252928},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-11-05 08:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225150464001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:42:08] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-05 08:42:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40184890842415104,"km_value":40184890842415.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027746952976252928,"description":"Unknown IO ID 45"} 
[2026-11-05 08:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225150464001,"power":27821,"unknown_235":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9027746952976252928}} 
[2026-11-05 08:42:08] 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":61991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:42:08] local.INFO: GPS data processed {"connection_id":229507,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:42:08] local.INFO: Acknowledgment sent {"connection_id":229507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:42:26] local.INFO: TCP Data received {"connection_id":229506,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b16e20012d0e2c0007066b900027014a29..."} 
[2026-11-05 08:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b16e20012d0e2c0007066b900027014a29..."} 
[2026-11-05 08:42:26] local.INFO: Processing buffer {"connection_id":229506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b16e20012d0e2c0007066b900027014a29..."} 
[2026-11-05 08:42:26] local.INFO: Packet analysis {"connection_id":229506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b1"} 
[2026-11-05 08:42:26] local.INFO: Extracted packet for processing {"connection_id":229506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b1"} 
[2026-11-05 08:42:26] local.INFO: GPS Element Parsed {"raw_longitude":755903488,"raw_latitude":117861264,"longitude_deg":75.5903488,"latitude_deg":11.7861264,"altitude":39,"angle":330,"satellites":41,"speed":13,"hex_longitude":"2d0e2c00","hex_latitude":"07066b90","is_valid_coordinates":true} 
[2026-11-05 08:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225174784001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39365741794820096,"note":"Value kept but may cause issues"} 
[2026-11-05 08:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1021402351911206912,"note":"Value kept but may cause issues"} 
[2026-11-05 08:42:26] 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-05 08:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793848340000,"timestamp_ms":1793848340000,"timestamp_seconds":1793848340,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b16e20"} 
[2026-11-05 08:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:42: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-05 08:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 08:42:26] 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-05 08:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229506,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229506,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225174784001,"66":14678,"219":206,"94":10240,"24":13,"16":39365741794820096,"45":1021402351911206912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 08:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225174784001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:42:26] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 08:42:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39365741794820096,"km_value":39365741794820.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1021402351911206912,"description":"Unknown IO ID 45"} 
[2026-11-05 08:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225174784001,"power":14678,"unknown_219":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":1021402351911206912}} 
[2026-11-05 08:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":229506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61992,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:42:26] local.INFO: GPS data processed {"connection_id":229506,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:42:26] local.INFO: Acknowledgment sent {"connection_id":229506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:42:39] local.INFO: TCP Data received {"connection_id":229507,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b03988012d7d440005cdf9a8000f00b333..."} 
[2026-11-05 08:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b03988012d7d440005cdf9a8000f00b333..."} 
[2026-11-05 08:42:39] local.INFO: Processing buffer {"connection_id":229507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b03988012d7d440005cdf9a8000f00b333..."} 
[2026-11-05 08:42:39] local.INFO: Packet analysis {"connection_id":229507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b0"} 
[2026-11-05 08:42:39] local.INFO: Extracted packet for processing {"connection_id":229507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b0"} 
[2026-11-05 08:42:39] local.INFO: GPS Element Parsed {"raw_longitude":763184128,"raw_latitude":97384872,"longitude_deg":76.3184128,"latitude_deg":9.7384872,"altitude":15,"angle":179,"satellites":51,"speed":40,"hex_longitude":"2d7d4400","hex_latitude":"05cdf9a8","is_valid_coordinates":true} 
[2026-11-05 08:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225152256001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40185346108948480,"note":"Value kept but may cause issues"} 
[2026-11-05 08:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026902528043671552,"note":"Value kept but may cause issues"} 
[2026-11-05 08:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793848261000,"timestamp_ms":1793848261000,"timestamp_seconds":1793848261,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b03988"} 
[2026-11-05 08:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-05 08:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":229507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":229507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":229507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:42:39] 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-05 08:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225152256001,"66":27484,"235":206,"85":15104,"24":40,"16":40185346108948480,"45":9026902528043671552},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-11-05 08:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225152256001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:42:39] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-05 08:42:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40185346108948480,"km_value":40185346108948.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026902528043671552,"description":"Unknown IO ID 45"} 
[2026-11-05 08:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225152256001,"power":27484,"unknown_235":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9026902528043671552}} 
[2026-11-05 08:42:39] 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":61993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:42:39] local.INFO: GPS data processed {"connection_id":229507,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:42:39] local.INFO: Acknowledgment sent {"connection_id":229507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:42:49] local.INFO: TCP Data received {"connection_id":230010,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230010,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:42:49] local.INFO: Processing buffer {"connection_id":230010,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:42:49] local.INFO: IMEI packet received {"connection_id":230010,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":230010,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:42:49] local.INFO: TCP Data received {"connection_id":230010,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230010,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:42:49] local.INFO: Processing buffer {"connection_id":230010,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:42:49] local.INFO: IMEI packet received {"connection_id":230010,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":230010,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:42:54] local.INFO: TCP Data received {"connection_id":230010,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230010,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:42:54] local.INFO: Processing buffer {"connection_id":230010,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:42:54] local.INFO: IMEI packet received {"connection_id":230010,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":230010,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:42:55] local.INFO: TCP Data received {"connection_id":230010,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b17208012d0e2b4007066cd00027015a29..."} 
[2026-11-05 08:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b17208012d0e2b4007066cd00027015a29..."} 
[2026-11-05 08:42:55] local.INFO: Processing buffer {"connection_id":230010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b17208012d0e2b4007066cd00027015a29..."} 
[2026-11-05 08:42:55] local.INFO: Packet analysis {"connection_id":230010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b1"} 
[2026-11-05 08:42:55] local.INFO: Extracted packet for processing {"connection_id":230010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b1"} 
[2026-11-05 08:42:55] local.INFO: GPS Element Parsed {"raw_longitude":755903296,"raw_latitude":117861584,"longitude_deg":75.5903296,"latitude_deg":11.7861584,"altitude":39,"angle":346,"satellites":41,"speed":13,"hex_longitude":"2d0e2b40","hex_latitude":"07066cd0","is_valid_coordinates":true} 
[2026-11-05 08:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225175040001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39365758974689280,"note":"Value kept but may cause issues"} 
[2026-11-05 08:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1021191245678743552,"note":"Value kept but may cause issues"} 
[2026-11-05 08:42:55] 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-05 08:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793848341000,"timestamp_ms":1793848341000,"timestamp_seconds":1793848341,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b17208"} 
[2026-11-05 08:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:42:55] 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-05 08:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 08:42:55] 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-05 08:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230010,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230010,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225175040001,"66":14428,"219":206,"94":10240,"24":13,"16":39365758974689280,"45":1021191245678743552},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 08:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225175040001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:42:55] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 08:42:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39365758974689280,"km_value":39365758974689.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1021191245678743552,"description":"Unknown IO ID 45"} 
[2026-11-05 08:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225175040001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":1021191245678743552}} 
[2026-11-05 08:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":230010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61994,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:42:55] local.INFO: GPS data processed {"connection_id":230010,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:42:55] local.INFO: Acknowledgment sent {"connection_id":230010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:43:03] local.INFO: TCP Data received {"connection_id":233240,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:43:03] local.INFO: Processing buffer {"connection_id":233240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:43:03] local.INFO: IMEI packet received {"connection_id":233240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":233240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:43:04] local.INFO: TCP Data received {"connection_id":233240,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:43:04] local.INFO: Processing buffer {"connection_id":233240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:43:04] local.INFO: IMEI packet received {"connection_id":233240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":233240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:43:06] local.INFO: TCP Data received {"connection_id":233240,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:43:06] local.INFO: Processing buffer {"connection_id":233240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:43:06] local.INFO: IMEI packet received {"connection_id":233240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":233240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:43:09] local.INFO: TCP Data received {"connection_id":233240,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:43:09] local.INFO: Processing buffer {"connection_id":233240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:43:09] local.INFO: IMEI packet received {"connection_id":233240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":233240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:43:10] local.INFO: TCP Data received {"connection_id":233240,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b14af8012d7d58c005cc75c0000b00b733..."} 
[2026-11-05 08:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b14af8012d7d58c005cc75c0000b00b733..."} 
[2026-11-05 08:43:10] local.INFO: Processing buffer {"connection_id":233240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b14af8012d7d58c005cc75c0000b00b733..."} 
[2026-11-05 08:43:10] local.INFO: Packet analysis {"connection_id":233240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b1"} 
[2026-11-05 08:43:10] local.INFO: Extracted packet for processing {"connection_id":233240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b1"} 
[2026-11-05 08:43:10] local.INFO: GPS Element Parsed {"raw_longitude":763189440,"raw_latitude":97285568,"longitude_deg":76.318944,"latitude_deg":9.7285568,"altitude":11,"angle":183,"satellites":51,"speed":59,"hex_longitude":"2d7d58c0","hex_latitude":"05cc75c0","is_valid_coordinates":true} 
[2026-11-05 08:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225171200001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40190173652189184,"note":"Value kept but may cause issues"} 
[2026-11-05 08:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9032391290063978496,"note":"Value kept but may cause issues"} 
[2026-11-05 08:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793848331000,"timestamp_ms":1793848331000,"timestamp_seconds":1793848331,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b14af8"} 
[2026-11-05 08:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:43: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-05 08:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-05 08:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:43:10] 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-05 08:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225171200001,"66":27832,"129":206,"85":15104,"24":59,"16":40190173652189184,"45":9032391290063978496},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-11-05 08:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225171200001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:43:10] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-11-05 08:43:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40190173652189184,"km_value":40190173652189.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9032391290063978496,"description":"Unknown IO ID 45"} 
[2026-11-05 08:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225171200001,"power":27832,"unknown_129":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9032391290063978496}} 
[2026-11-05 08:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":233240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:43:10] local.INFO: GPS data processed {"connection_id":233240,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:43:10] local.INFO: Acknowledgment sent {"connection_id":233240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:43:26] local.INFO: TCP Data received {"connection_id":230010,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b25c68012d0e014007068ec0001f01612b..."} 
[2026-11-05 08:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b25c68012d0e014007068ec0001f01612b..."} 
[2026-11-05 08:43:26] local.INFO: Processing buffer {"connection_id":230010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b25c68012d0e014007068ec0001f01612b..."} 
[2026-11-05 08:43:26] local.INFO: Packet analysis {"connection_id":230010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b2"} 
[2026-11-05 08:43:26] local.INFO: Extracted packet for processing {"connection_id":230010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b2"} 
[2026-11-05 08:43:26] local.INFO: GPS Element Parsed {"raw_longitude":755892544,"raw_latitude":117870272,"longitude_deg":75.5892544,"latitude_deg":11.7870272,"altitude":31,"angle":353,"satellites":43,"speed":8,"hex_longitude":"2d0e0140","hex_latitude":"07068ec0","is_valid_coordinates":true} 
[2026-11-05 08:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225190400001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39366570723508224,"note":"Value kept but may cause issues"} 
[2026-11-05 08:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009228559170795520,"note":"Value kept but may cause issues"} 
[2026-11-05 08:43:26] 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-05 08:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793848401000,"timestamp_ms":1793848401000,"timestamp_seconds":1793848401,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b25c68"} 
[2026-11-05 08:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:43: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-05 08:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-11-05 08:43:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1948,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230010,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230010,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225190400001,"66":13733,"219":206,"94":10240,"24":8,"16":39366570723508224,"45":1009228559170795520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 08:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225190400001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:43:26] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 08:43:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39366570723508224,"km_value":39366570723508.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009228559170795520,"description":"Unknown IO ID 45"} 
[2026-11-05 08:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225190400001,"power":13733,"unknown_219":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":1009228559170795520}} 
[2026-11-05 08:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":230010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61996,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:43:26] local.INFO: GPS data processed {"connection_id":230010,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:43:26] local.INFO: Acknowledgment sent {"connection_id":230010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:43:41] local.INFO: TCP Data received {"connection_id":233240,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b16650012d7d550005cc4fe8000a00bc33..."} 
[2026-11-05 08:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b16650012d7d550005cc4fe8000a00bc33..."} 
[2026-11-05 08:43:41] local.INFO: Processing buffer {"connection_id":233240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b16650012d7d550005cc4fe8000a00bc33..."} 
[2026-11-05 08:43:41] local.INFO: Packet analysis {"connection_id":233240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b1"} 
[2026-11-05 08:43:41] local.INFO: Extracted packet for processing {"connection_id":233240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b1"} 
[2026-11-05 08:43:41] local.INFO: GPS Element Parsed {"raw_longitude":763188480,"raw_latitude":97275880,"longitude_deg":76.318848,"latitude_deg":9.727588,"altitude":10,"angle":188,"satellites":51,"speed":47,"hex_longitude":"2d7d5500","hex_latitude":"05cc4fe8","is_valid_coordinates":true} 
[2026-11-05 08:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225172736001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40190646098591744,"note":"Value kept but may cause issues"} 
[2026-11-05 08:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9032180183829168128,"note":"Value kept but may cause issues"} 
[2026-11-05 08:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793848338000,"timestamp_ms":1793848338000,"timestamp_seconds":1793848338,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b16650"} 
[2026-11-05 08:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:43: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-05 08:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-05 08:43:41] 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-05 08:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:43:41] 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-05 08:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225172736001,"66":27908,"129":206,"85":15104,"24":47,"16":40190646098591744,"45":9032180183829168128},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-11-05 08:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225172736001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:43:41] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-11-05 08:43:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40190646098591744,"km_value":40190646098591.74,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9032180183829168128,"description":"Unknown IO ID 45"} 
[2026-11-05 08:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225172736001,"power":27908,"unknown_129":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":9032180183829168128}} 
[2026-11-05 08:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":233240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:43:41] local.INFO: GPS data processed {"connection_id":233240,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:43:41] local.INFO: Acknowledgment sent {"connection_id":233240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:43:49] local.INFO: TCP Data received {"connection_id":231321,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231321,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:43:49] local.INFO: Processing buffer {"connection_id":231321,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:43:49] local.INFO: IMEI packet received {"connection_id":231321,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":231321,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:43:54] local.INFO: TCP Data received {"connection_id":231321,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231321,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:43:54] local.INFO: Processing buffer {"connection_id":231321,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:43:54] local.INFO: IMEI packet received {"connection_id":231321,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":231321,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:43:55] local.INFO: TCP Data received {"connection_id":231321,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b26050012d0e018007068fa0001f000a2b..."} 
[2026-11-05 08:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b26050012d0e018007068fa0001f000a2b..."} 
[2026-11-05 08:43:55] local.INFO: Processing buffer {"connection_id":231321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b26050012d0e018007068fa0001f000a2b..."} 
[2026-11-05 08:43:55] local.INFO: Packet analysis {"connection_id":231321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b2"} 
[2026-11-05 08:43:55] local.INFO: Extracted packet for processing {"connection_id":231321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b2"} 
[2026-11-05 08:43:55] local.INFO: GPS Element Parsed {"raw_longitude":755892608,"raw_latitude":117870496,"longitude_deg":75.5892608,"latitude_deg":11.7870496,"altitude":31,"angle":10,"satellites":43,"speed":10,"hex_longitude":"2d0e0180","hex_latitude":"07068fa0","is_valid_coordinates":true} 
[2026-11-05 08:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225190656001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39366579313442816,"note":"Value kept but may cause issues"} 
[2026-11-05 08:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009158190426669056,"note":"Value kept but may cause issues"} 
[2026-11-05 08:43:55] 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-05 08:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793848402000,"timestamp_ms":1793848402000,"timestamp_seconds":1793848402,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b26050"} 
[2026-11-05 08:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:43: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-05 08:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-11-05 08:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1948,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225190656001,"66":13733,"219":206,"94":10240,"24":10,"16":39366579313442816,"45":1009158190426669056},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 08:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225190656001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:43:55] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 08:43:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39366579313442816,"km_value":39366579313442.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009158190426669056,"description":"Unknown IO ID 45"} 
[2026-11-05 08:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225190656001,"power":13733,"unknown_219":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":1009158190426669056}} 
[2026-11-05 08:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":231321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61998,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:43:55] local.INFO: GPS data processed {"connection_id":231321,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:43:55] local.INFO: Acknowledgment sent {"connection_id":231321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:44:04] local.INFO: TCP Data received {"connection_id":231322,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:44:04] local.INFO: Processing buffer {"connection_id":231322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:44:04] local.INFO: IMEI packet received {"connection_id":231322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":231322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:44:09] local.INFO: TCP Data received {"connection_id":231322,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:44:09] local.INFO: Processing buffer {"connection_id":231322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:44:09] local.INFO: IMEI packet received {"connection_id":231322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":231322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:44:11] local.INFO: TCP Data received {"connection_id":231322,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b181a8012d7d4f4005cc3628000b00c834..."} 
[2026-11-05 08:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b181a8012d7d4f4005cc3628000b00c834..."} 
[2026-11-05 08:44:11] local.INFO: Processing buffer {"connection_id":231322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b181a8012d7d4f4005cc3628000b00c834..."} 
[2026-11-05 08:44:11] local.INFO: Packet analysis {"connection_id":231322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b1"} 
[2026-11-05 08:44:11] local.INFO: Extracted packet for processing {"connection_id":231322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b1"} 
[2026-11-05 08:44:11] local.INFO: GPS Element Parsed {"raw_longitude":763187008,"raw_latitude":97269288,"longitude_deg":76.3187008,"latitude_deg":9.7269288,"altitude":11,"angle":200,"satellites":52,"speed":28,"hex_longitude":"2d7d4f40","hex_latitude":"05cc3628","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225174528001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40190972516106240,"note":"Value kept but may cause issues"} 
[2026-11-05 08:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031124652664023040,"note":"Value kept but may cause issues"} 
[2026-11-05 08:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793848345000,"timestamp_ms":1793848345000,"timestamp_seconds":1793848345,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b181a8"} 
[2026-11-05 08: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-05 08:44: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-05 08: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 08:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08: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-05 08: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-05 08:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:44:11] 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-05 08:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225174528001,"66":27843,"129":206,"85":15104,"24":28,"16":40190972516106240,"45":9031124652664023040},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-11-05 08:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225174528001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:44:11] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-11-05 08:44:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40190972516106240,"km_value":40190972516106.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031124652664023040,"description":"Unknown IO ID 45"} 
[2026-11-05 08:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225174528001,"power":27843,"unknown_129":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9031124652664023040}} 
[2026-11-05 08:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":231322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:44:11] local.INFO: GPS data processed {"connection_id":231322,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:44:11] local.INFO: Acknowledgment sent {"connection_id":231322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:44:26] local.INFO: TCP Data received {"connection_id":231321,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b26438012d0e020007069068001e001f2c..."} 
[2026-11-05 08:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b26438012d0e020007069068001e001f2c..."} 
[2026-11-05 08:44:26] local.INFO: Processing buffer {"connection_id":231321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b26438012d0e020007069068001e001f2c..."} 
[2026-11-05 08:44:26] local.INFO: Packet analysis {"connection_id":231321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b2"} 
[2026-11-05 08:44:26] local.INFO: Extracted packet for processing {"connection_id":231321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b2"} 
[2026-11-05 08:44:26] local.INFO: GPS Element Parsed {"raw_longitude":755892736,"raw_latitude":117870696,"longitude_deg":75.5892736,"latitude_deg":11.7870696,"altitude":30,"angle":31,"satellites":44,"speed":8,"hex_longitude":"2d0e0200","hex_latitude":"07069068","is_valid_coordinates":true} 
[2026-11-05 08:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225190912001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39366592198344704,"note":"Value kept but may cause issues"} 
[2026-11-05 08:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009228559170904064,"note":"Value kept but may cause issues"} 
[2026-11-05 08:44:26] 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-05 08:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793848403000,"timestamp_ms":1793848403000,"timestamp_seconds":1793848403,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b26438"} 
[2026-11-05 08:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:44: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-05 08:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-11-05 08:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1948,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225190912001,"66":14450,"219":206,"94":10240,"24":8,"16":39366592198344704,"45":1009228559170904064},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 08:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225190912001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:44:26] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 08:44:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39366592198344704,"km_value":39366592198344.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009228559170904064,"description":"Unknown IO ID 45"} 
[2026-11-05 08:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225190912001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":1009228559170904064}} 
[2026-11-05 08:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":231321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62000,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:44:26] local.INFO: GPS data processed {"connection_id":231321,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:44:26] local.INFO: Acknowledgment sent {"connection_id":231321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:44:42] local.INFO: TCP Data received {"connection_id":231322,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b2b640012d7d2e4005cb08a0000f00b732..."} 
[2026-11-05 08:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b2b640012d7d2e4005cb08a0000f00b732..."} 
[2026-11-05 08:44:42] local.INFO: Processing buffer {"connection_id":231322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b2b640012d7d2e4005cb08a0000f00b732..."} 
[2026-11-05 08:44:42] local.INFO: Packet analysis {"connection_id":231322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b2"} 
[2026-11-05 08:44:42] local.INFO: Extracted packet for processing {"connection_id":231322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b2"} 
[2026-11-05 08:44:42] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":97192096,"longitude_deg":76.317856,"latitude_deg":9.7192096,"altitude":15,"angle":183,"satellites":50,"speed":44,"hex_longitude":"2d7d2e40","hex_latitude":"05cb08a0","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225194240001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40194760677261312,"note":"Value kept but may cause issues"} 
[2026-11-05 08:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447250853888,"note":"Value kept but may cause issues"} 
[2026-11-05 08:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793848424000,"timestamp_ms":1793848424000,"timestamp_seconds":1793848424,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b2b640"} 
[2026-11-05 08: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-05 08:44: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-05 08: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-05 08:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08: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-05 08: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-05 08:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:44:42] 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-05 08:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225194240001,"66":27919,"131":206,"85":15104,"24":44,"16":40194760677261312,"45":9020780447250853888},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-11-05 08:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225194240001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:44:42] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-11-05 08:44:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 08:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40194760677261312,"km_value":40194760677261.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447250853888,"description":"Unknown IO ID 45"} 
[2026-11-05 08:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225194240001,"power":27919,"unknown_131":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9020780447250853888}} 
[2026-11-05 08:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":231322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:44:42] local.INFO: GPS data processed {"connection_id":231322,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:44:42] local.INFO: Acknowledgment sent {"connection_id":231322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:44:46] local.INFO: TCP Data received {"connection_id":229508,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229508,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:44:46] local.INFO: Processing buffer {"connection_id":229508,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:44:46] local.INFO: IMEI packet received {"connection_id":229508,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 08:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":229508,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:44:54] local.INFO: TCP Data received {"connection_id":231323,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231323,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:44:54] local.INFO: Processing buffer {"connection_id":231323,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:44:54] local.INFO: IMEI packet received {"connection_id":231323,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":231323,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:44:57] local.INFO: TCP Data received {"connection_id":231323,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231323,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:44:57] local.INFO: Processing buffer {"connection_id":231323,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:44:57] local.INFO: IMEI packet received {"connection_id":231323,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":231323,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:44:58] local.INFO: TCP Data received {"connection_id":231323,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b26820012d0e0280070690d8001f00402b..."} 
[2026-11-05 08:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b26820012d0e0280070690d8001f00402b..."} 
[2026-11-05 08:44:58] local.INFO: Processing buffer {"connection_id":231323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b26820012d0e0280070690d8001f00402b..."} 
[2026-11-05 08:44:58] local.INFO: Packet analysis {"connection_id":231323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b2"} 
[2026-11-05 08:44:58] local.INFO: Extracted packet for processing {"connection_id":231323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b2"} 
[2026-11-05 08:44:58] local.INFO: GPS Element Parsed {"raw_longitude":755892864,"raw_latitude":117870808,"longitude_deg":75.5892864,"latitude_deg":11.7870808,"altitude":31,"angle":64,"satellites":43,"speed":6,"hex_longitude":"2d0e0280","hex_latitude":"070690d8","is_valid_coordinates":true} 
[2026-11-05 08:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225191168001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39366600788279296,"note":"Value kept but may cause issues"} 
[2026-11-05 08:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009369296659310592,"note":"Value kept but may cause issues"} 
[2026-11-05 08:44:58] 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-05 08:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793848404000,"timestamp_ms":1793848404000,"timestamp_seconds":1793848404,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b26820"} 
[2026-11-05 08:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-05 08:44: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-05 08:44:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":231323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":231323,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":231323,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225191168001,"66":14450,"219":206,"94":10240,"24":6,"16":39366600788279296,"45":1009369296659310592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 08:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225191168001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:44:58] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 08:44:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39366600788279296,"km_value":39366600788279.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009369296659310592,"description":"Unknown IO ID 45"} 
[2026-11-05 08:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225191168001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":1009369296659310592}} 
[2026-11-05 08:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":231323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62002,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:44:58] local.INFO: GPS data processed {"connection_id":231323,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:44:58] local.INFO: Acknowledgment sent {"connection_id":231323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:44:59] local.INFO: TCP Data received {"connection_id":231323,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b26c08012d0e030007069100001e00582b..."} 
[2026-11-05 08:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b26c08012d0e030007069100001e00582b..."} 
[2026-11-05 08:44:59] local.INFO: Processing buffer {"connection_id":231323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b26c08012d0e030007069100001e00582b..."} 
[2026-11-05 08:44:59] local.INFO: Packet analysis {"connection_id":231323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b2"} 
[2026-11-05 08:44:59] local.INFO: Extracted packet for processing {"connection_id":231323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b2"} 
[2026-11-05 08:44:59] local.INFO: GPS Element Parsed {"raw_longitude":755892992,"raw_latitude":117870848,"longitude_deg":75.5892992,"latitude_deg":11.7870848,"altitude":30,"angle":88,"satellites":43,"speed":9,"hex_longitude":"2d0e0300","hex_latitude":"07069100","is_valid_coordinates":true} 
[2026-11-05 08:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225191424001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39366609378213888,"note":"Value kept but may cause issues"} 
[2026-11-05 08:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009510034147694592,"note":"Value kept but may cause issues"} 
[2026-11-05 08:44:59] 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-05 08:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793848405000,"timestamp_ms":1793848405000,"timestamp_seconds":1793848405,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b26c08"} 
[2026-11-05 08:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:44: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-05 08:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-05 08:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":231323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":231323,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":231323,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225191424001,"66":14298,"219":206,"94":10240,"24":9,"16":39366609378213888,"45":1009510034147694592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 08:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225191424001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:44:59] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 08:44:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39366609378213888,"km_value":39366609378213.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009510034147694592,"description":"Unknown IO ID 45"} 
[2026-11-05 08:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225191424001,"power":14298,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":1009510034147694592}} 
[2026-11-05 08:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":231323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62003,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:44:59] local.INFO: GPS data processed {"connection_id":231323,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:44:59] local.INFO: Acknowledgment sent {"connection_id":231323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:45:07] local.INFO: TCP Data received {"connection_id":233241,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233241,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:45:07] local.INFO: Processing buffer {"connection_id":233241,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:45:07] local.INFO: IMEI packet received {"connection_id":233241,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 08:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":233241,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:45:09] local.INFO: TCP Data received {"connection_id":230011,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:45:09] local.INFO: Processing buffer {"connection_id":230011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:45:09] local.INFO: IMEI packet received {"connection_id":230011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":230011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:45:17] local.INFO: TCP Data received {"connection_id":230011,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:45:17] local.INFO: Processing buffer {"connection_id":230011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:45:17] local.INFO: IMEI packet received {"connection_id":230011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":230011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:45:18] local.INFO: TCP Data received {"connection_id":230011,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:45:18] local.INFO: Processing buffer {"connection_id":230011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:45:18] local.INFO: IMEI packet received {"connection_id":230011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":230011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:45:19] local.INFO: TCP Data received {"connection_id":230011,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:45:19] local.INFO: Processing buffer {"connection_id":230011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:45:19] local.INFO: IMEI packet received {"connection_id":230011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":230011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:45:30] local.INFO: TCP Data received {"connection_id":231323,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b43ce0012d0e2c80070681e00020004c29..."} 
[2026-11-05 08:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b43ce0012d0e2c80070681e00020004c29..."} 
[2026-11-05 08:45:30] local.INFO: Processing buffer {"connection_id":231323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b43ce0012d0e2c80070681e00020004c29..."} 
[2026-11-05 08:45:30] local.INFO: Packet analysis {"connection_id":231323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b4"} 
[2026-11-05 08:45:30] local.INFO: Extracted packet for processing {"connection_id":231323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b4"} 
[2026-11-05 08:45:30] local.INFO: GPS Element Parsed {"raw_longitude":755903616,"raw_latitude":117866976,"longitude_deg":75.5903616,"latitude_deg":11.7866976,"altitude":32,"angle":76,"satellites":41,"speed":10,"hex_longitude":"2d0e2c80","hex_latitude":"070681e0","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225221632001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39367193493766144,"note":"Value kept but may cause issues"} 
[2026-11-05 08:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020769033215125504,"note":"Value kept but may cause issues"} 
[2026-11-05 08:45:30] 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-05 08:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793848524000,"timestamp_ms":1793848524000,"timestamp_seconds":1793848524,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b43ce0"} 
[2026-11-05 08: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-05 08:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 08:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08: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-05 08: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-05 08:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":231323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":231323,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":231323,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225221632001,"66":14135,"219":206,"94":10240,"24":10,"16":39367193493766144,"45":1020769033215125504},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 08:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225221632001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:45:30] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 08:45:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39367193493766144,"km_value":39367193493766.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1020769033215125504,"description":"Unknown IO ID 45"} 
[2026-11-05 08:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225221632001,"power":14135,"unknown_219":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":1020769033215125504}} 
[2026-11-05 08:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":231323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62004,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:45:30] local.INFO: GPS data processed {"connection_id":231323,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:45:30] local.INFO: Acknowledgment sent {"connection_id":231323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:45:48] local.INFO: TCP Data received {"connection_id":233243,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233243,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:45:48] local.INFO: Processing buffer {"connection_id":233243,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:45:48] local.INFO: IMEI packet received {"connection_id":233243,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":233243,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:45:49] local.INFO: TCP Data received {"connection_id":233243,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233243,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:45:49] local.INFO: Processing buffer {"connection_id":233243,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:45:49] local.INFO: IMEI packet received {"connection_id":233243,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":233243,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:45:54] local.INFO: TCP Data received {"connection_id":233243,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233243,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:45:54] local.INFO: Processing buffer {"connection_id":233243,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:45:54] local.INFO: IMEI packet received {"connection_id":233243,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":233243,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:45:54] local.INFO: TCP Data received {"connection_id":233243,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b444b0012d0e2e80070682900021004027..."} 
[2026-11-05 08:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b444b0012d0e2e80070682900021004027..."} 
[2026-11-05 08:45:54] local.INFO: Processing buffer {"connection_id":233243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b444b0012d0e2e80070682900021004027..."} 
[2026-11-05 08:45:54] local.INFO: Packet analysis {"connection_id":233243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b4"} 
[2026-11-05 08:45:54] local.INFO: Extracted packet for processing {"connection_id":233243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b4"} 
[2026-11-05 08:45:54] local.INFO: GPS Element Parsed {"raw_longitude":755904128,"raw_latitude":117867152,"longitude_deg":75.5904128,"latitude_deg":11.7867152,"altitude":33,"angle":64,"satellites":39,"speed":11,"hex_longitude":"2d0e2e80","hex_latitude":"07068290","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225222144001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39367223558537216,"note":"Value kept but may cause issues"} 
[2026-11-05 08:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1021331983168561152,"note":"Value kept but may cause issues"} 
[2026-11-05 08:45: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-05 08:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793848526000,"timestamp_ms":1793848526000,"timestamp_seconds":1793848526,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b444b0"} 
[2026-11-05 08: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-05 08:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-11-05 08:45:54] 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-05 08: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-05 08: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-05 08:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":233243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":233243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":233243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225222144001,"66":14276,"219":206,"94":10240,"24":11,"16":39367223558537216,"45":1021331983168561152},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 08:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225222144001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:45:54] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 08:45:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39367223558537216,"km_value":39367223558537.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1021331983168561152,"description":"Unknown IO ID 45"} 
[2026-11-05 08:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225222144001,"power":14276,"unknown_219":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":1021331983168561152}} 
[2026-11-05 08:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":233243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62005,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:45:55] local.INFO: GPS data processed {"connection_id":233243,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:45:55] local.INFO: Acknowledgment sent {"connection_id":233243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:46:26] local.INFO: TCP Data received {"connection_id":233243,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b44898012d0e2fc0070683380021002e27..."} 
[2026-11-05 08:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b44898012d0e2fc0070683380021002e27..."} 
[2026-11-05 08:46:26] local.INFO: Processing buffer {"connection_id":233243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b44898012d0e2fc0070683380021002e27..."} 
[2026-11-05 08:46:26] local.INFO: Packet analysis {"connection_id":233243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b4"} 
[2026-11-05 08:46:26] local.INFO: Extracted packet for processing {"connection_id":233243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b4"} 
[2026-11-05 08:46:26] local.INFO: GPS Element Parsed {"raw_longitude":755904448,"raw_latitude":117867320,"longitude_deg":75.5904448,"latitude_deg":11.786732,"altitude":33,"angle":46,"satellites":39,"speed":11,"hex_longitude":"2d0e2fc0","hex_latitude":"07068338","is_valid_coordinates":true} 
[2026-11-05 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-05 08:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225222656001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39367240738406400,"note":"Value kept but may cause issues"} 
[2026-11-05 08:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1021894933122027520,"note":"Value kept but may cause issues"} 
[2026-11-05 08:46:26] 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-05 08:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793848527000,"timestamp_ms":1793848527000,"timestamp_seconds":1793848527,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b44898"} 
[2026-11-05 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-05 08:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 08:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 08:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225222656001,"66":14428,"219":206,"94":10240,"24":11,"16":39367240738406400,"45":1021894933122027520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 08:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225222656001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:46:26] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 08:46:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39367240738406400,"km_value":39367240738406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1021894933122027520,"description":"Unknown IO ID 45"} 
[2026-11-05 08:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225222656001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":1021894933122027520}} 
[2026-11-05 08:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":233243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62006,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:46:26] local.INFO: GPS data processed {"connection_id":233243,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:46:26] local.INFO: Acknowledgment sent {"connection_id":233243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:46:49] local.INFO: TCP Data received {"connection_id":229510,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229510,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:46:49] local.INFO: Processing buffer {"connection_id":229510,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:46:49] local.INFO: IMEI packet received {"connection_id":229510,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":229510,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:46:54] local.INFO: TCP Data received {"connection_id":229510,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229510,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:46:54] local.INFO: Processing buffer {"connection_id":229510,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:46:54] local.INFO: IMEI packet received {"connection_id":229510,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":229510,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:46:55] local.INFO: TCP Data received {"connection_id":229510,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b54680012d0e3d800706d7e00027014f27..."} 
[2026-11-05 08:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b54680012d0e3d800706d7e00027014f27..."} 
[2026-11-05 08:46:55] local.INFO: Processing buffer {"connection_id":229510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b54680012d0e3d800706d7e00027014f27..."} 
[2026-11-05 08:46:55] local.INFO: Packet analysis {"connection_id":229510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b5"} 
[2026-11-05 08:46:55] local.INFO: Extracted packet for processing {"connection_id":229510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b5"} 
[2026-11-05 08:46:55] local.INFO: GPS Element Parsed {"raw_longitude":755907968,"raw_latitude":117888992,"longitude_deg":75.5907968,"latitude_deg":11.7888992,"altitude":39,"angle":335,"satellites":39,"speed":15,"hex_longitude":"2d0e3d80","hex_latitude":"0706d7e0","is_valid_coordinates":true} 
[2026-11-05 08:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225239296001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39368370314805248,"note":"Value kept but may cause issues"} 
[2026-11-05 08:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026257795266531328,"note":"Value kept but may cause issues"} 
[2026-11-05 08:46:55] 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-05 08:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793848592000,"timestamp_ms":1793848592000,"timestamp_seconds":1793848592,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b54680"} 
[2026-11-05 08:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-05 08:46: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-05 08:46:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229510,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229510,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225239296001,"66":14407,"219":206,"94":10240,"24":15,"16":39368370314805248,"45":1026257795266531328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 08:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225239296001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:46:55] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 08:46:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39368370314805248,"km_value":39368370314805.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026257795266531328,"description":"Unknown IO ID 45"} 
[2026-11-05 08:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225239296001,"power":14407,"unknown_219":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":1026257795266531328}} 
[2026-11-05 08:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":229510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62007,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:46:55] local.INFO: GPS data processed {"connection_id":229510,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:46:55] local.INFO: Acknowledgment sent {"connection_id":229510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:47:26] local.INFO: TCP Data received {"connection_id":229510,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b55238012d0e3c000706dcd80028015d27..."} 
[2026-11-05 08:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b55238012d0e3c000706dcd80028015d27..."} 
[2026-11-05 08:47:26] local.INFO: Processing buffer {"connection_id":229510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b55238012d0e3c000706dcd80028015d27..."} 
[2026-11-05 08:47:26] local.INFO: Packet analysis {"connection_id":229510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b5"} 
[2026-11-05 08:47:26] local.INFO: Extracted packet for processing {"connection_id":229510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b5"} 
[2026-11-05 08:47:26] local.INFO: GPS Element Parsed {"raw_longitude":755907584,"raw_latitude":117890264,"longitude_deg":75.5907584,"latitude_deg":11.7890264,"altitude":40,"angle":349,"satellites":39,"speed":20,"hex_longitude":"2d0e3c00","hex_latitude":"0706dcd8","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225239552001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39368434739314688,"note":"Value kept but may cause issues"} 
[2026-11-05 08:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026117057778278400,"note":"Value kept but may cause issues"} 
[2026-11-05 08:47:26] 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-05 08:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793848595000,"timestamp_ms":1793848595000,"timestamp_seconds":1793848595,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b55238"} 
[2026-11-05 08: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-05 08:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 08:47:26] 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-05 08: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-05 08: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-05 08:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229510,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229510,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225239552001,"66":14494,"219":206,"94":10240,"24":20,"16":39368434739314688,"45":1026117057778278400},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 08:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225239552001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:47:26] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 08:47:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39368434739314688,"km_value":39368434739314.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026117057778278400,"description":"Unknown IO ID 45"} 
[2026-11-05 08:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225239552001,"power":14494,"unknown_219":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":1026117057778278400}} 
[2026-11-05 08:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":229510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62008,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:47:26] local.INFO: GPS data processed {"connection_id":229510,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:47:26] local.INFO: Acknowledgment sent {"connection_id":229510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:47:48] local.INFO: TCP Data received {"connection_id":231325,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231325,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:47:48] local.INFO: Processing buffer {"connection_id":231325,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:47:48] local.INFO: IMEI packet received {"connection_id":231325,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":231325,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:47:49] local.INFO: TCP Data received {"connection_id":231325,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231325,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:47:49] local.INFO: Processing buffer {"connection_id":231325,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:47:49] local.INFO: IMEI packet received {"connection_id":231325,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":231325,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:47:52] local.INFO: TCP Data received {"connection_id":231325,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231325,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:47:52] local.INFO: Processing buffer {"connection_id":231325,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:47:52] local.INFO: IMEI packet received {"connection_id":231325,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":231325,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:47:53] local.INFO: TCP Data received {"connection_id":231325,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b55df0012d0e3bc00706e3700028000026..."} 
[2026-11-05 08:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b55df0012d0e3bc00706e3700028000026..."} 
[2026-11-05 08:47:53] local.INFO: Processing buffer {"connection_id":231325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b55df0012d0e3bc00706e3700028000026..."} 
[2026-11-05 08:47:53] local.INFO: Packet analysis {"connection_id":231325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b5"} 
[2026-11-05 08:47:53] local.INFO: Extracted packet for processing {"connection_id":231325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b5"} 
[2026-11-05 08:47:53] local.INFO: GPS Element Parsed {"raw_longitude":755907520,"raw_latitude":117891952,"longitude_deg":75.590752,"latitude_deg":11.7891952,"altitude":40,"angle":0,"satellites":38,"speed":20,"hex_longitude":"2d0e3bc0","hex_latitude":"0706e370","is_valid_coordinates":true} 
[2026-11-05 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-05 08:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225240320001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39368516343693312,"note":"Value kept but may cause issues"} 
[2026-11-05 08:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025694845313538048,"note":"Value kept but may cause issues"} 
[2026-11-05 08:47:53] 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-05 08:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793848598000,"timestamp_ms":1793848598000,"timestamp_seconds":1793848598,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b55df0"} 
[2026-11-05 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-05 08:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-05 08:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 08:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":231325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":231325,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":231325,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225240320001,"66":14439,"219":206,"94":10240,"24":20,"16":39368516343693312,"45":1025694845313538048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 08:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225240320001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:47:53] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 08:47:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39368516343693312,"km_value":39368516343693.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025694845313538048,"description":"Unknown IO ID 45"} 
[2026-11-05 08:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225240320001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":1025694845313538048}} 
[2026-11-05 08:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":231325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62009,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:47:53] local.INFO: GPS data processed {"connection_id":231325,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:47:53] local.INFO: Acknowledgment sent {"connection_id":231325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:48:24] local.INFO: TCP Data received {"connection_id":231325,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b6dcc0012d0dd1c00706fbf0002100f22a..."} 
[2026-11-05 08:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b6dcc0012d0dd1c00706fbf0002100f22a..."} 
[2026-11-05 08:48:24] local.INFO: Processing buffer {"connection_id":231325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b6dcc0012d0dd1c00706fbf0002100f22a..."} 
[2026-11-05 08:48:24] local.INFO: Packet analysis {"connection_id":231325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b6"} 
[2026-11-05 08:48:24] local.INFO: Extracted packet for processing {"connection_id":231325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b6"} 
[2026-11-05 08:48:24] local.INFO: GPS Element Parsed {"raw_longitude":755880384,"raw_latitude":117898224,"longitude_deg":75.5880384,"latitude_deg":11.7898224,"altitude":33,"angle":242,"satellites":42,"speed":11,"hex_longitude":"2d0dd1c0","hex_latitude":"0706fbf0","is_valid_coordinates":true} 
[2026-11-05 08:48: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-05 08:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225264896001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39370238625579008,"note":"Value kept but may cause issues"} 
[2026-11-05 08:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":997688085132978176,"note":"Value kept but may cause issues"} 
[2026-11-05 08:48:24] 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-05 08:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793848696000,"timestamp_ms":1793848696000,"timestamp_seconds":1793848696,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b6dcc0"} 
[2026-11-05 08:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:48: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-05 08:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-05 08:48:24] 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-05 08:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":231325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":231325,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":231325,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225264896001,"66":14330,"219":206,"94":10240,"24":11,"16":39370238625579008,"45":997688085132978176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 08:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225264896001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:48:24] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 08:48:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39370238625579008,"km_value":39370238625579.01,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":997688085132978176,"description":"Unknown IO ID 45"} 
[2026-11-05 08:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225264896001,"power":14330,"unknown_219":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":997688085132978176}} 
[2026-11-05 08:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":231325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62010,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:48:24] local.INFO: GPS data processed {"connection_id":231325,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:48:24] local.INFO: Acknowledgment sent {"connection_id":231325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:48:48] local.INFO: TCP Data received {"connection_id":231326,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231326,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:48:48] local.INFO: Processing buffer {"connection_id":231326,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:48:48] local.INFO: IMEI packet received {"connection_id":231326,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":231326,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:48:49] local.INFO: TCP Data received {"connection_id":231326,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231326,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:48:49] local.INFO: Processing buffer {"connection_id":231326,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:48:49] local.INFO: IMEI packet received {"connection_id":231326,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":231326,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:48:49] local.INFO: TCP Data received {"connection_id":231326,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231326,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:48:49] local.INFO: Processing buffer {"connection_id":231326,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:48:49] local.INFO: IMEI packet received {"connection_id":231326,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":231326,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:48:54] local.INFO: TCP Data received {"connection_id":231326,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231326,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:48:54] local.INFO: Processing buffer {"connection_id":231326,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:48:54] local.INFO: IMEI packet received {"connection_id":231326,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":231326,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:48:55] local.INFO: TCP Data received {"connection_id":231326,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b6e490012d0dcfc00706fa68002100dc2a..."} 
[2026-11-05 08:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b6e490012d0dcfc00706fa68002100dc2a..."} 
[2026-11-05 08:48:55] local.INFO: Processing buffer {"connection_id":231326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b6e490012d0dcfc00706fa68002100dc2a..."} 
[2026-11-05 08:48:55] local.INFO: Packet analysis {"connection_id":231326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b6"} 
[2026-11-05 08:48:55] local.INFO: Extracted packet for processing {"connection_id":231326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b6"} 
[2026-11-05 08:48:55] local.INFO: GPS Element Parsed {"raw_longitude":755879872,"raw_latitude":117897832,"longitude_deg":75.5879872,"latitude_deg":11.7897832,"altitude":33,"angle":220,"satellites":42,"speed":12,"hex_longitude":"2d0dcfc0","hex_latitude":"0706fa68","is_valid_coordinates":true} 
[2026-11-05 08:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225266176001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39370268690350080,"note":"Value kept but may cause issues"} 
[2026-11-05 08:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995788129040068608,"note":"Value kept but may cause issues"} 
[2026-11-05 08:48:55] 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-05 08:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793848698000,"timestamp_ms":1793848698000,"timestamp_seconds":1793848698,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b6e490"} 
[2026-11-05 08:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-11-05 08:48:55] 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-05 08:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225266176001,"66":14537,"219":206,"94":10240,"24":12,"16":39370268690350080,"45":995788129040068608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 08:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225266176001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:48:55] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 08:48:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39370268690350080,"km_value":39370268690350.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":995788129040068608,"description":"Unknown IO ID 45"} 
[2026-11-05 08:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225266176001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":995788129040068608}} 
[2026-11-05 08:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":231326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62011,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:48:55] local.INFO: GPS data processed {"connection_id":231326,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:48:55] local.INFO: Acknowledgment sent {"connection_id":231326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:49:26] local.INFO: TCP Data received {"connection_id":231326,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b7b398012d0df0000706b300001f00b029..."} 
[2026-11-05 08:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b7b398012d0df0000706b300001f00b029..."} 
[2026-11-05 08:49:26] local.INFO: Processing buffer {"connection_id":231326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b7b398012d0df0000706b300001f00b029..."} 
[2026-11-05 08:49:26] local.INFO: Packet analysis {"connection_id":231326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b7"} 
[2026-11-05 08:49:26] local.INFO: Extracted packet for processing {"connection_id":231326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b7"} 
[2026-11-05 08:49:26] local.INFO: GPS Element Parsed {"raw_longitude":755888128,"raw_latitude":117879552,"longitude_deg":75.5888128,"latitude_deg":11.7879552,"altitude":31,"angle":176,"satellites":41,"speed":12,"hex_longitude":"2d0df000","hex_latitude":"0706b300","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225279744001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39371415446618112,"note":"Value kept but may cause issues"} 
[2026-11-05 08:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1004162009592602624,"note":"Value kept but may cause issues"} 
[2026-11-05 08:49:26] 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-05 08:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793848751000,"timestamp_ms":1793848751000,"timestamp_seconds":1793848751,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b7b398"} 
[2026-11-05 08: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-05 08:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08: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":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-11-05 08:49:26] 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-05 08: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-05 08: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-05 08:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225279744001,"66":14646,"219":206,"94":10240,"24":12,"16":39371415446618112,"45":1004162009592602624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 08:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225279744001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:49:26] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 08:49:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39371415446618112,"km_value":39371415446618.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1004162009592602624,"description":"Unknown IO ID 45"} 
[2026-11-05 08:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225279744001,"power":14646,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":1004162009592602624}} 
[2026-11-05 08:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":231326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62012,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:49:26] local.INFO: GPS data processed {"connection_id":231326,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:49:26] local.INFO: Acknowledgment sent {"connection_id":231326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:49:49] local.INFO: TCP Data received {"connection_id":230017,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230017,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:49:49] local.INFO: Processing buffer {"connection_id":230017,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:49:49] local.INFO: IMEI packet received {"connection_id":230017,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":230017,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:49:55] local.INFO: TCP Data received {"connection_id":230017,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230017,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:49:55] local.INFO: Processing buffer {"connection_id":230017,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:49:55] local.INFO: IMEI packet received {"connection_id":230017,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":230017,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:49:55] local.INFO: TCP Data received {"connection_id":230017,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b7b780012d0df0000706b1d8001f00bf29..."} 
[2026-11-05 08:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b7b780012d0df0000706b1d8001f00bf29..."} 
[2026-11-05 08:49:55] local.INFO: Processing buffer {"connection_id":230017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b7b780012d0df0000706b1d8001f00bf29..."} 
[2026-11-05 08:49:55] local.INFO: Packet analysis {"connection_id":230017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b7"} 
[2026-11-05 08:49:55] local.INFO: Extracted packet for processing {"connection_id":230017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b7"} 
[2026-11-05 08:49:55] local.INFO: GPS Element Parsed {"raw_longitude":755888128,"raw_latitude":117879256,"longitude_deg":75.5888128,"latitude_deg":11.7879256,"altitude":31,"angle":191,"satellites":41,"speed":10,"hex_longitude":"2d0df000","hex_latitude":"0706b1d8","is_valid_coordinates":true} 
[2026-11-05 08:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225280256001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39371432626487296,"note":"Value kept but may cause issues"} 
[2026-11-05 08:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1004302747080785920,"note":"Value kept but may cause issues"} 
[2026-11-05 08:49:55] 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-05 08:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793848752000,"timestamp_ms":1793848752000,"timestamp_seconds":1793848752,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b7b780"} 
[2026-11-05 08:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-11-05 08:49:55] 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-05 08:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230017,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230017,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225280256001,"66":14646,"219":206,"94":10240,"24":10,"16":39371432626487296,"45":1004302747080785920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 08:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225280256001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:49:55] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 08:49:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39371432626487296,"km_value":39371432626487.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1004302747080785920,"description":"Unknown IO ID 45"} 
[2026-11-05 08:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225280256001,"power":14646,"unknown_219":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":1004302747080785920}} 
[2026-11-05 08:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":230017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62013,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:49:55] local.INFO: GPS data processed {"connection_id":230017,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:49:55] local.INFO: Acknowledgment sent {"connection_id":230017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:50:24] local.INFO: TCP Data received {"connection_id":230018,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:50:24] local.INFO: Processing buffer {"connection_id":230018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:50:24] local.INFO: IMEI packet received {"connection_id":230018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":230018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:50:25] local.INFO: TCP Data received {"connection_id":230018,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b74250012d7f23c005c63ad0000c009b34..."} 
[2026-11-05 08:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b74250012d7f23c005c63ad0000c009b34..."} 
[2026-11-05 08:50:25] local.INFO: Processing buffer {"connection_id":230018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b74250012d7f23c005c63ad0000c009b34..."} 
[2026-11-05 08:50:25] local.INFO: Packet analysis {"connection_id":230018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b7"} 
[2026-11-05 08:50:25] local.INFO: Extracted packet for processing {"connection_id":230018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b7"} 
[2026-11-05 08:50:25] local.INFO: GPS Element Parsed {"raw_longitude":763306944,"raw_latitude":96877264,"longitude_deg":76.3306944,"latitude_deg":9.6877264,"altitude":12,"angle":155,"satellites":52,"speed":11,"hex_longitude":"2d7f23c0","hex_latitude":"05c63ad0","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225271296001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40212945568792576,"note":"Value kept but may cause issues"} 
[2026-11-05 08:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9160040191895894016,"note":"Value kept but may cause issues"} 
[2026-11-05 08:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793848722000,"timestamp_ms":1793848722000,"timestamp_seconds":1793848722,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b74250"} 
[2026-11-05 08: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-05 08:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-05 08:50:25] 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-05 08: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-05 08: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-05 08:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":230018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":230018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":230018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:50:25] 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-05 08:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225271296001,"66":27995,"100":206,"85":12288,"24":11,"16":40212945568792576,"45":9160040191895894016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-11-05 08:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225271296001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:50:25] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-11-05 08:50:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 08:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40212945568792576,"km_value":40212945568792.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9160040191895894016,"description":"Unknown IO ID 45"} 
[2026-11-05 08:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225271296001,"power":27995,"unknown_100":206,"unknown_85":12288,"ignition":11,"odometer":null,"unknown_45":9160040191895894016}} 
[2026-11-05 08:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":230018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:50:25] local.INFO: GPS data processed {"connection_id":230018,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:50:25] local.INFO: Acknowledgment sent {"connection_id":230018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:50:27] local.INFO: TCP Data received {"connection_id":230017,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b7bb68012d0defc00706b100001f00dc29..."} 
[2026-11-05 08:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b7bb68012d0defc00706b100001f00dc29..."} 
[2026-11-05 08:50:27] local.INFO: Processing buffer {"connection_id":230017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b7bb68012d0defc00706b100001f00dc29..."} 
[2026-11-05 08:50:27] local.INFO: Packet analysis {"connection_id":230017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b7"} 
[2026-11-05 08:50:27] local.INFO: Extracted packet for processing {"connection_id":230017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b7"} 
[2026-11-05 08:50:27] local.INFO: GPS Element Parsed {"raw_longitude":755888064,"raw_latitude":117879040,"longitude_deg":75.5888064,"latitude_deg":11.787904,"altitude":31,"angle":220,"satellites":41,"speed":9,"hex_longitude":"2d0defc0","hex_latitude":"0706b100","is_valid_coordinates":true} 
[2026-11-05 08:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225280512001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39371441216421888,"note":"Value kept but may cause issues"} 
[2026-11-05 08:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1004302747080710144,"note":"Value kept but may cause issues"} 
[2026-11-05 08:50:27] 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-05 08:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793848753000,"timestamp_ms":1793848753000,"timestamp_seconds":1793848753,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b7bb68"} 
[2026-11-05 08:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-11-05 08:50:27] 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-05 08:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":230017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":230017,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":230017,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225280512001,"66":14396,"219":206,"94":10240,"24":9,"16":39371441216421888,"45":1004302747080710144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 08:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225280512001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:50:27] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 08:50:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39371441216421888,"km_value":39371441216421.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1004302747080710144,"description":"Unknown IO ID 45"} 
[2026-11-05 08:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225280512001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":1004302747080710144}} 
[2026-11-05 08:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":230017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62015,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:50:27] local.INFO: GPS data processed {"connection_id":230017,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:50:27] local.INFO: Acknowledgment sent {"connection_id":230017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:50:31] local.INFO: TCP Data received {"connection_id":231327,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231327,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:50:31] local.INFO: Processing buffer {"connection_id":231327,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:50:31] local.INFO: IMEI packet received {"connection_id":231327,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 08:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":231327,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:50:54] local.INFO: TCP Data received {"connection_id":229511,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229511,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:50:54] local.INFO: Processing buffer {"connection_id":229511,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:50:54] local.INFO: IMEI packet received {"connection_id":229511,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":229511,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:50:58] local.INFO: TCP Data received {"connection_id":229511,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229511,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:50:58] local.INFO: Processing buffer {"connection_id":229511,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:50:58] local.INFO: IMEI packet received {"connection_id":229511,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":229511,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:50:59] local.INFO: TCP Data received {"connection_id":229511,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b8ffa0012d0dcdc00706ca600024000128..."} 
[2026-11-05 08:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b8ffa0012d0dcdc00706ca600024000128..."} 
[2026-11-05 08:50:59] local.INFO: Processing buffer {"connection_id":229511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b8ffa0012d0dcdc00706ca600024000128..."} 
[2026-11-05 08:50:59] local.INFO: Packet analysis {"connection_id":229511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b8"} 
[2026-11-05 08:50:59] local.INFO: Extracted packet for processing {"connection_id":229511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b8"} 
[2026-11-05 08:50:59] local.INFO: GPS Element Parsed {"raw_longitude":755879360,"raw_latitude":117885536,"longitude_deg":75.587936,"latitude_deg":11.7885536,"altitude":36,"angle":1,"satellites":40,"speed":21,"hex_longitude":"2d0dcdc0","hex_latitude":"0706ca60","is_valid_coordinates":true} 
[2026-11-05 08:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225301760001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39372076871581696,"note":"Value kept but may cause issues"} 
[2026-11-05 08:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994662229129842688,"note":"Value kept but may cause issues"} 
[2026-11-05 08:50:59] 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-05 08:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793848836000,"timestamp_ms":1793848836000,"timestamp_seconds":1793848836,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b8ffa0"} 
[2026-11-05 08:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 08:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":229511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":229511,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":229511,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225301760001,"66":14428,"219":206,"94":10240,"24":21,"16":39372076871581696,"45":994662229129842688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 08:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225301760001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:50:59] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 08:50:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39372076871581696,"km_value":39372076871581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":994662229129842688,"description":"Unknown IO ID 45"} 
[2026-11-05 08:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225301760001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":994662229129842688}} 
[2026-11-05 08:50:59] 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":62016,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:50:59] local.INFO: GPS data processed {"connection_id":229511,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:50:59] local.INFO: Acknowledgment sent {"connection_id":229511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:51:00] local.INFO: TCP Data received {"connection_id":229511,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b926b0012d0dcec00706e3380025015f29..."} 
[2026-11-05 08:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b926b0012d0dcec00706e3380025015f29..."} 
[2026-11-05 08:51:00] local.INFO: Processing buffer {"connection_id":229511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b926b0012d0dcec00706e3380025015f29..."} 
[2026-11-05 08:51:00] local.INFO: Packet analysis {"connection_id":229511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b9"} 
[2026-11-05 08:51:00] local.INFO: Extracted packet for processing {"connection_id":229511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b9"} 
[2026-11-05 08:51:00] local.INFO: GPS Element Parsed {"raw_longitude":755879616,"raw_latitude":117891896,"longitude_deg":75.5879616,"latitude_deg":11.7891896,"altitude":37,"angle":351,"satellites":41,"speed":13,"hex_longitude":"2d0dcec0","hex_latitude":"0706e338","is_valid_coordinates":true} 
[2026-11-05 08:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225302016001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39372386109227008,"note":"Value kept but may cause issues"} 
[2026-11-05 08:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994662229129977856,"note":"Value kept but may cause issues"} 
[2026-11-05 08:51: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-05 08:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793848846000,"timestamp_ms":1793848846000,"timestamp_seconds":1793848846,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b926b0"} 
[2026-11-05 08:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 08:51: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-05 08:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":229511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":229511,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":229511,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225302016001,"66":14461,"219":206,"94":10240,"24":13,"16":39372386109227008,"45":994662229129977856},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 08:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225302016001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:51:00] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 08:51:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39372386109227008,"km_value":39372386109227.01,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":994662229129977856,"description":"Unknown IO ID 45"} 
[2026-11-05 08:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225302016001,"power":14461,"unknown_219":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":994662229129977856}} 
[2026-11-05 08:51:00] 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":62017,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:51:00] local.INFO: GPS data processed {"connection_id":229511,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:51:00] local.INFO: Acknowledgment sent {"connection_id":229511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:51:06] local.INFO: TCP Data received {"connection_id":230019,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230019,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:51:06] local.INFO: Processing buffer {"connection_id":230019,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:51:06] local.INFO: IMEI packet received {"connection_id":230019,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 08:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":230019,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:51:09] local.INFO: TCP Data received {"connection_id":229512,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:51:09] local.INFO: Processing buffer {"connection_id":229512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:51:09] local.INFO: IMEI packet received {"connection_id":229512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":229512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:51:14] local.INFO: TCP Data received {"connection_id":229512,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:51:14] local.INFO: Processing buffer {"connection_id":229512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:51:14] local.INFO: IMEI packet received {"connection_id":229512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":229512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:51:15] local.INFO: TCP Data received {"connection_id":229512,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b74a20012d7f254005c63898000c008f34..."} 
[2026-11-05 08:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b74a20012d7f254005c63898000c008f34..."} 
[2026-11-05 08:51:15] local.INFO: Processing buffer {"connection_id":229512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b74a20012d7f254005c63898000c008f34..."} 
[2026-11-05 08:51:15] local.INFO: Packet analysis {"connection_id":229512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b7"} 
[2026-11-05 08:51:15] local.INFO: Extracted packet for processing {"connection_id":229512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b7"} 
[2026-11-05 08:51:15] local.INFO: GPS Element Parsed {"raw_longitude":763307328,"raw_latitude":96876696,"longitude_deg":76.3307328,"latitude_deg":9.6876696,"altitude":12,"angle":143,"satellites":52,"speed":15,"hex_longitude":"2d7f2540","hex_latitude":"05c63898","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225272832001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40212975633563648,"note":"Value kept but may cause issues"} 
[2026-11-05 08:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9161377198034833408,"note":"Value kept but may cause issues"} 
[2026-11-05 08:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793848724000,"timestamp_ms":1793848724000,"timestamp_seconds":1793848724,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b74a20"} 
[2026-11-05 08: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-05 08: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-05 08: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-05 08: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-05 08: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-05 08: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-05 08:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:51:15] 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-05 08:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225272832001,"66":27919,"100":206,"85":12288,"24":15,"16":40212975633563648,"45":9161377198034833408},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-11-05 08:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225272832001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:51:15] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-11-05 08:51:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 08:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40212975633563648,"km_value":40212975633563.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9161377198034833408,"description":"Unknown IO ID 45"} 
[2026-11-05 08:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225272832001,"power":27919,"unknown_100":206,"unknown_85":12288,"ignition":15,"odometer":null,"unknown_45":9161377198034833408}} 
[2026-11-05 08:51:15] 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":62018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:51:15] local.INFO: GPS data processed {"connection_id":229512,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:51:15] local.INFO: Acknowledgment sent {"connection_id":229512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:51:31] local.INFO: TCP Data received {"connection_id":229511,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b94dc0012d0dcb800706f1000027014929..."} 
[2026-11-05 08:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b94dc0012d0dcb800706f1000027014929..."} 
[2026-11-05 08:51:31] local.INFO: Processing buffer {"connection_id":229511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b94dc0012d0dcb800706f1000027014929..."} 
[2026-11-05 08:51:31] local.INFO: Packet analysis {"connection_id":229511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b9"} 
[2026-11-05 08:51:31] local.INFO: Extracted packet for processing {"connection_id":229511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b9"} 
[2026-11-05 08:51:31] local.INFO: GPS Element Parsed {"raw_longitude":755878784,"raw_latitude":117895424,"longitude_deg":75.5878784,"latitude_deg":11.7895424,"altitude":39,"angle":329,"satellites":41,"speed":11,"hex_longitude":"2d0dcb80","hex_latitude":"0706f100","is_valid_coordinates":true} 
[2026-11-05 08:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225304576001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39372562202886144,"note":"Value kept but may cause issues"} 
[2026-11-05 08:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994943704108316672,"note":"Value kept but may cause issues"} 
[2026-11-05 08:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793848856000,"timestamp_ms":1793848856000,"timestamp_seconds":1793848856,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b94dc0"} 
[2026-11-05 08:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:51: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-05 08:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-05 08:51:31] 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-05 08:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":229511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":229511,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":229511,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225304576001,"66":14515,"219":206,"94":10240,"24":11,"16":39372562202886144,"45":994943704108316672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 08:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225304576001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:51:31] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 08:51:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39372562202886144,"km_value":39372562202886.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":994943704108316672,"description":"Unknown IO ID 45"} 
[2026-11-05 08:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225304576001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":994943704108316672}} 
[2026-11-05 08:51:32] 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":62019,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:51:32] local.INFO: GPS data processed {"connection_id":229511,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:51:32] local.INFO: Acknowledgment sent {"connection_id":229511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:51:47] local.INFO: TCP Data received {"connection_id":230020,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230020,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:51:47] local.INFO: Processing buffer {"connection_id":230020,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:51:47] local.INFO: IMEI packet received {"connection_id":230020,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":230020,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:51:47] local.INFO: TCP Data received {"connection_id":229512,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b79c28012d7f2e4005c62d40000c009534..."} 
[2026-11-05 08:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b79c28012d7f2e4005c62d40000c009534..."} 
[2026-11-05 08:51:47] local.INFO: Processing buffer {"connection_id":229512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b79c28012d7f2e4005c62d40000c009534..."} 
[2026-11-05 08:51:47] local.INFO: Packet analysis {"connection_id":229512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b7"} 
[2026-11-05 08:51:47] local.INFO: Extracted packet for processing {"connection_id":229512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b7"} 
[2026-11-05 08:51:47] local.INFO: GPS Element Parsed {"raw_longitude":763309632,"raw_latitude":96873792,"longitude_deg":76.3309632,"latitude_deg":9.6873792,"altitude":12,"angle":149,"satellites":52,"speed":0,"hex_longitude":"2d7f2e40","hex_latitude":"05c62d40","is_valid_coordinates":true} 
[2026-11-05 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-05 08:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225273344001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40213156022190080,"note":"Value kept but may cause issues"} 
[2026-11-05 08:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9161799410499753984,"note":"Value kept but may cause issues"} 
[2026-11-05 08:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793848745000,"timestamp_ms":1793848745000,"timestamp_seconds":1793848745,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b79c28"} 
[2026-11-05 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-05 08:51: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-05 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 08:51: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-05 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-05 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-05 08:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:51:47] 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-05 08:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225273344001,"66":27930,"100":206,"85":12288,"24":0,"16":40213156022190080,"45":9161799410499753984},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-11-05 08:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225273344001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:51:47] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-11-05 08:51:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 08:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40213156022190080,"km_value":40213156022190.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9161799410499753984,"description":"Unknown IO ID 45"} 
[2026-11-05 08:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225273344001,"power":27930,"unknown_100":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9161799410499753984}} 
[2026-11-05 08:51:47] 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":62020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:51:47] local.INFO: GPS data processed {"connection_id":229512,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:51:47] local.INFO: Acknowledgment sent {"connection_id":229512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:51:49] local.INFO: TCP Data received {"connection_id":230020,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230020,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:51:49] local.INFO: Processing buffer {"connection_id":230020,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:51:49] local.INFO: IMEI packet received {"connection_id":230020,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":230020,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:51:54] local.INFO: TCP Data received {"connection_id":230020,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230020,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:51:54] local.INFO: Processing buffer {"connection_id":230020,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:51:54] local.INFO: IMEI packet received {"connection_id":230020,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":230020,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:51:55] local.INFO: TCP Data received {"connection_id":230020,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b951a8012d0dca800706f1b00027012a29..."} 
[2026-11-05 08:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b951a8012d0dca800706f1b00027012a29..."} 
[2026-11-05 08:51:55] local.INFO: Processing buffer {"connection_id":230020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b951a8012d0dca800706f1b00027012a29..."} 
[2026-11-05 08:51:55] local.INFO: Packet analysis {"connection_id":230020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b9"} 
[2026-11-05 08:51:55] local.INFO: Extracted packet for processing {"connection_id":230020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b9"} 
[2026-11-05 08:51:55] local.INFO: GPS Element Parsed {"raw_longitude":755878528,"raw_latitude":117895600,"longitude_deg":75.5878528,"latitude_deg":11.78956,"altitude":39,"angle":298,"satellites":41,"speed":10,"hex_longitude":"2d0dca80","hex_latitude":"0706f1b0","is_valid_coordinates":true} 
[2026-11-05 08:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225307136001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39372579382755328,"note":"Value kept but may cause issues"} 
[2026-11-05 08:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994028910434910208,"note":"Value kept but may cause issues"} 
[2026-11-05 08:51:55] 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-05 08:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793848857000,"timestamp_ms":1793848857000,"timestamp_seconds":1793848857,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b951a8"} 
[2026-11-05 08:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-05 08:51:55] 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-05 08:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230020,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230020,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225307136001,"66":14559,"219":206,"94":10240,"24":10,"16":39372579382755328,"45":994028910434910208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 08:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225307136001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:51:55] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 08:51:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39372579382755328,"km_value":39372579382755.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":994028910434910208,"description":"Unknown IO ID 45"} 
[2026-11-05 08:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225307136001,"power":14559,"unknown_219":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":994028910434910208}} 
[2026-11-05 08:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":230020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62021,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:51:55] local.INFO: GPS data processed {"connection_id":230020,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:51:55] local.INFO: Acknowledgment sent {"connection_id":230020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:52:04] local.INFO: TCP Data received {"connection_id":233245,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:52:04] local.INFO: Processing buffer {"connection_id":233245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:52:04] local.INFO: IMEI packet received {"connection_id":233245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":233245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:52:05] local.INFO: TCP Data received {"connection_id":233245,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:52:05] local.INFO: Processing buffer {"connection_id":233245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:52:05] local.INFO: IMEI packet received {"connection_id":233245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":233245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:52:09] local.INFO: TCP Data received {"connection_id":233245,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:52:09] local.INFO: Processing buffer {"connection_id":233245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:52:09] local.INFO: IMEI packet received {"connection_id":233245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":233245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:52:11] local.INFO: TCP Data received {"connection_id":233245,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b7d2d8012d7f340005c62528000c008834..."} 
[2026-11-05 08:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b7d2d8012d7f340005c62528000c008834..."} 
[2026-11-05 08:52:11] local.INFO: Processing buffer {"connection_id":233245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b7d2d8012d7f340005c62528000c008834..."} 
[2026-11-05 08:52:11] local.INFO: Packet analysis {"connection_id":233245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b7"} 
[2026-11-05 08:52:11] local.INFO: Extracted packet for processing {"connection_id":233245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b7"} 
[2026-11-05 08:52:11] local.INFO: GPS Element Parsed {"raw_longitude":763311104,"raw_latitude":96871720,"longitude_deg":76.3311104,"latitude_deg":9.687172,"altitude":12,"angle":136,"satellites":52,"speed":6,"hex_longitude":"2d7f3400","hex_latitude":"05c62528","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225278720001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40213280576241664,"note":"Value kept but may cause issues"} 
[2026-11-05 08:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9164332685289406464,"note":"Value kept but may cause issues"} 
[2026-11-05 08:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793848759000,"timestamp_ms":1793848759000,"timestamp_seconds":1793848759,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b7d2d8"} 
[2026-11-05 08: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-05 08:52: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-05 08: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-05 08:52: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-05 08: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-05 08: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-05 08:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:52:11] 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-05 08:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225278720001,"66":27919,"100":206,"85":12288,"24":6,"16":40213280576241664,"45":9164332685289406464},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-11-05 08:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225278720001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:52:11] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-11-05 08:52:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 08:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40213280576241664,"km_value":40213280576241.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9164332685289406464,"description":"Unknown IO ID 45"} 
[2026-11-05 08:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225278720001,"power":27919,"unknown_100":206,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":9164332685289406464}} 
[2026-11-05 08:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":233245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:52:11] local.INFO: GPS data processed {"connection_id":233245,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:52:11] local.INFO: Acknowledgment sent {"connection_id":233245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:52:26] local.INFO: TCP Data received {"connection_id":230020,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ba72b8012d0d2c80070717000020013e24..."} 
[2026-11-05 08:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ba72b8012d0d2c80070717000020013e24..."} 
[2026-11-05 08:52:26] local.INFO: Processing buffer {"connection_id":230020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ba72b8012d0d2c80070717000020013e24..."} 
[2026-11-05 08:52:26] local.INFO: Packet analysis {"connection_id":230020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ba"} 
[2026-11-05 08:52:26] local.INFO: Extracted packet for processing {"connection_id":230020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ba"} 
[2026-11-05 08:52:26] local.INFO: GPS Element Parsed {"raw_longitude":755838080,"raw_latitude":117905152,"longitude_deg":75.583808,"latitude_deg":11.7905152,"altitude":32,"angle":318,"satellites":36,"speed":8,"hex_longitude":"2d0d2c80","hex_latitude":"07071700","is_valid_coordinates":true} 
[2026-11-05 08:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225326080001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39374628082155520,"note":"Value kept but may cause issues"} 
[2026-11-05 08:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949555864117080064,"note":"Value kept but may cause issues"} 
[2026-11-05 08:52:26] 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-05 08:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793848931000,"timestamp_ms":1793848931000,"timestamp_seconds":1793848931,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ba72b8"} 
[2026-11-05 08:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:52: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-05 08:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-05 08:52: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-05 08:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230020,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230020,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225326080001,"66":14450,"221":206,"94":10240,"24":8,"16":39374628082155520,"45":949555864117080064},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-11-05 08:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225326080001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:52:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-05 08:52:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39374628082155520,"km_value":39374628082155.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":949555864117080064,"description":"Unknown IO ID 45"} 
[2026-11-05 08:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225326080001,"power":14450,"unknown_221":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":949555864117080064}} 
[2026-11-05 08:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":230020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62023,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:52:27] local.INFO: GPS data processed {"connection_id":230020,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:52:27] local.INFO: Acknowledgment sent {"connection_id":230020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:52:42] local.INFO: TCP Data received {"connection_id":233245,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9b81158012d7f3c8005c61a40000c009734..."} 
[2026-11-05 08:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9b81158012d7f3c8005c61a40000c009734..."} 
[2026-11-05 08:52:42] local.INFO: Processing buffer {"connection_id":233245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9b81158012d7f3c8005c61a40000c009734..."} 
[2026-11-05 08:52:42] local.INFO: Packet analysis {"connection_id":233245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9b8"} 
[2026-11-05 08:52:42] local.INFO: Extracted packet for processing {"connection_id":233245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9b8"} 
[2026-11-05 08:52:42] local.INFO: GPS Element Parsed {"raw_longitude":763313280,"raw_latitude":96868928,"longitude_deg":76.331328,"latitude_deg":9.6868928,"altitude":12,"angle":151,"satellites":52,"speed":14,"hex_longitude":"2d7f3c80","hex_latitude":"05c61a40","is_valid_coordinates":true} 
[2026-11-05 08:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225282304001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40213456669900800,"note":"Value kept but may cause issues"} 
[2026-11-05 08:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9165951166404962304,"note":"Value kept but may cause issues"} 
[2026-11-05 08:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793848775000,"timestamp_ms":1793848775000,"timestamp_seconds":1793848775,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9b81158"} 
[2026-11-05 08:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:52: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-05 08:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 08:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:52:42] 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-05 08:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225282304001,"66":27865,"100":206,"85":12288,"24":14,"16":40213456669900800,"45":9165951166404962304},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-11-05 08:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225282304001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:52:42] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-11-05 08:52:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 08:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40213456669900800,"km_value":40213456669900.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9165951166404962304,"description":"Unknown IO ID 45"} 
[2026-11-05 08:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225282304001,"power":27865,"unknown_100":206,"unknown_85":12288,"ignition":14,"odometer":null,"unknown_45":9165951166404962304}} 
[2026-11-05 08:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":233245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:52:42] local.INFO: GPS data processed {"connection_id":233245,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:52:42] local.INFO: Acknowledgment sent {"connection_id":233245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:52:48] local.INFO: TCP Data received {"connection_id":231328,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231328,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:52:48] local.INFO: Processing buffer {"connection_id":231328,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:52:48] local.INFO: IMEI packet received {"connection_id":231328,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":231328,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:52:49] local.INFO: TCP Data received {"connection_id":231328,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231328,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:52:49] local.INFO: Processing buffer {"connection_id":231328,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:52:49] local.INFO: IMEI packet received {"connection_id":231328,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":231328,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:52:50] local.INFO: TCP Data received {"connection_id":231328,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231328,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:52:50] local.INFO: Processing buffer {"connection_id":231328,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:52:50] local.INFO: IMEI packet received {"connection_id":231328,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":231328,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:52:54] local.INFO: TCP Data received {"connection_id":231328,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231328,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:52:54] local.INFO: Processing buffer {"connection_id":231328,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:52:54] local.INFO: IMEI packet received {"connection_id":231328,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":231328,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:52:56] local.INFO: TCP Data received {"connection_id":231328,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ba76a0012d0d2c00070717980020014b24..."} 
[2026-11-05 08:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ba76a0012d0d2c00070717980020014b24..."} 
[2026-11-05 08:52:56] local.INFO: Processing buffer {"connection_id":231328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ba76a0012d0d2c00070717980020014b24..."} 
[2026-11-05 08:52:56] local.INFO: Packet analysis {"connection_id":231328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ba"} 
[2026-11-05 08:52:56] local.INFO: Extracted packet for processing {"connection_id":231328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ba"} 
[2026-11-05 08:52:56] local.INFO: GPS Element Parsed {"raw_longitude":755837952,"raw_latitude":117905304,"longitude_deg":75.5837952,"latitude_deg":11.7905304,"altitude":32,"angle":331,"satellites":36,"speed":7,"hex_longitude":"2d0d2c00","hex_latitude":"07071798","is_valid_coordinates":true} 
[2026-11-05 08:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225326336001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39374636672090112,"note":"Value kept but may cause issues"} 
[2026-11-05 08:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949274389140406272,"note":"Value kept but may cause issues"} 
[2026-11-05 08:52:56] 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-05 08:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793848932000,"timestamp_ms":1793848932000,"timestamp_seconds":1793848932,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ba76a0"} 
[2026-11-05 08:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-05 08:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-05 08:52:56] 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-05 08:52:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":231328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":231328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":231328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225326336001,"66":14450,"221":206,"94":10240,"24":7,"16":39374636672090112,"45":949274389140406272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-11-05 08:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225326336001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:52:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-05 08:52:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39374636672090112,"km_value":39374636672090.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":949274389140406272,"description":"Unknown IO ID 45"} 
[2026-11-05 08:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225326336001,"power":14450,"unknown_221":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":949274389140406272}} 
[2026-11-05 08:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":231328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62025,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:52:57] local.INFO: GPS data processed {"connection_id":231328,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:52:57] local.INFO: Acknowledgment sent {"connection_id":231328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:53:01] local.INFO: TCP Data received {"connection_id":231328,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ba7e70012d0d2bc0070718c8001f015d24..."} 
[2026-11-05 08:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ba7e70012d0d2bc0070718c8001f015d24..."} 
[2026-11-05 08:53:01] local.INFO: Processing buffer {"connection_id":231328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ba7e70012d0d2bc0070718c8001f015d24..."} 
[2026-11-05 08:53:01] local.INFO: Packet analysis {"connection_id":231328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ba"} 
[2026-11-05 08:53:01] local.INFO: Extracted packet for processing {"connection_id":231328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ba"} 
[2026-11-05 08:53:01] local.INFO: GPS Element Parsed {"raw_longitude":755837888,"raw_latitude":117905608,"longitude_deg":75.5837888,"latitude_deg":11.7905608,"altitude":31,"angle":349,"satellites":36,"speed":6,"hex_longitude":"2d0d2bc0","hex_latitude":"070718c8","is_valid_coordinates":true} 
[2026-11-05 08:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225326592001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39374653851959296,"note":"Value kept but may cause issues"} 
[2026-11-05 08:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949133651652089856,"note":"Value kept but may cause issues"} 
[2026-11-05 08:53:01] 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-05 08:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1793848934000,"timestamp_ms":1793848934000,"timestamp_seconds":1793848934,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ba7e70"} 
[2026-11-05 08:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:53: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-05 08:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-05 08:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":231328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":231328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":231328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225326592001,"66":14396,"221":206,"94":10240,"24":6,"16":39374653851959296,"45":949133651652089856},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-11-05 08:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225326592001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:53:01] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-05 08:53:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39374653851959296,"km_value":39374653851959.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":949133651652089856,"description":"Unknown IO ID 45"} 
[2026-11-05 08:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225326592001,"power":14396,"unknown_221":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":949133651652089856}} 
[2026-11-05 08:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":231328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62026,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:53:01] local.INFO: GPS data processed {"connection_id":231328,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:53:01] local.INFO: Acknowledgment sent {"connection_id":231328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:53:07] local.INFO: TCP Data received {"connection_id":230021,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:53:07] local.INFO: Processing buffer {"connection_id":230021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:53:07] local.INFO: IMEI packet received {"connection_id":230021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":230021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:53:09] local.INFO: TCP Data received {"connection_id":230021,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:53:09] local.INFO: Processing buffer {"connection_id":230021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:53:09] local.INFO: IMEI packet received {"connection_id":230021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":230021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:53:10] local.INFO: TCP Data received {"connection_id":230021,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:53:10] local.INFO: Processing buffer {"connection_id":230021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:53:10] local.INFO: IMEI packet received {"connection_id":230021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":230021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:53:10] local.INFO: TCP Data received {"connection_id":230021,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ba3ff0012d800c4005c50140000f008f32..."} 
[2026-11-05 08:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ba3ff0012d800c4005c50140000f008f32..."} 
[2026-11-05 08:53:10] local.INFO: Processing buffer {"connection_id":230021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ba3ff0012d800c4005c50140000f008f32..."} 
[2026-11-05 08:53:10] local.INFO: Packet analysis {"connection_id":230021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ba"} 
[2026-11-05 08:53:10] local.INFO: Extracted packet for processing {"connection_id":230021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ba"} 
[2026-11-05 08:53:10] local.INFO: GPS Element Parsed {"raw_longitude":763366464,"raw_latitude":96796992,"longitude_deg":76.3366464,"latitude_deg":9.6796992,"altitude":15,"angle":143,"satellites":50,"speed":32,"hex_longitude":"2d800c40","hex_latitude":"05c50140","is_valid_coordinates":true} 
[2026-11-05 08:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225320704001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40217777407000576,"note":"Value kept but may cause issues"} 
[2026-11-05 08:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9220698049357948928,"note":"Value kept but may cause issues"} 
[2026-11-05 08:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793848918000,"timestamp_ms":1793848918000,"timestamp_seconds":1793848918,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ba3ff0"} 
[2026-11-05 08:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:53: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-05 08:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-05 08:53:10] 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-05 08:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:53:10] 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-05 08:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225320704001,"66":28093,"235":206,"85":12288,"24":32,"16":40217777407000576,"45":9220698049357948928},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-11-05 08:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225320704001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:53:10] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-05 08:53:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 08:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40217777407000576,"km_value":40217777407000.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9220698049357948928,"description":"Unknown IO ID 45"} 
[2026-11-05 08:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225320704001,"power":28093,"unknown_235":206,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":9220698049357948928}} 
[2026-11-05 08:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":230021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:53:10] local.INFO: GPS data processed {"connection_id":230021,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:53:10] local.INFO: Acknowledgment sent {"connection_id":230021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:53:14] local.INFO: TCP Data received {"connection_id":230021,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ba72b8012d801d4005c4eac0001100a632..."} 
[2026-11-05 08:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ba72b8012d801d4005c4eac0001100a632..."} 
[2026-11-05 08:53:14] local.INFO: Processing buffer {"connection_id":230021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ba72b8012d801d4005c4eac0001100a632..."} 
[2026-11-05 08:53:14] local.INFO: Packet analysis {"connection_id":230021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ba"} 
[2026-11-05 08:53:14] local.INFO: Extracted packet for processing {"connection_id":230021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ba"} 
[2026-11-05 08:53:14] local.INFO: GPS Element Parsed {"raw_longitude":763370816,"raw_latitude":96791232,"longitude_deg":76.3370816,"latitude_deg":9.6791232,"altitude":17,"angle":166,"satellites":50,"speed":22,"hex_longitude":"2d801d40","hex_latitude":"05c4eac0","is_valid_coordinates":true} 
[2026-11-05 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-05 08:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225323008001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40218129594318848,"note":"Value kept but may cause issues"} 
[2026-11-05 08:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9219923943610040320,"note":"Value kept but may cause issues"} 
[2026-11-05 08:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793848931000,"timestamp_ms":1793848931000,"timestamp_seconds":1793848931,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ba72b8"} 
[2026-11-05 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-05 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-05 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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-11-05 08:53:14] 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-05 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-05 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-05 08:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:53:14] 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-05 08:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225323008001,"66":28006,"235":206,"85":12288,"24":22,"16":40218129594318848,"45":-9219923943610040320},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-11-05 08:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225323008001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:53:14] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-05 08:53:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 08:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40218129594318848,"km_value":40218129594318.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9219923943610040320,"description":"Unknown IO ID 45"} 
[2026-11-05 08:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225323008001,"power":28006,"unknown_235":206,"unknown_85":12288,"ignition":22,"odometer":null,"unknown_45":-9219923943610040320}} 
[2026-11-05 08:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":230021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:53:14] local.INFO: GPS data processed {"connection_id":230021,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:53:14] local.INFO: Acknowledgment sent {"connection_id":230021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:53:34] local.INFO: TCP Data received {"connection_id":231328,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9bb4990012d0cdcc007074e400023011027..."} 
[2026-11-05 08:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9bb4990012d0cdcc007074e400023011027..."} 
[2026-11-05 08:53:34] local.INFO: Processing buffer {"connection_id":231328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9bb4990012d0cdcc007074e400023011027..."} 
[2026-11-05 08:53:34] local.INFO: Packet analysis {"connection_id":231328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9bb"} 
[2026-11-05 08:53:34] local.INFO: Extracted packet for processing {"connection_id":231328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9bb"} 
[2026-11-05 08:53:34] local.INFO: GPS Element Parsed {"raw_longitude":755817664,"raw_latitude":117919296,"longitude_deg":75.5817664,"latitude_deg":11.7919296,"altitude":35,"angle":272,"satellites":39,"speed":15,"hex_longitude":"2d0cdcc0","hex_latitude":"07074e40","is_valid_coordinates":true} 
[2026-11-05 08:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225340160001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39376187155283968,"note":"Value kept but may cause issues"} 
[2026-11-05 08:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927248972216424448,"note":"Value kept but may cause issues"} 
[2026-11-05 08:53:34] 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-05 08:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793848986000,"timestamp_ms":1793848986000,"timestamp_seconds":1793848986,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9bb4990"} 
[2026-11-05 08:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:53: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-05 08:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-05 08:53: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-05 08:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":231328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":231328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":231328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225340160001,"66":14450,"221":206,"94":10240,"24":15,"16":39376187155283968,"45":927248972216424448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-11-05 08:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225340160001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:53:34] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-05 08:53:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39376187155283968,"km_value":39376187155283.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":927248972216424448,"description":"Unknown IO ID 45"} 
[2026-11-05 08:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225340160001,"power":14450,"unknown_221":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":927248972216424448}} 
[2026-11-05 08:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":231328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62029,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:53:34] local.INFO: GPS data processed {"connection_id":231328,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:53:34] local.INFO: Acknowledgment sent {"connection_id":231328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:53:46] local.INFO: TCP Data received {"connection_id":230021,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ba76a0012d801d4005c4e8a0001000b231..."} 
[2026-11-05 08:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ba76a0012d801d4005c4e8a0001000b231..."} 
[2026-11-05 08:53:46] local.INFO: Processing buffer {"connection_id":230021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ba76a0012d801d4005c4e8a0001000b231..."} 
[2026-11-05 08:53:46] local.INFO: Packet analysis {"connection_id":230021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ba"} 
[2026-11-05 08:53:46] local.INFO: Extracted packet for processing {"connection_id":230021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ba"} 
[2026-11-05 08:53:46] local.INFO: GPS Element Parsed {"raw_longitude":763370816,"raw_latitude":96790688,"longitude_deg":76.3370816,"latitude_deg":9.6790688,"altitude":16,"angle":178,"satellites":49,"speed":23,"hex_longitude":"2d801d40","hex_latitude":"05c4e8a0","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225326336001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40218155364122624,"note":"Value kept but may cause issues"} 
[2026-11-05 08:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9215138869007433728,"note":"Value kept but may cause issues"} 
[2026-11-05 08:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793848932000,"timestamp_ms":1793848932000,"timestamp_seconds":1793848932,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ba76a0"} 
[2026-11-05 08: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-05 08:53: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-05 08: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-05 08:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08: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-05 08: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-05 08:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:53:46] 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-05 08:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225326336001,"66":28006,"235":206,"85":12288,"24":23,"16":40218155364122624,"45":-9215138869007433728},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-11-05 08:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225326336001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:53:46] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-05 08:53:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 08:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40218155364122624,"km_value":40218155364122.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9215138869007433728,"description":"Unknown IO ID 45"} 
[2026-11-05 08:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225326336001,"power":28006,"unknown_235":206,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":-9215138869007433728}} 
[2026-11-05 08:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":230021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:53:46] local.INFO: GPS data processed {"connection_id":230021,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:53:46] local.INFO: Acknowledgment sent {"connection_id":230021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:53:49] local.INFO: TCP Data received {"connection_id":230023,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230023,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:53:49] local.INFO: Processing buffer {"connection_id":230023,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:53:49] local.INFO: IMEI packet received {"connection_id":230023,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":230023,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:53:52] local.INFO: TCP Data received {"connection_id":230023,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230023,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:53:52] local.INFO: Processing buffer {"connection_id":230023,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:53:52] local.INFO: IMEI packet received {"connection_id":230023,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":230023,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:53:53] local.INFO: TCP Data received {"connection_id":230023,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9bb4d78012d0cda8007074ec00023012228..."} 
[2026-11-05 08:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9bb4d78012d0cda8007074ec00023012228..."} 
[2026-11-05 08:53:53] local.INFO: Processing buffer {"connection_id":230023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9bb4d78012d0cda8007074ec00023012228..."} 
[2026-11-05 08:53:53] local.INFO: Packet analysis {"connection_id":230023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9bb"} 
[2026-11-05 08:53:53] local.INFO: Extracted packet for processing {"connection_id":230023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9bb"} 
[2026-11-05 08:53:53] local.INFO: GPS Element Parsed {"raw_longitude":755817088,"raw_latitude":117919424,"longitude_deg":75.5817088,"latitude_deg":11.7919424,"altitude":35,"angle":290,"satellites":40,"speed":19,"hex_longitude":"2d0cda80","hex_latitude":"07074ec0","is_valid_coordinates":true} 
[2026-11-05 08:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225340416001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39376212925087744,"note":"Value kept but may cause issues"} 
[2026-11-05 08:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":926826759751352320,"note":"Value kept but may cause issues"} 
[2026-11-05 08:53:53] 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-05 08:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793848987000,"timestamp_ms":1793848987000,"timestamp_seconds":1793848987,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9bb4d78"} 
[2026-11-05 08:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-05 08:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":230023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":230023,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":230023,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225340416001,"66":13754,"221":206,"94":10240,"24":19,"16":39376212925087744,"45":926826759751352320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-11-05 08:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225340416001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:53:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-05 08:53:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39376212925087744,"km_value":39376212925087.74,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":926826759751352320,"description":"Unknown IO ID 45"} 
[2026-11-05 08:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225340416001,"power":13754,"unknown_221":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":926826759751352320}} 
[2026-11-05 08:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":230023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62031,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:53:53] local.INFO: GPS data processed {"connection_id":230023,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:53:53] local.INFO: Acknowledgment sent {"connection_id":230023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:54:04] local.INFO: TCP Data received {"connection_id":233247,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:54:04] local.INFO: Processing buffer {"connection_id":233247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:54:04] local.INFO: IMEI packet received {"connection_id":233247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":233247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:54:06] local.INFO: TCP Data received {"connection_id":233247,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:54:06] local.INFO: Processing buffer {"connection_id":233247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:54:06] local.INFO: IMEI packet received {"connection_id":233247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":233247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:54:07] local.INFO: TCP Data received {"connection_id":233247,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ba8a28012d801dc005c4df00000e00a134..."} 
[2026-11-05 08:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ba8a28012d801dc005c4df00000e00a134..."} 
[2026-11-05 08:54:07] local.INFO: Processing buffer {"connection_id":233247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ba8a28012d801dc005c4df00000e00a134..."} 
[2026-11-05 08:54:07] local.INFO: Packet analysis {"connection_id":233247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ba"} 
[2026-11-05 08:54:07] local.INFO: Extracted packet for processing {"connection_id":233247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ba"} 
[2026-11-05 08:54:07] local.INFO: GPS Element Parsed {"raw_longitude":763370944,"raw_latitude":96788224,"longitude_deg":76.3370944,"latitude_deg":9.6788224,"altitude":14,"angle":161,"satellites":52,"speed":19,"hex_longitude":"2d801dc0","hex_latitude":"05c4df00","is_valid_coordinates":true} 
[2026-11-05 08:54: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-05 08:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225326592001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40218275623206912,"note":"Value kept but may cause issues"} 
[2026-11-05 08:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9215138869007572992,"note":"Value kept but may cause issues"} 
[2026-11-05 08:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1793848937000,"timestamp_ms":1793848937000,"timestamp_seconds":1793848937,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ba8a28"} 
[2026-11-05 08:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-05 08:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:54: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-05 08:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":233247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":233247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":233247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:54:07] 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-05 08:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225326592001,"66":27974,"235":206,"85":12288,"24":19,"16":40218275623206912,"45":-9215138869007572992},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-11-05 08:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225326592001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:54:07] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-05 08:54:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 08:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40218275623206912,"km_value":40218275623206.914,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9215138869007572992,"description":"Unknown IO ID 45"} 
[2026-11-05 08:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225326592001,"power":27974,"unknown_235":206,"unknown_85":12288,"ignition":19,"odometer":null,"unknown_45":-9215138869007572992}} 
[2026-11-05 08:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":233247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:54:07] local.INFO: GPS data processed {"connection_id":233247,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:54:07] local.INFO: Acknowledgment sent {"connection_id":233247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:54:24] local.INFO: TCP Data received {"connection_id":230023,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9bb93c8012d0cb90007075ac0001f012728..."} 
[2026-11-05 08:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9bb93c8012d0cb90007075ac0001f012728..."} 
[2026-11-05 08:54:24] local.INFO: Processing buffer {"connection_id":230023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9bb93c8012d0cb90007075ac0001f012728..."} 
[2026-11-05 08:54:24] local.INFO: Packet analysis {"connection_id":230023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9bb"} 
[2026-11-05 08:54:24] local.INFO: Extracted packet for processing {"connection_id":230023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9bb"} 
[2026-11-05 08:54:24] local.INFO: GPS Element Parsed {"raw_longitude":755808512,"raw_latitude":117922496,"longitude_deg":75.5808512,"latitude_deg":11.7922496,"altitude":31,"angle":295,"satellites":40,"speed":9,"hex_longitude":"2d0cb900","hex_latitude":"07075ac0","is_valid_coordinates":true} 
[2026-11-05 08:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225340672001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39376646716784640,"note":"Value kept but may cause issues"} 
[2026-11-05 08:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":926193441053786112,"note":"Value kept but may cause issues"} 
[2026-11-05 08:54:24] 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-05 08:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793849005000,"timestamp_ms":1793849005000,"timestamp_seconds":1793849005,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9bb93c8"} 
[2026-11-05 08:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:54: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-05 08:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-11-05 08:54:24] 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-05 08:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":230023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":230023,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":230023,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225340672001,"66":14428,"221":206,"94":10240,"24":9,"16":39376646716784640,"45":926193441053786112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-11-05 08:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225340672001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:54:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-05 08:54:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39376646716784640,"km_value":39376646716784.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":926193441053786112,"description":"Unknown IO ID 45"} 
[2026-11-05 08:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225340672001,"power":14428,"unknown_221":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":926193441053786112}} 
[2026-11-05 08:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":230023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62033,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:54:24] local.INFO: GPS data processed {"connection_id":230023,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:54:24] local.INFO: Acknowledgment sent {"connection_id":230023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:54:38] local.INFO: TCP Data received {"connection_id":233247,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ba91f8012d801fc005c4db28000e009135..."} 
[2026-11-05 08:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ba91f8012d801fc005c4db28000e009135..."} 
[2026-11-05 08:54:38] local.INFO: Processing buffer {"connection_id":233247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ba91f8012d801fc005c4db28000e009135..."} 
[2026-11-05 08:54:38] local.INFO: Packet analysis {"connection_id":233247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ba"} 
[2026-11-05 08:54:38] local.INFO: Extracted packet for processing {"connection_id":233247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ba"} 
[2026-11-05 08:54:38] local.INFO: GPS Element Parsed {"raw_longitude":763371456,"raw_latitude":96787240,"longitude_deg":76.3371456,"latitude_deg":9.678724,"altitude":14,"angle":145,"satellites":53,"speed":22,"hex_longitude":"2d801fc0","hex_latitude":"05c4db28","is_valid_coordinates":true} 
[2026-11-05 08:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225327872001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40218327162814464,"note":"Value kept but may cause issues"} 
[2026-11-05 08:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9214998131519848448,"note":"Value kept but may cause issues"} 
[2026-11-05 08:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1793848939000,"timestamp_ms":1793848939000,"timestamp_seconds":1793848939,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ba91f8"} 
[2026-11-05 08:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-05 08:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":233247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":233247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":233247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:54:38] 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-05 08:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225327872001,"66":27974,"235":206,"85":12288,"24":22,"16":40218327162814464,"45":-9214998131519848448},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-11-05 08:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225327872001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:54:38] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-05 08:54:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 08:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40218327162814464,"km_value":40218327162814.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9214998131519848448,"description":"Unknown IO ID 45"} 
[2026-11-05 08:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225327872001,"power":27974,"unknown_235":206,"unknown_85":12288,"ignition":22,"odometer":null,"unknown_45":-9214998131519848448}} 
[2026-11-05 08:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":233247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:54:38] local.INFO: GPS data processed {"connection_id":233247,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:54:38] local.INFO: Acknowledgment sent {"connection_id":233247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:54:49] local.INFO: TCP Data received {"connection_id":230024,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230024,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:54:49] local.INFO: Processing buffer {"connection_id":230024,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:54:49] local.INFO: IMEI packet received {"connection_id":230024,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":230024,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:54:54] local.INFO: TCP Data received {"connection_id":230024,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230024,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:54:54] local.INFO: Processing buffer {"connection_id":230024,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:54:54] local.INFO: IMEI packet received {"connection_id":230024,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":230024,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:54:54] local.INFO: TCP Data received {"connection_id":230024,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9bc91b0012d0c834007077380001b011129..."} 
[2026-11-05 08:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9bc91b0012d0c834007077380001b011129..."} 
[2026-11-05 08:54:54] local.INFO: Processing buffer {"connection_id":230024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9bc91b0012d0c834007077380001b011129..."} 
[2026-11-05 08:54:54] local.INFO: Packet analysis {"connection_id":230024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9bc"} 
[2026-11-05 08:54:54] local.INFO: Extracted packet for processing {"connection_id":230024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9bc"} 
[2026-11-05 08:54:54] local.INFO: GPS Element Parsed {"raw_longitude":755794752,"raw_latitude":117928832,"longitude_deg":75.5794752,"latitude_deg":11.7928832,"altitude":27,"angle":273,"satellites":41,"speed":15,"hex_longitude":"2d0c8340","hex_latitude":"07077380","is_valid_coordinates":true} 
[2026-11-05 08:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225360896001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39377617379393536,"note":"Value kept but may cause issues"} 
[2026-11-05 08:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904097655384553472,"note":"Value kept but may cause issues"} 
[2026-11-05 08:54:54] 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-05 08:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793849070000,"timestamp_ms":1793849070000,"timestamp_seconds":1793849070,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9bc91b0"} 
[2026-11-05 08:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:54:54] 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-05 08:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-05 08:54:54] 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-05 08:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":230024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":230024,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":230024,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225360896001,"66":14167,"221":206,"94":10240,"24":15,"16":39377617379393536,"45":904097655384553472},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-11-05 08:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225360896001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:54:54] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-05 08:54:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39377617379393536,"km_value":39377617379393.54,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":904097655384553472,"description":"Unknown IO ID 45"} 
[2026-11-05 08:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225360896001,"power":14167,"unknown_221":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":904097655384553472}} 
[2026-11-05 08:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":230024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62035,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:54:54] local.INFO: GPS data processed {"connection_id":230024,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:54:54] local.INFO: Acknowledgment sent {"connection_id":230024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:55:04] local.INFO: TCP Data received {"connection_id":230025,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:55:04] local.INFO: Processing buffer {"connection_id":230025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:55:04] local.INFO: IMEI packet received {"connection_id":230025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":230025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:55:09] local.INFO: TCP Data received {"connection_id":230025,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:55:09] local.INFO: Processing buffer {"connection_id":230025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:55:09] local.INFO: IMEI packet received {"connection_id":230025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":230025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:55:10] local.INFO: TCP Data received {"connection_id":230025,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9bab908012d80310005c4c570000d008435..."} 
[2026-11-05 08:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9bab908012d80310005c4c570000d008435..."} 
[2026-11-05 08:55:10] local.INFO: Processing buffer {"connection_id":230025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9bab908012d80310005c4c570000d008435..."} 
[2026-11-05 08:55:10] local.INFO: Packet analysis {"connection_id":230025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ba"} 
[2026-11-05 08:55:10] local.INFO: Extracted packet for processing {"connection_id":230025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ba"} 
[2026-11-05 08:55:10] local.INFO: GPS Element Parsed {"raw_longitude":763375872,"raw_latitude":96781680,"longitude_deg":76.3375872,"latitude_deg":9.678168,"altitude":13,"angle":132,"satellites":53,"speed":22,"hex_longitude":"2d803100","hex_latitude":"05c4c570","is_valid_coordinates":true} 
[2026-11-05 08:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225328384001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40218670760198144,"note":"Value kept but may cause issues"} 
[2026-11-05 08:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9214435181566679040,"note":"Value kept but may cause issues"} 
[2026-11-05 08:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793848949000,"timestamp_ms":1793848949000,"timestamp_seconds":1793848949,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9bab908"} 
[2026-11-05 08:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:55: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-05 08:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-05 08:55: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-05 08:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:55:10] 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-05 08:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225328384001,"66":27908,"235":206,"85":12288,"24":22,"16":40218670760198144,"45":-9214435181566679040},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-11-05 08:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225328384001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:55:10] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-05 08:55:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 08:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40218670760198144,"km_value":40218670760198.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9214435181566679040,"description":"Unknown IO ID 45"} 
[2026-11-05 08:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225328384001,"power":27908,"unknown_235":206,"unknown_85":12288,"ignition":22,"odometer":null,"unknown_45":-9214435181566679040}} 
[2026-11-05 08:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":230025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:55:10] local.INFO: GPS data processed {"connection_id":230025,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:55:10] local.INFO: Acknowledgment sent {"connection_id":230025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:55:25] local.INFO: TCP Data received {"connection_id":230024,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9bd58e8012d0c344007075610001700df28..."} 
[2026-11-05 08:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9bd58e8012d0c344007075610001700df28..."} 
[2026-11-05 08:55:25] local.INFO: Processing buffer {"connection_id":230024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9bd58e8012d0c344007075610001700df28..."} 
[2026-11-05 08:55:25] local.INFO: Packet analysis {"connection_id":230024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9bd"} 
[2026-11-05 08:55:25] local.INFO: Extracted packet for processing {"connection_id":230024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9bd"} 
[2026-11-05 08:55:25] local.INFO: GPS Element Parsed {"raw_longitude":755774528,"raw_latitude":117921296,"longitude_deg":75.5774528,"latitude_deg":11.7921296,"altitude":23,"angle":223,"satellites":40,"speed":22,"hex_longitude":"2d0c3440","hex_latitude":"07075610","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225374720001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39378923049451520,"note":"Value kept but may cause issues"} 
[2026-11-05 08:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":879820438641297408,"note":"Value kept but may cause issues"} 
[2026-11-05 08:55:25] 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-05 08:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793849121000,"timestamp_ms":1793849121000,"timestamp_seconds":1793849121,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9bd58e8"} 
[2026-11-05 08: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-05 08:55:25] 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-05 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 08:55:25] 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-05 08: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-05 08: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-05 08:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":230024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":230024,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":230024,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225374720001,"66":14407,"221":206,"94":10240,"24":22,"16":39378923049451520,"45":879820438641297408},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-11-05 08:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225374720001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:55:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-05 08:55:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39378923049451520,"km_value":39378923049451.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":879820438641297408,"description":"Unknown IO ID 45"} 
[2026-11-05 08:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225374720001,"power":14407,"unknown_221":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":879820438641297408}} 
[2026-11-05 08:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":230024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62037,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:55:25] local.INFO: GPS data processed {"connection_id":230024,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:55:25] local.INFO: Acknowledgment sent {"connection_id":230024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:55:41] local.INFO: TCP Data received {"connection_id":230025,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9bac4c0012d80350005c4c280000e007535..."} 
[2026-11-05 08:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9bac4c0012d80350005c4c280000e007535..."} 
[2026-11-05 08:55:41] local.INFO: Processing buffer {"connection_id":230025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9bac4c0012d80350005c4c280000e007535..."} 
[2026-11-05 08:55:41] local.INFO: Packet analysis {"connection_id":230025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ba"} 
[2026-11-05 08:55:41] local.INFO: Extracted packet for processing {"connection_id":230025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ba"} 
[2026-11-05 08:55:41] local.INFO: GPS Element Parsed {"raw_longitude":763376896,"raw_latitude":96780928,"longitude_deg":76.3376896,"latitude_deg":9.6780928,"altitude":14,"angle":117,"satellites":53,"speed":13,"hex_longitude":"2d803500","hex_latitude":"05c4c280","is_valid_coordinates":true} 
[2026-11-05 08:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225330944001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40218735184707584,"note":"Value kept but may cause issues"} 
[2026-11-05 08:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9209579738219843584,"note":"Value kept but may cause issues"} 
[2026-11-05 08:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793848952000,"timestamp_ms":1793848952000,"timestamp_seconds":1793848952,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9bac4c0"} 
[2026-11-05 08:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:55: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-05 08:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 08:55: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-05 08:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:55:41] 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-05 08:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225330944001,"66":27821,"235":206,"85":12288,"24":13,"16":40218735184707584,"45":-9209579738219843584},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-11-05 08:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225330944001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:55:41] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-05 08:55:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 08:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40218735184707584,"km_value":40218735184707.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9209579738219843584,"description":"Unknown IO ID 45"} 
[2026-11-05 08:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225330944001,"power":27821,"unknown_235":206,"unknown_85":12288,"ignition":13,"odometer":null,"unknown_45":-9209579738219843584}} 
[2026-11-05 08:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":230025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:55:41] local.INFO: GPS data processed {"connection_id":230025,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:55:41] local.INFO: Acknowledgment sent {"connection_id":230025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:55:49] local.INFO: TCP Data received {"connection_id":233249,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233249,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:55:49] local.INFO: Processing buffer {"connection_id":233249,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:55:49] local.INFO: IMEI packet received {"connection_id":233249,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":233249,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:55:54] local.INFO: TCP Data received {"connection_id":233249,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233249,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:55:54] local.INFO: Processing buffer {"connection_id":233249,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:55:54] local.INFO: IMEI packet received {"connection_id":233249,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":233249,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:55:55] local.INFO: TCP Data received {"connection_id":233249,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9bd5cd0012d0c324007075510001700f525..."} 
[2026-11-05 08:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9bd5cd0012d0c324007075510001700f525..."} 
[2026-11-05 08:55:55] local.INFO: Processing buffer {"connection_id":233249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9bd5cd0012d0c324007075510001700f525..."} 
[2026-11-05 08:55:55] local.INFO: Packet analysis {"connection_id":233249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9bd"} 
[2026-11-05 08:55:55] local.INFO: Extracted packet for processing {"connection_id":233249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9bd"} 
[2026-11-05 08:55:55] local.INFO: GPS Element Parsed {"raw_longitude":755774016,"raw_latitude":117921040,"longitude_deg":75.5774016,"latitude_deg":11.792104,"altitude":23,"angle":245,"satellites":37,"speed":21,"hex_longitude":"2d0c3240","hex_latitude":"07075510","is_valid_coordinates":true} 
[2026-11-05 08:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225374976001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39378948819255296,"note":"Value kept but may cause issues"} 
[2026-11-05 08:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":879398226176118784,"note":"Value kept but may cause issues"} 
[2026-11-05 08:55:55] 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-05 08:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793849122000,"timestamp_ms":1793849122000,"timestamp_seconds":1793849122,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9bd5cd0"} 
[2026-11-05 08:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:55:55] 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-05 08:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 08:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233249,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233249,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225374976001,"66":14407,"221":206,"94":10240,"24":21,"16":39378948819255296,"45":879398226176118784},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-11-05 08:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225374976001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:55:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-05 08:55:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39378948819255296,"km_value":39378948819255.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":879398226176118784,"description":"Unknown IO ID 45"} 
[2026-11-05 08:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225374976001,"power":14407,"unknown_221":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":879398226176118784}} 
[2026-11-05 08:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":233249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62039,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:55:55] local.INFO: GPS data processed {"connection_id":233249,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:55:55] local.INFO: Acknowledgment sent {"connection_id":233249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:56:04] local.INFO: TCP Data received {"connection_id":229513,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:56:04] local.INFO: Processing buffer {"connection_id":229513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:56:04] local.INFO: IMEI packet received {"connection_id":229513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":229513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:56:09] local.INFO: TCP Data received {"connection_id":229513,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:56:09] local.INFO: Processing buffer {"connection_id":229513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:56:09] local.INFO: IMEI packet received {"connection_id":229513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":229513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:56:10] local.INFO: TCP Data received {"connection_id":229513,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9bae018012d803cc005c4beb8000d008535..."} 
[2026-11-05 08:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9bae018012d803cc005c4beb8000d008535..."} 
[2026-11-05 08:56:10] local.INFO: Processing buffer {"connection_id":229513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9bae018012d803cc005c4beb8000d008535..."} 
[2026-11-05 08:56:10] local.INFO: Packet analysis {"connection_id":229513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ba"} 
[2026-11-05 08:56:10] local.INFO: Extracted packet for processing {"connection_id":229513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ba"} 
[2026-11-05 08:56:10] local.INFO: GPS Element Parsed {"raw_longitude":763378880,"raw_latitude":96779960,"longitude_deg":76.337888,"latitude_deg":9.677996,"altitude":13,"angle":133,"satellites":53,"speed":13,"hex_longitude":"2d803cc0","hex_latitude":"05c4beb8","is_valid_coordinates":true} 
[2026-11-05 08:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225331712001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40218842558889984,"note":"Value kept but may cause issues"} 
[2026-11-05 08:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9208453838313193472,"note":"Value kept but may cause issues"} 
[2026-11-05 08:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793848959000,"timestamp_ms":1793848959000,"timestamp_seconds":1793848959,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9bae018"} 
[2026-11-05 08:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-05 08:56:10] 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-05 08:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:56:10] 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-05 08:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225331712001,"66":27930,"235":206,"85":12288,"24":13,"16":40218842558889984,"45":-9208453838313193472},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-11-05 08:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225331712001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:56:10] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-05 08:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 08:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40218842558889984,"km_value":40218842558889.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9208453838313193472,"description":"Unknown IO ID 45"} 
[2026-11-05 08:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225331712001,"power":27930,"unknown_235":206,"unknown_85":12288,"ignition":13,"odometer":null,"unknown_45":-9208453838313193472}} 
[2026-11-05 08:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":229513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:56:10] local.INFO: GPS data processed {"connection_id":229513,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:56:10] local.INFO: Acknowledgment sent {"connection_id":229513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:56:27] local.INFO: TCP Data received {"connection_id":233249,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9be2bd8012d0bb1c007071830001700e728..."} 
[2026-11-05 08:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9be2bd8012d0bb1c007071830001700e728..."} 
[2026-11-05 08:56:27] local.INFO: Processing buffer {"connection_id":233249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9be2bd8012d0bb1c007071830001700e728..."} 
[2026-11-05 08:56:27] local.INFO: Packet analysis {"connection_id":233249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9be"} 
[2026-11-05 08:56:27] local.INFO: Extracted packet for processing {"connection_id":233249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9be"} 
[2026-11-05 08:56:27] local.INFO: GPS Element Parsed {"raw_longitude":755741120,"raw_latitude":117905456,"longitude_deg":75.574112,"latitude_deg":11.7905456,"altitude":23,"angle":231,"satellites":40,"speed":23,"hex_longitude":"2d0bb1c0","hex_latitude":"07071830","is_valid_coordinates":true} 
[2026-11-05 08:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225388544001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39381040468328448,"note":"Value kept but may cause issues"} 
[2026-11-05 08:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843228691664834560,"note":"Value kept but may cause issues"} 
[2026-11-05 08:56:27] 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-05 08:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793849175000,"timestamp_ms":1793849175000,"timestamp_seconds":1793849175,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9be2bd8"} 
[2026-11-05 08:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:56:27] 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-05 08:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-05 08:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":233249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":233249,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":233249,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225388544001,"66":14396,"163":206,"94":10240,"24":23,"16":39381040468328448,"45":843228691664834560},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-11-05 08:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225388544001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:56:27] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-05 08:56:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39381040468328448,"km_value":39381040468328.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":843228691664834560,"description":"Unknown IO ID 45"} 
[2026-11-05 08:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225388544001,"power":14396,"unknown_163":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":843228691664834560}} 
[2026-11-05 08:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":233249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62041,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:56:27] local.INFO: GPS data processed {"connection_id":233249,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:56:27] local.INFO: Acknowledgment sent {"connection_id":233249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:56:36] local.INFO: TCP Data received {"connection_id":233250,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233250,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:56:36] local.INFO: Processing buffer {"connection_id":233250,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:56:36] local.INFO: IMEI packet received {"connection_id":233250,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 08:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":233250,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:56:41] local.INFO: TCP Data received {"connection_id":229513,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9bae7e8012d803ec005c4bc98000d009234..."} 
[2026-11-05 08:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9bae7e8012d803ec005c4bc98000d009234..."} 
[2026-11-05 08:56:41] local.INFO: Processing buffer {"connection_id":229513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9bae7e8012d803ec005c4bc98000d009234..."} 
[2026-11-05 08:56:41] local.INFO: Packet analysis {"connection_id":229513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ba"} 
[2026-11-05 08:56:41] local.INFO: Extracted packet for processing {"connection_id":229513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ba"} 
[2026-11-05 08:56:41] local.INFO: GPS Element Parsed {"raw_longitude":763379392,"raw_latitude":96779416,"longitude_deg":76.3379392,"latitude_deg":9.6779416,"altitude":13,"angle":146,"satellites":52,"speed":14,"hex_longitude":"2d803ec0","hex_latitude":"05c4bc98","is_valid_coordinates":true} 
[2026-11-05 08:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225333504001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40218876918628352,"note":"Value kept but may cause issues"} 
[2026-11-05 08:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9206272407243933696,"note":"Value kept but may cause issues"} 
[2026-11-05 08:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793848961000,"timestamp_ms":1793848961000,"timestamp_seconds":1793848961,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9bae7e8"} 
[2026-11-05 08:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 08:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-05 08:56:41] 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-05 08:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:56:41] 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-05 08:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225333504001,"66":27843,"235":206,"85":12288,"24":14,"16":40218876918628352,"45":-9206272407243933696},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-11-05 08:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225333504001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:56:41] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-05 08:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 08:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40218876918628352,"km_value":40218876918628.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9206272407243933696,"description":"Unknown IO ID 45"} 
[2026-11-05 08:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225333504001,"power":27843,"unknown_235":206,"unknown_85":12288,"ignition":14,"odometer":null,"unknown_45":-9206272407243933696}} 
[2026-11-05 08:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":229513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:56:41] local.INFO: GPS data processed {"connection_id":229513,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:56:41] local.INFO: Acknowledgment sent {"connection_id":229513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:56:49] local.INFO: TCP Data received {"connection_id":230026,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230026,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:56:49] local.INFO: Processing buffer {"connection_id":230026,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:56:49] local.INFO: IMEI packet received {"connection_id":230026,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":230026,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:56:49] local.INFO: TCP Data received {"connection_id":230026,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230026,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:56:49] local.INFO: Processing buffer {"connection_id":230026,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:56:49] local.INFO: IMEI packet received {"connection_id":230026,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":230026,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:56:52] local.INFO: TCP Data received {"connection_id":230026,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230026,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:56:52] local.INFO: Processing buffer {"connection_id":230026,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:56:52] local.INFO: IMEI packet received {"connection_id":230026,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":230026,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:56:54] local.INFO: TCP Data received {"connection_id":230026,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230026,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:56:54] local.INFO: Processing buffer {"connection_id":230026,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:56:54] local.INFO: IMEI packet received {"connection_id":230026,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":230026,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:56:55] local.INFO: TCP Data received {"connection_id":230026,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9be2fc0012d0baf0007071748001700f728..."} 
[2026-11-05 08:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9be2fc0012d0baf0007071748001700f728..."} 
[2026-11-05 08:56:55] local.INFO: Processing buffer {"connection_id":230026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9be2fc0012d0baf0007071748001700f728..."} 
[2026-11-05 08:56:55] local.INFO: Packet analysis {"connection_id":230026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9be"} 
[2026-11-05 08:56:55] local.INFO: Extracted packet for processing {"connection_id":230026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9be"} 
[2026-11-05 08:56:55] local.INFO: GPS Element Parsed {"raw_longitude":755740416,"raw_latitude":117905224,"longitude_deg":75.5740416,"latitude_deg":11.7905224,"altitude":23,"angle":247,"satellites":40,"speed":27,"hex_longitude":"2d0baf00","hex_latitude":"07071748","is_valid_coordinates":true} 
[2026-11-05 08: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-05 08:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225388800001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39381074828066816,"note":"Value kept but may cause issues"} 
[2026-11-05 08:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":842665741711323136,"note":"Value kept but may cause issues"} 
[2026-11-05 08:56:55] 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-05 08:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793849176000,"timestamp_ms":1793849176000,"timestamp_seconds":1793849176,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9be2fc0"} 
[2026-11-05 08: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-05 08:56:55] 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-05 08: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-05 08:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08: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-05 08: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-05 08:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230026,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230026,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225388800001,"66":14396,"163":206,"94":10240,"24":27,"16":39381074828066816,"45":842665741711323136},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-11-05 08:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225388800001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:56:55] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-05 08:56:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39381074828066816,"km_value":39381074828066.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":842665741711323136,"description":"Unknown IO ID 45"} 
[2026-11-05 08:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225388800001,"power":14396,"unknown_163":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":842665741711323136}} 
[2026-11-05 08:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":230026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62043,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:56:55] local.INFO: GPS data processed {"connection_id":230026,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:56:55] local.INFO: Acknowledgment sent {"connection_id":230026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:57:00] local.INFO: TCP Data received {"connection_id":230026,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9be4730012d0b9d00070711280016010429..."} 
[2026-11-05 08:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9be4730012d0b9d00070711280016010429..."} 
[2026-11-05 08:57:00] local.INFO: Processing buffer {"connection_id":230026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9be4730012d0b9d00070711280016010429..."} 
[2026-11-05 08:57:00] local.INFO: Packet analysis {"connection_id":230026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9be"} 
[2026-11-05 08:57:00] local.INFO: Extracted packet for processing {"connection_id":230026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9be"} 
[2026-11-05 08:57:00] local.INFO: GPS Element Parsed {"raw_longitude":755735808,"raw_latitude":117903656,"longitude_deg":75.5735808,"latitude_deg":11.7903656,"altitude":22,"angle":260,"satellites":41,"speed":35,"hex_longitude":"2d0b9d00","hex_latitude":"07071128","is_valid_coordinates":true} 
[2026-11-05 08:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225389056001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39381306756300800,"note":"Value kept but may cause issues"} 
[2026-11-05 08:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":841891685525309440,"note":"Value kept but may cause issues"} 
[2026-11-05 08:57: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-05 08:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793849182000,"timestamp_ms":1793849182000,"timestamp_seconds":1793849182,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9be4730"} 
[2026-11-05 08:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:57:00] 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-05 08:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-05 08:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":230026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":230026,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":230026,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225389056001,"66":14407,"163":206,"94":10240,"24":35,"16":39381306756300800,"45":841891685525309440},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-11-05 08:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225389056001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:57:00] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-05 08:57:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39381306756300800,"km_value":39381306756300.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":841891685525309440,"description":"Unknown IO ID 45"} 
[2026-11-05 08:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225389056001,"power":14407,"unknown_163":206,"unknown_94":10240,"ignition":35,"odometer":null,"unknown_45":841891685525309440}} 
[2026-11-05 08:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":230026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62044,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:57:00] local.INFO: GPS data processed {"connection_id":230026,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:57:00] local.INFO: Acknowledgment sent {"connection_id":230026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:57:06] local.INFO: TCP Data received {"connection_id":233251,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:57:06] local.INFO: Processing buffer {"connection_id":233251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:57:06] local.INFO: IMEI packet received {"connection_id":233251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":233251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:57:06] local.INFO: TCP Data received {"connection_id":229514,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229514,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:57:06] local.INFO: Processing buffer {"connection_id":229514,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 08:57:06] local.INFO: IMEI packet received {"connection_id":229514,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 08:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":229514,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:57:11] local.INFO: TCP Data received {"connection_id":233251,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:57:11] local.INFO: Processing buffer {"connection_id":233251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:57:11] local.INFO: IMEI packet received {"connection_id":233251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":233251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:57:12] local.INFO: TCP Data received {"connection_id":233251,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9bdc260012d8089c005c39b78000e00b533..."} 
[2026-11-05 08:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9bdc260012d8089c005c39b78000e00b533..."} 
[2026-11-05 08:57:12] local.INFO: Processing buffer {"connection_id":233251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9bdc260012d8089c005c39b78000e00b533..."} 
[2026-11-05 08:57:12] local.INFO: Packet analysis {"connection_id":233251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9bd"} 
[2026-11-05 08:57:12] local.INFO: Extracted packet for processing {"connection_id":233251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9bd"} 
[2026-11-05 08:57:12] local.INFO: GPS Element Parsed {"raw_longitude":763398592,"raw_latitude":96705400,"longitude_deg":76.3398592,"latitude_deg":9.67054,"altitude":14,"angle":181,"satellites":51,"speed":5,"hex_longitude":"2d8089c0","hex_latitude":"05c39b78","is_valid_coordinates":true} 
[2026-11-05 08:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225377536001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40222785338867712,"note":"Value kept but may cause issues"} 
[2026-11-05 08:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9183824777869416448,"note":"Value kept but may cause issues"} 
[2026-11-05 08:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793849148000,"timestamp_ms":1793849148000,"timestamp_seconds":1793849148,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9bdc260"} 
[2026-11-05 08:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:57: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-05 08:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 08:57: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-05 08:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":233251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":233251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":233251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:57:12] 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-05 08:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225377536001,"66":27974,"157":206,"85":12288,"24":5,"16":40222785338867712,"45":-9183824777869416448},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-11-05 08:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225377536001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:57:12] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-11-05 08:57:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 08:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40222785338867712,"km_value":40222785338867.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9183824777869416448,"description":"Unknown IO ID 45"} 
[2026-11-05 08:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225377536001,"power":27974,"unknown_157":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":-9183824777869416448}} 
[2026-11-05 08:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":233251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:57:12] local.INFO: GPS data processed {"connection_id":233251,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:57:12] local.INFO: Acknowledgment sent {"connection_id":233251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:57:13] local.INFO: TCP Data received {"connection_id":233251,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9be1468012d80850005c37f80000c00bb35..."} 
[2026-11-05 08:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9be1468012d80850005c37f80000c00bb35..."} 
[2026-11-05 08:57:13] local.INFO: Processing buffer {"connection_id":233251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9be1468012d80850005c37f80000c00bb35..."} 
[2026-11-05 08:57:13] local.INFO: Packet analysis {"connection_id":233251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9be"} 
[2026-11-05 08:57:13] local.INFO: Extracted packet for processing {"connection_id":233251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9be"} 
[2026-11-05 08:57:13] local.INFO: GPS Element Parsed {"raw_longitude":763397376,"raw_latitude":96698240,"longitude_deg":76.3397376,"latitude_deg":9.669824,"altitude":12,"angle":187,"satellites":53,"speed":16,"hex_longitude":"2d808500","hex_latitude":"05c37f80","is_valid_coordinates":true} 
[2026-11-05 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-05 08:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225381888001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40223137526185984,"note":"Value kept but may cause issues"} 
[2026-11-05 08:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9184598834056300544,"note":"Value kept but may cause issues"} 
[2026-11-05 08:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793849169000,"timestamp_ms":1793849169000,"timestamp_seconds":1793849169,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9be1468"} 
[2026-11-05 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-05 08:57: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-05 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-05 08:57: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-05 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-05 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-05 08:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":233251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":233251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":233251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:57: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-05 08:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225381888001,"66":27919,"157":206,"85":12288,"24":16,"16":40223137526185984,"45":-9184598834056300544},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-11-05 08:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225381888001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:57:14] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-11-05 08:57:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 08:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40223137526185984,"km_value":40223137526185.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9184598834056300544,"description":"Unknown IO ID 45"} 
[2026-11-05 08:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225381888001,"power":27919,"unknown_157":206,"unknown_85":12288,"ignition":16,"odometer":null,"unknown_45":-9184598834056300544}} 
[2026-11-05 08:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":233251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:57:14] local.INFO: GPS data processed {"connection_id":233251,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:57:14] local.INFO: Acknowledgment sent {"connection_id":233251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:57:31] local.INFO: TCP Data received {"connection_id":230026,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9be6e40012d0b780007070c400011010d27..."} 
[2026-11-05 08:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9be6e40012d0b780007070c400011010d27..."} 
[2026-11-05 08:57:31] local.INFO: Processing buffer {"connection_id":230026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9be6e40012d0b780007070c400011010d27..."} 
[2026-11-05 08:57:31] local.INFO: Packet analysis {"connection_id":230026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9be"} 
[2026-11-05 08:57:31] local.INFO: Extracted packet for processing {"connection_id":230026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9be"} 
[2026-11-05 08:57:31] local.INFO: GPS Element Parsed {"raw_longitude":755726336,"raw_latitude":117902400,"longitude_deg":75.5726336,"latitude_deg":11.79024,"altitude":17,"angle":269,"satellites":39,"speed":35,"hex_longitude":"2d0b7800","hex_latitude":"07070c40","is_valid_coordinates":true} 
[2026-11-05 08:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225390592001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39381762022834176,"note":"Value kept but may cause issues"} 
[2026-11-05 08:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":836825135944116224,"note":"Value kept but may cause issues"} 
[2026-11-05 08:57:31] 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-05 08:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793849192000,"timestamp_ms":1793849192000,"timestamp_seconds":1793849192,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9be6e40"} 
[2026-11-05 08:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:57:31] 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-05 08:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 08:57: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-05 08:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":230026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":230026,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":230026,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225390592001,"66":14461,"163":206,"94":10240,"24":35,"16":39381762022834176,"45":836825135944116224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-11-05 08:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225390592001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:57:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-05 08:57:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39381762022834176,"km_value":39381762022834.18,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":836825135944116224,"description":"Unknown IO ID 45"} 
[2026-11-05 08:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225390592001,"power":14461,"unknown_163":206,"unknown_94":10240,"ignition":35,"odometer":null,"unknown_45":836825135944116224}} 
[2026-11-05 08:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":230026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62047,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:57:32] local.INFO: GPS data processed {"connection_id":230026,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:57:32] local.INFO: Acknowledgment sent {"connection_id":230026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:57:45] local.INFO: TCP Data received {"connection_id":233251,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9be6670012d80804005c36120000d00bf34..."} 
[2026-11-05 08:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9be6670012d80804005c36120000d00bf34..."} 
[2026-11-05 08:57:45] local.INFO: Processing buffer {"connection_id":233251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9be6670012d80804005c36120000d00bf34..."} 
[2026-11-05 08:57:45] local.INFO: Packet analysis {"connection_id":233251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9be"} 
[2026-11-05 08:57:45] local.INFO: Extracted packet for processing {"connection_id":233251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9be"} 
[2026-11-05 08:57:45] local.INFO: GPS Element Parsed {"raw_longitude":763396160,"raw_latitude":96690464,"longitude_deg":76.339616,"latitude_deg":9.6690464,"altitude":13,"angle":191,"satellites":52,"speed":15,"hex_longitude":"2d808040","hex_latitude":"05c36120","is_valid_coordinates":true} 
[2026-11-05 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-05 08:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225387264001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40223519778275328,"note":"Value kept but may cause issues"} 
[2026-11-05 08:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9185935840197509120,"note":"Value kept but may cause issues"} 
[2026-11-05 08:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793849190000,"timestamp_ms":1793849190000,"timestamp_seconds":1793849190,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9be6670"} 
[2026-11-05 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-05 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-05 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 08:57: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-05 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-05 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-05 08:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":233251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":233251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":233251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:57: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-05 08:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225387264001,"66":27843,"179":206,"85":12288,"24":15,"16":40223519778275328,"45":-9185935840197509120},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-11-05 08:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225387264001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:57:45] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-05 08:57:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 08:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40223519778275328,"km_value":40223519778275.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9185935840197509120,"description":"Unknown IO ID 45"} 
[2026-11-05 08:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225387264001,"power":27843,"unknown_179":206,"unknown_85":12288,"ignition":15,"odometer":null,"unknown_45":-9185935840197509120}} 
[2026-11-05 08:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":233251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:57:45] local.INFO: GPS data processed {"connection_id":233251,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:57:45] local.INFO: Acknowledgment sent {"connection_id":233251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:57:49] local.INFO: TCP Data received {"connection_id":230027,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230027,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:57:49] local.INFO: Processing buffer {"connection_id":230027,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:57:49] local.INFO: IMEI packet received {"connection_id":230027,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":230027,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:57:54] local.INFO: TCP Data received {"connection_id":230027,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230027,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:57:54] local.INFO: Processing buffer {"connection_id":230027,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:57:54] local.INFO: IMEI packet received {"connection_id":230027,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":230027,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:57:55] local.INFO: TCP Data received {"connection_id":230027,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9be85b0012d0b634007070998000e00ff28..."} 
[2026-11-05 08:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9be85b0012d0b634007070998000e00ff28..."} 
[2026-11-05 08:57:55] local.INFO: Processing buffer {"connection_id":230027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9be85b0012d0b634007070998000e00ff28..."} 
[2026-11-05 08:57:55] local.INFO: Packet analysis {"connection_id":230027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9be"} 
[2026-11-05 08:57:55] local.INFO: Extracted packet for processing {"connection_id":230027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9be"} 
[2026-11-05 08:57:55] local.INFO: GPS Element Parsed {"raw_longitude":755721024,"raw_latitude":117901720,"longitude_deg":75.5721024,"latitude_deg":11.790172,"altitude":14,"angle":255,"satellites":40,"speed":34,"hex_longitude":"2d0b6340","hex_latitude":"07070998","is_valid_coordinates":true} 
[2026-11-05 08:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225393152001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39382015425904640,"note":"Value kept but may cause issues"} 
[2026-11-05 08:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":826410561805500416,"note":"Value kept but may cause issues"} 
[2026-11-05 08:57:55] 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-05 08:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793849198000,"timestamp_ms":1793849198000,"timestamp_seconds":1793849198,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9be85b0"} 
[2026-11-05 08:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:57:55] 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-05 08:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-05 08:57:55] 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-05 08:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230027,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230027,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225393152001,"66":14537,"163":206,"94":10240,"24":34,"16":39382015425904640,"45":826410561805500416},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-11-05 08:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225393152001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:57:55] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-05 08:57:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39382015425904640,"km_value":39382015425904.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":826410561805500416,"description":"Unknown IO ID 45"} 
[2026-11-05 08:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225393152001,"power":14537,"unknown_163":206,"unknown_94":10240,"ignition":34,"odometer":null,"unknown_45":826410561805500416}} 
[2026-11-05 08:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":230027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62049,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:57:55] local.INFO: GPS data processed {"connection_id":230027,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:57:55] local.INFO: Acknowledgment sent {"connection_id":230027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:58:09] local.INFO: TCP Data received {"connection_id":230028,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:58:09] local.INFO: Processing buffer {"connection_id":230028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:58:09] local.INFO: IMEI packet received {"connection_id":230028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":230028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:58:10] local.INFO: TCP Data received {"connection_id":230028,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:58:10] local.INFO: Processing buffer {"connection_id":230028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:58:10] local.INFO: IMEI packet received {"connection_id":230028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":230028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:58:14] local.INFO: TCP Data received {"connection_id":230028,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:58:14] local.INFO: Processing buffer {"connection_id":230028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:58:14] local.INFO: IMEI packet received {"connection_id":230028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":230028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:58:15] local.INFO: TCP Data received {"connection_id":230028,"ip":"42.109.136.11","data_length":1348,"data_hex":"000000000000030f8e0a000001a1a9be81c8012d807dc005c35730000e00cf35..."} 
[2026-11-05 08:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230028,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a1a9be81c8012d807dc005c35730000e00cf35..."} 
[2026-11-05 08:58:15] local.INFO: Processing buffer {"connection_id":230028,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a1a9be81c8012d807dc005c35730000e00cf35..."} 
[2026-11-05 08:58:15] local.INFO: Packet analysis {"connection_id":230028,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a1a9be"} 
[2026-11-05 08:58:15] local.INFO: Extracted packet for processing {"connection_id":230028,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a1a9be"} 
[2026-11-05 08:58:15] local.INFO: GPS Element Parsed {"raw_longitude":763395520,"raw_latitude":96687920,"longitude_deg":76.339552,"latitude_deg":9.668792,"altitude":14,"angle":207,"satellites":53,"speed":17,"hex_longitude":"2d807dc0","hex_latitude":"05c35730","is_valid_coordinates":true} 
[2026-11-05 08:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225392640001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40223648627294208,"note":"Value kept but may cause issues"} 
[2026-11-05 08:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9187272846338875392,"note":"Value kept but may cause issues"} 
[2026-11-05 08:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793849197000,"timestamp_ms":1793849197000,"timestamp_seconds":1793849197,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9be81c8"} 
[2026-11-05 08:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:58: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-05 08:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-05 08:58: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-05 08:58:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:58:15] 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-05 08:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225392640001,"66":27876,"179":206,"85":12288,"24":17,"16":40223648627294208,"45":-9187272846338875392},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-11-05 08:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225392640001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:58:15] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-05 08:58:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 08:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40223648627294208,"km_value":40223648627294.21,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9187272846338875392,"description":"Unknown IO ID 45"} 
[2026-11-05 08:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225392640001,"power":27876,"unknown_179":206,"unknown_85":12288,"ignition":17,"odometer":null,"unknown_45":-9187272846338875392}} 
[2026-11-05 08:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":230028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:58:15] local.INFO: GPS data processed {"connection_id":230028,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:58:15] local.INFO: Acknowledgment sent {"connection_id":230028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:58:15] local.INFO: Packet analysis {"connection_id":230028,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a1a9be"} 
[2026-11-05 08:58:15] local.INFO: Incomplete packet, waiting for more data {"connection_id":230028,"needed":795,"available":553} 
[2026-11-05 08:58:15] local.INFO: TCP Data received {"connection_id":230028,"ip":"42.109.136.11","data_length":242,"data_hex":"000000000001a1a9bce7a0012d80968005c3eeb0000d00bb3300120000000a00..."} 
[2026-11-05 08:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230028,"packet_length":242,"packet_hex":"000000000001a1a9bce7a0012d80968005c3eeb0000d00bb3300120000000a00..."} 
[2026-11-05 08:58:15] local.INFO: Processing buffer {"connection_id":230028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9be9550012d8078c005c34dc0000f00c335..."} 
[2026-11-05 08:58:15] local.INFO: Packet analysis {"connection_id":230028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9be"} 
[2026-11-05 08:58:15] local.INFO: Extracted packet for processing {"connection_id":230028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9be"} 
[2026-11-05 08:58:15] local.INFO: GPS Element Parsed {"raw_longitude":763394240,"raw_latitude":96685504,"longitude_deg":76.339424,"latitude_deg":9.6685504,"altitude":15,"angle":195,"satellites":53,"speed":26,"hex_longitude":"2d8078c0","hex_latitude":"05c34dc0","is_valid_coordinates":true} 
[2026-11-05 08:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225394432001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40223781771280384,"note":"Value kept but may cause issues"} 
[2026-11-05 08:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9187976533781303296,"note":"Value kept but may cause issues"} 
[2026-11-05 08:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793849202000,"timestamp_ms":1793849202000,"timestamp_seconds":1793849202,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9be9550"} 
[2026-11-05 08:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:58: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-05 08:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-05 08: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-05 08:58:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:58:15] 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-05 08:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225394432001,"66":27876,"179":206,"85":12288,"24":26,"16":40223781771280384,"45":-9187976533781303296},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-11-05 08:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225394432001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:58:15] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-05 08:58:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 08:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40223781771280384,"km_value":40223781771280.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9187976533781303296,"description":"Unknown IO ID 45"} 
[2026-11-05 08:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225394432001,"power":27876,"unknown_179":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":-9187976533781303296}} 
[2026-11-05 08:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":230028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:58:15] local.INFO: GPS data processed {"connection_id":230028,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:58:15] local.INFO: Acknowledgment sent {"connection_id":230028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:58:19] local.INFO: TCP Data received {"connection_id":230028,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9bec048012d80730005c32b68001000bc35..."} 
[2026-11-05 08:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9bec048012d80730005c32b68001000bc35..."} 
[2026-11-05 08:58:19] local.INFO: Processing buffer {"connection_id":230028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9bec048012d80730005c32b68001000bc35..."} 
[2026-11-05 08:58:19] local.INFO: Packet analysis {"connection_id":230028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9be"} 
[2026-11-05 08:58:19] local.INFO: Extracted packet for processing {"connection_id":230028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9be"} 
[2026-11-05 08:58:19] local.INFO: GPS Element Parsed {"raw_longitude":763392768,"raw_latitude":96676712,"longitude_deg":76.3392768,"latitude_deg":9.6676712,"altitude":16,"angle":188,"satellites":53,"speed":39,"hex_longitude":"2d807300","hex_latitude":"05c32b68","is_valid_coordinates":true} 
[2026-11-05 08:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225395712001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40224211268009984,"note":"Value kept but may cause issues"} 
[2026-11-05 08:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9189383908665475072,"note":"Value kept but may cause issues"} 
[2026-11-05 08:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793849213000,"timestamp_ms":1793849213000,"timestamp_seconds":1793849213,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9bec048"} 
[2026-11-05 08:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:58: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-05 08:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-05 08:58: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-05 08:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:58:19] 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-05 08:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225395712001,"66":27876,"179":206,"85":12288,"24":39,"16":40224211268009984,"45":-9189383908665475072},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-11-05 08:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225395712001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:58:19] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-05 08:58:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 08:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40224211268009984,"km_value":40224211268009.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9189383908665475072,"description":"Unknown IO ID 45"} 
[2026-11-05 08:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225395712001,"power":27876,"unknown_179":206,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":-9189383908665475072}} 
[2026-11-05 08:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":230028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:58:19] local.INFO: GPS data processed {"connection_id":230028,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:58:19] local.INFO: Acknowledgment sent {"connection_id":230028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:58:27] local.INFO: TCP Data received {"connection_id":230027,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c00098012d0b0540070641600010008a25..."} 
[2026-11-05 08:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c00098012d0b0540070641600010008a25..."} 
[2026-11-05 08:58:27] local.INFO: Processing buffer {"connection_id":230027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c00098012d0b0540070641600010008a25..."} 
[2026-11-05 08:58:27] local.INFO: Packet analysis {"connection_id":230027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c0"} 
[2026-11-05 08:58:27] local.INFO: Extracted packet for processing {"connection_id":230027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c0"} 
[2026-11-05 08:58:27] local.INFO: GPS Element Parsed {"raw_longitude":755696960,"raw_latitude":117850464,"longitude_deg":75.569696,"latitude_deg":11.7850464,"altitude":16,"angle":138,"satellites":37,"speed":9,"hex_longitude":"2d0b0540","hex_latitude":"07064160","is_valid_coordinates":true} 
[2026-11-05 08:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225414400001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39385099212423168,"note":"Value kept but may cause issues"} 
[2026-11-05 08:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":792774302075817984,"note":"Value kept but may cause issues"} 
[2026-11-05 08:58:27] 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-05 08:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793849295000,"timestamp_ms":1793849295000,"timestamp_seconds":1793849295,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c00098"} 
[2026-11-05 08:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:58:27] 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-05 08:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 08:58:27] 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-05 08:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":230027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":230027,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":230027,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225414400001,"66":14396,"165":206,"94":10240,"24":9,"16":39385099212423168,"45":792774302075817984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 08:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225414400001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:58:27] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 08:58:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39385099212423168,"km_value":39385099212423.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":792774302075817984,"description":"Unknown IO ID 45"} 
[2026-11-05 08:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225414400001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":792774302075817984}} 
[2026-11-05 08:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":230027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62053,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:58:27] local.INFO: GPS data processed {"connection_id":230027,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:58:27] local.INFO: Acknowledgment sent {"connection_id":230027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:58:49] local.INFO: TCP Data received {"connection_id":229515,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229515,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:58:49] local.INFO: Processing buffer {"connection_id":229515,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:58:49] local.INFO: IMEI packet received {"connection_id":229515,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":229515,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:58:49] local.INFO: TCP Data received {"connection_id":229515,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229515,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:58:49] local.INFO: Processing buffer {"connection_id":229515,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:58:49] local.INFO: IMEI packet received {"connection_id":229515,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":229515,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:58:54] local.INFO: TCP Data received {"connection_id":229515,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229515,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:58:54] local.INFO: Processing buffer {"connection_id":229515,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:58:54] local.INFO: IMEI packet received {"connection_id":229515,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":229515,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:58:54] local.INFO: TCP Data received {"connection_id":229515,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c00098012d0b0540070641600010008a25..."} 
[2026-11-05 08:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c00098012d0b0540070641600010008a25..."} 
[2026-11-05 08:58:54] local.INFO: Processing buffer {"connection_id":229515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c00098012d0b0540070641600010008a25..."} 
[2026-11-05 08:58:54] local.INFO: Packet analysis {"connection_id":229515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c0"} 
[2026-11-05 08:58:54] local.INFO: Extracted packet for processing {"connection_id":229515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c0"} 
[2026-11-05 08:58:54] local.INFO: GPS Element Parsed {"raw_longitude":755696960,"raw_latitude":117850464,"longitude_deg":75.569696,"latitude_deg":11.7850464,"altitude":16,"angle":138,"satellites":37,"speed":9,"hex_longitude":"2d0b0540","hex_latitude":"07064160","is_valid_coordinates":true} 
[2026-11-05 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-05 08:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225419520001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39385099212423168,"note":"Value kept but may cause issues"} 
[2026-11-05 08:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":794111308214657024,"note":"Value kept but may cause issues"} 
[2026-11-05 08:58:54] 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-05 08:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793849295000,"timestamp_ms":1793849295000,"timestamp_seconds":1793849295,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c00098"} 
[2026-11-05 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-05 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-05 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":60,"data_length":795,"current_offset":136} 
[2026-11-05 08:58:54] 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-05 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-05 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-05 08:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":229515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":229515,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":229515,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225419520001,"66":14396,"165":206,"94":10240,"24":9,"16":39385099212423168,"45":794111308214657024},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 08:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225419520001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:58:54] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 08:58:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39385099212423168,"km_value":39385099212423.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":794111308214657024,"description":"Unknown IO ID 45"} 
[2026-11-05 08:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225419520001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":794111308214657024}} 
[2026-11-05 08:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":229515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62054,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:58:55] local.INFO: GPS data processed {"connection_id":229515,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:58:55] local.INFO: Acknowledgment sent {"connection_id":229515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:59:04] local.INFO: TCP Data received {"connection_id":231331,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:59:04] local.INFO: Processing buffer {"connection_id":231331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:59:04] local.INFO: IMEI packet received {"connection_id":231331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 08:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":231331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:59:07] local.INFO: TCP Data received {"connection_id":231331,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:59:07] local.INFO: Processing buffer {"connection_id":231331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 08:59:07] local.INFO: IMEI packet received {"connection_id":231331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 08:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":231331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:59:08] local.INFO: TCP Data received {"connection_id":231331,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9bfe540012d8038c005c19768000d00bc33..."} 
[2026-11-05 08:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9bfe540012d8038c005c19768000d00bc33..."} 
[2026-11-05 08:59:08] local.INFO: Processing buffer {"connection_id":231331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9bfe540012d8038c005c19768000d00bc33..."} 
[2026-11-05 08:59:08] local.INFO: Packet analysis {"connection_id":231331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9bf"} 
[2026-11-05 08:59:08] local.INFO: Extracted packet for processing {"connection_id":231331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9bf"} 
[2026-11-05 08:59:08] local.INFO: GPS Element Parsed {"raw_longitude":763377856,"raw_latitude":96573288,"longitude_deg":76.3377856,"latitude_deg":9.6573288,"altitude":13,"angle":188,"satellites":51,"speed":58,"hex_longitude":"2d8038c0","hex_latitude":"05c19768","is_valid_coordinates":true} 
[2026-11-05 08:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225416192001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40229279329419264,"note":"Value kept but may cause issues"} 
[2026-11-05 08:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9205850194829514752,"note":"Value kept but may cause issues"} 
[2026-11-05 08:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793849288000,"timestamp_ms":1793849288000,"timestamp_seconds":1793849288,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9bfe540"} 
[2026-11-05 08:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-05 08:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-05 08:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":231331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":231331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":231331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:59:08] 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-05 08:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225416192001,"66":27919,"225":206,"85":12288,"24":58,"16":40229279329419264,"45":-9205850194829514752},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-11-05 08:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225416192001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:59:08] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-11-05 08:59:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 08:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40229279329419264,"km_value":40229279329419.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9205850194829514752,"description":"Unknown IO ID 45"} 
[2026-11-05 08:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225416192001,"power":27919,"unknown_225":206,"unknown_85":12288,"ignition":58,"odometer":null,"unknown_45":-9205850194829514752}} 
[2026-11-05 08:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":231331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:59:08] local.INFO: GPS data processed {"connection_id":231331,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:59:08] local.INFO: Acknowledgment sent {"connection_id":231331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:59:39] local.INFO: TCP Data received {"connection_id":231331,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c00098012d80330005c17088000f00bc35..."} 
[2026-11-05 08:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c00098012d80330005c17088000f00bc35..."} 
[2026-11-05 08:59:39] local.INFO: Processing buffer {"connection_id":231331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c00098012d80330005c17088000f00bc35..."} 
[2026-11-05 08:59:39] local.INFO: Packet analysis {"connection_id":231331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c0"} 
[2026-11-05 08:59:39] local.INFO: Extracted packet for processing {"connection_id":231331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c0"} 
[2026-11-05 08:59:39] local.INFO: GPS Element Parsed {"raw_longitude":763376384,"raw_latitude":96563336,"longitude_deg":76.3376384,"latitude_deg":9.6563336,"altitude":15,"angle":188,"satellites":53,"speed":56,"hex_longitude":"2d803300","hex_latitude":"05c17088","is_valid_coordinates":true} 
[2026-11-05 08:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225417728001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40229764660723712,"note":"Value kept but may cause issues"} 
[2026-11-05 08:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9207398307203684352,"note":"Value kept but may cause issues"} 
[2026-11-05 08:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793849295000,"timestamp_ms":1793849295000,"timestamp_seconds":1793849295,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c00098"} 
[2026-11-05 08:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:59: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-05 08:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 08:59: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-05 08:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":231331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":231331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":231331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 08:59:39] 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-05 08:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 08:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 08:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225417728001,"66":27908,"225":206,"85":12288,"24":56,"16":40229764660723712,"45":-9207398307203684352},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-11-05 08:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 08:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 08:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225417728001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:59:39] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-11-05 08:59:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 08:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40229764660723712,"km_value":40229764660723.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9207398307203684352,"description":"Unknown IO ID 45"} 
[2026-11-05 08:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225417728001,"power":27908,"unknown_225":206,"unknown_85":12288,"ignition":56,"odometer":null,"unknown_45":-9207398307203684352}} 
[2026-11-05 08:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":231331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:59:39] local.INFO: GPS data processed {"connection_id":231331,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:59:39] local.INFO: Acknowledgment sent {"connection_id":231331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:59:40] local.INFO: TCP Data received {"connection_id":229515,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c01420012d0b090007063a900011009826..."} 
[2026-11-05 08:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c01420012d0b090007063a900011009826..."} 
[2026-11-05 08:59:40] local.INFO: Processing buffer {"connection_id":229515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c01420012d0b090007063a900011009826..."} 
[2026-11-05 08:59:40] local.INFO: Packet analysis {"connection_id":229515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c0"} 
[2026-11-05 08:59:40] local.INFO: Extracted packet for processing {"connection_id":229515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c0"} 
[2026-11-05 08:59:40] local.INFO: GPS Element Parsed {"raw_longitude":755697920,"raw_latitude":117848720,"longitude_deg":75.569792,"latitude_deg":11.784872,"altitude":17,"angle":152,"satellites":38,"speed":20,"hex_longitude":"2d0b0900","hex_latitude":"07063a90","is_valid_coordinates":true} 
[2026-11-05 08:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225419520001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39385193701703680,"note":"Value kept but may cause issues"} 
[2026-11-05 08:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":794111308214657024,"note":"Value kept but may cause issues"} 
[2026-11-05 08:59:40] 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-05 08:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793849300000,"timestamp_ms":1793849300000,"timestamp_seconds":1793849300,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c01420"} 
[2026-11-05 08:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:59:40] 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-05 08:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-05 08:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 08:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229515,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229515,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225419520001,"66":14450,"165":206,"94":10240,"24":20,"16":39385193701703680,"45":794111308214657024},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 08:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225419520001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:59:40] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 08:59:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39385193701703680,"km_value":39385193701703.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":794111308214657024,"description":"Unknown IO ID 45"} 
[2026-11-05 08:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225419520001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":794111308214657024}} 
[2026-11-05 08:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":229515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62057,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:59:40] local.INFO: GPS data processed {"connection_id":229515,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:59:40] local.INFO: Acknowledgment sent {"connection_id":229515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:59:54] local.INFO: TCP Data received {"connection_id":230029,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230029,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:59:54] local.INFO: Processing buffer {"connection_id":230029,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:59:54] local.INFO: IMEI packet received {"connection_id":230029,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 08:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":230029,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 08:59:56] local.INFO: TCP Data received {"connection_id":230029,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230029,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:59:56] local.INFO: Processing buffer {"connection_id":230029,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 08:59:56] local.INFO: IMEI packet received {"connection_id":230029,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 08:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":230029,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 08:59:56] local.INFO: TCP Data received {"connection_id":230029,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c06628012d0b1480070629e80013009329..."} 
[2026-11-05 08:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c06628012d0b1480070629e80013009329..."} 
[2026-11-05 08:59:56] local.INFO: Processing buffer {"connection_id":230029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c06628012d0b1480070629e80013009329..."} 
[2026-11-05 08:59:56] local.INFO: Packet analysis {"connection_id":230029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c0"} 
[2026-11-05 08:59:56] local.INFO: Extracted packet for processing {"connection_id":230029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c0"} 
[2026-11-05 08:59:56] local.INFO: GPS Element Parsed {"raw_longitude":755700864,"raw_latitude":117844456,"longitude_deg":75.5700864,"latitude_deg":11.7844456,"altitude":19,"angle":147,"satellites":41,"speed":17,"hex_longitude":"2d0b1480","hex_latitude":"070629e8","is_valid_coordinates":true} 
[2026-11-05 08:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225420800001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39385447104774144,"note":"Value kept but may cause issues"} 
[2026-11-05 08:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795166839376875520,"note":"Value kept but may cause issues"} 
[2026-11-05 08:59:56] 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-05 08:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793849321000,"timestamp_ms":1793849321000,"timestamp_seconds":1793849321,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c06628"} 
[2026-11-05 08:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:59:56] 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-05 08:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-05 08:59:56] 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-05 08:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":230029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":230029,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":230029,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225420800001,"66":14515,"165":206,"94":10240,"24":17,"16":39385447104774144,"45":795166839376875520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 08:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225420800001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:59:56] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 08:59:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39385447104774144,"km_value":39385447104774.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":795166839376875520,"description":"Unknown IO ID 45"} 
[2026-11-05 08:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225420800001,"power":14515,"unknown_165":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":795166839376875520}} 
[2026-11-05 08:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":230029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62058,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 08:59:57] local.INFO: GPS data processed {"connection_id":230029,"processed":1,"errors":0,"total":1} 
[2026-11-05 08:59:57] local.INFO: Acknowledgment sent {"connection_id":230029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 08:59:59] local.INFO: TCP Data received {"connection_id":230029,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c07d98012d0b1e0007061e680013008329..."} 
[2026-11-05 08:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c07d98012d0b1e0007061e680013008329..."} 
[2026-11-05 08:59:59] local.INFO: Processing buffer {"connection_id":230029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c07d98012d0b1e0007061e680013008329..."} 
[2026-11-05 08:59:59] local.INFO: Packet analysis {"connection_id":230029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c0"} 
[2026-11-05 08:59:59] local.INFO: Extracted packet for processing {"connection_id":230029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c0"} 
[2026-11-05 08:59:59] local.INFO: GPS Element Parsed {"raw_longitude":755703296,"raw_latitude":117841512,"longitude_deg":75.5703296,"latitude_deg":11.7841512,"altitude":19,"angle":131,"satellites":41,"speed":30,"hex_longitude":"2d0b1e00","hex_latitude":"07061e68","is_valid_coordinates":true} 
[2026-11-05 08:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 08:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225426176001,"note":"Value kept but may cause issues"} 
[2026-11-05 08:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39385631788367872,"note":"Value kept but may cause issues"} 
[2026-11-05 08:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798403801607956480,"note":"Value kept but may cause issues"} 
[2026-11-05 08:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 08:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793849327000,"timestamp_ms":1793849327000,"timestamp_seconds":1793849327,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c07d98"} 
[2026-11-05 08:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 08:59: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-05 08:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-05 08:59:59] 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-05 08:59:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 08:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 08:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 08:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":230029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 08:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":230029,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":230029,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 08:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 08:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 08:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 08:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225426176001,"66":14450,"165":206,"94":10240,"24":30,"16":39385631788367872,"45":798403801607956480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 08:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 08:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 08:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225426176001,"description":"Unknown IO ID 0"} 
[2026-11-05 08:59:59] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 08:59:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 08:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39385631788367872,"km_value":39385631788367.875,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 08:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":798403801607956480,"description":"Unknown IO ID 45"} 
[2026-11-05 08:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225426176001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":30,"odometer":null,"unknown_45":798403801607956480}} 
[2026-11-05 09:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":230029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62059,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:00:00] local.INFO: GPS data processed {"connection_id":230029,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:00:00] local.INFO: Acknowledgment sent {"connection_id":230029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:00:03] local.INFO: TCP Data received {"connection_id":231332,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:00:03] local.INFO: Processing buffer {"connection_id":231332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:00:03] local.INFO: IMEI packet received {"connection_id":231332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":231332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:00:04] local.INFO: TCP Data received {"connection_id":231332,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:00:04] local.INFO: Processing buffer {"connection_id":231332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:00:04] local.INFO: IMEI packet received {"connection_id":231332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":231332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:00:09] local.INFO: TCP Data received {"connection_id":231332,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:00:09] local.INFO: Processing buffer {"connection_id":231332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:00:09] local.INFO: IMEI packet received {"connection_id":231332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":231332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:00:10] local.INFO: TCP Data received {"connection_id":231332,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c01bf0012d802d0005c14a80001000bb33..."} 
[2026-11-05 09:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c01bf0012d802d0005c14a80001000bb33..."} 
[2026-11-05 09:00:10] local.INFO: Processing buffer {"connection_id":231332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c01bf0012d802d0005c14a80001000bb33..."} 
[2026-11-05 09:00:10] local.INFO: Packet analysis {"connection_id":231332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c0"} 
[2026-11-05 09:00:10] local.INFO: Extracted packet for processing {"connection_id":231332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c0"} 
[2026-11-05 09:00:10] local.INFO: GPS Element Parsed {"raw_longitude":763374848,"raw_latitude":96553600,"longitude_deg":76.3374848,"latitude_deg":9.65536,"altitude":16,"angle":187,"satellites":51,"speed":56,"hex_longitude":"2d802d00","hex_latitude":"05c14a80","is_valid_coordinates":true} 
[2026-11-05 09:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225419520001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40230245697060864,"note":"Value kept but may cause issues"} 
[2026-11-05 09:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9209016788322318336,"note":"Value kept but may cause issues"} 
[2026-11-05 09:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793849302000,"timestamp_ms":1793849302000,"timestamp_seconds":1793849302,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c01bf0"} 
[2026-11-05 09:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 09:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:00:10] 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-05 09:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225419520001,"66":27887,"225":206,"85":12288,"24":56,"16":40230245697060864,"45":-9209016788322318336},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-11-05 09:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225419520001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:00:10] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-11-05 09:00:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 09:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40230245697060864,"km_value":40230245697060.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9209016788322318336,"description":"Unknown IO ID 45"} 
[2026-11-05 09:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225419520001,"power":27887,"unknown_225":206,"unknown_85":12288,"ignition":56,"odometer":null,"unknown_45":-9209016788322318336}} 
[2026-11-05 09:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":231332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:00:10] local.INFO: GPS data processed {"connection_id":231332,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:00:10] local.INFO: Acknowledgment sent {"connection_id":231332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:00:30] local.INFO: TCP Data received {"connection_id":230029,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c09cd8012d0b350007060ed80014007727..."} 
[2026-11-05 09:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c09cd8012d0b350007060ed80014007727..."} 
[2026-11-05 09:00:30] local.INFO: Processing buffer {"connection_id":230029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c09cd8012d0b350007060ed80014007727..."} 
[2026-11-05 09:00:30] local.INFO: Packet analysis {"connection_id":230029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c0"} 
[2026-11-05 09:00:30] local.INFO: Extracted packet for processing {"connection_id":230029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c0"} 
[2026-11-05 09:00:30] local.INFO: GPS Element Parsed {"raw_longitude":755709184,"raw_latitude":117837528,"longitude_deg":75.5709184,"latitude_deg":11.7837528,"altitude":20,"angle":119,"satellites":39,"speed":38,"hex_longitude":"2d0b3500","hex_latitude":"07060ed8","is_valid_coordinates":true} 
[2026-11-05 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-05 09:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225427712001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39385971090784256,"note":"Value kept but may cause issues"} 
[2026-11-05 09:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801077813885954048,"note":"Value kept but may cause issues"} 
[2026-11-05 09:00:30] 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-05 09:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793849335000,"timestamp_ms":1793849335000,"timestamp_seconds":1793849335,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c09cd8"} 
[2026-11-05 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-05 09:00:30] 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-05 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-05 09:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 09:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":230029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":230029,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":230029,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225427712001,"66":14265,"165":206,"94":10240,"24":38,"16":39385971090784256,"45":801077813885954048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 09:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225427712001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:00:30] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 09:00:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39385971090784256,"km_value":39385971090784.26,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":801077813885954048,"description":"Unknown IO ID 45"} 
[2026-11-05 09:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225427712001,"power":14265,"unknown_165":206,"unknown_94":10240,"ignition":38,"odometer":null,"unknown_45":801077813885954048}} 
[2026-11-05 09:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":230029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62061,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:00:30] local.INFO: GPS data processed {"connection_id":230029,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:00:30] local.INFO: Acknowledgment sent {"connection_id":230029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:00:42] local.INFO: TCP Data received {"connection_id":231332,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c17798012d7fdec005bf4d38000b00bc35..."} 
[2026-11-05 09:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c17798012d7fdec005bf4d38000b00bc35..."} 
[2026-11-05 09:00:42] local.INFO: Processing buffer {"connection_id":231332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c17798012d7fdec005bf4d38000b00bc35..."} 
[2026-11-05 09:00:42] local.INFO: Packet analysis {"connection_id":231332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c1"} 
[2026-11-05 09:00:42] local.INFO: Extracted packet for processing {"connection_id":231332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c1"} 
[2026-11-05 09:00:42] local.INFO: GPS Element Parsed {"raw_longitude":763354816,"raw_latitude":96423224,"longitude_deg":76.3354816,"latitude_deg":9.6423224,"altitude":11,"angle":188,"satellites":53,"speed":55,"hex_longitude":"2d7fdec0","hex_latitude":"05bf4d38","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225442304001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40236640903364608,"note":"Value kept but may cause issues"} 
[2026-11-05 09:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9215701868426319872,"note":"Value kept but may cause issues"} 
[2026-11-05 09:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793849391000,"timestamp_ms":1793849391000,"timestamp_seconds":1793849391,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c17798"} 
[2026-11-05 09: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-05 09:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-05 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-05 09:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09: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-05 09: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-05 09:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:00:42] 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-05 09:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225442304001,"66":28050,"179":206,"85":12288,"24":55,"16":40236640903364608,"45":9215701868426319872},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-11-05 09:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225442304001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:00:42] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-05 09:00:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 09:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40236640903364608,"km_value":40236640903364.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9215701868426319872,"description":"Unknown IO ID 45"} 
[2026-11-05 09:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225442304001,"power":28050,"unknown_179":206,"unknown_85":12288,"ignition":55,"odometer":null,"unknown_45":9215701868426319872}} 
[2026-11-05 09:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":231332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:00:42] local.INFO: GPS data processed {"connection_id":231332,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:00:42] local.INFO: Acknowledgment sent {"connection_id":231332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:00:49] local.INFO: TCP Data received {"connection_id":233253,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233253,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:00:49] local.INFO: Processing buffer {"connection_id":233253,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:00:49] local.INFO: IMEI packet received {"connection_id":233253,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":233253,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:00:52] local.INFO: TCP Data received {"connection_id":233253,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233253,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:00:52] local.INFO: Processing buffer {"connection_id":233253,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:00:52] local.INFO: IMEI packet received {"connection_id":233253,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":233253,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:00:53] local.INFO: TCP Data received {"connection_id":233253,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c0cbb8012d0b4e000705fe600016006328..."} 
[2026-11-05 09:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c0cbb8012d0b4e000705fe600016006328..."} 
[2026-11-05 09:00:53] local.INFO: Processing buffer {"connection_id":233253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c0cbb8012d0b4e000705fe600016006328..."} 
[2026-11-05 09:00:53] local.INFO: Packet analysis {"connection_id":233253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c0"} 
[2026-11-05 09:00:53] local.INFO: Extracted packet for processing {"connection_id":233253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c0"} 
[2026-11-05 09:00:53] local.INFO: GPS Element Parsed {"raw_longitude":755715584,"raw_latitude":117833312,"longitude_deg":75.5715584,"latitude_deg":11.7833312,"altitude":22,"angle":99,"satellites":40,"speed":11,"hex_longitude":"2d0b4e00","hex_latitude":"0705fe60","is_valid_coordinates":true} 
[2026-11-05 09:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225429760001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39386336163004416,"note":"Value kept but may cause issues"} 
[2026-11-05 09:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":807551738349279232,"note":"Value kept but may cause issues"} 
[2026-11-05 09:00:53] 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-05 09:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793849347000,"timestamp_ms":1793849347000,"timestamp_seconds":1793849347,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c0cbb8"} 
[2026-11-05 09:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:00:53] 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-05 09:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 09:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":233253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":233253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":233253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225429760001,"66":14396,"165":206,"94":10240,"24":11,"16":39386336163004416,"45":807551738349279232},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 09:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225429760001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:00:53] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 09:00:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39386336163004416,"km_value":39386336163004.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":807551738349279232,"description":"Unknown IO ID 45"} 
[2026-11-05 09:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225429760001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":807551738349279232}} 
[2026-11-05 09:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":233253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62063,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:00:53] local.INFO: GPS data processed {"connection_id":233253,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:00:53] local.INFO: Acknowledgment sent {"connection_id":233253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:01:04] local.INFO: TCP Data received {"connection_id":231333,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:01:04] local.INFO: Processing buffer {"connection_id":231333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:01:04] local.INFO: IMEI packet received {"connection_id":231333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":231333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:01:09] local.INFO: TCP Data received {"connection_id":231333,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:01:09] local.INFO: Processing buffer {"connection_id":231333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:01:09] local.INFO: IMEI packet received {"connection_id":231333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":231333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:01:10] local.INFO: TCP Data received {"connection_id":231333,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c19ac0012d7fdb0005bf2888000a00b034..."} 
[2026-11-05 09:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c19ac0012d7fdb0005bf2888000a00b034..."} 
[2026-11-05 09:01:10] local.INFO: Processing buffer {"connection_id":231333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c19ac0012d7fdb0005bf2888000a00b034..."} 
[2026-11-05 09:01:10] local.INFO: Packet analysis {"connection_id":231333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c1"} 
[2026-11-05 09:01:10] local.INFO: Extracted packet for processing {"connection_id":231333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c1"} 
[2026-11-05 09:01:10] local.INFO: GPS Element Parsed {"raw_longitude":763353856,"raw_latitude":96413832,"longitude_deg":76.3353856,"latitude_deg":9.6413832,"altitude":10,"angle":176,"satellites":52,"speed":31,"hex_longitude":"2d7fdb00","hex_latitude":"05bf2888","is_valid_coordinates":true} 
[2026-11-05 09:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225444096001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40237096169897984,"note":"Value kept but may cause issues"} 
[2026-11-05 09:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9214013018563491840,"note":"Value kept but may cause issues"} 
[2026-11-05 09:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793849400000,"timestamp_ms":1793849400000,"timestamp_seconds":1793849400,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c19ac0"} 
[2026-11-05 09:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:01: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-05 09:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-05 09:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:01:10] 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-05 09:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225444096001,"66":27930,"179":206,"85":12288,"24":31,"16":40237096169897984,"45":9214013018563491840},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-11-05 09:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225444096001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:01:10] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-05 09:01:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 09:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40237096169897984,"km_value":40237096169897.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9214013018563491840,"description":"Unknown IO ID 45"} 
[2026-11-05 09:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225444096001,"power":27930,"unknown_179":206,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":9214013018563491840}} 
[2026-11-05 09:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":231333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:01:10] local.INFO: GPS data processed {"connection_id":231333,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:01:10] local.INFO: Acknowledgment sent {"connection_id":231333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:01:24] local.INFO: TCP Data received {"connection_id":233253,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c2bfb8012d0b28c007060fb80013009b27..."} 
[2026-11-05 09:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c2bfb8012d0b28c007060fb80013009b27..."} 
[2026-11-05 09:01:24] local.INFO: Processing buffer {"connection_id":233253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c2bfb8012d0b28c007060fb80013009b27..."} 
[2026-11-05 09:01:24] local.INFO: Packet analysis {"connection_id":233253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c2"} 
[2026-11-05 09:01:24] local.INFO: Extracted packet for processing {"connection_id":233253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c2"} 
[2026-11-05 09:01:24] local.INFO: GPS Element Parsed {"raw_longitude":755706048,"raw_latitude":117837752,"longitude_deg":75.5706048,"latitude_deg":11.7837752,"altitude":19,"angle":155,"satellites":39,"speed":11,"hex_longitude":"2d0b28c0","hex_latitude":"07060fb8","is_valid_coordinates":true} 
[2026-11-05 09:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225465344001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39387293940711424,"note":"Value kept but may cause issues"} 
[2026-11-05 09:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803962932396337152,"note":"Value kept but may cause issues"} 
[2026-11-05 09:01:24] 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-05 09:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793849475000,"timestamp_ms":1793849475000,"timestamp_seconds":1793849475,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c2bfb8"} 
[2026-11-05 09:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:01: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-05 09:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-11-05 09:01:24] 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-05 09:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":233253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":233253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":233253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225465344001,"66":14407,"165":206,"94":10240,"24":11,"16":39387293940711424,"45":803962932396337152},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 09:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225465344001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:01:24] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 09:01:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39387293940711424,"km_value":39387293940711.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":803962932396337152,"description":"Unknown IO ID 45"} 
[2026-11-05 09:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225465344001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":803962932396337152}} 
[2026-11-05 09:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":233253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62065,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:01:24] local.INFO: GPS data processed {"connection_id":233253,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:01:24] local.INFO: Acknowledgment sent {"connection_id":233253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:01:41] local.INFO: TCP Data received {"connection_id":231333,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c19ac0012d7fdb0005bf2888000a00b034..."} 
[2026-11-05 09:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c19ac0012d7fdb0005bf2888000a00b034..."} 
[2026-11-05 09:01:41] local.INFO: Processing buffer {"connection_id":231333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c19ac0012d7fdb0005bf2888000a00b034..."} 
[2026-11-05 09:01:41] local.INFO: Packet analysis {"connection_id":231333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c1"} 
[2026-11-05 09:01:41] local.INFO: Extracted packet for processing {"connection_id":231333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c1"} 
[2026-11-05 09:01:41] local.INFO: GPS Element Parsed {"raw_longitude":763353856,"raw_latitude":96413832,"longitude_deg":76.3353856,"latitude_deg":9.6413832,"altitude":10,"angle":176,"satellites":52,"speed":31,"hex_longitude":"2d7fdb00","hex_latitude":"05bf2888","is_valid_coordinates":true} 
[2026-11-05 09:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225446400001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40237096169897984,"note":"Value kept but may cause issues"} 
[2026-11-05 09:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9212957487398422528,"note":"Value kept but may cause issues"} 
[2026-11-05 09:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793849400000,"timestamp_ms":1793849400000,"timestamp_seconds":1793849400,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c19ac0"} 
[2026-11-05 09:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:01: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-05 09:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-05 09:01:41] 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-05 09:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:01:41] 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-05 09:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225446400001,"66":27930,"179":206,"85":12288,"24":31,"16":40237096169897984,"45":9212957487398422528},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-11-05 09:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225446400001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:01:41] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-05 09:01:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 09:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40237096169897984,"km_value":40237096169897.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9212957487398422528,"description":"Unknown IO ID 45"} 
[2026-11-05 09:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225446400001,"power":27930,"unknown_179":206,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":9212957487398422528}} 
[2026-11-05 09:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":231333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:01:41] local.INFO: GPS data processed {"connection_id":231333,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:01:41] local.INFO: Acknowledgment sent {"connection_id":231333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:01:49] local.INFO: TCP Data received {"connection_id":230031,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230031,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:01:49] local.INFO: Processing buffer {"connection_id":230031,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:01:49] local.INFO: IMEI packet received {"connection_id":230031,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":230031,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:01:53] local.INFO: TCP Data received {"connection_id":230031,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230031,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:01:53] local.INFO: Processing buffer {"connection_id":230031,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:01:53] local.INFO: IMEI packet received {"connection_id":230031,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":230031,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:01:54] local.INFO: TCP Data received {"connection_id":230031,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c2cf58012d0b2b0007060a68001300ac27..."} 
[2026-11-05 09:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c2cf58012d0b2b0007060a68001300ac27..."} 
[2026-11-05 09:01:54] local.INFO: Processing buffer {"connection_id":230031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c2cf58012d0b2b0007060a68001300ac27..."} 
[2026-11-05 09:01:54] local.INFO: Packet analysis {"connection_id":230031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c2"} 
[2026-11-05 09:01:54] local.INFO: Extracted packet for processing {"connection_id":230031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c2"} 
[2026-11-05 09:01:54] local.INFO: GPS Element Parsed {"raw_longitude":755706624,"raw_latitude":117836392,"longitude_deg":75.5706624,"latitude_deg":11.7836392,"altitude":19,"angle":172,"satellites":39,"speed":17,"hex_longitude":"2d0b2b00","hex_latitude":"07060a68","is_valid_coordinates":true} 
[2026-11-05 09:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225465600001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39387366955155456,"note":"Value kept but may cause issues"} 
[2026-11-05 09:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804103669884631040,"note":"Value kept but may cause issues"} 
[2026-11-05 09:01:54] 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-05 09:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793849479000,"timestamp_ms":1793849479000,"timestamp_seconds":1793849479,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c2cf58"} 
[2026-11-05 09:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:01: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-05 09:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 09:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":230031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":230031,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":230031,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225465600001,"66":14396,"165":206,"94":10240,"24":17,"16":39387366955155456,"45":804103669884631040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 09:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225465600001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:01:54] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 09:01:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39387366955155456,"km_value":39387366955155.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":804103669884631040,"description":"Unknown IO ID 45"} 
[2026-11-05 09:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225465600001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":804103669884631040}} 
[2026-11-05 09:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":230031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62067,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:01:54] local.INFO: GPS data processed {"connection_id":230031,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:01:54] local.INFO: Acknowledgment sent {"connection_id":230031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:02:04] local.INFO: TCP Data received {"connection_id":233254,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:02:04] local.INFO: Processing buffer {"connection_id":233254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:02:04] local.INFO: IMEI packet received {"connection_id":233254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":233254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:02:09] local.INFO: TCP Data received {"connection_id":233254,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:02:09] local.INFO: Processing buffer {"connection_id":233254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:02:09] local.INFO: IMEI packet received {"connection_id":233254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":233254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:02:10] local.INFO: TCP Data received {"connection_id":233254,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c1ae48012d7fda4005bf1908000a00bc36..."} 
[2026-11-05 09:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c1ae48012d7fda4005bf1908000a00bc36..."} 
[2026-11-05 09:02:10] local.INFO: Processing buffer {"connection_id":233254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c1ae48012d7fda4005bf1908000a00bc36..."} 
[2026-11-05 09:02:10] local.INFO: Packet analysis {"connection_id":233254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c1"} 
[2026-11-05 09:02:10] local.INFO: Extracted packet for processing {"connection_id":233254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c1"} 
[2026-11-05 09:02:10] local.INFO: GPS Element Parsed {"raw_longitude":763353664,"raw_latitude":96409864,"longitude_deg":76.3353664,"latitude_deg":9.6409864,"altitude":10,"angle":188,"satellites":54,"speed":32,"hex_longitude":"2d7fda40","hex_latitude":"05bf1908","is_valid_coordinates":true} 
[2026-11-05 09:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225446400001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40237289443426304,"note":"Value kept but may cause issues"} 
[2026-11-05 09:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9212957487398422528,"note":"Value kept but may cause issues"} 
[2026-11-05 09:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793849405000,"timestamp_ms":1793849405000,"timestamp_seconds":1793849405,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c1ae48"} 
[2026-11-05 09:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-05 09:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:02:10] 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-05 09:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225446400001,"66":27843,"179":206,"85":12288,"24":32,"16":40237289443426304,"45":9212957487398422528},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-11-05 09:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225446400001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:02:10] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-05 09:02:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 09:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40237289443426304,"km_value":40237289443426.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9212957487398422528,"description":"Unknown IO ID 45"} 
[2026-11-05 09:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225446400001,"power":27843,"unknown_179":206,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":9212957487398422528}} 
[2026-11-05 09:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":233254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:02:10] local.INFO: GPS data processed {"connection_id":233254,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:02:10] local.INFO: Acknowledgment sent {"connection_id":233254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:02:21] local.INFO: TCP Data received {"connection_id":229516,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229516,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:02:21] local.INFO: Processing buffer {"connection_id":229516,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:02:21] local.INFO: IMEI packet received {"connection_id":229516,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 09:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":229516,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:02:25] local.INFO: TCP Data received {"connection_id":230031,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c2d340012d0b2b0007060880001300ba27..."} 
[2026-11-05 09:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c2d340012d0b2b0007060880001300ba27..."} 
[2026-11-05 09:02:25] local.INFO: Processing buffer {"connection_id":230031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c2d340012d0b2b0007060880001300ba27..."} 
[2026-11-05 09:02:25] local.INFO: Packet analysis {"connection_id":230031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c2"} 
[2026-11-05 09:02:25] local.INFO: Extracted packet for processing {"connection_id":230031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c2"} 
[2026-11-05 09:02:25] local.INFO: GPS Element Parsed {"raw_longitude":755706624,"raw_latitude":117835904,"longitude_deg":75.5706624,"latitude_deg":11.7835904,"altitude":19,"angle":186,"satellites":39,"speed":21,"hex_longitude":"2d0b2b00","hex_latitude":"07060880","is_valid_coordinates":true} 
[2026-11-05 09:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225466624001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39387392724959232,"note":"Value kept but may cause issues"} 
[2026-11-05 09:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804736988581881856,"note":"Value kept but may cause issues"} 
[2026-11-05 09:02:25] 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-05 09:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793849480000,"timestamp_ms":1793849480000,"timestamp_seconds":1793849480,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c2d340"} 
[2026-11-05 09:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:02: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-05 09:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-05 09:02: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-05 09:02:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":230031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":230031,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":230031,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:02:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225466624001,"66":14428,"165":206,"94":10240,"24":21,"16":39387392724959232,"45":804736988581881856},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 09:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225466624001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:02:25] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 09:02:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39387392724959232,"km_value":39387392724959.234,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":804736988581881856,"description":"Unknown IO ID 45"} 
[2026-11-05 09:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225466624001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":804736988581881856}} 
[2026-11-05 09:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":230031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62069,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:02:25] local.INFO: GPS data processed {"connection_id":230031,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:02:25] local.INFO: Acknowledgment sent {"connection_id":230031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:02:41] local.INFO: TCP Data received {"connection_id":233254,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c1e4f8012d7fd4c005bef5e8000900bc33..."} 
[2026-11-05 09:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c1e4f8012d7fd4c005bef5e8000900bc33..."} 
[2026-11-05 09:02:41] local.INFO: Processing buffer {"connection_id":233254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c1e4f8012d7fd4c005bef5e8000900bc33..."} 
[2026-11-05 09:02:41] local.INFO: Packet analysis {"connection_id":233254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c1"} 
[2026-11-05 09:02:41] local.INFO: Extracted packet for processing {"connection_id":233254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c1"} 
[2026-11-05 09:02:41] local.INFO: GPS Element Parsed {"raw_longitude":763352256,"raw_latitude":96400872,"longitude_deg":76.3352256,"latitude_deg":9.6400872,"altitude":9,"angle":188,"satellites":51,"speed":10,"hex_longitude":"2d7fd4c0","hex_latitude":"05bef5e8","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225447680001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40237731825057792,"note":"Value kept but may cause issues"} 
[2026-11-05 09:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9212746381164873728,"note":"Value kept but may cause issues"} 
[2026-11-05 09:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793849419000,"timestamp_ms":1793849419000,"timestamp_seconds":1793849419,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c1e4f8"} 
[2026-11-05 09: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-05 09:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09: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":195,"data_length":795,"current_offset":136} 
[2026-11-05 09:02: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-05 09: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-05 09: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-05 09:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:02:41] 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-05 09:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225447680001,"66":27930,"179":206,"85":12288,"24":10,"16":40237731825057792,"45":9212746381164873728},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-11-05 09:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225447680001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:02:41] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-05 09:02:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 09:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40237731825057792,"km_value":40237731825057.79,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9212746381164873728,"description":"Unknown IO ID 45"} 
[2026-11-05 09:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225447680001,"power":27930,"unknown_179":206,"unknown_85":12288,"ignition":10,"odometer":null,"unknown_45":9212746381164873728}} 
[2026-11-05 09:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":233254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:02:41] local.INFO: GPS data processed {"connection_id":233254,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:02:41] local.INFO: Acknowledgment sent {"connection_id":233254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:02:49] local.INFO: TCP Data received {"connection_id":229517,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229517,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:02:49] local.INFO: Processing buffer {"connection_id":229517,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:02:49] local.INFO: IMEI packet received {"connection_id":229517,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":229517,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:02:54] local.INFO: TCP Data received {"connection_id":229517,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229517,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:02:54] local.INFO: Processing buffer {"connection_id":229517,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:02:54] local.INFO: IMEI packet received {"connection_id":229517,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":229517,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:02:55] local.INFO: TCP Data received {"connection_id":229517,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c3fc20012d0ae4c0070593f00023012c26..."} 
[2026-11-05 09:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c3fc20012d0ae4c0070593f00023012c26..."} 
[2026-11-05 09:02:55] local.INFO: Processing buffer {"connection_id":229517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c3fc20012d0ae4c0070593f00023012c26..."} 
[2026-11-05 09:02:55] local.INFO: Packet analysis {"connection_id":229517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c3"} 
[2026-11-05 09:02:55] local.INFO: Extracted packet for processing {"connection_id":229517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c3"} 
[2026-11-05 09:02:55] local.INFO: GPS Element Parsed {"raw_longitude":755688640,"raw_latitude":117806064,"longitude_deg":75.568864,"latitude_deg":11.7806064,"altitude":35,"angle":300,"satellites":38,"speed":15,"hex_longitude":"2d0ae4c0","hex_latitude":"070593f0","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225486080001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39389523028738048,"note":"Value kept but may cause issues"} 
[2026-11-05 09:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":785385583925221376,"note":"Value kept but may cause issues"} 
[2026-11-05 09:02:55] 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-05 09:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793849556000,"timestamp_ms":1793849556000,"timestamp_seconds":1793849556,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c3fc20"} 
[2026-11-05 09: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-05 09:02:55] 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-05 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-05 09:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09: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-05 09: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-05 09:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229517,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229517,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225486080001,"66":14396,"165":206,"94":10240,"24":15,"16":39389523028738048,"45":785385583925221376},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 09:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225486080001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:02:55] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 09:02:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39389523028738048,"km_value":39389523028738.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":785385583925221376,"description":"Unknown IO ID 45"} 
[2026-11-05 09:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225486080001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":785385583925221376}} 
[2026-11-05 09:02:55] 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":62071,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:02:55] local.INFO: GPS data processed {"connection_id":229517,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:02:55] local.INFO: Acknowledgment sent {"connection_id":229517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:03:04] local.INFO: TCP Data received {"connection_id":233255,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:03:04] local.INFO: Processing buffer {"connection_id":233255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:03:04] local.INFO: IMEI packet received {"connection_id":233255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":233255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:03:06] local.INFO: TCP Data received {"connection_id":233256,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233256,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:03:06] local.INFO: Processing buffer {"connection_id":233256,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:03:06] local.INFO: IMEI packet received {"connection_id":233256,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 09:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":233256,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:03:14] local.INFO: TCP Data received {"connection_id":233255,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:03:14] local.INFO: Processing buffer {"connection_id":233255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:03:14] local.INFO: IMEI packet received {"connection_id":233255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":233255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:03:15] local.INFO: TCP Data received {"connection_id":233255,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c23700012d7fd0c005bed868000900bc33..."} 
[2026-11-05 09:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c23700012d7fd0c005bed868000900bc33..."} 
[2026-11-05 09:03:15] local.INFO: Processing buffer {"connection_id":233255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c23700012d7fd0c005bed868000900bc33..."} 
[2026-11-05 09:03:15] local.INFO: Packet analysis {"connection_id":233255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c2"} 
[2026-11-05 09:03:15] local.INFO: Extracted packet for processing {"connection_id":233255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c2"} 
[2026-11-05 09:03:15] local.INFO: GPS Element Parsed {"raw_longitude":763351232,"raw_latitude":96393320,"longitude_deg":76.3351232,"latitude_deg":9.639332,"altitude":9,"angle":188,"satellites":51,"speed":26,"hex_longitude":"2d7fd0c0","hex_latitude":"05bed868","is_valid_coordinates":true} 
[2026-11-05 09:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225451264001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40238105487212544,"note":"Value kept but may cause issues"} 
[2026-11-05 09:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9211198268790663168,"note":"Value kept but may cause issues"} 
[2026-11-05 09:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793849440000,"timestamp_ms":1793849440000,"timestamp_seconds":1793849440,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c23700"} 
[2026-11-05 09:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-05 09:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:03:15] 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-05 09:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225451264001,"66":27984,"179":206,"85":12288,"24":26,"16":40238105487212544,"45":9211198268790663168},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-11-05 09:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225451264001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:03:15] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-05 09:03:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 09:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40238105487212544,"km_value":40238105487212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9211198268790663168,"description":"Unknown IO ID 45"} 
[2026-11-05 09:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225451264001,"power":27984,"unknown_179":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":9211198268790663168}} 
[2026-11-05 09:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":233255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:03:15] local.INFO: GPS data processed {"connection_id":233255,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:03:15] local.INFO: Acknowledgment sent {"connection_id":233255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:03:27] local.INFO: TCP Data received {"connection_id":229517,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c403f0012d0ae1c0070594b00024010d28..."} 
[2026-11-05 09:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c403f0012d0ae1c0070594b00024010d28..."} 
[2026-11-05 09:03:27] local.INFO: Processing buffer {"connection_id":229517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c403f0012d0ae1c0070594b00024010d28..."} 
[2026-11-05 09:03:27] local.INFO: Packet analysis {"connection_id":229517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c4"} 
[2026-11-05 09:03:27] local.INFO: Extracted packet for processing {"connection_id":229517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c4"} 
[2026-11-05 09:03:27] local.INFO: GPS Element Parsed {"raw_longitude":755687872,"raw_latitude":117806256,"longitude_deg":75.5687872,"latitude_deg":11.7806256,"altitude":36,"angle":269,"satellites":40,"speed":15,"hex_longitude":"2d0ae1c0","hex_latitude":"070594b0","is_valid_coordinates":true} 
[2026-11-05 09:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225486336001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39389561683443712,"note":"Value kept but may cause issues"} 
[2026-11-05 09:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":784963371460194304,"note":"Value kept but may cause issues"} 
[2026-11-05 09:03:27] 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-05 09:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793849558000,"timestamp_ms":1793849558000,"timestamp_seconds":1793849558,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c403f0"} 
[2026-11-05 09:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-05 09:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":229517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":229517,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":229517,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225486336001,"66":14309,"165":206,"94":10240,"24":15,"16":39389561683443712,"45":784963371460194304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 09:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225486336001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:03:27] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 09:03:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39389561683443712,"km_value":39389561683443.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":784963371460194304,"description":"Unknown IO ID 45"} 
[2026-11-05 09:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225486336001,"power":14309,"unknown_165":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":784963371460194304}} 
[2026-11-05 09:03:27] 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":62073,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:03:27] local.INFO: GPS data processed {"connection_id":229517,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:03:27] local.INFO: Acknowledgment sent {"connection_id":229517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:03:47] local.INFO: TCP Data received {"connection_id":233255,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c27968012d7fcb4005beb490000900be32..."} 
[2026-11-05 09:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c27968012d7fcb4005beb490000900be32..."} 
[2026-11-05 09:03:47] local.INFO: Processing buffer {"connection_id":233255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c27968012d7fcb4005beb490000900be32..."} 
[2026-11-05 09:03:47] local.INFO: Packet analysis {"connection_id":233255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c2"} 
[2026-11-05 09:03:47] local.INFO: Extracted packet for processing {"connection_id":233255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c2"} 
[2026-11-05 09:03:47] local.INFO: GPS Element Parsed {"raw_longitude":763349824,"raw_latitude":96384144,"longitude_deg":76.3349824,"latitude_deg":9.6384144,"altitude":9,"angle":190,"satellites":50,"speed":23,"hex_longitude":"2d7fcb40","hex_latitude":"05beb490","is_valid_coordinates":true} 
[2026-11-05 09:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225456640001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40238552163811328,"note":"Value kept but may cause issues"} 
[2026-11-05 09:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9210072368881887232,"note":"Value kept but may cause issues"} 
[2026-11-05 09:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793849457000,"timestamp_ms":1793849457000,"timestamp_seconds":1793849457,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c27968"} 
[2026-11-05 09:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:03: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-05 09:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-05 09:03:47] 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-05 09:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":233255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":233255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":233255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:03:47] 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-05 09:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225456640001,"66":28082,"179":206,"85":12288,"24":23,"16":40238552163811328,"45":9210072368881887232},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-11-05 09:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225456640001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:03:47] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-05 09:03:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 09:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40238552163811328,"km_value":40238552163811.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9210072368881887232,"description":"Unknown IO ID 45"} 
[2026-11-05 09:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225456640001,"power":28082,"unknown_179":206,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":9210072368881887232}} 
[2026-11-05 09:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":233255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:03:47] local.INFO: GPS data processed {"connection_id":233255,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:03:47] local.INFO: Acknowledgment sent {"connection_id":233255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:03:47] local.INFO: TCP Data received {"connection_id":231335,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231335,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:03:47] local.INFO: Processing buffer {"connection_id":231335,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:03:47] local.INFO: IMEI packet received {"connection_id":231335,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":231335,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:03:50] local.INFO: TCP Data received {"connection_id":231335,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231335,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:03:50] local.INFO: Processing buffer {"connection_id":231335,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:03:50] local.INFO: IMEI packet received {"connection_id":231335,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":231335,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:03:51] local.INFO: TCP Data received {"connection_id":231335,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231335,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:03:51] local.INFO: Processing buffer {"connection_id":231335,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:03:51] local.INFO: IMEI packet received {"connection_id":231335,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":231335,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:03:54] local.INFO: TCP Data received {"connection_id":231335,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231335,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:03:54] local.INFO: Processing buffer {"connection_id":231335,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:03:54] local.INFO: IMEI packet received {"connection_id":231335,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":231335,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:03:55] local.INFO: TCP Data received {"connection_id":231335,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c407d8012d0ae000070594680024010028..."} 
[2026-11-05 09:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c407d8012d0ae000070594680024010028..."} 
[2026-11-05 09:03:55] local.INFO: Processing buffer {"connection_id":231335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c407d8012d0ae000070594680024010028..."} 
[2026-11-05 09:03:55] local.INFO: Packet analysis {"connection_id":231335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c4"} 
[2026-11-05 09:03:55] local.INFO: Extracted packet for processing {"connection_id":231335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c4"} 
[2026-11-05 09:03:55] local.INFO: GPS Element Parsed {"raw_longitude":755687424,"raw_latitude":117806184,"longitude_deg":75.5687424,"latitude_deg":11.7806184,"altitude":36,"angle":256,"satellites":40,"speed":18,"hex_longitude":"2d0ae000","hex_latitude":"07059468","is_valid_coordinates":true} 
[2026-11-05 09:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225486848001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39389583158280192,"note":"Value kept but may cause issues"} 
[2026-11-05 09:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":784118946530111488,"note":"Value kept but may cause issues"} 
[2026-11-05 09:03:55] 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-05 09:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793849559000,"timestamp_ms":1793849559000,"timestamp_seconds":1793849559,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c407d8"} 
[2026-11-05 09:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:03: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-05 09:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 09:03:55] 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-05 09:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225486848001,"66":14396,"165":206,"94":10240,"24":18,"16":39389583158280192,"45":784118946530111488},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 09:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225486848001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:03:55] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 09:03:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39389583158280192,"km_value":39389583158280.195,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":784118946530111488,"description":"Unknown IO ID 45"} 
[2026-11-05 09:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225486848001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":784118946530111488}} 
[2026-11-05 09:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":231335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62075,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:03:55] local.INFO: GPS data processed {"connection_id":231335,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:03:55] local.INFO: Acknowledgment sent {"connection_id":231335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:04:00] local.INFO: TCP Data received {"connection_id":231335,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c44658012d0abc8007058bd80025010527..."} 
[2026-11-05 09:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c44658012d0abc8007058bd80025010527..."} 
[2026-11-05 09:04:00] local.INFO: Processing buffer {"connection_id":231335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c44658012d0abc8007058bd80025010527..."} 
[2026-11-05 09:04:00] local.INFO: Packet analysis {"connection_id":231335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c4"} 
[2026-11-05 09:04:00] local.INFO: Extracted packet for processing {"connection_id":231335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c4"} 
[2026-11-05 09:04:00] local.INFO: GPS Element Parsed {"raw_longitude":755678336,"raw_latitude":117803992,"longitude_deg":75.5678336,"latitude_deg":11.7803992,"altitude":37,"angle":261,"satellites":39,"speed":20,"hex_longitude":"2d0abc80","hex_latitude":"07058bd8","is_valid_coordinates":true} 
[2026-11-05 09:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225487104001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39390029834878976,"note":"Value kept but may cause issues"} 
[2026-11-05 09:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":783626365320849408,"note":"Value kept but may cause issues"} 
[2026-11-05 09:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793849575000,"timestamp_ms":1793849575000,"timestamp_seconds":1793849575,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c44658"} 
[2026-11-05 09:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-05 09:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:04:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":231335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":231335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":231335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225487104001,"66":14396,"165":206,"94":10240,"24":20,"16":39390029834878976,"45":783626365320849408},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 09:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225487104001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:04:00] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 09:04:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39390029834878976,"km_value":39390029834878.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":783626365320849408,"description":"Unknown IO ID 45"} 
[2026-11-05 09:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225487104001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":783626365320849408}} 
[2026-11-05 09:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":231335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62076,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:04:00] local.INFO: GPS data processed {"connection_id":231335,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:04:00] local.INFO: Acknowledgment sent {"connection_id":231335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:04:04] local.INFO: TCP Data received {"connection_id":233258,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:04:04] local.INFO: Processing buffer {"connection_id":233258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:04:04] local.INFO: IMEI packet received {"connection_id":233258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":233258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:04:09] local.INFO: TCP Data received {"connection_id":233258,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:04:09] local.INFO: Processing buffer {"connection_id":233258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:04:09] local.INFO: IMEI packet received {"connection_id":233258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":233258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:04:10] local.INFO: TCP Data received {"connection_id":233258,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c2cb70012d7fc74005be9a50000a00ba31..."} 
[2026-11-05 09:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c2cb70012d7fc74005be9a50000a00ba31..."} 
[2026-11-05 09:04:10] local.INFO: Processing buffer {"connection_id":233258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c2cb70012d7fc74005be9a50000a00ba31..."} 
[2026-11-05 09:04:10] local.INFO: Packet analysis {"connection_id":233258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c2"} 
[2026-11-05 09:04:10] local.INFO: Extracted packet for processing {"connection_id":233258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c2"} 
[2026-11-05 09:04:10] local.INFO: GPS Element Parsed {"raw_longitude":763348800,"raw_latitude":96377424,"longitude_deg":76.33488,"latitude_deg":9.6377424,"altitude":10,"angle":186,"satellites":49,"speed":7,"hex_longitude":"2d7fc740","hex_latitude":"05be9a50","is_valid_coordinates":true} 
[2026-11-05 09:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225460992001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40238887171260416,"note":"Value kept but may cause issues"} 
[2026-11-05 09:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9208524256507629568,"note":"Value kept but may cause issues"} 
[2026-11-05 09:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793849478000,"timestamp_ms":1793849478000,"timestamp_seconds":1793849478,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c2cb70"} 
[2026-11-05 09:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 09:04:10] 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-05 09:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:04:10] 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-05 09:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225460992001,"66":28006,"179":206,"85":12288,"24":7,"16":40238887171260416,"45":9208524256507629568},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-11-05 09:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225460992001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:04:10] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-05 09:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 09:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40238887171260416,"km_value":40238887171260.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9208524256507629568,"description":"Unknown IO ID 45"} 
[2026-11-05 09:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225460992001,"power":28006,"unknown_179":206,"unknown_85":12288,"ignition":7,"odometer":null,"unknown_45":9208524256507629568}} 
[2026-11-05 09:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":233258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:04:10] local.INFO: GPS data processed {"connection_id":233258,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:04:10] local.INFO: Acknowledgment sent {"connection_id":233258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:04:31] local.INFO: TCP Data received {"connection_id":231335,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c56768012d0a80400705ad400016015526..."} 
[2026-11-05 09:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c56768012d0a80400705ad400016015526..."} 
[2026-11-05 09:04:31] local.INFO: Processing buffer {"connection_id":231335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c56768012d0a80400705ad400016015526..."} 
[2026-11-05 09:04:31] local.INFO: Packet analysis {"connection_id":231335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c5"} 
[2026-11-05 09:04:31] local.INFO: Extracted packet for processing {"connection_id":231335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c5"} 
[2026-11-05 09:04:31] local.INFO: GPS Element Parsed {"raw_longitude":755662912,"raw_latitude":117812544,"longitude_deg":75.5662912,"latitude_deg":11.7812544,"altitude":22,"angle":341,"satellites":38,"speed":12,"hex_longitude":"2d0a8040","hex_latitude":"0705ad40","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225509376001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39391056332062720,"note":"Value kept but may cause issues"} 
[2026-11-05 09:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757097348767299584,"note":"Value kept but may cause issues"} 
[2026-11-05 09:04: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-05 09:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793849649000,"timestamp_ms":1793849649000,"timestamp_seconds":1793849649,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c56768"} 
[2026-11-05 09: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-05 09:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-05 09:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09: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-05 09: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-05 09:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":231335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":231335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":231335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225509376001,"66":14450,"153":206,"94":10240,"24":12,"16":39391056332062720,"45":757097348767299584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 09:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225509376001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:04:31] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 09:04:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39391056332062720,"km_value":39391056332062.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":757097348767299584,"description":"Unknown IO ID 45"} 
[2026-11-05 09:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225509376001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":757097348767299584}} 
[2026-11-05 09:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":231335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62078,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:04:31] local.INFO: GPS data processed {"connection_id":231335,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:04:31] local.INFO: Acknowledgment sent {"connection_id":231335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:04:41] local.INFO: TCP Data received {"connection_id":233258,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c31d78012d7fc74005be9710000d00bc32..."} 
[2026-11-05 09:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c31d78012d7fc74005be9710000d00bc32..."} 
[2026-11-05 09:04:41] local.INFO: Processing buffer {"connection_id":233258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c31d78012d7fc74005be9710000d00bc32..."} 
[2026-11-05 09:04:41] local.INFO: Packet analysis {"connection_id":233258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c3"} 
[2026-11-05 09:04:41] local.INFO: Extracted packet for processing {"connection_id":233258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c3"} 
[2026-11-05 09:04:41] local.INFO: GPS Element Parsed {"raw_longitude":763348800,"raw_latitude":96376592,"longitude_deg":76.33488,"latitude_deg":9.6376592,"altitude":13,"angle":188,"satellites":50,"speed":5,"hex_longitude":"2d7fc740","hex_latitude":"05be9710","is_valid_coordinates":true} 
[2026-11-05 09:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225466368001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40238925825966080,"note":"Value kept but may cause issues"} 
[2026-11-05 09:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9207398356599066624,"note":"Value kept but may cause issues"} 
[2026-11-05 09:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793849499000,"timestamp_ms":1793849499000,"timestamp_seconds":1793849499,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c31d78"} 
[2026-11-05 09:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-05 09:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:04:41] 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-05 09:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225466368001,"66":27908,"179":206,"85":12288,"24":5,"16":40238925825966080,"45":9207398356599066624},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-11-05 09:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225466368001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:04:41] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-05 09:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 09:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40238925825966080,"km_value":40238925825966.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9207398356599066624,"description":"Unknown IO ID 45"} 
[2026-11-05 09:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225466368001,"power":27908,"unknown_179":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":9207398356599066624}} 
[2026-11-05 09:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":233258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:04:41] local.INFO: GPS data processed {"connection_id":233258,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:04:41] local.INFO: Acknowledgment sent {"connection_id":233258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:04:49] local.INFO: TCP Data received {"connection_id":231336,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231336,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:04:49] local.INFO: Processing buffer {"connection_id":231336,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:04:49] local.INFO: IMEI packet received {"connection_id":231336,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":231336,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:04:49] local.INFO: TCP Data received {"connection_id":231336,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231336,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:04:49] local.INFO: Processing buffer {"connection_id":231336,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:04:49] local.INFO: IMEI packet received {"connection_id":231336,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":231336,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:04:51] local.INFO: TCP Data received {"connection_id":231336,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231336,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:04:51] local.INFO: Processing buffer {"connection_id":231336,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:04:51] local.INFO: IMEI packet received {"connection_id":231336,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":231336,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:04:54] local.INFO: TCP Data received {"connection_id":231336,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231336,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:04:54] local.INFO: Processing buffer {"connection_id":231336,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:04:54] local.INFO: IMEI packet received {"connection_id":231336,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":231336,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:04:55] local.INFO: TCP Data received {"connection_id":231336,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c57708012d0a7d000705b4780015014a24..."} 
[2026-11-05 09:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c57708012d0a7d000705b4780015014a24..."} 
[2026-11-05 09:04:55] local.INFO: Processing buffer {"connection_id":231336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c57708012d0a7d000705b4780015014a24..."} 
[2026-11-05 09:04:55] local.INFO: Packet analysis {"connection_id":231336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c5"} 
[2026-11-05 09:04:55] local.INFO: Extracted packet for processing {"connection_id":231336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c5"} 
[2026-11-05 09:04:55] local.INFO: GPS Element Parsed {"raw_longitude":755662080,"raw_latitude":117814392,"longitude_deg":75.566208,"latitude_deg":11.7814392,"altitude":21,"angle":330,"satellites":36,"speed":25,"hex_longitude":"2d0a7d00","hex_latitude":"0705b478","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225510144001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39391155116310528,"note":"Value kept but may cause issues"} 
[2026-11-05 09:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756675136302432256,"note":"Value kept but may cause issues"} 
[2026-11-05 09:04:55] 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-05 09:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793849653000,"timestamp_ms":1793849653000,"timestamp_seconds":1793849653,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c57708"} 
[2026-11-05 09: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-05 09:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-05 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-05 09:04: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-05 09: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-05 09: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-05 09:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231336,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231336,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225510144001,"66":14450,"153":206,"94":10240,"24":25,"16":39391155116310528,"45":756675136302432256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 09:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225510144001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:04:55] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 09:04:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39391155116310528,"km_value":39391155116310.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":756675136302432256,"description":"Unknown IO ID 45"} 
[2026-11-05 09:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225510144001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":756675136302432256}} 
[2026-11-05 09:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":231336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62080,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:04:55] local.INFO: GPS data processed {"connection_id":231336,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:04:55] local.INFO: Acknowledgment sent {"connection_id":231336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:05:09] local.INFO: TCP Data received {"connection_id":230034,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:05:09] local.INFO: Processing buffer {"connection_id":230034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:05:09] local.INFO: IMEI packet received {"connection_id":230034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":230034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:05:14] local.INFO: TCP Data received {"connection_id":230034,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:05:14] local.INFO: Processing buffer {"connection_id":230034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:05:14] local.INFO: IMEI packet received {"connection_id":230034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":230034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:05:15] local.INFO: TCP Data received {"connection_id":230034,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c53888012d7f99c005bda250000b00bf31..."} 
[2026-11-05 09:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c53888012d7f99c005bda250000b00bf31..."} 
[2026-11-05 09:05:15] local.INFO: Processing buffer {"connection_id":230034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c53888012d7f99c005bda250000b00bf31..."} 
[2026-11-05 09:05:15] local.INFO: Packet analysis {"connection_id":230034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c5"} 
[2026-11-05 09:05:15] local.INFO: Extracted packet for processing {"connection_id":230034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c5"} 
[2026-11-05 09:05:15] local.INFO: GPS Element Parsed {"raw_longitude":763337152,"raw_latitude":96313936,"longitude_deg":76.3337152,"latitude_deg":9.6313936,"altitude":11,"angle":191,"satellites":49,"speed":36,"hex_longitude":"2d7f99c0","hex_latitude":"05bda250","is_valid_coordinates":true} 
[2026-11-05 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-05 09:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225504256001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40242026792353792,"note":"Value kept but may cause issues"} 
[2026-11-05 09:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196561569981702144,"note":"Value kept but may cause issues"} 
[2026-11-05 09:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793849637000,"timestamp_ms":1793849637000,"timestamp_seconds":1793849637,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c53888"} 
[2026-11-05 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-05 09:05: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-05 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-05 09:05: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-05 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-05 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-05 09:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:05:15] 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-05 09:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225504256001,"66":27919,"119":206,"85":12544,"24":36,"16":40242026792353792,"45":9196561569981702144},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-11-05 09:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225504256001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:05:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-11-05 09:05:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40242026792353792,"km_value":40242026792353.79,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196561569981702144,"description":"Unknown IO ID 45"} 
[2026-11-05 09:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225504256001,"power":27919,"unknown_119":206,"unknown_85":12544,"ignition":36,"odometer":null,"unknown_45":9196561569981702144}} 
[2026-11-05 09:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":230034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:05:15] local.INFO: GPS data processed {"connection_id":230034,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:05:15] local.INFO: Acknowledgment sent {"connection_id":230034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:05:16] local.INFO: TCP Data received {"connection_id":230034,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c55f98012d7f91c005bd7cc8000b00bc31..."} 
[2026-11-05 09:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c55f98012d7f91c005bd7cc8000b00bc31..."} 
[2026-11-05 09:05:16] local.INFO: Processing buffer {"connection_id":230034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c55f98012d7f91c005bd7cc8000b00bc31..."} 
[2026-11-05 09:05:16] local.INFO: Packet analysis {"connection_id":230034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c5"} 
[2026-11-05 09:05:16] local.INFO: Extracted packet for processing {"connection_id":230034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c5"} 
[2026-11-05 09:05:16] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":96304328,"longitude_deg":76.3335104,"latitude_deg":9.6304328,"altitude":11,"angle":188,"satellites":49,"speed":39,"hex_longitude":"2d7f91c0","hex_latitude":"05bd7cc8","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225507072001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40242503533723648,"note":"Value kept but may cause issues"} 
[2026-11-05 09:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194591245142478848,"note":"Value kept but may cause issues"} 
[2026-11-05 09:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793849647000,"timestamp_ms":1793849647000,"timestamp_seconds":1793849647,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c55f98"} 
[2026-11-05 09: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-05 09:05: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-05 09: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 09:05:16] 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-05 09: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-05 09: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-05 09:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:05:16] 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-05 09:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225507072001,"66":27974,"119":206,"85":12544,"24":39,"16":40242503533723648,"45":9194591245142478848},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-11-05 09:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225507072001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:05:16] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-11-05 09:05:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40242503533723648,"km_value":40242503533723.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194591245142478848,"description":"Unknown IO ID 45"} 
[2026-11-05 09:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225507072001,"power":27974,"unknown_119":206,"unknown_85":12544,"ignition":39,"odometer":null,"unknown_45":9194591245142478848}} 
[2026-11-05 09:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":230034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:05:16] local.INFO: GPS data processed {"connection_id":230034,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:05:16] local.INFO: Acknowledgment sent {"connection_id":230034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:05:26] local.INFO: TCP Data received {"connection_id":231336,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c58a90012d0a77c00705bfd00015015926..."} 
[2026-11-05 09:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c58a90012d0a77c00705bfd00015015926..."} 
[2026-11-05 09:05:26] local.INFO: Processing buffer {"connection_id":231336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c58a90012d0a77c00705bfd00015015926..."} 
[2026-11-05 09:05:26] local.INFO: Packet analysis {"connection_id":231336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c5"} 
[2026-11-05 09:05:26] local.INFO: Extracted packet for processing {"connection_id":231336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c5"} 
[2026-11-05 09:05:26] local.INFO: GPS Element Parsed {"raw_longitude":755660736,"raw_latitude":117817296,"longitude_deg":75.5660736,"latitude_deg":11.7817296,"altitude":21,"angle":345,"satellites":38,"speed":24,"hex_longitude":"2d0a77c0","hex_latitude":"0705bfd0","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225511168001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39391309735133184,"note":"Value kept but may cause issues"} 
[2026-11-05 09:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":755760342628595712,"note":"Value kept but may cause issues"} 
[2026-11-05 09:05:26] 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-05 09:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793849658000,"timestamp_ms":1793849658000,"timestamp_seconds":1793849658,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c58a90"} 
[2026-11-05 09: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-05 09:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-05 09:05:26] 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-05 09: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-05 09: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-05 09:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231336,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231336,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225511168001,"66":14428,"153":206,"94":10240,"24":24,"16":39391309735133184,"45":755760342628595712},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 09:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225511168001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:05:26] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 09:05:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39391309735133184,"km_value":39391309735133.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":755760342628595712,"description":"Unknown IO ID 45"} 
[2026-11-05 09:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225511168001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":755760342628595712}} 
[2026-11-05 09:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":231336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62083,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:05:26] local.INFO: GPS data processed {"connection_id":231336,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:05:26] local.INFO: Acknowledgment sent {"connection_id":231336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:05:47] local.INFO: TCP Data received {"connection_id":230034,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c582c0012d7f8b0005bd5ab8000b00bb32..."} 
[2026-11-05 09:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c582c0012d7f8b0005bd5ab8000b00bb32..."} 
[2026-11-05 09:05:47] local.INFO: Processing buffer {"connection_id":230034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c582c0012d7f8b0005bd5ab8000b00bb32..."} 
[2026-11-05 09:05:47] local.INFO: Packet analysis {"connection_id":230034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c5"} 
[2026-11-05 09:05:47] local.INFO: Extracted packet for processing {"connection_id":230034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c5"} 
[2026-11-05 09:05:47] local.INFO: GPS Element Parsed {"raw_longitude":763333376,"raw_latitude":96295608,"longitude_deg":76.3333376,"latitude_deg":9.6295608,"altitude":11,"angle":187,"satellites":50,"speed":33,"hex_longitude":"2d7f8b00","hex_latitude":"05bd5ab8","is_valid_coordinates":true} 
[2026-11-05 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-05 09:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225509632001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40242937325420544,"note":"Value kept but may cause issues"} 
[2026-11-05 09:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445326333952,"note":"Value kept but may cause issues"} 
[2026-11-05 09:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793849656000,"timestamp_ms":1793849656000,"timestamp_seconds":1793849656,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c582c0"} 
[2026-11-05 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-05 09:05: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-05 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-05 09:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 09:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:05:47] 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-05 09:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225509632001,"66":28050,"119":206,"85":12544,"24":33,"16":40242937325420544,"45":9192339445326333952},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-11-05 09:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225509632001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:05:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-11-05 09:05:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40242937325420544,"km_value":40242937325420.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445326333952,"description":"Unknown IO ID 45"} 
[2026-11-05 09:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225509632001,"power":28050,"unknown_119":206,"unknown_85":12544,"ignition":33,"odometer":null,"unknown_45":9192339445326333952}} 
[2026-11-05 09:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":230034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:05:47] local.INFO: GPS data processed {"connection_id":230034,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:05:47] local.INFO: Acknowledgment sent {"connection_id":230034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:05:49] local.INFO: TCP Data received {"connection_id":229518,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229518,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:05:49] local.INFO: Processing buffer {"connection_id":229518,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:05:49] local.INFO: IMEI packet received {"connection_id":229518,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":229518,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:05:51] local.INFO: TCP Data received {"connection_id":229518,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229518,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:05:51] local.INFO: Processing buffer {"connection_id":229518,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:05:51] local.INFO: IMEI packet received {"connection_id":229518,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":229518,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:05:54] local.INFO: TCP Data received {"connection_id":229518,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229518,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:05:54] local.INFO: Processing buffer {"connection_id":229518,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:05:54] local.INFO: IMEI packet received {"connection_id":229518,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":229518,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:05:58] local.INFO: TCP Data received {"connection_id":229518,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c69c00012d0a770007061738000d003427..."} 
[2026-11-05 09:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c69c00012d0a770007061738000d003427..."} 
[2026-11-05 09:05:58] local.INFO: Processing buffer {"connection_id":229518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c69c00012d0a770007061738000d003427..."} 
[2026-11-05 09:05:58] local.INFO: Packet analysis {"connection_id":229518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c6"} 
[2026-11-05 09:05:58] local.INFO: Extracted packet for processing {"connection_id":229518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c6"} 
[2026-11-05 09:05:58] local.INFO: GPS Element Parsed {"raw_longitude":755660544,"raw_latitude":117839672,"longitude_deg":75.5660544,"latitude_deg":11.7839672,"altitude":13,"angle":52,"satellites":39,"speed":10,"hex_longitude":"2d0a7700","hex_latitude":"07061738","is_valid_coordinates":true} 
[2026-11-05 09:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225530112001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39392426426630144,"note":"Value kept but may cause issues"} 
[2026-11-05 09:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753930755286398976,"note":"Value kept but may cause issues"} 
[2026-11-05 09:05:58] 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-05 09:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793849728000,"timestamp_ms":1793849728000,"timestamp_seconds":1793849728,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c69c00"} 
[2026-11-05 09:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-05 09:05: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-05 09:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":229518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":229518,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":229518,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225530112001,"66":14396,"153":206,"94":10240,"24":10,"16":39392426426630144,"45":753930755286398976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 09:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225530112001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:05:58] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 09:05:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39392426426630144,"km_value":39392426426630.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":753930755286398976,"description":"Unknown IO ID 45"} 
[2026-11-05 09:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225530112001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":753930755286398976}} 
[2026-11-05 09:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":229518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62085,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:05:58] local.INFO: GPS data processed {"connection_id":229518,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:05:58] local.INFO: Acknowledgment sent {"connection_id":229518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:06:04] local.INFO: TCP Data received {"connection_id":229519,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:06:04] local.INFO: Processing buffer {"connection_id":229519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:06:04] local.INFO: IMEI packet received {"connection_id":229519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":229519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:06:09] local.INFO: TCP Data received {"connection_id":229519,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:06:09] local.INFO: Processing buffer {"connection_id":229519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:06:09] local.INFO: IMEI packet received {"connection_id":229519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":229519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:06:10] local.INFO: TCP Data received {"connection_id":229519,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c5d4c8012d7f874005bd4188000b00bd33..."} 
[2026-11-05 09:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c5d4c8012d7f874005bd4188000b00bd33..."} 
[2026-11-05 09:06:10] local.INFO: Processing buffer {"connection_id":229519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c5d4c8012d7f874005bd4188000b00bd33..."} 
[2026-11-05 09:06:10] local.INFO: Packet analysis {"connection_id":229519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c5"} 
[2026-11-05 09:06:10] local.INFO: Extracted packet for processing {"connection_id":229519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c5"} 
[2026-11-05 09:06:10] local.INFO: GPS Element Parsed {"raw_longitude":763332416,"raw_latitude":96289160,"longitude_deg":76.3332416,"latitude_deg":9.628916,"altitude":11,"angle":189,"satellites":51,"speed":16,"hex_longitude":"2d7f8740","hex_latitude":"05bd4188","is_valid_coordinates":true} 
[2026-11-05 09:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225511936001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40243255153000448,"note":"Value kept but may cause issues"} 
[2026-11-05 09:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190439489231304704,"note":"Value kept but may cause issues"} 
[2026-11-05 09:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793849677000,"timestamp_ms":1793849677000,"timestamp_seconds":1793849677,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c5d4c8"} 
[2026-11-05 09:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:06: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-05 09:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-05 09:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:06:10] 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-05 09:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225511936001,"66":27865,"119":206,"85":12544,"24":16,"16":40243255153000448,"45":9190439489231304704},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-11-05 09:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225511936001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:06:10] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-11-05 09:06:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40243255153000448,"km_value":40243255153000.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190439489231304704,"description":"Unknown IO ID 45"} 
[2026-11-05 09:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225511936001,"power":27865,"unknown_119":206,"unknown_85":12544,"ignition":16,"odometer":null,"unknown_45":9190439489231304704}} 
[2026-11-05 09:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":229519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:06:10] local.INFO: GPS data processed {"connection_id":229519,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:06:10] local.INFO: Acknowledgment sent {"connection_id":229519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:06:29] local.INFO: TCP Data received {"connection_id":229518,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c69fe8012d0a7800070617a0000d004a25..."} 
[2026-11-05 09:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c69fe8012d0a7800070617a0000d004a25..."} 
[2026-11-05 09:06:29] local.INFO: Processing buffer {"connection_id":229518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c69fe8012d0a7800070617a0000d004a25..."} 
[2026-11-05 09:06:29] local.INFO: Packet analysis {"connection_id":229518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c6"} 
[2026-11-05 09:06:29] local.INFO: Extracted packet for processing {"connection_id":229518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c6"} 
[2026-11-05 09:06:29] local.INFO: GPS Element Parsed {"raw_longitude":755660800,"raw_latitude":117839776,"longitude_deg":75.56608,"latitude_deg":11.7839776,"altitude":13,"angle":74,"satellites":37,"speed":9,"hex_longitude":"2d0a7800","hex_latitude":"070617a0","is_valid_coordinates":true} 
[2026-11-05 09:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225530368001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39392439311532032,"note":"Value kept but may cause issues"} 
[2026-11-05 09:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754071492774803456,"note":"Value kept but may cause issues"} 
[2026-11-05 09:06:29] 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-05 09:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793849729000,"timestamp_ms":1793849729000,"timestamp_seconds":1793849729,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c69fe8"} 
[2026-11-05 09:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-05 09:06:29] 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-05 09:06:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":229518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":229518,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":229518,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225530368001,"66":14396,"153":206,"94":10240,"24":9,"16":39392439311532032,"45":754071492774803456},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 09:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225530368001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:06:29] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 09:06:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39392439311532032,"km_value":39392439311532.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":754071492774803456,"description":"Unknown IO ID 45"} 
[2026-11-05 09:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225530368001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":754071492774803456}} 
[2026-11-05 09:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":229518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62087,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:06:29] local.INFO: GPS data processed {"connection_id":229518,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:06:29] local.INFO: Acknowledgment sent {"connection_id":229518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:06:41] local.INFO: TCP Data received {"connection_id":229519,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c626d0012d7f834005bd25c8000900c031..."} 
[2026-11-05 09:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c626d0012d7f834005bd25c8000900c031..."} 
[2026-11-05 09:06:41] local.INFO: Processing buffer {"connection_id":229519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c626d0012d7f834005bd25c8000900c031..."} 
[2026-11-05 09:06:41] local.INFO: Packet analysis {"connection_id":229519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c6"} 
[2026-11-05 09:06:41] local.INFO: Extracted packet for processing {"connection_id":229519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c6"} 
[2026-11-05 09:06:41] local.INFO: GPS Element Parsed {"raw_longitude":763331392,"raw_latitude":96282056,"longitude_deg":76.3331392,"latitude_deg":9.6282056,"altitude":9,"angle":192,"satellites":49,"speed":4,"hex_longitude":"2d7f8340","hex_latitude":"05bd25c8","is_valid_coordinates":true} 
[2026-11-05 09:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225517312001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40243603045351424,"note":"Value kept but may cause issues"} 
[2026-11-05 09:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189383958066989056,"note":"Value kept but may cause issues"} 
[2026-11-05 09:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793849698000,"timestamp_ms":1793849698000,"timestamp_seconds":1793849698,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c626d0"} 
[2026-11-05 09:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:06: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-05 09:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 09:06: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-05 09:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:06:41] 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-05 09:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225517312001,"66":28093,"119":206,"85":12544,"24":4,"16":40243603045351424,"45":9189383958066989056},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-11-05 09:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225517312001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:06:41] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-11-05 09:06:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40243603045351424,"km_value":40243603045351.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189383958066989056,"description":"Unknown IO ID 45"} 
[2026-11-05 09:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225517312001,"power":28093,"unknown_119":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9189383958066989056}} 
[2026-11-05 09:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":229519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:06:41] local.INFO: GPS data processed {"connection_id":229519,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:06:41] local.INFO: Acknowledgment sent {"connection_id":229519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:06:49] local.INFO: TCP Data received {"connection_id":231338,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231338,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:06:49] local.INFO: Processing buffer {"connection_id":231338,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:06:49] local.INFO: IMEI packet received {"connection_id":231338,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":231338,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:06:50] local.INFO: TCP Data received {"connection_id":231338,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231338,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:06:50] local.INFO: Processing buffer {"connection_id":231338,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:06:50] local.INFO: IMEI packet received {"connection_id":231338,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":231338,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:06:54] local.INFO: TCP Data received {"connection_id":231338,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231338,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:06:54] local.INFO: Processing buffer {"connection_id":231338,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:06:54] local.INFO: IMEI packet received {"connection_id":231338,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":231338,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:06:55] local.INFO: TCP Data received {"connection_id":231338,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c7b928012d0a874007061308000f000027..."} 
[2026-11-05 09:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c7b928012d0a874007061308000f000027..."} 
[2026-11-05 09:06:55] local.INFO: Processing buffer {"connection_id":231338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c7b928012d0a874007061308000f000027..."} 
[2026-11-05 09:06:55] local.INFO: Packet analysis {"connection_id":231338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c7"} 
[2026-11-05 09:06:55] local.INFO: Extracted packet for processing {"connection_id":231338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c7"} 
[2026-11-05 09:06:55] local.INFO: GPS Element Parsed {"raw_longitude":755664704,"raw_latitude":117838600,"longitude_deg":75.5664704,"latitude_deg":11.78386,"altitude":15,"angle":0,"satellites":39,"speed":1,"hex_longitude":"2d0a8740","hex_latitude":"07061308","is_valid_coordinates":true} 
[2026-11-05 09:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225548800001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39392722779373568,"note":"Value kept but may cause issues"} 
[2026-11-05 09:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758434354913556480,"note":"Value kept but may cause issues"} 
[2026-11-05 09:06:55] 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-05 09:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793849801000,"timestamp_ms":1793849801000,"timestamp_seconds":1793849801,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c7b928"} 
[2026-11-05 09:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-05 09:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-11-05 09:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733144832,"note":"Value kept but may cause issues"} 
[2026-11-05 09:06:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-11-05 09:06:55] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2848378568,"note":"Value kept but may cause issues"} 
[2026-11-05 09:06:55] local.WARNING: Large IO value detected {"io_id":10,"raw_value":8989192578973302797,"note":"Value kept but may cause issues"} 
[2026-11-05 09:06:55] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-11-05 09:06:55] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504200710979584,"note":"Value kept but may cause issues"} 
[2026-11-05 09:06:55] local.WARNING: Large IO value detected {"io_id":169,"raw_value":3337488385,"note":"Value kept but may cause issues"} 
[2026-11-05 09:06:55] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639689926666137,"note":"Value kept but may cause issues"} 
[2026-11-05 09:06:55] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6125159380314030336,"note":"Value kept but may cause issues"} 
[2026-11-05 09:06:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738080462,"corrected_to":0} 
[2026-11-05 09:06:55] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2952867082,"note":"Value kept but may cause issues"} 
[2026-11-05 09:06:55] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-11-05 09:06:55] local.WARNING: Large IO value detected {"io_id":139,"raw_value":4083220480,"note":"Value kept but may cause issues"} 
[2026-11-05 09:06:55] local.WARNING: Large IO value detected {"io_id":64,"raw_value":84735511788717590,"note":"Value kept but may cause issues"} 
[2026-11-05 09:06:55] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3941152856213504,"note":"Value kept but may cause issues"} 
[2026-11-05 09:06:55] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,153,94,24,241,157,16,243,161,99,45,128,19,40,10,66,21,20,39,5,1,240,38,227,169,6,4,113,205,7,210,134,32,41,239,56,2,139,15,11,206,64,104],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1738080462,"validated":0}]} 
[2026-11-05 09:06:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153141578731094016,"timestamp_seconds":1153141578731094.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-11-05 09:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231338,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231338,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225548800001,"66":14374,"153":206,"94":10240,"24":1,"16":39392722779373568,"45":758434354913556480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 09:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225548800001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:06:55] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 09:06:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39392722779373568,"km_value":39392722779373.57,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":758434354913556480,"description":"Unknown IO ID 45"} 
[2026-11-05 09:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225548800001,"power":14374,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":758434354913556480}} 
[2026-11-05 09:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":231338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62089,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:06:55] local.INFO: GPS data processed {"connection_id":231338,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:06:55] local.INFO: Acknowledgment sent {"connection_id":231338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:07:04] local.INFO: TCP Data received {"connection_id":233259,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:07:04] local.INFO: Processing buffer {"connection_id":233259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:07:04] local.INFO: IMEI packet received {"connection_id":233259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":233259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:07:09] local.INFO: TCP Data received {"connection_id":233259,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:07:09] local.INFO: Processing buffer {"connection_id":233259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:07:09] local.INFO: IMEI packet received {"connection_id":233259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":233259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:07:10] local.INFO: TCP Data received {"connection_id":233259,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c649f8012d7f828005bd1fa8000900b331..."} 
[2026-11-05 09:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c649f8012d7f828005bd1fa8000900b331..."} 
[2026-11-05 09:07:10] local.INFO: Processing buffer {"connection_id":233259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c649f8012d7f828005bd1fa8000900b331..."} 
[2026-11-05 09:07:10] local.INFO: Packet analysis {"connection_id":233259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c6"} 
[2026-11-05 09:07:10] local.INFO: Extracted packet for processing {"connection_id":233259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c6"} 
[2026-11-05 09:07:10] local.INFO: GPS Element Parsed {"raw_longitude":763331200,"raw_latitude":96280488,"longitude_deg":76.33312,"latitude_deg":9.6280488,"altitude":9,"angle":179,"satellites":49,"speed":9,"hex_longitude":"2d7f8280","hex_latitude":"05bd1fa8","is_valid_coordinates":true} 
[2026-11-05 09:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225522688001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40243680354762752,"note":"Value kept but may cause issues"} 
[2026-11-05 09:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9188258058158327808,"note":"Value kept but may cause issues"} 
[2026-11-05 09:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793849707000,"timestamp_ms":1793849707000,"timestamp_seconds":1793849707,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c649f8"} 
[2026-11-05 09:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:07: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-05 09:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-11-05 09:07:10] 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-05 09:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:07:10] 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-05 09:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225522688001,"66":28137,"121":206,"85":12544,"24":9,"16":40243680354762752,"45":9188258058158327808},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-11-05 09:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225522688001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:07:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-11-05 09:07:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40243680354762752,"km_value":40243680354762.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9188258058158327808,"description":"Unknown IO ID 45"} 
[2026-11-05 09:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225522688001,"power":28137,"unknown_121":206,"unknown_85":12544,"ignition":9,"odometer":null,"unknown_45":9188258058158327808}} 
[2026-11-05 09:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":233259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:07:10] local.INFO: GPS data processed {"connection_id":233259,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:07:10] local.INFO: Acknowledgment sent {"connection_id":233259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:07:26] local.INFO: TCP Data received {"connection_id":231338,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c7bd10012d0a874007061328000f015528..."} 
[2026-11-05 09:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c7bd10012d0a874007061328000f015528..."} 
[2026-11-05 09:07:26] local.INFO: Processing buffer {"connection_id":231338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c7bd10012d0a874007061328000f015528..."} 
[2026-11-05 09:07:26] local.INFO: Packet analysis {"connection_id":231338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c7"} 
[2026-11-05 09:07:26] local.INFO: Extracted packet for processing {"connection_id":231338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c7"} 
[2026-11-05 09:07:26] local.INFO: GPS Element Parsed {"raw_longitude":755664704,"raw_latitude":117838632,"longitude_deg":75.5664704,"latitude_deg":11.7838632,"altitude":15,"angle":341,"satellites":40,"speed":0,"hex_longitude":"2d0a8740","hex_latitude":"07061328","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225549056001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39392722779373568,"note":"Value kept but may cause issues"} 
[2026-11-05 09:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758645461146077184,"note":"Value kept but may cause issues"} 
[2026-11-05 09:07:26] 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-05 09:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793849802000,"timestamp_ms":1793849802000,"timestamp_seconds":1793849802,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c7bd10"} 
[2026-11-05 09: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-05 09:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-11-05 09:07:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09: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-05 09: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-05 09:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231338,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231338,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225549056001,"66":14396,"153":206,"94":10240,"24":0,"16":39392722779373568,"45":758645461146077184},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 09:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225549056001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:07:26] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 09:07:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39392722779373568,"km_value":39392722779373.57,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":758645461146077184,"description":"Unknown IO ID 45"} 
[2026-11-05 09:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225549056001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":758645461146077184}} 
[2026-11-05 09:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":231338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62091,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:07:26] local.INFO: GPS data processed {"connection_id":231338,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:07:26] local.INFO: Acknowledgment sent {"connection_id":231338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:07:41] local.INFO: TCP Data received {"connection_id":233259,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c66d20012d7f818005bd14a0000a00be33..."} 
[2026-11-05 09:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c66d20012d7f818005bd14a0000a00be33..."} 
[2026-11-05 09:07:41] local.INFO: Processing buffer {"connection_id":233259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c66d20012d7f818005bd14a0000a00be33..."} 
[2026-11-05 09:07:41] local.INFO: Packet analysis {"connection_id":233259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c6"} 
[2026-11-05 09:07:41] local.INFO: Extracted packet for processing {"connection_id":233259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c6"} 
[2026-11-05 09:07:41] local.INFO: GPS Element Parsed {"raw_longitude":763330944,"raw_latitude":96277664,"longitude_deg":76.3330944,"latitude_deg":9.6277664,"altitude":10,"angle":190,"satellites":51,"speed":14,"hex_longitude":"2d7f8180","hex_latitude":"05bd14a0","is_valid_coordinates":true} 
[2026-11-05 09:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225524992001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40243822088683520,"note":"Value kept but may cause issues"} 
[2026-11-05 09:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9188046951925393408,"note":"Value kept but may cause issues"} 
[2026-11-05 09:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793849716000,"timestamp_ms":1793849716000,"timestamp_seconds":1793849716,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c66d20"} 
[2026-11-05 09:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:07: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-05 09:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 09:07:41] 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-05 09:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:07:41] 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-05 09:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225524992001,"66":28115,"121":206,"85":12544,"24":14,"16":40243822088683520,"45":9188046951925393408},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-11-05 09:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225524992001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:07:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-11-05 09:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40243822088683520,"km_value":40243822088683.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9188046951925393408,"description":"Unknown IO ID 45"} 
[2026-11-05 09:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225524992001,"power":28115,"unknown_121":206,"unknown_85":12544,"ignition":14,"odometer":null,"unknown_45":9188046951925393408}} 
[2026-11-05 09:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":233259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:07:41] local.INFO: GPS data processed {"connection_id":233259,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:07:41] local.INFO: Acknowledgment sent {"connection_id":233259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:07:54] local.INFO: TCP Data received {"connection_id":229521,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229521,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:07:54] local.INFO: Processing buffer {"connection_id":229521,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:07:54] local.INFO: IMEI packet received {"connection_id":229521,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":229521,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:07:58] local.INFO: TCP Data received {"connection_id":229521,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229521,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:07:58] local.INFO: Processing buffer {"connection_id":229521,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:07:58] local.INFO: IMEI packet received {"connection_id":229521,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":229521,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:07:59] local.INFO: TCP Data received {"connection_id":229521,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c7c8c8012d0a8680070613b8000f014a29..."} 
[2026-11-05 09:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c7c8c8012d0a8680070613b8000f014a29..."} 
[2026-11-05 09:07:59] local.INFO: Processing buffer {"connection_id":229521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c7c8c8012d0a8680070613b8000f014a29..."} 
[2026-11-05 09:07:59] local.INFO: Packet analysis {"connection_id":229521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c7"} 
[2026-11-05 09:07:59] local.INFO: Extracted packet for processing {"connection_id":229521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c7"} 
[2026-11-05 09:07:59] local.INFO: GPS Element Parsed {"raw_longitude":755664512,"raw_latitude":117838776,"longitude_deg":75.5664512,"latitude_deg":11.7838776,"altitude":15,"angle":330,"satellites":41,"speed":2,"hex_longitude":"2d0a8680","hex_latitude":"070613b8","is_valid_coordinates":true} 
[2026-11-05 09:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225549312001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39392735664275456,"note":"Value kept but may cause issues"} 
[2026-11-05 09:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758645461146085376,"note":"Value kept but may cause issues"} 
[2026-11-05 09:07: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-05 09:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793849805000,"timestamp_ms":1793849805000,"timestamp_seconds":1793849805,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c7c8c8"} 
[2026-11-05 09:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-05 09:07: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-05 09:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":229521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":229521,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":229521,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225549312001,"66":14396,"153":206,"94":10240,"24":2,"16":39392735664275456,"45":758645461146085376},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 09:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225549312001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:07:59] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 09:07:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39392735664275456,"km_value":39392735664275.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":758645461146085376,"description":"Unknown IO ID 45"} 
[2026-11-05 09:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225549312001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":758645461146085376}} 
[2026-11-05 09:07:59] 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":62093,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:07:59] local.INFO: GPS data processed {"connection_id":229521,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:07:59] local.INFO: Acknowledgment sent {"connection_id":229521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:08:04] local.INFO: TCP Data received {"connection_id":233260,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:08:04] local.INFO: Processing buffer {"connection_id":233260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:08:04] local.INFO: IMEI packet received {"connection_id":233260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":233260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:08:06] local.INFO: TCP Data received {"connection_id":233260,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:08:06] local.INFO: Processing buffer {"connection_id":233260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:08:06] local.INFO: IMEI packet received {"connection_id":233260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":233260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:08:07] local.INFO: TCP Data received {"connection_id":233260,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c6bf28012d7f7e0005bd0388000b00c133..."} 
[2026-11-05 09:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c6bf28012d7f7e0005bd0388000b00c133..."} 
[2026-11-05 09:08:07] local.INFO: Processing buffer {"connection_id":233260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c6bf28012d7f7e0005bd0388000b00c133..."} 
[2026-11-05 09:08:07] local.INFO: Packet analysis {"connection_id":233260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c6"} 
[2026-11-05 09:08:07] local.INFO: Extracted packet for processing {"connection_id":233260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c6"} 
[2026-11-05 09:08:07] local.INFO: GPS Element Parsed {"raw_longitude":763330048,"raw_latitude":96273288,"longitude_deg":76.3330048,"latitude_deg":9.6273288,"altitude":11,"angle":193,"satellites":51,"speed":0,"hex_longitude":"2d7f7e00","hex_latitude":"05bd0388","is_valid_coordinates":true} 
[2026-11-05 09:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225527296001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40244041132015616,"note":"Value kept but may cause issues"} 
[2026-11-05 09:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9187765476947959808,"note":"Value kept but may cause issues"} 
[2026-11-05 09:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1793849737000,"timestamp_ms":1793849737000,"timestamp_seconds":1793849737,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c6bf28"} 
[2026-11-05 09:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 09:08:07] 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-05 09:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":233260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":233260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":233260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:08:07] 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-05 09:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225527296001,"66":27908,"121":206,"85":12544,"24":0,"16":40244041132015616,"45":9187765476947959808},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-11-05 09:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225527296001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:08:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-11-05 09:08:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40244041132015616,"km_value":40244041132015.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9187765476947959808,"description":"Unknown IO ID 45"} 
[2026-11-05 09:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225527296001,"power":27908,"unknown_121":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9187765476947959808}} 
[2026-11-05 09:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":233260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:08:07] local.INFO: GPS data processed {"connection_id":233260,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:08:07] local.INFO: Acknowledgment sent {"connection_id":233260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:08:26] local.INFO: TCP Data received {"connection_id":230035,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:08:26] local.INFO: Processing buffer {"connection_id":230035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:08:26] local.INFO: IMEI packet received {"connection_id":230035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 09:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":230035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:08:30] local.INFO: TCP Data received {"connection_id":229521,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c93fc8012d0a74c00705e0b0001500d828..."} 
[2026-11-05 09:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c93fc8012d0a74c00705e0b0001500d828..."} 
[2026-11-05 09:08:30] local.INFO: Processing buffer {"connection_id":229521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c93fc8012d0a74c00705e0b0001500d828..."} 
[2026-11-05 09:08:30] local.INFO: Packet analysis {"connection_id":229521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c9"} 
[2026-11-05 09:08:30] local.INFO: Extracted packet for processing {"connection_id":229521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c9"} 
[2026-11-05 09:08:30] local.INFO: GPS Element Parsed {"raw_longitude":755659968,"raw_latitude":117825712,"longitude_deg":75.5659968,"latitude_deg":11.7825712,"altitude":21,"angle":216,"satellites":40,"speed":5,"hex_longitude":"2d0a74c0","hex_latitude":"0705e0b0","is_valid_coordinates":true} 
[2026-11-05 09:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225573888001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39393616132571136,"note":"Value kept but may cause issues"} 
[2026-11-05 09:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753719649050474496,"note":"Value kept but may cause issues"} 
[2026-11-05 09:08: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-05 09:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793849901000,"timestamp_ms":1793849901000,"timestamp_seconds":1793849901,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c93fc8"} 
[2026-11-05 09:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-11-05 09:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":229521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":229521,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":229521,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225573888001,"66":14439,"153":206,"94":10240,"24":5,"16":39393616132571136,"45":753719649050474496},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 09:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225573888001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:08:30] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 09:08:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39393616132571136,"km_value":39393616132571.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":753719649050474496,"description":"Unknown IO ID 45"} 
[2026-11-05 09:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225573888001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":753719649050474496}} 
[2026-11-05 09:08:30] 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":62095,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:08:30] local.INFO: GPS data processed {"connection_id":229521,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:08:30] local.INFO: Acknowledgment sent {"connection_id":229521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:08:38] local.INFO: TCP Data received {"connection_id":233260,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c71130012d7f7d8005bcfc80000b00ba32..."} 
[2026-11-05 09:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c71130012d7f7d8005bcfc80000b00ba32..."} 
[2026-11-05 09:08:38] local.INFO: Processing buffer {"connection_id":233260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c71130012d7f7d8005bcfc80000b00ba32..."} 
[2026-11-05 09:08:38] local.INFO: Packet analysis {"connection_id":233260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c7"} 
[2026-11-05 09:08:38] local.INFO: Extracted packet for processing {"connection_id":233260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c7"} 
[2026-11-05 09:08:38] local.INFO: GPS Element Parsed {"raw_longitude":763329920,"raw_latitude":96271488,"longitude_deg":76.332992,"latitude_deg":9.6271488,"altitude":11,"angle":186,"satellites":50,"speed":0,"hex_longitude":"2d7f7d80","hex_latitude":"05bcfc80","is_valid_coordinates":true} 
[2026-11-05 09:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225532672001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40244131326328832,"note":"Value kept but may cause issues"} 
[2026-11-05 09:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9186780314528352256,"note":"Value kept but may cause issues"} 
[2026-11-05 09:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1793849758000,"timestamp_ms":1793849758000,"timestamp_seconds":1793849758,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c71130"} 
[2026-11-05 09:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 09:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":233260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":233260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":233260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:08:38] 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-05 09:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225532672001,"66":28017,"121":206,"85":12544,"24":0,"16":40244131326328832,"45":9186780314528352256},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-11-05 09:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225532672001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:08:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-11-05 09:08:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40244131326328832,"km_value":40244131326328.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9186780314528352256,"description":"Unknown IO ID 45"} 
[2026-11-05 09:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225532672001,"power":28017,"unknown_121":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9186780314528352256}} 
[2026-11-05 09:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":233260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:08:38] local.INFO: GPS data processed {"connection_id":233260,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:08:38] local.INFO: Acknowledgment sent {"connection_id":233260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:08:49] local.INFO: TCP Data received {"connection_id":230036,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230036,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:08:49] local.INFO: Processing buffer {"connection_id":230036,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:08:49] local.INFO: IMEI packet received {"connection_id":230036,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":230036,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:08:50] local.INFO: TCP Data received {"connection_id":230036,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230036,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:08:50] local.INFO: Processing buffer {"connection_id":230036,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:08:50] local.INFO: IMEI packet received {"connection_id":230036,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":230036,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:08:52] local.INFO: TCP Data received {"connection_id":230036,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230036,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:08:52] local.INFO: Processing buffer {"connection_id":230036,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:08:52] local.INFO: IMEI packet received {"connection_id":230036,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":230036,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:08:52] local.INFO: TCP Data received {"connection_id":230036,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c94f68012d0a73800705def8001600c928..."} 
[2026-11-05 09:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c94f68012d0a73800705def8001600c928..."} 
[2026-11-05 09:08:52] local.INFO: Processing buffer {"connection_id":230036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c94f68012d0a73800705def8001600c928..."} 
[2026-11-05 09:08:52] local.INFO: Packet analysis {"connection_id":230036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c9"} 
[2026-11-05 09:08:52] local.INFO: Extracted packet for processing {"connection_id":230036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c9"} 
[2026-11-05 09:08:52] local.INFO: GPS Element Parsed {"raw_longitude":755659648,"raw_latitude":117825272,"longitude_deg":75.5659648,"latitude_deg":11.7825272,"altitude":22,"angle":201,"satellites":40,"speed":5,"hex_longitude":"2d0a7380","hex_latitude":"0705def8","is_valid_coordinates":true} 
[2026-11-05 09:08: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-05 09:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225574656001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39393641902374912,"note":"Value kept but may cause issues"} 
[2026-11-05 09:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753438174073630720,"note":"Value kept but may cause issues"} 
[2026-11-05 09:08: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-05 09:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793849905000,"timestamp_ms":1793849905000,"timestamp_seconds":1793849905,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c94f68"} 
[2026-11-05 09:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:08: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-05 09:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-05 09:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:08: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-05 09:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":230036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":230036,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":230036,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225574656001,"66":14439,"153":206,"94":10240,"24":5,"16":39393641902374912,"45":753438174073630720},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 09:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225574656001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:08:52] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 09:08:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39393641902374912,"km_value":39393641902374.914,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":753438174073630720,"description":"Unknown IO ID 45"} 
[2026-11-05 09:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225574656001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":753438174073630720}} 
[2026-11-05 09:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":230036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62097,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:08:53] local.INFO: GPS data processed {"connection_id":230036,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:08:53] local.INFO: Acknowledgment sent {"connection_id":230036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:09:04] local.INFO: TCP Data received {"connection_id":233261,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:09:04] local.INFO: Processing buffer {"connection_id":233261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:09:04] local.INFO: IMEI packet received {"connection_id":233261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":233261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:09:06] local.INFO: TCP Data received {"connection_id":229522,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:09:06] local.INFO: Processing buffer {"connection_id":229522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:09:06] local.INFO: IMEI packet received {"connection_id":229522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 09:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":229522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:09:08] local.INFO: TCP Data received {"connection_id":233261,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:09:08] local.INFO: Processing buffer {"connection_id":233261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:09:08] local.INFO: IMEI packet received {"connection_id":233261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":233261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:09:09] local.INFO: TCP Data received {"connection_id":233261,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c76338012d7f7b4005bcf010000c00bf31..."} 
[2026-11-05 09:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c76338012d7f7b4005bcf010000c00bf31..."} 
[2026-11-05 09:09:09] local.INFO: Processing buffer {"connection_id":233261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c76338012d7f7b4005bcf010000c00bf31..."} 
[2026-11-05 09:09:09] local.INFO: Packet analysis {"connection_id":233261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c7"} 
[2026-11-05 09:09:09] local.INFO: Extracted packet for processing {"connection_id":233261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c7"} 
[2026-11-05 09:09:09] local.INFO: GPS Element Parsed {"raw_longitude":763329344,"raw_latitude":96268304,"longitude_deg":76.3329344,"latitude_deg":9.6268304,"altitude":12,"angle":191,"satellites":49,"speed":15,"hex_longitude":"2d7f7b40","hex_latitude":"05bcf010","is_valid_coordinates":true} 
[2026-11-05 09:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225538048001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40244290240118784,"note":"Value kept but may cause issues"} 
[2026-11-05 09:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9186639577039536128,"note":"Value kept but may cause issues"} 
[2026-11-05 09:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793849779000,"timestamp_ms":1793849779000,"timestamp_seconds":1793849779,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c76338"} 
[2026-11-05 09:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:09: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-05 09:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-11-05 09:09:09] 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-05 09:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:09:09] 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-05 09:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225538048001,"66":27865,"121":206,"85":12544,"24":15,"16":40244290240118784,"45":9186639577039536128},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-11-05 09:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225538048001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:09:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-11-05 09:09:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40244290240118784,"km_value":40244290240118.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9186639577039536128,"description":"Unknown IO ID 45"} 
[2026-11-05 09:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225538048001,"power":27865,"unknown_121":206,"unknown_85":12544,"ignition":15,"odometer":null,"unknown_45":9186639577039536128}} 
[2026-11-05 09:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":233261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:09:09] local.INFO: GPS data processed {"connection_id":233261,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:09:09] local.INFO: Acknowledgment sent {"connection_id":233261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:09:24] local.INFO: TCP Data received {"connection_id":230036,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c95350012d0a73800705de60001600be28..."} 
[2026-11-05 09:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c95350012d0a73800705de60001600be28..."} 
[2026-11-05 09:09:24] local.INFO: Processing buffer {"connection_id":230036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c95350012d0a73800705de60001600be28..."} 
[2026-11-05 09:09:24] local.INFO: Packet analysis {"connection_id":230036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c9"} 
[2026-11-05 09:09:24] local.INFO: Extracted packet for processing {"connection_id":230036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c9"} 
[2026-11-05 09:09:24] local.INFO: GPS Element Parsed {"raw_longitude":755659648,"raw_latitude":117825120,"longitude_deg":75.5659648,"latitude_deg":11.782512,"altitude":22,"angle":190,"satellites":40,"speed":6,"hex_longitude":"2d0a7380","hex_latitude":"0705de60","is_valid_coordinates":true} 
[2026-11-05 09:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225575680001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39393650492309504,"note":"Value kept but may cause issues"} 
[2026-11-05 09:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753086330352629760,"note":"Value kept but may cause issues"} 
[2026-11-05 09:09:24] 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-05 09:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793849906000,"timestamp_ms":1793849906000,"timestamp_seconds":1793849906,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c95350"} 
[2026-11-05 09:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-05 09:09:24] 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-05 09:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":230036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":230036,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":230036,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225575680001,"66":14439,"153":206,"94":10240,"24":6,"16":39393650492309504,"45":753086330352629760},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 09:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225575680001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:09:24] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 09:09:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39393650492309504,"km_value":39393650492309.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":753086330352629760,"description":"Unknown IO ID 45"} 
[2026-11-05 09:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225575680001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":753086330352629760}} 
[2026-11-05 09:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":230036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62099,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:09:24] local.INFO: GPS data processed {"connection_id":230036,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:09:24] local.INFO: Acknowledgment sent {"connection_id":230036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:09:40] local.INFO: TCP Data received {"connection_id":233261,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c7b540012d7f744005bcd1d0000d00bf2f..."} 
[2026-11-05 09:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c7b540012d7f744005bcd1d0000d00bf2f..."} 
[2026-11-05 09:09:40] local.INFO: Processing buffer {"connection_id":233261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c7b540012d7f744005bcd1d0000d00bf2f..."} 
[2026-11-05 09:09:40] local.INFO: Packet analysis {"connection_id":233261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c7"} 
[2026-11-05 09:09:40] local.INFO: Extracted packet for processing {"connection_id":233261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c7"} 
[2026-11-05 09:09:40] local.INFO: GPS Element Parsed {"raw_longitude":763327552,"raw_latitude":96260560,"longitude_deg":76.3327552,"latitude_deg":9.626056,"altitude":13,"angle":191,"satellites":47,"speed":15,"hex_longitude":"2d7f7440","hex_latitude":"05bcd1d0","is_valid_coordinates":true} 
[2026-11-05 09:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225543424001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40244676787175424,"note":"Value kept but may cause issues"} 
[2026-11-05 09:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9186006258341122048,"note":"Value kept but may cause issues"} 
[2026-11-05 09:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793849800000,"timestamp_ms":1793849800000,"timestamp_seconds":1793849800,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c7b540"} 
[2026-11-05 09:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-05 09:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 09:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:09:40] 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-05 09:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225543424001,"66":27974,"121":206,"85":12544,"24":15,"16":40244676787175424,"45":9186006258341122048},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-11-05 09:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225543424001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:09:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-11-05 09:09:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40244676787175424,"km_value":40244676787175.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9186006258341122048,"description":"Unknown IO ID 45"} 
[2026-11-05 09:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225543424001,"power":27974,"unknown_121":206,"unknown_85":12544,"ignition":15,"odometer":null,"unknown_45":9186006258341122048}} 
[2026-11-05 09:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":233261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:09:40] local.INFO: GPS data processed {"connection_id":233261,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:09:40] local.INFO: Acknowledgment sent {"connection_id":233261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:09:49] local.INFO: TCP Data received {"connection_id":230037,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230037,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:09:49] local.INFO: Processing buffer {"connection_id":230037,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:09:49] local.INFO: IMEI packet received {"connection_id":230037,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":230037,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:09:52] local.INFO: TCP Data received {"connection_id":230037,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230037,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:09:52] local.INFO: Processing buffer {"connection_id":230037,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:09:52] local.INFO: IMEI packet received {"connection_id":230037,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":230037,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:09:53] local.INFO: TCP Data received {"connection_id":230037,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ca60d8012d0a534007057b10001000fa26..."} 
[2026-11-05 09:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ca60d8012d0a534007057b10001000fa26..."} 
[2026-11-05 09:09:53] local.INFO: Processing buffer {"connection_id":230037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ca60d8012d0a534007057b10001000fa26..."} 
[2026-11-05 09:09:53] local.INFO: Packet analysis {"connection_id":230037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ca"} 
[2026-11-05 09:09:53] local.INFO: Extracted packet for processing {"connection_id":230037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ca"} 
[2026-11-05 09:09:53] local.INFO: GPS Element Parsed {"raw_longitude":755651392,"raw_latitude":117799696,"longitude_deg":75.5651392,"latitude_deg":11.7799696,"altitude":16,"angle":250,"satellites":38,"speed":14,"hex_longitude":"2d0a5340","hex_latitude":"07057b10","is_valid_coordinates":true} 
[2026-11-05 09:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225590528001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39395183795634176,"note":"Value kept but may cause issues"} 
[2026-11-05 09:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":749919736858851328,"note":"Value kept but may cause issues"} 
[2026-11-05 09:09:53] 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-05 09:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793849975000,"timestamp_ms":1793849975000,"timestamp_seconds":1793849975,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ca60d8"} 
[2026-11-05 09:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:09:53] 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-05 09:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 09:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":230037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":230037,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":230037,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225590528001,"66":14428,"165":206,"94":10240,"24":14,"16":39395183795634176,"45":749919736858851328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 09:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225590528001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:09:53] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 09:09:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39395183795634176,"km_value":39395183795634.18,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":749919736858851328,"description":"Unknown IO ID 45"} 
[2026-11-05 09:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225590528001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":749919736858851328}} 
[2026-11-05 09:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":230037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62101,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:09:53] local.INFO: GPS data processed {"connection_id":230037,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:09:53] local.INFO: Acknowledgment sent {"connection_id":230037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:10:09] local.INFO: TCP Data received {"connection_id":231340,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:10:09] local.INFO: Processing buffer {"connection_id":231340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:10:09] local.INFO: IMEI packet received {"connection_id":231340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":231340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:10:15] local.INFO: TCP Data received {"connection_id":231340,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:10:15] local.INFO: Processing buffer {"connection_id":231340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:10:15] local.INFO: IMEI packet received {"connection_id":231340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":231340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:10:16] local.INFO: TCP Data received {"connection_id":231340,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c962f0012d7f3d8005bba458000800bd31..."} 
[2026-11-05 09:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c962f0012d7f3d8005bba458000800bd31..."} 
[2026-11-05 09:10:16] local.INFO: Processing buffer {"connection_id":231340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c962f0012d7f3d8005bba458000800bd31..."} 
[2026-11-05 09:10:16] local.INFO: Packet analysis {"connection_id":231340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c9"} 
[2026-11-05 09:10:16] local.INFO: Extracted packet for processing {"connection_id":231340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c9"} 
[2026-11-05 09:10:16] local.INFO: GPS Element Parsed {"raw_longitude":763313536,"raw_latitude":96183384,"longitude_deg":76.3313536,"latitude_deg":9.6183384,"altitude":8,"angle":189,"satellites":49,"speed":0,"hex_longitude":"2d7f3d80","hex_latitude":"05bba458","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225571584001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40248490718134272,"note":"Value kept but may cause issues"} 
[2026-11-05 09:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9170173290881253376,"note":"Value kept but may cause issues"} 
[2026-11-05 09:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793849910000,"timestamp_ms":1793849910000,"timestamp_seconds":1793849910,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c962f0"} 
[2026-11-05 09: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-05 09:10: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-05 09: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-05 09:10:16] 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-05 09: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-05 09: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-05 09:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":231340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":231340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":231340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:10:16] 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-05 09:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225571584001,"66":27876,"120":206,"85":12544,"24":0,"16":40248490718134272,"45":9170173290881253376},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-11-05 09:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225571584001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:10:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-11-05 09:10:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40248490718134272,"km_value":40248490718134.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9170173290881253376,"description":"Unknown IO ID 45"} 
[2026-11-05 09:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225571584001,"power":27876,"unknown_120":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9170173290881253376}} 
[2026-11-05 09:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":231340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:10:16] local.INFO: GPS data processed {"connection_id":231340,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:10:16] local.INFO: Acknowledgment sent {"connection_id":231340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:10:17] local.INFO: TCP Data received {"connection_id":231340,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9c9b4f8012d7f3bc005bb9a98000900bf32..."} 
[2026-11-05 09:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9c9b4f8012d7f3bc005bb9a98000900bf32..."} 
[2026-11-05 09:10:17] local.INFO: Processing buffer {"connection_id":231340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9c9b4f8012d7f3bc005bb9a98000900bf32..."} 
[2026-11-05 09:10:17] local.INFO: Packet analysis {"connection_id":231340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9c9"} 
[2026-11-05 09:10:17] local.INFO: Extracted packet for processing {"connection_id":231340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9c9"} 
[2026-11-05 09:10:17] local.INFO: GPS Element Parsed {"raw_longitude":763313088,"raw_latitude":96180888,"longitude_deg":76.3313088,"latitude_deg":9.6180888,"altitude":9,"angle":191,"satellites":50,"speed":6,"hex_longitude":"2d7f3bc0","hex_latitude":"05bb9a98","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225576960001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40248619567153152,"note":"Value kept but may cause issues"} 
[2026-11-05 09:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168625178507499520,"note":"Value kept but may cause issues"} 
[2026-11-05 09:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793849931000,"timestamp_ms":1793849931000,"timestamp_seconds":1793849931,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9c9b4f8"} 
[2026-11-05 09: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-05 09: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-05 09:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-05 09:10: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-05 09: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-05 09: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-05 09:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":231340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":231340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":231340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09: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-05 09:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225576960001,"66":27865,"120":206,"85":12544,"24":6,"16":40248619567153152,"45":9168625178507499520},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-11-05 09:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225576960001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:10:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-11-05 09:10:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40248619567153152,"km_value":40248619567153.15,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168625178507499520,"description":"Unknown IO ID 45"} 
[2026-11-05 09:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225576960001,"power":27865,"unknown_120":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9168625178507499520}} 
[2026-11-05 09:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":231340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:10:17] local.INFO: GPS data processed {"connection_id":231340,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:10:17] local.INFO: Acknowledgment sent {"connection_id":231340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:10:25] local.INFO: TCP Data received {"connection_id":230037,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ca64c0012d0a51c007057ab8000f010a26..."} 
[2026-11-05 09:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ca64c0012d0a51c007057ab8000f010a26..."} 
[2026-11-05 09:10:25] local.INFO: Processing buffer {"connection_id":230037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ca64c0012d0a51c007057ab8000f010a26..."} 
[2026-11-05 09:10:25] local.INFO: Packet analysis {"connection_id":230037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ca"} 
[2026-11-05 09:10:25] local.INFO: Extracted packet for processing {"connection_id":230037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ca"} 
[2026-11-05 09:10:25] local.INFO: GPS Element Parsed {"raw_longitude":755651008,"raw_latitude":117799608,"longitude_deg":75.5651008,"latitude_deg":11.7799608,"altitude":15,"angle":266,"satellites":38,"speed":14,"hex_longitude":"2d0a51c0","hex_latitude":"07057ab8","is_valid_coordinates":true} 
[2026-11-05 09:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225593600001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39395205270470656,"note":"Value kept but may cause issues"} 
[2026-11-05 09:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":744008762347163648,"note":"Value kept but may cause issues"} 
[2026-11-05 09:10:25] 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-05 09:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793849976000,"timestamp_ms":1793849976000,"timestamp_seconds":1793849976,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ca64c0"} 
[2026-11-05 09:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:10: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-05 09:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 09:10:25] 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-05 09:10:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":230037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":230037,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":230037,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225593600001,"66":14428,"165":206,"94":10240,"24":14,"16":39395205270470656,"45":744008762347163648},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 09:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225593600001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:10:25] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 09:10:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39395205270470656,"km_value":39395205270470.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":744008762347163648,"description":"Unknown IO ID 45"} 
[2026-11-05 09:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225593600001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":744008762347163648}} 
[2026-11-05 09:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":230037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62104,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:10:25] local.INFO: GPS data processed {"connection_id":230037,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:10:25] local.INFO: Acknowledgment sent {"connection_id":230037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:10:50] local.INFO: TCP Data received {"connection_id":231340,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ca0700012d7f37c005bb85b0000900be32..."} 
[2026-11-05 09:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ca0700012d7f37c005bb85b0000900be32..."} 
[2026-11-05 09:10:50] local.INFO: Processing buffer {"connection_id":231340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ca0700012d7f37c005bb85b0000900be32..."} 
[2026-11-05 09:10:50] local.INFO: Packet analysis {"connection_id":231340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ca"} 
[2026-11-05 09:10:50] local.INFO: Extracted packet for processing {"connection_id":231340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ca"} 
[2026-11-05 09:10:50] local.INFO: GPS Element Parsed {"raw_longitude":763312064,"raw_latitude":96175536,"longitude_deg":76.3312064,"latitude_deg":9.6175536,"altitude":9,"angle":190,"satellites":50,"speed":23,"hex_longitude":"2d7f37c0","hex_latitude":"05bb85b0","is_valid_coordinates":true} 
[2026-11-05 09:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225582336001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40248885855125504,"note":"Value kept but may cause issues"} 
[2026-11-05 09:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168132597297616896,"note":"Value kept but may cause issues"} 
[2026-11-05 09:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793849952000,"timestamp_ms":1793849952000,"timestamp_seconds":1793849952,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ca0700"} 
[2026-11-05 09:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:10: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-05 09:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 09:10: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-05 09:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":231340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":231340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":231340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:10: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-05 09:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225582336001,"66":27919,"199":206,"85":12544,"24":23,"16":40248885855125504,"45":9168132597297616896},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 09:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225582336001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:10:50] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 09:10:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40248885855125504,"km_value":40248885855125.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168132597297616896,"description":"Unknown IO ID 45"} 
[2026-11-05 09:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225582336001,"power":27919,"trip_odometer":0.206,"unknown_85":12544,"ignition":23,"odometer":null,"unknown_45":9168132597297616896}} 
[2026-11-05 09:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":231340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:10:50] local.INFO: GPS data processed {"connection_id":231340,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:10:50] local.INFO: Acknowledgment sent {"connection_id":231340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:10:52] local.INFO: TCP Data received {"connection_id":233262,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233262,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:10:52] local.INFO: Processing buffer {"connection_id":233262,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:10:52] local.INFO: IMEI packet received {"connection_id":233262,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":233262,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:10:52] local.INFO: TCP Data received {"connection_id":233262,"ip":"42.106.6.16","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-05 09:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233262,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-05 09:10:52] local.INFO: Processing buffer {"connection_id":233262,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-05 09:10:52] local.INFO: IMEI packet received {"connection_id":233262,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":233262,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:10:54] local.INFO: TCP Data received {"connection_id":233262,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233262,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:10:54] local.INFO: Processing buffer {"connection_id":233262,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-05 09:10:54] local.INFO: IMEI packet received {"connection_id":233262,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":233262,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:10:54] local.INFO: TCP Data received {"connection_id":233262,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ca68a8012d0a508007057ae0000f011d23..."} 
[2026-11-05 09:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ca68a8012d0a508007057ae0000f011d23..."} 
[2026-11-05 09:10:54] local.INFO: Processing buffer {"connection_id":233262,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a1a9..."} 
[2026-11-05 09:10:54] local.INFO: IMEI packet received {"connection_id":233262,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":233262,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:10:55] local.INFO: TCP Data received {"connection_id":233262,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ca9b70012d0a4e8007057b98000f015224..."} 
[2026-11-05 09:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ca9b70012d0a4e8007057b98000f015224..."} 
[2026-11-05 09:10:55] local.INFO: Processing buffer {"connection_id":233262,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1a9ca68a8012d0a508007057ae0000f011d23..."} 
[2026-11-05 09:10:55] local.INFO: Packet analysis {"connection_id":233262,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1a9ca"} 
[2026-11-05 09:10:55] local.INFO: Extracted packet for processing {"connection_id":233262,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ca"} 
[2026-11-05 09:10:55] local.INFO: GPS Element Parsed {"raw_longitude":755650688,"raw_latitude":117799648,"longitude_deg":75.5650688,"latitude_deg":11.7799648,"altitude":15,"angle":285,"satellites":35,"speed":12,"hex_longitude":"2d0a5080","hex_latitude":"07057ae0","is_valid_coordinates":true} 
[2026-11-05 09:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225593856001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39395218155372544,"note":"Value kept but may cause issues"} 
[2026-11-05 09:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743586549882075136,"note":"Value kept but may cause issues"} 
[2026-11-05 09:10:55] 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-05 09:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793849977000,"timestamp_ms":1793849977000,"timestamp_seconds":1793849977,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ca68a8"} 
[2026-11-05 09:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 09:10:55] 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-05 09:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233262,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233262,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225593856001,"66":14211,"165":206,"94":10240,"24":12,"16":39395218155372544,"45":743586549882075136},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 09:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225593856001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:10:55] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 09:10:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39395218155372544,"km_value":39395218155372.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":743586549882075136,"description":"Unknown IO ID 45"} 
[2026-11-05 09:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225593856001,"power":14211,"unknown_165":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":743586549882075136}} 
[2026-11-05 09:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":233262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62106,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:10:55] local.INFO: GPS data processed {"connection_id":233262,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:10:55] local.INFO: Acknowledgment sent {"connection_id":233262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:10:55] local.INFO: Packet analysis {"connection_id":233262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ca"} 
[2026-11-05 09:10:55] local.INFO: Extracted packet for processing {"connection_id":233262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ca"} 
[2026-11-05 09:10:55] local.INFO: GPS Element Parsed {"raw_longitude":755650176,"raw_latitude":117799832,"longitude_deg":75.5650176,"latitude_deg":11.7799832,"altitude":15,"angle":338,"satellites":36,"speed":6,"hex_longitude":"2d0a4e80","hex_latitude":"07057b98","is_valid_coordinates":true} 
[2026-11-05 09:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225594112001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39395248220143616,"note":"Value kept but may cause issues"} 
[2026-11-05 09:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743234706161197056,"note":"Value kept but may cause issues"} 
[2026-11-05 09:10:55] 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-05 09:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793849990000,"timestamp_ms":1793849990000,"timestamp_seconds":1793849990,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ca9b70"} 
[2026-11-05 09:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 09:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233262,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233262,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225594112001,"66":14428,"165":206,"94":10240,"24":6,"16":39395248220143616,"45":743234706161197056},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 09:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225594112001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:10:55] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 09:10:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39395248220143616,"km_value":39395248220143.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":743234706161197056,"description":"Unknown IO ID 45"} 
[2026-11-05 09:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225594112001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":743234706161197056}} 
[2026-11-05 09:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":233262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62107,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:10:55] local.INFO: GPS data processed {"connection_id":233262,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:10:55] local.INFO: Acknowledgment sent {"connection_id":233262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:11:02] local.INFO: TCP Data received {"connection_id":229523,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:11:02] local.INFO: Processing buffer {"connection_id":229523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:11:02] local.INFO: IMEI packet received {"connection_id":229523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":229523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:11:04] local.INFO: TCP Data received {"connection_id":229523,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:11:04] local.INFO: Processing buffer {"connection_id":229523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:11:04] local.INFO: IMEI packet received {"connection_id":229523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":229523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:11:09] local.INFO: TCP Data received {"connection_id":229523,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:11:09] local.INFO: Processing buffer {"connection_id":229523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:11:09] local.INFO: IMEI packet received {"connection_id":229523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":229523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:11:10] local.INFO: TCP Data received {"connection_id":229523,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ca39c8012d7f31c005bb6130000a00bd31..."} 
[2026-11-05 09:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ca39c8012d7f31c005bb6130000a00bd31..."} 
[2026-11-05 09:11:10] local.INFO: Processing buffer {"connection_id":229523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ca39c8012d7f31c005bb6130000a00bd31..."} 
[2026-11-05 09:11:10] local.INFO: Packet analysis {"connection_id":229523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ca"} 
[2026-11-05 09:11:10] local.INFO: Extracted packet for processing {"connection_id":229523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ca"} 
[2026-11-05 09:11:10] local.INFO: GPS Element Parsed {"raw_longitude":763310528,"raw_latitude":96166192,"longitude_deg":76.3310528,"latitude_deg":9.6166192,"altitude":10,"angle":189,"satellites":49,"speed":34,"hex_longitude":"2d7f31c0","hex_latitude":"05bb6130","is_valid_coordinates":true} 
[2026-11-05 09:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225587712001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40249345416626176,"note":"Value kept but may cause issues"} 
[2026-11-05 09:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167006697389404160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793849965000,"timestamp_ms":1793849965000,"timestamp_seconds":1793849965,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ca39c8"} 
[2026-11-05 09:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 09:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:11:10] 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-05 09:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225587712001,"66":27843,"125":206,"85":12544,"24":34,"16":40249345416626176,"45":9167006697389404160},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-11-05 09:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225587712001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:11:10] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-11-05 09:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40249345416626176,"km_value":40249345416626.18,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167006697389404160,"description":"Unknown IO ID 45"} 
[2026-11-05 09:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225587712001,"power":27843,"unknown_125":206,"unknown_85":12544,"ignition":34,"odometer":null,"unknown_45":9167006697389404160}} 
[2026-11-05 09:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":229523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:11:10] local.INFO: GPS data processed {"connection_id":229523,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:11:10] local.INFO: Acknowledgment sent {"connection_id":229523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:11:26] local.INFO: TCP Data received {"connection_id":233262,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9cc02d0012d0a374007058578000f003a25..."} 
[2026-11-05 09:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9cc02d0012d0a374007058578000f003a25..."} 
[2026-11-05 09:11:26] local.INFO: Processing buffer {"connection_id":233262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9cc02d0012d0a374007058578000f003a25..."} 
[2026-11-05 09:11:26] local.INFO: Packet analysis {"connection_id":233262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9cc"} 
[2026-11-05 09:11:26] local.INFO: Extracted packet for processing {"connection_id":233262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9cc"} 
[2026-11-05 09:11:26] local.INFO: GPS Element Parsed {"raw_longitude":755644224,"raw_latitude":117802360,"longitude_deg":75.5644224,"latitude_deg":11.780236,"altitude":15,"angle":58,"satellites":37,"speed":4,"hex_longitude":"2d0a3740","hex_latitude":"07058578","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225620736001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39395763616219136,"note":"Value kept but may cause issues"} 
[2026-11-05 09:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":735986725511577600,"note":"Value kept but may cause issues"} 
[2026-11-05 09:11:26] 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-05 09:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793850082000,"timestamp_ms":1793850082000,"timestamp_seconds":1793850082,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9cc02d0"} 
[2026-11-05 09: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-05 09:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 09:11:26] 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-05 09: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-05 09: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-05 09:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233262,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233262,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225620736001,"66":14309,"177":206,"94":10240,"24":4,"16":39395763616219136,"45":735986725511577600},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-05 09:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225620736001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:11:26] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-05 09:11:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39395763616219136,"km_value":39395763616219.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":735986725511577600,"description":"Unknown IO ID 45"} 
[2026-11-05 09:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225620736001,"power":14309,"unknown_177":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":735986725511577600}} 
[2026-11-05 09:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":233262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62109,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:11:26] local.INFO: GPS data processed {"connection_id":233262,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:11:26] local.INFO: Acknowledgment sent {"connection_id":233262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:11:41] local.INFO: TCP Data received {"connection_id":229523,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ca60d8012d7f2c4005bb3c50000900bd2e..."} 
[2026-11-05 09:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ca60d8012d7f2c4005bb3c50000900bd2e..."} 
[2026-11-05 09:11:41] local.INFO: Processing buffer {"connection_id":229523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ca60d8012d7f2c4005bb3c50000900bd2e..."} 
[2026-11-05 09:11:41] local.INFO: Packet analysis {"connection_id":229523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ca"} 
[2026-11-05 09:11:41] local.INFO: Extracted packet for processing {"connection_id":229523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ca"} 
[2026-11-05 09:11:41] local.INFO: GPS Element Parsed {"raw_longitude":763309120,"raw_latitude":96156752,"longitude_deg":76.330912,"latitude_deg":9.6156752,"altitude":9,"angle":189,"satellites":46,"speed":40,"hex_longitude":"2d7f2c40","hex_latitude":"05bb3c50","is_valid_coordinates":true} 
[2026-11-05 09:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225591040001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40249809273094144,"note":"Value kept but may cause issues"} 
[2026-11-05 09:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9165317847526748160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793849975000,"timestamp_ms":1793849975000,"timestamp_seconds":1793849975,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ca60d8"} 
[2026-11-05 09:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:11: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-05 09:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-05 09:11: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-05 09:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:11: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-05 09:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225591040001,"66":27865,"125":206,"85":12544,"24":40,"16":40249809273094144,"45":9165317847526748160},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-11-05 09:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225591040001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:11:41] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-11-05 09:11:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40249809273094144,"km_value":40249809273094.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9165317847526748160,"description":"Unknown IO ID 45"} 
[2026-11-05 09:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225591040001,"power":27865,"unknown_125":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":9165317847526748160}} 
[2026-11-05 09:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":229523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:11:41] local.INFO: GPS data processed {"connection_id":229523,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:11:41] local.INFO: Acknowledgment sent {"connection_id":229523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:11:49] local.INFO: TCP Data received {"connection_id":231341,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231341,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:11:49] local.INFO: Processing buffer {"connection_id":231341,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:11:49] local.INFO: IMEI packet received {"connection_id":231341,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":231341,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:11:54] local.INFO: TCP Data received {"connection_id":231341,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231341,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:11:54] local.INFO: Processing buffer {"connection_id":231341,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:11:54] local.INFO: IMEI packet received {"connection_id":231341,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":231341,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:11:55] local.INFO: TCP Data received {"connection_id":231341,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9cc50f0012d0a500007057bb00010008528..."} 
[2026-11-05 09:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9cc50f0012d0a500007057bb00010008528..."} 
[2026-11-05 09:11:55] local.INFO: Processing buffer {"connection_id":231341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9cc50f0012d0a500007057bb00010008528..."} 
[2026-11-05 09:11:55] local.INFO: Packet analysis {"connection_id":231341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9cc"} 
[2026-11-05 09:11:55] local.INFO: Extracted packet for processing {"connection_id":231341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9cc"} 
[2026-11-05 09:11:55] local.INFO: GPS Element Parsed {"raw_longitude":755650560,"raw_latitude":117799856,"longitude_deg":75.565056,"latitude_deg":11.7799856,"altitude":16,"angle":133,"satellites":40,"speed":16,"hex_longitude":"2d0a5000","hex_latitude":"07057bb0","is_valid_coordinates":true} 
[2026-11-05 09:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225625856001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39396171638112256,"note":"Value kept but may cause issues"} 
[2026-11-05 09:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":742742124952096768,"note":"Value kept but may cause issues"} 
[2026-11-05 09:11: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-05 09:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793850102000,"timestamp_ms":1793850102000,"timestamp_seconds":1793850102,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9cc50f0"} 
[2026-11-05 09:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-11-05 09:11:55] 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-05 09:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231341,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231341,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225625856001,"66":14374,"177":206,"94":10240,"24":16,"16":39396171638112256,"45":742742124952096768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-05 09:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225625856001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:11:55] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-05 09:11:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39396171638112256,"km_value":39396171638112.26,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":742742124952096768,"description":"Unknown IO ID 45"} 
[2026-11-05 09:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225625856001,"power":14374,"unknown_177":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":742742124952096768}} 
[2026-11-05 09:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":231341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62111,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:11:55] local.INFO: GPS data processed {"connection_id":231341,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:11:55] local.INFO: Acknowledgment sent {"connection_id":231341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:12:04] local.INFO: TCP Data received {"connection_id":229524,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:12:04] local.INFO: Processing buffer {"connection_id":229524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:12:04] local.INFO: IMEI packet received {"connection_id":229524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":229524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:12:05] local.INFO: TCP Data received {"connection_id":229524,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:12:05] local.INFO: Processing buffer {"connection_id":229524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:12:05] local.INFO: IMEI packet received {"connection_id":229524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":229524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:12:09] local.INFO: TCP Data received {"connection_id":229524,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:12:09] local.INFO: Processing buffer {"connection_id":229524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:12:09] local.INFO: IMEI packet received {"connection_id":229524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":229524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:12:16] local.INFO: TCP Data received {"connection_id":229524,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ca87e8012d7f260005bb1718000a00bd31..."} 
[2026-11-05 09:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ca87e8012d7f260005bb1718000a00bd31..."} 
[2026-11-05 09:12:16] local.INFO: Processing buffer {"connection_id":229524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ca87e8012d7f260005bb1718000a00bd31..."} 
[2026-11-05 09:12:16] local.INFO: Packet analysis {"connection_id":229524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ca"} 
[2026-11-05 09:12:16] local.INFO: Extracted packet for processing {"connection_id":229524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ca"} 
[2026-11-05 09:12:16] local.INFO: GPS Element Parsed {"raw_longitude":763307520,"raw_latitude":96147224,"longitude_deg":76.330752,"latitude_deg":9.6147224,"altitude":10,"angle":189,"satellites":49,"speed":36,"hex_longitude":"2d7f2600","hex_latitude":"05bb1718","is_valid_coordinates":true} 
[2026-11-05 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-05 09:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225593600001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40250277424529408,"note":"Value kept but may cause issues"} 
[2026-11-05 09:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9163769735152422912,"note":"Value kept but may cause issues"} 
[2026-11-05 09:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793849985000,"timestamp_ms":1793849985000,"timestamp_seconds":1793849985,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ca87e8"} 
[2026-11-05 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-05 09:12: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-05 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":217,"data_length":795,"current_offset":136} 
[2026-11-05 09:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 09:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:12:16] 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-05 09:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225593600001,"66":27930,"125":206,"85":12544,"24":36,"16":40250277424529408,"45":9163769735152422912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-11-05 09:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225593600001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:12:16] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-11-05 09:12:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40250277424529408,"km_value":40250277424529.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9163769735152422912,"description":"Unknown IO ID 45"} 
[2026-11-05 09:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225593600001,"power":27930,"unknown_125":206,"unknown_85":12544,"ignition":36,"odometer":null,"unknown_45":9163769735152422912}} 
[2026-11-05 09:12:16] 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":62112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:12:16] local.INFO: GPS data processed {"connection_id":229524,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:12:16] local.INFO: Acknowledgment sent {"connection_id":229524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:12:17] local.INFO: TCP Data received {"connection_id":229524,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9cab2e0012d7f208005baf3f8000a00bd30..."} 
[2026-11-05 09:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9cab2e0012d7f208005baf3f8000a00bd30..."} 
[2026-11-05 09:12:17] local.INFO: Processing buffer {"connection_id":229524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9cab2e0012d7f208005baf3f8000a00bd30..."} 
[2026-11-05 09:12:17] local.INFO: Packet analysis {"connection_id":229524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ca"} 
[2026-11-05 09:12:17] local.INFO: Extracted packet for processing {"connection_id":229524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ca"} 
[2026-11-05 09:12:17] local.INFO: GPS Element Parsed {"raw_longitude":763306112,"raw_latitude":96138232,"longitude_deg":76.3306112,"latitude_deg":9.6138232,"altitude":10,"angle":189,"satellites":48,"speed":33,"hex_longitude":"2d7f2080","hex_latitude":"05baf3f8","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225596160001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40250719806160896,"note":"Value kept but may cause issues"} 
[2026-11-05 09:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9162010516545542144,"note":"Value kept but may cause issues"} 
[2026-11-05 09:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793849996000,"timestamp_ms":1793849996000,"timestamp_seconds":1793849996,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9cab2e0"} 
[2026-11-05 09: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-05 09:12: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-05 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-05 09:12: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-05 09: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-05 09: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-05 09:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:12: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-05 09:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225596160001,"66":27919,"125":206,"85":12544,"24":33,"16":40250719806160896,"45":9162010516545542144},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-11-05 09:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225596160001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:12:17] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-11-05 09:12:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40250719806160896,"km_value":40250719806160.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9162010516545542144,"description":"Unknown IO ID 45"} 
[2026-11-05 09:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225596160001,"power":27919,"unknown_125":206,"unknown_85":12544,"ignition":33,"odometer":null,"unknown_45":9162010516545542144}} 
[2026-11-05 09:12:17] 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":62113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:12:17] local.INFO: GPS data processed {"connection_id":229524,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:12:17] local.INFO: Acknowledgment sent {"connection_id":229524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:12:26] local.INFO: TCP Data received {"connection_id":231341,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9cc54d8012d0a514007057ae80010007128..."} 
[2026-11-05 09:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9cc54d8012d0a514007057ae80010007128..."} 
[2026-11-05 09:12:26] local.INFO: Processing buffer {"connection_id":231341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9cc54d8012d0a514007057ae80010007128..."} 
[2026-11-05 09:12:26] local.INFO: Packet analysis {"connection_id":231341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9cc"} 
[2026-11-05 09:12:26] local.INFO: Extracted packet for processing {"connection_id":231341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9cc"} 
[2026-11-05 09:12:26] local.INFO: GPS Element Parsed {"raw_longitude":755650880,"raw_latitude":117799656,"longitude_deg":75.565088,"latitude_deg":11.7799656,"altitude":16,"angle":113,"satellites":40,"speed":13,"hex_longitude":"2d0a5140","hex_latitude":"07057ae8","is_valid_coordinates":true} 
[2026-11-05 09:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225626112001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39396193112948736,"note":"Value kept but may cause issues"} 
[2026-11-05 09:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743093968672894976,"note":"Value kept but may cause issues"} 
[2026-11-05 09:12:26] 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-05 09:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793850103000,"timestamp_ms":1793850103000,"timestamp_seconds":1793850103,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9cc54d8"} 
[2026-11-05 09:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-11-05 09:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231341,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231341,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225626112001,"66":14309,"177":206,"94":10240,"24":13,"16":39396193112948736,"45":743093968672894976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-05 09:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225626112001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:12:26] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-05 09:12:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39396193112948736,"km_value":39396193112948.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":743093968672894976,"description":"Unknown IO ID 45"} 
[2026-11-05 09:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225626112001,"power":14309,"unknown_177":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":743093968672894976}} 
[2026-11-05 09:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":231341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62114,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:12:26] local.INFO: GPS data processed {"connection_id":231341,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:12:26] local.INFO: Acknowledgment sent {"connection_id":231341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:12:49] local.INFO: TCP Data received {"connection_id":230038,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230038,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:12:49] local.INFO: Processing buffer {"connection_id":230038,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:12:49] local.INFO: IMEI packet received {"connection_id":230038,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":230038,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:12:49] local.INFO: TCP Data received {"connection_id":230038,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230038,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:12:49] local.INFO: Processing buffer {"connection_id":230038,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:12:49] local.INFO: IMEI packet received {"connection_id":230038,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":230038,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:12:50] local.INFO: TCP Data received {"connection_id":229524,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9cc7418012d7edf4005b98288000b00bf30..."} 
[2026-11-05 09:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9cc7418012d7edf4005b98288000b00bf30..."} 
[2026-11-05 09:12:50] local.INFO: Processing buffer {"connection_id":229524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9cc7418012d7edf4005b98288000b00bf30..."} 
[2026-11-05 09:12:50] local.INFO: Packet analysis {"connection_id":229524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9cc"} 
[2026-11-05 09:12:50] local.INFO: Extracted packet for processing {"connection_id":229524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9cc"} 
[2026-11-05 09:12:50] local.INFO: GPS Element Parsed {"raw_longitude":763289408,"raw_latitude":96043656,"longitude_deg":76.3289408,"latitude_deg":9.6043656,"altitude":11,"angle":191,"satellites":48,"speed":33,"hex_longitude":"2d7edf40","hex_latitude":"05b98288","is_valid_coordinates":true} 
[2026-11-05 09:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225627136001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40255379845677056,"note":"Value kept but may cause issues"} 
[2026-11-05 09:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143644274289575936,"note":"Value kept but may cause issues"} 
[2026-11-05 09:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793850111000,"timestamp_ms":1793850111000,"timestamp_seconds":1793850111,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9cc7418"} 
[2026-11-05 09:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:12: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-05 09:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-05 09:12:50] 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-05 09:12:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:12: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-05 09:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225627136001,"66":27919,"121":206,"85":12544,"24":33,"16":40255379845677056,"45":9143644274289575936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-11-05 09:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225627136001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:12:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-11-05 09:12:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40255379845677056,"km_value":40255379845677.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143644274289575936,"description":"Unknown IO ID 45"} 
[2026-11-05 09:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225627136001,"power":27919,"unknown_121":206,"unknown_85":12544,"ignition":33,"odometer":null,"unknown_45":9143644274289575936}} 
[2026-11-05 09:12:50] 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":62115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:12:50] local.INFO: GPS data processed {"connection_id":229524,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:12:50] local.INFO: Acknowledgment sent {"connection_id":229524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:12:54] local.INFO: TCP Data received {"connection_id":230038,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230038,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:12:54] local.INFO: Processing buffer {"connection_id":230038,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:12:54] local.INFO: IMEI packet received {"connection_id":230038,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":230038,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:12:55] local.INFO: TCP Data received {"connection_id":230038,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9cc58c0012d0a52c007057ad00011005828..."} 
[2026-11-05 09:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9cc58c0012d0a52c007057ad00011005828..."} 
[2026-11-05 09:12:55] local.INFO: Processing buffer {"connection_id":230038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9cc58c0012d0a52c007057ad00011005828..."} 
[2026-11-05 09:12:55] local.INFO: Packet analysis {"connection_id":230038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9cc"} 
[2026-11-05 09:12:55] local.INFO: Extracted packet for processing {"connection_id":230038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9cc"} 
[2026-11-05 09:12:55] local.INFO: GPS Element Parsed {"raw_longitude":755651264,"raw_latitude":117799632,"longitude_deg":75.5651264,"latitude_deg":11.7799632,"altitude":17,"angle":88,"satellites":40,"speed":15,"hex_longitude":"2d0a52c0","hex_latitude":"07057ad0","is_valid_coordinates":true} 
[2026-11-05 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-05 09:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225626368001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39396210292817920,"note":"Value kept but may cause issues"} 
[2026-11-05 09:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743445812393732096,"note":"Value kept but may cause issues"} 
[2026-11-05 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-05 09:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793850104000,"timestamp_ms":1793850104000,"timestamp_seconds":1793850104,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9cc58c0"} 
[2026-11-05 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-05 09:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 09:12:55] 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-05 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-05 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-05 09:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230038,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230038,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225626368001,"66":14309,"177":206,"94":10240,"24":15,"16":39396210292817920,"45":743445812393732096},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-05 09:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225626368001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:12:55] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-05 09:12:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39396210292817920,"km_value":39396210292817.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":743445812393732096,"description":"Unknown IO ID 45"} 
[2026-11-05 09:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225626368001,"power":14309,"unknown_177":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":743445812393732096}} 
[2026-11-05 09:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":230038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62116,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:12:55] local.INFO: GPS data processed {"connection_id":230038,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:12:55] local.INFO: Acknowledgment sent {"connection_id":230038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:13:04] local.INFO: TCP Data received {"connection_id":231342,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:13:04] local.INFO: Processing buffer {"connection_id":231342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:13:04] local.INFO: IMEI packet received {"connection_id":231342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":231342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:13:07] local.INFO: TCP Data received {"connection_id":231342,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:13:07] local.INFO: Processing buffer {"connection_id":231342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:13:07] local.INFO: IMEI packet received {"connection_id":231342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":231342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:13:08] local.INFO: TCP Data received {"connection_id":231342,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9cc9740012d7ed8c005b96040000b00bd31..."} 
[2026-11-05 09:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9cc9740012d7ed8c005b96040000b00bd31..."} 
[2026-11-05 09:13:08] local.INFO: Processing buffer {"connection_id":231342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9cc9740012d7ed8c005b96040000b00bd31..."} 
[2026-11-05 09:13:08] local.INFO: Packet analysis {"connection_id":231342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9cc"} 
[2026-11-05 09:13:08] local.INFO: Extracted packet for processing {"connection_id":231342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9cc"} 
[2026-11-05 09:13:08] local.INFO: GPS Element Parsed {"raw_longitude":763287744,"raw_latitude":96034880,"longitude_deg":76.3287744,"latitude_deg":9.603488,"altitude":11,"angle":189,"satellites":49,"speed":44,"hex_longitude":"2d7ed8c0","hex_latitude":"05b96040","is_valid_coordinates":true} 
[2026-11-05 09:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225628416001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40255813637373952,"note":"Value kept but may cause issues"} 
[2026-11-05 09:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9142096161916749824,"note":"Value kept but may cause issues"} 
[2026-11-05 09:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793850120000,"timestamp_ms":1793850120000,"timestamp_seconds":1793850120,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9cc9740"} 
[2026-11-05 09:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-05 09:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 09:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":231342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":231342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":231342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:13:08] 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-05 09:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225628416001,"66":27908,"121":206,"85":12544,"24":44,"16":40255813637373952,"45":9142096161916749824},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-11-05 09:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225628416001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:13:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-11-05 09:13:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40255813637373952,"km_value":40255813637373.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9142096161916749824,"description":"Unknown IO ID 45"} 
[2026-11-05 09:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225628416001,"power":27908,"unknown_121":206,"unknown_85":12544,"ignition":44,"odometer":null,"unknown_45":9142096161916749824}} 
[2026-11-05 09:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":231342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:13:08] local.INFO: GPS data processed {"connection_id":231342,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:13:08] local.INFO: Acknowledgment sent {"connection_id":231342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:13:34] local.INFO: TCP Data received {"connection_id":230038,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9cc5ca8012d0a544007057b580011004428..."} 
[2026-11-05 09:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9cc5ca8012d0a544007057b580011004428..."} 
[2026-11-05 09:13:34] local.INFO: Processing buffer {"connection_id":230038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9cc5ca8012d0a544007057b580011004428..."} 
[2026-11-05 09:13:34] local.INFO: Packet analysis {"connection_id":230038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9cc"} 
[2026-11-05 09:13:34] local.INFO: Extracted packet for processing {"connection_id":230038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9cc"} 
[2026-11-05 09:13:34] local.INFO: GPS Element Parsed {"raw_longitude":755651648,"raw_latitude":117799768,"longitude_deg":75.5651648,"latitude_deg":11.7799768,"altitude":17,"angle":68,"satellites":40,"speed":17,"hex_longitude":"2d0a5440","hex_latitude":"07057b58","is_valid_coordinates":true} 
[2026-11-05 09:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225626624001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39396227472687104,"note":"Value kept but may cause issues"} 
[2026-11-05 09:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743868024858791936,"note":"Value kept but may cause issues"} 
[2026-11-05 09:13: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-05 09:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793850105000,"timestamp_ms":1793850105000,"timestamp_seconds":1793850105,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9cc5ca8"} 
[2026-11-05 09:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 09:13:34] 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-05 09:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":230038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":230038,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":230038,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225626624001,"66":14428,"177":206,"94":10240,"24":17,"16":39396227472687104,"45":743868024858791936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-05 09:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225626624001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:13:34] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-05 09:13:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39396227472687104,"km_value":39396227472687.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":743868024858791936,"description":"Unknown IO ID 45"} 
[2026-11-05 09:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225626624001,"power":14428,"unknown_177":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":743868024858791936}} 
[2026-11-05 09:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":230038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62118,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:13:35] local.INFO: GPS data processed {"connection_id":230038,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:13:35] local.INFO: Acknowledgment sent {"connection_id":230038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:13:39] local.INFO: TCP Data received {"connection_id":231342,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ccb680012d7ed3c005b93c68000a00b934..."} 
[2026-11-05 09:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ccb680012d7ed3c005b93c68000a00b934..."} 
[2026-11-05 09:13:39] local.INFO: Processing buffer {"connection_id":231342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ccb680012d7ed3c005b93c68000a00b934..."} 
[2026-11-05 09:13:39] local.INFO: Packet analysis {"connection_id":231342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9cc"} 
[2026-11-05 09:13:39] local.INFO: Extracted packet for processing {"connection_id":231342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9cc"} 
[2026-11-05 09:13:39] local.INFO: GPS Element Parsed {"raw_longitude":763286464,"raw_latitude":96025704,"longitude_deg":76.3286464,"latitude_deg":9.6025704,"altitude":10,"angle":185,"satellites":52,"speed":48,"hex_longitude":"2d7ed3c0","hex_latitude":"05b93c68","is_valid_coordinates":true} 
[2026-11-05 09:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225630720001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40256264608940032,"note":"Value kept but may cause issues"} 
[2026-11-05 09:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9140266574565883904,"note":"Value kept but may cause issues"} 
[2026-11-05 09:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793850128000,"timestamp_ms":1793850128000,"timestamp_seconds":1793850128,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ccb680"} 
[2026-11-05 09:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:13: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-05 09:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 09:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":231342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":231342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":231342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:13:39] 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-05 09:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225630720001,"66":27908,"121":206,"85":12544,"24":48,"16":40256264608940032,"45":9140266574565883904},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-11-05 09:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225630720001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:13:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-11-05 09:13:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40256264608940032,"km_value":40256264608940.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9140266574565883904,"description":"Unknown IO ID 45"} 
[2026-11-05 09:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225630720001,"power":27908,"unknown_121":206,"unknown_85":12544,"ignition":48,"odometer":null,"unknown_45":9140266574565883904}} 
[2026-11-05 09:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":231342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:13:39] local.INFO: GPS data processed {"connection_id":231342,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:13:39] local.INFO: Acknowledgment sent {"connection_id":231342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:13:49] local.INFO: TCP Data received {"connection_id":229525,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229525,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:13:49] local.INFO: Processing buffer {"connection_id":229525,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:13:49] local.INFO: IMEI packet received {"connection_id":229525,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":229525,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:13:58] local.INFO: TCP Data received {"connection_id":229525,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229525,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:13:58] local.INFO: Processing buffer {"connection_id":229525,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:13:58] local.INFO: IMEI packet received {"connection_id":229525,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":229525,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:13:59] local.INFO: TCP Data received {"connection_id":229525,"ip":"42.106.6.16","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-05 09:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229525,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-05 09:13:59] local.INFO: Processing buffer {"connection_id":229525,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-05 09:13:59] local.INFO: IMEI packet received {"connection_id":229525,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":229525,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:14:09] local.INFO: TCP Data received {"connection_id":230040,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:14:09] local.INFO: Processing buffer {"connection_id":230040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:14:09] local.INFO: IMEI packet received {"connection_id":230040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":230040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:14:10] local.INFO: TCP Data received {"connection_id":230040,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:14:10] local.INFO: Processing buffer {"connection_id":230040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:14:10] local.INFO: IMEI packet received {"connection_id":230040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":230040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:14:14] local.INFO: TCP Data received {"connection_id":230040,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:14:14] local.INFO: Processing buffer {"connection_id":230040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:14:14] local.INFO: IMEI packet received {"connection_id":230040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":230040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:14:15] local.INFO: TCP Data received {"connection_id":230040,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9cdc7f0012d7eb64005b7cfb8000900b633..."} 
[2026-11-05 09:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9cdc7f0012d7eb64005b7cfb8000900b633..."} 
[2026-11-05 09:14:15] local.INFO: Processing buffer {"connection_id":230040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9cdc7f0012d7eb64005b7cfb8000900b633..."} 
[2026-11-05 09:14:15] local.INFO: Packet analysis {"connection_id":230040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9cd"} 
[2026-11-05 09:14:15] local.INFO: Extracted packet for processing {"connection_id":230040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9cd"} 
[2026-11-05 09:14:15] local.INFO: GPS Element Parsed {"raw_longitude":763278912,"raw_latitude":95932344,"longitude_deg":76.3278912,"latitude_deg":9.5932344,"altitude":9,"angle":182,"satellites":51,"speed":51,"hex_longitude":"2d7eb640","hex_latitude":"05b7cfb8","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225648640001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40260817274273792,"note":"Value kept but may cause issues"} 
[2026-11-05 09:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131892693984919552,"note":"Value kept but may cause issues"} 
[2026-11-05 09:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793850198000,"timestamp_ms":1793850198000,"timestamp_seconds":1793850198,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9cdc7f0"} 
[2026-11-05 09: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-05 09:14: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-05 09: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":91,"data_length":795,"current_offset":136} 
[2026-11-05 09:14: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-05 09: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-05 09: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-05 09:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:14: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-05 09:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225648640001,"66":27974,"121":206,"85":12544,"24":51,"16":40260817274273792,"45":9131892693984919552},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-11-05 09:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225648640001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:14:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-11-05 09:14:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40260817274273792,"km_value":40260817274273.79,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131892693984919552,"description":"Unknown IO ID 45"} 
[2026-11-05 09:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225648640001,"power":27974,"unknown_121":206,"unknown_85":12544,"ignition":51,"odometer":null,"unknown_45":9131892693984919552}} 
[2026-11-05 09:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":230040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:14:15] local.INFO: GPS data processed {"connection_id":230040,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:14:15] local.INFO: Acknowledgment sent {"connection_id":230040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:14:36] local.INFO: TCP Data received {"connection_id":231343,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231343,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:14:36] local.INFO: Processing buffer {"connection_id":231343,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:14:36] local.INFO: IMEI packet received {"connection_id":231343,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 09:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":231343,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:14:46] local.INFO: TCP Data received {"connection_id":230040,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9cde348012d7eb50005b7abb0000b00b632..."} 
[2026-11-05 09:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9cde348012d7eb50005b7abb0000b00b632..."} 
[2026-11-05 09:14:46] local.INFO: Processing buffer {"connection_id":230040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9cde348012d7eb50005b7abb0000b00b632..."} 
[2026-11-05 09:14:46] local.INFO: Packet analysis {"connection_id":230040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9cd"} 
[2026-11-05 09:14:46] local.INFO: Extracted packet for processing {"connection_id":230040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9cd"} 
[2026-11-05 09:14:46] local.INFO: GPS Element Parsed {"raw_longitude":763278592,"raw_latitude":95923120,"longitude_deg":76.3278592,"latitude_deg":9.592312,"altitude":11,"angle":182,"satellites":50,"speed":53,"hex_longitude":"2d7eb500","hex_latitude":"05b7abb0","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225650688001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40261263950872576,"note":"Value kept but may cause issues"} 
[2026-11-05 09:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130555687843117056,"note":"Value kept but may cause issues"} 
[2026-11-05 09:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793850205000,"timestamp_ms":1793850205000,"timestamp_seconds":1793850205,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9cde348"} 
[2026-11-05 09: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-05 09:14: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-05 09:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-05 09:14:46] 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-05 09: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-05 09: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-05 09:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:14: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-05 09:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225650688001,"66":27865,"121":206,"85":12544,"24":53,"16":40261263950872576,"45":9130555687843117056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-11-05 09:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225650688001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:14:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-11-05 09:14:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40261263950872576,"km_value":40261263950872.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130555687843117056,"description":"Unknown IO ID 45"} 
[2026-11-05 09:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225650688001,"power":27865,"unknown_121":206,"unknown_85":12544,"ignition":53,"odometer":null,"unknown_45":9130555687843117056}} 
[2026-11-05 09:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":230040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:14:46] local.INFO: GPS data processed {"connection_id":230040,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:14:46] local.INFO: Acknowledgment sent {"connection_id":230040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:15:04] local.INFO: TCP Data received {"connection_id":231346,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:15:04] local.INFO: Processing buffer {"connection_id":231346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:15:04] local.INFO: IMEI packet received {"connection_id":231346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":231346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:15:06] local.INFO: TCP Data received {"connection_id":231345,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231345,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:15:06] local.INFO: Processing buffer {"connection_id":231345,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:15:06] local.INFO: IMEI packet received {"connection_id":231345,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 09:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":231345,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:15:08] local.INFO: TCP Data received {"connection_id":231346,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:15:08] local.INFO: Processing buffer {"connection_id":231346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:15:08] local.INFO: IMEI packet received {"connection_id":231346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":231346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:15:09] local.INFO: TCP Data received {"connection_id":231346,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9cdfea0012d7eb3c005b78770000e00b632..."} 
[2026-11-05 09:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9cdfea0012d7eb3c005b78770000e00b632..."} 
[2026-11-05 09:15:09] local.INFO: Processing buffer {"connection_id":231346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9cdfea0012d7eb3c005b78770000e00b632..."} 
[2026-11-05 09:15:09] local.INFO: Packet analysis {"connection_id":231346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9cd"} 
[2026-11-05 09:15:09] local.INFO: Extracted packet for processing {"connection_id":231346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9cd"} 
[2026-11-05 09:15:09] local.INFO: GPS Element Parsed {"raw_longitude":763278272,"raw_latitude":95913840,"longitude_deg":76.3278272,"latitude_deg":9.591384,"altitude":14,"angle":182,"satellites":50,"speed":52,"hex_longitude":"2d7eb3c0","hex_latitude":"05b78770","is_valid_coordinates":true} 
[2026-11-05 09:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225652480001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40261714922438656,"note":"Value kept but may cause issues"} 
[2026-11-05 09:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130203844119867392,"note":"Value kept but may cause issues"} 
[2026-11-05 09:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793850212000,"timestamp_ms":1793850212000,"timestamp_seconds":1793850212,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9cdfea0"} 
[2026-11-05 09:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 09:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:15: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-05 09:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225652480001,"66":27974,"121":206,"85":12544,"24":52,"16":40261714922438656,"45":9130203844119867392},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-11-05 09:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225652480001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:15:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-11-05 09:15:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40261714922438656,"km_value":40261714922438.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130203844119867392,"description":"Unknown IO ID 45"} 
[2026-11-05 09:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225652480001,"power":27974,"unknown_121":206,"unknown_85":12544,"ignition":52,"odometer":null,"unknown_45":9130203844119867392}} 
[2026-11-05 09:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":231346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:15:09] local.INFO: GPS data processed {"connection_id":231346,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:15:09] local.INFO: Acknowledgment sent {"connection_id":231346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:15:40] local.INFO: TCP Data received {"connection_id":231346,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ce19f8012d7eb34005b76298000f00b334..."} 
[2026-11-05 09:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ce19f8012d7eb34005b76298000f00b334..."} 
[2026-11-05 09:15:40] local.INFO: Processing buffer {"connection_id":231346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ce19f8012d7eb34005b76298000f00b334..."} 
[2026-11-05 09:15:40] local.INFO: Packet analysis {"connection_id":231346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ce"} 
[2026-11-05 09:15:40] local.INFO: Extracted packet for processing {"connection_id":231346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ce"} 
[2026-11-05 09:15:40] local.INFO: GPS Element Parsed {"raw_longitude":763278144,"raw_latitude":95904408,"longitude_deg":76.3278144,"latitude_deg":9.5904408,"altitude":15,"angle":179,"satellites":52,"speed":54,"hex_longitude":"2d7eb340","hex_latitude":"05b76298","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225654272001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40262170188972032,"note":"Value kept but may cause issues"} 
[2026-11-05 09:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129852000396603392,"note":"Value kept but may cause issues"} 
[2026-11-05 09:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793850219000,"timestamp_ms":1793850219000,"timestamp_seconds":1793850219,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ce19f8"} 
[2026-11-05 09: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-05 09:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-05 09:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-05 09:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09: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-05 09: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-05 09:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:15:40] 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-05 09:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225654272001,"66":27887,"59":206,"85":12544,"24":54,"16":40262170188972032,"45":9129852000396603392},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-11-05 09:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225654272001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:15:40] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-11-05 09:15:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40262170188972032,"km_value":40262170188972.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129852000396603392,"description":"Unknown IO ID 45"} 
[2026-11-05 09:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225654272001,"power":27887,"unknown_59":206,"unknown_85":12544,"ignition":54,"odometer":null,"unknown_45":9129852000396603392}} 
[2026-11-05 09:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":231346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:15:40] local.INFO: GPS data processed {"connection_id":231346,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:15:40] local.INFO: Acknowledgment sent {"connection_id":231346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:16:04] local.INFO: TCP Data received {"connection_id":230041,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:16:04] local.INFO: Processing buffer {"connection_id":230041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:16:04] local.INFO: IMEI packet received {"connection_id":230041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":230041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:16:09] local.INFO: TCP Data received {"connection_id":230041,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:16:09] local.INFO: Processing buffer {"connection_id":230041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:16:09] local.INFO: IMEI packet received {"connection_id":230041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":230041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:16:10] local.INFO: TCP Data received {"connection_id":230041,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9cf4aa8012d7ea94005b5f6f8000b00a434..."} 
[2026-11-05 09:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9cf4aa8012d7ea94005b5f6f8000b00a434..."} 
[2026-11-05 09:16:10] local.INFO: Processing buffer {"connection_id":230041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9cf4aa8012d7ea94005b5f6f8000b00a434..."} 
[2026-11-05 09:16:10] local.INFO: Packet analysis {"connection_id":230041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9cf"} 
[2026-11-05 09:16:10] local.INFO: Extracted packet for processing {"connection_id":230041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9cf"} 
[2026-11-05 09:16:10] local.INFO: GPS Element Parsed {"raw_longitude":763275584,"raw_latitude":95811320,"longitude_deg":76.3275584,"latitude_deg":9.581132,"altitude":11,"angle":164,"satellites":52,"speed":35,"hex_longitude":"2d7ea940","hex_latitude":"05b5f6f8","is_valid_coordinates":true} 
[2026-11-05 09:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225674240001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40266705674436608,"note":"Value kept but may cause issues"} 
[2026-11-05 09:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125770613209735168,"note":"Value kept but may cause issues"} 
[2026-11-05 09:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793850297000,"timestamp_ms":1793850297000,"timestamp_seconds":1793850297,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9cf4aa8"} 
[2026-11-05 09:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 09:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:16:10] 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-05 09:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225674240001,"66":27908,"59":206,"85":12544,"24":35,"16":40266705674436608,"45":9125770613209735168},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-11-05 09:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225674240001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:16:10] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-11-05 09:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40266705674436608,"km_value":40266705674436.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125770613209735168,"description":"Unknown IO ID 45"} 
[2026-11-05 09:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225674240001,"power":27908,"unknown_59":206,"unknown_85":12544,"ignition":35,"odometer":null,"unknown_45":9125770613209735168}} 
[2026-11-05 09:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":230041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:16:10] local.INFO: GPS data processed {"connection_id":230041,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:16:10] local.INFO: Acknowledgment sent {"connection_id":230041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:16:41] local.INFO: TCP Data received {"connection_id":230041,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9cf6600012d7eadc005b5e040000a00b033..."} 
[2026-11-05 09:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9cf6600012d7eadc005b5e040000a00b033..."} 
[2026-11-05 09:16:41] local.INFO: Processing buffer {"connection_id":230041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9cf6600012d7eadc005b5e040000a00b033..."} 
[2026-11-05 09:16:41] local.INFO: Packet analysis {"connection_id":230041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9cf"} 
[2026-11-05 09:16:41] local.INFO: Extracted packet for processing {"connection_id":230041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9cf"} 
[2026-11-05 09:16:41] local.INFO: GPS Element Parsed {"raw_longitude":763276736,"raw_latitude":95805504,"longitude_deg":76.3276736,"latitude_deg":9.5805504,"altitude":10,"angle":176,"satellites":51,"speed":36,"hex_longitude":"2d7eadc0","hex_latitude":"05b5e040","is_valid_coordinates":true} 
[2026-11-05 09:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225676032001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40266993437245440,"note":"Value kept but may cause issues"} 
[2026-11-05 09:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126896513114896384,"note":"Value kept but may cause issues"} 
[2026-11-05 09:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793850304000,"timestamp_ms":1793850304000,"timestamp_seconds":1793850304,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9cf6600"} 
[2026-11-05 09:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 09:16: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-05 09:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:16: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-05 09:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225676032001,"66":27930,"59":206,"85":12544,"24":36,"16":40266993437245440,"45":9126896513114896384},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-11-05 09:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225676032001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:16:41] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-11-05 09:16:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40266993437245440,"km_value":40266993437245.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126896513114896384,"description":"Unknown IO ID 45"} 
[2026-11-05 09:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225676032001,"power":27930,"unknown_59":206,"unknown_85":12544,"ignition":36,"odometer":null,"unknown_45":9126896513114896384}} 
[2026-11-05 09:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":230041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:16:41] local.INFO: GPS data processed {"connection_id":230041,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:16:41] local.INFO: Acknowledgment sent {"connection_id":230041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:17:04] local.INFO: TCP Data received {"connection_id":231349,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:17:04] local.INFO: Processing buffer {"connection_id":231349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:17:04] local.INFO: IMEI packet received {"connection_id":231349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":231349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:17:04] local.INFO: TCP Data received {"connection_id":231349,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:17:04] local.INFO: Processing buffer {"connection_id":231349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:17:04] local.INFO: IMEI packet received {"connection_id":231349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":231349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:17:09] local.INFO: TCP Data received {"connection_id":231349,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:17:09] local.INFO: Processing buffer {"connection_id":231349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:17:09] local.INFO: IMEI packet received {"connection_id":231349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":231349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:17:10] local.INFO: TCP Data received {"connection_id":231349,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9cf8d10012d7eaec005b5bcb0000900b632..."} 
[2026-11-05 09:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9cf8d10012d7eaec005b5bcb0000900b632..."} 
[2026-11-05 09:17:10] local.INFO: Processing buffer {"connection_id":231349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9cf8d10012d7eaec005b5bcb0000900b632..."} 
[2026-11-05 09:17:10] local.INFO: Packet analysis {"connection_id":231349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9cf"} 
[2026-11-05 09:17:10] local.INFO: Extracted packet for processing {"connection_id":231349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9cf"} 
[2026-11-05 09:17:10] local.INFO: GPS Element Parsed {"raw_longitude":763276992,"raw_latitude":95796400,"longitude_deg":76.3276992,"latitude_deg":9.57964,"altitude":9,"angle":182,"satellites":50,"speed":34,"hex_longitude":"2d7eaec0","hex_latitude":"05b5bcb0","is_valid_coordinates":true} 
[2026-11-05 09:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225677824001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40267431523909632,"note":"Value kept but may cause issues"} 
[2026-11-05 09:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128163150508605440,"note":"Value kept but may cause issues"} 
[2026-11-05 09:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793850314000,"timestamp_ms":1793850314000,"timestamp_seconds":1793850314,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9cf8d10"} 
[2026-11-05 09:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:17: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-05 09:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-05 09:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:17:10] 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-05 09:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225677824001,"66":27800,"59":206,"85":12544,"24":34,"16":40267431523909632,"45":9128163150508605440},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-11-05 09:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225677824001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:17:10] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-11-05 09:17:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40267431523909632,"km_value":40267431523909.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128163150508605440,"description":"Unknown IO ID 45"} 
[2026-11-05 09:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225677824001,"power":27800,"unknown_59":206,"unknown_85":12544,"ignition":34,"odometer":null,"unknown_45":9128163150508605440}} 
[2026-11-05 09:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":231349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:17:10] local.INFO: GPS data processed {"connection_id":231349,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:17:10] local.INFO: Acknowledgment sent {"connection_id":231349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:17:41] local.INFO: TCP Data received {"connection_id":231349,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9d0eca0012d7eb6c005b3dc90000a00b233..."} 
[2026-11-05 09:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9d0eca0012d7eb6c005b3dc90000a00b233..."} 
[2026-11-05 09:17:41] local.INFO: Processing buffer {"connection_id":231349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9d0eca0012d7eb6c005b3dc90000a00b233..."} 
[2026-11-05 09:17:41] local.INFO: Packet analysis {"connection_id":231349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9d0"} 
[2026-11-05 09:17:41] local.INFO: Extracted packet for processing {"connection_id":231349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9d0"} 
[2026-11-05 09:17:41] local.INFO: GPS Element Parsed {"raw_longitude":763279040,"raw_latitude":95673488,"longitude_deg":76.327904,"latitude_deg":9.5673488,"altitude":10,"angle":178,"satellites":51,"speed":59,"hex_longitude":"2d7eb6c0","hex_latitude":"05b3dc90","is_valid_coordinates":true} 
[2026-11-05 09:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225701888001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40273401528451072,"note":"Value kept but may cause issues"} 
[2026-11-05 09:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130555687779127296,"note":"Value kept but may cause issues"} 
[2026-11-05 09:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793850404000,"timestamp_ms":1793850404000,"timestamp_seconds":1793850404,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9d0eca0"} 
[2026-11-05 09:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-05 09:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:17: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-05 09:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225701888001,"66":27919,"17":206,"85":12544,"24":59,"16":40273401528451072,"45":9130555687779127296},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-11-05 09:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225701888001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:17:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40273401528451072,"km_value":40273401528451.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130555687779127296,"description":"Unknown IO ID 45"} 
[2026-11-05 09:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225701888001,"power":27919,"axis_x":206,"unknown_85":12544,"ignition":59,"odometer":null,"unknown_45":9130555687779127296}} 
[2026-11-05 09:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":231349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:17:41] local.INFO: GPS data processed {"connection_id":231349,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:17:41] local.INFO: Acknowledgment sent {"connection_id":231349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:18:06] local.INFO: TCP Data received {"connection_id":229527,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:18:06] local.INFO: Processing buffer {"connection_id":229527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:18:06] local.INFO: IMEI packet received {"connection_id":229527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":229527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:18:09] local.INFO: TCP Data received {"connection_id":229527,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:18:09] local.INFO: Processing buffer {"connection_id":229527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:18:09] local.INFO: IMEI packet received {"connection_id":229527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":229527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:18:12] local.INFO: TCP Data received {"connection_id":229527,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:18:12] local.INFO: Processing buffer {"connection_id":229527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:18:12] local.INFO: IMEI packet received {"connection_id":229527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":229527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:18:13] local.INFO: TCP Data received {"connection_id":229527,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9d10410012d7eb74005b3b9a8000900b233..."} 
[2026-11-05 09:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9d10410012d7eb74005b3b9a8000900b233..."} 
[2026-11-05 09:18:13] local.INFO: Processing buffer {"connection_id":229527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9d10410012d7eb74005b3b9a8000900b233..."} 
[2026-11-05 09:18:13] local.INFO: Packet analysis {"connection_id":229527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9d1"} 
[2026-11-05 09:18:13] local.INFO: Extracted packet for processing {"connection_id":229527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9d1"} 
[2026-11-05 09:18:13] local.INFO: GPS Element Parsed {"raw_longitude":763279168,"raw_latitude":95664552,"longitude_deg":76.3279168,"latitude_deg":9.5664552,"altitude":9,"angle":178,"satellites":51,"speed":58,"hex_longitude":"2d7eb740","hex_latitude":"05b3b9a8","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225703424001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40273835320147968,"note":"Value kept but may cause issues"} 
[2026-11-05 09:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130696425265205248,"note":"Value kept but may cause issues"} 
[2026-11-05 09:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793850410000,"timestamp_ms":1793850410000,"timestamp_seconds":1793850410,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9d10410"} 
[2026-11-05 09: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-05 09: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-05 09: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 09:18: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-05 09: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-05 09: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-05 09:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:18: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-05 09:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225703424001,"66":27843,"17":206,"85":12544,"24":58,"16":40273835320147968,"45":9130696425265205248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-11-05 09:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225703424001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:18:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40273835320147968,"km_value":40273835320147.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130696425265205248,"description":"Unknown IO ID 45"} 
[2026-11-05 09:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225703424001,"power":27843,"axis_x":206,"unknown_85":12544,"ignition":58,"odometer":null,"unknown_45":9130696425265205248}} 
[2026-11-05 09:18: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":62128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:18:13] local.INFO: GPS data processed {"connection_id":229527,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:18:13] local.INFO: Acknowledgment sent {"connection_id":229527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:18:14] local.INFO: TCP Data received {"connection_id":229527,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9d11f68012d7eb80005b39150000800b12f..."} 
[2026-11-05 09:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9d11f68012d7eb80005b39150000800b12f..."} 
[2026-11-05 09:18:14] local.INFO: Processing buffer {"connection_id":229527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9d11f68012d7eb80005b39150000800b12f..."} 
[2026-11-05 09:18:14] local.INFO: Packet analysis {"connection_id":229527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9d1"} 
[2026-11-05 09:18:14] local.INFO: Extracted packet for processing {"connection_id":229527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9d1"} 
[2026-11-05 09:18:14] local.INFO: GPS Element Parsed {"raw_longitude":763279360,"raw_latitude":95654224,"longitude_deg":76.327936,"latitude_deg":9.5654224,"altitude":8,"angle":177,"satellites":47,"speed":58,"hex_longitude":"2d7eb800","hex_latitude":"05b39150","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225704960001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40274333536354304,"note":"Value kept but may cause issues"} 
[2026-11-05 09:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130837162751272960,"note":"Value kept but may cause issues"} 
[2026-11-05 09:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793850417000,"timestamp_ms":1793850417000,"timestamp_seconds":1793850417,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9d11f68"} 
[2026-11-05 09: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-05 09:18: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-05 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-05 09:18:14] 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-05 09: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-05 09: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-05 09:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:18: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-05 09:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225704960001,"66":27919,"17":206,"85":12544,"24":58,"16":40274333536354304,"45":9130837162751272960},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-11-05 09:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225704960001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:18:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40274333536354304,"km_value":40274333536354.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130837162751272960,"description":"Unknown IO ID 45"} 
[2026-11-05 09:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225704960001,"power":27919,"axis_x":206,"unknown_85":12544,"ignition":58,"odometer":null,"unknown_45":9130837162751272960}} 
[2026-11-05 09:18:14] 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":62129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:18:14] local.INFO: GPS data processed {"connection_id":229527,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:18:14] local.INFO: Acknowledgment sent {"connection_id":229527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:18:45] local.INFO: TCP Data received {"connection_id":229527,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9d13ac0012d7eb98005b36910000900b034..."} 
[2026-11-05 09:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9d13ac0012d7eb98005b36910000900b034..."} 
[2026-11-05 09:18:45] local.INFO: Processing buffer {"connection_id":229527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9d13ac0012d7eb98005b36910000900b034..."} 
[2026-11-05 09:18:45] local.INFO: Packet analysis {"connection_id":229527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9d1"} 
[2026-11-05 09:18:45] local.INFO: Extracted packet for processing {"connection_id":229527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9d1"} 
[2026-11-05 09:18:45] local.INFO: GPS Element Parsed {"raw_longitude":763279744,"raw_latitude":95643920,"longitude_deg":76.3279744,"latitude_deg":9.564392,"altitude":9,"angle":176,"satellites":52,"speed":58,"hex_longitude":"2d7eb980","hex_latitude":"05b36910","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225706752001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40274831752560640,"note":"Value kept but may cause issues"} 
[2026-11-05 09:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131048268981161984,"note":"Value kept but may cause issues"} 
[2026-11-05 09:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793850424000,"timestamp_ms":1793850424000,"timestamp_seconds":1793850424,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9d13ac0"} 
[2026-11-05 09: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-05 09:18: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-05 09: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 09:18: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-05 09: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-05 09: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-05 09:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:18: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-05 09:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225706752001,"66":27647,"93":206,"85":12544,"24":58,"16":40274831752560640,"45":9131048268981161984},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-11-05 09:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225706752001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:18:45] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-11-05 09:18:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40274831752560640,"km_value":40274831752560.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131048268981161984,"description":"Unknown IO ID 45"} 
[2026-11-05 09:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225706752001,"power":27647,"unknown_93":206,"unknown_85":12544,"ignition":58,"odometer":null,"unknown_45":9131048268981161984}} 
[2026-11-05 09:18:45] 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":62130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:18:45] local.INFO: GPS data processed {"connection_id":229527,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:18:45] local.INFO: Acknowledgment sent {"connection_id":229527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:18:53] local.INFO: TCP Data received {"connection_id":231350,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231350,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:18:53] local.INFO: Processing buffer {"connection_id":231350,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:18:53] local.INFO: IMEI packet received {"connection_id":231350,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":231350,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:18:54] local.INFO: TCP Data received {"connection_id":231350,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9d25018012d0baa80070504f8002400ac27..."} 
[2026-11-05 09:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9d25018012d0baa80070504f8002400ac27..."} 
[2026-11-05 09:18:54] local.INFO: Processing buffer {"connection_id":231350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9d25018012d0baa80070504f8002400ac27..."} 
[2026-11-05 09:18:54] local.INFO: Packet analysis {"connection_id":231350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9d2"} 
[2026-11-05 09:18:54] local.INFO: Extracted packet for processing {"connection_id":231350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9d2"} 
[2026-11-05 09:18:54] local.INFO: GPS Element Parsed {"raw_longitude":755739264,"raw_latitude":117769464,"longitude_deg":75.5739264,"latitude_deg":11.7769464,"altitude":36,"angle":172,"satellites":39,"speed":17,"hex_longitude":"2d0baa80","hex_latitude":"070504f8","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225726464001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39403614816436224,"note":"Value kept but may cause issues"} 
[2026-11-05 09:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840554679351289856,"note":"Value kept but may cause issues"} 
[2026-11-05 09:18:54] 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-05 09:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793850495000,"timestamp_ms":1793850495000,"timestamp_seconds":1793850495,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9d25018"} 
[2026-11-05 09: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-05 09:18:54] 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-05 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-11-05 09:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09: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-05 09: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-05 09:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":231350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":231350,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":231350,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:18: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-05 09:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225726464001,"66":14450,"177":206,"94":10240,"24":17,"16":39403614816436224,"45":840554679351289856},"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-05 09:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225726464001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:18:54] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-05 09:18:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39403614816436224,"km_value":39403614816436.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":840554679351289856,"description":"Unknown IO ID 45"} 
[2026-11-05 09:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225726464001,"power":14450,"unknown_177":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":840554679351289856}} 
[2026-11-05 09:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":231350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62131,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:18:54] local.INFO: GPS data processed {"connection_id":231350,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:18:54] local.INFO: Acknowledgment sent {"connection_id":231350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:19:04] local.INFO: TCP Data received {"connection_id":233266,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:19:04] local.INFO: Processing buffer {"connection_id":233266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:19:04] local.INFO: IMEI packet received {"connection_id":233266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":233266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:19:04] local.INFO: TCP Data received {"connection_id":233266,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:19:04] local.INFO: Processing buffer {"connection_id":233266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:19:04] local.INFO: IMEI packet received {"connection_id":233266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":233266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:19:09] local.INFO: TCP Data received {"connection_id":233266,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:19:09] local.INFO: Processing buffer {"connection_id":233266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:19:09] local.INFO: IMEI packet received {"connection_id":233266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":233266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:19:10] local.INFO: TCP Data received {"connection_id":233266,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9d24460012d7eb34005b1e050000b00b932..."} 
[2026-11-05 09:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9d24460012d7eb34005b1e050000b00b932..."} 
[2026-11-05 09:19:10] local.INFO: Processing buffer {"connection_id":233266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9d24460012d7eb34005b1e050000b00b932..."} 
[2026-11-05 09:19:10] local.INFO: Packet analysis {"connection_id":233266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9d2"} 
[2026-11-05 09:19:10] local.INFO: Extracted packet for processing {"connection_id":233266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9d2"} 
[2026-11-05 09:19:10] local.INFO: GPS Element Parsed {"raw_longitude":763278144,"raw_latitude":95543376,"longitude_deg":76.3278144,"latitude_deg":9.5543376,"altitude":11,"angle":185,"satellites":50,"speed":58,"hex_longitude":"2d7eb340","hex_latitude":"05b1e050","is_valid_coordinates":true} 
[2026-11-05 09:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225724416001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40279715130376192,"note":"Value kept but may cause issues"} 
[2026-11-05 09:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130696425234151424,"note":"Value kept but may cause issues"} 
[2026-11-05 09:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793850492000,"timestamp_ms":1793850492000,"timestamp_seconds":1793850492,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9d24460"} 
[2026-11-05 09:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-05 09:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:19:10] 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-05 09:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225724416001,"66":27995,"92":206,"85":12544,"24":58,"16":40279715130376192,"45":9130696425234151424},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-11-05 09:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225724416001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:19:10] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-11-05 09:19:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40279715130376192,"km_value":40279715130376.195,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130696425234151424,"description":"Unknown IO ID 45"} 
[2026-11-05 09:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225724416001,"power":27995,"unknown_92":206,"unknown_85":12544,"ignition":58,"odometer":null,"unknown_45":9130696425234151424}} 
[2026-11-05 09:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":233266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:19:10] local.INFO: GPS data processed {"connection_id":233266,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:19:10] local.INFO: Acknowledgment sent {"connection_id":233266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:19:10] local.INFO: TCP Data received {"connection_id":233266,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9d25fb8012d7eae8005b1b900000d00bb31..."} 
[2026-11-05 09:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9d25fb8012d7eae8005b1b900000d00bb31..."} 
[2026-11-05 09:19:10] local.INFO: Processing buffer {"connection_id":233266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9d25fb8012d7eae8005b1b900000d00bb31..."} 
[2026-11-05 09:19:10] local.INFO: Packet analysis {"connection_id":233266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9d2"} 
[2026-11-05 09:19:10] local.INFO: Extracted packet for processing {"connection_id":233266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9d2"} 
[2026-11-05 09:19:10] local.INFO: GPS Element Parsed {"raw_longitude":763276928,"raw_latitude":95533312,"longitude_deg":76.3276928,"latitude_deg":9.5533312,"altitude":13,"angle":187,"satellites":49,"speed":56,"hex_longitude":"2d7eae80","hex_latitude":"05b1b900","is_valid_coordinates":true} 
[2026-11-05 09:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225725952001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40280209051615232,"note":"Value kept but may cause issues"} 
[2026-11-05 09:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129711262813409280,"note":"Value kept but may cause issues"} 
[2026-11-05 09:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793850499000,"timestamp_ms":1793850499000,"timestamp_seconds":1793850499,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9d25fb8"} 
[2026-11-05 09:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-05 09:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:19:10] 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-05 09:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225725952001,"66":27919,"92":206,"85":12544,"24":56,"16":40280209051615232,"45":9129711262813409280},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-11-05 09:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225725952001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:19:10] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-11-05 09:19:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40280209051615232,"km_value":40280209051615.234,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129711262813409280,"description":"Unknown IO ID 45"} 
[2026-11-05 09:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225725952001,"power":27919,"unknown_92":206,"unknown_85":12544,"ignition":56,"odometer":null,"unknown_45":9129711262813409280}} 
[2026-11-05 09:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":233266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:19:10] local.INFO: GPS data processed {"connection_id":233266,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:19:10] local.INFO: Acknowledgment sent {"connection_id":233266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:19:42] local.INFO: TCP Data received {"connection_id":233266,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9d27b10012d7eaa4005b191f0000f00b732..."} 
[2026-11-05 09:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9d27b10012d7eaa4005b191f0000f00b732..."} 
[2026-11-05 09:19:42] local.INFO: Processing buffer {"connection_id":233266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9d27b10012d7eaa4005b191f0000f00b732..."} 
[2026-11-05 09:19:42] local.INFO: Packet analysis {"connection_id":233266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9d2"} 
[2026-11-05 09:19:42] local.INFO: Extracted packet for processing {"connection_id":233266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9d2"} 
[2026-11-05 09:19:42] local.INFO: GPS Element Parsed {"raw_longitude":763275840,"raw_latitude":95523312,"longitude_deg":76.327584,"latitude_deg":9.5523312,"altitude":15,"angle":183,"satellites":50,"speed":58,"hex_longitude":"2d7eaa40","hex_latitude":"05b191f0","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225727744001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40280694382919680,"note":"Value kept but may cause issues"} 
[2026-11-05 09:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128374256671457280,"note":"Value kept but may cause issues"} 
[2026-11-05 09:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793850506000,"timestamp_ms":1793850506000,"timestamp_seconds":1793850506,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9d27b10"} 
[2026-11-05 09: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-05 09:19: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-05 09: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 09:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09: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-05 09: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-05 09:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:19:42] 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-05 09:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225727744001,"66":27908,"92":206,"85":12544,"24":58,"16":40280694382919680,"45":9128374256671457280},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-11-05 09:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225727744001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:19:42] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-11-05 09:19:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40280694382919680,"km_value":40280694382919.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128374256671457280,"description":"Unknown IO ID 45"} 
[2026-11-05 09:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225727744001,"power":27908,"unknown_92":206,"unknown_85":12544,"ignition":58,"odometer":null,"unknown_45":9128374256671457280}} 
[2026-11-05 09:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":233266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:19:42] local.INFO: GPS data processed {"connection_id":233266,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:19:42] local.INFO: Acknowledgment sent {"connection_id":233266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:20:04] local.INFO: TCP Data received {"connection_id":229528,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:20:04] local.INFO: Processing buffer {"connection_id":229528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:20:04] local.INFO: IMEI packet received {"connection_id":229528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":229528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:20:05] local.INFO: TCP Data received {"connection_id":229528,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:20:05] local.INFO: Processing buffer {"connection_id":229528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:20:05] local.INFO: IMEI packet received {"connection_id":229528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":229528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:20:09] local.INFO: TCP Data received {"connection_id":229528,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:20:09] local.INFO: Processing buffer {"connection_id":229528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:20:09] local.INFO: IMEI packet received {"connection_id":229528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":229528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:20:10] local.INFO: TCP Data received {"connection_id":229528,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9d29280012d7ea88005b16ea8000e00b531..."} 
[2026-11-05 09:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9d29280012d7ea88005b16ea8000e00b531..."} 
[2026-11-05 09:20:10] local.INFO: Processing buffer {"connection_id":229528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9d29280012d7ea88005b16ea8000e00b531..."} 
[2026-11-05 09:20:10] local.INFO: Packet analysis {"connection_id":229528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9d2"} 
[2026-11-05 09:20:10] local.INFO: Extracted packet for processing {"connection_id":229528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9d2"} 
[2026-11-05 09:20:10] local.INFO: GPS Element Parsed {"raw_longitude":763275392,"raw_latitude":95514280,"longitude_deg":76.3275392,"latitude_deg":9.551428,"altitude":14,"angle":181,"satellites":49,"speed":61,"hex_longitude":"2d7ea880","hex_latitude":"05b16ea8","is_valid_coordinates":true} 
[2026-11-05 09:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225729536001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40281136764551168,"note":"Value kept but may cause issues"} 
[2026-11-05 09:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127177988017876992,"note":"Value kept but may cause issues"} 
[2026-11-05 09:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793850512000,"timestamp_ms":1793850512000,"timestamp_seconds":1793850512,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9d29280"} 
[2026-11-05 09:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:20: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-05 09:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 09:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:20:10] 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-05 09:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225729536001,"66":27876,"251":206,"85":12544,"24":61,"16":40281136764551168,"45":9127177988017876992},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-11-05 09:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225729536001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:20:10] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-11-05 09:20:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40281136764551168,"km_value":40281136764551.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127177988017876992,"description":"Unknown IO ID 45"} 
[2026-11-05 09:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225729536001,"power":27876,"unknown_251":206,"unknown_85":12544,"ignition":61,"odometer":null,"unknown_45":9127177988017876992}} 
[2026-11-05 09:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":229528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:20:10] local.INFO: GPS data processed {"connection_id":229528,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:20:10] local.INFO: Acknowledgment sent {"connection_id":229528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:20:36] local.INFO: TCP Data received {"connection_id":231352,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:20:36] local.INFO: Processing buffer {"connection_id":231352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:20:36] local.INFO: IMEI packet received {"connection_id":231352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 09:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":231352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:20:41] local.INFO: TCP Data received {"connection_id":229528,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9d2a9f0012d7ea74005b14ae0000b00b431..."} 
[2026-11-05 09:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9d2a9f0012d7ea74005b14ae0000b00b431..."} 
[2026-11-05 09:20:41] local.INFO: Processing buffer {"connection_id":229528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9d2a9f0012d7ea74005b14ae0000b00b431..."} 
[2026-11-05 09:20:41] local.INFO: Packet analysis {"connection_id":229528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9d2"} 
[2026-11-05 09:20:41] local.INFO: Extracted packet for processing {"connection_id":229528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9d2"} 
[2026-11-05 09:20:41] local.INFO: GPS Element Parsed {"raw_longitude":763275072,"raw_latitude":95505120,"longitude_deg":76.3275072,"latitude_deg":9.550512,"altitude":11,"angle":180,"satellites":49,"speed":60,"hex_longitude":"2d7ea740","hex_latitude":"05b14ae0","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225731072001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40281579146182656,"note":"Value kept but may cause issues"} 
[2026-11-05 09:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126685406806321152,"note":"Value kept but may cause issues"} 
[2026-11-05 09:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793850518000,"timestamp_ms":1793850518000,"timestamp_seconds":1793850518,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9d2a9f0"} 
[2026-11-05 09: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-05 09:20: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-05 09: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-05 09:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09: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-05 09: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-05 09:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:20: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-05 09:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225731072001,"66":27995,"251":206,"85":12544,"24":60,"16":40281579146182656,"45":9126685406806321152},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-11-05 09:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225731072001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:20:41] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-11-05 09:20:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40281579146182656,"km_value":40281579146182.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126685406806321152,"description":"Unknown IO ID 45"} 
[2026-11-05 09:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225731072001,"power":27995,"unknown_251":206,"unknown_85":12544,"ignition":60,"odometer":null,"unknown_45":9126685406806321152}} 
[2026-11-05 09:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":229528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:20:41] local.INFO: GPS data processed {"connection_id":229528,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:20:41] local.INFO: Acknowledgment sent {"connection_id":229528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:20:59] local.INFO: TCP Data received {"connection_id":231353,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231353,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:20:59] local.INFO: Processing buffer {"connection_id":231353,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:20:59] local.INFO: IMEI packet received {"connection_id":231353,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":231353,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:21:02] local.INFO: TCP Data received {"connection_id":233267,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:21:02] local.INFO: Processing buffer {"connection_id":233267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:21:02] local.INFO: IMEI packet received {"connection_id":233267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":233267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:21:03] local.INFO: TCP Data received {"connection_id":233267,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:21:03] local.INFO: Processing buffer {"connection_id":233267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:21:03] local.INFO: IMEI packet received {"connection_id":233267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":233267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:21:04] local.INFO: TCP Data received {"connection_id":231353,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:21:04] local.INFO: TCP Data received {"connection_id":233267,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231353,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:21:04] local.INFO: Processing buffer {"connection_id":231353,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:21:04] local.INFO: IMEI packet received {"connection_id":231353,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":231353,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:21:04] local.INFO: Processing buffer {"connection_id":233267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:21:04] local.INFO: IMEI packet received {"connection_id":233267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":233267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:21:04] local.INFO: TCP Data received {"connection_id":233267,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:21:04] local.INFO: Processing buffer {"connection_id":233267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:21:04] local.INFO: IMEI packet received {"connection_id":233267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":233267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:21:04] local.INFO: TCP Data received {"connection_id":231353,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9d44418012d0bdf400705e0680018016023..."} 
[2026-11-05 09:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9d44418012d0bdf400705e0680018016023..."} 
[2026-11-05 09:21:04] local.INFO: Processing buffer {"connection_id":231353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9d44418012d0bdf400705e0680018016023..."} 
[2026-11-05 09:21:04] local.INFO: Packet analysis {"connection_id":231353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9d4"} 
[2026-11-05 09:21:04] local.INFO: Extracted packet for processing {"connection_id":231353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9d4"} 
[2026-11-05 09:21:04] local.INFO: GPS Element Parsed {"raw_longitude":755752768,"raw_latitude":117825640,"longitude_deg":75.5752768,"latitude_deg":11.782564,"altitude":24,"angle":352,"satellites":35,"speed":18,"hex_longitude":"2d0bdf40","hex_latitude":"0705e068","is_valid_coordinates":true} 
[2026-11-05 09:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225755392001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39406896171450368,"note":"Value kept but may cause issues"} 
[2026-11-05 09:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":855050640663871488,"note":"Value kept but may cause issues"} 
[2026-11-05 09:21:04] 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-05 09:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793850623000,"timestamp_ms":1793850623000,"timestamp_seconds":1793850623,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9d44418"} 
[2026-11-05 09:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-05 09:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":231353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":231353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":231353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:21:04] 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-05 09:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225755392001,"66":14580,"164":206,"94":10240,"24":18,"16":39406896171450368,"45":855050640663871488},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-05 09:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225755392001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:21:04] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-05 09:21:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39406896171450368,"km_value":39406896171450.37,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":855050640663871488,"description":"Unknown IO ID 45"} 
[2026-11-05 09:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225755392001,"power":14580,"unknown_164":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":855050640663871488}} 
[2026-11-05 09:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":231353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62137,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:21:05] local.INFO: GPS data processed {"connection_id":231353,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:21:05] local.INFO: Acknowledgment sent {"connection_id":231353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:21:05] local.INFO: TCP Data received {"connection_id":231353,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9d453b8012d0bde800705e4100018015425..."} 
[2026-11-05 09:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9d453b8012d0bde800705e4100018015425..."} 
[2026-11-05 09:21:05] local.INFO: Processing buffer {"connection_id":231353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9d453b8012d0bde800705e4100018015425..."} 
[2026-11-05 09:21:05] local.INFO: Packet analysis {"connection_id":231353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9d4"} 
[2026-11-05 09:21:05] local.INFO: Extracted packet for processing {"connection_id":231353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9d4"} 
[2026-11-05 09:21:05] local.INFO: GPS Element Parsed {"raw_longitude":755752576,"raw_latitude":117826576,"longitude_deg":75.5752576,"latitude_deg":11.7826576,"altitude":24,"angle":340,"satellites":37,"speed":9,"hex_longitude":"2d0bde80","hex_latitude":"0705e410","is_valid_coordinates":true} 
[2026-11-05 09:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225759488001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39406943416090624,"note":"Value kept but may cause issues"} 
[2026-11-05 09:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":855472853131225088,"note":"Value kept but may cause issues"} 
[2026-11-05 09:21: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-05 09:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793850627000,"timestamp_ms":1793850627000,"timestamp_seconds":1793850627,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9d453b8"} 
[2026-11-05 09:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-11-05 09:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":231353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":231353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":231353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:21:05] 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-05 09:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225759488001,"66":14428,"164":206,"94":10240,"24":9,"16":39406943416090624,"45":855472853131225088},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-05 09:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225759488001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:21:05] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-05 09:21:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39406943416090624,"km_value":39406943416090.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":855472853131225088,"description":"Unknown IO ID 45"} 
[2026-11-05 09:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225759488001,"power":14428,"unknown_164":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":855472853131225088}} 
[2026-11-05 09:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":231353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62138,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:21:05] local.INFO: GPS data processed {"connection_id":231353,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:21:05] local.INFO: Acknowledgment sent {"connection_id":231353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:21:06] local.INFO: TCP Data received {"connection_id":229529,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229529,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:21:06] local.INFO: Processing buffer {"connection_id":229529,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:21:06] local.INFO: IMEI packet received {"connection_id":229529,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 09:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":229529,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:22:52] local.INFO: TCP Data received {"connection_id":233268,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233268,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:22:52] local.INFO: Processing buffer {"connection_id":233268,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:22:52] local.INFO: IMEI packet received {"connection_id":233268,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":233268,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:22:54] local.INFO: TCP Data received {"connection_id":233268,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233268,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:22:54] local.INFO: Processing buffer {"connection_id":233268,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:22:54] local.INFO: IMEI packet received {"connection_id":233268,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":233268,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:22:59] local.INFO: TCP Data received {"connection_id":233268,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233268,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:22:59] local.INFO: Processing buffer {"connection_id":233268,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:22:59] local.INFO: IMEI packet received {"connection_id":233268,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":233268,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:23:00] local.INFO: TCP Data received {"connection_id":233268,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9d5cab8012d0bda0007061670002200af27..."} 
[2026-11-05 09:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9d5cab8012d0bda0007061670002200af27..."} 
[2026-11-05 09:23:00] local.INFO: Processing buffer {"connection_id":233268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9d5cab8012d0bda0007061670002200af27..."} 
[2026-11-05 09:23:00] local.INFO: Packet analysis {"connection_id":233268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9d5"} 
[2026-11-05 09:23:00] local.INFO: Extracted packet for processing {"connection_id":233268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9d5"} 
[2026-11-05 09:23:00] local.INFO: GPS Element Parsed {"raw_longitude":755751424,"raw_latitude":117839472,"longitude_deg":75.5751424,"latitude_deg":11.7839472,"altitude":34,"angle":175,"satellites":39,"speed":5,"hex_longitude":"2d0bda00","hex_latitude":"07061670","is_valid_coordinates":true} 
[2026-11-05 09:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225784064001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39408081582424064,"note":"Value kept but may cause issues"} 
[2026-11-05 09:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":853924740763023360,"note":"Value kept but may cause issues"} 
[2026-11-05 09:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793850723000,"timestamp_ms":1793850723000,"timestamp_seconds":1793850723,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9d5cab8"} 
[2026-11-05 09:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-05 09:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":233268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":233268,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":233268,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:23: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-05 09:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225784064001,"66":14428,"164":206,"94":10240,"24":5,"16":39408081582424064,"45":853924740763023360},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-05 09:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225784064001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:23:00] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-05 09:23:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39408081582424064,"km_value":39408081582424.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":853924740763023360,"description":"Unknown IO ID 45"} 
[2026-11-05 09:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225784064001,"power":14428,"unknown_164":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":853924740763023360}} 
[2026-11-05 09:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":233268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62139,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:23:00] local.INFO: GPS data processed {"connection_id":233268,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:23:00] local.INFO: Acknowledgment sent {"connection_id":233268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:24:33] local.INFO: TCP Data received {"connection_id":233268,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9d61cc0012d0bdb4007060d80001f00a625..."} 
[2026-11-05 09:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9d61cc0012d0bdb4007060d80001f00a625..."} 
[2026-11-05 09:24:33] local.INFO: Processing buffer {"connection_id":233268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9d61cc0012d0bdb4007060d80001f00a625..."} 
[2026-11-05 09:24:33] local.INFO: Packet analysis {"connection_id":233268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9d6"} 
[2026-11-05 09:24:33] local.INFO: Extracted packet for processing {"connection_id":233268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9d6"} 
[2026-11-05 09:24:33] local.INFO: GPS Element Parsed {"raw_longitude":755751744,"raw_latitude":117837184,"longitude_deg":75.5751744,"latitude_deg":11.7837184,"altitude":31,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d0bdb40","hex_latitude":"07060d80","is_valid_coordinates":true} 
[2026-11-05 09:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225785088001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39408201841508352,"note":"Value kept but may cause issues"} 
[2026-11-05 09:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":853995109507035136,"note":"Value kept but may cause issues"} 
[2026-11-05 09:24: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-05 09:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1793850744000,"timestamp_ms":1793850744000,"timestamp_seconds":1793850744,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9d61cc0"} 
[2026-11-05 09:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 09:24: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-05 09:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":233268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":233268,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":233268,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:24:33] 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-05 09:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225785088001,"66":14515,"164":206,"94":10240,"24":0,"16":39408201841508352,"45":853995109507035136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-05 09:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225785088001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:24:33] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-05 09:24:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39408201841508352,"km_value":39408201841508.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":853995109507035136,"description":"Unknown IO ID 45"} 
[2026-11-05 09:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225785088001,"power":14515,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":853995109507035136}} 
[2026-11-05 09:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":233268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62140,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:24:34] local.INFO: GPS data processed {"connection_id":233268,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:24:34] local.INFO: Acknowledgment sent {"connection_id":233268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:24:39] local.INFO: TCP Data received {"connection_id":230044,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230044,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:24:39] local.INFO: Processing buffer {"connection_id":230044,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:24:39] local.INFO: IMEI packet received {"connection_id":230044,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":230044,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:24:42] local.INFO: TCP Data received {"connection_id":230044,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230044,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:24:42] local.INFO: Processing buffer {"connection_id":230044,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:24:42] local.INFO: IMEI packet received {"connection_id":230044,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":230044,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:24:42] local.INFO: TCP Data received {"connection_id":230044,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9d741b8012d0be0800705d9c8001a00c024..."} 
[2026-11-05 09:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9d741b8012d0be0800705d9c8001a00c024..."} 
[2026-11-05 09:24:42] local.INFO: Processing buffer {"connection_id":230044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9d741b8012d0be0800705d9c8001a00c024..."} 
[2026-11-05 09:24:42] local.INFO: Packet analysis {"connection_id":230044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9d7"} 
[2026-11-05 09:24:42] local.INFO: Extracted packet for processing {"connection_id":230044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9d7"} 
[2026-11-05 09:24:42] local.INFO: GPS Element Parsed {"raw_longitude":755753088,"raw_latitude":117823944,"longitude_deg":75.5753088,"latitude_deg":11.7823944,"altitude":26,"angle":192,"satellites":36,"speed":19,"hex_longitude":"2d0be080","hex_latitude":"0705d9c8","is_valid_coordinates":true} 
[2026-11-05 09:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225809152001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39408880446341120,"note":"Value kept but may cause issues"} 
[2026-11-05 09:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":855895065596082176,"note":"Value kept but may cause issues"} 
[2026-11-05 09:24:42] 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-05 09:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793850819000,"timestamp_ms":1793850819000,"timestamp_seconds":1793850819,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9d741b8"} 
[2026-11-05 09:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-05 09:24:42] 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-05 09:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230044,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230044,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:24:42] 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-05 09:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225809152001,"66":14407,"164":206,"94":10240,"24":19,"16":39408880446341120,"45":855895065596082176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-05 09:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225809152001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:24:42] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-05 09:24:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39408880446341120,"km_value":39408880446341.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":855895065596082176,"description":"Unknown IO ID 45"} 
[2026-11-05 09:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225809152001,"power":14407,"unknown_164":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":855895065596082176}} 
[2026-11-05 09:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":230044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62141,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:24:43] local.INFO: GPS data processed {"connection_id":230044,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:24:43] local.INFO: Acknowledgment sent {"connection_id":230044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:25:19] local.INFO: TCP Data received {"connection_id":230044,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9d76cb0012d0bde400705be78001a00b426..."} 
[2026-11-05 09:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9d76cb0012d0bde400705be78001a00b426..."} 
[2026-11-05 09:25:19] local.INFO: Processing buffer {"connection_id":230044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9d76cb0012d0bde400705be78001a00b426..."} 
[2026-11-05 09:25:19] local.INFO: Packet analysis {"connection_id":230044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9d7"} 
[2026-11-05 09:25:19] local.INFO: Extracted packet for processing {"connection_id":230044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9d7"} 
[2026-11-05 09:25:19] local.INFO: GPS Element Parsed {"raw_longitude":755752512,"raw_latitude":117816952,"longitude_deg":75.5752512,"latitude_deg":11.7816952,"altitude":26,"angle":180,"satellites":38,"speed":22,"hex_longitude":"2d0bde40","hex_latitude":"0705be78","is_valid_coordinates":true} 
[2026-11-05 09:25: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-05 09:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225809664001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39409219748757504,"note":"Value kept but may cause issues"} 
[2026-11-05 09:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":855824696851679232,"note":"Value kept but may cause issues"} 
[2026-11-05 09:25:19] 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-05 09:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793850830000,"timestamp_ms":1793850830000,"timestamp_seconds":1793850830,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9d76cb0"} 
[2026-11-05 09:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 09:25:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:25: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-05 09:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230044,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230044,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:25:19] 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-05 09:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225809664001,"66":14407,"164":206,"94":10240,"24":22,"16":39409219748757504,"45":855824696851679232},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-05 09:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225809664001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:25:19] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-05 09:25:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39409219748757504,"km_value":39409219748757.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":855824696851679232,"description":"Unknown IO ID 45"} 
[2026-11-05 09:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225809664001,"power":14407,"unknown_164":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":855824696851679232}} 
[2026-11-05 09:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":230044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62142,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:25:19] local.INFO: GPS data processed {"connection_id":230044,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:25:19] local.INFO: Acknowledgment sent {"connection_id":230044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:25:59] local.INFO: TCP Data received {"connection_id":230045,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230045,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:25:59] local.INFO: Processing buffer {"connection_id":230045,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:25:59] local.INFO: IMEI packet received {"connection_id":230045,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":230045,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:26:01] local.INFO: TCP Data received {"connection_id":230045,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230045,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:26:01] local.INFO: Processing buffer {"connection_id":230045,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:26:01] local.INFO: IMEI packet received {"connection_id":230045,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":230045,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:26:04] local.INFO: TCP Data received {"connection_id":230045,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230045,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:26:04] local.INFO: Processing buffer {"connection_id":230045,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:26:04] local.INFO: IMEI packet received {"connection_id":230045,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":230045,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:26:05] local.INFO: TCP Data received {"connection_id":230045,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9d8eb80012d0c6d800705a4800021001125..."} 
[2026-11-05 09:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9d8eb80012d0c6d800705a4800021001125..."} 
[2026-11-05 09:26:05] local.INFO: Processing buffer {"connection_id":230045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9d8eb80012d0c6d800705a4800021001125..."} 
[2026-11-05 09:26:05] local.INFO: Packet analysis {"connection_id":230045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9d8"} 
[2026-11-05 09:26:05] local.INFO: Extracted packet for processing {"connection_id":230045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9d8"} 
[2026-11-05 09:26:05] local.INFO: GPS Element Parsed {"raw_longitude":755789184,"raw_latitude":117810304,"longitude_deg":75.5789184,"latitude_deg":11.7810304,"altitude":33,"angle":17,"satellites":37,"speed":13,"hex_longitude":"2d0c6d80","hex_latitude":"0705a480","is_valid_coordinates":true} 
[2026-11-05 09:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225837312001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39411637815345152,"note":"Value kept but may cause issues"} 
[2026-11-05 09:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895442299820111872,"note":"Value kept but may cause issues"} 
[2026-11-05 09:26: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-05 09:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793850928000,"timestamp_ms":1793850928000,"timestamp_seconds":1793850928,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9d8eb80"} 
[2026-11-05 09:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:26: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-05 09:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-11-05 09:26:05] 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-05 09:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":230045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":230045,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":230045,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:26:05] 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-05 09:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225837312001,"66":14233,"164":206,"94":10240,"24":13,"16":39411637815345152,"45":895442299820111872},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-05 09:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225837312001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:26:05] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-05 09:26:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39411637815345152,"km_value":39411637815345.15,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":895442299820111872,"description":"Unknown IO ID 45"} 
[2026-11-05 09:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225837312001,"power":14233,"unknown_164":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":895442299820111872}} 
[2026-11-05 09:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":230045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62143,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:26:05] local.INFO: GPS data processed {"connection_id":230045,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:26:05] local.INFO: Acknowledgment sent {"connection_id":230045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:26:09] local.INFO: TCP Data received {"connection_id":229532,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:26:09] local.INFO: Processing buffer {"connection_id":229532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:26:09] local.INFO: IMEI packet received {"connection_id":229532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":229532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:26:09] local.INFO: TCP Data received {"connection_id":230045,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9d8ef68012d0c6e000705a5780021002825..."} 
[2026-11-05 09:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9d8ef68012d0c6e000705a5780021002825..."} 
[2026-11-05 09:26:09] local.INFO: Processing buffer {"connection_id":230045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9d8ef68012d0c6e000705a5780021002825..."} 
[2026-11-05 09:26:09] local.INFO: Packet analysis {"connection_id":230045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9d8"} 
[2026-11-05 09:26:09] local.INFO: Extracted packet for processing {"connection_id":230045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9d8"} 
[2026-11-05 09:26:09] local.INFO: GPS Element Parsed {"raw_longitude":755789312,"raw_latitude":117810552,"longitude_deg":75.5789312,"latitude_deg":11.7810552,"altitude":33,"angle":40,"satellites":37,"speed":11,"hex_longitude":"2d0c6e00","hex_latitude":"0705a578","is_valid_coordinates":true} 
[2026-11-05 09:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225837568001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39411650700247040,"note":"Value kept but may cause issues"} 
[2026-11-05 09:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895512668564389888,"note":"Value kept but may cause issues"} 
[2026-11-05 09:26:09] 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-05 09:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793850929000,"timestamp_ms":1793850929000,"timestamp_seconds":1793850929,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9d8ef68"} 
[2026-11-05 09:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:26: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-05 09:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-11-05 09:26: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-05 09:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230045,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230045,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:26:09] 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-05 09:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225837568001,"66":14537,"164":206,"94":10240,"24":11,"16":39411650700247040,"45":895512668564389888},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-05 09:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225837568001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:26:09] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-05 09:26:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39411650700247040,"km_value":39411650700247.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":895512668564389888,"description":"Unknown IO ID 45"} 
[2026-11-05 09:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225837568001,"power":14537,"unknown_164":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":895512668564389888}} 
[2026-11-05 09:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":230045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62144,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:26:10] local.INFO: GPS data processed {"connection_id":230045,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:26:10] local.INFO: Acknowledgment sent {"connection_id":230045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:26:10] local.INFO: TCP Data received {"connection_id":229532,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9d672b0012d7f4b8005afb7a00009005634..."} 
[2026-11-05 09:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9d672b0012d7f4b8005afb7a00009005634..."} 
[2026-11-05 09:26:10] local.INFO: Processing buffer {"connection_id":229532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9d672b0012d7f4b8005afb7a00009005634..."} 
[2026-11-05 09:26:10] local.INFO: Packet analysis {"connection_id":229532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9d6"} 
[2026-11-05 09:26:10] local.INFO: Extracted packet for processing {"connection_id":229532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9d6"} 
[2026-11-05 09:26:10] local.INFO: GPS Element Parsed {"raw_longitude":763317120,"raw_latitude":95401888,"longitude_deg":76.331712,"latitude_deg":9.5401888,"altitude":9,"angle":86,"satellites":52,"speed":4,"hex_longitude":"2d7f4b80","hex_latitude":"05afb7a0","is_valid_coordinates":true} 
[2026-11-05 09:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225790720001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40290899225214976,"note":"Value kept but may cause issues"} 
[2026-11-05 09:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273334586564608,"note":"Value kept but may cause issues"} 
[2026-11-05 09:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793850766000,"timestamp_ms":1793850766000,"timestamp_seconds":1793850766,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9d672b0"} 
[2026-11-05 09:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 09:26: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-05 09:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:26:10] 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-05 09:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225790720001,"66":27995,"250":206,"85":12544,"24":4,"16":40290899225214976,"45":9168273334586564608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 09:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225790720001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:26:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 09:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40290899225214976,"km_value":40290899225214.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273334586564608,"description":"Unknown IO ID 45"} 
[2026-11-05 09:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225790720001,"power":27995,"unknown_250":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9168273334586564608}} 
[2026-11-05 09:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":229532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:26:10] local.INFO: GPS data processed {"connection_id":229532,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:26:10] local.INFO: Acknowledgment sent {"connection_id":229532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:26:31] local.INFO: TCP Data received {"connection_id":229533,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229533,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:26:31] local.INFO: Processing buffer {"connection_id":229533,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:26:31] local.INFO: IMEI packet received {"connection_id":229533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 09:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":229533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:26:42] local.INFO: TCP Data received {"connection_id":229532,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9d6b130012d7f6cc005afb928000b006133..."} 
[2026-11-05 09:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9d6b130012d7f6cc005afb928000b006133..."} 
[2026-11-05 09:26:42] local.INFO: Processing buffer {"connection_id":229532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9d6b130012d7f6cc005afb928000b006133..."} 
[2026-11-05 09:26:42] local.INFO: Packet analysis {"connection_id":229532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9d6"} 
[2026-11-05 09:26:42] local.INFO: Extracted packet for processing {"connection_id":229532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9d6"} 
[2026-11-05 09:26:42] local.INFO: GPS Element Parsed {"raw_longitude":763325632,"raw_latitude":95402280,"longitude_deg":76.3325632,"latitude_deg":9.540228,"altitude":11,"angle":97,"satellites":51,"speed":32,"hex_longitude":"2d7f6cc0","hex_latitude":"05afb928","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225796096001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291311542075392,"note":"Value kept but may cause issues"} 
[2026-11-05 09:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9172565827981385728,"note":"Value kept but may cause issues"} 
[2026-11-05 09:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793850782000,"timestamp_ms":1793850782000,"timestamp_seconds":1793850782,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9d6b130"} 
[2026-11-05 09: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-05 09:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-05 09: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-05 09:26:42] 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-05 09: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-05 09: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-05 09:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:26: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-05 09:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225796096001,"66":28050,"250":206,"85":12544,"24":32,"16":40291311542075392,"45":9172565827981385728},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 09:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225796096001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:26:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 09:26:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291311542075392,"km_value":40291311542075.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9172565827981385728,"description":"Unknown IO ID 45"} 
[2026-11-05 09:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225796096001,"power":28050,"unknown_250":206,"unknown_85":12544,"ignition":32,"odometer":null,"unknown_45":9172565827981385728}} 
[2026-11-05 09:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":229532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:26:42] local.INFO: GPS data processed {"connection_id":229532,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:26:42] local.INFO: Acknowledgment sent {"connection_id":229532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:26:50] local.INFO: TCP Data received {"connection_id":231357,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231357,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:26:50] local.INFO: Processing buffer {"connection_id":231357,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:26:50] local.INFO: IMEI packet received {"connection_id":231357,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":231357,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:26:54] local.INFO: TCP Data received {"connection_id":231357,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231357,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:26:54] local.INFO: Processing buffer {"connection_id":231357,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:26:54] local.INFO: IMEI packet received {"connection_id":231357,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":231357,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:26:55] local.INFO: TCP Data received {"connection_id":231357,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9d8f350012d0c6f000705a6580021003824..."} 
[2026-11-05 09:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9d8f350012d0c6f000705a6580021003824..."} 
[2026-11-05 09:26:55] local.INFO: Processing buffer {"connection_id":231357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9d8f350012d0c6f000705a6580021003824..."} 
[2026-11-05 09:26:55] local.INFO: Packet analysis {"connection_id":231357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9d8"} 
[2026-11-05 09:26:55] local.INFO: Extracted packet for processing {"connection_id":231357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9d8"} 
[2026-11-05 09:26:55] local.INFO: GPS Element Parsed {"raw_longitude":755789568,"raw_latitude":117810776,"longitude_deg":75.5789568,"latitude_deg":11.7810776,"altitude":33,"angle":56,"satellites":36,"speed":13,"hex_longitude":"2d0c6f00","hex_latitude":"0705a658","is_valid_coordinates":true} 
[2026-11-05 09:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225837824001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39411663585148928,"note":"Value kept but may cause issues"} 
[2026-11-05 09:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895653406052808704,"note":"Value kept but may cause issues"} 
[2026-11-05 09:26:55] 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-05 09:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793850930000,"timestamp_ms":1793850930000,"timestamp_seconds":1793850930,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9d8f350"} 
[2026-11-05 09:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-05 09:26:55] 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-05 09:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:26: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-05 09:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225837824001,"66":14537,"164":206,"94":10240,"24":13,"16":39411663585148928,"45":895653406052808704},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-05 09:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225837824001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:26:55] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-05 09:26:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39411663585148928,"km_value":39411663585148.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":895653406052808704,"description":"Unknown IO ID 45"} 
[2026-11-05 09:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225837824001,"power":14537,"unknown_164":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":895653406052808704}} 
[2026-11-05 09:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":231357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62147,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:26:55] local.INFO: GPS data processed {"connection_id":231357,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:26:55] local.INFO: Acknowledgment sent {"connection_id":231357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:27:04] local.INFO: TCP Data received {"connection_id":229534,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:27:04] local.INFO: Processing buffer {"connection_id":229534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:27:04] local.INFO: IMEI packet received {"connection_id":229534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":229534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:27:06] local.INFO: TCP Data received {"connection_id":229535,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:27:06] local.INFO: Processing buffer {"connection_id":229535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:27:06] local.INFO: IMEI packet received {"connection_id":229535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 09:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":229535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:27:09] local.INFO: TCP Data received {"connection_id":229534,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:27:09] local.INFO: Processing buffer {"connection_id":229534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:27:09] local.INFO: IMEI packet received {"connection_id":229534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":229534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:27:10] local.INFO: TCP Data received {"connection_id":229534,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9d6d070012d7f898005afb778000c005533..."} 
[2026-11-05 09:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9d6d070012d7f898005afb778000c005533..."} 
[2026-11-05 09:27:10] local.INFO: Processing buffer {"connection_id":229534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9d6d070012d7f898005afb778000c005533..."} 
[2026-11-05 09:27:10] local.INFO: Packet analysis {"connection_id":229534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9d6"} 
[2026-11-05 09:27:10] local.INFO: Extracted packet for processing {"connection_id":229534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9d6"} 
[2026-11-05 09:27:10] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95401848,"longitude_deg":76.3332992,"latitude_deg":9.5401848,"altitude":12,"angle":85,"satellites":51,"speed":36,"hex_longitude":"2d7f8980","hex_latitude":"05afb778","is_valid_coordinates":true} 
[2026-11-05 09:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225800192001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291663729393664,"note":"Value kept but may cause issues"} 
[2026-11-05 09:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9181924870957115392,"note":"Value kept but may cause issues"} 
[2026-11-05 09:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793850790000,"timestamp_ms":1793850790000,"timestamp_seconds":1793850790,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9d6d070"} 
[2026-11-05 09:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-05 09:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:27:10] 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-05 09:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225800192001,"66":28028,"250":206,"85":12544,"24":36,"16":40291663729393664,"45":9181924870957115392},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 09:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225800192001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:27:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 09:27:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291663729393664,"km_value":40291663729393.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9181924870957115392,"description":"Unknown IO ID 45"} 
[2026-11-05 09:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225800192001,"power":28028,"unknown_250":206,"unknown_85":12544,"ignition":36,"odometer":null,"unknown_45":9181924870957115392}} 
[2026-11-05 09:27:10] 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":62148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:27:10] local.INFO: GPS data processed {"connection_id":229534,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:27:10] local.INFO: Acknowledgment sent {"connection_id":229534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:27:27] local.INFO: TCP Data received {"connection_id":231357,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9d8ff08012d0c73c00705a9380020004525..."} 
[2026-11-05 09:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9d8ff08012d0c73c00705a9380020004525..."} 
[2026-11-05 09:27:27] local.INFO: Processing buffer {"connection_id":231357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9d8ff08012d0c73c00705a9380020004525..."} 
[2026-11-05 09:27:27] local.INFO: Packet analysis {"connection_id":231357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9d8"} 
[2026-11-05 09:27:27] local.INFO: Extracted packet for processing {"connection_id":231357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9d8"} 
[2026-11-05 09:27:27] local.INFO: GPS Element Parsed {"raw_longitude":755790784,"raw_latitude":117811512,"longitude_deg":75.5790784,"latitude_deg":11.7811512,"altitude":32,"angle":69,"satellites":37,"speed":23,"hex_longitude":"2d0c73c0","hex_latitude":"0705a938","is_valid_coordinates":true} 
[2026-11-05 09:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225838080001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39411732304625664,"note":"Value kept but may cause issues"} 
[2026-11-05 09:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895934881029576704,"note":"Value kept but may cause issues"} 
[2026-11-05 09:27:27] 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-05 09:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793850933000,"timestamp_ms":1793850933000,"timestamp_seconds":1793850933,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9d8ff08"} 
[2026-11-05 09:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-05 09:27:27] 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-05 09:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":231357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":231357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":231357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:27:27] 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-05 09:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225838080001,"66":14276,"164":206,"94":10240,"24":23,"16":39411732304625664,"45":895934881029576704},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-05 09:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225838080001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:27:27] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-05 09:27:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39411732304625664,"km_value":39411732304625.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":895934881029576704,"description":"Unknown IO ID 45"} 
[2026-11-05 09:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225838080001,"power":14276,"unknown_164":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":895934881029576704}} 
[2026-11-05 09:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":231357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62149,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:27:27] local.INFO: GPS data processed {"connection_id":231357,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:27:27] local.INFO: Acknowledgment sent {"connection_id":231357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:27:41] local.INFO: TCP Data received {"connection_id":229534,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9d6efb0012d7f9f8005afb8f8000d002733..."} 
[2026-11-05 09:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9d6efb0012d7f9f8005afb8f8000d002733..."} 
[2026-11-05 09:27:41] local.INFO: Processing buffer {"connection_id":229534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9d6efb0012d7f9f8005afb8f8000d002733..."} 
[2026-11-05 09:27:41] local.INFO: Packet analysis {"connection_id":229534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9d6"} 
[2026-11-05 09:27:41] local.INFO: Extracted packet for processing {"connection_id":229534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9d6"} 
[2026-11-05 09:27:41] local.INFO: GPS Element Parsed {"raw_longitude":763338624,"raw_latitude":95402232,"longitude_deg":76.3338624,"latitude_deg":9.5402232,"altitude":13,"angle":39,"satellites":51,"speed":14,"hex_longitude":"2d7f9f80","hex_latitude":"05afb8f8","is_valid_coordinates":true} 
[2026-11-05 09:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225802240001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291934312333312,"note":"Value kept but may cause issues"} 
[2026-11-05 09:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276537436160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793850798000,"timestamp_ms":1793850798000,"timestamp_seconds":1793850798,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9d6efb0"} 
[2026-11-05 09:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-05 09:27:41] 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-05 09:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:27: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-05 09:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225802240001,"66":28006,"250":206,"85":12544,"24":14,"16":40291934312333312,"45":9190017276537436160},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 09:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225802240001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:27:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 09:27:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291934312333312,"km_value":40291934312333.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276537436160,"description":"Unknown IO ID 45"} 
[2026-11-05 09:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225802240001,"power":28006,"unknown_250":206,"unknown_85":12544,"ignition":14,"odometer":null,"unknown_45":9190017276537436160}} 
[2026-11-05 09:27:41] 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":62150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:27:41] local.INFO: GPS data processed {"connection_id":229534,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:27:41] local.INFO: Acknowledgment sent {"connection_id":229534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:27:49] local.INFO: TCP Data received {"connection_id":230046,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230046,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:27:49] local.INFO: Processing buffer {"connection_id":230046,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:27:49] local.INFO: IMEI packet received {"connection_id":230046,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":230046,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:27:54] local.INFO: TCP Data received {"connection_id":230046,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230046,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:27:54] local.INFO: Processing buffer {"connection_id":230046,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:27:54] local.INFO: IMEI packet received {"connection_id":230046,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":230046,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:27:55] local.INFO: TCP Data received {"connection_id":230046,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9d90ac0012d0c79c00705aad0001f005025..."} 
[2026-11-05 09:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9d90ac0012d0c79c00705aad0001f005025..."} 
[2026-11-05 09:27:55] local.INFO: Processing buffer {"connection_id":230046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9d90ac0012d0c79c00705aad0001f005025..."} 
[2026-11-05 09:27:55] local.INFO: Packet analysis {"connection_id":230046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9d9"} 
[2026-11-05 09:27:55] local.INFO: Extracted packet for processing {"connection_id":230046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9d9"} 
[2026-11-05 09:27:55] local.INFO: GPS Element Parsed {"raw_longitude":755792320,"raw_latitude":117811920,"longitude_deg":75.579232,"latitude_deg":11.781192,"altitude":31,"angle":80,"satellites":37,"speed":18,"hex_longitude":"2d0c79c0","hex_latitude":"0705aad0","is_valid_coordinates":true} 
[2026-11-05 09:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225838848001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39411809614036992,"note":"Value kept but may cause issues"} 
[2026-11-05 09:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897271887169140736,"note":"Value kept but may cause issues"} 
[2026-11-05 09:27:55] 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-05 09:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793850936000,"timestamp_ms":1793850936000,"timestamp_seconds":1793850936,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9d90ac0"} 
[2026-11-05 09:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 09:27:55] 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-05 09:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230046,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230046,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:27: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-05 09:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225838848001,"66":14450,"164":206,"94":10240,"24":18,"16":39411809614036992,"45":897271887169140736},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-05 09:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225838848001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:27:55] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-05 09:27:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39411809614036992,"km_value":39411809614036.99,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":897271887169140736,"description":"Unknown IO ID 45"} 
[2026-11-05 09:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225838848001,"power":14450,"unknown_164":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":897271887169140736}} 
[2026-11-05 09:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":230046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62151,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:27:55] local.INFO: GPS data processed {"connection_id":230046,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:27:55] local.INFO: Acknowledgment sent {"connection_id":230046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:28:04] local.INFO: TCP Data received {"connection_id":233271,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:28:04] local.INFO: Processing buffer {"connection_id":233271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:28:04] local.INFO: IMEI packet received {"connection_id":233271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":233271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:28:09] local.INFO: TCP Data received {"connection_id":233271,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:28:09] local.INFO: Processing buffer {"connection_id":233271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:28:09] local.INFO: IMEI packet received {"connection_id":233271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":233271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:28:10] local.INFO: TCP Data received {"connection_id":233271,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9d6f398012d7fa00005afba08000d001033..."} 
[2026-11-05 09:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9d6f398012d7fa00005afba08000d001033..."} 
[2026-11-05 09:28:10] local.INFO: Processing buffer {"connection_id":233271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9d6f398012d7fa00005afba08000d001033..."} 
[2026-11-05 09:28:10] local.INFO: Packet analysis {"connection_id":233271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9d6"} 
[2026-11-05 09:28:10] local.INFO: Extracted packet for processing {"connection_id":233271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9d6"} 
[2026-11-05 09:28:10] local.INFO: GPS Element Parsed {"raw_longitude":763338752,"raw_latitude":95402504,"longitude_deg":76.3338752,"latitude_deg":9.5402504,"altitude":13,"angle":16,"satellites":51,"speed":10,"hex_longitude":"2d7fa000","hex_latitude":"05afba08","is_valid_coordinates":true} 
[2026-11-05 09:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225804288001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291951492202496,"note":"Value kept but may cause issues"} 
[2026-11-05 09:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196209726025168896,"note":"Value kept but may cause issues"} 
[2026-11-05 09:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793850799000,"timestamp_ms":1793850799000,"timestamp_seconds":1793850799,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9d6f398"} 
[2026-11-05 09:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-05 09:28:10] 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-05 09:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:28:10] 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-05 09:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225804288001,"66":27919,"250":206,"85":12544,"24":10,"16":40291951492202496,"45":9196209726025168896},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 09:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225804288001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:28:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 09:28:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291951492202496,"km_value":40291951492202.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196209726025168896,"description":"Unknown IO ID 45"} 
[2026-11-05 09:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225804288001,"power":27919,"unknown_250":206,"unknown_85":12544,"ignition":10,"odometer":null,"unknown_45":9196209726025168896}} 
[2026-11-05 09:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":233271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:28:10] local.INFO: GPS data processed {"connection_id":233271,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:28:10] local.INFO: Acknowledgment sent {"connection_id":233271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:28:41] local.INFO: TCP Data received {"connection_id":233271,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9d745a0012d7fa0c005afbb20000d001032..."} 
[2026-11-05 09:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9d745a0012d7fa0c005afbb20000d001032..."} 
[2026-11-05 09:28:41] local.INFO: Processing buffer {"connection_id":233271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9d745a0012d7fa0c005afbb20000d001032..."} 
[2026-11-05 09:28:41] local.INFO: Packet analysis {"connection_id":233271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9d7"} 
[2026-11-05 09:28:41] local.INFO: Extracted packet for processing {"connection_id":233271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9d7"} 
[2026-11-05 09:28:41] local.INFO: GPS Element Parsed {"raw_longitude":763338944,"raw_latitude":95402784,"longitude_deg":76.3338944,"latitude_deg":9.5402784,"altitude":13,"angle":16,"satellites":50,"speed":0,"hex_longitude":"2d7fa0c0","hex_latitude":"05afbb20","is_valid_coordinates":true} 
[2026-11-05 09:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225804544001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291968672071680,"note":"Value kept but may cause issues"} 
[2026-11-05 09:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196350463513593856,"note":"Value kept but may cause issues"} 
[2026-11-05 09:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793850820000,"timestamp_ms":1793850820000,"timestamp_seconds":1793850820,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9d745a0"} 
[2026-11-05 09:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:28: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-05 09:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 09:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:28: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-05 09:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225804544001,"66":28093,"250":206,"85":12544,"24":0,"16":40291968672071680,"45":9196350463513593856},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 09:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225804544001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:28:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 09:28:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291968672071680,"km_value":40291968672071.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196350463513593856,"description":"Unknown IO ID 45"} 
[2026-11-05 09:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225804544001,"power":28093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196350463513593856}} 
[2026-11-05 09:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":233271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:28:41] local.INFO: GPS data processed {"connection_id":233271,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:28:41] local.INFO: Acknowledgment sent {"connection_id":233271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:29:07] local.INFO: TCP Data received {"connection_id":229536,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:29:07] local.INFO: Processing buffer {"connection_id":229536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:29:07] local.INFO: IMEI packet received {"connection_id":229536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":229536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:29:09] local.INFO: TCP Data received {"connection_id":229536,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:29:09] local.INFO: Processing buffer {"connection_id":229536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:29:09] local.INFO: IMEI packet received {"connection_id":229536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":229536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:29:10] local.INFO: TCP Data received {"connection_id":229536,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9d797a8012d7fa0c005afbb20000d001031..."} 
[2026-11-05 09:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9d797a8012d7fa0c005afbb20000d001031..."} 
[2026-11-05 09:29:10] local.INFO: Processing buffer {"connection_id":229536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9d797a8012d7fa0c005afbb20000d001031..."} 
[2026-11-05 09:29:10] local.INFO: Packet analysis {"connection_id":229536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9d7"} 
[2026-11-05 09:29:10] local.INFO: Extracted packet for processing {"connection_id":229536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9d7"} 
[2026-11-05 09:29:10] local.INFO: GPS Element Parsed {"raw_longitude":763338944,"raw_latitude":95402784,"longitude_deg":76.3338944,"latitude_deg":9.5402784,"altitude":13,"angle":16,"satellites":49,"speed":0,"hex_longitude":"2d7fa0c0","hex_latitude":"05afbb20","is_valid_coordinates":true} 
[2026-11-05 09:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225809920001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291968672071680,"note":"Value kept but may cause issues"} 
[2026-11-05 09:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196561569746198528,"note":"Value kept but may cause issues"} 
[2026-11-05 09:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793850841000,"timestamp_ms":1793850841000,"timestamp_seconds":1793850841,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9d797a8"} 
[2026-11-05 09:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:29: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-05 09:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-11-05 09:29:10] 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-05 09:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:29:10] 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-05 09:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225809920001,"66":27995,"250":206,"85":12544,"24":0,"16":40291968672071680,"45":9196561569746198528},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 09:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225809920001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:29:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 09:29:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291968672071680,"km_value":40291968672071.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196561569746198528,"description":"Unknown IO ID 45"} 
[2026-11-05 09:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225809920001,"power":27995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196561569746198528}} 
[2026-11-05 09:29:10] 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":62154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:29:10] local.INFO: GPS data processed {"connection_id":229536,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:29:10] local.INFO: Acknowledgment sent {"connection_id":229536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:29:14] local.INFO: TCP Data received {"connection_id":229536,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9d7e9b0012d7fa0c005afbb20000d001033..."} 
[2026-11-05 09:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9d7e9b0012d7fa0c005afbb20000d001033..."} 
[2026-11-05 09:29:14] local.INFO: Processing buffer {"connection_id":229536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9d7e9b0012d7fa0c005afbb20000d001033..."} 
[2026-11-05 09:29:14] local.INFO: Packet analysis {"connection_id":229536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9d7"} 
[2026-11-05 09:29:14] local.INFO: Extracted packet for processing {"connection_id":229536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9d7"} 
[2026-11-05 09:29:14] local.INFO: GPS Element Parsed {"raw_longitude":763338944,"raw_latitude":95402784,"longitude_deg":76.3338944,"latitude_deg":9.5402784,"altitude":13,"angle":16,"satellites":51,"speed":0,"hex_longitude":"2d7fa0c0","hex_latitude":"05afbb20","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225815296001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291968672071680,"note":"Value kept but may cause issues"} 
[2026-11-05 09:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196561569746198528,"note":"Value kept but may cause issues"} 
[2026-11-05 09:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793850862000,"timestamp_ms":1793850862000,"timestamp_seconds":1793850862,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9d7e9b0"} 
[2026-11-05 09: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-05 09:29: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-05 09: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-05 09:29: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-05 09: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-05 09: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-05 09:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:29:14] 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-05 09:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225815296001,"66":27974,"250":206,"85":12544,"24":0,"16":40291968672071680,"45":9196561569746198528},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 09:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225815296001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:29:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 09:29:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291968672071680,"km_value":40291968672071.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196561569746198528,"description":"Unknown IO ID 45"} 
[2026-11-05 09:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225815296001,"power":27974,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196561569746198528}} 
[2026-11-05 09:29:14] 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":62155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:29:14] local.INFO: GPS data processed {"connection_id":229536,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:29:14] local.INFO: Acknowledgment sent {"connection_id":229536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:29:37] local.INFO: TCP Data received {"connection_id":230046,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9db3d40012d0c510007063d080013012a2a..."} 
[2026-11-05 09:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9db3d40012d0c510007063d080013012a2a..."} 
[2026-11-05 09:29:37] local.INFO: Processing buffer {"connection_id":230046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9db3d40012d0c510007063d080013012a2a..."} 
[2026-11-05 09:29:37] local.INFO: Packet analysis {"connection_id":230046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9db"} 
[2026-11-05 09:29:37] local.INFO: Extracted packet for processing {"connection_id":230046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9db"} 
[2026-11-05 09:29:37] local.INFO: GPS Element Parsed {"raw_longitude":755781888,"raw_latitude":117849352,"longitude_deg":75.5781888,"latitude_deg":11.7849352,"altitude":19,"angle":298,"satellites":42,"speed":23,"hex_longitude":"2d0c5100","hex_latitude":"07063d08","is_valid_coordinates":true} 
[2026-11-05 09:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225875968001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39414820386111488,"note":"Value kept but may cause issues"} 
[2026-11-05 09:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888546162900627456,"note":"Value kept but may cause issues"} 
[2026-11-05 09:29:37] 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-05 09:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793851080000,"timestamp_ms":1793851080000,"timestamp_seconds":1793851080,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9db3d40"} 
[2026-11-05 09:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-05 09:29:37] 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-05 09:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":230046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":230046,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":230046,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:29:37] 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-05 09:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225875968001,"66":14450,"220":206,"94":10240,"24":23,"16":39414820386111488,"45":888546162900627456},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-11-05 09:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225875968001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:29:37] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-11-05 09:29:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39414820386111488,"km_value":39414820386111.484,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":888546162900627456,"description":"Unknown IO ID 45"} 
[2026-11-05 09:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225875968001,"power":14450,"unknown_220":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":888546162900627456}} 
[2026-11-05 09:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":230046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62156,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:29:37] local.INFO: GPS data processed {"connection_id":230046,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:29:37] local.INFO: Acknowledgment sent {"connection_id":230046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:29:45] local.INFO: TCP Data received {"connection_id":229536,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9d82830012d7fa18005afbca0000e001033..."} 
[2026-11-05 09:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9d82830012d7fa18005afbca0000e001033..."} 
[2026-11-05 09:29:45] local.INFO: Processing buffer {"connection_id":229536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9d82830012d7fa18005afbca0000e001033..."} 
[2026-11-05 09:29:45] local.INFO: Packet analysis {"connection_id":229536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9d8"} 
[2026-11-05 09:29:45] local.INFO: Extracted packet for processing {"connection_id":229536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9d8"} 
[2026-11-05 09:29:45] local.INFO: GPS Element Parsed {"raw_longitude":763339136,"raw_latitude":95403168,"longitude_deg":76.3339136,"latitude_deg":9.5403168,"altitude":14,"angle":16,"satellites":51,"speed":3,"hex_longitude":"2d7fa180","hex_latitude":"05afbca0","is_valid_coordinates":true} 
[2026-11-05 09:29: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-05 09:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225820672001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196561569746198528,"note":"Value kept but may cause issues"} 
[2026-11-05 09:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793850878000,"timestamp_ms":1793850878000,"timestamp_seconds":1793850878,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9d82830"} 
[2026-11-05 09: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-05 09: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-05 09:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-05 09:29:45] 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-05 09: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-05 09: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-05 09:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:29: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-05 09:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225820672001,"66":28006,"250":206,"85":12544,"24":3,"16":40291990146908160,"45":9196561569746198528},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 09:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225820672001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:29:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 09:29:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196561569746198528,"description":"Unknown IO ID 45"} 
[2026-11-05 09:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225820672001,"power":28006,"unknown_250":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":9196561569746198528}} 
[2026-11-05 09:29:45] 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":62157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:29:45] local.INFO: GPS data processed {"connection_id":229536,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:29:45] local.INFO: Acknowledgment sent {"connection_id":229536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:29:59] local.INFO: TCP Data received {"connection_id":233272,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233272,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:29:59] local.INFO: Processing buffer {"connection_id":233272,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:29:59] local.INFO: IMEI packet received {"connection_id":233272,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":233272,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:30:04] local.INFO: TCP Data received {"connection_id":231360,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:30:04] local.INFO: Processing buffer {"connection_id":231360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:30:04] local.INFO: IMEI packet received {"connection_id":231360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":231360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:30:04] local.INFO: TCP Data received {"connection_id":233272,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233272,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:30:04] local.INFO: Processing buffer {"connection_id":233272,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:30:04] local.INFO: IMEI packet received {"connection_id":233272,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":233272,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:30:05] local.INFO: TCP Data received {"connection_id":233272,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9db48f8012d0c4b0007063f880013011e29..."} 
[2026-11-05 09:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9db48f8012d0c4b0007063f880013011e29..."} 
[2026-11-05 09:30:05] local.INFO: Processing buffer {"connection_id":233272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9db48f8012d0c4b0007063f880013011e29..."} 
[2026-11-05 09:30:05] local.INFO: Packet analysis {"connection_id":233272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9db"} 
[2026-11-05 09:30:05] local.INFO: Extracted packet for processing {"connection_id":233272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9db"} 
[2026-11-05 09:30:05] local.INFO: GPS Element Parsed {"raw_longitude":755780352,"raw_latitude":117849992,"longitude_deg":75.5780352,"latitude_deg":11.7849992,"altitude":19,"angle":286,"satellites":41,"speed":19,"hex_longitude":"2d0c4b00","hex_latitude":"07063f88","is_valid_coordinates":true} 
[2026-11-05 09:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225876480001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39414897695522816,"note":"Value kept but may cause issues"} 
[2026-11-05 09:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887490631738132480,"note":"Value kept but may cause issues"} 
[2026-11-05 09:30: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-05 09:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793851083000,"timestamp_ms":1793851083000,"timestamp_seconds":1793851083,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9db48f8"} 
[2026-11-05 09:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:30: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-05 09:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-05 09:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":233272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":233272,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":233272,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:30:05] 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-05 09:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225876480001,"66":14450,"220":206,"94":10240,"24":19,"16":39414897695522816,"45":887490631738132480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-11-05 09:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225876480001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:30:05] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-11-05 09:30:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39414897695522816,"km_value":39414897695522.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":887490631738132480,"description":"Unknown IO ID 45"} 
[2026-11-05 09:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225876480001,"power":14450,"unknown_220":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":887490631738132480}} 
[2026-11-05 09:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":233272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62158,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:30:05] local.INFO: GPS data processed {"connection_id":233272,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:30:05] local.INFO: Acknowledgment sent {"connection_id":233272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:30:09] local.INFO: TCP Data received {"connection_id":231360,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:30:09] local.INFO: Processing buffer {"connection_id":231360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:30:09] local.INFO: IMEI packet received {"connection_id":231360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":231360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:30:10] local.INFO: TCP Data received {"connection_id":231360,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9d837d0012d7fa24005afbfc8000e016733..."} 
[2026-11-05 09:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9d837d0012d7fa24005afbfc8000e016733..."} 
[2026-11-05 09:30:10] local.INFO: Processing buffer {"connection_id":231360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9d837d0012d7fa24005afbfc8000e016733..."} 
[2026-11-05 09:30:10] local.INFO: Packet analysis {"connection_id":231360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9d8"} 
[2026-11-05 09:30:10] local.INFO: Extracted packet for processing {"connection_id":231360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9d8"} 
[2026-11-05 09:30:10] local.INFO: GPS Element Parsed {"raw_longitude":763339328,"raw_latitude":95403976,"longitude_deg":76.3339328,"latitude_deg":9.5403976,"altitude":14,"angle":359,"satellites":51,"speed":0,"hex_longitude":"2d7fa240","hex_latitude":"05afbfc8","is_valid_coordinates":true} 
[2026-11-05 09:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225824768001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196772675978829824,"note":"Value kept but may cause issues"} 
[2026-11-05 09:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793850882000,"timestamp_ms":1793850882000,"timestamp_seconds":1793850882,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9d837d0"} 
[2026-11-05 09:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-05 09:30:10] 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-05 09:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:30:10] 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-05 09:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225824768001,"66":27158,"250":206,"85":12544,"24":0,"16":40291990146908160,"45":9196772675978829824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 09:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225824768001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:30:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 09:30:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196772675978829824,"description":"Unknown IO ID 45"} 
[2026-11-05 09:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225824768001,"power":27158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196772675978829824}} 
[2026-11-05 09:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":231360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:30:10] local.INFO: GPS data processed {"connection_id":231360,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:30:10] local.INFO: Acknowledgment sent {"connection_id":231360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:30:44] local.INFO: TCP Data received {"connection_id":231360,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:30:44] local.INFO: Processing buffer {"connection_id":231360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:30:44] local.INFO: Packet analysis {"connection_id":231360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9dc"} 
[2026-11-05 09:30:44] local.INFO: Extracted packet for processing {"connection_id":231360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9dc"} 
[2026-11-05 09:30:44] local.INFO: GPS Element Parsed {"raw_longitude":763341120,"raw_latitude":95411024,"longitude_deg":76.334112,"latitude_deg":9.5411024,"altitude":12,"angle":359,"satellites":50,"speed":0,"hex_longitude":"2d7fa940","hex_latitude":"05afdb50","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225825792001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196983782211569664,"note":"Value kept but may cause issues"} 
[2026-11-05 09:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793851183000,"timestamp_ms":1793851183000,"timestamp_seconds":1793851183,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9dccf98"} 
[2026-11-05 09: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-05 09: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-05 09: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":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-05 09:30:44] 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-05 09: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-05 09: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-05 09:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":231360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":231360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":231360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:30: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-05 09:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225825792001,"66":26245,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9196983782211569664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225825792001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:30:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:30:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196983782211569664,"description":"Unknown IO ID 45"} 
[2026-11-05 09:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225825792001,"power":26245,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196983782211569664}} 
[2026-11-05 09:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":231360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:30:44] local.INFO: GPS data processed {"connection_id":231360,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:30:44] local.INFO: Acknowledgment sent {"connection_id":231360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:30:49] local.INFO: TCP Data received {"connection_id":230047,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230047,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:30:49] local.INFO: Processing buffer {"connection_id":230047,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:30:49] local.INFO: IMEI packet received {"connection_id":230047,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":230047,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:30:52] local.INFO: TCP Data received {"connection_id":230047,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230047,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:30:52] local.INFO: Processing buffer {"connection_id":230047,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:30:52] local.INFO: IMEI packet received {"connection_id":230047,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":230047,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:30:53] local.INFO: TCP Data received {"connection_id":230047,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9dd40e0012d0c8c80070602d8001a008328..."} 
[2026-11-05 09:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9dd40e0012d0c8c80070602d8001a008328..."} 
[2026-11-05 09:30:53] local.INFO: Processing buffer {"connection_id":230047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9dd40e0012d0c8c80070602d8001a008328..."} 
[2026-11-05 09:30:53] local.INFO: Packet analysis {"connection_id":230047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9dd"} 
[2026-11-05 09:30:53] local.INFO: Extracted packet for processing {"connection_id":230047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9dd"} 
[2026-11-05 09:30:53] local.INFO: GPS Element Parsed {"raw_longitude":755797120,"raw_latitude":117834456,"longitude_deg":75.579712,"latitude_deg":11.7834456,"altitude":26,"angle":131,"satellites":40,"speed":14,"hex_longitude":"2d0c8c80","hex_latitude":"070602d8","is_valid_coordinates":true} 
[2026-11-05 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-05 09:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225908224001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39416499718324224,"note":"Value kept but may cause issues"} 
[2026-11-05 09:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":902056961779425280,"note":"Value kept but may cause issues"} 
[2026-11-05 09:30:53] 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-05 09:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793851212000,"timestamp_ms":1793851212000,"timestamp_seconds":1793851212,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9dd40e0"} 
[2026-11-05 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-05 09:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-05 09:30:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 09:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":230047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":230047,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":230047,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:30: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-05 09:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225908224001,"66":14309,"220":206,"94":10240,"24":14,"16":39416499718324224,"45":902056961779425280},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-11-05 09:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225908224001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:30:53] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-11-05 09:30:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39416499718324224,"km_value":39416499718324.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":902056961779425280,"description":"Unknown IO ID 45"} 
[2026-11-05 09:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225908224001,"power":14309,"unknown_220":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":902056961779425280}} 
[2026-11-05 09:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":230047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62161,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:30:53] local.INFO: GPS data processed {"connection_id":230047,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:30:53] local.INFO: Acknowledgment sent {"connection_id":230047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:31:04] local.INFO: TCP Data received {"connection_id":231361,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:31:04] local.INFO: Processing buffer {"connection_id":231361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:31:04] local.INFO: IMEI packet received {"connection_id":231361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":231361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:31:09] local.INFO: TCP Data received {"connection_id":231361,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:31:09] local.INFO: Processing buffer {"connection_id":231361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:31:09] local.INFO: IMEI packet received {"connection_id":231361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":231361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:31:10] local.INFO: TCP Data received {"connection_id":231361,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:31:10] local.INFO: Processing buffer {"connection_id":231361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:31:10] local.INFO: Packet analysis {"connection_id":231361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9dc"} 
[2026-11-05 09:31:10] local.INFO: Extracted packet for processing {"connection_id":231361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9dc"} 
[2026-11-05 09:31:10] local.INFO: GPS Element Parsed {"raw_longitude":763341120,"raw_latitude":95411024,"longitude_deg":76.334112,"latitude_deg":9.5411024,"altitude":12,"angle":359,"satellites":50,"speed":0,"hex_longitude":"2d7fa940","hex_latitude":"05afdb50","is_valid_coordinates":true} 
[2026-11-05 09:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225825792001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196983782211569664,"note":"Value kept but may cause issues"} 
[2026-11-05 09:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793851183000,"timestamp_ms":1793851183000,"timestamp_seconds":1793851183,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9dccf98"} 
[2026-11-05 09:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-05 09:31:10] 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-05 09:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:31:10] 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-05 09:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225825792001,"66":26245,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9196983782211569664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225825792001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:31:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196983782211569664,"description":"Unknown IO ID 45"} 
[2026-11-05 09:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225825792001,"power":26245,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196983782211569664}} 
[2026-11-05 09:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":231361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:31:10] local.INFO: GPS data processed {"connection_id":231361,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:31:10] local.INFO: Acknowledgment sent {"connection_id":231361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:31:24] local.INFO: TCP Data received {"connection_id":230047,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9dd6408012d0c96000705f930001c009529..."} 
[2026-11-05 09:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9dd6408012d0c96000705f930001c009529..."} 
[2026-11-05 09:31:24] local.INFO: Processing buffer {"connection_id":230047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9dd6408012d0c96000705f930001c009529..."} 
[2026-11-05 09:31:24] local.INFO: Packet analysis {"connection_id":230047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9dd"} 
[2026-11-05 09:31:24] local.INFO: Extracted packet for processing {"connection_id":230047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9dd"} 
[2026-11-05 09:31:24] local.INFO: GPS Element Parsed {"raw_longitude":755799552,"raw_latitude":117831984,"longitude_deg":75.5799552,"latitude_deg":11.7831984,"altitude":28,"angle":149,"satellites":41,"speed":17,"hex_longitude":"2d0c9600","hex_latitude":"0705f930","is_valid_coordinates":true} 
[2026-11-05 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-05 09:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225910272001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39416667222048768,"note":"Value kept but may cause issues"} 
[2026-11-05 09:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904238392848603136,"note":"Value kept but may cause issues"} 
[2026-11-05 09:31:24] 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-05 09:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793851221000,"timestamp_ms":1793851221000,"timestamp_seconds":1793851221,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9dd6408"} 
[2026-11-05 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-05 09:31: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-05 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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 09:31:24] 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-05 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-05 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-05 09:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":230047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":230047,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":230047,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:31: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-05 09:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225910272001,"66":14439,"220":206,"94":10240,"24":17,"16":39416667222048768,"45":904238392848603136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-11-05 09:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225910272001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:31:24] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-11-05 09:31:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39416667222048768,"km_value":39416667222048.766,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":904238392848603136,"description":"Unknown IO ID 45"} 
[2026-11-05 09:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225910272001,"power":14439,"unknown_220":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":904238392848603136}} 
[2026-11-05 09:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":230047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62163,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:31:25] local.INFO: GPS data processed {"connection_id":230047,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:31:25] local.INFO: Acknowledgment sent {"connection_id":230047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:31:41] local.INFO: TCP Data received {"connection_id":231361,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:31:41] local.INFO: Processing buffer {"connection_id":231361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:31:41] local.INFO: Packet analysis {"connection_id":231361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9dc"} 
[2026-11-05 09:31:41] local.INFO: Extracted packet for processing {"connection_id":231361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9dc"} 
[2026-11-05 09:31:41] local.INFO: GPS Element Parsed {"raw_longitude":763341120,"raw_latitude":95411024,"longitude_deg":76.334112,"latitude_deg":9.5411024,"altitude":12,"angle":359,"satellites":50,"speed":0,"hex_longitude":"2d7fa940","hex_latitude":"05afdb50","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225825792001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196983782211569664,"note":"Value kept but may cause issues"} 
[2026-11-05 09:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793851183000,"timestamp_ms":1793851183000,"timestamp_seconds":1793851183,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9dccf98"} 
[2026-11-05 09: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-05 09:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09: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":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-05 09:31:41] 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-05 09: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-05 09: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-05 09:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:31: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-05 09:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225825792001,"66":26245,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9196983782211569664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225825792001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:31:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:31:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196983782211569664,"description":"Unknown IO ID 45"} 
[2026-11-05 09:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225825792001,"power":26245,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196983782211569664}} 
[2026-11-05 09:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":231361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:31:41] local.INFO: GPS data processed {"connection_id":231361,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:31:41] local.INFO: Acknowledgment sent {"connection_id":231361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:31:49] local.INFO: TCP Data received {"connection_id":230048,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230048,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:31:49] local.INFO: Processing buffer {"connection_id":230048,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:31:49] local.INFO: IMEI packet received {"connection_id":230048,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":230048,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:31:54] local.INFO: TCP Data received {"connection_id":230048,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230048,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:31:54] local.INFO: Processing buffer {"connection_id":230048,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:31:54] local.INFO: IMEI packet received {"connection_id":230048,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":230048,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:31:57] local.INFO: TCP Data received {"connection_id":230048,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ddb228012d0ca5c00705e020001d009425..."} 
[2026-11-05 09:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ddb228012d0ca5c00705e020001d009425..."} 
[2026-11-05 09:31:57] local.INFO: Processing buffer {"connection_id":230048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ddb228012d0ca5c00705e020001d009425..."} 
[2026-11-05 09:31:57] local.INFO: Packet analysis {"connection_id":230048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9dd"} 
[2026-11-05 09:31:57] local.INFO: Extracted packet for processing {"connection_id":230048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9dd"} 
[2026-11-05 09:31:57] local.INFO: GPS Element Parsed {"raw_longitude":755803584,"raw_latitude":117825568,"longitude_deg":75.5803584,"latitude_deg":11.7825568,"altitude":29,"angle":148,"satellites":37,"speed":13,"hex_longitude":"2d0ca5c0","hex_latitude":"0705e020","is_valid_coordinates":true} 
[2026-11-05 09:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225912576001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39417032294268928,"note":"Value kept but may cause issues"} 
[2026-11-05 09:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906912405126721536,"note":"Value kept but may cause issues"} 
[2026-11-05 09:31:57] 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-05 09:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1793851241000,"timestamp_ms":1793851241000,"timestamp_seconds":1793851241,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ddb228"} 
[2026-11-05 09:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-05 09:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":230048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":230048,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":230048,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:31: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-05 09:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225912576001,"66":14352,"220":206,"94":10240,"24":13,"16":39417032294268928,"45":906912405126721536},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-11-05 09:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225912576001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:31:57] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-11-05 09:31:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39417032294268928,"km_value":39417032294268.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":906912405126721536,"description":"Unknown IO ID 45"} 
[2026-11-05 09:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225912576001,"power":14352,"unknown_220":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":906912405126721536}} 
[2026-11-05 09:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":230048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62165,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:31:57] local.INFO: GPS data processed {"connection_id":230048,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:31:57] local.INFO: Acknowledgment sent {"connection_id":230048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:32:04] local.INFO: TCP Data received {"connection_id":231362,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:32:04] local.INFO: Processing buffer {"connection_id":231362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:32:04] local.INFO: IMEI packet received {"connection_id":231362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":231362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:32:09] local.INFO: TCP Data received {"connection_id":231362,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:32:09] local.INFO: Processing buffer {"connection_id":231362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:32:09] local.INFO: IMEI packet received {"connection_id":231362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":231362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:32:10] local.INFO: TCP Data received {"connection_id":231362,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:32:10] local.INFO: Processing buffer {"connection_id":231362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:32:10] local.INFO: Packet analysis {"connection_id":231362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9dc"} 
[2026-11-05 09:32:10] local.INFO: Extracted packet for processing {"connection_id":231362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9dc"} 
[2026-11-05 09:32:10] local.INFO: GPS Element Parsed {"raw_longitude":763341120,"raw_latitude":95411024,"longitude_deg":76.334112,"latitude_deg":9.5411024,"altitude":12,"angle":359,"satellites":50,"speed":0,"hex_longitude":"2d7fa940","hex_latitude":"05afdb50","is_valid_coordinates":true} 
[2026-11-05 09:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225825792001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196983782211569664,"note":"Value kept but may cause issues"} 
[2026-11-05 09:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793851183000,"timestamp_ms":1793851183000,"timestamp_seconds":1793851183,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9dccf98"} 
[2026-11-05 09:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-05 09:32:10] 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-05 09:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:32:10] 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-05 09:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225825792001,"66":26245,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9196983782211569664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225825792001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:32:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196983782211569664,"description":"Unknown IO ID 45"} 
[2026-11-05 09:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225825792001,"power":26245,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196983782211569664}} 
[2026-11-05 09:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":231362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:32:10] local.INFO: GPS data processed {"connection_id":231362,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:32:10] local.INFO: Acknowledgment sent {"connection_id":231362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:32:28] local.INFO: TCP Data received {"connection_id":230048,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9df0600012d0c700007058e98002400d226..."} 
[2026-11-05 09:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9df0600012d0c700007058e98002400d226..."} 
[2026-11-05 09:32:28] local.INFO: Processing buffer {"connection_id":230048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9df0600012d0c700007058e98002400d226..."} 
[2026-11-05 09:32:28] local.INFO: Packet analysis {"connection_id":230048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9df"} 
[2026-11-05 09:32:28] local.INFO: Extracted packet for processing {"connection_id":230048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9df"} 
[2026-11-05 09:32:28] local.INFO: GPS Element Parsed {"raw_longitude":755789824,"raw_latitude":117804696,"longitude_deg":75.5789824,"latitude_deg":11.7804696,"altitude":36,"angle":210,"satellites":38,"speed":18,"hex_longitude":"2d0c7000","hex_latitude":"07058e98","is_valid_coordinates":true} 
[2026-11-05 09:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225939712001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39418934964781056,"note":"Value kept but may cause issues"} 
[2026-11-05 09:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896427462237376512,"note":"Value kept but may cause issues"} 
[2026-11-05 09:32:28] 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-05 09:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1793851328000,"timestamp_ms":1793851328000,"timestamp_seconds":1793851328,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9df0600"} 
[2026-11-05 09:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-05 09:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":230048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":230048,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":230048,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:32: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-05 09:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225939712001,"66":14548,"220":206,"94":10240,"24":18,"16":39418934964781056,"45":896427462237376512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-11-05 09:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225939712001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:32:28] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-11-05 09:32:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39418934964781056,"km_value":39418934964781.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":896427462237376512,"description":"Unknown IO ID 45"} 
[2026-11-05 09:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225939712001,"power":14548,"unknown_220":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":896427462237376512}} 
[2026-11-05 09:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":230048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62167,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:32:29] local.INFO: GPS data processed {"connection_id":230048,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:32:29] local.INFO: Acknowledgment sent {"connection_id":230048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:32:36] local.INFO: TCP Data received {"connection_id":229539,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:32:36] local.INFO: Processing buffer {"connection_id":229539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:32:36] local.INFO: IMEI packet received {"connection_id":229539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 09:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":229539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:32:41] local.INFO: TCP Data received {"connection_id":231362,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:32:41] local.INFO: Processing buffer {"connection_id":231362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:32:41] local.INFO: Packet analysis {"connection_id":231362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9dc"} 
[2026-11-05 09:32:41] local.INFO: Extracted packet for processing {"connection_id":231362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9dc"} 
[2026-11-05 09:32:41] local.INFO: GPS Element Parsed {"raw_longitude":763341120,"raw_latitude":95411024,"longitude_deg":76.334112,"latitude_deg":9.5411024,"altitude":12,"angle":359,"satellites":50,"speed":0,"hex_longitude":"2d7fa940","hex_latitude":"05afdb50","is_valid_coordinates":true} 
[2026-11-05 09:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225825792001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196983782211569664,"note":"Value kept but may cause issues"} 
[2026-11-05 09:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793851183000,"timestamp_ms":1793851183000,"timestamp_seconds":1793851183,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9dccf98"} 
[2026-11-05 09:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-05 09:32:41] 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-05 09:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:32: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-05 09:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225825792001,"66":26245,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9196983782211569664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225825792001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:32:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:32:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196983782211569664,"description":"Unknown IO ID 45"} 
[2026-11-05 09:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225825792001,"power":26245,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196983782211569664}} 
[2026-11-05 09:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":231362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:32:41] local.INFO: GPS data processed {"connection_id":231362,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:32:41] local.INFO: Acknowledgment sent {"connection_id":231362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:33:06] local.INFO: TCP Data received {"connection_id":229541,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:33:06] local.INFO: Processing buffer {"connection_id":229541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:33:06] local.INFO: IMEI packet received {"connection_id":229541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 09:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":229541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:33:07] local.INFO: TCP Data received {"connection_id":229540,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:33:07] local.INFO: Processing buffer {"connection_id":229540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:33:07] local.INFO: IMEI packet received {"connection_id":229540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":229540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:33:09] local.INFO: TCP Data received {"connection_id":229540,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:33:09] local.INFO: Processing buffer {"connection_id":229540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:33:09] local.INFO: IMEI packet received {"connection_id":229540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":229540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:33:10] local.INFO: TCP Data received {"connection_id":229540,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:33:10] local.INFO: Processing buffer {"connection_id":229540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:33:10] local.INFO: Packet analysis {"connection_id":229540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9dc"} 
[2026-11-05 09:33:10] local.INFO: Extracted packet for processing {"connection_id":229540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9dc"} 
[2026-11-05 09:33:10] local.INFO: GPS Element Parsed {"raw_longitude":763341120,"raw_latitude":95411024,"longitude_deg":76.334112,"latitude_deg":9.5411024,"altitude":12,"angle":359,"satellites":50,"speed":0,"hex_longitude":"2d7fa940","hex_latitude":"05afdb50","is_valid_coordinates":true} 
[2026-11-05 09:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225825792001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196983782211569664,"note":"Value kept but may cause issues"} 
[2026-11-05 09:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793851183000,"timestamp_ms":1793851183000,"timestamp_seconds":1793851183,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9dccf98"} 
[2026-11-05 09:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-05 09:33:10] 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-05 09:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:33:10] 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-05 09:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225825792001,"66":26245,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9196983782211569664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225825792001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:33:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:33:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196983782211569664,"description":"Unknown IO ID 45"} 
[2026-11-05 09:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225825792001,"power":26245,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196983782211569664}} 
[2026-11-05 09:33:10] 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":62169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:33:10] local.INFO: GPS data processed {"connection_id":229540,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:33:10] local.INFO: Acknowledgment sent {"connection_id":229540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:33:14] local.INFO: TCP Data received {"connection_id":229540,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:33:14] local.INFO: Processing buffer {"connection_id":229540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:33:14] local.INFO: Packet analysis {"connection_id":229540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9dc"} 
[2026-11-05 09:33:14] local.INFO: Extracted packet for processing {"connection_id":229540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9dc"} 
[2026-11-05 09:33:14] local.INFO: GPS Element Parsed {"raw_longitude":763341120,"raw_latitude":95411024,"longitude_deg":76.334112,"latitude_deg":9.5411024,"altitude":12,"angle":359,"satellites":50,"speed":0,"hex_longitude":"2d7fa940","hex_latitude":"05afdb50","is_valid_coordinates":true} 
[2026-11-05 09:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225825792001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196983782211569664,"note":"Value kept but may cause issues"} 
[2026-11-05 09:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793851183000,"timestamp_ms":1793851183000,"timestamp_seconds":1793851183,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9dccf98"} 
[2026-11-05 09:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:33: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-05 09:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-05 09:33:14] 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-05 09:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:33: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-05 09:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225825792001,"66":26245,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9196983782211569664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225825792001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:33:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:33:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196983782211569664,"description":"Unknown IO ID 45"} 
[2026-11-05 09:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225825792001,"power":26245,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196983782211569664}} 
[2026-11-05 09:33:14] 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":62170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:33:14] local.INFO: GPS data processed {"connection_id":229540,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:33:14] local.INFO: Acknowledgment sent {"connection_id":229540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:33:24] local.INFO: TCP Data received {"connection_id":231363,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231363,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:33:24] local.INFO: Processing buffer {"connection_id":231363,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:33:24] local.INFO: IMEI packet received {"connection_id":231363,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":231363,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:33:30] local.INFO: TCP Data received {"connection_id":231363,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231363,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:33:30] local.INFO: Processing buffer {"connection_id":231363,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:33:30] local.INFO: IMEI packet received {"connection_id":231363,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":231363,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:33:46] local.INFO: TCP Data received {"connection_id":229540,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:33:46] local.INFO: Processing buffer {"connection_id":229540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:33:46] local.INFO: Packet analysis {"connection_id":229540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9dc"} 
[2026-11-05 09:33:46] local.INFO: Extracted packet for processing {"connection_id":229540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9dc"} 
[2026-11-05 09:33:46] local.INFO: GPS Element Parsed {"raw_longitude":763341120,"raw_latitude":95411024,"longitude_deg":76.334112,"latitude_deg":9.5411024,"altitude":12,"angle":359,"satellites":50,"speed":0,"hex_longitude":"2d7fa940","hex_latitude":"05afdb50","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225825792001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196983782211569664,"note":"Value kept but may cause issues"} 
[2026-11-05 09:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793851183000,"timestamp_ms":1793851183000,"timestamp_seconds":1793851183,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9dccf98"} 
[2026-11-05 09: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-05 09:33: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-05 09: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":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-05 09:33:46] 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-05 09: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-05 09: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-05 09:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:33: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-05 09:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225825792001,"66":26245,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9196983782211569664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225825792001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:33:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:33:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196983782211569664,"description":"Unknown IO ID 45"} 
[2026-11-05 09:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225825792001,"power":26245,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196983782211569664}} 
[2026-11-05 09:33:46] 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":62171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:33:46] local.INFO: GPS data processed {"connection_id":229540,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:33:46] local.INFO: Acknowledgment sent {"connection_id":229540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:34:04] local.INFO: TCP Data received {"connection_id":229542,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229542,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:34:04] local.INFO: Processing buffer {"connection_id":229542,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:34:04] local.INFO: IMEI packet received {"connection_id":229542,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":229542,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:34:04] local.INFO: TCP Data received {"connection_id":230049,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:34:04] local.INFO: Processing buffer {"connection_id":230049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:34:04] local.INFO: IMEI packet received {"connection_id":230049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":230049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:34:05] local.INFO: TCP Data received {"connection_id":229542,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229542,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:34:05] local.INFO: Processing buffer {"connection_id":229542,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:34:05] local.INFO: IMEI packet received {"connection_id":229542,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":229542,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:34:09] local.INFO: TCP Data received {"connection_id":230049,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:34:09] local.INFO: Processing buffer {"connection_id":230049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:34:09] local.INFO: IMEI packet received {"connection_id":230049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":230049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:34:10] local.INFO: TCP Data received {"connection_id":230049,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:34:10] local.INFO: Processing buffer {"connection_id":230049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:34:10] local.INFO: Packet analysis {"connection_id":230049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9dc"} 
[2026-11-05 09:34:10] local.INFO: Extracted packet for processing {"connection_id":230049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9dc"} 
[2026-11-05 09:34:10] local.INFO: GPS Element Parsed {"raw_longitude":763341120,"raw_latitude":95411024,"longitude_deg":76.334112,"latitude_deg":9.5411024,"altitude":12,"angle":359,"satellites":50,"speed":0,"hex_longitude":"2d7fa940","hex_latitude":"05afdb50","is_valid_coordinates":true} 
[2026-11-05 09:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225825792001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196983782211569664,"note":"Value kept but may cause issues"} 
[2026-11-05 09:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793851183000,"timestamp_ms":1793851183000,"timestamp_seconds":1793851183,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9dccf98"} 
[2026-11-05 09:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-05 09:34:10] 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-05 09:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:34:10] 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-05 09:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225825792001,"66":26245,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9196983782211569664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225825792001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:34:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196983782211569664,"description":"Unknown IO ID 45"} 
[2026-11-05 09:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225825792001,"power":26245,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196983782211569664}} 
[2026-11-05 09:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":230049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:34:10] local.INFO: GPS data processed {"connection_id":230049,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:34:10] local.INFO: Acknowledgment sent {"connection_id":230049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:34:41] local.INFO: TCP Data received {"connection_id":230049,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:34:41] local.INFO: Processing buffer {"connection_id":230049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:34:41] local.INFO: Packet analysis {"connection_id":230049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9dc"} 
[2026-11-05 09:34:41] local.INFO: Extracted packet for processing {"connection_id":230049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9dc"} 
[2026-11-05 09:34:41] local.INFO: GPS Element Parsed {"raw_longitude":763341120,"raw_latitude":95411024,"longitude_deg":76.334112,"latitude_deg":9.5411024,"altitude":12,"angle":359,"satellites":50,"speed":0,"hex_longitude":"2d7fa940","hex_latitude":"05afdb50","is_valid_coordinates":true} 
[2026-11-05 09:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225825792001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196983782211569664,"note":"Value kept but may cause issues"} 
[2026-11-05 09:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793851183000,"timestamp_ms":1793851183000,"timestamp_seconds":1793851183,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9dccf98"} 
[2026-11-05 09:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-05 09:34:41] 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-05 09:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:34: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-05 09:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225825792001,"66":26245,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9196983782211569664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225825792001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:34:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196983782211569664,"description":"Unknown IO ID 45"} 
[2026-11-05 09:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225825792001,"power":26245,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196983782211569664}} 
[2026-11-05 09:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":230049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:34:41] local.INFO: GPS data processed {"connection_id":230049,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:34:41] local.INFO: Acknowledgment sent {"connection_id":230049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:35:04] local.INFO: TCP Data received {"connection_id":231366,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:35:04] local.INFO: Processing buffer {"connection_id":231366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:35:04] local.INFO: IMEI packet received {"connection_id":231366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":231366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:35:09] local.INFO: TCP Data received {"connection_id":231366,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:35:09] local.INFO: Processing buffer {"connection_id":231366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:35:09] local.INFO: IMEI packet received {"connection_id":231366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":231366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:35:10] local.INFO: TCP Data received {"connection_id":231366,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:35:10] local.INFO: Processing buffer {"connection_id":231366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9dccf98012d7fa94005afdb50000c016732..."} 
[2026-11-05 09:35:10] local.INFO: Packet analysis {"connection_id":231366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9dc"} 
[2026-11-05 09:35:10] local.INFO: Extracted packet for processing {"connection_id":231366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9dc"} 
[2026-11-05 09:35:10] local.INFO: GPS Element Parsed {"raw_longitude":763341120,"raw_latitude":95411024,"longitude_deg":76.334112,"latitude_deg":9.5411024,"altitude":12,"angle":359,"satellites":50,"speed":0,"hex_longitude":"2d7fa940","hex_latitude":"05afdb50","is_valid_coordinates":true} 
[2026-11-05 09:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225825792001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196983782211569664,"note":"Value kept but may cause issues"} 
[2026-11-05 09:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793851183000,"timestamp_ms":1793851183000,"timestamp_seconds":1793851183,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9dccf98"} 
[2026-11-05 09:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-05 09:35:10] 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-05 09:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:35:10] 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-05 09:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225825792001,"66":26245,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9196983782211569664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225825792001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:35:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196983782211569664,"description":"Unknown IO ID 45"} 
[2026-11-05 09:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225825792001,"power":26245,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196983782211569664}} 
[2026-11-05 09:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":231366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:35:10] local.INFO: GPS data processed {"connection_id":231366,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:35:10] local.INFO: Acknowledgment sent {"connection_id":231366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:35:41] local.INFO: TCP Data received {"connection_id":231366,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e16760012d7fa94005afdb50000c016733..."} 
[2026-11-05 09:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e16760012d7fa94005afdb50000c016733..."} 
[2026-11-05 09:35:41] local.INFO: Processing buffer {"connection_id":231366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e16760012d7fa94005afdb50000c016733..."} 
[2026-11-05 09:35:41] local.INFO: Packet analysis {"connection_id":231366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e1"} 
[2026-11-05 09:35:41] local.INFO: Extracted packet for processing {"connection_id":231366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e1"} 
[2026-11-05 09:35:41] local.INFO: GPS Element Parsed {"raw_longitude":763341120,"raw_latitude":95411024,"longitude_deg":76.334112,"latitude_deg":9.5411024,"altitude":12,"angle":359,"satellites":51,"speed":0,"hex_longitude":"2d7fa940","hex_latitude":"05afdb50","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225902848001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107050348544,"note":"Value kept but may cause issues"} 
[2026-11-05 09:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793851484000,"timestamp_ms":1793851484000,"timestamp_seconds":1793851484,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e16760"} 
[2026-11-05 09: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-05 09:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09: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":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-11-05 09:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09: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-05 09: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-05 09:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:35: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-05 09:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225902848001,"66":25995,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9198954107050348544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225902848001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:35:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:35:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107050348544,"description":"Unknown IO ID 45"} 
[2026-11-05 09:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225902848001,"power":25995,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198954107050348544}} 
[2026-11-05 09:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":231366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:35:41] local.INFO: GPS data processed {"connection_id":231366,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:35:41] local.INFO: Acknowledgment sent {"connection_id":231366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:36:04] local.INFO: TCP Data received {"connection_id":231369,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:36:04] local.INFO: Processing buffer {"connection_id":231369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:36:04] local.INFO: IMEI packet received {"connection_id":231369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":231369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:36:09] local.INFO: TCP Data received {"connection_id":231369,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:36:09] local.INFO: Processing buffer {"connection_id":231369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:36:09] local.INFO: IMEI packet received {"connection_id":231369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":231369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:36:10] local.INFO: TCP Data received {"connection_id":231369,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e16760012d7fa94005afdb50000c016733..."} 
[2026-11-05 09:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e16760012d7fa94005afdb50000c016733..."} 
[2026-11-05 09:36:10] local.INFO: Processing buffer {"connection_id":231369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e16760012d7fa94005afdb50000c016733..."} 
[2026-11-05 09:36:10] local.INFO: Packet analysis {"connection_id":231369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e1"} 
[2026-11-05 09:36:10] local.INFO: Extracted packet for processing {"connection_id":231369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e1"} 
[2026-11-05 09:36:10] local.INFO: GPS Element Parsed {"raw_longitude":763341120,"raw_latitude":95411024,"longitude_deg":76.334112,"latitude_deg":9.5411024,"altitude":12,"angle":359,"satellites":51,"speed":0,"hex_longitude":"2d7fa940","hex_latitude":"05afdb50","is_valid_coordinates":true} 
[2026-11-05 09:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225902848001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107050348544,"note":"Value kept but may cause issues"} 
[2026-11-05 09:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793851484000,"timestamp_ms":1793851484000,"timestamp_seconds":1793851484,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e16760"} 
[2026-11-05 09:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-11-05 09:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:36:10] 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-05 09:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225902848001,"66":25995,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9198954107050348544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225902848001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:36:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107050348544,"description":"Unknown IO ID 45"} 
[2026-11-05 09:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225902848001,"power":25995,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198954107050348544}} 
[2026-11-05 09:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":231369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:36:10] local.INFO: GPS data processed {"connection_id":231369,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:36:10] local.INFO: Acknowledgment sent {"connection_id":231369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:36:41] local.INFO: TCP Data received {"connection_id":231369,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e28488012d7faac005afe0f8000c002631..."} 
[2026-11-05 09:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e28488012d7faac005afe0f8000c002631..."} 
[2026-11-05 09:36:41] local.INFO: Processing buffer {"connection_id":231369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e28488012d7faac005afe0f8000c002631..."} 
[2026-11-05 09:36:41] local.INFO: Packet analysis {"connection_id":231369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e2"} 
[2026-11-05 09:36:41] local.INFO: Extracted packet for processing {"connection_id":231369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e2"} 
[2026-11-05 09:36:41] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412472,"longitude_deg":76.3341504,"latitude_deg":9.5412472,"altitude":12,"angle":38,"satellites":49,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe0f8","is_valid_coordinates":true} 
[2026-11-05 09:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225979904001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107050348544,"note":"Value kept but may cause issues"} 
[2026-11-05 09:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793851557000,"timestamp_ms":1793851557000,"timestamp_seconds":1793851557,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e28488"} 
[2026-11-05 09:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:36:41] 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-05 09:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-11-05 09:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:36: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-05 09:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225979904001,"66":25919,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9198954107050348544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225979904001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:36:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107050348544,"description":"Unknown IO ID 45"} 
[2026-11-05 09:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225979904001,"power":25919,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198954107050348544}} 
[2026-11-05 09:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":231369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:36:41] local.INFO: GPS data processed {"connection_id":231369,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:36:41] local.INFO: Acknowledgment sent {"connection_id":231369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:37:04] local.INFO: TCP Data received {"connection_id":231371,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:37:04] local.INFO: Processing buffer {"connection_id":231371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:37:04] local.INFO: IMEI packet received {"connection_id":231371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":231371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:37:09] local.INFO: TCP Data received {"connection_id":231371,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:37:09] local.INFO: Processing buffer {"connection_id":231371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:37:09] local.INFO: IMEI packet received {"connection_id":231371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":231371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:37:10] local.INFO: TCP Data received {"connection_id":231371,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e28488012d7faac005afe0f8000c002631..."} 
[2026-11-05 09:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e28488012d7faac005afe0f8000c002631..."} 
[2026-11-05 09:37:10] local.INFO: Processing buffer {"connection_id":231371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e28488012d7faac005afe0f8000c002631..."} 
[2026-11-05 09:37:10] local.INFO: Packet analysis {"connection_id":231371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e2"} 
[2026-11-05 09:37:10] local.INFO: Extracted packet for processing {"connection_id":231371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e2"} 
[2026-11-05 09:37:10] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412472,"longitude_deg":76.3341504,"latitude_deg":9.5412472,"altitude":12,"angle":38,"satellites":49,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe0f8","is_valid_coordinates":true} 
[2026-11-05 09:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225979904001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107050348544,"note":"Value kept but may cause issues"} 
[2026-11-05 09:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793851557000,"timestamp_ms":1793851557000,"timestamp_seconds":1793851557,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e28488"} 
[2026-11-05 09:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:37:10] 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-05 09:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-11-05 09:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:37:10] 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-05 09:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225979904001,"66":25919,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9198954107050348544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225979904001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:37:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:37:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107050348544,"description":"Unknown IO ID 45"} 
[2026-11-05 09:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225979904001,"power":25919,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198954107050348544}} 
[2026-11-05 09:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":231371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:37:10] local.INFO: GPS data processed {"connection_id":231371,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:37:10] local.INFO: Acknowledgment sent {"connection_id":231371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:37:41] local.INFO: TCP Data received {"connection_id":231371,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e28488012d7faac005afe0f8000c002631..."} 
[2026-11-05 09:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e28488012d7faac005afe0f8000c002631..."} 
[2026-11-05 09:37:41] local.INFO: Processing buffer {"connection_id":231371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e28488012d7faac005afe0f8000c002631..."} 
[2026-11-05 09:37:41] local.INFO: Packet analysis {"connection_id":231371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e2"} 
[2026-11-05 09:37:41] local.INFO: Extracted packet for processing {"connection_id":231371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e2"} 
[2026-11-05 09:37:41] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412472,"longitude_deg":76.3341504,"latitude_deg":9.5412472,"altitude":12,"angle":38,"satellites":49,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe0f8","is_valid_coordinates":true} 
[2026-11-05 09:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225979904001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107050348544,"note":"Value kept but may cause issues"} 
[2026-11-05 09:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793851557000,"timestamp_ms":1793851557000,"timestamp_seconds":1793851557,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e28488"} 
[2026-11-05 09:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:37:41] 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-05 09:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-11-05 09:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:37: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-05 09:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225979904001,"66":25919,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9198954107050348544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225979904001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:37:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:37:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107050348544,"description":"Unknown IO ID 45"} 
[2026-11-05 09:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225979904001,"power":25919,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198954107050348544}} 
[2026-11-05 09:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":231371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:37:41] local.INFO: GPS data processed {"connection_id":231371,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:37:41] local.INFO: Acknowledgment sent {"connection_id":231371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:38:04] local.INFO: TCP Data received {"connection_id":231372,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:38:04] local.INFO: Processing buffer {"connection_id":231372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:38:04] local.INFO: IMEI packet received {"connection_id":231372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":231372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:38:09] local.INFO: TCP Data received {"connection_id":231372,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:38:09] local.INFO: Processing buffer {"connection_id":231372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:38:09] local.INFO: IMEI packet received {"connection_id":231372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":231372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:38:10] local.INFO: TCP Data received {"connection_id":231372,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e28488012d7faac005afe0f8000c002631..."} 
[2026-11-05 09:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e28488012d7faac005afe0f8000c002631..."} 
[2026-11-05 09:38:10] local.INFO: Processing buffer {"connection_id":231372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e28488012d7faac005afe0f8000c002631..."} 
[2026-11-05 09:38:10] local.INFO: Packet analysis {"connection_id":231372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e2"} 
[2026-11-05 09:38:10] local.INFO: Extracted packet for processing {"connection_id":231372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e2"} 
[2026-11-05 09:38:10] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412472,"longitude_deg":76.3341504,"latitude_deg":9.5412472,"altitude":12,"angle":38,"satellites":49,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe0f8","is_valid_coordinates":true} 
[2026-11-05 09:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225979904001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107050348544,"note":"Value kept but may cause issues"} 
[2026-11-05 09:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793851557000,"timestamp_ms":1793851557000,"timestamp_seconds":1793851557,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e28488"} 
[2026-11-05 09:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:38:10] 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-05 09:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-11-05 09:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:38:10] 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-05 09:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225979904001,"66":25919,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9198954107050348544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225979904001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:38:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:38:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107050348544,"description":"Unknown IO ID 45"} 
[2026-11-05 09:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225979904001,"power":25919,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198954107050348544}} 
[2026-11-05 09:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":231372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:38:10] local.INFO: GPS data processed {"connection_id":231372,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:38:10] local.INFO: Acknowledgment sent {"connection_id":231372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:38:31] local.INFO: TCP Data received {"connection_id":229544,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:38:31] local.INFO: Processing buffer {"connection_id":229544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:38:31] local.INFO: IMEI packet received {"connection_id":229544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 09:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":229544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:38:41] local.INFO: TCP Data received {"connection_id":231372,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e28488012d7faac005afe0f8000c002631..."} 
[2026-11-05 09:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e28488012d7faac005afe0f8000c002631..."} 
[2026-11-05 09:38:41] local.INFO: Processing buffer {"connection_id":231372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e28488012d7faac005afe0f8000c002631..."} 
[2026-11-05 09:38:41] local.INFO: Packet analysis {"connection_id":231372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e2"} 
[2026-11-05 09:38:41] local.INFO: Extracted packet for processing {"connection_id":231372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e2"} 
[2026-11-05 09:38:41] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412472,"longitude_deg":76.3341504,"latitude_deg":9.5412472,"altitude":12,"angle":38,"satellites":49,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe0f8","is_valid_coordinates":true} 
[2026-11-05 09:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225979904001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107050348544,"note":"Value kept but may cause issues"} 
[2026-11-05 09:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793851557000,"timestamp_ms":1793851557000,"timestamp_seconds":1793851557,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e28488"} 
[2026-11-05 09:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:38:41] 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-05 09:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-11-05 09:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:38: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-05 09:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225979904001,"66":25919,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9198954107050348544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225979904001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:38:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:38:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107050348544,"description":"Unknown IO ID 45"} 
[2026-11-05 09:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225979904001,"power":25919,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198954107050348544}} 
[2026-11-05 09:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":231372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:38:41] local.INFO: GPS data processed {"connection_id":231372,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:38:41] local.INFO: Acknowledgment sent {"connection_id":231372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:39:04] local.INFO: TCP Data received {"connection_id":230050,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:39:04] local.INFO: Processing buffer {"connection_id":230050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:39:04] local.INFO: IMEI packet received {"connection_id":230050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":230050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:39:06] local.INFO: TCP Data received {"connection_id":229545,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229545,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:39:06] local.INFO: Processing buffer {"connection_id":229545,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:39:06] local.INFO: IMEI packet received {"connection_id":229545,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":229545,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:39:07] local.INFO: TCP Data received {"connection_id":229545,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e3f7a0012d0d2600070433d8001b00c627..."} 
[2026-11-05 09:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e3f7a0012d0d2600070433d8001b00c627..."} 
[2026-11-05 09:39:07] local.INFO: Processing buffer {"connection_id":229545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e3f7a0012d0d2600070433d8001b00c627..."} 
[2026-11-05 09:39:07] local.INFO: Packet analysis {"connection_id":229545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e3"} 
[2026-11-05 09:39:07] local.INFO: Extracted packet for processing {"connection_id":229545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e3"} 
[2026-11-05 09:39:07] local.INFO: GPS Element Parsed {"raw_longitude":755836416,"raw_latitude":117715928,"longitude_deg":75.5836416,"latitude_deg":11.7715928,"altitude":27,"angle":198,"satellites":39,"speed":12,"hex_longitude":"2d0d2600","hex_latitude":"070433d8","is_valid_coordinates":true} 
[2026-11-05 09:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226022144001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39425948646375424,"note":"Value kept but may cause issues"} 
[2026-11-05 09:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947796645464422400,"note":"Value kept but may cause issues"} 
[2026-11-05 09:39:07] 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-05 09:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1793851652000,"timestamp_ms":1793851652000,"timestamp_seconds":1793851652,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e3f7a0"} 
[2026-11-05 09:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-05 09:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-11-05 09:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":229545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":229545,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":229545,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226022144001,"66":14233,"17":206,"94":11008,"24":12,"16":39425948646375424,"45":947796645464422400},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 09:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226022144001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:39:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 09:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39425948646375424,"km_value":39425948646375.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":947796645464422400,"description":"Unknown IO ID 45"} 
[2026-11-05 09:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226022144001,"power":14233,"axis_x":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":947796645464422400}} 
[2026-11-05 09:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":229545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62182,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:39:07] local.INFO: GPS data processed {"connection_id":229545,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:39:07] local.INFO: Acknowledgment sent {"connection_id":229545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:39:09] local.INFO: TCP Data received {"connection_id":230050,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:39:09] local.INFO: Processing buffer {"connection_id":230050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:39:09] local.INFO: IMEI packet received {"connection_id":230050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":230050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:39:10] local.INFO: TCP Data received {"connection_id":230050,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e28488012d7faac005afe0f8000c002631..."} 
[2026-11-05 09:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e28488012d7faac005afe0f8000c002631..."} 
[2026-11-05 09:39:10] local.INFO: Processing buffer {"connection_id":230050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e28488012d7faac005afe0f8000c002631..."} 
[2026-11-05 09:39:10] local.INFO: Packet analysis {"connection_id":230050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e2"} 
[2026-11-05 09:39:10] local.INFO: Extracted packet for processing {"connection_id":230050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e2"} 
[2026-11-05 09:39:10] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412472,"longitude_deg":76.3341504,"latitude_deg":9.5412472,"altitude":12,"angle":38,"satellites":49,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe0f8","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225979904001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107050348544,"note":"Value kept but may cause issues"} 
[2026-11-05 09:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793851557000,"timestamp_ms":1793851557000,"timestamp_seconds":1793851557,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e28488"} 
[2026-11-05 09: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-05 09:39:10] 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-05 09: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-11-05 09:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09: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-05 09: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-05 09:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:39:10] 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-05 09:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225979904001,"66":25919,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9198954107050348544},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225979904001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:39:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107050348544,"description":"Unknown IO ID 45"} 
[2026-11-05 09:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225979904001,"power":25919,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198954107050348544}} 
[2026-11-05 09:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":230050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:39:10] local.INFO: GPS data processed {"connection_id":230050,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:39:10] local.INFO: Acknowledgment sent {"connection_id":230050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:39:11] local.INFO: TCP Data received {"connection_id":229546,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229546,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:39:11] local.INFO: Processing buffer {"connection_id":229546,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:39:11] local.INFO: IMEI packet received {"connection_id":229546,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 09:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":229546,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:39:41] local.INFO: TCP Data received {"connection_id":230050,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e28488012d7faac005afe0f8000c002631..."} 
[2026-11-05 09:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e28488012d7faac005afe0f8000c002631..."} 
[2026-11-05 09:39:41] local.INFO: Processing buffer {"connection_id":230050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e28488012d7faac005afe0f8000c002631..."} 
[2026-11-05 09:39:41] local.INFO: Packet analysis {"connection_id":230050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e2"} 
[2026-11-05 09:39:41] local.INFO: Extracted packet for processing {"connection_id":230050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e2"} 
[2026-11-05 09:39:41] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412472,"longitude_deg":76.3341504,"latitude_deg":9.5412472,"altitude":12,"angle":38,"satellites":49,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe0f8","is_valid_coordinates":true} 
[2026-11-05 09:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225979904001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107050348544,"note":"Value kept but may cause issues"} 
[2026-11-05 09:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793851557000,"timestamp_ms":1793851557000,"timestamp_seconds":1793851557,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e28488"} 
[2026-11-05 09:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:39:41] 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-05 09:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-11-05 09:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:39: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-05 09:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225979904001,"66":25919,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9198954107050348544},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225979904001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:39:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:39:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107050348544,"description":"Unknown IO ID 45"} 
[2026-11-05 09:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225979904001,"power":25919,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198954107050348544}} 
[2026-11-05 09:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":230050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:39:41] local.INFO: GPS data processed {"connection_id":230050,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:39:41] local.INFO: Acknowledgment sent {"connection_id":230050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:39:49] local.INFO: TCP Data received {"connection_id":231373,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231373,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:39:49] local.INFO: Processing buffer {"connection_id":231373,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:39:49] local.INFO: IMEI packet received {"connection_id":231373,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":231373,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:39:54] local.INFO: TCP Data received {"connection_id":231373,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231373,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:39:54] local.INFO: Processing buffer {"connection_id":231373,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:39:54] local.INFO: IMEI packet received {"connection_id":231373,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":231373,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:39:55] local.INFO: TCP Data received {"connection_id":231373,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e3ff70012d0d258007043180001b00b927..."} 
[2026-11-05 09:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e3ff70012d0d258007043180001b00b927..."} 
[2026-11-05 09:39:55] local.INFO: Processing buffer {"connection_id":231373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e3ff70012d0d258007043180001b00b927..."} 
[2026-11-05 09:39:55] local.INFO: Packet analysis {"connection_id":231373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e3"} 
[2026-11-05 09:39:55] local.INFO: Extracted packet for processing {"connection_id":231373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e3"} 
[2026-11-05 09:39:55] local.INFO: GPS Element Parsed {"raw_longitude":755836288,"raw_latitude":117715328,"longitude_deg":75.5836288,"latitude_deg":11.7715328,"altitude":27,"angle":185,"satellites":39,"speed":11,"hex_longitude":"2d0d2580","hex_latitude":"07043180","is_valid_coordinates":true} 
[2026-11-05 09:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226022912001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39425978711146496,"note":"Value kept but may cause issues"} 
[2026-11-05 09:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947444801743345664,"note":"Value kept but may cause issues"} 
[2026-11-05 09:39: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-05 09:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793851654000,"timestamp_ms":1793851654000,"timestamp_seconds":1793851654,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e3ff70"} 
[2026-11-05 09:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:39: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-05 09:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-11-05 09:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231373,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231373,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226022912001,"66":14548,"17":206,"94":11008,"24":11,"16":39425978711146496,"45":947444801743345664},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 09:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226022912001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:39:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 09:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39425978711146496,"km_value":39425978711146.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":947444801743345664,"description":"Unknown IO ID 45"} 
[2026-11-05 09:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226022912001,"power":14548,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":947444801743345664}} 
[2026-11-05 09:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":231373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62185,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:39:55] local.INFO: GPS data processed {"connection_id":231373,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:39:55] local.INFO: Acknowledgment sent {"connection_id":231373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:40:09] local.INFO: TCP Data received {"connection_id":233275,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:40:09] local.INFO: Processing buffer {"connection_id":233275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:40:09] local.INFO: IMEI packet received {"connection_id":233275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":233275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:40:14] local.INFO: TCP Data received {"connection_id":233275,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:40:14] local.INFO: Processing buffer {"connection_id":233275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:40:14] local.INFO: IMEI packet received {"connection_id":233275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":233275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:40:15] local.INFO: TCP Data received {"connection_id":233275,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e28488012d7faac005afe0f8000c002631..."} 
[2026-11-05 09:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e28488012d7faac005afe0f8000c002631..."} 
[2026-11-05 09:40:15] local.INFO: Processing buffer {"connection_id":233275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e28488012d7faac005afe0f8000c002631..."} 
[2026-11-05 09:40:15] local.INFO: Packet analysis {"connection_id":233275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e2"} 
[2026-11-05 09:40:15] local.INFO: Extracted packet for processing {"connection_id":233275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e2"} 
[2026-11-05 09:40:15] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412472,"longitude_deg":76.3341504,"latitude_deg":9.5412472,"altitude":12,"angle":38,"satellites":49,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe0f8","is_valid_coordinates":true} 
[2026-11-05 09:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225979904001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107050348544,"note":"Value kept but may cause issues"} 
[2026-11-05 09:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793851557000,"timestamp_ms":1793851557000,"timestamp_seconds":1793851557,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e28488"} 
[2026-11-05 09:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09: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-05 09:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-11-05 09:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:40: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-05 09:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225979904001,"66":25919,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9198954107050348544},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225979904001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:40:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:40:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107050348544,"description":"Unknown IO ID 45"} 
[2026-11-05 09:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225979904001,"power":25919,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198954107050348544}} 
[2026-11-05 09:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":233275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:40:15] local.INFO: GPS data processed {"connection_id":233275,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:40:15] local.INFO: Acknowledgment sent {"connection_id":233275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:40:19] local.INFO: TCP Data received {"connection_id":233275,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e28488012d7faac005afe0f8000c002631..."} 
[2026-11-05 09:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e28488012d7faac005afe0f8000c002631..."} 
[2026-11-05 09:40:19] local.INFO: Processing buffer {"connection_id":233275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e28488012d7faac005afe0f8000c002631..."} 
[2026-11-05 09:40:19] local.INFO: Packet analysis {"connection_id":233275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e2"} 
[2026-11-05 09:40:19] local.INFO: Extracted packet for processing {"connection_id":233275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e2"} 
[2026-11-05 09:40:19] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412472,"longitude_deg":76.3341504,"latitude_deg":9.5412472,"altitude":12,"angle":38,"satellites":49,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe0f8","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225979904001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107050348544,"note":"Value kept but may cause issues"} 
[2026-11-05 09:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793851557000,"timestamp_ms":1793851557000,"timestamp_seconds":1793851557,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e28488"} 
[2026-11-05 09: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-05 09:40: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-05 09: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-11-05 09:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09: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-05 09: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-05 09:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":233275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":233275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":233275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:40: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-05 09:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225979904001,"66":25919,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9198954107050348544},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225979904001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:40:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:40:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107050348544,"description":"Unknown IO ID 45"} 
[2026-11-05 09:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225979904001,"power":25919,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198954107050348544}} 
[2026-11-05 09:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":233275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:40:19] local.INFO: GPS data processed {"connection_id":233275,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:40:19] local.INFO: Acknowledgment sent {"connection_id":233275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:40:26] local.INFO: TCP Data received {"connection_id":231373,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e412f8012d0d258007042b20001b00ab28..."} 
[2026-11-05 09:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e412f8012d0d258007042b20001b00ab28..."} 
[2026-11-05 09:40:26] local.INFO: Processing buffer {"connection_id":231373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e412f8012d0d258007042b20001b00ab28..."} 
[2026-11-05 09:40:26] local.INFO: Packet analysis {"connection_id":231373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e4"} 
[2026-11-05 09:40:26] local.INFO: Extracted packet for processing {"connection_id":231373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e4"} 
[2026-11-05 09:40:26] local.INFO: GPS Element Parsed {"raw_longitude":755836288,"raw_latitude":117713696,"longitude_deg":75.5836288,"latitude_deg":11.7713696,"altitude":27,"angle":171,"satellites":40,"speed":15,"hex_longitude":"2d0d2580","hex_latitude":"07042b20","is_valid_coordinates":true} 
[2026-11-05 09:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226023424001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39426060315525120,"note":"Value kept but may cause issues"} 
[2026-11-05 09:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947304064254836736,"note":"Value kept but may cause issues"} 
[2026-11-05 09:40: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-05 09:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793851659000,"timestamp_ms":1793851659000,"timestamp_seconds":1793851659,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e412f8"} 
[2026-11-05 09:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:40: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-05 09:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-05 09:40:26] 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-05 09:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231373,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231373,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226023424001,"66":14309,"17":206,"94":11008,"24":15,"16":39426060315525120,"45":947304064254836736},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 09:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226023424001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:40:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 09:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39426060315525120,"km_value":39426060315525.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":947304064254836736,"description":"Unknown IO ID 45"} 
[2026-11-05 09:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226023424001,"power":14309,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":947304064254836736}} 
[2026-11-05 09:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":231373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62188,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:40:26] local.INFO: GPS data processed {"connection_id":231373,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:40:26] local.INFO: Acknowledgment sent {"connection_id":231373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:40:49] local.INFO: TCP Data received {"connection_id":229548,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229548,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:40:49] local.INFO: Processing buffer {"connection_id":229548,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:40:49] local.INFO: IMEI packet received {"connection_id":229548,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":229548,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:40:51] local.INFO: TCP Data received {"connection_id":229548,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229548,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:40:51] local.INFO: Processing buffer {"connection_id":229548,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:40:51] local.INFO: IMEI packet received {"connection_id":229548,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":229548,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:40:53] local.INFO: TCP Data received {"connection_id":229548,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229548,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:40:53] local.INFO: Processing buffer {"connection_id":229548,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:40:53] local.INFO: IMEI packet received {"connection_id":229548,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":229548,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:40:54] local.INFO: TCP Data received {"connection_id":229548,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229548,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:40:54] local.INFO: Processing buffer {"connection_id":229548,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:40:54] local.INFO: IMEI packet received {"connection_id":229548,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":229548,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:40:54] local.INFO: TCP Data received {"connection_id":229548,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e64d48012d0d27c00703ff300013016625..."} 
[2026-11-05 09:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e64d48012d0d27c00703ff300013016625..."} 
[2026-11-05 09:40:54] local.INFO: Processing buffer {"connection_id":229548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e64d48012d0d27c00703ff300013016625..."} 
[2026-11-05 09:40:54] local.INFO: Packet analysis {"connection_id":229548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e6"} 
[2026-11-05 09:40:54] local.INFO: Extracted packet for processing {"connection_id":229548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e6"} 
[2026-11-05 09:40:54] local.INFO: GPS Element Parsed {"raw_longitude":755836864,"raw_latitude":117702448,"longitude_deg":75.5836864,"latitude_deg":11.7702448,"altitude":19,"angle":358,"satellites":37,"speed":11,"hex_longitude":"2d0d27c0","hex_latitude":"0703ff30","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226056960001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39428018820612096,"note":"Value kept but may cause issues"} 
[2026-11-05 09:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948429964156057600,"note":"Value kept but may cause issues"} 
[2026-11-05 09:40:54] 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-05 09:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793851805000,"timestamp_ms":1793851805000,"timestamp_seconds":1793851805,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e64d48"} 
[2026-11-05 09: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-05 09:40: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-05 09: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-05 09:40:54] 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-05 09: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-05 09: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-05 09:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":229548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":229548,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":229548,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226056960001,"66":14515,"16":39428018820612096,"94":11008,"24":11,"45":948429964156057600},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-05 09:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226056960001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39428018820612096,"km_value":39428018820612.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:40:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 09:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":948429964156057600,"description":"Unknown IO ID 45"} 
[2026-11-05 09:40:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459226056960001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":11,"unknown_45":948429964156057600}} 
[2026-11-05 09:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":229548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62189,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:40:55] local.INFO: GPS data processed {"connection_id":229548,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:40:55] local.INFO: Acknowledgment sent {"connection_id":229548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:40:56] local.INFO: TCP Data received {"connection_id":229548,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e69b68012d0d2640070412500013015c26..."} 
[2026-11-05 09:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e69b68012d0d2640070412500013015c26..."} 
[2026-11-05 09:40:56] local.INFO: Processing buffer {"connection_id":229548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e69b68012d0d2640070412500013015c26..."} 
[2026-11-05 09:40:56] local.INFO: Packet analysis {"connection_id":229548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e6"} 
[2026-11-05 09:40:56] local.INFO: Extracted packet for processing {"connection_id":229548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e6"} 
[2026-11-05 09:40:56] local.INFO: GPS Element Parsed {"raw_longitude":755836480,"raw_latitude":117707344,"longitude_deg":75.583648,"latitude_deg":11.7707344,"altitude":19,"angle":348,"satellites":38,"speed":10,"hex_longitude":"2d0d2640","hex_latitude":"07041250","is_valid_coordinates":true} 
[2026-11-05 09:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226062080001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39428263633747968,"note":"Value kept but may cause issues"} 
[2026-11-05 09:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947937382949138432,"note":"Value kept but may cause issues"} 
[2026-11-05 09:40:56] 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-05 09:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793851825000,"timestamp_ms":1793851825000,"timestamp_seconds":1793851825,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e69b68"} 
[2026-11-05 09:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-05 09:40:56] 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-05 09:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":229548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":229548,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":229548,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226062080001,"66":14396,"16":39428263633747968,"94":11008,"24":10,"45":947937382949138432},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-05 09:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226062080001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39428263633747968,"km_value":39428263633747.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:40:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 09:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":947937382949138432,"description":"Unknown IO ID 45"} 
[2026-11-05 09:40:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459226062080001,"power":14396,"odometer":null,"unknown_94":11008,"ignition":10,"unknown_45":947937382949138432}} 
[2026-11-05 09:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":229548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62190,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:40:56] local.INFO: GPS data processed {"connection_id":229548,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:40:56] local.INFO: Acknowledgment sent {"connection_id":229548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:41:04] local.INFO: TCP Data received {"connection_id":233276,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:41:04] local.INFO: Processing buffer {"connection_id":233276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:41:04] local.INFO: IMEI packet received {"connection_id":233276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":233276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:41:09] local.INFO: TCP Data received {"connection_id":233276,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:41:09] local.INFO: Processing buffer {"connection_id":233276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:41:09] local.INFO: IMEI packet received {"connection_id":233276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":233276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:41:10] local.INFO: TCP Data received {"connection_id":233276,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e28488012d7faac005afe0f8000c002631..."} 
[2026-11-05 09:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e28488012d7faac005afe0f8000c002631..."} 
[2026-11-05 09:41:10] local.INFO: Processing buffer {"connection_id":233276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e28488012d7faac005afe0f8000c002631..."} 
[2026-11-05 09:41:10] local.INFO: Packet analysis {"connection_id":233276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e2"} 
[2026-11-05 09:41:10] local.INFO: Extracted packet for processing {"connection_id":233276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e2"} 
[2026-11-05 09:41:10] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412472,"longitude_deg":76.3341504,"latitude_deg":9.5412472,"altitude":12,"angle":38,"satellites":49,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe0f8","is_valid_coordinates":true} 
[2026-11-05 09:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225979904001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107050348544,"note":"Value kept but may cause issues"} 
[2026-11-05 09:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793851557000,"timestamp_ms":1793851557000,"timestamp_seconds":1793851557,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e28488"} 
[2026-11-05 09:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:41:10] 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-05 09:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-11-05 09:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:41:10] 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-05 09:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225979904001,"66":25919,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9198954107050348544},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225979904001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:41:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:41:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107050348544,"description":"Unknown IO ID 45"} 
[2026-11-05 09:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225979904001,"power":25919,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198954107050348544}} 
[2026-11-05 09:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":233276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:41:10] local.INFO: GPS data processed {"connection_id":233276,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:41:10] local.INFO: Acknowledgment sent {"connection_id":233276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:41:27] local.INFO: TCP Data received {"connection_id":229548,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e6c278012d0d25c007041bd00014000125..."} 
[2026-11-05 09:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e6c278012d0d25c007041bd00014000125..."} 
[2026-11-05 09:41:27] local.INFO: Processing buffer {"connection_id":229548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e6c278012d0d25c007041bd00014000125..."} 
[2026-11-05 09:41:27] local.INFO: Packet analysis {"connection_id":229548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e6"} 
[2026-11-05 09:41:27] local.INFO: Extracted packet for processing {"connection_id":229548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e6"} 
[2026-11-05 09:41:27] local.INFO: GPS Element Parsed {"raw_longitude":755836352,"raw_latitude":117709776,"longitude_deg":75.5836352,"latitude_deg":11.7709776,"altitude":20,"angle":1,"satellites":37,"speed":11,"hex_longitude":"2d0d25c0","hex_latitude":"07041bd0","is_valid_coordinates":true} 
[2026-11-05 09:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226067200001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39428379597864960,"note":"Value kept but may cause issues"} 
[2026-11-05 09:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947515170485325824,"note":"Value kept but may cause issues"} 
[2026-11-05 09:41: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-05 09:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793851835000,"timestamp_ms":1793851835000,"timestamp_seconds":1793851835,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e6c278"} 
[2026-11-05 09:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-05 09:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":229548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":229548,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":229548,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226067200001,"66":14439,"16":39428379597864960,"94":11008,"24":11,"45":947515170485325824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-05 09:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226067200001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39428379597864960,"km_value":39428379597864.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:41:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 09:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":947515170485325824,"description":"Unknown IO ID 45"} 
[2026-11-05 09:41:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459226067200001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":11,"unknown_45":947515170485325824}} 
[2026-11-05 09:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":229548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62192,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:41:28] local.INFO: GPS data processed {"connection_id":229548,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:41:28] local.INFO: Acknowledgment sent {"connection_id":229548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:41:41] local.INFO: TCP Data received {"connection_id":233276,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e71c50012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e71c50012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:41:41] local.INFO: Processing buffer {"connection_id":233276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e71c50012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:41:41] local.INFO: Packet analysis {"connection_id":233276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e7"} 
[2026-11-05 09:41:41] local.INFO: Extracted packet for processing {"connection_id":233276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e7"} 
[2026-11-05 09:41:41] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":47,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225998592001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515785216,"note":"Value kept but may cause issues"} 
[2026-11-05 09:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793851858000,"timestamp_ms":1793851858000,"timestamp_seconds":1793851858,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e71c50"} 
[2026-11-05 09:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-11-05 09:41:41] 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-05 09:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:41: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-05 09:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225998592001,"66":25756,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199376319515785216},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225998592001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:41:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:41:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515785216,"description":"Unknown IO ID 45"} 
[2026-11-05 09:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225998592001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515785216}} 
[2026-11-05 09:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":233276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:41:41] local.INFO: GPS data processed {"connection_id":233276,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:41:41] local.INFO: Acknowledgment sent {"connection_id":233276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:41:54] local.INFO: TCP Data received {"connection_id":231374,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231374,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:41:54] local.INFO: Processing buffer {"connection_id":231374,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:41:54] local.INFO: IMEI packet received {"connection_id":231374,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":231374,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:41:55] local.INFO: TCP Data received {"connection_id":231374,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231374,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:41:55] local.INFO: Processing buffer {"connection_id":231374,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:41:55] local.INFO: IMEI packet received {"connection_id":231374,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":231374,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:41:59] local.INFO: TCP Data received {"connection_id":231374,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231374,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:41:59] local.INFO: Processing buffer {"connection_id":231374,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:41:59] local.INFO: IMEI packet received {"connection_id":231374,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":231374,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:42:00] local.INFO: TCP Data received {"connection_id":231374,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e6d9e8012d0d25c0070422680014015724..."} 
[2026-11-05 09:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e6d9e8012d0d25c0070422680014015724..."} 
[2026-11-05 09:42:00] local.INFO: Processing buffer {"connection_id":231374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e6d9e8012d0d25c0070422680014015724..."} 
[2026-11-05 09:42:00] local.INFO: Packet analysis {"connection_id":231374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e6"} 
[2026-11-05 09:42:00] local.INFO: Extracted packet for processing {"connection_id":231374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e6"} 
[2026-11-05 09:42:00] local.INFO: GPS Element Parsed {"raw_longitude":755836352,"raw_latitude":117711464,"longitude_deg":75.5836352,"latitude_deg":11.7711464,"altitude":20,"angle":343,"satellites":36,"speed":10,"hex_longitude":"2d0d25c0","hex_latitude":"07042268","is_valid_coordinates":true} 
[2026-11-05 09:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226069760001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39428465497210880,"note":"Value kept but may cause issues"} 
[2026-11-05 09:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947374432997593088,"note":"Value kept but may cause issues"} 
[2026-11-05 09:42:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 09:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793851841000,"timestamp_ms":1793851841000,"timestamp_seconds":1793851841,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e6d9e8"} 
[2026-11-05 09:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:42: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-05 09:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-05 09:42: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-05 09:42:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":231374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":231374,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":231374,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226069760001,"66":14548,"16":39428465497210880,"94":11008,"24":10,"45":947374432997593088},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-05 09:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226069760001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39428465497210880,"km_value":39428465497210.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:42:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 09:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":947374432997593088,"description":"Unknown IO ID 45"} 
[2026-11-05 09:42:00] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459226069760001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":10,"unknown_45":947374432997593088}} 
[2026-11-05 09:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":231374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62194,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:42:00] local.INFO: GPS data processed {"connection_id":231374,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:42:00] local.INFO: Acknowledgment sent {"connection_id":231374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:42:04] local.INFO: TCP Data received {"connection_id":229550,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:42:04] local.INFO: Processing buffer {"connection_id":229550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:42:04] local.INFO: IMEI packet received {"connection_id":229550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":229550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:42:07] local.INFO: TCP Data received {"connection_id":231374,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e6f928012d0d240007042d800013016426..."} 
[2026-11-05 09:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e6f928012d0d240007042d800013016426..."} 
[2026-11-05 09:42:07] local.INFO: Processing buffer {"connection_id":231374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e6f928012d0d240007042d800013016426..."} 
[2026-11-05 09:42:07] local.INFO: Packet analysis {"connection_id":231374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e6"} 
[2026-11-05 09:42:07] local.INFO: Extracted packet for processing {"connection_id":231374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e6"} 
[2026-11-05 09:42:07] local.INFO: GPS Element Parsed {"raw_longitude":755835904,"raw_latitude":117714304,"longitude_deg":75.5835904,"latitude_deg":11.7714304,"altitude":19,"angle":356,"satellites":38,"speed":14,"hex_longitude":"2d0d2400","hex_latitude":"07042d80","is_valid_coordinates":true} 
[2026-11-05 09:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226071296001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39428602936164352,"note":"Value kept but may cause issues"} 
[2026-11-05 09:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947374432998025216,"note":"Value kept but may cause issues"} 
[2026-11-05 09:42:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 09:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1793851849000,"timestamp_ms":1793851849000,"timestamp_seconds":1793851849,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e6f928"} 
[2026-11-05 09:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-05 09:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-05 09:42:07] 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-05 09:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":231374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":231374,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":231374,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226071296001,"66":14407,"16":39428602936164352,"94":11008,"24":14,"45":947374432998025216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-05 09:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226071296001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39428602936164352,"km_value":39428602936164.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:42:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 09:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":947374432998025216,"description":"Unknown IO ID 45"} 
[2026-11-05 09:42:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459226071296001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":14,"unknown_45":947374432998025216}} 
[2026-11-05 09:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":231374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62195,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:42:08] local.INFO: GPS data processed {"connection_id":231374,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:42:08] local.INFO: Acknowledgment sent {"connection_id":231374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:42:09] local.INFO: TCP Data received {"connection_id":229550,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:42:09] local.INFO: Processing buffer {"connection_id":229550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:42:09] local.INFO: IMEI packet received {"connection_id":229550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":229550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:42:10] local.INFO: TCP Data received {"connection_id":229550,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e71c50012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e71c50012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:42:10] local.INFO: Processing buffer {"connection_id":229550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e71c50012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:42:10] local.INFO: Packet analysis {"connection_id":229550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e7"} 
[2026-11-05 09:42:10] local.INFO: Extracted packet for processing {"connection_id":229550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e7"} 
[2026-11-05 09:42:10] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":47,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225998592001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515785216,"note":"Value kept but may cause issues"} 
[2026-11-05 09:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793851858000,"timestamp_ms":1793851858000,"timestamp_seconds":1793851858,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e71c50"} 
[2026-11-05 09:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-11-05 09:42:10] 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-05 09:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:42:10] 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-05 09:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225998592001,"66":25756,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199376319515785216},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225998592001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:42:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515785216,"description":"Unknown IO ID 45"} 
[2026-11-05 09:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225998592001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515785216}} 
[2026-11-05 09:42:10] 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":62196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:42:10] local.INFO: GPS data processed {"connection_id":229550,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:42:10] local.INFO: Acknowledgment sent {"connection_id":229550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:42:41] local.INFO: TCP Data received {"connection_id":229550,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e71c50012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e71c50012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:42:41] local.INFO: Processing buffer {"connection_id":229550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e71c50012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:42:41] local.INFO: Packet analysis {"connection_id":229550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e7"} 
[2026-11-05 09:42:41] local.INFO: Extracted packet for processing {"connection_id":229550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e7"} 
[2026-11-05 09:42:41] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":47,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225998592001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515785216,"note":"Value kept but may cause issues"} 
[2026-11-05 09:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793851858000,"timestamp_ms":1793851858000,"timestamp_seconds":1793851858,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e71c50"} 
[2026-11-05 09:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-11-05 09:42:41] 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-05 09:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:42: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-05 09:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225998592001,"66":25756,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199376319515785216},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225998592001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:42:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:42:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515785216,"description":"Unknown IO ID 45"} 
[2026-11-05 09:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225998592001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515785216}} 
[2026-11-05 09:42:41] 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":62197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:42:41] local.INFO: GPS data processed {"connection_id":229550,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:42:41] local.INFO: Acknowledgment sent {"connection_id":229550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:42:49] local.INFO: TCP Data received {"connection_id":233277,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233277,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:42:49] local.INFO: Processing buffer {"connection_id":233277,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:42:49] local.INFO: IMEI packet received {"connection_id":233277,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":233277,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:42:49] local.INFO: TCP Data received {"connection_id":233277,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233277,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:42:49] local.INFO: Processing buffer {"connection_id":233277,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:42:49] local.INFO: IMEI packet received {"connection_id":233277,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":233277,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:42:50] local.INFO: TCP Data received {"connection_id":233277,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233277,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:42:50] local.INFO: Processing buffer {"connection_id":233277,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:42:50] local.INFO: IMEI packet received {"connection_id":233277,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":233277,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:42:54] local.INFO: TCP Data received {"connection_id":233277,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233277,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:42:54] local.INFO: Processing buffer {"connection_id":233277,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:42:54] local.INFO: IMEI packet received {"connection_id":233277,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":233277,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:42:56] local.INFO: TCP Data received {"connection_id":233277,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e83978012d0d3a00070492a8001a016525..."} 
[2026-11-05 09:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e83978012d0d3a00070492a8001a016525..."} 
[2026-11-05 09:42:56] local.INFO: Processing buffer {"connection_id":233277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e83978012d0d3a00070492a8001a016525..."} 
[2026-11-05 09:42:56] local.INFO: Packet analysis {"connection_id":233277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e8"} 
[2026-11-05 09:42:56] local.INFO: Extracted packet for processing {"connection_id":233277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e8"} 
[2026-11-05 09:42:56] local.INFO: GPS Element Parsed {"raw_longitude":755841536,"raw_latitude":117740200,"longitude_deg":75.5841536,"latitude_deg":11.77402,"altitude":26,"angle":357,"satellites":37,"speed":15,"hex_longitude":"2d0d3a00","hex_latitude":"070492a8","is_valid_coordinates":true} 
[2026-11-05 09:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226094080001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39429904311255040,"note":"Value kept but may cause issues"} 
[2026-11-05 09:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953074301283663872,"note":"Value kept but may cause issues"} 
[2026-11-05 09:42:56] 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-05 09:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793851931000,"timestamp_ms":1793851931000,"timestamp_seconds":1793851931,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e83978"} 
[2026-11-05 09:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 09:42:56] 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-05 09:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":233277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":233277,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":233277,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226094080001,"66":14396,"16":39429904311255040,"94":11008,"24":15,"45":953074301283663872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-05 09:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226094080001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39429904311255040,"km_value":39429904311255.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:42:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 09:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":953074301283663872,"description":"Unknown IO ID 45"} 
[2026-11-05 09:42:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459226094080001,"power":14396,"odometer":null,"unknown_94":11008,"ignition":15,"unknown_45":953074301283663872}} 
[2026-11-05 09:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":233277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62198,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:42:57] local.INFO: GPS data processed {"connection_id":233277,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:42:57] local.INFO: Acknowledgment sent {"connection_id":233277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:43:04] local.INFO: TCP Data received {"connection_id":231375,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:43:04] local.INFO: Processing buffer {"connection_id":231375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:43:04] local.INFO: IMEI packet received {"connection_id":231375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":231375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:43:09] local.INFO: TCP Data received {"connection_id":231375,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:43:09] local.INFO: Processing buffer {"connection_id":231375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:43:09] local.INFO: IMEI packet received {"connection_id":231375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":231375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:43:10] local.INFO: TCP Data received {"connection_id":231375,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e71c50012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e71c50012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:43:10] local.INFO: Processing buffer {"connection_id":231375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e71c50012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:43:10] local.INFO: Packet analysis {"connection_id":231375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e7"} 
[2026-11-05 09:43:10] local.INFO: Extracted packet for processing {"connection_id":231375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e7"} 
[2026-11-05 09:43:10] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":47,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225998592001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515785216,"note":"Value kept but may cause issues"} 
[2026-11-05 09:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793851858000,"timestamp_ms":1793851858000,"timestamp_seconds":1793851858,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e71c50"} 
[2026-11-05 09:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-11-05 09:43:10] 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-05 09:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:43:10] 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-05 09:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225998592001,"66":25756,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199376319515785216},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225998592001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:43:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:43:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515785216,"description":"Unknown IO ID 45"} 
[2026-11-05 09:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225998592001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515785216}} 
[2026-11-05 09:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":231375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:43:10] local.INFO: GPS data processed {"connection_id":231375,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:43:10] local.INFO: Acknowledgment sent {"connection_id":231375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:43:27] local.INFO: TCP Data received {"connection_id":233277,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e854d0012d0d3a0007049b20001a000b27..."} 
[2026-11-05 09:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e854d0012d0d3a0007049b20001a000b27..."} 
[2026-11-05 09:43:27] local.INFO: Processing buffer {"connection_id":233277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e854d0012d0d3a0007049b20001a000b27..."} 
[2026-11-05 09:43:27] local.INFO: Packet analysis {"connection_id":233277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e8"} 
[2026-11-05 09:43:27] local.INFO: Extracted packet for processing {"connection_id":233277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e8"} 
[2026-11-05 09:43:27] local.INFO: GPS Element Parsed {"raw_longitude":755841536,"raw_latitude":117742368,"longitude_deg":75.5841536,"latitude_deg":11.7742368,"altitude":26,"angle":11,"satellites":39,"speed":8,"hex_longitude":"2d0d3a00","hex_latitude":"07049b20","is_valid_coordinates":true} 
[2026-11-05 09:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226094336001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39430007390470144,"note":"Value kept but may cause issues"} 
[2026-11-05 09:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953074301283772416,"note":"Value kept but may cause issues"} 
[2026-11-05 09:43: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-05 09:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793851938000,"timestamp_ms":1793851938000,"timestamp_seconds":1793851938,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e854d0"} 
[2026-11-05 09:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-05 09:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:43:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":233277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":233277,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":233277,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226094336001,"66":14407,"16":39430007390470144,"94":11008,"24":8,"45":953074301283772416},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-05 09:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226094336001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39430007390470144,"km_value":39430007390470.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:43:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 09:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":953074301283772416,"description":"Unknown IO ID 45"} 
[2026-11-05 09:43:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459226094336001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":8,"unknown_45":953074301283772416}} 
[2026-11-05 09:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":233277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62200,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:43:27] local.INFO: GPS data processed {"connection_id":233277,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:43:27] local.INFO: Acknowledgment sent {"connection_id":233277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:43:41] local.INFO: TCP Data received {"connection_id":231375,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e71c50012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e71c50012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:43:41] local.INFO: Processing buffer {"connection_id":231375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e71c50012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:43:41] local.INFO: Packet analysis {"connection_id":231375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e7"} 
[2026-11-05 09:43:41] local.INFO: Extracted packet for processing {"connection_id":231375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e7"} 
[2026-11-05 09:43:41] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":47,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225998592001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515785216,"note":"Value kept but may cause issues"} 
[2026-11-05 09:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793851858000,"timestamp_ms":1793851858000,"timestamp_seconds":1793851858,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e71c50"} 
[2026-11-05 09:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-11-05 09:43:41] 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-05 09:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:43: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-05 09:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225998592001,"66":25756,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199376319515785216},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225998592001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:43:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:43:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515785216,"description":"Unknown IO ID 45"} 
[2026-11-05 09:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225998592001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515785216}} 
[2026-11-05 09:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":231375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:43:41] local.INFO: GPS data processed {"connection_id":231375,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:43:41] local.INFO: Acknowledgment sent {"connection_id":231375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:43:54] local.INFO: TCP Data received {"connection_id":229551,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229551,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:43:54] local.INFO: Processing buffer {"connection_id":229551,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:43:54] local.INFO: IMEI packet received {"connection_id":229551,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":229551,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:43:54] local.INFO: TCP Data received {"connection_id":229551,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229551,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:43:54] local.INFO: Processing buffer {"connection_id":229551,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:43:54] local.INFO: IMEI packet received {"connection_id":229551,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":229551,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:43:55] local.INFO: TCP Data received {"connection_id":229551,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229551,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:43:55] local.INFO: Processing buffer {"connection_id":229551,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:43:55] local.INFO: IMEI packet received {"connection_id":229551,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":229551,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:43:59] local.INFO: TCP Data received {"connection_id":229551,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229551,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:43:59] local.INFO: Processing buffer {"connection_id":229551,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:43:59] local.INFO: IMEI packet received {"connection_id":229551,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":229551,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:43:59] local.INFO: TCP Data received {"connection_id":229551,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e979c8012d0ccac00704bee0002200fb26..."} 
[2026-11-05 09:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e979c8012d0ccac00704bee0002200fb26..."} 
[2026-11-05 09:43:59] local.INFO: Processing buffer {"connection_id":229551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e979c8012d0ccac00704bee0002200fb26..."} 
[2026-11-05 09:43:59] local.INFO: Packet analysis {"connection_id":229551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e9"} 
[2026-11-05 09:43:59] local.INFO: Extracted packet for processing {"connection_id":229551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e9"} 
[2026-11-05 09:43:59] local.INFO: GPS Element Parsed {"raw_longitude":755813056,"raw_latitude":117751520,"longitude_deg":75.5813056,"latitude_deg":11.775152,"altitude":34,"angle":251,"satellites":38,"speed":24,"hex_longitude":"2d0ccac0","hex_latitude":"0704bee0","is_valid_coordinates":true} 
[2026-11-05 09:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226112768001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39431772622028800,"note":"Value kept but may cause issues"} 
[2026-11-05 09:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":928374872080232448,"note":"Value kept but may cause issues"} 
[2026-11-05 09:43: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-05 09:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793852013000,"timestamp_ms":1793852013000,"timestamp_seconds":1793852013,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e979c8"} 
[2026-11-05 09:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-05 09:43: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-05 09:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":229551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":229551,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":229551,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226112768001,"66":14428,"17":206,"94":11008,"24":24,"16":39431772622028800,"45":928374872080232448},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 09:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226112768001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:43:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 09:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39431772622028800,"km_value":39431772622028.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":928374872080232448,"description":"Unknown IO ID 45"} 
[2026-11-05 09:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226112768001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":928374872080232448}} 
[2026-11-05 09:44:00] 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":62202,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:44:00] local.INFO: GPS data processed {"connection_id":229551,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:44:00] local.INFO: Acknowledgment sent {"connection_id":229551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:44:04] local.INFO: TCP Data received {"connection_id":229552,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:44:04] local.INFO: Processing buffer {"connection_id":229552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:44:04] local.INFO: IMEI packet received {"connection_id":229552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":229552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:44:09] local.INFO: TCP Data received {"connection_id":229552,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:44:09] local.INFO: Processing buffer {"connection_id":229552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:44:09] local.INFO: IMEI packet received {"connection_id":229552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":229552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:44:10] local.INFO: TCP Data received {"connection_id":229552,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e71c50012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e71c50012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:44:10] local.INFO: Processing buffer {"connection_id":229552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e71c50012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:44:10] local.INFO: Packet analysis {"connection_id":229552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e7"} 
[2026-11-05 09:44:10] local.INFO: Extracted packet for processing {"connection_id":229552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e7"} 
[2026-11-05 09:44:10] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":47,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225998592001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515785216,"note":"Value kept but may cause issues"} 
[2026-11-05 09:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793851858000,"timestamp_ms":1793851858000,"timestamp_seconds":1793851858,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e71c50"} 
[2026-11-05 09:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-11-05 09:44:10] 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-05 09:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:44:10] 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-05 09:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225998592001,"66":25756,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199376319515785216},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225998592001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:44:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:44:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515785216,"description":"Unknown IO ID 45"} 
[2026-11-05 09:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225998592001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515785216}} 
[2026-11-05 09:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":229552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:44:10] local.INFO: GPS data processed {"connection_id":229552,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:44:10] local.INFO: Acknowledgment sent {"connection_id":229552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:44:27] local.INFO: TCP Data received {"connection_id":231376,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231376,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:44:27] local.INFO: Processing buffer {"connection_id":231376,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:44:27] local.INFO: IMEI packet received {"connection_id":231376,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 09:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":231376,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:44:30] local.INFO: TCP Data received {"connection_id":229551,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e98968012d0cc0400704bc280023010723..."} 
[2026-11-05 09:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e98968012d0cc0400704bc280023010723..."} 
[2026-11-05 09:44:30] local.INFO: Processing buffer {"connection_id":229551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e98968012d0cc0400704bc280023010723..."} 
[2026-11-05 09:44:30] local.INFO: Packet analysis {"connection_id":229551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e9"} 
[2026-11-05 09:44:30] local.INFO: Extracted packet for processing {"connection_id":229551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e9"} 
[2026-11-05 09:44:30] local.INFO: GPS Element Parsed {"raw_longitude":755810368,"raw_latitude":117750824,"longitude_deg":75.5810368,"latitude_deg":11.7750824,"altitude":35,"angle":263,"satellites":35,"speed":28,"hex_longitude":"2d0cc040","hex_latitude":"0704bc28","is_valid_coordinates":true} 
[2026-11-05 09:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226115328001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39431905766014976,"note":"Value kept but may cause issues"} 
[2026-11-05 09:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":921760210127609856,"note":"Value kept but may cause issues"} 
[2026-11-05 09:44:30] 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-05 09:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793852017000,"timestamp_ms":1793852017000,"timestamp_seconds":1793852017,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e98968"} 
[2026-11-05 09:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 09:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":229551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":229551,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":229551,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226115328001,"66":14428,"17":206,"94":11008,"24":28,"16":39431905766014976,"45":921760210127609856},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 09:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226115328001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:44:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 09:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39431905766014976,"km_value":39431905766014.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":921760210127609856,"description":"Unknown IO ID 45"} 
[2026-11-05 09:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226115328001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":28,"odometer":null,"unknown_45":921760210127609856}} 
[2026-11-05 09:44:31] 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":62204,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:44:31] local.INFO: GPS data processed {"connection_id":229551,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:44:31] local.INFO: Acknowledgment sent {"connection_id":229551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:44:41] local.INFO: TCP Data received {"connection_id":229552,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e71c50012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e71c50012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:44:41] local.INFO: Processing buffer {"connection_id":229552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e71c50012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:44:41] local.INFO: Packet analysis {"connection_id":229552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e7"} 
[2026-11-05 09:44:41] local.INFO: Extracted packet for processing {"connection_id":229552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e7"} 
[2026-11-05 09:44:41] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":47,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225998592001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515785216,"note":"Value kept but may cause issues"} 
[2026-11-05 09:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793851858000,"timestamp_ms":1793851858000,"timestamp_seconds":1793851858,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e71c50"} 
[2026-11-05 09: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-05 09:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-11-05 09:44:41] 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-05 09: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-05 09: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-05 09:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:44: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-05 09:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225998592001,"66":25756,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199376319515785216},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225998592001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:44:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:44:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515785216,"description":"Unknown IO ID 45"} 
[2026-11-05 09:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225998592001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515785216}} 
[2026-11-05 09:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":229552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:44:41] local.INFO: GPS data processed {"connection_id":229552,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:44:41] local.INFO: Acknowledgment sent {"connection_id":229552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:44:49] local.INFO: TCP Data received {"connection_id":231377,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231377,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:44:49] local.INFO: Processing buffer {"connection_id":231377,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:44:49] local.INFO: IMEI packet received {"connection_id":231377,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":231377,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:44:54] local.INFO: TCP Data received {"connection_id":231377,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231377,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:44:54] local.INFO: Processing buffer {"connection_id":231377,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:44:54] local.INFO: IMEI packet received {"connection_id":231377,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":231377,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:44:55] local.INFO: TCP Data received {"connection_id":231377,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e99520012d0cb9000704bbd80023011524..."} 
[2026-11-05 09:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e99520012d0cb9000704bbd80023011524..."} 
[2026-11-05 09:44:55] local.INFO: Processing buffer {"connection_id":231377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e99520012d0cb9000704bbd80023011524..."} 
[2026-11-05 09:44:55] local.INFO: Packet analysis {"connection_id":231377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e9"} 
[2026-11-05 09:44:55] local.INFO: Extracted packet for processing {"connection_id":231377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e9"} 
[2026-11-05 09:44:55] local.INFO: GPS Element Parsed {"raw_longitude":755808512,"raw_latitude":117750744,"longitude_deg":75.5808512,"latitude_deg":11.7750744,"altitude":35,"angle":277,"satellites":36,"speed":19,"hex_longitude":"2d0cb900","hex_latitude":"0704bbd8","is_valid_coordinates":true} 
[2026-11-05 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-05 09:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226116352001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39431995960328192,"note":"Value kept but may cause issues"} 
[2026-11-05 09:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":918804722871969792,"note":"Value kept but may cause issues"} 
[2026-11-05 09:44: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-05 09:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793852020000,"timestamp_ms":1793852020000,"timestamp_seconds":1793852020,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e99520"} 
[2026-11-05 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-05 09:44: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-05 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 09:44:55] 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-05 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-05 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-05 09:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231377,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231377,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226116352001,"66":14352,"17":206,"94":11008,"24":19,"16":39431995960328192,"45":918804722871969792},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 09:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226116352001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:44:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 09:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39431995960328192,"km_value":39431995960328.195,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":918804722871969792,"description":"Unknown IO ID 45"} 
[2026-11-05 09:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226116352001,"power":14352,"axis_x":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":918804722871969792}} 
[2026-11-05 09:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":231377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62206,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:44:55] local.INFO: GPS data processed {"connection_id":231377,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:44:55] local.INFO: Acknowledgment sent {"connection_id":231377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:45:04] local.INFO: TCP Data received {"connection_id":230054,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:45:04] local.INFO: Processing buffer {"connection_id":230054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:45:04] local.INFO: IMEI packet received {"connection_id":230054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":230054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:45:06] local.INFO: TCP Data received {"connection_id":229553,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229553,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:45:06] local.INFO: Processing buffer {"connection_id":229553,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:45:06] local.INFO: IMEI packet received {"connection_id":229553,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 09:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":229553,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:45:09] local.INFO: TCP Data received {"connection_id":230054,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:45:09] local.INFO: Processing buffer {"connection_id":230054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:45:09] local.INFO: IMEI packet received {"connection_id":230054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":230054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:45:10] local.INFO: TCP Data received {"connection_id":230054,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e71c50012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e71c50012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:45:10] local.INFO: Processing buffer {"connection_id":230054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e71c50012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:45:10] local.INFO: Packet analysis {"connection_id":230054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e7"} 
[2026-11-05 09:45:10] local.INFO: Extracted packet for processing {"connection_id":230054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e7"} 
[2026-11-05 09:45:10] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":47,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225998592001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515785216,"note":"Value kept but may cause issues"} 
[2026-11-05 09:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793851858000,"timestamp_ms":1793851858000,"timestamp_seconds":1793851858,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e71c50"} 
[2026-11-05 09:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-11-05 09:45:10] 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-05 09:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:45:10] 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-05 09:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225998592001,"66":25756,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199376319515785216},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225998592001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:45:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:45:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515785216,"description":"Unknown IO ID 45"} 
[2026-11-05 09:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225998592001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515785216}} 
[2026-11-05 09:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":230054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:45:10] local.INFO: GPS data processed {"connection_id":230054,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:45:10] local.INFO: Acknowledgment sent {"connection_id":230054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:45:26] local.INFO: TCP Data received {"connection_id":231377,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ead570012d0ca2c00704a560001f008626..."} 
[2026-11-05 09:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ead570012d0ca2c00704a560001f008626..."} 
[2026-11-05 09:45:26] local.INFO: Processing buffer {"connection_id":231377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ead570012d0ca2c00704a560001f008626..."} 
[2026-11-05 09:45:26] local.INFO: Packet analysis {"connection_id":231377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ea"} 
[2026-11-05 09:45:26] local.INFO: Extracted packet for processing {"connection_id":231377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ea"} 
[2026-11-05 09:45:26] local.INFO: GPS Element Parsed {"raw_longitude":755802816,"raw_latitude":117744992,"longitude_deg":75.5802816,"latitude_deg":11.7744992,"altitude":31,"angle":134,"satellites":38,"speed":3,"hex_longitude":"2d0ca2c0","hex_latitude":"0704a560","is_valid_coordinates":true} 
[2026-11-05 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-05 09:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226137344001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39433095471955968,"note":"Value kept but may cause issues"} 
[2026-11-05 09:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910290104825034752,"note":"Value kept but may cause issues"} 
[2026-11-05 09:45:26] 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-05 09:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793852102000,"timestamp_ms":1793852102000,"timestamp_seconds":1793852102,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ead570"} 
[2026-11-05 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-05 09: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-05 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 09:45:26] 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-05 09:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 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-05 09:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231377,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231377,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226137344001,"66":14537,"95":206,"94":10240,"24":3,"16":39433095471955968,"45":910290104825034752},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-11-05 09:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226137344001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:45:26] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-11-05 09:45:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39433095471955968,"km_value":39433095471955.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":910290104825034752,"description":"Unknown IO ID 45"} 
[2026-11-05 09:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226137344001,"power":14537,"unknown_95":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":910290104825034752}} 
[2026-11-05 09:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":231377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62208,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:45:26] local.INFO: GPS data processed {"connection_id":231377,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:45:26] local.INFO: Acknowledgment sent {"connection_id":231377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:45:43] local.INFO: TCP Data received {"connection_id":230054,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e71c50012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e71c50012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:45:43] local.INFO: Processing buffer {"connection_id":230054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e71c50012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:45:43] local.INFO: Packet analysis {"connection_id":230054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e7"} 
[2026-11-05 09:45:43] local.INFO: Extracted packet for processing {"connection_id":230054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e7"} 
[2026-11-05 09:45:43] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":47,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225998592001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515785216,"note":"Value kept but may cause issues"} 
[2026-11-05 09:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793851858000,"timestamp_ms":1793851858000,"timestamp_seconds":1793851858,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e71c50"} 
[2026-11-05 09: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-05 09: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-05 09: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-11-05 09:45:43] 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-05 09: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-05 09: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-05 09:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":230054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":230054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":230054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:45: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-05 09:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225998592001,"66":25756,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199376319515785216},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225998592001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:45:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:45:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515785216,"description":"Unknown IO ID 45"} 
[2026-11-05 09:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225998592001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515785216}} 
[2026-11-05 09:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":230054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:45:43] local.INFO: GPS data processed {"connection_id":230054,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:45:43] local.INFO: Acknowledgment sent {"connection_id":230054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:45:49] local.INFO: TCP Data received {"connection_id":231378,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231378,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:45:49] local.INFO: Processing buffer {"connection_id":231378,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:45:49] local.INFO: IMEI packet received {"connection_id":231378,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":231378,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:45:55] local.INFO: TCP Data received {"connection_id":231378,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231378,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:45:55] local.INFO: Processing buffer {"connection_id":231378,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:45:55] local.INFO: IMEI packet received {"connection_id":231378,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":231378,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:45:56] local.INFO: TCP Data received {"connection_id":231378,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9eaece0012d0ca3c00704a498001f007826..."} 
[2026-11-05 09:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9eaece0012d0ca3c00704a498001f007826..."} 
[2026-11-05 09:45:56] local.INFO: Processing buffer {"connection_id":231378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9eaece0012d0ca3c00704a498001f007826..."} 
[2026-11-05 09:45:56] local.INFO: Packet analysis {"connection_id":231378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ea"} 
[2026-11-05 09:45:56] local.INFO: Extracted packet for processing {"connection_id":231378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ea"} 
[2026-11-05 09:45:56] local.INFO: GPS Element Parsed {"raw_longitude":755803072,"raw_latitude":117744792,"longitude_deg":75.5803072,"latitude_deg":11.7744792,"altitude":31,"angle":120,"satellites":38,"speed":0,"hex_longitude":"2d0ca3c0","hex_latitude":"0704a498","is_valid_coordinates":true} 
[2026-11-05 09:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226138112001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39433112651825152,"note":"Value kept but may cause issues"} 
[2026-11-05 09:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910501211057512448,"note":"Value kept but may cause issues"} 
[2026-11-05 09:45:56] 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-05 09:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793852108000,"timestamp_ms":1793852108000,"timestamp_seconds":1793852108,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9eaece0"} 
[2026-11-05 09:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-05 09:45:56] 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-05 09:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":231378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":231378,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":231378,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226138112001,"66":14548,"95":206,"94":10240,"24":0,"16":39433112651825152,"45":910501211057512448},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-11-05 09:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226138112001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:45:56] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-11-05 09:45:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39433112651825152,"km_value":39433112651825.15,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":910501211057512448,"description":"Unknown IO ID 45"} 
[2026-11-05 09:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226138112001,"power":14548,"unknown_95":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":910501211057512448}} 
[2026-11-05 09:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":231378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62210,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:45:56] local.INFO: GPS data processed {"connection_id":231378,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:45:56] local.INFO: Acknowledgment sent {"connection_id":231378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:46:09] local.INFO: TCP Data received {"connection_id":233278,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:46:09] local.INFO: Processing buffer {"connection_id":233278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:46:09] local.INFO: IMEI packet received {"connection_id":233278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":233278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:46:14] local.INFO: TCP Data received {"connection_id":233278,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:46:14] local.INFO: Processing buffer {"connection_id":233278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:46:14] local.INFO: IMEI packet received {"connection_id":233278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":233278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:46:15] local.INFO: TCP Data received {"connection_id":233278,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9e71c50012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9e71c50012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:46:15] local.INFO: Processing buffer {"connection_id":233278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9e71c50012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:46:15] local.INFO: Packet analysis {"connection_id":233278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9e7"} 
[2026-11-05 09:46:15] local.INFO: Extracted packet for processing {"connection_id":233278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9e7"} 
[2026-11-05 09:46:15] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":47,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225998592001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515785216,"note":"Value kept but may cause issues"} 
[2026-11-05 09:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793851858000,"timestamp_ms":1793851858000,"timestamp_seconds":1793851858,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9e71c50"} 
[2026-11-05 09:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:46: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-05 09:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-11-05 09:46:15] 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-05 09:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:46:15] 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-05 09:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225998592001,"66":25756,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199376319515785216},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225998592001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:46:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:46:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515785216,"description":"Unknown IO ID 45"} 
[2026-11-05 09:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225998592001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515785216}} 
[2026-11-05 09:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":233278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:46:15] local.INFO: GPS data processed {"connection_id":233278,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:46:15] local.INFO: Acknowledgment sent {"connection_id":233278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:46:26] local.INFO: TCP Data received {"connection_id":231378,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9eb0068012d0ca4400704a3d8001f008f25..."} 
[2026-11-05 09:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9eb0068012d0ca4400704a3d8001f008f25..."} 
[2026-11-05 09:46:26] local.INFO: Processing buffer {"connection_id":231378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9eb0068012d0ca4400704a3d8001f008f25..."} 
[2026-11-05 09:46:26] local.INFO: Packet analysis {"connection_id":231378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9eb"} 
[2026-11-05 09:46:26] local.INFO: Extracted packet for processing {"connection_id":231378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9eb"} 
[2026-11-05 09:46:26] local.INFO: GPS Element Parsed {"raw_longitude":755803200,"raw_latitude":117744600,"longitude_deg":75.58032,"latitude_deg":11.77446,"altitude":31,"angle":143,"satellites":37,"speed":2,"hex_longitude":"2d0ca440","hex_latitude":"0704a3d8","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226139648001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39433121241759744,"note":"Value kept but may cause issues"} 
[2026-11-05 09:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910782686034171904,"note":"Value kept but may cause issues"} 
[2026-11-05 09:46:26] 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-05 09:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793852113000,"timestamp_ms":1793852113000,"timestamp_seconds":1793852113,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9eb0068"} 
[2026-11-05 09: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-05 09:46: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-05 09: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-05 09:46:26] 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-05 09: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-05 09: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-05 09:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231378,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231378,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226139648001,"66":14439,"95":206,"94":10240,"24":2,"16":39433121241759744,"45":910782686034171904},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-11-05 09:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226139648001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:46:26] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-11-05 09:46:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 09:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39433121241759744,"km_value":39433121241759.74,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":910782686034171904,"description":"Unknown IO ID 45"} 
[2026-11-05 09:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226139648001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":910782686034171904}} 
[2026-11-05 09:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":231378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62212,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:46:27] local.INFO: GPS data processed {"connection_id":231378,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:46:27] local.INFO: Acknowledgment sent {"connection_id":231378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:46:46] local.INFO: TCP Data received {"connection_id":233278,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:46:46] local.INFO: Processing buffer {"connection_id":233278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:46:46] local.INFO: Packet analysis {"connection_id":233278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9eb"} 
[2026-11-05 09:46:46] local.INFO: Extracted packet for processing {"connection_id":233278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9eb"} 
[2026-11-05 09:46:46] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":47,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226075648001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 09:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793852159000,"timestamp_ms":1793852159000,"timestamp_seconds":1793852159,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ebb418"} 
[2026-11-05 09:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:46: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-05 09:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 09:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":233278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":233278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":233278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:46: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-05 09:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226075648001,"66":25647,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226075648001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:46:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:46:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 09:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226075648001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 09:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":233278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:46:46] local.INFO: GPS data processed {"connection_id":233278,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:46:46] local.INFO: Acknowledgment sent {"connection_id":233278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:46:54] local.INFO: TCP Data received {"connection_id":230055,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230055,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:46:54] local.INFO: Processing buffer {"connection_id":230055,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:46:54] local.INFO: IMEI packet received {"connection_id":230055,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":230055,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:46:59] local.INFO: TCP Data received {"connection_id":230055,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230055,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:46:59] local.INFO: Processing buffer {"connection_id":230055,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:46:59] local.INFO: IMEI packet received {"connection_id":230055,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":230055,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:47:00] local.INFO: TCP Data received {"connection_id":230055,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ec5c10012d0c55000703e2380017006d20..."} 
[2026-11-05 09:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ec5c10012d0c55000703e2380017006d20..."} 
[2026-11-05 09:47:00] local.INFO: Processing buffer {"connection_id":230055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ec5c10012d0c55000703e2380017006d20..."} 
[2026-11-05 09:47:00] local.INFO: Packet analysis {"connection_id":230055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ec"} 
[2026-11-05 09:47:00] local.INFO: Extracted packet for processing {"connection_id":230055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ec"} 
[2026-11-05 09:47:00] local.INFO: GPS Element Parsed {"raw_longitude":755782912,"raw_latitude":117695032,"longitude_deg":75.5782912,"latitude_deg":11.7695032,"altitude":23,"angle":109,"satellites":32,"speed":2,"hex_longitude":"2d0c5500","hex_latitude":"0703e238","is_valid_coordinates":true} 
[2026-11-05 09:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226158592001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39436123423899648,"note":"Value kept but may cause issues"} 
[2026-11-05 09:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888405425373030400,"note":"Value kept but may cause issues"} 
[2026-11-05 09:47:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 09:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793852202000,"timestamp_ms":1793852202000,"timestamp_seconds":1793852202,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ec5c10"} 
[2026-11-05 09:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:47: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-05 09:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-05 09:47:00] 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-05 09:47:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":230055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":230055,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":230055,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226158592001,"66":14450,"16":39436123423899648,"94":11008,"24":2,"45":888405425373030400},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-05 09:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226158592001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39436123423899648,"km_value":39436123423899.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:47:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 09:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":888405425373030400,"description":"Unknown IO ID 45"} 
[2026-11-05 09:47:00] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459226158592001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":2,"unknown_45":888405425373030400}} 
[2026-11-05 09:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":230055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62214,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:47:00] local.INFO: GPS data processed {"connection_id":230055,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:47:00] local.INFO: Acknowledgment sent {"connection_id":230055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:47:04] local.INFO: TCP Data received {"connection_id":231380,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:47:04] local.INFO: Processing buffer {"connection_id":231380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:47:04] local.INFO: IMEI packet received {"connection_id":231380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":231380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:47:04] local.INFO: TCP Data received {"connection_id":230055,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ec5c10012d0c55000703e2380017006d20..."} 
[2026-11-05 09:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ec5c10012d0c55000703e2380017006d20..."} 
[2026-11-05 09:47:04] local.INFO: Processing buffer {"connection_id":230055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ec5c10012d0c55000703e2380017006d20..."} 
[2026-11-05 09:47:04] local.INFO: Packet analysis {"connection_id":230055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ec"} 
[2026-11-05 09:47:04] local.INFO: Extracted packet for processing {"connection_id":230055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ec"} 
[2026-11-05 09:47:04] local.INFO: GPS Element Parsed {"raw_longitude":755782912,"raw_latitude":117695032,"longitude_deg":75.5782912,"latitude_deg":11.7695032,"altitude":23,"angle":109,"satellites":32,"speed":2,"hex_longitude":"2d0c5500","hex_latitude":"0703e238","is_valid_coordinates":true} 
[2026-11-05 09:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226163712001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39436123423899648,"note":"Value kept but may cause issues"} 
[2026-11-05 09:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888616531605469184,"note":"Value kept but may cause issues"} 
[2026-11-05 09:47:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 09:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793852202000,"timestamp_ms":1793852202000,"timestamp_seconds":1793852202,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ec5c10"} 
[2026-11-05 09:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:47: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-05 09:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-05 09:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":230055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":230055,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":230055,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226163712001,"66":14450,"16":39436123423899648,"94":11008,"24":2,"45":888616531605469184},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-05 09:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226163712001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39436123423899648,"km_value":39436123423899.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:47:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 09:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":888616531605469184,"description":"Unknown IO ID 45"} 
[2026-11-05 09:47:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459226163712001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":2,"unknown_45":888616531605469184}} 
[2026-11-05 09:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":230055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62215,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:47:04] local.INFO: GPS data processed {"connection_id":230055,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:47:04] local.INFO: Acknowledgment sent {"connection_id":230055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:47:09] local.INFO: TCP Data received {"connection_id":231380,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:47:09] local.INFO: Processing buffer {"connection_id":231380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:47:09] local.INFO: IMEI packet received {"connection_id":231380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":231380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:47:10] local.INFO: TCP Data received {"connection_id":231380,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:47:10] local.INFO: Processing buffer {"connection_id":231380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:47:10] local.INFO: Packet analysis {"connection_id":231380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9eb"} 
[2026-11-05 09:47:10] local.INFO: Extracted packet for processing {"connection_id":231380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9eb"} 
[2026-11-05 09:47:10] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":47,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226075648001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 09:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793852159000,"timestamp_ms":1793852159000,"timestamp_seconds":1793852159,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ebb418"} 
[2026-11-05 09:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 09:47:10] 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-05 09:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:47:10] 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-05 09:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226075648001,"66":25647,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226075648001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:47:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:47:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 09:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226075648001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 09:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":231380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:47:10] local.INFO: GPS data processed {"connection_id":231380,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:47:10] local.INFO: Acknowledgment sent {"connection_id":231380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:47:41] local.INFO: TCP Data received {"connection_id":231380,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:47:41] local.INFO: Processing buffer {"connection_id":231380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:47:41] local.INFO: Packet analysis {"connection_id":231380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9eb"} 
[2026-11-05 09:47:41] local.INFO: Extracted packet for processing {"connection_id":231380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9eb"} 
[2026-11-05 09:47:41] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":47,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226075648001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 09:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793852159000,"timestamp_ms":1793852159000,"timestamp_seconds":1793852159,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ebb418"} 
[2026-11-05 09:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 09:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:47: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-05 09:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226075648001,"66":25647,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226075648001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:47:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:47:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 09:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226075648001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 09:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":231380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:47:41] local.INFO: GPS data processed {"connection_id":231380,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:47:41] local.INFO: Acknowledgment sent {"connection_id":231380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:47:49] local.INFO: TCP Data received {"connection_id":230056,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230056,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:47:49] local.INFO: Processing buffer {"connection_id":230056,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:47:49] local.INFO: IMEI packet received {"connection_id":230056,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":230056,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:47:49] local.INFO: TCP Data received {"connection_id":230056,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230056,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:47:49] local.INFO: Processing buffer {"connection_id":230056,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:47:49] local.INFO: IMEI packet received {"connection_id":230056,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":230056,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:47:54] local.INFO: TCP Data received {"connection_id":230056,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230056,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:47:54] local.INFO: Processing buffer {"connection_id":230056,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:47:54] local.INFO: IMEI packet received {"connection_id":230056,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":230056,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:47:55] local.INFO: TCP Data received {"connection_id":230056,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ec5ff8012d0c55c00703e2300017006020..."} 
[2026-11-05 09:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ec5ff8012d0c55c00703e2300017006020..."} 
[2026-11-05 09:47:55] local.INFO: Processing buffer {"connection_id":230056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ec5ff8012d0c55c00703e2300017006020..."} 
[2026-11-05 09:47:55] local.INFO: Packet analysis {"connection_id":230056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ec"} 
[2026-11-05 09:47:55] local.INFO: Extracted packet for processing {"connection_id":230056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ec"} 
[2026-11-05 09:47:55] local.INFO: GPS Element Parsed {"raw_longitude":755783104,"raw_latitude":117695024,"longitude_deg":75.5783104,"latitude_deg":11.7695024,"altitude":23,"angle":96,"satellites":32,"speed":3,"hex_longitude":"2d0c55c0","hex_latitude":"0703e230","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226163712001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39436132013834240,"note":"Value kept but may cause issues"} 
[2026-11-05 09:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888616531605469184,"note":"Value kept but may cause issues"} 
[2026-11-05 09:47:55] 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-05 09:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793852203000,"timestamp_ms":1793852203000,"timestamp_seconds":1793852203,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ec5ff8"} 
[2026-11-05 09: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-05 09:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-05 09:47: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-05 09: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-05 09: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-05 09:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230056,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230056,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226163712001,"66":14450,"16":39436132013834240,"94":11008,"24":3,"45":888616531605469184},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-05 09:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226163712001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39436132013834240,"km_value":39436132013834.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:47:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 09:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":888616531605469184,"description":"Unknown IO ID 45"} 
[2026-11-05 09:47:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459226163712001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":3,"unknown_45":888616531605469184}} 
[2026-11-05 09:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":230056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62218,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:47:55] local.INFO: GPS data processed {"connection_id":230056,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:47:55] local.INFO: Acknowledgment sent {"connection_id":230056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:48:04] local.INFO: TCP Data received {"connection_id":229554,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:48:04] local.INFO: Processing buffer {"connection_id":229554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:48:04] local.INFO: IMEI packet received {"connection_id":229554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":229554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:48:09] local.INFO: TCP Data received {"connection_id":229554,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:48:09] local.INFO: Processing buffer {"connection_id":229554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:48:09] local.INFO: IMEI packet received {"connection_id":229554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":229554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:48:10] local.INFO: TCP Data received {"connection_id":229554,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:48:10] local.INFO: Processing buffer {"connection_id":229554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:48:10] local.INFO: Packet analysis {"connection_id":229554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9eb"} 
[2026-11-05 09:48:10] local.INFO: Extracted packet for processing {"connection_id":229554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9eb"} 
[2026-11-05 09:48:10] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":47,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226075648001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 09:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793852159000,"timestamp_ms":1793852159000,"timestamp_seconds":1793852159,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ebb418"} 
[2026-11-05 09:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 09:48:10] 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-05 09:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:48:10] 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-05 09:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226075648001,"66":25647,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226075648001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:48:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:48:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 09:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226075648001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 09:48:10] 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":62219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:48:10] local.INFO: GPS data processed {"connection_id":229554,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:48:10] local.INFO: Acknowledgment sent {"connection_id":229554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:48:26] local.INFO: TCP Data received {"connection_id":230056,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9eda818012d0c6400070395b0001f00dd23..."} 
[2026-11-05 09:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9eda818012d0c6400070395b0001f00dd23..."} 
[2026-11-05 09:48:26] local.INFO: Processing buffer {"connection_id":230056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9eda818012d0c6400070395b0001f00dd23..."} 
[2026-11-05 09:48:26] local.INFO: Packet analysis {"connection_id":230056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ed"} 
[2026-11-05 09:48:26] local.INFO: Extracted packet for processing {"connection_id":230056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ed"} 
[2026-11-05 09:48:26] local.INFO: GPS Element Parsed {"raw_longitude":755786752,"raw_latitude":117675440,"longitude_deg":75.5786752,"latitude_deg":11.767544,"altitude":31,"angle":221,"satellites":35,"speed":3,"hex_longitude":"2d0c6400","hex_latitude":"070395b0","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226180352001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39437368964415488,"note":"Value kept but may cause issues"} 
[2026-11-05 09:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892838656251207680,"note":"Value kept but may cause issues"} 
[2026-11-05 09:48:26] 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-05 09:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793852287000,"timestamp_ms":1793852287000,"timestamp_seconds":1793852287,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9eda818"} 
[2026-11-05 09: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-05 09:48: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-05 09: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-11-05 09:48:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09: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-05 09: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-05 09:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230056,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230056,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:48:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226180352001,"66":14428,"16":39437368964415488,"94":11008,"24":3,"45":892838656251207680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-05 09:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226180352001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39437368964415488,"km_value":39437368964415.484,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:48:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 09:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":892838656251207680,"description":"Unknown IO ID 45"} 
[2026-11-05 09:48:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459226180352001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":3,"unknown_45":892838656251207680}} 
[2026-11-05 09:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":230056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62220,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:48:26] local.INFO: GPS data processed {"connection_id":230056,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:48:26] local.INFO: Acknowledgment sent {"connection_id":230056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:48:41] local.INFO: TCP Data received {"connection_id":229554,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:48:41] local.INFO: Processing buffer {"connection_id":229554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:48:41] local.INFO: Packet analysis {"connection_id":229554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9eb"} 
[2026-11-05 09:48:41] local.INFO: Extracted packet for processing {"connection_id":229554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9eb"} 
[2026-11-05 09:48:41] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":47,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226075648001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 09:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793852159000,"timestamp_ms":1793852159000,"timestamp_seconds":1793852159,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ebb418"} 
[2026-11-05 09:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 09:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:48: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-05 09:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226075648001,"66":25647,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226075648001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:48:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:48:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 09:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226075648001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 09:48:41] 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":62221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:48:41] local.INFO: GPS data processed {"connection_id":229554,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:48:41] local.INFO: Acknowledgment sent {"connection_id":229554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:48:49] local.INFO: TCP Data received {"connection_id":233280,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233280,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:48:49] local.INFO: Processing buffer {"connection_id":233280,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:48:49] local.INFO: IMEI packet received {"connection_id":233280,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":233280,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:48:52] local.INFO: TCP Data received {"connection_id":233280,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233280,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:48:52] local.INFO: Processing buffer {"connection_id":233280,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:48:52] local.INFO: IMEI packet received {"connection_id":233280,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":233280,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:48:54] local.INFO: TCP Data received {"connection_id":233280,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9edafe8012d0c6340070393f0001f00c224..."} 
[2026-11-05 09:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9edafe8012d0c6340070393f0001f00c224..."} 
[2026-11-05 09:48:54] local.INFO: Processing buffer {"connection_id":233280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9edafe8012d0c6340070393f0001f00c224..."} 
[2026-11-05 09:48:54] local.INFO: Packet analysis {"connection_id":233280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ed"} 
[2026-11-05 09:48:54] local.INFO: Extracted packet for processing {"connection_id":233280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ed"} 
[2026-11-05 09:48:54] local.INFO: GPS Element Parsed {"raw_longitude":755786560,"raw_latitude":117674992,"longitude_deg":75.578656,"latitude_deg":11.7674992,"altitude":31,"angle":194,"satellites":36,"speed":11,"hex_longitude":"2d0c6340","hex_latitude":"070393f0","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226185472001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39437390439251968,"note":"Value kept but may cause issues"} 
[2026-11-05 09:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892838656251113472,"note":"Value kept but may cause issues"} 
[2026-11-05 09:48:54] 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-05 09:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793852289000,"timestamp_ms":1793852289000,"timestamp_seconds":1793852289,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9edafe8"} 
[2026-11-05 09: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-05 09:48: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-05 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 09:48:54] 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-05 09: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-05 09: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-05 09:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":233280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":233280,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":233280,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226185472001,"66":14559,"16":39437390439251968,"94":11008,"24":11,"45":892838656251113472},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-05 09:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226185472001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39437390439251968,"km_value":39437390439251.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:48:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 09:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":892838656251113472,"description":"Unknown IO ID 45"} 
[2026-11-05 09:48:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459226185472001,"power":14559,"odometer":null,"unknown_94":11008,"ignition":11,"unknown_45":892838656251113472}} 
[2026-11-05 09:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":233280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62222,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:48:54] local.INFO: GPS data processed {"connection_id":233280,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:48:54] local.INFO: Acknowledgment sent {"connection_id":233280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:49:06] local.INFO: TCP Data received {"connection_id":230057,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:49:06] local.INFO: Processing buffer {"connection_id":230057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:49:06] local.INFO: IMEI packet received {"connection_id":230057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":230057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:49:09] local.INFO: TCP Data received {"connection_id":230057,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:49:09] local.INFO: Processing buffer {"connection_id":230057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:49:09] local.INFO: IMEI packet received {"connection_id":230057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":230057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:49:10] local.INFO: TCP Data received {"connection_id":230057,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:49:10] local.INFO: Processing buffer {"connection_id":230057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:49:10] local.INFO: Packet analysis {"connection_id":230057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9eb"} 
[2026-11-05 09:49:10] local.INFO: Extracted packet for processing {"connection_id":230057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9eb"} 
[2026-11-05 09:49:10] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":47,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226075648001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 09:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793852159000,"timestamp_ms":1793852159000,"timestamp_seconds":1793852159,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ebb418"} 
[2026-11-05 09:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 09:49:10] 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-05 09:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:49:10] 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-05 09:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226075648001,"66":25647,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226075648001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:49:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 09:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226075648001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 09:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":230057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:49:10] local.INFO: GPS data processed {"connection_id":230057,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:49:10] local.INFO: Acknowledgment sent {"connection_id":230057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:49:26] local.INFO: TCP Data received {"connection_id":233280,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9edbba0012d0c630007038f40001f00b524..."} 
[2026-11-05 09:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9edbba0012d0c630007038f40001f00b524..."} 
[2026-11-05 09:49:26] local.INFO: Processing buffer {"connection_id":233280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9edbba0012d0c630007038f40001f00b524..."} 
[2026-11-05 09:49:26] local.INFO: Packet analysis {"connection_id":233280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ed"} 
[2026-11-05 09:49:26] local.INFO: Extracted packet for processing {"connection_id":233280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ed"} 
[2026-11-05 09:49:26] local.INFO: GPS Element Parsed {"raw_longitude":755786496,"raw_latitude":117673792,"longitude_deg":75.5786496,"latitude_deg":11.7673792,"altitude":31,"angle":181,"satellites":36,"speed":19,"hex_longitude":"2d0c6300","hex_latitude":"07038f40","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226185984001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39437450568794112,"note":"Value kept but may cause issues"} 
[2026-11-05 09:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892627550018465792,"note":"Value kept but may cause issues"} 
[2026-11-05 09:49:26] 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-05 09:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793852292000,"timestamp_ms":1793852292000,"timestamp_seconds":1793852292,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9edbba0"} 
[2026-11-05 09: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-05 09:49: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-05 09:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-05 09:49: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-05 09: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-05 09: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-05 09:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233280,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233280,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226185984001,"66":14167,"16":39437450568794112,"94":11008,"24":19,"45":892627550018465792},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-05 09:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226185984001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39437450568794112,"km_value":39437450568794.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:49:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 09:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":892627550018465792,"description":"Unknown IO ID 45"} 
[2026-11-05 09:49:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459226185984001,"power":14167,"odometer":null,"unknown_94":11008,"ignition":19,"unknown_45":892627550018465792}} 
[2026-11-05 09:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":233280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62224,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:49:26] local.INFO: GPS data processed {"connection_id":233280,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:49:26] local.INFO: Acknowledgment sent {"connection_id":233280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:49:41] local.INFO: TCP Data received {"connection_id":230057,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:49:41] local.INFO: Processing buffer {"connection_id":230057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:49:41] local.INFO: Packet analysis {"connection_id":230057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9eb"} 
[2026-11-05 09:49:41] local.INFO: Extracted packet for processing {"connection_id":230057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9eb"} 
[2026-11-05 09:49:41] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":47,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226075648001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 09:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793852159000,"timestamp_ms":1793852159000,"timestamp_seconds":1793852159,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ebb418"} 
[2026-11-05 09:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 09:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:49: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-05 09:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226075648001,"66":25647,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226075648001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:49:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:49:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 09:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226075648001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 09:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":230057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:49:41] local.INFO: GPS data processed {"connection_id":230057,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:49:41] local.INFO: Acknowledgment sent {"connection_id":230057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:49:49] local.INFO: TCP Data received {"connection_id":229556,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229556,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:49:49] local.INFO: Processing buffer {"connection_id":229556,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:49:49] local.INFO: IMEI packet received {"connection_id":229556,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":229556,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:49:53] local.INFO: TCP Data received {"connection_id":229556,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229556,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:49:53] local.INFO: Processing buffer {"connection_id":229556,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:49:53] local.INFO: IMEI packet received {"connection_id":229556,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":229556,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:50:04] local.INFO: TCP Data received {"connection_id":231382,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:50:04] local.INFO: Processing buffer {"connection_id":231382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:50:04] local.INFO: IMEI packet received {"connection_id":231382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":231382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:50:09] local.INFO: TCP Data received {"connection_id":231382,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:50:09] local.INFO: Processing buffer {"connection_id":231382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:50:09] local.INFO: IMEI packet received {"connection_id":231382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":231382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:50:10] local.INFO: TCP Data received {"connection_id":231382,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:50:10] local.INFO: Processing buffer {"connection_id":231382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:50:10] local.INFO: Packet analysis {"connection_id":231382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9eb"} 
[2026-11-05 09:50:10] local.INFO: Extracted packet for processing {"connection_id":231382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9eb"} 
[2026-11-05 09:50:10] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":47,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226075648001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 09:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793852159000,"timestamp_ms":1793852159000,"timestamp_seconds":1793852159,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ebb418"} 
[2026-11-05 09:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 09:50:10] 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-05 09:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:50:10] 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-05 09:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226075648001,"66":25647,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226075648001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:50:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 09:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226075648001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 09:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":231382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:50:10] local.INFO: GPS data processed {"connection_id":231382,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:50:10] local.INFO: Acknowledgment sent {"connection_id":231382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:50:17] local.INFO: TCP Data received {"connection_id":229556,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ee01f0012d0c620007036fc0001d00d225..."} 
[2026-11-05 09:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ee01f0012d0c620007036fc0001d00d225..."} 
[2026-11-05 09:50:17] local.INFO: Processing buffer {"connection_id":229556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ee01f0012d0c620007036fc0001d00d225..."} 
[2026-11-05 09:50:17] local.INFO: Packet analysis {"connection_id":229556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ee"} 
[2026-11-05 09:50:17] local.INFO: Extracted packet for processing {"connection_id":229556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ee"} 
[2026-11-05 09:50:17] local.INFO: GPS Element Parsed {"raw_longitude":755786240,"raw_latitude":117665728,"longitude_deg":75.578624,"latitude_deg":11.7665728,"altitude":29,"angle":210,"satellites":37,"speed":10,"hex_longitude":"2d0c6200","hex_latitude":"07036fc0","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226186752001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39437841410818048,"note":"Value kept but may cause issues"} 
[2026-11-05 09:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892557181273980928,"note":"Value kept but may cause issues"} 
[2026-11-05 09:50:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 09:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793852310000,"timestamp_ms":1793852310000,"timestamp_seconds":1793852310,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ee01f0"} 
[2026-11-05 09: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-05 09:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09: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":55,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-11-05 09:50:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1256,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09: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-05 09: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-05 09:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229556,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229556,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226186752001,"66":14428,"16":39437841410818048,"94":11008,"24":10,"45":892557181273980928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-05 09:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226186752001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39437841410818048,"km_value":39437841410818.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:50:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 09:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":892557181273980928,"description":"Unknown IO ID 45"} 
[2026-11-05 09:50:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459226186752001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":10,"unknown_45":892557181273980928}} 
[2026-11-05 09:50:17] 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":62227,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:50:17] local.INFO: GPS data processed {"connection_id":229556,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:50:17] local.INFO: Acknowledgment sent {"connection_id":229556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:50:36] local.INFO: TCP Data received {"connection_id":231383,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:50:36] local.INFO: Processing buffer {"connection_id":231383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:50:36] local.INFO: IMEI packet received {"connection_id":231383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 09:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":231383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:50:41] local.INFO: TCP Data received {"connection_id":231382,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:50:41] local.INFO: Processing buffer {"connection_id":231382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:50:41] local.INFO: Packet analysis {"connection_id":231382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9eb"} 
[2026-11-05 09:50:41] local.INFO: Extracted packet for processing {"connection_id":231382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9eb"} 
[2026-11-05 09:50:41] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":47,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226075648001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 09:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793852159000,"timestamp_ms":1793852159000,"timestamp_seconds":1793852159,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ebb418"} 
[2026-11-05 09: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-05 09:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 09:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09: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-05 09: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-05 09:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:50: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-05 09:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226075648001,"66":25647,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226075648001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:50:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:50:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 09:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226075648001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 09:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":231382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:50:41] local.INFO: GPS data processed {"connection_id":231382,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:50:41] local.INFO: Acknowledgment sent {"connection_id":231382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:50:51] local.INFO: TCP Data received {"connection_id":231384,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231384,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:50:51] local.INFO: Processing buffer {"connection_id":231384,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:50:51] local.INFO: IMEI packet received {"connection_id":231384,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":231384,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:50:55] local.INFO: TCP Data received {"connection_id":231384,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231384,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:50:55] local.INFO: Processing buffer {"connection_id":231384,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:50:55] local.INFO: IMEI packet received {"connection_id":231384,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":231384,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:50:55] local.INFO: TCP Data received {"connection_id":231384,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ef9830012d0c164007033fe00013010823..."} 
[2026-11-05 09:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ef9830012d0c164007033fe00013010823..."} 
[2026-11-05 09:50:55] local.INFO: Processing buffer {"connection_id":231384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ef9830012d0c164007033fe00013010823..."} 
[2026-11-05 09:50:55] local.INFO: Packet analysis {"connection_id":231384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ef"} 
[2026-11-05 09:50:55] local.INFO: Extracted packet for processing {"connection_id":231384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ef"} 
[2026-11-05 09:50:55] local.INFO: GPS Element Parsed {"raw_longitude":755766848,"raw_latitude":117653472,"longitude_deg":75.5766848,"latitude_deg":11.7653472,"altitude":19,"angle":264,"satellites":35,"speed":12,"hex_longitude":"2d0c1640","hex_latitude":"07033fe0","is_valid_coordinates":true} 
[2026-11-05 09:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226217728001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39439048296628224,"note":"Value kept but may cause issues"} 
[2026-11-05 09:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871235451782959104,"note":"Value kept but may cause issues"} 
[2026-11-05 09:50: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-05 09:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793852414000,"timestamp_ms":1793852414000,"timestamp_seconds":1793852414,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ef9830"} 
[2026-11-05 09:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 09:50:55] 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-05 09:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226217728001,"66":14428,"37":206,"94":11008,"24":12,"16":39439048296628224,"45":871235451782959104},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 09:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226217728001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:50:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 09:50:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 09:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39439048296628224,"km_value":39439048296628.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":871235451782959104,"description":"Unknown IO ID 45"} 
[2026-11-05 09:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226217728001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":871235451782959104}} 
[2026-11-05 09:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":231384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62229,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:50:55] local.INFO: GPS data processed {"connection_id":231384,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:50:55] local.INFO: Acknowledgment sent {"connection_id":231384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:50:56] local.INFO: TCP Data received {"connection_id":231384,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9efafa0012d0c0e4007033fb00011011623..."} 
[2026-11-05 09:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9efafa0012d0c0e4007033fb00011011623..."} 
[2026-11-05 09:50:56] local.INFO: Processing buffer {"connection_id":231384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9efafa0012d0c0e4007033fb00011011623..."} 
[2026-11-05 09:50:56] local.INFO: Packet analysis {"connection_id":231384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9ef"} 
[2026-11-05 09:50:56] local.INFO: Extracted packet for processing {"connection_id":231384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9ef"} 
[2026-11-05 09:50:56] local.INFO: GPS Element Parsed {"raw_longitude":755764800,"raw_latitude":117653424,"longitude_deg":75.57648,"latitude_deg":11.7653424,"altitude":17,"angle":278,"satellites":35,"speed":12,"hex_longitude":"2d0c0e40","hex_latitude":"07033fb0","is_valid_coordinates":true} 
[2026-11-05 09:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226217984001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39439147080876032,"note":"Value kept but may cause issues"} 
[2026-11-05 09:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":870953976806236160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:50:56] 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-05 09:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793852420000,"timestamp_ms":1793852420000,"timestamp_seconds":1793852420,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9efafa0"} 
[2026-11-05 09:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 09:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:50:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":231384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":231384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":231384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226217984001,"66":14439,"37":206,"94":11008,"24":12,"16":39439147080876032,"45":870953976806236160},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 09:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226217984001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:50:56] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 09:50:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 09:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39439147080876032,"km_value":39439147080876.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":870953976806236160,"description":"Unknown IO ID 45"} 
[2026-11-05 09:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226217984001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":870953976806236160}} 
[2026-11-05 09:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":231384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62230,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:50:56] local.INFO: GPS data processed {"connection_id":231384,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:50:56] local.INFO: Acknowledgment sent {"connection_id":231384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:51:06] local.INFO: TCP Data received {"connection_id":231385,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231385,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:51:06] local.INFO: Processing buffer {"connection_id":231385,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:51:06] local.INFO: IMEI packet received {"connection_id":231385,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 09:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":231385,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:51:09] local.INFO: TCP Data received {"connection_id":230058,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:51:09] local.INFO: Processing buffer {"connection_id":230058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:51:09] local.INFO: IMEI packet received {"connection_id":230058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":230058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:51:14] local.INFO: TCP Data received {"connection_id":230058,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:51:14] local.INFO: Processing buffer {"connection_id":230058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:51:14] local.INFO: IMEI packet received {"connection_id":230058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":230058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:51:15] local.INFO: TCP Data received {"connection_id":230058,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:51:15] local.INFO: Processing buffer {"connection_id":230058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:51:15] local.INFO: Packet analysis {"connection_id":230058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9eb"} 
[2026-11-05 09:51:15] local.INFO: Extracted packet for processing {"connection_id":230058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9eb"} 
[2026-11-05 09:51:15] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":47,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226075648001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 09:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793852159000,"timestamp_ms":1793852159000,"timestamp_seconds":1793852159,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ebb418"} 
[2026-11-05 09: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-05 09:51: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-05 09: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 09:51:15] 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-05 09: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-05 09: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-05 09:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:51:15] 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-05 09:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226075648001,"66":25647,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226075648001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:51:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:51:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 09:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226075648001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 09:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":230058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:51:15] local.INFO: GPS data processed {"connection_id":230058,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:51:15] local.INFO: Acknowledgment sent {"connection_id":230058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:51:19] local.INFO: TCP Data received {"connection_id":230058,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:51:19] local.INFO: Processing buffer {"connection_id":230058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9ebb418012d7fab0005afe140000c00262f..."} 
[2026-11-05 09:51:19] local.INFO: Packet analysis {"connection_id":230058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9eb"} 
[2026-11-05 09:51:19] local.INFO: Extracted packet for processing {"connection_id":230058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9eb"} 
[2026-11-05 09:51:19] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":47,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226075648001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 09:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793852159000,"timestamp_ms":1793852159000,"timestamp_seconds":1793852159,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9ebb418"} 
[2026-11-05 09: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-05 09:51: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-05 09: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 09:51: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-05 09: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-05 09: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-05 09:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:51:19] 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-05 09:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226075648001,"66":25647,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226075648001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:51:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:51:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 09:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226075648001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 09:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":230058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:51:19] local.INFO: GPS data processed {"connection_id":230058,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:51:19] local.INFO: Acknowledgment sent {"connection_id":230058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:51:31] local.INFO: TCP Data received {"connection_id":231384,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f09230012d0bf7c007035b280013012725..."} 
[2026-11-05 09:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f09230012d0bf7c007035b280013012725..."} 
[2026-11-05 09:51:31] local.INFO: Processing buffer {"connection_id":231384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f09230012d0bf7c007035b280013012725..."} 
[2026-11-05 09:51:31] local.INFO: Packet analysis {"connection_id":231384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f0"} 
[2026-11-05 09:51:31] local.INFO: Extracted packet for processing {"connection_id":231384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f0"} 
[2026-11-05 09:51:31] local.INFO: GPS Element Parsed {"raw_longitude":755759040,"raw_latitude":117660456,"longitude_deg":75.575904,"latitude_deg":11.7660456,"altitude":19,"angle":295,"satellites":37,"speed":13,"hex_longitude":"2d0bf7c0","hex_latitude":"07035b28","is_valid_coordinates":true} 
[2026-11-05 09:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226233856001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39439662476951552,"note":"Value kept but may cause issues"} 
[2026-11-05 09:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862931939971665920,"note":"Value kept but may cause issues"} 
[2026-11-05 09:51:31] 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-05 09:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793852478000,"timestamp_ms":1793852478000,"timestamp_seconds":1793852478,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f09230"} 
[2026-11-05 09:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-05 09:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":231384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":231384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":231384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226233856001,"66":14374,"37":206,"94":11008,"24":13,"16":39439662476951552,"45":862931939971665920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 09:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226233856001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:51:31] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 09:51:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 09:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39439662476951552,"km_value":39439662476951.555,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":862931939971665920,"description":"Unknown IO ID 45"} 
[2026-11-05 09:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226233856001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":862931939971665920}} 
[2026-11-05 09:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":231384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62233,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:51:32] local.INFO: GPS data processed {"connection_id":231384,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:51:32] local.INFO: Acknowledgment sent {"connection_id":231384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:51:49] local.INFO: TCP Data received {"connection_id":233281,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233281,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:51:49] local.INFO: Processing buffer {"connection_id":233281,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:51:49] local.INFO: IMEI packet received {"connection_id":233281,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":233281,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:51:53] local.INFO: TCP Data received {"connection_id":233281,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233281,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:51:53] local.INFO: Processing buffer {"connection_id":233281,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:51:53] local.INFO: IMEI packet received {"connection_id":233281,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":233281,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:51:53] local.INFO: TCP Data received {"connection_id":233281,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f09618012d0bf64007035b880013011625..."} 
[2026-11-05 09:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f09618012d0bf64007035b880013011625..."} 
[2026-11-05 09:51:53] local.INFO: Processing buffer {"connection_id":233281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f09618012d0bf64007035b880013011625..."} 
[2026-11-05 09:51:53] local.INFO: Packet analysis {"connection_id":233281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f0"} 
[2026-11-05 09:51:53] local.INFO: Extracted packet for processing {"connection_id":233281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f0"} 
[2026-11-05 09:51:53] local.INFO: GPS Element Parsed {"raw_longitude":755758656,"raw_latitude":117660552,"longitude_deg":75.5758656,"latitude_deg":11.7660552,"altitude":19,"angle":278,"satellites":37,"speed":15,"hex_longitude":"2d0bf640","hex_latitude":"07035b88","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226234368001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39439683951788032,"note":"Value kept but may cause issues"} 
[2026-11-05 09:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862368990018349056,"note":"Value kept but may cause issues"} 
[2026-11-05 09:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793852479000,"timestamp_ms":1793852479000,"timestamp_seconds":1793852479,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f09618"} 
[2026-11-05 09: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-05 09:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-11-05 09:51:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09: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-05 09: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-05 09:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":233281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":233281,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":233281,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226234368001,"66":14407,"37":206,"94":11008,"24":15,"16":39439683951788032,"45":862368990018349056},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 09:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226234368001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:51:53] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 09:51:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 09:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39439683951788032,"km_value":39439683951788.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":862368990018349056,"description":"Unknown IO ID 45"} 
[2026-11-05 09:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226234368001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":862368990018349056}} 
[2026-11-05 09:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":233281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62234,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:51:54] local.INFO: GPS data processed {"connection_id":233281,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:51:54] local.INFO: Acknowledgment sent {"connection_id":233281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:52:04] local.INFO: TCP Data received {"connection_id":229557,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:52:04] local.INFO: Processing buffer {"connection_id":229557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:52:04] local.INFO: IMEI packet received {"connection_id":229557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":229557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:52:09] local.INFO: TCP Data received {"connection_id":229557,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:52:09] local.INFO: Processing buffer {"connection_id":229557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:52:09] local.INFO: IMEI packet received {"connection_id":229557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":229557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:52:10] local.INFO: TCP Data received {"connection_id":229557,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f04be0012d7fab0005afe140000c00262e..."} 
[2026-11-05 09:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f04be0012d7fab0005afe140000c00262e..."} 
[2026-11-05 09:52:10] local.INFO: Processing buffer {"connection_id":229557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f04be0012d7fab0005afe140000c00262e..."} 
[2026-11-05 09:52:10] local.INFO: Packet analysis {"connection_id":229557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f0"} 
[2026-11-05 09:52:10] local.INFO: Extracted packet for processing {"connection_id":229557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f0"} 
[2026-11-05 09:52:10] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":46,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226152704001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 09:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793852460000,"timestamp_ms":1793852460000,"timestamp_seconds":1793852460,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f04be0"} 
[2026-11-05 09:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-05 09:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:52:10] 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-05 09:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226152704001,"66":25647,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226152704001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:52:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:52:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 09:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226152704001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 09:52: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":62235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:52:10] local.INFO: GPS data processed {"connection_id":229557,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:52:10] local.INFO: Acknowledgment sent {"connection_id":229557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:52:25] local.INFO: TCP Data received {"connection_id":233281,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f0a1d0012d0befc007035b580013010925..."} 
[2026-11-05 09:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f0a1d0012d0befc007035b580013010925..."} 
[2026-11-05 09:52:25] local.INFO: Processing buffer {"connection_id":233281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f0a1d0012d0befc007035b580013010925..."} 
[2026-11-05 09:52:25] local.INFO: Packet analysis {"connection_id":233281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f0"} 
[2026-11-05 09:52:25] local.INFO: Extracted packet for processing {"connection_id":233281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f0"} 
[2026-11-05 09:52:25] local.INFO: GPS Element Parsed {"raw_longitude":755756992,"raw_latitude":117660504,"longitude_deg":75.5756992,"latitude_deg":11.7660504,"altitude":19,"angle":265,"satellites":37,"speed":24,"hex_longitude":"2d0befc0","hex_latitude":"07035b58","is_valid_coordinates":true} 
[2026-11-05 09:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226234624001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39439761261199360,"note":"Value kept but may cause issues"} 
[2026-11-05 09:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":861946777553307648,"note":"Value kept but may cause issues"} 
[2026-11-05 09:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793852482000,"timestamp_ms":1793852482000,"timestamp_seconds":1793852482,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f0a1d0"} 
[2026-11-05 09:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:52: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-05 09:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 09:52:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:52:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":233281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":233281,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":233281,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226234624001,"66":14428,"37":206,"94":11008,"24":24,"16":39439761261199360,"45":861946777553307648},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 09:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226234624001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:52:25] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 09:52:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 09:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39439761261199360,"km_value":39439761261199.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":861946777553307648,"description":"Unknown IO ID 45"} 
[2026-11-05 09:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226234624001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":861946777553307648}} 
[2026-11-05 09:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":233281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62236,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:52:25] local.INFO: GPS data processed {"connection_id":233281,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:52:25] local.INFO: Acknowledgment sent {"connection_id":233281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:52:41] local.INFO: TCP Data received {"connection_id":229557,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f04be0012d7fab0005afe140000c00262e..."} 
[2026-11-05 09:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f04be0012d7fab0005afe140000c00262e..."} 
[2026-11-05 09:52:41] local.INFO: Processing buffer {"connection_id":229557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f04be0012d7fab0005afe140000c00262e..."} 
[2026-11-05 09:52:41] local.INFO: Packet analysis {"connection_id":229557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f0"} 
[2026-11-05 09:52:41] local.INFO: Extracted packet for processing {"connection_id":229557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f0"} 
[2026-11-05 09:52:41] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":46,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226152704001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 09:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793852460000,"timestamp_ms":1793852460000,"timestamp_seconds":1793852460,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f04be0"} 
[2026-11-05 09:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-05 09:52:41] 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-05 09:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:52: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-05 09:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226152704001,"66":25647,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226152704001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:52:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:52:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 09:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226152704001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 09:52:41] 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":62237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:52:41] local.INFO: GPS data processed {"connection_id":229557,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:52:41] local.INFO: Acknowledgment sent {"connection_id":229557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:52:56] local.INFO: TCP Data received {"connection_id":230059,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230059,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:52:56] local.INFO: Processing buffer {"connection_id":230059,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:52:56] local.INFO: IMEI packet received {"connection_id":230059,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":230059,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:52:57] local.INFO: TCP Data received {"connection_id":230059,"ip":"42.106.6.17","data_length":51,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-05 09:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230059,"packet_length":51,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-05 09:52:57] local.INFO: Processing buffer {"connection_id":230059,"buffer_length":51,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-05 09:52:57] local.INFO: IMEI packet received {"connection_id":230059,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":230059,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:53:04] local.INFO: TCP Data received {"connection_id":231386,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:53:04] local.INFO: Processing buffer {"connection_id":231386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:53:04] local.INFO: IMEI packet received {"connection_id":231386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":231386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:53:09] local.INFO: TCP Data received {"connection_id":231386,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:53:09] local.INFO: Processing buffer {"connection_id":231386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:53:09] local.INFO: IMEI packet received {"connection_id":231386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":231386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:53:10] local.INFO: TCP Data received {"connection_id":231386,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f04be0012d7fab0005afe140000c00262e..."} 
[2026-11-05 09:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f04be0012d7fab0005afe140000c00262e..."} 
[2026-11-05 09:53:10] local.INFO: Processing buffer {"connection_id":231386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f04be0012d7fab0005afe140000c00262e..."} 
[2026-11-05 09:53:10] local.INFO: Packet analysis {"connection_id":231386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f0"} 
[2026-11-05 09:53:10] local.INFO: Extracted packet for processing {"connection_id":231386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f0"} 
[2026-11-05 09:53:10] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":46,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226152704001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 09:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793852460000,"timestamp_ms":1793852460000,"timestamp_seconds":1793852460,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f04be0"} 
[2026-11-05 09:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-05 09:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:53:10] 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-05 09:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226152704001,"66":25647,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226152704001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:53:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:53:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 09:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226152704001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 09:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":231386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:53:10] local.INFO: GPS data processed {"connection_id":231386,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:53:10] local.INFO: Acknowledgment sent {"connection_id":231386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:53:41] local.INFO: TCP Data received {"connection_id":231386,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f04be0012d7fab0005afe140000c00262e..."} 
[2026-11-05 09:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f04be0012d7fab0005afe140000c00262e..."} 
[2026-11-05 09:53:41] local.INFO: Processing buffer {"connection_id":231386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f04be0012d7fab0005afe140000c00262e..."} 
[2026-11-05 09:53:41] local.INFO: Packet analysis {"connection_id":231386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f0"} 
[2026-11-05 09:53:41] local.INFO: Extracted packet for processing {"connection_id":231386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f0"} 
[2026-11-05 09:53:41] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":46,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226152704001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 09:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793852460000,"timestamp_ms":1793852460000,"timestamp_seconds":1793852460,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f04be0"} 
[2026-11-05 09:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-05 09:53:41] 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-05 09:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:53: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-05 09:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226152704001,"66":25647,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226152704001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:53:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:53:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 09:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226152704001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 09:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":231386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:53:41] local.INFO: GPS data processed {"connection_id":231386,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:53:41] local.INFO: Acknowledgment sent {"connection_id":231386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:54:04] local.INFO: TCP Data received {"connection_id":230061,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:54:04] local.INFO: Processing buffer {"connection_id":230061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:54:04] local.INFO: IMEI packet received {"connection_id":230061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":230061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:54:09] local.INFO: TCP Data received {"connection_id":230061,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:54:09] local.INFO: Processing buffer {"connection_id":230061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:54:09] local.INFO: IMEI packet received {"connection_id":230061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":230061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:54:10] local.INFO: TCP Data received {"connection_id":230061,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f04be0012d7fab0005afe140000c00262e..."} 
[2026-11-05 09:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f04be0012d7fab0005afe140000c00262e..."} 
[2026-11-05 09:54:10] local.INFO: Processing buffer {"connection_id":230061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f04be0012d7fab0005afe140000c00262e..."} 
[2026-11-05 09:54:10] local.INFO: Packet analysis {"connection_id":230061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f0"} 
[2026-11-05 09:54:10] local.INFO: Extracted packet for processing {"connection_id":230061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f0"} 
[2026-11-05 09:54:10] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":46,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226152704001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 09:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793852460000,"timestamp_ms":1793852460000,"timestamp_seconds":1793852460,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f04be0"} 
[2026-11-05 09:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-05 09:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:54:10] 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-05 09:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226152704001,"66":25647,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226152704001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:54:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 09:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226152704001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 09:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":230061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:54:10] local.INFO: GPS data processed {"connection_id":230061,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:54:10] local.INFO: Acknowledgment sent {"connection_id":230061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:54:41] local.INFO: TCP Data received {"connection_id":230061,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f04be0012d7fab0005afe140000c00262e..."} 
[2026-11-05 09:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f04be0012d7fab0005afe140000c00262e..."} 
[2026-11-05 09:54:41] local.INFO: Processing buffer {"connection_id":230061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f04be0012d7fab0005afe140000c00262e..."} 
[2026-11-05 09:54:41] local.INFO: Packet analysis {"connection_id":230061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f0"} 
[2026-11-05 09:54:41] local.INFO: Extracted packet for processing {"connection_id":230061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f0"} 
[2026-11-05 09:54:41] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":46,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226152704001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 09:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793852460000,"timestamp_ms":1793852460000,"timestamp_seconds":1793852460,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f04be0"} 
[2026-11-05 09: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-05 09:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-05 09:54:41] 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-05 09: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-05 09: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-05 09:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:54: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-05 09:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226152704001,"66":25647,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226152704001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:54:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:54:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 09:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226152704001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 09:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":230061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:54:41] local.INFO: GPS data processed {"connection_id":230061,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:54:41] local.INFO: Acknowledgment sent {"connection_id":230061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:55:04] local.INFO: TCP Data received {"connection_id":233284,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:55:04] local.INFO: Processing buffer {"connection_id":233284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:55:04] local.INFO: IMEI packet received {"connection_id":233284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":233284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:55:09] local.INFO: TCP Data received {"connection_id":233284,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:55:09] local.INFO: Processing buffer {"connection_id":233284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:55:09] local.INFO: IMEI packet received {"connection_id":233284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":233284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:55:10] local.INFO: TCP Data received {"connection_id":233284,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f04be0012d7fab0005afe140000c00262e..."} 
[2026-11-05 09:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f04be0012d7fab0005afe140000c00262e..."} 
[2026-11-05 09:55:10] local.INFO: Processing buffer {"connection_id":233284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f04be0012d7fab0005afe140000c00262e..."} 
[2026-11-05 09:55:10] local.INFO: Packet analysis {"connection_id":233284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f0"} 
[2026-11-05 09:55:10] local.INFO: Extracted packet for processing {"connection_id":233284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f0"} 
[2026-11-05 09:55:10] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":46,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226152704001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 09:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793852460000,"timestamp_ms":1793852460000,"timestamp_seconds":1793852460,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f04be0"} 
[2026-11-05 09:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-05 09:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:55:10] 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-05 09:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226152704001,"66":25647,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226152704001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:55:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:55:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 09:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226152704001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 09:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":233284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:55:10] local.INFO: GPS data processed {"connection_id":233284,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:55:10] local.INFO: Acknowledgment sent {"connection_id":233284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:55:41] local.INFO: TCP Data received {"connection_id":233284,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f04be0012d7fab0005afe140000c00262e..."} 
[2026-11-05 09:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f04be0012d7fab0005afe140000c00262e..."} 
[2026-11-05 09:55:41] local.INFO: Processing buffer {"connection_id":233284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f04be0012d7fab0005afe140000c00262e..."} 
[2026-11-05 09:55:41] local.INFO: Packet analysis {"connection_id":233284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f0"} 
[2026-11-05 09:55:41] local.INFO: Extracted packet for processing {"connection_id":233284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f0"} 
[2026-11-05 09:55:41] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":46,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226152704001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 09:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793852460000,"timestamp_ms":1793852460000,"timestamp_seconds":1793852460,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f04be0"} 
[2026-11-05 09: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-05 09:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-05 09:55:41] 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-05 09: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-05 09: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-05 09:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:55: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-05 09:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226152704001,"66":25647,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226152704001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:55:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:55:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 09:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226152704001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 09:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":233284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:55:41] local.INFO: GPS data processed {"connection_id":233284,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:55:41] local.INFO: Acknowledgment sent {"connection_id":233284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:56:04] local.INFO: TCP Data received {"connection_id":229559,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:56:04] local.INFO: Processing buffer {"connection_id":229559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:56:04] local.INFO: IMEI packet received {"connection_id":229559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":229559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:56:09] local.INFO: TCP Data received {"connection_id":229559,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:56:09] local.INFO: Processing buffer {"connection_id":229559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:56:09] local.INFO: IMEI packet received {"connection_id":229559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":229559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:56:10] local.INFO: TCP Data received {"connection_id":229559,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f04be0012d7fab0005afe140000c00262e..."} 
[2026-11-05 09:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f04be0012d7fab0005afe140000c00262e..."} 
[2026-11-05 09:56:10] local.INFO: Processing buffer {"connection_id":229559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f04be0012d7fab0005afe140000c00262e..."} 
[2026-11-05 09:56:10] local.INFO: Packet analysis {"connection_id":229559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f0"} 
[2026-11-05 09:56:10] local.INFO: Extracted packet for processing {"connection_id":229559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f0"} 
[2026-11-05 09:56:10] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":46,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226152704001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 09:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793852460000,"timestamp_ms":1793852460000,"timestamp_seconds":1793852460,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f04be0"} 
[2026-11-05 09:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-05 09:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:56:10] 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-05 09:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226152704001,"66":25647,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226152704001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:56:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 09:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226152704001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 09:56:10] 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":62244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:56:10] local.INFO: GPS data processed {"connection_id":229559,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:56:10] local.INFO: Acknowledgment sent {"connection_id":229559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:56:37] local.INFO: TCP Data received {"connection_id":229560,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229560,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:56:37] local.INFO: Processing buffer {"connection_id":229560,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:56:37] local.INFO: IMEI packet received {"connection_id":229560,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 09:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":229560,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:56:41] local.INFO: TCP Data received {"connection_id":229559,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f4e3a8012d7fab0005afe140000c002630..."} 
[2026-11-05 09:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f4e3a8012d7fab0005afe140000c002630..."} 
[2026-11-05 09:56:41] local.INFO: Processing buffer {"connection_id":229559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f4e3a8012d7fab0005afe140000c002630..."} 
[2026-11-05 09:56:41] local.INFO: Packet analysis {"connection_id":229559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f4"} 
[2026-11-05 09:56:41] local.INFO: Extracted packet for processing {"connection_id":229559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f4"} 
[2026-11-05 09:56:41] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":48,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226229760001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 09:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793852761000,"timestamp_ms":1793852761000,"timestamp_seconds":1793852761,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f4e3a8"} 
[2026-11-05 09:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:56:41] 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-05 09:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-05 09:56:41] 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-05 09:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:56: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-05 09:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226229760001,"66":25604,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226229760001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:56:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 09:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226229760001,"power":25604,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 09:56:41] 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":62245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:56:41] local.INFO: GPS data processed {"connection_id":229559,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:56:41] local.INFO: Acknowledgment sent {"connection_id":229559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:57:04] local.INFO: TCP Data received {"connection_id":231390,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:57:04] local.INFO: Processing buffer {"connection_id":231390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:57:04] local.INFO: IMEI packet received {"connection_id":231390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":231390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:57:06] local.INFO: TCP Data received {"connection_id":230062,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230062,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:57:06] local.INFO: Processing buffer {"connection_id":230062,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 09:57:06] local.INFO: IMEI packet received {"connection_id":230062,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 09:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":230062,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:57:09] local.INFO: TCP Data received {"connection_id":231390,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:57:09] local.INFO: Processing buffer {"connection_id":231390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:57:09] local.INFO: IMEI packet received {"connection_id":231390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":231390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:57:10] local.INFO: TCP Data received {"connection_id":231390,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f4e3a8012d7fab0005afe140000c002630..."} 
[2026-11-05 09:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f4e3a8012d7fab0005afe140000c002630..."} 
[2026-11-05 09:57:10] local.INFO: Processing buffer {"connection_id":231390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f4e3a8012d7fab0005afe140000c002630..."} 
[2026-11-05 09:57:10] local.INFO: Packet analysis {"connection_id":231390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f4"} 
[2026-11-05 09:57:10] local.INFO: Extracted packet for processing {"connection_id":231390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f4"} 
[2026-11-05 09:57:10] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":48,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226229760001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 09:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793852761000,"timestamp_ms":1793852761000,"timestamp_seconds":1793852761,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f4e3a8"} 
[2026-11-05 09: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-05 09:57:10] 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-05 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-05 09:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09: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-05 09: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-05 09:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:57:10] 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-05 09:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226229760001,"66":25604,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226229760001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:57:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:57:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 09:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226229760001,"power":25604,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 09:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":231390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:57:10] local.INFO: GPS data processed {"connection_id":231390,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:57:10] local.INFO: Acknowledgment sent {"connection_id":231390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:57:41] local.INFO: TCP Data received {"connection_id":231390,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f4e3a8012d7fab0005afe140000c002630..."} 
[2026-11-05 09:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f4e3a8012d7fab0005afe140000c002630..."} 
[2026-11-05 09:57:41] local.INFO: Processing buffer {"connection_id":231390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f4e3a8012d7fab0005afe140000c002630..."} 
[2026-11-05 09:57:41] local.INFO: Packet analysis {"connection_id":231390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f4"} 
[2026-11-05 09:57:41] local.INFO: Extracted packet for processing {"connection_id":231390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f4"} 
[2026-11-05 09:57:41] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":48,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226229760001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 09:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793852761000,"timestamp_ms":1793852761000,"timestamp_seconds":1793852761,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f4e3a8"} 
[2026-11-05 09:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:57:41] 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-05 09:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-05 09:57:41] 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-05 09:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:57: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-05 09:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226229760001,"66":25604,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226229760001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:57:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:57:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 09:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226229760001,"power":25604,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 09:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":231390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:57:41] local.INFO: GPS data processed {"connection_id":231390,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:57:41] local.INFO: Acknowledgment sent {"connection_id":231390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:57:59] local.INFO: TCP Data received {"connection_id":231391,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231391,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:57:59] local.INFO: Processing buffer {"connection_id":231391,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:57:59] local.INFO: IMEI packet received {"connection_id":231391,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":231391,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:58:04] local.INFO: TCP Data received {"connection_id":231392,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:58:04] local.INFO: Processing buffer {"connection_id":231392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:58:04] local.INFO: IMEI packet received {"connection_id":231392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":231392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:58:04] local.INFO: TCP Data received {"connection_id":231391,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f5d5d8012d0aeb800702d218000f008d24..."} 
[2026-11-05 09:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f5d5d8012d0aeb800702d218000f008d24..."} 
[2026-11-05 09:58:04] local.INFO: Processing buffer {"connection_id":231391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f5d5d8012d0aeb800702d218000f008d24..."} 
[2026-11-05 09:58:04] local.INFO: Packet analysis {"connection_id":231391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f5"} 
[2026-11-05 09:58:04] local.INFO: Extracted packet for processing {"connection_id":231391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f5"} 
[2026-11-05 09:58:04] local.INFO: GPS Element Parsed {"raw_longitude":755690368,"raw_latitude":117625368,"longitude_deg":75.5690368,"latitude_deg":11.7625368,"altitude":15,"angle":141,"satellites":36,"speed":13,"hex_longitude":"2d0aeb80","hex_latitude":"0702d218","is_valid_coordinates":true} 
[2026-11-05 09:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226322432001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39444777783001088,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":786652221274275840,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793852823000,"timestamp_ms":1793852823000,"timestamp_seconds":1793852823,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f5d5d8"} 
[2026-11-05 09:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:58:04] 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-05 09:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 09:58: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-05 09:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":231391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":231391,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":231391,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226322432001,"66":13896,"17":206,"94":11008,"24":13,"16":39444777783001088,"45":786652221274275840},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 09:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226322432001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:58:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 09:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39444777783001088,"km_value":39444777783001.086,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":786652221274275840,"description":"Unknown IO ID 45"} 
[2026-11-05 09:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226322432001,"power":13896,"axis_x":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":786652221274275840}} 
[2026-11-05 09:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":231391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62248,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:58:04] local.INFO: GPS data processed {"connection_id":231391,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:58:04] local.INFO: Acknowledgment sent {"connection_id":231391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:58:09] local.INFO: TCP Data received {"connection_id":231392,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:58:09] local.INFO: Processing buffer {"connection_id":231392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:58:09] local.INFO: IMEI packet received {"connection_id":231392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":231392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:58:10] local.INFO: TCP Data received {"connection_id":231392,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f4e3a8012d7fab0005afe140000c002630..."} 
[2026-11-05 09:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f4e3a8012d7fab0005afe140000c002630..."} 
[2026-11-05 09:58:10] local.INFO: Processing buffer {"connection_id":231392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f4e3a8012d7fab0005afe140000c002630..."} 
[2026-11-05 09:58:10] local.INFO: Packet analysis {"connection_id":231392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f4"} 
[2026-11-05 09:58:10] local.INFO: Extracted packet for processing {"connection_id":231392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f4"} 
[2026-11-05 09:58:10] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":48,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226229760001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793852761000,"timestamp_ms":1793852761000,"timestamp_seconds":1793852761,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f4e3a8"} 
[2026-11-05 09:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:58:10] 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-05 09:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-05 09:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:58:10] 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-05 09:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226229760001,"66":25604,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226229760001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:58:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:58:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 09:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226229760001,"power":25604,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 09:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":231392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:58:10] local.INFO: GPS data processed {"connection_id":231392,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:58:10] local.INFO: Acknowledgment sent {"connection_id":231392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:58:41] local.INFO: TCP Data received {"connection_id":231392,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f4e3a8012d7fab0005afe140000c002630..."} 
[2026-11-05 09:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f4e3a8012d7fab0005afe140000c002630..."} 
[2026-11-05 09:58:41] local.INFO: Processing buffer {"connection_id":231392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f4e3a8012d7fab0005afe140000c002630..."} 
[2026-11-05 09:58:41] local.INFO: Packet analysis {"connection_id":231392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f4"} 
[2026-11-05 09:58:41] local.INFO: Extracted packet for processing {"connection_id":231392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f4"} 
[2026-11-05 09:58:41] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":48,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226229760001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793852761000,"timestamp_ms":1793852761000,"timestamp_seconds":1793852761,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f4e3a8"} 
[2026-11-05 09:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:58:41] 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-05 09:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-05 09:58:41] 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-05 09:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:58: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-05 09:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226229760001,"66":25604,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226229760001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:58:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:58:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 09:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226229760001,"power":25604,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 09:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":231392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:58:41] local.INFO: GPS data processed {"connection_id":231392,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:58:41] local.INFO: Acknowledgment sent {"connection_id":231392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:58:47] local.INFO: TCP Data received {"connection_id":229561,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229561,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:58:47] local.INFO: Processing buffer {"connection_id":229561,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:58:47] local.INFO: IMEI packet received {"connection_id":229561,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":229561,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:58:49] local.INFO: TCP Data received {"connection_id":229561,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229561,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:58:49] local.INFO: Processing buffer {"connection_id":229561,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:58:49] local.INFO: IMEI packet received {"connection_id":229561,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":229561,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:58:52] local.INFO: TCP Data received {"connection_id":229561,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229561,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:58:52] local.INFO: Processing buffer {"connection_id":229561,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:58:52] local.INFO: IMEI packet received {"connection_id":229561,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":229561,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:58:55] local.INFO: TCP Data received {"connection_id":229561,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229561,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:58:55] local.INFO: Processing buffer {"connection_id":229561,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:58:55] local.INFO: IMEI packet received {"connection_id":229561,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":229561,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:58:56] local.INFO: TCP Data received {"connection_id":229561,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f70a70012d0b14c007029d58000e00aa15..."} 
[2026-11-05 09:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f70a70012d0b14c007029d58000e00aa15..."} 
[2026-11-05 09:58:56] local.INFO: Processing buffer {"connection_id":229561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f70a70012d0b14c007029d58000e00aa15..."} 
[2026-11-05 09:58:56] local.INFO: Packet analysis {"connection_id":229561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f7"} 
[2026-11-05 09:58:56] local.INFO: Extracted packet for processing {"connection_id":229561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f7"} 
[2026-11-05 09:58:56] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117611864,"longitude_deg":75.5700928,"latitude_deg":11.7611864,"altitude":14,"angle":170,"satellites":21,"speed":2,"hex_longitude":"2d0b14c0","hex_latitude":"07029d58","is_valid_coordinates":true} 
[2026-11-05 09:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226342656001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445709790904320,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292604928,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:56] 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-05 09:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793852902000,"timestamp_ms":1793852902000,"timestamp_seconds":1793852902,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f70a70"} 
[2026-11-05 09:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-11-05 09:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142272,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:56] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2734686208,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:56] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2851527568,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:56] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":59393,"corrected_to":0} 
[2026-11-05 09:58:56] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:56] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504201520480256,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:56] local.WARNING: Large IO value detected {"io_id":169,"raw_value":4142608385,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:56] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:56] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637778666216977,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:56] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-11-05 09:58:56] local.WARNING: Large IO value detected {"io_id":18,"raw_value":2147943070,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:56] local.WARNING: Large IO value detected {"io_id":56,"raw_value":84736138853941918,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:56] local.WARNING: Large IO value detected {"io_id":184,"raw_value":4222417161421312,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:56] local.WARNING: Large IO value detected {"io_id":11,"raw_value":1152929212497657870,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:56] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,17,94,24,241,157,16,35,161,250,45,158,14,26,10,66,246,192,239,64,1,240,227,169,2,4,113,205,18,56,140,7,15,206,184,11],"length":628,"final_offset":758,"validated_count":36,"validation_warnings":[{"io_id":246,"original":59393,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-11-05 09:58:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008969147331248128,"timestamp_seconds":1008969147331248.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-11-05 09:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":229561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":229561,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":229561,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226342656001,"66":14352,"17":206,"94":11008,"24":2,"16":39445709790904320,"45":798474170292604928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 09:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226342656001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:58:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 09:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445709790904320,"km_value":39445709790904.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292604928,"description":"Unknown IO ID 45"} 
[2026-11-05 09:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226342656001,"power":14352,"axis_x":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":798474170292604928}} 
[2026-11-05 09:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":229561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62251,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:58:56] local.INFO: GPS data processed {"connection_id":229561,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:58:56] local.INFO: Acknowledgment sent {"connection_id":229561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:58:58] local.INFO: TCP Data received {"connection_id":229561,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f71240012d0b14c007029d28000e007b16..."} 
[2026-11-05 09:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f71240012d0b14c007029d28000e007b16..."} 
[2026-11-05 09:58:58] local.INFO: Processing buffer {"connection_id":229561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f71240012d0b14c007029d28000e007b16..."} 
[2026-11-05 09:58:58] local.INFO: Packet analysis {"connection_id":229561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f7"} 
[2026-11-05 09:58:58] local.INFO: Extracted packet for processing {"connection_id":229561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f7"} 
[2026-11-05 09:58:58] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117611816,"longitude_deg":75.5700928,"latitude_deg":11.7611816,"altitude":14,"angle":123,"satellites":22,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029d28","is_valid_coordinates":true} 
[2026-11-05 09:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226342912001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445714085871616,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292590592,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:58] 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-05 09:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793852904000,"timestamp_ms":1793852904000,"timestamp_seconds":1793852904,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f71240"} 
[2026-11-05 09:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 09:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-11-05 09:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142016,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:58] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2785017856,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:58] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2851529568,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:58] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":59393,"corrected_to":0} 
[2026-11-05 09:58:58] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:58] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504201520545792,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:58] local.WARNING: Large IO value detected {"io_id":169,"raw_value":4142864385,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:58] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:58] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639363509149201,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:58] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-11-05 09:58:58] local.WARNING: Large IO value detected {"io_id":144,"raw_value":84736139927683742,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:58] local.WARNING: Large IO value detected {"io_id":120,"raw_value":4222614713139712,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:58] local.WARNING: Large IO value detected {"io_id":11,"raw_value":1279030002007408655,"note":"Value kept but may cause issues"} 
[2026-11-05 09:58:58] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,17,94,24,241,157,16,35,161,6,45,192,14,10,66,250,158,26,246,1,240,114,227,169,2,4,113,205,235,19,80,239,56,140,7,3,206,144,120,11],"length":628,"final_offset":758,"validated_count":40,"validation_warnings":[{"io_id":246,"original":59393,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-11-05 09:58:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008993323702157312,"timestamp_seconds":1008993323702157.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-11-05 09:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":229561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":229561,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":229561,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226342912001,"66":13852,"17":206,"94":11008,"24":0,"16":39445714085871616,"45":798474170292590592},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 09:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226342912001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:58:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 09:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445714085871616,"km_value":39445714085871.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292590592,"description":"Unknown IO ID 45"} 
[2026-11-05 09:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226342912001,"power":13852,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798474170292590592}} 
[2026-11-05 09:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":229561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62252,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:58:58] local.INFO: GPS data processed {"connection_id":229561,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:58:58] local.INFO: Acknowledgment sent {"connection_id":229561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:59:04] local.INFO: TCP Data received {"connection_id":233286,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:59:04] local.INFO: Processing buffer {"connection_id":233286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:59:04] local.INFO: IMEI packet received {"connection_id":233286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 09:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":233286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:59:09] local.INFO: TCP Data received {"connection_id":233286,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:59:09] local.INFO: Processing buffer {"connection_id":233286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 09:59:09] local.INFO: IMEI packet received {"connection_id":233286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 09:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":233286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:59:10] local.INFO: TCP Data received {"connection_id":233286,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f4e3a8012d7fab0005afe140000c002630..."} 
[2026-11-05 09:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f4e3a8012d7fab0005afe140000c002630..."} 
[2026-11-05 09:59:10] local.INFO: Processing buffer {"connection_id":233286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f4e3a8012d7fab0005afe140000c002630..."} 
[2026-11-05 09:59:10] local.INFO: Packet analysis {"connection_id":233286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f4"} 
[2026-11-05 09:59:10] local.INFO: Extracted packet for processing {"connection_id":233286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f4"} 
[2026-11-05 09:59:10] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":48,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226229760001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 09:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793852761000,"timestamp_ms":1793852761000,"timestamp_seconds":1793852761,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f4e3a8"} 
[2026-11-05 09:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:59:10] 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-05 09:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-05 09:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 09:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:59:10] 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-05 09:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226229760001,"66":25604,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226229760001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:59:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:59:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 09:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226229760001,"power":25604,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 09:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":233286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:59:10] local.INFO: GPS data processed {"connection_id":233286,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:59:10] local.INFO: Acknowledgment sent {"connection_id":233286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:59:29] local.INFO: TCP Data received {"connection_id":229561,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f78388012d0b11800702a1b8000f015717..."} 
[2026-11-05 09:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f78388012d0b11800702a1b8000f015717..."} 
[2026-11-05 09:59:29] local.INFO: Processing buffer {"connection_id":229561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f78388012d0b11800702a1b8000f015717..."} 
[2026-11-05 09:59:29] local.INFO: Packet analysis {"connection_id":229561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f7"} 
[2026-11-05 09:59:29] local.INFO: Extracted packet for processing {"connection_id":229561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f7"} 
[2026-11-05 09:59:29] local.INFO: GPS Element Parsed {"raw_longitude":755700096,"raw_latitude":117612984,"longitude_deg":75.5700096,"latitude_deg":11.7612984,"altitude":15,"angle":343,"satellites":23,"speed":0,"hex_longitude":"2d0b1180","hex_latitude":"0702a1b8","is_valid_coordinates":true} 
[2026-11-05 09:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226350592001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 09:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797559376618569728,"note":"Value kept but may cause issues"} 
[2026-11-05 09:59:29] 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-05 09:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793852933000,"timestamp_ms":1793852933000,"timestamp_seconds":1793852933,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f78388"} 
[2026-11-05 09:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 09:59:29] 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-05 09:59:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":229561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":229561,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":229561,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226350592001,"66":14309,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797559376618569728},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 09:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226350592001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:59:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 09:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":797559376618569728,"description":"Unknown IO ID 45"} 
[2026-11-05 09:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226350592001,"power":14309,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797559376618569728}} 
[2026-11-05 09:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":229561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62254,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:59:29] local.INFO: GPS data processed {"connection_id":229561,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:59:29] local.INFO: Acknowledgment sent {"connection_id":229561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:59:41] local.INFO: TCP Data received {"connection_id":233286,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f4e3a8012d7fab0005afe140000c002630..."} 
[2026-11-05 09:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f4e3a8012d7fab0005afe140000c002630..."} 
[2026-11-05 09:59:41] local.INFO: Processing buffer {"connection_id":233286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f4e3a8012d7fab0005afe140000c002630..."} 
[2026-11-05 09:59:41] local.INFO: Packet analysis {"connection_id":233286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f4"} 
[2026-11-05 09:59:41] local.INFO: Extracted packet for processing {"connection_id":233286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f4"} 
[2026-11-05 09:59:41] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":48,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 09:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 09:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226229760001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 09:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 09:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 09:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793852761000,"timestamp_ms":1793852761000,"timestamp_seconds":1793852761,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f4e3a8"} 
[2026-11-05 09:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 09:59:41] 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-05 09:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-05 09:59:41] 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-05 09:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 09:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 09:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 09:59: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-05 09:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 09:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 09:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226229760001,"66":25604,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 09:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 09:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 09:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226229760001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:59:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 09:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 09:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 09:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226229760001,"power":25604,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 09:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":233286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:59:41] local.INFO: GPS data processed {"connection_id":233286,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:59:41] local.INFO: Acknowledgment sent {"connection_id":233286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 09:59:50] local.INFO: TCP Data received {"connection_id":231393,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231393,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:59:50] local.INFO: Processing buffer {"connection_id":231393,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:59:50] local.INFO: IMEI packet received {"connection_id":231393,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 09:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":231393,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 09:59:54] local.INFO: TCP Data received {"connection_id":231393,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231393,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:59:54] local.INFO: Processing buffer {"connection_id":231393,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 09:59:54] local.INFO: IMEI packet received {"connection_id":231393,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 09:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":231393,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 09:59:55] local.INFO: TCP Data received {"connection_id":231393,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f78770012d0b11000702a1b0000f013517..."} 
[2026-11-05 09:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f78770012d0b11000702a1b0000f013517..."} 
[2026-11-05 09:59:55] local.INFO: Processing buffer {"connection_id":231393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f78770012d0b11000702a1b0000f013517..."} 
[2026-11-05 09:59:55] local.INFO: Packet analysis {"connection_id":231393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f7"} 
[2026-11-05 09:59:55] local.INFO: Extracted packet for processing {"connection_id":231393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f7"} 
[2026-11-05 09:59:55] local.INFO: GPS Element Parsed {"raw_longitude":755699968,"raw_latitude":117612976,"longitude_deg":75.5699968,"latitude_deg":11.7612976,"altitude":15,"angle":309,"satellites":23,"speed":2,"hex_longitude":"2d0b1100","hex_latitude":"0702a1b0","is_valid_coordinates":true} 
[2026-11-05 09: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-05 09:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226350848001,"note":"Value kept but may cause issues"} 
[2026-11-05 09:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 09:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797559376618567680,"note":"Value kept but may cause issues"} 
[2026-11-05 09:59: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-05 09:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793852934000,"timestamp_ms":1793852934000,"timestamp_seconds":1793852934,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f78770"} 
[2026-11-05 09: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-05 09:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 09: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 09:59:55] 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-05 09: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-05 09: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-05 09:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 09:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 09:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 09:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 09:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 09:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 09:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226350848001,"66":12841,"17":206,"94":11008,"24":2,"16":39445817165086720,"45":797559376618567680},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 09:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 09:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 09:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226350848001,"description":"Unknown IO ID 0"} 
[2026-11-05 09:59:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 09:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 09:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797559376618567680,"description":"Unknown IO ID 45"} 
[2026-11-05 09:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226350848001,"power":12841,"axis_x":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":797559376618567680}} 
[2026-11-05 09:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":231393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62256,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 09:59:56] local.INFO: GPS data processed {"connection_id":231393,"processed":1,"errors":0,"total":1} 
[2026-11-05 09:59:56] local.INFO: Acknowledgment sent {"connection_id":231393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:00:04] local.INFO: TCP Data received {"connection_id":233288,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:00:04] local.INFO: Processing buffer {"connection_id":233288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:00:04] local.INFO: IMEI packet received {"connection_id":233288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":233288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:00:09] local.INFO: TCP Data received {"connection_id":233288,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:00:09] local.INFO: Processing buffer {"connection_id":233288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:00:09] local.INFO: IMEI packet received {"connection_id":233288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":233288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:00:10] local.INFO: TCP Data received {"connection_id":233288,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f4e3a8012d7fab0005afe140000c002630..."} 
[2026-11-05 10:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f4e3a8012d7fab0005afe140000c002630..."} 
[2026-11-05 10:00:10] local.INFO: Processing buffer {"connection_id":233288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f4e3a8012d7fab0005afe140000c002630..."} 
[2026-11-05 10:00:10] local.INFO: Packet analysis {"connection_id":233288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f4"} 
[2026-11-05 10:00:10] local.INFO: Extracted packet for processing {"connection_id":233288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f4"} 
[2026-11-05 10:00:10] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":48,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226229760001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793852761000,"timestamp_ms":1793852761000,"timestamp_seconds":1793852761,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f4e3a8"} 
[2026-11-05 10:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:00:10] 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-05 10:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-05 10:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:00:10] 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-05 10:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226229760001,"66":25604,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226229760001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:00:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:00:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226229760001,"power":25604,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":233288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:00:10] local.INFO: GPS data processed {"connection_id":233288,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:00:10] local.INFO: Acknowledgment sent {"connection_id":233288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:00:41] local.INFO: TCP Data received {"connection_id":233288,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f4e3a8012d7fab0005afe140000c002630..."} 
[2026-11-05 10:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f4e3a8012d7fab0005afe140000c002630..."} 
[2026-11-05 10:00:41] local.INFO: Processing buffer {"connection_id":233288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f4e3a8012d7fab0005afe140000c002630..."} 
[2026-11-05 10:00:41] local.INFO: Packet analysis {"connection_id":233288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f4"} 
[2026-11-05 10:00:41] local.INFO: Extracted packet for processing {"connection_id":233288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f4"} 
[2026-11-05 10:00:41] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":48,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226229760001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793852761000,"timestamp_ms":1793852761000,"timestamp_seconds":1793852761,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f4e3a8"} 
[2026-11-05 10: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-05 10:00:41] 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-05 10: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-05 10:00:41] 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-05 10: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-05 10: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-05 10:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:00: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-05 10:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226229760001,"66":25604,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226229760001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:00:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:00:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226229760001,"power":25604,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":233288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:00:41] local.INFO: GPS data processed {"connection_id":233288,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:00:41] local.INFO: Acknowledgment sent {"connection_id":233288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:00:56] local.INFO: TCP Data received {"connection_id":231393,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f79328012d0b10400702a1d0000f014e16..."} 
[2026-11-05 10:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f79328012d0b10400702a1d0000f014e16..."} 
[2026-11-05 10:00:56] local.INFO: Processing buffer {"connection_id":231393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f79328012d0b10400702a1d0000f014e16..."} 
[2026-11-05 10:00:56] local.INFO: Packet analysis {"connection_id":231393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f7"} 
[2026-11-05 10:00:56] local.INFO: Extracted packet for processing {"connection_id":231393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f7"} 
[2026-11-05 10:00:56] local.INFO: GPS Element Parsed {"raw_longitude":755699776,"raw_latitude":117613008,"longitude_deg":75.5699776,"latitude_deg":11.7613008,"altitude":15,"angle":334,"satellites":22,"speed":0,"hex_longitude":"2d0b1040","hex_latitude":"0702a1d0","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226351104001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797418639130210304,"note":"Value kept but may cause issues"} 
[2026-11-05 10:00:56] 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-05 10:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793852937000,"timestamp_ms":1793852937000,"timestamp_seconds":1793852937,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f79328"} 
[2026-11-05 10: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-05 10:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-11-05 10:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10: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-05 10: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-05 10:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":231393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":231393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":231393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226351104001,"66":12841,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797418639130210304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226351104001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:00:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797418639130210304,"description":"Unknown IO ID 45"} 
[2026-11-05 10:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226351104001,"power":12841,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797418639130210304}} 
[2026-11-05 10:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":231393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62259,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:00:56] local.INFO: GPS data processed {"connection_id":231393,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:00:56] local.INFO: Acknowledgment sent {"connection_id":231393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:01:04] local.INFO: TCP Data received {"connection_id":230064,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:01:04] local.INFO: Processing buffer {"connection_id":230064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:01:04] local.INFO: IMEI packet received {"connection_id":230064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":230064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:01:07] local.INFO: TCP Data received {"connection_id":230066,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230066,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:01:07] local.INFO: Processing buffer {"connection_id":230066,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:01:07] local.INFO: IMEI packet received {"connection_id":230066,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":230066,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:01:09] local.INFO: TCP Data received {"connection_id":230066,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230066,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:01:09] local.INFO: Processing buffer {"connection_id":230066,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:01:09] local.INFO: IMEI packet received {"connection_id":230066,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":230066,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:01:09] local.INFO: TCP Data received {"connection_id":230064,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:01:09] local.INFO: Processing buffer {"connection_id":230064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:01:09] local.INFO: IMEI packet received {"connection_id":230064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":230064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:01:10] local.INFO: TCP Data received {"connection_id":230066,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f79328012d0b10400702a1d0000f014e16..."} 
[2026-11-05 10:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f79328012d0b10400702a1d0000f014e16..."} 
[2026-11-05 10:01:10] local.INFO: Processing buffer {"connection_id":230066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f79328012d0b10400702a1d0000f014e16..."} 
[2026-11-05 10:01:10] local.INFO: Packet analysis {"connection_id":230066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f7"} 
[2026-11-05 10:01:10] local.INFO: Extracted packet for processing {"connection_id":230066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f7"} 
[2026-11-05 10:01:10] local.INFO: GPS Element Parsed {"raw_longitude":755699776,"raw_latitude":117613008,"longitude_deg":75.5699776,"latitude_deg":11.7613008,"altitude":15,"angle":334,"satellites":22,"speed":0,"hex_longitude":"2d0b1040","hex_latitude":"0702a1d0","is_valid_coordinates":true} 
[2026-11-05 10:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226351104001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797418639130210304,"note":"Value kept but may cause issues"} 
[2026-11-05 10:01:10] 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-05 10:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793852937000,"timestamp_ms":1793852937000,"timestamp_seconds":1793852937,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f79328"} 
[2026-11-05 10:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-11-05 10:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230066,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230066,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226351104001,"66":12841,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797418639130210304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226351104001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:01:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":797418639130210304,"description":"Unknown IO ID 45"} 
[2026-11-05 10:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226351104001,"power":12841,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797418639130210304}} 
[2026-11-05 10:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":230066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62260,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:01:10] local.INFO: GPS data processed {"connection_id":230066,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:01:10] local.INFO: Acknowledgment sent {"connection_id":230066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:01:10] local.INFO: TCP Data received {"connection_id":230064,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f4e3a8012d7fab0005afe140000c002630..."} 
[2026-11-05 10:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f4e3a8012d7fab0005afe140000c002630..."} 
[2026-11-05 10:01:10] local.INFO: Processing buffer {"connection_id":230064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f4e3a8012d7fab0005afe140000c002630..."} 
[2026-11-05 10:01:10] local.INFO: Packet analysis {"connection_id":230064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f4"} 
[2026-11-05 10:01:10] local.INFO: Extracted packet for processing {"connection_id":230064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f4"} 
[2026-11-05 10:01:10] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":48,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226229760001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793852761000,"timestamp_ms":1793852761000,"timestamp_seconds":1793852761,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f4e3a8"} 
[2026-11-05 10:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:01:10] 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-05 10:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-05 10:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:01:10] 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-05 10:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226229760001,"66":25604,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226229760001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:01:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:01:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226229760001,"power":25604,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":230064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:01:10] local.INFO: GPS data processed {"connection_id":230064,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:01:10] local.INFO: Acknowledgment sent {"connection_id":230064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:01:40] local.INFO: TCP Data received {"connection_id":230064,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:01:40] local.INFO: Processing buffer {"connection_id":230064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:01:40] local.INFO: Packet analysis {"connection_id":230064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f9"} 
[2026-11-05 10:01:40] local.INFO: Extracted packet for processing {"connection_id":230064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f9"} 
[2026-11-05 10:01:40] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":50,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226306816001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793853062000,"timestamp_ms":1793853062000,"timestamp_seconds":1793853062,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f97b70"} 
[2026-11-05 10: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-05 10:01:40] 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-05 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 10:01:40] 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-05 10: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-05 10: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-05 10:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:01:40] 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-05 10:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226306816001,"66":25582,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226306816001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:01:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:01:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226306816001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":230064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:01:41] local.INFO: GPS data processed {"connection_id":230064,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:01:41] local.INFO: Acknowledgment sent {"connection_id":230064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:01:54] local.INFO: TCP Data received {"connection_id":233289,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233289,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:01:54] local.INFO: Processing buffer {"connection_id":233289,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:01:54] local.INFO: IMEI packet received {"connection_id":233289,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":233289,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:01:59] local.INFO: TCP Data received {"connection_id":233289,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233289,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:01:59] local.INFO: Processing buffer {"connection_id":233289,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:01:59] local.INFO: IMEI packet received {"connection_id":233289,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":233289,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:02:00] local.INFO: TCP Data received {"connection_id":233289,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f79328012d0b10400702a1d0000f014e16..."} 
[2026-11-05 10:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f79328012d0b10400702a1d0000f014e16..."} 
[2026-11-05 10:02:00] local.INFO: Processing buffer {"connection_id":233289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f79328012d0b10400702a1d0000f014e16..."} 
[2026-11-05 10:02:00] local.INFO: Packet analysis {"connection_id":233289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f7"} 
[2026-11-05 10:02:00] local.INFO: Extracted packet for processing {"connection_id":233289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f7"} 
[2026-11-05 10:02:00] local.INFO: GPS Element Parsed {"raw_longitude":755699776,"raw_latitude":117613008,"longitude_deg":75.5699776,"latitude_deg":11.7613008,"altitude":15,"angle":334,"satellites":22,"speed":0,"hex_longitude":"2d0b1040","hex_latitude":"0702a1d0","is_valid_coordinates":true} 
[2026-11-05 10:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226351104001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797418639130210304,"note":"Value kept but may cause issues"} 
[2026-11-05 10:02: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-05 10:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793852937000,"timestamp_ms":1793852937000,"timestamp_seconds":1793852937,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f79328"} 
[2026-11-05 10:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-11-05 10:02:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":233289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":233289,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":233289,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226351104001,"66":12841,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797418639130210304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226351104001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:02:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797418639130210304,"description":"Unknown IO ID 45"} 
[2026-11-05 10:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226351104001,"power":12841,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797418639130210304}} 
[2026-11-05 10:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":233289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62263,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:02:00] local.INFO: GPS data processed {"connection_id":233289,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:02:00] local.INFO: Acknowledgment sent {"connection_id":233289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:02:04] local.INFO: TCP Data received {"connection_id":231394,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:02:04] local.INFO: Processing buffer {"connection_id":231394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:02:04] local.INFO: IMEI packet received {"connection_id":231394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":231394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:02:05] local.INFO: TCP Data received {"connection_id":233289,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f79328012d0b10400702a1d0000f014e16..."} 
[2026-11-05 10:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f79328012d0b10400702a1d0000f014e16..."} 
[2026-11-05 10:02:05] local.INFO: Processing buffer {"connection_id":233289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f79328012d0b10400702a1d0000f014e16..."} 
[2026-11-05 10:02:05] local.INFO: Packet analysis {"connection_id":233289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f7"} 
[2026-11-05 10:02:05] local.INFO: Extracted packet for processing {"connection_id":233289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f7"} 
[2026-11-05 10:02:05] local.INFO: GPS Element Parsed {"raw_longitude":755699776,"raw_latitude":117613008,"longitude_deg":75.5699776,"latitude_deg":11.7613008,"altitude":15,"angle":334,"satellites":22,"speed":0,"hex_longitude":"2d0b1040","hex_latitude":"0702a1d0","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226351104001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797418639130210304,"note":"Value kept but may cause issues"} 
[2026-11-05 10:02: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-05 10:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793852937000,"timestamp_ms":1793852937000,"timestamp_seconds":1793852937,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f79328"} 
[2026-11-05 10: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-05 10:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-11-05 10:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10: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-05 10: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-05 10:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":233289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":233289,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":233289,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226351104001,"66":12841,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797418639130210304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226351104001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:02:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":797418639130210304,"description":"Unknown IO ID 45"} 
[2026-11-05 10:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226351104001,"power":12841,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797418639130210304}} 
[2026-11-05 10:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":233289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62264,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:02:05] local.INFO: GPS data processed {"connection_id":233289,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:02:05] local.INFO: Acknowledgment sent {"connection_id":233289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:02:09] local.INFO: TCP Data received {"connection_id":231394,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:02:09] local.INFO: Processing buffer {"connection_id":231394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:02:09] local.INFO: IMEI packet received {"connection_id":231394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":231394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:02:10] local.INFO: TCP Data received {"connection_id":231394,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:02:10] local.INFO: Processing buffer {"connection_id":231394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:02:10] local.INFO: Packet analysis {"connection_id":231394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f9"} 
[2026-11-05 10:02:10] local.INFO: Extracted packet for processing {"connection_id":231394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f9"} 
[2026-11-05 10:02:10] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":50,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226306816001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793853062000,"timestamp_ms":1793853062000,"timestamp_seconds":1793853062,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f97b70"} 
[2026-11-05 10:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:02:10] 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-05 10:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 10:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:02:10] 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-05 10:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226306816001,"66":25582,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226306816001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:02:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:02:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226306816001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":231394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:02:10] local.INFO: GPS data processed {"connection_id":231394,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:02:10] local.INFO: Acknowledgment sent {"connection_id":231394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:02:26] local.INFO: TCP Data received {"connection_id":231395,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231395,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:02:26] local.INFO: Processing buffer {"connection_id":231395,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:02:26] local.INFO: IMEI packet received {"connection_id":231395,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 10:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":231395,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:02:41] local.INFO: TCP Data received {"connection_id":231394,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:02:41] local.INFO: Processing buffer {"connection_id":231394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:02:41] local.INFO: Packet analysis {"connection_id":231394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f9"} 
[2026-11-05 10:02:41] local.INFO: Extracted packet for processing {"connection_id":231394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f9"} 
[2026-11-05 10:02:41] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":50,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226306816001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793853062000,"timestamp_ms":1793853062000,"timestamp_seconds":1793853062,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f97b70"} 
[2026-11-05 10: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-05 10:02:41] 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-05 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 10:02:41] 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-05 10: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-05 10: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-05 10:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:02: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-05 10:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226306816001,"66":25582,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226306816001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:02:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:02:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226306816001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":231394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:02:41] local.INFO: GPS data processed {"connection_id":231394,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:02:41] local.INFO: Acknowledgment sent {"connection_id":231394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:02:49] local.INFO: TCP Data received {"connection_id":233290,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233290,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:02:49] local.INFO: Processing buffer {"connection_id":233290,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:02:49] local.INFO: IMEI packet received {"connection_id":233290,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":233290,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:02:54] local.INFO: TCP Data received {"connection_id":233290,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233290,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:02:54] local.INFO: Processing buffer {"connection_id":233290,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:02:54] local.INFO: IMEI packet received {"connection_id":233290,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":233290,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:02:55] local.INFO: TCP Data received {"connection_id":233290,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f79328012d0b10400702a1d0000f014e16..."} 
[2026-11-05 10:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f79328012d0b10400702a1d0000f014e16..."} 
[2026-11-05 10:02:55] local.INFO: Processing buffer {"connection_id":233290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f79328012d0b10400702a1d0000f014e16..."} 
[2026-11-05 10:02:55] local.INFO: Packet analysis {"connection_id":233290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f7"} 
[2026-11-05 10:02:55] local.INFO: Extracted packet for processing {"connection_id":233290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f7"} 
[2026-11-05 10:02:55] local.INFO: GPS Element Parsed {"raw_longitude":755699776,"raw_latitude":117613008,"longitude_deg":75.5699776,"latitude_deg":11.7613008,"altitude":15,"angle":334,"satellites":22,"speed":0,"hex_longitude":"2d0b1040","hex_latitude":"0702a1d0","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226351104001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797418639130210304,"note":"Value kept but may cause issues"} 
[2026-11-05 10:02: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-05 10:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793852937000,"timestamp_ms":1793852937000,"timestamp_seconds":1793852937,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f79328"} 
[2026-11-05 10: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-05 10:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-11-05 10:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10: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-05 10: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-05 10:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233290,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233290,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226351104001,"66":12841,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797418639130210304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226351104001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:02:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797418639130210304,"description":"Unknown IO ID 45"} 
[2026-11-05 10:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226351104001,"power":12841,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797418639130210304}} 
[2026-11-05 10:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":233290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62267,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:02:55] local.INFO: GPS data processed {"connection_id":233290,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:02:55] local.INFO: Acknowledgment sent {"connection_id":233290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:03:04] local.INFO: TCP Data received {"connection_id":230067,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:03:04] local.INFO: Processing buffer {"connection_id":230067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:03:04] local.INFO: IMEI packet received {"connection_id":230067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":230067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:03:06] local.INFO: TCP Data received {"connection_id":230068,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230068,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:03:06] local.INFO: Processing buffer {"connection_id":230068,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:03:06] local.INFO: IMEI packet received {"connection_id":230068,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 10:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":230068,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:03:09] local.INFO: TCP Data received {"connection_id":230067,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:03:09] local.INFO: Processing buffer {"connection_id":230067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:03:09] local.INFO: IMEI packet received {"connection_id":230067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":230067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:03:10] local.INFO: TCP Data received {"connection_id":230067,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:03:10] local.INFO: Processing buffer {"connection_id":230067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:03:10] local.INFO: Packet analysis {"connection_id":230067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f9"} 
[2026-11-05 10:03:10] local.INFO: Extracted packet for processing {"connection_id":230067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f9"} 
[2026-11-05 10:03:10] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":50,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226306816001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793853062000,"timestamp_ms":1793853062000,"timestamp_seconds":1793853062,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f97b70"} 
[2026-11-05 10:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:03:10] 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-05 10:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 10:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:03:10] 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-05 10:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226306816001,"66":25582,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226306816001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:03:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:03:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226306816001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":230067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:03:10] local.INFO: GPS data processed {"connection_id":230067,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:03:10] local.INFO: Acknowledgment sent {"connection_id":230067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:03:26] local.INFO: TCP Data received {"connection_id":233290,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f79328012d0b10400702a1d0000f014e16..."} 
[2026-11-05 10:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f79328012d0b10400702a1d0000f014e16..."} 
[2026-11-05 10:03:26] local.INFO: Processing buffer {"connection_id":233290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f79328012d0b10400702a1d0000f014e16..."} 
[2026-11-05 10:03:26] local.INFO: Packet analysis {"connection_id":233290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f7"} 
[2026-11-05 10:03:26] local.INFO: Extracted packet for processing {"connection_id":233290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f7"} 
[2026-11-05 10:03:26] local.INFO: GPS Element Parsed {"raw_longitude":755699776,"raw_latitude":117613008,"longitude_deg":75.5699776,"latitude_deg":11.7613008,"altitude":15,"angle":334,"satellites":22,"speed":0,"hex_longitude":"2d0b1040","hex_latitude":"0702a1d0","is_valid_coordinates":true} 
[2026-11-05 10:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226351104001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797418639130210304,"note":"Value kept but may cause issues"} 
[2026-11-05 10:03: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-05 10:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793852937000,"timestamp_ms":1793852937000,"timestamp_seconds":1793852937,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f79328"} 
[2026-11-05 10:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-11-05 10:03:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:03:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233290,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233290,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:03:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226351104001,"66":12841,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797418639130210304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226351104001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:03:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797418639130210304,"description":"Unknown IO ID 45"} 
[2026-11-05 10:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226351104001,"power":12841,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797418639130210304}} 
[2026-11-05 10:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":233290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62269,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:03:26] local.INFO: GPS data processed {"connection_id":233290,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:03:26] local.INFO: Acknowledgment sent {"connection_id":233290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:03:41] local.INFO: TCP Data received {"connection_id":230067,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:03:41] local.INFO: Processing buffer {"connection_id":230067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:03:41] local.INFO: Packet analysis {"connection_id":230067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f9"} 
[2026-11-05 10:03:41] local.INFO: Extracted packet for processing {"connection_id":230067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f9"} 
[2026-11-05 10:03:41] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":50,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226306816001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793853062000,"timestamp_ms":1793853062000,"timestamp_seconds":1793853062,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f97b70"} 
[2026-11-05 10:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:03:41] 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-05 10:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 10:03:41] 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-05 10:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:03:41] 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-05 10:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226306816001,"66":25582,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226306816001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:03:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226306816001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":230067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:03:41] local.INFO: GPS data processed {"connection_id":230067,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:03:41] local.INFO: Acknowledgment sent {"connection_id":230067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:03:49] local.INFO: TCP Data received {"connection_id":229563,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229563,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:03:49] local.INFO: Processing buffer {"connection_id":229563,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:03:49] local.INFO: IMEI packet received {"connection_id":229563,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":229563,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:03:54] local.INFO: TCP Data received {"connection_id":229563,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229563,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:03:54] local.INFO: Processing buffer {"connection_id":229563,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:03:54] local.INFO: IMEI packet received {"connection_id":229563,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":229563,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:03:55] local.INFO: TCP Data received {"connection_id":229563,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f79328012d0b10400702a1d0000f014e16..."} 
[2026-11-05 10:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f79328012d0b10400702a1d0000f014e16..."} 
[2026-11-05 10:03:55] local.INFO: Processing buffer {"connection_id":229563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f79328012d0b10400702a1d0000f014e16..."} 
[2026-11-05 10:03:55] local.INFO: Packet analysis {"connection_id":229563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f7"} 
[2026-11-05 10:03:55] local.INFO: Extracted packet for processing {"connection_id":229563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f7"} 
[2026-11-05 10:03:55] local.INFO: GPS Element Parsed {"raw_longitude":755699776,"raw_latitude":117613008,"longitude_deg":75.5699776,"latitude_deg":11.7613008,"altitude":15,"angle":334,"satellites":22,"speed":0,"hex_longitude":"2d0b1040","hex_latitude":"0702a1d0","is_valid_coordinates":true} 
[2026-11-05 10:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226351104001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797418639130210304,"note":"Value kept but may cause issues"} 
[2026-11-05 10:03: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-05 10:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793852937000,"timestamp_ms":1793852937000,"timestamp_seconds":1793852937,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f79328"} 
[2026-11-05 10:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-11-05 10:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226351104001,"66":12841,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797418639130210304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226351104001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:03:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797418639130210304,"description":"Unknown IO ID 45"} 
[2026-11-05 10:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226351104001,"power":12841,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797418639130210304}} 
[2026-11-05 10:03:55] 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":62271,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:03:55] local.INFO: GPS data processed {"connection_id":229563,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:03:55] local.INFO: Acknowledgment sent {"connection_id":229563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:04:03] local.INFO: TCP Data received {"connection_id":233291,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:04:04] local.INFO: Processing buffer {"connection_id":233291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:04:04] local.INFO: IMEI packet received {"connection_id":233291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":233291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:04:12] local.INFO: TCP Data received {"connection_id":233291,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:04:12] local.INFO: Processing buffer {"connection_id":233291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:04:12] local.INFO: IMEI packet received {"connection_id":233291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":233291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:04:13] local.INFO: TCP Data received {"connection_id":233291,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:04:13] local.INFO: Processing buffer {"connection_id":233291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:04:13] local.INFO: Packet analysis {"connection_id":233291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f9"} 
[2026-11-05 10:04:13] local.INFO: Extracted packet for processing {"connection_id":233291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f9"} 
[2026-11-05 10:04:13] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":50,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226306816001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793853062000,"timestamp_ms":1793853062000,"timestamp_seconds":1793853062,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f97b70"} 
[2026-11-05 10: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-05 10:04: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-05 10: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":4,"data_length":795,"current_offset":136} 
[2026-11-05 10:04: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-05 10: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-05 10: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-05 10:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":233291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":233291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":233291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:04: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-05 10:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226306816001,"66":25582,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226306816001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:04:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:04:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226306816001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":233291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:04:13] local.INFO: GPS data processed {"connection_id":233291,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:04:13] local.INFO: Acknowledgment sent {"connection_id":233291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:04:25] local.INFO: TCP Data received {"connection_id":229563,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9fc2af0012d0b10c00702a180000f014e21..."} 
[2026-11-05 10:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9fc2af0012d0b10c00702a180000f014e21..."} 
[2026-11-05 10:04:25] local.INFO: Processing buffer {"connection_id":229563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9fc2af0012d0b10c00702a180000f014e21..."} 
[2026-11-05 10:04:25] local.INFO: Packet analysis {"connection_id":229563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9fc"} 
[2026-11-05 10:04:25] local.INFO: Extracted packet for processing {"connection_id":229563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9fc"} 
[2026-11-05 10:04:25] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":15,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226351872001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797207532897685504,"note":"Value kept but may cause issues"} 
[2026-11-05 10:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793853238000,"timestamp_ms":1793853238000,"timestamp_seconds":1793853238,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9fc2af0"} 
[2026-11-05 10: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-05 10:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-11-05 10:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10: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-05 10: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-05 10:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":229563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":229563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":229563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226351872001,"66":12341,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797207532897685504},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226351872001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:04:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797207532897685504,"description":"Unknown IO ID 45"} 
[2026-11-05 10:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226351872001,"power":12341,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797207532897685504}} 
[2026-11-05 10:04:26] 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":62273,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:04:26] local.INFO: GPS data processed {"connection_id":229563,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:04:26] local.INFO: Acknowledgment sent {"connection_id":229563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:04:44] local.INFO: TCP Data received {"connection_id":233291,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:04:44] local.INFO: Processing buffer {"connection_id":233291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:04:44] local.INFO: Packet analysis {"connection_id":233291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f9"} 
[2026-11-05 10:04:44] local.INFO: Extracted packet for processing {"connection_id":233291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f9"} 
[2026-11-05 10:04:44] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":50,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226306816001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793853062000,"timestamp_ms":1793853062000,"timestamp_seconds":1793853062,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f97b70"} 
[2026-11-05 10: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-05 10: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-05 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 10:04: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-05 10: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-05 10: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-05 10:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":233291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":233291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":233291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10: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-05 10:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226306816001,"66":25582,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226306816001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:04:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:04:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226306816001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":233291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:04:44] local.INFO: GPS data processed {"connection_id":233291,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:04:44] local.INFO: Acknowledgment sent {"connection_id":233291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:04:49] local.INFO: TCP Data received {"connection_id":229564,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229564,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:04:49] local.INFO: Processing buffer {"connection_id":229564,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:04:49] local.INFO: IMEI packet received {"connection_id":229564,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":229564,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:04:54] local.INFO: TCP Data received {"connection_id":229564,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229564,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:04:54] local.INFO: Processing buffer {"connection_id":229564,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:04:54] local.INFO: IMEI packet received {"connection_id":229564,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":229564,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:04:55] local.INFO: TCP Data received {"connection_id":229564,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9fc2af0012d0b10c00702a180000f014e21..."} 
[2026-11-05 10:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9fc2af0012d0b10c00702a180000f014e21..."} 
[2026-11-05 10:04:55] local.INFO: Processing buffer {"connection_id":229564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9fc2af0012d0b10c00702a180000f014e21..."} 
[2026-11-05 10:04:55] local.INFO: Packet analysis {"connection_id":229564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9fc"} 
[2026-11-05 10:04:55] local.INFO: Extracted packet for processing {"connection_id":229564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9fc"} 
[2026-11-05 10:04:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":15,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226351872001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797207532897685504,"note":"Value kept but may cause issues"} 
[2026-11-05 10:04: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-05 10:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793853238000,"timestamp_ms":1793853238000,"timestamp_seconds":1793853238,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9fc2af0"} 
[2026-11-05 10:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-11-05 10:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226351872001,"66":12341,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797207532897685504},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226351872001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:04:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797207532897685504,"description":"Unknown IO ID 45"} 
[2026-11-05 10:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226351872001,"power":12341,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797207532897685504}} 
[2026-11-05 10:04:55] 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":62275,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:04:55] local.INFO: GPS data processed {"connection_id":229564,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:04:55] local.INFO: Acknowledgment sent {"connection_id":229564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:05:03] local.INFO: TCP Data received {"connection_id":230069,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:05:03] local.INFO: Processing buffer {"connection_id":230069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:05:03] local.INFO: IMEI packet received {"connection_id":230069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":230069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:05:09] local.INFO: TCP Data received {"connection_id":230069,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:05:09] local.INFO: Processing buffer {"connection_id":230069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:05:09] local.INFO: IMEI packet received {"connection_id":230069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":230069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:05:10] local.INFO: TCP Data received {"connection_id":230069,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:05:10] local.INFO: Processing buffer {"connection_id":230069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:05:10] local.INFO: Packet analysis {"connection_id":230069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f9"} 
[2026-11-05 10:05:10] local.INFO: Extracted packet for processing {"connection_id":230069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f9"} 
[2026-11-05 10:05:10] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":50,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226306816001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793853062000,"timestamp_ms":1793853062000,"timestamp_seconds":1793853062,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f97b70"} 
[2026-11-05 10:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:05:10] 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-05 10:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 10:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:05:10] 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-05 10:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226306816001,"66":25582,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226306816001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:05:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:05:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226306816001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":230069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:05:10] local.INFO: GPS data processed {"connection_id":230069,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:05:10] local.INFO: Acknowledgment sent {"connection_id":230069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:05:26] local.INFO: TCP Data received {"connection_id":229564,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9fc2af0012d0b10c00702a180000f014e21..."} 
[2026-11-05 10:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9fc2af0012d0b10c00702a180000f014e21..."} 
[2026-11-05 10:05:27] local.INFO: Processing buffer {"connection_id":229564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9fc2af0012d0b10c00702a180000f014e21..."} 
[2026-11-05 10:05:27] local.INFO: Packet analysis {"connection_id":229564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9fc"} 
[2026-11-05 10:05:27] local.INFO: Extracted packet for processing {"connection_id":229564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9fc"} 
[2026-11-05 10:05:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":15,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226351872001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797207532897685504,"note":"Value kept but may cause issues"} 
[2026-11-05 10:05:27] 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-05 10:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793853238000,"timestamp_ms":1793853238000,"timestamp_seconds":1793853238,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9fc2af0"} 
[2026-11-05 10:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-11-05 10:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":229564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":229564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":229564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226351872001,"66":12341,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797207532897685504},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226351872001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:05:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797207532897685504,"description":"Unknown IO ID 45"} 
[2026-11-05 10:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226351872001,"power":12341,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797207532897685504}} 
[2026-11-05 10:05:27] 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":62277,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:05:27] local.INFO: GPS data processed {"connection_id":229564,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:05:27] local.INFO: Acknowledgment sent {"connection_id":229564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:05:41] local.INFO: TCP Data received {"connection_id":230069,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:05:41] local.INFO: Processing buffer {"connection_id":230069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:05:41] local.INFO: Packet analysis {"connection_id":230069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f9"} 
[2026-11-05 10:05:41] local.INFO: Extracted packet for processing {"connection_id":230069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f9"} 
[2026-11-05 10:05:41] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":50,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226306816001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793853062000,"timestamp_ms":1793853062000,"timestamp_seconds":1793853062,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f97b70"} 
[2026-11-05 10:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:05:41] 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-05 10:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 10:05:41] 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-05 10:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:05: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-05 10:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226306816001,"66":25582,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226306816001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:05:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:05:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226306816001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":230069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:05:41] local.INFO: GPS data processed {"connection_id":230069,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:05:41] local.INFO: Acknowledgment sent {"connection_id":230069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:05:49] local.INFO: TCP Data received {"connection_id":233293,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233293,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:05:49] local.INFO: Processing buffer {"connection_id":233293,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:05:49] local.INFO: IMEI packet received {"connection_id":233293,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":233293,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:05:54] local.INFO: TCP Data received {"connection_id":233293,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233293,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:05:54] local.INFO: Processing buffer {"connection_id":233293,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:05:54] local.INFO: IMEI packet received {"connection_id":233293,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":233293,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:05:55] local.INFO: TCP Data received {"connection_id":233293,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9fc2af0012d0b10c00702a180000f014e21..."} 
[2026-11-05 10:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9fc2af0012d0b10c00702a180000f014e21..."} 
[2026-11-05 10:05:55] local.INFO: Processing buffer {"connection_id":233293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9fc2af0012d0b10c00702a180000f014e21..."} 
[2026-11-05 10:05:55] local.INFO: Packet analysis {"connection_id":233293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9fc"} 
[2026-11-05 10:05:55] local.INFO: Extracted packet for processing {"connection_id":233293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9fc"} 
[2026-11-05 10:05:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":15,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226351872001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797207532897685504,"note":"Value kept but may cause issues"} 
[2026-11-05 10:05: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-05 10:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793853238000,"timestamp_ms":1793853238000,"timestamp_seconds":1793853238,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9fc2af0"} 
[2026-11-05 10:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-11-05 10:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:05:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233293,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233293,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226351872001,"66":12341,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797207532897685504},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226351872001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:05:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797207532897685504,"description":"Unknown IO ID 45"} 
[2026-11-05 10:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226351872001,"power":12341,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797207532897685504}} 
[2026-11-05 10:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":233293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62279,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:05:55] local.INFO: GPS data processed {"connection_id":233293,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:05:55] local.INFO: Acknowledgment sent {"connection_id":233293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:06:09] local.INFO: TCP Data received {"connection_id":233294,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:06:09] local.INFO: Processing buffer {"connection_id":233294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:06:09] local.INFO: IMEI packet received {"connection_id":233294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":233294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:06:14] local.INFO: TCP Data received {"connection_id":233294,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:06:14] local.INFO: Processing buffer {"connection_id":233294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:06:14] local.INFO: IMEI packet received {"connection_id":233294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":233294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:06:15] local.INFO: TCP Data received {"connection_id":233294,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:06:15] local.INFO: Processing buffer {"connection_id":233294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:06:15] local.INFO: Packet analysis {"connection_id":233294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f9"} 
[2026-11-05 10:06:15] local.INFO: Extracted packet for processing {"connection_id":233294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f9"} 
[2026-11-05 10:06:15] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":50,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 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-05 10:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226306816001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793853062000,"timestamp_ms":1793853062000,"timestamp_seconds":1793853062,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f97b70"} 
[2026-11-05 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-05 10:06: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-05 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 10:06:15] 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-05 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-05 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-05 10:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:06: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-05 10:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226306816001,"66":25582,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226306816001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:06:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:06:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226306816001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":233294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:06:15] local.INFO: GPS data processed {"connection_id":233294,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:06:15] local.INFO: Acknowledgment sent {"connection_id":233294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:06:19] local.INFO: TCP Data received {"connection_id":233294,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:06:19] local.INFO: Processing buffer {"connection_id":233294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9f97b70012d7fab0005afe140000c002632..."} 
[2026-11-05 10:06:19] local.INFO: Packet analysis {"connection_id":233294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9f9"} 
[2026-11-05 10:06:19] local.INFO: Extracted packet for processing {"connection_id":233294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9f9"} 
[2026-11-05 10:06:19] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":50,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226306816001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793853062000,"timestamp_ms":1793853062000,"timestamp_seconds":1793853062,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9f97b70"} 
[2026-11-05 10:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:06: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-05 10:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 10:06: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-05 10:06:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":233294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":233294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":233294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:06: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-05 10:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226306816001,"66":25582,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226306816001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:06:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:06:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226306816001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":233294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:06:19] local.INFO: GPS data processed {"connection_id":233294,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:06:19] local.INFO: Acknowledgment sent {"connection_id":233294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:06:26] local.INFO: TCP Data received {"connection_id":233293,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9fc2af0012d0b10c00702a180000f014e21..."} 
[2026-11-05 10:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9fc2af0012d0b10c00702a180000f014e21..."} 
[2026-11-05 10:06:26] local.INFO: Processing buffer {"connection_id":233293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9fc2af0012d0b10c00702a180000f014e21..."} 
[2026-11-05 10:06:26] local.INFO: Packet analysis {"connection_id":233293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9fc"} 
[2026-11-05 10:06:26] local.INFO: Extracted packet for processing {"connection_id":233293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9fc"} 
[2026-11-05 10:06:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":15,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226351872001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797207532897685504,"note":"Value kept but may cause issues"} 
[2026-11-05 10:06: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-05 10:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793853238000,"timestamp_ms":1793853238000,"timestamp_seconds":1793853238,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9fc2af0"} 
[2026-11-05 10:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-11-05 10:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233293,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233293,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226351872001,"66":12341,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797207532897685504},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226351872001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:06:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797207532897685504,"description":"Unknown IO ID 45"} 
[2026-11-05 10:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226351872001,"power":12341,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797207532897685504}} 
[2026-11-05 10:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":233293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62282,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:06:26] local.INFO: GPS data processed {"connection_id":233293,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:06:26] local.INFO: Acknowledgment sent {"connection_id":233293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:06:54] local.INFO: TCP Data received {"connection_id":230070,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230070,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:06:54] local.INFO: Processing buffer {"connection_id":230070,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:06:54] local.INFO: IMEI packet received {"connection_id":230070,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":230070,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:07:03] local.INFO: TCP Data received {"connection_id":230070,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230070,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:07:03] local.INFO: Processing buffer {"connection_id":230070,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:07:03] local.INFO: IMEI packet received {"connection_id":230070,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":230070,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:07:04] local.INFO: TCP Data received {"connection_id":230070,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9fc2af0012d0b10c00702a180000f014e21..."} 
[2026-11-05 10:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9fc2af0012d0b10c00702a180000f014e21..."} 
[2026-11-05 10:07:04] local.INFO: Processing buffer {"connection_id":230070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9fc2af0012d0b10c00702a180000f014e21..."} 
[2026-11-05 10:07:04] local.INFO: Packet analysis {"connection_id":230070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9fc"} 
[2026-11-05 10:07:04] local.INFO: Extracted packet for processing {"connection_id":230070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9fc"} 
[2026-11-05 10:07:04] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":15,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226351872001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797207532897685504,"note":"Value kept but may cause issues"} 
[2026-11-05 10:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793853238000,"timestamp_ms":1793853238000,"timestamp_seconds":1793853238,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9fc2af0"} 
[2026-11-05 10:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-11-05 10:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":230070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":230070,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":230070,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226351872001,"66":12341,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797207532897685504},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226351872001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:07:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":797207532897685504,"description":"Unknown IO ID 45"} 
[2026-11-05 10:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226351872001,"power":12341,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797207532897685504}} 
[2026-11-05 10:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":230070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62283,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:07:04] local.INFO: GPS data processed {"connection_id":230070,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:07:04] local.INFO: Acknowledgment sent {"connection_id":230070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:07:04] local.INFO: TCP Data received {"connection_id":230071,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:07:04] local.INFO: Processing buffer {"connection_id":230071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:07:04] local.INFO: IMEI packet received {"connection_id":230071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":230071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:07:09] local.INFO: TCP Data received {"connection_id":230071,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:07:09] local.INFO: Processing buffer {"connection_id":230071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:07:09] local.INFO: IMEI packet received {"connection_id":230071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":230071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:07:10] local.INFO: TCP Data received {"connection_id":230071,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9fe1338012d7fab0005afe140000c002630..."} 
[2026-11-05 10:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9fe1338012d7fab0005afe140000c002630..."} 
[2026-11-05 10:07:10] local.INFO: Processing buffer {"connection_id":230071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9fe1338012d7fab0005afe140000c002630..."} 
[2026-11-05 10:07:10] local.INFO: Packet analysis {"connection_id":230071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9fe"} 
[2026-11-05 10:07:10] local.INFO: Extracted packet for processing {"connection_id":230071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9fe"} 
[2026-11-05 10:07:10] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":48,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226383872001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793853363000,"timestamp_ms":1793853363000,"timestamp_seconds":1793853363,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9fe1338"} 
[2026-11-05 10:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:07:10] 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-05 10:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 10:07:10] 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-05 10:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:07:10] 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-05 10:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226383872001,"66":25549,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226383872001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:07:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:07:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226383872001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":230071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:07:10] local.INFO: GPS data processed {"connection_id":230071,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:07:10] local.INFO: Acknowledgment sent {"connection_id":230071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:07:41] local.INFO: TCP Data received {"connection_id":230071,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9fe1338012d7fab0005afe140000c002630..."} 
[2026-11-05 10:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9fe1338012d7fab0005afe140000c002630..."} 
[2026-11-05 10:07:41] local.INFO: Processing buffer {"connection_id":230071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9fe1338012d7fab0005afe140000c002630..."} 
[2026-11-05 10:07:41] local.INFO: Packet analysis {"connection_id":230071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9fe"} 
[2026-11-05 10:07:41] local.INFO: Extracted packet for processing {"connection_id":230071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9fe"} 
[2026-11-05 10:07:41] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":48,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226383872001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793853363000,"timestamp_ms":1793853363000,"timestamp_seconds":1793853363,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9fe1338"} 
[2026-11-05 10:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:07:41] 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-05 10:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 10:07:41] 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-05 10:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:07:41] 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-05 10:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226383872001,"66":25549,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226383872001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:07:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226383872001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":230071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:07:41] local.INFO: GPS data processed {"connection_id":230071,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:07:41] local.INFO: Acknowledgment sent {"connection_id":230071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:07:49] local.INFO: TCP Data received {"connection_id":233297,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233297,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:07:49] local.INFO: Processing buffer {"connection_id":233297,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:07:49] local.INFO: IMEI packet received {"connection_id":233297,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":233297,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:07:54] local.INFO: TCP Data received {"connection_id":233297,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233297,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:07:54] local.INFO: Processing buffer {"connection_id":233297,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:07:54] local.INFO: IMEI packet received {"connection_id":233297,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":233297,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:07:54] local.INFO: TCP Data received {"connection_id":233297,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9fc2af0012d0b10c00702a180000f014e21..."} 
[2026-11-05 10:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9fc2af0012d0b10c00702a180000f014e21..."} 
[2026-11-05 10:07:54] local.INFO: Processing buffer {"connection_id":233297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9fc2af0012d0b10c00702a180000f014e21..."} 
[2026-11-05 10:07:54] local.INFO: Packet analysis {"connection_id":233297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9fc"} 
[2026-11-05 10:07:54] local.INFO: Extracted packet for processing {"connection_id":233297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9fc"} 
[2026-11-05 10:07:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":15,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226351872001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797207532897685504,"note":"Value kept but may cause issues"} 
[2026-11-05 10:07: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-05 10:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793853238000,"timestamp_ms":1793853238000,"timestamp_seconds":1793853238,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9fc2af0"} 
[2026-11-05 10:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-11-05 10:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":233297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":233297,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":233297,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226351872001,"66":12341,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797207532897685504},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226351872001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:07:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797207532897685504,"description":"Unknown IO ID 45"} 
[2026-11-05 10:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226351872001,"power":12341,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797207532897685504}} 
[2026-11-05 10:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":233297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62286,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:07:55] local.INFO: GPS data processed {"connection_id":233297,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:07:55] local.INFO: Acknowledgment sent {"connection_id":233297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:08:03] local.INFO: TCP Data received {"connection_id":229565,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:08:03] local.INFO: Processing buffer {"connection_id":229565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:08:03] local.INFO: IMEI packet received {"connection_id":229565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":229565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:08:09] local.INFO: TCP Data received {"connection_id":229565,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:08:09] local.INFO: Processing buffer {"connection_id":229565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:08:09] local.INFO: IMEI packet received {"connection_id":229565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":229565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:08:10] local.INFO: TCP Data received {"connection_id":229565,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9fe1338012d7fab0005afe140000c002630..."} 
[2026-11-05 10:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9fe1338012d7fab0005afe140000c002630..."} 
[2026-11-05 10:08:10] local.INFO: Processing buffer {"connection_id":229565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9fe1338012d7fab0005afe140000c002630..."} 
[2026-11-05 10:08:10] local.INFO: Packet analysis {"connection_id":229565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9fe"} 
[2026-11-05 10:08:10] local.INFO: Extracted packet for processing {"connection_id":229565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9fe"} 
[2026-11-05 10:08:10] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":48,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226383872001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793853363000,"timestamp_ms":1793853363000,"timestamp_seconds":1793853363,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9fe1338"} 
[2026-11-05 10:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:08:10] 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-05 10:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 10:08:10] 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-05 10:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:08:10] 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-05 10:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226383872001,"66":25549,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226383872001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:08:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:08:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226383872001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:08:10] 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":62287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:08:10] local.INFO: GPS data processed {"connection_id":229565,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:08:10] local.INFO: Acknowledgment sent {"connection_id":229565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:08:21] local.INFO: TCP Data received {"connection_id":230072,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230072,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:08:21] local.INFO: Processing buffer {"connection_id":230072,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:08:21] local.INFO: IMEI packet received {"connection_id":230072,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 10:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":230072,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:08:25] local.INFO: TCP Data received {"connection_id":233297,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9fc2af0012d0b10c00702a180000f014e21..."} 
[2026-11-05 10:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9fc2af0012d0b10c00702a180000f014e21..."} 
[2026-11-05 10:08:25] local.INFO: Processing buffer {"connection_id":233297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9fc2af0012d0b10c00702a180000f014e21..."} 
[2026-11-05 10:08:25] local.INFO: Packet analysis {"connection_id":233297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9fc"} 
[2026-11-05 10:08:25] local.INFO: Extracted packet for processing {"connection_id":233297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9fc"} 
[2026-11-05 10:08:25] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":15,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226351872001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797207532897685504,"note":"Value kept but may cause issues"} 
[2026-11-05 10:08:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793853238000,"timestamp_ms":1793853238000,"timestamp_seconds":1793853238,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9fc2af0"} 
[2026-11-05 10:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:08:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-11-05 10:08:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:08:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":233297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":233297,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":233297,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:08:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226351872001,"66":12341,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797207532897685504},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226351872001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:08:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797207532897685504,"description":"Unknown IO ID 45"} 
[2026-11-05 10:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226351872001,"power":12341,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797207532897685504}} 
[2026-11-05 10:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":233297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62288,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:08:25] local.INFO: GPS data processed {"connection_id":233297,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:08:25] local.INFO: Acknowledgment sent {"connection_id":233297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:08:41] local.INFO: TCP Data received {"connection_id":229565,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9fe1338012d7fab0005afe140000c002630..."} 
[2026-11-05 10:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9fe1338012d7fab0005afe140000c002630..."} 
[2026-11-05 10:08:41] local.INFO: Processing buffer {"connection_id":229565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9fe1338012d7fab0005afe140000c002630..."} 
[2026-11-05 10:08:41] local.INFO: Packet analysis {"connection_id":229565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9fe"} 
[2026-11-05 10:08:41] local.INFO: Extracted packet for processing {"connection_id":229565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9fe"} 
[2026-11-05 10:08:41] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":48,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226383872001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793853363000,"timestamp_ms":1793853363000,"timestamp_seconds":1793853363,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9fe1338"} 
[2026-11-05 10:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:08:41] 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-05 10:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 10:08:41] 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-05 10:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:08: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-05 10:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226383872001,"66":25549,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226383872001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:08:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226383872001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:08:41] 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":62289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:08:41] local.INFO: GPS data processed {"connection_id":229565,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:08:41] local.INFO: Acknowledgment sent {"connection_id":229565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:08:49] local.INFO: TCP Data received {"connection_id":233298,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233298,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:08:49] local.INFO: Processing buffer {"connection_id":233298,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:08:49] local.INFO: IMEI packet received {"connection_id":233298,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":233298,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:08:54] local.INFO: TCP Data received {"connection_id":233298,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233298,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:08:54] local.INFO: Processing buffer {"connection_id":233298,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:08:54] local.INFO: IMEI packet received {"connection_id":233298,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":233298,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:08:55] local.INFO: TCP Data received {"connection_id":233298,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9fc2af0012d0b10c00702a180000f014e21..."} 
[2026-11-05 10:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9fc2af0012d0b10c00702a180000f014e21..."} 
[2026-11-05 10:08:55] local.INFO: Processing buffer {"connection_id":233298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9fc2af0012d0b10c00702a180000f014e21..."} 
[2026-11-05 10:08:55] local.INFO: Packet analysis {"connection_id":233298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9fc"} 
[2026-11-05 10:08:55] local.INFO: Extracted packet for processing {"connection_id":233298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9fc"} 
[2026-11-05 10:08:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":15,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226351872001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797207532897685504,"note":"Value kept but may cause issues"} 
[2026-11-05 10:08: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-05 10:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793853238000,"timestamp_ms":1793853238000,"timestamp_seconds":1793853238,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9fc2af0"} 
[2026-11-05 10:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-11-05 10:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233298,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233298,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226351872001,"66":12341,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797207532897685504},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226351872001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:08:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797207532897685504,"description":"Unknown IO ID 45"} 
[2026-11-05 10:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226351872001,"power":12341,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797207532897685504}} 
[2026-11-05 10:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":233298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62290,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:08:56] local.INFO: GPS data processed {"connection_id":233298,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:08:56] local.INFO: Acknowledgment sent {"connection_id":233298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:09:03] local.INFO: TCP Data received {"connection_id":230074,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:09:03] local.INFO: Processing buffer {"connection_id":230074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:09:03] local.INFO: IMEI packet received {"connection_id":230074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 10:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":230074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:09:03] local.INFO: TCP Data received {"connection_id":230073,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:09:03] local.INFO: Processing buffer {"connection_id":230073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:09:03] local.INFO: IMEI packet received {"connection_id":230073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":230073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:09:09] local.INFO: TCP Data received {"connection_id":230073,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:09:09] local.INFO: Processing buffer {"connection_id":230073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:09:09] local.INFO: IMEI packet received {"connection_id":230073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":230073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:09:10] local.INFO: TCP Data received {"connection_id":230073,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9fe1338012d7fab0005afe140000c002630..."} 
[2026-11-05 10:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9fe1338012d7fab0005afe140000c002630..."} 
[2026-11-05 10:09:10] local.INFO: Processing buffer {"connection_id":230073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9fe1338012d7fab0005afe140000c002630..."} 
[2026-11-05 10:09:10] local.INFO: Packet analysis {"connection_id":230073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9fe"} 
[2026-11-05 10:09:10] local.INFO: Extracted packet for processing {"connection_id":230073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9fe"} 
[2026-11-05 10:09:10] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":48,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226383872001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793853363000,"timestamp_ms":1793853363000,"timestamp_seconds":1793853363,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9fe1338"} 
[2026-11-05 10:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:09:10] 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-05 10:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 10:09:10] 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-05 10:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:09:10] 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-05 10:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226383872001,"66":25549,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226383872001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:09:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226383872001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":230073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:09:10] local.INFO: GPS data processed {"connection_id":230073,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:09:10] local.INFO: Acknowledgment sent {"connection_id":230073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:09:27] local.INFO: TCP Data received {"connection_id":233298,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa00c2b8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa00c2b8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:09:27] local.INFO: Processing buffer {"connection_id":233298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa00c2b8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:09:27] local.INFO: Packet analysis {"connection_id":233298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa00"} 
[2026-11-05 10:09:27] local.INFO: Extracted packet for processing {"connection_id":233298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa00"} 
[2026-11-05 10:09:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226428928001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:09:27] 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-05 10:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793853539000,"timestamp_ms":1793853539000,"timestamp_seconds":1793853539,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa00c2b8"} 
[2026-11-05 10:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 10:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":233298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":233298,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":233298,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226428928001,"66":12819,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226428928001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:09:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226428928001,"power":12819,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":233298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62292,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:09:27] local.INFO: GPS data processed {"connection_id":233298,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:09:27] local.INFO: Acknowledgment sent {"connection_id":233298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:09:41] local.INFO: TCP Data received {"connection_id":230073,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9fe1338012d7fab0005afe140000c002630..."} 
[2026-11-05 10:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9fe1338012d7fab0005afe140000c002630..."} 
[2026-11-05 10:09:41] local.INFO: Processing buffer {"connection_id":230073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9fe1338012d7fab0005afe140000c002630..."} 
[2026-11-05 10:09:41] local.INFO: Packet analysis {"connection_id":230073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9fe"} 
[2026-11-05 10:09:41] local.INFO: Extracted packet for processing {"connection_id":230073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9fe"} 
[2026-11-05 10:09:41] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":48,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226383872001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793853363000,"timestamp_ms":1793853363000,"timestamp_seconds":1793853363,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9fe1338"} 
[2026-11-05 10:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:09:41] 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-05 10:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 10:09:41] 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-05 10:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:09:41] 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-05 10:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226383872001,"66":25549,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226383872001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:09:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226383872001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":230073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:09:41] local.INFO: GPS data processed {"connection_id":230073,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:09:41] local.INFO: Acknowledgment sent {"connection_id":230073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:09:49] local.INFO: TCP Data received {"connection_id":231398,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231398,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:09:49] local.INFO: Processing buffer {"connection_id":231398,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:09:49] local.INFO: IMEI packet received {"connection_id":231398,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":231398,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:09:54] local.INFO: TCP Data received {"connection_id":231398,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231398,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:09:54] local.INFO: Processing buffer {"connection_id":231398,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:09:54] local.INFO: IMEI packet received {"connection_id":231398,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":231398,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:09:54] local.INFO: TCP Data received {"connection_id":231398,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa00c2b8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa00c2b8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:09:54] local.INFO: Processing buffer {"connection_id":231398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa00c2b8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:09:54] local.INFO: Packet analysis {"connection_id":231398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa00"} 
[2026-11-05 10:09:54] local.INFO: Extracted packet for processing {"connection_id":231398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa00"} 
[2026-11-05 10:09:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:09: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-05 10:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226428928001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:09: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-05 10:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793853539000,"timestamp_ms":1793853539000,"timestamp_seconds":1793853539,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa00c2b8"} 
[2026-11-05 10:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 10:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:09: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-05 10:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":231398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":231398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":231398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226428928001,"66":12819,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226428928001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:09:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226428928001,"power":12819,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":231398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62294,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:09:55] local.INFO: GPS data processed {"connection_id":231398,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:09:55] local.INFO: Acknowledgment sent {"connection_id":231398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:10:03] local.INFO: TCP Data received {"connection_id":233299,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:10:03] local.INFO: Processing buffer {"connection_id":233299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:10:03] local.INFO: IMEI packet received {"connection_id":233299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":233299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:10:09] local.INFO: TCP Data received {"connection_id":233299,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:10:09] local.INFO: Processing buffer {"connection_id":233299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:10:09] local.INFO: IMEI packet received {"connection_id":233299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":233299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:10:10] local.INFO: TCP Data received {"connection_id":233299,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9fe1338012d7fab0005afe140000c002630..."} 
[2026-11-05 10:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9fe1338012d7fab0005afe140000c002630..."} 
[2026-11-05 10:10:10] local.INFO: Processing buffer {"connection_id":233299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9fe1338012d7fab0005afe140000c002630..."} 
[2026-11-05 10:10:10] local.INFO: Packet analysis {"connection_id":233299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9fe"} 
[2026-11-05 10:10:10] local.INFO: Extracted packet for processing {"connection_id":233299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9fe"} 
[2026-11-05 10:10:10] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":48,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226383872001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793853363000,"timestamp_ms":1793853363000,"timestamp_seconds":1793853363,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9fe1338"} 
[2026-11-05 10:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:10:10] 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-05 10:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 10:10:10] 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-05 10:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:10:10] 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-05 10:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226383872001,"66":25549,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226383872001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:10:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:10:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226383872001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":233299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:10:10] local.INFO: GPS data processed {"connection_id":233299,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:10:10] local.INFO: Acknowledgment sent {"connection_id":233299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:10:26] local.INFO: TCP Data received {"connection_id":231398,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa00c2b8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa00c2b8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:10:26] local.INFO: Processing buffer {"connection_id":231398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa00c2b8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:10:26] local.INFO: Packet analysis {"connection_id":231398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa00"} 
[2026-11-05 10:10:26] local.INFO: Extracted packet for processing {"connection_id":231398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa00"} 
[2026-11-05 10:10:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226428928001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:10: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-05 10:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793853539000,"timestamp_ms":1793853539000,"timestamp_seconds":1793853539,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa00c2b8"} 
[2026-11-05 10:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:10:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 10:10:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:10:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:10:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226428928001,"66":12819,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226428928001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:10:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226428928001,"power":12819,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":231398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62296,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:10:26] local.INFO: GPS data processed {"connection_id":231398,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:10:26] local.INFO: Acknowledgment sent {"connection_id":231398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:10:41] local.INFO: TCP Data received {"connection_id":233299,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9fe1338012d7fab0005afe140000c002630..."} 
[2026-11-05 10:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9fe1338012d7fab0005afe140000c002630..."} 
[2026-11-05 10:10:41] local.INFO: Processing buffer {"connection_id":233299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9fe1338012d7fab0005afe140000c002630..."} 
[2026-11-05 10:10:41] local.INFO: Packet analysis {"connection_id":233299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9fe"} 
[2026-11-05 10:10:41] local.INFO: Extracted packet for processing {"connection_id":233299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9fe"} 
[2026-11-05 10:10:41] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":48,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226383872001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793853363000,"timestamp_ms":1793853363000,"timestamp_seconds":1793853363,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9fe1338"} 
[2026-11-05 10: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-05 10:10:41] 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-05 10:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 10:10:41] 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-05 10: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-05 10: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-05 10:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:10:41] 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-05 10:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226383872001,"66":25549,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226383872001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:10:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:10:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226383872001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":233299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:10:41] local.INFO: GPS data processed {"connection_id":233299,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:10:41] local.INFO: Acknowledgment sent {"connection_id":233299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:10:49] local.INFO: TCP Data received {"connection_id":229566,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229566,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:10:49] local.INFO: Processing buffer {"connection_id":229566,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:10:49] local.INFO: IMEI packet received {"connection_id":229566,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":229566,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:10:54] local.INFO: TCP Data received {"connection_id":229566,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229566,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:10:54] local.INFO: Processing buffer {"connection_id":229566,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:10:54] local.INFO: IMEI packet received {"connection_id":229566,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":229566,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:10:55] local.INFO: TCP Data received {"connection_id":229566,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa00c2b8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa00c2b8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:10:55] local.INFO: Processing buffer {"connection_id":229566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa00c2b8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:10:55] local.INFO: Packet analysis {"connection_id":229566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa00"} 
[2026-11-05 10:10:55] local.INFO: Extracted packet for processing {"connection_id":229566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa00"} 
[2026-11-05 10:10:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226428928001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:10: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-05 10:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793853539000,"timestamp_ms":1793853539000,"timestamp_seconds":1793853539,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa00c2b8"} 
[2026-11-05 10:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 10:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229566,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229566,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226428928001,"66":12819,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226428928001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:10:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226428928001,"power":12819,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":229566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62298,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:10:55] local.INFO: GPS data processed {"connection_id":229566,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:10:55] local.INFO: Acknowledgment sent {"connection_id":229566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:11:09] local.INFO: TCP Data received {"connection_id":233301,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:11:09] local.INFO: Processing buffer {"connection_id":233301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:11:09] local.INFO: IMEI packet received {"connection_id":233301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":233301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:11:14] local.INFO: TCP Data received {"connection_id":233301,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:11:14] local.INFO: Processing buffer {"connection_id":233301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:11:14] local.INFO: IMEI packet received {"connection_id":233301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":233301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:11:15] local.INFO: TCP Data received {"connection_id":233301,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9fe1338012d7fab0005afe140000c002630..."} 
[2026-11-05 10:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9fe1338012d7fab0005afe140000c002630..."} 
[2026-11-05 10:11:15] local.INFO: Processing buffer {"connection_id":233301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9fe1338012d7fab0005afe140000c002630..."} 
[2026-11-05 10:11:15] local.INFO: Packet analysis {"connection_id":233301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9fe"} 
[2026-11-05 10:11:15] local.INFO: Extracted packet for processing {"connection_id":233301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9fe"} 
[2026-11-05 10:11:15] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":48,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226383872001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793853363000,"timestamp_ms":1793853363000,"timestamp_seconds":1793853363,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9fe1338"} 
[2026-11-05 10: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-05 10:11: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-05 10:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 10:11:15] 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-05 10: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-05 10: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-05 10:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:11: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-05 10:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226383872001,"66":25549,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226383872001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:11:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:11:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226383872001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":233301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:11:15] local.INFO: GPS data processed {"connection_id":233301,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:11:15] local.INFO: Acknowledgment sent {"connection_id":233301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:11:19] local.INFO: TCP Data received {"connection_id":233301,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a9fe1338012d7fab0005afe140000c002630..."} 
[2026-11-05 10:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a9fe1338012d7fab0005afe140000c002630..."} 
[2026-11-05 10:11:19] local.INFO: Processing buffer {"connection_id":233301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a9fe1338012d7fab0005afe140000c002630..."} 
[2026-11-05 10:11:19] local.INFO: Packet analysis {"connection_id":233301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a9fe"} 
[2026-11-05 10:11:19] local.INFO: Extracted packet for processing {"connection_id":233301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a9fe"} 
[2026-11-05 10:11:19] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":12,"angle":38,"satellites":48,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226383872001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793853363000,"timestamp_ms":1793853363000,"timestamp_seconds":1793853363,"priority":1,"record_length":96,"hex_timestamp":"000001a1a9fe1338"} 
[2026-11-05 10: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-05 10:11: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-05 10: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 10:11:19] 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-05 10: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-05 10: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-05 10:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":233301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":233301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":233301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:11: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-05 10:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226383872001,"66":25549,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226383872001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:11:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:11:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226383872001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":233301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:11:19] local.INFO: GPS data processed {"connection_id":233301,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:11:19] local.INFO: Acknowledgment sent {"connection_id":233301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:11:26] local.INFO: TCP Data received {"connection_id":229566,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa00c2b8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa00c2b8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:11:26] local.INFO: Processing buffer {"connection_id":229566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa00c2b8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:11:26] local.INFO: Packet analysis {"connection_id":229566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa00"} 
[2026-11-05 10:11:26] local.INFO: Extracted packet for processing {"connection_id":229566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa00"} 
[2026-11-05 10:11:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226428928001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:11: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-05 10:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793853539000,"timestamp_ms":1793853539000,"timestamp_seconds":1793853539,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa00c2b8"} 
[2026-11-05 10: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-05 10:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 10:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10: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-05 10: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-05 10:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229566,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229566,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226428928001,"66":12819,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226428928001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:11:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226428928001,"power":12819,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":229566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62301,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:11:26] local.INFO: GPS data processed {"connection_id":229566,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:11:26] local.INFO: Acknowledgment sent {"connection_id":229566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:11:49] local.INFO: TCP Data received {"connection_id":230076,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230076,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:11:49] local.INFO: Processing buffer {"connection_id":230076,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:11:49] local.INFO: IMEI packet received {"connection_id":230076,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":230076,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:11:54] local.INFO: TCP Data received {"connection_id":230076,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230076,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:11:54] local.INFO: Processing buffer {"connection_id":230076,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:11:54] local.INFO: IMEI packet received {"connection_id":230076,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":230076,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:11:55] local.INFO: TCP Data received {"connection_id":230076,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa00c2b8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa00c2b8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:11:55] local.INFO: Processing buffer {"connection_id":230076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa00c2b8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:11:55] local.INFO: Packet analysis {"connection_id":230076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa00"} 
[2026-11-05 10:11:55] local.INFO: Extracted packet for processing {"connection_id":230076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa00"} 
[2026-11-05 10:11:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226428928001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:11: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-05 10:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793853539000,"timestamp_ms":1793853539000,"timestamp_seconds":1793853539,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa00c2b8"} 
[2026-11-05 10:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 10:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226428928001,"66":12819,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226428928001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:11:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226428928001,"power":12819,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":230076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62302,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:11:55] local.INFO: GPS data processed {"connection_id":230076,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:11:55] local.INFO: Acknowledgment sent {"connection_id":230076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:12:04] local.INFO: TCP Data received {"connection_id":233302,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:12:04] local.INFO: Processing buffer {"connection_id":233302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:12:04] local.INFO: IMEI packet received {"connection_id":233302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":233302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:12:09] local.INFO: TCP Data received {"connection_id":233302,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:12:09] local.INFO: Processing buffer {"connection_id":233302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:12:09] local.INFO: IMEI packet received {"connection_id":233302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":233302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:12:10] local.INFO: TCP Data received {"connection_id":233302,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa02ab00012d7fab0005afe1400001002632..."} 
[2026-11-05 10:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa02ab00012d7fab0005afe1400001002632..."} 
[2026-11-05 10:12:10] local.INFO: Processing buffer {"connection_id":233302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa02ab00012d7fab0005afe1400001002632..."} 
[2026-11-05 10:12:10] local.INFO: Packet analysis {"connection_id":233302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa02"} 
[2026-11-05 10:12:10] local.INFO: Extracted packet for processing {"connection_id":233302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa02"} 
[2026-11-05 10:12:10] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":1,"angle":38,"satellites":50,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226460928001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793853664000,"timestamp_ms":1793853664000,"timestamp_seconds":1793853664,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa02ab00"} 
[2026-11-05 10:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-05 10:12:10] 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-05 10:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:12:10] 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-05 10:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226460928001,"66":25549,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226460928001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:12:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:12:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226460928001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":233302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:12:10] local.INFO: GPS data processed {"connection_id":233302,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:12:10] local.INFO: Acknowledgment sent {"connection_id":233302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:12:26] local.INFO: TCP Data received {"connection_id":230076,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa00c2b8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa00c2b8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:12:26] local.INFO: Processing buffer {"connection_id":230076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa00c2b8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:12:26] local.INFO: Packet analysis {"connection_id":230076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa00"} 
[2026-11-05 10:12:26] local.INFO: Extracted packet for processing {"connection_id":230076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa00"} 
[2026-11-05 10:12:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226428928001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:12: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-05 10:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793853539000,"timestamp_ms":1793853539000,"timestamp_seconds":1793853539,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa00c2b8"} 
[2026-11-05 10:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 10:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226428928001,"66":12819,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226428928001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:12:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226428928001,"power":12819,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":230076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62304,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:12:27] local.INFO: GPS data processed {"connection_id":230076,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:12:27] local.INFO: Acknowledgment sent {"connection_id":230076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:12:41] local.INFO: TCP Data received {"connection_id":233302,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa02ab00012d7fab0005afe1400001002632..."} 
[2026-11-05 10:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa02ab00012d7fab0005afe1400001002632..."} 
[2026-11-05 10:12:41] local.INFO: Processing buffer {"connection_id":233302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa02ab00012d7fab0005afe1400001002632..."} 
[2026-11-05 10:12:41] local.INFO: Packet analysis {"connection_id":233302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa02"} 
[2026-11-05 10:12:41] local.INFO: Extracted packet for processing {"connection_id":233302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa02"} 
[2026-11-05 10:12:41] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":1,"angle":38,"satellites":50,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226460928001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793853664000,"timestamp_ms":1793853664000,"timestamp_seconds":1793853664,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa02ab00"} 
[2026-11-05 10:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-05 10:12:41] 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-05 10:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:12: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-05 10:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226460928001,"66":25549,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226460928001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:12:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:12:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226460928001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":233302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:12:41] local.INFO: GPS data processed {"connection_id":233302,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:12:41] local.INFO: Acknowledgment sent {"connection_id":233302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:12:54] local.INFO: TCP Data received {"connection_id":229567,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229567,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:12:54] local.INFO: Processing buffer {"connection_id":229567,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:12:54] local.INFO: IMEI packet received {"connection_id":229567,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":229567,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:12:59] local.INFO: TCP Data received {"connection_id":229567,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229567,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:12:59] local.INFO: Processing buffer {"connection_id":229567,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:12:59] local.INFO: IMEI packet received {"connection_id":229567,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":229567,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:13:00] local.INFO: TCP Data received {"connection_id":229567,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa00c2b8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa00c2b8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:13:00] local.INFO: Processing buffer {"connection_id":229567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa00c2b8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:13:00] local.INFO: Packet analysis {"connection_id":229567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa00"} 
[2026-11-05 10:13:00] local.INFO: Extracted packet for processing {"connection_id":229567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa00"} 
[2026-11-05 10:13:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226428928001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:13: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-05 10:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793853539000,"timestamp_ms":1793853539000,"timestamp_seconds":1793853539,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa00c2b8"} 
[2026-11-05 10:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 10:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":229567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":229567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":229567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226428928001,"66":12819,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226428928001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:13:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226428928001,"power":12819,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":229567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62306,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:13:00] local.INFO: GPS data processed {"connection_id":229567,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:13:00] local.INFO: Acknowledgment sent {"connection_id":229567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:13:04] local.INFO: TCP Data received {"connection_id":230078,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:13:04] local.INFO: Processing buffer {"connection_id":230078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:13:04] local.INFO: IMEI packet received {"connection_id":230078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":230078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:13:04] local.INFO: TCP Data received {"connection_id":229567,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa00c2b8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa00c2b8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:13:04] local.INFO: Processing buffer {"connection_id":229567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa00c2b8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:13:04] local.INFO: Packet analysis {"connection_id":229567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa00"} 
[2026-11-05 10:13:04] local.INFO: Extracted packet for processing {"connection_id":229567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa00"} 
[2026-11-05 10:13:04] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226428928001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793853539000,"timestamp_ms":1793853539000,"timestamp_seconds":1793853539,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa00c2b8"} 
[2026-11-05 10:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 10:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":229567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":229567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":229567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226428928001,"66":12819,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226428928001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:13:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226428928001,"power":12819,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":229567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62307,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:13:04] local.INFO: GPS data processed {"connection_id":229567,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:13:04] local.INFO: Acknowledgment sent {"connection_id":229567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:13:09] local.INFO: TCP Data received {"connection_id":230078,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:13:09] local.INFO: Processing buffer {"connection_id":230078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:13:09] local.INFO: IMEI packet received {"connection_id":230078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":230078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:13:10] local.INFO: TCP Data received {"connection_id":230078,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa02ab00012d7fab0005afe1400001002632..."} 
[2026-11-05 10:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa02ab00012d7fab0005afe1400001002632..."} 
[2026-11-05 10:13:10] local.INFO: Processing buffer {"connection_id":230078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa02ab00012d7fab0005afe1400001002632..."} 
[2026-11-05 10:13:10] local.INFO: Packet analysis {"connection_id":230078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa02"} 
[2026-11-05 10:13:10] local.INFO: Extracted packet for processing {"connection_id":230078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa02"} 
[2026-11-05 10:13:10] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":1,"angle":38,"satellites":50,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226460928001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793853664000,"timestamp_ms":1793853664000,"timestamp_seconds":1793853664,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa02ab00"} 
[2026-11-05 10:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-05 10:13:10] 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-05 10:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:13:10] 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-05 10:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226460928001,"66":25549,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226460928001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:13:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:13:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226460928001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":230078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:13:10] local.INFO: GPS data processed {"connection_id":230078,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:13:10] local.INFO: Acknowledgment sent {"connection_id":230078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:13:41] local.INFO: TCP Data received {"connection_id":230078,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa02ab00012d7fab0005afe1400001002632..."} 
[2026-11-05 10:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa02ab00012d7fab0005afe1400001002632..."} 
[2026-11-05 10:13:41] local.INFO: Processing buffer {"connection_id":230078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa02ab00012d7fab0005afe1400001002632..."} 
[2026-11-05 10:13:41] local.INFO: Packet analysis {"connection_id":230078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa02"} 
[2026-11-05 10:13:41] local.INFO: Extracted packet for processing {"connection_id":230078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa02"} 
[2026-11-05 10:13:41] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":1,"angle":38,"satellites":50,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226460928001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793853664000,"timestamp_ms":1793853664000,"timestamp_seconds":1793853664,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa02ab00"} 
[2026-11-05 10:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-05 10:13:41] 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-05 10:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:13: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-05 10:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226460928001,"66":25549,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226460928001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:13:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:13:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226460928001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":230078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:13:41] local.INFO: GPS data processed {"connection_id":230078,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:13:41] local.INFO: Acknowledgment sent {"connection_id":230078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:13:49] local.INFO: TCP Data received {"connection_id":231399,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231399,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:13:49] local.INFO: Processing buffer {"connection_id":231399,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:13:49] local.INFO: IMEI packet received {"connection_id":231399,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":231399,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:13:54] local.INFO: TCP Data received {"connection_id":231399,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231399,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:13:54] local.INFO: Processing buffer {"connection_id":231399,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:13:54] local.INFO: IMEI packet received {"connection_id":231399,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":231399,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:13:55] local.INFO: TCP Data received {"connection_id":231399,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa00c2b8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa00c2b8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:13:55] local.INFO: Processing buffer {"connection_id":231399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa00c2b8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:13:55] local.INFO: Packet analysis {"connection_id":231399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa00"} 
[2026-11-05 10:13:55] local.INFO: Extracted packet for processing {"connection_id":231399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa00"} 
[2026-11-05 10:13:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226428928001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:13: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-05 10:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793853539000,"timestamp_ms":1793853539000,"timestamp_seconds":1793853539,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa00c2b8"} 
[2026-11-05 10:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 10:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231399,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231399,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226428928001,"66":12819,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226428928001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:13:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226428928001,"power":12819,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":231399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62310,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:13:55] local.INFO: GPS data processed {"connection_id":231399,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:13:55] local.INFO: Acknowledgment sent {"connection_id":231399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:14:03] local.INFO: TCP Data received {"connection_id":230079,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:14:03] local.INFO: Processing buffer {"connection_id":230079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:14:03] local.INFO: IMEI packet received {"connection_id":230079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":230079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:14:07] local.INFO: TCP Data received {"connection_id":230080,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230080,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:14:07] local.INFO: Processing buffer {"connection_id":230080,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:14:07] local.INFO: IMEI packet received {"connection_id":230080,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 10:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":230080,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:14:09] local.INFO: TCP Data received {"connection_id":230079,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:14:09] local.INFO: Processing buffer {"connection_id":230079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:14:09] local.INFO: IMEI packet received {"connection_id":230079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":230079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:14:10] local.INFO: TCP Data received {"connection_id":230079,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa02ab00012d7fab0005afe1400001002632..."} 
[2026-11-05 10:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa02ab00012d7fab0005afe1400001002632..."} 
[2026-11-05 10:14:10] local.INFO: Processing buffer {"connection_id":230079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa02ab00012d7fab0005afe1400001002632..."} 
[2026-11-05 10:14:10] local.INFO: Packet analysis {"connection_id":230079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa02"} 
[2026-11-05 10:14:10] local.INFO: Extracted packet for processing {"connection_id":230079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa02"} 
[2026-11-05 10:14:10] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":1,"angle":38,"satellites":50,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226460928001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793853664000,"timestamp_ms":1793853664000,"timestamp_seconds":1793853664,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa02ab00"} 
[2026-11-05 10:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-05 10:14:10] 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-05 10:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:14:10] 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-05 10:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226460928001,"66":25549,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226460928001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:14:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:14:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226460928001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":230079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:14:10] local.INFO: GPS data processed {"connection_id":230079,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:14:10] local.INFO: Acknowledgment sent {"connection_id":230079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:14:26] local.INFO: TCP Data received {"connection_id":231399,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa055a80012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa055a80012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:14:26] local.INFO: Processing buffer {"connection_id":231399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa055a80012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:14:26] local.INFO: Packet analysis {"connection_id":231399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa05"} 
[2026-11-05 10:14:26] local.INFO: Extracted packet for processing {"connection_id":231399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa05"} 
[2026-11-05 10:14:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226505984001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14: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-05 10:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793853840000,"timestamp_ms":1793853840000,"timestamp_seconds":1793853840,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa055a80"} 
[2026-11-05 10:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-11-05 10:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:26] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3271557120,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:26] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2851569568,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:26] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:26] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504201522577408,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:26] local.WARNING: Large IO value detected {"io_id":169,"raw_value":-615893632271314368,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:26] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6778199800512446488,"corrected_to":0} 
[2026-11-05 10:14:26] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2684431627,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:26] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182156695175424,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:26] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-1945329235128168866,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:26] local.WARNING: Large IO value detected {"io_id":7,"raw_value":189599785345435671,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:26] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:26] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195398400,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:26] local.WARNING: Large IO value detected {"io_id":72,"raw_value":84736142075167393,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:26] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4222142199627776,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:26] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,17,94,24,241,157,16,35,161,42,45,192,15,33,10,66,147,64,22,135,240,41,227,169,2,1,4,113,205,127,239,55,140,7,43,195,69,72,80],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":6778199800512446488,"validated":0}]} 
[2026-11-05 10:14:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":367382912565248,"timestamp_seconds":367382912565.248,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-11-05 10:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231399,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231399,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226505984001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226505984001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:14:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226505984001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":231399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62312,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:14:27] local.INFO: GPS data processed {"connection_id":231399,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:14:27] local.INFO: Acknowledgment sent {"connection_id":231399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:14:41] local.INFO: TCP Data received {"connection_id":230079,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa02ab00012d7fab0005afe1400001002632..."} 
[2026-11-05 10:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa02ab00012d7fab0005afe1400001002632..."} 
[2026-11-05 10:14:41] local.INFO: Processing buffer {"connection_id":230079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa02ab00012d7fab0005afe1400001002632..."} 
[2026-11-05 10:14:41] local.INFO: Packet analysis {"connection_id":230079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa02"} 
[2026-11-05 10:14:41] local.INFO: Extracted packet for processing {"connection_id":230079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa02"} 
[2026-11-05 10:14:41] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":1,"angle":38,"satellites":50,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226460928001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793853664000,"timestamp_ms":1793853664000,"timestamp_seconds":1793853664,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa02ab00"} 
[2026-11-05 10: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-05 10:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-05 10:14:41] 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-05 10: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-05 10: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-05 10:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:14:41] 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-05 10:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226460928001,"66":25549,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226460928001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:14:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:14:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226460928001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":230079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:14:41] local.INFO: GPS data processed {"connection_id":230079,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:14:41] local.INFO: Acknowledgment sent {"connection_id":230079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:14:49] local.INFO: TCP Data received {"connection_id":233304,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233304,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:14:49] local.INFO: Processing buffer {"connection_id":233304,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:14:49] local.INFO: IMEI packet received {"connection_id":233304,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":233304,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:14:54] local.INFO: TCP Data received {"connection_id":233304,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233304,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:14:54] local.INFO: Processing buffer {"connection_id":233304,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:14:54] local.INFO: IMEI packet received {"connection_id":233304,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":233304,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:14:55] local.INFO: TCP Data received {"connection_id":233304,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa055a80012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa055a80012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:14:55] local.INFO: Processing buffer {"connection_id":233304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa055a80012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:14:55] local.INFO: Packet analysis {"connection_id":233304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa05"} 
[2026-11-05 10:14:55] local.INFO: Extracted packet for processing {"connection_id":233304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa05"} 
[2026-11-05 10:14:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226505984001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14: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-05 10:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793853840000,"timestamp_ms":1793853840000,"timestamp_seconds":1793853840,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa055a80"} 
[2026-11-05 10:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-11-05 10:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:55] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3271557120,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:55] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2851569568,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:55] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:55] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504201522577408,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:55] local.WARNING: Large IO value detected {"io_id":169,"raw_value":-615893632271314368,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:55] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6778199800512446488,"corrected_to":0} 
[2026-11-05 10:14:55] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2684431627,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:55] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182156695175424,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:55] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-1945329235128168866,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:55] local.WARNING: Large IO value detected {"io_id":7,"raw_value":189599785345435671,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:55] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:55] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195398400,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:55] local.WARNING: Large IO value detected {"io_id":72,"raw_value":84736142075167393,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:55] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4222142199627776,"note":"Value kept but may cause issues"} 
[2026-11-05 10:14:55] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,17,94,24,241,157,16,35,161,42,45,192,15,33,10,66,147,64,22,135,240,41,227,169,2,1,4,113,205,127,239,55,140,7,43,195,69,72,80],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":6778199800512446488,"validated":0}]} 
[2026-11-05 10:14:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":367382912565248,"timestamp_seconds":367382912565.248,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-11-05 10:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233304,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233304,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226505984001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226505984001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:14:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226505984001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":233304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62314,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:14:55] local.INFO: GPS data processed {"connection_id":233304,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:14:55] local.INFO: Acknowledgment sent {"connection_id":233304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:15:09] local.INFO: TCP Data received {"connection_id":229568,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:15:09] local.INFO: Processing buffer {"connection_id":229568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:15:09] local.INFO: IMEI packet received {"connection_id":229568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":229568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:15:14] local.INFO: TCP Data received {"connection_id":229568,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:15:14] local.INFO: Processing buffer {"connection_id":229568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:15:14] local.INFO: IMEI packet received {"connection_id":229568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":229568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:15:15] local.INFO: TCP Data received {"connection_id":229568,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa02ab00012d7fab0005afe1400001002632..."} 
[2026-11-05 10:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa02ab00012d7fab0005afe1400001002632..."} 
[2026-11-05 10:15:15] local.INFO: Processing buffer {"connection_id":229568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa02ab00012d7fab0005afe1400001002632..."} 
[2026-11-05 10:15:15] local.INFO: Packet analysis {"connection_id":229568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa02"} 
[2026-11-05 10:15:15] local.INFO: Extracted packet for processing {"connection_id":229568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa02"} 
[2026-11-05 10:15:15] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":1,"angle":38,"satellites":50,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226460928001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793853664000,"timestamp_ms":1793853664000,"timestamp_seconds":1793853664,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa02ab00"} 
[2026-11-05 10: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-05 10:15: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-05 10:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-05 10:15:15] 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-05 10: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-05 10: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-05 10:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:15:15] 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-05 10:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226460928001,"66":25549,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226460928001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:15:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:15:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226460928001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:15:15] 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":62315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:15:15] local.INFO: GPS data processed {"connection_id":229568,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:15:15] local.INFO: Acknowledgment sent {"connection_id":229568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:15:19] local.INFO: TCP Data received {"connection_id":229568,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa02ab00012d7fab0005afe1400001002632..."} 
[2026-11-05 10:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa02ab00012d7fab0005afe1400001002632..."} 
[2026-11-05 10:15:19] local.INFO: Processing buffer {"connection_id":229568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa02ab00012d7fab0005afe1400001002632..."} 
[2026-11-05 10:15:19] local.INFO: Packet analysis {"connection_id":229568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa02"} 
[2026-11-05 10:15:19] local.INFO: Extracted packet for processing {"connection_id":229568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa02"} 
[2026-11-05 10:15:19] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":1,"angle":38,"satellites":50,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226460928001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793853664000,"timestamp_ms":1793853664000,"timestamp_seconds":1793853664,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa02ab00"} 
[2026-11-05 10:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10: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-05 10:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-05 10:15: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-05 10:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:15:19] 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-05 10:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226460928001,"66":25549,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226460928001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:15:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:15:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226460928001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:15:19] 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":62316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:15:19] local.INFO: GPS data processed {"connection_id":229568,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:15:19] local.INFO: Acknowledgment sent {"connection_id":229568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:15:26] local.INFO: TCP Data received {"connection_id":233304,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa055a80012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa055a80012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:15:26] local.INFO: Processing buffer {"connection_id":233304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa055a80012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:15:26] local.INFO: Packet analysis {"connection_id":233304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa05"} 
[2026-11-05 10:15:26] local.INFO: Extracted packet for processing {"connection_id":233304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa05"} 
[2026-11-05 10:15:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226505984001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15: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-05 10:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793853840000,"timestamp_ms":1793853840000,"timestamp_seconds":1793853840,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa055a80"} 
[2026-11-05 10:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:15:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-11-05 10:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:26] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3271557120,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:26] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2851569568,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:26] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:26] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504201522577408,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:26] local.WARNING: Large IO value detected {"io_id":169,"raw_value":-615893632271314368,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:26] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6778199800512446488,"corrected_to":0} 
[2026-11-05 10:15:26] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2684431627,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:26] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182156695175424,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:26] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-1945329235128168866,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:26] local.WARNING: Large IO value detected {"io_id":7,"raw_value":189599785345435671,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:26] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:26] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195398400,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:26] local.WARNING: Large IO value detected {"io_id":72,"raw_value":84736142075167393,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:26] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4222142199627776,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:26] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,17,94,24,241,157,16,35,161,42,45,192,15,33,10,66,147,64,22,135,240,41,227,169,2,1,4,113,205,127,239,55,140,7,43,195,69,72,80],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":6778199800512446488,"validated":0}]} 
[2026-11-05 10:15:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":367382912565248,"timestamp_seconds":367382912565.248,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-11-05 10:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233304,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233304,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:15:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226505984001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226505984001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:15:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226505984001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":233304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62317,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:15:26] local.INFO: GPS data processed {"connection_id":233304,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:15:26] local.INFO: Acknowledgment sent {"connection_id":233304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:15:49] local.INFO: TCP Data received {"connection_id":231400,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231400,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:15:49] local.INFO: Processing buffer {"connection_id":231400,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:15:49] local.INFO: IMEI packet received {"connection_id":231400,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":231400,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:15:54] local.INFO: TCP Data received {"connection_id":231400,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231400,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:15:54] local.INFO: Processing buffer {"connection_id":231400,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:15:54] local.INFO: IMEI packet received {"connection_id":231400,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":231400,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:15:55] local.INFO: TCP Data received {"connection_id":231400,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa055a80012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa055a80012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:15:55] local.INFO: Processing buffer {"connection_id":231400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa055a80012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:15:55] local.INFO: Packet analysis {"connection_id":231400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa05"} 
[2026-11-05 10:15:55] local.INFO: Extracted packet for processing {"connection_id":231400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa05"} 
[2026-11-05 10:15:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226505984001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15: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-05 10:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793853840000,"timestamp_ms":1793853840000,"timestamp_seconds":1793853840,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa055a80"} 
[2026-11-05 10:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-11-05 10:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:55] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3271557120,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:55] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2851569568,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:55] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:55] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504201522577408,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:55] local.WARNING: Large IO value detected {"io_id":169,"raw_value":-615893632271314368,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:55] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6778199800512446488,"corrected_to":0} 
[2026-11-05 10:15:55] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2684431627,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:55] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182156695175424,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:55] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-1945329235128168866,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:55] local.WARNING: Large IO value detected {"io_id":7,"raw_value":189599785345435671,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:55] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:55] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195398400,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:55] local.WARNING: Large IO value detected {"io_id":72,"raw_value":84736142075167393,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:55] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4222142199627776,"note":"Value kept but may cause issues"} 
[2026-11-05 10:15:55] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,17,94,24,241,157,16,35,161,42,45,192,15,33,10,66,147,64,22,135,240,41,227,169,2,1,4,113,205,127,239,55,140,7,43,195,69,72,80],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":6778199800512446488,"validated":0}]} 
[2026-11-05 10:15:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":367382912565248,"timestamp_seconds":367382912565.248,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-11-05 10:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231400,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231400,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226505984001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226505984001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:15:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226505984001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":231400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62318,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:15:55] local.INFO: GPS data processed {"connection_id":231400,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:15:55] local.INFO: Acknowledgment sent {"connection_id":231400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:16:03] local.INFO: TCP Data received {"connection_id":231401,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:16:04] local.INFO: Processing buffer {"connection_id":231401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:16:04] local.INFO: IMEI packet received {"connection_id":231401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":231401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:16:09] local.INFO: TCP Data received {"connection_id":231401,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:16:09] local.INFO: Processing buffer {"connection_id":231401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:16:09] local.INFO: IMEI packet received {"connection_id":231401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":231401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:16:10] local.INFO: TCP Data received {"connection_id":231401,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa02ab00012d7fab0005afe1400001002632..."} 
[2026-11-05 10:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa02ab00012d7fab0005afe1400001002632..."} 
[2026-11-05 10:16:10] local.INFO: Processing buffer {"connection_id":231401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa02ab00012d7fab0005afe1400001002632..."} 
[2026-11-05 10:16:10] local.INFO: Packet analysis {"connection_id":231401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa02"} 
[2026-11-05 10:16:10] local.INFO: Extracted packet for processing {"connection_id":231401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa02"} 
[2026-11-05 10:16:10] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":1,"angle":38,"satellites":50,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226460928001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793853664000,"timestamp_ms":1793853664000,"timestamp_seconds":1793853664,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa02ab00"} 
[2026-11-05 10:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-05 10:16:10] 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-05 10:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:16:10] 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-05 10:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226460928001,"66":25549,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226460928001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:16:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226460928001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":231401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:16:10] local.INFO: GPS data processed {"connection_id":231401,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:16:10] local.INFO: Acknowledgment sent {"connection_id":231401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:16:27] local.INFO: TCP Data received {"connection_id":231400,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa055a80012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa055a80012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:16:27] local.INFO: Processing buffer {"connection_id":231400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa055a80012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:16:27] local.INFO: Packet analysis {"connection_id":231400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa05"} 
[2026-11-05 10:16:27] local.INFO: Extracted packet for processing {"connection_id":231400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa05"} 
[2026-11-05 10:16:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226505984001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:27] 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-05 10:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793853840000,"timestamp_ms":1793853840000,"timestamp_seconds":1793853840,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa055a80"} 
[2026-11-05 10:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-11-05 10:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:27] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3271557120,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:27] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2851569568,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:27] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:27] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504201522577408,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:27] local.WARNING: Large IO value detected {"io_id":169,"raw_value":-615893632271314368,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:27] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6778199800512446488,"corrected_to":0} 
[2026-11-05 10:16:27] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2684431627,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:27] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182156695175424,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:27] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-1945329235128168866,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:27] local.WARNING: Large IO value detected {"io_id":7,"raw_value":189599785345435671,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:27] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:27] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195398400,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:27] local.WARNING: Large IO value detected {"io_id":72,"raw_value":84736142075167393,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:27] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4222142199627776,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:27] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,17,94,24,241,157,16,35,161,42,45,192,15,33,10,66,147,64,22,135,240,41,227,169,2,1,4,113,205,127,239,55,140,7,43,195,69,72,80],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":6778199800512446488,"validated":0}]} 
[2026-11-05 10:16:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":367382912565248,"timestamp_seconds":367382912565.248,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-11-05 10:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":231400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":231400,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":231400,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226505984001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226505984001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:16:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226505984001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":231400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62320,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:16:27] local.INFO: GPS data processed {"connection_id":231400,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:16:27] local.INFO: Acknowledgment sent {"connection_id":231400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:16:41] local.INFO: TCP Data received {"connection_id":231401,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa02ab00012d7fab0005afe1400001002632..."} 
[2026-11-05 10:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa02ab00012d7fab0005afe1400001002632..."} 
[2026-11-05 10:16:41] local.INFO: Processing buffer {"connection_id":231401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa02ab00012d7fab0005afe1400001002632..."} 
[2026-11-05 10:16:41] local.INFO: Packet analysis {"connection_id":231401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa02"} 
[2026-11-05 10:16:41] local.INFO: Extracted packet for processing {"connection_id":231401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa02"} 
[2026-11-05 10:16:41] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":1,"angle":38,"satellites":50,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226460928001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793853664000,"timestamp_ms":1793853664000,"timestamp_seconds":1793853664,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa02ab00"} 
[2026-11-05 10:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-05 10:16:41] 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-05 10:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:16: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-05 10:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226460928001,"66":25549,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226460928001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:16:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:16:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226460928001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":231401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:16:41] local.INFO: GPS data processed {"connection_id":231401,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:16:41] local.INFO: Acknowledgment sent {"connection_id":231401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:16:49] local.INFO: TCP Data received {"connection_id":229570,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229570,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:16:49] local.INFO: Processing buffer {"connection_id":229570,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:16:49] local.INFO: IMEI packet received {"connection_id":229570,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":229570,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:16:54] local.INFO: TCP Data received {"connection_id":229570,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229570,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:16:54] local.INFO: Processing buffer {"connection_id":229570,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:16:54] local.INFO: IMEI packet received {"connection_id":229570,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":229570,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:16:55] local.INFO: TCP Data received {"connection_id":229570,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa055a80012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa055a80012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:16:55] local.INFO: Processing buffer {"connection_id":229570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa055a80012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:16:55] local.INFO: Packet analysis {"connection_id":229570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa05"} 
[2026-11-05 10:16:55] local.INFO: Extracted packet for processing {"connection_id":229570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa05"} 
[2026-11-05 10:16:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226505984001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16: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-05 10:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793853840000,"timestamp_ms":1793853840000,"timestamp_seconds":1793853840,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa055a80"} 
[2026-11-05 10: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-05 10:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-11-05 10:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:55] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3271557120,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:55] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2851569568,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:55] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:55] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504201522577408,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:55] local.WARNING: Large IO value detected {"io_id":169,"raw_value":-615893632271314368,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:55] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6778199800512446488,"corrected_to":0} 
[2026-11-05 10:16:55] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2684431627,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:55] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182156695175424,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:55] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-1945329235128168866,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:55] local.WARNING: Large IO value detected {"io_id":7,"raw_value":189599785345435671,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:55] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:55] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195398400,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:55] local.WARNING: Large IO value detected {"io_id":72,"raw_value":84736142075167393,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:55] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4222142199627776,"note":"Value kept but may cause issues"} 
[2026-11-05 10:16:55] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,17,94,24,241,157,16,35,161,42,45,192,15,33,10,66,147,64,22,135,240,41,227,169,2,1,4,113,205,127,239,55,140,7,43,195,69,72,80],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":6778199800512446488,"validated":0}]} 
[2026-11-05 10:16:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":367382912565248,"timestamp_seconds":367382912565.248,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-11-05 10: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-05 10:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229570,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229570,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226505984001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226505984001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:16:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226505984001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:16:55] 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":62322,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:16:55] local.INFO: GPS data processed {"connection_id":229570,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:16:55] local.INFO: Acknowledgment sent {"connection_id":229570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:17:09] local.INFO: TCP Data received {"connection_id":233305,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:17:09] local.INFO: Processing buffer {"connection_id":233305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:17:09] local.INFO: IMEI packet received {"connection_id":233305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":233305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:17:14] local.INFO: TCP Data received {"connection_id":233305,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:17:14] local.INFO: Processing buffer {"connection_id":233305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:17:14] local.INFO: IMEI packet received {"connection_id":233305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":233305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:17:15] local.INFO: TCP Data received {"connection_id":233305,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa0742c8012d7fab0005afe140000800262e..."} 
[2026-11-05 10:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa0742c8012d7fab0005afe140000800262e..."} 
[2026-11-05 10:17:15] local.INFO: Processing buffer {"connection_id":233305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa0742c8012d7fab0005afe140000800262e..."} 
[2026-11-05 10:17:15] local.INFO: Packet analysis {"connection_id":233305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa07"} 
[2026-11-05 10:17:15] local.INFO: Extracted packet for processing {"connection_id":233305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa07"} 
[2026-11-05 10:17:15] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":8,"angle":38,"satellites":46,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 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-05 10:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226537984001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793853965000,"timestamp_ms":1793853965000,"timestamp_seconds":1793853965,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa0742c8"} 
[2026-11-05 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-05 10:17: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-05 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-05 10:17:15] 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-05 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-05 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-05 10:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:17: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-05 10:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226537984001,"66":25473,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226537984001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:17:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:17:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226537984001,"power":25473,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":233305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:17:15] local.INFO: GPS data processed {"connection_id":233305,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:17:15] local.INFO: Acknowledgment sent {"connection_id":233305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:17:19] local.INFO: TCP Data received {"connection_id":233305,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa0742c8012d7fab0005afe140000800262e..."} 
[2026-11-05 10:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa0742c8012d7fab0005afe140000800262e..."} 
[2026-11-05 10:17:19] local.INFO: Processing buffer {"connection_id":233305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa0742c8012d7fab0005afe140000800262e..."} 
[2026-11-05 10:17:19] local.INFO: Packet analysis {"connection_id":233305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa07"} 
[2026-11-05 10:17:19] local.INFO: Extracted packet for processing {"connection_id":233305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa07"} 
[2026-11-05 10:17:19] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":8,"angle":38,"satellites":46,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226537984001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793853965000,"timestamp_ms":1793853965000,"timestamp_seconds":1793853965,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa0742c8"} 
[2026-11-05 10:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:17: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-05 10:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-05 10:17: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-05 10:17:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":233305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":233305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":233305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:17: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-05 10:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226537984001,"66":25473,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226537984001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:17:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:17:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226537984001,"power":25473,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":233305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:17:19] local.INFO: GPS data processed {"connection_id":233305,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:17:19] local.INFO: Acknowledgment sent {"connection_id":233305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:17:26] local.INFO: TCP Data received {"connection_id":229570,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa055a80012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa055a80012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:17:26] local.INFO: Processing buffer {"connection_id":229570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa055a80012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:17:26] local.INFO: Packet analysis {"connection_id":229570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa05"} 
[2026-11-05 10:17:26] local.INFO: Extracted packet for processing {"connection_id":229570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa05"} 
[2026-11-05 10:17:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226505984001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:17: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-05 10:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793853840000,"timestamp_ms":1793853840000,"timestamp_seconds":1793853840,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa055a80"} 
[2026-11-05 10:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-11-05 10:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-11-05 10:17:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-11-05 10:17:26] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3271557120,"note":"Value kept but may cause issues"} 
[2026-11-05 10:17:26] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2851569568,"note":"Value kept but may cause issues"} 
[2026-11-05 10:17:26] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-11-05 10:17:26] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504201522577408,"note":"Value kept but may cause issues"} 
[2026-11-05 10:17:26] local.WARNING: Large IO value detected {"io_id":169,"raw_value":-615893632271314368,"note":"Value kept but may cause issues"} 
[2026-11-05 10:17:26] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-11-05 10:17:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6778199800512446488,"corrected_to":0} 
[2026-11-05 10:17:26] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2684431627,"note":"Value kept but may cause issues"} 
[2026-11-05 10:17:26] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182156695175424,"note":"Value kept but may cause issues"} 
[2026-11-05 10:17:26] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-1945329235128168866,"note":"Value kept but may cause issues"} 
[2026-11-05 10:17:26] local.WARNING: Large IO value detected {"io_id":7,"raw_value":189599785345435671,"note":"Value kept but may cause issues"} 
[2026-11-05 10:17:26] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-11-05 10:17:26] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195398400,"note":"Value kept but may cause issues"} 
[2026-11-05 10:17:26] local.WARNING: Large IO value detected {"io_id":72,"raw_value":84736142075167393,"note":"Value kept but may cause issues"} 
[2026-11-05 10:17:26] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4222142199627776,"note":"Value kept but may cause issues"} 
[2026-11-05 10:17:26] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,17,94,24,241,157,16,35,161,42,45,192,15,33,10,66,147,64,22,135,240,41,227,169,2,1,4,113,205,127,239,55,140,7,43,195,69,72,80],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":6778199800512446488,"validated":0}]} 
[2026-11-05 10:17:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":367382912565248,"timestamp_seconds":367382912565.248,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-11-05 10:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229570,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229570,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226505984001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226505984001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:17:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226505984001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:17:26] 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":62325,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:17:26] local.INFO: GPS data processed {"connection_id":229570,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:17:26] local.INFO: Acknowledgment sent {"connection_id":229570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:17:54] local.INFO: TCP Data received {"connection_id":230082,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230082,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:17:54] local.INFO: Processing buffer {"connection_id":230082,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:17:54] local.INFO: IMEI packet received {"connection_id":230082,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":230082,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:17:59] local.INFO: TCP Data received {"connection_id":230082,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230082,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:17:59] local.INFO: Processing buffer {"connection_id":230082,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:17:59] local.INFO: IMEI packet received {"connection_id":230082,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":230082,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:18:00] local.INFO: TCP Data received {"connection_id":230082,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa055a80012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa055a80012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:18:00] local.INFO: Processing buffer {"connection_id":230082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa055a80012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:18:00] local.INFO: Packet analysis {"connection_id":230082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa05"} 
[2026-11-05 10:18:00] local.INFO: Extracted packet for processing {"connection_id":230082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa05"} 
[2026-11-05 10:18:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226505984001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18: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-05 10:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793853840000,"timestamp_ms":1793853840000,"timestamp_seconds":1793853840,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa055a80"} 
[2026-11-05 10:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:18:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-11-05 10:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:00] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3271557120,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:00] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2851569568,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:00] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:00] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504201522577408,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:00] local.WARNING: Large IO value detected {"io_id":169,"raw_value":-615893632271314368,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:00] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6778199800512446488,"corrected_to":0} 
[2026-11-05 10:18:00] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2684431627,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:00] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182156695175424,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:00] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-1945329235128168866,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:00] local.WARNING: Large IO value detected {"io_id":7,"raw_value":189599785345435671,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:00] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:00] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195398400,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:00] local.WARNING: Large IO value detected {"io_id":72,"raw_value":84736142075167393,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:00] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4222142199627776,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:00] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,17,94,24,241,157,16,35,161,42,45,192,15,33,10,66,147,64,22,135,240,41,227,169,2,1,4,113,205,127,239,55,140,7,43,195,69,72,80],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":6778199800512446488,"validated":0}]} 
[2026-11-05 10:18:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":367382912565248,"timestamp_seconds":367382912565.248,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-11-05 10:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":230082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":230082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":230082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226505984001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226505984001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:18:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226505984001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":230082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62326,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:18:00] local.INFO: GPS data processed {"connection_id":230082,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:18:00] local.INFO: Acknowledgment sent {"connection_id":230082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:18:04] local.INFO: TCP Data received {"connection_id":229571,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:18:04] local.INFO: Processing buffer {"connection_id":229571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:18:04] local.INFO: IMEI packet received {"connection_id":229571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":229571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:18:04] local.INFO: TCP Data received {"connection_id":230082,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa055a80012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa055a80012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:18:04] local.INFO: Processing buffer {"connection_id":230082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa055a80012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:18:04] local.INFO: Packet analysis {"connection_id":230082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa05"} 
[2026-11-05 10:18:04] local.INFO: Extracted packet for processing {"connection_id":230082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa05"} 
[2026-11-05 10:18:04] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226505984001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793853840000,"timestamp_ms":1793853840000,"timestamp_seconds":1793853840,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa055a80"} 
[2026-11-05 10:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-11-05 10:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:04] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3271557120,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:04] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2851569568,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:04] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504201522577408,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:04] local.WARNING: Large IO value detected {"io_id":169,"raw_value":-615893632271314368,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:04] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6778199800512446488,"corrected_to":0} 
[2026-11-05 10:18:04] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2684431627,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:04] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182156695175424,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:04] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-1945329235128168866,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:04] local.WARNING: Large IO value detected {"io_id":7,"raw_value":189599785345435671,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:04] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:04] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195398400,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:04] local.WARNING: Large IO value detected {"io_id":72,"raw_value":84736142075167393,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:04] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4222142199627776,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:04] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,17,94,24,241,157,16,35,161,42,45,192,15,33,10,66,147,64,22,135,240,41,227,169,2,1,4,113,205,127,239,55,140,7,43,195,69,72,80],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":6778199800512446488,"validated":0}]} 
[2026-11-05 10:18:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":367382912565248,"timestamp_seconds":367382912565.248,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-11-05 10:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":230082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":230082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":230082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226505984001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226505984001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:18:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226505984001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":230082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62327,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:18:04] local.INFO: GPS data processed {"connection_id":230082,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:18:04] local.INFO: Acknowledgment sent {"connection_id":230082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:18:09] local.INFO: TCP Data received {"connection_id":229571,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:18:09] local.INFO: Processing buffer {"connection_id":229571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:18:09] local.INFO: IMEI packet received {"connection_id":229571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":229571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:18:10] local.INFO: TCP Data received {"connection_id":229571,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa0742c8012d7fab0005afe140000800262e..."} 
[2026-11-05 10:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa0742c8012d7fab0005afe140000800262e..."} 
[2026-11-05 10:18:10] local.INFO: Processing buffer {"connection_id":229571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa0742c8012d7fab0005afe140000800262e..."} 
[2026-11-05 10:18:10] local.INFO: Packet analysis {"connection_id":229571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa07"} 
[2026-11-05 10:18:10] local.INFO: Extracted packet for processing {"connection_id":229571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa07"} 
[2026-11-05 10:18:10] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":8,"angle":38,"satellites":46,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10:18: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-05 10:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226537984001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793853965000,"timestamp_ms":1793853965000,"timestamp_seconds":1793853965,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa0742c8"} 
[2026-11-05 10:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-05 10:18:10] 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-05 10:18: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-05 10:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:18:10] 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-05 10:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226537984001,"66":25473,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226537984001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:18:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:18:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226537984001,"power":25473,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:18:10] 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":62328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:18:10] local.INFO: GPS data processed {"connection_id":229571,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:18:10] local.INFO: Acknowledgment sent {"connection_id":229571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:18:40] local.INFO: TCP Data received {"connection_id":229571,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa090018012d7fab0005afe1400008002630..."} 
[2026-11-05 10:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa090018012d7fab0005afe1400008002630..."} 
[2026-11-05 10:18:40] local.INFO: Processing buffer {"connection_id":229571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa090018012d7fab0005afe1400008002630..."} 
[2026-11-05 10:18:40] local.INFO: Packet analysis {"connection_id":229571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:18:40] local.INFO: Extracted packet for processing {"connection_id":229571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:18:40] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95412544,"longitude_deg":76.3341568,"latitude_deg":9.5412544,"altitude":8,"angle":38,"satellites":48,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-11-05 10:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-05 10:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226615040001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793854079000,"timestamp_ms":1793854079000,"timestamp_seconds":1793854079,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa090018"} 
[2026-11-05 10: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-05 10:18:40] 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-05 10:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 10:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10: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-05 10: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-05 10:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:18:40] 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-05 10:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226615040001,"66":25451,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226615040001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:18:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:18:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226615040001,"power":25451,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:18:40] 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":62329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:18:40] local.INFO: GPS data processed {"connection_id":229571,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:18:40] local.INFO: Acknowledgment sent {"connection_id":229571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:18:49] local.INFO: TCP Data received {"connection_id":231403,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231403,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:18:49] local.INFO: Processing buffer {"connection_id":231403,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:18:49] local.INFO: IMEI packet received {"connection_id":231403,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":231403,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:18:54] local.INFO: TCP Data received {"connection_id":231403,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231403,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:18:54] local.INFO: Processing buffer {"connection_id":231403,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:18:54] local.INFO: IMEI packet received {"connection_id":231403,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":231403,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:18:55] local.INFO: TCP Data received {"connection_id":231403,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa055a80012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa055a80012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:18:55] local.INFO: Processing buffer {"connection_id":231403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa055a80012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:18:55] local.INFO: Packet analysis {"connection_id":231403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa05"} 
[2026-11-05 10:18:55] local.INFO: Extracted packet for processing {"connection_id":231403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa05"} 
[2026-11-05 10:18:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226505984001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18: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-05 10:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793853840000,"timestamp_ms":1793853840000,"timestamp_seconds":1793853840,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa055a80"} 
[2026-11-05 10: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-05 10:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-11-05 10:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:55] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3271557120,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:55] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2851569568,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:55] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:55] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504201522577408,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:55] local.WARNING: Large IO value detected {"io_id":169,"raw_value":-615893632271314368,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:55] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6778199800512446488,"corrected_to":0} 
[2026-11-05 10:18:55] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2684431627,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:55] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182156695175424,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:55] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-1945329235128168866,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:55] local.WARNING: Large IO value detected {"io_id":7,"raw_value":189599785345435671,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:55] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:55] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195398400,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:55] local.WARNING: Large IO value detected {"io_id":72,"raw_value":84736142075167393,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:55] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4222142199627776,"note":"Value kept but may cause issues"} 
[2026-11-05 10:18:55] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,17,94,24,241,157,16,35,161,42,45,192,15,33,10,66,147,64,22,135,240,41,227,169,2,1,4,113,205,127,239,55,140,7,43,195,69,72,80],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":6778199800512446488,"validated":0}]} 
[2026-11-05 10:18:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":367382912565248,"timestamp_seconds":367382912565.248,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-11-05 10: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-05 10:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231403,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231403,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226505984001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226505984001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:18:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226505984001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":231403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62330,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:18:55] local.INFO: GPS data processed {"connection_id":231403,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:18:55] local.INFO: Acknowledgment sent {"connection_id":231403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:19:04] local.INFO: TCP Data received {"connection_id":231404,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:19:04] local.INFO: Processing buffer {"connection_id":231404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:19:04] local.INFO: IMEI packet received {"connection_id":231404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":231404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:19:09] local.INFO: TCP Data received {"connection_id":231404,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:19:09] local.INFO: Processing buffer {"connection_id":231404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:19:09] local.INFO: IMEI packet received {"connection_id":231404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":231404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:19:10] local.INFO: TCP Data received {"connection_id":231404,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa090bd0012d7fac8005afdfb80008007130..."} 
[2026-11-05 10:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa090bd0012d7fac8005afdfb80008007130..."} 
[2026-11-05 10:19:10] local.INFO: Processing buffer {"connection_id":231404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa090bd0012d7fac8005afdfb80008007130..."} 
[2026-11-05 10:19:10] local.INFO: Packet analysis {"connection_id":231404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:19:10] local.INFO: Extracted packet for processing {"connection_id":231404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:19:10] local.INFO: GPS Element Parsed {"raw_longitude":763341952,"raw_latitude":95412152,"longitude_deg":76.3341952,"latitude_deg":9.5412152,"altitude":8,"angle":113,"satellites":48,"speed":0,"hex_longitude":"2d7fac80","hex_latitude":"05afdfb8","is_valid_coordinates":true} 
[2026-11-05 10:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226644224001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40291990146908160,"note":"Value kept but may cause issues"} 
[2026-11-05 10:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259981312,"note":"Value kept but may cause issues"} 
[2026-11-05 10:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793854082000,"timestamp_ms":1793854082000,"timestamp_seconds":1793854082,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa090bd0"} 
[2026-11-05 10:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:19: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-05 10:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 10:19:10] 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-05 10:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:19:10] 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-05 10:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226644224001,"66":25419,"28":206,"85":12544,"24":0,"16":40291990146908160,"45":9199446688259981312},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226644224001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:19:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:19:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40291990146908160,"km_value":40291990146908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259981312,"description":"Unknown IO ID 45"} 
[2026-11-05 10:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226644224001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259981312}} 
[2026-11-05 10:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":231404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:19:10] local.INFO: GPS data processed {"connection_id":231404,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:19:10] local.INFO: Acknowledgment sent {"connection_id":231404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:19:26] local.INFO: TCP Data received {"connection_id":231403,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:19:26] local.INFO: Processing buffer {"connection_id":231403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:19:26] local.INFO: Packet analysis {"connection_id":231403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:19:26] local.INFO: Extracted packet for processing {"connection_id":231403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:19:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226583040001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:19: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-05 10:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793854141000,"timestamp_ms":1793854141000,"timestamp_seconds":1793854141,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa09f248"} 
[2026-11-05 10: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-05 10:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 10:19: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-05 10: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-05 10: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-05 10:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231403,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231403,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226583040001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226583040001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:19:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226583040001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":231403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62332,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:19:26] local.INFO: GPS data processed {"connection_id":231403,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:19:26] local.INFO: Acknowledgment sent {"connection_id":231403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:19:36] local.INFO: TCP Data received {"connection_id":231405,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231405,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:19:36] local.INFO: Processing buffer {"connection_id":231405,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:19:36] local.INFO: IMEI packet received {"connection_id":231405,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 10:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":231405,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:19:42] local.INFO: TCP Data received {"connection_id":231404,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa09ee60012d7fad4005afe208000b002731..."} 
[2026-11-05 10:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa09ee60012d7fad4005afe208000b002731..."} 
[2026-11-05 10:19:42] local.INFO: Processing buffer {"connection_id":231404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa09ee60012d7fad4005afe208000b002731..."} 
[2026-11-05 10:19:42] local.INFO: Packet analysis {"connection_id":231404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:19:42] local.INFO: Extracted packet for processing {"connection_id":231404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:19:42] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95412744,"longitude_deg":76.3342144,"latitude_deg":9.5412744,"altitude":11,"angle":39,"satellites":49,"speed":5,"hex_longitude":"2d7fad40","hex_latitude":"05afe208","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226659328001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292067456319488,"note":"Value kept but may cause issues"} 
[2026-11-05 10:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980875776,"note":"Value kept but may cause issues"} 
[2026-11-05 10:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793854140000,"timestamp_ms":1793854140000,"timestamp_seconds":1793854140,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa09ee60"} 
[2026-11-05 10: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-05 10:19:42] 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-05 10: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-11-05 10:19:42] 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-05 10: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-05 10: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-05 10:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:19:42] 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-05 10:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226659328001,"66":27876,"28":206,"85":12544,"24":5,"16":40292067456319488,"45":9199798531980875776},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226659328001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:19:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:19:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292067456319488,"km_value":40292067456319.484,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980875776,"description":"Unknown IO ID 45"} 
[2026-11-05 10:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226659328001,"power":27876,"unknown_28":206,"unknown_85":12544,"ignition":5,"odometer":null,"unknown_45":9199798531980875776}} 
[2026-11-05 10:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":231404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:19:42] local.INFO: GPS data processed {"connection_id":231404,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:19:42] local.INFO: Acknowledgment sent {"connection_id":231404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:19:49] local.INFO: TCP Data received {"connection_id":229572,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229572,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:19:49] local.INFO: Processing buffer {"connection_id":229572,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:19:49] local.INFO: IMEI packet received {"connection_id":229572,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":229572,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:19:54] local.INFO: TCP Data received {"connection_id":229572,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229572,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:19:54] local.INFO: Processing buffer {"connection_id":229572,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:19:54] local.INFO: IMEI packet received {"connection_id":229572,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":229572,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:19:55] local.INFO: TCP Data received {"connection_id":229572,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:19:55] local.INFO: Processing buffer {"connection_id":229572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:19:55] local.INFO: Packet analysis {"connection_id":229572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:19:55] local.INFO: Extracted packet for processing {"connection_id":229572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:19:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226583040001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:19: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-05 10:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793854141000,"timestamp_ms":1793854141000,"timestamp_seconds":1793854141,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa09f248"} 
[2026-11-05 10:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 10:19: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-05 10:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229572,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229572,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226583040001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226583040001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:19:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226583040001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:19:55] 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":62334,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:19:55] local.INFO: GPS data processed {"connection_id":229572,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:19:55] local.INFO: Acknowledgment sent {"connection_id":229572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:20:04] local.INFO: TCP Data received {"connection_id":230084,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:20:04] local.INFO: Processing buffer {"connection_id":230084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:20:04] local.INFO: IMEI packet received {"connection_id":230084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":230084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:20:09] local.INFO: TCP Data received {"connection_id":230084,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:20:09] local.INFO: Processing buffer {"connection_id":230084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:20:09] local.INFO: IMEI packet received {"connection_id":230084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":230084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:20:10] local.INFO: TCP Data received {"connection_id":230084,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa09f248012d7fad4005afe2a0000b000430..."} 
[2026-11-05 10:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa09f248012d7fad4005afe2a0000b000430..."} 
[2026-11-05 10:20:10] local.INFO: Processing buffer {"connection_id":230084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa09f248012d7fad4005afe2a0000b000430..."} 
[2026-11-05 10:20:10] local.INFO: Packet analysis {"connection_id":230084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:20:10] local.INFO: Extracted packet for processing {"connection_id":230084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:20:10] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95412896,"longitude_deg":76.3342144,"latitude_deg":9.5412896,"altitude":11,"angle":4,"satellites":48,"speed":7,"hex_longitude":"2d7fad40","hex_latitude":"05afe2a0","is_valid_coordinates":true} 
[2026-11-05 10:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226659840001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292071751286784,"note":"Value kept but may cause issues"} 
[2026-11-05 10:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957631488,"note":"Value kept but may cause issues"} 
[2026-11-05 10:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793854141000,"timestamp_ms":1793854141000,"timestamp_seconds":1793854141,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa09f248"} 
[2026-11-05 10:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 10:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-05 10:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:20:10] 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-05 10:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226659840001,"66":27908,"28":206,"85":12544,"24":7,"16":40292071751286784,"45":9200080006957631488},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226659840001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:20:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:20:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292071751286784,"km_value":40292071751286.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957631488,"description":"Unknown IO ID 45"} 
[2026-11-05 10:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226659840001,"power":27908,"unknown_28":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9200080006957631488}} 
[2026-11-05 10:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":230084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:20:10] local.INFO: GPS data processed {"connection_id":230084,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:20:10] local.INFO: Acknowledgment sent {"connection_id":230084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:20:11] local.INFO: TCP Data received {"connection_id":229573,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229573,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:20:11] local.INFO: Processing buffer {"connection_id":229573,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:20:11] local.INFO: IMEI packet received {"connection_id":229573,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 10:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":229573,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:20:26] local.INFO: TCP Data received {"connection_id":229572,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:20:26] local.INFO: Processing buffer {"connection_id":229572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:20:26] local.INFO: Packet analysis {"connection_id":229572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:20:26] local.INFO: Extracted packet for processing {"connection_id":229572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:20:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226583040001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:20: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-05 10:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793854141000,"timestamp_ms":1793854141000,"timestamp_seconds":1793854141,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa09f248"} 
[2026-11-05 10: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-05 10:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10: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-05 10: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-05 10: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-05 10:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229572,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229572,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226583040001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226583040001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:20:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226583040001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:20:26] 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":62336,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:20:26] local.INFO: GPS data processed {"connection_id":229572,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:20:26] local.INFO: Acknowledgment sent {"connection_id":229572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:20:41] local.INFO: TCP Data received {"connection_id":230084,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa09f630012d7fad4005afe310000b001230..."} 
[2026-11-05 10:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa09f630012d7fad4005afe310000b001230..."} 
[2026-11-05 10:20:41] local.INFO: Processing buffer {"connection_id":230084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa09f630012d7fad4005afe310000b001230..."} 
[2026-11-05 10:20:41] local.INFO: Packet analysis {"connection_id":230084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:20:41] local.INFO: Extracted packet for processing {"connection_id":230084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:20:41] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413008,"longitude_deg":76.3342144,"latitude_deg":9.5413008,"altitude":11,"angle":18,"satellites":48,"speed":4,"hex_longitude":"2d7fad40","hex_latitude":"05afe310","is_valid_coordinates":true} 
[2026-11-05 10:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226660096001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292080341221376,"note":"Value kept but may cause issues"} 
[2026-11-05 10:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957670400,"note":"Value kept but may cause issues"} 
[2026-11-05 10:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793854142000,"timestamp_ms":1793854142000,"timestamp_seconds":1793854142,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa09f630"} 
[2026-11-05 10:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 10:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 10:20: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-05 10:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:20: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-05 10:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226660096001,"66":27908,"28":206,"85":12544,"24":4,"16":40292080341221376,"45":9200080006957670400},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226660096001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:20:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:20:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292080341221376,"km_value":40292080341221.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957670400,"description":"Unknown IO ID 45"} 
[2026-11-05 10:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226660096001,"power":27908,"unknown_28":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9200080006957670400}} 
[2026-11-05 10:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":230084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:20:41] local.INFO: GPS data processed {"connection_id":230084,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:20:41] local.INFO: Acknowledgment sent {"connection_id":230084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:20:49] local.INFO: TCP Data received {"connection_id":229574,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229574,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:20:49] local.INFO: Processing buffer {"connection_id":229574,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:20:49] local.INFO: IMEI packet received {"connection_id":229574,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":229574,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:20:54] local.INFO: TCP Data received {"connection_id":229574,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229574,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:20:54] local.INFO: Processing buffer {"connection_id":229574,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:20:54] local.INFO: IMEI packet received {"connection_id":229574,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":229574,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:20:55] local.INFO: TCP Data received {"connection_id":229574,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:20:55] local.INFO: Processing buffer {"connection_id":229574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:20:55] local.INFO: Packet analysis {"connection_id":229574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:20:55] local.INFO: Extracted packet for processing {"connection_id":229574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:20:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226583040001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:20: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-05 10:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793854141000,"timestamp_ms":1793854141000,"timestamp_seconds":1793854141,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa09f248"} 
[2026-11-05 10:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 10:20: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-05 10:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229574,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229574,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226583040001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226583040001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:20:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226583040001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:20:55] 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":62338,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:20:55] local.INFO: GPS data processed {"connection_id":229574,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:20:55] local.INFO: Acknowledgment sent {"connection_id":229574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:21:04] local.INFO: TCP Data received {"connection_id":233307,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:21:04] local.INFO: Processing buffer {"connection_id":233307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:21:04] local.INFO: IMEI packet received {"connection_id":233307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":233307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:21:09] local.INFO: TCP Data received {"connection_id":233307,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:21:09] local.INFO: Processing buffer {"connection_id":233307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:21:09] local.INFO: IMEI packet received {"connection_id":233307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":233307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:21:10] local.INFO: TCP Data received {"connection_id":233307,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa09fe00012d7fad8005afe320000b008430..."} 
[2026-11-05 10:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa09fe00012d7fad8005afe320000b008430..."} 
[2026-11-05 10:21:10] local.INFO: Processing buffer {"connection_id":233307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa09fe00012d7fad8005afe320000b008430..."} 
[2026-11-05 10:21:10] local.INFO: Packet analysis {"connection_id":233307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:21:10] local.INFO: Extracted packet for processing {"connection_id":233307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:21:10] local.INFO: GPS Element Parsed {"raw_longitude":763342208,"raw_latitude":95413024,"longitude_deg":76.3342208,"latitude_deg":9.5413024,"altitude":11,"angle":132,"satellites":48,"speed":1,"hex_longitude":"2d7fad80","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-11-05 10:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226660352001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292088931155968,"note":"Value kept but may cause issues"} 
[2026-11-05 10:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957699072,"note":"Value kept but may cause issues"} 
[2026-11-05 10:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793854144000,"timestamp_ms":1793854144000,"timestamp_seconds":1793854144,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa09fe00"} 
[2026-11-05 10:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 10:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 10:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:21:10] 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-05 10:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226660352001,"66":28093,"28":206,"85":12544,"24":1,"16":40292088931155968,"45":9200080006957699072},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226660352001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:21:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:21:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292088931155968,"km_value":40292088931155.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957699072,"description":"Unknown IO ID 45"} 
[2026-11-05 10:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226660352001,"power":28093,"unknown_28":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9200080006957699072}} 
[2026-11-05 10:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":233307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:21:10] local.INFO: GPS data processed {"connection_id":233307,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:21:10] local.INFO: Acknowledgment sent {"connection_id":233307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:21:26] local.INFO: TCP Data received {"connection_id":229574,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:21:26] local.INFO: Processing buffer {"connection_id":229574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:21:26] local.INFO: Packet analysis {"connection_id":229574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:21:26] local.INFO: Extracted packet for processing {"connection_id":229574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:21:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226583040001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:21: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-05 10:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793854141000,"timestamp_ms":1793854141000,"timestamp_seconds":1793854141,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa09f248"} 
[2026-11-05 10: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-05 10:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 10:21: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-05 10: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-05 10: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-05 10:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229574,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229574,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226583040001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226583040001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:21:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226583040001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:21:26] 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":62340,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:21:26] local.INFO: GPS data processed {"connection_id":229574,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:21:26] local.INFO: Acknowledgment sent {"connection_id":229574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:21:41] local.INFO: TCP Data received {"connection_id":233307,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa0a01e8012d7fadc005afe2f0000a008a30..."} 
[2026-11-05 10:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa0a01e8012d7fadc005afe2f0000a008a30..."} 
[2026-11-05 10:21:41] local.INFO: Processing buffer {"connection_id":233307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa0a01e8012d7fadc005afe2f0000a008a30..."} 
[2026-11-05 10:21:41] local.INFO: Packet analysis {"connection_id":233307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa0a"} 
[2026-11-05 10:21:41] local.INFO: Extracted packet for processing {"connection_id":233307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa0a"} 
[2026-11-05 10:21:41] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412976,"longitude_deg":76.3342272,"latitude_deg":9.5412976,"altitude":10,"angle":138,"satellites":48,"speed":2,"hex_longitude":"2d7fadc0","hex_latitude":"05afe2f0","is_valid_coordinates":true} 
[2026-11-05 10:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226660864001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200150375701880832,"note":"Value kept but may cause issues"} 
[2026-11-05 10:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793854145000,"timestamp_ms":1793854145000,"timestamp_seconds":1793854145,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa0a01e8"} 
[2026-11-05 10:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 10:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-11-05 10:21:41] 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-05 10:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:21: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-05 10:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226660864001,"66":27267,"28":206,"85":12544,"24":2,"16":40292093226123264,"45":9200150375701880832},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226660864001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:21:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200150375701880832,"description":"Unknown IO ID 45"} 
[2026-11-05 10:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226660864001,"power":27267,"unknown_28":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9200150375701880832}} 
[2026-11-05 10:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":233307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:21:41] local.INFO: GPS data processed {"connection_id":233307,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:21:41] local.INFO: Acknowledgment sent {"connection_id":233307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:21:49] local.INFO: TCP Data received {"connection_id":231406,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231406,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:21:49] local.INFO: Processing buffer {"connection_id":231406,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:21:49] local.INFO: IMEI packet received {"connection_id":231406,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":231406,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:21:54] local.INFO: TCP Data received {"connection_id":231406,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231406,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:21:54] local.INFO: Processing buffer {"connection_id":231406,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:21:54] local.INFO: IMEI packet received {"connection_id":231406,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":231406,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:21:55] local.INFO: TCP Data received {"connection_id":231406,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:21:55] local.INFO: Processing buffer {"connection_id":231406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:21:55] local.INFO: Packet analysis {"connection_id":231406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:21:55] local.INFO: Extracted packet for processing {"connection_id":231406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:21:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226583040001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:21: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-05 10:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793854141000,"timestamp_ms":1793854141000,"timestamp_seconds":1793854141,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa09f248"} 
[2026-11-05 10:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 10:21: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-05 10:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231406,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231406,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226583040001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226583040001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:21:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226583040001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":231406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62342,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:21:55] local.INFO: GPS data processed {"connection_id":231406,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:21:55] local.INFO: Acknowledgment sent {"connection_id":231406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:22:09] local.INFO: TCP Data received {"connection_id":230086,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:22:09] local.INFO: Processing buffer {"connection_id":230086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:22:09] local.INFO: IMEI packet received {"connection_id":230086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":230086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:22:14] local.INFO: TCP Data received {"connection_id":230086,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:22:14] local.INFO: Processing buffer {"connection_id":230086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:22:14] local.INFO: IMEI packet received {"connection_id":230086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":230086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:22:15] local.INFO: TCP Data received {"connection_id":230086,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa0a09b8012d7fadc005afe310000a004530..."} 
[2026-11-05 10:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa0a09b8012d7fadc005afe310000a004530..."} 
[2026-11-05 10:22:15] local.INFO: Processing buffer {"connection_id":230086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa0a09b8012d7fadc005afe310000a004530..."} 
[2026-11-05 10:22:15] local.INFO: Packet analysis {"connection_id":230086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa0a"} 
[2026-11-05 10:22:15] local.INFO: Extracted packet for processing {"connection_id":230086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa0a"} 
[2026-11-05 10:22:15] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95413008,"longitude_deg":76.3342272,"latitude_deg":9.5413008,"altitude":10,"angle":69,"satellites":48,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe310","is_valid_coordinates":true} 
[2026-11-05 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-05 10:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226661120001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744446046208,"note":"Value kept but may cause issues"} 
[2026-11-05 10:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793854147000,"timestamp_ms":1793854147000,"timestamp_seconds":1793854147,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa0a09b8"} 
[2026-11-05 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-05 10:22: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-05 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 10:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 10:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:22:15] 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-05 10:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226661120001,"66":27234,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200220744446046208},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226661120001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:22:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:22:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744446046208,"description":"Unknown IO ID 45"} 
[2026-11-05 10:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226661120001,"power":27234,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744446046208}} 
[2026-11-05 10:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":230086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:22:15] local.INFO: GPS data processed {"connection_id":230086,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:22:15] local.INFO: Acknowledgment sent {"connection_id":230086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:22:26] local.INFO: TCP Data received {"connection_id":231406,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:22:26] local.INFO: Processing buffer {"connection_id":231406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:22:26] local.INFO: Packet analysis {"connection_id":231406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:22:26] local.INFO: Extracted packet for processing {"connection_id":231406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:22:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226583040001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:22: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-05 10:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793854141000,"timestamp_ms":1793854141000,"timestamp_seconds":1793854141,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa09f248"} 
[2026-11-05 10:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 10:22: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-05 10:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231406,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231406,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226583040001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226583040001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:22:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226583040001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":231406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62344,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:22:26] local.INFO: GPS data processed {"connection_id":231406,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:22:26] local.INFO: Acknowledgment sent {"connection_id":231406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:22:46] local.INFO: TCP Data received {"connection_id":230086,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa0a09b8012d7fadc005afe310000a004530..."} 
[2026-11-05 10:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa0a09b8012d7fadc005afe310000a004530..."} 
[2026-11-05 10:22:46] local.INFO: Processing buffer {"connection_id":230086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa0a09b8012d7fadc005afe310000a004530..."} 
[2026-11-05 10:22:46] local.INFO: Packet analysis {"connection_id":230086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa0a"} 
[2026-11-05 10:22:46] local.INFO: Extracted packet for processing {"connection_id":230086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa0a"} 
[2026-11-05 10:22:46] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95413008,"longitude_deg":76.3342272,"latitude_deg":9.5413008,"altitude":10,"angle":69,"satellites":48,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe310","is_valid_coordinates":true} 
[2026-11-05 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-05 10:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226661120001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744446046208,"note":"Value kept but may cause issues"} 
[2026-11-05 10:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793854147000,"timestamp_ms":1793854147000,"timestamp_seconds":1793854147,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa0a09b8"} 
[2026-11-05 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-05 10:22: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-05 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 10:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 10:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:22:46] 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-05 10:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226661120001,"66":27234,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200220744446046208},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226661120001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:22:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:22:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744446046208,"description":"Unknown IO ID 45"} 
[2026-11-05 10:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226661120001,"power":27234,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744446046208}} 
[2026-11-05 10:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":230086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:22:46] local.INFO: GPS data processed {"connection_id":230086,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:22:46] local.INFO: Acknowledgment sent {"connection_id":230086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:22:49] local.INFO: TCP Data received {"connection_id":230087,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230087,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:22:49] local.INFO: Processing buffer {"connection_id":230087,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:22:49] local.INFO: IMEI packet received {"connection_id":230087,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":230087,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:22:54] local.INFO: TCP Data received {"connection_id":230087,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230087,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:22:54] local.INFO: Processing buffer {"connection_id":230087,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:22:54] local.INFO: IMEI packet received {"connection_id":230087,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":230087,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:22:58] local.INFO: TCP Data received {"connection_id":230087,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:22:58] local.INFO: Processing buffer {"connection_id":230087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:22:58] local.INFO: Packet analysis {"connection_id":230087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:22:58] local.INFO: Extracted packet for processing {"connection_id":230087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:22:58] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226583040001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:22:58] 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-05 10:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793854141000,"timestamp_ms":1793854141000,"timestamp_seconds":1793854141,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa09f248"} 
[2026-11-05 10:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 10:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":230087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":230087,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":230087,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226583040001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226583040001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:22:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226583040001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":230087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62346,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:22:58] local.INFO: GPS data processed {"connection_id":230087,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:22:58] local.INFO: Acknowledgment sent {"connection_id":230087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:23:03] local.INFO: TCP Data received {"connection_id":229575,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:23:03] local.INFO: Processing buffer {"connection_id":229575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:23:03] local.INFO: IMEI packet received {"connection_id":229575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":229575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:23:09] local.INFO: TCP Data received {"connection_id":229575,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:23:09] local.INFO: Processing buffer {"connection_id":229575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:23:09] local.INFO: IMEI packet received {"connection_id":229575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":229575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:23:10] local.INFO: TCP Data received {"connection_id":229575,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa0a09b8012d7fadc005afe310000a004530..."} 
[2026-11-05 10:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa0a09b8012d7fadc005afe310000a004530..."} 
[2026-11-05 10:23:10] local.INFO: Processing buffer {"connection_id":229575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa0a09b8012d7fadc005afe310000a004530..."} 
[2026-11-05 10:23:10] local.INFO: Packet analysis {"connection_id":229575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa0a"} 
[2026-11-05 10:23:10] local.INFO: Extracted packet for processing {"connection_id":229575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa0a"} 
[2026-11-05 10:23:10] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95413008,"longitude_deg":76.3342272,"latitude_deg":9.5413008,"altitude":10,"angle":69,"satellites":48,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe310","is_valid_coordinates":true} 
[2026-11-05 10:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226661120001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744446046208,"note":"Value kept but may cause issues"} 
[2026-11-05 10:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793854147000,"timestamp_ms":1793854147000,"timestamp_seconds":1793854147,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa0a09b8"} 
[2026-11-05 10:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:23:10] 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-05 10:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 10:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:23:10] 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-05 10:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226661120001,"66":27234,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200220744446046208},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226661120001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:23:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:23:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744446046208,"description":"Unknown IO ID 45"} 
[2026-11-05 10:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226661120001,"power":27234,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744446046208}} 
[2026-11-05 10:23:10] 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":62347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:23:10] local.INFO: GPS data processed {"connection_id":229575,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:23:10] local.INFO: Acknowledgment sent {"connection_id":229575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:23:41] local.INFO: TCP Data received {"connection_id":229575,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa0a09b8012d7fadc005afe310000a004530..."} 
[2026-11-05 10:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa0a09b8012d7fadc005afe310000a004530..."} 
[2026-11-05 10:23:41] local.INFO: Processing buffer {"connection_id":229575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa0a09b8012d7fadc005afe310000a004530..."} 
[2026-11-05 10:23:41] local.INFO: Packet analysis {"connection_id":229575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa0a"} 
[2026-11-05 10:23:41] local.INFO: Extracted packet for processing {"connection_id":229575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa0a"} 
[2026-11-05 10:23:41] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95413008,"longitude_deg":76.3342272,"latitude_deg":9.5413008,"altitude":10,"angle":69,"satellites":48,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe310","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226661120001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744446046208,"note":"Value kept but may cause issues"} 
[2026-11-05 10:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793854147000,"timestamp_ms":1793854147000,"timestamp_seconds":1793854147,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa0a09b8"} 
[2026-11-05 10: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-05 10:23:41] 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-05 10: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 10:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10: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-05 10: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-05 10:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:23:41] 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-05 10:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226661120001,"66":27234,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200220744446046208},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226661120001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:23:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:23:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744446046208,"description":"Unknown IO ID 45"} 
[2026-11-05 10:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226661120001,"power":27234,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744446046208}} 
[2026-11-05 10:23:41] 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":62348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:23:41] local.INFO: GPS data processed {"connection_id":229575,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:23:41] local.INFO: Acknowledgment sent {"connection_id":229575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:23:54] local.INFO: TCP Data received {"connection_id":230087,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:23:54] local.INFO: Processing buffer {"connection_id":230087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:23:54] local.INFO: Packet analysis {"connection_id":230087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:23:54] local.INFO: Extracted packet for processing {"connection_id":230087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:23:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226583040001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:23: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-05 10:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793854141000,"timestamp_ms":1793854141000,"timestamp_seconds":1793854141,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa09f248"} 
[2026-11-05 10: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-05 10:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10: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":178,"data_length":795,"current_offset":136} 
[2026-11-05 10:23: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-05 10: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-05 10: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-05 10:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":230087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":230087,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":230087,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226583040001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226583040001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:23:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226583040001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":230087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62349,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:23:54] local.INFO: GPS data processed {"connection_id":230087,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:23:54] local.INFO: Acknowledgment sent {"connection_id":230087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:23:54] local.INFO: TCP Data received {"connection_id":230088,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230088,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:23:54] local.INFO: Processing buffer {"connection_id":230088,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:23:54] local.INFO: IMEI packet received {"connection_id":230088,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":230088,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:23:59] local.INFO: TCP Data received {"connection_id":230088,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230088,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:23:59] local.INFO: Processing buffer {"connection_id":230088,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:23:59] local.INFO: IMEI packet received {"connection_id":230088,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":230088,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:24:00] local.INFO: TCP Data received {"connection_id":230088,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:24:00] local.INFO: Processing buffer {"connection_id":230088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:24:00] local.INFO: Packet analysis {"connection_id":230088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:24:00] local.INFO: Extracted packet for processing {"connection_id":230088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:24:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226583040001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:24: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-05 10:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793854141000,"timestamp_ms":1793854141000,"timestamp_seconds":1793854141,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa09f248"} 
[2026-11-05 10:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 10:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":230088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":230088,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":230088,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226583040001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226583040001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:24:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226583040001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":230088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62350,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:24:00] local.INFO: GPS data processed {"connection_id":230088,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:24:00] local.INFO: Acknowledgment sent {"connection_id":230088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:24:03] local.INFO: TCP Data received {"connection_id":233308,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:24:03] local.INFO: Processing buffer {"connection_id":233308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:24:03] local.INFO: IMEI packet received {"connection_id":233308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":233308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:24:04] local.INFO: TCP Data received {"connection_id":230088,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:24:04] local.INFO: Processing buffer {"connection_id":230088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa09f248012d0b10c00702a1800000014e25..."} 
[2026-11-05 10:24:04] local.INFO: Packet analysis {"connection_id":230088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:24:04] local.INFO: Extracted packet for processing {"connection_id":230088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa09"} 
[2026-11-05 10:24:04] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226583040001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793854141000,"timestamp_ms":1793854141000,"timestamp_seconds":1793854141,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa09f248"} 
[2026-11-05 10:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 10:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":230088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":230088,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":230088,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226583040001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226583040001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:24:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226583040001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":230088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62351,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:24:04] local.INFO: GPS data processed {"connection_id":230088,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:24:04] local.INFO: Acknowledgment sent {"connection_id":230088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:24:08] local.INFO: TCP Data received {"connection_id":233308,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:24:08] local.INFO: Processing buffer {"connection_id":233308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:24:08] local.INFO: IMEI packet received {"connection_id":233308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":233308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:24:10] local.INFO: TCP Data received {"connection_id":233308,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa0a09b8012d7fadc005afe310000a004530..."} 
[2026-11-05 10:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa0a09b8012d7fadc005afe310000a004530..."} 
[2026-11-05 10:24:10] local.INFO: Processing buffer {"connection_id":233308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa0a09b8012d7fadc005afe310000a004530..."} 
[2026-11-05 10:24:10] local.INFO: Packet analysis {"connection_id":233308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa0a"} 
[2026-11-05 10:24:10] local.INFO: Extracted packet for processing {"connection_id":233308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa0a"} 
[2026-11-05 10:24:10] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95413008,"longitude_deg":76.3342272,"latitude_deg":9.5413008,"altitude":10,"angle":69,"satellites":48,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe310","is_valid_coordinates":true} 
[2026-11-05 10:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226661120001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744446046208,"note":"Value kept but may cause issues"} 
[2026-11-05 10:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793854147000,"timestamp_ms":1793854147000,"timestamp_seconds":1793854147,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa0a09b8"} 
[2026-11-05 10:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:24:10] 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-05 10:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 10:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:24:10] 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-05 10:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226661120001,"66":27234,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200220744446046208},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226661120001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:24:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744446046208,"description":"Unknown IO ID 45"} 
[2026-11-05 10:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226661120001,"power":27234,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744446046208}} 
[2026-11-05 10:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":233308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:24:10] local.INFO: GPS data processed {"connection_id":233308,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:24:10] local.INFO: Acknowledgment sent {"connection_id":233308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:24:41] local.INFO: TCP Data received {"connection_id":233308,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa0a09b8012d7fadc005afe310000a004530..."} 
[2026-11-05 10:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa0a09b8012d7fadc005afe310000a004530..."} 
[2026-11-05 10:24:41] local.INFO: Processing buffer {"connection_id":233308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa0a09b8012d7fadc005afe310000a004530..."} 
[2026-11-05 10:24:41] local.INFO: Packet analysis {"connection_id":233308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa0a"} 
[2026-11-05 10:24:41] local.INFO: Extracted packet for processing {"connection_id":233308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa0a"} 
[2026-11-05 10:24:41] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95413008,"longitude_deg":76.3342272,"latitude_deg":9.5413008,"altitude":10,"angle":69,"satellites":48,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe310","is_valid_coordinates":true} 
[2026-11-05 10:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226661120001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744446046208,"note":"Value kept but may cause issues"} 
[2026-11-05 10:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793854147000,"timestamp_ms":1793854147000,"timestamp_seconds":1793854147,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa0a09b8"} 
[2026-11-05 10:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:24:41] 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-05 10:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 10:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:24:41] 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-05 10:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226661120001,"66":27234,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200220744446046208},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226661120001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:24:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:24:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744446046208,"description":"Unknown IO ID 45"} 
[2026-11-05 10:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226661120001,"power":27234,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744446046208}} 
[2026-11-05 10:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":233308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:24:41] local.INFO: GPS data processed {"connection_id":233308,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:24:41] local.INFO: Acknowledgment sent {"connection_id":233308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:24:49] local.INFO: TCP Data received {"connection_id":231409,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231409,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:24:49] local.INFO: Processing buffer {"connection_id":231409,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:24:49] local.INFO: IMEI packet received {"connection_id":231409,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":231409,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:24:54] local.INFO: TCP Data received {"connection_id":231409,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231409,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:24:54] local.INFO: Processing buffer {"connection_id":231409,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:24:54] local.INFO: IMEI packet received {"connection_id":231409,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":231409,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:24:55] local.INFO: TCP Data received {"connection_id":231409,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa0e8a10012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa0e8a10012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:24:55] local.INFO: Processing buffer {"connection_id":231409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa0e8a10012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:24:55] local.INFO: Packet analysis {"connection_id":231409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:24:55] local.INFO: Extracted packet for processing {"connection_id":231409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:24:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226660096001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:24: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-05 10:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793854442000,"timestamp_ms":1793854442000,"timestamp_seconds":1793854442,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa0e8a10"} 
[2026-11-05 10:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231409,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231409,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226660096001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226660096001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:24:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226660096001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":231409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62354,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:24:55] local.INFO: GPS data processed {"connection_id":231409,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:24:55] local.INFO: Acknowledgment sent {"connection_id":231409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:25:04] local.INFO: TCP Data received {"connection_id":230089,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:25:04] local.INFO: Processing buffer {"connection_id":230089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:25:04] local.INFO: IMEI packet received {"connection_id":230089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":230089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:25:09] local.INFO: TCP Data received {"connection_id":230089,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:25:09] local.INFO: Processing buffer {"connection_id":230089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:25:09] local.INFO: IMEI packet received {"connection_id":230089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":230089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:25:10] local.INFO: TCP Data received {"connection_id":230089,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa0ea180012d7fad0005afe048000a004529..."} 
[2026-11-05 10:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa0ea180012d7fad0005afe048000a004529..."} 
[2026-11-05 10:25:10] local.INFO: Processing buffer {"connection_id":230089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa0ea180012d7fad0005afe048000a004529..."} 
[2026-11-05 10:25:10] local.INFO: Packet analysis {"connection_id":230089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:25:10] local.INFO: Extracted packet for processing {"connection_id":230089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:25:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226661632001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744446054400,"note":"Value kept but may cause issues"} 
[2026-11-05 10:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793854448000,"timestamp_ms":1793854448000,"timestamp_seconds":1793854448,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa0ea180"} 
[2026-11-05 10:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:25:10] 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-05 10:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 10:25:10] 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-05 10:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:25:10] 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-05 10:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226661632001,"66":26136,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200220744446054400},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226661632001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:25:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:25:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744446054400,"description":"Unknown IO ID 45"} 
[2026-11-05 10:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226661632001,"power":26136,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744446054400}} 
[2026-11-05 10:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":230089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:25:10] local.INFO: GPS data processed {"connection_id":230089,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:25:10] local.INFO: Acknowledgment sent {"connection_id":230089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:25:26] local.INFO: TCP Data received {"connection_id":231409,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa0e8a10012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa0e8a10012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:25:26] local.INFO: Processing buffer {"connection_id":231409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa0e8a10012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:25:26] local.INFO: Packet analysis {"connection_id":231409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:25:26] local.INFO: Extracted packet for processing {"connection_id":231409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:25:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226660096001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:25: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-05 10:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793854442000,"timestamp_ms":1793854442000,"timestamp_seconds":1793854442,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa0e8a10"} 
[2026-11-05 10:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:25:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:25:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231409,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231409,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226660096001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226660096001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:25:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226660096001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":231409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62356,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:25:26] local.INFO: GPS data processed {"connection_id":231409,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:25:26] local.INFO: Acknowledgment sent {"connection_id":231409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:25:31] local.INFO: TCP Data received {"connection_id":233309,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233309,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:25:31] local.INFO: Processing buffer {"connection_id":233309,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:25:31] local.INFO: IMEI packet received {"connection_id":233309,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 10:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":233309,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:25:41] local.INFO: TCP Data received {"connection_id":230089,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa0ea180012d7fad0005afe048000a004529..."} 
[2026-11-05 10:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa0ea180012d7fad0005afe048000a004529..."} 
[2026-11-05 10:25:41] local.INFO: Processing buffer {"connection_id":230089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa0ea180012d7fad0005afe048000a004529..."} 
[2026-11-05 10:25:41] local.INFO: Packet analysis {"connection_id":230089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:25:41] local.INFO: Extracted packet for processing {"connection_id":230089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:25:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226661632001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744446054400,"note":"Value kept but may cause issues"} 
[2026-11-05 10:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793854448000,"timestamp_ms":1793854448000,"timestamp_seconds":1793854448,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa0ea180"} 
[2026-11-05 10:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:25:41] 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-05 10:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 10:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:25:41] 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-05 10:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226661632001,"66":26136,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200220744446054400},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226661632001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:25:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:25:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744446054400,"description":"Unknown IO ID 45"} 
[2026-11-05 10:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226661632001,"power":26136,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744446054400}} 
[2026-11-05 10:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":230089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:25:41] local.INFO: GPS data processed {"connection_id":230089,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:25:41] local.INFO: Acknowledgment sent {"connection_id":230089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:25:49] local.INFO: TCP Data received {"connection_id":229576,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229576,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:25:49] local.INFO: Processing buffer {"connection_id":229576,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:25:49] local.INFO: IMEI packet received {"connection_id":229576,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":229576,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:25:54] local.INFO: TCP Data received {"connection_id":229576,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229576,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:25:54] local.INFO: Processing buffer {"connection_id":229576,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:25:54] local.INFO: IMEI packet received {"connection_id":229576,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":229576,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:25:55] local.INFO: TCP Data received {"connection_id":229576,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa0e8a10012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa0e8a10012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:25:55] local.INFO: Processing buffer {"connection_id":229576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa0e8a10012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:25:55] local.INFO: Packet analysis {"connection_id":229576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:25:55] local.INFO: Extracted packet for processing {"connection_id":229576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:25:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226660096001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:25: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-05 10:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793854442000,"timestamp_ms":1793854442000,"timestamp_seconds":1793854442,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa0e8a10"} 
[2026-11-05 10:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:25:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229576,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229576,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226660096001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226660096001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:25:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226660096001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:25:55] 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":62358,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:25:55] local.INFO: GPS data processed {"connection_id":229576,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:25:55] local.INFO: Acknowledgment sent {"connection_id":229576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:26:03] local.INFO: TCP Data received {"connection_id":229577,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:26:03] local.INFO: Processing buffer {"connection_id":229577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:26:03] local.INFO: IMEI packet received {"connection_id":229577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":229577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:26:06] local.INFO: TCP Data received {"connection_id":231410,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:26:06] local.INFO: Processing buffer {"connection_id":231410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:26:06] local.INFO: IMEI packet received {"connection_id":231410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 10:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":231410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:26:09] local.INFO: TCP Data received {"connection_id":229577,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:26:09] local.INFO: Processing buffer {"connection_id":229577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:26:09] local.INFO: IMEI packet received {"connection_id":229577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":229577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:26:10] local.INFO: TCP Data received {"connection_id":229577,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa0ea180012d7fad0005afe048000a004529..."} 
[2026-11-05 10:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa0ea180012d7fad0005afe048000a004529..."} 
[2026-11-05 10:26:10] local.INFO: Processing buffer {"connection_id":229577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa0ea180012d7fad0005afe048000a004529..."} 
[2026-11-05 10:26:10] local.INFO: Packet analysis {"connection_id":229577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:26:10] local.INFO: Extracted packet for processing {"connection_id":229577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:26:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226661632001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744446054400,"note":"Value kept but may cause issues"} 
[2026-11-05 10:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793854448000,"timestamp_ms":1793854448000,"timestamp_seconds":1793854448,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa0ea180"} 
[2026-11-05 10:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:26:10] 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-05 10:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 10:26:10] 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-05 10:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:26:10] 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-05 10:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226661632001,"66":26136,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200220744446054400},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226661632001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:26:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744446054400,"description":"Unknown IO ID 45"} 
[2026-11-05 10:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226661632001,"power":26136,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744446054400}} 
[2026-11-05 10:26:10] 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":62359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:26:10] local.INFO: GPS data processed {"connection_id":229577,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:26:10] local.INFO: Acknowledgment sent {"connection_id":229577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:26:26] local.INFO: TCP Data received {"connection_id":229576,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa0e8a10012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa0e8a10012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:26:26] local.INFO: Processing buffer {"connection_id":229576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa0e8a10012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:26:26] local.INFO: Packet analysis {"connection_id":229576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:26:26] local.INFO: Extracted packet for processing {"connection_id":229576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:26:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226660096001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:26: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-05 10:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793854442000,"timestamp_ms":1793854442000,"timestamp_seconds":1793854442,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa0e8a10"} 
[2026-11-05 10:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:26:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:26:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229576,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229576,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226660096001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226660096001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:26:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226660096001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:26:26] 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":62360,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:26:26] local.INFO: GPS data processed {"connection_id":229576,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:26:26] local.INFO: Acknowledgment sent {"connection_id":229576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:26:41] local.INFO: TCP Data received {"connection_id":229577,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa0ea180012d7fad0005afe048000a004529..."} 
[2026-11-05 10:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa0ea180012d7fad0005afe048000a004529..."} 
[2026-11-05 10:26:41] local.INFO: Processing buffer {"connection_id":229577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa0ea180012d7fad0005afe048000a004529..."} 
[2026-11-05 10:26:41] local.INFO: Packet analysis {"connection_id":229577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:26:41] local.INFO: Extracted packet for processing {"connection_id":229577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:26:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226661632001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744446054400,"note":"Value kept but may cause issues"} 
[2026-11-05 10:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793854448000,"timestamp_ms":1793854448000,"timestamp_seconds":1793854448,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa0ea180"} 
[2026-11-05 10:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:26:41] 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-05 10:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 10:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:26:41] 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-05 10:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226661632001,"66":26136,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200220744446054400},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226661632001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:26:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:26:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744446054400,"description":"Unknown IO ID 45"} 
[2026-11-05 10:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226661632001,"power":26136,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744446054400}} 
[2026-11-05 10:26:41] 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":62361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:26:41] local.INFO: GPS data processed {"connection_id":229577,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:26:41] local.INFO: Acknowledgment sent {"connection_id":229577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:26:49] local.INFO: TCP Data received {"connection_id":231411,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231411,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:26:49] local.INFO: Processing buffer {"connection_id":231411,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:26:49] local.INFO: IMEI packet received {"connection_id":231411,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":231411,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:26:54] local.INFO: TCP Data received {"connection_id":231411,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231411,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:26:54] local.INFO: Processing buffer {"connection_id":231411,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:26:54] local.INFO: IMEI packet received {"connection_id":231411,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":231411,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:26:55] local.INFO: TCP Data received {"connection_id":231411,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa0e8a10012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa0e8a10012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:26:55] local.INFO: Processing buffer {"connection_id":231411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa0e8a10012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:26:55] local.INFO: Packet analysis {"connection_id":231411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:26:55] local.INFO: Extracted packet for processing {"connection_id":231411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:26:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226660096001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:26: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-05 10:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793854442000,"timestamp_ms":1793854442000,"timestamp_seconds":1793854442,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa0e8a10"} 
[2026-11-05 10:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226660096001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226660096001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:26:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226660096001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":231411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62362,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:26:55] local.INFO: GPS data processed {"connection_id":231411,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:26:55] local.INFO: Acknowledgment sent {"connection_id":231411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:27:03] local.INFO: TCP Data received {"connection_id":229578,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:27:03] local.INFO: Processing buffer {"connection_id":229578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:27:03] local.INFO: IMEI packet received {"connection_id":229578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":229578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:27:09] local.INFO: TCP Data received {"connection_id":229578,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:27:09] local.INFO: Processing buffer {"connection_id":229578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:27:09] local.INFO: IMEI packet received {"connection_id":229578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":229578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:27:10] local.INFO: TCP Data received {"connection_id":229578,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa0ea180012d7fad0005afe048000a004529..."} 
[2026-11-05 10:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa0ea180012d7fad0005afe048000a004529..."} 
[2026-11-05 10:27:10] local.INFO: Processing buffer {"connection_id":229578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa0ea180012d7fad0005afe048000a004529..."} 
[2026-11-05 10:27:10] local.INFO: Packet analysis {"connection_id":229578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:27:10] local.INFO: Extracted packet for processing {"connection_id":229578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:27:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226661632001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744446054400,"note":"Value kept but may cause issues"} 
[2026-11-05 10:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793854448000,"timestamp_ms":1793854448000,"timestamp_seconds":1793854448,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa0ea180"} 
[2026-11-05 10:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:27:10] 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-05 10:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 10:27:10] 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-05 10:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:27:10] 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-05 10:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226661632001,"66":26136,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200220744446054400},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226661632001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:27:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:27:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744446054400,"description":"Unknown IO ID 45"} 
[2026-11-05 10:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226661632001,"power":26136,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744446054400}} 
[2026-11-05 10:27:10] 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":62363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:27:10] local.INFO: GPS data processed {"connection_id":229578,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:27:10] local.INFO: Acknowledgment sent {"connection_id":229578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:27:26] local.INFO: TCP Data received {"connection_id":231411,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa0e8a10012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa0e8a10012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:27:26] local.INFO: Processing buffer {"connection_id":231411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa0e8a10012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:27:26] local.INFO: Packet analysis {"connection_id":231411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:27:26] local.INFO: Extracted packet for processing {"connection_id":231411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:27:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226660096001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:27: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-05 10:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793854442000,"timestamp_ms":1793854442000,"timestamp_seconds":1793854442,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa0e8a10"} 
[2026-11-05 10: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-05 10:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10: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-05 10: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-05 10:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:27:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226660096001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226660096001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:27:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226660096001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":231411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62364,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:27:26] local.INFO: GPS data processed {"connection_id":231411,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:27:26] local.INFO: Acknowledgment sent {"connection_id":231411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:27:41] local.INFO: TCP Data received {"connection_id":229578,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa0ea180012d7fad0005afe048000a004529..."} 
[2026-11-05 10:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa0ea180012d7fad0005afe048000a004529..."} 
[2026-11-05 10:27:41] local.INFO: Processing buffer {"connection_id":229578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa0ea180012d7fad0005afe048000a004529..."} 
[2026-11-05 10:27:41] local.INFO: Packet analysis {"connection_id":229578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:27:41] local.INFO: Extracted packet for processing {"connection_id":229578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:27:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226661632001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744446054400,"note":"Value kept but may cause issues"} 
[2026-11-05 10:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793854448000,"timestamp_ms":1793854448000,"timestamp_seconds":1793854448,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa0ea180"} 
[2026-11-05 10:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:27:41] 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-05 10:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 10:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:27:41] 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-05 10:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226661632001,"66":26136,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200220744446054400},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226661632001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:27:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:27:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744446054400,"description":"Unknown IO ID 45"} 
[2026-11-05 10:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226661632001,"power":26136,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744446054400}} 
[2026-11-05 10:27:41] 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":62365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:27:41] local.INFO: GPS data processed {"connection_id":229578,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:27:41] local.INFO: Acknowledgment sent {"connection_id":229578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:27:49] local.INFO: TCP Data received {"connection_id":231412,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231412,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:27:49] local.INFO: Processing buffer {"connection_id":231412,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:27:49] local.INFO: IMEI packet received {"connection_id":231412,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":231412,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:27:54] local.INFO: TCP Data received {"connection_id":231412,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231412,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:27:54] local.INFO: Processing buffer {"connection_id":231412,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:27:54] local.INFO: IMEI packet received {"connection_id":231412,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":231412,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:27:55] local.INFO: TCP Data received {"connection_id":231412,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa0e8a10012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa0e8a10012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:27:55] local.INFO: Processing buffer {"connection_id":231412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa0e8a10012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:27:55] local.INFO: Packet analysis {"connection_id":231412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:27:55] local.INFO: Extracted packet for processing {"connection_id":231412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:27:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226660096001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:27: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-05 10:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793854442000,"timestamp_ms":1793854442000,"timestamp_seconds":1793854442,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa0e8a10"} 
[2026-11-05 10:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231412,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231412,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226660096001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226660096001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:27:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226660096001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":231412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62366,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:27:55] local.INFO: GPS data processed {"connection_id":231412,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:27:55] local.INFO: Acknowledgment sent {"connection_id":231412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:28:03] local.INFO: TCP Data received {"connection_id":231413,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:28:03] local.INFO: Processing buffer {"connection_id":231413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:28:03] local.INFO: IMEI packet received {"connection_id":231413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":231413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:28:09] local.INFO: TCP Data received {"connection_id":231413,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:28:09] local.INFO: Processing buffer {"connection_id":231413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:28:09] local.INFO: IMEI packet received {"connection_id":231413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":231413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:28:11] local.INFO: TCP Data received {"connection_id":231413,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa0ea180012d7fad0005afe048000a004529..."} 
[2026-11-05 10:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa0ea180012d7fad0005afe048000a004529..."} 
[2026-11-05 10:28:11] local.INFO: Processing buffer {"connection_id":231413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa0ea180012d7fad0005afe048000a004529..."} 
[2026-11-05 10:28:11] local.INFO: Packet analysis {"connection_id":231413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:28:11] local.INFO: Extracted packet for processing {"connection_id":231413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:28:11] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226661632001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744446054400,"note":"Value kept but may cause issues"} 
[2026-11-05 10:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793854448000,"timestamp_ms":1793854448000,"timestamp_seconds":1793854448,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa0ea180"} 
[2026-11-05 10: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-05 10:28: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-05 10: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 10:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10: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-05 10: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-05 10:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:28: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-05 10:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226661632001,"66":26136,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200220744446054400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226661632001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:28:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:28:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744446054400,"description":"Unknown IO ID 45"} 
[2026-11-05 10:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226661632001,"power":26136,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744446054400}} 
[2026-11-05 10:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":231413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:28:11] local.INFO: GPS data processed {"connection_id":231413,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:28:11] local.INFO: Acknowledgment sent {"connection_id":231413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:28:26] local.INFO: TCP Data received {"connection_id":231412,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa0e8a10012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa0e8a10012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:28:26] local.INFO: Processing buffer {"connection_id":231412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa0e8a10012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:28:26] local.INFO: Packet analysis {"connection_id":231412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:28:26] local.INFO: Extracted packet for processing {"connection_id":231412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:28:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226660096001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:28: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-05 10:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793854442000,"timestamp_ms":1793854442000,"timestamp_seconds":1793854442,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa0e8a10"} 
[2026-11-05 10: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-05 10:28:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:28:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10: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-05 10: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-05 10:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231412,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231412,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:28:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226660096001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226660096001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:28:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226660096001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":231412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62368,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:28:27] local.INFO: GPS data processed {"connection_id":231412,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:28:27] local.INFO: Acknowledgment sent {"connection_id":231412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:28:42] local.INFO: TCP Data received {"connection_id":231413,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa0ea180012d7fad0005afe048000a004529..."} 
[2026-11-05 10:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa0ea180012d7fad0005afe048000a004529..."} 
[2026-11-05 10:28:42] local.INFO: Processing buffer {"connection_id":231413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa0ea180012d7fad0005afe048000a004529..."} 
[2026-11-05 10:28:42] local.INFO: Packet analysis {"connection_id":231413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:28:42] local.INFO: Extracted packet for processing {"connection_id":231413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:28:42] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226661632001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744446054400,"note":"Value kept but may cause issues"} 
[2026-11-05 10:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793854448000,"timestamp_ms":1793854448000,"timestamp_seconds":1793854448,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa0ea180"} 
[2026-11-05 10:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:28:42] 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-05 10:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 10:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:28:42] 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-05 10:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226661632001,"66":26136,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200220744446054400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226661632001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:28:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:28:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744446054400,"description":"Unknown IO ID 45"} 
[2026-11-05 10:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226661632001,"power":26136,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744446054400}} 
[2026-11-05 10:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":231413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:28:42] local.INFO: GPS data processed {"connection_id":231413,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:28:42] local.INFO: Acknowledgment sent {"connection_id":231413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:28:49] local.INFO: TCP Data received {"connection_id":230091,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230091,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:28:49] local.INFO: Processing buffer {"connection_id":230091,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:28:49] local.INFO: IMEI packet received {"connection_id":230091,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":230091,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:28:54] local.INFO: TCP Data received {"connection_id":230091,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230091,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:28:54] local.INFO: Processing buffer {"connection_id":230091,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:28:54] local.INFO: IMEI packet received {"connection_id":230091,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":230091,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:28:55] local.INFO: TCP Data received {"connection_id":230091,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa0e8a10012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa0e8a10012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:28:55] local.INFO: Processing buffer {"connection_id":230091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa0e8a10012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:28:55] local.INFO: Packet analysis {"connection_id":230091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:28:55] local.INFO: Extracted packet for processing {"connection_id":230091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:28:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226660096001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:28: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-05 10:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793854442000,"timestamp_ms":1793854442000,"timestamp_seconds":1793854442,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa0e8a10"} 
[2026-11-05 10:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230091,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230091,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226660096001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226660096001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:28:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226660096001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":230091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62370,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:28:55] local.INFO: GPS data processed {"connection_id":230091,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:28:55] local.INFO: Acknowledgment sent {"connection_id":230091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:29:09] local.INFO: TCP Data received {"connection_id":231414,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:29:09] local.INFO: Processing buffer {"connection_id":231414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:29:09] local.INFO: IMEI packet received {"connection_id":231414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":231414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:29:14] local.INFO: TCP Data received {"connection_id":231414,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:29:14] local.INFO: Processing buffer {"connection_id":231414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:29:14] local.INFO: IMEI packet received {"connection_id":231414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":231414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:29:15] local.INFO: TCP Data received {"connection_id":231414,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa0ea180012d7fad0005afe048000a004529..."} 
[2026-11-05 10:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa0ea180012d7fad0005afe048000a004529..."} 
[2026-11-05 10:29:15] local.INFO: Processing buffer {"connection_id":231414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa0ea180012d7fad0005afe048000a004529..."} 
[2026-11-05 10:29:15] local.INFO: Packet analysis {"connection_id":231414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:29:15] local.INFO: Extracted packet for processing {"connection_id":231414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:29:15] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226661632001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744446054400,"note":"Value kept but may cause issues"} 
[2026-11-05 10:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793854448000,"timestamp_ms":1793854448000,"timestamp_seconds":1793854448,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa0ea180"} 
[2026-11-05 10: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-05 10:29: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-05 10: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 10:29:15] 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-05 10: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-05 10: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-05 10:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":231414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":231414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":231414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:29: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-05 10:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226661632001,"66":26136,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200220744446054400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226661632001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:29:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:29:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744446054400,"description":"Unknown IO ID 45"} 
[2026-11-05 10:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226661632001,"power":26136,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744446054400}} 
[2026-11-05 10:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":231414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:29:15] local.INFO: GPS data processed {"connection_id":231414,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:29:15] local.INFO: Acknowledgment sent {"connection_id":231414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:29:26] local.INFO: TCP Data received {"connection_id":230091,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:29:26] local.INFO: Processing buffer {"connection_id":230091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:29:26] local.INFO: Packet analysis {"connection_id":230091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:29:26] local.INFO: Extracted packet for processing {"connection_id":230091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:29:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226737152001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:29: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-05 10:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793854743000,"timestamp_ms":1793854743000,"timestamp_seconds":1793854743,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa1321d8"} 
[2026-11-05 10: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-05 10:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:29:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10: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-05 10: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-05 10:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230091,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230091,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226737152001,"66":12765,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226737152001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:29:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226737152001,"power":12765,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":230091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62372,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:29:27] local.INFO: GPS data processed {"connection_id":230091,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:29:27] local.INFO: Acknowledgment sent {"connection_id":230091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:29:47] local.INFO: TCP Data received {"connection_id":231414,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa0ea180012d7fad0005afe048000a004529..."} 
[2026-11-05 10:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa0ea180012d7fad0005afe048000a004529..."} 
[2026-11-05 10:29:47] local.INFO: Processing buffer {"connection_id":231414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa0ea180012d7fad0005afe048000a004529..."} 
[2026-11-05 10:29:47] local.INFO: Packet analysis {"connection_id":231414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:29:47] local.INFO: Extracted packet for processing {"connection_id":231414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa0e"} 
[2026-11-05 10:29:47] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226661632001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744446054400,"note":"Value kept but may cause issues"} 
[2026-11-05 10:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793854448000,"timestamp_ms":1793854448000,"timestamp_seconds":1793854448,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa0ea180"} 
[2026-11-05 10: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-05 10:29: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-05 10: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 10:29:47] 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-05 10: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-05 10: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-05 10:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":231414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":231414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":231414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:29: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-05 10:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226661632001,"66":26136,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200220744446054400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226661632001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:29:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:29:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744446054400,"description":"Unknown IO ID 45"} 
[2026-11-05 10:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226661632001,"power":26136,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744446054400}} 
[2026-11-05 10:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":231414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:29:47] local.INFO: GPS data processed {"connection_id":231414,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:29:47] local.INFO: Acknowledgment sent {"connection_id":231414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:29:49] local.INFO: TCP Data received {"connection_id":231415,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231415,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:29:49] local.INFO: Processing buffer {"connection_id":231415,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:29:49] local.INFO: IMEI packet received {"connection_id":231415,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":231415,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:29:54] local.INFO: TCP Data received {"connection_id":231415,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231415,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:29:54] local.INFO: Processing buffer {"connection_id":231415,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:29:54] local.INFO: IMEI packet received {"connection_id":231415,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":231415,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:29:55] local.INFO: TCP Data received {"connection_id":231415,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:29:55] local.INFO: Processing buffer {"connection_id":231415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:29:55] local.INFO: Packet analysis {"connection_id":231415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:29:55] local.INFO: Extracted packet for processing {"connection_id":231415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:29:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226737152001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:29: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-05 10:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793854743000,"timestamp_ms":1793854743000,"timestamp_seconds":1793854743,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa1321d8"} 
[2026-11-05 10:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231415,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231415,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226737152001,"66":12765,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226737152001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:29:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226737152001,"power":12765,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":231415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62374,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:29:55] local.INFO: GPS data processed {"connection_id":231415,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:29:55] local.INFO: Acknowledgment sent {"connection_id":231415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:30:04] local.INFO: TCP Data received {"connection_id":229580,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:30:04] local.INFO: Processing buffer {"connection_id":229580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:30:04] local.INFO: IMEI packet received {"connection_id":229580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":229580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:30:09] local.INFO: TCP Data received {"connection_id":229580,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:30:09] local.INFO: Processing buffer {"connection_id":229580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:30:09] local.INFO: IMEI packet received {"connection_id":229580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":229580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:30:12] local.INFO: TCP Data received {"connection_id":229580,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa133948012d7fad0005afe048000a00452a..."} 
[2026-11-05 10:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa133948012d7fad0005afe048000a00452a..."} 
[2026-11-05 10:30:12] local.INFO: Processing buffer {"connection_id":229580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa133948012d7fad0005afe048000a00452a..."} 
[2026-11-05 10:30:12] local.INFO: Packet analysis {"connection_id":229580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:30:12] local.INFO: Extracted packet for processing {"connection_id":229580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:30:12] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":42,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226738688001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793854749000,"timestamp_ms":1793854749000,"timestamp_seconds":1793854749,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa133948"} 
[2026-11-05 10:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:30: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-05 10:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-11-05 10:30: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-05 10:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10: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-05 10:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226738688001,"66":25854,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226738688001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:30:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:30:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226738688001,"power":25854,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10: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":62375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:30:12] local.INFO: GPS data processed {"connection_id":229580,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:30:12] local.INFO: Acknowledgment sent {"connection_id":229580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:30:26] local.INFO: TCP Data received {"connection_id":231415,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:30:26] local.INFO: Processing buffer {"connection_id":231415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:30:26] local.INFO: Packet analysis {"connection_id":231415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:30:26] local.INFO: Extracted packet for processing {"connection_id":231415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:30:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226737152001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:30: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-05 10:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793854743000,"timestamp_ms":1793854743000,"timestamp_seconds":1793854743,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa1321d8"} 
[2026-11-05 10:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:30:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:30:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231415,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231415,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226737152001,"66":12765,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226737152001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:30:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226737152001,"power":12765,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":231415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62376,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:30:27] local.INFO: GPS data processed {"connection_id":231415,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:30:27] local.INFO: Acknowledgment sent {"connection_id":231415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:30:43] local.INFO: TCP Data received {"connection_id":229580,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa133948012d7fad0005afe048000a00452a..."} 
[2026-11-05 10:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa133948012d7fad0005afe048000a00452a..."} 
[2026-11-05 10:30:43] local.INFO: Processing buffer {"connection_id":229580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa133948012d7fad0005afe048000a00452a..."} 
[2026-11-05 10:30:43] local.INFO: Packet analysis {"connection_id":229580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:30:43] local.INFO: Extracted packet for processing {"connection_id":229580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:30:43] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":42,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226738688001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793854749000,"timestamp_ms":1793854749000,"timestamp_seconds":1793854749,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa133948"} 
[2026-11-05 10:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:30: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-05 10:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-11-05 10:30: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-05 10:30:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:30: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-05 10:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226738688001,"66":25854,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226738688001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:30:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:30:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226738688001,"power":25854,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:30:43] 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":62377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:30:43] local.INFO: GPS data processed {"connection_id":229580,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:30:43] local.INFO: Acknowledgment sent {"connection_id":229580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:30:49] local.INFO: TCP Data received {"connection_id":230092,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230092,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:30:49] local.INFO: Processing buffer {"connection_id":230092,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:30:49] local.INFO: IMEI packet received {"connection_id":230092,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":230092,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:30:54] local.INFO: TCP Data received {"connection_id":230092,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230092,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:30:54] local.INFO: Processing buffer {"connection_id":230092,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:30:54] local.INFO: IMEI packet received {"connection_id":230092,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":230092,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:30:55] local.INFO: TCP Data received {"connection_id":230092,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:30:55] local.INFO: Processing buffer {"connection_id":230092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:30:55] local.INFO: Packet analysis {"connection_id":230092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:30:55] local.INFO: Extracted packet for processing {"connection_id":230092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:30:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226737152001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:30: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-05 10:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793854743000,"timestamp_ms":1793854743000,"timestamp_seconds":1793854743,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa1321d8"} 
[2026-11-05 10: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-05 10:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10: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-05 10: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-05 10:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230092,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230092,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226737152001,"66":12765,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226737152001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:30:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226737152001,"power":12765,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":230092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62378,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:30:55] local.INFO: GPS data processed {"connection_id":230092,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:30:55] local.INFO: Acknowledgment sent {"connection_id":230092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:31:05] local.INFO: TCP Data received {"connection_id":233311,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:31:05] local.INFO: Processing buffer {"connection_id":233311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:31:05] local.INFO: IMEI packet received {"connection_id":233311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":233311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:31:09] local.INFO: TCP Data received {"connection_id":233311,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:31:09] local.INFO: Processing buffer {"connection_id":233311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:31:09] local.INFO: IMEI packet received {"connection_id":233311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":233311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:31:11] local.INFO: TCP Data received {"connection_id":233311,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa133948012d7fad0005afe048000a00452a..."} 
[2026-11-05 10:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa133948012d7fad0005afe048000a00452a..."} 
[2026-11-05 10:31:11] local.INFO: Processing buffer {"connection_id":233311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa133948012d7fad0005afe048000a00452a..."} 
[2026-11-05 10:31:11] local.INFO: Packet analysis {"connection_id":233311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:31:11] local.INFO: Extracted packet for processing {"connection_id":233311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:31:11] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":42,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226738688001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793854749000,"timestamp_ms":1793854749000,"timestamp_seconds":1793854749,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa133948"} 
[2026-11-05 10: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-05 10:31: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-05 10: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-11-05 10:31:11] 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-05 10: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-05 10: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-05 10:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:31: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-05 10:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226738688001,"66":25854,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226738688001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:31:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:31:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226738688001,"power":25854,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":233311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:31:11] local.INFO: GPS data processed {"connection_id":233311,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:31:11] local.INFO: Acknowledgment sent {"connection_id":233311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:31:26] local.INFO: TCP Data received {"connection_id":230092,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:31:26] local.INFO: Processing buffer {"connection_id":230092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:31:26] local.INFO: Packet analysis {"connection_id":230092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:31:26] local.INFO: Extracted packet for processing {"connection_id":230092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:31:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226737152001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:31: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-05 10:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793854743000,"timestamp_ms":1793854743000,"timestamp_seconds":1793854743,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa1321d8"} 
[2026-11-05 10: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-05 10:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10: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-05 10: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-05 10:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230092,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230092,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226737152001,"66":12765,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226737152001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:31:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226737152001,"power":12765,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:31:26] local.INFO: TCP Data received {"connection_id":229581,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229581,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:31:26] local.INFO: Processing buffer {"connection_id":229581,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:31:26] local.INFO: IMEI packet received {"connection_id":229581,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 10:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":229581,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":230092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62380,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:31:26] local.INFO: GPS data processed {"connection_id":230092,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:31:26] local.INFO: Acknowledgment sent {"connection_id":230092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:31:42] local.INFO: TCP Data received {"connection_id":233311,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa133948012d7fad0005afe048000a00452a..."} 
[2026-11-05 10:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa133948012d7fad0005afe048000a00452a..."} 
[2026-11-05 10:31:42] local.INFO: Processing buffer {"connection_id":233311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa133948012d7fad0005afe048000a00452a..."} 
[2026-11-05 10:31:42] local.INFO: Packet analysis {"connection_id":233311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:31:42] local.INFO: Extracted packet for processing {"connection_id":233311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:31:42] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":42,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226738688001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793854749000,"timestamp_ms":1793854749000,"timestamp_seconds":1793854749,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa133948"} 
[2026-11-05 10: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-05 10:31:42] 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-05 10: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-11-05 10:31:42] 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-05 10: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-05 10: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-05 10:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:31:42] 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-05 10:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226738688001,"66":25854,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226738688001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:31:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:31:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226738688001,"power":25854,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":233311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:31:42] local.INFO: GPS data processed {"connection_id":233311,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:31:42] local.INFO: Acknowledgment sent {"connection_id":233311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:31:49] local.INFO: TCP Data received {"connection_id":231417,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231417,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:31:49] local.INFO: Processing buffer {"connection_id":231417,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:31:49] local.INFO: IMEI packet received {"connection_id":231417,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":231417,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:31:54] local.INFO: TCP Data received {"connection_id":231417,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231417,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:31:54] local.INFO: Processing buffer {"connection_id":231417,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:31:54] local.INFO: IMEI packet received {"connection_id":231417,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":231417,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:31:55] local.INFO: TCP Data received {"connection_id":231417,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:31:55] local.INFO: Processing buffer {"connection_id":231417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:31:55] local.INFO: Packet analysis {"connection_id":231417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:31:55] local.INFO: Extracted packet for processing {"connection_id":231417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:31:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226737152001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:31: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-05 10:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793854743000,"timestamp_ms":1793854743000,"timestamp_seconds":1793854743,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa1321d8"} 
[2026-11-05 10:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231417,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231417,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226737152001,"66":12765,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226737152001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:31:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226737152001,"power":12765,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":231417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62382,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:31:55] local.INFO: GPS data processed {"connection_id":231417,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:31:55] local.INFO: Acknowledgment sent {"connection_id":231417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:32:03] local.INFO: TCP Data received {"connection_id":230093,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:32:03] local.INFO: Processing buffer {"connection_id":230093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:32:03] local.INFO: IMEI packet received {"connection_id":230093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":230093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:32:09] local.INFO: TCP Data received {"connection_id":230093,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:32:09] local.INFO: Processing buffer {"connection_id":230093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:32:09] local.INFO: IMEI packet received {"connection_id":230093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":230093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:32:10] local.INFO: TCP Data received {"connection_id":230093,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa133948012d7fad0005afe048000a00452a..."} 
[2026-11-05 10:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa133948012d7fad0005afe048000a00452a..."} 
[2026-11-05 10:32:10] local.INFO: Processing buffer {"connection_id":230093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa133948012d7fad0005afe048000a00452a..."} 
[2026-11-05 10:32:10] local.INFO: Packet analysis {"connection_id":230093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:32:10] local.INFO: Extracted packet for processing {"connection_id":230093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:32:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":42,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226738688001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793854749000,"timestamp_ms":1793854749000,"timestamp_seconds":1793854749,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa133948"} 
[2026-11-05 10:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:32:10] 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-05 10:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-11-05 10:32:10] 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-05 10:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:32:10] 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-05 10:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226738688001,"66":25854,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226738688001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:32:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226738688001,"power":25854,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":230093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:32:10] local.INFO: GPS data processed {"connection_id":230093,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:32:10] local.INFO: Acknowledgment sent {"connection_id":230093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:32:11] local.INFO: TCP Data received {"connection_id":233312,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233312,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:32:11] local.INFO: Processing buffer {"connection_id":233312,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:32:11] local.INFO: IMEI packet received {"connection_id":233312,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 10:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":233312,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:32:26] local.INFO: TCP Data received {"connection_id":231417,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:32:26] local.INFO: Processing buffer {"connection_id":231417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:32:26] local.INFO: Packet analysis {"connection_id":231417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:32:26] local.INFO: Extracted packet for processing {"connection_id":231417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:32:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226737152001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:32: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-05 10:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793854743000,"timestamp_ms":1793854743000,"timestamp_seconds":1793854743,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa1321d8"} 
[2026-11-05 10: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-05 10:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10: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-05 10: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-05 10:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231417,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231417,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226737152001,"66":12765,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226737152001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:32:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226737152001,"power":12765,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":231417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62384,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:32:26] local.INFO: GPS data processed {"connection_id":231417,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:32:26] local.INFO: Acknowledgment sent {"connection_id":231417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:32:41] local.INFO: TCP Data received {"connection_id":230093,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa133948012d7fad0005afe048000a00452a..."} 
[2026-11-05 10:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa133948012d7fad0005afe048000a00452a..."} 
[2026-11-05 10:32:41] local.INFO: Processing buffer {"connection_id":230093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa133948012d7fad0005afe048000a00452a..."} 
[2026-11-05 10:32:41] local.INFO: Packet analysis {"connection_id":230093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:32:41] local.INFO: Extracted packet for processing {"connection_id":230093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:32:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":42,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226738688001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793854749000,"timestamp_ms":1793854749000,"timestamp_seconds":1793854749,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa133948"} 
[2026-11-05 10:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:32:41] 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-05 10:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-11-05 10:32:41] 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-05 10:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:32: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-05 10:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226738688001,"66":25854,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226738688001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:32:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:32:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226738688001,"power":25854,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":230093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:32:41] local.INFO: GPS data processed {"connection_id":230093,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:32:41] local.INFO: Acknowledgment sent {"connection_id":230093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:32:49] local.INFO: TCP Data received {"connection_id":229582,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229582,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:32:49] local.INFO: Processing buffer {"connection_id":229582,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:32:49] local.INFO: IMEI packet received {"connection_id":229582,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":229582,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:32:54] local.INFO: TCP Data received {"connection_id":229582,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229582,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:32:54] local.INFO: Processing buffer {"connection_id":229582,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:32:54] local.INFO: IMEI packet received {"connection_id":229582,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":229582,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:32:55] local.INFO: TCP Data received {"connection_id":229582,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:32:55] local.INFO: Processing buffer {"connection_id":229582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:32:55] local.INFO: Packet analysis {"connection_id":229582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:32:55] local.INFO: Extracted packet for processing {"connection_id":229582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:32:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226737152001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:32: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-05 10:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793854743000,"timestamp_ms":1793854743000,"timestamp_seconds":1793854743,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa1321d8"} 
[2026-11-05 10:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229582,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229582,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226737152001,"66":12765,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226737152001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:32:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226737152001,"power":12765,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:32:55] 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":62386,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:32:55] local.INFO: GPS data processed {"connection_id":229582,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:32:55] local.INFO: Acknowledgment sent {"connection_id":229582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:33:09] local.INFO: TCP Data received {"connection_id":230095,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:33:09] local.INFO: Processing buffer {"connection_id":230095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:33:09] local.INFO: IMEI packet received {"connection_id":230095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":230095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:33:14] local.INFO: TCP Data received {"connection_id":230095,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:33:14] local.INFO: Processing buffer {"connection_id":230095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:33:14] local.INFO: IMEI packet received {"connection_id":230095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":230095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:33:15] local.INFO: TCP Data received {"connection_id":230095,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa133948012d7fad0005afe048000a00452a..."} 
[2026-11-05 10:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa133948012d7fad0005afe048000a00452a..."} 
[2026-11-05 10:33:15] local.INFO: Processing buffer {"connection_id":230095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa133948012d7fad0005afe048000a00452a..."} 
[2026-11-05 10:33:15] local.INFO: Packet analysis {"connection_id":230095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:33:15] local.INFO: Extracted packet for processing {"connection_id":230095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:33:15] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":42,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 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-05 10:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226738688001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793854749000,"timestamp_ms":1793854749000,"timestamp_seconds":1793854749,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa133948"} 
[2026-11-05 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-05 10:33: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-05 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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-11-05 10:33:15] 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-05 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-05 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-05 10:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:33: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-05 10:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226738688001,"66":25854,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226738688001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:33:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:33:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226738688001,"power":25854,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":230095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:33:15] local.INFO: GPS data processed {"connection_id":230095,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:33:15] local.INFO: Acknowledgment sent {"connection_id":230095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:33:19] local.INFO: TCP Data received {"connection_id":230095,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa133948012d7fad0005afe048000a00452a..."} 
[2026-11-05 10:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa133948012d7fad0005afe048000a00452a..."} 
[2026-11-05 10:33:19] local.INFO: Processing buffer {"connection_id":230095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa133948012d7fad0005afe048000a00452a..."} 
[2026-11-05 10:33:19] local.INFO: Packet analysis {"connection_id":230095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:33:19] local.INFO: Extracted packet for processing {"connection_id":230095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:33:19] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":42,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226738688001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793854749000,"timestamp_ms":1793854749000,"timestamp_seconds":1793854749,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa133948"} 
[2026-11-05 10:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:33: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-05 10:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-11-05 10:33:19] 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-05 10:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:33: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-05 10:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226738688001,"66":25854,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226738688001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:33:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:33:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226738688001,"power":25854,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":230095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:33:19] local.INFO: GPS data processed {"connection_id":230095,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:33:19] local.INFO: Acknowledgment sent {"connection_id":230095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:33:27] local.INFO: TCP Data received {"connection_id":229582,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:33:27] local.INFO: Processing buffer {"connection_id":229582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:33:27] local.INFO: Packet analysis {"connection_id":229582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:33:27] local.INFO: Extracted packet for processing {"connection_id":229582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:33:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226737152001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:33:27] 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-05 10:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793854743000,"timestamp_ms":1793854743000,"timestamp_seconds":1793854743,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa1321d8"} 
[2026-11-05 10:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":229582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":229582,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":229582,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226737152001,"66":12765,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226737152001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:33:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226737152001,"power":12765,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:33:27] 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":62389,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:33:27] local.INFO: GPS data processed {"connection_id":229582,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:33:27] local.INFO: Acknowledgment sent {"connection_id":229582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:33:54] local.INFO: TCP Data received {"connection_id":231418,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231418,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:33:54] local.INFO: Processing buffer {"connection_id":231418,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:33:54] local.INFO: IMEI packet received {"connection_id":231418,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":231418,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:33:59] local.INFO: TCP Data received {"connection_id":231418,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231418,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:33:59] local.INFO: Processing buffer {"connection_id":231418,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:33:59] local.INFO: IMEI packet received {"connection_id":231418,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":231418,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:34:00] local.INFO: TCP Data received {"connection_id":231418,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:34:00] local.INFO: Processing buffer {"connection_id":231418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:34:00] local.INFO: Packet analysis {"connection_id":231418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:34:00] local.INFO: Extracted packet for processing {"connection_id":231418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:34:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226737152001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:34: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-05 10:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793854743000,"timestamp_ms":1793854743000,"timestamp_seconds":1793854743,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa1321d8"} 
[2026-11-05 10:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:34:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":231418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":231418,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":231418,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226737152001,"66":12765,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226737152001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:34:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226737152001,"power":12765,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":231418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62390,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:34:00] local.INFO: GPS data processed {"connection_id":231418,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:34:00] local.INFO: Acknowledgment sent {"connection_id":231418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:34:04] local.INFO: TCP Data received {"connection_id":231419,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:34:04] local.INFO: Processing buffer {"connection_id":231419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:34:04] local.INFO: IMEI packet received {"connection_id":231419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":231419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:34:04] local.INFO: TCP Data received {"connection_id":231418,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:34:04] local.INFO: Processing buffer {"connection_id":231418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa1321d8012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:34:04] local.INFO: Packet analysis {"connection_id":231418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:34:04] local.INFO: Extracted packet for processing {"connection_id":231418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:34:04] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226737152001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793854743000,"timestamp_ms":1793854743000,"timestamp_seconds":1793854743,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa1321d8"} 
[2026-11-05 10:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":231418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":231418,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":231418,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226737152001,"66":12765,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226737152001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:34:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226737152001,"power":12765,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":231418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62391,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:34:04] local.INFO: GPS data processed {"connection_id":231418,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:34:04] local.INFO: Acknowledgment sent {"connection_id":231418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:34:09] local.INFO: TCP Data received {"connection_id":231419,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:34:09] local.INFO: Processing buffer {"connection_id":231419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:34:09] local.INFO: IMEI packet received {"connection_id":231419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":231419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:34:16] local.INFO: TCP Data received {"connection_id":231419,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa133948012d7fad0005afe048000a00452a..."} 
[2026-11-05 10:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa133948012d7fad0005afe048000a00452a..."} 
[2026-11-05 10:34:16] local.INFO: Processing buffer {"connection_id":231419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa133948012d7fad0005afe048000a00452a..."} 
[2026-11-05 10:34:16] local.INFO: Packet analysis {"connection_id":231419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:34:16] local.INFO: Extracted packet for processing {"connection_id":231419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:34:16] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":42,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226738688001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793854749000,"timestamp_ms":1793854749000,"timestamp_seconds":1793854749,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa133948"} 
[2026-11-05 10:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:34: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-05 10:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-11-05 10:34:16] 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-05 10:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":231419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":231419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":231419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:34:16] 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-05 10:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226738688001,"66":25854,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226738688001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:34:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:34:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226738688001,"power":25854,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":231419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:34:16] local.INFO: GPS data processed {"connection_id":231419,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:34:16] local.INFO: Acknowledgment sent {"connection_id":231419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:34:49] local.INFO: TCP Data received {"connection_id":233313,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233313,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:34:49] local.INFO: Processing buffer {"connection_id":233313,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:34:49] local.INFO: IMEI packet received {"connection_id":233313,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":233313,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:34:50] local.INFO: TCP Data received {"connection_id":231419,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa133948012d7fad0005afe048000a00452a..."} 
[2026-11-05 10:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa133948012d7fad0005afe048000a00452a..."} 
[2026-11-05 10:34:50] local.INFO: Processing buffer {"connection_id":231419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa133948012d7fad0005afe048000a00452a..."} 
[2026-11-05 10:34:50] local.INFO: Packet analysis {"connection_id":231419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:34:50] local.INFO: Extracted packet for processing {"connection_id":231419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa13"} 
[2026-11-05 10:34:50] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":42,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226738688001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793854749000,"timestamp_ms":1793854749000,"timestamp_seconds":1793854749,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa133948"} 
[2026-11-05 10:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:34:50] 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-05 10:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-11-05 10:34:50] 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-05 10:34:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":231419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":231419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":231419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:34: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-05 10:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226738688001,"66":25854,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226738688001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:34:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:34:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226738688001,"power":25854,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":231419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:34:50] local.INFO: GPS data processed {"connection_id":231419,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:34:50] local.INFO: Acknowledgment sent {"connection_id":231419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:34:54] local.INFO: TCP Data received {"connection_id":233313,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233313,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:34:54] local.INFO: Processing buffer {"connection_id":233313,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:34:54] local.INFO: IMEI packet received {"connection_id":233313,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":233313,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:34:55] local.INFO: TCP Data received {"connection_id":233313,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa17b9a0012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa17b9a0012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:34:55] local.INFO: Processing buffer {"connection_id":233313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa17b9a0012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:34:55] local.INFO: Packet analysis {"connection_id":233313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:34:55] local.INFO: Extracted packet for processing {"connection_id":233313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:34:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226814208001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:34: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-05 10:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793855044000,"timestamp_ms":1793855044000,"timestamp_seconds":1793855044,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa17b9a0"} 
[2026-11-05 10:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-11-05 10:34:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233313,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233313,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226814208001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226814208001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:34:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226814208001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":233313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62394,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:34:55] local.INFO: GPS data processed {"connection_id":233313,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:34:55] local.INFO: Acknowledgment sent {"connection_id":233313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:35:04] local.INFO: TCP Data received {"connection_id":231420,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:35:04] local.INFO: Processing buffer {"connection_id":231420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:35:04] local.INFO: IMEI packet received {"connection_id":231420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":231420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:35:09] local.INFO: TCP Data received {"connection_id":231420,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:35:09] local.INFO: Processing buffer {"connection_id":231420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:35:09] local.INFO: IMEI packet received {"connection_id":231420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":231420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:35:10] local.INFO: TCP Data received {"connection_id":231420,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa17d110012d7fad0005afe048000a00452b..."} 
[2026-11-05 10:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa17d110012d7fad0005afe048000a00452b..."} 
[2026-11-05 10:35:10] local.INFO: Processing buffer {"connection_id":231420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa17d110012d7fad0005afe048000a00452b..."} 
[2026-11-05 10:35:10] local.INFO: Packet analysis {"connection_id":231420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:35:10] local.INFO: Extracted packet for processing {"connection_id":231420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:35:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226815744001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793855050000,"timestamp_ms":1793855050000,"timestamp_seconds":1793855050,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa17d110"} 
[2026-11-05 10:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:35:10] 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-05 10:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:35:10] 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-05 10:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226815744001,"66":25756,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226815744001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:35:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226815744001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":231420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:35:10] local.INFO: GPS data processed {"connection_id":231420,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:35:10] local.INFO: Acknowledgment sent {"connection_id":231420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:35:27] local.INFO: TCP Data received {"connection_id":233313,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa17b9a0012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa17b9a0012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:35:27] local.INFO: Processing buffer {"connection_id":233313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa17b9a0012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:35:27] local.INFO: Packet analysis {"connection_id":233313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:35:27] local.INFO: Extracted packet for processing {"connection_id":233313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:35:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226814208001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:35:27] 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-05 10:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793855044000,"timestamp_ms":1793855044000,"timestamp_seconds":1793855044,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa17b9a0"} 
[2026-11-05 10:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-11-05 10:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":233313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":233313,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":233313,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226814208001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226814208001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:35:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226814208001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":233313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62396,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:35:27] local.INFO: GPS data processed {"connection_id":233313,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:35:27] local.INFO: Acknowledgment sent {"connection_id":233313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:35:41] local.INFO: TCP Data received {"connection_id":231420,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa17d110012d7fad0005afe048000a00452b..."} 
[2026-11-05 10:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa17d110012d7fad0005afe048000a00452b..."} 
[2026-11-05 10:35:41] local.INFO: Processing buffer {"connection_id":231420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa17d110012d7fad0005afe048000a00452b..."} 
[2026-11-05 10:35:41] local.INFO: Packet analysis {"connection_id":231420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:35:41] local.INFO: Extracted packet for processing {"connection_id":231420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:35:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226815744001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793855050000,"timestamp_ms":1793855050000,"timestamp_seconds":1793855050,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa17d110"} 
[2026-11-05 10: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-05 10:35:41] 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-05 10: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10: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-05 10: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-05 10:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:35: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-05 10:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226815744001,"66":25756,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226815744001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:35:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:35:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226815744001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":231420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:35:41] local.INFO: GPS data processed {"connection_id":231420,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:35:41] local.INFO: Acknowledgment sent {"connection_id":231420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:35:49] local.INFO: TCP Data received {"connection_id":229583,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229583,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:35:49] local.INFO: Processing buffer {"connection_id":229583,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:35:49] local.INFO: IMEI packet received {"connection_id":229583,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":229583,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:35:54] local.INFO: TCP Data received {"connection_id":229583,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229583,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:35:54] local.INFO: Processing buffer {"connection_id":229583,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:35:54] local.INFO: IMEI packet received {"connection_id":229583,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":229583,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:35:55] local.INFO: TCP Data received {"connection_id":229583,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa17b9a0012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa17b9a0012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:35:55] local.INFO: Processing buffer {"connection_id":229583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa17b9a0012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:35:55] local.INFO: Packet analysis {"connection_id":229583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:35:55] local.INFO: Extracted packet for processing {"connection_id":229583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:35:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226814208001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:35: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-05 10:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793855044000,"timestamp_ms":1793855044000,"timestamp_seconds":1793855044,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa17b9a0"} 
[2026-11-05 10: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-05 10:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-11-05 10:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10: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-05 10: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-05 10:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229583,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229583,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226814208001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226814208001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:35:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226814208001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:35:55] 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":62398,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:35:55] local.INFO: GPS data processed {"connection_id":229583,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:35:55] local.INFO: Acknowledgment sent {"connection_id":229583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:36:03] local.INFO: TCP Data received {"connection_id":231421,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:36:03] local.INFO: Processing buffer {"connection_id":231421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:36:03] local.INFO: IMEI packet received {"connection_id":231421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":231421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:36:09] local.INFO: TCP Data received {"connection_id":231421,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:36:09] local.INFO: Processing buffer {"connection_id":231421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:36:09] local.INFO: IMEI packet received {"connection_id":231421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":231421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:36:10] local.INFO: TCP Data received {"connection_id":231421,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa17d110012d7fad0005afe048000a00452b..."} 
[2026-11-05 10:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa17d110012d7fad0005afe048000a00452b..."} 
[2026-11-05 10:36:10] local.INFO: Processing buffer {"connection_id":231421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa17d110012d7fad0005afe048000a00452b..."} 
[2026-11-05 10:36:10] local.INFO: Packet analysis {"connection_id":231421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:36:10] local.INFO: Extracted packet for processing {"connection_id":231421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:36:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226815744001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793855050000,"timestamp_ms":1793855050000,"timestamp_seconds":1793855050,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa17d110"} 
[2026-11-05 10:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:36:10] 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-05 10:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:36:10] 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-05 10:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226815744001,"66":25756,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226815744001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:36:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226815744001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":231421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:36:10] local.INFO: GPS data processed {"connection_id":231421,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:36:10] local.INFO: Acknowledgment sent {"connection_id":231421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:36:26] local.INFO: TCP Data received {"connection_id":229583,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa17b9a0012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa17b9a0012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:36:26] local.INFO: Processing buffer {"connection_id":229583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa17b9a0012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:36:26] local.INFO: Packet analysis {"connection_id":229583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:36:26] local.INFO: Extracted packet for processing {"connection_id":229583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:36:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226814208001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:36: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-05 10:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793855044000,"timestamp_ms":1793855044000,"timestamp_seconds":1793855044,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa17b9a0"} 
[2026-11-05 10:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-11-05 10:36:26] 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-05 10:36:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229583,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229583,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226814208001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226814208001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:36:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226814208001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:36:26] 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":62400,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:36:26] local.INFO: GPS data processed {"connection_id":229583,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:36:26] local.INFO: Acknowledgment sent {"connection_id":229583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:36:41] local.INFO: TCP Data received {"connection_id":231421,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa17d110012d7fad0005afe048000a00452b..."} 
[2026-11-05 10:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa17d110012d7fad0005afe048000a00452b..."} 
[2026-11-05 10:36:41] local.INFO: Processing buffer {"connection_id":231421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa17d110012d7fad0005afe048000a00452b..."} 
[2026-11-05 10:36:41] local.INFO: Packet analysis {"connection_id":231421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:36:41] local.INFO: Extracted packet for processing {"connection_id":231421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:36:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226815744001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793855050000,"timestamp_ms":1793855050000,"timestamp_seconds":1793855050,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa17d110"} 
[2026-11-05 10:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:36:41] 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-05 10:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:36: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-05 10:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226815744001,"66":25756,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226815744001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:36:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226815744001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":231421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:36:41] local.INFO: GPS data processed {"connection_id":231421,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:36:41] local.INFO: Acknowledgment sent {"connection_id":231421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:36:49] local.INFO: TCP Data received {"connection_id":233316,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233316,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:36:49] local.INFO: Processing buffer {"connection_id":233316,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:36:49] local.INFO: IMEI packet received {"connection_id":233316,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":233316,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:36:54] local.INFO: TCP Data received {"connection_id":233316,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233316,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:36:54] local.INFO: Processing buffer {"connection_id":233316,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:36:54] local.INFO: IMEI packet received {"connection_id":233316,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":233316,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:36:55] local.INFO: TCP Data received {"connection_id":233316,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa17b9a0012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa17b9a0012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:36:55] local.INFO: Processing buffer {"connection_id":233316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa17b9a0012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:36:55] local.INFO: Packet analysis {"connection_id":233316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:36:55] local.INFO: Extracted packet for processing {"connection_id":233316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:36:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226814208001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:36: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-05 10:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793855044000,"timestamp_ms":1793855044000,"timestamp_seconds":1793855044,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa17b9a0"} 
[2026-11-05 10:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-11-05 10:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233316,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233316,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226814208001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226814208001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:36:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226814208001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":233316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62402,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:36:55] local.INFO: GPS data processed {"connection_id":233316,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:36:55] local.INFO: Acknowledgment sent {"connection_id":233316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:37:03] local.INFO: TCP Data received {"connection_id":230098,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:37:03] local.INFO: Processing buffer {"connection_id":230098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:37:03] local.INFO: IMEI packet received {"connection_id":230098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":230098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:37:09] local.INFO: TCP Data received {"connection_id":230098,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:37:09] local.INFO: Processing buffer {"connection_id":230098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:37:09] local.INFO: IMEI packet received {"connection_id":230098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":230098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:37:10] local.INFO: TCP Data received {"connection_id":230098,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa17d110012d7fad0005afe048000a00452b..."} 
[2026-11-05 10:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa17d110012d7fad0005afe048000a00452b..."} 
[2026-11-05 10:37:10] local.INFO: Processing buffer {"connection_id":230098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa17d110012d7fad0005afe048000a00452b..."} 
[2026-11-05 10:37:10] local.INFO: Packet analysis {"connection_id":230098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:37:10] local.INFO: Extracted packet for processing {"connection_id":230098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:37:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226815744001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793855050000,"timestamp_ms":1793855050000,"timestamp_seconds":1793855050,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa17d110"} 
[2026-11-05 10:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:37:10] 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-05 10:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:37:10] 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-05 10:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226815744001,"66":25756,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226815744001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:37:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:37:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226815744001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":230098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:37:10] local.INFO: GPS data processed {"connection_id":230098,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:37:10] local.INFO: Acknowledgment sent {"connection_id":230098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:37:26] local.INFO: TCP Data received {"connection_id":233316,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa17b9a0012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa17b9a0012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:37:26] local.INFO: Processing buffer {"connection_id":233316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa17b9a0012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:37:26] local.INFO: Packet analysis {"connection_id":233316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:37:26] local.INFO: Extracted packet for processing {"connection_id":233316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:37:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226814208001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:37: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-05 10:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793855044000,"timestamp_ms":1793855044000,"timestamp_seconds":1793855044,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa17b9a0"} 
[2026-11-05 10: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-05 10:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-11-05 10:37:26] 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-05 10: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-05 10: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-05 10:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233316,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233316,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:37:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226814208001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226814208001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:37:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226814208001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":233316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62404,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:37:26] local.INFO: GPS data processed {"connection_id":233316,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:37:26] local.INFO: Acknowledgment sent {"connection_id":233316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:37:31] local.INFO: TCP Data received {"connection_id":230097,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230097,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:37:31] local.INFO: Processing buffer {"connection_id":230097,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:37:31] local.INFO: IMEI packet received {"connection_id":230097,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 10:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":230097,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:37:41] local.INFO: TCP Data received {"connection_id":230098,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa17d110012d7fad0005afe048000a00452b..."} 
[2026-11-05 10:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa17d110012d7fad0005afe048000a00452b..."} 
[2026-11-05 10:37:41] local.INFO: Processing buffer {"connection_id":230098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa17d110012d7fad0005afe048000a00452b..."} 
[2026-11-05 10:37:41] local.INFO: Packet analysis {"connection_id":230098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:37:41] local.INFO: Extracted packet for processing {"connection_id":230098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:37:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226815744001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793855050000,"timestamp_ms":1793855050000,"timestamp_seconds":1793855050,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa17d110"} 
[2026-11-05 10: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-05 10:37:41] 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-05 10: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10: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-05 10: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-05 10:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:37: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-05 10:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226815744001,"66":25756,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226815744001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:37:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:37:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226815744001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":230098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:37:41] local.INFO: GPS data processed {"connection_id":230098,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:37:41] local.INFO: Acknowledgment sent {"connection_id":230098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:37:49] local.INFO: TCP Data received {"connection_id":231422,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231422,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:37:49] local.INFO: Processing buffer {"connection_id":231422,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:37:49] local.INFO: IMEI packet received {"connection_id":231422,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":231422,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:37:54] local.INFO: TCP Data received {"connection_id":231422,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231422,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:37:54] local.INFO: Processing buffer {"connection_id":231422,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:37:54] local.INFO: IMEI packet received {"connection_id":231422,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":231422,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:37:55] local.INFO: TCP Data received {"connection_id":231422,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa17b9a0012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa17b9a0012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:37:55] local.INFO: Processing buffer {"connection_id":231422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa17b9a0012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:37:55] local.INFO: Packet analysis {"connection_id":231422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:37:55] local.INFO: Extracted packet for processing {"connection_id":231422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:37:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226814208001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:37: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-05 10:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793855044000,"timestamp_ms":1793855044000,"timestamp_seconds":1793855044,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa17b9a0"} 
[2026-11-05 10: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-05 10:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-11-05 10:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10: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-05 10: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-05 10:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231422,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231422,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226814208001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226814208001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:37:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226814208001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":231422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62406,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:37:55] local.INFO: GPS data processed {"connection_id":231422,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:37:55] local.INFO: Acknowledgment sent {"connection_id":231422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:38:06] local.INFO: TCP Data received {"connection_id":230099,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230099,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:38:06] local.INFO: Processing buffer {"connection_id":230099,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:38:06] local.INFO: IMEI packet received {"connection_id":230099,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 10:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":230099,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:38:09] local.INFO: TCP Data received {"connection_id":230100,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:38:09] local.INFO: Processing buffer {"connection_id":230100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:38:09] local.INFO: IMEI packet received {"connection_id":230100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":230100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:38:14] local.INFO: TCP Data received {"connection_id":230100,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:38:14] local.INFO: Processing buffer {"connection_id":230100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:38:14] local.INFO: IMEI packet received {"connection_id":230100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":230100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:38:15] local.INFO: TCP Data received {"connection_id":230100,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa17d110012d7fad0005afe048000a00452b..."} 
[2026-11-05 10:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa17d110012d7fad0005afe048000a00452b..."} 
[2026-11-05 10:38:15] local.INFO: Processing buffer {"connection_id":230100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa17d110012d7fad0005afe048000a00452b..."} 
[2026-11-05 10:38:15] local.INFO: Packet analysis {"connection_id":230100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:38:15] local.INFO: Extracted packet for processing {"connection_id":230100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:38:15] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 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-05 10:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226815744001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793855050000,"timestamp_ms":1793855050000,"timestamp_seconds":1793855050,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa17d110"} 
[2026-11-05 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-05 10:38: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-05 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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:38:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 10:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:38: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-05 10:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226815744001,"66":25756,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226815744001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:38:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:38:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226815744001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":230100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:38:15] local.INFO: GPS data processed {"connection_id":230100,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:38:15] local.INFO: Acknowledgment sent {"connection_id":230100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:38:19] local.INFO: TCP Data received {"connection_id":230100,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa17d110012d7fad0005afe048000a00452b..."} 
[2026-11-05 10:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa17d110012d7fad0005afe048000a00452b..."} 
[2026-11-05 10:38:19] local.INFO: Processing buffer {"connection_id":230100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa17d110012d7fad0005afe048000a00452b..."} 
[2026-11-05 10:38:19] local.INFO: Packet analysis {"connection_id":230100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:38:19] local.INFO: Extracted packet for processing {"connection_id":230100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:38:19] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226815744001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793855050000,"timestamp_ms":1793855050000,"timestamp_seconds":1793855050,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa17d110"} 
[2026-11-05 10: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-05 10:38: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-05 10: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10: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-05 10: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-05 10:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:38: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-05 10:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226815744001,"66":25756,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226815744001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:38:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:38:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226815744001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":230100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:38:19] local.INFO: GPS data processed {"connection_id":230100,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:38:19] local.INFO: Acknowledgment sent {"connection_id":230100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:38:26] local.INFO: TCP Data received {"connection_id":231422,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa17b9a0012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa17b9a0012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:38:26] local.INFO: Processing buffer {"connection_id":231422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa17b9a0012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:38:26] local.INFO: Packet analysis {"connection_id":231422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:38:26] local.INFO: Extracted packet for processing {"connection_id":231422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:38:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226814208001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:38: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-05 10:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793855044000,"timestamp_ms":1793855044000,"timestamp_seconds":1793855044,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa17b9a0"} 
[2026-11-05 10: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-05 10:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-11-05 10:38:26] 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-05 10: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-05 10: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-05 10:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231422,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231422,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:38:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226814208001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226814208001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:38:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226814208001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":231422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62409,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:38:26] local.INFO: GPS data processed {"connection_id":231422,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:38:26] local.INFO: Acknowledgment sent {"connection_id":231422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:38:54] local.INFO: TCP Data received {"connection_id":230101,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230101,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:38:54] local.INFO: Processing buffer {"connection_id":230101,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:38:54] local.INFO: IMEI packet received {"connection_id":230101,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":230101,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:38:59] local.INFO: TCP Data received {"connection_id":230101,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230101,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:38:59] local.INFO: Processing buffer {"connection_id":230101,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:38:59] local.INFO: IMEI packet received {"connection_id":230101,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":230101,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:39:00] local.INFO: TCP Data received {"connection_id":230101,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa17b9a0012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa17b9a0012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:39:00] local.INFO: Processing buffer {"connection_id":230101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa17b9a0012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:39:00] local.INFO: Packet analysis {"connection_id":230101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:39:00] local.INFO: Extracted packet for processing {"connection_id":230101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:39:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226814208001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:39: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-05 10:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793855044000,"timestamp_ms":1793855044000,"timestamp_seconds":1793855044,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa17b9a0"} 
[2026-11-05 10:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-11-05 10:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:39:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":230101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":230101,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":230101,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226814208001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226814208001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:39:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226814208001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":230101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62410,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:39:00] local.INFO: GPS data processed {"connection_id":230101,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:39:00] local.INFO: Acknowledgment sent {"connection_id":230101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:39:04] local.INFO: TCP Data received {"connection_id":231423,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:39:04] local.INFO: Processing buffer {"connection_id":231423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:39:04] local.INFO: IMEI packet received {"connection_id":231423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":231423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:39:04] local.INFO: TCP Data received {"connection_id":230101,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa17b9a0012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa17b9a0012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:39:04] local.INFO: Processing buffer {"connection_id":230101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa17b9a0012d0b10c00702a1800000014e23..."} 
[2026-11-05 10:39:04] local.INFO: Packet analysis {"connection_id":230101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:39:04] local.INFO: Extracted packet for processing {"connection_id":230101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:39:04] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226814208001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793855044000,"timestamp_ms":1793855044000,"timestamp_seconds":1793855044,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa17b9a0"} 
[2026-11-05 10:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-11-05 10:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":230101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":230101,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":230101,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226814208001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226814208001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:39:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226814208001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":230101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62411,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:39:04] local.INFO: GPS data processed {"connection_id":230101,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:39:04] local.INFO: Acknowledgment sent {"connection_id":230101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:39:09] local.INFO: TCP Data received {"connection_id":231423,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:39:09] local.INFO: Processing buffer {"connection_id":231423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:39:09] local.INFO: IMEI packet received {"connection_id":231423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":231423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:39:10] local.INFO: TCP Data received {"connection_id":231423,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa17d110012d7fad0005afe048000a00452b..."} 
[2026-11-05 10:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa17d110012d7fad0005afe048000a00452b..."} 
[2026-11-05 10:39:10] local.INFO: Processing buffer {"connection_id":231423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa17d110012d7fad0005afe048000a00452b..."} 
[2026-11-05 10:39:10] local.INFO: Packet analysis {"connection_id":231423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:39:10] local.INFO: Extracted packet for processing {"connection_id":231423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:39:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226815744001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793855050000,"timestamp_ms":1793855050000,"timestamp_seconds":1793855050,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa17d110"} 
[2026-11-05 10: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-05 10:39:10] 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-05 10: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10: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-05 10: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-05 10:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:39:10] 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-05 10:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226815744001,"66":25756,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226815744001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:39:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226815744001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":231423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:39:10] local.INFO: GPS data processed {"connection_id":231423,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:39:10] local.INFO: Acknowledgment sent {"connection_id":231423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:39:41] local.INFO: TCP Data received {"connection_id":231423,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa17d110012d7fad0005afe048000a00452b..."} 
[2026-11-05 10:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa17d110012d7fad0005afe048000a00452b..."} 
[2026-11-05 10:39:41] local.INFO: Processing buffer {"connection_id":231423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa17d110012d7fad0005afe048000a00452b..."} 
[2026-11-05 10:39:41] local.INFO: Packet analysis {"connection_id":231423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:39:41] local.INFO: Extracted packet for processing {"connection_id":231423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa17"} 
[2026-11-05 10:39:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226815744001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793855050000,"timestamp_ms":1793855050000,"timestamp_seconds":1793855050,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa17d110"} 
[2026-11-05 10: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-05 10:39:41] 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-05 10: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10: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-05 10: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-05 10:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:39: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-05 10:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226815744001,"66":25756,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226815744001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:39:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:39:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226815744001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":231423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:39:41] local.INFO: GPS data processed {"connection_id":231423,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:39:41] local.INFO: Acknowledgment sent {"connection_id":231423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:39:49] local.INFO: TCP Data received {"connection_id":230102,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230102,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:39:49] local.INFO: Processing buffer {"connection_id":230102,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:39:49] local.INFO: IMEI packet received {"connection_id":230102,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":230102,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:39:55] local.INFO: TCP Data received {"connection_id":230102,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230102,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:39:55] local.INFO: Processing buffer {"connection_id":230102,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:39:55] local.INFO: IMEI packet received {"connection_id":230102,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":230102,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:39:56] local.INFO: TCP Data received {"connection_id":230102,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa1c5168012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa1c5168012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:39:56] local.INFO: Processing buffer {"connection_id":230102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa1c5168012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:39:56] local.INFO: Packet analysis {"connection_id":230102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:39:56] local.INFO: Extracted packet for processing {"connection_id":230102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:39:56] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226891264001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:39:56] 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-05 10:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793855345000,"timestamp_ms":1793855345000,"timestamp_seconds":1793855345,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa1c5168"} 
[2026-11-05 10: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-05 10:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 10:39:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10: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-05 10: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-05 10:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":230102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":230102,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":230102,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226891264001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226891264001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:39:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226891264001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":230102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62414,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:39:56] local.INFO: GPS data processed {"connection_id":230102,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:39:56] local.INFO: Acknowledgment sent {"connection_id":230102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:40:05] local.INFO: TCP Data received {"connection_id":229585,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:40:05] local.INFO: Processing buffer {"connection_id":229585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:40:05] local.INFO: IMEI packet received {"connection_id":229585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":229585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:40:09] local.INFO: TCP Data received {"connection_id":229585,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:40:09] local.INFO: Processing buffer {"connection_id":229585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:40:09] local.INFO: IMEI packet received {"connection_id":229585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":229585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:40:10] local.INFO: TCP Data received {"connection_id":229585,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa1c68d8012d7fad0005afe048001e004528..."} 
[2026-11-05 10:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa1c68d8012d7fad0005afe048001e004528..."} 
[2026-11-05 10:40:10] local.INFO: Processing buffer {"connection_id":229585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa1c68d8012d7fad0005afe048001e004528..."} 
[2026-11-05 10:40:10] local.INFO: Packet analysis {"connection_id":229585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:40:10] local.INFO: Extracted packet for processing {"connection_id":229585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:40:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":30,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226892800001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793855351000,"timestamp_ms":1793855351000,"timestamp_seconds":1793855351,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa1c68d8"} 
[2026-11-05 10:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:40:10] 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-05 10:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 10:40:10] 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-05 10:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:40:10] 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-05 10:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226892800001,"66":25625,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226892800001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:40:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:40:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226892800001,"power":25625,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:40:10] 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":62415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:40:10] local.INFO: GPS data processed {"connection_id":229585,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:40:10] local.INFO: Acknowledgment sent {"connection_id":229585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:40:27] local.INFO: TCP Data received {"connection_id":230102,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa1c5168012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa1c5168012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:40:27] local.INFO: Processing buffer {"connection_id":230102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa1c5168012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:40:27] local.INFO: Packet analysis {"connection_id":230102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:40:27] local.INFO: Extracted packet for processing {"connection_id":230102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:40:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226891264001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:40:27] 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-05 10:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793855345000,"timestamp_ms":1793855345000,"timestamp_seconds":1793855345,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa1c5168"} 
[2026-11-05 10:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 10:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":230102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":230102,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":230102,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226891264001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226891264001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:40:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226891264001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":230102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62416,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:40:27] local.INFO: GPS data processed {"connection_id":230102,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:40:27] local.INFO: Acknowledgment sent {"connection_id":230102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:40:41] local.INFO: TCP Data received {"connection_id":229585,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa1c68d8012d7fad0005afe048001e004528..."} 
[2026-11-05 10:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa1c68d8012d7fad0005afe048001e004528..."} 
[2026-11-05 10:40:41] local.INFO: Processing buffer {"connection_id":229585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa1c68d8012d7fad0005afe048001e004528..."} 
[2026-11-05 10:40:41] local.INFO: Packet analysis {"connection_id":229585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:40:41] local.INFO: Extracted packet for processing {"connection_id":229585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:40:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":30,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226892800001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793855351000,"timestamp_ms":1793855351000,"timestamp_seconds":1793855351,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa1c68d8"} 
[2026-11-05 10: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-05 10:40:41] 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-05 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 10:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10: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-05 10: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-05 10:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:40: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-05 10:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226892800001,"66":25625,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226892800001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:40:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:40:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226892800001,"power":25625,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:40:42] 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":62417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:40:42] local.INFO: GPS data processed {"connection_id":229585,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:40:42] local.INFO: Acknowledgment sent {"connection_id":229585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:40:49] local.INFO: TCP Data received {"connection_id":233317,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233317,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:40:49] local.INFO: Processing buffer {"connection_id":233317,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:40:49] local.INFO: IMEI packet received {"connection_id":233317,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":233317,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:40:54] local.INFO: TCP Data received {"connection_id":233317,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233317,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:40:54] local.INFO: Processing buffer {"connection_id":233317,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:40:54] local.INFO: IMEI packet received {"connection_id":233317,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":233317,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:40:55] local.INFO: TCP Data received {"connection_id":233317,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa1c5168012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa1c5168012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:40:55] local.INFO: Processing buffer {"connection_id":233317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa1c5168012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:40:55] local.INFO: Packet analysis {"connection_id":233317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:40:55] local.INFO: Extracted packet for processing {"connection_id":233317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:40:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226891264001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:40: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-05 10:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793855345000,"timestamp_ms":1793855345000,"timestamp_seconds":1793855345,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa1c5168"} 
[2026-11-05 10:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 10:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226891264001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226891264001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:40:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226891264001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":233317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62418,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:40:55] local.INFO: GPS data processed {"connection_id":233317,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:40:55] local.INFO: Acknowledgment sent {"connection_id":233317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:41:03] local.INFO: TCP Data received {"connection_id":230103,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:41:03] local.INFO: Processing buffer {"connection_id":230103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:41:03] local.INFO: IMEI packet received {"connection_id":230103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":230103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:41:09] local.INFO: TCP Data received {"connection_id":230103,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:41:09] local.INFO: Processing buffer {"connection_id":230103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:41:09] local.INFO: IMEI packet received {"connection_id":230103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":230103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:41:10] local.INFO: TCP Data received {"connection_id":230103,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa1c68d8012d7fad0005afe048001e004528..."} 
[2026-11-05 10:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa1c68d8012d7fad0005afe048001e004528..."} 
[2026-11-05 10:41:10] local.INFO: Processing buffer {"connection_id":230103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa1c68d8012d7fad0005afe048001e004528..."} 
[2026-11-05 10:41:10] local.INFO: Packet analysis {"connection_id":230103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:41:10] local.INFO: Extracted packet for processing {"connection_id":230103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:41:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":30,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226892800001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793855351000,"timestamp_ms":1793855351000,"timestamp_seconds":1793855351,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa1c68d8"} 
[2026-11-05 10:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:41:10] 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-05 10:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 10:41:10] 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-05 10:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:41:10] 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-05 10:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226892800001,"66":25625,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226892800001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:41:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:41:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226892800001,"power":25625,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":230103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:41:10] local.INFO: GPS data processed {"connection_id":230103,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:41:10] local.INFO: Acknowledgment sent {"connection_id":230103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:41:26] local.INFO: TCP Data received {"connection_id":233317,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa1c5168012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa1c5168012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:41:26] local.INFO: Processing buffer {"connection_id":233317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa1c5168012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:41:26] local.INFO: Packet analysis {"connection_id":233317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:41:26] local.INFO: Extracted packet for processing {"connection_id":233317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:41:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226891264001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:41: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-05 10:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793855345000,"timestamp_ms":1793855345000,"timestamp_seconds":1793855345,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa1c5168"} 
[2026-11-05 10: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-05 10:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 10:41:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10: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-05 10: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-05 10:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226891264001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226891264001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:41:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226891264001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":233317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62420,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:41:26] local.INFO: GPS data processed {"connection_id":233317,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:41:26] local.INFO: Acknowledgment sent {"connection_id":233317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:41:41] local.INFO: TCP Data received {"connection_id":230103,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa1c68d8012d7fad0005afe048001e004528..."} 
[2026-11-05 10:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa1c68d8012d7fad0005afe048001e004528..."} 
[2026-11-05 10:41:41] local.INFO: Processing buffer {"connection_id":230103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa1c68d8012d7fad0005afe048001e004528..."} 
[2026-11-05 10:41:41] local.INFO: Packet analysis {"connection_id":230103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:41:41] local.INFO: Extracted packet for processing {"connection_id":230103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:41:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":30,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226892800001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793855351000,"timestamp_ms":1793855351000,"timestamp_seconds":1793855351,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa1c68d8"} 
[2026-11-05 10:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:41:41] 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-05 10:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 10:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:41: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-05 10:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226892800001,"66":25625,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226892800001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:41:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:41:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226892800001,"power":25625,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":230103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:41:41] local.INFO: GPS data processed {"connection_id":230103,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:41:41] local.INFO: Acknowledgment sent {"connection_id":230103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:41:49] local.INFO: TCP Data received {"connection_id":229587,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229587,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:41:49] local.INFO: Processing buffer {"connection_id":229587,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:41:49] local.INFO: IMEI packet received {"connection_id":229587,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":229587,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:41:54] local.INFO: TCP Data received {"connection_id":229587,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229587,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:41:54] local.INFO: Processing buffer {"connection_id":229587,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:41:54] local.INFO: IMEI packet received {"connection_id":229587,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":229587,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:41:55] local.INFO: TCP Data received {"connection_id":229587,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa1c5168012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa1c5168012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:41:55] local.INFO: Processing buffer {"connection_id":229587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa1c5168012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:41:55] local.INFO: Packet analysis {"connection_id":229587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:41:55] local.INFO: Extracted packet for processing {"connection_id":229587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:41:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226891264001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:41: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-05 10:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793855345000,"timestamp_ms":1793855345000,"timestamp_seconds":1793855345,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa1c5168"} 
[2026-11-05 10: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-05 10:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 10:41: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-05 10: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-05 10: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-05 10:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229587,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229587,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226891264001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226891264001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:41:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226891264001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:41:55] 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":62422,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:41:55] local.INFO: GPS data processed {"connection_id":229587,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:41:55] local.INFO: Acknowledgment sent {"connection_id":229587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:42:09] local.INFO: TCP Data received {"connection_id":231424,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:42:09] local.INFO: Processing buffer {"connection_id":231424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:42:09] local.INFO: IMEI packet received {"connection_id":231424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":231424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:42:14] local.INFO: TCP Data received {"connection_id":231424,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:42:14] local.INFO: Processing buffer {"connection_id":231424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:42:14] local.INFO: IMEI packet received {"connection_id":231424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":231424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:42:15] local.INFO: TCP Data received {"connection_id":231424,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa1c68d8012d7fad0005afe048001e004528..."} 
[2026-11-05 10:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa1c68d8012d7fad0005afe048001e004528..."} 
[2026-11-05 10:42:15] local.INFO: Processing buffer {"connection_id":231424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa1c68d8012d7fad0005afe048001e004528..."} 
[2026-11-05 10:42:15] local.INFO: Packet analysis {"connection_id":231424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:42:15] local.INFO: Extracted packet for processing {"connection_id":231424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:42:15] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":30,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226892800001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793855351000,"timestamp_ms":1793855351000,"timestamp_seconds":1793855351,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa1c68d8"} 
[2026-11-05 10: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-05 10:42: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-05 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 10:42:15] 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-05 10: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-05 10: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-05 10:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":231424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":231424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":231424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:42: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-05 10:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226892800001,"66":25625,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226892800001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:42:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:42:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226892800001,"power":25625,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":231424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:42:15] local.INFO: GPS data processed {"connection_id":231424,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:42:15] local.INFO: Acknowledgment sent {"connection_id":231424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:42:19] local.INFO: TCP Data received {"connection_id":231424,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa1c68d8012d7fad0005afe048001e004528..."} 
[2026-11-05 10:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa1c68d8012d7fad0005afe048001e004528..."} 
[2026-11-05 10:42:19] local.INFO: Processing buffer {"connection_id":231424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa1c68d8012d7fad0005afe048001e004528..."} 
[2026-11-05 10:42:19] local.INFO: Packet analysis {"connection_id":231424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:42:19] local.INFO: Extracted packet for processing {"connection_id":231424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:42:19] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":30,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226892800001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793855351000,"timestamp_ms":1793855351000,"timestamp_seconds":1793855351,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa1c68d8"} 
[2026-11-05 10: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-05 10:42: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-05 10: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":156,"data_length":795,"current_offset":136} 
[2026-11-05 10:42: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-05 10: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-05 10: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-05 10:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":231424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":231424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":231424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:42: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-05 10:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226892800001,"66":25625,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226892800001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:42:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:42:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226892800001,"power":25625,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":231424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:42:19] local.INFO: GPS data processed {"connection_id":231424,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:42:19] local.INFO: Acknowledgment sent {"connection_id":231424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:42:26] local.INFO: TCP Data received {"connection_id":229587,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa1c5168012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa1c5168012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:42:26] local.INFO: Processing buffer {"connection_id":229587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa1c5168012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:42:26] local.INFO: Packet analysis {"connection_id":229587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:42:26] local.INFO: Extracted packet for processing {"connection_id":229587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:42:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226891264001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:42: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-05 10:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793855345000,"timestamp_ms":1793855345000,"timestamp_seconds":1793855345,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa1c5168"} 
[2026-11-05 10:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 10:42: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-05 10:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229587,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229587,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226891264001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226891264001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:42:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226891264001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:42:26] 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":62425,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:42:26] local.INFO: GPS data processed {"connection_id":229587,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:42:26] local.INFO: Acknowledgment sent {"connection_id":229587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:42:49] local.INFO: TCP Data received {"connection_id":233319,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233319,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:42:49] local.INFO: Processing buffer {"connection_id":233319,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:42:49] local.INFO: IMEI packet received {"connection_id":233319,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":233319,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:42:54] local.INFO: TCP Data received {"connection_id":233319,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233319,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:42:54] local.INFO: Processing buffer {"connection_id":233319,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:42:54] local.INFO: IMEI packet received {"connection_id":233319,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":233319,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:42:55] local.INFO: TCP Data received {"connection_id":233319,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa1c5168012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa1c5168012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:42:55] local.INFO: Processing buffer {"connection_id":233319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa1c5168012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:42:55] local.INFO: Packet analysis {"connection_id":233319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:42:55] local.INFO: Extracted packet for processing {"connection_id":233319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:42:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226891264001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:42: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-05 10:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793855345000,"timestamp_ms":1793855345000,"timestamp_seconds":1793855345,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa1c5168"} 
[2026-11-05 10:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 10:42: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-05 10:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233319,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233319,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226891264001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226891264001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:42:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226891264001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":233319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62426,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:42:55] local.INFO: GPS data processed {"connection_id":233319,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:42:55] local.INFO: Acknowledgment sent {"connection_id":233319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:43:04] local.INFO: TCP Data received {"connection_id":231425,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:43:04] local.INFO: Processing buffer {"connection_id":231425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:43:04] local.INFO: IMEI packet received {"connection_id":231425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":231425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:43:09] local.INFO: TCP Data received {"connection_id":231425,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:43:09] local.INFO: Processing buffer {"connection_id":231425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:43:09] local.INFO: IMEI packet received {"connection_id":231425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":231425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:43:10] local.INFO: TCP Data received {"connection_id":231425,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa1c68d8012d7fad0005afe048001e004528..."} 
[2026-11-05 10:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa1c68d8012d7fad0005afe048001e004528..."} 
[2026-11-05 10:43:10] local.INFO: Processing buffer {"connection_id":231425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa1c68d8012d7fad0005afe048001e004528..."} 
[2026-11-05 10:43:10] local.INFO: Packet analysis {"connection_id":231425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:43:10] local.INFO: Extracted packet for processing {"connection_id":231425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:43:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":30,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226892800001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793855351000,"timestamp_ms":1793855351000,"timestamp_seconds":1793855351,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa1c68d8"} 
[2026-11-05 10:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:43:10] 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-05 10:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 10:43:10] 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-05 10:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:43:10] 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-05 10:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226892800001,"66":25625,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226892800001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:43:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:43:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226892800001,"power":25625,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":231425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:43:10] local.INFO: GPS data processed {"connection_id":231425,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:43:10] local.INFO: Acknowledgment sent {"connection_id":231425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:43:26] local.INFO: TCP Data received {"connection_id":233319,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa1c5168012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa1c5168012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:43:26] local.INFO: Processing buffer {"connection_id":233319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa1c5168012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:43:26] local.INFO: Packet analysis {"connection_id":233319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:43:26] local.INFO: Extracted packet for processing {"connection_id":233319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:43:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226891264001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:43: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-05 10:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793855345000,"timestamp_ms":1793855345000,"timestamp_seconds":1793855345,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa1c5168"} 
[2026-11-05 10:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 10:43: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-05 10:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233319,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233319,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226891264001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226891264001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:43:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226891264001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":233319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62428,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:43:27] local.INFO: GPS data processed {"connection_id":233319,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:43:27] local.INFO: Acknowledgment sent {"connection_id":233319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:43:31] local.INFO: TCP Data received {"connection_id":230105,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230105,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:43:31] local.INFO: Processing buffer {"connection_id":230105,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:43:31] local.INFO: IMEI packet received {"connection_id":230105,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 10:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":230105,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:43:42] local.INFO: TCP Data received {"connection_id":231425,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa1c68d8012d7fad0005afe048001e004528..."} 
[2026-11-05 10:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa1c68d8012d7fad0005afe048001e004528..."} 
[2026-11-05 10:43:42] local.INFO: Processing buffer {"connection_id":231425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa1c68d8012d7fad0005afe048001e004528..."} 
[2026-11-05 10:43:42] local.INFO: Packet analysis {"connection_id":231425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:43:42] local.INFO: Extracted packet for processing {"connection_id":231425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:43:42] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":30,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226892800001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793855351000,"timestamp_ms":1793855351000,"timestamp_seconds":1793855351,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa1c68d8"} 
[2026-11-05 10:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:43:42] 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-05 10:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 10:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:43:42] 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-05 10:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226892800001,"66":25625,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226892800001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:43:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:43:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226892800001,"power":25625,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":231425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:43:42] local.INFO: GPS data processed {"connection_id":231425,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:43:42] local.INFO: Acknowledgment sent {"connection_id":231425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:43:54] local.INFO: TCP Data received {"connection_id":230106,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230106,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:43:54] local.INFO: Processing buffer {"connection_id":230106,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:43:54] local.INFO: IMEI packet received {"connection_id":230106,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":230106,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:43:59] local.INFO: TCP Data received {"connection_id":230106,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230106,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:43:59] local.INFO: Processing buffer {"connection_id":230106,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:43:59] local.INFO: IMEI packet received {"connection_id":230106,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":230106,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:44:00] local.INFO: TCP Data received {"connection_id":230106,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa1c5168012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa1c5168012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:44:00] local.INFO: Processing buffer {"connection_id":230106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa1c5168012d0b10c00702a1800000014e27..."} 
[2026-11-05 10:44:00] local.INFO: Packet analysis {"connection_id":230106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:44:00] local.INFO: Extracted packet for processing {"connection_id":230106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:44:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226891264001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:44: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-05 10:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793855345000,"timestamp_ms":1793855345000,"timestamp_seconds":1793855345,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa1c5168"} 
[2026-11-05 10:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 10:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":230106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":230106,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":230106,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226891264001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226891264001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:44:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226891264001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":230106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62430,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:44:00] local.INFO: GPS data processed {"connection_id":230106,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:44:00] local.INFO: Acknowledgment sent {"connection_id":230106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:44:04] local.INFO: TCP Data received {"connection_id":229588,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:44:04] local.INFO: Processing buffer {"connection_id":229588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:44:04] local.INFO: IMEI packet received {"connection_id":229588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":229588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:44:09] local.INFO: TCP Data received {"connection_id":229588,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:44:09] local.INFO: Processing buffer {"connection_id":229588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:44:09] local.INFO: IMEI packet received {"connection_id":229588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":229588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:44:10] local.INFO: TCP Data received {"connection_id":229588,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa1c68d8012d7fad0005afe048001e004528..."} 
[2026-11-05 10:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa1c68d8012d7fad0005afe048001e004528..."} 
[2026-11-05 10:44:10] local.INFO: Processing buffer {"connection_id":229588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa1c68d8012d7fad0005afe048001e004528..."} 
[2026-11-05 10:44:10] local.INFO: Packet analysis {"connection_id":229588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:44:10] local.INFO: Extracted packet for processing {"connection_id":229588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:44:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":30,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226892800001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793855351000,"timestamp_ms":1793855351000,"timestamp_seconds":1793855351,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa1c68d8"} 
[2026-11-05 10:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:44:10] 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-05 10:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 10:44:10] 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-05 10:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:44:10] 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-05 10:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226892800001,"66":25625,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226892800001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:44:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:44:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226892800001,"power":25625,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:44:10] 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":62431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:44:10] local.INFO: GPS data processed {"connection_id":229588,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:44:10] local.INFO: Acknowledgment sent {"connection_id":229588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:44:11] local.INFO: TCP Data received {"connection_id":229589,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229589,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:44:11] local.INFO: Processing buffer {"connection_id":229589,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:44:11] local.INFO: IMEI packet received {"connection_id":229589,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 10:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":229589,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:44:31] local.INFO: TCP Data received {"connection_id":230106,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:44:31] local.INFO: Processing buffer {"connection_id":230106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:44:31] local.INFO: Packet analysis {"connection_id":230106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa20"} 
[2026-11-05 10:44:31] local.INFO: Extracted packet for processing {"connection_id":230106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa20"} 
[2026-11-05 10:44:31] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226968320001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793855646000,"timestamp_ms":1793855646000,"timestamp_seconds":1793855646,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa20e930"} 
[2026-11-05 10:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":230106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":230106,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":230106,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226968320001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226968320001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:44:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226968320001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":230106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62432,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:44:31] local.INFO: GPS data processed {"connection_id":230106,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:44:31] local.INFO: Acknowledgment sent {"connection_id":230106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:44:41] local.INFO: TCP Data received {"connection_id":229588,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa1c68d8012d7fad0005afe048001e004528..."} 
[2026-11-05 10:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa1c68d8012d7fad0005afe048001e004528..."} 
[2026-11-05 10:44:41] local.INFO: Processing buffer {"connection_id":229588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa1c68d8012d7fad0005afe048001e004528..."} 
[2026-11-05 10:44:41] local.INFO: Packet analysis {"connection_id":229588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:44:41] local.INFO: Extracted packet for processing {"connection_id":229588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa1c"} 
[2026-11-05 10:44:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":30,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226892800001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793855351000,"timestamp_ms":1793855351000,"timestamp_seconds":1793855351,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa1c68d8"} 
[2026-11-05 10: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-05 10:44:41] 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-05 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 10:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10: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-05 10: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-05 10:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:44: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-05 10:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226892800001,"66":25625,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226892800001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:44:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:44:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226892800001,"power":25625,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:44:41] 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":62433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:44:41] local.INFO: GPS data processed {"connection_id":229588,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:44:41] local.INFO: Acknowledgment sent {"connection_id":229588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:44:49] local.INFO: TCP Data received {"connection_id":230107,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230107,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:44:49] local.INFO: Processing buffer {"connection_id":230107,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:44:49] local.INFO: IMEI packet received {"connection_id":230107,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":230107,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:44:54] local.INFO: TCP Data received {"connection_id":230107,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230107,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:44:54] local.INFO: Processing buffer {"connection_id":230107,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:44:54] local.INFO: IMEI packet received {"connection_id":230107,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":230107,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:44:55] local.INFO: TCP Data received {"connection_id":230107,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:44:55] local.INFO: Processing buffer {"connection_id":230107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:44:55] local.INFO: Packet analysis {"connection_id":230107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa20"} 
[2026-11-05 10:44:55] local.INFO: Extracted packet for processing {"connection_id":230107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa20"} 
[2026-11-05 10:44:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226968320001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:44: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-05 10:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793855646000,"timestamp_ms":1793855646000,"timestamp_seconds":1793855646,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa20e930"} 
[2026-11-05 10: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-05 10:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10: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-05 10: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-05 10:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230107,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230107,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226968320001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226968320001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:44:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226968320001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":230107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62434,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:44:55] local.INFO: GPS data processed {"connection_id":230107,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:44:55] local.INFO: Acknowledgment sent {"connection_id":230107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:45:04] local.INFO: TCP Data received {"connection_id":229590,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:45:04] local.INFO: Processing buffer {"connection_id":229590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:45:04] local.INFO: IMEI packet received {"connection_id":229590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":229590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:45:09] local.INFO: TCP Data received {"connection_id":229590,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:45:09] local.INFO: Processing buffer {"connection_id":229590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:45:09] local.INFO: IMEI packet received {"connection_id":229590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":229590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:45:11] local.INFO: TCP Data received {"connection_id":229590,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2100a0012d7fad0005afe0480017004526..."} 
[2026-11-05 10:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2100a0012d7fad0005afe0480017004526..."} 
[2026-11-05 10:45:11] local.INFO: Processing buffer {"connection_id":229590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2100a0012d7fad0005afe0480017004526..."} 
[2026-11-05 10:45:11] local.INFO: Packet analysis {"connection_id":229590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa21"} 
[2026-11-05 10:45:11] local.INFO: Extracted packet for processing {"connection_id":229590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa21"} 
[2026-11-05 10:45:11] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226969856001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793855652000,"timestamp_ms":1793855652000,"timestamp_seconds":1793855652,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2100a0"} 
[2026-11-05 10: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-05 10:45: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-05 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-05 10:45:11] 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-05 10: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-05 10: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-05 10:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:45:11] 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-05 10:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226969856001,"66":25625,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226969856001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:45:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:45:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226969856001,"power":25625,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:45:11] 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":62435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:45:11] local.INFO: GPS data processed {"connection_id":229590,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:45:11] local.INFO: Acknowledgment sent {"connection_id":229590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:45:26] local.INFO: TCP Data received {"connection_id":230107,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:45:26] local.INFO: Processing buffer {"connection_id":230107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:45:26] local.INFO: Packet analysis {"connection_id":230107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa20"} 
[2026-11-05 10:45:26] local.INFO: Extracted packet for processing {"connection_id":230107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa20"} 
[2026-11-05 10:45:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226968320001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10: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-05 10:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793855646000,"timestamp_ms":1793855646000,"timestamp_seconds":1793855646,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa20e930"} 
[2026-11-05 10: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-05 10:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10: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-05 10: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-05 10:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230107,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230107,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226968320001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226968320001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:45:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226968320001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":230107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62436,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:45:26] local.INFO: GPS data processed {"connection_id":230107,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:45:26] local.INFO: Acknowledgment sent {"connection_id":230107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:45:43] local.INFO: TCP Data received {"connection_id":229590,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2100a0012d7fad0005afe0480017004526..."} 
[2026-11-05 10:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2100a0012d7fad0005afe0480017004526..."} 
[2026-11-05 10:45:43] local.INFO: Processing buffer {"connection_id":229590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2100a0012d7fad0005afe0480017004526..."} 
[2026-11-05 10:45:43] local.INFO: Packet analysis {"connection_id":229590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa21"} 
[2026-11-05 10:45:43] local.INFO: Extracted packet for processing {"connection_id":229590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa21"} 
[2026-11-05 10:45:43] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226969856001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793855652000,"timestamp_ms":1793855652000,"timestamp_seconds":1793855652,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2100a0"} 
[2026-11-05 10: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-05 10:45: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-05 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-05 10:45:43] 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-05 10: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-05 10: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-05 10:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10: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-05 10:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226969856001,"66":25625,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226969856001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:45:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:45:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226969856001,"power":25625,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:45:43] 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":62437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:45:43] local.INFO: GPS data processed {"connection_id":229590,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:45:43] local.INFO: Acknowledgment sent {"connection_id":229590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:45:49] local.INFO: TCP Data received {"connection_id":231427,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231427,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:45:49] local.INFO: Processing buffer {"connection_id":231427,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:45:49] local.INFO: IMEI packet received {"connection_id":231427,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":231427,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:45:54] local.INFO: TCP Data received {"connection_id":231427,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231427,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:45:54] local.INFO: Processing buffer {"connection_id":231427,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:45:54] local.INFO: IMEI packet received {"connection_id":231427,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":231427,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:45:54] local.INFO: TCP Data received {"connection_id":231427,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:45:54] local.INFO: Processing buffer {"connection_id":231427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:45:54] local.INFO: Packet analysis {"connection_id":231427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa20"} 
[2026-11-05 10:45:54] local.INFO: Extracted packet for processing {"connection_id":231427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa20"} 
[2026-11-05 10:45:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226968320001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:45: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-05 10:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793855646000,"timestamp_ms":1793855646000,"timestamp_seconds":1793855646,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa20e930"} 
[2026-11-05 10: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-05 10:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10: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-05 10: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-05 10:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":231427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":231427,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":231427,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226968320001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226968320001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:45:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226968320001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":231427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62438,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:45:55] local.INFO: GPS data processed {"connection_id":231427,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:45:55] local.INFO: Acknowledgment sent {"connection_id":231427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:46:03] local.INFO: TCP Data received {"connection_id":233320,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:46:03] local.INFO: Processing buffer {"connection_id":233320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:46:03] local.INFO: IMEI packet received {"connection_id":233320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":233320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:46:09] local.INFO: TCP Data received {"connection_id":233320,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:46:09] local.INFO: Processing buffer {"connection_id":233320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:46:09] local.INFO: IMEI packet received {"connection_id":233320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":233320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:46:10] local.INFO: TCP Data received {"connection_id":233320,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2100a0012d7fad0005afe0480017004526..."} 
[2026-11-05 10:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2100a0012d7fad0005afe0480017004526..."} 
[2026-11-05 10:46:10] local.INFO: Processing buffer {"connection_id":233320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2100a0012d7fad0005afe0480017004526..."} 
[2026-11-05 10:46:10] local.INFO: Packet analysis {"connection_id":233320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa21"} 
[2026-11-05 10:46:10] local.INFO: Extracted packet for processing {"connection_id":233320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa21"} 
[2026-11-05 10:46:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226969856001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793855652000,"timestamp_ms":1793855652000,"timestamp_seconds":1793855652,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2100a0"} 
[2026-11-05 10:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:46:10] 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-05 10:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-05 10:46:10] 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-05 10:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:46:10] 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-05 10:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226969856001,"66":25625,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226969856001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:46:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226969856001,"power":25625,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":233320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:46:10] local.INFO: GPS data processed {"connection_id":233320,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:46:10] local.INFO: Acknowledgment sent {"connection_id":233320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:46:26] local.INFO: TCP Data received {"connection_id":231427,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:46:26] local.INFO: Processing buffer {"connection_id":231427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:46:26] local.INFO: Packet analysis {"connection_id":231427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa20"} 
[2026-11-05 10:46:26] local.INFO: Extracted packet for processing {"connection_id":231427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa20"} 
[2026-11-05 10:46:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226968320001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:46: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-05 10:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793855646000,"timestamp_ms":1793855646000,"timestamp_seconds":1793855646,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa20e930"} 
[2026-11-05 10: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-05 10:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10: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-05 10: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-05 10:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231427,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231427,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226968320001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226968320001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:46:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226968320001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":231427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62440,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:46:26] local.INFO: GPS data processed {"connection_id":231427,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:46:26] local.INFO: Acknowledgment sent {"connection_id":231427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:46:42] local.INFO: TCP Data received {"connection_id":233320,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2100a0012d7fad0005afe0480017004526..."} 
[2026-11-05 10:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2100a0012d7fad0005afe0480017004526..."} 
[2026-11-05 10:46:42] local.INFO: Processing buffer {"connection_id":233320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2100a0012d7fad0005afe0480017004526..."} 
[2026-11-05 10:46:42] local.INFO: Packet analysis {"connection_id":233320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa21"} 
[2026-11-05 10:46:42] local.INFO: Extracted packet for processing {"connection_id":233320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa21"} 
[2026-11-05 10:46:42] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226969856001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793855652000,"timestamp_ms":1793855652000,"timestamp_seconds":1793855652,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2100a0"} 
[2026-11-05 10: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-05 10:46:42] 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-05 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-05 10:46:42] 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-05 10: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-05 10: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-05 10:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:46: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-05 10:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226969856001,"66":25625,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226969856001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:46:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:46:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226969856001,"power":25625,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":233320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:46:42] local.INFO: GPS data processed {"connection_id":233320,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:46:42] local.INFO: Acknowledgment sent {"connection_id":233320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:46:49] local.INFO: TCP Data received {"connection_id":230108,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230108,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:46:49] local.INFO: Processing buffer {"connection_id":230108,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:46:49] local.INFO: IMEI packet received {"connection_id":230108,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":230108,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:46:54] local.INFO: TCP Data received {"connection_id":230108,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230108,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:46:54] local.INFO: Processing buffer {"connection_id":230108,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:46:54] local.INFO: IMEI packet received {"connection_id":230108,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":230108,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:46:55] local.INFO: TCP Data received {"connection_id":230108,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:46:55] local.INFO: Processing buffer {"connection_id":230108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:46:55] local.INFO: Packet analysis {"connection_id":230108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa20"} 
[2026-11-05 10:46:55] local.INFO: Extracted packet for processing {"connection_id":230108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa20"} 
[2026-11-05 10:46:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226968320001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:46: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-05 10:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793855646000,"timestamp_ms":1793855646000,"timestamp_seconds":1793855646,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa20e930"} 
[2026-11-05 10:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:46:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:46:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230108,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230108,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226968320001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226968320001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:46:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226968320001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":230108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62442,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:46:55] local.INFO: GPS data processed {"connection_id":230108,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:46:55] local.INFO: Acknowledgment sent {"connection_id":230108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:47:09] local.INFO: TCP Data received {"connection_id":233322,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:47:09] local.INFO: Processing buffer {"connection_id":233322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:47:09] local.INFO: IMEI packet received {"connection_id":233322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":233322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:47:14] local.INFO: TCP Data received {"connection_id":233322,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:47:14] local.INFO: Processing buffer {"connection_id":233322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:47:14] local.INFO: IMEI packet received {"connection_id":233322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":233322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:47:15] local.INFO: TCP Data received {"connection_id":233322,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2100a0012d7fad0005afe0480017004526..."} 
[2026-11-05 10:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2100a0012d7fad0005afe0480017004526..."} 
[2026-11-05 10:47:15] local.INFO: Processing buffer {"connection_id":233322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2100a0012d7fad0005afe0480017004526..."} 
[2026-11-05 10:47:15] local.INFO: Packet analysis {"connection_id":233322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa21"} 
[2026-11-05 10:47:15] local.INFO: Extracted packet for processing {"connection_id":233322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa21"} 
[2026-11-05 10:47:15] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226969856001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793855652000,"timestamp_ms":1793855652000,"timestamp_seconds":1793855652,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2100a0"} 
[2026-11-05 10: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-05 10:47: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-05 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-05 10:47: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-05 10: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-05 10: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-05 10:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:47:15] 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-05 10:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226969856001,"66":25625,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226969856001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:47:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:47:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226969856001,"power":25625,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":233322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:47:15] local.INFO: GPS data processed {"connection_id":233322,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:47:15] local.INFO: Acknowledgment sent {"connection_id":233322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:47:26] local.INFO: TCP Data received {"connection_id":230108,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:47:26] local.INFO: Processing buffer {"connection_id":230108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:47:26] local.INFO: Packet analysis {"connection_id":230108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa20"} 
[2026-11-05 10:47:26] local.INFO: Extracted packet for processing {"connection_id":230108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa20"} 
[2026-11-05 10:47:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226968320001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:47: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-05 10:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793855646000,"timestamp_ms":1793855646000,"timestamp_seconds":1793855646,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa20e930"} 
[2026-11-05 10:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230108,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230108,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226968320001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226968320001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:47:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226968320001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":230108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62444,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:47:26] local.INFO: GPS data processed {"connection_id":230108,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:47:26] local.INFO: Acknowledgment sent {"connection_id":230108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:47:47] local.INFO: TCP Data received {"connection_id":233322,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2100a0012d7fad0005afe0480017004526..."} 
[2026-11-05 10:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2100a0012d7fad0005afe0480017004526..."} 
[2026-11-05 10:47:47] local.INFO: Processing buffer {"connection_id":233322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2100a0012d7fad0005afe0480017004526..."} 
[2026-11-05 10:47:47] local.INFO: Packet analysis {"connection_id":233322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa21"} 
[2026-11-05 10:47:47] local.INFO: Extracted packet for processing {"connection_id":233322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa21"} 
[2026-11-05 10:47:47] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226969856001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793855652000,"timestamp_ms":1793855652000,"timestamp_seconds":1793855652,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2100a0"} 
[2026-11-05 10: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-05 10:47: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-05 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-05 10:47: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-05 10: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-05 10: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-05 10:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":233322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":233322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":233322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:47:47] 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-05 10:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226969856001,"66":25625,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226969856001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:47:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:47:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226969856001,"power":25625,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":233322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:47:47] local.INFO: GPS data processed {"connection_id":233322,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:47:47] local.INFO: Acknowledgment sent {"connection_id":233322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:47:54] local.INFO: TCP Data received {"connection_id":229592,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229592,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:47:54] local.INFO: Processing buffer {"connection_id":229592,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:47:54] local.INFO: IMEI packet received {"connection_id":229592,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":229592,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:48:01] local.INFO: TCP Data received {"connection_id":229592,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229592,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:48:01] local.INFO: Processing buffer {"connection_id":229592,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:48:01] local.INFO: IMEI packet received {"connection_id":229592,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":229592,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:48:02] local.INFO: TCP Data received {"connection_id":229592,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:48:02] local.INFO: Processing buffer {"connection_id":229592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:48:02] local.INFO: Packet analysis {"connection_id":229592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa20"} 
[2026-11-05 10:48:02] local.INFO: Extracted packet for processing {"connection_id":229592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa20"} 
[2026-11-05 10:48:02] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226968320001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1793855646000,"timestamp_ms":1793855646000,"timestamp_seconds":1793855646,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa20e930"} 
[2026-11-05 10:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":229592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":229592,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":229592,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226968320001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226968320001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:48:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226968320001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:48:02] 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":62446,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:48:02] local.INFO: GPS data processed {"connection_id":229592,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:48:02] local.INFO: Acknowledgment sent {"connection_id":229592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:48:04] local.INFO: TCP Data received {"connection_id":231428,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:48:04] local.INFO: Processing buffer {"connection_id":231428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:48:04] local.INFO: IMEI packet received {"connection_id":231428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":231428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:48:06] local.INFO: TCP Data received {"connection_id":229592,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:48:06] local.INFO: Processing buffer {"connection_id":229592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:48:06] local.INFO: Packet analysis {"connection_id":229592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa20"} 
[2026-11-05 10:48:06] local.INFO: Extracted packet for processing {"connection_id":229592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa20"} 
[2026-11-05 10:48:06] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226968320001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:48:06] 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-05 10:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1793855646000,"timestamp_ms":1793855646000,"timestamp_seconds":1793855646,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa20e930"} 
[2026-11-05 10:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":229592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":229592,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":229592,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226968320001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226968320001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:48:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226968320001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:48:06] 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":62447,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:48:06] local.INFO: GPS data processed {"connection_id":229592,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:48:06] local.INFO: Acknowledgment sent {"connection_id":229592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:48:09] local.INFO: TCP Data received {"connection_id":231428,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:48:09] local.INFO: Processing buffer {"connection_id":231428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:48:09] local.INFO: IMEI packet received {"connection_id":231428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":231428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:48:10] local.INFO: TCP Data received {"connection_id":231428,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2100a0012d7fad0005afe0480017004526..."} 
[2026-11-05 10:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2100a0012d7fad0005afe0480017004526..."} 
[2026-11-05 10:48:10] local.INFO: Processing buffer {"connection_id":231428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2100a0012d7fad0005afe0480017004526..."} 
[2026-11-05 10:48:10] local.INFO: Packet analysis {"connection_id":231428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa21"} 
[2026-11-05 10:48:10] local.INFO: Extracted packet for processing {"connection_id":231428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa21"} 
[2026-11-05 10:48:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226969856001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793855652000,"timestamp_ms":1793855652000,"timestamp_seconds":1793855652,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2100a0"} 
[2026-11-05 10:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:48:10] 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-05 10:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-05 10:48:10] 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-05 10:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:48:10] 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-05 10:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226969856001,"66":25625,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226969856001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:48:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:48:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226969856001,"power":25625,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":231428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:48:10] local.INFO: GPS data processed {"connection_id":231428,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:48:10] local.INFO: Acknowledgment sent {"connection_id":231428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:48:41] local.INFO: TCP Data received {"connection_id":231428,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2100a0012d7fad0005afe0480017004526..."} 
[2026-11-05 10:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2100a0012d7fad0005afe0480017004526..."} 
[2026-11-05 10:48:41] local.INFO: Processing buffer {"connection_id":231428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2100a0012d7fad0005afe0480017004526..."} 
[2026-11-05 10:48:41] local.INFO: Packet analysis {"connection_id":231428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa21"} 
[2026-11-05 10:48:41] local.INFO: Extracted packet for processing {"connection_id":231428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa21"} 
[2026-11-05 10:48:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226969856001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793855652000,"timestamp_ms":1793855652000,"timestamp_seconds":1793855652,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2100a0"} 
[2026-11-05 10:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:48:41] 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-05 10:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-05 10:48:41] 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-05 10:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:48:41] 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-05 10:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226969856001,"66":25625,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226969856001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:48:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:48:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226969856001,"power":25625,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":231428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:48:41] local.INFO: GPS data processed {"connection_id":231428,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:48:41] local.INFO: Acknowledgment sent {"connection_id":231428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:48:49] local.INFO: TCP Data received {"connection_id":230109,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230109,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:48:49] local.INFO: Processing buffer {"connection_id":230109,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:48:49] local.INFO: IMEI packet received {"connection_id":230109,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":230109,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:48:54] local.INFO: TCP Data received {"connection_id":230109,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230109,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:48:54] local.INFO: Processing buffer {"connection_id":230109,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:48:54] local.INFO: IMEI packet received {"connection_id":230109,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":230109,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:48:54] local.INFO: TCP Data received {"connection_id":230109,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:48:54] local.INFO: Processing buffer {"connection_id":230109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 10:48:54] local.INFO: Packet analysis {"connection_id":230109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa20"} 
[2026-11-05 10:48:54] local.INFO: Extracted packet for processing {"connection_id":230109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa20"} 
[2026-11-05 10:48:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 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-05 10:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226968320001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:48: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-05 10:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793855646000,"timestamp_ms":1793855646000,"timestamp_seconds":1793855646,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa20e930"} 
[2026-11-05 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-05 10:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 10:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":230109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":230109,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":230109,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226968320001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226968320001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:48:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226968320001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":230109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62450,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:48:55] local.INFO: GPS data processed {"connection_id":230109,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:48:55] local.INFO: Acknowledgment sent {"connection_id":230109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:49:04] local.INFO: TCP Data received {"connection_id":233323,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:49:04] local.INFO: Processing buffer {"connection_id":233323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:49:04] local.INFO: IMEI packet received {"connection_id":233323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":233323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:49:09] local.INFO: TCP Data received {"connection_id":233323,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:49:09] local.INFO: Processing buffer {"connection_id":233323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:49:09] local.INFO: IMEI packet received {"connection_id":233323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":233323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:49:10] local.INFO: TCP Data received {"connection_id":233323,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2100a0012d7fad0005afe0480017004526..."} 
[2026-11-05 10:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2100a0012d7fad0005afe0480017004526..."} 
[2026-11-05 10:49:10] local.INFO: Processing buffer {"connection_id":233323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2100a0012d7fad0005afe0480017004526..."} 
[2026-11-05 10:49:10] local.INFO: Packet analysis {"connection_id":233323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa21"} 
[2026-11-05 10:49:10] local.INFO: Extracted packet for processing {"connection_id":233323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa21"} 
[2026-11-05 10:49:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226969856001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793855652000,"timestamp_ms":1793855652000,"timestamp_seconds":1793855652,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2100a0"} 
[2026-11-05 10:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:49:10] 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-05 10:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-05 10:49:10] 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-05 10:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:49:10] 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-05 10:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226969856001,"66":25625,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226969856001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:49:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226969856001,"power":25625,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":233323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:49:10] local.INFO: GPS data processed {"connection_id":233323,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:49:10] local.INFO: Acknowledgment sent {"connection_id":233323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:49:26] local.INFO: TCP Data received {"connection_id":230109,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2580f8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2580f8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:49:26] local.INFO: Processing buffer {"connection_id":230109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2580f8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:49:26] local.INFO: Packet analysis {"connection_id":230109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:49:26] local.INFO: Extracted packet for processing {"connection_id":230109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:49:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 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-05 10:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227045376001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:49: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-05 10:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793855947000,"timestamp_ms":1793855947000,"timestamp_seconds":1793855947,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2580f8"} 
[2026-11-05 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-05 10:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 10:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230109,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230109,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227045376001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227045376001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:49:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227045376001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":230109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62452,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:49:26] local.INFO: GPS data processed {"connection_id":230109,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:49:26] local.INFO: Acknowledgment sent {"connection_id":230109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:49:41] local.INFO: TCP Data received {"connection_id":230110,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:49:41] local.INFO: Processing buffer {"connection_id":230110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:49:41] local.INFO: IMEI packet received {"connection_id":230110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 10:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":230110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:49:42] local.INFO: TCP Data received {"connection_id":233323,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2100a0012d7fad0005afe0480017004526..."} 
[2026-11-05 10:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2100a0012d7fad0005afe0480017004526..."} 
[2026-11-05 10:49:42] local.INFO: Processing buffer {"connection_id":233323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2100a0012d7fad0005afe0480017004526..."} 
[2026-11-05 10:49:42] local.INFO: Packet analysis {"connection_id":233323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa21"} 
[2026-11-05 10:49:42] local.INFO: Extracted packet for processing {"connection_id":233323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa21"} 
[2026-11-05 10:49:42] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226969856001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793855652000,"timestamp_ms":1793855652000,"timestamp_seconds":1793855652,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2100a0"} 
[2026-11-05 10:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:49:42] 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-05 10:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-05 10:49:42] 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-05 10:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:49: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-05 10:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226969856001,"66":25625,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226969856001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:49:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:49:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226969856001,"power":25625,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":233323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:49:42] local.INFO: GPS data processed {"connection_id":233323,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:49:42] local.INFO: Acknowledgment sent {"connection_id":233323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:49:49] local.INFO: TCP Data received {"connection_id":231430,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231430,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:49:49] local.INFO: Processing buffer {"connection_id":231430,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:49:49] local.INFO: IMEI packet received {"connection_id":231430,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":231430,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:49:54] local.INFO: TCP Data received {"connection_id":231430,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231430,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:49:54] local.INFO: Processing buffer {"connection_id":231430,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:49:54] local.INFO: IMEI packet received {"connection_id":231430,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":231430,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:49:55] local.INFO: TCP Data received {"connection_id":231430,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2580f8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2580f8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:49:55] local.INFO: Processing buffer {"connection_id":231430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2580f8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:49:55] local.INFO: Packet analysis {"connection_id":231430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:49:55] local.INFO: Extracted packet for processing {"connection_id":231430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:49:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227045376001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:49: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-05 10:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793855947000,"timestamp_ms":1793855947000,"timestamp_seconds":1793855947,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2580f8"} 
[2026-11-05 10:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231430,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231430,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227045376001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227045376001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:49:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227045376001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":231430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62454,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:49:55] local.INFO: GPS data processed {"connection_id":231430,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:49:55] local.INFO: Acknowledgment sent {"connection_id":231430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:50:03] local.INFO: TCP Data received {"connection_id":231431,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:50:03] local.INFO: Processing buffer {"connection_id":231431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:50:03] local.INFO: IMEI packet received {"connection_id":231431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":231431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:50:06] local.INFO: TCP Data received {"connection_id":229593,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:50:06] local.INFO: Processing buffer {"connection_id":229593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:50:06] local.INFO: IMEI packet received {"connection_id":229593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 10:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":229593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:50:08] local.INFO: TCP Data received {"connection_id":231431,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:50:08] local.INFO: Processing buffer {"connection_id":231431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:50:08] local.INFO: IMEI packet received {"connection_id":231431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":231431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:50:09] local.INFO: TCP Data received {"connection_id":231431,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa259868012d7fad0005afe048001700452a..."} 
[2026-11-05 10:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa259868012d7fad0005afe048001700452a..."} 
[2026-11-05 10:50:09] local.INFO: Processing buffer {"connection_id":231431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa259868012d7fad0005afe048001700452a..."} 
[2026-11-05 10:50:09] local.INFO: Packet analysis {"connection_id":231431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:50:09] local.INFO: Extracted packet for processing {"connection_id":231431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:50:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":42,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227046912001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793855953000,"timestamp_ms":1793855953000,"timestamp_seconds":1793855953,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa259868"} 
[2026-11-05 10:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-05 10:50:09] 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-05 10:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:50:09] 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-05 10:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227046912001,"66":25560,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227046912001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:50:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:50:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227046912001,"power":25560,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":231431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:50:09] local.INFO: GPS data processed {"connection_id":231431,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:50:09] local.INFO: Acknowledgment sent {"connection_id":231431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:50:26] local.INFO: TCP Data received {"connection_id":231430,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2580f8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2580f8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:50:26] local.INFO: Processing buffer {"connection_id":231430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2580f8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:50:26] local.INFO: Packet analysis {"connection_id":231430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:50:26] local.INFO: Extracted packet for processing {"connection_id":231430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:50:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227045376001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:50: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-05 10:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793855947000,"timestamp_ms":1793855947000,"timestamp_seconds":1793855947,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2580f8"} 
[2026-11-05 10:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:50:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:50:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231430,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231430,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227045376001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227045376001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:50:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227045376001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":231430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62456,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:50:26] local.INFO: GPS data processed {"connection_id":231430,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:50:26] local.INFO: Acknowledgment sent {"connection_id":231430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:50:40] local.INFO: TCP Data received {"connection_id":231431,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa259868012d7fad0005afe048001700452a..."} 
[2026-11-05 10:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa259868012d7fad0005afe048001700452a..."} 
[2026-11-05 10:50:40] local.INFO: Processing buffer {"connection_id":231431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa259868012d7fad0005afe048001700452a..."} 
[2026-11-05 10:50:40] local.INFO: Packet analysis {"connection_id":231431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:50:40] local.INFO: Extracted packet for processing {"connection_id":231431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:50:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":42,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227046912001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793855953000,"timestamp_ms":1793855953000,"timestamp_seconds":1793855953,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa259868"} 
[2026-11-05 10: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-05 10:50:40] 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-05 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-05 10:50:40] 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-05 10: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-05 10: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-05 10:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:50:40] 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-05 10:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227046912001,"66":25560,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227046912001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:50:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:50:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227046912001,"power":25560,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":231431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:50:40] local.INFO: GPS data processed {"connection_id":231431,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:50:40] local.INFO: Acknowledgment sent {"connection_id":231431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:50:49] local.INFO: TCP Data received {"connection_id":233324,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233324,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:50:49] local.INFO: Processing buffer {"connection_id":233324,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:50:49] local.INFO: IMEI packet received {"connection_id":233324,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":233324,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:50:54] local.INFO: TCP Data received {"connection_id":233324,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233324,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:50:54] local.INFO: Processing buffer {"connection_id":233324,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:50:54] local.INFO: IMEI packet received {"connection_id":233324,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":233324,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:50:55] local.INFO: TCP Data received {"connection_id":233324,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2580f8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2580f8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:50:55] local.INFO: Processing buffer {"connection_id":233324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2580f8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:50:55] local.INFO: Packet analysis {"connection_id":233324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:50:55] local.INFO: Extracted packet for processing {"connection_id":233324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:50:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227045376001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:50: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-05 10:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793855947000,"timestamp_ms":1793855947000,"timestamp_seconds":1793855947,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2580f8"} 
[2026-11-05 10:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227045376001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227045376001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:50:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227045376001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":233324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62458,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:50:55] local.INFO: GPS data processed {"connection_id":233324,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:50:55] local.INFO: Acknowledgment sent {"connection_id":233324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:51:04] local.INFO: TCP Data received {"connection_id":230111,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:51:04] local.INFO: Processing buffer {"connection_id":230111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:51:04] local.INFO: IMEI packet received {"connection_id":230111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":230111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:51:09] local.INFO: TCP Data received {"connection_id":230111,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:51:09] local.INFO: Processing buffer {"connection_id":230111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:51:09] local.INFO: IMEI packet received {"connection_id":230111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":230111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:51:10] local.INFO: TCP Data received {"connection_id":230111,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa259868012d7fad0005afe048001700452a..."} 
[2026-11-05 10:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa259868012d7fad0005afe048001700452a..."} 
[2026-11-05 10:51:10] local.INFO: Processing buffer {"connection_id":230111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa259868012d7fad0005afe048001700452a..."} 
[2026-11-05 10:51:10] local.INFO: Packet analysis {"connection_id":230111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:51:10] local.INFO: Extracted packet for processing {"connection_id":230111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:51:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":42,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227046912001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793855953000,"timestamp_ms":1793855953000,"timestamp_seconds":1793855953,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa259868"} 
[2026-11-05 10:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:51:10] 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-05 10:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-05 10:51:10] 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-05 10:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:51:10] 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-05 10:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227046912001,"66":25560,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227046912001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:51:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:51:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227046912001,"power":25560,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":230111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:51:10] local.INFO: GPS data processed {"connection_id":230111,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:51:10] local.INFO: Acknowledgment sent {"connection_id":230111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:51:26] local.INFO: TCP Data received {"connection_id":233324,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2580f8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2580f8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:51:26] local.INFO: Processing buffer {"connection_id":233324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2580f8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:51:26] local.INFO: Packet analysis {"connection_id":233324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:51:26] local.INFO: Extracted packet for processing {"connection_id":233324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:51:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227045376001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:51: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-05 10:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793855947000,"timestamp_ms":1793855947000,"timestamp_seconds":1793855947,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2580f8"} 
[2026-11-05 10:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227045376001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227045376001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:51:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227045376001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":233324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62460,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:51:26] local.INFO: GPS data processed {"connection_id":233324,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:51:26] local.INFO: Acknowledgment sent {"connection_id":233324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:51:41] local.INFO: TCP Data received {"connection_id":230111,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa259868012d7fad0005afe048001700452a..."} 
[2026-11-05 10:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa259868012d7fad0005afe048001700452a..."} 
[2026-11-05 10:51:41] local.INFO: Processing buffer {"connection_id":230111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa259868012d7fad0005afe048001700452a..."} 
[2026-11-05 10:51:41] local.INFO: Packet analysis {"connection_id":230111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:51:41] local.INFO: Extracted packet for processing {"connection_id":230111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:51:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":42,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227046912001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793855953000,"timestamp_ms":1793855953000,"timestamp_seconds":1793855953,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa259868"} 
[2026-11-05 10:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:51:41] 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-05 10:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-05 10:51:41] 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-05 10:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:51: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-05 10:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227046912001,"66":25560,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227046912001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:51:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:51:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227046912001,"power":25560,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":230111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:51:41] local.INFO: GPS data processed {"connection_id":230111,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:51:41] local.INFO: Acknowledgment sent {"connection_id":230111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:51:49] local.INFO: TCP Data received {"connection_id":231432,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231432,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:51:49] local.INFO: Processing buffer {"connection_id":231432,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:51:49] local.INFO: IMEI packet received {"connection_id":231432,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":231432,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:51:54] local.INFO: TCP Data received {"connection_id":231432,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231432,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:51:54] local.INFO: Processing buffer {"connection_id":231432,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:51:54] local.INFO: IMEI packet received {"connection_id":231432,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":231432,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:51:55] local.INFO: TCP Data received {"connection_id":231432,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2580f8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2580f8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:51:55] local.INFO: Processing buffer {"connection_id":231432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2580f8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:51:55] local.INFO: Packet analysis {"connection_id":231432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:51:55] local.INFO: Extracted packet for processing {"connection_id":231432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:51:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227045376001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:51: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-05 10:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793855947000,"timestamp_ms":1793855947000,"timestamp_seconds":1793855947,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2580f8"} 
[2026-11-05 10:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231432,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231432,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227045376001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227045376001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:51:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227045376001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":231432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62462,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:51:55] local.INFO: GPS data processed {"connection_id":231432,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:51:55] local.INFO: Acknowledgment sent {"connection_id":231432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:52:04] local.INFO: TCP Data received {"connection_id":233325,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:52:04] local.INFO: Processing buffer {"connection_id":233325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:52:04] local.INFO: IMEI packet received {"connection_id":233325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":233325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:52:09] local.INFO: TCP Data received {"connection_id":233325,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:52:09] local.INFO: Processing buffer {"connection_id":233325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:52:09] local.INFO: IMEI packet received {"connection_id":233325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":233325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:52:10] local.INFO: TCP Data received {"connection_id":233325,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa259868012d7fad0005afe048001700452a..."} 
[2026-11-05 10:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa259868012d7fad0005afe048001700452a..."} 
[2026-11-05 10:52:10] local.INFO: Processing buffer {"connection_id":233325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa259868012d7fad0005afe048001700452a..."} 
[2026-11-05 10:52:10] local.INFO: Packet analysis {"connection_id":233325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:52:10] local.INFO: Extracted packet for processing {"connection_id":233325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:52:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":42,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227046912001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793855953000,"timestamp_ms":1793855953000,"timestamp_seconds":1793855953,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa259868"} 
[2026-11-05 10:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:52:10] 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-05 10:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-05 10:52:10] 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-05 10:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:52:10] 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-05 10:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227046912001,"66":25560,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227046912001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:52:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:52:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227046912001,"power":25560,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":233325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:52:10] local.INFO: GPS data processed {"connection_id":233325,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:52:10] local.INFO: Acknowledgment sent {"connection_id":233325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:52:26] local.INFO: TCP Data received {"connection_id":231432,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2580f8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2580f8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:52:26] local.INFO: Processing buffer {"connection_id":231432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2580f8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:52:26] local.INFO: Packet analysis {"connection_id":231432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:52:26] local.INFO: Extracted packet for processing {"connection_id":231432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:52:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227045376001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:52: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-05 10:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793855947000,"timestamp_ms":1793855947000,"timestamp_seconds":1793855947,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2580f8"} 
[2026-11-05 10: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-05 10:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:52:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10: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-05 10: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-05 10:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231432,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231432,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227045376001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227045376001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:52:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227045376001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":231432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62464,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:52:26] local.INFO: GPS data processed {"connection_id":231432,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:52:26] local.INFO: Acknowledgment sent {"connection_id":231432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:52:49] local.INFO: TCP Data received {"connection_id":233325,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa259868012d7fad0005afe048001700452a..."} 
[2026-11-05 10:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa259868012d7fad0005afe048001700452a..."} 
[2026-11-05 10:52:49] local.INFO: Processing buffer {"connection_id":233325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa259868012d7fad0005afe048001700452a..."} 
[2026-11-05 10:52:49] local.INFO: Packet analysis {"connection_id":233325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:52:49] local.INFO: Extracted packet for processing {"connection_id":233325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:52:49] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":42,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227046912001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793855953000,"timestamp_ms":1793855953000,"timestamp_seconds":1793855953,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa259868"} 
[2026-11-05 10:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10: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-05 10:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-05 10:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":233325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":233325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":233325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:52:49] 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-05 10:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227046912001,"66":25560,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227046912001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:52:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:52:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227046912001,"power":25560,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":233325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:52:49] local.INFO: GPS data processed {"connection_id":233325,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:52:49] local.INFO: Acknowledgment sent {"connection_id":233325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:52:54] local.INFO: TCP Data received {"connection_id":231433,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231433,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:52:54] local.INFO: Processing buffer {"connection_id":231433,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:52:54] local.INFO: IMEI packet received {"connection_id":231433,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":231433,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:52:59] local.INFO: TCP Data received {"connection_id":231433,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231433,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:52:59] local.INFO: Processing buffer {"connection_id":231433,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:52:59] local.INFO: IMEI packet received {"connection_id":231433,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":231433,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:52:59] local.INFO: TCP Data received {"connection_id":231433,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2580f8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2580f8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:52:59] local.INFO: Processing buffer {"connection_id":231433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2580f8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:52:59] local.INFO: Packet analysis {"connection_id":231433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:52:59] local.INFO: Extracted packet for processing {"connection_id":231433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:52:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227045376001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:52: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-05 10:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793855947000,"timestamp_ms":1793855947000,"timestamp_seconds":1793855947,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2580f8"} 
[2026-11-05 10:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":231433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":231433,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":231433,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227045376001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227045376001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:52:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227045376001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":231433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62466,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:53:00] local.INFO: GPS data processed {"connection_id":231433,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:53:00] local.INFO: Acknowledgment sent {"connection_id":231433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:53:04] local.INFO: TCP Data received {"connection_id":231434,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:53:04] local.INFO: Processing buffer {"connection_id":231434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:53:04] local.INFO: IMEI packet received {"connection_id":231434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":231434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:53:05] local.INFO: TCP Data received {"connection_id":231433,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2580f8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2580f8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:53:05] local.INFO: Processing buffer {"connection_id":231433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2580f8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:53:05] local.INFO: Packet analysis {"connection_id":231433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:53:05] local.INFO: Extracted packet for processing {"connection_id":231433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:53:05] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227045376001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:53: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-05 10:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793855947000,"timestamp_ms":1793855947000,"timestamp_seconds":1793855947,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2580f8"} 
[2026-11-05 10:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":231433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":231433,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":231433,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227045376001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227045376001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:53:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227045376001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":231433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62467,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:53:06] local.INFO: GPS data processed {"connection_id":231433,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:53:06] local.INFO: Acknowledgment sent {"connection_id":231433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:53:09] local.INFO: TCP Data received {"connection_id":231434,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:53:09] local.INFO: Processing buffer {"connection_id":231434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:53:09] local.INFO: IMEI packet received {"connection_id":231434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":231434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:53:10] local.INFO: TCP Data received {"connection_id":231434,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa259868012d7fad0005afe048001700452a..."} 
[2026-11-05 10:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa259868012d7fad0005afe048001700452a..."} 
[2026-11-05 10:53:10] local.INFO: Processing buffer {"connection_id":231434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa259868012d7fad0005afe048001700452a..."} 
[2026-11-05 10:53:10] local.INFO: Packet analysis {"connection_id":231434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:53:10] local.INFO: Extracted packet for processing {"connection_id":231434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:53:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":42,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227046912001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793855953000,"timestamp_ms":1793855953000,"timestamp_seconds":1793855953,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa259868"} 
[2026-11-05 10:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:53:10] 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-05 10:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-05 10:53:10] 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-05 10:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:53:10] 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-05 10:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227046912001,"66":25560,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227046912001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:53:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:53:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227046912001,"power":25560,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":231434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:53:10] local.INFO: GPS data processed {"connection_id":231434,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:53:10] local.INFO: Acknowledgment sent {"connection_id":231434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:53:43] local.INFO: TCP Data received {"connection_id":231434,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa259868012d7fad0005afe048001700452a..."} 
[2026-11-05 10:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa259868012d7fad0005afe048001700452a..."} 
[2026-11-05 10:53:43] local.INFO: Processing buffer {"connection_id":231434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa259868012d7fad0005afe048001700452a..."} 
[2026-11-05 10:53:43] local.INFO: Packet analysis {"connection_id":231434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:53:43] local.INFO: Extracted packet for processing {"connection_id":231434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:53:43] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":42,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227046912001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793855953000,"timestamp_ms":1793855953000,"timestamp_seconds":1793855953,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa259868"} 
[2026-11-05 10: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-05 10:53: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-05 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-05 10:53:43] 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-05 10: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-05 10: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-05 10:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:53:43] 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-05 10:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227046912001,"66":25560,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227046912001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:53:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:53:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227046912001,"power":25560,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":231434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:53:43] local.INFO: GPS data processed {"connection_id":231434,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:53:43] local.INFO: Acknowledgment sent {"connection_id":231434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:53:49] local.INFO: TCP Data received {"connection_id":229594,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229594,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:53:49] local.INFO: Processing buffer {"connection_id":229594,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:53:49] local.INFO: IMEI packet received {"connection_id":229594,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":229594,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:53:54] local.INFO: TCP Data received {"connection_id":229594,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229594,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:53:54] local.INFO: Processing buffer {"connection_id":229594,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:53:54] local.INFO: IMEI packet received {"connection_id":229594,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":229594,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:53:55] local.INFO: TCP Data received {"connection_id":229594,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2580f8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2580f8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:53:55] local.INFO: Processing buffer {"connection_id":229594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2580f8012d0b10c00702a1800000014e22..."} 
[2026-11-05 10:53:55] local.INFO: Packet analysis {"connection_id":229594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:53:55] local.INFO: Extracted packet for processing {"connection_id":229594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:53:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227045376001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:53: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-05 10:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793855947000,"timestamp_ms":1793855947000,"timestamp_seconds":1793855947,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2580f8"} 
[2026-11-05 10:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 10:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229594,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229594,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227045376001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227045376001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:53:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227045376001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:53:55] 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":62470,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:53:55] local.INFO: GPS data processed {"connection_id":229594,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:53:55] local.INFO: Acknowledgment sent {"connection_id":229594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:54:03] local.INFO: TCP Data received {"connection_id":230114,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:54:03] local.INFO: Processing buffer {"connection_id":230114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:54:03] local.INFO: IMEI packet received {"connection_id":230114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":230114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:54:09] local.INFO: TCP Data received {"connection_id":230114,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:54:09] local.INFO: Processing buffer {"connection_id":230114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:54:09] local.INFO: IMEI packet received {"connection_id":230114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":230114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:54:10] local.INFO: TCP Data received {"connection_id":230114,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa259868012d7fad0005afe048001700452a..."} 
[2026-11-05 10:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa259868012d7fad0005afe048001700452a..."} 
[2026-11-05 10:54:10] local.INFO: Processing buffer {"connection_id":230114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa259868012d7fad0005afe048001700452a..."} 
[2026-11-05 10:54:10] local.INFO: Packet analysis {"connection_id":230114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:54:10] local.INFO: Extracted packet for processing {"connection_id":230114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:54:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":42,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227046912001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793855953000,"timestamp_ms":1793855953000,"timestamp_seconds":1793855953,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa259868"} 
[2026-11-05 10:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:54:10] 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-05 10:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-05 10:54:10] 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-05 10:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:54:10] 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-05 10:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227046912001,"66":25560,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227046912001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:54:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227046912001,"power":25560,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":230114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:54:10] local.INFO: GPS data processed {"connection_id":230114,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:54:10] local.INFO: Acknowledgment sent {"connection_id":230114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:54:26] local.INFO: TCP Data received {"connection_id":229594,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2a18c0012d0b10c00702a1800000014e2a..."} 
[2026-11-05 10:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2a18c0012d0b10c00702a1800000014e2a..."} 
[2026-11-05 10:54:26] local.INFO: Processing buffer {"connection_id":229594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2a18c0012d0b10c00702a1800000014e2a..."} 
[2026-11-05 10:54:26] local.INFO: Packet analysis {"connection_id":229594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:54:26] local.INFO: Extracted packet for processing {"connection_id":229594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:54:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227122432001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:54: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-05 10:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793856248000,"timestamp_ms":1793856248000,"timestamp_seconds":1793856248,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2a18c0"} 
[2026-11-05 10: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-05 10:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 10:54: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-05 10: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-05 10: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-05 10:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229594,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229594,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227122432001,"66":12765,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227122432001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:54:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227122432001,"power":12765,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:54:26] 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":62472,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:54:26] local.INFO: GPS data processed {"connection_id":229594,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:54:26] local.INFO: Acknowledgment sent {"connection_id":229594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:54:41] local.INFO: TCP Data received {"connection_id":230114,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa259868012d7fad0005afe048001700452a..."} 
[2026-11-05 10:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa259868012d7fad0005afe048001700452a..."} 
[2026-11-05 10:54:41] local.INFO: Processing buffer {"connection_id":230114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa259868012d7fad0005afe048001700452a..."} 
[2026-11-05 10:54:41] local.INFO: Packet analysis {"connection_id":230114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:54:41] local.INFO: Extracted packet for processing {"connection_id":230114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa25"} 
[2026-11-05 10:54:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":42,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227046912001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793855953000,"timestamp_ms":1793855953000,"timestamp_seconds":1793855953,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa259868"} 
[2026-11-05 10:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:54:41] 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-05 10:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-05 10:54:41] 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-05 10:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:54: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-05 10:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227046912001,"66":25560,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 10:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227046912001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:54:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 10:54:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227046912001,"power":25560,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":230114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:54:41] local.INFO: GPS data processed {"connection_id":230114,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:54:41] local.INFO: Acknowledgment sent {"connection_id":230114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:54:49] local.INFO: TCP Data received {"connection_id":229595,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229595,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:54:49] local.INFO: Processing buffer {"connection_id":229595,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:54:49] local.INFO: IMEI packet received {"connection_id":229595,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":229595,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:54:56] local.INFO: TCP Data received {"connection_id":229595,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229595,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:54:56] local.INFO: Processing buffer {"connection_id":229595,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:54:56] local.INFO: IMEI packet received {"connection_id":229595,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":229595,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:54:57] local.INFO: TCP Data received {"connection_id":229595,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2a18c0012d0b10c00702a1800000014e2a..."} 
[2026-11-05 10:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2a18c0012d0b10c00702a1800000014e2a..."} 
[2026-11-05 10:54:57] local.INFO: Processing buffer {"connection_id":229595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2a18c0012d0b10c00702a1800000014e2a..."} 
[2026-11-05 10:54:57] local.INFO: Packet analysis {"connection_id":229595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:54:57] local.INFO: Extracted packet for processing {"connection_id":229595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:54:57] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227122432001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:54:57] 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-05 10:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1793856248000,"timestamp_ms":1793856248000,"timestamp_seconds":1793856248,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2a18c0"} 
[2026-11-05 10:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 10:54:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":229595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":229595,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":229595,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227122432001,"66":12765,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227122432001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:54:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227122432001,"power":12765,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:54:57] 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":62474,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:54:57] local.INFO: GPS data processed {"connection_id":229595,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:54:57] local.INFO: Acknowledgment sent {"connection_id":229595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:55:03] local.INFO: TCP Data received {"connection_id":229596,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:55:03] local.INFO: Processing buffer {"connection_id":229596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:55:03] local.INFO: IMEI packet received {"connection_id":229596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":229596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:55:08] local.INFO: TCP Data received {"connection_id":229596,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:55:08] local.INFO: Processing buffer {"connection_id":229596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:55:08] local.INFO: IMEI packet received {"connection_id":229596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":229596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:55:09] local.INFO: TCP Data received {"connection_id":229596,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:55:09] local.INFO: Processing buffer {"connection_id":229596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:55:09] local.INFO: Packet analysis {"connection_id":229596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:55:09] local.INFO: Extracted packet for processing {"connection_id":229596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:55:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":28,"angle":69,"satellites":36,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:55: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-05 10:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227123968001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793856254000,"timestamp_ms":1793856254000,"timestamp_seconds":1793856254,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2a3030"} 
[2026-11-05 10:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:55: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":216,"data_length":795,"current_offset":136} 
[2026-11-05 10:55:09] 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-05 10:55: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-05 10:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:55:09] 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-05 10:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227123968001,"66":24810,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 10:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227123968001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:55:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 10:55:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227123968001,"power":24810,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:55:09] 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":62475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:55:09] local.INFO: GPS data processed {"connection_id":229596,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:55:09] local.INFO: Acknowledgment sent {"connection_id":229596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:55:21] local.INFO: TCP Data received {"connection_id":230115,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230115,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:55:21] local.INFO: Processing buffer {"connection_id":230115,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:55:21] local.INFO: IMEI packet received {"connection_id":230115,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 10:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":230115,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:55:29] local.INFO: TCP Data received {"connection_id":229595,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2a18c0012d0b10c00702a1800000014e2a..."} 
[2026-11-05 10:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2a18c0012d0b10c00702a1800000014e2a..."} 
[2026-11-05 10:55:29] local.INFO: Processing buffer {"connection_id":229595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2a18c0012d0b10c00702a1800000014e2a..."} 
[2026-11-05 10:55:29] local.INFO: Packet analysis {"connection_id":229595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:55:29] local.INFO: Extracted packet for processing {"connection_id":229595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:55:29] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227122432001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:55:29] 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-05 10:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793856248000,"timestamp_ms":1793856248000,"timestamp_seconds":1793856248,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2a18c0"} 
[2026-11-05 10: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-05 10:55:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 10:55:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10: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-05 10: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-05 10:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":229595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":229595,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":229595,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:55:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227122432001,"66":12765,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227122432001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:55:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227122432001,"power":12765,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:55:29] 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":62476,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:55:29] local.INFO: GPS data processed {"connection_id":229595,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:55:29] local.INFO: Acknowledgment sent {"connection_id":229595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:55:40] local.INFO: TCP Data received {"connection_id":229596,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:55:40] local.INFO: Processing buffer {"connection_id":229596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:55:40] local.INFO: Packet analysis {"connection_id":229596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:55:40] local.INFO: Extracted packet for processing {"connection_id":229596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:55:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":28,"angle":69,"satellites":36,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227123968001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793856254000,"timestamp_ms":1793856254000,"timestamp_seconds":1793856254,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2a3030"} 
[2026-11-05 10:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:55:40] 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-05 10:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-05 10:55:40] 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-05 10:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:55:40] 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-05 10:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227123968001,"66":24810,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 10:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227123968001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:55:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 10:55:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227123968001,"power":24810,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:55:40] 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":62477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:55:40] local.INFO: GPS data processed {"connection_id":229596,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:55:40] local.INFO: Acknowledgment sent {"connection_id":229596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:55:49] local.INFO: TCP Data received {"connection_id":231437,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231437,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:55:49] local.INFO: Processing buffer {"connection_id":231437,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:55:49] local.INFO: IMEI packet received {"connection_id":231437,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":231437,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:55:54] local.INFO: TCP Data received {"connection_id":231437,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231437,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:55:54] local.INFO: Processing buffer {"connection_id":231437,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:55:54] local.INFO: IMEI packet received {"connection_id":231437,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":231437,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:55:55] local.INFO: TCP Data received {"connection_id":231437,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2a18c0012d0b10c00702a1800000014e2a..."} 
[2026-11-05 10:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2a18c0012d0b10c00702a1800000014e2a..."} 
[2026-11-05 10:55:55] local.INFO: Processing buffer {"connection_id":231437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2a18c0012d0b10c00702a1800000014e2a..."} 
[2026-11-05 10:55:55] local.INFO: Packet analysis {"connection_id":231437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:55:55] local.INFO: Extracted packet for processing {"connection_id":231437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:55:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227122432001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:55: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-05 10:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793856248000,"timestamp_ms":1793856248000,"timestamp_seconds":1793856248,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2a18c0"} 
[2026-11-05 10:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 10:55: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-05 10:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231437,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231437,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227122432001,"66":12765,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227122432001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:55:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227122432001,"power":12765,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":231437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62478,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:55:55] local.INFO: GPS data processed {"connection_id":231437,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:55:55] local.INFO: Acknowledgment sent {"connection_id":231437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:56:04] local.INFO: TCP Data received {"connection_id":233326,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:56:04] local.INFO: Processing buffer {"connection_id":233326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:56:04] local.INFO: IMEI packet received {"connection_id":233326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":233326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:56:06] local.INFO: TCP Data received {"connection_id":233327,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233327,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:56:06] local.INFO: Processing buffer {"connection_id":233327,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 10:56:06] local.INFO: IMEI packet received {"connection_id":233327,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 10:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":233327,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:56:09] local.INFO: TCP Data received {"connection_id":233326,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:56:09] local.INFO: Processing buffer {"connection_id":233326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:56:09] local.INFO: IMEI packet received {"connection_id":233326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":233326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:56:10] local.INFO: TCP Data received {"connection_id":233326,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:56:10] local.INFO: Processing buffer {"connection_id":233326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:56:10] local.INFO: Packet analysis {"connection_id":233326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:56:10] local.INFO: Extracted packet for processing {"connection_id":233326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:56:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":28,"angle":69,"satellites":36,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227123968001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793856254000,"timestamp_ms":1793856254000,"timestamp_seconds":1793856254,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2a3030"} 
[2026-11-05 10:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:56:10] 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-05 10:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-05 10:56:10] 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-05 10:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:56:10] 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-05 10:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227123968001,"66":24810,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 10:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227123968001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:56:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 10:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227123968001,"power":24810,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":233326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:56:10] local.INFO: GPS data processed {"connection_id":233326,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:56:10] local.INFO: Acknowledgment sent {"connection_id":233326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:56:26] local.INFO: TCP Data received {"connection_id":231437,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2a18c0012d0b10c00702a1800000014e2a..."} 
[2026-11-05 10:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2a18c0012d0b10c00702a1800000014e2a..."} 
[2026-11-05 10:56:26] local.INFO: Processing buffer {"connection_id":231437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2a18c0012d0b10c00702a1800000014e2a..."} 
[2026-11-05 10:56:26] local.INFO: Packet analysis {"connection_id":231437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:56:26] local.INFO: Extracted packet for processing {"connection_id":231437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:56:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227122432001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:56: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-05 10:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793856248000,"timestamp_ms":1793856248000,"timestamp_seconds":1793856248,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2a18c0"} 
[2026-11-05 10: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-05 10:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 10:56: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-05 10: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-05 10: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-05 10:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231437,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231437,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227122432001,"66":12765,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227122432001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:56:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227122432001,"power":12765,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":231437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62480,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:56:26] local.INFO: GPS data processed {"connection_id":231437,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:56:26] local.INFO: Acknowledgment sent {"connection_id":231437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:56:42] local.INFO: TCP Data received {"connection_id":233326,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:56:42] local.INFO: Processing buffer {"connection_id":233326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:56:42] local.INFO: Packet analysis {"connection_id":233326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:56:42] local.INFO: Extracted packet for processing {"connection_id":233326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:56:42] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":28,"angle":69,"satellites":36,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227123968001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793856254000,"timestamp_ms":1793856254000,"timestamp_seconds":1793856254,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2a3030"} 
[2026-11-05 10:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:56:42] 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-05 10:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-05 10:56:42] 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-05 10:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:56: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-05 10:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227123968001,"66":24810,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 10:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227123968001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:56:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 10:56:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227123968001,"power":24810,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":233326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:56:42] local.INFO: GPS data processed {"connection_id":233326,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:56:42] local.INFO: Acknowledgment sent {"connection_id":233326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:56:54] local.INFO: TCP Data received {"connection_id":230117,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230117,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:56:54] local.INFO: Processing buffer {"connection_id":230117,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:56:54] local.INFO: IMEI packet received {"connection_id":230117,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":230117,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:56:59] local.INFO: TCP Data received {"connection_id":230117,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230117,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:56:59] local.INFO: Processing buffer {"connection_id":230117,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:56:59] local.INFO: IMEI packet received {"connection_id":230117,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":230117,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:56:59] local.INFO: TCP Data received {"connection_id":230117,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2a18c0012d0b10c00702a1800000014e2a..."} 
[2026-11-05 10:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2a18c0012d0b10c00702a1800000014e2a..."} 
[2026-11-05 10:56:59] local.INFO: Processing buffer {"connection_id":230117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2a18c0012d0b10c00702a1800000014e2a..."} 
[2026-11-05 10:56:59] local.INFO: Packet analysis {"connection_id":230117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:56:59] local.INFO: Extracted packet for processing {"connection_id":230117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:56:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227122432001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:56: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-05 10:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793856248000,"timestamp_ms":1793856248000,"timestamp_seconds":1793856248,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2a18c0"} 
[2026-11-05 10:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 10:56: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-05 10:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":230117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":230117,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":230117,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227122432001,"66":12765,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227122432001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:56:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227122432001,"power":12765,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":230117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62482,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:57:00] local.INFO: GPS data processed {"connection_id":230117,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:57:00] local.INFO: Acknowledgment sent {"connection_id":230117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:57:04] local.INFO: TCP Data received {"connection_id":230118,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:57:04] local.INFO: Processing buffer {"connection_id":230118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:57:04] local.INFO: IMEI packet received {"connection_id":230118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":230118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:57:04] local.INFO: TCP Data received {"connection_id":230117,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2a18c0012d0b10c00702a1800000014e2a..."} 
[2026-11-05 10:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2a18c0012d0b10c00702a1800000014e2a..."} 
[2026-11-05 10:57:04] local.INFO: Processing buffer {"connection_id":230117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2a18c0012d0b10c00702a1800000014e2a..."} 
[2026-11-05 10:57:04] local.INFO: Packet analysis {"connection_id":230117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:57:04] local.INFO: Extracted packet for processing {"connection_id":230117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:57:04] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227122432001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793856248000,"timestamp_ms":1793856248000,"timestamp_seconds":1793856248,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2a18c0"} 
[2026-11-05 10:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 10:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":230117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":230117,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":230117,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227122432001,"66":12765,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227122432001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:57:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227122432001,"power":12765,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":230117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62483,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:57:05] local.INFO: GPS data processed {"connection_id":230117,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:57:05] local.INFO: Acknowledgment sent {"connection_id":230117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:57:09] local.INFO: TCP Data received {"connection_id":230118,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:57:09] local.INFO: Processing buffer {"connection_id":230118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:57:09] local.INFO: IMEI packet received {"connection_id":230118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":230118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:57:10] local.INFO: TCP Data received {"connection_id":230118,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:57:10] local.INFO: Processing buffer {"connection_id":230118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:57:10] local.INFO: Packet analysis {"connection_id":230118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:57:10] local.INFO: Extracted packet for processing {"connection_id":230118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:57:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":28,"angle":69,"satellites":36,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10: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-05 10:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227123968001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793856254000,"timestamp_ms":1793856254000,"timestamp_seconds":1793856254,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2a3030"} 
[2026-11-05 10: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-05 10:57:10] 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-05 10:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-05 10:57:10] 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-05 10: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-05 10: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-05 10:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:57:10] 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-05 10:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227123968001,"66":24810,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 10:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227123968001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:57:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 10:57:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227123968001,"power":24810,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":230118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:57:10] local.INFO: GPS data processed {"connection_id":230118,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:57:10] local.INFO: Acknowledgment sent {"connection_id":230118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:57:41] local.INFO: TCP Data received {"connection_id":230118,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:57:41] local.INFO: Processing buffer {"connection_id":230118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:57:41] local.INFO: Packet analysis {"connection_id":230118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:57:41] local.INFO: Extracted packet for processing {"connection_id":230118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:57:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":28,"angle":69,"satellites":36,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227123968001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793856254000,"timestamp_ms":1793856254000,"timestamp_seconds":1793856254,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2a3030"} 
[2026-11-05 10:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:57:41] 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-05 10:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-05 10:57:41] 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-05 10:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:57:41] 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-05 10:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227123968001,"66":24810,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 10:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227123968001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:57:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 10:57:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227123968001,"power":24810,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":230118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:57:41] local.INFO: GPS data processed {"connection_id":230118,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:57:41] local.INFO: Acknowledgment sent {"connection_id":230118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:57:49] local.INFO: TCP Data received {"connection_id":229597,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229597,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:57:49] local.INFO: Processing buffer {"connection_id":229597,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:57:49] local.INFO: IMEI packet received {"connection_id":229597,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":229597,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:57:54] local.INFO: TCP Data received {"connection_id":229597,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229597,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:57:54] local.INFO: Processing buffer {"connection_id":229597,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:57:54] local.INFO: IMEI packet received {"connection_id":229597,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":229597,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:57:55] local.INFO: TCP Data received {"connection_id":229597,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2a18c0012d0b10c00702a1800000014e2a..."} 
[2026-11-05 10:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2a18c0012d0b10c00702a1800000014e2a..."} 
[2026-11-05 10:57:55] local.INFO: Processing buffer {"connection_id":229597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2a18c0012d0b10c00702a1800000014e2a..."} 
[2026-11-05 10:57:55] local.INFO: Packet analysis {"connection_id":229597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:57:55] local.INFO: Extracted packet for processing {"connection_id":229597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:57:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227122432001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:57: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-05 10:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793856248000,"timestamp_ms":1793856248000,"timestamp_seconds":1793856248,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2a18c0"} 
[2026-11-05 10:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 10:57: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-05 10:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229597,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229597,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227122432001,"66":12765,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227122432001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:57:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227122432001,"power":12765,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:57:55] 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":62486,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:57:55] local.INFO: GPS data processed {"connection_id":229597,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:57:55] local.INFO: Acknowledgment sent {"connection_id":229597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:58:06] local.INFO: TCP Data received {"connection_id":233328,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:58:06] local.INFO: Processing buffer {"connection_id":233328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:58:06] local.INFO: IMEI packet received {"connection_id":233328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":233328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:58:09] local.INFO: TCP Data received {"connection_id":233328,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:58:09] local.INFO: Processing buffer {"connection_id":233328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:58:09] local.INFO: IMEI packet received {"connection_id":233328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":233328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:58:10] local.INFO: TCP Data received {"connection_id":233328,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:58:10] local.INFO: Processing buffer {"connection_id":233328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:58:10] local.INFO: Packet analysis {"connection_id":233328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:58:10] local.INFO: Extracted packet for processing {"connection_id":233328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:58:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":28,"angle":69,"satellites":36,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227123968001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793856254000,"timestamp_ms":1793856254000,"timestamp_seconds":1793856254,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2a3030"} 
[2026-11-05 10:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:58:10] 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-05 10:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-05 10:58:10] 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-05 10:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:58:10] 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-05 10:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227123968001,"66":24810,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 10:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227123968001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:58:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 10:58:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227123968001,"power":24810,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":233328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:58:10] local.INFO: GPS data processed {"connection_id":233328,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:58:10] local.INFO: Acknowledgment sent {"connection_id":233328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:58:14] local.INFO: TCP Data received {"connection_id":233328,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:58:14] local.INFO: Processing buffer {"connection_id":233328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:58:14] local.INFO: Packet analysis {"connection_id":233328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:58:14] local.INFO: Extracted packet for processing {"connection_id":233328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:58:14] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":28,"angle":69,"satellites":36,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227123968001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793856254000,"timestamp_ms":1793856254000,"timestamp_seconds":1793856254,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2a3030"} 
[2026-11-05 10:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:58: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-05 10:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-05 10:58:14] 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-05 10:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:58: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-05 10:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227123968001,"66":24810,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 10:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227123968001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:58:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 10:58:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227123968001,"power":24810,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":233328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:58:14] local.INFO: GPS data processed {"connection_id":233328,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:58:14] local.INFO: Acknowledgment sent {"connection_id":233328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:58:26] local.INFO: TCP Data received {"connection_id":229597,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2a18c0012d0b10c00702a1800000014e2a..."} 
[2026-11-05 10:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2a18c0012d0b10c00702a1800000014e2a..."} 
[2026-11-05 10:58:26] local.INFO: Processing buffer {"connection_id":229597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2a18c0012d0b10c00702a1800000014e2a..."} 
[2026-11-05 10:58:26] local.INFO: Packet analysis {"connection_id":229597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:58:26] local.INFO: Extracted packet for processing {"connection_id":229597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:58:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227122432001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:58: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-05 10:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793856248000,"timestamp_ms":1793856248000,"timestamp_seconds":1793856248,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2a18c0"} 
[2026-11-05 10:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 10:58: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-05 10:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229597,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229597,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227122432001,"66":12765,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227122432001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:58:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227122432001,"power":12765,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:58:26] 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":62489,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:58:26] local.INFO: GPS data processed {"connection_id":229597,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:58:26] local.INFO: Acknowledgment sent {"connection_id":229597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:58:46] local.INFO: TCP Data received {"connection_id":233328,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:58:46] local.INFO: Processing buffer {"connection_id":233328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:58:46] local.INFO: Packet analysis {"connection_id":233328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:58:46] local.INFO: Extracted packet for processing {"connection_id":233328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:58:46] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":28,"angle":69,"satellites":36,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227123968001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793856254000,"timestamp_ms":1793856254000,"timestamp_seconds":1793856254,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2a3030"} 
[2026-11-05 10:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:58: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-05 10:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-05 10:58:46] 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-05 10:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":233328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":233328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":233328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:58: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-05 10:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227123968001,"66":24810,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 10:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227123968001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:58:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 10:58:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227123968001,"power":24810,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":233328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:58:46] local.INFO: GPS data processed {"connection_id":233328,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:58:46] local.INFO: Acknowledgment sent {"connection_id":233328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:58:49] local.INFO: TCP Data received {"connection_id":233330,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233330,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:58:49] local.INFO: Processing buffer {"connection_id":233330,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:58:49] local.INFO: IMEI packet received {"connection_id":233330,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":233330,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:58:54] local.INFO: TCP Data received {"connection_id":233330,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233330,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:58:54] local.INFO: Processing buffer {"connection_id":233330,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:58:54] local.INFO: IMEI packet received {"connection_id":233330,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":233330,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:58:55] local.INFO: TCP Data received {"connection_id":233330,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2a18c0012d0b10c00702a1800000014e2a..."} 
[2026-11-05 10:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2a18c0012d0b10c00702a1800000014e2a..."} 
[2026-11-05 10:58:55] local.INFO: Processing buffer {"connection_id":233330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2a18c0012d0b10c00702a1800000014e2a..."} 
[2026-11-05 10:58:55] local.INFO: Packet analysis {"connection_id":233330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:58:55] local.INFO: Extracted packet for processing {"connection_id":233330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:58:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227122432001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:58: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-05 10:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793856248000,"timestamp_ms":1793856248000,"timestamp_seconds":1793856248,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2a18c0"} 
[2026-11-05 10:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 10:58: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-05 10:58:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233330,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233330,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227122432001,"66":12765,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227122432001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:58:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227122432001,"power":12765,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":233330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62491,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:58:55] local.INFO: GPS data processed {"connection_id":233330,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:58:55] local.INFO: Acknowledgment sent {"connection_id":233330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:59:04] local.INFO: TCP Data received {"connection_id":229598,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:59:04] local.INFO: Processing buffer {"connection_id":229598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:59:04] local.INFO: IMEI packet received {"connection_id":229598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 10:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":229598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:59:09] local.INFO: TCP Data received {"connection_id":229598,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:59:09] local.INFO: Processing buffer {"connection_id":229598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 10:59:09] local.INFO: IMEI packet received {"connection_id":229598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 10:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":229598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:59:10] local.INFO: TCP Data received {"connection_id":229598,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:59:10] local.INFO: Processing buffer {"connection_id":229598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:59:10] local.INFO: Packet analysis {"connection_id":229598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:59:10] local.INFO: Extracted packet for processing {"connection_id":229598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:59:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":28,"angle":69,"satellites":36,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227123968001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793856254000,"timestamp_ms":1793856254000,"timestamp_seconds":1793856254,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2a3030"} 
[2026-11-05 10:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:59:10] 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-05 10:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-05 10:59:10] 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-05 10:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:59:10] 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-05 10:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227123968001,"66":24810,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 10:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227123968001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:59:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 10:59:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227123968001,"power":24810,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:59:10] 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":62492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:59:10] local.INFO: GPS data processed {"connection_id":229598,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:59:10] local.INFO: Acknowledgment sent {"connection_id":229598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:59:26] local.INFO: TCP Data received {"connection_id":233330,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2eb088012d0b10c00702a1800000014e24..."} 
[2026-11-05 10:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2eb088012d0b10c00702a1800000014e24..."} 
[2026-11-05 10:59:26] local.INFO: Processing buffer {"connection_id":233330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2eb088012d0b10c00702a1800000014e24..."} 
[2026-11-05 10:59:26] local.INFO: Packet analysis {"connection_id":233330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 10:59:26] local.INFO: Extracted packet for processing {"connection_id":233330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 10:59:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227199488001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:59: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-05 10:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793856549000,"timestamp_ms":1793856549000,"timestamp_seconds":1793856549,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2eb088"} 
[2026-11-05 10:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-11-05 10:59:26] 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-05 10:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233330,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233330,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227199488001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227199488001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:59:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227199488001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":233330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62493,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:59:26] local.INFO: GPS data processed {"connection_id":233330,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:59:26] local.INFO: Acknowledgment sent {"connection_id":233330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:59:41] local.INFO: TCP Data received {"connection_id":229598,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:59:41] local.INFO: Processing buffer {"connection_id":229598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2a3030012d7fad0005afe048001c004524..."} 
[2026-11-05 10:59:41] local.INFO: Packet analysis {"connection_id":229598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:59:41] local.INFO: Extracted packet for processing {"connection_id":229598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2a"} 
[2026-11-05 10:59:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":28,"angle":69,"satellites":36,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 10:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227123968001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 10:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 10:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 10:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793856254000,"timestamp_ms":1793856254000,"timestamp_seconds":1793856254,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2a3030"} 
[2026-11-05 10:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:59:41] 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-05 10:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-05 10:59:41] 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-05 10:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 10:59: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-05 10:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 10:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 10:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227123968001,"66":24810,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 10:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 10:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 10:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227123968001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:59:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 10:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 10:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 10:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227123968001,"power":24810,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 10:59:41] 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":62494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:59:41] local.INFO: GPS data processed {"connection_id":229598,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:59:41] local.INFO: Acknowledgment sent {"connection_id":229598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 10:59:49] local.INFO: TCP Data received {"connection_id":230120,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230120,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:59:49] local.INFO: Processing buffer {"connection_id":230120,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:59:49] local.INFO: IMEI packet received {"connection_id":230120,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 10:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":230120,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 10:59:54] local.INFO: TCP Data received {"connection_id":230120,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230120,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:59:54] local.INFO: Processing buffer {"connection_id":230120,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 10:59:54] local.INFO: IMEI packet received {"connection_id":230120,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 10:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":230120,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 10:59:55] local.INFO: TCP Data received {"connection_id":230120,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2eb088012d0b10c00702a1800000014e24..."} 
[2026-11-05 10:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2eb088012d0b10c00702a1800000014e24..."} 
[2026-11-05 10:59:55] local.INFO: Processing buffer {"connection_id":230120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2eb088012d0b10c00702a1800000014e24..."} 
[2026-11-05 10:59:55] local.INFO: Packet analysis {"connection_id":230120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 10:59:55] local.INFO: Extracted packet for processing {"connection_id":230120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 10:59:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 10:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 10:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227199488001,"note":"Value kept but may cause issues"} 
[2026-11-05 10:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 10:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 10:59: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-05 10:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793856549000,"timestamp_ms":1793856549000,"timestamp_seconds":1793856549,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2eb088"} 
[2026-11-05 10:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 10:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 10:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-11-05 10:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 10:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 10:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 10:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 10:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 10:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230120,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230120,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 10:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 10:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 10:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 10:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227199488001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 10:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 10:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 10:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227199488001,"description":"Unknown IO ID 0"} 
[2026-11-05 10:59:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 10:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 10:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 10:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227199488001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 10:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":230120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62495,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 10:59:55] local.INFO: GPS data processed {"connection_id":230120,"processed":1,"errors":0,"total":1} 
[2026-11-05 10:59:55] local.INFO: Acknowledgment sent {"connection_id":230120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:00:03] local.INFO: TCP Data received {"connection_id":231439,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:00:03] local.INFO: Processing buffer {"connection_id":231439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:00:03] local.INFO: IMEI packet received {"connection_id":231439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":231439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:00:09] local.INFO: TCP Data received {"connection_id":231439,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:00:09] local.INFO: Processing buffer {"connection_id":231439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:00:09] local.INFO: IMEI packet received {"connection_id":231439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":231439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:00:09] local.INFO: TCP Data received {"connection_id":231439,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2ec7f8012d7fad0005afe048001c004527..."} 
[2026-11-05 11:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2ec7f8012d7fad0005afe048001c004527..."} 
[2026-11-05 11:00:09] local.INFO: Processing buffer {"connection_id":231439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2ec7f8012d7fad0005afe048001c004527..."} 
[2026-11-05 11:00:09] local.INFO: Packet analysis {"connection_id":231439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:00:09] local.INFO: Extracted packet for processing {"connection_id":231439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:00:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":28,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227201024001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793856555000,"timestamp_ms":1793856555000,"timestamp_seconds":1793856555,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2ec7f8"} 
[2026-11-05 11:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-05 11:00:09] 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-05 11:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:00:09] 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-05 11:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227201024001,"66":25495,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227201024001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:00:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:00:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227201024001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":231439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:00:09] local.INFO: GPS data processed {"connection_id":231439,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:00:09] local.INFO: Acknowledgment sent {"connection_id":231439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:00:26] local.INFO: TCP Data received {"connection_id":230120,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2eb088012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2eb088012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:00:26] local.INFO: Processing buffer {"connection_id":230120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2eb088012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:00:26] local.INFO: Packet analysis {"connection_id":230120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:00:26] local.INFO: Extracted packet for processing {"connection_id":230120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:00:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227199488001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:00: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-05 11:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793856549000,"timestamp_ms":1793856549000,"timestamp_seconds":1793856549,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2eb088"} 
[2026-11-05 11:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:00:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-11-05 11:00:26] 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-05 11:00:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230120,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230120,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:00:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227199488001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227199488001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:00:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227199488001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":230120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62497,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:00:26] local.INFO: GPS data processed {"connection_id":230120,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:00:26] local.INFO: Acknowledgment sent {"connection_id":230120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:00:40] local.INFO: TCP Data received {"connection_id":231439,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2ec7f8012d7fad0005afe048001c004527..."} 
[2026-11-05 11:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2ec7f8012d7fad0005afe048001c004527..."} 
[2026-11-05 11:00:40] local.INFO: Processing buffer {"connection_id":231439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2ec7f8012d7fad0005afe048001c004527..."} 
[2026-11-05 11:00:40] local.INFO: Packet analysis {"connection_id":231439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:00:40] local.INFO: Extracted packet for processing {"connection_id":231439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:00:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":28,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227201024001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793856555000,"timestamp_ms":1793856555000,"timestamp_seconds":1793856555,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2ec7f8"} 
[2026-11-05 11:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:00:40] 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-05 11:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-05 11:00:40] 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-05 11:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:00:40] 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-05 11:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227201024001,"66":25495,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227201024001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:00:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:00:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227201024001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":231439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:00:40] local.INFO: GPS data processed {"connection_id":231439,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:00:40] local.INFO: Acknowledgment sent {"connection_id":231439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:00:49] local.INFO: TCP Data received {"connection_id":233331,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:00:49] local.INFO: Processing buffer {"connection_id":233331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:00:49] local.INFO: IMEI packet received {"connection_id":233331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":233331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:00:54] local.INFO: TCP Data received {"connection_id":233331,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:00:54] local.INFO: Processing buffer {"connection_id":233331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:00:54] local.INFO: IMEI packet received {"connection_id":233331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":233331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:00:55] local.INFO: TCP Data received {"connection_id":233331,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2eb088012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2eb088012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:00:55] local.INFO: Processing buffer {"connection_id":233331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2eb088012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:00:55] local.INFO: Packet analysis {"connection_id":233331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:00:55] local.INFO: Extracted packet for processing {"connection_id":233331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:00:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227199488001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:00: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-05 11:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793856549000,"timestamp_ms":1793856549000,"timestamp_seconds":1793856549,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2eb088"} 
[2026-11-05 11:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-11-05 11:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227199488001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227199488001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:00:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227199488001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":233331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62499,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:00:55] local.INFO: GPS data processed {"connection_id":233331,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:00:55] local.INFO: Acknowledgment sent {"connection_id":233331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:01:03] local.INFO: TCP Data received {"connection_id":230121,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:01:03] local.INFO: Processing buffer {"connection_id":230121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:01:03] local.INFO: IMEI packet received {"connection_id":230121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":230121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:01:09] local.INFO: TCP Data received {"connection_id":230121,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:01:09] local.INFO: Processing buffer {"connection_id":230121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:01:09] local.INFO: IMEI packet received {"connection_id":230121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":230121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:01:10] local.INFO: TCP Data received {"connection_id":230121,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2ec7f8012d7fad0005afe048001c004527..."} 
[2026-11-05 11:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2ec7f8012d7fad0005afe048001c004527..."} 
[2026-11-05 11:01:10] local.INFO: Processing buffer {"connection_id":230121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2ec7f8012d7fad0005afe048001c004527..."} 
[2026-11-05 11:01:10] local.INFO: Packet analysis {"connection_id":230121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:01:10] local.INFO: Extracted packet for processing {"connection_id":230121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:01:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":28,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227201024001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793856555000,"timestamp_ms":1793856555000,"timestamp_seconds":1793856555,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2ec7f8"} 
[2026-11-05 11:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:01:10] 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-05 11:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-05 11:01:10] 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-05 11:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:01:10] 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-05 11:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227201024001,"66":25495,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227201024001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:01:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:01:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227201024001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":230121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:01:10] local.INFO: GPS data processed {"connection_id":230121,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:01:10] local.INFO: Acknowledgment sent {"connection_id":230121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:01:26] local.INFO: TCP Data received {"connection_id":233331,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2eb088012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2eb088012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:01:26] local.INFO: Processing buffer {"connection_id":233331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2eb088012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:01:26] local.INFO: Packet analysis {"connection_id":233331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:01:26] local.INFO: Extracted packet for processing {"connection_id":233331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:01:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227199488001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:01: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-05 11:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793856549000,"timestamp_ms":1793856549000,"timestamp_seconds":1793856549,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2eb088"} 
[2026-11-05 11: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-05 11:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-11-05 11:01:26] 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-05 11: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-05 11: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-05 11:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227199488001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227199488001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:01:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227199488001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":233331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62501,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:01:27] local.INFO: GPS data processed {"connection_id":233331,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:01:27] local.INFO: Acknowledgment sent {"connection_id":233331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:01:31] local.INFO: TCP Data received {"connection_id":229599,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229599,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:01:31] local.INFO: Processing buffer {"connection_id":229599,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:01:31] local.INFO: IMEI packet received {"connection_id":229599,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 11:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":229599,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:01:41] local.INFO: TCP Data received {"connection_id":230121,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2ec7f8012d7fad0005afe048001c004527..."} 
[2026-11-05 11:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2ec7f8012d7fad0005afe048001c004527..."} 
[2026-11-05 11:01:41] local.INFO: Processing buffer {"connection_id":230121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2ec7f8012d7fad0005afe048001c004527..."} 
[2026-11-05 11:01:41] local.INFO: Packet analysis {"connection_id":230121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:01:41] local.INFO: Extracted packet for processing {"connection_id":230121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:01:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":28,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227201024001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793856555000,"timestamp_ms":1793856555000,"timestamp_seconds":1793856555,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2ec7f8"} 
[2026-11-05 11:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:01:41] 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-05 11:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-05 11: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-05 11:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:01: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-05 11:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227201024001,"66":25495,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227201024001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:01:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:01:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227201024001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":230121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:01:41] local.INFO: GPS data processed {"connection_id":230121,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:01:41] local.INFO: Acknowledgment sent {"connection_id":230121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:01:56] local.INFO: TCP Data received {"connection_id":233332,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233332,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:01:56] local.INFO: Processing buffer {"connection_id":233332,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:01:56] local.INFO: IMEI packet received {"connection_id":233332,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":233332,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:01:59] local.INFO: TCP Data received {"connection_id":233332,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233332,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:01:59] local.INFO: Processing buffer {"connection_id":233332,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:01:59] local.INFO: IMEI packet received {"connection_id":233332,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":233332,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:02:03] local.INFO: TCP Data received {"connection_id":230122,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:02:03] local.INFO: Processing buffer {"connection_id":230122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:02:03] local.INFO: IMEI packet received {"connection_id":230122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":230122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:02:09] local.INFO: TCP Data received {"connection_id":230122,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:02:09] local.INFO: Processing buffer {"connection_id":230122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:02:09] local.INFO: IMEI packet received {"connection_id":230122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":230122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:02:09] local.INFO: TCP Data received {"connection_id":233332,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2eb088012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2eb088012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:02:09] local.INFO: Processing buffer {"connection_id":233332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2eb088012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:02:09] local.INFO: Packet analysis {"connection_id":233332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:02:09] local.INFO: Extracted packet for processing {"connection_id":233332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:02:09] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227199488001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:02: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-05 11:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793856549000,"timestamp_ms":1793856549000,"timestamp_seconds":1793856549,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2eb088"} 
[2026-11-05 11: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-05 11:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-11-05 11:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233332,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233332,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227199488001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227199488001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:02:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227199488001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":233332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62503,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:02:09] local.INFO: GPS data processed {"connection_id":233332,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:02:09] local.INFO: Acknowledgment sent {"connection_id":233332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:02:10] local.INFO: TCP Data received {"connection_id":230122,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2ec7f8012d7fad0005afe048001c004527..."} 
[2026-11-05 11:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2ec7f8012d7fad0005afe048001c004527..."} 
[2026-11-05 11:02:10] local.INFO: Processing buffer {"connection_id":230122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2ec7f8012d7fad0005afe048001c004527..."} 
[2026-11-05 11:02:10] local.INFO: Packet analysis {"connection_id":230122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:02:10] local.INFO: Extracted packet for processing {"connection_id":230122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:02:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":28,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227201024001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793856555000,"timestamp_ms":1793856555000,"timestamp_seconds":1793856555,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2ec7f8"} 
[2026-11-05 11:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:02:10] 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-05 11:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-05 11:02:10] 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-05 11:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:02:10] 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-05 11:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227201024001,"66":25495,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227201024001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:02:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:02:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227201024001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":230122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:02:10] local.INFO: GPS data processed {"connection_id":230122,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:02:10] local.INFO: Acknowledgment sent {"connection_id":230122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:02:10] local.INFO: TCP Data received {"connection_id":233332,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2eb088012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2eb088012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:02:10] local.INFO: Processing buffer {"connection_id":233332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2eb088012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:02:10] local.INFO: Packet analysis {"connection_id":233332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:02:10] local.INFO: Extracted packet for processing {"connection_id":233332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:02:10] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227199488001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:02:10] 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-05 11:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793856549000,"timestamp_ms":1793856549000,"timestamp_seconds":1793856549,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2eb088"} 
[2026-11-05 11:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-11-05 11:02:10] 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-05 11:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233332,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233332,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227199488001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227199488001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:02:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227199488001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":233332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62505,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:02:10] local.INFO: GPS data processed {"connection_id":233332,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:02:10] local.INFO: Acknowledgment sent {"connection_id":233332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:02:11] local.INFO: TCP Data received {"connection_id":229600,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229600,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:02:11] local.INFO: Processing buffer {"connection_id":229600,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:02:11] local.INFO: IMEI packet received {"connection_id":229600,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 11:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":229600,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:02:41] local.INFO: TCP Data received {"connection_id":230122,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2ec7f8012d7fad0005afe048001c004527..."} 
[2026-11-05 11:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2ec7f8012d7fad0005afe048001c004527..."} 
[2026-11-05 11:02:41] local.INFO: Processing buffer {"connection_id":230122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2ec7f8012d7fad0005afe048001c004527..."} 
[2026-11-05 11:02:41] local.INFO: Packet analysis {"connection_id":230122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:02:41] local.INFO: Extracted packet for processing {"connection_id":230122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:02:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":28,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227201024001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793856555000,"timestamp_ms":1793856555000,"timestamp_seconds":1793856555,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2ec7f8"} 
[2026-11-05 11:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:02:41] 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-05 11:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-05 11: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-05 11:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:02: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-05 11:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227201024001,"66":25495,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227201024001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:02:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:02:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227201024001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":230122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:02:41] local.INFO: GPS data processed {"connection_id":230122,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:02:41] local.INFO: Acknowledgment sent {"connection_id":230122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:02:49] local.INFO: TCP Data received {"connection_id":233333,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233333,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:02:49] local.INFO: Processing buffer {"connection_id":233333,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:02:49] local.INFO: IMEI packet received {"connection_id":233333,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":233333,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:02:54] local.INFO: TCP Data received {"connection_id":233333,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233333,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:02:54] local.INFO: Processing buffer {"connection_id":233333,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:02:54] local.INFO: IMEI packet received {"connection_id":233333,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":233333,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:02:55] local.INFO: TCP Data received {"connection_id":233333,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2eb088012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2eb088012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:02:55] local.INFO: Processing buffer {"connection_id":233333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2eb088012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:02:55] local.INFO: Packet analysis {"connection_id":233333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:02:55] local.INFO: Extracted packet for processing {"connection_id":233333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:02:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227199488001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:02: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-05 11:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793856549000,"timestamp_ms":1793856549000,"timestamp_seconds":1793856549,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2eb088"} 
[2026-11-05 11: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-05 11:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-11-05 11:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233333,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233333,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227199488001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227199488001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:02:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227199488001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":233333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62507,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:02:55] local.INFO: GPS data processed {"connection_id":233333,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:02:55] local.INFO: Acknowledgment sent {"connection_id":233333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:03:04] local.INFO: TCP Data received {"connection_id":229601,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:03:04] local.INFO: Processing buffer {"connection_id":229601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:03:04] local.INFO: IMEI packet received {"connection_id":229601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":229601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:03:09] local.INFO: TCP Data received {"connection_id":229601,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:03:09] local.INFO: Processing buffer {"connection_id":229601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:03:09] local.INFO: IMEI packet received {"connection_id":229601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":229601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:03:10] local.INFO: TCP Data received {"connection_id":229601,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2ec7f8012d7fad0005afe048001c004527..."} 
[2026-11-05 11:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2ec7f8012d7fad0005afe048001c004527..."} 
[2026-11-05 11:03:10] local.INFO: Processing buffer {"connection_id":229601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2ec7f8012d7fad0005afe048001c004527..."} 
[2026-11-05 11:03:10] local.INFO: Packet analysis {"connection_id":229601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:03:10] local.INFO: Extracted packet for processing {"connection_id":229601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:03:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":28,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227201024001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793856555000,"timestamp_ms":1793856555000,"timestamp_seconds":1793856555,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2ec7f8"} 
[2026-11-05 11:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:03:10] 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-05 11:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-05 11:03:10] 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-05 11:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:03:10] 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-05 11:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227201024001,"66":25495,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227201024001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:03:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:03:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227201024001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:03:10] 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":62508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:03:10] local.INFO: GPS data processed {"connection_id":229601,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:03:10] local.INFO: Acknowledgment sent {"connection_id":229601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:03:27] local.INFO: TCP Data received {"connection_id":233333,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2eb088012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2eb088012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:03:27] local.INFO: Processing buffer {"connection_id":233333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2eb088012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:03:27] local.INFO: Packet analysis {"connection_id":233333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:03:27] local.INFO: Extracted packet for processing {"connection_id":233333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:03:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227199488001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:03:27] 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-05 11:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793856549000,"timestamp_ms":1793856549000,"timestamp_seconds":1793856549,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2eb088"} 
[2026-11-05 11:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-11-05 11:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":233333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":233333,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":233333,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227199488001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227199488001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:03:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227199488001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":233333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62509,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:03:27] local.INFO: GPS data processed {"connection_id":233333,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:03:27] local.INFO: Acknowledgment sent {"connection_id":233333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:03:41] local.INFO: TCP Data received {"connection_id":229601,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2ec7f8012d7fad0005afe048001c004527..."} 
[2026-11-05 11:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2ec7f8012d7fad0005afe048001c004527..."} 
[2026-11-05 11:03:41] local.INFO: Processing buffer {"connection_id":229601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2ec7f8012d7fad0005afe048001c004527..."} 
[2026-11-05 11:03:41] local.INFO: Packet analysis {"connection_id":229601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:03:41] local.INFO: Extracted packet for processing {"connection_id":229601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:03:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":28,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227201024001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793856555000,"timestamp_ms":1793856555000,"timestamp_seconds":1793856555,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2ec7f8"} 
[2026-11-05 11: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-05 11:03:41] 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-05 11: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-05 11: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-05 11: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-05 11: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-05 11:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:03: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-05 11:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227201024001,"66":25495,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227201024001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:03:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227201024001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:03:41] 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":62510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:03:41] local.INFO: GPS data processed {"connection_id":229601,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:03:41] local.INFO: Acknowledgment sent {"connection_id":229601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:03:49] local.INFO: TCP Data received {"connection_id":231441,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231441,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:03:49] local.INFO: Processing buffer {"connection_id":231441,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:03:49] local.INFO: IMEI packet received {"connection_id":231441,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":231441,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:03:54] local.INFO: TCP Data received {"connection_id":231441,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231441,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:03:54] local.INFO: Processing buffer {"connection_id":231441,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:03:54] local.INFO: IMEI packet received {"connection_id":231441,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":231441,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:03:55] local.INFO: TCP Data received {"connection_id":231441,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2eb088012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2eb088012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:03:55] local.INFO: Processing buffer {"connection_id":231441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2eb088012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:03:55] local.INFO: Packet analysis {"connection_id":231441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:03:55] local.INFO: Extracted packet for processing {"connection_id":231441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:03:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227199488001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:03: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-05 11:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793856549000,"timestamp_ms":1793856549000,"timestamp_seconds":1793856549,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2eb088"} 
[2026-11-05 11:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-11-05 11:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231441,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231441,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227199488001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227199488001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:03:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227199488001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":231441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62511,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:03:55] local.INFO: GPS data processed {"connection_id":231441,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:03:55] local.INFO: Acknowledgment sent {"connection_id":231441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:04:03] local.INFO: TCP Data received {"connection_id":231442,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:04:03] local.INFO: Processing buffer {"connection_id":231442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:04:03] local.INFO: IMEI packet received {"connection_id":231442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":231442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:04:09] local.INFO: TCP Data received {"connection_id":231442,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:04:09] local.INFO: Processing buffer {"connection_id":231442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:04:09] local.INFO: IMEI packet received {"connection_id":231442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":231442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:04:10] local.INFO: TCP Data received {"connection_id":231442,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2ec7f8012d7fad0005afe048001c004527..."} 
[2026-11-05 11:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2ec7f8012d7fad0005afe048001c004527..."} 
[2026-11-05 11:04:10] local.INFO: Processing buffer {"connection_id":231442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2ec7f8012d7fad0005afe048001c004527..."} 
[2026-11-05 11:04:10] local.INFO: Packet analysis {"connection_id":231442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:04:10] local.INFO: Extracted packet for processing {"connection_id":231442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:04:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":28,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227201024001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793856555000,"timestamp_ms":1793856555000,"timestamp_seconds":1793856555,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2ec7f8"} 
[2026-11-05 11:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:04:10] 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-05 11:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-05 11:04:10] 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-05 11:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:04:10] 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-05 11:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227201024001,"66":25495,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227201024001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:04:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227201024001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":231442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:04:10] local.INFO: GPS data processed {"connection_id":231442,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:04:10] local.INFO: Acknowledgment sent {"connection_id":231442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:04:26] local.INFO: TCP Data received {"connection_id":231441,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:04:26] local.INFO: Processing buffer {"connection_id":231441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:04:26] local.INFO: Packet analysis {"connection_id":231441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:04:26] local.INFO: Extracted packet for processing {"connection_id":231441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:04:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227276544001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:04: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-05 11:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793856850000,"timestamp_ms":1793856850000,"timestamp_seconds":1793856850,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa334850"} 
[2026-11-05 11:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:04:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 11:04: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-05 11:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231441,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231441,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227276544001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227276544001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:04:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227276544001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":231441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62513,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:04:26] local.INFO: GPS data processed {"connection_id":231441,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:04:26] local.INFO: Acknowledgment sent {"connection_id":231441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:04:41] local.INFO: TCP Data received {"connection_id":231442,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa2ec7f8012d7fad0005afe048001c004527..."} 
[2026-11-05 11:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa2ec7f8012d7fad0005afe048001c004527..."} 
[2026-11-05 11:04:41] local.INFO: Processing buffer {"connection_id":231442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa2ec7f8012d7fad0005afe048001c004527..."} 
[2026-11-05 11:04:41] local.INFO: Packet analysis {"connection_id":231442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:04:41] local.INFO: Extracted packet for processing {"connection_id":231442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa2e"} 
[2026-11-05 11:04:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":28,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227201024001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793856555000,"timestamp_ms":1793856555000,"timestamp_seconds":1793856555,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa2ec7f8"} 
[2026-11-05 11:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:04:41] 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-05 11:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-05 11: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-05 11:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:04: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-05 11:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227201024001,"66":25495,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227201024001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:04:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227201024001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":231442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:04:41] local.INFO: GPS data processed {"connection_id":231442,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:04:41] local.INFO: Acknowledgment sent {"connection_id":231442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:04:49] local.INFO: TCP Data received {"connection_id":233335,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233335,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:04:49] local.INFO: Processing buffer {"connection_id":233335,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:04:49] local.INFO: IMEI packet received {"connection_id":233335,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":233335,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:04:54] local.INFO: TCP Data received {"connection_id":233335,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233335,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:04:54] local.INFO: Processing buffer {"connection_id":233335,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:04:54] local.INFO: IMEI packet received {"connection_id":233335,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":233335,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:04:55] local.INFO: TCP Data received {"connection_id":233335,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:04:55] local.INFO: Processing buffer {"connection_id":233335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:04:55] local.INFO: Packet analysis {"connection_id":233335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:04:55] local.INFO: Extracted packet for processing {"connection_id":233335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:04:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227276544001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:04: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-05 11:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793856850000,"timestamp_ms":1793856850000,"timestamp_seconds":1793856850,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa334850"} 
[2026-11-05 11: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-05 11:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 11:04: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-05 11: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-05 11: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-05 11:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227276544001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227276544001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:04:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227276544001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":233335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62515,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:04:55] local.INFO: GPS data processed {"connection_id":233335,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:04:55] local.INFO: Acknowledgment sent {"connection_id":233335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:05:09] local.INFO: TCP Data received {"connection_id":229602,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:05:09] local.INFO: Processing buffer {"connection_id":229602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:05:09] local.INFO: IMEI packet received {"connection_id":229602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":229602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:05:16] local.INFO: TCP Data received {"connection_id":229602,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:05:16] local.INFO: Processing buffer {"connection_id":229602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:05:16] local.INFO: IMEI packet received {"connection_id":229602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":229602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:05:18] local.INFO: TCP Data received {"connection_id":229602,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa335fc0012d7fad0005afe048001d004529..."} 
[2026-11-05 11:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa335fc0012d7fad0005afe048001d004529..."} 
[2026-11-05 11:05:18] local.INFO: Processing buffer {"connection_id":229602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa335fc0012d7fad0005afe048001d004529..."} 
[2026-11-05 11:05:18] local.INFO: Packet analysis {"connection_id":229602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:05:18] local.INFO: Extracted packet for processing {"connection_id":229602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:05:18] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227278080001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793856856000,"timestamp_ms":1793856856000,"timestamp_seconds":1793856856,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa335fc0"} 
[2026-11-05 11: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-05 11:05: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-05 11:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 11:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:05: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-05 11:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227278080001,"66":25495,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227278080001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:05:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:05:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227278080001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:05:18] 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":62516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:05:18] local.INFO: GPS data processed {"connection_id":229602,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:05:18] local.INFO: Acknowledgment sent {"connection_id":229602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:05:19] local.INFO: TCP Data received {"connection_id":229602,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa335fc0012d7fad0005afe048001d004529..."} 
[2026-11-05 11:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa335fc0012d7fad0005afe048001d004529..."} 
[2026-11-05 11:05:19] local.INFO: Processing buffer {"connection_id":229602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa335fc0012d7fad0005afe048001d004529..."} 
[2026-11-05 11:05:19] local.INFO: Packet analysis {"connection_id":229602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:05:19] local.INFO: Extracted packet for processing {"connection_id":229602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:05:19] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227278080001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793856856000,"timestamp_ms":1793856856000,"timestamp_seconds":1793856856,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa335fc0"} 
[2026-11-05 11: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-05 11:05: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-05 11:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 11:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:05: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-05 11:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227278080001,"66":25495,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227278080001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:05:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:05:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227278080001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:05:19] 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":62517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:05:19] local.INFO: GPS data processed {"connection_id":229602,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:05:19] local.INFO: Acknowledgment sent {"connection_id":229602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:05:26] local.INFO: TCP Data received {"connection_id":233335,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:05:26] local.INFO: Processing buffer {"connection_id":233335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:05:26] local.INFO: Packet analysis {"connection_id":233335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:05:26] local.INFO: Extracted packet for processing {"connection_id":233335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:05:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227276544001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:05: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-05 11:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793856850000,"timestamp_ms":1793856850000,"timestamp_seconds":1793856850,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa334850"} 
[2026-11-05 11: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-05 11:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 11:05: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-05 11: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-05 11: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-05 11:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227276544001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227276544001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:05:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227276544001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":233335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62518,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:05:26] local.INFO: GPS data processed {"connection_id":233335,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:05:26] local.INFO: Acknowledgment sent {"connection_id":233335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:05:49] local.INFO: TCP Data received {"connection_id":231444,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231444,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:05:49] local.INFO: Processing buffer {"connection_id":231444,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:05:49] local.INFO: IMEI packet received {"connection_id":231444,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":231444,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:05:54] local.INFO: TCP Data received {"connection_id":231444,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231444,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:05:54] local.INFO: Processing buffer {"connection_id":231444,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:05:54] local.INFO: IMEI packet received {"connection_id":231444,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":231444,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:05:54] local.INFO: TCP Data received {"connection_id":231444,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:05:54] local.INFO: Processing buffer {"connection_id":231444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:05:54] local.INFO: Packet analysis {"connection_id":231444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:05:54] local.INFO: Extracted packet for processing {"connection_id":231444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:05:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227276544001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:05: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-05 11:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793856850000,"timestamp_ms":1793856850000,"timestamp_seconds":1793856850,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa334850"} 
[2026-11-05 11: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-05 11:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 11:05: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-05 11: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-05 11: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-05 11:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":231444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":231444,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":231444,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227276544001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227276544001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:05:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227276544001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":231444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62519,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:05:55] local.INFO: GPS data processed {"connection_id":231444,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:05:55] local.INFO: Acknowledgment sent {"connection_id":231444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:06:03] local.INFO: TCP Data received {"connection_id":231445,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:06:03] local.INFO: Processing buffer {"connection_id":231445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:06:03] local.INFO: IMEI packet received {"connection_id":231445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":231445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:06:09] local.INFO: TCP Data received {"connection_id":231445,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:06:09] local.INFO: Processing buffer {"connection_id":231445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:06:09] local.INFO: IMEI packet received {"connection_id":231445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":231445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:06:10] local.INFO: TCP Data received {"connection_id":231445,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa335fc0012d7fad0005afe048001d004529..."} 
[2026-11-05 11:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa335fc0012d7fad0005afe048001d004529..."} 
[2026-11-05 11:06:10] local.INFO: Processing buffer {"connection_id":231445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa335fc0012d7fad0005afe048001d004529..."} 
[2026-11-05 11:06:10] local.INFO: Packet analysis {"connection_id":231445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:06:10] local.INFO: Extracted packet for processing {"connection_id":231445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:06:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227278080001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793856856000,"timestamp_ms":1793856856000,"timestamp_seconds":1793856856,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa335fc0"} 
[2026-11-05 11:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:06:10] 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-05 11:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 11:06:10] 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-05 11:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:06:10] 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-05 11:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227278080001,"66":25495,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227278080001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:06:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:06:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227278080001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":231445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:06:10] local.INFO: GPS data processed {"connection_id":231445,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:06:10] local.INFO: Acknowledgment sent {"connection_id":231445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:06:26] local.INFO: TCP Data received {"connection_id":231444,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:06:26] local.INFO: Processing buffer {"connection_id":231444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:06:26] local.INFO: Packet analysis {"connection_id":231444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:06:26] local.INFO: Extracted packet for processing {"connection_id":231444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:06:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227276544001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:06: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-05 11:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793856850000,"timestamp_ms":1793856850000,"timestamp_seconds":1793856850,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa334850"} 
[2026-11-05 11:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 11:06: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-05 11:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231444,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231444,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227276544001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227276544001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:06:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227276544001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":231444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62521,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:06:26] local.INFO: GPS data processed {"connection_id":231444,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:06:26] local.INFO: Acknowledgment sent {"connection_id":231444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:06:41] local.INFO: TCP Data received {"connection_id":231445,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa335fc0012d7fad0005afe048001d004529..."} 
[2026-11-05 11:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa335fc0012d7fad0005afe048001d004529..."} 
[2026-11-05 11:06:41] local.INFO: Processing buffer {"connection_id":231445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa335fc0012d7fad0005afe048001d004529..."} 
[2026-11-05 11:06:41] local.INFO: Packet analysis {"connection_id":231445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:06:41] local.INFO: Extracted packet for processing {"connection_id":231445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:06:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227278080001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793856856000,"timestamp_ms":1793856856000,"timestamp_seconds":1793856856,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa335fc0"} 
[2026-11-05 11:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:06:41] 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-05 11:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 11:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:06:41] 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-05 11:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227278080001,"66":25495,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227278080001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:06:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:06:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227278080001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":231445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:06:41] local.INFO: GPS data processed {"connection_id":231445,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:06:41] local.INFO: Acknowledgment sent {"connection_id":231445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:06:54] local.INFO: TCP Data received {"connection_id":233337,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233337,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:06:54] local.INFO: Processing buffer {"connection_id":233337,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:06:54] local.INFO: IMEI packet received {"connection_id":233337,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":233337,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:06:59] local.INFO: TCP Data received {"connection_id":233337,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233337,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:06:59] local.INFO: Processing buffer {"connection_id":233337,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:06:59] local.INFO: IMEI packet received {"connection_id":233337,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":233337,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:07:00] local.INFO: TCP Data received {"connection_id":233337,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:07:00] local.INFO: Processing buffer {"connection_id":233337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:07:00] local.INFO: Packet analysis {"connection_id":233337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:07:00] local.INFO: Extracted packet for processing {"connection_id":233337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:07:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227276544001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:07: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-05 11:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793856850000,"timestamp_ms":1793856850000,"timestamp_seconds":1793856850,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa334850"} 
[2026-11-05 11:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 11:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:07:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":233337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":233337,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":233337,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227276544001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227276544001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:07:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227276544001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":233337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62523,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:07:00] local.INFO: GPS data processed {"connection_id":233337,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:07:00] local.INFO: Acknowledgment sent {"connection_id":233337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:07:03] local.INFO: TCP Data received {"connection_id":233338,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:07:03] local.INFO: Processing buffer {"connection_id":233338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:07:03] local.INFO: IMEI packet received {"connection_id":233338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":233338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:07:04] local.INFO: TCP Data received {"connection_id":233337,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:07:04] local.INFO: Processing buffer {"connection_id":233337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:07:04] local.INFO: Packet analysis {"connection_id":233337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:07:04] local.INFO: Extracted packet for processing {"connection_id":233337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:07:04] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227276544001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793856850000,"timestamp_ms":1793856850000,"timestamp_seconds":1793856850,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa334850"} 
[2026-11-05 11:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 11:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":233337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":233337,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":233337,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227276544001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227276544001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:07:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227276544001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":233337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62524,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:07:04] local.INFO: GPS data processed {"connection_id":233337,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:07:04] local.INFO: Acknowledgment sent {"connection_id":233337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:07:09] local.INFO: TCP Data received {"connection_id":233338,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:07:09] local.INFO: Processing buffer {"connection_id":233338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:07:09] local.INFO: IMEI packet received {"connection_id":233338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":233338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:07:09] local.INFO: TCP Data received {"connection_id":233338,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa335fc0012d7fad0005afe048001d004529..."} 
[2026-11-05 11:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa335fc0012d7fad0005afe048001d004529..."} 
[2026-11-05 11:07:09] local.INFO: Processing buffer {"connection_id":233338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa335fc0012d7fad0005afe048001d004529..."} 
[2026-11-05 11:07:09] local.INFO: Packet analysis {"connection_id":233338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:07:09] local.INFO: Extracted packet for processing {"connection_id":233338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:07:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227278080001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793856856000,"timestamp_ms":1793856856000,"timestamp_seconds":1793856856,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa335fc0"} 
[2026-11-05 11:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 11:07:09] 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-05 11:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:07:09] 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-05 11:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227278080001,"66":25495,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227278080001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:07:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227278080001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":233338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:07:09] local.INFO: GPS data processed {"connection_id":233338,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:07:09] local.INFO: Acknowledgment sent {"connection_id":233338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:07:11] local.INFO: TCP Data received {"connection_id":233337,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:07:11] local.INFO: Processing buffer {"connection_id":233337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:07:11] local.INFO: Packet analysis {"connection_id":233337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:07:11] local.INFO: Extracted packet for processing {"connection_id":233337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:07:11] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227276544001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:07:11] 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-05 11:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793856850000,"timestamp_ms":1793856850000,"timestamp_seconds":1793856850,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa334850"} 
[2026-11-05 11:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 11:07:11] 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-05 11:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233337,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233337,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227276544001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227276544001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:07:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227276544001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":233337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62526,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:07:11] local.INFO: GPS data processed {"connection_id":233337,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:07:11] local.INFO: Acknowledgment sent {"connection_id":233337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:07:31] local.INFO: TCP Data received {"connection_id":233339,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233339,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:07:31] local.INFO: Processing buffer {"connection_id":233339,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:07:31] local.INFO: IMEI packet received {"connection_id":233339,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 11:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":233339,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:07:40] local.INFO: TCP Data received {"connection_id":233338,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa335fc0012d7fad0005afe048001d004529..."} 
[2026-11-05 11:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa335fc0012d7fad0005afe048001d004529..."} 
[2026-11-05 11:07:40] local.INFO: Processing buffer {"connection_id":233338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa335fc0012d7fad0005afe048001d004529..."} 
[2026-11-05 11:07:40] local.INFO: Packet analysis {"connection_id":233338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:07:40] local.INFO: Extracted packet for processing {"connection_id":233338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:07:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227278080001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793856856000,"timestamp_ms":1793856856000,"timestamp_seconds":1793856856,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa335fc0"} 
[2026-11-05 11: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-05 11:07:40] 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-05 11:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 11:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:07:40] 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-05 11:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227278080001,"66":25495,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227278080001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:07:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:07:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227278080001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":233338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:07:40] local.INFO: GPS data processed {"connection_id":233338,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:07:40] local.INFO: Acknowledgment sent {"connection_id":233338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:07:49] local.INFO: TCP Data received {"connection_id":230123,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230123,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:07:49] local.INFO: Processing buffer {"connection_id":230123,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:07:49] local.INFO: IMEI packet received {"connection_id":230123,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":230123,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:07:54] local.INFO: TCP Data received {"connection_id":230123,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230123,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:07:54] local.INFO: Processing buffer {"connection_id":230123,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:07:54] local.INFO: IMEI packet received {"connection_id":230123,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":230123,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:07:55] local.INFO: TCP Data received {"connection_id":230123,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:07:55] local.INFO: Processing buffer {"connection_id":230123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:07:55] local.INFO: Packet analysis {"connection_id":230123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:07:55] local.INFO: Extracted packet for processing {"connection_id":230123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:07:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227276544001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:07: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-05 11:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793856850000,"timestamp_ms":1793856850000,"timestamp_seconds":1793856850,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa334850"} 
[2026-11-05 11:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 11:07: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-05 11:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230123,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230123,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227276544001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227276544001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:07:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227276544001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":230123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62528,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:07:55] local.INFO: GPS data processed {"connection_id":230123,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:07:55] local.INFO: Acknowledgment sent {"connection_id":230123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:08:03] local.INFO: TCP Data received {"connection_id":233340,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:08:03] local.INFO: Processing buffer {"connection_id":233340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:08:03] local.INFO: IMEI packet received {"connection_id":233340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":233340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:08:06] local.INFO: TCP Data received {"connection_id":231447,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231447,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:08:06] local.INFO: Processing buffer {"connection_id":231447,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:08:06] local.INFO: IMEI packet received {"connection_id":231447,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 11:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":231447,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:08:09] local.INFO: TCP Data received {"connection_id":233340,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:08:09] local.INFO: Processing buffer {"connection_id":233340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:08:09] local.INFO: IMEI packet received {"connection_id":233340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":233340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:08:10] local.INFO: TCP Data received {"connection_id":233340,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa335fc0012d7fad0005afe048001d004529..."} 
[2026-11-05 11:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa335fc0012d7fad0005afe048001d004529..."} 
[2026-11-05 11:08:10] local.INFO: Processing buffer {"connection_id":233340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa335fc0012d7fad0005afe048001d004529..."} 
[2026-11-05 11:08:10] local.INFO: Packet analysis {"connection_id":233340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:08:10] local.INFO: Extracted packet for processing {"connection_id":233340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:08:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227278080001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793856856000,"timestamp_ms":1793856856000,"timestamp_seconds":1793856856,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa335fc0"} 
[2026-11-05 11:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:08:10] 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-05 11:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 11:08:10] 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-05 11:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:08:10] 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-05 11:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227278080001,"66":25495,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227278080001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:08:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:08:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227278080001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":233340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:08:10] local.INFO: GPS data processed {"connection_id":233340,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:08:10] local.INFO: Acknowledgment sent {"connection_id":233340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:08:26] local.INFO: TCP Data received {"connection_id":230123,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:08:26] local.INFO: Processing buffer {"connection_id":230123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:08:26] local.INFO: Packet analysis {"connection_id":230123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:08:26] local.INFO: Extracted packet for processing {"connection_id":230123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:08:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227276544001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:08: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-05 11:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793856850000,"timestamp_ms":1793856850000,"timestamp_seconds":1793856850,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa334850"} 
[2026-11-05 11: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-05 11:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 11:08: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-05 11: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-05 11: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-05 11:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230123,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230123,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227276544001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227276544001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:08:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227276544001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":230123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62530,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:08:26] local.INFO: GPS data processed {"connection_id":230123,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:08:26] local.INFO: Acknowledgment sent {"connection_id":230123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:08:41] local.INFO: TCP Data received {"connection_id":233340,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa335fc0012d7fad0005afe048001d004529..."} 
[2026-11-05 11:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa335fc0012d7fad0005afe048001d004529..."} 
[2026-11-05 11:08:41] local.INFO: Processing buffer {"connection_id":233340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa335fc0012d7fad0005afe048001d004529..."} 
[2026-11-05 11:08:41] local.INFO: Packet analysis {"connection_id":233340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:08:41] local.INFO: Extracted packet for processing {"connection_id":233340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:08:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227278080001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793856856000,"timestamp_ms":1793856856000,"timestamp_seconds":1793856856,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa335fc0"} 
[2026-11-05 11: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-05 11:08:41] 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-05 11: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 11:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:08:41] 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-05 11:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227278080001,"66":25495,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227278080001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:08:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227278080001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":233340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:08:41] local.INFO: GPS data processed {"connection_id":233340,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:08:41] local.INFO: Acknowledgment sent {"connection_id":233340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:08:49] local.INFO: TCP Data received {"connection_id":231448,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231448,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:08:49] local.INFO: Processing buffer {"connection_id":231448,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:08:49] local.INFO: IMEI packet received {"connection_id":231448,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":231448,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:08:54] local.INFO: TCP Data received {"connection_id":231448,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231448,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:08:54] local.INFO: Processing buffer {"connection_id":231448,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:08:54] local.INFO: IMEI packet received {"connection_id":231448,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":231448,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:08:55] local.INFO: TCP Data received {"connection_id":231448,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:08:55] local.INFO: Processing buffer {"connection_id":231448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa334850012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:08:55] local.INFO: Packet analysis {"connection_id":231448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:08:55] local.INFO: Extracted packet for processing {"connection_id":231448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:08:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227276544001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:08: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-05 11:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793856850000,"timestamp_ms":1793856850000,"timestamp_seconds":1793856850,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa334850"} 
[2026-11-05 11:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 11:08: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-05 11:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231448,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231448,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227276544001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227276544001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:08:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227276544001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":231448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62532,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:08:55] local.INFO: GPS data processed {"connection_id":231448,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:08:55] local.INFO: Acknowledgment sent {"connection_id":231448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:09:03] local.INFO: TCP Data received {"connection_id":230124,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:09:03] local.INFO: Processing buffer {"connection_id":230124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:09:03] local.INFO: IMEI packet received {"connection_id":230124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":230124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:09:09] local.INFO: TCP Data received {"connection_id":230124,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:09:09] local.INFO: Processing buffer {"connection_id":230124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:09:09] local.INFO: IMEI packet received {"connection_id":230124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":230124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:09:10] local.INFO: TCP Data received {"connection_id":230124,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa335fc0012d7fad0005afe048001d004529..."} 
[2026-11-05 11:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa335fc0012d7fad0005afe048001d004529..."} 
[2026-11-05 11:09:10] local.INFO: Processing buffer {"connection_id":230124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa335fc0012d7fad0005afe048001d004529..."} 
[2026-11-05 11:09:10] local.INFO: Packet analysis {"connection_id":230124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:09:10] local.INFO: Extracted packet for processing {"connection_id":230124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:09:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227278080001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793856856000,"timestamp_ms":1793856856000,"timestamp_seconds":1793856856,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa335fc0"} 
[2026-11-05 11:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:09:10] 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-05 11:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 11:09:10] 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-05 11:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:09:10] 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-05 11:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227278080001,"66":25495,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227278080001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:09:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227278080001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":230124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:09:10] local.INFO: GPS data processed {"connection_id":230124,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:09:10] local.INFO: Acknowledgment sent {"connection_id":230124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:09:26] local.INFO: TCP Data received {"connection_id":231448,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa37e018012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa37e018012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:09:26] local.INFO: Processing buffer {"connection_id":231448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa37e018012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:09:26] local.INFO: Packet analysis {"connection_id":231448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:09:26] local.INFO: Extracted packet for processing {"connection_id":231448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:09:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227353600001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:09: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-05 11:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793857151000,"timestamp_ms":1793857151000,"timestamp_seconds":1793857151,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa37e018"} 
[2026-11-05 11: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-05 11:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 11:09: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-05 11: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-05 11: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-05 11:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231448,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231448,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:09:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227353600001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227353600001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:09:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227353600001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":231448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62534,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:09:26] local.INFO: GPS data processed {"connection_id":231448,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:09:26] local.INFO: Acknowledgment sent {"connection_id":231448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:09:41] local.INFO: TCP Data received {"connection_id":230124,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa335fc0012d7fad0005afe048001d004529..."} 
[2026-11-05 11:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa335fc0012d7fad0005afe048001d004529..."} 
[2026-11-05 11:09:41] local.INFO: Processing buffer {"connection_id":230124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa335fc0012d7fad0005afe048001d004529..."} 
[2026-11-05 11:09:41] local.INFO: Packet analysis {"connection_id":230124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:09:41] local.INFO: Extracted packet for processing {"connection_id":230124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa33"} 
[2026-11-05 11:09:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227278080001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793856856000,"timestamp_ms":1793856856000,"timestamp_seconds":1793856856,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa335fc0"} 
[2026-11-05 11:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:09:41] 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-05 11:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 11:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:09:41] 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-05 11:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227278080001,"66":25495,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227278080001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:09:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227278080001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":230124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:09:41] local.INFO: GPS data processed {"connection_id":230124,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:09:41] local.INFO: Acknowledgment sent {"connection_id":230124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:09:49] local.INFO: TCP Data received {"connection_id":231450,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231450,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:09:49] local.INFO: Processing buffer {"connection_id":231450,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:09:49] local.INFO: IMEI packet received {"connection_id":231450,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":231450,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:09:54] local.INFO: TCP Data received {"connection_id":231450,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231450,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:09:54] local.INFO: Processing buffer {"connection_id":231450,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:09:54] local.INFO: IMEI packet received {"connection_id":231450,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":231450,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:09:55] local.INFO: TCP Data received {"connection_id":231450,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa37e018012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa37e018012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:09:55] local.INFO: Processing buffer {"connection_id":231450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa37e018012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:09:55] local.INFO: Packet analysis {"connection_id":231450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:09:55] local.INFO: Extracted packet for processing {"connection_id":231450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:09:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227353600001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:09: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-05 11:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793857151000,"timestamp_ms":1793857151000,"timestamp_seconds":1793857151,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa37e018"} 
[2026-11-05 11:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 11:09: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-05 11:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231450,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231450,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227353600001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227353600001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:09:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227353600001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":231450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62536,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:09:55] local.INFO: GPS data processed {"connection_id":231450,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:09:55] local.INFO: Acknowledgment sent {"connection_id":231450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:10:10] local.INFO: TCP Data received {"connection_id":231451,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:10:10] local.INFO: Processing buffer {"connection_id":231451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:10:10] local.INFO: IMEI packet received {"connection_id":231451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":231451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:10:14] local.INFO: TCP Data received {"connection_id":231451,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:10:14] local.INFO: Processing buffer {"connection_id":231451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:10:14] local.INFO: IMEI packet received {"connection_id":231451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":231451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:10:15] local.INFO: TCP Data received {"connection_id":231451,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:10:15] local.INFO: Processing buffer {"connection_id":231451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:10:15] local.INFO: Packet analysis {"connection_id":231451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:10:15] local.INFO: Extracted packet for processing {"connection_id":231451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:10:15] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227355136001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793857157000,"timestamp_ms":1793857157000,"timestamp_seconds":1793857157,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa37f788"} 
[2026-11-05 11: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-05 11:10: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-05 11: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 11:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":231451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":231451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":231451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:10: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-05 11:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227355136001,"66":25473,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227355136001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:10:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:10:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227355136001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":231451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:10:15] local.INFO: GPS data processed {"connection_id":231451,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:10:15] local.INFO: Acknowledgment sent {"connection_id":231451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:10:19] local.INFO: TCP Data received {"connection_id":231451,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:10:19] local.INFO: Processing buffer {"connection_id":231451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:10:19] local.INFO: Packet analysis {"connection_id":231451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:10:19] local.INFO: Extracted packet for processing {"connection_id":231451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:10:19] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 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-05 11:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227355136001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793857157000,"timestamp_ms":1793857157000,"timestamp_seconds":1793857157,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa37f788"} 
[2026-11-05 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-05 11:10: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-05 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 11:10:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 11:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":231451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":231451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":231451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:10:19] 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-05 11:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227355136001,"66":25473,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227355136001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:10:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:10:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227355136001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":231451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:10:19] local.INFO: GPS data processed {"connection_id":231451,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:10:19] local.INFO: Acknowledgment sent {"connection_id":231451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:10:26] local.INFO: TCP Data received {"connection_id":231450,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa37e018012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa37e018012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:10:26] local.INFO: Processing buffer {"connection_id":231450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa37e018012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:10:26] local.INFO: Packet analysis {"connection_id":231450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:10:26] local.INFO: Extracted packet for processing {"connection_id":231450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:10:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227353600001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:10: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-05 11:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793857151000,"timestamp_ms":1793857151000,"timestamp_seconds":1793857151,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa37e018"} 
[2026-11-05 11:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:10:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 11:10: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-05 11:10:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231450,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231450,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:10:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227353600001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227353600001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:10:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227353600001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":231450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62539,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:10:26] local.INFO: GPS data processed {"connection_id":231450,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:10:26] local.INFO: Acknowledgment sent {"connection_id":231450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:10:49] local.INFO: TCP Data received {"connection_id":230125,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230125,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:10:49] local.INFO: Processing buffer {"connection_id":230125,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:10:49] local.INFO: IMEI packet received {"connection_id":230125,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":230125,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:10:54] local.INFO: TCP Data received {"connection_id":230125,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230125,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:10:54] local.INFO: Processing buffer {"connection_id":230125,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:10:54] local.INFO: IMEI packet received {"connection_id":230125,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":230125,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:10:55] local.INFO: TCP Data received {"connection_id":230125,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa37e018012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa37e018012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:10:55] local.INFO: Processing buffer {"connection_id":230125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa37e018012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:10:55] local.INFO: Packet analysis {"connection_id":230125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:10:55] local.INFO: Extracted packet for processing {"connection_id":230125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:10:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227353600001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:10: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-05 11:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793857151000,"timestamp_ms":1793857151000,"timestamp_seconds":1793857151,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa37e018"} 
[2026-11-05 11:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 11:10: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-05 11:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230125,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230125,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227353600001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227353600001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:10:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227353600001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":230125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62540,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:10:55] local.INFO: GPS data processed {"connection_id":230125,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:10:55] local.INFO: Acknowledgment sent {"connection_id":230125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:11:09] local.INFO: TCP Data received {"connection_id":231452,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:11:09] local.INFO: Processing buffer {"connection_id":231452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:11:09] local.INFO: IMEI packet received {"connection_id":231452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":231452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:11:09] local.INFO: TCP Data received {"connection_id":231452,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:11:09] local.INFO: Processing buffer {"connection_id":231452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:11:09] local.INFO: IMEI packet received {"connection_id":231452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":231452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:11:10] local.INFO: TCP Data received {"connection_id":231452,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:11:10] local.INFO: Processing buffer {"connection_id":231452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:11:10] local.INFO: Packet analysis {"connection_id":231452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:11:10] local.INFO: Extracted packet for processing {"connection_id":231452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:11:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227355136001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793857157000,"timestamp_ms":1793857157000,"timestamp_seconds":1793857157,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa37f788"} 
[2026-11-05 11:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 11:11:10] 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-05 11:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:11:10] 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-05 11:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227355136001,"66":25473,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227355136001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:11:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227355136001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":231452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:11:10] local.INFO: GPS data processed {"connection_id":231452,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:11:10] local.INFO: Acknowledgment sent {"connection_id":231452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:11:14] local.INFO: TCP Data received {"connection_id":231452,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:11:14] local.INFO: Processing buffer {"connection_id":231452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:11:14] local.INFO: Packet analysis {"connection_id":231452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:11:14] local.INFO: Extracted packet for processing {"connection_id":231452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:11:14] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227355136001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793857157000,"timestamp_ms":1793857157000,"timestamp_seconds":1793857157,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa37f788"} 
[2026-11-05 11:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:11: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-05 11:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 11:11:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":231452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":231452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":231452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:11: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-05 11:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227355136001,"66":25473,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227355136001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:11:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:11:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227355136001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":231452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:11:14] local.INFO: GPS data processed {"connection_id":231452,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:11:14] local.INFO: Acknowledgment sent {"connection_id":231452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:11:26] local.INFO: TCP Data received {"connection_id":230125,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa37e018012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa37e018012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:11:26] local.INFO: Processing buffer {"connection_id":230125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa37e018012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:11:26] local.INFO: Packet analysis {"connection_id":230125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:11:26] local.INFO: Extracted packet for processing {"connection_id":230125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:11:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227353600001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:11: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-05 11:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793857151000,"timestamp_ms":1793857151000,"timestamp_seconds":1793857151,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa37e018"} 
[2026-11-05 11: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-05 11:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 11:11: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-05 11: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-05 11: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-05 11:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230125,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230125,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227353600001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227353600001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:11:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227353600001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":230125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62543,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:11:27] local.INFO: GPS data processed {"connection_id":230125,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:11:27] local.INFO: Acknowledgment sent {"connection_id":230125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:11:45] local.INFO: TCP Data received {"connection_id":231452,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:11:45] local.INFO: Processing buffer {"connection_id":231452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:11:45] local.INFO: Packet analysis {"connection_id":231452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:11:45] local.INFO: Extracted packet for processing {"connection_id":231452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:11:45] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227355136001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793857157000,"timestamp_ms":1793857157000,"timestamp_seconds":1793857157,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa37f788"} 
[2026-11-05 11:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:11: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-05 11:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 11:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":231452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":231452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":231452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:11: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-05 11:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227355136001,"66":25473,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227355136001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:11:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:11:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227355136001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":231452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:11:45] local.INFO: GPS data processed {"connection_id":231452,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:11:45] local.INFO: Acknowledgment sent {"connection_id":231452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:11:54] local.INFO: TCP Data received {"connection_id":233341,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233341,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:11:54] local.INFO: Processing buffer {"connection_id":233341,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:11:54] local.INFO: IMEI packet received {"connection_id":233341,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":233341,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:11:59] local.INFO: TCP Data received {"connection_id":233341,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233341,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:11:59] local.INFO: Processing buffer {"connection_id":233341,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:11:59] local.INFO: IMEI packet received {"connection_id":233341,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":233341,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:12:00] local.INFO: TCP Data received {"connection_id":233341,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa37e018012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa37e018012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:12:00] local.INFO: Processing buffer {"connection_id":233341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa37e018012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:12:00] local.INFO: Packet analysis {"connection_id":233341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:12:00] local.INFO: Extracted packet for processing {"connection_id":233341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:12:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227353600001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:12: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-05 11:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793857151000,"timestamp_ms":1793857151000,"timestamp_seconds":1793857151,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa37e018"} 
[2026-11-05 11: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-05 11:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 11:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":233341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":233341,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":233341,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227353600001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227353600001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:12:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227353600001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":233341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62545,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:12:00] local.INFO: GPS data processed {"connection_id":233341,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:12:00] local.INFO: Acknowledgment sent {"connection_id":233341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:12:03] local.INFO: TCP Data received {"connection_id":231454,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:12:03] local.INFO: Processing buffer {"connection_id":231454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:12:03] local.INFO: IMEI packet received {"connection_id":231454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":231454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:12:09] local.INFO: TCP Data received {"connection_id":231454,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:12:09] local.INFO: Processing buffer {"connection_id":231454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:12:09] local.INFO: IMEI packet received {"connection_id":231454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":231454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:12:09] local.INFO: TCP Data received {"connection_id":231454,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:12:09] local.INFO: Processing buffer {"connection_id":231454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:12:09] local.INFO: Packet analysis {"connection_id":231454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:12:09] local.INFO: Extracted packet for processing {"connection_id":231454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:12:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227355136001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793857157000,"timestamp_ms":1793857157000,"timestamp_seconds":1793857157,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa37f788"} 
[2026-11-05 11:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 11:12:09] 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-05 11:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:12: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-05 11:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227355136001,"66":25473,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227355136001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:12:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:12:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227355136001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":231454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:12:09] local.INFO: GPS data processed {"connection_id":231454,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:12:09] local.INFO: Acknowledgment sent {"connection_id":231454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:12:31] local.INFO: TCP Data received {"connection_id":233341,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa37e018012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa37e018012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:12:31] local.INFO: Processing buffer {"connection_id":233341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa37e018012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:12:31] local.INFO: Packet analysis {"connection_id":233341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:12:31] local.INFO: Extracted packet for processing {"connection_id":233341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:12:31] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227353600001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793857151000,"timestamp_ms":1793857151000,"timestamp_seconds":1793857151,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa37e018"} 
[2026-11-05 11:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 11:12:31] 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-05 11:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":233341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":233341,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":233341,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227353600001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227353600001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:12:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227353600001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":233341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62547,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:12:31] local.INFO: GPS data processed {"connection_id":233341,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:12:31] local.INFO: Acknowledgment sent {"connection_id":233341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:12:41] local.INFO: TCP Data received {"connection_id":231454,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:12:41] local.INFO: Processing buffer {"connection_id":231454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:12:41] local.INFO: Packet analysis {"connection_id":231454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:12:41] local.INFO: Extracted packet for processing {"connection_id":231454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:12:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227355136001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793857157000,"timestamp_ms":1793857157000,"timestamp_seconds":1793857157,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa37f788"} 
[2026-11-05 11:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 11:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11: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-05 11:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227355136001,"66":25473,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227355136001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:12:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:12:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227355136001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":231454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:12:41] local.INFO: GPS data processed {"connection_id":231454,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:12:41] local.INFO: Acknowledgment sent {"connection_id":231454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:12:49] local.INFO: TCP Data received {"connection_id":230127,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230127,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:12:49] local.INFO: Processing buffer {"connection_id":230127,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:12:49] local.INFO: IMEI packet received {"connection_id":230127,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":230127,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:12:53] local.INFO: TCP Data received {"connection_id":230127,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230127,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:12:54] local.INFO: Processing buffer {"connection_id":230127,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:12:54] local.INFO: IMEI packet received {"connection_id":230127,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":230127,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:12:55] local.INFO: TCP Data received {"connection_id":230127,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa37e018012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa37e018012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:12:55] local.INFO: Processing buffer {"connection_id":230127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa37e018012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:12:55] local.INFO: Packet analysis {"connection_id":230127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:12:55] local.INFO: Extracted packet for processing {"connection_id":230127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:12:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227353600001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:12: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-05 11:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793857151000,"timestamp_ms":1793857151000,"timestamp_seconds":1793857151,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa37e018"} 
[2026-11-05 11: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-05 11:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 11:12: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-05 11: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-05 11: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-05 11:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230127,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230127,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227353600001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227353600001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:12:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227353600001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":230127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62549,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:12:55] local.INFO: GPS data processed {"connection_id":230127,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:12:55] local.INFO: Acknowledgment sent {"connection_id":230127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:13:09] local.INFO: TCP Data received {"connection_id":229604,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:13:09] local.INFO: Processing buffer {"connection_id":229604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:13:09] local.INFO: IMEI packet received {"connection_id":229604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":229604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:13:14] local.INFO: TCP Data received {"connection_id":229604,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:13:14] local.INFO: Processing buffer {"connection_id":229604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:13:14] local.INFO: IMEI packet received {"connection_id":229604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":229604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:13:15] local.INFO: TCP Data received {"connection_id":229604,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:13:15] local.INFO: Processing buffer {"connection_id":229604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:13:15] local.INFO: Packet analysis {"connection_id":229604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:13:15] local.INFO: Extracted packet for processing {"connection_id":229604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:13:15] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227355136001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793857157000,"timestamp_ms":1793857157000,"timestamp_seconds":1793857157,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa37f788"} 
[2026-11-05 11: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-05 11:13: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-05 11: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 11:13:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:13: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-05 11:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227355136001,"66":25473,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227355136001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:13:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:13:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227355136001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:13: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":62550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:13:15] local.INFO: GPS data processed {"connection_id":229604,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:13:15] local.INFO: Acknowledgment sent {"connection_id":229604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:13:19] local.INFO: TCP Data received {"connection_id":229604,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:13:19] local.INFO: Processing buffer {"connection_id":229604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:13:19] local.INFO: Packet analysis {"connection_id":229604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:13:19] local.INFO: Extracted packet for processing {"connection_id":229604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:13:19] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227355136001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793857157000,"timestamp_ms":1793857157000,"timestamp_seconds":1793857157,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa37f788"} 
[2026-11-05 11:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:13: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-05 11:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 11:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11: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-05 11:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227355136001,"66":25473,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227355136001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:13:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:13:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227355136001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:13:19] 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":62551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:13:19] local.INFO: GPS data processed {"connection_id":229604,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:13:19] local.INFO: Acknowledgment sent {"connection_id":229604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:13:28] local.INFO: TCP Data received {"connection_id":230127,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa37e018012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa37e018012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:13:28] local.INFO: Processing buffer {"connection_id":230127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa37e018012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:13:28] local.INFO: Packet analysis {"connection_id":230127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:13:28] local.INFO: Extracted packet for processing {"connection_id":230127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:13:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227353600001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:13: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-05 11:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1793857151000,"timestamp_ms":1793857151000,"timestamp_seconds":1793857151,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa37e018"} 
[2026-11-05 11:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 11:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:13:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":230127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":230127,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":230127,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227353600001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227353600001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:13:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227353600001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":230127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62552,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:13:28] local.INFO: GPS data processed {"connection_id":230127,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:13:28] local.INFO: Acknowledgment sent {"connection_id":230127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:13:36] local.INFO: TCP Data received {"connection_id":229605,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:13:36] local.INFO: Processing buffer {"connection_id":229605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:13:36] local.INFO: IMEI packet received {"connection_id":229605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 11:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":229605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:13:49] local.INFO: TCP Data received {"connection_id":231455,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231455,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:13:49] local.INFO: Processing buffer {"connection_id":231455,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:13:49] local.INFO: IMEI packet received {"connection_id":231455,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":231455,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:13:54] local.INFO: TCP Data received {"connection_id":231455,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231455,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:13:54] local.INFO: Processing buffer {"connection_id":231455,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:13:54] local.INFO: IMEI packet received {"connection_id":231455,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":231455,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:13:54] local.INFO: TCP Data received {"connection_id":231455,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa37e018012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa37e018012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:13:54] local.INFO: Processing buffer {"connection_id":231455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa37e018012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:13:54] local.INFO: Packet analysis {"connection_id":231455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:13:54] local.INFO: Extracted packet for processing {"connection_id":231455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:13:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227353600001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:13: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-05 11:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793857151000,"timestamp_ms":1793857151000,"timestamp_seconds":1793857151,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa37e018"} 
[2026-11-05 11:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 11:13: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-05 11:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":231455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":231455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":231455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227353600001,"66":12722,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227353600001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:13:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227353600001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":231455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62553,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:13:55] local.INFO: GPS data processed {"connection_id":231455,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:13:55] local.INFO: Acknowledgment sent {"connection_id":231455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:14:04] local.INFO: TCP Data received {"connection_id":233342,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:14:04] local.INFO: Processing buffer {"connection_id":233342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:14:04] local.INFO: IMEI packet received {"connection_id":233342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":233342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:14:09] local.INFO: TCP Data received {"connection_id":233342,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:14:09] local.INFO: Processing buffer {"connection_id":233342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:14:09] local.INFO: IMEI packet received {"connection_id":233342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":233342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:14:09] local.INFO: TCP Data received {"connection_id":233342,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:14:09] local.INFO: Processing buffer {"connection_id":233342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:14:09] local.INFO: Packet analysis {"connection_id":233342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:14:09] local.INFO: Extracted packet for processing {"connection_id":233342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:14:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227355136001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793857157000,"timestamp_ms":1793857157000,"timestamp_seconds":1793857157,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa37f788"} 
[2026-11-05 11:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 11:14:09] 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-05 11:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:14:09] 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-05 11:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227355136001,"66":25473,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227355136001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:14:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:14:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227355136001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":233342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:14:10] local.INFO: GPS data processed {"connection_id":233342,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:14:10] local.INFO: Acknowledgment sent {"connection_id":233342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:14:11] local.INFO: TCP Data received {"connection_id":233343,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233343,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:14:11] local.INFO: Processing buffer {"connection_id":233343,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:14:11] local.INFO: IMEI packet received {"connection_id":233343,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 11:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":233343,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:14:26] local.INFO: TCP Data received {"connection_id":231455,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa3c77e0012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa3c77e0012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:14:26] local.INFO: Processing buffer {"connection_id":231455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa3c77e0012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:14:26] local.INFO: Packet analysis {"connection_id":231455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:14:26] local.INFO: Extracted packet for processing {"connection_id":231455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:14:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227430656001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:14: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-05 11:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793857452000,"timestamp_ms":1793857452000,"timestamp_seconds":1793857452,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa3c77e0"} 
[2026-11-05 11:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 11:14: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-05 11:14:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227430656001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227430656001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:14:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227430656001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":231455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62555,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:14:26] local.INFO: GPS data processed {"connection_id":231455,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:14:26] local.INFO: Acknowledgment sent {"connection_id":231455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:14:40] local.INFO: TCP Data received {"connection_id":233342,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:14:40] local.INFO: Processing buffer {"connection_id":233342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa37f788012d7fad0005afe048001d004526..."} 
[2026-11-05 11:14:40] local.INFO: Packet analysis {"connection_id":233342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:14:40] local.INFO: Extracted packet for processing {"connection_id":233342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa37"} 
[2026-11-05 11:14:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227355136001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793857157000,"timestamp_ms":1793857157000,"timestamp_seconds":1793857157,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa37f788"} 
[2026-11-05 11:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:14: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-05 11:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 11:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:14:40] 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-05 11:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227355136001,"66":25473,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227355136001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:14:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:14:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227355136001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":233342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:14:41] local.INFO: GPS data processed {"connection_id":233342,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:14:41] local.INFO: Acknowledgment sent {"connection_id":233342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:14:49] local.INFO: TCP Data received {"connection_id":230128,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230128,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:14:49] local.INFO: Processing buffer {"connection_id":230128,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:14:49] local.INFO: IMEI packet received {"connection_id":230128,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":230128,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:14:54] local.INFO: TCP Data received {"connection_id":230128,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230128,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:14:54] local.INFO: Processing buffer {"connection_id":230128,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:14:54] local.INFO: IMEI packet received {"connection_id":230128,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":230128,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:14:55] local.INFO: TCP Data received {"connection_id":230128,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa3c77e0012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa3c77e0012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:14:55] local.INFO: Processing buffer {"connection_id":230128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa3c77e0012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:14:55] local.INFO: Packet analysis {"connection_id":230128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:14:55] local.INFO: Extracted packet for processing {"connection_id":230128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:14:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227430656001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:14: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-05 11:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793857452000,"timestamp_ms":1793857452000,"timestamp_seconds":1793857452,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa3c77e0"} 
[2026-11-05 11:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 11:14: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-05 11:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230128,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230128,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227430656001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227430656001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:14:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227430656001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":230128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62557,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:14:55] local.INFO: GPS data processed {"connection_id":230128,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:14:55] local.INFO: Acknowledgment sent {"connection_id":230128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:15:04] local.INFO: TCP Data received {"connection_id":231456,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:15:04] local.INFO: Processing buffer {"connection_id":231456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:15:04] local.INFO: IMEI packet received {"connection_id":231456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":231456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:15:09] local.INFO: TCP Data received {"connection_id":231456,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:15:09] local.INFO: Processing buffer {"connection_id":231456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:15:09] local.INFO: IMEI packet received {"connection_id":231456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":231456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:15:10] local.INFO: TCP Data received {"connection_id":231456,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa3c8f50012d7fad0005afe048001d00452a..."} 
[2026-11-05 11:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa3c8f50012d7fad0005afe048001d00452a..."} 
[2026-11-05 11:15:10] local.INFO: Processing buffer {"connection_id":231456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa3c8f50012d7fad0005afe048001d00452a..."} 
[2026-11-05 11:15:10] local.INFO: Packet analysis {"connection_id":231456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:15:10] local.INFO: Extracted packet for processing {"connection_id":231456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:15:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":42,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227432192001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793857458000,"timestamp_ms":1793857458000,"timestamp_seconds":1793857458,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa3c8f50"} 
[2026-11-05 11:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 11:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:15:10] 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-05 11:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227432192001,"66":25495,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227432192001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:15:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:15:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227432192001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":231456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:15:10] local.INFO: GPS data processed {"connection_id":231456,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:15:10] local.INFO: Acknowledgment sent {"connection_id":231456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:15:26] local.INFO: TCP Data received {"connection_id":230128,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa3c77e0012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa3c77e0012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:15:26] local.INFO: Processing buffer {"connection_id":230128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa3c77e0012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:15:26] local.INFO: Packet analysis {"connection_id":230128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:15:26] local.INFO: Extracted packet for processing {"connection_id":230128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:15:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227430656001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:15: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-05 11:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793857452000,"timestamp_ms":1793857452000,"timestamp_seconds":1793857452,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa3c77e0"} 
[2026-11-05 11:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:15:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 11:15: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-05 11:15:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230128,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230128,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:15:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227430656001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227430656001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:15:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227430656001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":230128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62559,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:15:26] local.INFO: GPS data processed {"connection_id":230128,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:15:26] local.INFO: Acknowledgment sent {"connection_id":230128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:15:41] local.INFO: TCP Data received {"connection_id":231456,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa3c8f50012d7fad0005afe048001d00452a..."} 
[2026-11-05 11:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa3c8f50012d7fad0005afe048001d00452a..."} 
[2026-11-05 11:15:41] local.INFO: Processing buffer {"connection_id":231456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa3c8f50012d7fad0005afe048001d00452a..."} 
[2026-11-05 11:15:41] local.INFO: Packet analysis {"connection_id":231456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:15:41] local.INFO: Extracted packet for processing {"connection_id":231456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:15:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":42,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227432192001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793857458000,"timestamp_ms":1793857458000,"timestamp_seconds":1793857458,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa3c8f50"} 
[2026-11-05 11:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 11:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:15: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-05 11:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227432192001,"66":25495,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227432192001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:15:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:15:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227432192001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":231456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:15:41] local.INFO: GPS data processed {"connection_id":231456,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:15:41] local.INFO: Acknowledgment sent {"connection_id":231456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:15:49] local.INFO: TCP Data received {"connection_id":233345,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233345,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:15:49] local.INFO: Processing buffer {"connection_id":233345,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:15:49] local.INFO: IMEI packet received {"connection_id":233345,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":233345,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:15:54] local.INFO: TCP Data received {"connection_id":233345,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233345,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:15:54] local.INFO: Processing buffer {"connection_id":233345,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:15:54] local.INFO: IMEI packet received {"connection_id":233345,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":233345,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:15:54] local.INFO: TCP Data received {"connection_id":233345,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa3c77e0012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa3c77e0012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:15:54] local.INFO: Processing buffer {"connection_id":233345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa3c77e0012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:15:54] local.INFO: Packet analysis {"connection_id":233345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:15:54] local.INFO: Extracted packet for processing {"connection_id":233345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:15:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227430656001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:15: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-05 11:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793857452000,"timestamp_ms":1793857452000,"timestamp_seconds":1793857452,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa3c77e0"} 
[2026-11-05 11:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 11:15: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-05 11:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":233345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":233345,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":233345,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227430656001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227430656001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:15:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227430656001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":233345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62561,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:15:55] local.INFO: GPS data processed {"connection_id":233345,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:15:55] local.INFO: Acknowledgment sent {"connection_id":233345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:16:03] local.INFO: TCP Data received {"connection_id":229606,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:16:03] local.INFO: Processing buffer {"connection_id":229606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:16:03] local.INFO: IMEI packet received {"connection_id":229606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":229606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:16:09] local.INFO: TCP Data received {"connection_id":229606,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:16:09] local.INFO: Processing buffer {"connection_id":229606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:16:09] local.INFO: IMEI packet received {"connection_id":229606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":229606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:16:10] local.INFO: TCP Data received {"connection_id":229606,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa3c8f50012d7fad0005afe048001d00452a..."} 
[2026-11-05 11:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa3c8f50012d7fad0005afe048001d00452a..."} 
[2026-11-05 11:16:10] local.INFO: Processing buffer {"connection_id":229606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa3c8f50012d7fad0005afe048001d00452a..."} 
[2026-11-05 11:16:10] local.INFO: Packet analysis {"connection_id":229606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:16:10] local.INFO: Extracted packet for processing {"connection_id":229606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:16:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":42,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227432192001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793857458000,"timestamp_ms":1793857458000,"timestamp_seconds":1793857458,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa3c8f50"} 
[2026-11-05 11:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 11:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:16:10] 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-05 11:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227432192001,"66":25495,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227432192001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:16:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227432192001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:16:10] 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":62562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:16:10] local.INFO: GPS data processed {"connection_id":229606,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:16:10] local.INFO: Acknowledgment sent {"connection_id":229606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:16:26] local.INFO: TCP Data received {"connection_id":233345,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa3c77e0012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa3c77e0012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:16:26] local.INFO: Processing buffer {"connection_id":233345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa3c77e0012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:16:26] local.INFO: Packet analysis {"connection_id":233345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:16:26] local.INFO: Extracted packet for processing {"connection_id":233345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:16:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227430656001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:16: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-05 11:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793857452000,"timestamp_ms":1793857452000,"timestamp_seconds":1793857452,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa3c77e0"} 
[2026-11-05 11: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-05 11:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 11:16: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-05 11: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-05 11: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-05 11:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233345,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233345,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227430656001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227430656001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:16:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227430656001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":233345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62563,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:16:26] local.INFO: GPS data processed {"connection_id":233345,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:16:26] local.INFO: Acknowledgment sent {"connection_id":233345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:16:41] local.INFO: TCP Data received {"connection_id":229606,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa3c8f50012d7fad0005afe048001d00452a..."} 
[2026-11-05 11:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa3c8f50012d7fad0005afe048001d00452a..."} 
[2026-11-05 11:16:41] local.INFO: Processing buffer {"connection_id":229606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa3c8f50012d7fad0005afe048001d00452a..."} 
[2026-11-05 11:16:41] local.INFO: Packet analysis {"connection_id":229606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:16:41] local.INFO: Extracted packet for processing {"connection_id":229606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:16:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":42,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227432192001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793857458000,"timestamp_ms":1793857458000,"timestamp_seconds":1793857458,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa3c8f50"} 
[2026-11-05 11:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 11:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:16:41] 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-05 11:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227432192001,"66":25495,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227432192001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:16:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:16:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227432192001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:16:41] 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":62564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:16:41] local.INFO: GPS data processed {"connection_id":229606,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:16:41] local.INFO: Acknowledgment sent {"connection_id":229606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:16:54] local.INFO: TCP Data received {"connection_id":231457,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231457,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:16:54] local.INFO: Processing buffer {"connection_id":231457,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:16:54] local.INFO: IMEI packet received {"connection_id":231457,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":231457,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:16:59] local.INFO: TCP Data received {"connection_id":231457,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231457,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:16:59] local.INFO: Processing buffer {"connection_id":231457,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:16:59] local.INFO: IMEI packet received {"connection_id":231457,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":231457,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:17:00] local.INFO: TCP Data received {"connection_id":231457,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa3c77e0012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa3c77e0012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:17:00] local.INFO: Processing buffer {"connection_id":231457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa3c77e0012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:17:00] local.INFO: Packet analysis {"connection_id":231457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:17:00] local.INFO: Extracted packet for processing {"connection_id":231457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:17:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227430656001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:17: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-05 11:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793857452000,"timestamp_ms":1793857452000,"timestamp_seconds":1793857452,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa3c77e0"} 
[2026-11-05 11:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 11:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":231457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":231457,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":231457,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227430656001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227430656001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:17:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227430656001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":231457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62565,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:17:00] local.INFO: GPS data processed {"connection_id":231457,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:17:00] local.INFO: Acknowledgment sent {"connection_id":231457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:17:03] local.INFO: TCP Data received {"connection_id":231458,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:17:03] local.INFO: Processing buffer {"connection_id":231458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:17:03] local.INFO: IMEI packet received {"connection_id":231458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":231458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:17:04] local.INFO: TCP Data received {"connection_id":231457,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa3c77e0012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa3c77e0012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:17:04] local.INFO: Processing buffer {"connection_id":231457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa3c77e0012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:17:04] local.INFO: Packet analysis {"connection_id":231457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:17:04] local.INFO: Extracted packet for processing {"connection_id":231457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:17:04] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227430656001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793857452000,"timestamp_ms":1793857452000,"timestamp_seconds":1793857452,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa3c77e0"} 
[2026-11-05 11:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 11:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":231457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":231457,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":231457,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227430656001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227430656001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:17:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227430656001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":231457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62566,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:17:05] local.INFO: GPS data processed {"connection_id":231457,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:17:05] local.INFO: Acknowledgment sent {"connection_id":231457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:17:12] local.INFO: TCP Data received {"connection_id":231458,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:17:12] local.INFO: Processing buffer {"connection_id":231458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:17:12] local.INFO: IMEI packet received {"connection_id":231458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":231458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:17:12] local.INFO: TCP Data received {"connection_id":231458,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa3c8f50012d7fad0005afe048001d00452a..."} 
[2026-11-05 11:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa3c8f50012d7fad0005afe048001d00452a..."} 
[2026-11-05 11:17:12] local.INFO: Processing buffer {"connection_id":231458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa3c8f50012d7fad0005afe048001d00452a..."} 
[2026-11-05 11:17:12] local.INFO: Packet analysis {"connection_id":231458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:17:12] local.INFO: Extracted packet for processing {"connection_id":231458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:17:12] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":42,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227432192001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793857458000,"timestamp_ms":1793857458000,"timestamp_seconds":1793857458,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa3c8f50"} 
[2026-11-05 11:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11: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-05 11:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 11:17: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-05 11:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:17: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-05 11:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227432192001,"66":25495,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227432192001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:17:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:17:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227432192001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":231458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:17:12] local.INFO: GPS data processed {"connection_id":231458,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:17:12] local.INFO: Acknowledgment sent {"connection_id":231458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:17:43] local.INFO: TCP Data received {"connection_id":231458,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa3c8f50012d7fad0005afe048001d00452a..."} 
[2026-11-05 11:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa3c8f50012d7fad0005afe048001d00452a..."} 
[2026-11-05 11:17:43] local.INFO: Processing buffer {"connection_id":231458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa3c8f50012d7fad0005afe048001d00452a..."} 
[2026-11-05 11:17:43] local.INFO: Packet analysis {"connection_id":231458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:17:43] local.INFO: Extracted packet for processing {"connection_id":231458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:17:43] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":42,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227432192001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793857458000,"timestamp_ms":1793857458000,"timestamp_seconds":1793857458,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa3c8f50"} 
[2026-11-05 11: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-05 11:17: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-05 11: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":129,"data_length":795,"current_offset":136} 
[2026-11-05 11:17: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-05 11: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-05 11: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-05 11:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:17: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-05 11:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227432192001,"66":25495,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227432192001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:17:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:17:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227432192001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":231458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:17:43] local.INFO: GPS data processed {"connection_id":231458,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:17:43] local.INFO: Acknowledgment sent {"connection_id":231458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:17:49] local.INFO: TCP Data received {"connection_id":233348,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233348,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:17:49] local.INFO: Processing buffer {"connection_id":233348,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:17:49] local.INFO: IMEI packet received {"connection_id":233348,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":233348,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:17:54] local.INFO: TCP Data received {"connection_id":233348,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233348,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:17:54] local.INFO: Processing buffer {"connection_id":233348,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:17:54] local.INFO: IMEI packet received {"connection_id":233348,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":233348,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:17:54] local.INFO: TCP Data received {"connection_id":233348,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa3c77e0012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa3c77e0012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:17:54] local.INFO: Processing buffer {"connection_id":233348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa3c77e0012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:17:54] local.INFO: Packet analysis {"connection_id":233348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:17:54] local.INFO: Extracted packet for processing {"connection_id":233348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:17:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227430656001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:17: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-05 11:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793857452000,"timestamp_ms":1793857452000,"timestamp_seconds":1793857452,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa3c77e0"} 
[2026-11-05 11:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:17:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 11:17: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-05 11:17:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":233348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":233348,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":233348,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:17:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227430656001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227430656001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:17:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227430656001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":233348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62569,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:17:55] local.INFO: GPS data processed {"connection_id":233348,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:17:55] local.INFO: Acknowledgment sent {"connection_id":233348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:18:09] local.INFO: TCP Data received {"connection_id":233350,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:18:09] local.INFO: Processing buffer {"connection_id":233350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:18:09] local.INFO: IMEI packet received {"connection_id":233350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":233350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:18:14] local.INFO: TCP Data received {"connection_id":233350,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:18:14] local.INFO: Processing buffer {"connection_id":233350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:18:14] local.INFO: IMEI packet received {"connection_id":233350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":233350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:18:14] local.INFO: TCP Data received {"connection_id":233350,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa3c8f50012d7fad0005afe048001d00452a..."} 
[2026-11-05 11:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa3c8f50012d7fad0005afe048001d00452a..."} 
[2026-11-05 11:18:14] local.INFO: Processing buffer {"connection_id":233350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa3c8f50012d7fad0005afe048001d00452a..."} 
[2026-11-05 11:18:14] local.INFO: Packet analysis {"connection_id":233350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:18:14] local.INFO: Extracted packet for processing {"connection_id":233350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:18:14] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":42,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227432192001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793857458000,"timestamp_ms":1793857458000,"timestamp_seconds":1793857458,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa3c8f50"} 
[2026-11-05 11:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:18: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-05 11:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 11:18:14] 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-05 11:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:18: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-05 11:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227432192001,"66":25495,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227432192001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:18:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:18:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227432192001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":233350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:18:14] local.INFO: GPS data processed {"connection_id":233350,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:18:14] local.INFO: Acknowledgment sent {"connection_id":233350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:18:19] local.INFO: TCP Data received {"connection_id":233350,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa3c8f50012d7fad0005afe048001d00452a..."} 
[2026-11-05 11:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa3c8f50012d7fad0005afe048001d00452a..."} 
[2026-11-05 11:18:19] local.INFO: Processing buffer {"connection_id":233350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa3c8f50012d7fad0005afe048001d00452a..."} 
[2026-11-05 11:18:19] local.INFO: Packet analysis {"connection_id":233350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:18:19] local.INFO: Extracted packet for processing {"connection_id":233350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:18:19] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":42,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227432192001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793857458000,"timestamp_ms":1793857458000,"timestamp_seconds":1793857458,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa3c8f50"} 
[2026-11-05 11: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-05 11: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-05 11:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 11:18:19] 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-05 11: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-05 11: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-05 11:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":233350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":233350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":233350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:18: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-05 11:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227432192001,"66":25495,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227432192001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:18:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:18:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227432192001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":233350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:18:19] local.INFO: GPS data processed {"connection_id":233350,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:18:19] local.INFO: Acknowledgment sent {"connection_id":233350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:18:26] local.INFO: TCP Data received {"connection_id":233348,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa3c77e0012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa3c77e0012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:18:26] local.INFO: Processing buffer {"connection_id":233348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa3c77e0012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:18:26] local.INFO: Packet analysis {"connection_id":233348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:18:26] local.INFO: Extracted packet for processing {"connection_id":233348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:18:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227430656001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:18: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-05 11:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793857452000,"timestamp_ms":1793857452000,"timestamp_seconds":1793857452,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa3c77e0"} 
[2026-11-05 11: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-05 11:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-05 11:18: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-05 11: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-05 11: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-05 11:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233348,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233348,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227430656001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227430656001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:18:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227430656001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":233348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62572,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:18:26] local.INFO: GPS data processed {"connection_id":233348,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:18:26] local.INFO: Acknowledgment sent {"connection_id":233348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:18:49] local.INFO: TCP Data received {"connection_id":229607,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229607,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:18:49] local.INFO: Processing buffer {"connection_id":229607,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:18:49] local.INFO: IMEI packet received {"connection_id":229607,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":229607,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:18:54] local.INFO: TCP Data received {"connection_id":229607,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229607,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:18:54] local.INFO: Processing buffer {"connection_id":229607,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:18:54] local.INFO: IMEI packet received {"connection_id":229607,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":229607,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:18:55] local.INFO: TCP Data received {"connection_id":229607,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa3c77e0012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa3c77e0012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:18:55] local.INFO: Processing buffer {"connection_id":229607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa3c77e0012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:18:55] local.INFO: Packet analysis {"connection_id":229607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:18:55] local.INFO: Extracted packet for processing {"connection_id":229607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:18:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227430656001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:18: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-05 11:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793857452000,"timestamp_ms":1793857452000,"timestamp_seconds":1793857452,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa3c77e0"} 
[2026-11-05 11: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-05 11:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11: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-05 11: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-05 11: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-05 11:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229607,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229607,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227430656001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227430656001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:18:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227430656001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:18:55] 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":62573,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:18:55] local.INFO: GPS data processed {"connection_id":229607,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:18:55] local.INFO: Acknowledgment sent {"connection_id":229607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:19:04] local.INFO: TCP Data received {"connection_id":233351,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:19:04] local.INFO: Processing buffer {"connection_id":233351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:19:04] local.INFO: IMEI packet received {"connection_id":233351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":233351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:19:09] local.INFO: TCP Data received {"connection_id":233351,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:19:09] local.INFO: Processing buffer {"connection_id":233351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:19:09] local.INFO: IMEI packet received {"connection_id":233351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":233351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:19:10] local.INFO: TCP Data received {"connection_id":233351,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa3c8f50012d7fad0005afe048001d00452a..."} 
[2026-11-05 11:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa3c8f50012d7fad0005afe048001d00452a..."} 
[2026-11-05 11:19:10] local.INFO: Processing buffer {"connection_id":233351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa3c8f50012d7fad0005afe048001d00452a..."} 
[2026-11-05 11:19:10] local.INFO: Packet analysis {"connection_id":233351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:19:10] local.INFO: Extracted packet for processing {"connection_id":233351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:19:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":42,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227432192001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793857458000,"timestamp_ms":1793857458000,"timestamp_seconds":1793857458,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa3c8f50"} 
[2026-11-05 11:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 11:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:19:10] 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-05 11:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227432192001,"66":25495,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227432192001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:19:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:19:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227432192001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":233351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:19:10] local.INFO: GPS data processed {"connection_id":233351,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:19:10] local.INFO: Acknowledgment sent {"connection_id":233351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:19:26] local.INFO: TCP Data received {"connection_id":229607,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa410fa8012d0b10c00702a1800000014e23..."} 
[2026-11-05 11:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa410fa8012d0b10c00702a1800000014e23..."} 
[2026-11-05 11:19:26] local.INFO: Processing buffer {"connection_id":229607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa410fa8012d0b10c00702a1800000014e23..."} 
[2026-11-05 11:19:26] local.INFO: Packet analysis {"connection_id":229607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:19:26] local.INFO: Extracted packet for processing {"connection_id":229607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:19:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227507712001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:19: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-05 11:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793857753000,"timestamp_ms":1793857753000,"timestamp_seconds":1793857753,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa410fa8"} 
[2026-11-05 11: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-05 11:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 11:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229607,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229607,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227507712001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227507712001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:19:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227507712001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:19:26] 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":62575,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:19:26] local.INFO: GPS data processed {"connection_id":229607,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:19:26] local.INFO: Acknowledgment sent {"connection_id":229607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:19:31] local.INFO: TCP Data received {"connection_id":231459,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231459,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:19:31] local.INFO: Processing buffer {"connection_id":231459,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:19:31] local.INFO: IMEI packet received {"connection_id":231459,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 11:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":231459,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:19:41] local.INFO: TCP Data received {"connection_id":233351,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa3c8f50012d7fad0005afe048001d00452a..."} 
[2026-11-05 11:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa3c8f50012d7fad0005afe048001d00452a..."} 
[2026-11-05 11:19:41] local.INFO: Processing buffer {"connection_id":233351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa3c8f50012d7fad0005afe048001d00452a..."} 
[2026-11-05 11:19:41] local.INFO: Packet analysis {"connection_id":233351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:19:41] local.INFO: Extracted packet for processing {"connection_id":233351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa3c"} 
[2026-11-05 11:19:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":42,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227432192001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793857458000,"timestamp_ms":1793857458000,"timestamp_seconds":1793857458,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa3c8f50"} 
[2026-11-05 11:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 11:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:19: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-05 11:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227432192001,"66":25495,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227432192001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:19:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:19:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227432192001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":233351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:19:41] local.INFO: GPS data processed {"connection_id":233351,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:19:41] local.INFO: Acknowledgment sent {"connection_id":233351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:19:49] local.INFO: TCP Data received {"connection_id":233352,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233352,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:19:49] local.INFO: Processing buffer {"connection_id":233352,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:19:49] local.INFO: IMEI packet received {"connection_id":233352,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":233352,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:19:54] local.INFO: TCP Data received {"connection_id":233352,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233352,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:19:54] local.INFO: Processing buffer {"connection_id":233352,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:19:54] local.INFO: IMEI packet received {"connection_id":233352,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":233352,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:19:55] local.INFO: TCP Data received {"connection_id":233352,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa410fa8012d0b10c00702a1800000014e23..."} 
[2026-11-05 11:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa410fa8012d0b10c00702a1800000014e23..."} 
[2026-11-05 11:19:55] local.INFO: Processing buffer {"connection_id":233352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa410fa8012d0b10c00702a1800000014e23..."} 
[2026-11-05 11:19:55] local.INFO: Packet analysis {"connection_id":233352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:19:55] local.INFO: Extracted packet for processing {"connection_id":233352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:19:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227507712001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:19: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-05 11:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793857753000,"timestamp_ms":1793857753000,"timestamp_seconds":1793857753,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa410fa8"} 
[2026-11-05 11:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 11:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233352,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233352,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227507712001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227507712001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:19:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227507712001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":233352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62577,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:19:55] local.INFO: GPS data processed {"connection_id":233352,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:19:55] local.INFO: Acknowledgment sent {"connection_id":233352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:20:04] local.INFO: TCP Data received {"connection_id":229608,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:20:04] local.INFO: Processing buffer {"connection_id":229608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:20:04] local.INFO: IMEI packet received {"connection_id":229608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":229608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:20:09] local.INFO: TCP Data received {"connection_id":229608,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:20:09] local.INFO: Processing buffer {"connection_id":229608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:20:09] local.INFO: IMEI packet received {"connection_id":229608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":229608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:20:10] local.INFO: TCP Data received {"connection_id":229608,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:20:10] local.INFO: Processing buffer {"connection_id":229608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:20:10] local.INFO: Packet analysis {"connection_id":229608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:20:10] local.INFO: Extracted packet for processing {"connection_id":229608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:20:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227509248001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793857759000,"timestamp_ms":1793857759000,"timestamp_seconds":1793857759,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa412718"} 
[2026-11-05 11:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 11:20:10] 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-05 11:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:20:10] 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-05 11:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227509248001,"66":25473,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227509248001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:20:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:20:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227509248001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:20:10] 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":62578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:20:10] local.INFO: GPS data processed {"connection_id":229608,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:20:10] local.INFO: Acknowledgment sent {"connection_id":229608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:20:11] local.INFO: TCP Data received {"connection_id":229609,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229609,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:20:11] local.INFO: Processing buffer {"connection_id":229609,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:20:11] local.INFO: IMEI packet received {"connection_id":229609,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 11:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":229609,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:20:26] local.INFO: TCP Data received {"connection_id":233352,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa410fa8012d0b10c00702a1800000014e23..."} 
[2026-11-05 11:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa410fa8012d0b10c00702a1800000014e23..."} 
[2026-11-05 11:20:26] local.INFO: Processing buffer {"connection_id":233352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa410fa8012d0b10c00702a1800000014e23..."} 
[2026-11-05 11:20:26] local.INFO: Packet analysis {"connection_id":233352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:20:26] local.INFO: Extracted packet for processing {"connection_id":233352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:20:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227507712001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:20: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-05 11:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793857753000,"timestamp_ms":1793857753000,"timestamp_seconds":1793857753,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa410fa8"} 
[2026-11-05 11: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-05 11:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":145,"data_length":795,"current_offset":136} 
[2026-11-05 11:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233352,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233352,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227507712001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227507712001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:20:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227507712001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":233352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62579,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:20:26] local.INFO: GPS data processed {"connection_id":233352,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:20:26] local.INFO: Acknowledgment sent {"connection_id":233352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:20:41] local.INFO: TCP Data received {"connection_id":229608,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:20:41] local.INFO: Processing buffer {"connection_id":229608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:20:41] local.INFO: Packet analysis {"connection_id":229608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:20:41] local.INFO: Extracted packet for processing {"connection_id":229608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:20:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227509248001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793857759000,"timestamp_ms":1793857759000,"timestamp_seconds":1793857759,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa412718"} 
[2026-11-05 11:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 11:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:20: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-05 11:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227509248001,"66":25473,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227509248001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:20:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:20:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227509248001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:20:41] 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":62580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:20:41] local.INFO: GPS data processed {"connection_id":229608,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:20:41] local.INFO: Acknowledgment sent {"connection_id":229608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:20:49] local.INFO: TCP Data received {"connection_id":233353,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233353,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:20:49] local.INFO: Processing buffer {"connection_id":233353,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:20:49] local.INFO: IMEI packet received {"connection_id":233353,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":233353,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:20:54] local.INFO: TCP Data received {"connection_id":233353,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233353,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:20:54] local.INFO: Processing buffer {"connection_id":233353,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:20:54] local.INFO: IMEI packet received {"connection_id":233353,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":233353,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:20:54] local.INFO: TCP Data received {"connection_id":233353,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa410fa8012d0b10c00702a1800000014e23..."} 
[2026-11-05 11:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa410fa8012d0b10c00702a1800000014e23..."} 
[2026-11-05 11:20:54] local.INFO: Processing buffer {"connection_id":233353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa410fa8012d0b10c00702a1800000014e23..."} 
[2026-11-05 11:20:54] local.INFO: Packet analysis {"connection_id":233353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:20:54] local.INFO: Extracted packet for processing {"connection_id":233353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:20:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227507712001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:20: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-05 11:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793857753000,"timestamp_ms":1793857753000,"timestamp_seconds":1793857753,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa410fa8"} 
[2026-11-05 11: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-05 11:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 11:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":233353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":233353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":233353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227507712001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227507712001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:20:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227507712001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":233353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62581,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:20:55] local.INFO: GPS data processed {"connection_id":233353,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:20:55] local.INFO: Acknowledgment sent {"connection_id":233353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:21:03] local.INFO: TCP Data received {"connection_id":230129,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:21:03] local.INFO: Processing buffer {"connection_id":230129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:21:03] local.INFO: IMEI packet received {"connection_id":230129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":230129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:21:09] local.INFO: TCP Data received {"connection_id":230129,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:21:09] local.INFO: Processing buffer {"connection_id":230129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:21:09] local.INFO: IMEI packet received {"connection_id":230129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":230129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:21:10] local.INFO: TCP Data received {"connection_id":230129,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:21:10] local.INFO: Processing buffer {"connection_id":230129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:21:10] local.INFO: Packet analysis {"connection_id":230129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:21:10] local.INFO: Extracted packet for processing {"connection_id":230129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:21:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227509248001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793857759000,"timestamp_ms":1793857759000,"timestamp_seconds":1793857759,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa412718"} 
[2026-11-05 11:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 11:21:10] 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-05 11:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:21:10] 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-05 11:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227509248001,"66":25473,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227509248001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:21:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:21:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227509248001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":230129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:21:10] local.INFO: GPS data processed {"connection_id":230129,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:21:10] local.INFO: Acknowledgment sent {"connection_id":230129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:21:26] local.INFO: TCP Data received {"connection_id":233353,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa410fa8012d0b10c00702a1800000014e23..."} 
[2026-11-05 11:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa410fa8012d0b10c00702a1800000014e23..."} 
[2026-11-05 11:21:26] local.INFO: Processing buffer {"connection_id":233353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa410fa8012d0b10c00702a1800000014e23..."} 
[2026-11-05 11:21:26] local.INFO: Packet analysis {"connection_id":233353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:21:26] local.INFO: Extracted packet for processing {"connection_id":233353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:21:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227507712001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:21: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-05 11:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793857753000,"timestamp_ms":1793857753000,"timestamp_seconds":1793857753,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa410fa8"} 
[2026-11-05 11: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-05 11:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 11:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227507712001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227507712001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:21:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227507712001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":233353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62583,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:21:26] local.INFO: GPS data processed {"connection_id":233353,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:21:26] local.INFO: Acknowledgment sent {"connection_id":233353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:21:41] local.INFO: TCP Data received {"connection_id":230129,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:21:41] local.INFO: Processing buffer {"connection_id":230129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:21:41] local.INFO: Packet analysis {"connection_id":230129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:21:41] local.INFO: Extracted packet for processing {"connection_id":230129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:21:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227509248001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793857759000,"timestamp_ms":1793857759000,"timestamp_seconds":1793857759,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa412718"} 
[2026-11-05 11:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 11:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:21:41] 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-05 11:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227509248001,"66":25473,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227509248001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:21:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227509248001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":230129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:21:41] local.INFO: GPS data processed {"connection_id":230129,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:21:41] local.INFO: Acknowledgment sent {"connection_id":230129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:21:49] local.INFO: TCP Data received {"connection_id":229611,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229611,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:21:49] local.INFO: Processing buffer {"connection_id":229611,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:21:49] local.INFO: IMEI packet received {"connection_id":229611,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":229611,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:21:54] local.INFO: TCP Data received {"connection_id":229611,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229611,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:21:54] local.INFO: Processing buffer {"connection_id":229611,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:21:54] local.INFO: IMEI packet received {"connection_id":229611,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":229611,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:21:54] local.INFO: TCP Data received {"connection_id":229611,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa410fa8012d0b10c00702a1800000014e23..."} 
[2026-11-05 11:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa410fa8012d0b10c00702a1800000014e23..."} 
[2026-11-05 11:21:54] local.INFO: Processing buffer {"connection_id":229611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa410fa8012d0b10c00702a1800000014e23..."} 
[2026-11-05 11:21:54] local.INFO: Packet analysis {"connection_id":229611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:21:54] local.INFO: Extracted packet for processing {"connection_id":229611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:21:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227507712001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:21: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-05 11:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793857753000,"timestamp_ms":1793857753000,"timestamp_seconds":1793857753,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa410fa8"} 
[2026-11-05 11:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 11:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":229611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":229611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":229611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227507712001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227507712001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:21:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227507712001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:21:55] 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":62585,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:21:55] local.INFO: GPS data processed {"connection_id":229611,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:21:55] local.INFO: Acknowledgment sent {"connection_id":229611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:22:03] local.INFO: TCP Data received {"connection_id":230131,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:22:03] local.INFO: Processing buffer {"connection_id":230131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:22:03] local.INFO: IMEI packet received {"connection_id":230131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":230131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:22:09] local.INFO: TCP Data received {"connection_id":230131,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:22:09] local.INFO: Processing buffer {"connection_id":230131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:22:09] local.INFO: IMEI packet received {"connection_id":230131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":230131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:22:10] local.INFO: TCP Data received {"connection_id":230131,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:22:10] local.INFO: Processing buffer {"connection_id":230131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:22:10] local.INFO: Packet analysis {"connection_id":230131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:22:10] local.INFO: Extracted packet for processing {"connection_id":230131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:22:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227509248001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793857759000,"timestamp_ms":1793857759000,"timestamp_seconds":1793857759,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa412718"} 
[2026-11-05 11: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-05 11:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 11:22:10] 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-05 11: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-05 11: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-05 11:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:22:10] 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-05 11:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227509248001,"66":25473,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227509248001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:22:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227509248001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":230131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:22:10] local.INFO: GPS data processed {"connection_id":230131,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:22:10] local.INFO: Acknowledgment sent {"connection_id":230131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:22:26] local.INFO: TCP Data received {"connection_id":229611,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa410fa8012d0b10c00702a1800000014e23..."} 
[2026-11-05 11:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa410fa8012d0b10c00702a1800000014e23..."} 
[2026-11-05 11:22:26] local.INFO: Processing buffer {"connection_id":229611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa410fa8012d0b10c00702a1800000014e23..."} 
[2026-11-05 11:22:26] local.INFO: Packet analysis {"connection_id":229611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:22:26] local.INFO: Extracted packet for processing {"connection_id":229611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:22:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227507712001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:22: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-05 11:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793857753000,"timestamp_ms":1793857753000,"timestamp_seconds":1793857753,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa410fa8"} 
[2026-11-05 11:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 11:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227507712001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227507712001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:22:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227507712001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:22:26] 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":62587,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:22:26] local.INFO: GPS data processed {"connection_id":229611,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:22:26] local.INFO: Acknowledgment sent {"connection_id":229611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:22:41] local.INFO: TCP Data received {"connection_id":230131,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:22:41] local.INFO: Processing buffer {"connection_id":230131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:22:41] local.INFO: Packet analysis {"connection_id":230131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:22:41] local.INFO: Extracted packet for processing {"connection_id":230131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:22:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227509248001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793857759000,"timestamp_ms":1793857759000,"timestamp_seconds":1793857759,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa412718"} 
[2026-11-05 11:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 11:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:22: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-05 11:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227509248001,"66":25473,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227509248001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:22:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227509248001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":230131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:22:41] local.INFO: GPS data processed {"connection_id":230131,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:22:41] local.INFO: Acknowledgment sent {"connection_id":230131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:22:59] local.INFO: TCP Data received {"connection_id":231460,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231460,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:22:59] local.INFO: Processing buffer {"connection_id":231460,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:22:59] local.INFO: IMEI packet received {"connection_id":231460,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":231460,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:23:04] local.INFO: TCP Data received {"connection_id":231460,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231460,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:23:04] local.INFO: Processing buffer {"connection_id":231460,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:23:04] local.INFO: IMEI packet received {"connection_id":231460,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":231460,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:23:06] local.INFO: TCP Data received {"connection_id":231460,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa410fa8012d0b10c00702a1800000014e23..."} 
[2026-11-05 11:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa410fa8012d0b10c00702a1800000014e23..."} 
[2026-11-05 11:23:06] local.INFO: Processing buffer {"connection_id":231460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa410fa8012d0b10c00702a1800000014e23..."} 
[2026-11-05 11:23:06] local.INFO: Packet analysis {"connection_id":231460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:23:06] local.INFO: Extracted packet for processing {"connection_id":231460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:23:06] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227507712001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:23:06] 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-05 11:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1793857753000,"timestamp_ms":1793857753000,"timestamp_seconds":1793857753,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa410fa8"} 
[2026-11-05 11:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 11:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":231460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":231460,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":231460,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227507712001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227507712001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:23:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227507712001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":231460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62589,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:23:06] local.INFO: GPS data processed {"connection_id":231460,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:23:06] local.INFO: Acknowledgment sent {"connection_id":231460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:23:09] local.INFO: TCP Data received {"connection_id":231461,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:23:09] local.INFO: Processing buffer {"connection_id":231461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:23:09] local.INFO: IMEI packet received {"connection_id":231461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":231461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:23:16] local.INFO: TCP Data received {"connection_id":231461,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:23:16] local.INFO: Processing buffer {"connection_id":231461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:23:16] local.INFO: IMEI packet received {"connection_id":231461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":231461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:23:17] local.INFO: TCP Data received {"connection_id":231461,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:23:17] local.INFO: Processing buffer {"connection_id":231461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:23:17] local.INFO: Packet analysis {"connection_id":231461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:23:17] local.INFO: Extracted packet for processing {"connection_id":231461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:23:17] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227509248001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793857759000,"timestamp_ms":1793857759000,"timestamp_seconds":1793857759,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa412718"} 
[2026-11-05 11: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-05 11:23: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-05 11: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":151,"data_length":795,"current_offset":136} 
[2026-11-05 11:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":231461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":231461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":231461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:23: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-05 11:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227509248001,"66":25473,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227509248001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:23:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:23:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227509248001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":231461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:23:17] local.INFO: GPS data processed {"connection_id":231461,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:23:17] local.INFO: Acknowledgment sent {"connection_id":231461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:23:19] local.INFO: TCP Data received {"connection_id":231461,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:23:19] local.INFO: Processing buffer {"connection_id":231461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:23:19] local.INFO: Packet analysis {"connection_id":231461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:23:19] local.INFO: Extracted packet for processing {"connection_id":231461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:23:19] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227509248001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793857759000,"timestamp_ms":1793857759000,"timestamp_seconds":1793857759,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa412718"} 
[2026-11-05 11:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:23: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-05 11:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 11:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":231461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":231461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":231461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:23:19] 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-05 11:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227509248001,"66":25473,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227509248001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:23:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:23:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227509248001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":231461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:23:19] local.INFO: GPS data processed {"connection_id":231461,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:23:19] local.INFO: Acknowledgment sent {"connection_id":231461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:23:49] local.INFO: TCP Data received {"connection_id":230132,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230132,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:23:49] local.INFO: Processing buffer {"connection_id":230132,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:23:49] local.INFO: IMEI packet received {"connection_id":230132,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":230132,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:23:53] local.INFO: TCP Data received {"connection_id":230132,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230132,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:23:54] local.INFO: Processing buffer {"connection_id":230132,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:23:54] local.INFO: IMEI packet received {"connection_id":230132,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":230132,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:23:54] local.INFO: TCP Data received {"connection_id":230132,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa410fa8012d0b10c00702a1800000014e23..."} 
[2026-11-05 11:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa410fa8012d0b10c00702a1800000014e23..."} 
[2026-11-05 11:23:54] local.INFO: Processing buffer {"connection_id":230132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa410fa8012d0b10c00702a1800000014e23..."} 
[2026-11-05 11:23:54] local.INFO: Packet analysis {"connection_id":230132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:23:54] local.INFO: Extracted packet for processing {"connection_id":230132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:23:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227507712001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:23: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-05 11:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793857753000,"timestamp_ms":1793857753000,"timestamp_seconds":1793857753,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa410fa8"} 
[2026-11-05 11:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 11:23:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":230132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":230132,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":230132,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227507712001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227507712001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:23:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227507712001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":230132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62592,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:23:55] local.INFO: GPS data processed {"connection_id":230132,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:23:55] local.INFO: Acknowledgment sent {"connection_id":230132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:24:03] local.INFO: TCP Data received {"connection_id":229613,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:24:03] local.INFO: Processing buffer {"connection_id":229613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:24:03] local.INFO: IMEI packet received {"connection_id":229613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":229613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:24:08] local.INFO: TCP Data received {"connection_id":229613,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:24:08] local.INFO: Processing buffer {"connection_id":229613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:24:08] local.INFO: IMEI packet received {"connection_id":229613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":229613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:24:10] local.INFO: TCP Data received {"connection_id":229613,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:24:10] local.INFO: Processing buffer {"connection_id":229613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:24:10] local.INFO: Packet analysis {"connection_id":229613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:24:10] local.INFO: Extracted packet for processing {"connection_id":229613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:24:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227509248001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793857759000,"timestamp_ms":1793857759000,"timestamp_seconds":1793857759,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa412718"} 
[2026-11-05 11:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 11:24:10] 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-05 11:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:24:10] 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-05 11:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227509248001,"66":25473,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227509248001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:24:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227509248001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:24:10] 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":62593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:24:10] local.INFO: GPS data processed {"connection_id":229613,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:24:10] local.INFO: Acknowledgment sent {"connection_id":229613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:24:14] local.INFO: TCP Data received {"connection_id":229613,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:24:14] local.INFO: Processing buffer {"connection_id":229613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:24:14] local.INFO: Packet analysis {"connection_id":229613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:24:14] local.INFO: Extracted packet for processing {"connection_id":229613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:24:14] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227509248001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793857759000,"timestamp_ms":1793857759000,"timestamp_seconds":1793857759,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa412718"} 
[2026-11-05 11: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-05 11:24: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-05 11: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 11:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:24: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-05 11:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227509248001,"66":25473,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227509248001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:24:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:24:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227509248001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:24:14] 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":62594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:24:14] local.INFO: GPS data processed {"connection_id":229613,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:24:14] local.INFO: Acknowledgment sent {"connection_id":229613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:24:25] local.INFO: TCP Data received {"connection_id":230132,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa45a770012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa45a770012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:24:25] local.INFO: Processing buffer {"connection_id":230132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa45a770012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:24:25] local.INFO: Packet analysis {"connection_id":230132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:24:25] local.INFO: Extracted packet for processing {"connection_id":230132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:24:25] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227584768001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793858054000,"timestamp_ms":1793858054000,"timestamp_seconds":1793858054,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa45a770"} 
[2026-11-05 11:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":230132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":230132,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":230132,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227584768001,"66":12645,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227584768001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:24:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227584768001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":230132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62595,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:24:25] local.INFO: GPS data processed {"connection_id":230132,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:24:25] local.INFO: Acknowledgment sent {"connection_id":230132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:24:45] local.INFO: TCP Data received {"connection_id":229613,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:24:45] local.INFO: Processing buffer {"connection_id":229613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa412718012d7fad0005afe048001d00452b..."} 
[2026-11-05 11:24:45] local.INFO: Packet analysis {"connection_id":229613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:24:45] local.INFO: Extracted packet for processing {"connection_id":229613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa41"} 
[2026-11-05 11:24:45] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":29,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227509248001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793857759000,"timestamp_ms":1793857759000,"timestamp_seconds":1793857759,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa412718"} 
[2026-11-05 11: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-05 11:24: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-05 11:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 11:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:24: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-05 11:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227509248001,"66":25473,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227509248001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:24:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:24:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227509248001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:24:45] 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":62596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:24:45] local.INFO: GPS data processed {"connection_id":229613,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:24:45] local.INFO: Acknowledgment sent {"connection_id":229613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:24:48] local.INFO: TCP Data received {"connection_id":229614,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229614,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:24:48] local.INFO: Processing buffer {"connection_id":229614,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:24:48] local.INFO: IMEI packet received {"connection_id":229614,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":229614,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:24:54] local.INFO: TCP Data received {"connection_id":229614,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229614,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:24:54] local.INFO: Processing buffer {"connection_id":229614,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:24:54] local.INFO: IMEI packet received {"connection_id":229614,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":229614,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:24:54] local.INFO: TCP Data received {"connection_id":229614,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa45a770012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa45a770012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:24:54] local.INFO: Processing buffer {"connection_id":229614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa45a770012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:24:54] local.INFO: Packet analysis {"connection_id":229614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:24:54] local.INFO: Extracted packet for processing {"connection_id":229614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:24:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227584768001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:24: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-05 11:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793858054000,"timestamp_ms":1793858054000,"timestamp_seconds":1793858054,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa45a770"} 
[2026-11-05 11:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":229614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":229614,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":229614,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227584768001,"66":12645,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227584768001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:24:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227584768001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:24:55] 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":62597,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:24:55] local.INFO: GPS data processed {"connection_id":229614,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:24:55] local.INFO: Acknowledgment sent {"connection_id":229614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:25:03] local.INFO: TCP Data received {"connection_id":230133,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:25:03] local.INFO: Processing buffer {"connection_id":230133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:25:03] local.INFO: IMEI packet received {"connection_id":230133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":230133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:25:09] local.INFO: TCP Data received {"connection_id":230133,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:25:09] local.INFO: Processing buffer {"connection_id":230133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:25:09] local.INFO: IMEI packet received {"connection_id":230133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":230133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:25:10] local.INFO: TCP Data received {"connection_id":230133,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa45bee0012d7fad0005afe0480012004528..."} 
[2026-11-05 11:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa45bee0012d7fad0005afe0480012004528..."} 
[2026-11-05 11:25:10] local.INFO: Processing buffer {"connection_id":230133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa45bee0012d7fad0005afe0480012004528..."} 
[2026-11-05 11:25:10] local.INFO: Packet analysis {"connection_id":230133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:25:10] local.INFO: Extracted packet for processing {"connection_id":230133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:25:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":18,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227586304001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793858060000,"timestamp_ms":1793858060000,"timestamp_seconds":1793858060,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa45bee0"} 
[2026-11-05 11:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 11:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:25:10] 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-05 11:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227586304001,"66":25451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227586304001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:25:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:25:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227586304001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":230133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:25:10] local.INFO: GPS data processed {"connection_id":230133,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:25:10] local.INFO: Acknowledgment sent {"connection_id":230133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:25:26] local.INFO: TCP Data received {"connection_id":229614,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa45a770012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa45a770012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:25:26] local.INFO: Processing buffer {"connection_id":229614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa45a770012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:25:26] local.INFO: Packet analysis {"connection_id":229614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:25:26] local.INFO: Extracted packet for processing {"connection_id":229614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:25:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227584768001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:25: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-05 11:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793858054000,"timestamp_ms":1793858054000,"timestamp_seconds":1793858054,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa45a770"} 
[2026-11-05 11:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:25:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:25:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229614,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229614,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227584768001,"66":12645,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227584768001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:25:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227584768001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:25:26] 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":62599,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:25:26] local.INFO: GPS data processed {"connection_id":229614,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:25:26] local.INFO: Acknowledgment sent {"connection_id":229614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:25:36] local.INFO: TCP Data received {"connection_id":233354,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233354,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:25:36] local.INFO: Processing buffer {"connection_id":233354,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:25:36] local.INFO: IMEI packet received {"connection_id":233354,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 11:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":233354,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:25:41] local.INFO: TCP Data received {"connection_id":230133,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa45bee0012d7fad0005afe0480012004528..."} 
[2026-11-05 11:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa45bee0012d7fad0005afe0480012004528..."} 
[2026-11-05 11:25:41] local.INFO: Processing buffer {"connection_id":230133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa45bee0012d7fad0005afe0480012004528..."} 
[2026-11-05 11:25:41] local.INFO: Packet analysis {"connection_id":230133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:25:41] local.INFO: Extracted packet for processing {"connection_id":230133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:25:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":18,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227586304001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793858060000,"timestamp_ms":1793858060000,"timestamp_seconds":1793858060,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa45bee0"} 
[2026-11-05 11:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 11:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:25:41] 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-05 11:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227586304001,"66":25451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227586304001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:25:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:25:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227586304001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":230133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:25:41] local.INFO: GPS data processed {"connection_id":230133,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:25:41] local.INFO: Acknowledgment sent {"connection_id":230133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:25:49] local.INFO: TCP Data received {"connection_id":230134,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230134,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:25:49] local.INFO: Processing buffer {"connection_id":230134,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:25:49] local.INFO: IMEI packet received {"connection_id":230134,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":230134,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:25:54] local.INFO: TCP Data received {"connection_id":230134,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230134,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:25:54] local.INFO: Processing buffer {"connection_id":230134,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:25:54] local.INFO: IMEI packet received {"connection_id":230134,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":230134,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:25:55] local.INFO: TCP Data received {"connection_id":230134,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa45a770012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa45a770012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:25:55] local.INFO: Processing buffer {"connection_id":230134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa45a770012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:25:55] local.INFO: Packet analysis {"connection_id":230134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:25:55] local.INFO: Extracted packet for processing {"connection_id":230134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:25:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227584768001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:25: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-05 11:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793858054000,"timestamp_ms":1793858054000,"timestamp_seconds":1793858054,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa45a770"} 
[2026-11-05 11:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:25:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230134,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230134,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227584768001,"66":12645,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227584768001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:25:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227584768001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":230134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62601,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:25:55] local.INFO: GPS data processed {"connection_id":230134,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:25:55] local.INFO: Acknowledgment sent {"connection_id":230134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:26:03] local.INFO: TCP Data received {"connection_id":231463,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:26:03] local.INFO: Processing buffer {"connection_id":231463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:26:03] local.INFO: IMEI packet received {"connection_id":231463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":231463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:26:06] local.INFO: TCP Data received {"connection_id":229615,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229615,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:26:06] local.INFO: Processing buffer {"connection_id":229615,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:26:06] local.INFO: IMEI packet received {"connection_id":229615,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 11:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":229615,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:26:09] local.INFO: TCP Data received {"connection_id":231463,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:26:09] local.INFO: Processing buffer {"connection_id":231463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:26:09] local.INFO: IMEI packet received {"connection_id":231463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":231463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:26:10] local.INFO: TCP Data received {"connection_id":231463,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa45bee0012d7fad0005afe0480012004528..."} 
[2026-11-05 11:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa45bee0012d7fad0005afe0480012004528..."} 
[2026-11-05 11:26:10] local.INFO: Processing buffer {"connection_id":231463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa45bee0012d7fad0005afe0480012004528..."} 
[2026-11-05 11:26:10] local.INFO: Packet analysis {"connection_id":231463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:26:10] local.INFO: Extracted packet for processing {"connection_id":231463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:26:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":18,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227586304001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793858060000,"timestamp_ms":1793858060000,"timestamp_seconds":1793858060,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa45bee0"} 
[2026-11-05 11:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 11:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:26:10] 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-05 11:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227586304001,"66":25451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227586304001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:26:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227586304001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":231463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:26:10] local.INFO: GPS data processed {"connection_id":231463,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:26:10] local.INFO: Acknowledgment sent {"connection_id":231463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:26:26] local.INFO: TCP Data received {"connection_id":230134,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa45a770012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa45a770012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:26:26] local.INFO: Processing buffer {"connection_id":230134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa45a770012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:26:26] local.INFO: Packet analysis {"connection_id":230134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:26:26] local.INFO: Extracted packet for processing {"connection_id":230134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:26:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227584768001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:26: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-05 11:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793858054000,"timestamp_ms":1793858054000,"timestamp_seconds":1793858054,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa45a770"} 
[2026-11-05 11:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:26:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:26:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230134,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230134,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227584768001,"66":12645,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227584768001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:26:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227584768001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":230134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62603,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:26:27] local.INFO: GPS data processed {"connection_id":230134,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:26:27] local.INFO: Acknowledgment sent {"connection_id":230134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:26:42] local.INFO: TCP Data received {"connection_id":231463,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa45bee0012d7fad0005afe0480012004528..."} 
[2026-11-05 11:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa45bee0012d7fad0005afe0480012004528..."} 
[2026-11-05 11:26:42] local.INFO: Processing buffer {"connection_id":231463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa45bee0012d7fad0005afe0480012004528..."} 
[2026-11-05 11:26:42] local.INFO: Packet analysis {"connection_id":231463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:26:42] local.INFO: Extracted packet for processing {"connection_id":231463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:26:42] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":18,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 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-05 11:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227586304001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793858060000,"timestamp_ms":1793858060000,"timestamp_seconds":1793858060,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa45bee0"} 
[2026-11-05 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-05 11:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 11:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 11:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:26:42] 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-05 11:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227586304001,"66":25451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227586304001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:26:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:26:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227586304001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":231463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:26:42] local.INFO: GPS data processed {"connection_id":231463,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:26:42] local.INFO: Acknowledgment sent {"connection_id":231463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:26:54] local.INFO: TCP Data received {"connection_id":229616,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229616,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:26:54] local.INFO: Processing buffer {"connection_id":229616,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:26:54] local.INFO: IMEI packet received {"connection_id":229616,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":229616,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:26:59] local.INFO: TCP Data received {"connection_id":229616,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229616,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:26:59] local.INFO: Processing buffer {"connection_id":229616,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:26:59] local.INFO: IMEI packet received {"connection_id":229616,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":229616,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:27:00] local.INFO: TCP Data received {"connection_id":229616,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa45a770012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa45a770012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:27:00] local.INFO: Processing buffer {"connection_id":229616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa45a770012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:27:00] local.INFO: Packet analysis {"connection_id":229616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:27:00] local.INFO: Extracted packet for processing {"connection_id":229616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:27:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227584768001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:27: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-05 11:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793858054000,"timestamp_ms":1793858054000,"timestamp_seconds":1793858054,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa45a770"} 
[2026-11-05 11:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:27:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:27:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":229616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":229616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":229616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227584768001,"66":12645,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227584768001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:27:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227584768001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:27:00] 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":62605,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:27:00] local.INFO: GPS data processed {"connection_id":229616,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:27:00] local.INFO: Acknowledgment sent {"connection_id":229616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:27:03] local.INFO: TCP Data received {"connection_id":230135,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:27:03] local.INFO: Processing buffer {"connection_id":230135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:27:03] local.INFO: IMEI packet received {"connection_id":230135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":230135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:27:04] local.INFO: TCP Data received {"connection_id":229616,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa45a770012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa45a770012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:27:04] local.INFO: Processing buffer {"connection_id":229616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa45a770012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:27:04] local.INFO: Packet analysis {"connection_id":229616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:27:04] local.INFO: Extracted packet for processing {"connection_id":229616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:27:04] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227584768001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793858054000,"timestamp_ms":1793858054000,"timestamp_seconds":1793858054,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa45a770"} 
[2026-11-05 11:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":229616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":229616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":229616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227584768001,"66":12645,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227584768001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:27:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227584768001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:27:04] 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":62606,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:27:04] local.INFO: GPS data processed {"connection_id":229616,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:27:04] local.INFO: Acknowledgment sent {"connection_id":229616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:27:09] local.INFO: TCP Data received {"connection_id":230135,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:27:09] local.INFO: Processing buffer {"connection_id":230135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:27:09] local.INFO: IMEI packet received {"connection_id":230135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":230135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:27:10] local.INFO: TCP Data received {"connection_id":230135,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa45bee0012d7fad0005afe0480012004528..."} 
[2026-11-05 11:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa45bee0012d7fad0005afe0480012004528..."} 
[2026-11-05 11:27:10] local.INFO: Processing buffer {"connection_id":230135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa45bee0012d7fad0005afe0480012004528..."} 
[2026-11-05 11:27:10] local.INFO: Packet analysis {"connection_id":230135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:27:10] local.INFO: Extracted packet for processing {"connection_id":230135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:27:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":18,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227586304001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793858060000,"timestamp_ms":1793858060000,"timestamp_seconds":1793858060,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa45bee0"} 
[2026-11-05 11:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 11:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:27:10] 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-05 11:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227586304001,"66":25451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227586304001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:27:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:27:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227586304001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":230135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:27:10] local.INFO: GPS data processed {"connection_id":230135,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:27:10] local.INFO: Acknowledgment sent {"connection_id":230135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:27:41] local.INFO: TCP Data received {"connection_id":230135,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa45bee0012d7fad0005afe0480012004528..."} 
[2026-11-05 11:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa45bee0012d7fad0005afe0480012004528..."} 
[2026-11-05 11:27:41] local.INFO: Processing buffer {"connection_id":230135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa45bee0012d7fad0005afe0480012004528..."} 
[2026-11-05 11:27:41] local.INFO: Packet analysis {"connection_id":230135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:27:41] local.INFO: Extracted packet for processing {"connection_id":230135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:27:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":18,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227586304001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793858060000,"timestamp_ms":1793858060000,"timestamp_seconds":1793858060,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa45bee0"} 
[2026-11-05 11: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-05 11:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 11:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:27: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-05 11:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227586304001,"66":25451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227586304001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:27:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:27:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227586304001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":230135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:27:41] local.INFO: GPS data processed {"connection_id":230135,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:27:41] local.INFO: Acknowledgment sent {"connection_id":230135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:27:49] local.INFO: TCP Data received {"connection_id":229617,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229617,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:27:49] local.INFO: Processing buffer {"connection_id":229617,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:27:49] local.INFO: IMEI packet received {"connection_id":229617,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":229617,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:27:54] local.INFO: TCP Data received {"connection_id":229617,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229617,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:27:54] local.INFO: Processing buffer {"connection_id":229617,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:27:54] local.INFO: IMEI packet received {"connection_id":229617,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":229617,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:27:54] local.INFO: TCP Data received {"connection_id":229617,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa45a770012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa45a770012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:27:54] local.INFO: Processing buffer {"connection_id":229617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa45a770012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:27:54] local.INFO: Packet analysis {"connection_id":229617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:27:54] local.INFO: Extracted packet for processing {"connection_id":229617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:27:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227584768001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:27: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-05 11:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793858054000,"timestamp_ms":1793858054000,"timestamp_seconds":1793858054,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa45a770"} 
[2026-11-05 11: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-05 11:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":229617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":229617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":229617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227584768001,"66":12645,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227584768001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:27:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227584768001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:27:55] 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":62609,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:27:55] local.INFO: GPS data processed {"connection_id":229617,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:27:55] local.INFO: Acknowledgment sent {"connection_id":229617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:28:03] local.INFO: TCP Data received {"connection_id":233355,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:28:03] local.INFO: Processing buffer {"connection_id":233355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:28:03] local.INFO: IMEI packet received {"connection_id":233355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":233355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:28:09] local.INFO: TCP Data received {"connection_id":233355,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:28:09] local.INFO: Processing buffer {"connection_id":233355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:28:09] local.INFO: IMEI packet received {"connection_id":233355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":233355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:28:10] local.INFO: TCP Data received {"connection_id":233355,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa45bee0012d7fad0005afe0480012004528..."} 
[2026-11-05 11:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa45bee0012d7fad0005afe0480012004528..."} 
[2026-11-05 11:28:10] local.INFO: Processing buffer {"connection_id":233355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa45bee0012d7fad0005afe0480012004528..."} 
[2026-11-05 11:28:10] local.INFO: Packet analysis {"connection_id":233355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:28:10] local.INFO: Extracted packet for processing {"connection_id":233355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:28:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":18,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227586304001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793858060000,"timestamp_ms":1793858060000,"timestamp_seconds":1793858060,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa45bee0"} 
[2026-11-05 11:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 11:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:28:10] 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-05 11:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227586304001,"66":25451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227586304001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:28:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:28:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227586304001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":233355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:28:10] local.INFO: GPS data processed {"connection_id":233355,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:28:10] local.INFO: Acknowledgment sent {"connection_id":233355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:28:26] local.INFO: TCP Data received {"connection_id":229617,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa45a770012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa45a770012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:28:26] local.INFO: Processing buffer {"connection_id":229617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa45a770012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:28:26] local.INFO: Packet analysis {"connection_id":229617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:28:26] local.INFO: Extracted packet for processing {"connection_id":229617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:28:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227584768001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:28: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-05 11:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793858054000,"timestamp_ms":1793858054000,"timestamp_seconds":1793858054,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa45a770"} 
[2026-11-05 11: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-05 11:28:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:28:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:28:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227584768001,"66":12645,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227584768001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:28:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227584768001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:28:26] 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":62611,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:28:26] local.INFO: GPS data processed {"connection_id":229617,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:28:26] local.INFO: Acknowledgment sent {"connection_id":229617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:28:41] local.INFO: TCP Data received {"connection_id":233355,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa45bee0012d7fad0005afe0480012004528..."} 
[2026-11-05 11:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa45bee0012d7fad0005afe0480012004528..."} 
[2026-11-05 11:28:41] local.INFO: Processing buffer {"connection_id":233355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa45bee0012d7fad0005afe0480012004528..."} 
[2026-11-05 11:28:41] local.INFO: Packet analysis {"connection_id":233355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:28:41] local.INFO: Extracted packet for processing {"connection_id":233355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:28:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":18,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227586304001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793858060000,"timestamp_ms":1793858060000,"timestamp_seconds":1793858060,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa45bee0"} 
[2026-11-05 11:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 11:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:28: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-05 11:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227586304001,"66":25451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227586304001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:28:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:28:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227586304001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":233355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:28:41] local.INFO: GPS data processed {"connection_id":233355,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:28:41] local.INFO: Acknowledgment sent {"connection_id":233355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:28:48] local.INFO: TCP Data received {"connection_id":230137,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230137,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:28:48] local.INFO: Processing buffer {"connection_id":230137,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:28:48] local.INFO: IMEI packet received {"connection_id":230137,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":230137,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:28:53] local.INFO: TCP Data received {"connection_id":230137,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230137,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:28:54] local.INFO: Processing buffer {"connection_id":230137,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:28:54] local.INFO: IMEI packet received {"connection_id":230137,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":230137,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:28:55] local.INFO: TCP Data received {"connection_id":230137,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa45a770012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa45a770012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:28:55] local.INFO: Processing buffer {"connection_id":230137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa45a770012d0b10c00702a1800000014e25..."} 
[2026-11-05 11:28:55] local.INFO: Packet analysis {"connection_id":230137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:28:55] local.INFO: Extracted packet for processing {"connection_id":230137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:28:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227584768001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:28: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-05 11:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793858054000,"timestamp_ms":1793858054000,"timestamp_seconds":1793858054,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa45a770"} 
[2026-11-05 11: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-05 11:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230137,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230137,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227584768001,"66":12645,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227584768001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:28:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227584768001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":230137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62613,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:28:55] local.INFO: GPS data processed {"connection_id":230137,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:28:55] local.INFO: Acknowledgment sent {"connection_id":230137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:29:09] local.INFO: TCP Data received {"connection_id":233356,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:29:09] local.INFO: Processing buffer {"connection_id":233356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:29:09] local.INFO: IMEI packet received {"connection_id":233356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":233356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:29:14] local.INFO: TCP Data received {"connection_id":233356,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:29:14] local.INFO: Processing buffer {"connection_id":233356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:29:14] local.INFO: IMEI packet received {"connection_id":233356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":233356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:29:14] local.INFO: TCP Data received {"connection_id":233356,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa45bee0012d7fad0005afe0480012004528..."} 
[2026-11-05 11:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa45bee0012d7fad0005afe0480012004528..."} 
[2026-11-05 11:29:14] local.INFO: Processing buffer {"connection_id":233356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa45bee0012d7fad0005afe0480012004528..."} 
[2026-11-05 11:29:14] local.INFO: Packet analysis {"connection_id":233356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:29:14] local.INFO: Extracted packet for processing {"connection_id":233356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:29:14] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":18,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227586304001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793858060000,"timestamp_ms":1793858060000,"timestamp_seconds":1793858060,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa45bee0"} 
[2026-11-05 11: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-05 11:29: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-05 11: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 11:29:14] 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-05 11: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-05 11: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-05 11:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:29: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-05 11:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227586304001,"66":25451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227586304001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:29:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:29:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227586304001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":233356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:29:14] local.INFO: GPS data processed {"connection_id":233356,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:29:14] local.INFO: Acknowledgment sent {"connection_id":233356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:29:22] local.INFO: TCP Data received {"connection_id":233356,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa45bee0012d7fad0005afe0480012004528..."} 
[2026-11-05 11:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa45bee0012d7fad0005afe0480012004528..."} 
[2026-11-05 11:29:22] local.INFO: Processing buffer {"connection_id":233356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa45bee0012d7fad0005afe0480012004528..."} 
[2026-11-05 11:29:22] local.INFO: Packet analysis {"connection_id":233356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:29:22] local.INFO: Extracted packet for processing {"connection_id":233356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa45"} 
[2026-11-05 11:29:22] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":18,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 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-05 11:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227586304001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793858060000,"timestamp_ms":1793858060000,"timestamp_seconds":1793858060,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa45bee0"} 
[2026-11-05 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-05 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-05 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 11:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 11:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":233356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":233356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":233356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:29: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-05 11:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227586304001,"66":25451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227586304001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:29:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:29:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227586304001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":233356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:29:22] local.INFO: GPS data processed {"connection_id":233356,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:29:22] local.INFO: Acknowledgment sent {"connection_id":233356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:29:26] local.INFO: TCP Data received {"connection_id":230137,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:29:26] local.INFO: Processing buffer {"connection_id":230137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:29:26] local.INFO: Packet analysis {"connection_id":230137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:29:26] local.INFO: Extracted packet for processing {"connection_id":230137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:29:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227661824001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:29: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-05 11:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793858355000,"timestamp_ms":1793858355000,"timestamp_seconds":1793858355,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4a3f38"} 
[2026-11-05 11:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-11-05 11:29:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:29:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230137,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230137,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227661824001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227661824001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:29:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227661824001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":230137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62616,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:29:26] local.INFO: GPS data processed {"connection_id":230137,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:29:26] local.INFO: Acknowledgment sent {"connection_id":230137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:29:48] local.INFO: TCP Data received {"connection_id":229618,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229618,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:29:49] local.INFO: Processing buffer {"connection_id":229618,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:29:49] local.INFO: IMEI packet received {"connection_id":229618,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":229618,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:29:55] local.INFO: TCP Data received {"connection_id":229618,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229618,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:29:55] local.INFO: Processing buffer {"connection_id":229618,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:29:55] local.INFO: IMEI packet received {"connection_id":229618,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":229618,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:29:56] local.INFO: TCP Data received {"connection_id":229618,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:29:56] local.INFO: Processing buffer {"connection_id":229618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:29:56] local.INFO: Packet analysis {"connection_id":229618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:29:56] local.INFO: Extracted packet for processing {"connection_id":229618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:29:56] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227661824001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:29:56] 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-05 11:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793858355000,"timestamp_ms":1793858355000,"timestamp_seconds":1793858355,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4a3f38"} 
[2026-11-05 11:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-11-05 11:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:29:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":229618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":229618,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":229618,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227661824001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227661824001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:29:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227661824001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:29:56] 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":62617,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:29:56] local.INFO: GPS data processed {"connection_id":229618,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:29:56] local.INFO: Acknowledgment sent {"connection_id":229618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:30:04] local.INFO: TCP Data received {"connection_id":230138,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:30:04] local.INFO: Processing buffer {"connection_id":230138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:30:04] local.INFO: IMEI packet received {"connection_id":230138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":230138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:30:09] local.INFO: TCP Data received {"connection_id":230138,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:30:09] local.INFO: Processing buffer {"connection_id":230138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:30:09] local.INFO: IMEI packet received {"connection_id":230138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":230138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:30:10] local.INFO: TCP Data received {"connection_id":230138,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4a56a8012d7fad0005afe0480010004529..."} 
[2026-11-05 11:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4a56a8012d7fad0005afe0480010004529..."} 
[2026-11-05 11:30:10] local.INFO: Processing buffer {"connection_id":230138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4a56a8012d7fad0005afe0480010004529..."} 
[2026-11-05 11:30:10] local.INFO: Packet analysis {"connection_id":230138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:30:10] local.INFO: Extracted packet for processing {"connection_id":230138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:30:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":16,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227663360001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793858361000,"timestamp_ms":1793858361000,"timestamp_seconds":1793858361,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4a56a8"} 
[2026-11-05 11:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 11:30:10] 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-05 11:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:30:10] 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-05 11:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227663360001,"66":25451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227663360001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:30:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:30:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227663360001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":230138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:30:10] local.INFO: GPS data processed {"connection_id":230138,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:30:10] local.INFO: Acknowledgment sent {"connection_id":230138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:30:27] local.INFO: TCP Data received {"connection_id":229618,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:30:27] local.INFO: Processing buffer {"connection_id":229618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:30:27] local.INFO: Packet analysis {"connection_id":229618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:30:27] local.INFO: Extracted packet for processing {"connection_id":229618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:30:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227661824001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:30:27] 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-05 11:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793858355000,"timestamp_ms":1793858355000,"timestamp_seconds":1793858355,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4a3f38"} 
[2026-11-05 11:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-11-05 11:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":229618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":229618,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":229618,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227661824001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227661824001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:30:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227661824001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:30:28] 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":62619,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:30:28] local.INFO: GPS data processed {"connection_id":229618,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:30:28] local.INFO: Acknowledgment sent {"connection_id":229618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:30:41] local.INFO: TCP Data received {"connection_id":230138,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4a56a8012d7fad0005afe0480010004529..."} 
[2026-11-05 11:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4a56a8012d7fad0005afe0480010004529..."} 
[2026-11-05 11:30:41] local.INFO: Processing buffer {"connection_id":230138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4a56a8012d7fad0005afe0480010004529..."} 
[2026-11-05 11:30:41] local.INFO: Packet analysis {"connection_id":230138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:30:41] local.INFO: Extracted packet for processing {"connection_id":230138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:30:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":16,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227663360001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793858361000,"timestamp_ms":1793858361000,"timestamp_seconds":1793858361,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4a56a8"} 
[2026-11-05 11:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 11:30:41] 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-05 11:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:30: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-05 11:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227663360001,"66":25451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227663360001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:30:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:30:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227663360001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":230138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:30:41] local.INFO: GPS data processed {"connection_id":230138,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:30:41] local.INFO: Acknowledgment sent {"connection_id":230138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:30:49] local.INFO: TCP Data received {"connection_id":233358,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233358,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:30:49] local.INFO: Processing buffer {"connection_id":233358,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:30:49] local.INFO: IMEI packet received {"connection_id":233358,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":233358,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:30:54] local.INFO: TCP Data received {"connection_id":233358,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233358,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:30:54] local.INFO: Processing buffer {"connection_id":233358,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:30:54] local.INFO: IMEI packet received {"connection_id":233358,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":233358,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:30:56] local.INFO: TCP Data received {"connection_id":233358,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:30:56] local.INFO: Processing buffer {"connection_id":233358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:30:56] local.INFO: Packet analysis {"connection_id":233358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:30:56] local.INFO: Extracted packet for processing {"connection_id":233358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:30:56] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227661824001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:30:56] 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-05 11:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793858355000,"timestamp_ms":1793858355000,"timestamp_seconds":1793858355,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4a3f38"} 
[2026-11-05 11:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-11-05 11:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:30:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":233358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":233358,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":233358,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227661824001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227661824001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:30:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227661824001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":233358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62621,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:30:56] local.INFO: GPS data processed {"connection_id":233358,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:30:56] local.INFO: Acknowledgment sent {"connection_id":233358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:31:03] local.INFO: TCP Data received {"connection_id":230139,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:31:03] local.INFO: Processing buffer {"connection_id":230139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:31:03] local.INFO: IMEI packet received {"connection_id":230139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":230139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:31:09] local.INFO: TCP Data received {"connection_id":230139,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:31:09] local.INFO: Processing buffer {"connection_id":230139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:31:09] local.INFO: IMEI packet received {"connection_id":230139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":230139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:31:09] local.INFO: TCP Data received {"connection_id":230139,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4a56a8012d7fad0005afe0480010004529..."} 
[2026-11-05 11:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4a56a8012d7fad0005afe0480010004529..."} 
[2026-11-05 11:31:09] local.INFO: Processing buffer {"connection_id":230139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4a56a8012d7fad0005afe0480010004529..."} 
[2026-11-05 11:31:09] local.INFO: Packet analysis {"connection_id":230139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:31:09] local.INFO: Extracted packet for processing {"connection_id":230139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:31:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":16,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227663360001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793858361000,"timestamp_ms":1793858361000,"timestamp_seconds":1793858361,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4a56a8"} 
[2026-11-05 11:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 11:31:09] 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-05 11:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:31: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-05 11:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227663360001,"66":25451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227663360001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:31:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:31:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227663360001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":230139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:31:09] local.INFO: GPS data processed {"connection_id":230139,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:31:09] local.INFO: Acknowledgment sent {"connection_id":230139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:31:29] local.INFO: TCP Data received {"connection_id":233358,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:31:29] local.INFO: Processing buffer {"connection_id":233358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:31:29] local.INFO: Packet analysis {"connection_id":233358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:31:29] local.INFO: Extracted packet for processing {"connection_id":233358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:31:29] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227661824001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:31:29] 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-05 11:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793858355000,"timestamp_ms":1793858355000,"timestamp_seconds":1793858355,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4a3f38"} 
[2026-11-05 11:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-11-05 11:31:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:31:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":233358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":233358,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":233358,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227661824001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227661824001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:31:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227661824001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":233358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62623,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:31:29] local.INFO: GPS data processed {"connection_id":233358,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:31:29] local.INFO: Acknowledgment sent {"connection_id":233358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:31:36] local.INFO: TCP Data received {"connection_id":229619,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:31:36] local.INFO: Processing buffer {"connection_id":229619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:31:36] local.INFO: IMEI packet received {"connection_id":229619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 11:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":229619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:31:40] local.INFO: TCP Data received {"connection_id":230139,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4a56a8012d7fad0005afe0480010004529..."} 
[2026-11-05 11:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4a56a8012d7fad0005afe0480010004529..."} 
[2026-11-05 11:31:40] local.INFO: Processing buffer {"connection_id":230139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4a56a8012d7fad0005afe0480010004529..."} 
[2026-11-05 11:31:40] local.INFO: Packet analysis {"connection_id":230139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:31:40] local.INFO: Extracted packet for processing {"connection_id":230139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:31:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":16,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227663360001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793858361000,"timestamp_ms":1793858361000,"timestamp_seconds":1793858361,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4a56a8"} 
[2026-11-05 11:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:31: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-05 11:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 11:31:40] 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-05 11:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:31:40] 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-05 11:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227663360001,"66":25451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227663360001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:31:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:31:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227663360001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":230139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:31:41] local.INFO: GPS data processed {"connection_id":230139,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:31:41] local.INFO: Acknowledgment sent {"connection_id":230139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:31:48] local.INFO: TCP Data received {"connection_id":233359,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233359,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:31:48] local.INFO: Processing buffer {"connection_id":233359,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:31:48] local.INFO: IMEI packet received {"connection_id":233359,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":233359,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:31:54] local.INFO: TCP Data received {"connection_id":233359,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233359,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:31:54] local.INFO: Processing buffer {"connection_id":233359,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:31:54] local.INFO: IMEI packet received {"connection_id":233359,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":233359,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:31:54] local.INFO: TCP Data received {"connection_id":233359,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:31:54] local.INFO: Processing buffer {"connection_id":233359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:31:54] local.INFO: Packet analysis {"connection_id":233359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:31:54] local.INFO: Extracted packet for processing {"connection_id":233359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:31:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227661824001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:31: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-05 11:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793858355000,"timestamp_ms":1793858355000,"timestamp_seconds":1793858355,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4a3f38"} 
[2026-11-05 11:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-11-05 11:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":233359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":233359,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":233359,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227661824001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227661824001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:31:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227661824001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":233359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62625,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:31:55] local.INFO: GPS data processed {"connection_id":233359,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:31:55] local.INFO: Acknowledgment sent {"connection_id":233359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:32:03] local.INFO: TCP Data received {"connection_id":231466,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:32:03] local.INFO: Processing buffer {"connection_id":231466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:32:03] local.INFO: IMEI packet received {"connection_id":231466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":231466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:32:06] local.INFO: TCP Data received {"connection_id":230140,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230140,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:32:06] local.INFO: Processing buffer {"connection_id":230140,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:32:06] local.INFO: IMEI packet received {"connection_id":230140,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 11:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":230140,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:32:09] local.INFO: TCP Data received {"connection_id":231466,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:32:09] local.INFO: Processing buffer {"connection_id":231466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:32:09] local.INFO: IMEI packet received {"connection_id":231466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":231466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:32:10] local.INFO: TCP Data received {"connection_id":231466,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4a56a8012d7fad0005afe0480010004529..."} 
[2026-11-05 11:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4a56a8012d7fad0005afe0480010004529..."} 
[2026-11-05 11:32:10] local.INFO: Processing buffer {"connection_id":231466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4a56a8012d7fad0005afe0480010004529..."} 
[2026-11-05 11:32:10] local.INFO: Packet analysis {"connection_id":231466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:32:10] local.INFO: Extracted packet for processing {"connection_id":231466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:32:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":16,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227663360001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793858361000,"timestamp_ms":1793858361000,"timestamp_seconds":1793858361,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4a56a8"} 
[2026-11-05 11:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 11:32:10] 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-05 11:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:32:10] 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-05 11:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227663360001,"66":25451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227663360001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:32:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227663360001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":231466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:32:10] local.INFO: GPS data processed {"connection_id":231466,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:32:10] local.INFO: Acknowledgment sent {"connection_id":231466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:32:26] local.INFO: TCP Data received {"connection_id":233359,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:32:26] local.INFO: Processing buffer {"connection_id":233359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:32:26] local.INFO: Packet analysis {"connection_id":233359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:32:26] local.INFO: Extracted packet for processing {"connection_id":233359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:32:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227661824001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:32: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-05 11:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793858355000,"timestamp_ms":1793858355000,"timestamp_seconds":1793858355,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4a3f38"} 
[2026-11-05 11: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-05 11:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-11-05 11:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233359,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233359,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227661824001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227661824001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:32:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227661824001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":233359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62627,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:32:26] local.INFO: GPS data processed {"connection_id":233359,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:32:26] local.INFO: Acknowledgment sent {"connection_id":233359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:32:41] local.INFO: TCP Data received {"connection_id":231466,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4a56a8012d7fad0005afe0480010004529..."} 
[2026-11-05 11:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4a56a8012d7fad0005afe0480010004529..."} 
[2026-11-05 11:32:41] local.INFO: Processing buffer {"connection_id":231466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4a56a8012d7fad0005afe0480010004529..."} 
[2026-11-05 11:32:41] local.INFO: Packet analysis {"connection_id":231466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:32:41] local.INFO: Extracted packet for processing {"connection_id":231466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:32:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":16,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227663360001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793858361000,"timestamp_ms":1793858361000,"timestamp_seconds":1793858361,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4a56a8"} 
[2026-11-05 11: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-05 11:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 11:32:41] 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-05 11: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-05 11: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-05 11:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:32:41] 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-05 11:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227663360001,"66":25451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227663360001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:32:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:32:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227663360001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":231466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:32:41] local.INFO: GPS data processed {"connection_id":231466,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:32:41] local.INFO: Acknowledgment sent {"connection_id":231466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:32:54] local.INFO: TCP Data received {"connection_id":229620,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229620,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:32:54] local.INFO: Processing buffer {"connection_id":229620,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:32:54] local.INFO: IMEI packet received {"connection_id":229620,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":229620,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:32:59] local.INFO: TCP Data received {"connection_id":229620,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229620,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:32:59] local.INFO: Processing buffer {"connection_id":229620,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:32:59] local.INFO: IMEI packet received {"connection_id":229620,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":229620,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:33:00] local.INFO: TCP Data received {"connection_id":229620,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:33:00] local.INFO: Processing buffer {"connection_id":229620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:33:00] local.INFO: Packet analysis {"connection_id":229620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:33:00] local.INFO: Extracted packet for processing {"connection_id":229620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:33:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227661824001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:33: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-05 11:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793858355000,"timestamp_ms":1793858355000,"timestamp_seconds":1793858355,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4a3f38"} 
[2026-11-05 11:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-11-05 11:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":229620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":229620,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":229620,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227661824001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227661824001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:33:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227661824001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:33:00] 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":62629,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:33:00] local.INFO: GPS data processed {"connection_id":229620,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:33:00] local.INFO: Acknowledgment sent {"connection_id":229620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:33:04] local.INFO: TCP Data received {"connection_id":229620,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:33:04] local.INFO: Processing buffer {"connection_id":229620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:33:04] local.INFO: Packet analysis {"connection_id":229620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:33:04] local.INFO: Extracted packet for processing {"connection_id":229620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:33:04] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227661824001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793858355000,"timestamp_ms":1793858355000,"timestamp_seconds":1793858355,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4a3f38"} 
[2026-11-05 11:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-11-05 11:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":229620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":229620,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":229620,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227661824001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227661824001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:33:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227661824001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:33:04] 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":62630,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:33:04] local.INFO: GPS data processed {"connection_id":229620,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:33:04] local.INFO: Acknowledgment sent {"connection_id":229620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:33:09] local.INFO: TCP Data received {"connection_id":233360,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:33:09] local.INFO: Processing buffer {"connection_id":233360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:33:09] local.INFO: IMEI packet received {"connection_id":233360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":233360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:33:14] local.INFO: TCP Data received {"connection_id":233360,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:33:14] local.INFO: Processing buffer {"connection_id":233360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:33:14] local.INFO: IMEI packet received {"connection_id":233360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":233360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:33:15] local.INFO: TCP Data received {"connection_id":233360,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4a56a8012d7fad0005afe0480010004529..."} 
[2026-11-05 11:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4a56a8012d7fad0005afe0480010004529..."} 
[2026-11-05 11:33:15] local.INFO: Processing buffer {"connection_id":233360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4a56a8012d7fad0005afe0480010004529..."} 
[2026-11-05 11:33:15] local.INFO: Packet analysis {"connection_id":233360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:33:15] local.INFO: Extracted packet for processing {"connection_id":233360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:33:15] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":16,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 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-05 11:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227663360001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793858361000,"timestamp_ms":1793858361000,"timestamp_seconds":1793858361,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4a56a8"} 
[2026-11-05 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-05 11:33: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-05 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 11:33:15] 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-05 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-05 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-05 11:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:33: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-05 11:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227663360001,"66":25451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227663360001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:33:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:33:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227663360001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":233360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:33:15] local.INFO: GPS data processed {"connection_id":233360,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:33:15] local.INFO: Acknowledgment sent {"connection_id":233360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:33:19] local.INFO: TCP Data received {"connection_id":233360,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4a56a8012d7fad0005afe0480010004529..."} 
[2026-11-05 11:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4a56a8012d7fad0005afe0480010004529..."} 
[2026-11-05 11:33:19] local.INFO: Processing buffer {"connection_id":233360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4a56a8012d7fad0005afe0480010004529..."} 
[2026-11-05 11:33:19] local.INFO: Packet analysis {"connection_id":233360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:33:19] local.INFO: Extracted packet for processing {"connection_id":233360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:33:19] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":16,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227663360001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793858361000,"timestamp_ms":1793858361000,"timestamp_seconds":1793858361,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4a56a8"} 
[2026-11-05 11:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:33: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-05 11:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 11:33:19] 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-05 11:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":233360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":233360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":233360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:33: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-05 11:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227663360001,"66":25451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227663360001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:33:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:33:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227663360001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":233360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:33:19] local.INFO: GPS data processed {"connection_id":233360,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:33:19] local.INFO: Acknowledgment sent {"connection_id":233360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:33:49] local.INFO: TCP Data received {"connection_id":231467,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231467,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:33:49] local.INFO: Processing buffer {"connection_id":231467,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:33:49] local.INFO: IMEI packet received {"connection_id":231467,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":231467,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:33:54] local.INFO: TCP Data received {"connection_id":231467,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231467,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:33:54] local.INFO: Processing buffer {"connection_id":231467,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:33:54] local.INFO: IMEI packet received {"connection_id":231467,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":231467,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:33:54] local.INFO: TCP Data received {"connection_id":231467,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:33:54] local.INFO: Processing buffer {"connection_id":231467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:33:54] local.INFO: Packet analysis {"connection_id":231467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:33:54] local.INFO: Extracted packet for processing {"connection_id":231467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:33:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227661824001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:33: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-05 11:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793858355000,"timestamp_ms":1793858355000,"timestamp_seconds":1793858355,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4a3f38"} 
[2026-11-05 11:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-11-05 11:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":231467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":231467,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":231467,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227661824001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227661824001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:33:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227661824001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":231467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62633,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:33:55] local.INFO: GPS data processed {"connection_id":231467,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:33:55] local.INFO: Acknowledgment sent {"connection_id":231467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:33:59] local.INFO: TCP Data received {"connection_id":231467,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:33:59] local.INFO: Processing buffer {"connection_id":231467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4a3f38012d0b10c00702a1800000014e26..."} 
[2026-11-05 11:33:59] local.INFO: Packet analysis {"connection_id":231467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:33:59] local.INFO: Extracted packet for processing {"connection_id":231467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:33:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227661824001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:33: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-05 11:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793858355000,"timestamp_ms":1793858355000,"timestamp_seconds":1793858355,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4a3f38"} 
[2026-11-05 11:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-11-05 11:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":231467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":231467,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":231467,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227661824001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227661824001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:33:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227661824001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":231467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62634,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:33:59] local.INFO: GPS data processed {"connection_id":231467,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:33:59] local.INFO: Acknowledgment sent {"connection_id":231467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:34:04] local.INFO: TCP Data received {"connection_id":229622,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:34:04] local.INFO: Processing buffer {"connection_id":229622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:34:04] local.INFO: IMEI packet received {"connection_id":229622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":229622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:34:09] local.INFO: TCP Data received {"connection_id":229622,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:34:09] local.INFO: Processing buffer {"connection_id":229622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:34:09] local.INFO: IMEI packet received {"connection_id":229622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":229622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:34:09] local.INFO: TCP Data received {"connection_id":229622,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4a56a8012d7fad0005afe0480010004529..."} 
[2026-11-05 11:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4a56a8012d7fad0005afe0480010004529..."} 
[2026-11-05 11:34:09] local.INFO: Processing buffer {"connection_id":229622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4a56a8012d7fad0005afe0480010004529..."} 
[2026-11-05 11:34:09] local.INFO: Packet analysis {"connection_id":229622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:34:09] local.INFO: Extracted packet for processing {"connection_id":229622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:34:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":16,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227663360001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793858361000,"timestamp_ms":1793858361000,"timestamp_seconds":1793858361,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4a56a8"} 
[2026-11-05 11:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 11:34:09] 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-05 11:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:34:09] 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-05 11:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227663360001,"66":25451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227663360001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:34:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:34:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227663360001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:34:09] 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":62635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:34:09] local.INFO: GPS data processed {"connection_id":229622,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:34:09] local.INFO: Acknowledgment sent {"connection_id":229622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:34:31] local.INFO: TCP Data received {"connection_id":231467,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:34:31] local.INFO: Processing buffer {"connection_id":231467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:34:31] local.INFO: Packet analysis {"connection_id":231467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:34:31] local.INFO: Extracted packet for processing {"connection_id":231467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:34:31] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227738880001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793858656000,"timestamp_ms":1793858656000,"timestamp_seconds":1793858656,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4ed700"} 
[2026-11-05 11:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":231467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":231467,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":231467,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227738880001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227738880001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:34:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227738880001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":231467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62636,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:34:31] local.INFO: GPS data processed {"connection_id":231467,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:34:31] local.INFO: Acknowledgment sent {"connection_id":231467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:34:41] local.INFO: TCP Data received {"connection_id":229622,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4a56a8012d7fad0005afe0480010004529..."} 
[2026-11-05 11:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4a56a8012d7fad0005afe0480010004529..."} 
[2026-11-05 11:34:41] local.INFO: Processing buffer {"connection_id":229622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4a56a8012d7fad0005afe0480010004529..."} 
[2026-11-05 11:34:41] local.INFO: Packet analysis {"connection_id":229622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:34:41] local.INFO: Extracted packet for processing {"connection_id":229622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4a"} 
[2026-11-05 11:34:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":16,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227663360001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793858361000,"timestamp_ms":1793858361000,"timestamp_seconds":1793858361,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4a56a8"} 
[2026-11-05 11:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 11:34:41] 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-05 11:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:34: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-05 11:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227663360001,"66":25451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227663360001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:34:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227663360001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:34:41] 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":62637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:34:41] local.INFO: GPS data processed {"connection_id":229622,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:34:41] local.INFO: Acknowledgment sent {"connection_id":229622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:34:48] local.INFO: TCP Data received {"connection_id":233361,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233361,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:34:49] local.INFO: Processing buffer {"connection_id":233361,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:34:49] local.INFO: IMEI packet received {"connection_id":233361,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":233361,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:34:54] local.INFO: TCP Data received {"connection_id":233361,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233361,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:34:54] local.INFO: Processing buffer {"connection_id":233361,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:34:54] local.INFO: IMEI packet received {"connection_id":233361,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":233361,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:34:55] local.INFO: TCP Data received {"connection_id":233361,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:34:55] local.INFO: Processing buffer {"connection_id":233361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:34:55] local.INFO: Packet analysis {"connection_id":233361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:34:55] local.INFO: Extracted packet for processing {"connection_id":233361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:34:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227738880001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:34: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-05 11:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793858656000,"timestamp_ms":1793858656000,"timestamp_seconds":1793858656,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4ed700"} 
[2026-11-05 11:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:34:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233361,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233361,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227738880001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227738880001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:34:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227738880001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":233361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62638,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:34:55] local.INFO: GPS data processed {"connection_id":233361,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:34:55] local.INFO: Acknowledgment sent {"connection_id":233361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:35:04] local.INFO: TCP Data received {"connection_id":233362,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:35:04] local.INFO: Processing buffer {"connection_id":233362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:35:04] local.INFO: IMEI packet received {"connection_id":233362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":233362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:35:09] local.INFO: TCP Data received {"connection_id":233362,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:35:09] local.INFO: Processing buffer {"connection_id":233362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:35:09] local.INFO: IMEI packet received {"connection_id":233362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":233362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:35:09] local.INFO: TCP Data received {"connection_id":233362,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4eee70012d7fad0005afe0480014004528..."} 
[2026-11-05 11:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4eee70012d7fad0005afe0480014004528..."} 
[2026-11-05 11:35:09] local.INFO: Processing buffer {"connection_id":233362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4eee70012d7fad0005afe0480014004528..."} 
[2026-11-05 11:35:09] local.INFO: Packet analysis {"connection_id":233362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:35:09] local.INFO: Extracted packet for processing {"connection_id":233362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:35:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":20,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227740416001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793858662000,"timestamp_ms":1793858662000,"timestamp_seconds":1793858662,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4eee70"} 
[2026-11-05 11:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 11:35:09] 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-05 11:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:35:09] 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-05 11:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227740416001,"66":25441,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227740416001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:35:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:35:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227740416001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":233362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:35:09] local.INFO: GPS data processed {"connection_id":233362,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:35:09] local.INFO: Acknowledgment sent {"connection_id":233362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:35:26] local.INFO: TCP Data received {"connection_id":233361,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:35:26] local.INFO: Processing buffer {"connection_id":233361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:35:26] local.INFO: Packet analysis {"connection_id":233361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:35:26] local.INFO: Extracted packet for processing {"connection_id":233361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:35:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227738880001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:35: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-05 11:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793858656000,"timestamp_ms":1793858656000,"timestamp_seconds":1793858656,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4ed700"} 
[2026-11-05 11: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-05 11:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233361,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233361,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:35:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227738880001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227738880001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:35:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227738880001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":233361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62640,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:35:26] local.INFO: GPS data processed {"connection_id":233361,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:35:26] local.INFO: Acknowledgment sent {"connection_id":233361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:35:40] local.INFO: TCP Data received {"connection_id":233362,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4eee70012d7fad0005afe0480014004528..."} 
[2026-11-05 11:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4eee70012d7fad0005afe0480014004528..."} 
[2026-11-05 11:35:40] local.INFO: Processing buffer {"connection_id":233362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4eee70012d7fad0005afe0480014004528..."} 
[2026-11-05 11:35:40] local.INFO: Packet analysis {"connection_id":233362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:35:40] local.INFO: Extracted packet for processing {"connection_id":233362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:35:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":20,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227740416001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793858662000,"timestamp_ms":1793858662000,"timestamp_seconds":1793858662,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4eee70"} 
[2026-11-05 11:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:35: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-05 11:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 11:35:40] 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-05 11:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:35: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-05 11:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227740416001,"66":25441,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227740416001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:35:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:35:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227740416001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":233362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:35:41] local.INFO: GPS data processed {"connection_id":233362,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:35:41] local.INFO: Acknowledgment sent {"connection_id":233362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:35:48] local.INFO: TCP Data received {"connection_id":233363,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233363,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:35:48] local.INFO: Processing buffer {"connection_id":233363,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:35:48] local.INFO: IMEI packet received {"connection_id":233363,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":233363,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:35:54] local.INFO: TCP Data received {"connection_id":233363,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233363,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:35:54] local.INFO: Processing buffer {"connection_id":233363,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:35:54] local.INFO: IMEI packet received {"connection_id":233363,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":233363,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:35:55] local.INFO: TCP Data received {"connection_id":233363,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:35:55] local.INFO: Processing buffer {"connection_id":233363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:35:55] local.INFO: Packet analysis {"connection_id":233363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:35:55] local.INFO: Extracted packet for processing {"connection_id":233363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:35:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227738880001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:35: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-05 11:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793858656000,"timestamp_ms":1793858656000,"timestamp_seconds":1793858656,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4ed700"} 
[2026-11-05 11: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-05 11:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233363,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233363,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227738880001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227738880001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:35:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227738880001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":233363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62642,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:35:55] local.INFO: GPS data processed {"connection_id":233363,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:35:55] local.INFO: Acknowledgment sent {"connection_id":233363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:36:03] local.INFO: TCP Data received {"connection_id":233364,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:36:03] local.INFO: Processing buffer {"connection_id":233364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:36:03] local.INFO: IMEI packet received {"connection_id":233364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":233364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:36:09] local.INFO: TCP Data received {"connection_id":233364,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:36:09] local.INFO: Processing buffer {"connection_id":233364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:36:09] local.INFO: IMEI packet received {"connection_id":233364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":233364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:36:09] local.INFO: TCP Data received {"connection_id":233364,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4eee70012d7fad0005afe0480014004528..."} 
[2026-11-05 11:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4eee70012d7fad0005afe0480014004528..."} 
[2026-11-05 11:36:09] local.INFO: Processing buffer {"connection_id":233364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4eee70012d7fad0005afe0480014004528..."} 
[2026-11-05 11:36:09] local.INFO: Packet analysis {"connection_id":233364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:36:09] local.INFO: Extracted packet for processing {"connection_id":233364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:36:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":20,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227740416001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793858662000,"timestamp_ms":1793858662000,"timestamp_seconds":1793858662,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4eee70"} 
[2026-11-05 11:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 11:36:09] 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-05 11:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:36: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-05 11:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227740416001,"66":25441,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227740416001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:36:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:36:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227740416001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":233364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:36:09] local.INFO: GPS data processed {"connection_id":233364,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:36:09] local.INFO: Acknowledgment sent {"connection_id":233364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:36:26] local.INFO: TCP Data received {"connection_id":233363,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:36:26] local.INFO: Processing buffer {"connection_id":233363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:36:26] local.INFO: Packet analysis {"connection_id":233363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:36:26] local.INFO: Extracted packet for processing {"connection_id":233363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:36:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227738880001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:36: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-05 11:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793858656000,"timestamp_ms":1793858656000,"timestamp_seconds":1793858656,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4ed700"} 
[2026-11-05 11:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:36:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233363,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233363,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227738880001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227738880001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:36:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227738880001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":233363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62644,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:36:26] local.INFO: GPS data processed {"connection_id":233363,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:36:26] local.INFO: Acknowledgment sent {"connection_id":233363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:36:42] local.INFO: TCP Data received {"connection_id":233364,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4eee70012d7fad0005afe0480014004528..."} 
[2026-11-05 11:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4eee70012d7fad0005afe0480014004528..."} 
[2026-11-05 11:36:42] local.INFO: Processing buffer {"connection_id":233364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4eee70012d7fad0005afe0480014004528..."} 
[2026-11-05 11:36:42] local.INFO: Packet analysis {"connection_id":233364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:36:42] local.INFO: Extracted packet for processing {"connection_id":233364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:36:42] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":20,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227740416001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793858662000,"timestamp_ms":1793858662000,"timestamp_seconds":1793858662,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4eee70"} 
[2026-11-05 11:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 11:36:42] 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-05 11:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:36:42] 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-05 11:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227740416001,"66":25441,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227740416001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:36:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:36:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227740416001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":233364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:36:42] local.INFO: GPS data processed {"connection_id":233364,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:36:42] local.INFO: Acknowledgment sent {"connection_id":233364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:36:49] local.INFO: TCP Data received {"connection_id":233365,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233365,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:36:49] local.INFO: Processing buffer {"connection_id":233365,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:36:49] local.INFO: IMEI packet received {"connection_id":233365,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":233365,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:36:54] local.INFO: TCP Data received {"connection_id":233365,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233365,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:36:54] local.INFO: Processing buffer {"connection_id":233365,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:36:54] local.INFO: IMEI packet received {"connection_id":233365,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":233365,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:36:55] local.INFO: TCP Data received {"connection_id":233365,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:36:55] local.INFO: Processing buffer {"connection_id":233365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:36:55] local.INFO: Packet analysis {"connection_id":233365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:36:55] local.INFO: Extracted packet for processing {"connection_id":233365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:36:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227738880001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:36: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-05 11:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793858656000,"timestamp_ms":1793858656000,"timestamp_seconds":1793858656,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4ed700"} 
[2026-11-05 11:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233365,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233365,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227738880001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227738880001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:36:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227738880001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":233365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62646,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:36:55] local.INFO: GPS data processed {"connection_id":233365,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:36:55] local.INFO: Acknowledgment sent {"connection_id":233365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:37:03] local.INFO: TCP Data received {"connection_id":230142,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:37:03] local.INFO: Processing buffer {"connection_id":230142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:37:03] local.INFO: IMEI packet received {"connection_id":230142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":230142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:37:09] local.INFO: TCP Data received {"connection_id":230142,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:37:09] local.INFO: Processing buffer {"connection_id":230142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:37:09] local.INFO: IMEI packet received {"connection_id":230142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":230142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:37:10] local.INFO: TCP Data received {"connection_id":230142,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4eee70012d7fad0005afe0480014004528..."} 
[2026-11-05 11:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4eee70012d7fad0005afe0480014004528..."} 
[2026-11-05 11:37:10] local.INFO: Processing buffer {"connection_id":230142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4eee70012d7fad0005afe0480014004528..."} 
[2026-11-05 11:37:10] local.INFO: Packet analysis {"connection_id":230142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:37:10] local.INFO: Extracted packet for processing {"connection_id":230142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:37:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":20,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227740416001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793858662000,"timestamp_ms":1793858662000,"timestamp_seconds":1793858662,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4eee70"} 
[2026-11-05 11:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 11:37:10] 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-05 11:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:37:10] 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-05 11:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227740416001,"66":25441,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227740416001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:37:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:37:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227740416001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":230142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:37:10] local.INFO: GPS data processed {"connection_id":230142,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:37:10] local.INFO: Acknowledgment sent {"connection_id":230142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:37:26] local.INFO: TCP Data received {"connection_id":233365,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:37:26] local.INFO: Processing buffer {"connection_id":233365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:37:26] local.INFO: Packet analysis {"connection_id":233365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:37:26] local.INFO: Extracted packet for processing {"connection_id":233365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:37:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227738880001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:37: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-05 11:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793858656000,"timestamp_ms":1793858656000,"timestamp_seconds":1793858656,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4ed700"} 
[2026-11-05 11: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-05 11:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:37:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233365,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233365,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:37:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227738880001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227738880001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:37:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227738880001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":233365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62648,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:37:27] local.INFO: GPS data processed {"connection_id":233365,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:37:27] local.INFO: Acknowledgment sent {"connection_id":233365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:37:31] local.INFO: TCP Data received {"connection_id":230143,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230143,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:37:31] local.INFO: Processing buffer {"connection_id":230143,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:37:31] local.INFO: IMEI packet received {"connection_id":230143,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 11:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":230143,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:37:41] local.INFO: TCP Data received {"connection_id":230142,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4eee70012d7fad0005afe0480014004528..."} 
[2026-11-05 11:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4eee70012d7fad0005afe0480014004528..."} 
[2026-11-05 11:37:41] local.INFO: Processing buffer {"connection_id":230142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4eee70012d7fad0005afe0480014004528..."} 
[2026-11-05 11:37:41] local.INFO: Packet analysis {"connection_id":230142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:37:41] local.INFO: Extracted packet for processing {"connection_id":230142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:37:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":20,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227740416001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793858662000,"timestamp_ms":1793858662000,"timestamp_seconds":1793858662,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4eee70"} 
[2026-11-05 11: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-05 11:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 11:37:41] 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-05 11: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-05 11: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-05 11:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:37: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-05 11:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227740416001,"66":25441,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227740416001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:37:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:37:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227740416001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":230142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:37:41] local.INFO: GPS data processed {"connection_id":230142,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:37:41] local.INFO: Acknowledgment sent {"connection_id":230142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:37:54] local.INFO: TCP Data received {"connection_id":231468,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231468,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:37:54] local.INFO: Processing buffer {"connection_id":231468,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:37:54] local.INFO: IMEI packet received {"connection_id":231468,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":231468,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:37:59] local.INFO: TCP Data received {"connection_id":231468,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231468,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:37:59] local.INFO: Processing buffer {"connection_id":231468,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:37:59] local.INFO: IMEI packet received {"connection_id":231468,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":231468,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:38:02] local.INFO: TCP Data received {"connection_id":231468,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:38:02] local.INFO: Processing buffer {"connection_id":231468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:38:02] local.INFO: Packet analysis {"connection_id":231468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:38:02] local.INFO: Extracted packet for processing {"connection_id":231468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:38:02] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227738880001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1793858656000,"timestamp_ms":1793858656000,"timestamp_seconds":1793858656,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4ed700"} 
[2026-11-05 11:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":231468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":231468,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":231468,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227738880001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227738880001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:38:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227738880001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":231468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62650,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:38:02] local.INFO: GPS data processed {"connection_id":231468,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:38:02] local.INFO: Acknowledgment sent {"connection_id":231468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:38:04] local.INFO: TCP Data received {"connection_id":231468,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:38:04] local.INFO: Processing buffer {"connection_id":231468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:38:04] local.INFO: Packet analysis {"connection_id":231468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:38:04] local.INFO: Extracted packet for processing {"connection_id":231468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:38:04] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227738880001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793858656000,"timestamp_ms":1793858656000,"timestamp_seconds":1793858656,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4ed700"} 
[2026-11-05 11:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":231468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":231468,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":231468,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227738880001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227738880001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:38:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227738880001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":231468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62651,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:38:04] local.INFO: GPS data processed {"connection_id":231468,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:38:04] local.INFO: Acknowledgment sent {"connection_id":231468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:38:06] local.INFO: TCP Data received {"connection_id":231470,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:38:06] local.INFO: Processing buffer {"connection_id":231470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:38:06] local.INFO: IMEI packet received {"connection_id":231470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 11:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":231470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:38:09] local.INFO: TCP Data received {"connection_id":231469,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:38:09] local.INFO: Processing buffer {"connection_id":231469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:38:09] local.INFO: IMEI packet received {"connection_id":231469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":231469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:38:14] local.INFO: TCP Data received {"connection_id":231469,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:38:14] local.INFO: Processing buffer {"connection_id":231469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:38:14] local.INFO: IMEI packet received {"connection_id":231469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":231469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:38:15] local.INFO: TCP Data received {"connection_id":231469,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4eee70012d7fad0005afe0480014004528..."} 
[2026-11-05 11:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4eee70012d7fad0005afe0480014004528..."} 
[2026-11-05 11:38:15] local.INFO: Processing buffer {"connection_id":231469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4eee70012d7fad0005afe0480014004528..."} 
[2026-11-05 11:38:15] local.INFO: Packet analysis {"connection_id":231469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:38:15] local.INFO: Extracted packet for processing {"connection_id":231469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:38:15] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":20,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227740416001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793858662000,"timestamp_ms":1793858662000,"timestamp_seconds":1793858662,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4eee70"} 
[2026-11-05 11: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-05 11:38: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-05 11: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 11:38:15] 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-05 11: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-05 11: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-05 11:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":231469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":231469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":231469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:38:15] 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-05 11:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227740416001,"66":25441,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227740416001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:38:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:38:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227740416001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":231469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:38:15] local.INFO: GPS data processed {"connection_id":231469,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:38:15] local.INFO: Acknowledgment sent {"connection_id":231469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:38:19] local.INFO: TCP Data received {"connection_id":231469,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4eee70012d7fad0005afe0480014004528..."} 
[2026-11-05 11:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4eee70012d7fad0005afe0480014004528..."} 
[2026-11-05 11:38:19] local.INFO: Processing buffer {"connection_id":231469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4eee70012d7fad0005afe0480014004528..."} 
[2026-11-05 11:38:19] local.INFO: Packet analysis {"connection_id":231469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:38:19] local.INFO: Extracted packet for processing {"connection_id":231469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:38:19] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":20,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227740416001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793858662000,"timestamp_ms":1793858662000,"timestamp_seconds":1793858662,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4eee70"} 
[2026-11-05 11: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-05 11: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-05 11: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 11:38:19] 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-05 11: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-05 11: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-05 11:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":231469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":231469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":231469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:38: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-05 11:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227740416001,"66":25441,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227740416001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:38:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:38:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227740416001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":231469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:38:19] local.INFO: GPS data processed {"connection_id":231469,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:38:19] local.INFO: Acknowledgment sent {"connection_id":231469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:38:48] local.INFO: TCP Data received {"connection_id":230144,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230144,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:38:49] local.INFO: Processing buffer {"connection_id":230144,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:38:49] local.INFO: IMEI packet received {"connection_id":230144,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":230144,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:38:54] local.INFO: TCP Data received {"connection_id":230144,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230144,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:38:54] local.INFO: Processing buffer {"connection_id":230144,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:38:54] local.INFO: IMEI packet received {"connection_id":230144,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":230144,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:38:57] local.INFO: TCP Data received {"connection_id":230144,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:38:57] local.INFO: Processing buffer {"connection_id":230144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:38:57] local.INFO: Packet analysis {"connection_id":230144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:38:57] local.INFO: Extracted packet for processing {"connection_id":230144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:38:57] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227738880001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:38:57] 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-05 11:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1793858656000,"timestamp_ms":1793858656000,"timestamp_seconds":1793858656,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4ed700"} 
[2026-11-05 11:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:38:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":230144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":230144,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":230144,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227738880001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227738880001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:38:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227738880001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":230144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62654,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:38:57] local.INFO: GPS data processed {"connection_id":230144,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:38:57] local.INFO: Acknowledgment sent {"connection_id":230144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:39:03] local.INFO: TCP Data received {"connection_id":233366,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:39:03] local.INFO: Processing buffer {"connection_id":233366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:39:03] local.INFO: IMEI packet received {"connection_id":233366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":233366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:39:09] local.INFO: TCP Data received {"connection_id":233366,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:39:09] local.INFO: Processing buffer {"connection_id":233366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:39:09] local.INFO: IMEI packet received {"connection_id":233366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":233366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:39:09] local.INFO: TCP Data received {"connection_id":233366,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4eee70012d7fad0005afe0480014004528..."} 
[2026-11-05 11:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4eee70012d7fad0005afe0480014004528..."} 
[2026-11-05 11:39:09] local.INFO: Processing buffer {"connection_id":233366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4eee70012d7fad0005afe0480014004528..."} 
[2026-11-05 11:39:09] local.INFO: Packet analysis {"connection_id":233366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:39:09] local.INFO: Extracted packet for processing {"connection_id":233366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:39:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":20,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227740416001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793858662000,"timestamp_ms":1793858662000,"timestamp_seconds":1793858662,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4eee70"} 
[2026-11-05 11:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 11:39:09] 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-05 11:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:39:10] 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-05 11:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227740416001,"66":25441,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227740416001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:39:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227740416001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":233366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:39:10] local.INFO: GPS data processed {"connection_id":233366,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:39:10] local.INFO: Acknowledgment sent {"connection_id":233366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:39:28] local.INFO: TCP Data received {"connection_id":230144,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:39:28] local.INFO: Processing buffer {"connection_id":230144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:39:28] local.INFO: Packet analysis {"connection_id":230144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:39:28] local.INFO: Extracted packet for processing {"connection_id":230144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:39:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227815936001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:39: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-05 11:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1793858957000,"timestamp_ms":1793858957000,"timestamp_seconds":1793858957,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa536ec8"} 
[2026-11-05 11:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":230144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":230144,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":230144,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227815936001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227815936001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:39:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227815936001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":230144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62656,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:39:29] local.INFO: GPS data processed {"connection_id":230144,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:39:29] local.INFO: Acknowledgment sent {"connection_id":230144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:39:41] local.INFO: TCP Data received {"connection_id":233366,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4eee70012d7fad0005afe0480014004528..."} 
[2026-11-05 11:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4eee70012d7fad0005afe0480014004528..."} 
[2026-11-05 11:39:41] local.INFO: Processing buffer {"connection_id":233366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4eee70012d7fad0005afe0480014004528..."} 
[2026-11-05 11:39:41] local.INFO: Packet analysis {"connection_id":233366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:39:41] local.INFO: Extracted packet for processing {"connection_id":233366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 11:39:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":20,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227740416001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793858662000,"timestamp_ms":1793858662000,"timestamp_seconds":1793858662,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4eee70"} 
[2026-11-05 11:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 11:39:41] 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-05 11:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:39:41] 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-05 11:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227740416001,"66":25441,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227740416001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:39:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:39:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227740416001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":233366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:39:41] local.INFO: GPS data processed {"connection_id":233366,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:39:41] local.INFO: Acknowledgment sent {"connection_id":233366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:39:48] local.INFO: TCP Data received {"connection_id":231471,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231471,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:39:48] local.INFO: Processing buffer {"connection_id":231471,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:39:48] local.INFO: IMEI packet received {"connection_id":231471,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":231471,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:39:53] local.INFO: TCP Data received {"connection_id":231471,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231471,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:39:53] local.INFO: Processing buffer {"connection_id":231471,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:39:53] local.INFO: IMEI packet received {"connection_id":231471,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":231471,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:39:54] local.INFO: TCP Data received {"connection_id":231471,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:39:54] local.INFO: Processing buffer {"connection_id":231471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:39:54] local.INFO: Packet analysis {"connection_id":231471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:39:54] local.INFO: Extracted packet for processing {"connection_id":231471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:39:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227815936001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:39: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-05 11:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793858957000,"timestamp_ms":1793858957000,"timestamp_seconds":1793858957,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa536ec8"} 
[2026-11-05 11:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":231471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":231471,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":231471,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227815936001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227815936001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:39:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227815936001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":231471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62658,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:39:54] local.INFO: GPS data processed {"connection_id":231471,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:39:54] local.INFO: Acknowledgment sent {"connection_id":231471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:40:03] local.INFO: TCP Data received {"connection_id":233367,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:40:03] local.INFO: Processing buffer {"connection_id":233367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:40:03] local.INFO: IMEI packet received {"connection_id":233367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":233367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:40:09] local.INFO: TCP Data received {"connection_id":233367,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:40:09] local.INFO: Processing buffer {"connection_id":233367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:40:09] local.INFO: IMEI packet received {"connection_id":233367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":233367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:40:09] local.INFO: TCP Data received {"connection_id":233367,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa538638012d7fad0005afe0480000004526..."} 
[2026-11-05 11:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa538638012d7fad0005afe0480000004526..."} 
[2026-11-05 11:40:09] local.INFO: Processing buffer {"connection_id":233367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa538638012d7fad0005afe0480000004526..."} 
[2026-11-05 11:40:09] local.INFO: Packet analysis {"connection_id":233367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:40:09] local.INFO: Extracted packet for processing {"connection_id":233367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:40:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227817472001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793858963000,"timestamp_ms":1793858963000,"timestamp_seconds":1793858963,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa538638"} 
[2026-11-05 11:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:40: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-05 11:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 11:40:09] 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-05 11:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:40:09] 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-05 11:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227817472001,"66":24451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227817472001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:40:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:40:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227817472001,"power":24451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":233367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:40:09] local.INFO: GPS data processed {"connection_id":233367,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:40:09] local.INFO: Acknowledgment sent {"connection_id":233367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:40:26] local.INFO: TCP Data received {"connection_id":231471,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:40:26] local.INFO: Processing buffer {"connection_id":231471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:40:26] local.INFO: Packet analysis {"connection_id":231471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:40:26] local.INFO: Extracted packet for processing {"connection_id":231471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:40:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227815936001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:40: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-05 11:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793858957000,"timestamp_ms":1793858957000,"timestamp_seconds":1793858957,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa536ec8"} 
[2026-11-05 11:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231471,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231471,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227815936001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227815936001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:40:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227815936001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":231471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62660,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:40:26] local.INFO: GPS data processed {"connection_id":231471,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:40:26] local.INFO: Acknowledgment sent {"connection_id":231471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:40:41] local.INFO: TCP Data received {"connection_id":233367,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa538638012d7fad0005afe0480000004526..."} 
[2026-11-05 11:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa538638012d7fad0005afe0480000004526..."} 
[2026-11-05 11:40:41] local.INFO: Processing buffer {"connection_id":233367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa538638012d7fad0005afe0480000004526..."} 
[2026-11-05 11:40:41] local.INFO: Packet analysis {"connection_id":233367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:40:41] local.INFO: Extracted packet for processing {"connection_id":233367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:40:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227817472001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793858963000,"timestamp_ms":1793858963000,"timestamp_seconds":1793858963,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa538638"} 
[2026-11-05 11:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:40: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-05 11:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 11:40:41] 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-05 11:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:40: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-05 11:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227817472001,"66":24451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227817472001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:40:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:40:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227817472001,"power":24451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":233367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:40:41] local.INFO: GPS data processed {"connection_id":233367,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:40:41] local.INFO: Acknowledgment sent {"connection_id":233367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:40:48] local.INFO: TCP Data received {"connection_id":233369,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233369,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:40:48] local.INFO: Processing buffer {"connection_id":233369,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:40:48] local.INFO: IMEI packet received {"connection_id":233369,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":233369,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:40:55] local.INFO: TCP Data received {"connection_id":233369,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233369,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:40:55] local.INFO: Processing buffer {"connection_id":233369,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:40:55] local.INFO: IMEI packet received {"connection_id":233369,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":233369,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:40:56] local.INFO: TCP Data received {"connection_id":233369,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:40:56] local.INFO: Processing buffer {"connection_id":233369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:40:56] local.INFO: Packet analysis {"connection_id":233369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:40:56] local.INFO: Extracted packet for processing {"connection_id":233369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:40:56] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227815936001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:40:56] 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-05 11:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793858957000,"timestamp_ms":1793858957000,"timestamp_seconds":1793858957,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa536ec8"} 
[2026-11-05 11:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:40:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":233369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":233369,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":233369,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227815936001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227815936001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:40:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227815936001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":233369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62662,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:40:56] local.INFO: GPS data processed {"connection_id":233369,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:40:56] local.INFO: Acknowledgment sent {"connection_id":233369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:41:03] local.INFO: TCP Data received {"connection_id":233370,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:41:03] local.INFO: Processing buffer {"connection_id":233370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:41:03] local.INFO: IMEI packet received {"connection_id":233370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":233370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:41:09] local.INFO: TCP Data received {"connection_id":233370,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:41:09] local.INFO: Processing buffer {"connection_id":233370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:41:09] local.INFO: IMEI packet received {"connection_id":233370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":233370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:41:09] local.INFO: TCP Data received {"connection_id":233370,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa538638012d7fad0005afe0480000004526..."} 
[2026-11-05 11:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa538638012d7fad0005afe0480000004526..."} 
[2026-11-05 11:41:09] local.INFO: Processing buffer {"connection_id":233370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa538638012d7fad0005afe0480000004526..."} 
[2026-11-05 11:41:09] local.INFO: Packet analysis {"connection_id":233370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:41:09] local.INFO: Extracted packet for processing {"connection_id":233370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:41:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227817472001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793858963000,"timestamp_ms":1793858963000,"timestamp_seconds":1793858963,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa538638"} 
[2026-11-05 11:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:41: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-05 11:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 11:41:09] 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-05 11:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:41:09] 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-05 11:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227817472001,"66":24451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227817472001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:41:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:41:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227817472001,"power":24451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":233370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:41:09] local.INFO: GPS data processed {"connection_id":233370,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:41:09] local.INFO: Acknowledgment sent {"connection_id":233370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:41:27] local.INFO: TCP Data received {"connection_id":233369,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:41:27] local.INFO: Processing buffer {"connection_id":233369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:41:27] local.INFO: Packet analysis {"connection_id":233369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:41:27] local.INFO: Extracted packet for processing {"connection_id":233369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:41:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227815936001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:41:27] 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-05 11:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793858957000,"timestamp_ms":1793858957000,"timestamp_seconds":1793858957,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa536ec8"} 
[2026-11-05 11:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":233369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":233369,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":233369,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227815936001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227815936001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:41:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227815936001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":233369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62664,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:41:28] local.INFO: GPS data processed {"connection_id":233369,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:41:28] local.INFO: Acknowledgment sent {"connection_id":233369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:41:41] local.INFO: TCP Data received {"connection_id":233370,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa538638012d7fad0005afe0480000004526..."} 
[2026-11-05 11:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa538638012d7fad0005afe0480000004526..."} 
[2026-11-05 11:41:41] local.INFO: Processing buffer {"connection_id":233370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa538638012d7fad0005afe0480000004526..."} 
[2026-11-05 11:41:41] local.INFO: Packet analysis {"connection_id":233370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:41:41] local.INFO: Extracted packet for processing {"connection_id":233370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:41:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227817472001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793858963000,"timestamp_ms":1793858963000,"timestamp_seconds":1793858963,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa538638"} 
[2026-11-05 11:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:41: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-05 11:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 11:41:41] 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-05 11:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:41: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-05 11:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227817472001,"66":24451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227817472001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:41:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:41:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227817472001,"power":24451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":233370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:41:41] local.INFO: GPS data processed {"connection_id":233370,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:41:41] local.INFO: Acknowledgment sent {"connection_id":233370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:41:56] local.INFO: TCP Data received {"connection_id":230145,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230145,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:41:56] local.INFO: Processing buffer {"connection_id":230145,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:41:56] local.INFO: IMEI packet received {"connection_id":230145,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":230145,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:41:58] local.INFO: TCP Data received {"connection_id":230145,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230145,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:41:58] local.INFO: Processing buffer {"connection_id":230145,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:41:58] local.INFO: IMEI packet received {"connection_id":230145,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":230145,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:41:59] local.INFO: TCP Data received {"connection_id":230145,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:41:59] local.INFO: Processing buffer {"connection_id":230145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:41:59] local.INFO: Packet analysis {"connection_id":230145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:41:59] local.INFO: Extracted packet for processing {"connection_id":230145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:41:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227815936001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:41: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-05 11:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793858957000,"timestamp_ms":1793858957000,"timestamp_seconds":1793858957,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa536ec8"} 
[2026-11-05 11: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-05 11:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":230145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":230145,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":230145,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227815936001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227815936001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:41:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227815936001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":230145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62666,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:41:59] local.INFO: GPS data processed {"connection_id":230145,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:41:59] local.INFO: Acknowledgment sent {"connection_id":230145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:42:04] local.INFO: TCP Data received {"connection_id":230145,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:42:04] local.INFO: Processing buffer {"connection_id":230145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:42:04] local.INFO: Packet analysis {"connection_id":230145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:42:04] local.INFO: Extracted packet for processing {"connection_id":230145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:42:04] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227815936001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793858957000,"timestamp_ms":1793858957000,"timestamp_seconds":1793858957,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa536ec8"} 
[2026-11-05 11:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":230145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":230145,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":230145,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227815936001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227815936001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:42:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227815936001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":230145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62667,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:42:05] local.INFO: GPS data processed {"connection_id":230145,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:42:05] local.INFO: Acknowledgment sent {"connection_id":230145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:42:09] local.INFO: TCP Data received {"connection_id":229626,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:42:09] local.INFO: Processing buffer {"connection_id":229626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:42:09] local.INFO: IMEI packet received {"connection_id":229626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":229626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:42:14] local.INFO: TCP Data received {"connection_id":229626,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:42:14] local.INFO: Processing buffer {"connection_id":229626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:42:14] local.INFO: IMEI packet received {"connection_id":229626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":229626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:42:15] local.INFO: TCP Data received {"connection_id":229626,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa538638012d7fad0005afe0480000004526..."} 
[2026-11-05 11:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa538638012d7fad0005afe0480000004526..."} 
[2026-11-05 11:42:15] local.INFO: Processing buffer {"connection_id":229626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa538638012d7fad0005afe0480000004526..."} 
[2026-11-05 11:42:15] local.INFO: Packet analysis {"connection_id":229626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:42:15] local.INFO: Extracted packet for processing {"connection_id":229626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:42:15] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227817472001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793858963000,"timestamp_ms":1793858963000,"timestamp_seconds":1793858963,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa538638"} 
[2026-11-05 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-05 11:42: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-05 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 11:42:15] 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-05 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-05 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-05 11:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:42:15] 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-05 11:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227817472001,"66":24451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227817472001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:42:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:42:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227817472001,"power":24451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:42:15] 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":62668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:42:15] local.INFO: GPS data processed {"connection_id":229626,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:42:15] local.INFO: Acknowledgment sent {"connection_id":229626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:42:19] local.INFO: TCP Data received {"connection_id":229626,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa538638012d7fad0005afe0480000004526..."} 
[2026-11-05 11:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa538638012d7fad0005afe0480000004526..."} 
[2026-11-05 11:42:19] local.INFO: Processing buffer {"connection_id":229626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa538638012d7fad0005afe0480000004526..."} 
[2026-11-05 11:42:19] local.INFO: Packet analysis {"connection_id":229626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:42:19] local.INFO: Extracted packet for processing {"connection_id":229626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:42:19] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 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-05 11:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227817472001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793858963000,"timestamp_ms":1793858963000,"timestamp_seconds":1793858963,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa538638"} 
[2026-11-05 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-05 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-05 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 11:42:19] 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-05 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-05 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-05 11:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:42:19] 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-05 11:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227817472001,"66":24451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227817472001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:42:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:42:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227817472001,"power":24451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:42:19] 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":62669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:42:19] local.INFO: GPS data processed {"connection_id":229626,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:42:19] local.INFO: Acknowledgment sent {"connection_id":229626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:42:49] local.INFO: TCP Data received {"connection_id":233372,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233372,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:42:49] local.INFO: Processing buffer {"connection_id":233372,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:42:49] local.INFO: IMEI packet received {"connection_id":233372,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":233372,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:42:54] local.INFO: TCP Data received {"connection_id":233372,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233372,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:42:54] local.INFO: Processing buffer {"connection_id":233372,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:42:54] local.INFO: IMEI packet received {"connection_id":233372,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":233372,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:42:55] local.INFO: TCP Data received {"connection_id":233372,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:42:55] local.INFO: Processing buffer {"connection_id":233372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:42:55] local.INFO: Packet analysis {"connection_id":233372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:42:55] local.INFO: Extracted packet for processing {"connection_id":233372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:42:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227815936001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:42: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-05 11:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793858957000,"timestamp_ms":1793858957000,"timestamp_seconds":1793858957,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa536ec8"} 
[2026-11-05 11:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227815936001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227815936001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:42:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227815936001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":233372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62670,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:42:55] local.INFO: GPS data processed {"connection_id":233372,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:42:55] local.INFO: Acknowledgment sent {"connection_id":233372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:42:59] local.INFO: TCP Data received {"connection_id":233372,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:42:59] local.INFO: Processing buffer {"connection_id":233372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:42:59] local.INFO: Packet analysis {"connection_id":233372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:42:59] local.INFO: Extracted packet for processing {"connection_id":233372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:42:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227815936001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:42: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-05 11:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793858957000,"timestamp_ms":1793858957000,"timestamp_seconds":1793858957,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa536ec8"} 
[2026-11-05 11: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-05 11:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":233372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":233372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":233372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227815936001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227815936001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:42:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227815936001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":233372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62671,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:42:59] local.INFO: GPS data processed {"connection_id":233372,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:42:59] local.INFO: Acknowledgment sent {"connection_id":233372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:43:04] local.INFO: TCP Data received {"connection_id":233373,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:43:04] local.INFO: Processing buffer {"connection_id":233373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:43:04] local.INFO: IMEI packet received {"connection_id":233373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":233373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:43:09] local.INFO: TCP Data received {"connection_id":233373,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:43:09] local.INFO: Processing buffer {"connection_id":233373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:43:09] local.INFO: IMEI packet received {"connection_id":233373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":233373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:43:10] local.INFO: TCP Data received {"connection_id":233373,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa538638012d7fad0005afe0480000004526..."} 
[2026-11-05 11:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa538638012d7fad0005afe0480000004526..."} 
[2026-11-05 11:43:10] local.INFO: Processing buffer {"connection_id":233373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa538638012d7fad0005afe0480000004526..."} 
[2026-11-05 11:43:10] local.INFO: Packet analysis {"connection_id":233373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:43:10] local.INFO: Extracted packet for processing {"connection_id":233373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:43:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227817472001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793858963000,"timestamp_ms":1793858963000,"timestamp_seconds":1793858963,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa538638"} 
[2026-11-05 11:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 11:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 11:43:10] 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-05 11:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:43:10] 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-05 11:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227817472001,"66":24451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227817472001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:43:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:43:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227817472001,"power":24451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":233373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:43:10] local.INFO: GPS data processed {"connection_id":233373,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:43:10] local.INFO: Acknowledgment sent {"connection_id":233373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:43:31] local.INFO: TCP Data received {"connection_id":233372,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:43:31] local.INFO: Processing buffer {"connection_id":233372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:43:31] local.INFO: Packet analysis {"connection_id":233372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:43:31] local.INFO: Extracted packet for processing {"connection_id":233372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:43:31] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227815936001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793858957000,"timestamp_ms":1793858957000,"timestamp_seconds":1793858957,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa536ec8"} 
[2026-11-05 11: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-05 11:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":233372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":233372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":233372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227815936001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227815936001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:43:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227815936001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":233372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62673,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:43:31] local.INFO: GPS data processed {"connection_id":233372,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:43:31] local.INFO: Acknowledgment sent {"connection_id":233372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:43:31] local.INFO: TCP Data received {"connection_id":231473,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:43:31] local.INFO: Processing buffer {"connection_id":231473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:43:31] local.INFO: IMEI packet received {"connection_id":231473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 11:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":231473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:43:41] local.INFO: TCP Data received {"connection_id":233373,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa538638012d7fad0005afe0480000004526..."} 
[2026-11-05 11:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa538638012d7fad0005afe0480000004526..."} 
[2026-11-05 11:43:41] local.INFO: Processing buffer {"connection_id":233373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa538638012d7fad0005afe0480000004526..."} 
[2026-11-05 11:43:41] local.INFO: Packet analysis {"connection_id":233373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:43:41] local.INFO: Extracted packet for processing {"connection_id":233373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:43:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227817472001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793858963000,"timestamp_ms":1793858963000,"timestamp_seconds":1793858963,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa538638"} 
[2026-11-05 11:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:43: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-05 11:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 11:43:41] 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-05 11:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:43: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-05 11:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227817472001,"66":24451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227817472001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:43:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:43:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227817472001,"power":24451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":233373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:43:41] local.INFO: GPS data processed {"connection_id":233373,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:43:41] local.INFO: Acknowledgment sent {"connection_id":233373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:43:49] local.INFO: TCP Data received {"connection_id":230146,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230146,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:43:49] local.INFO: Processing buffer {"connection_id":230146,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:43:49] local.INFO: IMEI packet received {"connection_id":230146,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":230146,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:43:54] local.INFO: TCP Data received {"connection_id":230146,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230146,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:43:54] local.INFO: Processing buffer {"connection_id":230146,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:43:54] local.INFO: IMEI packet received {"connection_id":230146,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":230146,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:43:55] local.INFO: TCP Data received {"connection_id":230146,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:43:55] local.INFO: Processing buffer {"connection_id":230146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa536ec8012d0b10c00702a1800000014e24..."} 
[2026-11-05 11:43:55] local.INFO: Packet analysis {"connection_id":230146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:43:55] local.INFO: Extracted packet for processing {"connection_id":230146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:43:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227815936001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:43: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-05 11:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793858957000,"timestamp_ms":1793858957000,"timestamp_seconds":1793858957,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa536ec8"} 
[2026-11-05 11:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230146,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230146,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227815936001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227815936001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:43:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227815936001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":230146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62675,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:43:55] local.INFO: GPS data processed {"connection_id":230146,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:43:55] local.INFO: Acknowledgment sent {"connection_id":230146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:44:03] local.INFO: TCP Data received {"connection_id":233374,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:44:03] local.INFO: Processing buffer {"connection_id":233374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:44:03] local.INFO: IMEI packet received {"connection_id":233374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":233374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:44:09] local.INFO: TCP Data received {"connection_id":233374,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:44:09] local.INFO: Processing buffer {"connection_id":233374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:44:09] local.INFO: IMEI packet received {"connection_id":233374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":233374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:44:10] local.INFO: TCP Data received {"connection_id":233374,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa538638012d7fad0005afe0480000004526..."} 
[2026-11-05 11:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa538638012d7fad0005afe0480000004526..."} 
[2026-11-05 11:44:10] local.INFO: Processing buffer {"connection_id":233374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa538638012d7fad0005afe0480000004526..."} 
[2026-11-05 11:44:10] local.INFO: Packet analysis {"connection_id":233374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:44:10] local.INFO: Extracted packet for processing {"connection_id":233374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:44:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227817472001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793858963000,"timestamp_ms":1793858963000,"timestamp_seconds":1793858963,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa538638"} 
[2026-11-05 11:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 11:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 11:44:10] 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-05 11:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:44:10] 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-05 11:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227817472001,"66":24451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227817472001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:44:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:44:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227817472001,"power":24451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":233374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:44:10] local.INFO: GPS data processed {"connection_id":233374,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:44:10] local.INFO: Acknowledgment sent {"connection_id":233374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:44:11] local.INFO: TCP Data received {"connection_id":229627,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:44:11] local.INFO: Processing buffer {"connection_id":229627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:44:11] local.INFO: IMEI packet received {"connection_id":229627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 11:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":229627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:44:26] local.INFO: TCP Data received {"connection_id":230146,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:44:26] local.INFO: Processing buffer {"connection_id":230146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:44:26] local.INFO: Packet analysis {"connection_id":230146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:44:26] local.INFO: Extracted packet for processing {"connection_id":230146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:44:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227892992001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:44: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-05 11:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793859258000,"timestamp_ms":1793859258000,"timestamp_seconds":1793859258,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa580690"} 
[2026-11-05 11:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 11:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230146,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230146,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227892992001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227892992001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:44:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227892992001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":230146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62677,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:44:26] local.INFO: GPS data processed {"connection_id":230146,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:44:26] local.INFO: Acknowledgment sent {"connection_id":230146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:44:41] local.INFO: TCP Data received {"connection_id":233374,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa538638012d7fad0005afe0480000004526..."} 
[2026-11-05 11:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa538638012d7fad0005afe0480000004526..."} 
[2026-11-05 11:44:41] local.INFO: Processing buffer {"connection_id":233374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa538638012d7fad0005afe0480000004526..."} 
[2026-11-05 11:44:41] local.INFO: Packet analysis {"connection_id":233374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:44:41] local.INFO: Extracted packet for processing {"connection_id":233374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa53"} 
[2026-11-05 11:44:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227817472001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793858963000,"timestamp_ms":1793858963000,"timestamp_seconds":1793858963,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa538638"} 
[2026-11-05 11:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:44: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-05 11:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 11:44:41] 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-05 11:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:44:41] 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-05 11:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227817472001,"66":24451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227817472001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:44:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:44:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227817472001,"power":24451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":233374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:44:41] local.INFO: GPS data processed {"connection_id":233374,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:44:41] local.INFO: Acknowledgment sent {"connection_id":233374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:44:49] local.INFO: TCP Data received {"connection_id":231474,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231474,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:44:49] local.INFO: Processing buffer {"connection_id":231474,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:44:49] local.INFO: IMEI packet received {"connection_id":231474,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":231474,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:44:54] local.INFO: TCP Data received {"connection_id":231474,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231474,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:44:54] local.INFO: Processing buffer {"connection_id":231474,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:44:54] local.INFO: IMEI packet received {"connection_id":231474,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":231474,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:44:54] local.INFO: TCP Data received {"connection_id":231474,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:44:54] local.INFO: Processing buffer {"connection_id":231474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:44:54] local.INFO: Packet analysis {"connection_id":231474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:44:54] local.INFO: Extracted packet for processing {"connection_id":231474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:44:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227892992001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11: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-05 11:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793859258000,"timestamp_ms":1793859258000,"timestamp_seconds":1793859258,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa580690"} 
[2026-11-05 11: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-05 11:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 11:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":231474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":231474,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":231474,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227892992001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227892992001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:44:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227892992001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":231474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62679,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:44:55] local.INFO: GPS data processed {"connection_id":231474,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:44:55] local.INFO: Acknowledgment sent {"connection_id":231474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:45:01] local.INFO: TCP Data received {"connection_id":233375,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:45:01] local.INFO: Processing buffer {"connection_id":233375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:45:01] local.INFO: IMEI packet received {"connection_id":233375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":233375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:45:03] local.INFO: TCP Data received {"connection_id":233375,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:45:03] local.INFO: Processing buffer {"connection_id":233375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:45:03] local.INFO: IMEI packet received {"connection_id":233375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":233375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:45:09] local.INFO: TCP Data received {"connection_id":233375,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:45:09] local.INFO: Processing buffer {"connection_id":233375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:45:09] local.INFO: IMEI packet received {"connection_id":233375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":233375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:45:09] local.INFO: TCP Data received {"connection_id":233375,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa581e00012d7fad0005afe0480000004526..."} 
[2026-11-05 11:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa581e00012d7fad0005afe0480000004526..."} 
[2026-11-05 11:45:10] local.INFO: Processing buffer {"connection_id":233375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa581e00012d7fad0005afe0480000004526..."} 
[2026-11-05 11:45:10] local.INFO: Packet analysis {"connection_id":233375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:45:10] local.INFO: Extracted packet for processing {"connection_id":233375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:45:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227894528001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793859264000,"timestamp_ms":1793859264000,"timestamp_seconds":1793859264,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa581e00"} 
[2026-11-05 11:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 11:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 11:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1852,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:45:10] 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-05 11:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227894528001,"66":25451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227894528001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:45:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:45:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227894528001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":233375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:45:10] local.INFO: GPS data processed {"connection_id":233375,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:45:10] local.INFO: Acknowledgment sent {"connection_id":233375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:45:26] local.INFO: TCP Data received {"connection_id":231474,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:45:26] local.INFO: Processing buffer {"connection_id":231474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:45:26] local.INFO: Packet analysis {"connection_id":231474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:45:26] local.INFO: Extracted packet for processing {"connection_id":231474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:45:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227892992001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11: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-05 11:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793859258000,"timestamp_ms":1793859258000,"timestamp_seconds":1793859258,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa580690"} 
[2026-11-05 11: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-05 11:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 11:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231474,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231474,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227892992001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227892992001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:45:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227892992001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":231474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62681,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:45:26] local.INFO: GPS data processed {"connection_id":231474,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:45:26] local.INFO: Acknowledgment sent {"connection_id":231474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:45:41] local.INFO: TCP Data received {"connection_id":233375,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa581e00012d7fad0005afe0480000004526..."} 
[2026-11-05 11:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa581e00012d7fad0005afe0480000004526..."} 
[2026-11-05 11:45:41] local.INFO: Processing buffer {"connection_id":233375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa581e00012d7fad0005afe0480000004526..."} 
[2026-11-05 11:45:41] local.INFO: Packet analysis {"connection_id":233375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:45:41] local.INFO: Extracted packet for processing {"connection_id":233375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:45:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227894528001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793859264000,"timestamp_ms":1793859264000,"timestamp_seconds":1793859264,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa581e00"} 
[2026-11-05 11:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:45: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-05 11:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 11:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1852,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:45:41] 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-05 11:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227894528001,"66":25451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227894528001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:45:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:45:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227894528001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":233375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:45:41] local.INFO: GPS data processed {"connection_id":233375,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:45:41] local.INFO: Acknowledgment sent {"connection_id":233375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:45:48] local.INFO: TCP Data received {"connection_id":230147,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230147,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:45:48] local.INFO: Processing buffer {"connection_id":230147,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:45:48] local.INFO: IMEI packet received {"connection_id":230147,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":230147,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:45:54] local.INFO: TCP Data received {"connection_id":230147,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230147,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:45:54] local.INFO: Processing buffer {"connection_id":230147,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:45:54] local.INFO: IMEI packet received {"connection_id":230147,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":230147,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:45:55] local.INFO: TCP Data received {"connection_id":230147,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:45:55] local.INFO: Processing buffer {"connection_id":230147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:45:55] local.INFO: Packet analysis {"connection_id":230147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:45:55] local.INFO: Extracted packet for processing {"connection_id":230147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:45:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227892992001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:45: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-05 11:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793859258000,"timestamp_ms":1793859258000,"timestamp_seconds":1793859258,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa580690"} 
[2026-11-05 11: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-05 11:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 11:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230147,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230147,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227892992001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227892992001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:45:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227892992001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":230147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62683,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:45:55] local.INFO: GPS data processed {"connection_id":230147,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:45:55] local.INFO: Acknowledgment sent {"connection_id":230147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:46:03] local.INFO: TCP Data received {"connection_id":230148,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:46:03] local.INFO: Processing buffer {"connection_id":230148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:46:03] local.INFO: IMEI packet received {"connection_id":230148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":230148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:46:09] local.INFO: TCP Data received {"connection_id":230148,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:46:09] local.INFO: Processing buffer {"connection_id":230148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:46:09] local.INFO: IMEI packet received {"connection_id":230148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":230148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:46:10] local.INFO: TCP Data received {"connection_id":230148,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa581e00012d7fad0005afe0480000004526..."} 
[2026-11-05 11:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa581e00012d7fad0005afe0480000004526..."} 
[2026-11-05 11:46:10] local.INFO: Processing buffer {"connection_id":230148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa581e00012d7fad0005afe0480000004526..."} 
[2026-11-05 11:46:10] local.INFO: Packet analysis {"connection_id":230148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:46:10] local.INFO: Extracted packet for processing {"connection_id":230148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:46:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227894528001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793859264000,"timestamp_ms":1793859264000,"timestamp_seconds":1793859264,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa581e00"} 
[2026-11-05 11:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 11:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 11:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1852,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:46:10] 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-05 11:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227894528001,"66":25451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227894528001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:46:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227894528001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":230148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:46:10] local.INFO: GPS data processed {"connection_id":230148,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:46:10] local.INFO: Acknowledgment sent {"connection_id":230148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:46:26] local.INFO: TCP Data received {"connection_id":230147,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:46:26] local.INFO: Processing buffer {"connection_id":230147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:46:26] local.INFO: Packet analysis {"connection_id":230147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:46:26] local.INFO: Extracted packet for processing {"connection_id":230147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:46:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227892992001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:46: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-05 11:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793859258000,"timestamp_ms":1793859258000,"timestamp_seconds":1793859258,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa580690"} 
[2026-11-05 11: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-05 11:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 11:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230147,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230147,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227892992001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227892992001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:46:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227892992001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":230147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62685,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:46:26] local.INFO: GPS data processed {"connection_id":230147,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:46:26] local.INFO: Acknowledgment sent {"connection_id":230147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:46:41] local.INFO: TCP Data received {"connection_id":230148,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa581e00012d7fad0005afe0480000004526..."} 
[2026-11-05 11:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa581e00012d7fad0005afe0480000004526..."} 
[2026-11-05 11:46:41] local.INFO: Processing buffer {"connection_id":230148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa581e00012d7fad0005afe0480000004526..."} 
[2026-11-05 11:46:41] local.INFO: Packet analysis {"connection_id":230148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:46:41] local.INFO: Extracted packet for processing {"connection_id":230148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:46:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227894528001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793859264000,"timestamp_ms":1793859264000,"timestamp_seconds":1793859264,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa581e00"} 
[2026-11-05 11:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:46: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-05 11:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 11:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1852,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:46:41] 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-05 11:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227894528001,"66":25451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227894528001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:46:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:46:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227894528001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":230148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:46:41] local.INFO: GPS data processed {"connection_id":230148,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:46:41] local.INFO: Acknowledgment sent {"connection_id":230148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:46:48] local.INFO: TCP Data received {"connection_id":229628,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229628,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:46:49] local.INFO: Processing buffer {"connection_id":229628,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:46:49] local.INFO: IMEI packet received {"connection_id":229628,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":229628,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:46:54] local.INFO: TCP Data received {"connection_id":229628,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229628,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:46:54] local.INFO: Processing buffer {"connection_id":229628,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:46:54] local.INFO: IMEI packet received {"connection_id":229628,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":229628,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:46:54] local.INFO: TCP Data received {"connection_id":229628,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:46:54] local.INFO: Processing buffer {"connection_id":229628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:46:54] local.INFO: Packet analysis {"connection_id":229628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:46:54] local.INFO: Extracted packet for processing {"connection_id":229628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:46:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227892992001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:46: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-05 11:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793859258000,"timestamp_ms":1793859258000,"timestamp_seconds":1793859258,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa580690"} 
[2026-11-05 11: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-05 11:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 11:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":229628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":229628,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":229628,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227892992001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227892992001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:46:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227892992001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":229628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62687,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:46:55] local.INFO: GPS data processed {"connection_id":229628,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:46:55] local.INFO: Acknowledgment sent {"connection_id":229628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:47:09] local.INFO: TCP Data received {"connection_id":231475,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:47:09] local.INFO: Processing buffer {"connection_id":231475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:47:09] local.INFO: IMEI packet received {"connection_id":231475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":231475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:47:14] local.INFO: TCP Data received {"connection_id":231475,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:47:14] local.INFO: Processing buffer {"connection_id":231475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:47:14] local.INFO: IMEI packet received {"connection_id":231475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":231475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:47:14] local.INFO: TCP Data received {"connection_id":231475,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa581e00012d7fad0005afe0480000004526..."} 
[2026-11-05 11:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa581e00012d7fad0005afe0480000004526..."} 
[2026-11-05 11:47:14] local.INFO: Processing buffer {"connection_id":231475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa581e00012d7fad0005afe0480000004526..."} 
[2026-11-05 11:47:14] local.INFO: Packet analysis {"connection_id":231475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:47:14] local.INFO: Extracted packet for processing {"connection_id":231475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:47:14] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227894528001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793859264000,"timestamp_ms":1793859264000,"timestamp_seconds":1793859264,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa581e00"} 
[2026-11-05 11: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-05 11:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":95,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 11:47:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1852,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":231475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":231475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":231475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:47:14] 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-05 11:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227894528001,"66":25451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227894528001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:47:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:47:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227894528001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":231475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:47:15] local.INFO: GPS data processed {"connection_id":231475,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:47:15] local.INFO: Acknowledgment sent {"connection_id":231475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:47:19] local.INFO: TCP Data received {"connection_id":231475,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa581e00012d7fad0005afe0480000004526..."} 
[2026-11-05 11:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa581e00012d7fad0005afe0480000004526..."} 
[2026-11-05 11:47:19] local.INFO: Processing buffer {"connection_id":231475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa581e00012d7fad0005afe0480000004526..."} 
[2026-11-05 11:47:19] local.INFO: Packet analysis {"connection_id":231475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:47:19] local.INFO: Extracted packet for processing {"connection_id":231475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:47:19] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227894528001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793859264000,"timestamp_ms":1793859264000,"timestamp_seconds":1793859264,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa581e00"} 
[2026-11-05 11:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:47: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-05 11:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 11:47:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1852,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":231475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":231475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":231475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:47:19] 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-05 11:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227894528001,"66":25451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227894528001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:47:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:47:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227894528001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":231475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:47:19] local.INFO: GPS data processed {"connection_id":231475,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:47:19] local.INFO: Acknowledgment sent {"connection_id":231475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:47:26] local.INFO: TCP Data received {"connection_id":229628,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:47:26] local.INFO: Processing buffer {"connection_id":229628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:47:26] local.INFO: Packet analysis {"connection_id":229628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:47:26] local.INFO: Extracted packet for processing {"connection_id":229628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:47:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227892992001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:47: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-05 11:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793859258000,"timestamp_ms":1793859258000,"timestamp_seconds":1793859258,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa580690"} 
[2026-11-05 11: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-05 11:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 11:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229628,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229628,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227892992001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227892992001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:47:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227892992001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":229628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62690,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:47:26] local.INFO: GPS data processed {"connection_id":229628,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:47:26] local.INFO: Acknowledgment sent {"connection_id":229628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:47:48] local.INFO: TCP Data received {"connection_id":231477,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231477,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:47:48] local.INFO: Processing buffer {"connection_id":231477,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:47:48] local.INFO: IMEI packet received {"connection_id":231477,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":231477,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:47:54] local.INFO: TCP Data received {"connection_id":231477,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231477,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:47:54] local.INFO: Processing buffer {"connection_id":231477,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:47:54] local.INFO: IMEI packet received {"connection_id":231477,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":231477,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:47:55] local.INFO: TCP Data received {"connection_id":231477,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:47:55] local.INFO: Processing buffer {"connection_id":231477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:47:55] local.INFO: Packet analysis {"connection_id":231477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:47:55] local.INFO: Extracted packet for processing {"connection_id":231477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:47:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227892992001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:47: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-05 11:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793859258000,"timestamp_ms":1793859258000,"timestamp_seconds":1793859258,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa580690"} 
[2026-11-05 11: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-05 11:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 11:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231477,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231477,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227892992001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227892992001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:47:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227892992001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":231477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62691,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:47:55] local.INFO: GPS data processed {"connection_id":231477,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:47:55] local.INFO: Acknowledgment sent {"connection_id":231477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:48:03] local.INFO: TCP Data received {"connection_id":230149,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:48:03] local.INFO: Processing buffer {"connection_id":230149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:48:03] local.INFO: IMEI packet received {"connection_id":230149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":230149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:48:09] local.INFO: TCP Data received {"connection_id":230149,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:48:09] local.INFO: Processing buffer {"connection_id":230149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:48:09] local.INFO: IMEI packet received {"connection_id":230149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":230149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:48:09] local.INFO: TCP Data received {"connection_id":230149,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa581e00012d7fad0005afe0480000004526..."} 
[2026-11-05 11:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa581e00012d7fad0005afe0480000004526..."} 
[2026-11-05 11:48:10] local.INFO: Processing buffer {"connection_id":230149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa581e00012d7fad0005afe0480000004526..."} 
[2026-11-05 11:48:10] local.INFO: Packet analysis {"connection_id":230149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:48:10] local.INFO: Extracted packet for processing {"connection_id":230149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:48:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227894528001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793859264000,"timestamp_ms":1793859264000,"timestamp_seconds":1793859264,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa581e00"} 
[2026-11-05 11:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 11:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 11:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1852,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:48:10] 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-05 11:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227894528001,"66":25451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227894528001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:48:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:48:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227894528001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":230149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:48:10] local.INFO: GPS data processed {"connection_id":230149,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:48:10] local.INFO: Acknowledgment sent {"connection_id":230149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:48:26] local.INFO: TCP Data received {"connection_id":231477,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:48:26] local.INFO: Processing buffer {"connection_id":231477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:48:26] local.INFO: Packet analysis {"connection_id":231477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:48:26] local.INFO: Extracted packet for processing {"connection_id":231477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:48:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227892992001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:48: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-05 11:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793859258000,"timestamp_ms":1793859258000,"timestamp_seconds":1793859258,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa580690"} 
[2026-11-05 11: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-05 11:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 11:48:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231477,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231477,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:48:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227892992001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227892992001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:48:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227892992001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":231477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62693,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:48:26] local.INFO: GPS data processed {"connection_id":231477,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:48:26] local.INFO: Acknowledgment sent {"connection_id":231477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:48:41] local.INFO: TCP Data received {"connection_id":230149,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa581e00012d7fad0005afe0480000004526..."} 
[2026-11-05 11:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa581e00012d7fad0005afe0480000004526..."} 
[2026-11-05 11:48:41] local.INFO: Processing buffer {"connection_id":230149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa581e00012d7fad0005afe0480000004526..."} 
[2026-11-05 11:48:41] local.INFO: Packet analysis {"connection_id":230149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:48:41] local.INFO: Extracted packet for processing {"connection_id":230149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:48:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227894528001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793859264000,"timestamp_ms":1793859264000,"timestamp_seconds":1793859264,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa581e00"} 
[2026-11-05 11: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-05 11:48: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-05 11: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":95,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 11:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1852,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:48: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-05 11:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227894528001,"66":25451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227894528001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:48:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:48:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227894528001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":230149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:48:41] local.INFO: GPS data processed {"connection_id":230149,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:48:41] local.INFO: Acknowledgment sent {"connection_id":230149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:48:54] local.INFO: TCP Data received {"connection_id":229629,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229629,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:48:54] local.INFO: Processing buffer {"connection_id":229629,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:48:54] local.INFO: IMEI packet received {"connection_id":229629,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":229629,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:48:59] local.INFO: TCP Data received {"connection_id":229629,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229629,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:48:59] local.INFO: Processing buffer {"connection_id":229629,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:48:59] local.INFO: IMEI packet received {"connection_id":229629,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":229629,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:48:59] local.INFO: TCP Data received {"connection_id":229629,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:48:59] local.INFO: Processing buffer {"connection_id":229629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:48:59] local.INFO: Packet analysis {"connection_id":229629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:48:59] local.INFO: Extracted packet for processing {"connection_id":229629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:48:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227892992001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:48: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-05 11:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793859258000,"timestamp_ms":1793859258000,"timestamp_seconds":1793859258,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa580690"} 
[2026-11-05 11:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 11:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:48:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":229629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":229629,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":229629,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227892992001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227892992001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:48:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227892992001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:49:00] 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":62695,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:49:00] local.INFO: GPS data processed {"connection_id":229629,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:49:00] local.INFO: Acknowledgment sent {"connection_id":229629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:49:03] local.INFO: TCP Data received {"connection_id":233378,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:49:03] local.INFO: Processing buffer {"connection_id":233378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:49:03] local.INFO: IMEI packet received {"connection_id":233378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":233378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:49:05] local.INFO: TCP Data received {"connection_id":229629,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:49:05] local.INFO: Processing buffer {"connection_id":229629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa580690012d0b10c00702a1800005014e21..."} 
[2026-11-05 11:49:05] local.INFO: Packet analysis {"connection_id":229629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:49:05] local.INFO: Extracted packet for processing {"connection_id":229629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:49:05] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227892992001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:49: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-05 11:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793859258000,"timestamp_ms":1793859258000,"timestamp_seconds":1793859258,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa580690"} 
[2026-11-05 11:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 11:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":229629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":229629,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":229629,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227892992001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227892992001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:49:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227892992001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:49:06] 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":62696,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:49:06] local.INFO: GPS data processed {"connection_id":229629,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:49:06] local.INFO: Acknowledgment sent {"connection_id":229629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:49:09] local.INFO: TCP Data received {"connection_id":233378,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:49:09] local.INFO: Processing buffer {"connection_id":233378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:49:09] local.INFO: IMEI packet received {"connection_id":233378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":233378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:49:10] local.INFO: TCP Data received {"connection_id":233378,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa581e00012d7fad0005afe0480000004526..."} 
[2026-11-05 11:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa581e00012d7fad0005afe0480000004526..."} 
[2026-11-05 11:49:10] local.INFO: Processing buffer {"connection_id":233378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa581e00012d7fad0005afe0480000004526..."} 
[2026-11-05 11:49:10] local.INFO: Packet analysis {"connection_id":233378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:49:10] local.INFO: Extracted packet for processing {"connection_id":233378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:49:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227894528001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793859264000,"timestamp_ms":1793859264000,"timestamp_seconds":1793859264,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa581e00"} 
[2026-11-05 11:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 11:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 11:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1852,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:49:10] 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-05 11:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227894528001,"66":25451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227894528001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:49:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227894528001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":233378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:49:10] local.INFO: GPS data processed {"connection_id":233378,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:49:10] local.INFO: Acknowledgment sent {"connection_id":233378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:49:26] local.INFO: TCP Data received {"connection_id":233379,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233379,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:49:26] local.INFO: Processing buffer {"connection_id":233379,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:49:26] local.INFO: IMEI packet received {"connection_id":233379,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 11:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":233379,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:49:41] local.INFO: TCP Data received {"connection_id":233378,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa581e00012d7fad0005afe0480000004526..."} 
[2026-11-05 11:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa581e00012d7fad0005afe0480000004526..."} 
[2026-11-05 11:49:41] local.INFO: Processing buffer {"connection_id":233378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa581e00012d7fad0005afe0480000004526..."} 
[2026-11-05 11:49:41] local.INFO: Packet analysis {"connection_id":233378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:49:41] local.INFO: Extracted packet for processing {"connection_id":233378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa58"} 
[2026-11-05 11:49:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227894528001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793859264000,"timestamp_ms":1793859264000,"timestamp_seconds":1793859264,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa581e00"} 
[2026-11-05 11:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:49: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-05 11:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 11:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1852,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:49: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-05 11:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227894528001,"66":25451,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227894528001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:49:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:49:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227894528001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":233378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:49:41] local.INFO: GPS data processed {"connection_id":233378,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:49:41] local.INFO: Acknowledgment sent {"connection_id":233378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:49:49] local.INFO: TCP Data received {"connection_id":233380,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233380,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:49:49] local.INFO: Processing buffer {"connection_id":233380,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:49:49] local.INFO: IMEI packet received {"connection_id":233380,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":233380,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:49:54] local.INFO: TCP Data received {"connection_id":233380,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233380,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:49:54] local.INFO: Processing buffer {"connection_id":233380,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:49:54] local.INFO: IMEI packet received {"connection_id":233380,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":233380,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:49:55] local.INFO: TCP Data received {"connection_id":233380,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa5c9e58012d0b10c00702a1800005014e1f..."} 
[2026-11-05 11:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa5c9e58012d0b10c00702a1800005014e1f..."} 
[2026-11-05 11:49:55] local.INFO: Processing buffer {"connection_id":233380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa5c9e58012d0b10c00702a1800005014e1f..."} 
[2026-11-05 11:49:55] local.INFO: Packet analysis {"connection_id":233380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:49:55] local.INFO: Extracted packet for processing {"connection_id":233380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:49:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227970048001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:49: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-05 11:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793859559000,"timestamp_ms":1793859559000,"timestamp_seconds":1793859559,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa5c9e58"} 
[2026-11-05 11:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227970048001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227970048001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:49:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227970048001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":233380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62699,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:49:55] local.INFO: GPS data processed {"connection_id":233380,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:49:55] local.INFO: Acknowledgment sent {"connection_id":233380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:50:02] local.INFO: TCP Data received {"connection_id":233381,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:50:02] local.INFO: Processing buffer {"connection_id":233381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:50:02] local.INFO: IMEI packet received {"connection_id":233381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":233381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:50:03] local.INFO: TCP Data received {"connection_id":233381,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:50:03] local.INFO: Processing buffer {"connection_id":233381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:50:03] local.INFO: IMEI packet received {"connection_id":233381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":233381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:50:06] local.INFO: TCP Data received {"connection_id":233382,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233382,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:50:06] local.INFO: Processing buffer {"connection_id":233382,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:50:06] local.INFO: IMEI packet received {"connection_id":233382,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 11:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":233382,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:50:09] local.INFO: TCP Data received {"connection_id":233381,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:50:09] local.INFO: Processing buffer {"connection_id":233381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:50:09] local.INFO: IMEI packet received {"connection_id":233381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":233381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:50:10] local.INFO: TCP Data received {"connection_id":233381,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa5cb5c8012d7fad0005afe048000d004526..."} 
[2026-11-05 11:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa5cb5c8012d7fad0005afe048000d004526..."} 
[2026-11-05 11:50:10] local.INFO: Processing buffer {"connection_id":233381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa5cb5c8012d7fad0005afe048000d004526..."} 
[2026-11-05 11:50:10] local.INFO: Packet analysis {"connection_id":233381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:50:10] local.INFO: Extracted packet for processing {"connection_id":233381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:50:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227971584001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793859565000,"timestamp_ms":1793859565000,"timestamp_seconds":1793859565,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa5cb5c8"} 
[2026-11-05 11:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 11:50:10] 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-05 11:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:50:10] 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-05 11:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227971584001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227971584001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:50:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227971584001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":233381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:50:10] local.INFO: GPS data processed {"connection_id":233381,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:50:10] local.INFO: Acknowledgment sent {"connection_id":233381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:50:26] local.INFO: TCP Data received {"connection_id":233380,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa5c9e58012d0b10c00702a1800005014e1f..."} 
[2026-11-05 11:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa5c9e58012d0b10c00702a1800005014e1f..."} 
[2026-11-05 11:50:26] local.INFO: Processing buffer {"connection_id":233380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa5c9e58012d0b10c00702a1800005014e1f..."} 
[2026-11-05 11:50:26] local.INFO: Packet analysis {"connection_id":233380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:50:26] local.INFO: Extracted packet for processing {"connection_id":233380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:50:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227970048001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:50: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-05 11:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793859559000,"timestamp_ms":1793859559000,"timestamp_seconds":1793859559,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa5c9e58"} 
[2026-11-05 11:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:50:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:50:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227970048001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227970048001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:50:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227970048001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":233380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62701,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:50:26] local.INFO: GPS data processed {"connection_id":233380,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:50:26] local.INFO: Acknowledgment sent {"connection_id":233380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:50:41] local.INFO: TCP Data received {"connection_id":233381,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa5cb5c8012d7fad0005afe048000d004526..."} 
[2026-11-05 11:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa5cb5c8012d7fad0005afe048000d004526..."} 
[2026-11-05 11:50:41] local.INFO: Processing buffer {"connection_id":233381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa5cb5c8012d7fad0005afe048000d004526..."} 
[2026-11-05 11:50:41] local.INFO: Packet analysis {"connection_id":233381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:50:41] local.INFO: Extracted packet for processing {"connection_id":233381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:50:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227971584001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793859565000,"timestamp_ms":1793859565000,"timestamp_seconds":1793859565,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa5cb5c8"} 
[2026-11-05 11:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 11:50:41] 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-05 11:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:50:41] 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-05 11:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227971584001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227971584001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:50:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:50:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227971584001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":233381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:50:41] local.INFO: GPS data processed {"connection_id":233381,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:50:41] local.INFO: Acknowledgment sent {"connection_id":233381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:50:48] local.INFO: TCP Data received {"connection_id":229630,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229630,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:50:48] local.INFO: Processing buffer {"connection_id":229630,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:50:48] local.INFO: IMEI packet received {"connection_id":229630,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":229630,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:50:54] local.INFO: TCP Data received {"connection_id":229630,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229630,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:50:54] local.INFO: Processing buffer {"connection_id":229630,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:50:54] local.INFO: IMEI packet received {"connection_id":229630,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":229630,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:50:54] local.INFO: TCP Data received {"connection_id":229630,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa5c9e58012d0b10c00702a1800005014e1f..."} 
[2026-11-05 11:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa5c9e58012d0b10c00702a1800005014e1f..."} 
[2026-11-05 11:50:54] local.INFO: Processing buffer {"connection_id":229630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa5c9e58012d0b10c00702a1800005014e1f..."} 
[2026-11-05 11:50:54] local.INFO: Packet analysis {"connection_id":229630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:50:54] local.INFO: Extracted packet for processing {"connection_id":229630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:50:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227970048001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:50: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-05 11:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793859559000,"timestamp_ms":1793859559000,"timestamp_seconds":1793859559,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa5c9e58"} 
[2026-11-05 11:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":229630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":229630,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":229630,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227970048001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227970048001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:50:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227970048001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:50:55] 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":62703,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:50:55] local.INFO: GPS data processed {"connection_id":229630,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:50:55] local.INFO: Acknowledgment sent {"connection_id":229630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:51:09] local.INFO: TCP Data received {"connection_id":231478,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:51:09] local.INFO: Processing buffer {"connection_id":231478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:51:09] local.INFO: IMEI packet received {"connection_id":231478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":231478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:51:13] local.INFO: TCP Data received {"connection_id":231478,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:51:13] local.INFO: Processing buffer {"connection_id":231478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:51:13] local.INFO: IMEI packet received {"connection_id":231478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":231478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:51:14] local.INFO: TCP Data received {"connection_id":231478,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa5cb5c8012d7fad0005afe048000d004526..."} 
[2026-11-05 11:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa5cb5c8012d7fad0005afe048000d004526..."} 
[2026-11-05 11:51:14] local.INFO: Processing buffer {"connection_id":231478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa5cb5c8012d7fad0005afe048000d004526..."} 
[2026-11-05 11:51:14] local.INFO: Packet analysis {"connection_id":231478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:51:14] local.INFO: Extracted packet for processing {"connection_id":231478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:51:14] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227971584001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793859565000,"timestamp_ms":1793859565000,"timestamp_seconds":1793859565,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa5cb5c8"} 
[2026-11-05 11:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:51: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-05 11:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 11:51:14] 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-05 11:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":231478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":231478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":231478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:51: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-05 11:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227971584001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227971584001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:51:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:51:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227971584001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":231478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:51:14] local.INFO: GPS data processed {"connection_id":231478,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:51:14] local.INFO: Acknowledgment sent {"connection_id":231478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:51:19] local.INFO: TCP Data received {"connection_id":231478,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa5cb5c8012d7fad0005afe048000d004526..."} 
[2026-11-05 11:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa5cb5c8012d7fad0005afe048000d004526..."} 
[2026-11-05 11:51:19] local.INFO: Processing buffer {"connection_id":231478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa5cb5c8012d7fad0005afe048000d004526..."} 
[2026-11-05 11:51:19] local.INFO: Packet analysis {"connection_id":231478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:51:19] local.INFO: Extracted packet for processing {"connection_id":231478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:51:19] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227971584001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793859565000,"timestamp_ms":1793859565000,"timestamp_seconds":1793859565,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa5cb5c8"} 
[2026-11-05 11: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-05 11:51: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-05 11: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 11:51:19] 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-05 11: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-05 11: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-05 11:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":231478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":231478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":231478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:51: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-05 11:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227971584001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227971584001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:51:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:51:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227971584001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":231478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:51:19] local.INFO: GPS data processed {"connection_id":231478,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:51:19] local.INFO: Acknowledgment sent {"connection_id":231478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:51:26] local.INFO: TCP Data received {"connection_id":229630,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa5c9e58012d0b10c00702a1800005014e1f..."} 
[2026-11-05 11:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa5c9e58012d0b10c00702a1800005014e1f..."} 
[2026-11-05 11:51:26] local.INFO: Processing buffer {"connection_id":229630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa5c9e58012d0b10c00702a1800005014e1f..."} 
[2026-11-05 11:51:26] local.INFO: Packet analysis {"connection_id":229630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:51:26] local.INFO: Extracted packet for processing {"connection_id":229630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:51:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227970048001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:51: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-05 11:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793859559000,"timestamp_ms":1793859559000,"timestamp_seconds":1793859559,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa5c9e58"} 
[2026-11-05 11:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229630,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229630,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227970048001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227970048001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:51:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227970048001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:51:26] 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":62706,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:51:26] local.INFO: GPS data processed {"connection_id":229630,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:51:26] local.INFO: Acknowledgment sent {"connection_id":229630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:51:49] local.INFO: TCP Data received {"connection_id":230151,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230151,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:51:49] local.INFO: Processing buffer {"connection_id":230151,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:51:49] local.INFO: IMEI packet received {"connection_id":230151,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":230151,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:51:54] local.INFO: TCP Data received {"connection_id":230151,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230151,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:51:54] local.INFO: Processing buffer {"connection_id":230151,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:51:54] local.INFO: IMEI packet received {"connection_id":230151,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":230151,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:51:55] local.INFO: TCP Data received {"connection_id":230151,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa5c9e58012d0b10c00702a1800005014e1f..."} 
[2026-11-05 11:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa5c9e58012d0b10c00702a1800005014e1f..."} 
[2026-11-05 11:51:55] local.INFO: Processing buffer {"connection_id":230151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa5c9e58012d0b10c00702a1800005014e1f..."} 
[2026-11-05 11:51:55] local.INFO: Packet analysis {"connection_id":230151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:51:55] local.INFO: Extracted packet for processing {"connection_id":230151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:51:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227970048001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:51: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-05 11:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793859559000,"timestamp_ms":1793859559000,"timestamp_seconds":1793859559,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa5c9e58"} 
[2026-11-05 11:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230151,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230151,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227970048001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227970048001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:51:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227970048001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":230151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62707,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:51:55] local.INFO: GPS data processed {"connection_id":230151,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:51:55] local.INFO: Acknowledgment sent {"connection_id":230151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:52:04] local.INFO: TCP Data received {"connection_id":231479,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:52:04] local.INFO: Processing buffer {"connection_id":231479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:52:04] local.INFO: IMEI packet received {"connection_id":231479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":231479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:52:09] local.INFO: TCP Data received {"connection_id":231479,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:52:09] local.INFO: Processing buffer {"connection_id":231479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:52:09] local.INFO: IMEI packet received {"connection_id":231479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":231479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:52:09] local.INFO: TCP Data received {"connection_id":231479,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa5cb5c8012d7fad0005afe048000d004526..."} 
[2026-11-05 11:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa5cb5c8012d7fad0005afe048000d004526..."} 
[2026-11-05 11:52:09] local.INFO: Processing buffer {"connection_id":231479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa5cb5c8012d7fad0005afe048000d004526..."} 
[2026-11-05 11:52:09] local.INFO: Packet analysis {"connection_id":231479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:52:09] local.INFO: Extracted packet for processing {"connection_id":231479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:52:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227971584001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793859565000,"timestamp_ms":1793859565000,"timestamp_seconds":1793859565,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa5cb5c8"} 
[2026-11-05 11:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 11:52:09] 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-05 11:52: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-05 11:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:52:09] 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-05 11:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227971584001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227971584001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:52:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:52:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227971584001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":231479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:52:09] local.INFO: GPS data processed {"connection_id":231479,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:52:09] local.INFO: Acknowledgment sent {"connection_id":231479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:52:27] local.INFO: TCP Data received {"connection_id":230151,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa5c9e58012d0b10c00702a1800005014e1f..."} 
[2026-11-05 11:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa5c9e58012d0b10c00702a1800005014e1f..."} 
[2026-11-05 11:52:27] local.INFO: Processing buffer {"connection_id":230151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa5c9e58012d0b10c00702a1800005014e1f..."} 
[2026-11-05 11:52:27] local.INFO: Packet analysis {"connection_id":230151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:52:27] local.INFO: Extracted packet for processing {"connection_id":230151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:52:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227970048001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:52:27] 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-05 11:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793859559000,"timestamp_ms":1793859559000,"timestamp_seconds":1793859559,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa5c9e58"} 
[2026-11-05 11:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":230151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":230151,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":230151,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227970048001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227970048001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:52:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227970048001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":230151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62709,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:52:27] local.INFO: GPS data processed {"connection_id":230151,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:52:27] local.INFO: Acknowledgment sent {"connection_id":230151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:52:40] local.INFO: TCP Data received {"connection_id":231479,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa5cb5c8012d7fad0005afe048000d004526..."} 
[2026-11-05 11:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa5cb5c8012d7fad0005afe048000d004526..."} 
[2026-11-05 11:52:40] local.INFO: Processing buffer {"connection_id":231479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa5cb5c8012d7fad0005afe048000d004526..."} 
[2026-11-05 11:52:40] local.INFO: Packet analysis {"connection_id":231479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:52:40] local.INFO: Extracted packet for processing {"connection_id":231479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:52:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227971584001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793859565000,"timestamp_ms":1793859565000,"timestamp_seconds":1793859565,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa5cb5c8"} 
[2026-11-05 11:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:52: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-05 11:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 11:52:40] 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-05 11:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:52:40] 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-05 11:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227971584001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227971584001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:52:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:52:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227971584001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":231479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:52:41] local.INFO: GPS data processed {"connection_id":231479,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:52:41] local.INFO: Acknowledgment sent {"connection_id":231479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:52:48] local.INFO: TCP Data received {"connection_id":233384,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233384,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:52:48] local.INFO: Processing buffer {"connection_id":233384,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:52:48] local.INFO: IMEI packet received {"connection_id":233384,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":233384,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:52:54] local.INFO: TCP Data received {"connection_id":233384,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233384,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:52:54] local.INFO: Processing buffer {"connection_id":233384,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:52:54] local.INFO: IMEI packet received {"connection_id":233384,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":233384,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:52:54] local.INFO: TCP Data received {"connection_id":233384,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa5c9e58012d0b10c00702a1800005014e1f..."} 
[2026-11-05 11:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa5c9e58012d0b10c00702a1800005014e1f..."} 
[2026-11-05 11:52:54] local.INFO: Processing buffer {"connection_id":233384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa5c9e58012d0b10c00702a1800005014e1f..."} 
[2026-11-05 11:52:54] local.INFO: Packet analysis {"connection_id":233384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:52:54] local.INFO: Extracted packet for processing {"connection_id":233384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:52:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227970048001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:52: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-05 11:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793859559000,"timestamp_ms":1793859559000,"timestamp_seconds":1793859559,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa5c9e58"} 
[2026-11-05 11:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":233384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":233384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":233384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227970048001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227970048001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:52:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227970048001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":233384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62711,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:52:55] local.INFO: GPS data processed {"connection_id":233384,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:52:55] local.INFO: Acknowledgment sent {"connection_id":233384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:53:04] local.INFO: TCP Data received {"connection_id":229631,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:53:04] local.INFO: Processing buffer {"connection_id":229631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:53:04] local.INFO: IMEI packet received {"connection_id":229631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":229631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:53:09] local.INFO: TCP Data received {"connection_id":229631,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:53:09] local.INFO: Processing buffer {"connection_id":229631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:53:09] local.INFO: IMEI packet received {"connection_id":229631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":229631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:53:10] local.INFO: TCP Data received {"connection_id":229631,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa5cb5c8012d7fad0005afe048000d004526..."} 
[2026-11-05 11:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa5cb5c8012d7fad0005afe048000d004526..."} 
[2026-11-05 11:53:10] local.INFO: Processing buffer {"connection_id":229631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa5cb5c8012d7fad0005afe048000d004526..."} 
[2026-11-05 11:53:10] local.INFO: Packet analysis {"connection_id":229631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:53:10] local.INFO: Extracted packet for processing {"connection_id":229631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:53:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227971584001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793859565000,"timestamp_ms":1793859565000,"timestamp_seconds":1793859565,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa5cb5c8"} 
[2026-11-05 11:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 11:53:10] 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-05 11:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:53:10] 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-05 11:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227971584001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227971584001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:53:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:53:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227971584001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":229631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:53:10] local.INFO: GPS data processed {"connection_id":229631,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:53:10] local.INFO: Acknowledgment sent {"connection_id":229631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:53:26] local.INFO: TCP Data received {"connection_id":233384,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa5c9e58012d0b10c00702a1800005014e1f..."} 
[2026-11-05 11:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa5c9e58012d0b10c00702a1800005014e1f..."} 
[2026-11-05 11:53:26] local.INFO: Processing buffer {"connection_id":233384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa5c9e58012d0b10c00702a1800005014e1f..."} 
[2026-11-05 11:53:26] local.INFO: Packet analysis {"connection_id":233384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:53:26] local.INFO: Extracted packet for processing {"connection_id":233384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:53:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227970048001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:53: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-05 11:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793859559000,"timestamp_ms":1793859559000,"timestamp_seconds":1793859559,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa5c9e58"} 
[2026-11-05 11:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227970048001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227970048001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:53:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227970048001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":233384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62713,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:53:26] local.INFO: GPS data processed {"connection_id":233384,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:53:26] local.INFO: Acknowledgment sent {"connection_id":233384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:53:41] local.INFO: TCP Data received {"connection_id":229631,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa5cb5c8012d7fad0005afe048000d004526..."} 
[2026-11-05 11:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa5cb5c8012d7fad0005afe048000d004526..."} 
[2026-11-05 11:53:41] local.INFO: Processing buffer {"connection_id":229631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa5cb5c8012d7fad0005afe048000d004526..."} 
[2026-11-05 11:53:41] local.INFO: Packet analysis {"connection_id":229631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:53:41] local.INFO: Extracted packet for processing {"connection_id":229631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:53:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227971584001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793859565000,"timestamp_ms":1793859565000,"timestamp_seconds":1793859565,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa5cb5c8"} 
[2026-11-05 11: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-05 11:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 11:53:41] 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-05 11: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-05 11: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-05 11:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:53: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-05 11:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227971584001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227971584001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:53:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:53:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227971584001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":229631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:53:41] local.INFO: GPS data processed {"connection_id":229631,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:53:41] local.INFO: Acknowledgment sent {"connection_id":229631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:53:48] local.INFO: TCP Data received {"connection_id":233385,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233385,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:53:48] local.INFO: Processing buffer {"connection_id":233385,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:53:48] local.INFO: IMEI packet received {"connection_id":233385,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":233385,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:53:54] local.INFO: TCP Data received {"connection_id":233385,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233385,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:53:54] local.INFO: Processing buffer {"connection_id":233385,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:53:54] local.INFO: IMEI packet received {"connection_id":233385,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":233385,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:53:55] local.INFO: TCP Data received {"connection_id":233385,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa5c9e58012d0b10c00702a1800005014e1f..."} 
[2026-11-05 11:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa5c9e58012d0b10c00702a1800005014e1f..."} 
[2026-11-05 11:53:55] local.INFO: Processing buffer {"connection_id":233385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa5c9e58012d0b10c00702a1800005014e1f..."} 
[2026-11-05 11:53:55] local.INFO: Packet analysis {"connection_id":233385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:53:55] local.INFO: Extracted packet for processing {"connection_id":233385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:53:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227970048001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:53: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-05 11:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793859559000,"timestamp_ms":1793859559000,"timestamp_seconds":1793859559,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa5c9e58"} 
[2026-11-05 11:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233385,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233385,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:53: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-05 11:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227970048001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"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-05 11:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227970048001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:53:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227970048001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":233385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62715,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:53:55] local.INFO: GPS data processed {"connection_id":233385,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:53:55] local.INFO: Acknowledgment sent {"connection_id":233385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:54:03] local.INFO: TCP Data received {"connection_id":231481,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:54:03] local.INFO: Processing buffer {"connection_id":231481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:54:03] local.INFO: IMEI packet received {"connection_id":231481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":231481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:54:09] local.INFO: TCP Data received {"connection_id":231481,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:54:09] local.INFO: Processing buffer {"connection_id":231481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:54:09] local.INFO: IMEI packet received {"connection_id":231481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":231481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:54:09] local.INFO: TCP Data received {"connection_id":231481,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa5cb5c8012d7fad0005afe048000d004526..."} 
[2026-11-05 11:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa5cb5c8012d7fad0005afe048000d004526..."} 
[2026-11-05 11:54:09] local.INFO: Processing buffer {"connection_id":231481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa5cb5c8012d7fad0005afe048000d004526..."} 
[2026-11-05 11:54:09] local.INFO: Packet analysis {"connection_id":231481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:54:09] local.INFO: Extracted packet for processing {"connection_id":231481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:54:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227971584001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793859565000,"timestamp_ms":1793859565000,"timestamp_seconds":1793859565,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa5cb5c8"} 
[2026-11-05 11:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 11:54:09] 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-05 11:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:54: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-05 11:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227971584001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227971584001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:54:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:54:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227971584001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":231481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:54:09] local.INFO: GPS data processed {"connection_id":231481,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:54:09] local.INFO: Acknowledgment sent {"connection_id":231481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:54:26] local.INFO: TCP Data received {"connection_id":233385,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa613620012d0b10c00702a1800006014e20..."} 
[2026-11-05 11:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa613620012d0b10c00702a1800006014e20..."} 
[2026-11-05 11:54:26] local.INFO: Processing buffer {"connection_id":233385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa613620012d0b10c00702a1800006014e20..."} 
[2026-11-05 11:54:26] local.INFO: Packet analysis {"connection_id":233385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:54:26] local.INFO: Extracted packet for processing {"connection_id":233385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:54:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":6,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228047104001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:54: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-05 11:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793859860000,"timestamp_ms":1793859860000,"timestamp_seconds":1793859860,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa613620"} 
[2026-11-05 11: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-05 11:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233385,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233385,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:54: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-05 11:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228047104001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"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-05 11:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228047104001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:54:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228047104001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":233385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62717,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:54:26] local.INFO: GPS data processed {"connection_id":233385,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:54:26] local.INFO: Acknowledgment sent {"connection_id":233385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:54:40] local.INFO: TCP Data received {"connection_id":231481,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa5cb5c8012d7fad0005afe048000d004526..."} 
[2026-11-05 11:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa5cb5c8012d7fad0005afe048000d004526..."} 
[2026-11-05 11:54:40] local.INFO: Processing buffer {"connection_id":231481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa5cb5c8012d7fad0005afe048000d004526..."} 
[2026-11-05 11:54:40] local.INFO: Packet analysis {"connection_id":231481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:54:40] local.INFO: Extracted packet for processing {"connection_id":231481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa5c"} 
[2026-11-05 11:54:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227971584001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793859565000,"timestamp_ms":1793859565000,"timestamp_seconds":1793859565,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa5cb5c8"} 
[2026-11-05 11:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:54: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-05 11:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 11:54:40] 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-05 11:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:54:40] 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-05 11:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227971584001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227971584001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:54:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:54:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227971584001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":231481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:54:40] local.INFO: GPS data processed {"connection_id":231481,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:54:40] local.INFO: Acknowledgment sent {"connection_id":231481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:54:54] local.INFO: TCP Data received {"connection_id":233386,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233386,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:54:54] local.INFO: Processing buffer {"connection_id":233386,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:54:54] local.INFO: IMEI packet received {"connection_id":233386,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":233386,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:54:59] local.INFO: TCP Data received {"connection_id":233386,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233386,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:54:59] local.INFO: Processing buffer {"connection_id":233386,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:54:59] local.INFO: IMEI packet received {"connection_id":233386,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":233386,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:54:59] local.INFO: TCP Data received {"connection_id":233386,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa613620012d0b10c00702a1800006014e20..."} 
[2026-11-05 11:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa613620012d0b10c00702a1800006014e20..."} 
[2026-11-05 11:54:59] local.INFO: Processing buffer {"connection_id":233386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa613620012d0b10c00702a1800006014e20..."} 
[2026-11-05 11:54:59] local.INFO: Packet analysis {"connection_id":233386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:54:59] local.INFO: Extracted packet for processing {"connection_id":233386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:54:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":6,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228047104001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:54: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-05 11:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793859860000,"timestamp_ms":1793859860000,"timestamp_seconds":1793859860,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa613620"} 
[2026-11-05 11:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":233386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":233386,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":233386,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228047104001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228047104001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:54:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228047104001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":233386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62719,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:55:00] local.INFO: GPS data processed {"connection_id":233386,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:55:00] local.INFO: Acknowledgment sent {"connection_id":233386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:55:03] local.INFO: TCP Data received {"connection_id":230152,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:55:03] local.INFO: Processing buffer {"connection_id":230152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:55:03] local.INFO: IMEI packet received {"connection_id":230152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":230152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:55:04] local.INFO: TCP Data received {"connection_id":230152,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:55:04] local.INFO: Processing buffer {"connection_id":230152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:55:04] local.INFO: IMEI packet received {"connection_id":230152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":230152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:55:08] local.INFO: TCP Data received {"connection_id":230152,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:55:08] local.INFO: Processing buffer {"connection_id":230152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:55:08] local.INFO: IMEI packet received {"connection_id":230152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":230152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:55:09] local.INFO: TCP Data received {"connection_id":230152,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa614d90012d7fad0005afe048000d004529..."} 
[2026-11-05 11:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa614d90012d7fad0005afe048000d004529..."} 
[2026-11-05 11:55:09] local.INFO: Processing buffer {"connection_id":230152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa614d90012d7fad0005afe048000d004529..."} 
[2026-11-05 11:55:09] local.INFO: Packet analysis {"connection_id":230152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:55:09] local.INFO: Extracted packet for processing {"connection_id":230152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:55:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:55: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-05 11:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228048640001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793859866000,"timestamp_ms":1793859866000,"timestamp_seconds":1793859866,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa614d90"} 
[2026-11-05 11:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:55: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 11:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 11:55: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-05 11:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:55:09] 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-05 11:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228048640001,"66":25430,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228048640001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:55:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:55:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228048640001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":230152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:55:09] local.INFO: GPS data processed {"connection_id":230152,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:55:09] local.INFO: Acknowledgment sent {"connection_id":230152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:55:31] local.INFO: TCP Data received {"connection_id":233386,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa613620012d0b10c00702a1800006014e20..."} 
[2026-11-05 11:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa613620012d0b10c00702a1800006014e20..."} 
[2026-11-05 11:55:31] local.INFO: Processing buffer {"connection_id":233386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa613620012d0b10c00702a1800006014e20..."} 
[2026-11-05 11:55:31] local.INFO: Packet analysis {"connection_id":233386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:55:31] local.INFO: Extracted packet for processing {"connection_id":233386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:55:31] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":6,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228047104001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793859860000,"timestamp_ms":1793859860000,"timestamp_seconds":1793859860,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa613620"} 
[2026-11-05 11:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":233386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":233386,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":233386,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228047104001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228047104001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:55:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228047104001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":233386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62721,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:55:31] local.INFO: GPS data processed {"connection_id":233386,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:55:31] local.INFO: Acknowledgment sent {"connection_id":233386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:55:31] local.INFO: TCP Data received {"connection_id":231482,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231482,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:55:31] local.INFO: Processing buffer {"connection_id":231482,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:55:31] local.INFO: IMEI packet received {"connection_id":231482,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 11:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":231482,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:55:40] local.INFO: TCP Data received {"connection_id":230152,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa614d90012d7fad0005afe048000d004529..."} 
[2026-11-05 11:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa614d90012d7fad0005afe048000d004529..."} 
[2026-11-05 11:55:40] local.INFO: Processing buffer {"connection_id":230152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa614d90012d7fad0005afe048000d004529..."} 
[2026-11-05 11:55:40] local.INFO: Packet analysis {"connection_id":230152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:55:40] local.INFO: Extracted packet for processing {"connection_id":230152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:55:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228048640001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793859866000,"timestamp_ms":1793859866000,"timestamp_seconds":1793859866,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa614d90"} 
[2026-11-05 11:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:55: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-05 11:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 11:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:55:40] 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-05 11:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228048640001,"66":25430,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228048640001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:55:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:55:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228048640001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":230152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:55:40] local.INFO: GPS data processed {"connection_id":230152,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:55:40] local.INFO: Acknowledgment sent {"connection_id":230152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:55:48] local.INFO: TCP Data received {"connection_id":230153,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230153,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:55:48] local.INFO: Processing buffer {"connection_id":230153,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:55:48] local.INFO: IMEI packet received {"connection_id":230153,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":230153,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:55:54] local.INFO: TCP Data received {"connection_id":230153,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230153,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:55:54] local.INFO: Processing buffer {"connection_id":230153,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:55:54] local.INFO: IMEI packet received {"connection_id":230153,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":230153,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:55:55] local.INFO: TCP Data received {"connection_id":230153,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa613620012d0b10c00702a1800006014e20..."} 
[2026-11-05 11:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa613620012d0b10c00702a1800006014e20..."} 
[2026-11-05 11:55:55] local.INFO: Processing buffer {"connection_id":230153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa613620012d0b10c00702a1800006014e20..."} 
[2026-11-05 11:55:55] local.INFO: Packet analysis {"connection_id":230153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:55:55] local.INFO: Extracted packet for processing {"connection_id":230153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:55:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":6,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228047104001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:55: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-05 11:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793859860000,"timestamp_ms":1793859860000,"timestamp_seconds":1793859860,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa613620"} 
[2026-11-05 11:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230153,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230153,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228047104001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228047104001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:55:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228047104001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":230153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62723,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:55:55] local.INFO: GPS data processed {"connection_id":230153,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:55:55] local.INFO: Acknowledgment sent {"connection_id":230153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:56:06] local.INFO: TCP Data received {"connection_id":229634,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:56:06] local.INFO: Processing buffer {"connection_id":229634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 11:56:06] local.INFO: IMEI packet received {"connection_id":229634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 11:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":229634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:56:09] local.INFO: TCP Data received {"connection_id":233387,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:56:09] local.INFO: Processing buffer {"connection_id":233387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:56:09] local.INFO: IMEI packet received {"connection_id":233387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":233387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:56:14] local.INFO: TCP Data received {"connection_id":233387,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:56:14] local.INFO: Processing buffer {"connection_id":233387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:56:14] local.INFO: IMEI packet received {"connection_id":233387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":233387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:56:15] local.INFO: TCP Data received {"connection_id":233387,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa614d90012d7fad0005afe048000d004529..."} 
[2026-11-05 11:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa614d90012d7fad0005afe048000d004529..."} 
[2026-11-05 11:56:15] local.INFO: Processing buffer {"connection_id":233387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa614d90012d7fad0005afe048000d004529..."} 
[2026-11-05 11:56:15] local.INFO: Packet analysis {"connection_id":233387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:56:15] local.INFO: Extracted packet for processing {"connection_id":233387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:56:15] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228048640001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793859866000,"timestamp_ms":1793859866000,"timestamp_seconds":1793859866,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa614d90"} 
[2026-11-05 11: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-05 11:56: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-05 11:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 11:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 11: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-05 11: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-05 11:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:56:15] 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-05 11:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228048640001,"66":25430,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228048640001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:56:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:56:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228048640001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":233387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:56:15] local.INFO: GPS data processed {"connection_id":233387,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:56:15] local.INFO: Acknowledgment sent {"connection_id":233387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:56:19] local.INFO: TCP Data received {"connection_id":233387,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa614d90012d7fad0005afe048000d004529..."} 
[2026-11-05 11:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa614d90012d7fad0005afe048000d004529..."} 
[2026-11-05 11:56:19] local.INFO: Processing buffer {"connection_id":233387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa614d90012d7fad0005afe048000d004529..."} 
[2026-11-05 11:56:19] local.INFO: Packet analysis {"connection_id":233387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:56:19] local.INFO: Extracted packet for processing {"connection_id":233387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:56:19] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228048640001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793859866000,"timestamp_ms":1793859866000,"timestamp_seconds":1793859866,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa614d90"} 
[2026-11-05 11: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-05 11:56: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-05 11:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 11:56:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":233387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":233387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":233387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:56: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-05 11:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228048640001,"66":25430,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228048640001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:56:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:56:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228048640001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":233387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:56:19] local.INFO: GPS data processed {"connection_id":233387,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:56:19] local.INFO: Acknowledgment sent {"connection_id":233387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:56:26] local.INFO: TCP Data received {"connection_id":230153,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa613620012d0b10c00702a1800006014e20..."} 
[2026-11-05 11:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa613620012d0b10c00702a1800006014e20..."} 
[2026-11-05 11:56:26] local.INFO: Processing buffer {"connection_id":230153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa613620012d0b10c00702a1800006014e20..."} 
[2026-11-05 11:56:26] local.INFO: Packet analysis {"connection_id":230153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:56:26] local.INFO: Extracted packet for processing {"connection_id":230153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:56:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":6,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228047104001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:56: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-05 11:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793859860000,"timestamp_ms":1793859860000,"timestamp_seconds":1793859860,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa613620"} 
[2026-11-05 11: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-05 11:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:56:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230153,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230153,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228047104001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228047104001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:56:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228047104001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":230153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62726,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:56:26] local.INFO: GPS data processed {"connection_id":230153,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:56:26] local.INFO: Acknowledgment sent {"connection_id":230153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:56:49] local.INFO: TCP Data received {"connection_id":231483,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231483,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:56:49] local.INFO: Processing buffer {"connection_id":231483,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:56:49] local.INFO: IMEI packet received {"connection_id":231483,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":231483,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:56:53] local.INFO: TCP Data received {"connection_id":231483,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231483,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:56:53] local.INFO: Processing buffer {"connection_id":231483,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:56:53] local.INFO: IMEI packet received {"connection_id":231483,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":231483,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:56:54] local.INFO: TCP Data received {"connection_id":231483,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa613620012d0b10c00702a1800006014e20..."} 
[2026-11-05 11:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa613620012d0b10c00702a1800006014e20..."} 
[2026-11-05 11:56:54] local.INFO: Processing buffer {"connection_id":231483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa613620012d0b10c00702a1800006014e20..."} 
[2026-11-05 11:56:54] local.INFO: Packet analysis {"connection_id":231483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:56:54] local.INFO: Extracted packet for processing {"connection_id":231483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:56:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":6,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228047104001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:56: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-05 11:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793859860000,"timestamp_ms":1793859860000,"timestamp_seconds":1793859860,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa613620"} 
[2026-11-05 11: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-05 11:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":231483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":231483,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":231483,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228047104001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228047104001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:56:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228047104001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":231483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62727,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:56:55] local.INFO: GPS data processed {"connection_id":231483,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:56:55] local.INFO: Acknowledgment sent {"connection_id":231483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:57:04] local.INFO: TCP Data received {"connection_id":229635,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:57:04] local.INFO: Processing buffer {"connection_id":229635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:57:04] local.INFO: IMEI packet received {"connection_id":229635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":229635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:57:09] local.INFO: TCP Data received {"connection_id":229635,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:57:09] local.INFO: Processing buffer {"connection_id":229635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:57:09] local.INFO: IMEI packet received {"connection_id":229635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":229635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:57:09] local.INFO: TCP Data received {"connection_id":229635,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa614d90012d7fad0005afe048000d004529..."} 
[2026-11-05 11:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa614d90012d7fad0005afe048000d004529..."} 
[2026-11-05 11:57:09] local.INFO: Processing buffer {"connection_id":229635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa614d90012d7fad0005afe048000d004529..."} 
[2026-11-05 11:57:09] local.INFO: Packet analysis {"connection_id":229635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:57:09] local.INFO: Extracted packet for processing {"connection_id":229635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:57:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228048640001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793859866000,"timestamp_ms":1793859866000,"timestamp_seconds":1793859866,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa614d90"} 
[2026-11-05 11:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 11:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 11:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:57:09] 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-05 11:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228048640001,"66":25430,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228048640001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:57:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:57:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228048640001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":229635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:57:09] local.INFO: GPS data processed {"connection_id":229635,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:57:09] local.INFO: Acknowledgment sent {"connection_id":229635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:57:26] local.INFO: TCP Data received {"connection_id":231483,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa613620012d0b10c00702a1800006014e20..."} 
[2026-11-05 11:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa613620012d0b10c00702a1800006014e20..."} 
[2026-11-05 11:57:26] local.INFO: Processing buffer {"connection_id":231483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa613620012d0b10c00702a1800006014e20..."} 
[2026-11-05 11:57:26] local.INFO: Packet analysis {"connection_id":231483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:57:26] local.INFO: Extracted packet for processing {"connection_id":231483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:57:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":6,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228047104001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:57: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-05 11:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793859860000,"timestamp_ms":1793859860000,"timestamp_seconds":1793859860,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa613620"} 
[2026-11-05 11: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-05 11:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231483,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231483,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:57:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228047104001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228047104001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:57:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228047104001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":231483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62729,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:57:26] local.INFO: GPS data processed {"connection_id":231483,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:57:26] local.INFO: Acknowledgment sent {"connection_id":231483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:57:41] local.INFO: TCP Data received {"connection_id":229635,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa614d90012d7fad0005afe048000d004529..."} 
[2026-11-05 11:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa614d90012d7fad0005afe048000d004529..."} 
[2026-11-05 11:57:41] local.INFO: Processing buffer {"connection_id":229635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa614d90012d7fad0005afe048000d004529..."} 
[2026-11-05 11:57:41] local.INFO: Packet analysis {"connection_id":229635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:57:41] local.INFO: Extracted packet for processing {"connection_id":229635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:57:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228048640001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793859866000,"timestamp_ms":1793859866000,"timestamp_seconds":1793859866,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa614d90"} 
[2026-11-05 11:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 11:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:57:41] 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-05 11:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228048640001,"66":25430,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228048640001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:57:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:57:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228048640001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":229635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:57:41] local.INFO: GPS data processed {"connection_id":229635,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:57:41] local.INFO: Acknowledgment sent {"connection_id":229635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:57:48] local.INFO: TCP Data received {"connection_id":230154,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230154,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:57:48] local.INFO: Processing buffer {"connection_id":230154,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:57:48] local.INFO: IMEI packet received {"connection_id":230154,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":230154,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:57:55] local.INFO: TCP Data received {"connection_id":230154,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230154,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:57:55] local.INFO: Processing buffer {"connection_id":230154,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:57:55] local.INFO: IMEI packet received {"connection_id":230154,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":230154,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:57:56] local.INFO: TCP Data received {"connection_id":230154,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa613620012d0b10c00702a1800006014e20..."} 
[2026-11-05 11:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa613620012d0b10c00702a1800006014e20..."} 
[2026-11-05 11:57:56] local.INFO: Processing buffer {"connection_id":230154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa613620012d0b10c00702a1800006014e20..."} 
[2026-11-05 11:57:56] local.INFO: Packet analysis {"connection_id":230154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:57:56] local.INFO: Extracted packet for processing {"connection_id":230154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:57:56] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":6,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228047104001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:57:56] 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-05 11:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793859860000,"timestamp_ms":1793859860000,"timestamp_seconds":1793859860,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa613620"} 
[2026-11-05 11:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:57:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":230154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":230154,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":230154,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228047104001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228047104001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:57:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228047104001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":230154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62731,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:57:56] local.INFO: GPS data processed {"connection_id":230154,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:57:56] local.INFO: Acknowledgment sent {"connection_id":230154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:58:03] local.INFO: TCP Data received {"connection_id":230155,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:58:03] local.INFO: Processing buffer {"connection_id":230155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:58:03] local.INFO: IMEI packet received {"connection_id":230155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":230155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:58:09] local.INFO: TCP Data received {"connection_id":230155,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:58:09] local.INFO: Processing buffer {"connection_id":230155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:58:09] local.INFO: IMEI packet received {"connection_id":230155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":230155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:58:10] local.INFO: TCP Data received {"connection_id":230155,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa614d90012d7fad0005afe048000d004529..."} 
[2026-11-05 11:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa614d90012d7fad0005afe048000d004529..."} 
[2026-11-05 11:58:10] local.INFO: Processing buffer {"connection_id":230155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa614d90012d7fad0005afe048000d004529..."} 
[2026-11-05 11:58:10] local.INFO: Packet analysis {"connection_id":230155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:58:10] local.INFO: Extracted packet for processing {"connection_id":230155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:58:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228048640001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793859866000,"timestamp_ms":1793859866000,"timestamp_seconds":1793859866,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa614d90"} 
[2026-11-05 11:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 11:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:58:10] 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-05 11:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228048640001,"66":25430,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228048640001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:58:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:58:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228048640001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":230155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:58:10] local.INFO: GPS data processed {"connection_id":230155,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:58:10] local.INFO: Acknowledgment sent {"connection_id":230155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:58:32] local.INFO: TCP Data received {"connection_id":230154,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa613620012d0b10c00702a1800006014e20..."} 
[2026-11-05 11:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa613620012d0b10c00702a1800006014e20..."} 
[2026-11-05 11:58:32] local.INFO: Processing buffer {"connection_id":230154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa613620012d0b10c00702a1800006014e20..."} 
[2026-11-05 11:58:32] local.INFO: Packet analysis {"connection_id":230154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:58:32] local.INFO: Extracted packet for processing {"connection_id":230154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:58:32] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":6,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228047104001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:58:32] 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-05 11:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1793859860000,"timestamp_ms":1793859860000,"timestamp_seconds":1793859860,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa613620"} 
[2026-11-05 11: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-05 11:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":230154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":230154,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":230154,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228047104001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228047104001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:58:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228047104001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":230154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62733,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:58:32] local.INFO: GPS data processed {"connection_id":230154,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:58:32] local.INFO: Acknowledgment sent {"connection_id":230154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:58:41] local.INFO: TCP Data received {"connection_id":230155,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa614d90012d7fad0005afe048000d004529..."} 
[2026-11-05 11:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa614d90012d7fad0005afe048000d004529..."} 
[2026-11-05 11:58:41] local.INFO: Processing buffer {"connection_id":230155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa614d90012d7fad0005afe048000d004529..."} 
[2026-11-05 11:58:41] local.INFO: Packet analysis {"connection_id":230155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:58:41] local.INFO: Extracted packet for processing {"connection_id":230155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:58:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228048640001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793859866000,"timestamp_ms":1793859866000,"timestamp_seconds":1793859866,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa614d90"} 
[2026-11-05 11:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 11:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:58:41] 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-05 11:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228048640001,"66":25430,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228048640001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:58:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:58:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228048640001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":230155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:58:41] local.INFO: GPS data processed {"connection_id":230155,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:58:41] local.INFO: Acknowledgment sent {"connection_id":230155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:58:48] local.INFO: TCP Data received {"connection_id":233390,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233390,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:58:48] local.INFO: Processing buffer {"connection_id":233390,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:58:48] local.INFO: IMEI packet received {"connection_id":233390,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":233390,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:58:54] local.INFO: TCP Data received {"connection_id":233390,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233390,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:58:54] local.INFO: Processing buffer {"connection_id":233390,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:58:54] local.INFO: IMEI packet received {"connection_id":233390,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":233390,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:58:54] local.INFO: TCP Data received {"connection_id":233390,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa613620012d0b10c00702a1800006014e20..."} 
[2026-11-05 11:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa613620012d0b10c00702a1800006014e20..."} 
[2026-11-05 11:58:54] local.INFO: Processing buffer {"connection_id":233390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa613620012d0b10c00702a1800006014e20..."} 
[2026-11-05 11:58:54] local.INFO: Packet analysis {"connection_id":233390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:58:54] local.INFO: Extracted packet for processing {"connection_id":233390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:58:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":6,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11: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-05 11:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228047104001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:58: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-05 11:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793859860000,"timestamp_ms":1793859860000,"timestamp_seconds":1793859860,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa613620"} 
[2026-11-05 11: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-05 11:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:58:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11: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-05 11: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-05 11:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":233390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":233390,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":233390,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228047104001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228047104001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:58:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228047104001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":233390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62735,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:58:55] local.INFO: GPS data processed {"connection_id":233390,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:58:55] local.INFO: Acknowledgment sent {"connection_id":233390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:59:03] local.INFO: TCP Data received {"connection_id":231484,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:59:03] local.INFO: Processing buffer {"connection_id":231484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:59:03] local.INFO: IMEI packet received {"connection_id":231484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 11:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":231484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:59:09] local.INFO: TCP Data received {"connection_id":231484,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:59:09] local.INFO: Processing buffer {"connection_id":231484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 11:59:09] local.INFO: IMEI packet received {"connection_id":231484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 11:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":231484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:59:10] local.INFO: TCP Data received {"connection_id":231484,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa614d90012d7fad0005afe048000d004529..."} 
[2026-11-05 11:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa614d90012d7fad0005afe048000d004529..."} 
[2026-11-05 11:59:10] local.INFO: Processing buffer {"connection_id":231484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa614d90012d7fad0005afe048000d004529..."} 
[2026-11-05 11:59:10] local.INFO: Packet analysis {"connection_id":231484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:59:10] local.INFO: Extracted packet for processing {"connection_id":231484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:59:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228048640001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793859866000,"timestamp_ms":1793859866000,"timestamp_seconds":1793859866,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa614d90"} 
[2026-11-05 11:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 11:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:59:10] 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-05 11:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228048640001,"66":25430,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228048640001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:59:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:59:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228048640001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":231484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:59:10] local.INFO: GPS data processed {"connection_id":231484,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:59:10] local.INFO: Acknowledgment sent {"connection_id":231484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:59:26] local.INFO: TCP Data received {"connection_id":233390,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa65cde8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 11:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa65cde8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 11:59:26] local.INFO: Processing buffer {"connection_id":233390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa65cde8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 11:59:26] local.INFO: Packet analysis {"connection_id":233390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 11:59:26] local.INFO: Extracted packet for processing {"connection_id":233390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 11:59:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228124160001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:59: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-05 11:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793860161000,"timestamp_ms":1793860161000,"timestamp_seconds":1793860161,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa65cde8"} 
[2026-11-05 11:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233390,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233390,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228124160001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228124160001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:59:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228124160001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 11:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":233390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62737,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:59:26] local.INFO: GPS data processed {"connection_id":233390,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:59:26] local.INFO: Acknowledgment sent {"connection_id":233390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:59:41] local.INFO: TCP Data received {"connection_id":231484,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa614d90012d7fad0005afe048000d004529..."} 
[2026-11-05 11:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa614d90012d7fad0005afe048000d004529..."} 
[2026-11-05 11:59:41] local.INFO: Processing buffer {"connection_id":231484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa614d90012d7fad0005afe048000d004529..."} 
[2026-11-05 11:59:41] local.INFO: Packet analysis {"connection_id":231484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:59:41] local.INFO: Extracted packet for processing {"connection_id":231484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa61"} 
[2026-11-05 11:59:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 11:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228048640001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 11:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 11:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 11:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793859866000,"timestamp_ms":1793859866000,"timestamp_seconds":1793859866,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa614d90"} 
[2026-11-05 11:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 11:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 11:59: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-05 11:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 11:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 11:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228048640001,"66":25430,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 11:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 11:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 11:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228048640001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:59:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 11:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 11:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 11:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228048640001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 11:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":231484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 11:59:41] local.INFO: GPS data processed {"connection_id":231484,"processed":1,"errors":0,"total":1} 
[2026-11-05 11:59:41] local.INFO: Acknowledgment sent {"connection_id":231484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 11:59:54] local.INFO: TCP Data received {"connection_id":230156,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230156,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:59:54] local.INFO: Processing buffer {"connection_id":230156,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:59:54] local.INFO: IMEI packet received {"connection_id":230156,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 11:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":230156,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 11:59:59] local.INFO: TCP Data received {"connection_id":230156,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230156,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:59:59] local.INFO: Processing buffer {"connection_id":230156,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 11:59:59] local.INFO: IMEI packet received {"connection_id":230156,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 11:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":230156,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 11:59:59] local.INFO: TCP Data received {"connection_id":230156,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa65cde8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 11:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa65cde8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 11:59:59] local.INFO: Processing buffer {"connection_id":230156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa65cde8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 11:59:59] local.INFO: Packet analysis {"connection_id":230156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 11:59:59] local.INFO: Extracted packet for processing {"connection_id":230156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 11:59:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 11:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 11:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228124160001,"note":"Value kept but may cause issues"} 
[2026-11-05 11:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 11:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 11:59: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-05 11:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793860161000,"timestamp_ms":1793860161000,"timestamp_seconds":1793860161,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa65cde8"} 
[2026-11-05 11:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 11:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 11:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 11:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 11:59:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 11:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 11:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 11:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":230156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 11:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":230156,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":230156,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 11:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 11:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 11:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 11:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228124160001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 11:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 11:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 11:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228124160001,"description":"Unknown IO ID 0"} 
[2026-11-05 11:59:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 11:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 11:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 11:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228124160001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":230156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62739,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:00:00] local.INFO: GPS data processed {"connection_id":230156,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:00:00] local.INFO: Acknowledgment sent {"connection_id":230156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:00:03] local.INFO: TCP Data received {"connection_id":229636,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:00:03] local.INFO: Processing buffer {"connection_id":229636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:00:03] local.INFO: IMEI packet received {"connection_id":229636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":229636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:00:04] local.INFO: TCP Data received {"connection_id":229636,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:00:04] local.INFO: Processing buffer {"connection_id":229636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:00:04] local.INFO: IMEI packet received {"connection_id":229636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":229636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:00:09] local.INFO: TCP Data received {"connection_id":229636,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:00:09] local.INFO: Processing buffer {"connection_id":229636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:00:09] local.INFO: IMEI packet received {"connection_id":229636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":229636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:00:10] local.INFO: TCP Data received {"connection_id":229636,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa65e558012d7fad0005afe048001b004526..."} 
[2026-11-05 12:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa65e558012d7fad0005afe048001b004526..."} 
[2026-11-05 12:00:10] local.INFO: Processing buffer {"connection_id":229636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa65e558012d7fad0005afe048001b004526..."} 
[2026-11-05 12:00:10] local.INFO: Packet analysis {"connection_id":229636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:00:10] local.INFO: Extracted packet for processing {"connection_id":229636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:00:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":27,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228125696001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793860167000,"timestamp_ms":1793860167000,"timestamp_seconds":1793860167,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa65e558"} 
[2026-11-05 12:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 12:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 12:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:00:10] 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-05 12:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228125696001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228125696001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:00:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:00:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228125696001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:00:10] 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":62740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:00:10] local.INFO: GPS data processed {"connection_id":229636,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:00:10] local.INFO: Acknowledgment sent {"connection_id":229636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:00:31] local.INFO: TCP Data received {"connection_id":230156,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa65cde8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 12:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa65cde8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 12:00:31] local.INFO: Processing buffer {"connection_id":230156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa65cde8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 12:00:31] local.INFO: Packet analysis {"connection_id":230156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:00:31] local.INFO: Extracted packet for processing {"connection_id":230156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:00:31] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228124160001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793860161000,"timestamp_ms":1793860161000,"timestamp_seconds":1793860161,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa65cde8"} 
[2026-11-05 12:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":230156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":230156,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":230156,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228124160001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228124160001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:00:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228124160001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":230156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62741,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:00:31] local.INFO: GPS data processed {"connection_id":230156,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:00:31] local.INFO: Acknowledgment sent {"connection_id":230156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:00:40] local.INFO: TCP Data received {"connection_id":229636,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa65e558012d7fad0005afe048001b004526..."} 
[2026-11-05 12:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa65e558012d7fad0005afe048001b004526..."} 
[2026-11-05 12:00:40] local.INFO: Processing buffer {"connection_id":229636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa65e558012d7fad0005afe048001b004526..."} 
[2026-11-05 12:00:40] local.INFO: Packet analysis {"connection_id":229636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:00:40] local.INFO: Extracted packet for processing {"connection_id":229636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:00:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":27,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228125696001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793860167000,"timestamp_ms":1793860167000,"timestamp_seconds":1793860167,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa65e558"} 
[2026-11-05 12:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 12:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 12:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:00:40] 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-05 12:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228125696001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228125696001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:00:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:00:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228125696001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:00:40] 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":62742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:00:40] local.INFO: GPS data processed {"connection_id":229636,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:00:40] local.INFO: Acknowledgment sent {"connection_id":229636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:00:48] local.INFO: TCP Data received {"connection_id":231485,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231485,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:00:48] local.INFO: Processing buffer {"connection_id":231485,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:00:48] local.INFO: IMEI packet received {"connection_id":231485,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":231485,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:00:53] local.INFO: TCP Data received {"connection_id":231485,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231485,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:00:53] local.INFO: Processing buffer {"connection_id":231485,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:00:53] local.INFO: IMEI packet received {"connection_id":231485,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":231485,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:00:55] local.INFO: TCP Data received {"connection_id":231485,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa65cde8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 12:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa65cde8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 12:00:55] local.INFO: Processing buffer {"connection_id":231485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa65cde8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 12:00:55] local.INFO: Packet analysis {"connection_id":231485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:00:55] local.INFO: Extracted packet for processing {"connection_id":231485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:00:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228124160001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:00: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-05 12:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793860161000,"timestamp_ms":1793860161000,"timestamp_seconds":1793860161,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa65cde8"} 
[2026-11-05 12:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231485,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231485,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228124160001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228124160001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:00:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228124160001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":231485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62743,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:00:55] local.INFO: GPS data processed {"connection_id":231485,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:00:55] local.INFO: Acknowledgment sent {"connection_id":231485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:01:04] local.INFO: TCP Data received {"connection_id":229638,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:01:04] local.INFO: Processing buffer {"connection_id":229638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:01:04] local.INFO: IMEI packet received {"connection_id":229638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":229638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:01:09] local.INFO: TCP Data received {"connection_id":229638,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:01:09] local.INFO: Processing buffer {"connection_id":229638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:01:09] local.INFO: IMEI packet received {"connection_id":229638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":229638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:01:09] local.INFO: TCP Data received {"connection_id":229638,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa65e558012d7fad0005afe048001b004526..."} 
[2026-11-05 12:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa65e558012d7fad0005afe048001b004526..."} 
[2026-11-05 12:01:09] local.INFO: Processing buffer {"connection_id":229638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa65e558012d7fad0005afe048001b004526..."} 
[2026-11-05 12:01:09] local.INFO: Packet analysis {"connection_id":229638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:01:09] local.INFO: Extracted packet for processing {"connection_id":229638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:01:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":27,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228125696001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793860167000,"timestamp_ms":1793860167000,"timestamp_seconds":1793860167,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa65e558"} 
[2026-11-05 12:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:01: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-05 12:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 12:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:01:09] 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-05 12:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228125696001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228125696001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:01:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:01:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228125696001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:01:09] 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":62744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:01:09] local.INFO: GPS data processed {"connection_id":229638,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:01:09] local.INFO: Acknowledgment sent {"connection_id":229638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:01:26] local.INFO: TCP Data received {"connection_id":231485,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa65cde8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 12:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa65cde8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 12:01:26] local.INFO: Processing buffer {"connection_id":231485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa65cde8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 12:01:26] local.INFO: Packet analysis {"connection_id":231485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:01:26] local.INFO: Extracted packet for processing {"connection_id":231485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:01:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228124160001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:01: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-05 12:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793860161000,"timestamp_ms":1793860161000,"timestamp_seconds":1793860161,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa65cde8"} 
[2026-11-05 12: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-05 12:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231485,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231485,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228124160001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228124160001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:01:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228124160001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":231485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62745,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:01:26] local.INFO: GPS data processed {"connection_id":231485,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:01:26] local.INFO: Acknowledgment sent {"connection_id":231485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:01:31] local.INFO: TCP Data received {"connection_id":233392,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233392,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:01:31] local.INFO: Processing buffer {"connection_id":233392,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:01:31] local.INFO: IMEI packet received {"connection_id":233392,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 12:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":233392,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:01:41] local.INFO: TCP Data received {"connection_id":229638,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa65e558012d7fad0005afe048001b004526..."} 
[2026-11-05 12:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa65e558012d7fad0005afe048001b004526..."} 
[2026-11-05 12:01:41] local.INFO: Processing buffer {"connection_id":229638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa65e558012d7fad0005afe048001b004526..."} 
[2026-11-05 12:01:41] local.INFO: Packet analysis {"connection_id":229638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:01:41] local.INFO: Extracted packet for processing {"connection_id":229638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:01:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":27,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228125696001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793860167000,"timestamp_ms":1793860167000,"timestamp_seconds":1793860167,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa65e558"} 
[2026-11-05 12: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-05 12:01: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-05 12: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 12:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:01: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-05 12:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228125696001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228125696001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:01:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:01:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228125696001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:01:41] 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":62746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:01:41] local.INFO: GPS data processed {"connection_id":229638,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:01:41] local.INFO: Acknowledgment sent {"connection_id":229638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:01:49] local.INFO: TCP Data received {"connection_id":231486,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231486,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:01:49] local.INFO: Processing buffer {"connection_id":231486,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:01:49] local.INFO: IMEI packet received {"connection_id":231486,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":231486,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:01:54] local.INFO: TCP Data received {"connection_id":231486,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231486,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:01:54] local.INFO: Processing buffer {"connection_id":231486,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:01:54] local.INFO: IMEI packet received {"connection_id":231486,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":231486,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:01:55] local.INFO: TCP Data received {"connection_id":231486,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa65cde8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 12:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa65cde8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 12:01:55] local.INFO: Processing buffer {"connection_id":231486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa65cde8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 12:01:55] local.INFO: Packet analysis {"connection_id":231486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:01:55] local.INFO: Extracted packet for processing {"connection_id":231486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:01:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228124160001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12: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-05 12:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793860161000,"timestamp_ms":1793860161000,"timestamp_seconds":1793860161,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa65cde8"} 
[2026-11-05 12: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-05 12:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231486,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231486,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:01: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-05 12:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228124160001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"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-05 12:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228124160001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:01:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228124160001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":231486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62747,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:01:55] local.INFO: GPS data processed {"connection_id":231486,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:01:55] local.INFO: Acknowledgment sent {"connection_id":231486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:02:03] local.INFO: TCP Data received {"connection_id":233393,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:02:03] local.INFO: Processing buffer {"connection_id":233393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:02:03] local.INFO: IMEI packet received {"connection_id":233393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":233393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:02:09] local.INFO: TCP Data received {"connection_id":233393,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:02:09] local.INFO: Processing buffer {"connection_id":233393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:02:09] local.INFO: IMEI packet received {"connection_id":233393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":233393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:02:09] local.INFO: TCP Data received {"connection_id":233393,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa65e558012d7fad0005afe048001b004526..."} 
[2026-11-05 12:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa65e558012d7fad0005afe048001b004526..."} 
[2026-11-05 12:02:09] local.INFO: Processing buffer {"connection_id":233393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa65e558012d7fad0005afe048001b004526..."} 
[2026-11-05 12:02:09] local.INFO: Packet analysis {"connection_id":233393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:02:09] local.INFO: Extracted packet for processing {"connection_id":233393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:02:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":27,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228125696001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793860167000,"timestamp_ms":1793860167000,"timestamp_seconds":1793860167,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa65e558"} 
[2026-11-05 12: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-05 12:02: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-05 12: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 12:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12: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-05 12: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-05 12:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:02:09] 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-05 12:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228125696001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228125696001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:02:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:02:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228125696001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":233393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:02:09] local.INFO: GPS data processed {"connection_id":233393,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:02:09] local.INFO: Acknowledgment sent {"connection_id":233393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:02:11] local.INFO: TCP Data received {"connection_id":229639,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229639,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:02:11] local.INFO: Processing buffer {"connection_id":229639,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:02:11] local.INFO: IMEI packet received {"connection_id":229639,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 12:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":229639,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:02:38] local.INFO: TCP Data received {"connection_id":231486,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa65cde8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 12:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa65cde8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 12:02:38] local.INFO: Processing buffer {"connection_id":231486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa65cde8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 12:02:38] local.INFO: Packet analysis {"connection_id":231486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:02:38] local.INFO: Extracted packet for processing {"connection_id":231486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:02:38] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228124160001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:02: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-05 12:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1793860161000,"timestamp_ms":1793860161000,"timestamp_seconds":1793860161,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa65cde8"} 
[2026-11-05 12:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":231486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":231486,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":231486,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:02:38] 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-05 12:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228124160001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"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-05 12:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228124160001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:02:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228124160001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":231486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62749,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:02:38] local.INFO: GPS data processed {"connection_id":231486,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:02:38] local.INFO: Acknowledgment sent {"connection_id":231486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:02:41] local.INFO: TCP Data received {"connection_id":233393,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa65e558012d7fad0005afe048001b004526..."} 
[2026-11-05 12:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa65e558012d7fad0005afe048001b004526..."} 
[2026-11-05 12:02:41] local.INFO: Processing buffer {"connection_id":233393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa65e558012d7fad0005afe048001b004526..."} 
[2026-11-05 12:02:41] local.INFO: Packet analysis {"connection_id":233393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:02:41] local.INFO: Extracted packet for processing {"connection_id":233393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:02:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":27,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228125696001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793860167000,"timestamp_ms":1793860167000,"timestamp_seconds":1793860167,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa65e558"} 
[2026-11-05 12: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-05 12: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-05 12: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 12:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:02:41] 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-05 12:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228125696001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228125696001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:02:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:02:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228125696001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":233393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:02:41] local.INFO: GPS data processed {"connection_id":233393,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:02:41] local.INFO: Acknowledgment sent {"connection_id":233393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:02:48] local.INFO: TCP Data received {"connection_id":231487,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231487,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:02:48] local.INFO: Processing buffer {"connection_id":231487,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:02:48] local.INFO: IMEI packet received {"connection_id":231487,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":231487,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:02:54] local.INFO: TCP Data received {"connection_id":231487,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231487,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:02:54] local.INFO: Processing buffer {"connection_id":231487,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:02:54] local.INFO: IMEI packet received {"connection_id":231487,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":231487,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:02:54] local.INFO: TCP Data received {"connection_id":231487,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa65cde8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 12:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa65cde8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 12:02:54] local.INFO: Processing buffer {"connection_id":231487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa65cde8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 12:02:54] local.INFO: Packet analysis {"connection_id":231487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:02:54] local.INFO: Extracted packet for processing {"connection_id":231487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:02:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228124160001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:02: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-05 12:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793860161000,"timestamp_ms":1793860161000,"timestamp_seconds":1793860161,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa65cde8"} 
[2026-11-05 12:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:02:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:02:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":231487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":231487,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":231487,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228124160001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228124160001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:02:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228124160001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":231487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62751,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:02:55] local.INFO: GPS data processed {"connection_id":231487,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:02:55] local.INFO: Acknowledgment sent {"connection_id":231487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:03:03] local.INFO: TCP Data received {"connection_id":233394,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:03:03] local.INFO: Processing buffer {"connection_id":233394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:03:03] local.INFO: IMEI packet received {"connection_id":233394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":233394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:03:09] local.INFO: TCP Data received {"connection_id":233394,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:03:09] local.INFO: Processing buffer {"connection_id":233394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:03:09] local.INFO: IMEI packet received {"connection_id":233394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":233394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:03:10] local.INFO: TCP Data received {"connection_id":233394,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa65e558012d7fad0005afe048001b004526..."} 
[2026-11-05 12:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa65e558012d7fad0005afe048001b004526..."} 
[2026-11-05 12:03:10] local.INFO: Processing buffer {"connection_id":233394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa65e558012d7fad0005afe048001b004526..."} 
[2026-11-05 12:03:10] local.INFO: Packet analysis {"connection_id":233394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:03:10] local.INFO: Extracted packet for processing {"connection_id":233394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:03:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":27,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228125696001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793860167000,"timestamp_ms":1793860167000,"timestamp_seconds":1793860167,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa65e558"} 
[2026-11-05 12:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 12:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 12:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:03:10] 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-05 12:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228125696001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228125696001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:03:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:03:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228125696001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":233394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:03:10] local.INFO: GPS data processed {"connection_id":233394,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:03:10] local.INFO: Acknowledgment sent {"connection_id":233394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:03:26] local.INFO: TCP Data received {"connection_id":231487,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa65cde8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 12:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa65cde8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 12:03:26] local.INFO: Processing buffer {"connection_id":231487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa65cde8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 12:03:26] local.INFO: Packet analysis {"connection_id":231487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:03:26] local.INFO: Extracted packet for processing {"connection_id":231487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:03:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228124160001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:03: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-05 12:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793860161000,"timestamp_ms":1793860161000,"timestamp_seconds":1793860161,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa65cde8"} 
[2026-11-05 12:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:03:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:03:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231487,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231487,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:03:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228124160001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228124160001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:03:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228124160001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":231487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62753,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:03:26] local.INFO: GPS data processed {"connection_id":231487,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:03:26] local.INFO: Acknowledgment sent {"connection_id":231487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:03:41] local.INFO: TCP Data received {"connection_id":233394,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa65e558012d7fad0005afe048001b004526..."} 
[2026-11-05 12:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa65e558012d7fad0005afe048001b004526..."} 
[2026-11-05 12:03:41] local.INFO: Processing buffer {"connection_id":233394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa65e558012d7fad0005afe048001b004526..."} 
[2026-11-05 12:03:41] local.INFO: Packet analysis {"connection_id":233394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:03:41] local.INFO: Extracted packet for processing {"connection_id":233394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:03:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":27,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228125696001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793860167000,"timestamp_ms":1793860167000,"timestamp_seconds":1793860167,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa65e558"} 
[2026-11-05 12: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-05 12:03: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-05 12: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 12:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:03: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-05 12:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228125696001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228125696001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:03:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228125696001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":233394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:03:41] local.INFO: GPS data processed {"connection_id":233394,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:03:41] local.INFO: Acknowledgment sent {"connection_id":233394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:03:48] local.INFO: TCP Data received {"connection_id":233396,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233396,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:03:48] local.INFO: Processing buffer {"connection_id":233396,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:03:48] local.INFO: IMEI packet received {"connection_id":233396,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":233396,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:03:54] local.INFO: TCP Data received {"connection_id":233396,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233396,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:03:54] local.INFO: Processing buffer {"connection_id":233396,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:03:54] local.INFO: IMEI packet received {"connection_id":233396,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":233396,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:03:54] local.INFO: TCP Data received {"connection_id":233396,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa65cde8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 12:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa65cde8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 12:03:54] local.INFO: Processing buffer {"connection_id":233396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa65cde8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 12:03:54] local.INFO: Packet analysis {"connection_id":233396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:03:54] local.INFO: Extracted packet for processing {"connection_id":233396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:03:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228124160001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:03: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-05 12:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793860161000,"timestamp_ms":1793860161000,"timestamp_seconds":1793860161,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa65cde8"} 
[2026-11-05 12:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":233396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":233396,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":233396,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228124160001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228124160001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:03:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228124160001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":233396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62755,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:03:55] local.INFO: GPS data processed {"connection_id":233396,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:03:55] local.INFO: Acknowledgment sent {"connection_id":233396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:04:03] local.INFO: TCP Data received {"connection_id":231488,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:04:03] local.INFO: Processing buffer {"connection_id":231488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:04:03] local.INFO: IMEI packet received {"connection_id":231488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":231488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:04:09] local.INFO: TCP Data received {"connection_id":231488,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:04:09] local.INFO: Processing buffer {"connection_id":231488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:04:09] local.INFO: IMEI packet received {"connection_id":231488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":231488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:04:10] local.INFO: TCP Data received {"connection_id":231488,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa65e558012d7fad0005afe048001b004526..."} 
[2026-11-05 12:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa65e558012d7fad0005afe048001b004526..."} 
[2026-11-05 12:04:10] local.INFO: Processing buffer {"connection_id":231488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa65e558012d7fad0005afe048001b004526..."} 
[2026-11-05 12:04:10] local.INFO: Packet analysis {"connection_id":231488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:04:10] local.INFO: Extracted packet for processing {"connection_id":231488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:04:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":27,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228125696001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793860167000,"timestamp_ms":1793860167000,"timestamp_seconds":1793860167,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa65e558"} 
[2026-11-05 12:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 12:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 12:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:04:10] 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-05 12:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228125696001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228125696001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:04:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228125696001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":231488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:04:10] local.INFO: GPS data processed {"connection_id":231488,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:04:10] local.INFO: Acknowledgment sent {"connection_id":231488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:04:26] local.INFO: TCP Data received {"connection_id":233396,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:04:26] local.INFO: Processing buffer {"connection_id":233396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:04:26] local.INFO: Packet analysis {"connection_id":233396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:04:26] local.INFO: Extracted packet for processing {"connection_id":233396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:04:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228201216001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:04: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-05 12:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793860462000,"timestamp_ms":1793860462000,"timestamp_seconds":1793860462,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6a65b0"} 
[2026-11-05 12:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:04:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:04:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233396,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233396,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228201216001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228201216001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:04:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228201216001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":233396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62757,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:04:26] local.INFO: GPS data processed {"connection_id":233396,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:04:26] local.INFO: Acknowledgment sent {"connection_id":233396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:04:41] local.INFO: TCP Data received {"connection_id":231488,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa65e558012d7fad0005afe048001b004526..."} 
[2026-11-05 12:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa65e558012d7fad0005afe048001b004526..."} 
[2026-11-05 12:04:41] local.INFO: Processing buffer {"connection_id":231488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa65e558012d7fad0005afe048001b004526..."} 
[2026-11-05 12:04:41] local.INFO: Packet analysis {"connection_id":231488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:04:41] local.INFO: Extracted packet for processing {"connection_id":231488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa65"} 
[2026-11-05 12:04:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":27,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228125696001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793860167000,"timestamp_ms":1793860167000,"timestamp_seconds":1793860167,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa65e558"} 
[2026-11-05 12:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12: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-05 12:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 12:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:04:41] 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-05 12:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228125696001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228125696001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:04:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228125696001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":231488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:04:41] local.INFO: GPS data processed {"connection_id":231488,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:04:41] local.INFO: Acknowledgment sent {"connection_id":231488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:04:54] local.INFO: TCP Data received {"connection_id":229640,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229640,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:04:54] local.INFO: Processing buffer {"connection_id":229640,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:04:54] local.INFO: IMEI packet received {"connection_id":229640,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":229640,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:04:59] local.INFO: TCP Data received {"connection_id":229640,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229640,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:04:59] local.INFO: Processing buffer {"connection_id":229640,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:04:59] local.INFO: IMEI packet received {"connection_id":229640,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":229640,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:04:59] local.INFO: TCP Data received {"connection_id":229640,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:04:59] local.INFO: Processing buffer {"connection_id":229640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:04:59] local.INFO: Packet analysis {"connection_id":229640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:04:59] local.INFO: Extracted packet for processing {"connection_id":229640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:04:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228201216001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:04: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-05 12:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793860462000,"timestamp_ms":1793860462000,"timestamp_seconds":1793860462,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6a65b0"} 
[2026-11-05 12:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":229640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":229640,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":229640,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228201216001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228201216001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:04:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228201216001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:05:00] 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":62759,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:05:00] local.INFO: GPS data processed {"connection_id":229640,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:05:00] local.INFO: Acknowledgment sent {"connection_id":229640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:05:03] local.INFO: TCP Data received {"connection_id":229641,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:05:03] local.INFO: Processing buffer {"connection_id":229641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:05:03] local.INFO: IMEI packet received {"connection_id":229641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":229641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:05:05] local.INFO: TCP Data received {"connection_id":229641,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:05:05] local.INFO: Processing buffer {"connection_id":229641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:05:05] local.INFO: IMEI packet received {"connection_id":229641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":229641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:05:09] local.INFO: TCP Data received {"connection_id":229641,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:05:09] local.INFO: Processing buffer {"connection_id":229641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:05:09] local.INFO: IMEI packet received {"connection_id":229641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":229641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:05:09] local.INFO: TCP Data received {"connection_id":229641,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:05:09] local.INFO: Processing buffer {"connection_id":229641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:05:09] local.INFO: Packet analysis {"connection_id":229641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:05:09] local.INFO: Extracted packet for processing {"connection_id":229641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:05:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":20,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228202752001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793860468000,"timestamp_ms":1793860468000,"timestamp_seconds":1793860468,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6a7d20"} 
[2026-11-05 12:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 12:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 12:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:05:09] 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-05 12:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228202752001,"66":25441,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228202752001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:05:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:05:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228202752001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":229641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:05:10] local.INFO: GPS data processed {"connection_id":229641,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:05:10] local.INFO: Acknowledgment sent {"connection_id":229641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:05:31] local.INFO: TCP Data received {"connection_id":229640,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:05:31] local.INFO: Processing buffer {"connection_id":229640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:05:31] local.INFO: Packet analysis {"connection_id":229640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:05:31] local.INFO: Extracted packet for processing {"connection_id":229640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:05:31] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228201216001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793860462000,"timestamp_ms":1793860462000,"timestamp_seconds":1793860462,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6a65b0"} 
[2026-11-05 12:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":229640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":229640,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":229640,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228201216001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228201216001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:05:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228201216001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:05:31] 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":62761,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:05:31] local.INFO: GPS data processed {"connection_id":229640,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:05:31] local.INFO: Acknowledgment sent {"connection_id":229640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:05:45] local.INFO: TCP Data received {"connection_id":229641,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:05:45] local.INFO: Processing buffer {"connection_id":229641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:05:45] local.INFO: Packet analysis {"connection_id":229641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:05:45] local.INFO: Extracted packet for processing {"connection_id":229641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:05:45] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":20,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228202752001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793860468000,"timestamp_ms":1793860468000,"timestamp_seconds":1793860468,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6a7d20"} 
[2026-11-05 12: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-05 12:05: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-05 12:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 12:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12: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-05 12:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228202752001,"66":25441,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228202752001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:05:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:05:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228202752001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":229641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:05:45] local.INFO: GPS data processed {"connection_id":229641,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:05:45] local.INFO: Acknowledgment sent {"connection_id":229641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:05:51] local.INFO: TCP Data received {"connection_id":231491,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231491,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:05:51] local.INFO: Processing buffer {"connection_id":231491,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:05:51] local.INFO: IMEI packet received {"connection_id":231491,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":231491,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:05:53] local.INFO: TCP Data received {"connection_id":231491,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231491,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:05:53] local.INFO: Processing buffer {"connection_id":231491,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:05:53] local.INFO: IMEI packet received {"connection_id":231491,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":231491,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:05:54] local.INFO: TCP Data received {"connection_id":231491,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:05:54] local.INFO: Processing buffer {"connection_id":231491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:05:54] local.INFO: Packet analysis {"connection_id":231491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:05:54] local.INFO: Extracted packet for processing {"connection_id":231491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:05:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228201216001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:05: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-05 12:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793860462000,"timestamp_ms":1793860462000,"timestamp_seconds":1793860462,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6a65b0"} 
[2026-11-05 12: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-05 12:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:05:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":231491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":231491,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":231491,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228201216001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228201216001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:05:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228201216001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":231491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62763,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:05:54] local.INFO: GPS data processed {"connection_id":231491,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:05:54] local.INFO: Acknowledgment sent {"connection_id":231491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:05:59] local.INFO: TCP Data received {"connection_id":231491,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:05:59] local.INFO: Processing buffer {"connection_id":231491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:05:59] local.INFO: Packet analysis {"connection_id":231491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:05:59] local.INFO: Extracted packet for processing {"connection_id":231491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:05:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228201216001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:05: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-05 12:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793860462000,"timestamp_ms":1793860462000,"timestamp_seconds":1793860462,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6a65b0"} 
[2026-11-05 12:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":231491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":231491,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":231491,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228201216001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228201216001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:05:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228201216001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":231491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62764,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:05:59] local.INFO: GPS data processed {"connection_id":231491,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:05:59] local.INFO: Acknowledgment sent {"connection_id":231491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:06:06] local.INFO: TCP Data received {"connection_id":229642,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:06:06] local.INFO: Processing buffer {"connection_id":229642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:06:06] local.INFO: IMEI packet received {"connection_id":229642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":229642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:06:08] local.INFO: TCP Data received {"connection_id":229642,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:06:08] local.INFO: Processing buffer {"connection_id":229642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:06:08] local.INFO: IMEI packet received {"connection_id":229642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":229642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:06:09] local.INFO: TCP Data received {"connection_id":229642,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:06:09] local.INFO: Processing buffer {"connection_id":229642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:06:09] local.INFO: Packet analysis {"connection_id":229642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:06:09] local.INFO: Extracted packet for processing {"connection_id":229642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:06:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":20,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:06: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-05 12:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228202752001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793860468000,"timestamp_ms":1793860468000,"timestamp_seconds":1793860468,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6a7d20"} 
[2026-11-05 12:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 12:06: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 12:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:06: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-05 12:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:06:09] 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-05 12:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228202752001,"66":25441,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228202752001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:06:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:06:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228202752001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:06:09] 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":62765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:06:09] local.INFO: GPS data processed {"connection_id":229642,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:06:09] local.INFO: Acknowledgment sent {"connection_id":229642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:06:14] local.INFO: TCP Data received {"connection_id":229642,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:06:14] local.INFO: Processing buffer {"connection_id":229642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:06:14] local.INFO: Packet analysis {"connection_id":229642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:06:14] local.INFO: Extracted packet for processing {"connection_id":229642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:06:14] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":20,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 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-05 12:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228202752001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793860468000,"timestamp_ms":1793860468000,"timestamp_seconds":1793860468,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6a7d20"} 
[2026-11-05 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-05 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-05 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":31,"data_length":795,"current_offset":136} 
[2026-11-05 12:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 12:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 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-05 12:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228202752001,"66":25441,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228202752001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:06:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:06:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228202752001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:06:14] 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":62766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:06:14] local.INFO: GPS data processed {"connection_id":229642,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:06:14] local.INFO: Acknowledgment sent {"connection_id":229642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:06:30] local.INFO: TCP Data received {"connection_id":231491,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:06:30] local.INFO: Processing buffer {"connection_id":231491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:06:30] local.INFO: Packet analysis {"connection_id":231491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:06:30] local.INFO: Extracted packet for processing {"connection_id":231491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:06:30] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228201216001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:06:30] 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-05 12:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793860462000,"timestamp_ms":1793860462000,"timestamp_seconds":1793860462,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6a65b0"} 
[2026-11-05 12:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":231491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":231491,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":231491,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228201216001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228201216001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:06:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228201216001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":231491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62767,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:06:31] local.INFO: GPS data processed {"connection_id":231491,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:06:31] local.INFO: Acknowledgment sent {"connection_id":231491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:06:45] local.INFO: TCP Data received {"connection_id":229642,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:06:45] local.INFO: Processing buffer {"connection_id":229642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:06:45] local.INFO: Packet analysis {"connection_id":229642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:06:45] local.INFO: Extracted packet for processing {"connection_id":229642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:06:45] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":20,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 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-05 12:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228202752001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793860468000,"timestamp_ms":1793860468000,"timestamp_seconds":1793860468,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6a7d20"} 
[2026-11-05 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-05 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-05 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":31,"data_length":795,"current_offset":136} 
[2026-11-05 12:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 12:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 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-05 12:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228202752001,"66":25441,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228202752001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:06:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:06:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228202752001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:06:45] 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":62768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:06:45] local.INFO: GPS data processed {"connection_id":229642,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:06:45] local.INFO: Acknowledgment sent {"connection_id":229642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:06:49] local.INFO: TCP Data received {"connection_id":230157,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230157,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:06:49] local.INFO: Processing buffer {"connection_id":230157,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:06:49] local.INFO: IMEI packet received {"connection_id":230157,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":230157,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:06:54] local.INFO: TCP Data received {"connection_id":230157,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230157,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:06:54] local.INFO: Processing buffer {"connection_id":230157,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:06:54] local.INFO: IMEI packet received {"connection_id":230157,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":230157,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:06:54] local.INFO: TCP Data received {"connection_id":230157,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:06:54] local.INFO: Processing buffer {"connection_id":230157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:06:54] local.INFO: Packet analysis {"connection_id":230157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:06:54] local.INFO: Extracted packet for processing {"connection_id":230157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:06:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228201216001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:06: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-05 12:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793860462000,"timestamp_ms":1793860462000,"timestamp_seconds":1793860462,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6a65b0"} 
[2026-11-05 12:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":230157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":230157,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":230157,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228201216001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228201216001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:06:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228201216001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":230157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62769,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:06:55] local.INFO: GPS data processed {"connection_id":230157,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:06:55] local.INFO: Acknowledgment sent {"connection_id":230157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:07:04] local.INFO: TCP Data received {"connection_id":229644,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:07:04] local.INFO: Processing buffer {"connection_id":229644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:07:04] local.INFO: IMEI packet received {"connection_id":229644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":229644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:07:09] local.INFO: TCP Data received {"connection_id":229644,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:07:09] local.INFO: Processing buffer {"connection_id":229644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:07:09] local.INFO: IMEI packet received {"connection_id":229644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":229644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:07:09] local.INFO: TCP Data received {"connection_id":229644,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:07:09] local.INFO: Processing buffer {"connection_id":229644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:07:09] local.INFO: Packet analysis {"connection_id":229644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:07:09] local.INFO: Extracted packet for processing {"connection_id":229644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:07:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":20,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228202752001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793860468000,"timestamp_ms":1793860468000,"timestamp_seconds":1793860468,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6a7d20"} 
[2026-11-05 12:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 12:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 12:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:07:09] 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-05 12:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228202752001,"66":25441,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228202752001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:07:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228202752001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:07:09] 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":62770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:07:09] local.INFO: GPS data processed {"connection_id":229644,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:07:09] local.INFO: Acknowledgment sent {"connection_id":229644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:07:26] local.INFO: TCP Data received {"connection_id":230157,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:07:26] local.INFO: Processing buffer {"connection_id":230157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:07:26] local.INFO: Packet analysis {"connection_id":230157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:07:26] local.INFO: Extracted packet for processing {"connection_id":230157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:07:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228201216001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:07: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-05 12:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793860462000,"timestamp_ms":1793860462000,"timestamp_seconds":1793860462,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6a65b0"} 
[2026-11-05 12: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-05 12:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:07:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230157,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230157,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228201216001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228201216001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:07:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228201216001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":230157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62771,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:07:26] local.INFO: GPS data processed {"connection_id":230157,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:07:26] local.INFO: Acknowledgment sent {"connection_id":230157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:07:41] local.INFO: TCP Data received {"connection_id":229644,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:07:41] local.INFO: Processing buffer {"connection_id":229644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:07:41] local.INFO: Packet analysis {"connection_id":229644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:07:41] local.INFO: Extracted packet for processing {"connection_id":229644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:07:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":20,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228202752001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793860468000,"timestamp_ms":1793860468000,"timestamp_seconds":1793860468,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6a7d20"} 
[2026-11-05 12: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-05 12: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-05 12: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 12:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12: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-05 12:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228202752001,"66":25441,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228202752001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:07:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228202752001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:07:41] 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":62772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:07:41] local.INFO: GPS data processed {"connection_id":229644,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:07:41] local.INFO: Acknowledgment sent {"connection_id":229644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:07:42] local.INFO: TCP Data received {"connection_id":229645,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229645,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:07:42] local.INFO: Processing buffer {"connection_id":229645,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:07:42] local.INFO: IMEI packet received {"connection_id":229645,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 12:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":229645,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:07:48] local.INFO: TCP Data received {"connection_id":229646,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229646,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:07:48] local.INFO: Processing buffer {"connection_id":229646,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:07:48] local.INFO: IMEI packet received {"connection_id":229646,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":229646,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:07:54] local.INFO: TCP Data received {"connection_id":229646,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229646,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:07:54] local.INFO: Processing buffer {"connection_id":229646,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:07:54] local.INFO: IMEI packet received {"connection_id":229646,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":229646,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:07:55] local.INFO: TCP Data received {"connection_id":229646,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:07:55] local.INFO: Processing buffer {"connection_id":229646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:07:55] local.INFO: Packet analysis {"connection_id":229646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:07:55] local.INFO: Extracted packet for processing {"connection_id":229646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:07:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228201216001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:07: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-05 12:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793860462000,"timestamp_ms":1793860462000,"timestamp_seconds":1793860462,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6a65b0"} 
[2026-11-05 12: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-05 12:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229646,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229646,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228201216001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228201216001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:07:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228201216001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":229646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62773,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:07:55] local.INFO: GPS data processed {"connection_id":229646,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:07:55] local.INFO: Acknowledgment sent {"connection_id":229646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:08:03] local.INFO: TCP Data received {"connection_id":233397,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:08:03] local.INFO: Processing buffer {"connection_id":233397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:08:03] local.INFO: IMEI packet received {"connection_id":233397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":233397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:08:06] local.INFO: TCP Data received {"connection_id":233398,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:08:06] local.INFO: Processing buffer {"connection_id":233398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:08:06] local.INFO: IMEI packet received {"connection_id":233398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 12:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":233398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:08:09] local.INFO: TCP Data received {"connection_id":233397,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:08:09] local.INFO: Processing buffer {"connection_id":233397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:08:09] local.INFO: IMEI packet received {"connection_id":233397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":233397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:08:10] local.INFO: TCP Data received {"connection_id":233397,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:08:10] local.INFO: Processing buffer {"connection_id":233397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:08:10] local.INFO: Packet analysis {"connection_id":233397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:08:10] local.INFO: Extracted packet for processing {"connection_id":233397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:08:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":20,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228202752001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793860468000,"timestamp_ms":1793860468000,"timestamp_seconds":1793860468,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6a7d20"} 
[2026-11-05 12:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 12:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:08:10] 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-05 12:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228202752001,"66":25441,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228202752001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:08:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:08:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228202752001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":233397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:08:10] local.INFO: GPS data processed {"connection_id":233397,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:08:10] local.INFO: Acknowledgment sent {"connection_id":233397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:08:26] local.INFO: TCP Data received {"connection_id":229646,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:08:26] local.INFO: Processing buffer {"connection_id":229646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:08:26] local.INFO: Packet analysis {"connection_id":229646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:08:26] local.INFO: Extracted packet for processing {"connection_id":229646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:08:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228201216001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:08: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-05 12:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793860462000,"timestamp_ms":1793860462000,"timestamp_seconds":1793860462,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6a65b0"} 
[2026-11-05 12: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-05 12:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:08:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229646,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229646,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228201216001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228201216001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:08:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228201216001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":229646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62775,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:08:26] local.INFO: GPS data processed {"connection_id":229646,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:08:26] local.INFO: Acknowledgment sent {"connection_id":229646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:08:41] local.INFO: TCP Data received {"connection_id":233397,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:08:41] local.INFO: Processing buffer {"connection_id":233397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:08:41] local.INFO: Packet analysis {"connection_id":233397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:08:41] local.INFO: Extracted packet for processing {"connection_id":233397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:08:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":20,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228202752001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793860468000,"timestamp_ms":1793860468000,"timestamp_seconds":1793860468,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6a7d20"} 
[2026-11-05 12: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-05 12: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-05 12: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 12:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:08:41] 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-05 12:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228202752001,"66":25441,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228202752001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:08:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228202752001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":233397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:08:41] local.INFO: GPS data processed {"connection_id":233397,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:08:41] local.INFO: Acknowledgment sent {"connection_id":233397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:08:48] local.INFO: TCP Data received {"connection_id":229647,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229647,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:08:48] local.INFO: Processing buffer {"connection_id":229647,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:08:48] local.INFO: IMEI packet received {"connection_id":229647,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":229647,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:08:54] local.INFO: TCP Data received {"connection_id":229647,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229647,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:08:54] local.INFO: Processing buffer {"connection_id":229647,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:08:54] local.INFO: IMEI packet received {"connection_id":229647,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":229647,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:08:54] local.INFO: TCP Data received {"connection_id":229647,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:08:54] local.INFO: Processing buffer {"connection_id":229647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6a65b0012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:08:54] local.INFO: Packet analysis {"connection_id":229647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:08:54] local.INFO: Extracted packet for processing {"connection_id":229647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:08:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228201216001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:08: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-05 12:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793860462000,"timestamp_ms":1793860462000,"timestamp_seconds":1793860462,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6a65b0"} 
[2026-11-05 12: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-05 12:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:08:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":229647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":229647,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":229647,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228201216001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228201216001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:08:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228201216001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":229647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62777,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:08:55] local.INFO: GPS data processed {"connection_id":229647,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:08:55] local.INFO: Acknowledgment sent {"connection_id":229647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:09:03] local.INFO: TCP Data received {"connection_id":229648,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:09:03] local.INFO: Processing buffer {"connection_id":229648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:09:03] local.INFO: IMEI packet received {"connection_id":229648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":229648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:09:09] local.INFO: TCP Data received {"connection_id":229648,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:09:09] local.INFO: Processing buffer {"connection_id":229648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:09:09] local.INFO: IMEI packet received {"connection_id":229648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":229648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:09:09] local.INFO: TCP Data received {"connection_id":229648,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:09:09] local.INFO: Processing buffer {"connection_id":229648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:09:09] local.INFO: Packet analysis {"connection_id":229648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:09:09] local.INFO: Extracted packet for processing {"connection_id":229648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:09:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":20,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228202752001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793860468000,"timestamp_ms":1793860468000,"timestamp_seconds":1793860468,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6a7d20"} 
[2026-11-05 12:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 12:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 12:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:09:09] 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-05 12:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228202752001,"66":25441,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228202752001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:09:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:09:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228202752001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":229648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:09:09] local.INFO: GPS data processed {"connection_id":229648,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:09:09] local.INFO: Acknowledgment sent {"connection_id":229648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:09:26] local.INFO: TCP Data received {"connection_id":229647,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6efd78012d0b10c00702a1800005014e1f..."} 
[2026-11-05 12:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6efd78012d0b10c00702a1800005014e1f..."} 
[2026-11-05 12:09:26] local.INFO: Processing buffer {"connection_id":229647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6efd78012d0b10c00702a1800005014e1f..."} 
[2026-11-05 12:09:26] local.INFO: Packet analysis {"connection_id":229647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6e"} 
[2026-11-05 12:09:26] local.INFO: Extracted packet for processing {"connection_id":229647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6e"} 
[2026-11-05 12:09:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228278272001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:09: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-05 12:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793860763000,"timestamp_ms":1793860763000,"timestamp_seconds":1793860763,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6efd78"} 
[2026-11-05 12: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-05 12:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:09:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229647,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229647,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:09:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228278272001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228278272001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:09:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228278272001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":229647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62779,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:09:26] local.INFO: GPS data processed {"connection_id":229647,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:09:26] local.INFO: Acknowledgment sent {"connection_id":229647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:09:41] local.INFO: TCP Data received {"connection_id":229648,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:09:41] local.INFO: Processing buffer {"connection_id":229648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6a7d20012d7fad0005afe0480014004529..."} 
[2026-11-05 12:09:41] local.INFO: Packet analysis {"connection_id":229648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:09:41] local.INFO: Extracted packet for processing {"connection_id":229648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6a"} 
[2026-11-05 12:09:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":20,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228202752001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793860468000,"timestamp_ms":1793860468000,"timestamp_seconds":1793860468,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6a7d20"} 
[2026-11-05 12:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12: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-05 12:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 12:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:09:41] 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-05 12:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228202752001,"66":25441,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228202752001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:09:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228202752001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":229648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:09:41] local.INFO: GPS data processed {"connection_id":229648,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:09:41] local.INFO: Acknowledgment sent {"connection_id":229648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:09:54] local.INFO: TCP Data received {"connection_id":233400,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233400,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:09:54] local.INFO: Processing buffer {"connection_id":233400,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:09:54] local.INFO: IMEI packet received {"connection_id":233400,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":233400,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:09:58] local.INFO: TCP Data received {"connection_id":233400,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233400,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:09:58] local.INFO: Processing buffer {"connection_id":233400,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:09:58] local.INFO: IMEI packet received {"connection_id":233400,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":233400,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:10:01] local.INFO: TCP Data received {"connection_id":233400,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6efd78012d0b10c00702a1800005014e1f..."} 
[2026-11-05 12:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6efd78012d0b10c00702a1800005014e1f..."} 
[2026-11-05 12:10:01] local.INFO: Processing buffer {"connection_id":233400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6efd78012d0b10c00702a1800005014e1f..."} 
[2026-11-05 12:10:01] local.INFO: Packet analysis {"connection_id":233400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6e"} 
[2026-11-05 12:10:01] local.INFO: Extracted packet for processing {"connection_id":233400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6e"} 
[2026-11-05 12:10:01] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228278272001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:10:01] 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-05 12:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1793860763000,"timestamp_ms":1793860763000,"timestamp_seconds":1793860763,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6efd78"} 
[2026-11-05 12:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":233400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":233400,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":233400,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228278272001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228278272001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:10:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228278272001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":233400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62781,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:10:01] local.INFO: GPS data processed {"connection_id":233400,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:10:01] local.INFO: Acknowledgment sent {"connection_id":233400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:10:03] local.INFO: TCP Data received {"connection_id":231492,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:10:03] local.INFO: Processing buffer {"connection_id":231492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:10:03] local.INFO: IMEI packet received {"connection_id":231492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":231492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:10:07] local.INFO: TCP Data received {"connection_id":231492,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:10:07] local.INFO: Processing buffer {"connection_id":231492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:10:07] local.INFO: IMEI packet received {"connection_id":231492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":231492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:10:09] local.INFO: TCP Data received {"connection_id":231492,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:10:09] local.INFO: Processing buffer {"connection_id":231492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:10:09] local.INFO: IMEI packet received {"connection_id":231492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":231492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:10:10] local.INFO: TCP Data received {"connection_id":231492,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6f1100012d7fad0005afe0480014004528..."} 
[2026-11-05 12:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6f1100012d7fad0005afe0480014004528..."} 
[2026-11-05 12:10:10] local.INFO: Processing buffer {"connection_id":231492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6f1100012d7fad0005afe0480014004528..."} 
[2026-11-05 12:10:10] local.INFO: Packet analysis {"connection_id":231492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6f"} 
[2026-11-05 12:10:10] local.INFO: Extracted packet for processing {"connection_id":231492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6f"} 
[2026-11-05 12:10:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":20,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228279808001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793860768000,"timestamp_ms":1793860768000,"timestamp_seconds":1793860768,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6f1100"} 
[2026-11-05 12:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 12:10:10] 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-05 12:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:10:10] 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-05 12:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228279808001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228279808001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:10:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:10:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228279808001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":231492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:10:10] local.INFO: GPS data processed {"connection_id":231492,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:10:10] local.INFO: Acknowledgment sent {"connection_id":231492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:10:41] local.INFO: TCP Data received {"connection_id":231492,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6f1100012d7fad0005afe0480014004528..."} 
[2026-11-05 12:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6f1100012d7fad0005afe0480014004528..."} 
[2026-11-05 12:10:41] local.INFO: Processing buffer {"connection_id":231492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6f1100012d7fad0005afe0480014004528..."} 
[2026-11-05 12:10:41] local.INFO: Packet analysis {"connection_id":231492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6f"} 
[2026-11-05 12:10:41] local.INFO: Extracted packet for processing {"connection_id":231492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6f"} 
[2026-11-05 12:10:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":20,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228279808001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793860768000,"timestamp_ms":1793860768000,"timestamp_seconds":1793860768,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6f1100"} 
[2026-11-05 12: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-05 12:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 12:10:41] 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-05 12: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-05 12: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-05 12:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:10: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-05 12:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228279808001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228279808001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:10:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:10:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228279808001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":231492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:10:41] local.INFO: GPS data processed {"connection_id":231492,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:10:41] local.INFO: Acknowledgment sent {"connection_id":231492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:10:48] local.INFO: TCP Data received {"connection_id":233401,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233401,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:10:48] local.INFO: Processing buffer {"connection_id":233401,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:10:48] local.INFO: IMEI packet received {"connection_id":233401,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":233401,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:10:53] local.INFO: TCP Data received {"connection_id":233401,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233401,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:10:53] local.INFO: Processing buffer {"connection_id":233401,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:10:53] local.INFO: IMEI packet received {"connection_id":233401,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":233401,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:10:55] local.INFO: TCP Data received {"connection_id":233401,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6efd78012d0b10c00702a1800005014e1f..."} 
[2026-11-05 12:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6efd78012d0b10c00702a1800005014e1f..."} 
[2026-11-05 12:10:55] local.INFO: Processing buffer {"connection_id":233401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6efd78012d0b10c00702a1800005014e1f..."} 
[2026-11-05 12:10:55] local.INFO: Packet analysis {"connection_id":233401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6e"} 
[2026-11-05 12:10:55] local.INFO: Extracted packet for processing {"connection_id":233401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6e"} 
[2026-11-05 12:10:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228278272001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:10: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-05 12:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793860763000,"timestamp_ms":1793860763000,"timestamp_seconds":1793860763,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6efd78"} 
[2026-11-05 12:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228278272001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228278272001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:10:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228278272001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":233401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62784,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:10:55] local.INFO: GPS data processed {"connection_id":233401,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:10:55] local.INFO: Acknowledgment sent {"connection_id":233401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:11:04] local.INFO: TCP Data received {"connection_id":230159,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:11:04] local.INFO: Processing buffer {"connection_id":230159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:11:04] local.INFO: IMEI packet received {"connection_id":230159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":230159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:11:09] local.INFO: TCP Data received {"connection_id":230159,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:11:09] local.INFO: Processing buffer {"connection_id":230159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:11:09] local.INFO: IMEI packet received {"connection_id":230159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":230159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:11:10] local.INFO: TCP Data received {"connection_id":230159,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6f1100012d7fad0005afe0480014004528..."} 
[2026-11-05 12:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6f1100012d7fad0005afe0480014004528..."} 
[2026-11-05 12:11:10] local.INFO: Processing buffer {"connection_id":230159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6f1100012d7fad0005afe0480014004528..."} 
[2026-11-05 12:11:10] local.INFO: Packet analysis {"connection_id":230159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6f"} 
[2026-11-05 12:11:10] local.INFO: Extracted packet for processing {"connection_id":230159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6f"} 
[2026-11-05 12:11:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":20,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228279808001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793860768000,"timestamp_ms":1793860768000,"timestamp_seconds":1793860768,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6f1100"} 
[2026-11-05 12:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 12:11:10] 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-05 12:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:11:10] 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-05 12:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228279808001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228279808001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:11:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228279808001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":230159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:11:10] local.INFO: GPS data processed {"connection_id":230159,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:11:10] local.INFO: Acknowledgment sent {"connection_id":230159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:11:26] local.INFO: TCP Data received {"connection_id":233401,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6efd78012d0b10c00702a1800005014e1f..."} 
[2026-11-05 12:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6efd78012d0b10c00702a1800005014e1f..."} 
[2026-11-05 12:11:26] local.INFO: Processing buffer {"connection_id":233401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6efd78012d0b10c00702a1800005014e1f..."} 
[2026-11-05 12:11:26] local.INFO: Packet analysis {"connection_id":233401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6e"} 
[2026-11-05 12:11:26] local.INFO: Extracted packet for processing {"connection_id":233401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6e"} 
[2026-11-05 12:11:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228278272001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:11: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-05 12:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793860763000,"timestamp_ms":1793860763000,"timestamp_seconds":1793860763,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6efd78"} 
[2026-11-05 12: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-05 12:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228278272001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228278272001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:11:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228278272001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":233401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62786,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:11:26] local.INFO: GPS data processed {"connection_id":233401,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:11:26] local.INFO: Acknowledgment sent {"connection_id":233401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:11:42] local.INFO: TCP Data received {"connection_id":230159,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6f1100012d7fad0005afe0480014004528..."} 
[2026-11-05 12:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6f1100012d7fad0005afe0480014004528..."} 
[2026-11-05 12:11:42] local.INFO: Processing buffer {"connection_id":230159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6f1100012d7fad0005afe0480014004528..."} 
[2026-11-05 12:11:42] local.INFO: Packet analysis {"connection_id":230159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6f"} 
[2026-11-05 12:11:42] local.INFO: Extracted packet for processing {"connection_id":230159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6f"} 
[2026-11-05 12:11:42] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":20,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228279808001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793860768000,"timestamp_ms":1793860768000,"timestamp_seconds":1793860768,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6f1100"} 
[2026-11-05 12:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 12:11: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-05 12:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:11:42] 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-05 12:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228279808001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228279808001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:11:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:11:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228279808001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":230159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:11:42] local.INFO: GPS data processed {"connection_id":230159,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:11:42] local.INFO: Acknowledgment sent {"connection_id":230159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:11:54] local.INFO: TCP Data received {"connection_id":230160,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230160,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:11:54] local.INFO: Processing buffer {"connection_id":230160,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:11:54] local.INFO: IMEI packet received {"connection_id":230160,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":230160,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:11:59] local.INFO: TCP Data received {"connection_id":230160,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230160,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:11:59] local.INFO: Processing buffer {"connection_id":230160,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:11:59] local.INFO: IMEI packet received {"connection_id":230160,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":230160,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:12:00] local.INFO: TCP Data received {"connection_id":230160,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6efd78012d0b10c00702a1800005014e1f..."} 
[2026-11-05 12:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6efd78012d0b10c00702a1800005014e1f..."} 
[2026-11-05 12:12:00] local.INFO: Processing buffer {"connection_id":230160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6efd78012d0b10c00702a1800005014e1f..."} 
[2026-11-05 12:12:00] local.INFO: Packet analysis {"connection_id":230160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6e"} 
[2026-11-05 12:12:00] local.INFO: Extracted packet for processing {"connection_id":230160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6e"} 
[2026-11-05 12:12:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228278272001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:12: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-05 12:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793860763000,"timestamp_ms":1793860763000,"timestamp_seconds":1793860763,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6efd78"} 
[2026-11-05 12: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-05 12:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":230160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":230160,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":230160,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228278272001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228278272001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:12:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228278272001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":230160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62788,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:12:00] local.INFO: GPS data processed {"connection_id":230160,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:12:00] local.INFO: Acknowledgment sent {"connection_id":230160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:12:03] local.INFO: TCP Data received {"connection_id":229649,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:12:03] local.INFO: Processing buffer {"connection_id":229649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:12:03] local.INFO: IMEI packet received {"connection_id":229649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":229649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:12:04] local.INFO: TCP Data received {"connection_id":230160,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6efd78012d0b10c00702a1800005014e1f..."} 
[2026-11-05 12:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6efd78012d0b10c00702a1800005014e1f..."} 
[2026-11-05 12:12:04] local.INFO: Processing buffer {"connection_id":230160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6efd78012d0b10c00702a1800005014e1f..."} 
[2026-11-05 12:12:04] local.INFO: Packet analysis {"connection_id":230160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6e"} 
[2026-11-05 12:12:04] local.INFO: Extracted packet for processing {"connection_id":230160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6e"} 
[2026-11-05 12:12:04] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228278272001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793860763000,"timestamp_ms":1793860763000,"timestamp_seconds":1793860763,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6efd78"} 
[2026-11-05 12:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":230160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":230160,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":230160,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228278272001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228278272001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:12:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228278272001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":230160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62789,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:12:04] local.INFO: GPS data processed {"connection_id":230160,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:12:04] local.INFO: Acknowledgment sent {"connection_id":230160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:12:09] local.INFO: TCP Data received {"connection_id":229649,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:12:09] local.INFO: Processing buffer {"connection_id":229649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:12:09] local.INFO: IMEI packet received {"connection_id":229649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":229649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:12:10] local.INFO: TCP Data received {"connection_id":229649,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6f1100012d7fad0005afe0480014004528..."} 
[2026-11-05 12:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6f1100012d7fad0005afe0480014004528..."} 
[2026-11-05 12:12:10] local.INFO: Processing buffer {"connection_id":229649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6f1100012d7fad0005afe0480014004528..."} 
[2026-11-05 12:12:10] local.INFO: Packet analysis {"connection_id":229649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6f"} 
[2026-11-05 12:12:10] local.INFO: Extracted packet for processing {"connection_id":229649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6f"} 
[2026-11-05 12:12:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":20,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228279808001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793860768000,"timestamp_ms":1793860768000,"timestamp_seconds":1793860768,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6f1100"} 
[2026-11-05 12:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 12:12:10] 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-05 12:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:12:10] 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-05 12:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228279808001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228279808001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:12:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:12:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228279808001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:12:10] 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":62790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:12:10] local.INFO: GPS data processed {"connection_id":229649,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:12:10] local.INFO: Acknowledgment sent {"connection_id":229649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:12:41] local.INFO: TCP Data received {"connection_id":229649,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6f1100012d7fad0005afe0480014004528..."} 
[2026-11-05 12:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6f1100012d7fad0005afe0480014004528..."} 
[2026-11-05 12:12:41] local.INFO: Processing buffer {"connection_id":229649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6f1100012d7fad0005afe0480014004528..."} 
[2026-11-05 12:12:41] local.INFO: Packet analysis {"connection_id":229649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6f"} 
[2026-11-05 12:12:41] local.INFO: Extracted packet for processing {"connection_id":229649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6f"} 
[2026-11-05 12:12:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":20,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228279808001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793860768000,"timestamp_ms":1793860768000,"timestamp_seconds":1793860768,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6f1100"} 
[2026-11-05 12:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 12:12:41] 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-05 12:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:12: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-05 12:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228279808001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228279808001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:12:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:12:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228279808001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:12:41] 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":62791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:12:41] local.INFO: GPS data processed {"connection_id":229649,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:12:41] local.INFO: Acknowledgment sent {"connection_id":229649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:12:49] local.INFO: TCP Data received {"connection_id":233402,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233402,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:12:49] local.INFO: Processing buffer {"connection_id":233402,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:12:49] local.INFO: IMEI packet received {"connection_id":233402,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":233402,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:12:54] local.INFO: TCP Data received {"connection_id":233402,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233402,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:12:54] local.INFO: Processing buffer {"connection_id":233402,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:12:54] local.INFO: IMEI packet received {"connection_id":233402,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":233402,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:12:54] local.INFO: TCP Data received {"connection_id":233402,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6efd78012d0b10c00702a1800005014e1f..."} 
[2026-11-05 12:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6efd78012d0b10c00702a1800005014e1f..."} 
[2026-11-05 12:12:54] local.INFO: Processing buffer {"connection_id":233402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6efd78012d0b10c00702a1800005014e1f..."} 
[2026-11-05 12:12:54] local.INFO: Packet analysis {"connection_id":233402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6e"} 
[2026-11-05 12:12:54] local.INFO: Extracted packet for processing {"connection_id":233402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6e"} 
[2026-11-05 12:12:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228278272001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:12: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-05 12:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793860763000,"timestamp_ms":1793860763000,"timestamp_seconds":1793860763,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6efd78"} 
[2026-11-05 12:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:12:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":233402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":233402,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":233402,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:12:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228278272001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228278272001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:12:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228278272001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":233402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62792,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:12:55] local.INFO: GPS data processed {"connection_id":233402,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:12:55] local.INFO: Acknowledgment sent {"connection_id":233402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:13:03] local.INFO: TCP Data received {"connection_id":230162,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:13:03] local.INFO: Processing buffer {"connection_id":230162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:13:03] local.INFO: IMEI packet received {"connection_id":230162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":230162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:13:09] local.INFO: TCP Data received {"connection_id":230162,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:13:09] local.INFO: Processing buffer {"connection_id":230162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:13:09] local.INFO: IMEI packet received {"connection_id":230162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":230162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:13:10] local.INFO: TCP Data received {"connection_id":230162,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6f1100012d7fad0005afe0480014004528..."} 
[2026-11-05 12:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6f1100012d7fad0005afe0480014004528..."} 
[2026-11-05 12:13:10] local.INFO: Processing buffer {"connection_id":230162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6f1100012d7fad0005afe0480014004528..."} 
[2026-11-05 12:13:10] local.INFO: Packet analysis {"connection_id":230162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6f"} 
[2026-11-05 12:13:10] local.INFO: Extracted packet for processing {"connection_id":230162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6f"} 
[2026-11-05 12:13:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":20,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228279808001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793860768000,"timestamp_ms":1793860768000,"timestamp_seconds":1793860768,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6f1100"} 
[2026-11-05 12:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 12:13:10] 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-05 12:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:13:10] 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-05 12:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228279808001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228279808001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:13:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:13:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228279808001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":230162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:13:10] local.INFO: GPS data processed {"connection_id":230162,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:13:10] local.INFO: Acknowledgment sent {"connection_id":230162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:13:26] local.INFO: TCP Data received {"connection_id":233402,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6efd78012d0b10c00702a1800005014e1f..."} 
[2026-11-05 12:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6efd78012d0b10c00702a1800005014e1f..."} 
[2026-11-05 12:13:26] local.INFO: Processing buffer {"connection_id":233402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6efd78012d0b10c00702a1800005014e1f..."} 
[2026-11-05 12:13:26] local.INFO: Packet analysis {"connection_id":233402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6e"} 
[2026-11-05 12:13:26] local.INFO: Extracted packet for processing {"connection_id":233402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6e"} 
[2026-11-05 12:13:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228278272001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:13: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-05 12:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793860763000,"timestamp_ms":1793860763000,"timestamp_seconds":1793860763,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6efd78"} 
[2026-11-05 12:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:13:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233402,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233402,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228278272001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228278272001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:13:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228278272001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:13:26] local.INFO: TCP Data received {"connection_id":229650,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229650,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:13:26] local.INFO: Processing buffer {"connection_id":229650,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:13:26] local.INFO: IMEI packet received {"connection_id":229650,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 12:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":229650,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":233402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62794,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:13:26] local.INFO: GPS data processed {"connection_id":233402,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:13:26] local.INFO: Acknowledgment sent {"connection_id":233402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:13:41] local.INFO: TCP Data received {"connection_id":230162,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6f1100012d7fad0005afe0480014004528..."} 
[2026-11-05 12:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6f1100012d7fad0005afe0480014004528..."} 
[2026-11-05 12:13:41] local.INFO: Processing buffer {"connection_id":230162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6f1100012d7fad0005afe0480014004528..."} 
[2026-11-05 12:13:41] local.INFO: Packet analysis {"connection_id":230162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6f"} 
[2026-11-05 12:13:41] local.INFO: Extracted packet for processing {"connection_id":230162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6f"} 
[2026-11-05 12:13:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":20,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228279808001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793860768000,"timestamp_ms":1793860768000,"timestamp_seconds":1793860768,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6f1100"} 
[2026-11-05 12:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 12:13:41] 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-05 12:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:13: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-05 12:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228279808001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228279808001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:13:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:13:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228279808001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":230162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:13:41] local.INFO: GPS data processed {"connection_id":230162,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:13:41] local.INFO: Acknowledgment sent {"connection_id":230162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:13:48] local.INFO: TCP Data received {"connection_id":230163,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230163,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:13:48] local.INFO: Processing buffer {"connection_id":230163,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:13:48] local.INFO: IMEI packet received {"connection_id":230163,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":230163,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:13:53] local.INFO: TCP Data received {"connection_id":230163,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230163,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:13:53] local.INFO: Processing buffer {"connection_id":230163,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:13:53] local.INFO: IMEI packet received {"connection_id":230163,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":230163,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:13:54] local.INFO: TCP Data received {"connection_id":230163,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6efd78012d0b10c00702a1800005014e1f..."} 
[2026-11-05 12:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6efd78012d0b10c00702a1800005014e1f..."} 
[2026-11-05 12:13:54] local.INFO: Processing buffer {"connection_id":230163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6efd78012d0b10c00702a1800005014e1f..."} 
[2026-11-05 12:13:54] local.INFO: Packet analysis {"connection_id":230163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6e"} 
[2026-11-05 12:13:54] local.INFO: Extracted packet for processing {"connection_id":230163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6e"} 
[2026-11-05 12:13:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228278272001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:13: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-05 12:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793860763000,"timestamp_ms":1793860763000,"timestamp_seconds":1793860763,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6efd78"} 
[2026-11-05 12:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":230163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":230163,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":230163,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228278272001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228278272001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:13:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228278272001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":230163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62796,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:13:54] local.INFO: GPS data processed {"connection_id":230163,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:13:54] local.INFO: Acknowledgment sent {"connection_id":230163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:13:59] local.INFO: TCP Data received {"connection_id":230163,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6efd78012d0b10c00702a1800005014e1f..."} 
[2026-11-05 12:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6efd78012d0b10c00702a1800005014e1f..."} 
[2026-11-05 12:13:59] local.INFO: Processing buffer {"connection_id":230163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6efd78012d0b10c00702a1800005014e1f..."} 
[2026-11-05 12:13:59] local.INFO: Packet analysis {"connection_id":230163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6e"} 
[2026-11-05 12:13:59] local.INFO: Extracted packet for processing {"connection_id":230163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6e"} 
[2026-11-05 12:13:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228278272001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:13: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-05 12:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793860763000,"timestamp_ms":1793860763000,"timestamp_seconds":1793860763,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6efd78"} 
[2026-11-05 12: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-05 12:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12: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":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":230163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":230163,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":230163,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228278272001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228278272001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:13:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228278272001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":230163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62797,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:13:59] local.INFO: GPS data processed {"connection_id":230163,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:13:59] local.INFO: Acknowledgment sent {"connection_id":230163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:14:03] local.INFO: TCP Data received {"connection_id":233403,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:14:03] local.INFO: Processing buffer {"connection_id":233403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:14:03] local.INFO: IMEI packet received {"connection_id":233403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":233403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:14:09] local.INFO: TCP Data received {"connection_id":233403,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:14:09] local.INFO: Processing buffer {"connection_id":233403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:14:09] local.INFO: IMEI packet received {"connection_id":233403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":233403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:14:09] local.INFO: TCP Data received {"connection_id":233403,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6f1100012d7fad0005afe0480014004528..."} 
[2026-11-05 12:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6f1100012d7fad0005afe0480014004528..."} 
[2026-11-05 12:14:09] local.INFO: Processing buffer {"connection_id":233403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6f1100012d7fad0005afe0480014004528..."} 
[2026-11-05 12:14:09] local.INFO: Packet analysis {"connection_id":233403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6f"} 
[2026-11-05 12:14:09] local.INFO: Extracted packet for processing {"connection_id":233403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6f"} 
[2026-11-05 12:14:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":20,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228279808001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793860768000,"timestamp_ms":1793860768000,"timestamp_seconds":1793860768,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6f1100"} 
[2026-11-05 12:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 12:14:09] 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-05 12:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:14: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-05 12:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228279808001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228279808001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:14:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:14:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228279808001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":233403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:14:09] local.INFO: GPS data processed {"connection_id":233403,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:14:09] local.INFO: Acknowledgment sent {"connection_id":233403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:14:11] local.INFO: TCP Data received {"connection_id":233404,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233404,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:14:11] local.INFO: Processing buffer {"connection_id":233404,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:14:11] local.INFO: IMEI packet received {"connection_id":233404,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 12:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":233404,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:14:31] local.INFO: TCP Data received {"connection_id":230163,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:14:31] local.INFO: Processing buffer {"connection_id":230163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:14:31] local.INFO: Packet analysis {"connection_id":230163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:14:31] local.INFO: Extracted packet for processing {"connection_id":230163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:14:31] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228355328001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793861064000,"timestamp_ms":1793861064000,"timestamp_seconds":1793861064,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa739540"} 
[2026-11-05 12:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:14:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":230163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":230163,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":230163,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228355328001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228355328001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:14:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228355328001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":230163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62799,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:14:31] local.INFO: GPS data processed {"connection_id":230163,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:14:31] local.INFO: Acknowledgment sent {"connection_id":230163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:14:41] local.INFO: TCP Data received {"connection_id":233403,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa6f1100012d7fad0005afe0480014004528..."} 
[2026-11-05 12:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa6f1100012d7fad0005afe0480014004528..."} 
[2026-11-05 12:14:41] local.INFO: Processing buffer {"connection_id":233403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa6f1100012d7fad0005afe0480014004528..."} 
[2026-11-05 12:14:41] local.INFO: Packet analysis {"connection_id":233403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa6f"} 
[2026-11-05 12:14:41] local.INFO: Extracted packet for processing {"connection_id":233403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa6f"} 
[2026-11-05 12:14:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":20,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228279808001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793860768000,"timestamp_ms":1793860768000,"timestamp_seconds":1793860768,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa6f1100"} 
[2026-11-05 12:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 12:14:41] 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-05 12:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:14: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-05 12:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228279808001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228279808001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:14:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:14:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228279808001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":233403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:14:41] local.INFO: GPS data processed {"connection_id":233403,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:14:41] local.INFO: Acknowledgment sent {"connection_id":233403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:14:48] local.INFO: TCP Data received {"connection_id":230164,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230164,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:14:48] local.INFO: Processing buffer {"connection_id":230164,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:14:48] local.INFO: IMEI packet received {"connection_id":230164,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":230164,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:14:53] local.INFO: TCP Data received {"connection_id":230164,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230164,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:14:53] local.INFO: Processing buffer {"connection_id":230164,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:14:53] local.INFO: IMEI packet received {"connection_id":230164,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":230164,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:14:57] local.INFO: TCP Data received {"connection_id":230164,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:14:57] local.INFO: Processing buffer {"connection_id":230164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:14:57] local.INFO: Packet analysis {"connection_id":230164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:14:57] local.INFO: Extracted packet for processing {"connection_id":230164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:14:57] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228355328001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:14:57] 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-05 12:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1793861064000,"timestamp_ms":1793861064000,"timestamp_seconds":1793861064,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa739540"} 
[2026-11-05 12:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:14:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:14:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":230164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":230164,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":230164,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228355328001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228355328001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:14:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228355328001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":230164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62801,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:14:58] local.INFO: GPS data processed {"connection_id":230164,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:14:58] local.INFO: Acknowledgment sent {"connection_id":230164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:15:08] local.INFO: TCP Data received {"connection_id":231496,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:15:08] local.INFO: Processing buffer {"connection_id":231496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:15:08] local.INFO: IMEI packet received {"connection_id":231496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":231496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:15:08] local.INFO: TCP Data received {"connection_id":231496,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:15:08] local.INFO: Processing buffer {"connection_id":231496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:15:08] local.INFO: IMEI packet received {"connection_id":231496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":231496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:15:14] local.INFO: TCP Data received {"connection_id":231496,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:15:14] local.INFO: Processing buffer {"connection_id":231496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:15:14] local.INFO: IMEI packet received {"connection_id":231496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":231496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:15:15] local.INFO: TCP Data received {"connection_id":231496,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa73a8c8012d7fad0005afe048000a004529..."} 
[2026-11-05 12:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa73a8c8012d7fad0005afe048000a004529..."} 
[2026-11-05 12:15:15] local.INFO: Processing buffer {"connection_id":231496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa73a8c8012d7fad0005afe048000a004529..."} 
[2026-11-05 12:15:15] local.INFO: Packet analysis {"connection_id":231496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:15:15] local.INFO: Extracted packet for processing {"connection_id":231496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:15:15] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228356608001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793861069000,"timestamp_ms":1793861069000,"timestamp_seconds":1793861069,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa73a8c8"} 
[2026-11-05 12:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:15: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-05 12:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":231496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":231496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":231496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:15: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-05 12:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228356608001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228356608001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:15:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:15:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228356608001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":231496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:15:15] local.INFO: GPS data processed {"connection_id":231496,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:15:15] local.INFO: Acknowledgment sent {"connection_id":231496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:15:19] local.INFO: TCP Data received {"connection_id":231496,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa73a8c8012d7fad0005afe048000a004529..."} 
[2026-11-05 12:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa73a8c8012d7fad0005afe048000a004529..."} 
[2026-11-05 12:15:19] local.INFO: Processing buffer {"connection_id":231496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa73a8c8012d7fad0005afe048000a004529..."} 
[2026-11-05 12:15:19] local.INFO: Packet analysis {"connection_id":231496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:15:19] local.INFO: Extracted packet for processing {"connection_id":231496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:15:19] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228356608001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793861069000,"timestamp_ms":1793861069000,"timestamp_seconds":1793861069,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa73a8c8"} 
[2026-11-05 12: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-05 12:15: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-05 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:15: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-05 12: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-05 12: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-05 12:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":231496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":231496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":231496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:15: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-05 12:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228356608001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228356608001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:15:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:15:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228356608001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":231496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:15:19] local.INFO: GPS data processed {"connection_id":231496,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:15:19] local.INFO: Acknowledgment sent {"connection_id":231496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:15:29] local.INFO: TCP Data received {"connection_id":230164,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:15:29] local.INFO: Processing buffer {"connection_id":230164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:15:29] local.INFO: Packet analysis {"connection_id":230164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:15:29] local.INFO: Extracted packet for processing {"connection_id":230164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:15:29] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228355328001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:15:29] 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-05 12:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793861064000,"timestamp_ms":1793861064000,"timestamp_seconds":1793861064,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa739540"} 
[2026-11-05 12:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:15:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:15:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:15:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":230164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":230164,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":230164,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228355328001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228355328001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:15:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228355328001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":230164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62804,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:15:29] local.INFO: GPS data processed {"connection_id":230164,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:15:29] local.INFO: Acknowledgment sent {"connection_id":230164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:15:50] local.INFO: TCP Data received {"connection_id":230165,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230165,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:15:50] local.INFO: Processing buffer {"connection_id":230165,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:15:50] local.INFO: IMEI packet received {"connection_id":230165,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":230165,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:15:53] local.INFO: TCP Data received {"connection_id":230165,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230165,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:15:53] local.INFO: Processing buffer {"connection_id":230165,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:15:53] local.INFO: IMEI packet received {"connection_id":230165,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":230165,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:15:55] local.INFO: TCP Data received {"connection_id":230165,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:15:55] local.INFO: Processing buffer {"connection_id":230165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:15:55] local.INFO: Packet analysis {"connection_id":230165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:15:55] local.INFO: Extracted packet for processing {"connection_id":230165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:15:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228355328001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:15: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-05 12:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793861064000,"timestamp_ms":1793861064000,"timestamp_seconds":1793861064,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa739540"} 
[2026-11-05 12:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230165,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230165,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228355328001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228355328001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:15:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228355328001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":230165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62805,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:15:55] local.INFO: GPS data processed {"connection_id":230165,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:15:55] local.INFO: Acknowledgment sent {"connection_id":230165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:16:03] local.INFO: TCP Data received {"connection_id":229651,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:16:03] local.INFO: Processing buffer {"connection_id":229651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:16:03] local.INFO: IMEI packet received {"connection_id":229651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":229651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:16:09] local.INFO: TCP Data received {"connection_id":229651,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:16:09] local.INFO: Processing buffer {"connection_id":229651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:16:09] local.INFO: IMEI packet received {"connection_id":229651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":229651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:16:09] local.INFO: TCP Data received {"connection_id":229651,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa73a8c8012d7fad0005afe048000a004529..."} 
[2026-11-05 12:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa73a8c8012d7fad0005afe048000a004529..."} 
[2026-11-05 12:16:09] local.INFO: Processing buffer {"connection_id":229651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa73a8c8012d7fad0005afe048000a004529..."} 
[2026-11-05 12:16:09] local.INFO: Packet analysis {"connection_id":229651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:16:09] local.INFO: Extracted packet for processing {"connection_id":229651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:16:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228356608001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793861069000,"timestamp_ms":1793861069000,"timestamp_seconds":1793861069,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa73a8c8"} 
[2026-11-05 12:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:16: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-05 12:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:16: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-05 12:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228356608001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228356608001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:16:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:16:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228356608001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:16:09] 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":62806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:16:09] local.INFO: GPS data processed {"connection_id":229651,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:16:09] local.INFO: Acknowledgment sent {"connection_id":229651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:16:33] local.INFO: TCP Data received {"connection_id":230165,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:16:33] local.INFO: Processing buffer {"connection_id":230165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:16:33] local.INFO: Packet analysis {"connection_id":230165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:16:33] local.INFO: Extracted packet for processing {"connection_id":230165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:16:33] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228355328001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1793861064000,"timestamp_ms":1793861064000,"timestamp_seconds":1793861064,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa739540"} 
[2026-11-05 12:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":230165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":230165,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":230165,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228355328001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228355328001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:16:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228355328001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":230165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62807,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:16:34] local.INFO: GPS data processed {"connection_id":230165,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:16:34] local.INFO: Acknowledgment sent {"connection_id":230165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:16:41] local.INFO: TCP Data received {"connection_id":229651,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa73a8c8012d7fad0005afe048000a004529..."} 
[2026-11-05 12:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa73a8c8012d7fad0005afe048000a004529..."} 
[2026-11-05 12:16:41] local.INFO: Processing buffer {"connection_id":229651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa73a8c8012d7fad0005afe048000a004529..."} 
[2026-11-05 12:16:41] local.INFO: Packet analysis {"connection_id":229651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:16:41] local.INFO: Extracted packet for processing {"connection_id":229651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:16:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228356608001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793861069000,"timestamp_ms":1793861069000,"timestamp_seconds":1793861069,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa73a8c8"} 
[2026-11-05 12:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:16: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-05 12:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:16: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-05 12:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228356608001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228356608001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:16:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:16:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228356608001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:16:41] 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":62808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:16:41] local.INFO: GPS data processed {"connection_id":229651,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:16:41] local.INFO: Acknowledgment sent {"connection_id":229651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:16:53] local.INFO: TCP Data received {"connection_id":233405,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233405,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:16:53] local.INFO: Processing buffer {"connection_id":233405,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:16:53] local.INFO: IMEI packet received {"connection_id":233405,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":233405,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:16:59] local.INFO: TCP Data received {"connection_id":233405,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233405,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:16:59] local.INFO: Processing buffer {"connection_id":233405,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:16:59] local.INFO: IMEI packet received {"connection_id":233405,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":233405,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:17:00] local.INFO: TCP Data received {"connection_id":233405,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:17:00] local.INFO: Processing buffer {"connection_id":233405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:17:00] local.INFO: Packet analysis {"connection_id":233405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:17:00] local.INFO: Extracted packet for processing {"connection_id":233405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:17:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228355328001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:17: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-05 12:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793861064000,"timestamp_ms":1793861064000,"timestamp_seconds":1793861064,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa739540"} 
[2026-11-05 12:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":233405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":233405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":233405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228355328001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228355328001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:17:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228355328001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":233405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62809,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:17:00] local.INFO: GPS data processed {"connection_id":233405,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:17:00] local.INFO: Acknowledgment sent {"connection_id":233405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:17:03] local.INFO: TCP Data received {"connection_id":233406,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:17:03] local.INFO: Processing buffer {"connection_id":233406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:17:03] local.INFO: IMEI packet received {"connection_id":233406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":233406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:17:09] local.INFO: TCP Data received {"connection_id":233406,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:17:09] local.INFO: Processing buffer {"connection_id":233406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:17:09] local.INFO: IMEI packet received {"connection_id":233406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":233406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:17:10] local.INFO: TCP Data received {"connection_id":233406,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa73a8c8012d7fad0005afe048000a004529..."} 
[2026-11-05 12:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa73a8c8012d7fad0005afe048000a004529..."} 
[2026-11-05 12:17:10] local.INFO: Processing buffer {"connection_id":233406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa73a8c8012d7fad0005afe048000a004529..."} 
[2026-11-05 12:17:10] local.INFO: Packet analysis {"connection_id":233406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:17:10] local.INFO: Extracted packet for processing {"connection_id":233406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:17:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228356608001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793861069000,"timestamp_ms":1793861069000,"timestamp_seconds":1793861069,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa73a8c8"} 
[2026-11-05 12:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 12:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:17:10] 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-05 12:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228356608001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228356608001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:17:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:17:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228356608001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":233406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:17:10] local.INFO: GPS data processed {"connection_id":233406,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:17:10] local.INFO: Acknowledgment sent {"connection_id":233406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:17:31] local.INFO: TCP Data received {"connection_id":233405,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:17:31] local.INFO: Processing buffer {"connection_id":233405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:17:31] local.INFO: Packet analysis {"connection_id":233405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:17:31] local.INFO: Extracted packet for processing {"connection_id":233405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:17:31] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228355328001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793861064000,"timestamp_ms":1793861064000,"timestamp_seconds":1793861064,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa739540"} 
[2026-11-05 12:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:17:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":233405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":233405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":233405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228355328001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228355328001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:17:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228355328001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":233405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62811,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:17:31] local.INFO: GPS data processed {"connection_id":233405,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:17:31] local.INFO: Acknowledgment sent {"connection_id":233405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:17:41] local.INFO: TCP Data received {"connection_id":233406,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa73a8c8012d7fad0005afe048000a004529..."} 
[2026-11-05 12:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa73a8c8012d7fad0005afe048000a004529..."} 
[2026-11-05 12:17:41] local.INFO: Processing buffer {"connection_id":233406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa73a8c8012d7fad0005afe048000a004529..."} 
[2026-11-05 12:17:41] local.INFO: Packet analysis {"connection_id":233406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:17:41] local.INFO: Extracted packet for processing {"connection_id":233406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:17:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228356608001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793861069000,"timestamp_ms":1793861069000,"timestamp_seconds":1793861069,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa73a8c8"} 
[2026-11-05 12:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:17: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-05 12:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:17: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-05 12:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228356608001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228356608001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:17:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:17:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228356608001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":233406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:17:41] local.INFO: GPS data processed {"connection_id":233406,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:17:41] local.INFO: Acknowledgment sent {"connection_id":233406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:17:49] local.INFO: TCP Data received {"connection_id":230167,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230167,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:17:49] local.INFO: Processing buffer {"connection_id":230167,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:17:49] local.INFO: IMEI packet received {"connection_id":230167,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":230167,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:17:54] local.INFO: TCP Data received {"connection_id":230167,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230167,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:17:54] local.INFO: Processing buffer {"connection_id":230167,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:17:54] local.INFO: IMEI packet received {"connection_id":230167,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":230167,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:17:54] local.INFO: TCP Data received {"connection_id":230167,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:17:54] local.INFO: Processing buffer {"connection_id":230167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:17:54] local.INFO: Packet analysis {"connection_id":230167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:17:54] local.INFO: Extracted packet for processing {"connection_id":230167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:17:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228355328001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:17: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-05 12:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793861064000,"timestamp_ms":1793861064000,"timestamp_seconds":1793861064,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa739540"} 
[2026-11-05 12:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:17:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:17:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:17:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":230167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":230167,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":230167,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:17:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228355328001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228355328001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:17:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228355328001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":230167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62813,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:17:55] local.INFO: GPS data processed {"connection_id":230167,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:17:55] local.INFO: Acknowledgment sent {"connection_id":230167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:18:03] local.INFO: TCP Data received {"connection_id":230168,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:18:03] local.INFO: Processing buffer {"connection_id":230168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:18:03] local.INFO: IMEI packet received {"connection_id":230168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":230168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:18:09] local.INFO: TCP Data received {"connection_id":230168,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:18:09] local.INFO: Processing buffer {"connection_id":230168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:18:09] local.INFO: IMEI packet received {"connection_id":230168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":230168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:18:09] local.INFO: TCP Data received {"connection_id":230168,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa73a8c8012d7fad0005afe048000a004529..."} 
[2026-11-05 12:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa73a8c8012d7fad0005afe048000a004529..."} 
[2026-11-05 12:18:09] local.INFO: Processing buffer {"connection_id":230168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa73a8c8012d7fad0005afe048000a004529..."} 
[2026-11-05 12:18:09] local.INFO: Packet analysis {"connection_id":230168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:18:09] local.INFO: Extracted packet for processing {"connection_id":230168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:18:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:18: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-05 12:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228356608001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793861069000,"timestamp_ms":1793861069000,"timestamp_seconds":1793861069,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa73a8c8"} 
[2026-11-05 12:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:18: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-05 12:18: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":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:18: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-05 12:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:18:09] 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-05 12:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228356608001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228356608001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:18:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:18:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228356608001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":230168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:18:09] local.INFO: GPS data processed {"connection_id":230168,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:18:09] local.INFO: Acknowledgment sent {"connection_id":230168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:18:27] local.INFO: TCP Data received {"connection_id":230167,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:18:27] local.INFO: Processing buffer {"connection_id":230167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:18:27] local.INFO: Packet analysis {"connection_id":230167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:18:27] local.INFO: Extracted packet for processing {"connection_id":230167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:18:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228355328001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:18:27] 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-05 12:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793861064000,"timestamp_ms":1793861064000,"timestamp_seconds":1793861064,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa739540"} 
[2026-11-05 12:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":230167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":230167,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":230167,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228355328001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228355328001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:18:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228355328001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":230167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62815,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:18:28] local.INFO: GPS data processed {"connection_id":230167,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:18:28] local.INFO: Acknowledgment sent {"connection_id":230167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:18:41] local.INFO: TCP Data received {"connection_id":230168,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa73a8c8012d7fad0005afe048000a004529..."} 
[2026-11-05 12:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa73a8c8012d7fad0005afe048000a004529..."} 
[2026-11-05 12:18:41] local.INFO: Processing buffer {"connection_id":230168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa73a8c8012d7fad0005afe048000a004529..."} 
[2026-11-05 12:18:41] local.INFO: Packet analysis {"connection_id":230168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:18:41] local.INFO: Extracted packet for processing {"connection_id":230168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:18:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228356608001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793861069000,"timestamp_ms":1793861069000,"timestamp_seconds":1793861069,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa73a8c8"} 
[2026-11-05 12: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-05 12:18: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-05 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:18: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-05 12:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228356608001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228356608001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:18:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:18:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228356608001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":230168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:18:41] local.INFO: GPS data processed {"connection_id":230168,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:18:41] local.INFO: Acknowledgment sent {"connection_id":230168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:18:48] local.INFO: TCP Data received {"connection_id":229653,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229653,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:18:48] local.INFO: Processing buffer {"connection_id":229653,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:18:48] local.INFO: IMEI packet received {"connection_id":229653,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":229653,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:18:54] local.INFO: TCP Data received {"connection_id":229653,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229653,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:18:54] local.INFO: Processing buffer {"connection_id":229653,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:18:54] local.INFO: IMEI packet received {"connection_id":229653,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":229653,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:18:54] local.INFO: TCP Data received {"connection_id":229653,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:18:54] local.INFO: Processing buffer {"connection_id":229653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:18:54] local.INFO: Packet analysis {"connection_id":229653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:18:54] local.INFO: Extracted packet for processing {"connection_id":229653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:18:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228355328001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:18: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-05 12:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793861064000,"timestamp_ms":1793861064000,"timestamp_seconds":1793861064,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa739540"} 
[2026-11-05 12: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-05 12:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":229653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":229653,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":229653,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228355328001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228355328001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:18:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228355328001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:18:55] 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":62817,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:18:55] local.INFO: GPS data processed {"connection_id":229653,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:18:55] local.INFO: Acknowledgment sent {"connection_id":229653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:19:03] local.INFO: TCP Data received {"connection_id":233407,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:19:03] local.INFO: Processing buffer {"connection_id":233407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:19:03] local.INFO: IMEI packet received {"connection_id":233407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":233407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:19:09] local.INFO: TCP Data received {"connection_id":233407,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:19:09] local.INFO: Processing buffer {"connection_id":233407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:19:09] local.INFO: IMEI packet received {"connection_id":233407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":233407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:19:09] local.INFO: TCP Data received {"connection_id":233407,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa73a8c8012d7fad0005afe048000a004529..."} 
[2026-11-05 12:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa73a8c8012d7fad0005afe048000a004529..."} 
[2026-11-05 12:19:09] local.INFO: Processing buffer {"connection_id":233407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa73a8c8012d7fad0005afe048000a004529..."} 
[2026-11-05 12:19:09] local.INFO: Packet analysis {"connection_id":233407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:19:09] local.INFO: Extracted packet for processing {"connection_id":233407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:19:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228356608001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793861069000,"timestamp_ms":1793861069000,"timestamp_seconds":1793861069,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa73a8c8"} 
[2026-11-05 12:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:19: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-05 12:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:19: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-05 12:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228356608001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228356608001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:19:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:19:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228356608001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":233407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:19:09] local.INFO: GPS data processed {"connection_id":233407,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:19:09] local.INFO: Acknowledgment sent {"connection_id":233407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:19:26] local.INFO: TCP Data received {"connection_id":229653,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:19:26] local.INFO: Processing buffer {"connection_id":229653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa739540012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:19:26] local.INFO: Packet analysis {"connection_id":229653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:19:26] local.INFO: Extracted packet for processing {"connection_id":229653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:19:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228355328001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:19: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-05 12:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793861064000,"timestamp_ms":1793861064000,"timestamp_seconds":1793861064,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa739540"} 
[2026-11-05 12:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229653,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229653,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228355328001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228355328001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:19:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228355328001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:19:26] 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":62819,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:19:26] local.INFO: GPS data processed {"connection_id":229653,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:19:26] local.INFO: Acknowledgment sent {"connection_id":229653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:19:41] local.INFO: TCP Data received {"connection_id":233407,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa73a8c8012d7fad0005afe048000a004529..."} 
[2026-11-05 12:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa73a8c8012d7fad0005afe048000a004529..."} 
[2026-11-05 12:19:41] local.INFO: Processing buffer {"connection_id":233407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa73a8c8012d7fad0005afe048000a004529..."} 
[2026-11-05 12:19:41] local.INFO: Packet analysis {"connection_id":233407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:19:41] local.INFO: Extracted packet for processing {"connection_id":233407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa73"} 
[2026-11-05 12:19:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228356608001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793861069000,"timestamp_ms":1793861069000,"timestamp_seconds":1793861069,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa73a8c8"} 
[2026-11-05 12:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:19: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-05 12:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:19: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-05 12:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228356608001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228356608001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:19:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:19:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228356608001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":233407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:19:41] local.INFO: GPS data processed {"connection_id":233407,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:19:41] local.INFO: Acknowledgment sent {"connection_id":233407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:19:48] local.INFO: TCP Data received {"connection_id":229654,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229654,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:19:48] local.INFO: Processing buffer {"connection_id":229654,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:19:48] local.INFO: IMEI packet received {"connection_id":229654,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":229654,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:19:54] local.INFO: TCP Data received {"connection_id":229654,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229654,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:19:54] local.INFO: Processing buffer {"connection_id":229654,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:19:54] local.INFO: IMEI packet received {"connection_id":229654,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":229654,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:19:55] local.INFO: TCP Data received {"connection_id":229654,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:19:55] local.INFO: Processing buffer {"connection_id":229654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:19:55] local.INFO: Packet analysis {"connection_id":229654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:19:55] local.INFO: Extracted packet for processing {"connection_id":229654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:19:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228432384001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:19: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-05 12:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793861365000,"timestamp_ms":1793861365000,"timestamp_seconds":1793861365,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa782d08"} 
[2026-11-05 12:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228432384001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228432384001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:19:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228432384001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":229654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62821,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:19:55] local.INFO: GPS data processed {"connection_id":229654,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:19:55] local.INFO: Acknowledgment sent {"connection_id":229654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:20:09] local.INFO: TCP Data received {"connection_id":231498,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:20:09] local.INFO: Processing buffer {"connection_id":231498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:20:09] local.INFO: IMEI packet received {"connection_id":231498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":231498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:20:09] local.INFO: TCP Data received {"connection_id":231498,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:20:09] local.INFO: Processing buffer {"connection_id":231498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:20:09] local.INFO: IMEI packet received {"connection_id":231498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":231498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:20:12] local.INFO: TCP Data received {"connection_id":230170,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230170,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:20:12] local.INFO: Processing buffer {"connection_id":230170,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:20:12] local.INFO: IMEI packet received {"connection_id":230170,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 12:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":230170,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:20:14] local.INFO: TCP Data received {"connection_id":231498,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:20:14] local.INFO: Processing buffer {"connection_id":231498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:20:14] local.INFO: IMEI packet received {"connection_id":231498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":231498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:20:14] local.INFO: TCP Data received {"connection_id":231498,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:20:14] local.INFO: Processing buffer {"connection_id":231498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:20:14] local.INFO: Packet analysis {"connection_id":231498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:20:14] local.INFO: Extracted packet for processing {"connection_id":231498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:20:14] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":16,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228433664001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793861370000,"timestamp_ms":1793861370000,"timestamp_seconds":1793861370,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa784090"} 
[2026-11-05 12:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":231498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":231498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":231498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:20: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-05 12:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228433664001,"66":25430,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228433664001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:20:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:20:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228433664001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":231498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:20:14] local.INFO: GPS data processed {"connection_id":231498,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:20:14] local.INFO: Acknowledgment sent {"connection_id":231498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:20:19] local.INFO: TCP Data received {"connection_id":231498,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:20:19] local.INFO: Processing buffer {"connection_id":231498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:20:19] local.INFO: Packet analysis {"connection_id":231498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:20:19] local.INFO: Extracted packet for processing {"connection_id":231498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:20:19] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":16,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228433664001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793861370000,"timestamp_ms":1793861370000,"timestamp_seconds":1793861370,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa784090"} 
[2026-11-05 12:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:20: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-05 12:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:20: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-05 12:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":231498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":231498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":231498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:20: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-05 12:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228433664001,"66":25430,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228433664001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:20:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:20:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228433664001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":231498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:20:19] local.INFO: GPS data processed {"connection_id":231498,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:20:19] local.INFO: Acknowledgment sent {"connection_id":231498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:20:26] local.INFO: TCP Data received {"connection_id":229654,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:20:26] local.INFO: Processing buffer {"connection_id":229654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:20:26] local.INFO: Packet analysis {"connection_id":229654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:20:26] local.INFO: Extracted packet for processing {"connection_id":229654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:20:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228432384001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:20: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-05 12:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793861365000,"timestamp_ms":1793861365000,"timestamp_seconds":1793861365,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa782d08"} 
[2026-11-05 12: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-05 12:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12: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":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228432384001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228432384001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:20:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228432384001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":229654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62824,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:20:26] local.INFO: GPS data processed {"connection_id":229654,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:20:26] local.INFO: Acknowledgment sent {"connection_id":229654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:20:48] local.INFO: TCP Data received {"connection_id":230171,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230171,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:20:48] local.INFO: Processing buffer {"connection_id":230171,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:20:48] local.INFO: IMEI packet received {"connection_id":230171,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":230171,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:20:54] local.INFO: TCP Data received {"connection_id":230171,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230171,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:20:54] local.INFO: Processing buffer {"connection_id":230171,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:20:54] local.INFO: IMEI packet received {"connection_id":230171,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":230171,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:20:54] local.INFO: TCP Data received {"connection_id":230171,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:20:54] local.INFO: Processing buffer {"connection_id":230171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:20:54] local.INFO: Packet analysis {"connection_id":230171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:20:54] local.INFO: Extracted packet for processing {"connection_id":230171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:20:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228432384001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:20: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-05 12:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793861365000,"timestamp_ms":1793861365000,"timestamp_seconds":1793861365,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa782d08"} 
[2026-11-05 12: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-05 12:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":230171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":230171,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":230171,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228432384001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228432384001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:20:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228432384001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":230171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62825,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:20:55] local.INFO: GPS data processed {"connection_id":230171,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:20:55] local.INFO: Acknowledgment sent {"connection_id":230171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:21:03] local.INFO: TCP Data received {"connection_id":231499,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:21:03] local.INFO: Processing buffer {"connection_id":231499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:21:03] local.INFO: IMEI packet received {"connection_id":231499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":231499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:21:09] local.INFO: TCP Data received {"connection_id":231499,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:21:09] local.INFO: Processing buffer {"connection_id":231499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:21:09] local.INFO: IMEI packet received {"connection_id":231499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":231499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:21:09] local.INFO: TCP Data received {"connection_id":231499,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:21:09] local.INFO: Processing buffer {"connection_id":231499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:21:09] local.INFO: Packet analysis {"connection_id":231499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:21:09] local.INFO: Extracted packet for processing {"connection_id":231499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:21:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":16,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228433664001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793861370000,"timestamp_ms":1793861370000,"timestamp_seconds":1793861370,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa784090"} 
[2026-11-05 12:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:21: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-05 12:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:21:09] 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-05 12:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228433664001,"66":25430,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228433664001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:21:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:21:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228433664001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":231499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:21:09] local.INFO: GPS data processed {"connection_id":231499,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:21:09] local.INFO: Acknowledgment sent {"connection_id":231499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:21:26] local.INFO: TCP Data received {"connection_id":230171,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:21:26] local.INFO: Processing buffer {"connection_id":230171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:21:26] local.INFO: Packet analysis {"connection_id":230171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:21:26] local.INFO: Extracted packet for processing {"connection_id":230171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:21:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228432384001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:21: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-05 12:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793861365000,"timestamp_ms":1793861365000,"timestamp_seconds":1793861365,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa782d08"} 
[2026-11-05 12: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-05 12:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230171,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230171,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228432384001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228432384001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:21:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228432384001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":230171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62827,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:21:26] local.INFO: GPS data processed {"connection_id":230171,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:21:26] local.INFO: Acknowledgment sent {"connection_id":230171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:21:41] local.INFO: TCP Data received {"connection_id":231499,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:21:41] local.INFO: Processing buffer {"connection_id":231499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:21:41] local.INFO: Packet analysis {"connection_id":231499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:21:41] local.INFO: Extracted packet for processing {"connection_id":231499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:21:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":16,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228433664001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793861370000,"timestamp_ms":1793861370000,"timestamp_seconds":1793861370,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa784090"} 
[2026-11-05 12: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-05 12:21: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-05 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:21: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-05 12:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228433664001,"66":25430,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228433664001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:21:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228433664001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":231499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:21:41] local.INFO: GPS data processed {"connection_id":231499,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:21:41] local.INFO: Acknowledgment sent {"connection_id":231499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:21:54] local.INFO: TCP Data received {"connection_id":233408,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233408,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:21:54] local.INFO: Processing buffer {"connection_id":233408,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:21:54] local.INFO: IMEI packet received {"connection_id":233408,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":233408,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:21:58] local.INFO: TCP Data received {"connection_id":233408,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233408,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:21:58] local.INFO: Processing buffer {"connection_id":233408,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:21:58] local.INFO: IMEI packet received {"connection_id":233408,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":233408,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:22:03] local.INFO: TCP Data received {"connection_id":229656,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:22:03] local.INFO: Processing buffer {"connection_id":229656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:22:03] local.INFO: IMEI packet received {"connection_id":229656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":229656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:22:04] local.INFO: TCP Data received {"connection_id":233408,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:22:04] local.INFO: Processing buffer {"connection_id":233408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:22:04] local.INFO: Packet analysis {"connection_id":233408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:22:04] local.INFO: Extracted packet for processing {"connection_id":233408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:22:04] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228432384001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793861365000,"timestamp_ms":1793861365000,"timestamp_seconds":1793861365,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa782d08"} 
[2026-11-05 12:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":233408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":233408,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":233408,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228432384001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228432384001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:22:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228432384001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":233408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62829,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:22:04] local.INFO: GPS data processed {"connection_id":233408,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:22:04] local.INFO: Acknowledgment sent {"connection_id":233408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:22:09] local.INFO: TCP Data received {"connection_id":229656,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:22:09] local.INFO: Processing buffer {"connection_id":229656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:22:09] local.INFO: IMEI packet received {"connection_id":229656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":229656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:22:09] local.INFO: TCP Data received {"connection_id":229656,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:22:09] local.INFO: Processing buffer {"connection_id":229656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:22:09] local.INFO: Packet analysis {"connection_id":229656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:22:09] local.INFO: Extracted packet for processing {"connection_id":229656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:22:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":16,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228433664001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793861370000,"timestamp_ms":1793861370000,"timestamp_seconds":1793861370,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa784090"} 
[2026-11-05 12:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:22: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-05 12:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:22: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-05 12:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228433664001,"66":25430,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228433664001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:22:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:22:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228433664001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":229656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:22:09] local.INFO: GPS data processed {"connection_id":229656,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:22:09] local.INFO: Acknowledgment sent {"connection_id":229656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:22:10] local.INFO: TCP Data received {"connection_id":233408,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:22:10] local.INFO: Processing buffer {"connection_id":233408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:22:10] local.INFO: Packet analysis {"connection_id":233408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:22:10] local.INFO: Extracted packet for processing {"connection_id":233408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:22:10] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228432384001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:22:10] 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-05 12:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793861365000,"timestamp_ms":1793861365000,"timestamp_seconds":1793861365,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa782d08"} 
[2026-11-05 12: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-05 12:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233408,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233408,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228432384001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228432384001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:22:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228432384001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":233408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62831,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:22:10] local.INFO: GPS data processed {"connection_id":233408,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:22:10] local.INFO: Acknowledgment sent {"connection_id":233408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:22:41] local.INFO: TCP Data received {"connection_id":229656,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:22:41] local.INFO: Processing buffer {"connection_id":229656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:22:41] local.INFO: Packet analysis {"connection_id":229656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:22:41] local.INFO: Extracted packet for processing {"connection_id":229656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:22:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":16,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228433664001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793861370000,"timestamp_ms":1793861370000,"timestamp_seconds":1793861370,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa784090"} 
[2026-11-05 12: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-05 12:22: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-05 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:22: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-05 12:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228433664001,"66":25430,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228433664001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:22:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228433664001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":229656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:22:42] local.INFO: GPS data processed {"connection_id":229656,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:22:42] local.INFO: Acknowledgment sent {"connection_id":229656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:22:49] local.INFO: TCP Data received {"connection_id":233410,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233410,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:22:49] local.INFO: Processing buffer {"connection_id":233410,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:22:49] local.INFO: IMEI packet received {"connection_id":233410,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":233410,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:22:57] local.INFO: TCP Data received {"connection_id":233410,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233410,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:22:57] local.INFO: Processing buffer {"connection_id":233410,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:22:57] local.INFO: IMEI packet received {"connection_id":233410,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":233410,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:22:57] local.INFO: TCP Data received {"connection_id":233410,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:22:57] local.INFO: Processing buffer {"connection_id":233410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:22:57] local.INFO: Packet analysis {"connection_id":233410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:22:57] local.INFO: Extracted packet for processing {"connection_id":233410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:22:57] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228432384001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:22:57] 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-05 12:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1793861365000,"timestamp_ms":1793861365000,"timestamp_seconds":1793861365,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa782d08"} 
[2026-11-05 12:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:22:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:22:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":233410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":233410,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":233410,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228432384001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228432384001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:22:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228432384001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":233410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62833,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:22:57] local.INFO: GPS data processed {"connection_id":233410,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:22:57] local.INFO: Acknowledgment sent {"connection_id":233410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:23:02] local.INFO: TCP Data received {"connection_id":233410,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:23:02] local.INFO: Processing buffer {"connection_id":233410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:23:02] local.INFO: Packet analysis {"connection_id":233410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:23:02] local.INFO: Extracted packet for processing {"connection_id":233410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:23:02] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228432384001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1793861365000,"timestamp_ms":1793861365000,"timestamp_seconds":1793861365,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa782d08"} 
[2026-11-05 12:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":233410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":233410,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":233410,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228432384001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228432384001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:23:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228432384001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":233410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62834,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:23:02] local.INFO: GPS data processed {"connection_id":233410,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:23:02] local.INFO: Acknowledgment sent {"connection_id":233410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:23:03] local.INFO: TCP Data received {"connection_id":230172,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:23:03] local.INFO: Processing buffer {"connection_id":230172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:23:03] local.INFO: IMEI packet received {"connection_id":230172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":230172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:23:09] local.INFO: TCP Data received {"connection_id":230172,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:23:09] local.INFO: Processing buffer {"connection_id":230172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:23:09] local.INFO: IMEI packet received {"connection_id":230172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":230172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:23:10] local.INFO: TCP Data received {"connection_id":230172,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:23:10] local.INFO: Processing buffer {"connection_id":230172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:23:10] local.INFO: Packet analysis {"connection_id":230172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:23:10] local.INFO: Extracted packet for processing {"connection_id":230172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:23:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":16,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228433664001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793861370000,"timestamp_ms":1793861370000,"timestamp_seconds":1793861370,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa784090"} 
[2026-11-05 12:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 12:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:23:10] 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-05 12:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228433664001,"66":25430,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228433664001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:23:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:23:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228433664001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":230172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:23:10] local.INFO: GPS data processed {"connection_id":230172,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:23:10] local.INFO: Acknowledgment sent {"connection_id":230172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:23:33] local.INFO: TCP Data received {"connection_id":233410,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:23:33] local.INFO: Processing buffer {"connection_id":233410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:23:33] local.INFO: Packet analysis {"connection_id":233410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:23:33] local.INFO: Extracted packet for processing {"connection_id":233410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:23:33] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228432384001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1793861365000,"timestamp_ms":1793861365000,"timestamp_seconds":1793861365,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa782d08"} 
[2026-11-05 12:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":233410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":233410,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":233410,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228432384001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228432384001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:23:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228432384001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":233410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62836,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:23:33] local.INFO: GPS data processed {"connection_id":233410,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:23:33] local.INFO: Acknowledgment sent {"connection_id":233410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:23:41] local.INFO: TCP Data received {"connection_id":230172,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:23:41] local.INFO: Processing buffer {"connection_id":230172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:23:41] local.INFO: Packet analysis {"connection_id":230172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:23:41] local.INFO: Extracted packet for processing {"connection_id":230172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:23:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":16,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228433664001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793861370000,"timestamp_ms":1793861370000,"timestamp_seconds":1793861370,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa784090"} 
[2026-11-05 12:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:23: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-05 12:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:23:41] 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-05 12:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228433664001,"66":25430,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228433664001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:23:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:23:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228433664001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":230172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:23:41] local.INFO: GPS data processed {"connection_id":230172,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:23:41] local.INFO: Acknowledgment sent {"connection_id":230172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:23:48] local.INFO: TCP Data received {"connection_id":229658,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229658,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:23:48] local.INFO: Processing buffer {"connection_id":229658,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:23:48] local.INFO: IMEI packet received {"connection_id":229658,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":229658,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:23:53] local.INFO: TCP Data received {"connection_id":229658,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229658,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:23:53] local.INFO: Processing buffer {"connection_id":229658,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:23:53] local.INFO: IMEI packet received {"connection_id":229658,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":229658,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:23:54] local.INFO: TCP Data received {"connection_id":229658,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:23:54] local.INFO: Processing buffer {"connection_id":229658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:23:54] local.INFO: Packet analysis {"connection_id":229658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:23:54] local.INFO: Extracted packet for processing {"connection_id":229658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:23:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228432384001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:23: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-05 12:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793861365000,"timestamp_ms":1793861365000,"timestamp_seconds":1793861365,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa782d08"} 
[2026-11-05 12: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-05 12:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12: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":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:23:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":229658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":229658,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":229658,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228432384001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228432384001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:23:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228432384001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":229658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62838,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:23:55] local.INFO: GPS data processed {"connection_id":229658,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:23:55] local.INFO: Acknowledgment sent {"connection_id":229658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:24:09] local.INFO: TCP Data received {"connection_id":230173,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:24:09] local.INFO: Processing buffer {"connection_id":230173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:24:09] local.INFO: IMEI packet received {"connection_id":230173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":230173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:24:14] local.INFO: TCP Data received {"connection_id":230173,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:24:14] local.INFO: Processing buffer {"connection_id":230173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:24:14] local.INFO: IMEI packet received {"connection_id":230173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":230173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:24:14] local.INFO: TCP Data received {"connection_id":230173,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:24:14] local.INFO: Processing buffer {"connection_id":230173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:24:14] local.INFO: Packet analysis {"connection_id":230173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:24:14] local.INFO: Extracted packet for processing {"connection_id":230173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:24:14] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":16,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228433664001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793861370000,"timestamp_ms":1793861370000,"timestamp_seconds":1793861370,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa784090"} 
[2026-11-05 12:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:24: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-05 12:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228433664001,"66":25430,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228433664001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:24:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:24:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228433664001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":230173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:24:14] local.INFO: GPS data processed {"connection_id":230173,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:24:14] local.INFO: Acknowledgment sent {"connection_id":230173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:24:19] local.INFO: TCP Data received {"connection_id":230173,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:24:19] local.INFO: Processing buffer {"connection_id":230173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:24:19] local.INFO: Packet analysis {"connection_id":230173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:24:19] local.INFO: Extracted packet for processing {"connection_id":230173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:24:19] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":16,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228433664001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793861370000,"timestamp_ms":1793861370000,"timestamp_seconds":1793861370,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa784090"} 
[2026-11-05 12: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-05 12:24: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-05 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:24: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-05 12: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-05 12: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-05 12:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:24: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-05 12:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228433664001,"66":25430,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228433664001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:24:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:24:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228433664001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":230173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:24:19] local.INFO: GPS data processed {"connection_id":230173,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:24:19] local.INFO: Acknowledgment sent {"connection_id":230173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:24:26] local.INFO: TCP Data received {"connection_id":229658,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:24:26] local.INFO: Processing buffer {"connection_id":229658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa782d08012d0b10c00702a1800005014e20..."} 
[2026-11-05 12:24:26] local.INFO: Packet analysis {"connection_id":229658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:24:26] local.INFO: Extracted packet for processing {"connection_id":229658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:24:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228432384001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:24: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-05 12:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793861365000,"timestamp_ms":1793861365000,"timestamp_seconds":1793861365,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa782d08"} 
[2026-11-05 12:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 12:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229658,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229658,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228432384001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228432384001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:24:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228432384001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":229658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62841,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:24:26] local.INFO: GPS data processed {"connection_id":229658,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:24:26] local.INFO: Acknowledgment sent {"connection_id":229658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:24:48] local.INFO: TCP Data received {"connection_id":233411,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233411,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:24:48] local.INFO: Processing buffer {"connection_id":233411,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:24:48] local.INFO: IMEI packet received {"connection_id":233411,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":233411,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:24:54] local.INFO: TCP Data received {"connection_id":233411,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233411,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:24:54] local.INFO: Processing buffer {"connection_id":233411,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:24:54] local.INFO: IMEI packet received {"connection_id":233411,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":233411,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:24:55] local.INFO: TCP Data received {"connection_id":233411,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 12:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 12:24:55] local.INFO: Processing buffer {"connection_id":233411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 12:24:55] local.INFO: Packet analysis {"connection_id":233411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:24:55] local.INFO: Extracted packet for processing {"connection_id":233411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:24:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228509440001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:24: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-05 12:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793861666000,"timestamp_ms":1793861666000,"timestamp_seconds":1793861666,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa7cc4d0"} 
[2026-11-05 12:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 12:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228509440001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228509440001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:24:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228509440001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":233411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62842,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:24:55] local.INFO: GPS data processed {"connection_id":233411,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:24:55] local.INFO: Acknowledgment sent {"connection_id":233411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:25:04] local.INFO: TCP Data received {"connection_id":231501,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:25:04] local.INFO: Processing buffer {"connection_id":231501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:25:04] local.INFO: IMEI packet received {"connection_id":231501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":231501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:25:09] local.INFO: TCP Data received {"connection_id":231501,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:25:09] local.INFO: Processing buffer {"connection_id":231501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:25:09] local.INFO: IMEI packet received {"connection_id":231501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":231501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:25:09] local.INFO: TCP Data received {"connection_id":231501,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:25:09] local.INFO: Processing buffer {"connection_id":231501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa784090012d7fad0005afe0480010004528..."} 
[2026-11-05 12:25:09] local.INFO: Packet analysis {"connection_id":231501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:25:09] local.INFO: Extracted packet for processing {"connection_id":231501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa78"} 
[2026-11-05 12:25:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":16,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228433664001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793861370000,"timestamp_ms":1793861370000,"timestamp_seconds":1793861370,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa784090"} 
[2026-11-05 12:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:25: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-05 12:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:25:09] 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-05 12:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228433664001,"66":25430,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228433664001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:25:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:25:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228433664001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":231501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:25:09] local.INFO: GPS data processed {"connection_id":231501,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:25:09] local.INFO: Acknowledgment sent {"connection_id":231501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:25:26] local.INFO: TCP Data received {"connection_id":233411,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 12:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 12:25:26] local.INFO: Processing buffer {"connection_id":233411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 12:25:26] local.INFO: Packet analysis {"connection_id":233411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:25:26] local.INFO: Extracted packet for processing {"connection_id":233411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:25:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228509440001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:25: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-05 12:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793861666000,"timestamp_ms":1793861666000,"timestamp_seconds":1793861666,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa7cc4d0"} 
[2026-11-05 12:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 12:25:26] 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-05 12:25:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228509440001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228509440001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:25:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228509440001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":233411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62844,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:25:26] local.INFO: GPS data processed {"connection_id":233411,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:25:26] local.INFO: Acknowledgment sent {"connection_id":233411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:25:41] local.INFO: TCP Data received {"connection_id":231501,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa7cd858012d7fad0005afe048000700452b..."} 
[2026-11-05 12:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa7cd858012d7fad0005afe048000700452b..."} 
[2026-11-05 12:25:41] local.INFO: Processing buffer {"connection_id":231501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa7cd858012d7fad0005afe048000700452b..."} 
[2026-11-05 12:25:41] local.INFO: Packet analysis {"connection_id":231501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:25:41] local.INFO: Extracted packet for processing {"connection_id":231501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:25:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":7,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228510720001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793861671000,"timestamp_ms":1793861671000,"timestamp_seconds":1793861671,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa7cd858"} 
[2026-11-05 12: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-05 12:25: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-05 12:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 12:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:25: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-05 12:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228510720001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228510720001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:25:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:25:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228510720001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":231501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:25:41] local.INFO: GPS data processed {"connection_id":231501,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:25:41] local.INFO: Acknowledgment sent {"connection_id":231501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:25:46] local.INFO: TCP Data received {"connection_id":229659,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229659,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:25:46] local.INFO: Processing buffer {"connection_id":229659,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:25:46] local.INFO: IMEI packet received {"connection_id":229659,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 12:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":229659,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:25:48] local.INFO: TCP Data received {"connection_id":233412,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233412,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:25:49] local.INFO: Processing buffer {"connection_id":233412,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:25:49] local.INFO: IMEI packet received {"connection_id":233412,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":233412,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:25:53] local.INFO: TCP Data received {"connection_id":233412,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233412,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:25:53] local.INFO: Processing buffer {"connection_id":233412,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:25:53] local.INFO: IMEI packet received {"connection_id":233412,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":233412,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:25:54] local.INFO: TCP Data received {"connection_id":233412,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 12:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 12:25:54] local.INFO: Processing buffer {"connection_id":233412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 12:25:54] local.INFO: Packet analysis {"connection_id":233412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:25:54] local.INFO: Extracted packet for processing {"connection_id":233412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:25:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228509440001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:25: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-05 12:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793861666000,"timestamp_ms":1793861666000,"timestamp_seconds":1793861666,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa7cc4d0"} 
[2026-11-05 12:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 12:25: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-05 12:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":233412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":233412,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":233412,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228509440001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228509440001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:25:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228509440001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":233412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62846,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:25:55] local.INFO: GPS data processed {"connection_id":233412,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:25:55] local.INFO: Acknowledgment sent {"connection_id":233412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:26:03] local.INFO: TCP Data received {"connection_id":233413,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:26:03] local.INFO: Processing buffer {"connection_id":233413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:26:03] local.INFO: IMEI packet received {"connection_id":233413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":233413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:26:07] local.INFO: TCP Data received {"connection_id":231502,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231502,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:26:07] local.INFO: Processing buffer {"connection_id":231502,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:26:07] local.INFO: IMEI packet received {"connection_id":231502,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 12:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":231502,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:26:09] local.INFO: TCP Data received {"connection_id":233413,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:26:09] local.INFO: Processing buffer {"connection_id":233413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:26:09] local.INFO: IMEI packet received {"connection_id":233413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":233413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:26:09] local.INFO: TCP Data received {"connection_id":233413,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa7cd858012d7fad0005afe048000700452b..."} 
[2026-11-05 12:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa7cd858012d7fad0005afe048000700452b..."} 
[2026-11-05 12:26:09] local.INFO: Processing buffer {"connection_id":233413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa7cd858012d7fad0005afe048000700452b..."} 
[2026-11-05 12:26:09] local.INFO: Packet analysis {"connection_id":233413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:26:09] local.INFO: Extracted packet for processing {"connection_id":233413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:26:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":7,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228510720001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793861671000,"timestamp_ms":1793861671000,"timestamp_seconds":1793861671,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa7cd858"} 
[2026-11-05 12:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 12:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 12:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:26:09] 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-05 12:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228510720001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228510720001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:26:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:26:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228510720001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":233413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:26:09] local.INFO: GPS data processed {"connection_id":233413,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:26:09] local.INFO: Acknowledgment sent {"connection_id":233413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:26:26] local.INFO: TCP Data received {"connection_id":233412,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 12:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 12:26:26] local.INFO: Processing buffer {"connection_id":233412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 12:26:26] local.INFO: Packet analysis {"connection_id":233412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:26:26] local.INFO: Extracted packet for processing {"connection_id":233412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:26:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228509440001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:26: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-05 12:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793861666000,"timestamp_ms":1793861666000,"timestamp_seconds":1793861666,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa7cc4d0"} 
[2026-11-05 12:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 12:26:26] 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-05 12:26:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233412,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233412,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228509440001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228509440001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:26:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228509440001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":233412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62848,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:26:26] local.INFO: GPS data processed {"connection_id":233412,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:26:26] local.INFO: Acknowledgment sent {"connection_id":233412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:26:40] local.INFO: TCP Data received {"connection_id":233413,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa7cd858012d7fad0005afe048000700452b..."} 
[2026-11-05 12:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa7cd858012d7fad0005afe048000700452b..."} 
[2026-11-05 12:26:40] local.INFO: Processing buffer {"connection_id":233413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa7cd858012d7fad0005afe048000700452b..."} 
[2026-11-05 12:26:40] local.INFO: Packet analysis {"connection_id":233413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:26:40] local.INFO: Extracted packet for processing {"connection_id":233413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:26:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":7,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228510720001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793861671000,"timestamp_ms":1793861671000,"timestamp_seconds":1793861671,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa7cd858"} 
[2026-11-05 12: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-05 12:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 12:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 12:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:26:40] 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-05 12:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228510720001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228510720001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:26:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:26:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228510720001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":233413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:26:40] local.INFO: GPS data processed {"connection_id":233413,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:26:40] local.INFO: Acknowledgment sent {"connection_id":233413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:26:54] local.INFO: TCP Data received {"connection_id":230174,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230174,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:26:54] local.INFO: Processing buffer {"connection_id":230174,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:26:54] local.INFO: IMEI packet received {"connection_id":230174,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":230174,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:26:58] local.INFO: TCP Data received {"connection_id":230174,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230174,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:26:58] local.INFO: Processing buffer {"connection_id":230174,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:26:58] local.INFO: IMEI packet received {"connection_id":230174,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":230174,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:27:03] local.INFO: TCP Data received {"connection_id":233414,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:27:03] local.INFO: Processing buffer {"connection_id":233414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:27:03] local.INFO: IMEI packet received {"connection_id":233414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":233414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:27:03] local.INFO: TCP Data received {"connection_id":230174,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230174,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:27:03] local.INFO: Processing buffer {"connection_id":230174,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:27:03] local.INFO: IMEI packet received {"connection_id":230174,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":230174,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:27:05] local.INFO: TCP Data received {"connection_id":230174,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 12:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 12:27:05] local.INFO: Processing buffer {"connection_id":230174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 12:27:05] local.INFO: Packet analysis {"connection_id":230174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:27:05] local.INFO: Extracted packet for processing {"connection_id":230174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:27:05] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228509440001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:27: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-05 12:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793861666000,"timestamp_ms":1793861666000,"timestamp_seconds":1793861666,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa7cc4d0"} 
[2026-11-05 12:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 12:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":230174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":230174,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":230174,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228509440001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228509440001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:27:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228509440001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":230174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62850,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:27:05] local.INFO: GPS data processed {"connection_id":230174,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:27:05] local.INFO: Acknowledgment sent {"connection_id":230174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:27:09] local.INFO: TCP Data received {"connection_id":233414,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:27:09] local.INFO: Processing buffer {"connection_id":233414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:27:09] local.INFO: IMEI packet received {"connection_id":233414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":233414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:27:09] local.INFO: TCP Data received {"connection_id":230174,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 12:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 12:27:09] local.INFO: Processing buffer {"connection_id":230174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 12:27:09] local.INFO: Packet analysis {"connection_id":230174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:27:09] local.INFO: Extracted packet for processing {"connection_id":230174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:27:09] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:27: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-05 12:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228509440001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:27: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-05 12:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793861666000,"timestamp_ms":1793861666000,"timestamp_seconds":1793861666,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa7cc4d0"} 
[2026-11-05 12:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 12:27:09] 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-05 12:27: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-05 12:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230174,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230174,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228509440001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228509440001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:27:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228509440001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:27:10] local.INFO: TCP Data received {"connection_id":233414,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa7cd858012d7fad0005afe048000700452b..."} 
[2026-11-05 12:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa7cd858012d7fad0005afe048000700452b..."} 
[2026-11-05 12:27:10] local.INFO: Processing buffer {"connection_id":233414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa7cd858012d7fad0005afe048000700452b..."} 
[2026-11-05 12:27:10] local.INFO: Packet analysis {"connection_id":233414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:27:10] local.INFO: Extracted packet for processing {"connection_id":233414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:27:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":7,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228510720001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793861671000,"timestamp_ms":1793861671000,"timestamp_seconds":1793861671,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa7cd858"} 
[2026-11-05 12:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 12:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:27:10] 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-05 12:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228510720001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228510720001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:27:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:27:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228510720001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":230174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62851,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:27:10] local.INFO: GPS data processed {"connection_id":230174,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:27:10] local.INFO: Acknowledgment sent {"connection_id":230174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":233414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:27:10] local.INFO: GPS data processed {"connection_id":233414,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:27:10] local.INFO: Acknowledgment sent {"connection_id":233414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:27:41] local.INFO: TCP Data received {"connection_id":233414,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa7cd858012d7fad0005afe048000700452b..."} 
[2026-11-05 12:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa7cd858012d7fad0005afe048000700452b..."} 
[2026-11-05 12:27:41] local.INFO: Processing buffer {"connection_id":233414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa7cd858012d7fad0005afe048000700452b..."} 
[2026-11-05 12:27:41] local.INFO: Packet analysis {"connection_id":233414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:27:41] local.INFO: Extracted packet for processing {"connection_id":233414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:27:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":7,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228510720001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793861671000,"timestamp_ms":1793861671000,"timestamp_seconds":1793861671,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa7cd858"} 
[2026-11-05 12: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-05 12:27: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-05 12: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 12:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:27: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-05 12:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228510720001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228510720001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:27:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:27:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228510720001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":233414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:27:41] local.INFO: GPS data processed {"connection_id":233414,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:27:41] local.INFO: Acknowledgment sent {"connection_id":233414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:27:49] local.INFO: TCP Data received {"connection_id":230175,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230175,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:27:49] local.INFO: Processing buffer {"connection_id":230175,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:27:49] local.INFO: IMEI packet received {"connection_id":230175,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":230175,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:27:54] local.INFO: TCP Data received {"connection_id":230175,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230175,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:27:54] local.INFO: Processing buffer {"connection_id":230175,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:27:54] local.INFO: IMEI packet received {"connection_id":230175,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":230175,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:27:54] local.INFO: TCP Data received {"connection_id":230175,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 12:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 12:27:54] local.INFO: Processing buffer {"connection_id":230175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 12:27:54] local.INFO: Packet analysis {"connection_id":230175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:27:54] local.INFO: Extracted packet for processing {"connection_id":230175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:27:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228509440001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:27: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-05 12:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793861666000,"timestamp_ms":1793861666000,"timestamp_seconds":1793861666,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa7cc4d0"} 
[2026-11-05 12: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-05 12:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 12:27: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-05 12: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-05 12: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-05 12:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":230175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":230175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":230175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228509440001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228509440001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:27:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228509440001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":230175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62854,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:27:55] local.INFO: GPS data processed {"connection_id":230175,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:27:55] local.INFO: Acknowledgment sent {"connection_id":230175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:28:03] local.INFO: TCP Data received {"connection_id":229660,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:28:03] local.INFO: Processing buffer {"connection_id":229660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:28:03] local.INFO: IMEI packet received {"connection_id":229660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":229660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:28:09] local.INFO: TCP Data received {"connection_id":229660,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:28:09] local.INFO: Processing buffer {"connection_id":229660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:28:09] local.INFO: IMEI packet received {"connection_id":229660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":229660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:28:09] local.INFO: TCP Data received {"connection_id":229660,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa7cd858012d7fad0005afe048000700452b..."} 
[2026-11-05 12:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa7cd858012d7fad0005afe048000700452b..."} 
[2026-11-05 12:28:09] local.INFO: Processing buffer {"connection_id":229660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa7cd858012d7fad0005afe048000700452b..."} 
[2026-11-05 12:28:09] local.INFO: Packet analysis {"connection_id":229660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:28:09] local.INFO: Extracted packet for processing {"connection_id":229660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:28:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":7,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228510720001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793861671000,"timestamp_ms":1793861671000,"timestamp_seconds":1793861671,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa7cd858"} 
[2026-11-05 12:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 12:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 12:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:28:09] 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-05 12:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228510720001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228510720001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:28:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:28:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228510720001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":229660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:28:09] local.INFO: GPS data processed {"connection_id":229660,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:28:09] local.INFO: Acknowledgment sent {"connection_id":229660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:28:27] local.INFO: TCP Data received {"connection_id":230175,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 12:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 12:28:27] local.INFO: Processing buffer {"connection_id":230175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 12:28:27] local.INFO: Packet analysis {"connection_id":230175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:28:27] local.INFO: Extracted packet for processing {"connection_id":230175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:28:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228509440001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:28:27] 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-05 12:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793861666000,"timestamp_ms":1793861666000,"timestamp_seconds":1793861666,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa7cc4d0"} 
[2026-11-05 12:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 12:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":230175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":230175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":230175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228509440001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228509440001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:28:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228509440001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":230175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62856,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:28:27] local.INFO: GPS data processed {"connection_id":230175,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:28:27] local.INFO: Acknowledgment sent {"connection_id":230175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:28:41] local.INFO: TCP Data received {"connection_id":229660,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa7cd858012d7fad0005afe048000700452b..."} 
[2026-11-05 12:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa7cd858012d7fad0005afe048000700452b..."} 
[2026-11-05 12:28:41] local.INFO: Processing buffer {"connection_id":229660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa7cd858012d7fad0005afe048000700452b..."} 
[2026-11-05 12:28:41] local.INFO: Packet analysis {"connection_id":229660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:28:41] local.INFO: Extracted packet for processing {"connection_id":229660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:28:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":7,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228510720001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793861671000,"timestamp_ms":1793861671000,"timestamp_seconds":1793861671,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa7cd858"} 
[2026-11-05 12: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-05 12:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 12:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:28:41] 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-05 12:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228510720001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228510720001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:28:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:28:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228510720001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":229660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:28:41] local.INFO: GPS data processed {"connection_id":229660,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:28:41] local.INFO: Acknowledgment sent {"connection_id":229660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:28:48] local.INFO: TCP Data received {"connection_id":229661,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229661,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:28:48] local.INFO: Processing buffer {"connection_id":229661,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:28:48] local.INFO: IMEI packet received {"connection_id":229661,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":229661,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:28:54] local.INFO: TCP Data received {"connection_id":229661,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229661,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:28:54] local.INFO: Processing buffer {"connection_id":229661,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:28:54] local.INFO: IMEI packet received {"connection_id":229661,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":229661,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:28:55] local.INFO: TCP Data received {"connection_id":229661,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 12:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 12:28:55] local.INFO: Processing buffer {"connection_id":229661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 12:28:55] local.INFO: Packet analysis {"connection_id":229661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:28:55] local.INFO: Extracted packet for processing {"connection_id":229661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:28:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 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-05 12:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228509440001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:28: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-05 12:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793861666000,"timestamp_ms":1793861666000,"timestamp_seconds":1793861666,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa7cc4d0"} 
[2026-11-05 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-05 12:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 12:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 12:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229661,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229661,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228509440001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228509440001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:28:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228509440001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:28:55] 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":62858,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:28:55] local.INFO: GPS data processed {"connection_id":229661,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:28:55] local.INFO: Acknowledgment sent {"connection_id":229661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:29:09] local.INFO: TCP Data received {"connection_id":230177,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:29:09] local.INFO: Processing buffer {"connection_id":230177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:29:09] local.INFO: IMEI packet received {"connection_id":230177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":230177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:29:14] local.INFO: TCP Data received {"connection_id":230177,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:29:14] local.INFO: Processing buffer {"connection_id":230177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:29:14] local.INFO: IMEI packet received {"connection_id":230177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":230177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:29:14] local.INFO: TCP Data received {"connection_id":230177,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa7cd858012d7fad0005afe048000700452b..."} 
[2026-11-05 12:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa7cd858012d7fad0005afe048000700452b..."} 
[2026-11-05 12:29:14] local.INFO: Processing buffer {"connection_id":230177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa7cd858012d7fad0005afe048000700452b..."} 
[2026-11-05 12:29:14] local.INFO: Packet analysis {"connection_id":230177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:29:14] local.INFO: Extracted packet for processing {"connection_id":230177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:29:14] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":7,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228510720001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793861671000,"timestamp_ms":1793861671000,"timestamp_seconds":1793861671,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa7cd858"} 
[2026-11-05 12: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-05 12:29: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-05 12: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 12:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12: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-05 12: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-05 12:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:29:14] 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-05 12:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228510720001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228510720001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:29:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:29:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228510720001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":230177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:29:14] local.INFO: GPS data processed {"connection_id":230177,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:29:14] local.INFO: Acknowledgment sent {"connection_id":230177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:29:19] local.INFO: TCP Data received {"connection_id":230177,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa7cd858012d7fad0005afe048000700452b..."} 
[2026-11-05 12:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa7cd858012d7fad0005afe048000700452b..."} 
[2026-11-05 12:29:19] local.INFO: Processing buffer {"connection_id":230177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa7cd858012d7fad0005afe048000700452b..."} 
[2026-11-05 12:29:19] local.INFO: Packet analysis {"connection_id":230177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:29:19] local.INFO: Extracted packet for processing {"connection_id":230177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:29:19] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":7,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228510720001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793861671000,"timestamp_ms":1793861671000,"timestamp_seconds":1793861671,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa7cd858"} 
[2026-11-05 12: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-05 12:29: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-05 12: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 12:29:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:29:19] 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-05 12:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228510720001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228510720001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:29:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:29:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228510720001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":230177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:29:19] local.INFO: GPS data processed {"connection_id":230177,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:29:19] local.INFO: Acknowledgment sent {"connection_id":230177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:29:27] local.INFO: TCP Data received {"connection_id":229661,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 12:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 12:29:27] local.INFO: Processing buffer {"connection_id":229661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 12:29:27] local.INFO: Packet analysis {"connection_id":229661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:29:27] local.INFO: Extracted packet for processing {"connection_id":229661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:29:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228509440001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:29:27] 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-05 12:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793861666000,"timestamp_ms":1793861666000,"timestamp_seconds":1793861666,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa7cc4d0"} 
[2026-11-05 12: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-05 12:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 12:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":229661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":229661,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":229661,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228509440001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228509440001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:29:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228509440001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:29:27] 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":62861,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:29:27] local.INFO: GPS data processed {"connection_id":229661,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:29:27] local.INFO: Acknowledgment sent {"connection_id":229661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:29:49] local.INFO: TCP Data received {"connection_id":233416,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233416,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:29:49] local.INFO: Processing buffer {"connection_id":233416,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:29:49] local.INFO: IMEI packet received {"connection_id":233416,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":233416,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:29:55] local.INFO: TCP Data received {"connection_id":233416,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233416,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:29:55] local.INFO: Processing buffer {"connection_id":233416,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:29:55] local.INFO: IMEI packet received {"connection_id":233416,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":233416,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:29:56] local.INFO: TCP Data received {"connection_id":233416,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa815c98012d0b10c00702a1800005014e21..."} 
[2026-11-05 12:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa815c98012d0b10c00702a1800005014e21..."} 
[2026-11-05 12:29:56] local.INFO: Processing buffer {"connection_id":233416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa815c98012d0b10c00702a1800005014e21..."} 
[2026-11-05 12:29:56] local.INFO: Packet analysis {"connection_id":233416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:29:56] local.INFO: Extracted packet for processing {"connection_id":233416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:29:56] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228586496001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:29:56] 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-05 12:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793861967000,"timestamp_ms":1793861967000,"timestamp_seconds":1793861967,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa815c98"} 
[2026-11-05 12:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:29:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":233416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":233416,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":233416,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228586496001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228586496001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:29:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228586496001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":233416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62862,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:29:56] local.INFO: GPS data processed {"connection_id":233416,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:29:56] local.INFO: Acknowledgment sent {"connection_id":233416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:30:03] local.INFO: TCP Data received {"connection_id":230178,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:30:03] local.INFO: Processing buffer {"connection_id":230178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:30:03] local.INFO: IMEI packet received {"connection_id":230178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":230178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:30:09] local.INFO: TCP Data received {"connection_id":230178,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:30:09] local.INFO: Processing buffer {"connection_id":230178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:30:09] local.INFO: IMEI packet received {"connection_id":230178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":230178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:30:10] local.INFO: TCP Data received {"connection_id":230178,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa7cd858012d7fad0005afe048000700452b..."} 
[2026-11-05 12:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa7cd858012d7fad0005afe048000700452b..."} 
[2026-11-05 12:30:10] local.INFO: Processing buffer {"connection_id":230178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa7cd858012d7fad0005afe048000700452b..."} 
[2026-11-05 12:30:10] local.INFO: Packet analysis {"connection_id":230178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:30:10] local.INFO: Extracted packet for processing {"connection_id":230178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 12:30:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":7,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228510720001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793861671000,"timestamp_ms":1793861671000,"timestamp_seconds":1793861671,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa7cd858"} 
[2026-11-05 12:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 12:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:30:10] 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-05 12:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228510720001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228510720001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:30:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:30:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228510720001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":230178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:30:10] local.INFO: GPS data processed {"connection_id":230178,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:30:10] local.INFO: Acknowledgment sent {"connection_id":230178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:30:41] local.INFO: TCP Data received {"connection_id":230178,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa817020012d7fad0005afe0480007004528..."} 
[2026-11-05 12:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa817020012d7fad0005afe0480007004528..."} 
[2026-11-05 12:30:41] local.INFO: Processing buffer {"connection_id":230178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa817020012d7fad0005afe0480007004528..."} 
[2026-11-05 12:30:41] local.INFO: Packet analysis {"connection_id":230178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:30:41] local.INFO: Extracted packet for processing {"connection_id":230178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:30:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":7,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228587776001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793861972000,"timestamp_ms":1793861972000,"timestamp_seconds":1793861972,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa817020"} 
[2026-11-05 12: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-05 12:30: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-05 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:30:41] 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-05 12:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228587776001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228587776001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:30:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:30:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228587776001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":230178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:30:41] local.INFO: GPS data processed {"connection_id":230178,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:30:41] local.INFO: Acknowledgment sent {"connection_id":230178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:30:42] local.INFO: TCP Data received {"connection_id":233416,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa815c98012d0b10c00702a1800005014e21..."} 
[2026-11-05 12:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa815c98012d0b10c00702a1800005014e21..."} 
[2026-11-05 12:30:42] local.INFO: Processing buffer {"connection_id":233416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa815c98012d0b10c00702a1800005014e21..."} 
[2026-11-05 12:30:42] local.INFO: Packet analysis {"connection_id":233416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:30:42] local.INFO: Extracted packet for processing {"connection_id":233416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:30:42] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228586496001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:30:42] 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-05 12:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793861967000,"timestamp_ms":1793861967000,"timestamp_seconds":1793861967,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa815c98"} 
[2026-11-05 12: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-05 12:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233416,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233416,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228586496001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228586496001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:30:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228586496001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":233416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62865,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:30:42] local.INFO: GPS data processed {"connection_id":233416,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:30:42] local.INFO: Acknowledgment sent {"connection_id":233416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:30:56] local.INFO: TCP Data received {"connection_id":231505,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231505,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:30:56] local.INFO: Processing buffer {"connection_id":231505,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:30:56] local.INFO: IMEI packet received {"connection_id":231505,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":231505,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:30:58] local.INFO: TCP Data received {"connection_id":231505,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231505,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:30:58] local.INFO: Processing buffer {"connection_id":231505,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:30:58] local.INFO: IMEI packet received {"connection_id":231505,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":231505,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:30:59] local.INFO: TCP Data received {"connection_id":231505,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa815c98012d0b10c00702a1800005014e21..."} 
[2026-11-05 12:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa815c98012d0b10c00702a1800005014e21..."} 
[2026-11-05 12:30:59] local.INFO: Processing buffer {"connection_id":231505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa815c98012d0b10c00702a1800005014e21..."} 
[2026-11-05 12:30:59] local.INFO: Packet analysis {"connection_id":231505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:30:59] local.INFO: Extracted packet for processing {"connection_id":231505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:30:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228586496001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:30: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-05 12:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793861967000,"timestamp_ms":1793861967000,"timestamp_seconds":1793861967,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa815c98"} 
[2026-11-05 12:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":231505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":231505,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":231505,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228586496001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228586496001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:30:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228586496001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":231505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62866,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:30:59] local.INFO: GPS data processed {"connection_id":231505,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:30:59] local.INFO: Acknowledgment sent {"connection_id":231505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:31:04] local.INFO: TCP Data received {"connection_id":230179,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:31:04] local.INFO: Processing buffer {"connection_id":230179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:31:04] local.INFO: IMEI packet received {"connection_id":230179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":230179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:31:04] local.INFO: TCP Data received {"connection_id":231505,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa815c98012d0b10c00702a1800005014e21..."} 
[2026-11-05 12:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa815c98012d0b10c00702a1800005014e21..."} 
[2026-11-05 12:31:04] local.INFO: Processing buffer {"connection_id":231505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa815c98012d0b10c00702a1800005014e21..."} 
[2026-11-05 12:31:04] local.INFO: Packet analysis {"connection_id":231505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:31:04] local.INFO: Extracted packet for processing {"connection_id":231505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:31:04] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228586496001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793861967000,"timestamp_ms":1793861967000,"timestamp_seconds":1793861967,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa815c98"} 
[2026-11-05 12:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":231505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":231505,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":231505,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228586496001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228586496001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:31:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228586496001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":231505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62867,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:31:04] local.INFO: GPS data processed {"connection_id":231505,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:31:04] local.INFO: Acknowledgment sent {"connection_id":231505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:31:09] local.INFO: TCP Data received {"connection_id":230179,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:31:09] local.INFO: Processing buffer {"connection_id":230179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:31:09] local.INFO: IMEI packet received {"connection_id":230179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":230179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:31:09] local.INFO: TCP Data received {"connection_id":230179,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa817020012d7fad0005afe0480007004528..."} 
[2026-11-05 12:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa817020012d7fad0005afe0480007004528..."} 
[2026-11-05 12:31:10] local.INFO: Processing buffer {"connection_id":230179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa817020012d7fad0005afe0480007004528..."} 
[2026-11-05 12:31:10] local.INFO: Packet analysis {"connection_id":230179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:31:10] local.INFO: Extracted packet for processing {"connection_id":230179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:31:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":7,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228587776001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793861972000,"timestamp_ms":1793861972000,"timestamp_seconds":1793861972,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa817020"} 
[2026-11-05 12:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:31:10] 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-05 12:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228587776001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228587776001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:31:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228587776001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":230179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:31:10] local.INFO: GPS data processed {"connection_id":230179,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:31:10] local.INFO: Acknowledgment sent {"connection_id":230179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:31:31] local.INFO: TCP Data received {"connection_id":231506,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231506,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:31:31] local.INFO: Processing buffer {"connection_id":231506,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:31:31] local.INFO: IMEI packet received {"connection_id":231506,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 12:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":231506,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:31:41] local.INFO: TCP Data received {"connection_id":230179,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa817020012d7fad0005afe0480007004528..."} 
[2026-11-05 12:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa817020012d7fad0005afe0480007004528..."} 
[2026-11-05 12:31:41] local.INFO: Processing buffer {"connection_id":230179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa817020012d7fad0005afe0480007004528..."} 
[2026-11-05 12:31:41] local.INFO: Packet analysis {"connection_id":230179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:31:41] local.INFO: Extracted packet for processing {"connection_id":230179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:31:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":7,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228587776001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793861972000,"timestamp_ms":1793861972000,"timestamp_seconds":1793861972,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa817020"} 
[2026-11-05 12: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-05 12:31: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-05 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:31: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-05 12:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228587776001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228587776001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:31:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:31:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228587776001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":230179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:31:41] local.INFO: GPS data processed {"connection_id":230179,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:31:41] local.INFO: Acknowledgment sent {"connection_id":230179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:31:49] local.INFO: TCP Data received {"connection_id":231507,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231507,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:31:49] local.INFO: Processing buffer {"connection_id":231507,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:31:49] local.INFO: IMEI packet received {"connection_id":231507,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":231507,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:31:54] local.INFO: TCP Data received {"connection_id":231507,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231507,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:31:54] local.INFO: Processing buffer {"connection_id":231507,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:31:54] local.INFO: IMEI packet received {"connection_id":231507,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":231507,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:31:55] local.INFO: TCP Data received {"connection_id":231507,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa815c98012d0b10c00702a1800005014e21..."} 
[2026-11-05 12:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa815c98012d0b10c00702a1800005014e21..."} 
[2026-11-05 12:31:55] local.INFO: Processing buffer {"connection_id":231507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa815c98012d0b10c00702a1800005014e21..."} 
[2026-11-05 12:31:55] local.INFO: Packet analysis {"connection_id":231507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:31:55] local.INFO: Extracted packet for processing {"connection_id":231507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:31:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228586496001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:31: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-05 12:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793861967000,"timestamp_ms":1793861967000,"timestamp_seconds":1793861967,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa815c98"} 
[2026-11-05 12:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231507,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231507,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228586496001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228586496001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:31:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228586496001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":231507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62870,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:31:55] local.INFO: GPS data processed {"connection_id":231507,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:31:55] local.INFO: Acknowledgment sent {"connection_id":231507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:32:04] local.INFO: TCP Data received {"connection_id":230180,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:32:04] local.INFO: Processing buffer {"connection_id":230180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:32:04] local.INFO: IMEI packet received {"connection_id":230180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":230180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:32:05] local.INFO: TCP Data received {"connection_id":231508,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231508,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:32:05] local.INFO: Processing buffer {"connection_id":231508,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:32:05] local.INFO: IMEI packet received {"connection_id":231508,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 12:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":231508,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:32:09] local.INFO: TCP Data received {"connection_id":230180,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:32:09] local.INFO: Processing buffer {"connection_id":230180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:32:09] local.INFO: IMEI packet received {"connection_id":230180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":230180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:32:09] local.INFO: TCP Data received {"connection_id":230180,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa817020012d7fad0005afe0480007004528..."} 
[2026-11-05 12:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa817020012d7fad0005afe0480007004528..."} 
[2026-11-05 12:32:09] local.INFO: Processing buffer {"connection_id":230180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa817020012d7fad0005afe0480007004528..."} 
[2026-11-05 12:32:09] local.INFO: Packet analysis {"connection_id":230180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:32:09] local.INFO: Extracted packet for processing {"connection_id":230180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:32:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":7,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228587776001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793861972000,"timestamp_ms":1793861972000,"timestamp_seconds":1793861972,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa817020"} 
[2026-11-05 12: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-05 12:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12: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-05 12: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-05 12:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:32:09] 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-05 12:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228587776001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228587776001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:32:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:32:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228587776001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":230180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:32:09] local.INFO: GPS data processed {"connection_id":230180,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:32:09] local.INFO: Acknowledgment sent {"connection_id":230180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:32:27] local.INFO: TCP Data received {"connection_id":231507,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa815c98012d0b10c00702a1800005014e21..."} 
[2026-11-05 12:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa815c98012d0b10c00702a1800005014e21..."} 
[2026-11-05 12:32:27] local.INFO: Processing buffer {"connection_id":231507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa815c98012d0b10c00702a1800005014e21..."} 
[2026-11-05 12:32:27] local.INFO: Packet analysis {"connection_id":231507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:32:27] local.INFO: Extracted packet for processing {"connection_id":231507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:32:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228586496001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:32:27] 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-05 12:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793861967000,"timestamp_ms":1793861967000,"timestamp_seconds":1793861967,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa815c98"} 
[2026-11-05 12:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":231507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":231507,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":231507,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228586496001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228586496001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:32:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228586496001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":231507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62872,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:32:27] local.INFO: GPS data processed {"connection_id":231507,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:32:27] local.INFO: Acknowledgment sent {"connection_id":231507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:32:41] local.INFO: TCP Data received {"connection_id":230180,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa817020012d7fad0005afe0480007004528..."} 
[2026-11-05 12:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa817020012d7fad0005afe0480007004528..."} 
[2026-11-05 12:32:41] local.INFO: Processing buffer {"connection_id":230180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa817020012d7fad0005afe0480007004528..."} 
[2026-11-05 12:32:41] local.INFO: Packet analysis {"connection_id":230180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:32:41] local.INFO: Extracted packet for processing {"connection_id":230180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:32:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":7,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228587776001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793861972000,"timestamp_ms":1793861972000,"timestamp_seconds":1793861972,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa817020"} 
[2026-11-05 12: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-05 12: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-05 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:32:41] 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-05 12:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228587776001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228587776001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:32:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:32:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228587776001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":230180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:32:41] local.INFO: GPS data processed {"connection_id":230180,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:32:41] local.INFO: Acknowledgment sent {"connection_id":230180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:32:48] local.INFO: TCP Data received {"connection_id":229662,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229662,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:32:48] local.INFO: Processing buffer {"connection_id":229662,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:32:48] local.INFO: IMEI packet received {"connection_id":229662,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":229662,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:32:54] local.INFO: TCP Data received {"connection_id":229662,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229662,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:32:54] local.INFO: Processing buffer {"connection_id":229662,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:32:54] local.INFO: IMEI packet received {"connection_id":229662,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":229662,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:32:55] local.INFO: TCP Data received {"connection_id":229662,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa815c98012d0b10c00702a1800005014e21..."} 
[2026-11-05 12:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa815c98012d0b10c00702a1800005014e21..."} 
[2026-11-05 12:32:55] local.INFO: Processing buffer {"connection_id":229662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa815c98012d0b10c00702a1800005014e21..."} 
[2026-11-05 12:32:55] local.INFO: Packet analysis {"connection_id":229662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:32:55] local.INFO: Extracted packet for processing {"connection_id":229662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:32:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228586496001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:32: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-05 12:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793861967000,"timestamp_ms":1793861967000,"timestamp_seconds":1793861967,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa815c98"} 
[2026-11-05 12:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229662,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229662,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228586496001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228586496001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:32:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228586496001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":229662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62874,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:32:55] local.INFO: GPS data processed {"connection_id":229662,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:32:55] local.INFO: Acknowledgment sent {"connection_id":229662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:33:03] local.INFO: TCP Data received {"connection_id":230182,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:33:03] local.INFO: Processing buffer {"connection_id":230182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:33:03] local.INFO: IMEI packet received {"connection_id":230182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":230182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:33:09] local.INFO: TCP Data received {"connection_id":230182,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:33:09] local.INFO: Processing buffer {"connection_id":230182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:33:09] local.INFO: IMEI packet received {"connection_id":230182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":230182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:33:10] local.INFO: TCP Data received {"connection_id":230182,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa817020012d7fad0005afe0480007004528..."} 
[2026-11-05 12:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa817020012d7fad0005afe0480007004528..."} 
[2026-11-05 12:33:10] local.INFO: Processing buffer {"connection_id":230182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa817020012d7fad0005afe0480007004528..."} 
[2026-11-05 12:33:10] local.INFO: Packet analysis {"connection_id":230182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:33:10] local.INFO: Extracted packet for processing {"connection_id":230182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:33:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":7,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228587776001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793861972000,"timestamp_ms":1793861972000,"timestamp_seconds":1793861972,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa817020"} 
[2026-11-05 12:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:33:10] 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-05 12:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228587776001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228587776001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:33:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:33:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228587776001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":230182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:33:10] local.INFO: GPS data processed {"connection_id":230182,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:33:10] local.INFO: Acknowledgment sent {"connection_id":230182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:33:26] local.INFO: TCP Data received {"connection_id":229662,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa815c98012d0b10c00702a1800005014e21..."} 
[2026-11-05 12:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa815c98012d0b10c00702a1800005014e21..."} 
[2026-11-05 12:33:26] local.INFO: Processing buffer {"connection_id":229662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa815c98012d0b10c00702a1800005014e21..."} 
[2026-11-05 12:33:26] local.INFO: Packet analysis {"connection_id":229662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:33:26] local.INFO: Extracted packet for processing {"connection_id":229662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:33:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228586496001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:33: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-05 12:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793861967000,"timestamp_ms":1793861967000,"timestamp_seconds":1793861967,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa815c98"} 
[2026-11-05 12:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:33:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:33:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229662,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229662,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:33:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228586496001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228586496001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:33:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228586496001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":229662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62876,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:33:26] local.INFO: GPS data processed {"connection_id":229662,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:33:26] local.INFO: Acknowledgment sent {"connection_id":229662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:33:41] local.INFO: TCP Data received {"connection_id":230182,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa817020012d7fad0005afe0480007004528..."} 
[2026-11-05 12:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa817020012d7fad0005afe0480007004528..."} 
[2026-11-05 12:33:41] local.INFO: Processing buffer {"connection_id":230182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa817020012d7fad0005afe0480007004528..."} 
[2026-11-05 12:33:41] local.INFO: Packet analysis {"connection_id":230182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:33:41] local.INFO: Extracted packet for processing {"connection_id":230182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:33:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":7,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228587776001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793861972000,"timestamp_ms":1793861972000,"timestamp_seconds":1793861972,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa817020"} 
[2026-11-05 12:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12: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-05 12:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:33: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-05 12:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228587776001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228587776001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:33:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:33:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228587776001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":230182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:33:41] local.INFO: GPS data processed {"connection_id":230182,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:33:41] local.INFO: Acknowledgment sent {"connection_id":230182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:33:48] local.INFO: TCP Data received {"connection_id":231509,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231509,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:33:48] local.INFO: Processing buffer {"connection_id":231509,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:33:48] local.INFO: IMEI packet received {"connection_id":231509,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":231509,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:33:54] local.INFO: TCP Data received {"connection_id":231509,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231509,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:33:54] local.INFO: Processing buffer {"connection_id":231509,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:33:54] local.INFO: IMEI packet received {"connection_id":231509,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":231509,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:33:55] local.INFO: TCP Data received {"connection_id":231509,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa815c98012d0b10c00702a1800005014e21..."} 
[2026-11-05 12:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa815c98012d0b10c00702a1800005014e21..."} 
[2026-11-05 12:33:55] local.INFO: Processing buffer {"connection_id":231509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa815c98012d0b10c00702a1800005014e21..."} 
[2026-11-05 12:33:55] local.INFO: Packet analysis {"connection_id":231509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:33:55] local.INFO: Extracted packet for processing {"connection_id":231509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:33:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228586496001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:33: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-05 12:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793861967000,"timestamp_ms":1793861967000,"timestamp_seconds":1793861967,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa815c98"} 
[2026-11-05 12:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231509,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231509,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228586496001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228586496001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:33:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228586496001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":231509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62878,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:33:55] local.INFO: GPS data processed {"connection_id":231509,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:33:55] local.INFO: Acknowledgment sent {"connection_id":231509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:34:03] local.INFO: TCP Data received {"connection_id":230183,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:34:03] local.INFO: Processing buffer {"connection_id":230183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:34:03] local.INFO: IMEI packet received {"connection_id":230183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":230183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:34:09] local.INFO: TCP Data received {"connection_id":230183,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:34:09] local.INFO: Processing buffer {"connection_id":230183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:34:09] local.INFO: IMEI packet received {"connection_id":230183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":230183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:34:10] local.INFO: TCP Data received {"connection_id":230183,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa817020012d7fad0005afe0480007004528..."} 
[2026-11-05 12:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa817020012d7fad0005afe0480007004528..."} 
[2026-11-05 12:34:10] local.INFO: Processing buffer {"connection_id":230183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa817020012d7fad0005afe0480007004528..."} 
[2026-11-05 12:34:10] local.INFO: Packet analysis {"connection_id":230183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:34:10] local.INFO: Extracted packet for processing {"connection_id":230183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:34:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":7,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228587776001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793861972000,"timestamp_ms":1793861972000,"timestamp_seconds":1793861972,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa817020"} 
[2026-11-05 12:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:34:10] 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-05 12:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228587776001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228587776001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:34:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228587776001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":230183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:34:10] local.INFO: GPS data processed {"connection_id":230183,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:34:10] local.INFO: Acknowledgment sent {"connection_id":230183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:34:26] local.INFO: TCP Data received {"connection_id":231509,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa815c98012d0b10c00702a1800005014e21..."} 
[2026-11-05 12:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa815c98012d0b10c00702a1800005014e21..."} 
[2026-11-05 12:34:26] local.INFO: Processing buffer {"connection_id":231509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa815c98012d0b10c00702a1800005014e21..."} 
[2026-11-05 12:34:26] local.INFO: Packet analysis {"connection_id":231509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:34:26] local.INFO: Extracted packet for processing {"connection_id":231509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:34:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228586496001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:34: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-05 12:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793861967000,"timestamp_ms":1793861967000,"timestamp_seconds":1793861967,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa815c98"} 
[2026-11-05 12:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231509,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231509,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228586496001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228586496001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:34:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228586496001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":231509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62880,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:34:26] local.INFO: GPS data processed {"connection_id":231509,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:34:26] local.INFO: Acknowledgment sent {"connection_id":231509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:34:41] local.INFO: TCP Data received {"connection_id":230183,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa817020012d7fad0005afe0480007004528..."} 
[2026-11-05 12:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa817020012d7fad0005afe0480007004528..."} 
[2026-11-05 12:34:41] local.INFO: Processing buffer {"connection_id":230183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa817020012d7fad0005afe0480007004528..."} 
[2026-11-05 12:34:41] local.INFO: Packet analysis {"connection_id":230183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:34:41] local.INFO: Extracted packet for processing {"connection_id":230183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:34:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":7,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228587776001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793861972000,"timestamp_ms":1793861972000,"timestamp_seconds":1793861972,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa817020"} 
[2026-11-05 12: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-05 12:34: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-05 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:34: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-05 12:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228587776001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228587776001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:34:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228587776001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":230183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:34:41] local.INFO: GPS data processed {"connection_id":230183,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:34:41] local.INFO: Acknowledgment sent {"connection_id":230183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:34:48] local.INFO: TCP Data received {"connection_id":233419,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233419,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:34:48] local.INFO: Processing buffer {"connection_id":233419,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:34:48] local.INFO: IMEI packet received {"connection_id":233419,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":233419,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:34:54] local.INFO: TCP Data received {"connection_id":233419,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233419,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:34:54] local.INFO: Processing buffer {"connection_id":233419,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:34:54] local.INFO: IMEI packet received {"connection_id":233419,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":233419,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:34:55] local.INFO: TCP Data received {"connection_id":233419,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa85f460012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa85f460012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:34:55] local.INFO: Processing buffer {"connection_id":233419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa85f460012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:34:55] local.INFO: Packet analysis {"connection_id":233419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa85"} 
[2026-11-05 12:34:55] local.INFO: Extracted packet for processing {"connection_id":233419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa85"} 
[2026-11-05 12:34:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228663552001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:34: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-05 12:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793862268000,"timestamp_ms":1793862268000,"timestamp_seconds":1793862268,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa85f460"} 
[2026-11-05 12:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:34:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233419,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233419,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228663552001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228663552001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:34:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228663552001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":233419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62882,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:34:55] local.INFO: GPS data processed {"connection_id":233419,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:34:55] local.INFO: Acknowledgment sent {"connection_id":233419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:35:03] local.INFO: TCP Data received {"connection_id":231510,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:35:03] local.INFO: Processing buffer {"connection_id":231510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:35:03] local.INFO: IMEI packet received {"connection_id":231510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":231510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:35:09] local.INFO: TCP Data received {"connection_id":231510,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:35:09] local.INFO: Processing buffer {"connection_id":231510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:35:09] local.INFO: IMEI packet received {"connection_id":231510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":231510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:35:09] local.INFO: TCP Data received {"connection_id":231510,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa817020012d7fad0005afe0480007004528..."} 
[2026-11-05 12:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa817020012d7fad0005afe0480007004528..."} 
[2026-11-05 12:35:09] local.INFO: Processing buffer {"connection_id":231510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa817020012d7fad0005afe0480007004528..."} 
[2026-11-05 12:35:09] local.INFO: Packet analysis {"connection_id":231510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:35:09] local.INFO: Extracted packet for processing {"connection_id":231510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa81"} 
[2026-11-05 12:35:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":7,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228587776001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793861972000,"timestamp_ms":1793861972000,"timestamp_seconds":1793861972,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa817020"} 
[2026-11-05 12:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 12:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:35: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-05 12:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228587776001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228587776001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:35:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:35:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228587776001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":231510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:35:09] local.INFO: GPS data processed {"connection_id":231510,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:35:09] local.INFO: Acknowledgment sent {"connection_id":231510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:35:26] local.INFO: TCP Data received {"connection_id":233419,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa85f460012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa85f460012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:35:26] local.INFO: Processing buffer {"connection_id":233419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa85f460012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:35:26] local.INFO: Packet analysis {"connection_id":233419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa85"} 
[2026-11-05 12:35:26] local.INFO: Extracted packet for processing {"connection_id":233419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa85"} 
[2026-11-05 12:35:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228663552001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:35: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-05 12:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793862268000,"timestamp_ms":1793862268000,"timestamp_seconds":1793862268,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa85f460"} 
[2026-11-05 12: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-05 12:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233419,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233419,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:35:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228663552001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228663552001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:35:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228663552001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":233419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62884,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:35:27] local.INFO: GPS data processed {"connection_id":233419,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:35:27] local.INFO: Acknowledgment sent {"connection_id":233419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:35:40] local.INFO: TCP Data received {"connection_id":231510,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8607e8012d7fad0005afe0480006004528..."} 
[2026-11-05 12:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8607e8012d7fad0005afe0480006004528..."} 
[2026-11-05 12:35:40] local.INFO: Processing buffer {"connection_id":231510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8607e8012d7fad0005afe0480006004528..."} 
[2026-11-05 12:35:40] local.INFO: Packet analysis {"connection_id":231510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa86"} 
[2026-11-05 12:35:40] local.INFO: Extracted packet for processing {"connection_id":231510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa86"} 
[2026-11-05 12:35:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":6,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228664832001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793862273000,"timestamp_ms":1793862273000,"timestamp_seconds":1793862273,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8607e8"} 
[2026-11-05 12:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 12:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 12:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:35:40] 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-05 12:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228664832001,"66":25343,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228664832001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:35:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:35:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228664832001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":231510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:35:40] local.INFO: GPS data processed {"connection_id":231510,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:35:40] local.INFO: Acknowledgment sent {"connection_id":231510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:35:53] local.INFO: TCP Data received {"connection_id":230185,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230185,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:35:53] local.INFO: Processing buffer {"connection_id":230185,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:35:53] local.INFO: IMEI packet received {"connection_id":230185,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":230185,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:35:58] local.INFO: TCP Data received {"connection_id":230185,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230185,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:35:58] local.INFO: Processing buffer {"connection_id":230185,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:35:58] local.INFO: IMEI packet received {"connection_id":230185,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":230185,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:36:06] local.INFO: TCP Data received {"connection_id":229663,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:36:06] local.INFO: Processing buffer {"connection_id":229663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:36:06] local.INFO: IMEI packet received {"connection_id":229663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":229663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:36:08] local.INFO: TCP Data received {"connection_id":229663,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:36:08] local.INFO: Processing buffer {"connection_id":229663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:36:08] local.INFO: IMEI packet received {"connection_id":229663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":229663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:36:14] local.INFO: TCP Data received {"connection_id":229663,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:36:14] local.INFO: Processing buffer {"connection_id":229663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:36:14] local.INFO: IMEI packet received {"connection_id":229663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":229663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:36:14] local.INFO: TCP Data received {"connection_id":229663,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8607e8012d7fad0005afe0480006004528..."} 
[2026-11-05 12:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8607e8012d7fad0005afe0480006004528..."} 
[2026-11-05 12:36:14] local.INFO: Processing buffer {"connection_id":229663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8607e8012d7fad0005afe0480006004528..."} 
[2026-11-05 12:36:14] local.INFO: Packet analysis {"connection_id":229663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa86"} 
[2026-11-05 12:36:14] local.INFO: Extracted packet for processing {"connection_id":229663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa86"} 
[2026-11-05 12:36:14] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":6,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228664832001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793862273000,"timestamp_ms":1793862273000,"timestamp_seconds":1793862273,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8607e8"} 
[2026-11-05 12: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-05 12:36: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-05 12: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 12:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:36: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-05 12:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228664832001,"66":25343,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228664832001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:36:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:36:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228664832001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:36:14] 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":62886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:36:14] local.INFO: GPS data processed {"connection_id":229663,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:36:14] local.INFO: Acknowledgment sent {"connection_id":229663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:36:17] local.INFO: TCP Data received {"connection_id":230185,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa85f460012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa85f460012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:36:18] local.INFO: Processing buffer {"connection_id":230185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa85f460012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:36:18] local.INFO: Packet analysis {"connection_id":230185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa85"} 
[2026-11-05 12:36:18] local.INFO: Extracted packet for processing {"connection_id":230185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa85"} 
[2026-11-05 12:36:18] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228663552001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793862268000,"timestamp_ms":1793862268000,"timestamp_seconds":1793862268,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa85f460"} 
[2026-11-05 12: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-05 12:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:36:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230185,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230185,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228663552001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228663552001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:36:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228663552001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":230185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62887,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:36:18] local.INFO: GPS data processed {"connection_id":230185,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:36:18] local.INFO: Acknowledgment sent {"connection_id":230185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:36:46] local.INFO: TCP Data received {"connection_id":229663,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8607e8012d7fad0005afe0480006004528..."} 
[2026-11-05 12:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8607e8012d7fad0005afe0480006004528..."} 
[2026-11-05 12:36:46] local.INFO: Processing buffer {"connection_id":229663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8607e8012d7fad0005afe0480006004528..."} 
[2026-11-05 12:36:46] local.INFO: Packet analysis {"connection_id":229663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa86"} 
[2026-11-05 12:36:46] local.INFO: Extracted packet for processing {"connection_id":229663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa86"} 
[2026-11-05 12:36:46] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":6,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228664832001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793862273000,"timestamp_ms":1793862273000,"timestamp_seconds":1793862273,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8607e8"} 
[2026-11-05 12: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-05 12:36: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-05 12:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 12:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:36: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-05 12:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228664832001,"66":25343,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228664832001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:36:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:36:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228664832001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:36:46] 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":62888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:36:46] local.INFO: GPS data processed {"connection_id":229663,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:36:46] local.INFO: Acknowledgment sent {"connection_id":229663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:36:48] local.INFO: TCP Data received {"connection_id":233421,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233421,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:36:48] local.INFO: Processing buffer {"connection_id":233421,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:36:48] local.INFO: IMEI packet received {"connection_id":233421,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":233421,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:36:55] local.INFO: TCP Data received {"connection_id":233421,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233421,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:36:55] local.INFO: Processing buffer {"connection_id":233421,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:36:55] local.INFO: IMEI packet received {"connection_id":233421,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":233421,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:36:56] local.INFO: TCP Data received {"connection_id":233421,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa85f460012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa85f460012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:36:56] local.INFO: Processing buffer {"connection_id":233421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa85f460012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:36:56] local.INFO: Packet analysis {"connection_id":233421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa85"} 
[2026-11-05 12:36:56] local.INFO: Extracted packet for processing {"connection_id":233421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa85"} 
[2026-11-05 12:36:56] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228663552001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:36:56] 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-05 12:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793862268000,"timestamp_ms":1793862268000,"timestamp_seconds":1793862268,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa85f460"} 
[2026-11-05 12:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:36:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":233421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":233421,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":233421,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228663552001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228663552001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:36:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228663552001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":233421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62889,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:36:56] local.INFO: GPS data processed {"connection_id":233421,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:36:56] local.INFO: Acknowledgment sent {"connection_id":233421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:36:59] local.INFO: TCP Data received {"connection_id":233421,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa85f460012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa85f460012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:36:59] local.INFO: Processing buffer {"connection_id":233421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa85f460012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:36:59] local.INFO: Packet analysis {"connection_id":233421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa85"} 
[2026-11-05 12:36:59] local.INFO: Extracted packet for processing {"connection_id":233421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa85"} 
[2026-11-05 12:36:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228663552001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:36: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-05 12:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793862268000,"timestamp_ms":1793862268000,"timestamp_seconds":1793862268,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa85f460"} 
[2026-11-05 12:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":233421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":233421,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":233421,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228663552001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228663552001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:36:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228663552001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":233421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62890,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:36:59] local.INFO: GPS data processed {"connection_id":233421,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:36:59] local.INFO: Acknowledgment sent {"connection_id":233421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:37:03] local.INFO: TCP Data received {"connection_id":231512,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:37:03] local.INFO: Processing buffer {"connection_id":231512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:37:03] local.INFO: IMEI packet received {"connection_id":231512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":231512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:37:08] local.INFO: TCP Data received {"connection_id":231512,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:37:08] local.INFO: Processing buffer {"connection_id":231512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:37:08] local.INFO: IMEI packet received {"connection_id":231512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":231512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:37:11] local.INFO: TCP Data received {"connection_id":231512,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8607e8012d7fad0005afe0480006004528..."} 
[2026-11-05 12:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8607e8012d7fad0005afe0480006004528..."} 
[2026-11-05 12:37:11] local.INFO: Processing buffer {"connection_id":231512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8607e8012d7fad0005afe0480006004528..."} 
[2026-11-05 12:37:11] local.INFO: Packet analysis {"connection_id":231512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa86"} 
[2026-11-05 12:37:11] local.INFO: Extracted packet for processing {"connection_id":231512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa86"} 
[2026-11-05 12:37:11] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":6,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228664832001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793862273000,"timestamp_ms":1793862273000,"timestamp_seconds":1793862273,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8607e8"} 
[2026-11-05 12: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-05 12:37: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-05 12:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 12:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:37:11] 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-05 12:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228664832001,"66":25343,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228664832001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:37:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:37:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228664832001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":231512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:37:11] local.INFO: GPS data processed {"connection_id":231512,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:37:11] local.INFO: Acknowledgment sent {"connection_id":231512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:37:14] local.INFO: TCP Data received {"connection_id":231512,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8607e8012d7fad0005afe0480006004528..."} 
[2026-11-05 12:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8607e8012d7fad0005afe0480006004528..."} 
[2026-11-05 12:37:14] local.INFO: Processing buffer {"connection_id":231512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8607e8012d7fad0005afe0480006004528..."} 
[2026-11-05 12:37:14] local.INFO: Packet analysis {"connection_id":231512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa86"} 
[2026-11-05 12:37:14] local.INFO: Extracted packet for processing {"connection_id":231512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa86"} 
[2026-11-05 12:37:14] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":6,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228664832001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793862273000,"timestamp_ms":1793862273000,"timestamp_seconds":1793862273,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8607e8"} 
[2026-11-05 12:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:37: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-05 12:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 12:37:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":231512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":231512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":231512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:37:14] 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-05 12:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228664832001,"66":25343,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228664832001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:37:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:37:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228664832001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":231512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:37:14] local.INFO: GPS data processed {"connection_id":231512,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:37:14] local.INFO: Acknowledgment sent {"connection_id":231512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:37:30] local.INFO: TCP Data received {"connection_id":233421,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa85f460012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa85f460012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:37:30] local.INFO: Processing buffer {"connection_id":233421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa85f460012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:37:30] local.INFO: Packet analysis {"connection_id":233421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa85"} 
[2026-11-05 12:37:30] local.INFO: Extracted packet for processing {"connection_id":233421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa85"} 
[2026-11-05 12:37:30] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228663552001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:37:30] 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-05 12:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793862268000,"timestamp_ms":1793862268000,"timestamp_seconds":1793862268,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa85f460"} 
[2026-11-05 12: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-05 12:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":233421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":233421,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":233421,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228663552001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228663552001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:37:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228663552001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":233421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62893,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:37:30] local.INFO: GPS data processed {"connection_id":233421,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:37:30] local.INFO: Acknowledgment sent {"connection_id":233421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:37:36] local.INFO: TCP Data received {"connection_id":229664,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229664,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:37:36] local.INFO: Processing buffer {"connection_id":229664,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:37:36] local.INFO: IMEI packet received {"connection_id":229664,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 12:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":229664,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:37:45] local.INFO: TCP Data received {"connection_id":231512,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8607e8012d7fad0005afe0480006004528..."} 
[2026-11-05 12:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8607e8012d7fad0005afe0480006004528..."} 
[2026-11-05 12:37:45] local.INFO: Processing buffer {"connection_id":231512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8607e8012d7fad0005afe0480006004528..."} 
[2026-11-05 12:37:45] local.INFO: Packet analysis {"connection_id":231512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa86"} 
[2026-11-05 12:37:45] local.INFO: Extracted packet for processing {"connection_id":231512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa86"} 
[2026-11-05 12:37:45] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":6,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 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-05 12:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228664832001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793862273000,"timestamp_ms":1793862273000,"timestamp_seconds":1793862273,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8607e8"} 
[2026-11-05 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-05 12:37: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-05 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 12:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 12:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":231512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":231512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":231512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:37:45] 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-05 12:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228664832001,"66":25343,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228664832001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:37:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:37:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228664832001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":231512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:37:45] local.INFO: GPS data processed {"connection_id":231512,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:37:45] local.INFO: Acknowledgment sent {"connection_id":231512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:37:48] local.INFO: TCP Data received {"connection_id":231513,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231513,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:37:48] local.INFO: Processing buffer {"connection_id":231513,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:37:48] local.INFO: IMEI packet received {"connection_id":231513,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":231513,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:37:54] local.INFO: TCP Data received {"connection_id":231513,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231513,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:37:54] local.INFO: Processing buffer {"connection_id":231513,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:37:54] local.INFO: IMEI packet received {"connection_id":231513,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":231513,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:37:55] local.INFO: TCP Data received {"connection_id":231513,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa85f460012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa85f460012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:37:55] local.INFO: Processing buffer {"connection_id":231513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa85f460012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:37:55] local.INFO: Packet analysis {"connection_id":231513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa85"} 
[2026-11-05 12:37:55] local.INFO: Extracted packet for processing {"connection_id":231513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa85"} 
[2026-11-05 12:37:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 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-05 12:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228663552001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:37: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-05 12:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793862268000,"timestamp_ms":1793862268000,"timestamp_seconds":1793862268,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa85f460"} 
[2026-11-05 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-05 12:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 12:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231513,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231513,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228663552001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228663552001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:37:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228663552001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":231513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62895,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:37:55] local.INFO: GPS data processed {"connection_id":231513,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:37:55] local.INFO: Acknowledgment sent {"connection_id":231513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:38:03] local.INFO: TCP Data received {"connection_id":230186,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:38:03] local.INFO: Processing buffer {"connection_id":230186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:38:03] local.INFO: IMEI packet received {"connection_id":230186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":230186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:38:06] local.INFO: TCP Data received {"connection_id":229665,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:38:06] local.INFO: Processing buffer {"connection_id":229665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:38:06] local.INFO: IMEI packet received {"connection_id":229665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 12:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":229665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:38:09] local.INFO: TCP Data received {"connection_id":230186,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:38:09] local.INFO: Processing buffer {"connection_id":230186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:38:09] local.INFO: IMEI packet received {"connection_id":230186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":230186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:38:09] local.INFO: TCP Data received {"connection_id":230186,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8607e8012d7fad0005afe0480006004528..."} 
[2026-11-05 12:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8607e8012d7fad0005afe0480006004528..."} 
[2026-11-05 12:38:09] local.INFO: Processing buffer {"connection_id":230186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8607e8012d7fad0005afe0480006004528..."} 
[2026-11-05 12:38:09] local.INFO: Packet analysis {"connection_id":230186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa86"} 
[2026-11-05 12:38:09] local.INFO: Extracted packet for processing {"connection_id":230186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa86"} 
[2026-11-05 12:38:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":6,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228664832001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793862273000,"timestamp_ms":1793862273000,"timestamp_seconds":1793862273,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8607e8"} 
[2026-11-05 12:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 12:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 12:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:38:09] 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-05 12:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228664832001,"66":25343,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228664832001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:38:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:38:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228664832001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":230186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:38:09] local.INFO: GPS data processed {"connection_id":230186,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:38:09] local.INFO: Acknowledgment sent {"connection_id":230186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:38:11] local.INFO: TCP Data received {"connection_id":229665,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:38:11] local.INFO: Processing buffer {"connection_id":229665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:38:11] local.INFO: IMEI packet received {"connection_id":229665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 12:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":229665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:38:11] local.INFO: TCP Data received {"connection_id":229665,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8786b8012d3bb30006a6e640003e00982c..."} 
[2026-11-05 12:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8786b8012d3bb30006a6e640003e00982c..."} 
[2026-11-05 12:38:11] local.INFO: Processing buffer {"connection_id":229665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8786b8012d3bb30006a6e640003e00982c..."} 
[2026-11-05 12:38:11] local.INFO: Packet analysis {"connection_id":229665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa87"} 
[2026-11-05 12:38:11] local.INFO: Extracted packet for processing {"connection_id":229665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa87"} 
[2026-11-05 12:38:11] local.INFO: GPS Element Parsed {"raw_longitude":758887168,"raw_latitude":111601216,"longitude_deg":75.8887168,"latitude_deg":11.1601216,"altitude":62,"angle":152,"satellites":44,"speed":42,"hex_longitude":"2d3bb300","hex_latitude":"06a6e640","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228762368001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 12:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4285738023969835008,"note":"Value kept but may cause issues"} 
[2026-11-05 12:38:11] 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-05 12:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793862371000,"timestamp_ms":1793862371000,"timestamp_seconds":1793862371,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8786b8"} 
[2026-11-05 12: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-05 12:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 12: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-11-05 12:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 12:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 12:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228762368001,"66":28256,"41":206,"81":49664,"24":42,"16":20804383495159808,"45":4285738023969835008},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,81,24,16,45]} 
[2026-11-05 12:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 12:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 12:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228762368001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:38:11] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-11-05 12:38:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-11-05 12:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4285738023969835008,"description":"Unknown IO ID 45"} 
[2026-11-05 12:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228762368001,"power":28256,"unknown_41":206,"unknown_81":49664,"ignition":42,"odometer":null,"unknown_45":4285738023969835008}} 
[2026-11-05 12:38: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":62897,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:38:12] local.INFO: GPS data processed {"connection_id":229665,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:38:12] local.INFO: Acknowledgment sent {"connection_id":229665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:38:26] local.INFO: TCP Data received {"connection_id":231513,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa85f460012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa85f460012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:38:26] local.INFO: Processing buffer {"connection_id":231513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa85f460012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:38:26] local.INFO: Packet analysis {"connection_id":231513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa85"} 
[2026-11-05 12:38:26] local.INFO: Extracted packet for processing {"connection_id":231513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa85"} 
[2026-11-05 12:38:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228663552001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:38: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-05 12:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793862268000,"timestamp_ms":1793862268000,"timestamp_seconds":1793862268,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa85f460"} 
[2026-11-05 12: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-05 12:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:38:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231513,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231513,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:38:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228663552001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228663552001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:38:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228663552001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":231513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62898,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:38:26] local.INFO: GPS data processed {"connection_id":231513,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:38:26] local.INFO: Acknowledgment sent {"connection_id":231513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:38:41] local.INFO: TCP Data received {"connection_id":230186,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8607e8012d7fad0005afe0480006004528..."} 
[2026-11-05 12:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8607e8012d7fad0005afe0480006004528..."} 
[2026-11-05 12:38:41] local.INFO: Processing buffer {"connection_id":230186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8607e8012d7fad0005afe0480006004528..."} 
[2026-11-05 12:38:41] local.INFO: Packet analysis {"connection_id":230186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa86"} 
[2026-11-05 12:38:41] local.INFO: Extracted packet for processing {"connection_id":230186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa86"} 
[2026-11-05 12:38:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":6,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228664832001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793862273000,"timestamp_ms":1793862273000,"timestamp_seconds":1793862273,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8607e8"} 
[2026-11-05 12: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-05 12:38: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-05 12: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 12:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:38: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-05 12:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228664832001,"66":25343,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228664832001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:38:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:38:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228664832001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":230186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:38:41] local.INFO: GPS data processed {"connection_id":230186,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:38:41] local.INFO: Acknowledgment sent {"connection_id":230186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:38:48] local.INFO: TCP Data received {"connection_id":230187,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230187,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:38:48] local.INFO: Processing buffer {"connection_id":230187,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:38:48] local.INFO: IMEI packet received {"connection_id":230187,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":230187,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:38:54] local.INFO: TCP Data received {"connection_id":230187,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230187,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:38:54] local.INFO: Processing buffer {"connection_id":230187,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:38:54] local.INFO: IMEI packet received {"connection_id":230187,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":230187,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:38:55] local.INFO: TCP Data received {"connection_id":230187,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa85f460012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa85f460012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:38:55] local.INFO: Processing buffer {"connection_id":230187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa85f460012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:38:55] local.INFO: Packet analysis {"connection_id":230187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa85"} 
[2026-11-05 12:38:55] local.INFO: Extracted packet for processing {"connection_id":230187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa85"} 
[2026-11-05 12:38:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228663552001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:38: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-05 12:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793862268000,"timestamp_ms":1793862268000,"timestamp_seconds":1793862268,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa85f460"} 
[2026-11-05 12:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230187,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230187,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228663552001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228663552001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:38:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228663552001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":230187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62900,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:38:55] local.INFO: GPS data processed {"connection_id":230187,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:38:55] local.INFO: Acknowledgment sent {"connection_id":230187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:39:01] local.INFO: TCP Data received {"connection_id":231514,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231514,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:39:01] local.INFO: Processing buffer {"connection_id":231514,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:39:01] local.INFO: IMEI packet received {"connection_id":231514,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 12:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":231514,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:39:03] local.INFO: TCP Data received {"connection_id":229666,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:39:03] local.INFO: Processing buffer {"connection_id":229666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:39:03] local.INFO: IMEI packet received {"connection_id":229666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":229666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:39:09] local.INFO: TCP Data received {"connection_id":229666,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:39:09] local.INFO: Processing buffer {"connection_id":229666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:39:09] local.INFO: IMEI packet received {"connection_id":229666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":229666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:39:10] local.INFO: TCP Data received {"connection_id":229666,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8607e8012d7fad0005afe0480006004528..."} 
[2026-11-05 12:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8607e8012d7fad0005afe0480006004528..."} 
[2026-11-05 12:39:10] local.INFO: Processing buffer {"connection_id":229666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8607e8012d7fad0005afe0480006004528..."} 
[2026-11-05 12:39:10] local.INFO: Packet analysis {"connection_id":229666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa86"} 
[2026-11-05 12:39:10] local.INFO: Extracted packet for processing {"connection_id":229666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa86"} 
[2026-11-05 12:39:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":6,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228664832001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793862273000,"timestamp_ms":1793862273000,"timestamp_seconds":1793862273,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8607e8"} 
[2026-11-05 12: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-05 12:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 12:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:39:10] 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-05 12:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228664832001,"66":25343,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228664832001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:39:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228664832001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":229666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:39:10] local.INFO: GPS data processed {"connection_id":229666,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:39:10] local.INFO: Acknowledgment sent {"connection_id":229666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:39:26] local.INFO: TCP Data received {"connection_id":230187,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa85f460012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa85f460012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:39:26] local.INFO: Processing buffer {"connection_id":230187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa85f460012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:39:26] local.INFO: Packet analysis {"connection_id":230187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa85"} 
[2026-11-05 12:39:26] local.INFO: Extracted packet for processing {"connection_id":230187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa85"} 
[2026-11-05 12:39:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228663552001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:39: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-05 12:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793862268000,"timestamp_ms":1793862268000,"timestamp_seconds":1793862268,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa85f460"} 
[2026-11-05 12:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:39:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230187,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230187,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228663552001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228663552001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:39:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228663552001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":230187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62902,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:39:26] local.INFO: GPS data processed {"connection_id":230187,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:39:26] local.INFO: Acknowledgment sent {"connection_id":230187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:39:42] local.INFO: TCP Data received {"connection_id":229666,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8607e8012d7fad0005afe0480006004528..."} 
[2026-11-05 12:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8607e8012d7fad0005afe0480006004528..."} 
[2026-11-05 12:39:42] local.INFO: Processing buffer {"connection_id":229666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8607e8012d7fad0005afe0480006004528..."} 
[2026-11-05 12:39:42] local.INFO: Packet analysis {"connection_id":229666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa86"} 
[2026-11-05 12:39:42] local.INFO: Extracted packet for processing {"connection_id":229666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa86"} 
[2026-11-05 12:39:42] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":6,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228664832001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793862273000,"timestamp_ms":1793862273000,"timestamp_seconds":1793862273,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8607e8"} 
[2026-11-05 12:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:39: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-05 12:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 12:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:39:42] 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-05 12:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228664832001,"66":25343,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228664832001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:39:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:39:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228664832001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":229666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:39:42] local.INFO: GPS data processed {"connection_id":229666,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:39:42] local.INFO: Acknowledgment sent {"connection_id":229666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:39:48] local.INFO: TCP Data received {"connection_id":230188,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230188,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:39:48] local.INFO: Processing buffer {"connection_id":230188,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:39:48] local.INFO: IMEI packet received {"connection_id":230188,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":230188,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:39:54] local.INFO: TCP Data received {"connection_id":230188,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230188,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:39:54] local.INFO: Processing buffer {"connection_id":230188,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:39:54] local.INFO: IMEI packet received {"connection_id":230188,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":230188,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:39:54] local.INFO: TCP Data received {"connection_id":230188,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8a8c28012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8a8c28012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:39:54] local.INFO: Processing buffer {"connection_id":230188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8a8c28012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:39:54] local.INFO: Packet analysis {"connection_id":230188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:39:54] local.INFO: Extracted packet for processing {"connection_id":230188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:39:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228740608001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:39: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-05 12:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793862569000,"timestamp_ms":1793862569000,"timestamp_seconds":1793862569,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8a8c28"} 
[2026-11-05 12:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":230188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":230188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":230188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228740608001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228740608001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:39:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228740608001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":230188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62904,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:39:55] local.INFO: GPS data processed {"connection_id":230188,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:39:55] local.INFO: Acknowledgment sent {"connection_id":230188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:40:09] local.INFO: TCP Data received {"connection_id":233422,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:40:09] local.INFO: Processing buffer {"connection_id":233422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:40:09] local.INFO: IMEI packet received {"connection_id":233422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":233422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:40:13] local.INFO: TCP Data received {"connection_id":233422,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:40:13] local.INFO: Processing buffer {"connection_id":233422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:40:13] local.INFO: IMEI packet received {"connection_id":233422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":233422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:40:14] local.INFO: TCP Data received {"connection_id":233422,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:40:14] local.INFO: Processing buffer {"connection_id":233422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:40:14] local.INFO: Packet analysis {"connection_id":233422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:40:14] local.INFO: Extracted packet for processing {"connection_id":233422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:40:14] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":4,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228741888001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793862574000,"timestamp_ms":1793862574000,"timestamp_seconds":1793862574,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8a9fb0"} 
[2026-11-05 12: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-05 12:40: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-05 12: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 12:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12: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-05 12: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-05 12:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:40: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-05 12:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228741888001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228741888001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:40:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:40:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228741888001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":233422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:40:14] local.INFO: GPS data processed {"connection_id":233422,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:40:14] local.INFO: Acknowledgment sent {"connection_id":233422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:40:15] local.INFO: TCP Data received {"connection_id":233422,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:40:15] local.INFO: Processing buffer {"connection_id":233422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:40:15] local.INFO: Packet analysis {"connection_id":233422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:40:15] local.INFO: Extracted packet for processing {"connection_id":233422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:40:15] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":4,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 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-05 12:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228741888001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793862574000,"timestamp_ms":1793862574000,"timestamp_seconds":1793862574,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8a9fb0"} 
[2026-11-05 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-05 12:40: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-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 12:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 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-05 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-05 12:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:40: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-05 12:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228741888001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228741888001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:40:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:40:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228741888001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":233422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:40:15] local.INFO: GPS data processed {"connection_id":233422,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:40:15] local.INFO: Acknowledgment sent {"connection_id":233422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:40:26] local.INFO: TCP Data received {"connection_id":230188,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8a8c28012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8a8c28012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:40:26] local.INFO: Processing buffer {"connection_id":230188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8a8c28012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:40:26] local.INFO: Packet analysis {"connection_id":230188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:40:26] local.INFO: Extracted packet for processing {"connection_id":230188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:40:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228740608001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:40: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-05 12:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793862569000,"timestamp_ms":1793862569000,"timestamp_seconds":1793862569,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8a8c28"} 
[2026-11-05 12:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228740608001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228740608001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:40:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228740608001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":230188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62907,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:40:26] local.INFO: GPS data processed {"connection_id":230188,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:40:26] local.INFO: Acknowledgment sent {"connection_id":230188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:40:46] local.INFO: TCP Data received {"connection_id":233422,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:40:46] local.INFO: Processing buffer {"connection_id":233422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:40:46] local.INFO: Packet analysis {"connection_id":233422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:40:46] local.INFO: Extracted packet for processing {"connection_id":233422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:40:46] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":4,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 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-05 12:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228741888001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793862574000,"timestamp_ms":1793862574000,"timestamp_seconds":1793862574,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8a9fb0"} 
[2026-11-05 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-05 12:40: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-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 12:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 12:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":233422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":233422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":233422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:40: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-05 12:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228741888001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228741888001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:40:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:40:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228741888001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":233422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:40:46] local.INFO: GPS data processed {"connection_id":233422,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:40:46] local.INFO: Acknowledgment sent {"connection_id":233422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:40:53] local.INFO: TCP Data received {"connection_id":233423,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233423,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:40:53] local.INFO: Processing buffer {"connection_id":233423,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:40:53] local.INFO: IMEI packet received {"connection_id":233423,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":233423,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:41:01] local.INFO: TCP Data received {"connection_id":233423,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233423,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:41:01] local.INFO: Processing buffer {"connection_id":233423,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:41:01] local.INFO: IMEI packet received {"connection_id":233423,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":233423,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:41:02] local.INFO: TCP Data received {"connection_id":233423,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8a8c28012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8a8c28012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:41:02] local.INFO: Processing buffer {"connection_id":233423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8a8c28012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:41:02] local.INFO: Packet analysis {"connection_id":233423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:41:02] local.INFO: Extracted packet for processing {"connection_id":233423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:41:02] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228740608001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1793862569000,"timestamp_ms":1793862569000,"timestamp_seconds":1793862569,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8a8c28"} 
[2026-11-05 12:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":233423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":233423,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":233423,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228740608001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228740608001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:41:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228740608001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":233423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62909,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:41:02] local.INFO: GPS data processed {"connection_id":233423,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:41:02] local.INFO: Acknowledgment sent {"connection_id":233423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:41:03] local.INFO: TCP Data received {"connection_id":231516,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:41:03] local.INFO: Processing buffer {"connection_id":231516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:41:03] local.INFO: IMEI packet received {"connection_id":231516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":231516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:41:04] local.INFO: TCP Data received {"connection_id":233423,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8a8c28012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8a8c28012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:41:04] local.INFO: Processing buffer {"connection_id":233423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8a8c28012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:41:04] local.INFO: Packet analysis {"connection_id":233423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:41:04] local.INFO: Extracted packet for processing {"connection_id":233423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:41:04] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228740608001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793862569000,"timestamp_ms":1793862569000,"timestamp_seconds":1793862569,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8a8c28"} 
[2026-11-05 12:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":233423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":233423,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":233423,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228740608001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228740608001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:41:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228740608001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":233423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62910,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:41:04] local.INFO: GPS data processed {"connection_id":233423,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:41:04] local.INFO: Acknowledgment sent {"connection_id":233423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:41:09] local.INFO: TCP Data received {"connection_id":231516,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:41:09] local.INFO: Processing buffer {"connection_id":231516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:41:09] local.INFO: IMEI packet received {"connection_id":231516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":231516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:41:10] local.INFO: TCP Data received {"connection_id":231516,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:41:10] local.INFO: Processing buffer {"connection_id":231516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:41:10] local.INFO: Packet analysis {"connection_id":231516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:41:10] local.INFO: Extracted packet for processing {"connection_id":231516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:41:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":4,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228741888001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793862574000,"timestamp_ms":1793862574000,"timestamp_seconds":1793862574,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8a9fb0"} 
[2026-11-05 12:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 12:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:41:10] 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-05 12:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228741888001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228741888001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:41:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:41:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228741888001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":231516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:41:10] local.INFO: GPS data processed {"connection_id":231516,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:41:10] local.INFO: Acknowledgment sent {"connection_id":231516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:41:42] local.INFO: TCP Data received {"connection_id":231516,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:41:42] local.INFO: Processing buffer {"connection_id":231516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:41:42] local.INFO: Packet analysis {"connection_id":231516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:41:42] local.INFO: Extracted packet for processing {"connection_id":231516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:41:42] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":4,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228741888001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793862574000,"timestamp_ms":1793862574000,"timestamp_seconds":1793862574,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8a9fb0"} 
[2026-11-05 12:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:41: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-05 12:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 12:41: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-05 12:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:41: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-05 12:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228741888001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228741888001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:41:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:41:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228741888001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":231516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:41:42] local.INFO: GPS data processed {"connection_id":231516,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:41:42] local.INFO: Acknowledgment sent {"connection_id":231516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:41:49] local.INFO: TCP Data received {"connection_id":231517,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231517,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:41:49] local.INFO: Processing buffer {"connection_id":231517,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:41:49] local.INFO: IMEI packet received {"connection_id":231517,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":231517,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:41:54] local.INFO: TCP Data received {"connection_id":231517,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231517,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:41:54] local.INFO: Processing buffer {"connection_id":231517,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:41:54] local.INFO: IMEI packet received {"connection_id":231517,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":231517,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:41:55] local.INFO: TCP Data received {"connection_id":231517,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8a8c28012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8a8c28012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:41:55] local.INFO: Processing buffer {"connection_id":231517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8a8c28012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:41:55] local.INFO: Packet analysis {"connection_id":231517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:41:55] local.INFO: Extracted packet for processing {"connection_id":231517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:41:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228740608001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:41: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-05 12:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793862569000,"timestamp_ms":1793862569000,"timestamp_seconds":1793862569,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8a8c28"} 
[2026-11-05 12: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-05 12:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231517,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231517,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228740608001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228740608001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:41:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228740608001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":231517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62913,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:41:55] local.INFO: GPS data processed {"connection_id":231517,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:41:55] local.INFO: Acknowledgment sent {"connection_id":231517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:42:03] local.INFO: TCP Data received {"connection_id":229667,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:42:03] local.INFO: Processing buffer {"connection_id":229667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:42:03] local.INFO: IMEI packet received {"connection_id":229667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":229667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:42:09] local.INFO: TCP Data received {"connection_id":229667,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:42:09] local.INFO: Processing buffer {"connection_id":229667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:42:09] local.INFO: IMEI packet received {"connection_id":229667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":229667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:42:10] local.INFO: TCP Data received {"connection_id":229667,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:42:10] local.INFO: Processing buffer {"connection_id":229667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:42:10] local.INFO: Packet analysis {"connection_id":229667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:42:10] local.INFO: Extracted packet for processing {"connection_id":229667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:42:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":4,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228741888001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793862574000,"timestamp_ms":1793862574000,"timestamp_seconds":1793862574,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8a9fb0"} 
[2026-11-05 12:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 12:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:42:10] 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-05 12:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228741888001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228741888001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:42:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228741888001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:42:10] 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":62914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:42:10] local.INFO: GPS data processed {"connection_id":229667,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:42:10] local.INFO: Acknowledgment sent {"connection_id":229667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:42:26] local.INFO: TCP Data received {"connection_id":231517,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8a8c28012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8a8c28012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:42:26] local.INFO: Processing buffer {"connection_id":231517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8a8c28012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:42:26] local.INFO: Packet analysis {"connection_id":231517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:42:26] local.INFO: Extracted packet for processing {"connection_id":231517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:42:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228740608001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:42: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-05 12:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793862569000,"timestamp_ms":1793862569000,"timestamp_seconds":1793862569,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8a8c28"} 
[2026-11-05 12:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231517,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231517,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228740608001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228740608001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:42:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228740608001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":231517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62915,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:42:26] local.INFO: GPS data processed {"connection_id":231517,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:42:26] local.INFO: Acknowledgment sent {"connection_id":231517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:42:41] local.INFO: TCP Data received {"connection_id":229667,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:42:41] local.INFO: Processing buffer {"connection_id":229667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:42:41] local.INFO: Packet analysis {"connection_id":229667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:42:41] local.INFO: Extracted packet for processing {"connection_id":229667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:42:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":4,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228741888001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793862574000,"timestamp_ms":1793862574000,"timestamp_seconds":1793862574,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8a9fb0"} 
[2026-11-05 12: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-05 12: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-05 12:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 12:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:42:41] 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-05 12:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228741888001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228741888001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:42:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:42:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228741888001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:42:41] 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":62916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:42:41] local.INFO: GPS data processed {"connection_id":229667,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:42:41] local.INFO: Acknowledgment sent {"connection_id":229667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:42:49] local.INFO: TCP Data received {"connection_id":231518,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231518,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:42:49] local.INFO: Processing buffer {"connection_id":231518,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:42:49] local.INFO: IMEI packet received {"connection_id":231518,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":231518,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:42:54] local.INFO: TCP Data received {"connection_id":231518,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231518,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:42:54] local.INFO: Processing buffer {"connection_id":231518,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:42:54] local.INFO: IMEI packet received {"connection_id":231518,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":231518,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:42:55] local.INFO: TCP Data received {"connection_id":231518,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8a8c28012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8a8c28012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:42:55] local.INFO: Processing buffer {"connection_id":231518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8a8c28012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:42:55] local.INFO: Packet analysis {"connection_id":231518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:42:55] local.INFO: Extracted packet for processing {"connection_id":231518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:42:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228740608001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:42: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-05 12:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793862569000,"timestamp_ms":1793862569000,"timestamp_seconds":1793862569,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8a8c28"} 
[2026-11-05 12:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231518,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231518,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228740608001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228740608001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:42:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228740608001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":231518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62917,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:42:55] local.INFO: GPS data processed {"connection_id":231518,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:42:55] local.INFO: Acknowledgment sent {"connection_id":231518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:43:03] local.INFO: TCP Data received {"connection_id":230189,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:43:03] local.INFO: Processing buffer {"connection_id":230189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:43:03] local.INFO: IMEI packet received {"connection_id":230189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":230189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:43:09] local.INFO: TCP Data received {"connection_id":230189,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:43:09] local.INFO: Processing buffer {"connection_id":230189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:43:09] local.INFO: IMEI packet received {"connection_id":230189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":230189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:43:09] local.INFO: TCP Data received {"connection_id":230189,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:43:09] local.INFO: Processing buffer {"connection_id":230189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:43:09] local.INFO: Packet analysis {"connection_id":230189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:43:09] local.INFO: Extracted packet for processing {"connection_id":230189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:43:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":4,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228741888001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793862574000,"timestamp_ms":1793862574000,"timestamp_seconds":1793862574,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8a9fb0"} 
[2026-11-05 12:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 12:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 12:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:43:09] 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-05 12:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228741888001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228741888001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:43:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:43:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228741888001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":230189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:43:09] local.INFO: GPS data processed {"connection_id":230189,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:43:09] local.INFO: Acknowledgment sent {"connection_id":230189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:43:26] local.INFO: TCP Data received {"connection_id":231518,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8a8c28012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8a8c28012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:43:26] local.INFO: Processing buffer {"connection_id":231518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8a8c28012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:43:26] local.INFO: Packet analysis {"connection_id":231518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:43:26] local.INFO: Extracted packet for processing {"connection_id":231518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:43:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228740608001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:43: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-05 12:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793862569000,"timestamp_ms":1793862569000,"timestamp_seconds":1793862569,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8a8c28"} 
[2026-11-05 12:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:43:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231518,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231518,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228740608001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228740608001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:43:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228740608001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":231518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62919,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:43:26] local.INFO: GPS data processed {"connection_id":231518,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:43:26] local.INFO: Acknowledgment sent {"connection_id":231518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:43:41] local.INFO: TCP Data received {"connection_id":230189,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:43:41] local.INFO: Processing buffer {"connection_id":230189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:43:41] local.INFO: Packet analysis {"connection_id":230189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:43:41] local.INFO: Extracted packet for processing {"connection_id":230189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:43:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":4,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228741888001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793862574000,"timestamp_ms":1793862574000,"timestamp_seconds":1793862574,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8a9fb0"} 
[2026-11-05 12: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-05 12: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-05 12:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 12:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:43:41] 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-05 12:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228741888001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228741888001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:43:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:43:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228741888001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":230189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:43:41] local.INFO: GPS data processed {"connection_id":230189,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:43:41] local.INFO: Acknowledgment sent {"connection_id":230189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:43:48] local.INFO: TCP Data received {"connection_id":231519,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231519,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:43:48] local.INFO: Processing buffer {"connection_id":231519,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:43:48] local.INFO: IMEI packet received {"connection_id":231519,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":231519,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:43:53] local.INFO: TCP Data received {"connection_id":231519,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231519,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:43:53] local.INFO: Processing buffer {"connection_id":231519,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:43:53] local.INFO: IMEI packet received {"connection_id":231519,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":231519,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:43:54] local.INFO: TCP Data received {"connection_id":231519,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8a8c28012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8a8c28012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:43:54] local.INFO: Processing buffer {"connection_id":231519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8a8c28012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:43:54] local.INFO: Packet analysis {"connection_id":231519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:43:54] local.INFO: Extracted packet for processing {"connection_id":231519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:43:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228740608001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:43: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-05 12:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793862569000,"timestamp_ms":1793862569000,"timestamp_seconds":1793862569,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8a8c28"} 
[2026-11-05 12:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":231519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":231519,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":231519,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228740608001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228740608001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:43:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228740608001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":231519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62921,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:43:55] local.INFO: GPS data processed {"connection_id":231519,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:43:55] local.INFO: Acknowledgment sent {"connection_id":231519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:44:03] local.INFO: TCP Data received {"connection_id":231520,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:44:03] local.INFO: Processing buffer {"connection_id":231520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:44:03] local.INFO: IMEI packet received {"connection_id":231520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":231520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:44:09] local.INFO: TCP Data received {"connection_id":231520,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:44:09] local.INFO: Processing buffer {"connection_id":231520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:44:09] local.INFO: IMEI packet received {"connection_id":231520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":231520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:44:09] local.INFO: TCP Data received {"connection_id":231520,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:44:09] local.INFO: Processing buffer {"connection_id":231520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:44:09] local.INFO: Packet analysis {"connection_id":231520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:44:09] local.INFO: Extracted packet for processing {"connection_id":231520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:44:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":4,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:44: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-05 12:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228741888001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793862574000,"timestamp_ms":1793862574000,"timestamp_seconds":1793862574,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8a9fb0"} 
[2026-11-05 12:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 12:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 12:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:44: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-05 12:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:44:09] 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-05 12:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228741888001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228741888001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:44:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:44:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228741888001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":231520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:44:09] local.INFO: GPS data processed {"connection_id":231520,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:44:09] local.INFO: Acknowledgment sent {"connection_id":231520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:44:26] local.INFO: TCP Data received {"connection_id":231519,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8a8c28012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8a8c28012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:44:26] local.INFO: Processing buffer {"connection_id":231519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8a8c28012d0b10c00702a1800005014e1e..."} 
[2026-11-05 12:44:26] local.INFO: Packet analysis {"connection_id":231519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:44:26] local.INFO: Extracted packet for processing {"connection_id":231519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:44:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228740608001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:44: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-05 12:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793862569000,"timestamp_ms":1793862569000,"timestamp_seconds":1793862569,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8a8c28"} 
[2026-11-05 12:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231519,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231519,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228740608001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228740608001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:44:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228740608001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":231519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62923,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:44:26] local.INFO: GPS data processed {"connection_id":231519,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:44:26] local.INFO: Acknowledgment sent {"connection_id":231519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:44:41] local.INFO: TCP Data received {"connection_id":231520,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:44:41] local.INFO: Processing buffer {"connection_id":231520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8a9fb0012d7fad0005afe0480004004529..."} 
[2026-11-05 12:44:41] local.INFO: Packet analysis {"connection_id":231520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:44:41] local.INFO: Extracted packet for processing {"connection_id":231520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8a"} 
[2026-11-05 12:44:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":4,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228741888001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793862574000,"timestamp_ms":1793862574000,"timestamp_seconds":1793862574,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8a9fb0"} 
[2026-11-05 12: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-05 12:44: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-05 12:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 12:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:44:41] 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-05 12:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228741888001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228741888001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:44:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:44:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228741888001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":231520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:44:41] local.INFO: GPS data processed {"connection_id":231520,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:44:41] local.INFO: Acknowledgment sent {"connection_id":231520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:44:49] local.INFO: TCP Data received {"connection_id":230190,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230190,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:44:49] local.INFO: Processing buffer {"connection_id":230190,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:44:49] local.INFO: IMEI packet received {"connection_id":230190,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":230190,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:44:53] local.INFO: TCP Data received {"connection_id":230190,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230190,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:44:53] local.INFO: Processing buffer {"connection_id":230190,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:44:53] local.INFO: IMEI packet received {"connection_id":230190,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":230190,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:44:55] local.INFO: TCP Data received {"connection_id":230190,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8f23f0012d0b10c00702a1800001014e20..."} 
[2026-11-05 12:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8f23f0012d0b10c00702a1800001014e20..."} 
[2026-11-05 12:44:55] local.INFO: Processing buffer {"connection_id":230190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8f23f0012d0b10c00702a1800001014e20..."} 
[2026-11-05 12:44:55] local.INFO: Packet analysis {"connection_id":230190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:44:55] local.INFO: Extracted packet for processing {"connection_id":230190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:44:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":1,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228817664001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:44: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-05 12:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793862870000,"timestamp_ms":1793862870000,"timestamp_seconds":1793862870,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8f23f0"} 
[2026-11-05 12: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-05 12:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230190,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230190,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228817664001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228817664001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:44:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228817664001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":230190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62925,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:44:55] local.INFO: GPS data processed {"connection_id":230190,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:44:55] local.INFO: Acknowledgment sent {"connection_id":230190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:45:09] local.INFO: TCP Data received {"connection_id":233425,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:45:09] local.INFO: Processing buffer {"connection_id":233425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:45:09] local.INFO: IMEI packet received {"connection_id":233425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":233425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:45:14] local.INFO: TCP Data received {"connection_id":233425,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:45:14] local.INFO: Processing buffer {"connection_id":233425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:45:14] local.INFO: IMEI packet received {"connection_id":233425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":233425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:45:15] local.INFO: TCP Data received {"connection_id":233425,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:45:15] local.INFO: Processing buffer {"connection_id":233425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:45:15] local.INFO: Packet analysis {"connection_id":233425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:45:15] local.INFO: Extracted packet for processing {"connection_id":233425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:45:15] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":11,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228818944001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793862875000,"timestamp_ms":1793862875000,"timestamp_seconds":1793862875,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8f3778"} 
[2026-11-05 12: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-05 12:45: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-05 12:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12: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-05 12: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-05 12:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:45:15] 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-05 12:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228818944001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228818944001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:45:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:45:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228818944001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":233425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:45:15] local.INFO: GPS data processed {"connection_id":233425,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:45:15] local.INFO: Acknowledgment sent {"connection_id":233425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:45:16] local.INFO: TCP Data received {"connection_id":233425,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:45:16] local.INFO: Processing buffer {"connection_id":233425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:45:16] local.INFO: Packet analysis {"connection_id":233425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:45:16] local.INFO: Extracted packet for processing {"connection_id":233425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:45:16] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":11,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228818944001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793862875000,"timestamp_ms":1793862875000,"timestamp_seconds":1793862875,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8f3778"} 
[2026-11-05 12: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-05 12:45: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-05 12:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:45: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-05 12: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-05 12: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-05 12:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":233425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":233425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":233425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:45:16] 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-05 12:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228818944001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228818944001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:45:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:45:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228818944001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":233425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:45:16] local.INFO: GPS data processed {"connection_id":233425,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:45:16] local.INFO: Acknowledgment sent {"connection_id":233425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:45:27] local.INFO: TCP Data received {"connection_id":230190,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8f23f0012d0b10c00702a1800001014e20..."} 
[2026-11-05 12:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8f23f0012d0b10c00702a1800001014e20..."} 
[2026-11-05 12:45:27] local.INFO: Processing buffer {"connection_id":230190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8f23f0012d0b10c00702a1800001014e20..."} 
[2026-11-05 12:45:27] local.INFO: Packet analysis {"connection_id":230190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:45:27] local.INFO: Extracted packet for processing {"connection_id":230190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:45:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":1,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228817664001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:45:27] 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-05 12:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793862870000,"timestamp_ms":1793862870000,"timestamp_seconds":1793862870,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8f23f0"} 
[2026-11-05 12:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:45:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:45:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:45:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":230190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":230190,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":230190,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228817664001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228817664001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:45:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228817664001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":230190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62928,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:45:28] local.INFO: GPS data processed {"connection_id":230190,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:45:28] local.INFO: Acknowledgment sent {"connection_id":230190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:45:41] local.INFO: TCP Data received {"connection_id":230191,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230191,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:45:41] local.INFO: Processing buffer {"connection_id":230191,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:45:41] local.INFO: IMEI packet received {"connection_id":230191,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 12:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":230191,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:45:46] local.INFO: TCP Data received {"connection_id":230191,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230191,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:45:46] local.INFO: Processing buffer {"connection_id":230191,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:45:46] local.INFO: IMEI packet received {"connection_id":230191,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 12:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":230191,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:45:47] local.INFO: TCP Data received {"connection_id":233425,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:45:47] local.INFO: Processing buffer {"connection_id":233425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:45:47] local.INFO: Packet analysis {"connection_id":233425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:45:47] local.INFO: Extracted packet for processing {"connection_id":233425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:45:47] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":11,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228818944001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793862875000,"timestamp_ms":1793862875000,"timestamp_seconds":1793862875,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8f3778"} 
[2026-11-05 12: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-05 12:45: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-05 12:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:45: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-05 12: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-05 12: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-05 12:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":233425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":233425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":233425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:45: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-05 12:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228818944001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228818944001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:45:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:45:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228818944001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":233425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:45:47] local.INFO: GPS data processed {"connection_id":233425,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:45:47] local.INFO: Acknowledgment sent {"connection_id":233425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:45:48] local.INFO: TCP Data received {"connection_id":230191,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8e83c8012d3c8940069dd7c80035008b30..."} 
[2026-11-05 12:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8e83c8012d3c8940069dd7c80035008b30..."} 
[2026-11-05 12:45:48] local.INFO: Processing buffer {"connection_id":230191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8e83c8012d3c8940069dd7c80035008b30..."} 
[2026-11-05 12:45:48] local.INFO: Packet analysis {"connection_id":230191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8e"} 
[2026-11-05 12:45:48] local.INFO: Extracted packet for processing {"connection_id":230191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8e"} 
[2026-11-05 12:45:48] local.INFO: GPS Element Parsed {"raw_longitude":758942016,"raw_latitude":111007688,"longitude_deg":75.8942016,"latitude_deg":11.1007688,"altitude":53,"angle":139,"satellites":48,"speed":58,"hex_longitude":"2d3c8940","hex_latitude":"069dd7c8","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228877312001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 12:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4336684994609477632,"note":"Value kept but may cause issues"} 
[2026-11-05 12:45: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-05 12:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793862829000,"timestamp_ms":1793862829000,"timestamp_seconds":1793862829,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8e83c8"} 
[2026-11-05 12: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-05 12:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 12: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":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-11-05 12:45: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-05 12: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-05 12: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-05 12:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230191,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230191,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 12:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 12:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228877312001,"66":28006,"19":48128,"24":58,"16":20804383495159808,"45":4336684994609477632},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-11-05 12:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 12:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 12:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228877312001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:45:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 12:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4336684994609477632,"description":"Unknown IO ID 45"} 
[2026-11-05 12:45:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459228877312001,"power":28006,"unknown_19":48128,"ignition":58,"odometer":null,"unknown_45":4336684994609477632}} 
[2026-11-05 12:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":230191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62930,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:45:48] local.INFO: GPS data processed {"connection_id":230191,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:45:48] local.INFO: Acknowledgment sent {"connection_id":230191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:45:48] local.INFO: TCP Data received {"connection_id":231521,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231521,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:45:48] local.INFO: Processing buffer {"connection_id":231521,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:45:48] local.INFO: IMEI packet received {"connection_id":231521,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":231521,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:45:54] local.INFO: TCP Data received {"connection_id":231521,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231521,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:45:54] local.INFO: Processing buffer {"connection_id":231521,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:45:54] local.INFO: IMEI packet received {"connection_id":231521,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":231521,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:45:55] local.INFO: TCP Data received {"connection_id":231521,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8f23f0012d0b10c00702a1800001014e20..."} 
[2026-11-05 12:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8f23f0012d0b10c00702a1800001014e20..."} 
[2026-11-05 12:45:55] local.INFO: Processing buffer {"connection_id":231521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8f23f0012d0b10c00702a1800001014e20..."} 
[2026-11-05 12:45:55] local.INFO: Packet analysis {"connection_id":231521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:45:55] local.INFO: Extracted packet for processing {"connection_id":231521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:45:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":1,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228817664001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:45: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-05 12:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793862870000,"timestamp_ms":1793862870000,"timestamp_seconds":1793862870,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8f23f0"} 
[2026-11-05 12: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-05 12:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231521,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231521,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228817664001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228817664001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:45:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228817664001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":231521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62931,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:45:55] local.INFO: GPS data processed {"connection_id":231521,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:45:55] local.INFO: Acknowledgment sent {"connection_id":231521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:46:03] local.INFO: TCP Data received {"connection_id":233426,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:46:03] local.INFO: Processing buffer {"connection_id":233426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:46:03] local.INFO: IMEI packet received {"connection_id":233426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":233426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:46:09] local.INFO: TCP Data received {"connection_id":233426,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:46:09] local.INFO: Processing buffer {"connection_id":233426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:46:09] local.INFO: IMEI packet received {"connection_id":233426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":233426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:46:09] local.INFO: TCP Data received {"connection_id":233426,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:46:09] local.INFO: Processing buffer {"connection_id":233426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:46:09] local.INFO: Packet analysis {"connection_id":233426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:46:09] local.INFO: Extracted packet for processing {"connection_id":233426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:46:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":11,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228818944001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793862875000,"timestamp_ms":1793862875000,"timestamp_seconds":1793862875,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8f3778"} 
[2026-11-05 12:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 12:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:46:09] 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-05 12:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228818944001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228818944001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:46:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:46:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228818944001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":233426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:46:09] local.INFO: GPS data processed {"connection_id":233426,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:46:09] local.INFO: Acknowledgment sent {"connection_id":233426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:46:12] local.INFO: TCP Data received {"connection_id":229668,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:46:12] local.INFO: Processing buffer {"connection_id":229668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:46:12] local.INFO: IMEI packet received {"connection_id":229668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 12:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":229668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:46:16] local.INFO: TCP Data received {"connection_id":229668,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:46:16] local.INFO: Processing buffer {"connection_id":229668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:46:16] local.INFO: IMEI packet received {"connection_id":229668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 12:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":229668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:46:17] local.INFO: TCP Data received {"connection_id":229668,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8ec248012d3cd000069d9dd00032007f30..."} 
[2026-11-05 12:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8ec248012d3cd000069d9dd00032007f30..."} 
[2026-11-05 12:46:17] local.INFO: Processing buffer {"connection_id":229668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8ec248012d3cd000069d9dd00032007f30..."} 
[2026-11-05 12:46:17] local.INFO: Packet analysis {"connection_id":229668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8e"} 
[2026-11-05 12:46:17] local.INFO: Extracted packet for processing {"connection_id":229668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8e"} 
[2026-11-05 12:46:17] local.INFO: GPS Element Parsed {"raw_longitude":758960128,"raw_latitude":110992848,"longitude_deg":75.8960128,"latitude_deg":11.0992848,"altitude":50,"angle":127,"satellites":48,"speed":57,"hex_longitude":"2d3cd000","hex_latitude":"069d9dd0","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228884224001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 12:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4362088111247181824,"note":"Value kept but may cause issues"} 
[2026-11-05 12:46: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-05 12:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793862845000,"timestamp_ms":1793862845000,"timestamp_seconds":1793862845,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8ec248"} 
[2026-11-05 12: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-05 12:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 12: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-05 12:46: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-05 12: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-05 12: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-05 12:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229668,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229668,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 12:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 12:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228884224001,"66":28137,"19":48128,"24":57,"16":20804383495159808,"45":4362088111247181824},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-11-05 12:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 12:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 12:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228884224001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:46:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 12:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4362088111247181824,"description":"Unknown IO ID 45"} 
[2026-11-05 12:46:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459228884224001,"power":28137,"unknown_19":48128,"ignition":57,"odometer":null,"unknown_45":4362088111247181824}} 
[2026-11-05 12:46:17] 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":62933,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:46:17] local.INFO: GPS data processed {"connection_id":229668,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:46:17] local.INFO: Acknowledgment sent {"connection_id":229668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:46:26] local.INFO: TCP Data received {"connection_id":231521,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8f23f0012d0b10c00702a1800001014e20..."} 
[2026-11-05 12:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8f23f0012d0b10c00702a1800001014e20..."} 
[2026-11-05 12:46:26] local.INFO: Processing buffer {"connection_id":231521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8f23f0012d0b10c00702a1800001014e20..."} 
[2026-11-05 12:46:26] local.INFO: Packet analysis {"connection_id":231521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:46:26] local.INFO: Extracted packet for processing {"connection_id":231521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:46:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":1,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228817664001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:46: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-05 12:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793862870000,"timestamp_ms":1793862870000,"timestamp_seconds":1793862870,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8f23f0"} 
[2026-11-05 12: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-05 12:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231521,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231521,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228817664001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228817664001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:46:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228817664001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":231521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62934,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:46:27] local.INFO: GPS data processed {"connection_id":231521,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:46:27] local.INFO: Acknowledgment sent {"connection_id":231521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:46:40] local.INFO: TCP Data received {"connection_id":233426,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:46:40] local.INFO: Processing buffer {"connection_id":233426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:46:40] local.INFO: Packet analysis {"connection_id":233426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:46:40] local.INFO: Extracted packet for processing {"connection_id":233426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:46:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":11,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228818944001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793862875000,"timestamp_ms":1793862875000,"timestamp_seconds":1793862875,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8f3778"} 
[2026-11-05 12: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-05 12:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 12:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:46: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-05 12: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-05 12: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-05 12:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:46:40] 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-05 12:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228818944001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228818944001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:46:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:46:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228818944001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":233426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:46:40] local.INFO: GPS data processed {"connection_id":233426,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:46:40] local.INFO: Acknowledgment sent {"connection_id":233426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:46:50] local.INFO: TCP Data received {"connection_id":229668,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8f00c8012d3cfe40069d5560003700a72f..."} 
[2026-11-05 12:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8f00c8012d3cfe40069d5560003700a72f..."} 
[2026-11-05 12:46:50] local.INFO: Processing buffer {"connection_id":229668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8f00c8012d3cfe40069d5560003700a72f..."} 
[2026-11-05 12:46:50] local.INFO: Packet analysis {"connection_id":229668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:46:50] local.INFO: Extracted packet for processing {"connection_id":229668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:46:50] local.INFO: GPS Element Parsed {"raw_longitude":758971968,"raw_latitude":110974304,"longitude_deg":75.8971968,"latitude_deg":11.0974304,"altitude":55,"angle":167,"satellites":47,"speed":56,"hex_longitude":"2d3cfe40","hex_latitude":"069d5560","is_valid_coordinates":true} 
[2026-11-05 12:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228888320001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 12:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4382002465845661696,"note":"Value kept but may cause issues"} 
[2026-11-05 12:46: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-05 12:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793862861000,"timestamp_ms":1793862861000,"timestamp_seconds":1793862861,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8f00c8"} 
[2026-11-05 12:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 12:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 12:46:50] 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-05 12:46:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229668,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229668,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 12:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 12:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228888320001,"66":28148,"19":48128,"24":56,"16":20804383495159808,"45":4382002465845661696},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-11-05 12:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 12:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 12:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228888320001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:46:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 12:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":4382002465845661696,"description":"Unknown IO ID 45"} 
[2026-11-05 12:46:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459228888320001,"power":28148,"unknown_19":48128,"ignition":56,"odometer":null,"unknown_45":4382002465845661696}} 
[2026-11-05 12:46:50] 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":62936,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:46:50] local.INFO: GPS data processed {"connection_id":229668,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:46:50] local.INFO: Acknowledgment sent {"connection_id":229668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:46:53] local.INFO: TCP Data received {"connection_id":230192,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230192,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:46:53] local.INFO: Processing buffer {"connection_id":230192,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:46:53] local.INFO: IMEI packet received {"connection_id":230192,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":230192,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:47:01] local.INFO: TCP Data received {"connection_id":230192,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230192,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:47:01] local.INFO: Processing buffer {"connection_id":230192,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:47:01] local.INFO: IMEI packet received {"connection_id":230192,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":230192,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:47:02] local.INFO: TCP Data received {"connection_id":230192,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8f23f0012d0b10c00702a1800001014e20..."} 
[2026-11-05 12:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8f23f0012d0b10c00702a1800001014e20..."} 
[2026-11-05 12:47:02] local.INFO: Processing buffer {"connection_id":230192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8f23f0012d0b10c00702a1800001014e20..."} 
[2026-11-05 12:47:02] local.INFO: Packet analysis {"connection_id":230192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:47:02] local.INFO: Extracted packet for processing {"connection_id":230192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:47:02] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":1,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228817664001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1793862870000,"timestamp_ms":1793862870000,"timestamp_seconds":1793862870,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8f23f0"} 
[2026-11-05 12:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:47:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":230192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":230192,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":230192,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228817664001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228817664001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:47:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228817664001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":230192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62937,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:47:02] local.INFO: GPS data processed {"connection_id":230192,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:47:02] local.INFO: Acknowledgment sent {"connection_id":230192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:47:03] local.INFO: TCP Data received {"connection_id":229669,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:47:03] local.INFO: Processing buffer {"connection_id":229669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:47:03] local.INFO: IMEI packet received {"connection_id":229669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":229669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:47:09] local.INFO: TCP Data received {"connection_id":229669,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:47:09] local.INFO: Processing buffer {"connection_id":229669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:47:09] local.INFO: IMEI packet received {"connection_id":229669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":229669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:47:09] local.INFO: TCP Data received {"connection_id":229669,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:47:09] local.INFO: Processing buffer {"connection_id":229669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:47:09] local.INFO: Packet analysis {"connection_id":229669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:47:09] local.INFO: Extracted packet for processing {"connection_id":229669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:47:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":11,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228818944001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793862875000,"timestamp_ms":1793862875000,"timestamp_seconds":1793862875,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8f3778"} 
[2026-11-05 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-05 12:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 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-05 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-05 12:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:47:09] 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-05 12:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228818944001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228818944001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:47:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:47:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228818944001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:47:09] 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":62938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:47:09] local.INFO: GPS data processed {"connection_id":229669,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:47:09] local.INFO: Acknowledgment sent {"connection_id":229669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:47:11] local.INFO: TCP Data received {"connection_id":231522,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:47:11] local.INFO: Processing buffer {"connection_id":231522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:47:11] local.INFO: IMEI packet received {"connection_id":231522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 12:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":231522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:47:12] local.INFO: TCP Data received {"connection_id":231522,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:47:12] local.INFO: Processing buffer {"connection_id":231522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:47:12] local.INFO: IMEI packet received {"connection_id":231522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 12:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":231522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:47:14] local.INFO: TCP Data received {"connection_id":231522,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8f52d0012d3d0fc0069cfcb8003700a82f..."} 
[2026-11-05 12:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8f52d0012d3d0fc0069cfcb8003700a82f..."} 
[2026-11-05 12:47:14] local.INFO: Processing buffer {"connection_id":231522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8f52d0012d3d0fc0069cfcb8003700a82f..."} 
[2026-11-05 12:47:14] local.INFO: Packet analysis {"connection_id":231522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:47:14] local.INFO: Extracted packet for processing {"connection_id":231522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:47:14] local.INFO: GPS Element Parsed {"raw_longitude":758976448,"raw_latitude":110951608,"longitude_deg":75.8976448,"latitude_deg":11.0951608,"altitude":55,"angle":168,"satellites":47,"speed":0,"hex_longitude":"2d3d0fc0","hex_latitude":"069cfcb8","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228892416001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 12:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4395020683513782272,"note":"Value kept but may cause issues"} 
[2026-11-05 12:47: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-05 12:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793862882000,"timestamp_ms":1793862882000,"timestamp_seconds":1793862882,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8f52d0"} 
[2026-11-05 12: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-05 12:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 12: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":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-11-05 12:47: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-05 12: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-05 12: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-05 12:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":231522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":231522,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":231522,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 12:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 12:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228892416001,"66":28354,"19":48128,"24":0,"16":20804383495159808,"45":4395020683513782272},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-11-05 12:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 12:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 12:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228892416001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:47:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 12:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4395020683513782272,"description":"Unknown IO ID 45"} 
[2026-11-05 12:47:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459228892416001,"power":28354,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4395020683513782272}} 
[2026-11-05 12:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":231522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62939,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:47:14] local.INFO: GPS data processed {"connection_id":231522,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:47:14] local.INFO: Acknowledgment sent {"connection_id":231522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:47:17] local.INFO: TCP Data received {"connection_id":231522,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8f7dc8012d3d34c0069ca9f0003300932f..."} 
[2026-11-05 12:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8f7dc8012d3d34c0069ca9f0003300932f..."} 
[2026-11-05 12:47:17] local.INFO: Processing buffer {"connection_id":231522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8f7dc8012d3d34c0069ca9f0003300932f..."} 
[2026-11-05 12:47:17] local.INFO: Packet analysis {"connection_id":231522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:47:17] local.INFO: Extracted packet for processing {"connection_id":231522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:47:17] local.INFO: GPS Element Parsed {"raw_longitude":758985920,"raw_latitude":110930416,"longitude_deg":75.898592,"latitude_deg":11.0930416,"altitude":51,"angle":147,"satellites":47,"speed":61,"hex_longitude":"2d3d34c0","hex_latitude":"069ca9f0","is_valid_coordinates":true} 
[2026-11-05 12:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228897792001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 12:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4399946495600408576,"note":"Value kept but may cause issues"} 
[2026-11-05 12:47: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-05 12:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793862893000,"timestamp_ms":1793862893000,"timestamp_seconds":1793862893,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8f7dc8"} 
[2026-11-05 12:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 12:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-05 12:47: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-05 12:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":231522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":231522,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":231522,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 12:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 12:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228897792001,"66":28148,"19":48128,"24":61,"16":20804383495159808,"45":4399946495600408576},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-11-05 12:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 12:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 12:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228897792001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:47:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 12:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4399946495600408576,"description":"Unknown IO ID 45"} 
[2026-11-05 12:47:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459228897792001,"power":28148,"unknown_19":48128,"ignition":61,"odometer":null,"unknown_45":4399946495600408576}} 
[2026-11-05 12:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":231522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62940,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:47:17] local.INFO: GPS data processed {"connection_id":231522,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:47:17] local.INFO: Acknowledgment sent {"connection_id":231522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:47:34] local.INFO: TCP Data received {"connection_id":230192,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8f23f0012d0b10c00702a1800001014e20..."} 
[2026-11-05 12:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8f23f0012d0b10c00702a1800001014e20..."} 
[2026-11-05 12:47:34] local.INFO: Processing buffer {"connection_id":230192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8f23f0012d0b10c00702a1800001014e20..."} 
[2026-11-05 12:47:34] local.INFO: Packet analysis {"connection_id":230192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:47:34] local.INFO: Extracted packet for processing {"connection_id":230192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:47:34] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":1,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228817664001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793862870000,"timestamp_ms":1793862870000,"timestamp_seconds":1793862870,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8f23f0"} 
[2026-11-05 12:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":230192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":230192,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":230192,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228817664001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228817664001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:47:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228817664001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":230192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62941,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:47:34] local.INFO: GPS data processed {"connection_id":230192,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:47:34] local.INFO: Acknowledgment sent {"connection_id":230192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:47:41] local.INFO: TCP Data received {"connection_id":229669,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:47:41] local.INFO: Processing buffer {"connection_id":229669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:47:41] local.INFO: Packet analysis {"connection_id":229669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:47:41] local.INFO: Extracted packet for processing {"connection_id":229669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:47:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":11,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228818944001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793862875000,"timestamp_ms":1793862875000,"timestamp_seconds":1793862875,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8f3778"} 
[2026-11-05 12: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-05 12:47: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-05 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:47:41] 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-05 12:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228818944001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228818944001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:47:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:47:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228818944001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:47:41] 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":62942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:47:41] local.INFO: GPS data processed {"connection_id":229669,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:47:41] local.INFO: Acknowledgment sent {"connection_id":229669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:47:49] local.INFO: TCP Data received {"connection_id":231523,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231523,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:47:49] local.INFO: Processing buffer {"connection_id":231523,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:47:49] local.INFO: IMEI packet received {"connection_id":231523,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":231523,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:47:49] local.INFO: TCP Data received {"connection_id":231522,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8fbc48012d3d5c40069c54d0002d00a42e..."} 
[2026-11-05 12:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8fbc48012d3d5c40069c54d0002d00a42e..."} 
[2026-11-05 12:47:49] local.INFO: Processing buffer {"connection_id":231522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8fbc48012d3d5c40069c54d0002d00a42e..."} 
[2026-11-05 12:47:49] local.INFO: Packet analysis {"connection_id":231522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:47:49] local.INFO: Extracted packet for processing {"connection_id":231522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:47:49] local.INFO: GPS Element Parsed {"raw_longitude":758996032,"raw_latitude":110908624,"longitude_deg":75.8996032,"latitude_deg":11.0908624,"altitude":45,"angle":164,"satellites":46,"speed":59,"hex_longitude":"2d3d5c40","hex_latitude":"069c54d0","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228900608001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 12:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4410361069733277696,"note":"Value kept but may cause issues"} 
[2026-11-05 12:47:49] 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-05 12:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793862909000,"timestamp_ms":1793862909000,"timestamp_seconds":1793862909,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8fbc48"} 
[2026-11-05 12: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-05 12:47: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-05 12: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":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-11-05 12:47: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-05 12: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-05 12: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-05 12:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":231522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":231522,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":231522,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 12:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 12:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228900608001,"66":28137,"81":206,"19":48128,"24":59,"16":20804383495159808,"45":4410361069733277696},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,19,24,16,45]} 
[2026-11-05 12:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 12:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 12:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228900608001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:47:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-11-05 12:47:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 12:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4410361069733277696,"description":"Unknown IO ID 45"} 
[2026-11-05 12:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228900608001,"power":28137,"unknown_81":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":4410361069733277696}} 
[2026-11-05 12:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":231522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62943,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:47:49] local.INFO: GPS data processed {"connection_id":231522,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:47:49] local.INFO: Acknowledgment sent {"connection_id":231522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:47:54] local.INFO: TCP Data received {"connection_id":231523,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231523,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:47:54] local.INFO: Processing buffer {"connection_id":231523,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:47:54] local.INFO: IMEI packet received {"connection_id":231523,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":231523,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:47:54] local.INFO: TCP Data received {"connection_id":231523,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8f23f0012d0b10c00702a1800001014e20..."} 
[2026-11-05 12:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8f23f0012d0b10c00702a1800001014e20..."} 
[2026-11-05 12:47:54] local.INFO: Processing buffer {"connection_id":231523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8f23f0012d0b10c00702a1800001014e20..."} 
[2026-11-05 12:47:54] local.INFO: Packet analysis {"connection_id":231523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:47:54] local.INFO: Extracted packet for processing {"connection_id":231523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:47:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":1,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228817664001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:47: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-05 12:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793862870000,"timestamp_ms":1793862870000,"timestamp_seconds":1793862870,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8f23f0"} 
[2026-11-05 12:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:47:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:47:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":231523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":231523,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":231523,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228817664001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228817664001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:47:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228817664001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":231523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62944,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:47:55] local.INFO: GPS data processed {"connection_id":231523,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:47:55] local.INFO: Acknowledgment sent {"connection_id":231523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:48:03] local.INFO: TCP Data received {"connection_id":229670,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:48:03] local.INFO: Processing buffer {"connection_id":229670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:48:03] local.INFO: IMEI packet received {"connection_id":229670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":229670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:48:06] local.INFO: TCP Data received {"connection_id":230193,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:48:06] local.INFO: Processing buffer {"connection_id":230193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:48:06] local.INFO: IMEI packet received {"connection_id":230193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 12:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":230193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:48:09] local.INFO: TCP Data received {"connection_id":230193,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:48:09] local.INFO: Processing buffer {"connection_id":230193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:48:09] local.INFO: IMEI packet received {"connection_id":230193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 12:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":230193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:48:10] local.INFO: TCP Data received {"connection_id":230193,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa900e50012d3d7680069bfcc0002a00a42f..."} 
[2026-11-05 12:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa900e50012d3d7680069bfcc0002a00a42f..."} 
[2026-11-05 12:48:10] local.INFO: Processing buffer {"connection_id":230193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa900e50012d3d7680069bfcc0002a00a42f..."} 
[2026-11-05 12:48:10] local.INFO: Packet analysis {"connection_id":230193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa90"} 
[2026-11-05 12:48:10] local.INFO: Extracted packet for processing {"connection_id":230193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa90"} 
[2026-11-05 12:48:10] local.INFO: GPS Element Parsed {"raw_longitude":759002752,"raw_latitude":110886080,"longitude_deg":75.9002752,"latitude_deg":11.088608,"altitude":42,"angle":164,"satellites":47,"speed":0,"hex_longitude":"2d3d7680","hex_latitude":"069bfcc0","is_valid_coordinates":true} 
[2026-11-05 12:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228904704001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 12:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4421479331307769856,"note":"Value kept but may cause issues"} 
[2026-11-05 12:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793862930000,"timestamp_ms":1793862930000,"timestamp_seconds":1793862930,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa900e50"} 
[2026-11-05 12:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 12:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 12:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230193,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230193,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 12:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 12:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228904704001,"66":28332,"81":206,"19":48128,"24":0,"16":20804383495159808,"45":4421479331307769856},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,19,24,16,45]} 
[2026-11-05 12:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 12:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 12:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228904704001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:48:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-11-05 12:48:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 12:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4421479331307769856,"description":"Unknown IO ID 45"} 
[2026-11-05 12:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228904704001,"power":28332,"unknown_81":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4421479331307769856}} 
[2026-11-05 12:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":230193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62945,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:48:10] local.INFO: GPS data processed {"connection_id":230193,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:48:10] local.INFO: Acknowledgment sent {"connection_id":230193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:48:13] local.INFO: TCP Data received {"connection_id":229670,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:48:13] local.INFO: Processing buffer {"connection_id":229670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:48:13] local.INFO: IMEI packet received {"connection_id":229670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":229670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:48:14] local.INFO: TCP Data received {"connection_id":229670,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:48:14] local.INFO: Processing buffer {"connection_id":229670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:48:14] local.INFO: Packet analysis {"connection_id":229670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:48:14] local.INFO: Extracted packet for processing {"connection_id":229670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:48:14] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":11,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228818944001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793862875000,"timestamp_ms":1793862875000,"timestamp_seconds":1793862875,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8f3778"} 
[2026-11-05 12: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-05 12:48: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-05 12:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:48:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:48: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-05 12:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228818944001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228818944001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:48:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:48:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228818944001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:48:14] 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":62946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:48:14] local.INFO: GPS data processed {"connection_id":229670,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:48:14] local.INFO: Acknowledgment sent {"connection_id":229670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:48:26] local.INFO: TCP Data received {"connection_id":231523,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8f23f0012d0b10c00702a1800001014e20..."} 
[2026-11-05 12:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8f23f0012d0b10c00702a1800001014e20..."} 
[2026-11-05 12:48:26] local.INFO: Processing buffer {"connection_id":231523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8f23f0012d0b10c00702a1800001014e20..."} 
[2026-11-05 12:48:26] local.INFO: Packet analysis {"connection_id":231523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:48:26] local.INFO: Extracted packet for processing {"connection_id":231523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:48:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":1,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228817664001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:48: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-05 12:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793862870000,"timestamp_ms":1793862870000,"timestamp_seconds":1793862870,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8f23f0"} 
[2026-11-05 12: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-05 12:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:48:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231523,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231523,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:48:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228817664001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228817664001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:48:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228817664001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":231523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62947,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:48:26] local.INFO: GPS data processed {"connection_id":231523,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:48:26] local.INFO: Acknowledgment sent {"connection_id":231523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:48:45] local.INFO: TCP Data received {"connection_id":229670,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:48:45] local.INFO: Processing buffer {"connection_id":229670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:48:45] local.INFO: Packet analysis {"connection_id":229670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:48:45] local.INFO: Extracted packet for processing {"connection_id":229670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:48:45] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":11,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228818944001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793862875000,"timestamp_ms":1793862875000,"timestamp_seconds":1793862875,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8f3778"} 
[2026-11-05 12: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-05 12:48: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-05 12:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:48: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-05 12: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-05 12: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-05 12:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12: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-05 12:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228818944001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228818944001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:48:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:48:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228818944001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:48:45] 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":62948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:48:45] local.INFO: GPS data processed {"connection_id":229670,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:48:45] local.INFO: Acknowledgment sent {"connection_id":229670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:48:48] local.INFO: TCP Data received {"connection_id":231524,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231524,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:48:48] local.INFO: Processing buffer {"connection_id":231524,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:48:48] local.INFO: IMEI packet received {"connection_id":231524,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":231524,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:48:56] local.INFO: TCP Data received {"connection_id":231524,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231524,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:48:56] local.INFO: Processing buffer {"connection_id":231524,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:48:56] local.INFO: IMEI packet received {"connection_id":231524,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":231524,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:48:57] local.INFO: TCP Data received {"connection_id":231524,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8f23f0012d0b10c00702a1800001014e20..."} 
[2026-11-05 12:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8f23f0012d0b10c00702a1800001014e20..."} 
[2026-11-05 12:48:57] local.INFO: Processing buffer {"connection_id":231524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8f23f0012d0b10c00702a1800001014e20..."} 
[2026-11-05 12:48:57] local.INFO: Packet analysis {"connection_id":231524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:48:57] local.INFO: Extracted packet for processing {"connection_id":231524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:48:57] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":1,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228817664001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:48:57] 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-05 12:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1793862870000,"timestamp_ms":1793862870000,"timestamp_seconds":1793862870,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8f23f0"} 
[2026-11-05 12:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":231524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":231524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":231524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228817664001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228817664001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:48:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228817664001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":231524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62949,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:48:57] local.INFO: GPS data processed {"connection_id":231524,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:48:57] local.INFO: Acknowledgment sent {"connection_id":231524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:49:09] local.INFO: TCP Data received {"connection_id":233427,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:49:09] local.INFO: Processing buffer {"connection_id":233427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:49:09] local.INFO: IMEI packet received {"connection_id":233427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":233427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:49:13] local.INFO: TCP Data received {"connection_id":233427,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:49:13] local.INFO: Processing buffer {"connection_id":233427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:49:13] local.INFO: IMEI packet received {"connection_id":233427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":233427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:49:14] local.INFO: TCP Data received {"connection_id":233427,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:49:14] local.INFO: Processing buffer {"connection_id":233427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:49:14] local.INFO: Packet analysis {"connection_id":233427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:49:14] local.INFO: Extracted packet for processing {"connection_id":233427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:49:14] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":11,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228818944001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793862875000,"timestamp_ms":1793862875000,"timestamp_seconds":1793862875,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8f3778"} 
[2026-11-05 12: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-05 12:49: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-05 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:49:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:49: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-05 12:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228818944001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228818944001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:49:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:49:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228818944001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":233427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:49:14] local.INFO: GPS data processed {"connection_id":233427,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:49:14] local.INFO: Acknowledgment sent {"connection_id":233427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:49:15] local.INFO: TCP Data received {"connection_id":230193,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa90f0e00100000000000000000000000000..."} 
[2026-11-05 12:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa90f0e00100000000000000000000000000..."} 
[2026-11-05 12:49:15] local.INFO: Processing buffer {"connection_id":230193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa90f0e00100000000000000000000000000..."} 
[2026-11-05 12:49:15] local.INFO: Packet analysis {"connection_id":230193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa90"} 
[2026-11-05 12:49:15] local.INFO: Extracted packet for processing {"connection_id":230193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa90"} 
[2026-11-05 12: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-05 12: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-05 12:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228910080001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 12:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4428868049440653312,"note":"Value kept but may cause issues"} 
[2026-11-05 12:49:15] 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-05 12:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793862988000,"timestamp_ms":1793862988000,"timestamp_seconds":1793862988,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa90f0e0"} 
[2026-11-05 12: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-05 12:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-05 12: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":172,"data_length":795,"current_offset":136} 
[2026-11-05 12:49: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-05 12: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-05 12: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-05 12:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230193,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230193,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 12:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 12:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":230193,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 12:49:15] local.INFO: GPS data processed {"connection_id":230193,"processed":0,"errors":0,"total":1} 
[2026-11-05 12:49:15] local.INFO: Acknowledgment sent {"connection_id":230193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:49:19] local.INFO: TCP Data received {"connection_id":233427,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:49:19] local.INFO: Processing buffer {"connection_id":233427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:49:19] local.INFO: Packet analysis {"connection_id":233427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:49:19] local.INFO: Extracted packet for processing {"connection_id":233427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:49:19] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":11,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228818944001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793862875000,"timestamp_ms":1793862875000,"timestamp_seconds":1793862875,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8f3778"} 
[2026-11-05 12: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-05 12:49: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-05 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:49: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-05 12: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-05 12: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-05 12:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":233427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":233427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":233427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:49: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-05 12:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228818944001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228818944001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:49:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:49:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228818944001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":233427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:49:19] local.INFO: GPS data processed {"connection_id":233427,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:49:19] local.INFO: Acknowledgment sent {"connection_id":233427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:49:31] local.INFO: TCP Data received {"connection_id":231524,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8f23f0012d0b10c00702a1800001014e20..."} 
[2026-11-05 12:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8f23f0012d0b10c00702a1800001014e20..."} 
[2026-11-05 12:49:31] local.INFO: Processing buffer {"connection_id":231524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8f23f0012d0b10c00702a1800001014e20..."} 
[2026-11-05 12:49:31] local.INFO: Packet analysis {"connection_id":231524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:49:31] local.INFO: Extracted packet for processing {"connection_id":231524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:49:31] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":1,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228817664001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793862870000,"timestamp_ms":1793862870000,"timestamp_seconds":1793862870,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8f23f0"} 
[2026-11-05 12:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:49:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":231524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":231524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":231524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228817664001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228817664001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:49:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228817664001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":231524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62952,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:49:31] local.INFO: GPS data processed {"connection_id":231524,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:49:31] local.INFO: Acknowledgment sent {"connection_id":231524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:49:53] local.INFO: TCP Data received {"connection_id":233428,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233428,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:49:53] local.INFO: Processing buffer {"connection_id":233428,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:49:53] local.INFO: IMEI packet received {"connection_id":233428,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":233428,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:49:59] local.INFO: TCP Data received {"connection_id":233428,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233428,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:49:59] local.INFO: Processing buffer {"connection_id":233428,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:49:59] local.INFO: IMEI packet received {"connection_id":233428,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":233428,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:49:59] local.INFO: TCP Data received {"connection_id":233428,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa93bbb8012d0b10c00702a1800001014e1e..."} 
[2026-11-05 12:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa93bbb8012d0b10c00702a1800001014e1e..."} 
[2026-11-05 12:49:59] local.INFO: Processing buffer {"connection_id":233428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa93bbb8012d0b10c00702a1800001014e1e..."} 
[2026-11-05 12:49:59] local.INFO: Packet analysis {"connection_id":233428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:49:59] local.INFO: Extracted packet for processing {"connection_id":233428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:49:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":1,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228894720001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:49: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-05 12:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793863171000,"timestamp_ms":1793863171000,"timestamp_seconds":1793863171,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa93bbb8"} 
[2026-11-05 12:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":233428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":233428,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":233428,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228894720001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228894720001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:49:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228894720001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":233428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62953,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:50:00] local.INFO: GPS data processed {"connection_id":233428,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:50:00] local.INFO: Acknowledgment sent {"connection_id":233428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:50:04] local.INFO: TCP Data received {"connection_id":231525,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:50:04] local.INFO: Processing buffer {"connection_id":231525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:50:04] local.INFO: IMEI packet received {"connection_id":231525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":231525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:50:04] local.INFO: TCP Data received {"connection_id":233428,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa93bbb8012d0b10c00702a1800001014e1e..."} 
[2026-11-05 12:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa93bbb8012d0b10c00702a1800001014e1e..."} 
[2026-11-05 12:50:04] local.INFO: Processing buffer {"connection_id":233428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa93bbb8012d0b10c00702a1800001014e1e..."} 
[2026-11-05 12:50:04] local.INFO: Packet analysis {"connection_id":233428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:50:04] local.INFO: Extracted packet for processing {"connection_id":233428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:50:04] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":1,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228894720001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793863171000,"timestamp_ms":1793863171000,"timestamp_seconds":1793863171,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa93bbb8"} 
[2026-11-05 12:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":233428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":233428,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":233428,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228894720001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228894720001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:50:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228894720001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":233428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62954,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:50:04] local.INFO: GPS data processed {"connection_id":233428,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:50:04] local.INFO: Acknowledgment sent {"connection_id":233428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:50:09] local.INFO: TCP Data received {"connection_id":231525,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:50:09] local.INFO: Processing buffer {"connection_id":231525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:50:09] local.INFO: IMEI packet received {"connection_id":231525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":231525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:50:09] local.INFO: TCP Data received {"connection_id":231525,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:50:09] local.INFO: Processing buffer {"connection_id":231525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa8f3778012d7fad0005afe048000b004529..."} 
[2026-11-05 12:50:09] local.INFO: Packet analysis {"connection_id":231525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:50:09] local.INFO: Extracted packet for processing {"connection_id":231525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa8f"} 
[2026-11-05 12:50:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":11,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228818944001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793862875000,"timestamp_ms":1793862875000,"timestamp_seconds":1793862875,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa8f3778"} 
[2026-11-05 12:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 12:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:50:09] 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-05 12:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228818944001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228818944001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:50:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:50:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228818944001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":231525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:50:09] local.INFO: GPS data processed {"connection_id":231525,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:50:09] local.INFO: Acknowledgment sent {"connection_id":231525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:50:26] local.INFO: TCP Data received {"connection_id":230194,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230194,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:50:26] local.INFO: Processing buffer {"connection_id":230194,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:50:26] local.INFO: IMEI packet received {"connection_id":230194,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 12:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":230194,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:50:26] local.INFO: TCP Data received {"connection_id":230194,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230194,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:50:26] local.INFO: Processing buffer {"connection_id":230194,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:50:26] local.INFO: IMEI packet received {"connection_id":230194,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 12:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":230194,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:50:31] local.INFO: TCP Data received {"connection_id":230194,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230194,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:50:31] local.INFO: Processing buffer {"connection_id":230194,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:50:31] local.INFO: IMEI packet received {"connection_id":230194,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 12:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":230194,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:50:33] local.INFO: TCP Data received {"connection_id":230194,"ip":"117.224.89.99","data_length":1360,"data_hex":"000000000000030f8e0a000001a1aa92f098012d3fa000069952c8001c00442f..."} 
[2026-11-05 12:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230194,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a1aa92f098012d3fa000069952c8001c00442f..."} 
[2026-11-05 12:50:33] local.INFO: Processing buffer {"connection_id":230194,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a1aa92f098012d3fa000069952c8001c00442f..."} 
[2026-11-05 12:50:33] local.INFO: Packet analysis {"connection_id":230194,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a1aa92"} 
[2026-11-05 12:50:33] local.INFO: Extracted packet for processing {"connection_id":230194,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a1aa92"} 
[2026-11-05 12:50:33] local.INFO: GPS Element Parsed {"raw_longitude":759144448,"raw_latitude":110711496,"longitude_deg":75.9144448,"latitude_deg":11.0711496,"altitude":28,"angle":68,"satellites":47,"speed":0,"hex_longitude":"2d3fa000","hex_latitude":"069952c8","is_valid_coordinates":true} 
[2026-11-05 12:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228953088001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 12:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4560316863517546496,"note":"Value kept but may cause issues"} 
[2026-11-05 12:50:33] 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-05 12:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1793863119000,"timestamp_ms":1793863119000,"timestamp_seconds":1793863119,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa92f098"} 
[2026-11-05 12:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 12:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-05 12:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":230194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":230194,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":230194,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 12:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 12:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228953088001,"66":28137,"79":206,"19":48128,"24":0,"16":20804383495159808,"45":4560316863517546496},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-11-05 12:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 12:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 12:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228953088001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:50:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-11-05 12:50:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 12:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4560316863517546496,"description":"Unknown IO ID 45"} 
[2026-11-05 12:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228953088001,"power":28137,"unknown_79":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4560316863517546496}} 
[2026-11-05 12:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":230194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62956,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:50:33] local.INFO: GPS data processed {"connection_id":230194,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:50:33] local.INFO: Acknowledgment sent {"connection_id":230194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:50:33] local.INFO: Packet analysis {"connection_id":230194,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:50:33] local.INFO: Incomplete packet, waiting for more data {"connection_id":230194,"needed":795,"available":565} 
[2026-11-05 12:50:34] local.INFO: TCP Data received {"connection_id":230194,"ip":"117.224.89.99","data_length":230,"data_hex":"0000000000000000000000000000000000000a000400ef0100715600f0010045..."} 
[2026-11-05 12:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230194,"packet_length":230,"packet_hex":"0000000000000000000000000000000000000a000400ef0100715600f0010045..."} 
[2026-11-05 12:50:34] local.INFO: Processing buffer {"connection_id":230194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa931b90012d3ffb4006995cf0001800612e..."} 
[2026-11-05 12:50:34] local.INFO: Packet analysis {"connection_id":230194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:50:34] local.INFO: Extracted packet for processing {"connection_id":230194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:50:34] local.INFO: GPS Element Parsed {"raw_longitude":759167808,"raw_latitude":110714096,"longitude_deg":75.9167808,"latitude_deg":11.0714096,"altitude":24,"angle":97,"satellites":46,"speed":58,"hex_longitude":"2d3ffb40","hex_latitude":"06995cf0","is_valid_coordinates":true} 
[2026-11-05 12:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228958464001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 12:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4584664449005307904,"note":"Value kept but may cause issues"} 
[2026-11-05 12:50:34] 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-05 12:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793863130000,"timestamp_ms":1793863130000,"timestamp_seconds":1793863130,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa931b90"} 
[2026-11-05 12:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 12:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 12:50:34] 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-05 12:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":230194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":230194,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":230194,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 12:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 12:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228958464001,"66":28224,"79":206,"19":48128,"24":58,"16":20804383495159808,"45":4584664449005307904},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-11-05 12:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 12:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 12:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228958464001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:50:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-11-05 12:50:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 12:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":4584664449005307904,"description":"Unknown IO ID 45"} 
[2026-11-05 12:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228958464001,"power":28224,"unknown_79":206,"unknown_19":48128,"ignition":58,"odometer":null,"unknown_45":4584664449005307904}} 
[2026-11-05 12:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":230194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62957,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:50:34] local.INFO: GPS data processed {"connection_id":230194,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:50:34] local.INFO: Acknowledgment sent {"connection_id":230194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:50:36] local.INFO: TCP Data received {"connection_id":230194,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa935a10012d404e0006993ae0001d007e2e..."} 
[2026-11-05 12:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa935a10012d404e0006993ae0001d007e2e..."} 
[2026-11-05 12:50:36] local.INFO: Processing buffer {"connection_id":230194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa935a10012d404e0006993ae0001d007e2e..."} 
[2026-11-05 12:50:36] local.INFO: Packet analysis {"connection_id":230194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:50:36] local.INFO: Extracted packet for processing {"connection_id":230194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:50:36] local.INFO: GPS Element Parsed {"raw_longitude":759188992,"raw_latitude":110705376,"longitude_deg":75.9188992,"latitude_deg":11.0705376,"altitude":29,"angle":126,"satellites":46,"speed":56,"hex_longitude":"2d404e00","hex_latitude":"06993ae0","is_valid_coordinates":true} 
[2026-11-05 12:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228961280001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 12:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4610349040630820864,"note":"Value kept but may cause issues"} 
[2026-11-05 12:50:36] 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-05 12:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1793863146000,"timestamp_ms":1793863146000,"timestamp_seconds":1793863146,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa935a10"} 
[2026-11-05 12:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 12:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-11-05 12:50:36] 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-05 12:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":230194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":230194,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":230194,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 12:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 12:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228961280001,"66":28256,"79":206,"19":48128,"24":56,"16":20804383495159808,"45":4610349040630820864},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-11-05 12:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 12:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 12:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228961280001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:50:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-11-05 12:50:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 12:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4610349040630820864,"description":"Unknown IO ID 45"} 
[2026-11-05 12:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228961280001,"power":28256,"unknown_79":206,"unknown_19":48128,"ignition":56,"odometer":null,"unknown_45":4610349040630820864}} 
[2026-11-05 12:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":230194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62958,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:50:37] local.INFO: GPS data processed {"connection_id":230194,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:50:37] local.INFO: Acknowledgment sent {"connection_id":230194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:50:40] local.INFO: TCP Data received {"connection_id":231525,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa93cf40012d7fad0005afe048000d004529..."} 
[2026-11-05 12:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa93cf40012d7fad0005afe048000d004529..."} 
[2026-11-05 12:50:40] local.INFO: Processing buffer {"connection_id":231525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa93cf40012d7fad0005afe048000d004529..."} 
[2026-11-05 12:50:40] local.INFO: Packet analysis {"connection_id":231525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:50:40] local.INFO: Extracted packet for processing {"connection_id":231525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:50:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228896000001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793863176000,"timestamp_ms":1793863176000,"timestamp_seconds":1793863176,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa93cf40"} 
[2026-11-05 12:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 12:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:50: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-05 12:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:50:40] 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-05 12:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228896000001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228896000001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:50:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:50:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228896000001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":231525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:50:40] local.INFO: GPS data processed {"connection_id":231525,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:50:40] local.INFO: Acknowledgment sent {"connection_id":231525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:50:48] local.INFO: TCP Data received {"connection_id":231526,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231526,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:50:48] local.INFO: Processing buffer {"connection_id":231526,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:50:48] local.INFO: IMEI packet received {"connection_id":231526,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":231526,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:50:53] local.INFO: TCP Data received {"connection_id":231526,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231526,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:50:53] local.INFO: Processing buffer {"connection_id":231526,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:50:53] local.INFO: IMEI packet received {"connection_id":231526,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":231526,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:50:54] local.INFO: TCP Data received {"connection_id":231526,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa93bbb8012d0b10c00702a1800001014e1e..."} 
[2026-11-05 12:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa93bbb8012d0b10c00702a1800001014e1e..."} 
[2026-11-05 12:50:54] local.INFO: Processing buffer {"connection_id":231526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa93bbb8012d0b10c00702a1800001014e1e..."} 
[2026-11-05 12:50:54] local.INFO: Packet analysis {"connection_id":231526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:50:54] local.INFO: Extracted packet for processing {"connection_id":231526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:50:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":1,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228894720001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:50: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-05 12:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793863171000,"timestamp_ms":1793863171000,"timestamp_seconds":1793863171,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa93bbb8"} 
[2026-11-05 12:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":231526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":231526,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":231526,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228894720001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228894720001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:50:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228894720001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":231526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62960,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:50:55] local.INFO: GPS data processed {"connection_id":231526,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:50:55] local.INFO: Acknowledgment sent {"connection_id":231526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:51:03] local.INFO: TCP Data received {"connection_id":233429,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:51:03] local.INFO: Processing buffer {"connection_id":233429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:51:03] local.INFO: IMEI packet received {"connection_id":233429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":233429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:51:07] local.INFO: TCP Data received {"connection_id":233430,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233430,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:51:07] local.INFO: Processing buffer {"connection_id":233430,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:51:07] local.INFO: IMEI packet received {"connection_id":233430,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 12:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":233430,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:51:09] local.INFO: TCP Data received {"connection_id":233429,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:51:09] local.INFO: Processing buffer {"connection_id":233429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:51:09] local.INFO: IMEI packet received {"connection_id":233429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":233429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:51:09] local.INFO: TCP Data received {"connection_id":233429,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa93cf40012d7fad0005afe048000d004529..."} 
[2026-11-05 12:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa93cf40012d7fad0005afe048000d004529..."} 
[2026-11-05 12:51:09] local.INFO: Processing buffer {"connection_id":233429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa93cf40012d7fad0005afe048000d004529..."} 
[2026-11-05 12:51:09] local.INFO: Packet analysis {"connection_id":233429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:51:09] local.INFO: Extracted packet for processing {"connection_id":233429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:51:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:51: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-05 12:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228896000001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793863176000,"timestamp_ms":1793863176000,"timestamp_seconds":1793863176,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa93cf40"} 
[2026-11-05 12:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 12:51: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":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:51: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-05 12:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:51:09] 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-05 12:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228896000001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228896000001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:51:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:51:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228896000001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":233429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:51:09] local.INFO: GPS data processed {"connection_id":233429,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:51:09] local.INFO: Acknowledgment sent {"connection_id":233429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:51:11] local.INFO: TCP Data received {"connection_id":233430,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233430,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:51:11] local.INFO: Processing buffer {"connection_id":233430,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:51:11] local.INFO: IMEI packet received {"connection_id":233430,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 12:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":233430,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:51:12] local.INFO: TCP Data received {"connection_id":233430,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa93ac18012d40924006990408002300802f..."} 
[2026-11-05 12:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa93ac18012d40924006990408002300802f..."} 
[2026-11-05 12:51:12] local.INFO: Processing buffer {"connection_id":233430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa93ac18012d40924006990408002300802f..."} 
[2026-11-05 12:51:12] local.INFO: Packet analysis {"connection_id":233430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:51:12] local.INFO: Extracted packet for processing {"connection_id":233430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:51:12] local.INFO: GPS Element Parsed {"raw_longitude":759206464,"raw_latitude":110691336,"longitude_deg":75.9206464,"latitude_deg":11.0691336,"altitude":35,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2d409240","hex_latitude":"06990408","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228965376001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 12:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4633641094951395328,"note":"Value kept but may cause issues"} 
[2026-11-05 12:51:12] 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-05 12:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793863167000,"timestamp_ms":1793863167000,"timestamp_seconds":1793863167,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa93ac18"} 
[2026-11-05 12: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-05 12:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 12: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-05 12:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":233430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":233430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":233430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 12:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 12:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228965376001,"66":28234,"29":206,"19":48128,"24":0,"16":20804383495159808,"45":4633641094951395328},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-11-05 12:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 12:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 12:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228965376001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:51:12] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-11-05 12:51:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 12:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4633641094951395328,"description":"Unknown IO ID 45"} 
[2026-11-05 12:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228965376001,"power":28234,"unknown_29":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4633641094951395328}} 
[2026-11-05 12:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":233430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62962,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:51:12] local.INFO: GPS data processed {"connection_id":233430,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:51:12] local.INFO: Acknowledgment sent {"connection_id":233430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:51:15] local.INFO: TCP Data received {"connection_id":233430,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa948ea80100000000000000000000000000..."} 
[2026-11-05 12:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa948ea80100000000000000000000000000..."} 
[2026-11-05 12:51:15] local.INFO: Processing buffer {"connection_id":233430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa948ea80100000000000000000000000000..."} 
[2026-11-05 12:51:15] local.INFO: Packet analysis {"connection_id":233430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa94"} 
[2026-11-05 12:51:15] local.INFO: Extracted packet for processing {"connection_id":233430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa94"} 
[2026-11-05 12:51: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-05 12: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-05 12:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228970752001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 12:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4652851762108303360,"note":"Value kept but may cause issues"} 
[2026-11-05 12:51:15] 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-05 12:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793863225000,"timestamp_ms":1793863225000,"timestamp_seconds":1793863225,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa948ea8"} 
[2026-11-05 12: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-05 12:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-05 12: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":74,"data_length":795,"current_offset":136} 
[2026-11-05 12:51: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-05 12: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-05 12: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-05 12:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 12:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 12:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":233430,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 12:51:15] local.INFO: GPS data processed {"connection_id":233430,"processed":0,"errors":0,"total":1} 
[2026-11-05 12:51:15] local.INFO: Acknowledgment sent {"connection_id":233430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:51:26] local.INFO: TCP Data received {"connection_id":231526,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa93bbb8012d0b10c00702a1800001014e1e..."} 
[2026-11-05 12:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa93bbb8012d0b10c00702a1800001014e1e..."} 
[2026-11-05 12:51:26] local.INFO: Processing buffer {"connection_id":231526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa93bbb8012d0b10c00702a1800001014e1e..."} 
[2026-11-05 12:51:26] local.INFO: Packet analysis {"connection_id":231526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:51:26] local.INFO: Extracted packet for processing {"connection_id":231526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:51:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":1,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228894720001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:51: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-05 12:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793863171000,"timestamp_ms":1793863171000,"timestamp_seconds":1793863171,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa93bbb8"} 
[2026-11-05 12:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231526,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231526,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228894720001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228894720001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:51:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228894720001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":231526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62963,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:51:26] local.INFO: GPS data processed {"connection_id":231526,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:51:26] local.INFO: Acknowledgment sent {"connection_id":231526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:51:42] local.INFO: TCP Data received {"connection_id":233429,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa93cf40012d7fad0005afe048000d004529..."} 
[2026-11-05 12:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa93cf40012d7fad0005afe048000d004529..."} 
[2026-11-05 12:51:42] local.INFO: Processing buffer {"connection_id":233429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa93cf40012d7fad0005afe048000d004529..."} 
[2026-11-05 12:51:42] local.INFO: Packet analysis {"connection_id":233429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:51:42] local.INFO: Extracted packet for processing {"connection_id":233429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:51:42] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228896000001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793863176000,"timestamp_ms":1793863176000,"timestamp_seconds":1793863176,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa93cf40"} 
[2026-11-05 12:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:51: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-05 12:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:51:42] 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-05 12:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228896000001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228896000001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:51:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:51:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228896000001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":233429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:51:42] local.INFO: GPS data processed {"connection_id":233429,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:51:42] local.INFO: Acknowledgment sent {"connection_id":233429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:51:47] local.INFO: TCP Data received {"connection_id":233430,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa941590012d41288006989ff80023007b2e..."} 
[2026-11-05 12:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa941590012d41288006989ff80023007b2e..."} 
[2026-11-05 12:51:47] local.INFO: Processing buffer {"connection_id":233430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa941590012d41288006989ff80023007b2e..."} 
[2026-11-05 12:51:47] local.INFO: Packet analysis {"connection_id":233430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa94"} 
[2026-11-05 12:51:47] local.INFO: Extracted packet for processing {"connection_id":233430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa94"} 
[2026-11-05 12:51:47] local.INFO: GPS Element Parsed {"raw_longitude":759244928,"raw_latitude":110665720,"longitude_deg":75.9244928,"latitude_deg":11.066572,"altitude":35,"angle":123,"satellites":46,"speed":58,"hex_longitude":"2d412880","hex_latitude":"06989ff8","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 12:51:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,29,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 12:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793863194000,"timestamp_ms":1793863194000,"timestamp_seconds":1793863194,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa941590"} 
[2026-11-05 12: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-05 12:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 12: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 12:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":233430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":233430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":233430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 12:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 12:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28224,"29":206,"19":48128,"24":58,"16":20804383495159808},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16]} 
[2026-11-05 12:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 12:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 12:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 12:51:47] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-11-05 12:51:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 12:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:51:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28224,"unknown_29":206,"unknown_19":48128,"ignition":58,"odometer":null}} 
[2026-11-05 12:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":233430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62965,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:51:47] local.INFO: GPS data processed {"connection_id":233430,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:51:47] local.INFO: Acknowledgment sent {"connection_id":233430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:51:48] local.INFO: TCP Data received {"connection_id":233431,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233431,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:51:48] local.INFO: Processing buffer {"connection_id":233431,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:51:48] local.INFO: IMEI packet received {"connection_id":233431,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":233431,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:51:54] local.INFO: TCP Data received {"connection_id":233431,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233431,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:51:54] local.INFO: Processing buffer {"connection_id":233431,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:51:54] local.INFO: IMEI packet received {"connection_id":233431,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":233431,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:51:55] local.INFO: TCP Data received {"connection_id":233431,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa93bbb8012d0b10c00702a1800001014e1e..."} 
[2026-11-05 12:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa93bbb8012d0b10c00702a1800001014e1e..."} 
[2026-11-05 12:51:55] local.INFO: Processing buffer {"connection_id":233431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa93bbb8012d0b10c00702a1800001014e1e..."} 
[2026-11-05 12:51:55] local.INFO: Packet analysis {"connection_id":233431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:51:55] local.INFO: Extracted packet for processing {"connection_id":233431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:51:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":1,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228894720001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:51: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-05 12:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793863171000,"timestamp_ms":1793863171000,"timestamp_seconds":1793863171,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa93bbb8"} 
[2026-11-05 12:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233431,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233431,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228894720001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228894720001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:51:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228894720001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":233431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62966,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:51:55] local.INFO: GPS data processed {"connection_id":233431,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:51:55] local.INFO: Acknowledgment sent {"connection_id":233431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:52:03] local.INFO: TCP Data received {"connection_id":231527,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:52:03] local.INFO: Processing buffer {"connection_id":231527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:52:03] local.INFO: IMEI packet received {"connection_id":231527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":231527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:52:06] local.INFO: TCP Data received {"connection_id":231528,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:52:06] local.INFO: Processing buffer {"connection_id":231528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:52:06] local.INFO: IMEI packet received {"connection_id":231528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 12:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":231528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:52:09] local.INFO: TCP Data received {"connection_id":231527,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:52:09] local.INFO: Processing buffer {"connection_id":231527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:52:09] local.INFO: IMEI packet received {"connection_id":231527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":231527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:52:09] local.INFO: TCP Data received {"connection_id":231527,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa93cf40012d7fad0005afe048000d004529..."} 
[2026-11-05 12:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa93cf40012d7fad0005afe048000d004529..."} 
[2026-11-05 12:52:09] local.INFO: Processing buffer {"connection_id":231527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa93cf40012d7fad0005afe048000d004529..."} 
[2026-11-05 12:52:09] local.INFO: Packet analysis {"connection_id":231527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:52:09] local.INFO: Extracted packet for processing {"connection_id":231527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:52:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228896000001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793863176000,"timestamp_ms":1793863176000,"timestamp_seconds":1793863176,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa93cf40"} 
[2026-11-05 12:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 12:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:52: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-05 12:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:52: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-05 12:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228896000001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228896000001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:52:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:52:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228896000001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":231527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:52:09] local.INFO: GPS data processed {"connection_id":231527,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:52:09] local.INFO: Acknowledgment sent {"connection_id":231527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:52:11] local.INFO: TCP Data received {"connection_id":231528,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:52:11] local.INFO: Processing buffer {"connection_id":231528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:52:11] local.INFO: IMEI packet received {"connection_id":231528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 12:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":231528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:52:12] local.INFO: TCP Data received {"connection_id":231528,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa946798012d41764006986c68001d007c2e..."} 
[2026-11-05 12:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa946798012d41764006986c68001d007c2e..."} 
[2026-11-05 12:52:12] local.INFO: Processing buffer {"connection_id":231528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa946798012d41764006986c68001d007c2e..."} 
[2026-11-05 12:52:12] local.INFO: Packet analysis {"connection_id":231528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa94"} 
[2026-11-05 12:52:12] local.INFO: Extracted packet for processing {"connection_id":231528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa94"} 
[2026-11-05 12:52:12] local.INFO: GPS Element Parsed {"raw_longitude":759264832,"raw_latitude":110652520,"longitude_deg":75.9264832,"latitude_deg":11.065252,"altitude":29,"angle":124,"satellites":46,"speed":0,"hex_longitude":"2d417640","hex_latitude":"06986c68","is_valid_coordinates":true} 
[2026-11-05 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-05 12:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228977664001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 12:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4695143377352521728,"note":"Value kept but may cause issues"} 
[2026-11-05 12:52:12] 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-05 12:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793863215000,"timestamp_ms":1793863215000,"timestamp_seconds":1793863215,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa946798"} 
[2026-11-05 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-05 12:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-11-05 12:52:12] 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-05 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-05 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-05 12:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 12:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 12:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228977664001,"66":28245,"29":206,"19":48128,"24":0,"16":20804383495159808,"45":4695143377352521728},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-11-05 12:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 12:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 12:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228977664001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:52:12] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-11-05 12:52:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 12:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4695143377352521728,"description":"Unknown IO ID 45"} 
[2026-11-05 12:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228977664001,"power":28245,"unknown_29":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4695143377352521728}} 
[2026-11-05 12:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":231528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62968,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:52:13] local.INFO: GPS data processed {"connection_id":231528,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:52:13] local.INFO: Acknowledgment sent {"connection_id":231528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:52:27] local.INFO: TCP Data received {"connection_id":233431,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa93bbb8012d0b10c00702a1800001014e1e..."} 
[2026-11-05 12:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa93bbb8012d0b10c00702a1800001014e1e..."} 
[2026-11-05 12:52:27] local.INFO: Processing buffer {"connection_id":233431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa93bbb8012d0b10c00702a1800001014e1e..."} 
[2026-11-05 12:52:27] local.INFO: Packet analysis {"connection_id":233431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:52:27] local.INFO: Extracted packet for processing {"connection_id":233431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:52:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":1,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228894720001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:52:27] 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-05 12:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793863171000,"timestamp_ms":1793863171000,"timestamp_seconds":1793863171,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa93bbb8"} 
[2026-11-05 12:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":233431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":233431,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":233431,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228894720001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228894720001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:52:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228894720001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":233431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62969,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:52:27] local.INFO: GPS data processed {"connection_id":233431,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:52:27] local.INFO: Acknowledgment sent {"connection_id":233431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:52:41] local.INFO: TCP Data received {"connection_id":231527,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa93cf40012d7fad0005afe048000d004529..."} 
[2026-11-05 12:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa93cf40012d7fad0005afe048000d004529..."} 
[2026-11-05 12:52:41] local.INFO: Processing buffer {"connection_id":231527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa93cf40012d7fad0005afe048000d004529..."} 
[2026-11-05 12:52:41] local.INFO: Packet analysis {"connection_id":231527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:52:41] local.INFO: Extracted packet for processing {"connection_id":231527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:52:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228896000001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793863176000,"timestamp_ms":1793863176000,"timestamp_seconds":1793863176,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa93cf40"} 
[2026-11-05 12: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-05 12:52: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-05 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:52: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-05 12:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228896000001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228896000001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:52:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:52:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228896000001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":231527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:52:41] local.INFO: GPS data processed {"connection_id":231527,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:52:41] local.INFO: Acknowledgment sent {"connection_id":231527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:52:44] local.INFO: TCP Data received {"connection_id":231528,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa954a280100000000000000000000000000..."} 
[2026-11-05 12:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa954a280100000000000000000000000000..."} 
[2026-11-05 12:52:44] local.INFO: Processing buffer {"connection_id":231528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa954a280100000000000000000000000000..."} 
[2026-11-05 12:52:44] local.INFO: Packet analysis {"connection_id":231528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa95"} 
[2026-11-05 12:52:44] local.INFO: Extracted packet for processing {"connection_id":231528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa95"} 
[2026-11-05 12:52:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-11-05 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-05 12:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228983040001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 12:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4717028056788396032,"note":"Value kept but may cause issues"} 
[2026-11-05 12:52:44] 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-05 12:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793863273000,"timestamp_ms":1793863273000,"timestamp_seconds":1793863273,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa954a28"} 
[2026-11-05 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-05 12:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 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":110,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-11-05 12:52:44] 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-05 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-05 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-05 12:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":231528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":231528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":231528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 12:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 12:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":231528,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 12:52:44] local.INFO: GPS data processed {"connection_id":231528,"processed":0,"errors":0,"total":1} 
[2026-11-05 12:52:44] local.INFO: Acknowledgment sent {"connection_id":231528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:52:48] local.INFO: TCP Data received {"connection_id":233432,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233432,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:52:48] local.INFO: Processing buffer {"connection_id":233432,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:52:48] local.INFO: IMEI packet received {"connection_id":233432,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":233432,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:52:53] local.INFO: TCP Data received {"connection_id":233432,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233432,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:52:53] local.INFO: Processing buffer {"connection_id":233432,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:52:53] local.INFO: IMEI packet received {"connection_id":233432,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":233432,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:52:55] local.INFO: TCP Data received {"connection_id":233432,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa93bbb8012d0b10c00702a1800001014e1e..."} 
[2026-11-05 12:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa93bbb8012d0b10c00702a1800001014e1e..."} 
[2026-11-05 12:52:55] local.INFO: Processing buffer {"connection_id":233432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa93bbb8012d0b10c00702a1800001014e1e..."} 
[2026-11-05 12:52:55] local.INFO: Packet analysis {"connection_id":233432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:52:55] local.INFO: Extracted packet for processing {"connection_id":233432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:52:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":1,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228894720001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:52: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-05 12:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793863171000,"timestamp_ms":1793863171000,"timestamp_seconds":1793863171,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa93bbb8"} 
[2026-11-05 12:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233432,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233432,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228894720001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228894720001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:52:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228894720001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":233432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62971,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:52:55] local.INFO: GPS data processed {"connection_id":233432,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:52:55] local.INFO: Acknowledgment sent {"connection_id":233432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:53:03] local.INFO: TCP Data received {"connection_id":229671,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:53:03] local.INFO: Processing buffer {"connection_id":229671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:53:03] local.INFO: IMEI packet received {"connection_id":229671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":229671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:53:06] local.INFO: TCP Data received {"connection_id":233433,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233433,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:53:06] local.INFO: Processing buffer {"connection_id":233433,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:53:06] local.INFO: IMEI packet received {"connection_id":233433,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 12:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":233433,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:53:10] local.INFO: TCP Data received {"connection_id":233433,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233433,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:53:10] local.INFO: Processing buffer {"connection_id":233433,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:53:10] local.INFO: IMEI packet received {"connection_id":233433,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 12:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":233433,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:53:11] local.INFO: TCP Data received {"connection_id":233433,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233433,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:53:11] local.INFO: Processing buffer {"connection_id":233433,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:53:11] local.INFO: IMEI packet received {"connection_id":233433,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 12:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":233433,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:53:12] local.INFO: TCP Data received {"connection_id":229671,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:53:12] local.INFO: Processing buffer {"connection_id":229671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:53:12] local.INFO: IMEI packet received {"connection_id":229671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":229671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:53:13] local.INFO: TCP Data received {"connection_id":229671,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa93cf40012d7fad0005afe048000d004529..."} 
[2026-11-05 12:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa93cf40012d7fad0005afe048000d004529..."} 
[2026-11-05 12:53:13] local.INFO: Processing buffer {"connection_id":229671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa93cf40012d7fad0005afe048000d004529..."} 
[2026-11-05 12:53:13] local.INFO: Packet analysis {"connection_id":229671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:53:13] local.INFO: Extracted packet for processing {"connection_id":229671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:53:13] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228896000001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793863176000,"timestamp_ms":1793863176000,"timestamp_seconds":1793863176,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa93cf40"} 
[2026-11-05 12: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-05 12:53: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-05 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:53: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-05 12: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-05 12: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-05 12:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:53: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-05 12:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228896000001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228896000001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:53:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:53:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228896000001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":229671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:53:13] local.INFO: GPS data processed {"connection_id":229671,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:53:13] local.INFO: Acknowledgment sent {"connection_id":229671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:53:15] local.INFO: TCP Data received {"connection_id":233433,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa94d8e0012d41fac006981dd80021005f2f..."} 
[2026-11-05 12:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa94d8e0012d41fac006981dd80021005f2f..."} 
[2026-11-05 12:53:15] local.INFO: Processing buffer {"connection_id":233433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa94d8e0012d41fac006981dd80021005f2f..."} 
[2026-11-05 12:53:15] local.INFO: Packet analysis {"connection_id":233433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa94"} 
[2026-11-05 12:53:15] local.INFO: Extracted packet for processing {"connection_id":233433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa94"} 
[2026-11-05 12:53:15] local.INFO: GPS Element Parsed {"raw_longitude":759298752,"raw_latitude":110632408,"longitude_deg":75.9298752,"latitude_deg":11.0632408,"altitude":33,"angle":95,"satellites":47,"speed":15,"hex_longitude":"2d41fac0","hex_latitude":"06981dd8","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 12:53:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,29,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 12:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793863244000,"timestamp_ms":1793863244000,"timestamp_seconds":1793863244,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa94d8e0"} 
[2026-11-05 12: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-05 12:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 12: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":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-11-05 12:53:15] 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-05 12: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-05 12: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-05 12:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 12:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 12:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28234,"29":206,"19":48128,"24":15,"16":20804383495159808},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16]} 
[2026-11-05 12:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 12:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 12:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 12:53:15] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-11-05 12:53:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 12:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:53:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28234,"unknown_29":206,"unknown_19":48128,"ignition":15,"odometer":null}} 
[2026-11-05 12:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":233433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62973,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:53:15] local.INFO: GPS data processed {"connection_id":233433,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:53:15] local.INFO: Acknowledgment sent {"connection_id":233433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:53:26] local.INFO: TCP Data received {"connection_id":233432,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa93bbb8012d0b10c00702a1800001014e1e..."} 
[2026-11-05 12:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa93bbb8012d0b10c00702a1800001014e1e..."} 
[2026-11-05 12:53:26] local.INFO: Processing buffer {"connection_id":233432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa93bbb8012d0b10c00702a1800001014e1e..."} 
[2026-11-05 12:53:26] local.INFO: Packet analysis {"connection_id":233432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:53:26] local.INFO: Extracted packet for processing {"connection_id":233432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:53:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":1,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228894720001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:53: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-05 12:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793863171000,"timestamp_ms":1793863171000,"timestamp_seconds":1793863171,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa93bbb8"} 
[2026-11-05 12:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233432,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233432,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228894720001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228894720001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:53:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228894720001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":233432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62974,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:53:27] local.INFO: GPS data processed {"connection_id":233432,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:53:27] local.INFO: Acknowledgment sent {"connection_id":233432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:53:37] local.INFO: TCP Data received {"connection_id":233433,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa95bb700100000000000000000000000000..."} 
[2026-11-05 12:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa95bb700100000000000000000000000000..."} 
[2026-11-05 12:53:37] local.INFO: Processing buffer {"connection_id":233433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa95bb700100000000000000000000000000..."} 
[2026-11-05 12:53:37] local.INFO: Packet analysis {"connection_id":233433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa95"} 
[2026-11-05 12:53:37] local.INFO: Extracted packet for processing {"connection_id":233433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa95"} 
[2026-11-05 12:53:37] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.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-05 12:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228990464001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 12:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4754323491197409280,"note":"Value kept but may cause issues"} 
[2026-11-05 12:53:37] 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-05 12:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793863302000,"timestamp_ms":1793863302000,"timestamp_seconds":1793863302,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa95bb70"} 
[2026-11-05 12:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 12:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-11-05 12:53:37] 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-05 12:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":233433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":233433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":233433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 12:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 12:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":233433,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 12:53:37] local.INFO: GPS data processed {"connection_id":233433,"processed":0,"errors":0,"total":1} 
[2026-11-05 12:53:37] local.INFO: Acknowledgment sent {"connection_id":233433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:53:44] local.INFO: TCP Data received {"connection_id":229671,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa93cf40012d7fad0005afe048000d004529..."} 
[2026-11-05 12:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa93cf40012d7fad0005afe048000d004529..."} 
[2026-11-05 12:53:44] local.INFO: Processing buffer {"connection_id":229671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa93cf40012d7fad0005afe048000d004529..."} 
[2026-11-05 12:53:44] local.INFO: Packet analysis {"connection_id":229671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:53:44] local.INFO: Extracted packet for processing {"connection_id":229671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:53:44] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228896000001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793863176000,"timestamp_ms":1793863176000,"timestamp_seconds":1793863176,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa93cf40"} 
[2026-11-05 12: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-05 12: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-05 12: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":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:53: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-05 12: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-05 12: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-05 12:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:53: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-05 12:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228896000001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228896000001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:53:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:53:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228896000001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":229671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:53:44] local.INFO: GPS data processed {"connection_id":229671,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:53:44] local.INFO: Acknowledgment sent {"connection_id":229671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:53:48] local.INFO: TCP Data received {"connection_id":229672,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229672,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:53:48] local.INFO: Processing buffer {"connection_id":229672,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:53:48] local.INFO: IMEI packet received {"connection_id":229672,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":229672,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:53:55] local.INFO: TCP Data received {"connection_id":229672,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229672,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:53:55] local.INFO: Processing buffer {"connection_id":229672,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:53:55] local.INFO: IMEI packet received {"connection_id":229672,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":229672,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:53:56] local.INFO: TCP Data received {"connection_id":229672,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa93bbb8012d0b10c00702a1800001014e1e..."} 
[2026-11-05 12:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa93bbb8012d0b10c00702a1800001014e1e..."} 
[2026-11-05 12:53:56] local.INFO: Processing buffer {"connection_id":229672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa93bbb8012d0b10c00702a1800001014e1e..."} 
[2026-11-05 12:53:56] local.INFO: Packet analysis {"connection_id":229672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:53:56] local.INFO: Extracted packet for processing {"connection_id":229672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:53:56] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":1,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228894720001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:53:56] 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-05 12:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793863171000,"timestamp_ms":1793863171000,"timestamp_seconds":1793863171,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa93bbb8"} 
[2026-11-05 12:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":229672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":229672,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":229672,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228894720001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228894720001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:53:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228894720001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:53:56] 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":62976,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:53:56] local.INFO: GPS data processed {"connection_id":229672,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:53:56] local.INFO: Acknowledgment sent {"connection_id":229672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:54:09] local.INFO: TCP Data received {"connection_id":231529,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:54:09] local.INFO: Processing buffer {"connection_id":231529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:54:09] local.INFO: IMEI packet received {"connection_id":231529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":231529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:54:11] local.INFO: TCP Data received {"connection_id":230195,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230195,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:54:11] local.INFO: Processing buffer {"connection_id":230195,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:54:11] local.INFO: IMEI packet received {"connection_id":230195,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 12:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":230195,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:54:16] local.INFO: TCP Data received {"connection_id":230195,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230195,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:54:16] local.INFO: Processing buffer {"connection_id":230195,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:54:16] local.INFO: IMEI packet received {"connection_id":230195,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 12:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":230195,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:54:17] local.INFO: TCP Data received {"connection_id":230195,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa954640012d4234c006980978002a006d2e..."} 
[2026-11-05 12:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa954640012d4234c006980978002a006d2e..."} 
[2026-11-05 12:54:17] local.INFO: Processing buffer {"connection_id":230195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa954640012d4234c006980978002a006d2e..."} 
[2026-11-05 12:54:17] local.INFO: Packet analysis {"connection_id":230195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa95"} 
[2026-11-05 12:54:17] local.INFO: Extracted packet for processing {"connection_id":230195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa95"} 
[2026-11-05 12:54:17] local.INFO: GPS Element Parsed {"raw_longitude":759313600,"raw_latitude":110627192,"longitude_deg":75.93136,"latitude_deg":11.0627192,"altitude":42,"angle":109,"satellites":46,"speed":28,"hex_longitude":"2d4234c0","hex_latitude":"06980978","is_valid_coordinates":true} 
[2026-11-05 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-05 12:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 12:54:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,29,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 12:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793863272000,"timestamp_ms":1793863272000,"timestamp_seconds":1793863272,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa954640"} 
[2026-11-05 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-05 12:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-11-05 12:54: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-05 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-05 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-05 12:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230195,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230195,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 12:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 12:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28148,"29":206,"19":48128,"24":28,"16":20804383495159808},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16]} 
[2026-11-05 12:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 12:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 12:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 12:54:17] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-11-05 12:54:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 12:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:54:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28148,"unknown_29":206,"unknown_19":48128,"ignition":28,"odometer":null}} 
[2026-11-05 12:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":230195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62977,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:54:17] local.INFO: GPS data processed {"connection_id":230195,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:54:17] local.INFO: Acknowledgment sent {"connection_id":230195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:54:17] local.INFO: TCP Data received {"connection_id":231529,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:54:17] local.INFO: Processing buffer {"connection_id":231529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:54:17] local.INFO: IMEI packet received {"connection_id":231529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":231529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:54:18] local.INFO: TCP Data received {"connection_id":231529,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa93cf40012d7fad0005afe048000d004529..."} 
[2026-11-05 12:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa93cf40012d7fad0005afe048000d004529..."} 
[2026-11-05 12:54:18] local.INFO: Processing buffer {"connection_id":231529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa93cf40012d7fad0005afe048000d004529..."} 
[2026-11-05 12:54:18] local.INFO: Packet analysis {"connection_id":231529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:54:18] local.INFO: Extracted packet for processing {"connection_id":231529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:54:18] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228896000001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793863176000,"timestamp_ms":1793863176000,"timestamp_seconds":1793863176,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa93cf40"} 
[2026-11-05 12: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-05 12:54: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-05 12: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":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:54: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-05 12: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-05 12: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-05 12:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":231529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":231529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":231529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:54: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-05 12:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228896000001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228896000001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:54:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:54:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228896000001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":231529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:54:18] local.INFO: GPS data processed {"connection_id":231529,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:54:18] local.INFO: Acknowledgment sent {"connection_id":231529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:54:20] local.INFO: TCP Data received {"connection_id":231529,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa93cf40012d7fad0005afe048000d004529..."} 
[2026-11-05 12:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa93cf40012d7fad0005afe048000d004529..."} 
[2026-11-05 12:54:20] local.INFO: Processing buffer {"connection_id":231529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa93cf40012d7fad0005afe048000d004529..."} 
[2026-11-05 12:54:20] local.INFO: Packet analysis {"connection_id":231529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:54:20] local.INFO: Extracted packet for processing {"connection_id":231529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:54:20] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228896000001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793863176000,"timestamp_ms":1793863176000,"timestamp_seconds":1793863176,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa93cf40"} 
[2026-11-05 12: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-05 12:54: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-05 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":231529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":231529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":231529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:54: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-05 12:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228896000001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228896000001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:54:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:54:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228896000001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":231529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:54:20] local.INFO: GPS data processed {"connection_id":231529,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:54:20] local.INFO: Acknowledgment sent {"connection_id":231529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:54:22] local.INFO: TCP Data received {"connection_id":230195,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9628d00100000000000000000000000000..."} 
[2026-11-05 12:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9628d00100000000000000000000000000..."} 
[2026-11-05 12:54:22] local.INFO: Processing buffer {"connection_id":230195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9628d00100000000000000000000000000..."} 
[2026-11-05 12:54:22] local.INFO: Packet analysis {"connection_id":230195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa96"} 
[2026-11-05 12:54:22] local.INFO: Extracted packet for processing {"connection_id":230195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa96"} 
[2026-11-05 12:54: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-05 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-05 12:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228997632001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 12:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4770649039845292032,"note":"Value kept but may cause issues"} 
[2026-11-05 12:54:22] 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-05 12:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793863330000,"timestamp_ms":1793863330000,"timestamp_seconds":1793863330,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9628d0"} 
[2026-11-05 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-05 12:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 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":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-11-05 12:54:22] 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-05 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-05 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-05 12:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":230195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":230195,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":230195,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 12:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 12:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":230195,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 12:54:22] local.INFO: GPS data processed {"connection_id":230195,"processed":0,"errors":0,"total":1} 
[2026-11-05 12:54:22] local.INFO: Acknowledgment sent {"connection_id":230195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:54:29] local.INFO: TCP Data received {"connection_id":229672,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa93bbb8012d0b10c00702a1800001014e1e..."} 
[2026-11-05 12:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa93bbb8012d0b10c00702a1800001014e1e..."} 
[2026-11-05 12:54:29] local.INFO: Processing buffer {"connection_id":229672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa93bbb8012d0b10c00702a1800001014e1e..."} 
[2026-11-05 12:54:29] local.INFO: Packet analysis {"connection_id":229672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:54:29] local.INFO: Extracted packet for processing {"connection_id":229672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:54:29] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":1,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228894720001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:54:29] 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-05 12:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793863171000,"timestamp_ms":1793863171000,"timestamp_seconds":1793863171,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa93bbb8"} 
[2026-11-05 12:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 12:54:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:54:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":229672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":229672,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":229672,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228894720001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228894720001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:54:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228894720001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:54:30] 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":62980,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:54:30] local.INFO: GPS data processed {"connection_id":229672,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:54:30] local.INFO: Acknowledgment sent {"connection_id":229672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:54:48] local.INFO: TCP Data received {"connection_id":231530,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:54:48] local.INFO: Processing buffer {"connection_id":231530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:54:48] local.INFO: IMEI packet received {"connection_id":231530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":231530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:54:53] local.INFO: TCP Data received {"connection_id":231530,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:54:53] local.INFO: Processing buffer {"connection_id":231530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:54:53] local.INFO: IMEI packet received {"connection_id":231530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":231530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:54:55] local.INFO: TCP Data received {"connection_id":231530,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa985380012d0b10c00702a1800000014e1f..."} 
[2026-11-05 12:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa985380012d0b10c00702a1800000014e1f..."} 
[2026-11-05 12:54:55] local.INFO: Processing buffer {"connection_id":231530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa985380012d0b10c00702a1800000014e1f..."} 
[2026-11-05 12:54:55] local.INFO: Packet analysis {"connection_id":231530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:54:55] local.INFO: Extracted packet for processing {"connection_id":231530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:54:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228971776001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:54: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-05 12:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793863472000,"timestamp_ms":1793863472000,"timestamp_seconds":1793863472,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa985380"} 
[2026-11-05 12:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 12:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228971776001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228971776001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:54:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228971776001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":231530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62981,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:54:55] local.INFO: GPS data processed {"connection_id":231530,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:54:55] local.INFO: Acknowledgment sent {"connection_id":231530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:55:03] local.INFO: TCP Data received {"connection_id":229673,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:55:03] local.INFO: Processing buffer {"connection_id":229673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:55:03] local.INFO: IMEI packet received {"connection_id":229673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":229673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:55:09] local.INFO: TCP Data received {"connection_id":229673,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:55:09] local.INFO: Processing buffer {"connection_id":229673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:55:09] local.INFO: IMEI packet received {"connection_id":229673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":229673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:55:10] local.INFO: TCP Data received {"connection_id":229673,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa93cf40012d7fad0005afe048000d004529..."} 
[2026-11-05 12:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa93cf40012d7fad0005afe048000d004529..."} 
[2026-11-05 12:55:10] local.INFO: Processing buffer {"connection_id":229673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa93cf40012d7fad0005afe048000d004529..."} 
[2026-11-05 12:55:10] local.INFO: Packet analysis {"connection_id":229673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:55:10] local.INFO: Extracted packet for processing {"connection_id":229673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa93"} 
[2026-11-05 12:55:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228896000001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793863176000,"timestamp_ms":1793863176000,"timestamp_seconds":1793863176,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa93cf40"} 
[2026-11-05 12:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:55:10] 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-05 12:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228896000001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228896000001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:55:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:55:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228896000001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:55:10] 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":62982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:55:10] local.INFO: GPS data processed {"connection_id":229673,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:55:10] local.INFO: Acknowledgment sent {"connection_id":229673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:55:12] local.INFO: TCP Data received {"connection_id":231531,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231531,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:55:12] local.INFO: Processing buffer {"connection_id":231531,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:55:12] local.INFO: IMEI packet received {"connection_id":231531,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 12:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":231531,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:55:14] local.INFO: TCP Data received {"connection_id":231531,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231531,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:55:14] local.INFO: Processing buffer {"connection_id":231531,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:55:14] local.INFO: IMEI packet received {"connection_id":231531,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 12:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":231531,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:55:15] local.INFO: TCP Data received {"connection_id":231531,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa959c30012d4272800697f3500030006d30..."} 
[2026-11-05 12:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa959c30012d4272800697f3500030006d30..."} 
[2026-11-05 12:55:15] local.INFO: Processing buffer {"connection_id":231531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa959c30012d4272800697f3500030006d30..."} 
[2026-11-05 12:55:15] local.INFO: Packet analysis {"connection_id":231531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa95"} 
[2026-11-05 12:55:15] local.INFO: Extracted packet for processing {"connection_id":231531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa95"} 
[2026-11-05 12:55:15] local.INFO: GPS Element Parsed {"raw_longitude":759329408,"raw_latitude":110621520,"longitude_deg":75.9329408,"latitude_deg":11.062152,"altitude":48,"angle":109,"satellites":48,"speed":37,"hex_longitude":"2d427280","hex_latitude":"0697f350","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 12:55:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,29,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 12:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793863294000,"timestamp_ms":1793863294000,"timestamp_seconds":1793863294,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa959c30"} 
[2026-11-05 12: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-05 12:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 12: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":74,"data_length":795,"current_offset":136} 
[2026-11-05 12:55: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-05 12: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-05 12: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-05 12:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":231531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":231531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":231531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 12:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 12:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28234,"29":206,"19":48128,"24":37,"16":20804383495159808},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16]} 
[2026-11-05 12:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 12:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 12:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 12:55:16] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-11-05 12:55:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 12:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:55:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28234,"unknown_29":206,"unknown_19":48128,"ignition":37,"odometer":null}} 
[2026-11-05 12:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":231531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62983,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:55:16] local.INFO: GPS data processed {"connection_id":231531,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:55:16] local.INFO: Acknowledgment sent {"connection_id":231531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:55:17] local.INFO: TCP Data received {"connection_id":231531,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa95e668012d42b4800697d570003600802f..."} 
[2026-11-05 12:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa95e668012d42b4800697d570003600802f..."} 
[2026-11-05 12:55:17] local.INFO: Processing buffer {"connection_id":231531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa95e668012d42b4800697d570003600802f..."} 
[2026-11-05 12:55:17] local.INFO: Packet analysis {"connection_id":231531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa95"} 
[2026-11-05 12:55:17] local.INFO: Extracted packet for processing {"connection_id":231531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa95"} 
[2026-11-05 12:55:17] local.INFO: GPS Element Parsed {"raw_longitude":759346304,"raw_latitude":110613872,"longitude_deg":75.9346304,"latitude_deg":11.0613872,"altitude":54,"angle":128,"satellites":47,"speed":39,"hex_longitude":"2d42b480","hex_latitude":"0697d570","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229003264001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 12:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4788030119655723008,"note":"Value kept but may cause issues"} 
[2026-11-05 12:55:17] 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-05 12:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793863313000,"timestamp_ms":1793863313000,"timestamp_seconds":1793863313,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa95e668"} 
[2026-11-05 12: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-05 12:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 12: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-11-05 12:55: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-05 12: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-05 12: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-05 12:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":231531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":231531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":231531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 12:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 12:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229003264001,"66":28234,"29":206,"19":48128,"24":39,"16":20804383495159808,"45":4788030119655723008},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-11-05 12:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 12:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 12:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229003264001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:55:17] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-11-05 12:55:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 12:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4788030119655723008,"description":"Unknown IO ID 45"} 
[2026-11-05 12:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229003264001,"power":28234,"unknown_29":206,"unknown_19":48128,"ignition":39,"odometer":null,"unknown_45":4788030119655723008}} 
[2026-11-05 12:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":231531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62984,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:55:17] local.INFO: GPS data processed {"connection_id":231531,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:55:17] local.INFO: Acknowledgment sent {"connection_id":231531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:55:26] local.INFO: TCP Data received {"connection_id":231530,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa985380012d0b10c00702a1800000014e1f..."} 
[2026-11-05 12:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa985380012d0b10c00702a1800000014e1f..."} 
[2026-11-05 12:55:26] local.INFO: Processing buffer {"connection_id":231530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa985380012d0b10c00702a1800000014e1f..."} 
[2026-11-05 12:55:26] local.INFO: Packet analysis {"connection_id":231530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:55:26] local.INFO: Extracted packet for processing {"connection_id":231530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:55:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228971776001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:55: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-05 12:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793863472000,"timestamp_ms":1793863472000,"timestamp_seconds":1793863472,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa985380"} 
[2026-11-05 12:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 12:55:26] 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-05 12:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228971776001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228971776001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:55:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228971776001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":231530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62985,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:55:27] local.INFO: GPS data processed {"connection_id":231530,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:55:27] local.INFO: Acknowledgment sent {"connection_id":231530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:55:41] local.INFO: TCP Data received {"connection_id":229673,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa986708012d7fad0005afe048000d004527..."} 
[2026-11-05 12:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa986708012d7fad0005afe048000d004527..."} 
[2026-11-05 12:55:41] local.INFO: Processing buffer {"connection_id":229673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa986708012d7fad0005afe048000d004527..."} 
[2026-11-05 12:55:41] local.INFO: Packet analysis {"connection_id":229673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:55:41] local.INFO: Extracted packet for processing {"connection_id":229673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:55:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228973056001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793863477000,"timestamp_ms":1793863477000,"timestamp_seconds":1793863477,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa986708"} 
[2026-11-05 12:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:55: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-05 12:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:55: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-05 12:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228973056001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228973056001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:55:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:55:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228973056001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:55:41] 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":62986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:55:41] local.INFO: GPS data processed {"connection_id":229673,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:55:41] local.INFO: Acknowledgment sent {"connection_id":229673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:55:48] local.INFO: TCP Data received {"connection_id":233434,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233434,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:55:48] local.INFO: Processing buffer {"connection_id":233434,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:55:48] local.INFO: IMEI packet received {"connection_id":233434,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":233434,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:55:53] local.INFO: TCP Data received {"connection_id":233434,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233434,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:55:53] local.INFO: Processing buffer {"connection_id":233434,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:55:53] local.INFO: IMEI packet received {"connection_id":233434,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":233434,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:55:56] local.INFO: TCP Data received {"connection_id":231531,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa962cb8012d42d1c00697ac78003800a230..."} 
[2026-11-05 12:55:56] local.INFO: TCP Data received {"connection_id":233434,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa985380012d0b10c00702a1800000014e1f..."} 
[2026-11-05 12:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa962cb8012d42d1c00697ac78003800a230..."} 
[2026-11-05 12:55:56] local.INFO: Processing buffer {"connection_id":231531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa962cb8012d42d1c00697ac78003800a230..."} 
[2026-11-05 12:55:56] local.INFO: Packet analysis {"connection_id":231531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa96"} 
[2026-11-05 12:55:56] local.INFO: Extracted packet for processing {"connection_id":231531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa96"} 
[2026-11-05 12:55:56] local.INFO: GPS Element Parsed {"raw_longitude":759353792,"raw_latitude":110603384,"longitude_deg":75.9353792,"latitude_deg":11.0603384,"altitude":56,"angle":162,"satellites":48,"speed":15,"hex_longitude":"2d42d1c0","hex_latitude":"0697ac78","is_valid_coordinates":true} 
[2026-11-05 12:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229008128001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 12:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4806607468116668416,"note":"Value kept but may cause issues"} 
[2026-11-05 12:55:56] 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-05 12:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793863331000,"timestamp_ms":1793863331000,"timestamp_seconds":1793863331,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa962cb8"} 
[2026-11-05 12:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 12:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-11-05 12:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa985380012d0b10c00702a1800000014e1f..."} 
[2026-11-05 12:55:56] 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-05 12:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:55:56] local.INFO: Processing buffer {"connection_id":233434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa985380012d0b10c00702a1800000014e1f..."} 
[2026-11-05 12:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:55:56] local.INFO: Packet analysis {"connection_id":233434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:55:56] local.INFO: Extracted packet for processing {"connection_id":233434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:55:56] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228971776001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":231531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:55:56] 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-05 12:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":231531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793863472000,"timestamp_ms":1793863472000,"timestamp_seconds":1793863472,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa985380"} 
[2026-11-05 12:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":231531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 12:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 12:55:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":233434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":233434,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":233434,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 12:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229008128001,"66":28430,"28":206,"19":48128,"24":15,"16":20804383495159808,"45":4806607468116668416},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-11-05 12:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 12:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228971776001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 12:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229008128001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:55:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 12:55:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 12:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":4806607468116668416,"description":"Unknown IO ID 45"} 
[2026-11-05 12:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229008128001,"power":28430,"unknown_28":206,"unknown_19":48128,"ignition":15,"odometer":null,"unknown_45":4806607468116668416}} 
[2026-11-05 12:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228971776001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:55:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228971776001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":231531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62987,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:55:56] local.INFO: GPS data processed {"connection_id":231531,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:55:56] local.INFO: Acknowledgment sent {"connection_id":231531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":233434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62988,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:55:56] local.INFO: GPS data processed {"connection_id":233434,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:55:56] local.INFO: Acknowledgment sent {"connection_id":233434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:56:03] local.INFO: TCP Data received {"connection_id":233435,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:56:03] local.INFO: Processing buffer {"connection_id":233435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:56:03] local.INFO: IMEI packet received {"connection_id":233435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":233435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:56:06] local.INFO: TCP Data received {"connection_id":233436,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:56:06] local.INFO: Processing buffer {"connection_id":233436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:56:06] local.INFO: IMEI packet received {"connection_id":233436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 12:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":233436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:56:09] local.INFO: TCP Data received {"connection_id":233435,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:56:09] local.INFO: Processing buffer {"connection_id":233435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:56:09] local.INFO: IMEI packet received {"connection_id":233435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":233435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:56:10] local.INFO: TCP Data received {"connection_id":233435,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa986708012d7fad0005afe048000d004527..."} 
[2026-11-05 12:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa986708012d7fad0005afe048000d004527..."} 
[2026-11-05 12:56:10] local.INFO: Processing buffer {"connection_id":233435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa986708012d7fad0005afe048000d004527..."} 
[2026-11-05 12:56:10] local.INFO: Packet analysis {"connection_id":233435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:56:10] local.INFO: Extracted packet for processing {"connection_id":233435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:56:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228973056001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793863477000,"timestamp_ms":1793863477000,"timestamp_seconds":1793863477,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa986708"} 
[2026-11-05 12:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:56:10] 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-05 12:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228973056001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228973056001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:56:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228973056001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":233435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:56:10] local.INFO: GPS data processed {"connection_id":233435,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:56:10] local.INFO: Acknowledgment sent {"connection_id":233435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:56:12] local.INFO: TCP Data received {"connection_id":233436,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:56:12] local.INFO: Processing buffer {"connection_id":233436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:56:12] local.INFO: IMEI packet received {"connection_id":233436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 12:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":233436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:56:14] local.INFO: TCP Data received {"connection_id":233436,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa970f480100000000000000000000000000..."} 
[2026-11-05 12:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa970f480100000000000000000000000000..."} 
[2026-11-05 12:56:14] local.INFO: Processing buffer {"connection_id":233436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa970f480100000000000000000000000000..."} 
[2026-11-05 12:56:14] local.INFO: Packet analysis {"connection_id":233436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa97"} 
[2026-11-05 12:56:14] local.INFO: Extracted packet for processing {"connection_id":233436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa97"} 
[2026-11-05 12:56: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-05 12: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-05 12:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229012736001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 12:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4814840611182770176,"note":"Value kept but may cause issues"} 
[2026-11-05 12:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793863389000,"timestamp_ms":1793863389000,"timestamp_seconds":1793863389,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa970f48"} 
[2026-11-05 12: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-05 12:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 12: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-05 12:56: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-05 12: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-05 12: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-05 12:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 12:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 12:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":233436,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 12:56:14] local.INFO: GPS data processed {"connection_id":233436,"processed":0,"errors":0,"total":1} 
[2026-11-05 12:56:14] local.INFO: Acknowledgment sent {"connection_id":233436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:56:28] local.INFO: TCP Data received {"connection_id":233434,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa985380012d0b10c00702a1800000014e1f..."} 
[2026-11-05 12:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa985380012d0b10c00702a1800000014e1f..."} 
[2026-11-05 12:56:28] local.INFO: Processing buffer {"connection_id":233434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa985380012d0b10c00702a1800000014e1f..."} 
[2026-11-05 12:56:28] local.INFO: Packet analysis {"connection_id":233434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:56:28] local.INFO: Extracted packet for processing {"connection_id":233434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:56:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228971776001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:56: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-05 12:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1793863472000,"timestamp_ms":1793863472000,"timestamp_seconds":1793863472,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa985380"} 
[2026-11-05 12:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 12:56:28] 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-05 12:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":233434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":233434,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":233434,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228971776001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228971776001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:56:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228971776001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":233434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62990,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:56:28] local.INFO: GPS data processed {"connection_id":233434,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:56:28] local.INFO: Acknowledgment sent {"connection_id":233434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:56:41] local.INFO: TCP Data received {"connection_id":233435,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa986708012d7fad0005afe048000d004527..."} 
[2026-11-05 12:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa986708012d7fad0005afe048000d004527..."} 
[2026-11-05 12:56:41] local.INFO: Processing buffer {"connection_id":233435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa986708012d7fad0005afe048000d004527..."} 
[2026-11-05 12:56:41] local.INFO: Packet analysis {"connection_id":233435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:56:41] local.INFO: Extracted packet for processing {"connection_id":233435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:56:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228973056001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793863477000,"timestamp_ms":1793863477000,"timestamp_seconds":1793863477,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa986708"} 
[2026-11-05 12: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-05 12:56: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-05 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:56: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-05 12:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228973056001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228973056001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:56:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228973056001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":233435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:56:41] local.INFO: GPS data processed {"connection_id":233435,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:56:41] local.INFO: Acknowledgment sent {"connection_id":233435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:56:46] local.INFO: TCP Data received {"connection_id":233436,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa968a78012d42dac006976318003300b12f..."} 
[2026-11-05 12:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa968a78012d42dac006976318003300b12f..."} 
[2026-11-05 12:56:46] local.INFO: Processing buffer {"connection_id":233436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa968a78012d42dac006976318003300b12f..."} 
[2026-11-05 12:56:46] local.INFO: Packet analysis {"connection_id":233436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa96"} 
[2026-11-05 12:56:46] local.INFO: Extracted packet for processing {"connection_id":233436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa96"} 
[2026-11-05 12:56:46] local.INFO: GPS Element Parsed {"raw_longitude":759356096,"raw_latitude":110584600,"longitude_deg":75.9356096,"latitude_deg":11.05846,"altitude":51,"angle":177,"satellites":47,"speed":42,"hex_longitude":"2d42dac0","hex_latitude":"06976318","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 12:56:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,28,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 12:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793863355000,"timestamp_ms":1793863355000,"timestamp_seconds":1793863355,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa968a78"} 
[2026-11-05 12: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-05 12:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 12: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 12:56: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-05 12: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-05 12: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-05 12:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":233436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":233436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":233436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 12:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 12:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28376,"28":206,"19":48128,"24":42,"16":20804383495159808},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16]} 
[2026-11-05 12:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 12:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 12:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 12:56:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 12:56:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 12:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:56:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28376,"unknown_28":206,"unknown_19":48128,"ignition":42,"odometer":null}} 
[2026-11-05 12:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":233436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62992,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:56:46] local.INFO: GPS data processed {"connection_id":233436,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:56:46] local.INFO: Acknowledgment sent {"connection_id":233436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:56:48] local.INFO: TCP Data received {"connection_id":229674,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229674,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:56:48] local.INFO: Processing buffer {"connection_id":229674,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:56:48] local.INFO: IMEI packet received {"connection_id":229674,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":229674,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:56:53] local.INFO: TCP Data received {"connection_id":229674,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229674,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:56:53] local.INFO: Processing buffer {"connection_id":229674,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:56:53] local.INFO: IMEI packet received {"connection_id":229674,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":229674,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:56:54] local.INFO: TCP Data received {"connection_id":229674,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa985380012d0b10c00702a1800000014e1f..."} 
[2026-11-05 12:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa985380012d0b10c00702a1800000014e1f..."} 
[2026-11-05 12:56:54] local.INFO: Processing buffer {"connection_id":229674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa985380012d0b10c00702a1800000014e1f..."} 
[2026-11-05 12:56:54] local.INFO: Packet analysis {"connection_id":229674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:56:54] local.INFO: Extracted packet for processing {"connection_id":229674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:56:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228971776001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:56: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-05 12:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793863472000,"timestamp_ms":1793863472000,"timestamp_seconds":1793863472,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa985380"} 
[2026-11-05 12: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-05 12:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 12:56: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-05 12: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-05 12: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-05 12:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":229674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":229674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":229674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228971776001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228971776001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:56:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228971776001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:56:55] 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":62993,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:56:55] local.INFO: GPS data processed {"connection_id":229674,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:56:55] local.INFO: Acknowledgment sent {"connection_id":229674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:57:03] local.INFO: TCP Data received {"connection_id":231532,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:57:03] local.INFO: Processing buffer {"connection_id":231532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:57:03] local.INFO: IMEI packet received {"connection_id":231532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":231532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:57:06] local.INFO: TCP Data received {"connection_id":230196,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230196,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:57:06] local.INFO: Processing buffer {"connection_id":230196,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:57:06] local.INFO: IMEI packet received {"connection_id":230196,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 12:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":230196,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:57:09] local.INFO: TCP Data received {"connection_id":231532,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:57:09] local.INFO: Processing buffer {"connection_id":231532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:57:09] local.INFO: IMEI packet received {"connection_id":231532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":231532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:57:09] local.INFO: TCP Data received {"connection_id":231532,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa986708012d7fad0005afe048000d004527..."} 
[2026-11-05 12:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa986708012d7fad0005afe048000d004527..."} 
[2026-11-05 12:57:09] local.INFO: Processing buffer {"connection_id":231532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa986708012d7fad0005afe048000d004527..."} 
[2026-11-05 12:57:09] local.INFO: Packet analysis {"connection_id":231532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:57:09] local.INFO: Extracted packet for processing {"connection_id":231532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:57:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228973056001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793863477000,"timestamp_ms":1793863477000,"timestamp_seconds":1793863477,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa986708"} 
[2026-11-05 12:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 12:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:57:09] 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-05 12:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228973056001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228973056001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:57:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:57:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228973056001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":231532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:57:10] local.INFO: GPS data processed {"connection_id":231532,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:57:10] local.INFO: Acknowledgment sent {"connection_id":231532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:57:11] local.INFO: TCP Data received {"connection_id":230196,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230196,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:57:11] local.INFO: Processing buffer {"connection_id":230196,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:57:11] local.INFO: IMEI packet received {"connection_id":230196,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 12:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":230196,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:57:13] local.INFO: TCP Data received {"connection_id":230196,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa998430012d4494400695cfd8000d00362a..."} 
[2026-11-05 12:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa998430012d4494400695cfd8000d00362a..."} 
[2026-11-05 12:57:13] local.INFO: Processing buffer {"connection_id":230196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa998430012d4494400695cfd8000d00362a..."} 
[2026-11-05 12:57:13] local.INFO: Packet analysis {"connection_id":230196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa99"} 
[2026-11-05 12:57:13] local.INFO: Extracted packet for processing {"connection_id":230196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa99"} 
[2026-11-05 12:57:13] local.INFO: GPS Element Parsed {"raw_longitude":759469120,"raw_latitude":110481368,"longitude_deg":75.946912,"latitude_deg":11.0481368,"altitude":13,"angle":54,"satellites":42,"speed":32,"hex_longitude":"2d449440","hex_latitude":"0695cfd8","is_valid_coordinates":true} 
[2026-11-05 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-05 12:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229064704001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 12:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4921378889836019712,"note":"Value kept but may cause issues"} 
[2026-11-05 12:57:13] 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-05 12:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793863550000,"timestamp_ms":1793863550000,"timestamp_seconds":1793863550,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa998430"} 
[2026-11-05 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-05 12:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-05 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":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-11-05 12:57:13] 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-05 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-05 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-05 12:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230196,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230196,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 12:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 12:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229064704001,"66":28224,"28":206,"19":48128,"24":32,"16":20804383495159808,"45":4921378889836019712},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-11-05 12:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 12:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 12:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229064704001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:57:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 12:57:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 12:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4921378889836019712,"description":"Unknown IO ID 45"} 
[2026-11-05 12:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229064704001,"power":28224,"unknown_28":206,"unknown_19":48128,"ignition":32,"odometer":null,"unknown_45":4921378889836019712}} 
[2026-11-05 12:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":230196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62995,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:57:13] local.INFO: GPS data processed {"connection_id":230196,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:57:13] local.INFO: Acknowledgment sent {"connection_id":230196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:57:26] local.INFO: TCP Data received {"connection_id":229674,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa985380012d0b10c00702a1800000014e1f..."} 
[2026-11-05 12:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa985380012d0b10c00702a1800000014e1f..."} 
[2026-11-05 12:57:26] local.INFO: Processing buffer {"connection_id":229674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa985380012d0b10c00702a1800000014e1f..."} 
[2026-11-05 12:57:26] local.INFO: Packet analysis {"connection_id":229674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:57:26] local.INFO: Extracted packet for processing {"connection_id":229674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:57:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228971776001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:57: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-05 12:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793863472000,"timestamp_ms":1793863472000,"timestamp_seconds":1793863472,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa985380"} 
[2026-11-05 12:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 12:57:26] 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-05 12:57:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:57:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228971776001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228971776001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:57:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228971776001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:57:26] 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":62996,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:57:26] local.INFO: GPS data processed {"connection_id":229674,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:57:26] local.INFO: Acknowledgment sent {"connection_id":229674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:57:41] local.INFO: TCP Data received {"connection_id":231532,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa986708012d7fad0005afe048000d004527..."} 
[2026-11-05 12:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa986708012d7fad0005afe048000d004527..."} 
[2026-11-05 12:57:41] local.INFO: Processing buffer {"connection_id":231532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa986708012d7fad0005afe048000d004527..."} 
[2026-11-05 12:57:41] local.INFO: Packet analysis {"connection_id":231532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:57:41] local.INFO: Extracted packet for processing {"connection_id":231532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:57:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228973056001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793863477000,"timestamp_ms":1793863477000,"timestamp_seconds":1793863477,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa986708"} 
[2026-11-05 12: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-05 12:57: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-05 12:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:57:41] 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-05 12:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228973056001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228973056001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:57:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:57:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228973056001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":231532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:57:41] local.INFO: GPS data processed {"connection_id":231532,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:57:41] local.INFO: Acknowledgment sent {"connection_id":231532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:57:45] local.INFO: TCP Data received {"connection_id":230196,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9a66c00100000000000000000000000000..."} 
[2026-11-05 12:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9a66c00100000000000000000000000000..."} 
[2026-11-05 12:57:45] local.INFO: Processing buffer {"connection_id":230196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9a66c00100000000000000000000000000..."} 
[2026-11-05 12:57:45] local.INFO: Packet analysis {"connection_id":230196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa9a"} 
[2026-11-05 12:57:45] local.INFO: Extracted packet for processing {"connection_id":230196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa9a"} 
[2026-11-05 12:57: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-05 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-05 12:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229068800001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 12:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4941645088159684608,"note":"Value kept but may cause issues"} 
[2026-11-05 12:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793863608000,"timestamp_ms":1793863608000,"timestamp_seconds":1793863608,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9a66c0"} 
[2026-11-05 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-05 12:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-11-05 12:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 12:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230196,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230196,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 12:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 12:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":230196,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 12:57:45] local.INFO: GPS data processed {"connection_id":230196,"processed":0,"errors":0,"total":1} 
[2026-11-05 12:57:45] local.INFO: Acknowledgment sent {"connection_id":230196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:57:48] local.INFO: TCP Data received {"connection_id":231533,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231533,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:57:48] local.INFO: Processing buffer {"connection_id":231533,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:57:48] local.INFO: IMEI packet received {"connection_id":231533,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":231533,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:57:53] local.INFO: TCP Data received {"connection_id":231533,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231533,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:57:53] local.INFO: Processing buffer {"connection_id":231533,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:57:53] local.INFO: IMEI packet received {"connection_id":231533,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":231533,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:57:54] local.INFO: TCP Data received {"connection_id":231533,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa985380012d0b10c00702a1800000014e1f..."} 
[2026-11-05 12:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa985380012d0b10c00702a1800000014e1f..."} 
[2026-11-05 12:57:54] local.INFO: Processing buffer {"connection_id":231533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa985380012d0b10c00702a1800000014e1f..."} 
[2026-11-05 12:57:54] local.INFO: Packet analysis {"connection_id":231533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:57:54] local.INFO: Extracted packet for processing {"connection_id":231533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:57:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228971776001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:57: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-05 12:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793863472000,"timestamp_ms":1793863472000,"timestamp_seconds":1793863472,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa985380"} 
[2026-11-05 12:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 12:57: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-05 12:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":231533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":231533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":231533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228971776001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228971776001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:57:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228971776001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":231533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62998,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:57:54] local.INFO: GPS data processed {"connection_id":231533,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:57:54] local.INFO: Acknowledgment sent {"connection_id":231533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:58:06] local.INFO: TCP Data received {"connection_id":231535,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:58:06] local.INFO: Processing buffer {"connection_id":231535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:58:06] local.INFO: IMEI packet received {"connection_id":231535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 12:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":231535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:58:07] local.INFO: TCP Data received {"connection_id":231535,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:58:07] local.INFO: Processing buffer {"connection_id":231535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:58:07] local.INFO: IMEI packet received {"connection_id":231535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 12:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":231535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:58:07] local.INFO: TCP Data received {"connection_id":231535,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:58:07] local.INFO: Processing buffer {"connection_id":231535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:58:07] local.INFO: IMEI packet received {"connection_id":231535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 12:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":231535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:58:09] local.INFO: TCP Data received {"connection_id":231534,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:58:09] local.INFO: Processing buffer {"connection_id":231534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:58:09] local.INFO: IMEI packet received {"connection_id":231534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":231534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:58:11] local.INFO: TCP Data received {"connection_id":231535,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:58:11] local.INFO: Processing buffer {"connection_id":231535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:58:11] local.INFO: IMEI packet received {"connection_id":231535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 12:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":231535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:58:12] local.INFO: TCP Data received {"connection_id":231535,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa99e1f0012d44c5800695d878001400522a..."} 
[2026-11-05 12:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa99e1f0012d44c5800695d878001400522a..."} 
[2026-11-05 12:58:12] local.INFO: Processing buffer {"connection_id":231535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa99e1f0012d44c5800695d878001400522a..."} 
[2026-11-05 12:58:12] local.INFO: Packet analysis {"connection_id":231535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa99"} 
[2026-11-05 12:58:12] local.INFO: Extracted packet for processing {"connection_id":231535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa99"} 
[2026-11-05 12:58:12] local.INFO: GPS Element Parsed {"raw_longitude":759481728,"raw_latitude":110483576,"longitude_deg":75.9481728,"latitude_deg":11.0483576,"altitude":20,"angle":82,"satellites":42,"speed":17,"hex_longitude":"2d44c580","hex_latitude":"0695d878","is_valid_coordinates":true} 
[2026-11-05 12:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 12:58:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,173,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 12:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793863574000,"timestamp_ms":1793863574000,"timestamp_seconds":1793863574,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa99e1f0"} 
[2026-11-05 12:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 12:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-11-05 12:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231535,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231535,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 12:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 12:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28137,"173":206,"19":48128,"24":17,"16":20804383495159808},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,19,24,16]} 
[2026-11-05 12:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 12:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 12:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 12:58:12] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-11-05 12:58:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 12:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:58:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28137,"unknown_173":206,"unknown_19":48128,"ignition":17,"odometer":null}} 
[2026-11-05 12:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":231535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62999,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:58:12] local.INFO: GPS data processed {"connection_id":231535,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:58:12] local.INFO: Acknowledgment sent {"connection_id":231535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:58:14] local.INFO: TCP Data received {"connection_id":231534,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:58:14] local.INFO: Processing buffer {"connection_id":231534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:58:14] local.INFO: IMEI packet received {"connection_id":231534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":231534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:58:14] local.INFO: TCP Data received {"connection_id":231534,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa986708012d7fad0005afe048000d004527..."} 
[2026-11-05 12:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa986708012d7fad0005afe048000d004527..."} 
[2026-11-05 12:58:14] local.INFO: Processing buffer {"connection_id":231534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa986708012d7fad0005afe048000d004527..."} 
[2026-11-05 12:58:14] local.INFO: Packet analysis {"connection_id":231534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:58:14] local.INFO: Extracted packet for processing {"connection_id":231534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:58:14] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228973056001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793863477000,"timestamp_ms":1793863477000,"timestamp_seconds":1793863477,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa986708"} 
[2026-11-05 12: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-05 12:58: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-05 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":231534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":231534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":231534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:58: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-05 12:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228973056001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228973056001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:58:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:58:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228973056001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":231534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:58:14] local.INFO: GPS data processed {"connection_id":231534,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:58:14] local.INFO: Acknowledgment sent {"connection_id":231534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:58:19] local.INFO: TCP Data received {"connection_id":231534,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa986708012d7fad0005afe048000d004527..."} 
[2026-11-05 12:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa986708012d7fad0005afe048000d004527..."} 
[2026-11-05 12:58:19] local.INFO: Processing buffer {"connection_id":231534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa986708012d7fad0005afe048000d004527..."} 
[2026-11-05 12:58:19] local.INFO: Packet analysis {"connection_id":231534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:58:19] local.INFO: Extracted packet for processing {"connection_id":231534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:58:19] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228973056001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793863477000,"timestamp_ms":1793863477000,"timestamp_seconds":1793863477,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa986708"} 
[2026-11-05 12:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:58: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-05 12:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:58: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-05 12:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":231534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":231534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":231534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:58:19] 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-05 12:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228973056001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228973056001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:58:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:58:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228973056001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":231534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:58:19] local.INFO: GPS data processed {"connection_id":231534,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:58:19] local.INFO: Acknowledgment sent {"connection_id":231534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:58:25] local.INFO: TCP Data received {"connection_id":231533,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa985380012d0b10c00702a1800000014e1f..."} 
[2026-11-05 12:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa985380012d0b10c00702a1800000014e1f..."} 
[2026-11-05 12:58:25] local.INFO: Processing buffer {"connection_id":231533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa985380012d0b10c00702a1800000014e1f..."} 
[2026-11-05 12:58:25] local.INFO: Packet analysis {"connection_id":231533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:58:25] local.INFO: Extracted packet for processing {"connection_id":231533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:58:25] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228971776001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:58:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793863472000,"timestamp_ms":1793863472000,"timestamp_seconds":1793863472,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa985380"} 
[2026-11-05 12:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:58:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 12:58:25] 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-05 12:58:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":231533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":231533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":231533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:58:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228971776001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228971776001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:58:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228971776001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":231533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63002,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:58:25] local.INFO: GPS data processed {"connection_id":231533,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:58:25] local.INFO: Acknowledgment sent {"connection_id":231533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:58:48] local.INFO: TCP Data received {"connection_id":233437,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233437,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:58:48] local.INFO: Processing buffer {"connection_id":233437,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:58:48] local.INFO: IMEI packet received {"connection_id":233437,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":233437,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:58:49] local.INFO: TCP Data received {"connection_id":231535,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9ac4800100000000000000000000000000..."} 
[2026-11-05 12:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9ac4800100000000000000000000000000..."} 
[2026-11-05 12:58:49] local.INFO: Processing buffer {"connection_id":231535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9ac4800100000000000000000000000000..."} 
[2026-11-05 12:58:49] local.INFO: Packet analysis {"connection_id":231535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa9a"} 
[2026-11-05 12:58:49] local.INFO: Extracted packet for processing {"connection_id":231535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa9a"} 
[2026-11-05 12:58: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-05 12: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-05 12:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229074944001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 12:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4955507730763249664,"note":"Value kept but may cause issues"} 
[2026-11-05 12:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793863632000,"timestamp_ms":1793863632000,"timestamp_seconds":1793863632,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9ac480"} 
[2026-11-05 12: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-05 12:58: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-05 12: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":233,"data_length":795,"current_offset":136} 
[2026-11-05 12:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":231535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":231535,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":231535,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 12:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 12:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":231535,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 12:58:49] local.INFO: GPS data processed {"connection_id":231535,"processed":0,"errors":0,"total":1} 
[2026-11-05 12:58:49] local.INFO: Acknowledgment sent {"connection_id":231535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:58:54] local.INFO: TCP Data received {"connection_id":233437,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233437,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:58:54] local.INFO: Processing buffer {"connection_id":233437,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:58:54] local.INFO: IMEI packet received {"connection_id":233437,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":233437,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:58:54] local.INFO: TCP Data received {"connection_id":233437,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa985380012d0b10c00702a1800000014e1f..."} 
[2026-11-05 12:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa985380012d0b10c00702a1800000014e1f..."} 
[2026-11-05 12:58:54] local.INFO: Processing buffer {"connection_id":233437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa985380012d0b10c00702a1800000014e1f..."} 
[2026-11-05 12:58:54] local.INFO: Packet analysis {"connection_id":233437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:58:54] local.INFO: Extracted packet for processing {"connection_id":233437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:58:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228971776001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:58: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-05 12:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793863472000,"timestamp_ms":1793863472000,"timestamp_seconds":1793863472,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa985380"} 
[2026-11-05 12: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-05 12:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 12:58: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-05 12: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-05 12: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-05 12:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":233437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":233437,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":233437,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228971776001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228971776001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:58:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228971776001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":233437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63003,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:58:55] local.INFO: GPS data processed {"connection_id":233437,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:58:55] local.INFO: Acknowledgment sent {"connection_id":233437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:59:03] local.INFO: TCP Data received {"connection_id":230197,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:59:03] local.INFO: Processing buffer {"connection_id":230197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:59:03] local.INFO: IMEI packet received {"connection_id":230197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 12:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":230197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:59:08] local.INFO: TCP Data received {"connection_id":230197,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:59:08] local.INFO: Processing buffer {"connection_id":230197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 12:59:08] local.INFO: IMEI packet received {"connection_id":230197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 12:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":230197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:59:09] local.INFO: TCP Data received {"connection_id":230197,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa986708012d7fad0005afe048000d004527..."} 
[2026-11-05 12:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa986708012d7fad0005afe048000d004527..."} 
[2026-11-05 12:59:09] local.INFO: Processing buffer {"connection_id":230197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa986708012d7fad0005afe048000d004527..."} 
[2026-11-05 12:59:09] local.INFO: Packet analysis {"connection_id":230197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:59:09] local.INFO: Extracted packet for processing {"connection_id":230197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:59:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228973056001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793863477000,"timestamp_ms":1793863477000,"timestamp_seconds":1793863477,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa986708"} 
[2026-11-05 12: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-05 12:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 12: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":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 12: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-05 12: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-05 12:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:59:09] 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-05 12:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228973056001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228973056001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:59:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:59:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228973056001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":230197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:59:09] local.INFO: GPS data processed {"connection_id":230197,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:59:09] local.INFO: Acknowledgment sent {"connection_id":230197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:59:11] local.INFO: TCP Data received {"connection_id":230198,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230198,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:59:11] local.INFO: Processing buffer {"connection_id":230198,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:59:11] local.INFO: IMEI packet received {"connection_id":230198,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 12:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":230198,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:59:16] local.INFO: TCP Data received {"connection_id":230198,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230198,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:59:16] local.INFO: Processing buffer {"connection_id":230198,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 12:59:16] local.INFO: IMEI packet received {"connection_id":230198,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 12:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":230198,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:59:18] local.INFO: TCP Data received {"connection_id":230198,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9a5720012d44f6000695dd780020005c2b..."} 
[2026-11-05 12:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9a5720012d44f6000695dd780020005c2b..."} 
[2026-11-05 12:59:18] local.INFO: Processing buffer {"connection_id":230198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9a5720012d44f6000695dd780020005c2b..."} 
[2026-11-05 12:59:18] local.INFO: Packet analysis {"connection_id":230198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa9a"} 
[2026-11-05 12:59:18] local.INFO: Extracted packet for processing {"connection_id":230198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa9a"} 
[2026-11-05 12:59:18] local.INFO: GPS Element Parsed {"raw_longitude":759494144,"raw_latitude":110484856,"longitude_deg":75.9494144,"latitude_deg":11.0484856,"altitude":32,"angle":92,"satellites":43,"speed":17,"hex_longitude":"2d44f600","hex_latitude":"0695dd78","is_valid_coordinates":true} 
[2026-11-05 12:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 12:59:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,173,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 12:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793863604000,"timestamp_ms":1793863604000,"timestamp_seconds":1793863604,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9a5720"} 
[2026-11-05 12:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 12:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-05 12:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230198,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230198,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 12:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 12:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 12:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28245,"173":206,"19":48128,"24":17,"16":20804383495159808},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,19,24,16]} 
[2026-11-05 12:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 12:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 12:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 12:59:18] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-11-05 12:59:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 12:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:59:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28245,"unknown_173":206,"unknown_19":48128,"ignition":17,"odometer":null}} 
[2026-11-05 12:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":230198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63005,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:59:18] local.INFO: GPS data processed {"connection_id":230198,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:59:18] local.INFO: Acknowledgment sent {"connection_id":230198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:59:26] local.INFO: TCP Data received {"connection_id":233437,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa985380012d0b10c00702a1800000014e1f..."} 
[2026-11-05 12:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa985380012d0b10c00702a1800000014e1f..."} 
[2026-11-05 12:59:26] local.INFO: Processing buffer {"connection_id":233437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa985380012d0b10c00702a1800000014e1f..."} 
[2026-11-05 12:59:26] local.INFO: Packet analysis {"connection_id":233437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:59:26] local.INFO: Extracted packet for processing {"connection_id":233437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:59:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 12:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228971776001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:59: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-05 12:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793863472000,"timestamp_ms":1793863472000,"timestamp_seconds":1793863472,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa985380"} 
[2026-11-05 12:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 12:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 12:59:26] 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-05 12:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 12:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 12:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233437,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233437,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228971776001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228971776001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:59:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228971776001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":233437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63006,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:59:26] local.INFO: GPS data processed {"connection_id":233437,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:59:26] local.INFO: Acknowledgment sent {"connection_id":233437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:59:41] local.INFO: TCP Data received {"connection_id":230197,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa986708012d7fad0005afe048000d004527..."} 
[2026-11-05 12:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa986708012d7fad0005afe048000d004527..."} 
[2026-11-05 12:59:41] local.INFO: Processing buffer {"connection_id":230197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa986708012d7fad0005afe048000d004527..."} 
[2026-11-05 12:59:41] local.INFO: Packet analysis {"connection_id":230197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:59:41] local.INFO: Extracted packet for processing {"connection_id":230197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 12:59:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228973056001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 12:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 12:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 12:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793863477000,"timestamp_ms":1793863477000,"timestamp_seconds":1793863477,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa986708"} 
[2026-11-05 12: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-05 12:59: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-05 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 12:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 12:59:41] 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-05 12:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 12:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 12:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228973056001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 12:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 12:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 12:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228973056001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:59:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 12:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 12:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 12:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228973056001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 12:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":230197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:59:41] local.INFO: GPS data processed {"connection_id":230197,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:59:41] local.INFO: Acknowledgment sent {"connection_id":230197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 12:59:48] local.INFO: TCP Data received {"connection_id":229675,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229675,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:59:48] local.INFO: Processing buffer {"connection_id":229675,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:59:48] local.INFO: IMEI packet received {"connection_id":229675,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 12:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":229675,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 12:59:54] local.INFO: TCP Data received {"connection_id":229675,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229675,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:59:54] local.INFO: Processing buffer {"connection_id":229675,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 12:59:54] local.INFO: IMEI packet received {"connection_id":229675,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 12:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":229675,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 12:59:55] local.INFO: TCP Data received {"connection_id":229675,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9ceb48012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9ceb48012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:59:55] local.INFO: Processing buffer {"connection_id":229675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9ceb48012d0b10c00702a1800000014e1c..."} 
[2026-11-05 12:59:55] local.INFO: Packet analysis {"connection_id":229675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 12:59:55] local.INFO: Extracted packet for processing {"connection_id":229675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 12:59:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 12: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-05 12:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229048832001,"note":"Value kept but may cause issues"} 
[2026-11-05 12:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 12:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 12:59: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-05 12:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793863773000,"timestamp_ms":1793863773000,"timestamp_seconds":1793863773,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9ceb48"} 
[2026-11-05 12: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-05 12:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 12: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 12:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 12: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-05 12: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-05 12:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 12:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 12:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229675,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229675,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 12:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 12:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 12:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 12:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229048832001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 12:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 12:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 12:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229048832001,"description":"Unknown IO ID 0"} 
[2026-11-05 12:59:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 12:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 12:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 12:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229048832001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 12:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":229675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63008,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 12:59:55] local.INFO: GPS data processed {"connection_id":229675,"processed":1,"errors":0,"total":1} 
[2026-11-05 12:59:55] local.INFO: Acknowledgment sent {"connection_id":229675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:00:03] local.INFO: TCP Data received {"connection_id":231536,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:00:03] local.INFO: Processing buffer {"connection_id":231536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:00:03] local.INFO: IMEI packet received {"connection_id":231536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":231536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:00:09] local.INFO: TCP Data received {"connection_id":231536,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:00:09] local.INFO: Processing buffer {"connection_id":231536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:00:09] local.INFO: IMEI packet received {"connection_id":231536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":231536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:00:10] local.INFO: TCP Data received {"connection_id":231536,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa986708012d7fad0005afe048000d004527..."} 
[2026-11-05 13:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa986708012d7fad0005afe048000d004527..."} 
[2026-11-05 13:00:10] local.INFO: Processing buffer {"connection_id":231536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa986708012d7fad0005afe048000d004527..."} 
[2026-11-05 13:00:10] local.INFO: Packet analysis {"connection_id":231536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 13:00:10] local.INFO: Extracted packet for processing {"connection_id":231536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa98"} 
[2026-11-05 13:00:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228973056001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793863477000,"timestamp_ms":1793863477000,"timestamp_seconds":1793863477,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa986708"} 
[2026-11-05 13:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:00:10] 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-05 13:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228973056001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228973056001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:00:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:00:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228973056001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":231536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:00:10] local.INFO: GPS data processed {"connection_id":231536,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:00:10] local.INFO: Acknowledgment sent {"connection_id":231536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:00:10] local.INFO: TCP Data received {"connection_id":230198,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9b39b00100000000000000000000000000..."} 
[2026-11-05 13:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9b39b00100000000000000000000000000..."} 
[2026-11-05 13:00:10] local.INFO: Processing buffer {"connection_id":230198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9b39b00100000000000000000000000000..."} 
[2026-11-05 13:00:10] local.INFO: Packet analysis {"connection_id":230198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa9b"} 
[2026-11-05 13:00:10] local.INFO: Extracted packet for processing {"connection_id":230198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa9b"} 
[2026-11-05 13:00:10] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-11-05 13:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229082624001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4969159267134044160,"note":"Value kept but may cause issues"} 
[2026-11-05 13:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793863662000,"timestamp_ms":1793863662000,"timestamp_seconds":1793863662,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9b39b0"} 
[2026-11-05 13:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 13:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-11-05 13:00:10] 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-05 13:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230198,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230198,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":230198,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 13:00:10] local.INFO: GPS data processed {"connection_id":230198,"processed":0,"errors":0,"total":1} 
[2026-11-05 13:00:10] local.INFO: Acknowledgment sent {"connection_id":230198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:00:17] local.INFO: TCP Data received {"connection_id":233438,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233438,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:00:17] local.INFO: Processing buffer {"connection_id":233438,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:00:17] local.INFO: IMEI packet received {"connection_id":233438,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":233438,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:00:22] local.INFO: TCP Data received {"connection_id":233438,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233438,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:00:22] local.INFO: Processing buffer {"connection_id":233438,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:00:22] local.INFO: IMEI packet received {"connection_id":233438,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":233438,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:00:23] local.INFO: TCP Data received {"connection_id":233438,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9ab0f8012d4526000695fb480026002e2b..."} 
[2026-11-05 13:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9ab0f8012d4526000695fb480026002e2b..."} 
[2026-11-05 13:00:23] local.INFO: Processing buffer {"connection_id":233438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9ab0f8012d4526000695fb480026002e2b..."} 
[2026-11-05 13:00:23] local.INFO: Packet analysis {"connection_id":233438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa9a"} 
[2026-11-05 13:00:23] local.INFO: Extracted packet for processing {"connection_id":233438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa9a"} 
[2026-11-05 13:00:23] local.INFO: GPS Element Parsed {"raw_longitude":759506432,"raw_latitude":110492488,"longitude_deg":75.9506432,"latitude_deg":11.0492488,"altitude":38,"angle":46,"satellites":43,"speed":23,"hex_longitude":"2d452600","hex_latitude":"0695fb48","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:00:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,173,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 13:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793863627000,"timestamp_ms":1793863627000,"timestamp_seconds":1793863627,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9ab0f8"} 
[2026-11-05 13: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-05 13:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 13: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 13:00:23] 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-05 13: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-05 13: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-05 13:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":233438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":233438,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":233438,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28148,"173":206,"19":48128,"24":23,"16":20804383495159808},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,19,24,16]} 
[2026-11-05 13:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 13:00:23] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-11-05 13:00:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:00:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28148,"unknown_173":206,"unknown_19":48128,"ignition":23,"odometer":null}} 
[2026-11-05 13:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":233438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63010,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:00:23] local.INFO: GPS data processed {"connection_id":233438,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:00:23] local.INFO: Acknowledgment sent {"connection_id":233438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:00:26] local.INFO: TCP Data received {"connection_id":229675,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9ceb48012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9ceb48012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:00:26] local.INFO: Processing buffer {"connection_id":229675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9ceb48012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:00:26] local.INFO: Packet analysis {"connection_id":229675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:00:26] local.INFO: Extracted packet for processing {"connection_id":229675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:00:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229048832001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:00: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-05 13:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793863773000,"timestamp_ms":1793863773000,"timestamp_seconds":1793863773,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9ceb48"} 
[2026-11-05 13:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:00:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:00:26] 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-05 13:00:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229675,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229675,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:00:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229048832001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229048832001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:00:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229048832001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":229675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63011,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:00:26] local.INFO: GPS data processed {"connection_id":229675,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:00:26] local.INFO: Acknowledgment sent {"connection_id":229675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:00:41] local.INFO: TCP Data received {"connection_id":231536,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9cfed0012d7fad0005afe048000d004529..."} 
[2026-11-05 13:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9cfed0012d7fad0005afe048000d004529..."} 
[2026-11-05 13:00:41] local.INFO: Processing buffer {"connection_id":231536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9cfed0012d7fad0005afe048000d004529..."} 
[2026-11-05 13:00:41] local.INFO: Packet analysis {"connection_id":231536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:00:41] local.INFO: Extracted packet for processing {"connection_id":231536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:00:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229050112001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793863778000,"timestamp_ms":1793863778000,"timestamp_seconds":1793863778,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9cfed0"} 
[2026-11-05 13: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-05 13: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-05 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:00: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-05 13:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229050112001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229050112001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:00:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:00:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229050112001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":231536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:00:41] local.INFO: GPS data processed {"connection_id":231536,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:00:41] local.INFO: Acknowledgment sent {"connection_id":231536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:00:54] local.INFO: TCP Data received {"connection_id":231537,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231537,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:00:54] local.INFO: Processing buffer {"connection_id":231537,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:00:54] local.INFO: IMEI packet received {"connection_id":231537,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":231537,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:00:59] local.INFO: TCP Data received {"connection_id":231537,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231537,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:00:59] local.INFO: Processing buffer {"connection_id":231537,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:00:59] local.INFO: IMEI packet received {"connection_id":231537,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":231537,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:01:00] local.INFO: TCP Data received {"connection_id":231537,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9ceb48012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9ceb48012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:01:00] local.INFO: Processing buffer {"connection_id":231537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9ceb48012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:01:00] local.INFO: Packet analysis {"connection_id":231537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:01:00] local.INFO: Extracted packet for processing {"connection_id":231537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:01:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229048832001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13: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-05 13:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793863773000,"timestamp_ms":1793863773000,"timestamp_seconds":1793863773,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9ceb48"} 
[2026-11-05 13: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-05 13:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:01:00] 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-05 13: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-05 13: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-05 13:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":231537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":231537,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":231537,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229048832001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229048832001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:01:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229048832001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":231537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63013,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:01:00] local.INFO: GPS data processed {"connection_id":231537,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:01:00] local.INFO: Acknowledgment sent {"connection_id":231537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:01:03] local.INFO: TCP Data received {"connection_id":230199,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:01:03] local.INFO: Processing buffer {"connection_id":230199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:01:03] local.INFO: IMEI packet received {"connection_id":230199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":230199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:01:09] local.INFO: TCP Data received {"connection_id":230199,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:01:09] local.INFO: Processing buffer {"connection_id":230199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:01:09] local.INFO: IMEI packet received {"connection_id":230199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":230199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:01:10] local.INFO: TCP Data received {"connection_id":230199,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9cfed0012d7fad0005afe048000d004529..."} 
[2026-11-05 13:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9cfed0012d7fad0005afe048000d004529..."} 
[2026-11-05 13:01:10] local.INFO: Processing buffer {"connection_id":230199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9cfed0012d7fad0005afe048000d004529..."} 
[2026-11-05 13:01:10] local.INFO: Packet analysis {"connection_id":230199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:01:10] local.INFO: Extracted packet for processing {"connection_id":230199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:01:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229050112001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793863778000,"timestamp_ms":1793863778000,"timestamp_seconds":1793863778,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9cfed0"} 
[2026-11-05 13:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:01:10] 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-05 13:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229050112001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229050112001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:01:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:01:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229050112001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":230199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:01:10] local.INFO: GPS data processed {"connection_id":230199,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:01:10] local.INFO: Acknowledgment sent {"connection_id":230199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:01:12] local.INFO: TCP Data received {"connection_id":230200,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230200,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:01:12] local.INFO: Processing buffer {"connection_id":230200,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:01:12] local.INFO: IMEI packet received {"connection_id":230200,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":230200,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:01:17] local.INFO: TCP Data received {"connection_id":230200,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230200,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:01:17] local.INFO: Processing buffer {"connection_id":230200,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:01:17] local.INFO: IMEI packet received {"connection_id":230200,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":230200,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:01:19] local.INFO: TCP Data received {"connection_id":230200,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9b93880100000000000000000000000000..."} 
[2026-11-05 13:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9b93880100000000000000000000000000..."} 
[2026-11-05 13:01:19] local.INFO: Processing buffer {"connection_id":230200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9b93880100000000000000000000000000..."} 
[2026-11-05 13:01:19] local.INFO: Packet analysis {"connection_id":230200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa9b"} 
[2026-11-05 13:01:19] local.INFO: Extracted packet for processing {"connection_id":230200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa9b"} 
[2026-11-05 13:01: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-05 13:01: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-05 13:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229088512001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4982670066018109440,"note":"Value kept but may cause issues"} 
[2026-11-05 13:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793863685000,"timestamp_ms":1793863685000,"timestamp_seconds":1793863685,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9b9388"} 
[2026-11-05 13:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 13:01: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":244,"data_length":795,"current_offset":136} 
[2026-11-05 13:01:19] 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-05 13:01: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-05 13:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230200,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230200,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":230200,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 13:01:19] local.INFO: GPS data processed {"connection_id":230200,"processed":0,"errors":0,"total":1} 
[2026-11-05 13:01:19] local.INFO: Acknowledgment sent {"connection_id":230200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:01:21] local.INFO: TCP Data received {"connection_id":230200,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9b06e8012d455ac0069620280028003a2c..."} 
[2026-11-05 13:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9b06e8012d455ac0069620280028003a2c..."} 
[2026-11-05 13:01:21] local.INFO: Processing buffer {"connection_id":230200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9b06e8012d455ac0069620280028003a2c..."} 
[2026-11-05 13:01:21] local.INFO: Packet analysis {"connection_id":230200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa9b"} 
[2026-11-05 13:01:21] local.INFO: Extracted packet for processing {"connection_id":230200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa9b"} 
[2026-11-05 13:01:21] local.INFO: GPS Element Parsed {"raw_longitude":759519936,"raw_latitude":110501928,"longitude_deg":75.9519936,"latitude_deg":11.0501928,"altitude":40,"angle":58,"satellites":44,"speed":37,"hex_longitude":"2d455ac0","hex_latitude":"06962028","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:01:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,173,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 13:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793863649000,"timestamp_ms":1793863649000,"timestamp_seconds":1793863649,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9b06e8"} 
[2026-11-05 13: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-05 13:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 13: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 13:01:21] 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-05 13: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-05 13: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-05 13:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230200,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230200,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28104,"173":206,"19":48128,"24":37,"16":20804383495159808},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,19,24,16]} 
[2026-11-05 13:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 13:01:21] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-11-05 13:01:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:01:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28104,"unknown_173":206,"unknown_19":48128,"ignition":37,"odometer":null}} 
[2026-11-05 13:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":230200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63015,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:01:21] local.INFO: GPS data processed {"connection_id":230200,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:01:21] local.INFO: Acknowledgment sent {"connection_id":230200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:01:32] local.INFO: TCP Data received {"connection_id":231537,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9ceb48012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9ceb48012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:01:32] local.INFO: Processing buffer {"connection_id":231537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9ceb48012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:01:32] local.INFO: Packet analysis {"connection_id":231537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:01:32] local.INFO: Extracted packet for processing {"connection_id":231537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:01:32] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229048832001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:01:32] 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-05 13:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1793863773000,"timestamp_ms":1793863773000,"timestamp_seconds":1793863773,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9ceb48"} 
[2026-11-05 13: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-05 13:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:01:32] 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-05 13: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-05 13: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-05 13:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":231537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":231537,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":231537,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229048832001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229048832001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:01:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229048832001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":231537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63016,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:01:32] local.INFO: GPS data processed {"connection_id":231537,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:01:32] local.INFO: Acknowledgment sent {"connection_id":231537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:01:41] local.INFO: TCP Data received {"connection_id":230199,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9cfed0012d7fad0005afe048000d004529..."} 
[2026-11-05 13:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9cfed0012d7fad0005afe048000d004529..."} 
[2026-11-05 13:01:41] local.INFO: Processing buffer {"connection_id":230199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9cfed0012d7fad0005afe048000d004529..."} 
[2026-11-05 13:01:41] local.INFO: Packet analysis {"connection_id":230199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:01:41] local.INFO: Extracted packet for processing {"connection_id":230199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:01:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229050112001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793863778000,"timestamp_ms":1793863778000,"timestamp_seconds":1793863778,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9cfed0"} 
[2026-11-05 13: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-05 13: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-05 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:01: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-05 13:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229050112001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229050112001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:01:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:01:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229050112001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":230199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:01:41] local.INFO: GPS data processed {"connection_id":230199,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:01:41] local.INFO: Acknowledgment sent {"connection_id":230199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:01:48] local.INFO: TCP Data received {"connection_id":233439,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233439,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:01:48] local.INFO: Processing buffer {"connection_id":233439,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:01:48] local.INFO: IMEI packet received {"connection_id":233439,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":233439,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:01:57] local.INFO: TCP Data received {"connection_id":233439,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233439,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:01:57] local.INFO: Processing buffer {"connection_id":233439,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:01:57] local.INFO: IMEI packet received {"connection_id":233439,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":233439,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:01:58] local.INFO: TCP Data received {"connection_id":233439,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9ceb48012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9ceb48012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:01:58] local.INFO: Processing buffer {"connection_id":233439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9ceb48012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:01:58] local.INFO: Packet analysis {"connection_id":233439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:01:58] local.INFO: Extracted packet for processing {"connection_id":233439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:01:58] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229048832001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:01:58] 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-05 13:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793863773000,"timestamp_ms":1793863773000,"timestamp_seconds":1793863773,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9ceb48"} 
[2026-11-05 13:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:01:58] 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-05 13:01:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":233439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":233439,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":233439,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:01:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229048832001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229048832001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:01:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229048832001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":233439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63018,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:01:58] local.INFO: GPS data processed {"connection_id":233439,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:01:58] local.INFO: Acknowledgment sent {"connection_id":233439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:02:03] local.INFO: TCP Data received {"connection_id":229676,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:02:03] local.INFO: Processing buffer {"connection_id":229676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:02:03] local.INFO: IMEI packet received {"connection_id":229676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":229676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:02:09] local.INFO: TCP Data received {"connection_id":229676,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:02:09] local.INFO: Processing buffer {"connection_id":229676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:02:09] local.INFO: IMEI packet received {"connection_id":229676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":229676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:02:10] local.INFO: TCP Data received {"connection_id":229676,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9cfed0012d7fad0005afe048000d004529..."} 
[2026-11-05 13:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9cfed0012d7fad0005afe048000d004529..."} 
[2026-11-05 13:02:10] local.INFO: Processing buffer {"connection_id":229676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9cfed0012d7fad0005afe048000d004529..."} 
[2026-11-05 13:02:10] local.INFO: Packet analysis {"connection_id":229676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:02:10] local.INFO: Extracted packet for processing {"connection_id":229676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:02:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229050112001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793863778000,"timestamp_ms":1793863778000,"timestamp_seconds":1793863778,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9cfed0"} 
[2026-11-05 13:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:02:10] 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-05 13:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229050112001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229050112001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:02:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:02:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229050112001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:02:10] 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":63019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:02:10] local.INFO: GPS data processed {"connection_id":229676,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:02:10] local.INFO: Acknowledgment sent {"connection_id":229676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:02:30] local.INFO: TCP Data received {"connection_id":233439,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9ceb48012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9ceb48012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:02:30] local.INFO: Processing buffer {"connection_id":233439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9ceb48012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:02:30] local.INFO: Packet analysis {"connection_id":233439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:02:30] local.INFO: Extracted packet for processing {"connection_id":233439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:02:30] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229048832001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:02:30] 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-05 13:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793863773000,"timestamp_ms":1793863773000,"timestamp_seconds":1793863773,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9ceb48"} 
[2026-11-05 13:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:02:30] 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-05 13:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":233439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":233439,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":233439,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229048832001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229048832001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:02:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229048832001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":233439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63020,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:02:30] local.INFO: GPS data processed {"connection_id":233439,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:02:30] local.INFO: Acknowledgment sent {"connection_id":233439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:02:42] local.INFO: TCP Data received {"connection_id":229676,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9cfed0012d7fad0005afe048000d004529..."} 
[2026-11-05 13:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9cfed0012d7fad0005afe048000d004529..."} 
[2026-11-05 13:02:42] local.INFO: Processing buffer {"connection_id":229676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9cfed0012d7fad0005afe048000d004529..."} 
[2026-11-05 13:02:42] local.INFO: Packet analysis {"connection_id":229676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:02:42] local.INFO: Extracted packet for processing {"connection_id":229676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:02:42] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229050112001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793863778000,"timestamp_ms":1793863778000,"timestamp_seconds":1793863778,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9cfed0"} 
[2026-11-05 13:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:02: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-05 13:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:02:42] 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-05 13:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229050112001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229050112001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:02:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:02:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229050112001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:02:42] 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":63021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:02:42] local.INFO: GPS data processed {"connection_id":229676,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:02:42] local.INFO: Acknowledgment sent {"connection_id":229676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:02:48] local.INFO: TCP Data received {"connection_id":231538,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231538,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:02:48] local.INFO: Processing buffer {"connection_id":231538,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:02:48] local.INFO: IMEI packet received {"connection_id":231538,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":231538,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:02:54] local.INFO: TCP Data received {"connection_id":231538,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231538,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:02:54] local.INFO: Processing buffer {"connection_id":231538,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:02:54] local.INFO: IMEI packet received {"connection_id":231538,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":231538,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:02:54] local.INFO: TCP Data received {"connection_id":231538,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9ceb48012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9ceb48012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:02:54] local.INFO: Processing buffer {"connection_id":231538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9ceb48012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:02:54] local.INFO: Packet analysis {"connection_id":231538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:02:54] local.INFO: Extracted packet for processing {"connection_id":231538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:02:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229048832001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:02: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-05 13:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793863773000,"timestamp_ms":1793863773000,"timestamp_seconds":1793863773,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9ceb48"} 
[2026-11-05 13:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:02: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-05 13:02:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":231538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":231538,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":231538,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229048832001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229048832001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:02:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229048832001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":231538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63022,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:02:55] local.INFO: GPS data processed {"connection_id":231538,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:02:55] local.INFO: Acknowledgment sent {"connection_id":231538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:03:08] local.INFO: TCP Data received {"connection_id":229677,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:03:08] local.INFO: Processing buffer {"connection_id":229677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:03:08] local.INFO: IMEI packet received {"connection_id":229677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":229677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:03:12] local.INFO: TCP Data received {"connection_id":229678,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:03:12] local.INFO: Processing buffer {"connection_id":229678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:03:12] local.INFO: IMEI packet received {"connection_id":229678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":229678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:03:16] local.INFO: TCP Data received {"connection_id":229678,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:03:16] local.INFO: Processing buffer {"connection_id":229678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:03:16] local.INFO: IMEI packet received {"connection_id":229678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":229678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:03:16] local.INFO: TCP Data received {"connection_id":229677,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:03:16] local.INFO: Processing buffer {"connection_id":229677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:03:16] local.INFO: IMEI packet received {"connection_id":229677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":229677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:03:17] local.INFO: TCP Data received {"connection_id":229677,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9cfed0012d7fad0005afe048000d004529..."} 
[2026-11-05 13:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9cfed0012d7fad0005afe048000d004529..."} 
[2026-11-05 13:03:17] local.INFO: Processing buffer {"connection_id":229677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9cfed0012d7fad0005afe048000d004529..."} 
[2026-11-05 13:03:17] local.INFO: Packet analysis {"connection_id":229677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:03:17] local.INFO: Extracted packet for processing {"connection_id":229677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:03:17] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229050112001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793863778000,"timestamp_ms":1793863778000,"timestamp_seconds":1793863778,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9cfed0"} 
[2026-11-05 13: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-05 13:03: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-05 13:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:03: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-05 13: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-05 13: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-05 13:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:03: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-05 13:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229050112001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229050112001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:03:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:03:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229050112001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:03:17] 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":63023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:03:17] local.INFO: GPS data processed {"connection_id":229677,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:03:17] local.INFO: Acknowledgment sent {"connection_id":229677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:03:19] local.INFO: TCP Data received {"connection_id":229677,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9cfed0012d7fad0005afe048000d004529..."} 
[2026-11-05 13:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9cfed0012d7fad0005afe048000d004529..."} 
[2026-11-05 13:03:19] local.INFO: Processing buffer {"connection_id":229677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9cfed0012d7fad0005afe048000d004529..."} 
[2026-11-05 13:03:19] local.INFO: Packet analysis {"connection_id":229677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:03:19] local.INFO: Extracted packet for processing {"connection_id":229677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:03:19] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229050112001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793863778000,"timestamp_ms":1793863778000,"timestamp_seconds":1793863778,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9cfed0"} 
[2026-11-05 13: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-05 13:03: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-05 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:03: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-05 13:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229050112001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229050112001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:03:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:03:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229050112001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:03:19] 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":63024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:03:19] local.INFO: GPS data processed {"connection_id":229677,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:03:19] local.INFO: Acknowledgment sent {"connection_id":229677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:03:19] local.INFO: TCP Data received {"connection_id":229678,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9df8d0012d479c8006961388003900552c..."} 
[2026-11-05 13:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9df8d0012d479c8006961388003900552c..."} 
[2026-11-05 13:03:19] local.INFO: Processing buffer {"connection_id":229678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9df8d0012d479c8006961388003900552c..."} 
[2026-11-05 13:03:19] local.INFO: Packet analysis {"connection_id":229678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa9d"} 
[2026-11-05 13:03:19] local.INFO: Extracted packet for processing {"connection_id":229678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa9d"} 
[2026-11-05 13:03:19] local.INFO: GPS Element Parsed {"raw_longitude":759667840,"raw_latitude":110498696,"longitude_deg":75.966784,"latitude_deg":11.0498696,"altitude":57,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d479c80","hex_latitude":"06961388","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229138176001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5143603383953309696,"note":"Value kept but may cause issues"} 
[2026-11-05 13:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793863842000,"timestamp_ms":1793863842000,"timestamp_seconds":1793863842,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9df8d0"} 
[2026-11-05 13: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-05 13:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 13: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-05 13:03:19] 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-05 13: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-05 13: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-05 13:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229138176001,"66":28300,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5143603383953309696},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229138176001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:03:19] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:03:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5143603383953309696,"description":"Unknown IO ID 45"} 
[2026-11-05 13:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229138176001,"power":28300,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5143603383953309696}} 
[2026-11-05 13:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":229678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63025,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:03:19] local.INFO: GPS data processed {"connection_id":229678,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:03:19] local.INFO: Acknowledgment sent {"connection_id":229678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:03:26] local.INFO: TCP Data received {"connection_id":231538,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9ceb48012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9ceb48012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:03:26] local.INFO: Processing buffer {"connection_id":231538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9ceb48012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:03:26] local.INFO: Packet analysis {"connection_id":231538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:03:26] local.INFO: Extracted packet for processing {"connection_id":231538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:03:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229048832001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:03: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-05 13:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793863773000,"timestamp_ms":1793863773000,"timestamp_seconds":1793863773,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9ceb48"} 
[2026-11-05 13:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:03:26] 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-05 13:03:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231538,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231538,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:03:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229048832001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229048832001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:03:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229048832001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":231538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63026,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:03:26] local.INFO: GPS data processed {"connection_id":231538,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:03:26] local.INFO: Acknowledgment sent {"connection_id":231538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:03:48] local.INFO: TCP Data received {"connection_id":233440,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233440,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:03:48] local.INFO: Processing buffer {"connection_id":233440,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:03:48] local.INFO: IMEI packet received {"connection_id":233440,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":233440,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:03:54] local.INFO: TCP Data received {"connection_id":233440,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233440,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:03:54] local.INFO: Processing buffer {"connection_id":233440,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:03:54] local.INFO: IMEI packet received {"connection_id":233440,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":233440,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:03:55] local.INFO: TCP Data received {"connection_id":233440,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9ceb48012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9ceb48012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:03:55] local.INFO: Processing buffer {"connection_id":233440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9ceb48012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:03:55] local.INFO: Packet analysis {"connection_id":233440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:03:55] local.INFO: Extracted packet for processing {"connection_id":233440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:03:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229048832001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:03: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-05 13:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793863773000,"timestamp_ms":1793863773000,"timestamp_seconds":1793863773,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9ceb48"} 
[2026-11-05 13:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233440,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233440,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229048832001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229048832001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:03:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229048832001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":233440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63027,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:03:55] local.INFO: GPS data processed {"connection_id":233440,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:03:55] local.INFO: Acknowledgment sent {"connection_id":233440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:04:03] local.INFO: TCP Data received {"connection_id":230201,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:04:03] local.INFO: Processing buffer {"connection_id":230201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:04:03] local.INFO: IMEI packet received {"connection_id":230201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":230201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:04:05] local.INFO: TCP Data received {"connection_id":229678,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9e4308012d47d88006961b10003400482c..."} 
[2026-11-05 13:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9e4308012d47d88006961b10003400482c..."} 
[2026-11-05 13:04:05] local.INFO: Processing buffer {"connection_id":229678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9e4308012d47d88006961b10003400482c..."} 
[2026-11-05 13:04:05] local.INFO: Packet analysis {"connection_id":229678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa9e"} 
[2026-11-05 13:04:05] local.INFO: Extracted packet for processing {"connection_id":229678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa9e"} 
[2026-11-05 13:04:05] local.INFO: GPS Element Parsed {"raw_longitude":759683200,"raw_latitude":110500624,"longitude_deg":75.96832,"latitude_deg":11.0500624,"altitude":52,"angle":72,"satellites":44,"speed":28,"hex_longitude":"2d47d880","hex_latitude":"06961b10","is_valid_coordinates":true} 
[2026-11-05 13:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229143552001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5160140038835767296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793863861000,"timestamp_ms":1793863861000,"timestamp_seconds":1793863861,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9e4308"} 
[2026-11-05 13:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 13:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-05 13:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":229678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":229678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":229678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229143552001,"66":28256,"171":206,"19":48128,"24":28,"16":20804383495159808,"45":5160140038835767296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229143552001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:04:05] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:04:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5160140038835767296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229143552001,"power":28256,"unknown_171":206,"unknown_19":48128,"ignition":28,"odometer":null,"unknown_45":5160140038835767296}} 
[2026-11-05 13:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":229678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63028,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:04:05] local.INFO: GPS data processed {"connection_id":229678,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:04:05] local.INFO: Acknowledgment sent {"connection_id":229678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:04:09] local.INFO: TCP Data received {"connection_id":230201,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:04:09] local.INFO: Processing buffer {"connection_id":230201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:04:09] local.INFO: IMEI packet received {"connection_id":230201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":230201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:04:10] local.INFO: TCP Data received {"connection_id":230201,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9cfed0012d7fad0005afe048000d004529..."} 
[2026-11-05 13:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9cfed0012d7fad0005afe048000d004529..."} 
[2026-11-05 13:04:10] local.INFO: Processing buffer {"connection_id":230201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9cfed0012d7fad0005afe048000d004529..."} 
[2026-11-05 13:04:10] local.INFO: Packet analysis {"connection_id":230201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:04:10] local.INFO: Extracted packet for processing {"connection_id":230201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:04:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229050112001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793863778000,"timestamp_ms":1793863778000,"timestamp_seconds":1793863778,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9cfed0"} 
[2026-11-05 13:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:04:10] 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-05 13:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229050112001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229050112001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:04:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229050112001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":230201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:04:10] local.INFO: GPS data processed {"connection_id":230201,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:04:10] local.INFO: Acknowledgment sent {"connection_id":230201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:04:18] local.INFO: TCP Data received {"connection_id":229679,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229679,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:04:18] local.INFO: Processing buffer {"connection_id":229679,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:04:18] local.INFO: IMEI packet received {"connection_id":229679,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":229679,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:04:19] local.INFO: TCP Data received {"connection_id":229679,"ip":"117.224.89.99","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-05 13:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229679,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-05 13:04:19] local.INFO: Processing buffer {"connection_id":229679,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-05 13:04:19] local.INFO: IMEI packet received {"connection_id":229679,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":229679,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:04:26] local.INFO: TCP Data received {"connection_id":233440,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9ceb48012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9ceb48012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:04:26] local.INFO: Processing buffer {"connection_id":233440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9ceb48012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:04:26] local.INFO: Packet analysis {"connection_id":233440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:04:26] local.INFO: Extracted packet for processing {"connection_id":233440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:04:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229048832001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:04: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-05 13:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793863773000,"timestamp_ms":1793863773000,"timestamp_seconds":1793863773,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9ceb48"} 
[2026-11-05 13:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:04:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:04:26] 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-05 13:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233440,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233440,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229048832001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229048832001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:04:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229048832001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":233440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63030,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:04:27] local.INFO: GPS data processed {"connection_id":233440,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:04:27] local.INFO: Acknowledgment sent {"connection_id":233440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:04:41] local.INFO: TCP Data received {"connection_id":230201,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9cfed0012d7fad0005afe048000d004529..."} 
[2026-11-05 13:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9cfed0012d7fad0005afe048000d004529..."} 
[2026-11-05 13:04:41] local.INFO: Processing buffer {"connection_id":230201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9cfed0012d7fad0005afe048000d004529..."} 
[2026-11-05 13:04:41] local.INFO: Packet analysis {"connection_id":230201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:04:41] local.INFO: Extracted packet for processing {"connection_id":230201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:04:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229050112001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793863778000,"timestamp_ms":1793863778000,"timestamp_seconds":1793863778,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9cfed0"} 
[2026-11-05 13: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-05 13: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-05 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:04:41] 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-05 13:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229050112001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229050112001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:04:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229050112001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":230201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:04:41] local.INFO: GPS data processed {"connection_id":230201,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:04:41] local.INFO: Acknowledgment sent {"connection_id":230201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:04:48] local.INFO: TCP Data received {"connection_id":231539,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231539,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:04:48] local.INFO: Processing buffer {"connection_id":231539,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:04:48] local.INFO: IMEI packet received {"connection_id":231539,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":231539,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:04:53] local.INFO: TCP Data received {"connection_id":231539,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231539,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:04:53] local.INFO: Processing buffer {"connection_id":231539,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:04:53] local.INFO: IMEI packet received {"connection_id":231539,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":231539,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:04:54] local.INFO: TCP Data received {"connection_id":231539,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa18310012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa18310012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:04:54] local.INFO: Processing buffer {"connection_id":231539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa18310012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:04:54] local.INFO: Packet analysis {"connection_id":231539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:04:54] local.INFO: Extracted packet for processing {"connection_id":231539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:04:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229125888001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:04: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-05 13:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793864074000,"timestamp_ms":1793864074000,"timestamp_seconds":1793864074,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa18310"} 
[2026-11-05 13:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:04: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-05 13:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":231539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":231539,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":231539,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229125888001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229125888001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:04:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229125888001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":231539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63032,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:04:54] local.INFO: GPS data processed {"connection_id":231539,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:04:54] local.INFO: Acknowledgment sent {"connection_id":231539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:05:03] local.INFO: TCP Data received {"connection_id":231540,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:05:03] local.INFO: Processing buffer {"connection_id":231540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:05:03] local.INFO: IMEI packet received {"connection_id":231540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":231540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:05:05] local.INFO: TCP Data received {"connection_id":229679,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229679,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:05:05] local.INFO: Processing buffer {"connection_id":229679,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-05 13:05:05] local.INFO: IMEI packet received {"connection_id":229679,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":229679,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:05:08] local.INFO: TCP Data received {"connection_id":231540,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:05:08] local.INFO: Processing buffer {"connection_id":231540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:05:08] local.INFO: IMEI packet received {"connection_id":231540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":231540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:05:09] local.INFO: TCP Data received {"connection_id":231540,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9cfed0012d7fad0005afe048000d004529..."} 
[2026-11-05 13:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9cfed0012d7fad0005afe048000d004529..."} 
[2026-11-05 13:05:09] local.INFO: Processing buffer {"connection_id":231540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9cfed0012d7fad0005afe048000d004529..."} 
[2026-11-05 13:05:09] local.INFO: Packet analysis {"connection_id":231540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:05:09] local.INFO: Extracted packet for processing {"connection_id":231540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa9c"} 
[2026-11-05 13:05:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229050112001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793863778000,"timestamp_ms":1793863778000,"timestamp_seconds":1793863778,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9cfed0"} 
[2026-11-05 13:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:05:09] 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-05 13:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229050112001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229050112001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:05:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:05:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229050112001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":231540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:05:09] local.INFO: GPS data processed {"connection_id":231540,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:05:09] local.INFO: Acknowledgment sent {"connection_id":231540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:05:26] local.INFO: TCP Data received {"connection_id":231539,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa18310012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa18310012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:05:26] local.INFO: Processing buffer {"connection_id":231539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa18310012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:05:26] local.INFO: Packet analysis {"connection_id":231539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:05:26] local.INFO: Extracted packet for processing {"connection_id":231539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:05:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229125888001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:05: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-05 13:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793864074000,"timestamp_ms":1793864074000,"timestamp_seconds":1793864074,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa18310"} 
[2026-11-05 13:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:05:26] 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-05 13:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231539,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231539,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229125888001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229125888001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:05:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229125888001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":231539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63034,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:05:26] local.INFO: GPS data processed {"connection_id":231539,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:05:26] local.INFO: Acknowledgment sent {"connection_id":231539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:05:41] local.INFO: TCP Data received {"connection_id":231540,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa19698012d7fad0005afe048000d004527..."} 
[2026-11-05 13:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa19698012d7fad0005afe048000d004527..."} 
[2026-11-05 13:05:41] local.INFO: Processing buffer {"connection_id":231540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa19698012d7fad0005afe048000d004527..."} 
[2026-11-05 13:05:41] local.INFO: Packet analysis {"connection_id":231540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:05:41] local.INFO: Extracted packet for processing {"connection_id":231540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:05:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229127168001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793864079000,"timestamp_ms":1793864079000,"timestamp_seconds":1793864079,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa19698"} 
[2026-11-05 13: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-05 13:05: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-05 13: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:05:41] 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-05 13:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229127168001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229127168001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:05:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:05:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229127168001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":231540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:05:41] local.INFO: GPS data processed {"connection_id":231540,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:05:41] local.INFO: Acknowledgment sent {"connection_id":231540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:05:49] local.INFO: TCP Data received {"connection_id":229680,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229680,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:05:49] local.INFO: Processing buffer {"connection_id":229680,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:05:49] local.INFO: IMEI packet received {"connection_id":229680,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":229680,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:05:54] local.INFO: TCP Data received {"connection_id":229680,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229680,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:05:54] local.INFO: Processing buffer {"connection_id":229680,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:05:54] local.INFO: IMEI packet received {"connection_id":229680,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":229680,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:05:54] local.INFO: TCP Data received {"connection_id":229680,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa18310012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa18310012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:05:54] local.INFO: Processing buffer {"connection_id":229680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa18310012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:05:54] local.INFO: Packet analysis {"connection_id":229680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:05:54] local.INFO: Extracted packet for processing {"connection_id":229680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:05:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229125888001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:05: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-05 13:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793864074000,"timestamp_ms":1793864074000,"timestamp_seconds":1793864074,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa18310"} 
[2026-11-05 13: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-05 13:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:05: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-05 13: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-05 13: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-05 13:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":229680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":229680,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":229680,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229125888001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229125888001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:05:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229125888001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":229680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63036,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:05:55] local.INFO: GPS data processed {"connection_id":229680,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:05:55] local.INFO: Acknowledgment sent {"connection_id":229680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:06:00] local.INFO: TCP Data received {"connection_id":229679,"ip":"117.224.89.99","data_length":1360,"data_hex":"000000000000030f8e0a000001a1aa9e9128012d48104006962430003600542c..."} 
[2026-11-05 13:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229679,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a1aa9e9128012d48104006962430003600542c..."} 
[2026-11-05 13:06:00] local.INFO: Processing buffer {"connection_id":229679,"buffer_length":1377,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a1aa..."} 
[2026-11-05 13:06:00] local.INFO: IMEI packet received {"connection_id":229679,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":229679,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:06:03] local.INFO: TCP Data received {"connection_id":229681,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:06:03] local.INFO: Processing buffer {"connection_id":229681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:06:03] local.INFO: IMEI packet received {"connection_id":229681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":229681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:06:08] local.INFO: TCP Data received {"connection_id":229681,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:06:08] local.INFO: Processing buffer {"connection_id":229681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:06:08] local.INFO: IMEI packet received {"connection_id":229681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":229681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:06:10] local.INFO: TCP Data received {"connection_id":229681,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa19698012d7fad0005afe048000d004527..."} 
[2026-11-05 13:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa19698012d7fad0005afe048000d004527..."} 
[2026-11-05 13:06:10] local.INFO: Processing buffer {"connection_id":229681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa19698012d7fad0005afe048000d004527..."} 
[2026-11-05 13:06:10] local.INFO: Packet analysis {"connection_id":229681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:06:10] local.INFO: Extracted packet for processing {"connection_id":229681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:06:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229127168001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793864079000,"timestamp_ms":1793864079000,"timestamp_seconds":1793864079,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa19698"} 
[2026-11-05 13:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:06:10] 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-05 13:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229127168001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229127168001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:06:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:06:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229127168001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:06:10] 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":63037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:06:10] local.INFO: GPS data processed {"connection_id":229681,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:06:10] local.INFO: Acknowledgment sent {"connection_id":229681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:06:16] local.INFO: TCP Data received {"connection_id":230202,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230202,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:06:16] local.INFO: Processing buffer {"connection_id":230202,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:06:16] local.INFO: IMEI packet received {"connection_id":230202,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":230202,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:06:21] local.INFO: TCP Data received {"connection_id":230202,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230202,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:06:21] local.INFO: Processing buffer {"connection_id":230202,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:06:21] local.INFO: IMEI packet received {"connection_id":230202,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":230202,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:06:23] local.INFO: TCP Data received {"connection_id":230202,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9f3538012d48834006963110003f00572b..."} 
[2026-11-05 13:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9f3538012d48834006963110003f00572b..."} 
[2026-11-05 13:06:23] local.INFO: Processing buffer {"connection_id":230202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9f3538012d48834006963110003f00572b..."} 
[2026-11-05 13:06:23] local.INFO: Packet analysis {"connection_id":230202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa9f"} 
[2026-11-05 13:06:23] local.INFO: Extracted packet for processing {"connection_id":230202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa9f"} 
[2026-11-05 13:06:23] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110506256,"longitude_deg":75.9726912,"latitude_deg":11.0506256,"altitude":63,"angle":87,"satellites":43,"speed":11,"hex_longitude":"2d488340","hex_latitude":"06963110","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229158912001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5210875903389278208,"note":"Value kept but may cause issues"} 
[2026-11-05 13:06:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,19,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 13:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793863923000,"timestamp_ms":1793863923000,"timestamp_seconds":1793863923,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9f3538"} 
[2026-11-05 13: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-05 13:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-05 13: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":238,"data_length":795,"current_offset":136} 
[2026-11-05 13:06: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-05 13: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-05 13: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-05 13:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":230202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":230202,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":230202,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229158912001,"66":28354,"16":20804383495159808,"19":48128,"24":11,"45":5210875903389278208},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,19,24,45]} 
[2026-11-05 13:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229158912001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:06:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5210875903389278208,"description":"Unknown IO ID 45"} 
[2026-11-05 13:06:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459229158912001,"power":28354,"odometer":null,"unknown_19":48128,"ignition":11,"unknown_45":5210875903389278208}} 
[2026-11-05 13:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":230202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63038,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:06:23] local.INFO: GPS data processed {"connection_id":230202,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:06:23] local.INFO: Acknowledgment sent {"connection_id":230202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:06:26] local.INFO: TCP Data received {"connection_id":229680,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa18310012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa18310012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:06:26] local.INFO: Processing buffer {"connection_id":229680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa18310012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:06:26] local.INFO: Packet analysis {"connection_id":229680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:06:26] local.INFO: Extracted packet for processing {"connection_id":229680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:06:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229125888001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:06: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-05 13:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793864074000,"timestamp_ms":1793864074000,"timestamp_seconds":1793864074,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa18310"} 
[2026-11-05 13:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:06:26] 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-05 13:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229680,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229680,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229125888001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229125888001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:06:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229125888001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":229680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63039,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:06:26] local.INFO: GPS data processed {"connection_id":229680,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:06:26] local.INFO: Acknowledgment sent {"connection_id":229680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:06:42] local.INFO: TCP Data received {"connection_id":229681,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa19698012d7fad0005afe048000d004527..."} 
[2026-11-05 13:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa19698012d7fad0005afe048000d004527..."} 
[2026-11-05 13:06:42] local.INFO: Processing buffer {"connection_id":229681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa19698012d7fad0005afe048000d004527..."} 
[2026-11-05 13:06:42] local.INFO: Packet analysis {"connection_id":229681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:06:42] local.INFO: Extracted packet for processing {"connection_id":229681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:06:42] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229127168001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793864079000,"timestamp_ms":1793864079000,"timestamp_seconds":1793864079,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa19698"} 
[2026-11-05 13:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:06: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-05 13:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:06:42] 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-05 13:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229127168001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229127168001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:06:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:06:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229127168001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:06:42] 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":63040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:06:42] local.INFO: GPS data processed {"connection_id":229681,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:06:42] local.INFO: Acknowledgment sent {"connection_id":229681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:06:48] local.INFO: TCP Data received {"connection_id":230203,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230203,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:06:48] local.INFO: Processing buffer {"connection_id":230203,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:06:48] local.INFO: IMEI packet received {"connection_id":230203,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":230203,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:06:53] local.INFO: TCP Data received {"connection_id":230203,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230203,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:06:53] local.INFO: Processing buffer {"connection_id":230203,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:06:53] local.INFO: IMEI packet received {"connection_id":230203,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":230203,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:06:54] local.INFO: TCP Data received {"connection_id":230203,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa18310012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa18310012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:06:54] local.INFO: Processing buffer {"connection_id":230203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa18310012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:06:54] local.INFO: Packet analysis {"connection_id":230203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:06:54] local.INFO: Extracted packet for processing {"connection_id":230203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:06:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229125888001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:06: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-05 13:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793864074000,"timestamp_ms":1793864074000,"timestamp_seconds":1793864074,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa18310"} 
[2026-11-05 13:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:06: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-05 13:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":230203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":230203,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":230203,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229125888001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229125888001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:06:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229125888001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":230203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63041,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:06:54] local.INFO: GPS data processed {"connection_id":230203,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:06:54] local.INFO: Acknowledgment sent {"connection_id":230203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:07:03] local.INFO: TCP Data received {"connection_id":230204,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:07:03] local.INFO: Processing buffer {"connection_id":230204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:07:03] local.INFO: IMEI packet received {"connection_id":230204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":230204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:07:06] local.INFO: TCP Data received {"connection_id":230205,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230205,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:07:06] local.INFO: Processing buffer {"connection_id":230205,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:07:06] local.INFO: IMEI packet received {"connection_id":230205,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":230205,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:07:08] local.INFO: TCP Data received {"connection_id":230204,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:07:08] local.INFO: Processing buffer {"connection_id":230204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:07:08] local.INFO: IMEI packet received {"connection_id":230204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":230204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:07:09] local.INFO: TCP Data received {"connection_id":230204,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa19698012d7fad0005afe048000d004527..."} 
[2026-11-05 13:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa19698012d7fad0005afe048000d004527..."} 
[2026-11-05 13:07:09] local.INFO: Processing buffer {"connection_id":230204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa19698012d7fad0005afe048000d004527..."} 
[2026-11-05 13:07:09] local.INFO: Packet analysis {"connection_id":230204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:07:09] local.INFO: Extracted packet for processing {"connection_id":230204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:07:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229127168001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793864079000,"timestamp_ms":1793864079000,"timestamp_seconds":1793864079,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa19698"} 
[2026-11-05 13:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 13:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:07:09] 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-05 13:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229127168001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229127168001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:07:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229127168001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":230204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:07:09] local.INFO: GPS data processed {"connection_id":230204,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:07:09] local.INFO: Acknowledgment sent {"connection_id":230204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:07:20] local.INFO: TCP Data received {"connection_id":230205,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230205,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:07:20] local.INFO: Processing buffer {"connection_id":230205,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:07:20] local.INFO: IMEI packet received {"connection_id":230205,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":230205,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:07:23] local.INFO: TCP Data received {"connection_id":230205,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9f8740012d48834006963110003f00572b..."} 
[2026-11-05 13:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9f8740012d48834006963110003f00572b..."} 
[2026-11-05 13:07:23] local.INFO: Processing buffer {"connection_id":230205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9f8740012d48834006963110003f00572b..."} 
[2026-11-05 13:07:23] local.INFO: Packet analysis {"connection_id":230205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa9f"} 
[2026-11-05 13:07:23] local.INFO: Extracted packet for processing {"connection_id":230205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa9f"} 
[2026-11-05 13:07:23] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110506256,"longitude_deg":75.9726912,"latitude_deg":11.0506256,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06963110","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229164288001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713686528,"note":"Value kept but may cause issues"} 
[2026-11-05 13:07:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,19,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 13:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793863944000,"timestamp_ms":1793863944000,"timestamp_seconds":1793863944,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9f8740"} 
[2026-11-05 13: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-05 13:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-05 13: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-05 13:07: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-05 13: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-05 13: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-05 13:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":230205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":230205,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":230205,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229164288001,"66":28300,"16":20804383495159808,"19":48128,"24":0,"45":5225090389713686528},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,19,24,45]} 
[2026-11-05 13:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229164288001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:07:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713686528,"description":"Unknown IO ID 45"} 
[2026-11-05 13:07:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459229164288001,"power":28300,"odometer":null,"unknown_19":48128,"ignition":0,"unknown_45":5225090389713686528}} 
[2026-11-05 13:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":230205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63043,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:07:23] local.INFO: GPS data processed {"connection_id":230205,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:07:23] local.INFO: Acknowledgment sent {"connection_id":230205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:07:26] local.INFO: TCP Data received {"connection_id":230203,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa18310012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa18310012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:07:26] local.INFO: Processing buffer {"connection_id":230203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa18310012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:07:26] local.INFO: Packet analysis {"connection_id":230203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:07:26] local.INFO: Extracted packet for processing {"connection_id":230203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:07:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229125888001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:07: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-05 13:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793864074000,"timestamp_ms":1793864074000,"timestamp_seconds":1793864074,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa18310"} 
[2026-11-05 13: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-05 13:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:07:26] 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-05 13: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-05 13: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-05 13:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230203,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230203,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229125888001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229125888001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:07:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229125888001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":230203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63044,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:07:26] local.INFO: GPS data processed {"connection_id":230203,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:07:26] local.INFO: Acknowledgment sent {"connection_id":230203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:07:41] local.INFO: TCP Data received {"connection_id":230204,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa19698012d7fad0005afe048000d004527..."} 
[2026-11-05 13:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa19698012d7fad0005afe048000d004527..."} 
[2026-11-05 13:07:41] local.INFO: Processing buffer {"connection_id":230204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa19698012d7fad0005afe048000d004527..."} 
[2026-11-05 13:07:41] local.INFO: Packet analysis {"connection_id":230204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:07:41] local.INFO: Extracted packet for processing {"connection_id":230204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:07:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229127168001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793864079000,"timestamp_ms":1793864079000,"timestamp_seconds":1793864079,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa19698"} 
[2026-11-05 13: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-05 13: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-05 13: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:07: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-05 13:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229127168001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229127168001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:07:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229127168001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":230204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:07:41] local.INFO: GPS data processed {"connection_id":230204,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:07:41] local.INFO: Acknowledgment sent {"connection_id":230204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:07:48] local.INFO: TCP Data received {"connection_id":233441,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233441,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:07:48] local.INFO: Processing buffer {"connection_id":233441,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:07:48] local.INFO: IMEI packet received {"connection_id":233441,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":233441,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:07:54] local.INFO: TCP Data received {"connection_id":233441,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233441,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:07:54] local.INFO: Processing buffer {"connection_id":233441,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:07:54] local.INFO: IMEI packet received {"connection_id":233441,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":233441,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:07:54] local.INFO: TCP Data received {"connection_id":233441,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa18310012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa18310012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:07:54] local.INFO: Processing buffer {"connection_id":233441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa18310012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:07:54] local.INFO: Packet analysis {"connection_id":233441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:07:54] local.INFO: Extracted packet for processing {"connection_id":233441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:07:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229125888001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:07: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-05 13:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793864074000,"timestamp_ms":1793864074000,"timestamp_seconds":1793864074,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa18310"} 
[2026-11-05 13:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:07: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-05 13:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":233441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":233441,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":233441,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229125888001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229125888001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:07:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229125888001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":233441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63046,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:07:55] local.INFO: GPS data processed {"connection_id":233441,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:07:55] local.INFO: Acknowledgment sent {"connection_id":233441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:08:08] local.INFO: TCP Data received {"connection_id":231541,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:08:08] local.INFO: Processing buffer {"connection_id":231541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:08:08] local.INFO: IMEI packet received {"connection_id":231541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":231541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:08:11] local.INFO: TCP Data received {"connection_id":233442,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:08:11] local.INFO: Processing buffer {"connection_id":233442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:08:11] local.INFO: IMEI packet received {"connection_id":233442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":233442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:08:13] local.INFO: TCP Data received {"connection_id":231541,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:08:13] local.INFO: Processing buffer {"connection_id":231541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:08:13] local.INFO: IMEI packet received {"connection_id":231541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":231541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:08:14] local.INFO: TCP Data received {"connection_id":231541,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa19698012d7fad0005afe048000d004527..."} 
[2026-11-05 13:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa19698012d7fad0005afe048000d004527..."} 
[2026-11-05 13:08:14] local.INFO: Processing buffer {"connection_id":231541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa19698012d7fad0005afe048000d004527..."} 
[2026-11-05 13:08:14] local.INFO: Packet analysis {"connection_id":231541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:08:14] local.INFO: Extracted packet for processing {"connection_id":231541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:08:14] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 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-05 13:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229127168001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793864079000,"timestamp_ms":1793864079000,"timestamp_seconds":1793864079,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa19698"} 
[2026-11-05 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-05 13:08: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-05 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 13:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":231541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":231541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":231541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 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-05 13:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229127168001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229127168001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:08:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:08:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229127168001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":231541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:08:14] local.INFO: GPS data processed {"connection_id":231541,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:08:14] local.INFO: Acknowledgment sent {"connection_id":231541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:08:19] local.INFO: TCP Data received {"connection_id":231541,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa19698012d7fad0005afe048000d004527..."} 
[2026-11-05 13:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa19698012d7fad0005afe048000d004527..."} 
[2026-11-05 13:08:19] local.INFO: Processing buffer {"connection_id":231541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa19698012d7fad0005afe048000d004527..."} 
[2026-11-05 13:08:19] local.INFO: Packet analysis {"connection_id":231541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:08:19] local.INFO: Extracted packet for processing {"connection_id":231541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:08:19] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229127168001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793864079000,"timestamp_ms":1793864079000,"timestamp_seconds":1793864079,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa19698"} 
[2026-11-05 13: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-05 13:08: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-05 13:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:08: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-05 13: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-05 13: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-05 13:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":231541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":231541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":231541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:08: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-05 13:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229127168001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229127168001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:08:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:08:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229127168001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":231541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:08:19] local.INFO: GPS data processed {"connection_id":231541,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:08:19] local.INFO: Acknowledgment sent {"connection_id":231541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:08:26] local.INFO: TCP Data received {"connection_id":233441,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa18310012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa18310012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:08:26] local.INFO: Processing buffer {"connection_id":233441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa18310012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:08:26] local.INFO: Packet analysis {"connection_id":233441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:08:26] local.INFO: Extracted packet for processing {"connection_id":233441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:08:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229125888001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:08: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-05 13:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793864074000,"timestamp_ms":1793864074000,"timestamp_seconds":1793864074,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa18310"} 
[2026-11-05 13: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-05 13:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:08:26] 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-05 13: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-05 13: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-05 13:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233441,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233441,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229125888001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229125888001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:08:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229125888001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":233441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63049,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:08:26] local.INFO: GPS data processed {"connection_id":233441,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:08:26] local.INFO: Acknowledgment sent {"connection_id":233441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:08:31] local.INFO: TCP Data received {"connection_id":233442,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:08:31] local.INFO: Processing buffer {"connection_id":233442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:08:31] local.INFO: IMEI packet received {"connection_id":233442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":233442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:08:34] local.INFO: TCP Data received {"connection_id":233442,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa9fd948012d48834006963110003f00572b..."} 
[2026-11-05 13:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa9fd948012d48834006963110003f00572b..."} 
[2026-11-05 13:08:34] local.INFO: Processing buffer {"connection_id":233442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa9fd948012d48834006963110003f00572b..."} 
[2026-11-05 13:08:34] local.INFO: Packet analysis {"connection_id":233442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa9f"} 
[2026-11-05 13:08:34] local.INFO: Extracted packet for processing {"connection_id":233442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa9f"} 
[2026-11-05 13:08:34] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110506256,"longitude_deg":75.9726912,"latitude_deg":11.0506256,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06963110","is_valid_coordinates":true} 
[2026-11-05 13:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229169664001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713686528,"note":"Value kept but may cause issues"} 
[2026-11-05 13:08:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,19,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 13:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793863965000,"timestamp_ms":1793863965000,"timestamp_seconds":1793863965,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa9fd948"} 
[2026-11-05 13:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 13:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-05 13:08:34] 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-05 13:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":233442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":233442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":233442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229169664001,"66":28354,"16":20804383495159808,"19":48128,"24":0,"45":5225090389713686528},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,19,24,45]} 
[2026-11-05 13:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229169664001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:08:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713686528,"description":"Unknown IO ID 45"} 
[2026-11-05 13:08:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459229169664001,"power":28354,"odometer":null,"unknown_19":48128,"ignition":0,"unknown_45":5225090389713686528}} 
[2026-11-05 13:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":233442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63050,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:08:34] local.INFO: GPS data processed {"connection_id":233442,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:08:34] local.INFO: Acknowledgment sent {"connection_id":233442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:08:48] local.INFO: TCP Data received {"connection_id":230206,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230206,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:08:48] local.INFO: Processing buffer {"connection_id":230206,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:08:48] local.INFO: IMEI packet received {"connection_id":230206,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":230206,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:08:53] local.INFO: TCP Data received {"connection_id":230206,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230206,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:08:53] local.INFO: Processing buffer {"connection_id":230206,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:08:53] local.INFO: IMEI packet received {"connection_id":230206,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":230206,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:08:55] local.INFO: TCP Data received {"connection_id":230206,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa18310012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa18310012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:08:55] local.INFO: Processing buffer {"connection_id":230206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa18310012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:08:55] local.INFO: Packet analysis {"connection_id":230206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:08:55] local.INFO: Extracted packet for processing {"connection_id":230206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:08:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229125888001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:08: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-05 13:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793864074000,"timestamp_ms":1793864074000,"timestamp_seconds":1793864074,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa18310"} 
[2026-11-05 13:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230206,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230206,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229125888001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229125888001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:08:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229125888001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":230206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63051,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:08:55] local.INFO: GPS data processed {"connection_id":230206,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:08:55] local.INFO: Acknowledgment sent {"connection_id":230206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:09:03] local.INFO: TCP Data received {"connection_id":231542,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:09:03] local.INFO: Processing buffer {"connection_id":231542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:09:03] local.INFO: IMEI packet received {"connection_id":231542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":231542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:09:06] local.INFO: TCP Data received {"connection_id":233443,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:09:06] local.INFO: Processing buffer {"connection_id":233443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:09:06] local.INFO: IMEI packet received {"connection_id":233443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":233443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:09:08] local.INFO: TCP Data received {"connection_id":231542,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:09:08] local.INFO: Processing buffer {"connection_id":231542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:09:08] local.INFO: IMEI packet received {"connection_id":231542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":231542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:09:09] local.INFO: TCP Data received {"connection_id":231542,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa19698012d7fad0005afe048000d004527..."} 
[2026-11-05 13:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa19698012d7fad0005afe048000d004527..."} 
[2026-11-05 13:09:09] local.INFO: Processing buffer {"connection_id":231542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa19698012d7fad0005afe048000d004527..."} 
[2026-11-05 13:09:09] local.INFO: Packet analysis {"connection_id":231542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:09:09] local.INFO: Extracted packet for processing {"connection_id":231542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:09:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229127168001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793864079000,"timestamp_ms":1793864079000,"timestamp_seconds":1793864079,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa19698"} 
[2026-11-05 13:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 13:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:09: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-05 13:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229127168001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229127168001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:09:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:09:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229127168001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":231542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:09:09] local.INFO: GPS data processed {"connection_id":231542,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:09:09] local.INFO: Acknowledgment sent {"connection_id":231542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:09:12] local.INFO: TCP Data received {"connection_id":233443,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:09:12] local.INFO: Processing buffer {"connection_id":233443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:09:12] local.INFO: IMEI packet received {"connection_id":233443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":233443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:09:14] local.INFO: TCP Data received {"connection_id":233443,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa02b50012d48834006963110003f00572b..."} 
[2026-11-05 13:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa02b50012d48834006963110003f00572b..."} 
[2026-11-05 13:09:14] local.INFO: Processing buffer {"connection_id":233443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa02b50012d48834006963110003f00572b..."} 
[2026-11-05 13:09:14] local.INFO: Packet analysis {"connection_id":233443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa0"} 
[2026-11-05 13:09:14] local.INFO: Extracted packet for processing {"connection_id":233443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa0"} 
[2026-11-05 13:09:14] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110506256,"longitude_deg":75.9726912,"latitude_deg":11.0506256,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06963110","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229175040001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713686528,"note":"Value kept but may cause issues"} 
[2026-11-05 13:09:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,19,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 13:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793863986000,"timestamp_ms":1793863986000,"timestamp_seconds":1793863986,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa02b50"} 
[2026-11-05 13: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-05 13:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 13: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-05 13:09: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-05 13: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-05 13: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-05 13:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229175040001,"66":28267,"16":20804383495159808,"19":48128,"24":0,"45":5225090389713686528},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,19,24,45]} 
[2026-11-05 13:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229175040001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:09:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713686528,"description":"Unknown IO ID 45"} 
[2026-11-05 13:09:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459229175040001,"power":28267,"odometer":null,"unknown_19":48128,"ignition":0,"unknown_45":5225090389713686528}} 
[2026-11-05 13:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":233443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63053,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:09:14] local.INFO: GPS data processed {"connection_id":233443,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:09:14] local.INFO: Acknowledgment sent {"connection_id":233443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:09:26] local.INFO: TCP Data received {"connection_id":230206,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa18310012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa18310012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:09:26] local.INFO: Processing buffer {"connection_id":230206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa18310012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:09:26] local.INFO: Packet analysis {"connection_id":230206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:09:26] local.INFO: Extracted packet for processing {"connection_id":230206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:09:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229125888001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:09: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-05 13:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793864074000,"timestamp_ms":1793864074000,"timestamp_seconds":1793864074,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa18310"} 
[2026-11-05 13: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-05 13:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:09:26] 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-05 13: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-05 13: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-05 13:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230206,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230206,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:09:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229125888001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229125888001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:09:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229125888001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":230206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63054,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:09:26] local.INFO: GPS data processed {"connection_id":230206,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:09:26] local.INFO: Acknowledgment sent {"connection_id":230206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:09:41] local.INFO: TCP Data received {"connection_id":231542,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa19698012d7fad0005afe048000d004527..."} 
[2026-11-05 13:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa19698012d7fad0005afe048000d004527..."} 
[2026-11-05 13:09:41] local.INFO: Processing buffer {"connection_id":231542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa19698012d7fad0005afe048000d004527..."} 
[2026-11-05 13:09:41] local.INFO: Packet analysis {"connection_id":231542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:09:41] local.INFO: Extracted packet for processing {"connection_id":231542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa1"} 
[2026-11-05 13:09:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229127168001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793864079000,"timestamp_ms":1793864079000,"timestamp_seconds":1793864079,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa19698"} 
[2026-11-05 13:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13: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-05 13:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:09: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-05 13:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229127168001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229127168001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:09:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229127168001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":231542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:09:41] local.INFO: GPS data processed {"connection_id":231542,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:09:41] local.INFO: Acknowledgment sent {"connection_id":231542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:09:46] local.INFO: TCP Data received {"connection_id":233443,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa07d58012d48834006963110003f00572b..."} 
[2026-11-05 13:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa07d58012d48834006963110003f00572b..."} 
[2026-11-05 13:09:46] local.INFO: Processing buffer {"connection_id":233443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa07d58012d48834006963110003f00572b..."} 
[2026-11-05 13:09:46] local.INFO: Packet analysis {"connection_id":233443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa0"} 
[2026-11-05 13:09:46] local.INFO: Extracted packet for processing {"connection_id":233443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa0"} 
[2026-11-05 13:09:46] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110506256,"longitude_deg":75.9726912,"latitude_deg":11.0506256,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06963110","is_valid_coordinates":true} 
[2026-11-05 13:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229180416001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713686528,"note":"Value kept but may cause issues"} 
[2026-11-05 13:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793864007000,"timestamp_ms":1793864007000,"timestamp_seconds":1793864007,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa07d58"} 
[2026-11-05 13:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 13:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 13:09: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-05 13:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":233443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":233443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":233443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229180416001,"66":28354,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5225090389713686528},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229180416001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:09:46] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:09:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713686528,"description":"Unknown IO ID 45"} 
[2026-11-05 13:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229180416001,"power":28354,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225090389713686528}} 
[2026-11-05 13:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":233443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63056,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:09:46] local.INFO: GPS data processed {"connection_id":233443,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:09:46] local.INFO: Acknowledgment sent {"connection_id":233443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:09:48] local.INFO: TCP Data received {"connection_id":233444,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233444,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:09:48] local.INFO: Processing buffer {"connection_id":233444,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:09:48] local.INFO: IMEI packet received {"connection_id":233444,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":233444,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:09:54] local.INFO: TCP Data received {"connection_id":233444,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233444,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:09:54] local.INFO: Processing buffer {"connection_id":233444,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:09:54] local.INFO: IMEI packet received {"connection_id":233444,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":233444,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:09:55] local.INFO: TCP Data received {"connection_id":233444,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa61ad8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa61ad8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:09:55] local.INFO: Processing buffer {"connection_id":233444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa61ad8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:09:55] local.INFO: Packet analysis {"connection_id":233444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:09:55] local.INFO: Extracted packet for processing {"connection_id":233444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:09:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229202944001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:09: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-05 13:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793864375000,"timestamp_ms":1793864375000,"timestamp_seconds":1793864375,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa61ad8"} 
[2026-11-05 13:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233444,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233444,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229202944001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229202944001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:09:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229202944001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":233444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63057,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:09:55] local.INFO: GPS data processed {"connection_id":233444,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:09:55] local.INFO: Acknowledgment sent {"connection_id":233444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:10:03] local.INFO: TCP Data received {"connection_id":230207,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:10:03] local.INFO: Processing buffer {"connection_id":230207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:10:03] local.INFO: IMEI packet received {"connection_id":230207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":230207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:10:11] local.INFO: TCP Data received {"connection_id":229682,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229682,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:10:11] local.INFO: Processing buffer {"connection_id":229682,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:10:11] local.INFO: IMEI packet received {"connection_id":229682,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":229682,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:10:21] local.INFO: TCP Data received {"connection_id":229682,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229682,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:10:21] local.INFO: Processing buffer {"connection_id":229682,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:10:21] local.INFO: IMEI packet received {"connection_id":229682,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":229682,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:10:23] local.INFO: TCP Data received {"connection_id":229682,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa09c98012d48834006963110003f00572b..."} 
[2026-11-05 13:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa09c98012d48834006963110003f00572b..."} 
[2026-11-05 13:10:23] local.INFO: Processing buffer {"connection_id":229682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa09c98012d48834006963110003f00572b..."} 
[2026-11-05 13:10:23] local.INFO: Packet analysis {"connection_id":229682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa0"} 
[2026-11-05 13:10:23] local.INFO: Extracted packet for processing {"connection_id":229682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa0"} 
[2026-11-05 13:10:23] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110506256,"longitude_deg":75.9726912,"latitude_deg":11.0506256,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06963110","is_valid_coordinates":true} 
[2026-11-05 13:10: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-05 13:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229185792001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713686528,"note":"Value kept but may cause issues"} 
[2026-11-05 13:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793864015000,"timestamp_ms":1793864015000,"timestamp_seconds":1793864015,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa09c98"} 
[2026-11-05 13:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-05 13:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-05 13:10: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-05 13:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":229682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":229682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":229682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229185792001,"66":28452,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5225090389713686528},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229185792001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:10:23] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:10:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713686528,"description":"Unknown IO ID 45"} 
[2026-11-05 13:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229185792001,"power":28452,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225090389713686528}} 
[2026-11-05 13:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":229682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63058,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:10:23] local.INFO: GPS data processed {"connection_id":229682,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:10:23] local.INFO: Acknowledgment sent {"connection_id":229682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:10:25] local.INFO: TCP Data received {"connection_id":229682,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa54018012d488280069630e8003f00572b..."} 
[2026-11-05 13:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa54018012d488280069630e8003f00572b..."} 
[2026-11-05 13:10:25] local.INFO: Processing buffer {"connection_id":229682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa54018012d488280069630e8003f00572b..."} 
[2026-11-05 13:10:25] local.INFO: Packet analysis {"connection_id":229682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa5"} 
[2026-11-05 13:10:25] local.INFO: Extracted packet for processing {"connection_id":229682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa5"} 
[2026-11-05 13:10:25] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229187840001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713686528,"note":"Value kept but may cause issues"} 
[2026-11-05 13:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793864319000,"timestamp_ms":1793864319000,"timestamp_seconds":1793864319,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa54018"} 
[2026-11-05 13:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:10:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-05 13:10: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-05 13:10:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":229682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":229682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":229682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229187840001,"66":26930,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5225090389713686528},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229187840001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:10:25] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:10:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713686528,"description":"Unknown IO ID 45"} 
[2026-11-05 13:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229187840001,"power":26930,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225090389713686528}} 
[2026-11-05 13:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":229682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63059,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:10:25] local.INFO: GPS data processed {"connection_id":229682,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:10:25] local.INFO: Acknowledgment sent {"connection_id":229682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:10:26] local.INFO: TCP Data received {"connection_id":233444,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa61ad8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa61ad8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:10:26] local.INFO: Processing buffer {"connection_id":233444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa61ad8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:10:26] local.INFO: Packet analysis {"connection_id":233444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:10:26] local.INFO: Extracted packet for processing {"connection_id":233444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:10:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229202944001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:10: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-05 13:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793864375000,"timestamp_ms":1793864375000,"timestamp_seconds":1793864375,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa61ad8"} 
[2026-11-05 13:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:10:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:10:26] 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-05 13:10:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233444,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233444,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:10:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229202944001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229202944001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:10:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229202944001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":233444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63060,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:10:27] local.INFO: GPS data processed {"connection_id":233444,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:10:27] local.INFO: Acknowledgment sent {"connection_id":233444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:10:33] local.INFO: TCP Data received {"connection_id":229683,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:10:33] local.INFO: Processing buffer {"connection_id":229683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:10:33] local.INFO: IMEI packet received {"connection_id":229683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":229683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:10:38] local.INFO: TCP Data received {"connection_id":229683,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:10:38] local.INFO: Processing buffer {"connection_id":229683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:10:38] local.INFO: IMEI packet received {"connection_id":229683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":229683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:10:40] local.INFO: TCP Data received {"connection_id":229683,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa62e60012d7fad0005afe048000d004527..."} 
[2026-11-05 13:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa62e60012d7fad0005afe048000d004527..."} 
[2026-11-05 13:10:40] local.INFO: Processing buffer {"connection_id":229683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa62e60012d7fad0005afe048000d004527..."} 
[2026-11-05 13:10:40] local.INFO: Packet analysis {"connection_id":229683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:10:40] local.INFO: Extracted packet for processing {"connection_id":229683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:10:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229204224001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793864380000,"timestamp_ms":1793864380000,"timestamp_seconds":1793864380,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa62e60"} 
[2026-11-05 13:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 13:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:10: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-05 13:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229204224001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229204224001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:10:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:10:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229204224001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":229683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:10:40] local.INFO: GPS data processed {"connection_id":229683,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:10:40] local.INFO: Acknowledgment sent {"connection_id":229683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:10:48] local.INFO: TCP Data received {"connection_id":230208,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230208,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:10:48] local.INFO: Processing buffer {"connection_id":230208,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:10:48] local.INFO: IMEI packet received {"connection_id":230208,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":230208,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:10:54] local.INFO: TCP Data received {"connection_id":230208,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230208,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:10:54] local.INFO: Processing buffer {"connection_id":230208,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:10:54] local.INFO: IMEI packet received {"connection_id":230208,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":230208,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:10:55] local.INFO: TCP Data received {"connection_id":230208,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa61ad8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa61ad8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:10:55] local.INFO: Processing buffer {"connection_id":230208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa61ad8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:10:55] local.INFO: Packet analysis {"connection_id":230208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:10:55] local.INFO: Extracted packet for processing {"connection_id":230208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:10:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229202944001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:10: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-05 13:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793864375000,"timestamp_ms":1793864375000,"timestamp_seconds":1793864375,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa61ad8"} 
[2026-11-05 13:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230208,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230208,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229202944001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229202944001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:10:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229202944001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":230208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63062,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:10:55] local.INFO: GPS data processed {"connection_id":230208,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:10:55] local.INFO: Acknowledgment sent {"connection_id":230208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:11:03] local.INFO: TCP Data received {"connection_id":233445,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:11:03] local.INFO: Processing buffer {"connection_id":233445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:11:03] local.INFO: IMEI packet received {"connection_id":233445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":233445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:11:06] local.INFO: TCP Data received {"connection_id":233446,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:11:06] local.INFO: Processing buffer {"connection_id":233446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:11:06] local.INFO: IMEI packet received {"connection_id":233446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":233446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:11:08] local.INFO: TCP Data received {"connection_id":233445,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:11:08] local.INFO: Processing buffer {"connection_id":233445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:11:08] local.INFO: IMEI packet received {"connection_id":233445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":233445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:11:09] local.INFO: TCP Data received {"connection_id":233445,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa62e60012d7fad0005afe048000d004527..."} 
[2026-11-05 13:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa62e60012d7fad0005afe048000d004527..."} 
[2026-11-05 13:11:09] local.INFO: Processing buffer {"connection_id":233445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa62e60012d7fad0005afe048000d004527..."} 
[2026-11-05 13:11:09] local.INFO: Packet analysis {"connection_id":233445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:11:09] local.INFO: Extracted packet for processing {"connection_id":233445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:11:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229204224001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793864380000,"timestamp_ms":1793864380000,"timestamp_seconds":1793864380,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa62e60"} 
[2026-11-05 13:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 13:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:11:09] 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-05 13:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229204224001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229204224001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:11:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:11:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229204224001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":233445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:11:09] local.INFO: GPS data processed {"connection_id":233445,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:11:09] local.INFO: Acknowledgment sent {"connection_id":233445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:11:11] local.INFO: TCP Data received {"connection_id":233446,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:11:11] local.INFO: Processing buffer {"connection_id":233446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:11:11] local.INFO: IMEI packet received {"connection_id":233446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":233446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:11:13] local.INFO: TCP Data received {"connection_id":233446,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa54018012d488280069630e8003f00572b..."} 
[2026-11-05 13:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa54018012d488280069630e8003f00572b..."} 
[2026-11-05 13:11:13] local.INFO: Processing buffer {"connection_id":233446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa54018012d488280069630e8003f00572b..."} 
[2026-11-05 13:11:13] local.INFO: Packet analysis {"connection_id":233446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa5"} 
[2026-11-05 13:11:13] local.INFO: Extracted packet for processing {"connection_id":233446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa5"} 
[2026-11-05 13:11:13] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229187840001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713686528,"note":"Value kept but may cause issues"} 
[2026-11-05 13:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793864319000,"timestamp_ms":1793864319000,"timestamp_seconds":1793864319,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa54018"} 
[2026-11-05 13: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-05 13:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-05 13:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":233446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":233446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":233446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229187840001,"66":26930,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5225090389713686528},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229187840001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:11:13] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:11:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713686528,"description":"Unknown IO ID 45"} 
[2026-11-05 13:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229187840001,"power":26930,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225090389713686528}} 
[2026-11-05 13:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":233446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63064,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:11:13] local.INFO: GPS data processed {"connection_id":233446,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:11:13] local.INFO: Acknowledgment sent {"connection_id":233446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:11:27] local.INFO: TCP Data received {"connection_id":230208,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa61ad8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa61ad8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:11:27] local.INFO: Processing buffer {"connection_id":230208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa61ad8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:11:27] local.INFO: Packet analysis {"connection_id":230208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:11:27] local.INFO: Extracted packet for processing {"connection_id":230208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:11:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229202944001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:11:27] 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-05 13:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793864375000,"timestamp_ms":1793864375000,"timestamp_seconds":1793864375,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa61ad8"} 
[2026-11-05 13:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":230208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":230208,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":230208,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229202944001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229202944001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:11:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229202944001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":230208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63065,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:11:27] local.INFO: GPS data processed {"connection_id":230208,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:11:27] local.INFO: Acknowledgment sent {"connection_id":230208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:11:41] local.INFO: TCP Data received {"connection_id":233445,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa62e60012d7fad0005afe048000d004527..."} 
[2026-11-05 13:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa62e60012d7fad0005afe048000d004527..."} 
[2026-11-05 13:11:41] local.INFO: Processing buffer {"connection_id":233445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa62e60012d7fad0005afe048000d004527..."} 
[2026-11-05 13:11:41] local.INFO: Packet analysis {"connection_id":233445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:11:41] local.INFO: Extracted packet for processing {"connection_id":233445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:11:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229204224001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793864380000,"timestamp_ms":1793864380000,"timestamp_seconds":1793864380,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa62e60"} 
[2026-11-05 13:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:11: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-05 13:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:11: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-05 13:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229204224001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229204224001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:11:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:11:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229204224001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":233445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:11:41] local.INFO: GPS data processed {"connection_id":233445,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:11:41] local.INFO: Acknowledgment sent {"connection_id":233445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:11:45] local.INFO: TCP Data received {"connection_id":233446,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa54018012d488280069630e8003f00572b..."} 
[2026-11-05 13:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa54018012d488280069630e8003f00572b..."} 
[2026-11-05 13:11:45] local.INFO: Processing buffer {"connection_id":233446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa54018012d488280069630e8003f00572b..."} 
[2026-11-05 13:11:45] local.INFO: Packet analysis {"connection_id":233446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa5"} 
[2026-11-05 13:11:45] local.INFO: Extracted packet for processing {"connection_id":233446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa5"} 
[2026-11-05 13:11:45] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229187840001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713686528,"note":"Value kept but may cause issues"} 
[2026-11-05 13:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793864319000,"timestamp_ms":1793864319000,"timestamp_seconds":1793864319,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa54018"} 
[2026-11-05 13:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-05 13:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":233446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":233446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":233446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229187840001,"66":26930,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5225090389713686528},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229187840001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:11:45] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:11:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713686528,"description":"Unknown IO ID 45"} 
[2026-11-05 13:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229187840001,"power":26930,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225090389713686528}} 
[2026-11-05 13:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":233446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63067,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:11:45] local.INFO: GPS data processed {"connection_id":233446,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:11:45] local.INFO: Acknowledgment sent {"connection_id":233446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:11:48] local.INFO: TCP Data received {"connection_id":229684,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229684,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:11:48] local.INFO: Processing buffer {"connection_id":229684,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:11:48] local.INFO: IMEI packet received {"connection_id":229684,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":229684,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:11:54] local.INFO: TCP Data received {"connection_id":229684,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229684,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:11:54] local.INFO: Processing buffer {"connection_id":229684,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:11:54] local.INFO: IMEI packet received {"connection_id":229684,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":229684,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:11:55] local.INFO: TCP Data received {"connection_id":229684,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa61ad8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa61ad8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:11:55] local.INFO: Processing buffer {"connection_id":229684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa61ad8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:11:55] local.INFO: Packet analysis {"connection_id":229684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:11:55] local.INFO: Extracted packet for processing {"connection_id":229684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:11:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229202944001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:11: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-05 13:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793864375000,"timestamp_ms":1793864375000,"timestamp_seconds":1793864375,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa61ad8"} 
[2026-11-05 13:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229684,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229684,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229202944001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229202944001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:11:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229202944001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:11:56] 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":63068,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:11:56] local.INFO: GPS data processed {"connection_id":229684,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:11:56] local.INFO: Acknowledgment sent {"connection_id":229684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:12:08] local.INFO: TCP Data received {"connection_id":230209,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:12:08] local.INFO: Processing buffer {"connection_id":230209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:12:08] local.INFO: IMEI packet received {"connection_id":230209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":230209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:12:13] local.INFO: TCP Data received {"connection_id":230209,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:12:13] local.INFO: Processing buffer {"connection_id":230209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:12:13] local.INFO: IMEI packet received {"connection_id":230209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":230209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:12:14] local.INFO: TCP Data received {"connection_id":230209,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa62e60012d7fad0005afe048000d004527..."} 
[2026-11-05 13:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa62e60012d7fad0005afe048000d004527..."} 
[2026-11-05 13:12:14] local.INFO: Processing buffer {"connection_id":230209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa62e60012d7fad0005afe048000d004527..."} 
[2026-11-05 13:12:14] local.INFO: Packet analysis {"connection_id":230209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:12:14] local.INFO: Extracted packet for processing {"connection_id":230209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:12:14] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229204224001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793864380000,"timestamp_ms":1793864380000,"timestamp_seconds":1793864380,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa62e60"} 
[2026-11-05 13:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:12: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-05 13:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:12:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:12:14] 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-05 13:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229204224001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229204224001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:12:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:12:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229204224001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":230209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:12:14] local.INFO: GPS data processed {"connection_id":230209,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:12:14] local.INFO: Acknowledgment sent {"connection_id":230209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:12:19] local.INFO: TCP Data received {"connection_id":230209,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa62e60012d7fad0005afe048000d004527..."} 
[2026-11-05 13:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa62e60012d7fad0005afe048000d004527..."} 
[2026-11-05 13:12:19] local.INFO: Processing buffer {"connection_id":230209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa62e60012d7fad0005afe048000d004527..."} 
[2026-11-05 13:12:19] local.INFO: Packet analysis {"connection_id":230209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:12:19] local.INFO: Extracted packet for processing {"connection_id":230209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:12:19] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:12: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-05 13:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229204224001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793864380000,"timestamp_ms":1793864380000,"timestamp_seconds":1793864380,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa62e60"} 
[2026-11-05 13:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:12: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-05 13:12: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-05 13:12: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-05 13:12: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-05 13:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:12:19] 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-05 13:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229204224001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229204224001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:12:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:12:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229204224001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":230209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:12:19] local.INFO: GPS data processed {"connection_id":230209,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:12:19] local.INFO: Acknowledgment sent {"connection_id":230209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:12:27] local.INFO: TCP Data received {"connection_id":229684,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa61ad8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa61ad8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:12:27] local.INFO: Processing buffer {"connection_id":229684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa61ad8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:12:27] local.INFO: Packet analysis {"connection_id":229684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:12:27] local.INFO: Extracted packet for processing {"connection_id":229684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:12:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229202944001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:12:27] 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-05 13:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793864375000,"timestamp_ms":1793864375000,"timestamp_seconds":1793864375,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa61ad8"} 
[2026-11-05 13:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":229684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":229684,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":229684,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229202944001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229202944001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:12:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229202944001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:12:27] 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":63071,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:12:27] local.INFO: GPS data processed {"connection_id":229684,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:12:27] local.INFO: Acknowledgment sent {"connection_id":229684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:12:41] local.INFO: TCP Data received {"connection_id":230210,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230210,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:12:41] local.INFO: Processing buffer {"connection_id":230210,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:12:41] local.INFO: IMEI packet received {"connection_id":230210,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":230210,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:12:47] local.INFO: TCP Data received {"connection_id":230210,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230210,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:12:47] local.INFO: Processing buffer {"connection_id":230210,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:12:47] local.INFO: IMEI packet received {"connection_id":230210,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":230210,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:12:48] local.INFO: TCP Data received {"connection_id":230210,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa54018012d488280069630e8003f00572b..."} 
[2026-11-05 13:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa54018012d488280069630e8003f00572b..."} 
[2026-11-05 13:12:48] local.INFO: Processing buffer {"connection_id":230210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa54018012d488280069630e8003f00572b..."} 
[2026-11-05 13:12:48] local.INFO: Packet analysis {"connection_id":230210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa5"} 
[2026-11-05 13:12:48] local.INFO: Extracted packet for processing {"connection_id":230210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa5"} 
[2026-11-05 13:12:48] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229187840001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713686528,"note":"Value kept but may cause issues"} 
[2026-11-05 13:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793864319000,"timestamp_ms":1793864319000,"timestamp_seconds":1793864319,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa54018"} 
[2026-11-05 13: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-05 13:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-05 13:12: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-05 13: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-05 13: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-05 13:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230210,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230210,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229187840001,"66":26930,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5225090389713686528},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229187840001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:12:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:12:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713686528,"description":"Unknown IO ID 45"} 
[2026-11-05 13:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229187840001,"power":26930,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225090389713686528}} 
[2026-11-05 13:12:48] local.INFO: TCP Data received {"connection_id":231543,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231543,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:12:48] local.INFO: Processing buffer {"connection_id":231543,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:12:48] local.INFO: IMEI packet received {"connection_id":231543,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":231543,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":230210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63072,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:12:48] local.INFO: GPS data processed {"connection_id":230210,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:12:48] local.INFO: Acknowledgment sent {"connection_id":230210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:12:54] local.INFO: TCP Data received {"connection_id":231543,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231543,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:12:54] local.INFO: Processing buffer {"connection_id":231543,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:12:54] local.INFO: IMEI packet received {"connection_id":231543,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":231543,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:12:55] local.INFO: TCP Data received {"connection_id":231543,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa61ad8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa61ad8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:12:55] local.INFO: Processing buffer {"connection_id":231543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa61ad8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:12:55] local.INFO: Packet analysis {"connection_id":231543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:12:55] local.INFO: Extracted packet for processing {"connection_id":231543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:12:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229202944001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:12: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-05 13:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793864375000,"timestamp_ms":1793864375000,"timestamp_seconds":1793864375,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa61ad8"} 
[2026-11-05 13: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-05 13:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231543,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231543,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229202944001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229202944001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:12:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229202944001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":231543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63073,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:12:55] local.INFO: GPS data processed {"connection_id":231543,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:12:55] local.INFO: Acknowledgment sent {"connection_id":231543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:13:03] local.INFO: TCP Data received {"connection_id":230211,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:13:03] local.INFO: Processing buffer {"connection_id":230211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:13:03] local.INFO: IMEI packet received {"connection_id":230211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":230211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:13:06] local.INFO: TCP Data received {"connection_id":230212,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230212,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:13:06] local.INFO: Processing buffer {"connection_id":230212,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:13:06] local.INFO: IMEI packet received {"connection_id":230212,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":230212,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:13:08] local.INFO: TCP Data received {"connection_id":230211,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:13:08] local.INFO: Processing buffer {"connection_id":230211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:13:08] local.INFO: IMEI packet received {"connection_id":230211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":230211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:13:09] local.INFO: TCP Data received {"connection_id":230211,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa62e60012d7fad0005afe048000d004527..."} 
[2026-11-05 13:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa62e60012d7fad0005afe048000d004527..."} 
[2026-11-05 13:13:09] local.INFO: Processing buffer {"connection_id":230211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa62e60012d7fad0005afe048000d004527..."} 
[2026-11-05 13:13:09] local.INFO: Packet analysis {"connection_id":230211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:13:09] local.INFO: Extracted packet for processing {"connection_id":230211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:13:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229204224001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793864380000,"timestamp_ms":1793864380000,"timestamp_seconds":1793864380,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa62e60"} 
[2026-11-05 13:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 13:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:13:09] 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-05 13:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229204224001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229204224001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:13:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:13:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229204224001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":230211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:13:09] local.INFO: GPS data processed {"connection_id":230211,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:13:09] local.INFO: Acknowledgment sent {"connection_id":230211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:13:11] local.INFO: TCP Data received {"connection_id":230212,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230212,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:13:11] local.INFO: Processing buffer {"connection_id":230212,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:13:11] local.INFO: IMEI packet received {"connection_id":230212,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":230212,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:13:16] local.INFO: TCP Data received {"connection_id":230212,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230212,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:13:16] local.INFO: Processing buffer {"connection_id":230212,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:13:16] local.INFO: IMEI packet received {"connection_id":230212,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":230212,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:13:18] local.INFO: TCP Data received {"connection_id":230212,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa54018012d488280069630e8003f00572b..."} 
[2026-11-05 13:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa54018012d488280069630e8003f00572b..."} 
[2026-11-05 13:13:18] local.INFO: Processing buffer {"connection_id":230212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa54018012d488280069630e8003f00572b..."} 
[2026-11-05 13:13:18] local.INFO: Packet analysis {"connection_id":230212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa5"} 
[2026-11-05 13:13:18] local.INFO: Extracted packet for processing {"connection_id":230212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa5"} 
[2026-11-05 13:13:18] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229187840001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713686528,"note":"Value kept but may cause issues"} 
[2026-11-05 13:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793864319000,"timestamp_ms":1793864319000,"timestamp_seconds":1793864319,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa54018"} 
[2026-11-05 13:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-05 13:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229187840001,"66":26930,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5225090389713686528},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229187840001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:13:18] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:13:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713686528,"description":"Unknown IO ID 45"} 
[2026-11-05 13:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229187840001,"power":26930,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225090389713686528}} 
[2026-11-05 13:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":230212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63075,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:13:18] local.INFO: GPS data processed {"connection_id":230212,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:13:18] local.INFO: Acknowledgment sent {"connection_id":230212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:13:22] local.INFO: TCP Data received {"connection_id":230212,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa54018012d488280069630e8003f00572b..."} 
[2026-11-05 13:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa54018012d488280069630e8003f00572b..."} 
[2026-11-05 13:13:22] local.INFO: Processing buffer {"connection_id":230212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa54018012d488280069630e8003f00572b..."} 
[2026-11-05 13:13:22] local.INFO: Packet analysis {"connection_id":230212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa5"} 
[2026-11-05 13:13:22] local.INFO: Extracted packet for processing {"connection_id":230212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa5"} 
[2026-11-05 13:13:22] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229187840001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713686528,"note":"Value kept but may cause issues"} 
[2026-11-05 13:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793864319000,"timestamp_ms":1793864319000,"timestamp_seconds":1793864319,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa54018"} 
[2026-11-05 13: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-05 13:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-05 13:13: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-05 13: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-05 13: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-05 13:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":230212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":230212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":230212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229187840001,"66":26930,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5225090389713686528},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229187840001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:13:22] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:13:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713686528,"description":"Unknown IO ID 45"} 
[2026-11-05 13:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229187840001,"power":26930,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225090389713686528}} 
[2026-11-05 13:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":230212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63076,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:13:22] local.INFO: GPS data processed {"connection_id":230212,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:13:22] local.INFO: Acknowledgment sent {"connection_id":230212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:13:27] local.INFO: TCP Data received {"connection_id":231543,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa61ad8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa61ad8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:13:27] local.INFO: Processing buffer {"connection_id":231543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa61ad8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:13:27] local.INFO: Packet analysis {"connection_id":231543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:13:27] local.INFO: Extracted packet for processing {"connection_id":231543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:13:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229202944001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:13:27] 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-05 13:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793864375000,"timestamp_ms":1793864375000,"timestamp_seconds":1793864375,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa61ad8"} 
[2026-11-05 13:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:13:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":231543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":231543,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":231543,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229202944001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229202944001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:13:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229202944001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":231543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63077,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:13:27] local.INFO: GPS data processed {"connection_id":231543,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:13:27] local.INFO: Acknowledgment sent {"connection_id":231543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:13:40] local.INFO: TCP Data received {"connection_id":230211,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa62e60012d7fad0005afe048000d004527..."} 
[2026-11-05 13:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa62e60012d7fad0005afe048000d004527..."} 
[2026-11-05 13:13:40] local.INFO: Processing buffer {"connection_id":230211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa62e60012d7fad0005afe048000d004527..."} 
[2026-11-05 13:13:40] local.INFO: Packet analysis {"connection_id":230211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:13:40] local.INFO: Extracted packet for processing {"connection_id":230211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:13:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229204224001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793864380000,"timestamp_ms":1793864380000,"timestamp_seconds":1793864380,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa62e60"} 
[2026-11-05 13: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-05 13:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 13:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229204224001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229204224001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:13:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229204224001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":230211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:13:40] local.INFO: GPS data processed {"connection_id":230211,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:13:40] local.INFO: Acknowledgment sent {"connection_id":230211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:13:53] local.INFO: TCP Data received {"connection_id":229685,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229685,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:13:53] local.INFO: Processing buffer {"connection_id":229685,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:13:53] local.INFO: IMEI packet received {"connection_id":229685,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":229685,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:14:00] local.INFO: TCP Data received {"connection_id":229685,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229685,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:14:00] local.INFO: Processing buffer {"connection_id":229685,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:14:00] local.INFO: IMEI packet received {"connection_id":229685,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":229685,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:14:01] local.INFO: TCP Data received {"connection_id":229685,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa61ad8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa61ad8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:14:01] local.INFO: Processing buffer {"connection_id":229685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa61ad8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:14:01] local.INFO: Packet analysis {"connection_id":229685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:14:01] local.INFO: Extracted packet for processing {"connection_id":229685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:14:01] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229202944001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:14:01] 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-05 13:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1793864375000,"timestamp_ms":1793864375000,"timestamp_seconds":1793864375,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa61ad8"} 
[2026-11-05 13:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":229685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":229685,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":229685,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229202944001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229202944001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:14:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229202944001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:14:01] 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":63079,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:14:01] local.INFO: GPS data processed {"connection_id":229685,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:14:01] local.INFO: Acknowledgment sent {"connection_id":229685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:14:03] local.INFO: TCP Data received {"connection_id":230213,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:14:03] local.INFO: Processing buffer {"connection_id":230213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:14:03] local.INFO: IMEI packet received {"connection_id":230213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":230213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:14:04] local.INFO: TCP Data received {"connection_id":229685,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa61ad8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa61ad8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:14:04] local.INFO: Processing buffer {"connection_id":229685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa61ad8012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:14:04] local.INFO: Packet analysis {"connection_id":229685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:14:04] local.INFO: Extracted packet for processing {"connection_id":229685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:14:04] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229202944001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793864375000,"timestamp_ms":1793864375000,"timestamp_seconds":1793864375,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa61ad8"} 
[2026-11-05 13:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":229685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":229685,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":229685,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229202944001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229202944001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:14:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229202944001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:14:05] 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":63080,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:14:05] local.INFO: GPS data processed {"connection_id":229685,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:14:05] local.INFO: Acknowledgment sent {"connection_id":229685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:14:06] local.INFO: TCP Data received {"connection_id":233447,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233447,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:14:06] local.INFO: Processing buffer {"connection_id":233447,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:14:06] local.INFO: IMEI packet received {"connection_id":233447,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":233447,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:14:08] local.INFO: TCP Data received {"connection_id":230213,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:14:08] local.INFO: Processing buffer {"connection_id":230213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:14:08] local.INFO: IMEI packet received {"connection_id":230213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":230213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:14:09] local.INFO: TCP Data received {"connection_id":230213,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa62e60012d7fad0005afe048000d004527..."} 
[2026-11-05 13:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa62e60012d7fad0005afe048000d004527..."} 
[2026-11-05 13:14:09] local.INFO: Processing buffer {"connection_id":230213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa62e60012d7fad0005afe048000d004527..."} 
[2026-11-05 13:14:09] local.INFO: Packet analysis {"connection_id":230213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:14:09] local.INFO: Extracted packet for processing {"connection_id":230213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:14:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229204224001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793864380000,"timestamp_ms":1793864380000,"timestamp_seconds":1793864380,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa62e60"} 
[2026-11-05 13:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 13:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:14:09] 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-05 13:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229204224001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229204224001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:14:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:14:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229204224001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":230213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:14:09] local.INFO: GPS data processed {"connection_id":230213,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:14:09] local.INFO: Acknowledgment sent {"connection_id":230213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:14:16] local.INFO: TCP Data received {"connection_id":233447,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233447,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:14:16] local.INFO: Processing buffer {"connection_id":233447,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:14:16] local.INFO: IMEI packet received {"connection_id":233447,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":233447,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:14:18] local.INFO: TCP Data received {"connection_id":233447,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa54018012d488280069630e8003f00572b..."} 
[2026-11-05 13:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa54018012d488280069630e8003f00572b..."} 
[2026-11-05 13:14:18] local.INFO: Processing buffer {"connection_id":233447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa54018012d488280069630e8003f00572b..."} 
[2026-11-05 13:14:18] local.INFO: Packet analysis {"connection_id":233447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa5"} 
[2026-11-05 13:14:18] local.INFO: Extracted packet for processing {"connection_id":233447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa5"} 
[2026-11-05 13:14:18] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229187840001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713686528,"note":"Value kept but may cause issues"} 
[2026-11-05 13:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793864319000,"timestamp_ms":1793864319000,"timestamp_seconds":1793864319,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa54018"} 
[2026-11-05 13: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-05 13:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-05 13:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":233447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":233447,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":233447,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229187840001,"66":26930,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5225090389713686528},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229187840001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:14:18] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:14:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713686528,"description":"Unknown IO ID 45"} 
[2026-11-05 13:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229187840001,"power":26930,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225090389713686528}} 
[2026-11-05 13:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":233447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63082,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:14:18] local.INFO: GPS data processed {"connection_id":233447,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:14:18] local.INFO: Acknowledgment sent {"connection_id":233447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:14:41] local.INFO: TCP Data received {"connection_id":230213,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa62e60012d7fad0005afe048000d004527..."} 
[2026-11-05 13:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa62e60012d7fad0005afe048000d004527..."} 
[2026-11-05 13:14:41] local.INFO: Processing buffer {"connection_id":230213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa62e60012d7fad0005afe048000d004527..."} 
[2026-11-05 13:14:41] local.INFO: Packet analysis {"connection_id":230213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:14:41] local.INFO: Extracted packet for processing {"connection_id":230213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:14:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229204224001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793864380000,"timestamp_ms":1793864380000,"timestamp_seconds":1793864380,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa62e60"} 
[2026-11-05 13: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-05 13: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-05 13: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13: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-05 13:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229204224001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229204224001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:14:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:14:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229204224001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":230213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:14:41] local.INFO: GPS data processed {"connection_id":230213,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:14:41] local.INFO: Acknowledgment sent {"connection_id":230213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:14:49] local.INFO: TCP Data received {"connection_id":229686,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229686,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:14:49] local.INFO: Processing buffer {"connection_id":229686,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:14:49] local.INFO: IMEI packet received {"connection_id":229686,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":229686,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:14:50] local.INFO: TCP Data received {"connection_id":233447,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa9d7e0012d488280069630e8003f00572b..."} 
[2026-11-05 13:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa9d7e0012d488280069630e8003f00572b..."} 
[2026-11-05 13:14:50] local.INFO: Processing buffer {"connection_id":233447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa9d7e0012d488280069630e8003f00572b..."} 
[2026-11-05 13:14:50] local.INFO: Packet analysis {"connection_id":233447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa9"} 
[2026-11-05 13:14:50] local.INFO: Extracted packet for processing {"connection_id":233447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa9"} 
[2026-11-05 13:14:50] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229265664001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793864620000,"timestamp_ms":1793864620000,"timestamp_seconds":1793864620,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa9d7e0"} 
[2026-11-05 13: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-05 13:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-11-05 13:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":233447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":233447,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":233447,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229265664001,"66":26789,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229265664001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:14:50] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:14:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229265664001,"power":26789,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":233447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63084,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:14:50] local.INFO: GPS data processed {"connection_id":233447,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:14:50] local.INFO: Acknowledgment sent {"connection_id":233447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:15:03] local.INFO: TCP Data received {"connection_id":233448,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:15:03] local.INFO: Processing buffer {"connection_id":233448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:15:03] local.INFO: IMEI packet received {"connection_id":233448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":233448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:15:05] local.INFO: TCP Data received {"connection_id":229686,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229686,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:15:05] local.INFO: Processing buffer {"connection_id":229686,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:15:05] local.INFO: IMEI packet received {"connection_id":229686,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":229686,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:15:06] local.INFO: TCP Data received {"connection_id":229687,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229687,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:15:06] local.INFO: Processing buffer {"connection_id":229687,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:15:06] local.INFO: IMEI packet received {"connection_id":229687,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":229687,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:15:07] local.INFO: TCP Data received {"connection_id":229686,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:15:07] local.INFO: Processing buffer {"connection_id":229686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:15:07] local.INFO: Packet analysis {"connection_id":229686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:15:07] local.INFO: Extracted packet for processing {"connection_id":229686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:15:07] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229280000001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:15:07] 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-05 13:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1793864676000,"timestamp_ms":1793864676000,"timestamp_seconds":1793864676,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaab2a0"} 
[2026-11-05 13: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-05 13:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 13:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":229686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":229686,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":229686,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229280000001,"66":12645,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229280000001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:15:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229280000001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":229686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63085,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:15:07] local.INFO: GPS data processed {"connection_id":229686,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:15:07] local.INFO: Acknowledgment sent {"connection_id":229686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:15:08] local.INFO: TCP Data received {"connection_id":233448,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:15:08] local.INFO: Processing buffer {"connection_id":233448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:15:08] local.INFO: IMEI packet received {"connection_id":233448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":233448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:15:10] local.INFO: TCP Data received {"connection_id":233448,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa62e60012d7fad0005afe048000d004527..."} 
[2026-11-05 13:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa62e60012d7fad0005afe048000d004527..."} 
[2026-11-05 13:15:10] local.INFO: Processing buffer {"connection_id":233448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa62e60012d7fad0005afe048000d004527..."} 
[2026-11-05 13:15:10] local.INFO: Packet analysis {"connection_id":233448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:15:10] local.INFO: Extracted packet for processing {"connection_id":233448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa6"} 
[2026-11-05 13:15:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":13,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229204224001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793864380000,"timestamp_ms":1793864380000,"timestamp_seconds":1793864380,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa62e60"} 
[2026-11-05 13:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229204224001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229204224001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:15:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:15:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229204224001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":233448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:15:10] local.INFO: GPS data processed {"connection_id":233448,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:15:10] local.INFO: Acknowledgment sent {"connection_id":233448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:15:11] local.INFO: TCP Data received {"connection_id":229687,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229687,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:15:11] local.INFO: Processing buffer {"connection_id":229687,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:15:11] local.INFO: IMEI packet received {"connection_id":229687,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":229687,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:15:14] local.INFO: TCP Data received {"connection_id":229687,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa9d7e0012d488280069630e8003f00572b..."} 
[2026-11-05 13:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa9d7e0012d488280069630e8003f00572b..."} 
[2026-11-05 13:15:14] local.INFO: Processing buffer {"connection_id":229687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa9d7e0012d488280069630e8003f00572b..."} 
[2026-11-05 13:15:14] local.INFO: Packet analysis {"connection_id":229687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa9"} 
[2026-11-05 13:15:14] local.INFO: Extracted packet for processing {"connection_id":229687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa9"} 
[2026-11-05 13:15:14] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 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-05 13:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229265664001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793864620000,"timestamp_ms":1793864620000,"timestamp_seconds":1793864620,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa9d7e0"} 
[2026-11-05 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-05 13:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-11-05 13:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 13:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229687,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229687,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229265664001,"66":26789,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229265664001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:15:14] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:15:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229265664001,"power":26789,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":229687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63087,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:15:14] local.INFO: GPS data processed {"connection_id":229687,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:15:14] local.INFO: Acknowledgment sent {"connection_id":229687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:15:41] local.INFO: TCP Data received {"connection_id":233448,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaac628012d7fad0005afe0480000004527..."} 
[2026-11-05 13:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaac628012d7fad0005afe0480000004527..."} 
[2026-11-05 13:15:41] local.INFO: Processing buffer {"connection_id":233448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaac628012d7fad0005afe0480000004527..."} 
[2026-11-05 13:15:41] local.INFO: Packet analysis {"connection_id":233448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:15:41] local.INFO: Extracted packet for processing {"connection_id":233448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:15:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229281280001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793864681000,"timestamp_ms":1793864681000,"timestamp_seconds":1793864681,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaac628"} 
[2026-11-05 13: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-05 13: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-05 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:15: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-05 13:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229281280001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229281280001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:15:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:15:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229281280001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":233448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:15:41] local.INFO: GPS data processed {"connection_id":233448,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:15:41] local.INFO: Acknowledgment sent {"connection_id":233448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:15:48] local.INFO: TCP Data received {"connection_id":229687,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa9d7e0012d488280069630e8003f00572b..."} 
[2026-11-05 13:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa9d7e0012d488280069630e8003f00572b..."} 
[2026-11-05 13:15:48] local.INFO: Processing buffer {"connection_id":229687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa9d7e0012d488280069630e8003f00572b..."} 
[2026-11-05 13:15:48] local.INFO: Packet analysis {"connection_id":229687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa9"} 
[2026-11-05 13:15:48] local.INFO: Extracted packet for processing {"connection_id":229687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa9"} 
[2026-11-05 13:15:48] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 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-05 13:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229265664001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:15:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793864620000,"timestamp_ms":1793864620000,"timestamp_seconds":1793864620,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa9d7e0"} 
[2026-11-05 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-05 13:15:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-11-05 13:15:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 13:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229687,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229687,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:15:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229265664001,"66":26789,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229265664001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:15:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:15:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229265664001,"power":26789,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":229687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63089,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:15:48] local.INFO: GPS data processed {"connection_id":229687,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:15:48] local.INFO: Acknowledgment sent {"connection_id":229687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:15:49] local.INFO: TCP Data received {"connection_id":233449,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233449,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:15:49] local.INFO: Processing buffer {"connection_id":233449,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:15:49] local.INFO: IMEI packet received {"connection_id":233449,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":233449,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:15:53] local.INFO: TCP Data received {"connection_id":233449,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233449,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:15:53] local.INFO: Processing buffer {"connection_id":233449,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:15:53] local.INFO: IMEI packet received {"connection_id":233449,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":233449,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:15:55] local.INFO: TCP Data received {"connection_id":233449,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:15:55] local.INFO: Processing buffer {"connection_id":233449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:15:55] local.INFO: Packet analysis {"connection_id":233449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:15:55] local.INFO: Extracted packet for processing {"connection_id":233449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:15:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229280000001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:15: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-05 13:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793864676000,"timestamp_ms":1793864676000,"timestamp_seconds":1793864676,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaab2a0"} 
[2026-11-05 13:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 13:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233449,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233449,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229280000001,"66":12645,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229280000001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:15:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229280000001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":233449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63090,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:15:55] local.INFO: GPS data processed {"connection_id":233449,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:15:55] local.INFO: Acknowledgment sent {"connection_id":233449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:16:03] local.INFO: TCP Data received {"connection_id":229688,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:16:03] local.INFO: Processing buffer {"connection_id":229688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:16:03] local.INFO: IMEI packet received {"connection_id":229688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":229688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:16:08] local.INFO: TCP Data received {"connection_id":229688,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:16:08] local.INFO: Processing buffer {"connection_id":229688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:16:08] local.INFO: IMEI packet received {"connection_id":229688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":229688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:16:09] local.INFO: TCP Data received {"connection_id":229688,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaac628012d7fad0005afe0480000004527..."} 
[2026-11-05 13:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaac628012d7fad0005afe0480000004527..."} 
[2026-11-05 13:16:09] local.INFO: Processing buffer {"connection_id":229688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaac628012d7fad0005afe0480000004527..."} 
[2026-11-05 13:16:09] local.INFO: Packet analysis {"connection_id":229688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:16:09] local.INFO: Extracted packet for processing {"connection_id":229688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:16:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229281280001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793864681000,"timestamp_ms":1793864681000,"timestamp_seconds":1793864681,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaac628"} 
[2026-11-05 13:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 13:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:16:09] 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-05 13:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229281280001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229281280001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:16:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:16:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229281280001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:16:09] 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":63091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:16:09] local.INFO: GPS data processed {"connection_id":229688,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:16:09] local.INFO: Acknowledgment sent {"connection_id":229688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:16:11] local.INFO: TCP Data received {"connection_id":230214,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:16:11] local.INFO: Processing buffer {"connection_id":230214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:16:11] local.INFO: IMEI packet received {"connection_id":230214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":230214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:16:16] local.INFO: TCP Data received {"connection_id":230214,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:16:16] local.INFO: Processing buffer {"connection_id":230214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:16:16] local.INFO: IMEI packet received {"connection_id":230214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":230214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:16:18] local.INFO: TCP Data received {"connection_id":230214,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa9d7e0012d488280069630e8003f00572b..."} 
[2026-11-05 13:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa9d7e0012d488280069630e8003f00572b..."} 
[2026-11-05 13:16:18] local.INFO: Processing buffer {"connection_id":230214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa9d7e0012d488280069630e8003f00572b..."} 
[2026-11-05 13:16:18] local.INFO: Packet analysis {"connection_id":230214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa9"} 
[2026-11-05 13:16:18] local.INFO: Extracted packet for processing {"connection_id":230214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa9"} 
[2026-11-05 13:16:18] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229265664001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793864620000,"timestamp_ms":1793864620000,"timestamp_seconds":1793864620,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa9d7e0"} 
[2026-11-05 13: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-05 13:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-11-05 13:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229265664001,"66":26789,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229265664001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:16:18] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:16:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229265664001,"power":26789,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":230214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63092,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:16:18] local.INFO: GPS data processed {"connection_id":230214,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:16:18] local.INFO: Acknowledgment sent {"connection_id":230214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:16:23] local.INFO: TCP Data received {"connection_id":230214,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa9d7e0012d488280069630e8003f00572b..."} 
[2026-11-05 13:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa9d7e0012d488280069630e8003f00572b..."} 
[2026-11-05 13:16:23] local.INFO: Processing buffer {"connection_id":230214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa9d7e0012d488280069630e8003f00572b..."} 
[2026-11-05 13:16:23] local.INFO: Packet analysis {"connection_id":230214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa9"} 
[2026-11-05 13:16:23] local.INFO: Extracted packet for processing {"connection_id":230214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa9"} 
[2026-11-05 13:16:23] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229265664001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793864620000,"timestamp_ms":1793864620000,"timestamp_seconds":1793864620,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa9d7e0"} 
[2026-11-05 13: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-05 13:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-11-05 13:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":230214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":230214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":230214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229265664001,"66":26789,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229265664001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:16:23] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:16:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229265664001,"power":26789,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":230214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63093,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:16:23] local.INFO: GPS data processed {"connection_id":230214,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:16:23] local.INFO: Acknowledgment sent {"connection_id":230214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:16:32] local.INFO: TCP Data received {"connection_id":233449,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:16:32] local.INFO: Processing buffer {"connection_id":233449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:16:32] local.INFO: Packet analysis {"connection_id":233449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:16:32] local.INFO: Extracted packet for processing {"connection_id":233449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:16:32] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229280000001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:16:32] 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-05 13:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1793864676000,"timestamp_ms":1793864676000,"timestamp_seconds":1793864676,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaab2a0"} 
[2026-11-05 13:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 13:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":233449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":233449,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":233449,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229280000001,"66":12645,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229280000001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:16:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229280000001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":233449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63094,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:16:32] local.INFO: GPS data processed {"connection_id":233449,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:16:32] local.INFO: Acknowledgment sent {"connection_id":233449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:16:40] local.INFO: TCP Data received {"connection_id":229688,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaac628012d7fad0005afe0480000004527..."} 
[2026-11-05 13:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaac628012d7fad0005afe0480000004527..."} 
[2026-11-05 13:16:40] local.INFO: Processing buffer {"connection_id":229688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaac628012d7fad0005afe0480000004527..."} 
[2026-11-05 13:16:40] local.INFO: Packet analysis {"connection_id":229688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:16:40] local.INFO: Extracted packet for processing {"connection_id":229688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:16:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229281280001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793864681000,"timestamp_ms":1793864681000,"timestamp_seconds":1793864681,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaac628"} 
[2026-11-05 13:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 13:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229281280001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229281280001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:16:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:16:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229281280001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:16:40] 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":63095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:16:40] local.INFO: GPS data processed {"connection_id":229688,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:16:40] local.INFO: Acknowledgment sent {"connection_id":229688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:16:48] local.INFO: TCP Data received {"connection_id":230215,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230215,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:16:48] local.INFO: Processing buffer {"connection_id":230215,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:16:48] local.INFO: IMEI packet received {"connection_id":230215,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":230215,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:16:54] local.INFO: TCP Data received {"connection_id":230215,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230215,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:16:54] local.INFO: Processing buffer {"connection_id":230215,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:16:54] local.INFO: IMEI packet received {"connection_id":230215,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":230215,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:16:58] local.INFO: TCP Data received {"connection_id":230215,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:16:58] local.INFO: Processing buffer {"connection_id":230215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:16:58] local.INFO: Packet analysis {"connection_id":230215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:16:58] local.INFO: Extracted packet for processing {"connection_id":230215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:16:58] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229280000001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:16:58] 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-05 13:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793864676000,"timestamp_ms":1793864676000,"timestamp_seconds":1793864676,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaab2a0"} 
[2026-11-05 13:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 13:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:16:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":230215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":230215,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":230215,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229280000001,"66":12645,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229280000001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:16:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229280000001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":230215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63096,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:16:58] local.INFO: GPS data processed {"connection_id":230215,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:16:58] local.INFO: Acknowledgment sent {"connection_id":230215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:17:03] local.INFO: TCP Data received {"connection_id":231544,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:17:03] local.INFO: Processing buffer {"connection_id":231544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:17:03] local.INFO: IMEI packet received {"connection_id":231544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":231544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:17:06] local.INFO: TCP Data received {"connection_id":229689,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:17:06] local.INFO: Processing buffer {"connection_id":229689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:17:06] local.INFO: IMEI packet received {"connection_id":229689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":229689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:17:08] local.INFO: TCP Data received {"connection_id":231544,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:17:08] local.INFO: Processing buffer {"connection_id":231544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:17:08] local.INFO: IMEI packet received {"connection_id":231544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":231544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:17:09] local.INFO: TCP Data received {"connection_id":231544,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaac628012d7fad0005afe0480000004527..."} 
[2026-11-05 13:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaac628012d7fad0005afe0480000004527..."} 
[2026-11-05 13:17:09] local.INFO: Processing buffer {"connection_id":231544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaac628012d7fad0005afe0480000004527..."} 
[2026-11-05 13:17:09] local.INFO: Packet analysis {"connection_id":231544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:17:09] local.INFO: Extracted packet for processing {"connection_id":231544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:17:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229281280001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793864681000,"timestamp_ms":1793864681000,"timestamp_seconds":1793864681,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaac628"} 
[2026-11-05 13:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 13:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:17:09] local.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-05 13:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229281280001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229281280001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:17:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:17:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229281280001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":231544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:17:09] local.INFO: GPS data processed {"connection_id":231544,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:17:09] local.INFO: Acknowledgment sent {"connection_id":231544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:17:11] local.INFO: TCP Data received {"connection_id":229689,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:17:11] local.INFO: Processing buffer {"connection_id":229689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:17:11] local.INFO: IMEI packet received {"connection_id":229689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":229689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:17:13] local.INFO: TCP Data received {"connection_id":229689,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa9d7e0012d488280069630e8003f00572b..."} 
[2026-11-05 13:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa9d7e0012d488280069630e8003f00572b..."} 
[2026-11-05 13:17:13] local.INFO: Processing buffer {"connection_id":229689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa9d7e0012d488280069630e8003f00572b..."} 
[2026-11-05 13:17:13] local.INFO: Packet analysis {"connection_id":229689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa9"} 
[2026-11-05 13:17:13] local.INFO: Extracted packet for processing {"connection_id":229689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa9"} 
[2026-11-05 13:17:13] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229265664001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793864620000,"timestamp_ms":1793864620000,"timestamp_seconds":1793864620,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa9d7e0"} 
[2026-11-05 13: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-05 13:17:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-11-05 13:17:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229265664001,"66":26789,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229265664001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:17:13] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:17:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229265664001,"power":26789,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:17:13] 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":63098,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:17:13] local.INFO: GPS data processed {"connection_id":229689,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:17:13] local.INFO: Acknowledgment sent {"connection_id":229689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:17:32] local.INFO: TCP Data received {"connection_id":230215,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:17:32] local.INFO: Processing buffer {"connection_id":230215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:17:32] local.INFO: Packet analysis {"connection_id":230215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:17:32] local.INFO: Extracted packet for processing {"connection_id":230215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:17:32] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229280000001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:17:32] 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-05 13:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1793864676000,"timestamp_ms":1793864676000,"timestamp_seconds":1793864676,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaab2a0"} 
[2026-11-05 13: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-05 13:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 13:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":230215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":230215,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":230215,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229280000001,"66":12645,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229280000001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:17:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229280000001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":230215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63099,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:17:33] local.INFO: GPS data processed {"connection_id":230215,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:17:33] local.INFO: Acknowledgment sent {"connection_id":230215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:17:40] local.INFO: TCP Data received {"connection_id":231544,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaac628012d7fad0005afe0480000004527..."} 
[2026-11-05 13:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaac628012d7fad0005afe0480000004527..."} 
[2026-11-05 13:17:40] local.INFO: Processing buffer {"connection_id":231544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaac628012d7fad0005afe0480000004527..."} 
[2026-11-05 13:17:40] local.INFO: Packet analysis {"connection_id":231544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:17:40] local.INFO: Extracted packet for processing {"connection_id":231544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:17:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229281280001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793864681000,"timestamp_ms":1793864681000,"timestamp_seconds":1793864681,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaac628"} 
[2026-11-05 13:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 13:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229281280001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229281280001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:17:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:17:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229281280001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":231544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:17:40] local.INFO: GPS data processed {"connection_id":231544,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:17:40] local.INFO: Acknowledgment sent {"connection_id":231544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:17:45] local.INFO: TCP Data received {"connection_id":229689,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa9d7e0012d488280069630e8003f00572b..."} 
[2026-11-05 13:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa9d7e0012d488280069630e8003f00572b..."} 
[2026-11-05 13:17:45] local.INFO: Processing buffer {"connection_id":229689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa9d7e0012d488280069630e8003f00572b..."} 
[2026-11-05 13:17:45] local.INFO: Packet analysis {"connection_id":229689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa9"} 
[2026-11-05 13:17:45] local.INFO: Extracted packet for processing {"connection_id":229689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa9"} 
[2026-11-05 13:17:45] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229265664001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793864620000,"timestamp_ms":1793864620000,"timestamp_seconds":1793864620,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa9d7e0"} 
[2026-11-05 13: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-05 13:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-11-05 13:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229265664001,"66":26789,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229265664001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:17:45] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:17:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229265664001,"power":26789,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:17:45] 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":63101,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:17:45] local.INFO: GPS data processed {"connection_id":229689,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:17:45] local.INFO: Acknowledgment sent {"connection_id":229689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:17:48] local.INFO: TCP Data received {"connection_id":233450,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233450,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:17:48] local.INFO: Processing buffer {"connection_id":233450,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:17:48] local.INFO: IMEI packet received {"connection_id":233450,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":233450,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:17:54] local.INFO: TCP Data received {"connection_id":233450,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233450,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:17:54] local.INFO: Processing buffer {"connection_id":233450,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:17:54] local.INFO: IMEI packet received {"connection_id":233450,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":233450,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:17:55] local.INFO: TCP Data received {"connection_id":233450,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:17:55] local.INFO: Processing buffer {"connection_id":233450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:17:55] local.INFO: Packet analysis {"connection_id":233450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:17:55] local.INFO: Extracted packet for processing {"connection_id":233450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:17:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229280000001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:17: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-05 13:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793864676000,"timestamp_ms":1793864676000,"timestamp_seconds":1793864676,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaab2a0"} 
[2026-11-05 13:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 13:17:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233450,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233450,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229280000001,"66":12645,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229280000001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:17:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229280000001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":233450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63102,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:17:55] local.INFO: GPS data processed {"connection_id":233450,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:17:55] local.INFO: Acknowledgment sent {"connection_id":233450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:18:03] local.INFO: TCP Data received {"connection_id":230216,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:18:03] local.INFO: Processing buffer {"connection_id":230216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:18:03] local.INFO: IMEI packet received {"connection_id":230216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":230216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:18:08] local.INFO: TCP Data received {"connection_id":231545,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231545,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:18:08] local.INFO: Processing buffer {"connection_id":231545,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:18:08] local.INFO: IMEI packet received {"connection_id":231545,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":231545,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:18:08] local.INFO: TCP Data received {"connection_id":230216,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:18:08] local.INFO: Processing buffer {"connection_id":230216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:18:08] local.INFO: IMEI packet received {"connection_id":230216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":230216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:18:09] local.INFO: TCP Data received {"connection_id":230216,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaac628012d7fad0005afe0480000004527..."} 
[2026-11-05 13:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaac628012d7fad0005afe0480000004527..."} 
[2026-11-05 13:18:09] local.INFO: Processing buffer {"connection_id":230216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaac628012d7fad0005afe0480000004527..."} 
[2026-11-05 13:18:09] local.INFO: Packet analysis {"connection_id":230216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:18:09] local.INFO: Extracted packet for processing {"connection_id":230216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:18:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:18: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-05 13:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229281280001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793864681000,"timestamp_ms":1793864681000,"timestamp_seconds":1793864681,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaac628"} 
[2026-11-05 13:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 13:18: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:18: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-05 13:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229281280001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229281280001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:18:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:18:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229281280001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":230216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:18:09] local.INFO: GPS data processed {"connection_id":230216,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:18:09] local.INFO: Acknowledgment sent {"connection_id":230216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:18:11] local.INFO: TCP Data received {"connection_id":231545,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231545,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:18:11] local.INFO: Processing buffer {"connection_id":231545,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:18:11] local.INFO: IMEI packet received {"connection_id":231545,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":231545,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:18:12] local.INFO: TCP Data received {"connection_id":231545,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa9d7e0012d488280069630e8003f00572b..."} 
[2026-11-05 13:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa9d7e0012d488280069630e8003f00572b..."} 
[2026-11-05 13:18:12] local.INFO: Processing buffer {"connection_id":231545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa9d7e0012d488280069630e8003f00572b..."} 
[2026-11-05 13:18:12] local.INFO: Packet analysis {"connection_id":231545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa9"} 
[2026-11-05 13:18:12] local.INFO: Extracted packet for processing {"connection_id":231545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa9"} 
[2026-11-05 13:18:12] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229265664001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793864620000,"timestamp_ms":1793864620000,"timestamp_seconds":1793864620,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa9d7e0"} 
[2026-11-05 13:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-11-05 13:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231545,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231545,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229265664001,"66":26789,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229265664001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:18:12] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:18:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229265664001,"power":26789,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":231545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63104,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:18:12] local.INFO: GPS data processed {"connection_id":231545,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:18:12] local.INFO: Acknowledgment sent {"connection_id":231545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:18:26] local.INFO: TCP Data received {"connection_id":233450,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:18:26] local.INFO: Processing buffer {"connection_id":233450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:18:26] local.INFO: Packet analysis {"connection_id":233450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:18:26] local.INFO: Extracted packet for processing {"connection_id":233450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:18:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229280000001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:18: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-05 13:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793864676000,"timestamp_ms":1793864676000,"timestamp_seconds":1793864676,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaab2a0"} 
[2026-11-05 13:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 13:18:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:18:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233450,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233450,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229280000001,"66":12645,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229280000001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:18:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229280000001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":233450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63105,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:18:27] local.INFO: GPS data processed {"connection_id":233450,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:18:27] local.INFO: Acknowledgment sent {"connection_id":233450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:18:40] local.INFO: TCP Data received {"connection_id":230216,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaac628012d7fad0005afe0480000004527..."} 
[2026-11-05 13:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaac628012d7fad0005afe0480000004527..."} 
[2026-11-05 13:18:40] local.INFO: Processing buffer {"connection_id":230216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaac628012d7fad0005afe0480000004527..."} 
[2026-11-05 13:18:40] local.INFO: Packet analysis {"connection_id":230216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:18:40] local.INFO: Extracted packet for processing {"connection_id":230216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:18:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229281280001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793864681000,"timestamp_ms":1793864681000,"timestamp_seconds":1793864681,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaac628"} 
[2026-11-05 13:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 13:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:18: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-05 13:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229281280001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229281280001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:18:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:18:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229281280001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":230216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:18:40] local.INFO: GPS data processed {"connection_id":230216,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:18:40] local.INFO: Acknowledgment sent {"connection_id":230216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:18:48] local.INFO: TCP Data received {"connection_id":229690,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229690,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:18:48] local.INFO: Processing buffer {"connection_id":229690,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:18:48] local.INFO: IMEI packet received {"connection_id":229690,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":229690,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:18:54] local.INFO: TCP Data received {"connection_id":229690,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229690,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:18:54] local.INFO: Processing buffer {"connection_id":229690,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:18:54] local.INFO: IMEI packet received {"connection_id":229690,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":229690,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:18:54] local.INFO: TCP Data received {"connection_id":229690,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:18:54] local.INFO: Processing buffer {"connection_id":229690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:18:54] local.INFO: Packet analysis {"connection_id":229690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:18:54] local.INFO: Extracted packet for processing {"connection_id":229690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:18:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229280000001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:18: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-05 13:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793864676000,"timestamp_ms":1793864676000,"timestamp_seconds":1793864676,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaab2a0"} 
[2026-11-05 13: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-05 13:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 13:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":229690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":229690,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":229690,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229280000001,"66":12645,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229280000001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:18:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229280000001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":229690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63107,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:18:55] local.INFO: GPS data processed {"connection_id":229690,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:18:55] local.INFO: Acknowledgment sent {"connection_id":229690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:19:03] local.INFO: TCP Data received {"connection_id":230217,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:19:03] local.INFO: Processing buffer {"connection_id":230217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:19:03] local.INFO: IMEI packet received {"connection_id":230217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":230217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:19:08] local.INFO: TCP Data received {"connection_id":230217,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:19:08] local.INFO: Processing buffer {"connection_id":230217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:19:08] local.INFO: IMEI packet received {"connection_id":230217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":230217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:19:09] local.INFO: TCP Data received {"connection_id":230217,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaac628012d7fad0005afe0480000004527..."} 
[2026-11-05 13:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaac628012d7fad0005afe0480000004527..."} 
[2026-11-05 13:19:09] local.INFO: Processing buffer {"connection_id":230217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaac628012d7fad0005afe0480000004527..."} 
[2026-11-05 13:19:09] local.INFO: Packet analysis {"connection_id":230217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:19:09] local.INFO: Extracted packet for processing {"connection_id":230217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:19:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229281280001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793864681000,"timestamp_ms":1793864681000,"timestamp_seconds":1793864681,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaac628"} 
[2026-11-05 13:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 13:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229281280001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229281280001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:19:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:19:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229281280001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":230217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:19:09] local.INFO: GPS data processed {"connection_id":230217,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:19:09] local.INFO: Acknowledgment sent {"connection_id":230217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:19:12] local.INFO: TCP Data received {"connection_id":231545,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaa9d7e0012d488280069630e8003f00572b..."} 
[2026-11-05 13:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaa9d7e0012d488280069630e8003f00572b..."} 
[2026-11-05 13:19:12] local.INFO: Processing buffer {"connection_id":231545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaa9d7e0012d488280069630e8003f00572b..."} 
[2026-11-05 13:19:12] local.INFO: Packet analysis {"connection_id":231545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaa9"} 
[2026-11-05 13:19:12] local.INFO: Extracted packet for processing {"connection_id":231545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaa9"} 
[2026-11-05 13:19:12] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229265664001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793864620000,"timestamp_ms":1793864620000,"timestamp_seconds":1793864620,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaa9d7e0"} 
[2026-11-05 13: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-05 13:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-11-05 13:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231545,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231545,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229265664001,"66":26789,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229265664001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:19:12] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:19:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229265664001,"power":26789,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":231545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63109,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:19:12] local.INFO: GPS data processed {"connection_id":231545,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:19:12] local.INFO: Acknowledgment sent {"connection_id":231545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:19:16] local.INFO: TCP Data received {"connection_id":233451,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233451,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:19:16] local.INFO: Processing buffer {"connection_id":233451,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:19:16] local.INFO: IMEI packet received {"connection_id":233451,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":233451,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:19:26] local.INFO: TCP Data received {"connection_id":229690,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:19:26] local.INFO: Processing buffer {"connection_id":229690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:19:26] local.INFO: Packet analysis {"connection_id":229690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:19:26] local.INFO: Extracted packet for processing {"connection_id":229690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:19:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229280000001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:19: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-05 13:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793864676000,"timestamp_ms":1793864676000,"timestamp_seconds":1793864676,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaab2a0"} 
[2026-11-05 13:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 13:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229690,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229690,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229280000001,"66":12645,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229280000001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:19:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229280000001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":229690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63110,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:19:26] local.INFO: GPS data processed {"connection_id":229690,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:19:26] local.INFO: Acknowledgment sent {"connection_id":229690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:19:40] local.INFO: TCP Data received {"connection_id":230217,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaac628012d7fad0005afe0480000004527..."} 
[2026-11-05 13:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaac628012d7fad0005afe0480000004527..."} 
[2026-11-05 13:19:40] local.INFO: Processing buffer {"connection_id":230217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaac628012d7fad0005afe0480000004527..."} 
[2026-11-05 13:19:40] local.INFO: Packet analysis {"connection_id":230217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:19:40] local.INFO: Extracted packet for processing {"connection_id":230217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:19:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229281280001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793864681000,"timestamp_ms":1793864681000,"timestamp_seconds":1793864681,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaac628"} 
[2026-11-05 13:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 13:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:19: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-05 13:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229281280001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229281280001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:19:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:19:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229281280001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":230217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:19:40] local.INFO: GPS data processed {"connection_id":230217,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:19:40] local.INFO: Acknowledgment sent {"connection_id":230217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:19:53] local.INFO: TCP Data received {"connection_id":229691,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229691,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:19:53] local.INFO: Processing buffer {"connection_id":229691,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:19:53] local.INFO: IMEI packet received {"connection_id":229691,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":229691,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:19:58] local.INFO: TCP Data received {"connection_id":229691,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229691,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:19:58] local.INFO: Processing buffer {"connection_id":229691,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:19:58] local.INFO: IMEI packet received {"connection_id":229691,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":229691,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:20:00] local.INFO: TCP Data received {"connection_id":229691,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaf4a68012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaf4a68012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:20:00] local.INFO: Processing buffer {"connection_id":229691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaf4a68012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:20:00] local.INFO: Packet analysis {"connection_id":229691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:20:00] local.INFO: Extracted packet for processing {"connection_id":229691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:20:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229357056001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793864977000,"timestamp_ms":1793864977000,"timestamp_seconds":1793864977,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaf4a68"} 
[2026-11-05 13:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-11-05 13:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:20:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":229691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":229691,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":229691,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229357056001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229357056001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:20:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229357056001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":229691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63112,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:20:00] local.INFO: GPS data processed {"connection_id":229691,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:20:00] local.INFO: Acknowledgment sent {"connection_id":229691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:20:03] local.INFO: TCP Data received {"connection_id":229692,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:20:03] local.INFO: Processing buffer {"connection_id":229692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:20:03] local.INFO: IMEI packet received {"connection_id":229692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":229692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:20:08] local.INFO: TCP Data received {"connection_id":229692,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:20:08] local.INFO: Processing buffer {"connection_id":229692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:20:08] local.INFO: IMEI packet received {"connection_id":229692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":229692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:20:09] local.INFO: TCP Data received {"connection_id":229692,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaac628012d7fad0005afe0480000004527..."} 
[2026-11-05 13:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaac628012d7fad0005afe0480000004527..."} 
[2026-11-05 13:20:09] local.INFO: Processing buffer {"connection_id":229692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaac628012d7fad0005afe0480000004527..."} 
[2026-11-05 13:20:09] local.INFO: Packet analysis {"connection_id":229692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:20:09] local.INFO: Extracted packet for processing {"connection_id":229692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 13:20:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229281280001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793864681000,"timestamp_ms":1793864681000,"timestamp_seconds":1793864681,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaac628"} 
[2026-11-05 13:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 13:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:20:09] local.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-05 13:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229281280001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229281280001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:20:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:20:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229281280001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:20:09] 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":63113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:20:09] local.INFO: GPS data processed {"connection_id":229692,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:20:09] local.INFO: Acknowledgment sent {"connection_id":229692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:20:11] local.INFO: TCP Data received {"connection_id":233451,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233451,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:20:11] local.INFO: Processing buffer {"connection_id":233451,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:20:11] local.INFO: IMEI packet received {"connection_id":233451,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":233451,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:20:13] local.INFO: TCP Data received {"connection_id":233451,"ip":"117.224.89.99","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-05 13:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233451,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-05 13:20:13] local.INFO: Processing buffer {"connection_id":233451,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-05 13:20:13] local.INFO: IMEI packet received {"connection_id":233451,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":233451,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:20:31] local.INFO: TCP Data received {"connection_id":229691,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaf4a68012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaf4a68012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:20:31] local.INFO: Processing buffer {"connection_id":229691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaf4a68012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:20:31] local.INFO: Packet analysis {"connection_id":229691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:20:31] local.INFO: Extracted packet for processing {"connection_id":229691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:20:31] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229357056001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793864977000,"timestamp_ms":1793864977000,"timestamp_seconds":1793864977,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaf4a68"} 
[2026-11-05 13:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-11-05 13:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":229691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":229691,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":229691,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229357056001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229357056001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:20:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229357056001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":229691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63114,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:20:31] local.INFO: GPS data processed {"connection_id":229691,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:20:31] local.INFO: Acknowledgment sent {"connection_id":229691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:20:48] local.INFO: TCP Data received {"connection_id":233452,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233452,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:20:48] local.INFO: Processing buffer {"connection_id":233452,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:20:48] local.INFO: IMEI packet received {"connection_id":233452,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":233452,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:20:49] local.INFO: TCP Data received {"connection_id":229692,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaf5df0012d7fad0005afe0480000004525..."} 
[2026-11-05 13:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaf5df0012d7fad0005afe0480000004525..."} 
[2026-11-05 13:20:49] local.INFO: Processing buffer {"connection_id":229692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaf5df0012d7fad0005afe0480000004525..."} 
[2026-11-05 13:20:49] local.INFO: Packet analysis {"connection_id":229692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:20:49] local.INFO: Extracted packet for processing {"connection_id":229692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:20:49] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":37,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229358336001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793864982000,"timestamp_ms":1793864982000,"timestamp_seconds":1793864982,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaf5df0"} 
[2026-11-05 13: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-05 13:20: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-05 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:20:49] local.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-05 13:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229358336001,"66":25343,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229358336001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:20:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:20:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229358336001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:20:49] 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":63115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:20:49] local.INFO: GPS data processed {"connection_id":229692,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:20:49] local.INFO: Acknowledgment sent {"connection_id":229692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:20:54] local.INFO: TCP Data received {"connection_id":233452,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233452,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:20:54] local.INFO: Processing buffer {"connection_id":233452,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:20:54] local.INFO: IMEI packet received {"connection_id":233452,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":233452,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:20:56] local.INFO: TCP Data received {"connection_id":233452,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaf4a68012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaf4a68012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:20:56] local.INFO: Processing buffer {"connection_id":233452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaf4a68012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:20:56] local.INFO: Packet analysis {"connection_id":233452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:20:56] local.INFO: Extracted packet for processing {"connection_id":233452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:20:56] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229357056001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:20:56] 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-05 13:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793864977000,"timestamp_ms":1793864977000,"timestamp_seconds":1793864977,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaf4a68"} 
[2026-11-05 13:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-11-05 13:20:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:20:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":233452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":233452,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":233452,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229357056001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229357056001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:20:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229357056001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":233452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63116,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:20:57] local.INFO: GPS data processed {"connection_id":233452,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:20:57] local.INFO: Acknowledgment sent {"connection_id":233452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:21:03] local.INFO: TCP Data received {"connection_id":229693,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:21:03] local.INFO: Processing buffer {"connection_id":229693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:21:03] local.INFO: IMEI packet received {"connection_id":229693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":229693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:21:08] local.INFO: TCP Data received {"connection_id":229693,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:21:08] local.INFO: Processing buffer {"connection_id":229693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:21:08] local.INFO: IMEI packet received {"connection_id":229693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":229693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:21:09] local.INFO: TCP Data received {"connection_id":229693,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaf5df0012d7fad0005afe0480000004525..."} 
[2026-11-05 13:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaf5df0012d7fad0005afe0480000004525..."} 
[2026-11-05 13:21:09] local.INFO: Processing buffer {"connection_id":229693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaf5df0012d7fad0005afe0480000004525..."} 
[2026-11-05 13:21:09] local.INFO: Packet analysis {"connection_id":229693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:21:09] local.INFO: Extracted packet for processing {"connection_id":229693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:21:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":37,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229358336001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793864982000,"timestamp_ms":1793864982000,"timestamp_seconds":1793864982,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaf5df0"} 
[2026-11-05 13:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:21:09] 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-05 13:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229358336001,"66":25343,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229358336001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:21:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:21:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229358336001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:21:09] 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":63117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:21:09] local.INFO: GPS data processed {"connection_id":229693,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:21:09] local.INFO: Acknowledgment sent {"connection_id":229693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:21:28] local.INFO: TCP Data received {"connection_id":233452,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaf4a68012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaf4a68012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:21:28] local.INFO: Processing buffer {"connection_id":233452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaf4a68012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:21:28] local.INFO: Packet analysis {"connection_id":233452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:21:28] local.INFO: Extracted packet for processing {"connection_id":233452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:21:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229357056001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:21: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-05 13:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1793864977000,"timestamp_ms":1793864977000,"timestamp_seconds":1793864977,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaf4a68"} 
[2026-11-05 13:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-11-05 13:21:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:21:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":233452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":233452,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":233452,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229357056001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229357056001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:21:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229357056001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":233452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63118,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:21:28] local.INFO: GPS data processed {"connection_id":233452,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:21:28] local.INFO: Acknowledgment sent {"connection_id":233452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:21:40] local.INFO: TCP Data received {"connection_id":229693,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaf5df0012d7fad0005afe0480000004525..."} 
[2026-11-05 13:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaf5df0012d7fad0005afe0480000004525..."} 
[2026-11-05 13:21:40] local.INFO: Processing buffer {"connection_id":229693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaf5df0012d7fad0005afe0480000004525..."} 
[2026-11-05 13:21:40] local.INFO: Packet analysis {"connection_id":229693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:21:40] local.INFO: Extracted packet for processing {"connection_id":229693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:21:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":37,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229358336001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793864982000,"timestamp_ms":1793864982000,"timestamp_seconds":1793864982,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaf5df0"} 
[2026-11-05 13:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229358336001,"66":25343,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229358336001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:21:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:21:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229358336001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:21:40] 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":63119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:21:40] local.INFO: GPS data processed {"connection_id":229693,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:21:40] local.INFO: Acknowledgment sent {"connection_id":229693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:21:48] local.INFO: TCP Data received {"connection_id":229694,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229694,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:21:48] local.INFO: Processing buffer {"connection_id":229694,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:21:48] local.INFO: IMEI packet received {"connection_id":229694,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":229694,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:21:54] local.INFO: TCP Data received {"connection_id":229694,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229694,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:21:54] local.INFO: Processing buffer {"connection_id":229694,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:21:54] local.INFO: IMEI packet received {"connection_id":229694,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":229694,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:21:55] local.INFO: TCP Data received {"connection_id":229694,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaf4a68012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaf4a68012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:21:55] local.INFO: Processing buffer {"connection_id":229694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaf4a68012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:21:55] local.INFO: Packet analysis {"connection_id":229694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:21:55] local.INFO: Extracted packet for processing {"connection_id":229694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:21:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229357056001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:21: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-05 13:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793864977000,"timestamp_ms":1793864977000,"timestamp_seconds":1793864977,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaf4a68"} 
[2026-11-05 13:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-11-05 13:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229694,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229694,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229357056001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229357056001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:21:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229357056001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:21:55] 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":63120,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:21:55] local.INFO: GPS data processed {"connection_id":229694,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:21:55] local.INFO: Acknowledgment sent {"connection_id":229694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:22:03] local.INFO: TCP Data received {"connection_id":233453,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:22:03] local.INFO: Processing buffer {"connection_id":233453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:22:03] local.INFO: IMEI packet received {"connection_id":233453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":233453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:22:08] local.INFO: TCP Data received {"connection_id":233453,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:22:08] local.INFO: Processing buffer {"connection_id":233453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:22:08] local.INFO: IMEI packet received {"connection_id":233453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":233453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:22:09] local.INFO: TCP Data received {"connection_id":233453,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaf5df0012d7fad0005afe0480000004525..."} 
[2026-11-05 13:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaf5df0012d7fad0005afe0480000004525..."} 
[2026-11-05 13:22:09] local.INFO: Processing buffer {"connection_id":233453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaf5df0012d7fad0005afe0480000004525..."} 
[2026-11-05 13:22:09] local.INFO: Packet analysis {"connection_id":233453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:22:09] local.INFO: Extracted packet for processing {"connection_id":233453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:22:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":37,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229358336001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793864982000,"timestamp_ms":1793864982000,"timestamp_seconds":1793864982,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaf5df0"} 
[2026-11-05 13:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:22:09] 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-05 13:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229358336001,"66":25343,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229358336001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:22:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:22:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229358336001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":233453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:22:09] local.INFO: GPS data processed {"connection_id":233453,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:22:09] local.INFO: Acknowledgment sent {"connection_id":233453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:22:23] local.INFO: TCP Data received {"connection_id":233453,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaf5df0012d7fad0005afe0480000004525..."} 
[2026-11-05 13:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaf5df0012d7fad0005afe0480000004525..."} 
[2026-11-05 13:22:23] local.INFO: Processing buffer {"connection_id":233453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaf5df0012d7fad0005afe0480000004525..."} 
[2026-11-05 13:22:23] local.INFO: Packet analysis {"connection_id":233453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:22:23] local.INFO: Extracted packet for processing {"connection_id":233453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:22:23] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":37,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229358336001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793864982000,"timestamp_ms":1793864982000,"timestamp_seconds":1793864982,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaf5df0"} 
[2026-11-05 13: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-05 13:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:22:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":233453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":233453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":233453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:22:23] 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-05 13:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229358336001,"66":25343,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229358336001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:22:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:22:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229358336001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":233453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:22:23] local.INFO: GPS data processed {"connection_id":233453,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:22:23] local.INFO: Acknowledgment sent {"connection_id":233453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:22:26] local.INFO: TCP Data received {"connection_id":229694,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaf4a68012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaf4a68012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:22:26] local.INFO: Processing buffer {"connection_id":229694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaf4a68012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:22:26] local.INFO: Packet analysis {"connection_id":229694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:22:26] local.INFO: Extracted packet for processing {"connection_id":229694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:22:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229357056001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:22: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-05 13:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793864977000,"timestamp_ms":1793864977000,"timestamp_seconds":1793864977,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaf4a68"} 
[2026-11-05 13:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-11-05 13:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229694,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229694,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229357056001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229357056001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:22:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229357056001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:22:26] 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":63123,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:22:26] local.INFO: GPS data processed {"connection_id":229694,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:22:26] local.INFO: Acknowledgment sent {"connection_id":229694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:22:48] local.INFO: TCP Data received {"connection_id":229695,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229695,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:22:48] local.INFO: Processing buffer {"connection_id":229695,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:22:48] local.INFO: IMEI packet received {"connection_id":229695,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":229695,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:22:54] local.INFO: TCP Data received {"connection_id":229695,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229695,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:22:54] local.INFO: Processing buffer {"connection_id":229695,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:22:54] local.INFO: IMEI packet received {"connection_id":229695,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":229695,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:22:55] local.INFO: TCP Data received {"connection_id":229695,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaf4a68012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaf4a68012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:22:55] local.INFO: Processing buffer {"connection_id":229695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaf4a68012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:22:55] local.INFO: Packet analysis {"connection_id":229695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:22:55] local.INFO: Extracted packet for processing {"connection_id":229695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:22:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229357056001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:22: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-05 13:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793864977000,"timestamp_ms":1793864977000,"timestamp_seconds":1793864977,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaf4a68"} 
[2026-11-05 13:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-11-05 13:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229695,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229695,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229357056001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229357056001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:22:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229357056001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":229695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63124,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:22:55] local.INFO: GPS data processed {"connection_id":229695,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:22:55] local.INFO: Acknowledgment sent {"connection_id":229695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:23:03] local.INFO: TCP Data received {"connection_id":233454,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:23:03] local.INFO: Processing buffer {"connection_id":233454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:23:03] local.INFO: IMEI packet received {"connection_id":233454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":233454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:23:08] local.INFO: TCP Data received {"connection_id":233454,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:23:08] local.INFO: Processing buffer {"connection_id":233454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:23:08] local.INFO: IMEI packet received {"connection_id":233454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":233454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:23:20] local.INFO: TCP Data received {"connection_id":233454,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaf5df0012d7fad0005afe0480000004525..."} 
[2026-11-05 13:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaf5df0012d7fad0005afe0480000004525..."} 
[2026-11-05 13:23:20] local.INFO: Processing buffer {"connection_id":233454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaf5df0012d7fad0005afe0480000004525..."} 
[2026-11-05 13:23:20] local.INFO: Packet analysis {"connection_id":233454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:23:20] local.INFO: Extracted packet for processing {"connection_id":233454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:23:20] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":37,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229358336001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793864982000,"timestamp_ms":1793864982000,"timestamp_seconds":1793864982,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaf5df0"} 
[2026-11-05 13:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:23: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-05 13:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:23: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-05 13:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":233454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":233454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":233454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:23:20] 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-05 13:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229358336001,"66":25343,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229358336001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:23:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:23:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229358336001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":233454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:23:20] local.INFO: GPS data processed {"connection_id":233454,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:23:20] local.INFO: Acknowledgment sent {"connection_id":233454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:23:27] local.INFO: TCP Data received {"connection_id":229695,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaf4a68012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaf4a68012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:23:27] local.INFO: Processing buffer {"connection_id":229695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaf4a68012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:23:27] local.INFO: Packet analysis {"connection_id":229695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:23:27] local.INFO: Extracted packet for processing {"connection_id":229695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:23:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229357056001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:23:27] 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-05 13:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793864977000,"timestamp_ms":1793864977000,"timestamp_seconds":1793864977,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaf4a68"} 
[2026-11-05 13:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-11-05 13:23:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":229695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":229695,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":229695,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229357056001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229357056001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:23:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229357056001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":229695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63126,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:23:27] local.INFO: GPS data processed {"connection_id":229695,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:23:27] local.INFO: Acknowledgment sent {"connection_id":229695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:23:48] local.INFO: TCP Data received {"connection_id":233455,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233455,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:23:48] local.INFO: Processing buffer {"connection_id":233455,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:23:48] local.INFO: IMEI packet received {"connection_id":233455,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":233455,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:23:53] local.INFO: TCP Data received {"connection_id":233455,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233455,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:23:53] local.INFO: Processing buffer {"connection_id":233455,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:23:53] local.INFO: IMEI packet received {"connection_id":233455,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":233455,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:23:55] local.INFO: TCP Data received {"connection_id":233455,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaf4a68012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaf4a68012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:23:55] local.INFO: Processing buffer {"connection_id":233455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaf4a68012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:23:55] local.INFO: Packet analysis {"connection_id":233455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:23:55] local.INFO: Extracted packet for processing {"connection_id":233455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:23:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229357056001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:23: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-05 13:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793864977000,"timestamp_ms":1793864977000,"timestamp_seconds":1793864977,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaf4a68"} 
[2026-11-05 13:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-11-05 13:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229357056001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229357056001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:23:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229357056001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":233455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63127,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:23:55] local.INFO: GPS data processed {"connection_id":233455,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:23:55] local.INFO: Acknowledgment sent {"connection_id":233455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:24:03] local.INFO: TCP Data received {"connection_id":231548,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:24:03] local.INFO: Processing buffer {"connection_id":231548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:24:03] local.INFO: IMEI packet received {"connection_id":231548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":231548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:24:08] local.INFO: TCP Data received {"connection_id":231548,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:24:08] local.INFO: Processing buffer {"connection_id":231548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:24:08] local.INFO: IMEI packet received {"connection_id":231548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":231548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:24:09] local.INFO: TCP Data received {"connection_id":231548,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaf5df0012d7fad0005afe0480000004525..."} 
[2026-11-05 13:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaf5df0012d7fad0005afe0480000004525..."} 
[2026-11-05 13:24:09] local.INFO: Processing buffer {"connection_id":231548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaf5df0012d7fad0005afe0480000004525..."} 
[2026-11-05 13:24:09] local.INFO: Packet analysis {"connection_id":231548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:24:09] local.INFO: Extracted packet for processing {"connection_id":231548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:24:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":37,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229358336001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793864982000,"timestamp_ms":1793864982000,"timestamp_seconds":1793864982,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaf5df0"} 
[2026-11-05 13:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:24:09] 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-05 13:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229358336001,"66":25343,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229358336001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:24:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:24:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229358336001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":231548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:24:09] local.INFO: GPS data processed {"connection_id":231548,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:24:09] local.INFO: Acknowledgment sent {"connection_id":231548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:24:26] local.INFO: TCP Data received {"connection_id":233455,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaf4a68012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaf4a68012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:24:26] local.INFO: Processing buffer {"connection_id":233455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaf4a68012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:24:26] local.INFO: Packet analysis {"connection_id":233455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:24:26] local.INFO: Extracted packet for processing {"connection_id":233455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:24:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229357056001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:24: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-05 13:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793864977000,"timestamp_ms":1793864977000,"timestamp_seconds":1793864977,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaf4a68"} 
[2026-11-05 13:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-11-05 13:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229357056001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229357056001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:24:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229357056001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":233455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63129,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:24:26] local.INFO: GPS data processed {"connection_id":233455,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:24:26] local.INFO: Acknowledgment sent {"connection_id":233455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:24:40] local.INFO: TCP Data received {"connection_id":231548,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaf5df0012d7fad0005afe0480000004525..."} 
[2026-11-05 13:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaf5df0012d7fad0005afe0480000004525..."} 
[2026-11-05 13:24:40] local.INFO: Processing buffer {"connection_id":231548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaf5df0012d7fad0005afe0480000004525..."} 
[2026-11-05 13:24:40] local.INFO: Packet analysis {"connection_id":231548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:24:40] local.INFO: Extracted packet for processing {"connection_id":231548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:24:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":37,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229358336001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793864982000,"timestamp_ms":1793864982000,"timestamp_seconds":1793864982,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaf5df0"} 
[2026-11-05 13:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229358336001,"66":25343,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229358336001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:24:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:24:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229358336001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":231548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:24:40] local.INFO: GPS data processed {"connection_id":231548,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:24:40] local.INFO: Acknowledgment sent {"connection_id":231548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:24:56] local.INFO: TCP Data received {"connection_id":230221,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230221,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:24:56] local.INFO: Processing buffer {"connection_id":230221,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:24:56] local.INFO: IMEI packet received {"connection_id":230221,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":230221,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:24:58] local.INFO: TCP Data received {"connection_id":230221,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230221,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:24:58] local.INFO: Processing buffer {"connection_id":230221,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:24:58] local.INFO: IMEI packet received {"connection_id":230221,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":230221,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:24:59] local.INFO: TCP Data received {"connection_id":230221,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:24:59] local.INFO: Processing buffer {"connection_id":230221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:24:59] local.INFO: Packet analysis {"connection_id":230221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:24:59] local.INFO: Extracted packet for processing {"connection_id":230221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:24:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229434112001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:24: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-05 13:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793865278000,"timestamp_ms":1793865278000,"timestamp_seconds":1793865278,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab3e230"} 
[2026-11-05 13:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:24: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-05 13:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":230221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":230221,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":230221,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229434112001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229434112001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:24:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229434112001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":230221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63131,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:25:00] local.INFO: GPS data processed {"connection_id":230221,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:25:00] local.INFO: Acknowledgment sent {"connection_id":230221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:25:03] local.INFO: TCP Data received {"connection_id":233456,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:25:03] local.INFO: Processing buffer {"connection_id":233456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:25:03] local.INFO: IMEI packet received {"connection_id":233456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":233456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:25:06] local.INFO: TCP Data received {"connection_id":230222,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:25:06] local.INFO: Processing buffer {"connection_id":230222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:25:06] local.INFO: IMEI packet received {"connection_id":230222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":230222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:25:09] local.INFO: TCP Data received {"connection_id":233456,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:25:09] local.INFO: Processing buffer {"connection_id":233456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:25:09] local.INFO: IMEI packet received {"connection_id":233456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":233456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:25:09] local.INFO: TCP Data received {"connection_id":233456,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaf5df0012d7fad0005afe0480000004525..."} 
[2026-11-05 13:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaf5df0012d7fad0005afe0480000004525..."} 
[2026-11-05 13:25:09] local.INFO: Processing buffer {"connection_id":233456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaf5df0012d7fad0005afe0480000004525..."} 
[2026-11-05 13:25:09] local.INFO: Packet analysis {"connection_id":233456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:25:09] local.INFO: Extracted packet for processing {"connection_id":233456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaf"} 
[2026-11-05 13:25:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":37,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229358336001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793864982000,"timestamp_ms":1793864982000,"timestamp_seconds":1793864982,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaf5df0"} 
[2026-11-05 13:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:25:09] 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-05 13:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229358336001,"66":25343,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229358336001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:25:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:25:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229358336001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":233456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:25:09] local.INFO: GPS data processed {"connection_id":233456,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:25:09] local.INFO: Acknowledgment sent {"connection_id":233456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:25:11] local.INFO: TCP Data received {"connection_id":230222,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:25:11] local.INFO: Processing buffer {"connection_id":230222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:25:11] local.INFO: IMEI packet received {"connection_id":230222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":230222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:25:13] local.INFO: TCP Data received {"connection_id":230221,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:25:13] local.INFO: Processing buffer {"connection_id":230221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:25:13] local.INFO: Packet analysis {"connection_id":230221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:25:13] local.INFO: Extracted packet for processing {"connection_id":230221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:25:13] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229434112001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:25:13] 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-05 13:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793865278000,"timestamp_ms":1793865278000,"timestamp_seconds":1793865278,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab3e230"} 
[2026-11-05 13: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-05 13:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:25:13] 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-05 13: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-05 13: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-05 13:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230221,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230221,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229434112001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229434112001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:25:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229434112001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":230221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63133,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:25:13] local.INFO: GPS data processed {"connection_id":230221,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:25:13] local.INFO: Acknowledgment sent {"connection_id":230221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:25:14] local.INFO: TCP Data received {"connection_id":230222,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaae6fa8012d488280069630e8003f00572b..."} 
[2026-11-05 13:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaae6fa8012d488280069630e8003f00572b..."} 
[2026-11-05 13:25:14] local.INFO: Processing buffer {"connection_id":230222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaae6fa8012d488280069630e8003f00572b..."} 
[2026-11-05 13:25:14] local.INFO: Packet analysis {"connection_id":230222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaae"} 
[2026-11-05 13:25:14] local.INFO: Extracted packet for processing {"connection_id":230222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaae"} 
[2026-11-05 13:25:14] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229342720001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793864921000,"timestamp_ms":1793864921000,"timestamp_seconds":1793864921,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaae6fa8"} 
[2026-11-05 13:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-11-05 13:25:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229342720001,"66":26691,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229342720001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:25:14] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:25:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229342720001,"power":26691,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":230222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63134,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:25:14] local.INFO: GPS data processed {"connection_id":230222,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:25:14] local.INFO: Acknowledgment sent {"connection_id":230222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:25:40] local.INFO: TCP Data received {"connection_id":233456,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:25:40] local.INFO: Processing buffer {"connection_id":233456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:25:40] local.INFO: Packet analysis {"connection_id":233456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:25:40] local.INFO: Extracted packet for processing {"connection_id":233456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:25:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":1,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229435392001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793865283000,"timestamp_ms":1793865283000,"timestamp_seconds":1793865283,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab3f5b8"} 
[2026-11-05 13: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-05 13:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 13:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 13:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229435392001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229435392001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:25:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:25:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229435392001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":233456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:25:40] local.INFO: GPS data processed {"connection_id":233456,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:25:40] local.INFO: Acknowledgment sent {"connection_id":233456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:25:47] local.INFO: TCP Data received {"connection_id":230222,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab30770012d488280069630e8003f00572b..."} 
[2026-11-05 13:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab30770012d488280069630e8003f00572b..."} 
[2026-11-05 13:25:47] local.INFO: Processing buffer {"connection_id":230222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab30770012d488280069630e8003f00572b..."} 
[2026-11-05 13:25:47] local.INFO: Packet analysis {"connection_id":230222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:25:47] local.INFO: Extracted packet for processing {"connection_id":230222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:25:47] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229419776001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793865222000,"timestamp_ms":1793865222000,"timestamp_seconds":1793865222,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab30770"} 
[2026-11-05 13: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-05 13:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-05 13:25:47] 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-05 13: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-05 13: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-05 13:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229419776001,"66":26702,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229419776001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:25:47] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:25:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229419776001,"power":26702,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":230222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63136,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:25:47] local.INFO: GPS data processed {"connection_id":230222,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:25:47] local.INFO: Acknowledgment sent {"connection_id":230222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:25:48] local.INFO: TCP Data received {"connection_id":229696,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229696,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:25:48] local.INFO: Processing buffer {"connection_id":229696,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:25:48] local.INFO: IMEI packet received {"connection_id":229696,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":229696,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:25:54] local.INFO: TCP Data received {"connection_id":229696,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229696,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:25:54] local.INFO: Processing buffer {"connection_id":229696,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:25:54] local.INFO: IMEI packet received {"connection_id":229696,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":229696,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:25:54] local.INFO: TCP Data received {"connection_id":229696,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:25:54] local.INFO: Processing buffer {"connection_id":229696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:25:54] local.INFO: Packet analysis {"connection_id":229696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:25:54] local.INFO: Extracted packet for processing {"connection_id":229696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:25:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229434112001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:25: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-05 13:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793865278000,"timestamp_ms":1793865278000,"timestamp_seconds":1793865278,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab3e230"} 
[2026-11-05 13:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:25: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-05 13:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":229696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":229696,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":229696,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229434112001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229434112001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:25:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229434112001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:25:55] 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":63137,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:25:55] local.INFO: GPS data processed {"connection_id":229696,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:25:55] local.INFO: Acknowledgment sent {"connection_id":229696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:26:03] local.INFO: TCP Data received {"connection_id":229697,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:26:03] local.INFO: Processing buffer {"connection_id":229697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:26:03] local.INFO: IMEI packet received {"connection_id":229697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":229697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:26:08] local.INFO: TCP Data received {"connection_id":229697,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:26:08] local.INFO: Processing buffer {"connection_id":229697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:26:08] local.INFO: IMEI packet received {"connection_id":229697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":229697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:26:09] local.INFO: TCP Data received {"connection_id":229697,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:26:09] local.INFO: Processing buffer {"connection_id":229697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:26:09] local.INFO: Packet analysis {"connection_id":229697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:26:09] local.INFO: Extracted packet for processing {"connection_id":229697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:26:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":1,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229435392001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793865283000,"timestamp_ms":1793865283000,"timestamp_seconds":1793865283,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab3f5b8"} 
[2026-11-05 13:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 13:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 13:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229435392001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229435392001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:26:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:26:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229435392001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":229697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:26:09] local.INFO: GPS data processed {"connection_id":229697,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:26:09] local.INFO: Acknowledgment sent {"connection_id":229697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:26:11] local.INFO: TCP Data received {"connection_id":229698,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229698,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:26:11] local.INFO: Processing buffer {"connection_id":229698,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:26:11] local.INFO: IMEI packet received {"connection_id":229698,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":229698,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:26:16] local.INFO: TCP Data received {"connection_id":229698,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229698,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:26:16] local.INFO: Processing buffer {"connection_id":229698,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:26:16] local.INFO: IMEI packet received {"connection_id":229698,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":229698,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:26:21] local.INFO: TCP Data received {"connection_id":229698,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab30770012d488280069630e8003f00572b..."} 
[2026-11-05 13:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab30770012d488280069630e8003f00572b..."} 
[2026-11-05 13:26:21] local.INFO: Processing buffer {"connection_id":229698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab30770012d488280069630e8003f00572b..."} 
[2026-11-05 13:26:21] local.INFO: Packet analysis {"connection_id":229698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:26:21] local.INFO: Extracted packet for processing {"connection_id":229698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:26:21] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229419776001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793865222000,"timestamp_ms":1793865222000,"timestamp_seconds":1793865222,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab30770"} 
[2026-11-05 13: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-05 13:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-05 13:26: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-05 13: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-05 13: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-05 13:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229698,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229698,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229419776001,"66":26702,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229419776001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:26:21] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:26:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229419776001,"power":26702,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":229698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63139,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:26:21] local.INFO: GPS data processed {"connection_id":229698,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:26:21] local.INFO: Acknowledgment sent {"connection_id":229698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:26:26] local.INFO: TCP Data received {"connection_id":229696,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:26:26] local.INFO: Processing buffer {"connection_id":229696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:26:26] local.INFO: Packet analysis {"connection_id":229696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:26:26] local.INFO: Extracted packet for processing {"connection_id":229696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:26:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229434112001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:26: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-05 13:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793865278000,"timestamp_ms":1793865278000,"timestamp_seconds":1793865278,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab3e230"} 
[2026-11-05 13:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:26:26] 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-05 13:26:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229696,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229696,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229434112001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229434112001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:26:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229434112001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:26:26] 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":63140,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:26:26] local.INFO: GPS data processed {"connection_id":229696,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:26:26] local.INFO: Acknowledgment sent {"connection_id":229696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:26:29] local.INFO: TCP Data received {"connection_id":229698,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab30770012d488280069630e8003f00572b..."} 
[2026-11-05 13:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab30770012d488280069630e8003f00572b..."} 
[2026-11-05 13:26:29] local.INFO: Processing buffer {"connection_id":229698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab30770012d488280069630e8003f00572b..."} 
[2026-11-05 13:26:29] local.INFO: Packet analysis {"connection_id":229698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:26:29] local.INFO: Extracted packet for processing {"connection_id":229698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:26:29] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229419776001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793865222000,"timestamp_ms":1793865222000,"timestamp_seconds":1793865222,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab30770"} 
[2026-11-05 13:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-05 13:26:29] 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-05 13:26:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":229698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":229698,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":229698,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229419776001,"66":26702,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229419776001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:26:29] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:26:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229419776001,"power":26702,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":229698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63141,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:26:29] local.INFO: GPS data processed {"connection_id":229698,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:26:29] local.INFO: Acknowledgment sent {"connection_id":229698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:26:40] local.INFO: TCP Data received {"connection_id":229697,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:26:40] local.INFO: Processing buffer {"connection_id":229697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:26:40] local.INFO: Packet analysis {"connection_id":229697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:26:40] local.INFO: Extracted packet for processing {"connection_id":229697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:26:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":1,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229435392001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793865283000,"timestamp_ms":1793865283000,"timestamp_seconds":1793865283,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab3f5b8"} 
[2026-11-05 13:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 13:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 13:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:26:40] 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-05 13:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229435392001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229435392001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:26:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:26:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229435392001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":229697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:26:40] local.INFO: GPS data processed {"connection_id":229697,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:26:40] local.INFO: Acknowledgment sent {"connection_id":229697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:26:48] local.INFO: TCP Data received {"connection_id":231549,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231549,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:26:48] local.INFO: Processing buffer {"connection_id":231549,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:26:48] local.INFO: IMEI packet received {"connection_id":231549,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":231549,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:26:54] local.INFO: TCP Data received {"connection_id":231549,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231549,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:26:54] local.INFO: Processing buffer {"connection_id":231549,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:26:54] local.INFO: IMEI packet received {"connection_id":231549,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":231549,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:26:57] local.INFO: TCP Data received {"connection_id":231549,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:26:57] local.INFO: Processing buffer {"connection_id":231549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:26:57] local.INFO: Packet analysis {"connection_id":231549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:26:57] local.INFO: Extracted packet for processing {"connection_id":231549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:26:57] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229434112001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:26:57] 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-05 13:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1793865278000,"timestamp_ms":1793865278000,"timestamp_seconds":1793865278,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab3e230"} 
[2026-11-05 13:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:26:57] 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-05 13:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":231549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":231549,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":231549,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229434112001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229434112001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:26:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229434112001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":231549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63143,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:26:58] local.INFO: GPS data processed {"connection_id":231549,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:26:58] local.INFO: Acknowledgment sent {"connection_id":231549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:27:03] local.INFO: TCP Data received {"connection_id":230223,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:27:03] local.INFO: Processing buffer {"connection_id":230223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:27:03] local.INFO: IMEI packet received {"connection_id":230223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":230223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:27:08] local.INFO: TCP Data received {"connection_id":230223,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:27:08] local.INFO: Processing buffer {"connection_id":230223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:27:08] local.INFO: IMEI packet received {"connection_id":230223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":230223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:27:09] local.INFO: TCP Data received {"connection_id":230223,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:27:09] local.INFO: Processing buffer {"connection_id":230223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:27:09] local.INFO: Packet analysis {"connection_id":230223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:27:09] local.INFO: Extracted packet for processing {"connection_id":230223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:27:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":1,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:27: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-05 13:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229435392001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793865283000,"timestamp_ms":1793865283000,"timestamp_seconds":1793865283,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab3f5b8"} 
[2026-11-05 13:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 13:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 13:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:27: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-05 13:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229435392001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229435392001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:27:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:27:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229435392001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":230223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:27:09] local.INFO: GPS data processed {"connection_id":230223,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:27:09] local.INFO: Acknowledgment sent {"connection_id":230223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:27:29] local.INFO: TCP Data received {"connection_id":231549,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:27:29] local.INFO: Processing buffer {"connection_id":231549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:27:29] local.INFO: Packet analysis {"connection_id":231549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:27:29] local.INFO: Extracted packet for processing {"connection_id":231549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:27:29] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229434112001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:27:29] 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-05 13:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793865278000,"timestamp_ms":1793865278000,"timestamp_seconds":1793865278,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab3e230"} 
[2026-11-05 13:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:27:29] 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-05 13:27:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":231549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":231549,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":231549,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229434112001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229434112001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:27:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229434112001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":231549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63145,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:27:29] local.INFO: GPS data processed {"connection_id":231549,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:27:29] local.INFO: Acknowledgment sent {"connection_id":231549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:27:41] local.INFO: TCP Data received {"connection_id":229699,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229699,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:27:41] local.INFO: Processing buffer {"connection_id":229699,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:27:41] local.INFO: IMEI packet received {"connection_id":229699,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":229699,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:27:44] local.INFO: TCP Data received {"connection_id":230223,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:27:44] local.INFO: Processing buffer {"connection_id":230223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:27:44] local.INFO: Packet analysis {"connection_id":230223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:27:44] local.INFO: Extracted packet for processing {"connection_id":230223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:27:44] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":1,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229435392001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793865283000,"timestamp_ms":1793865283000,"timestamp_seconds":1793865283,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab3f5b8"} 
[2026-11-05 13: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-05 13:27: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-05 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 13:27: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-05 13: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-05 13: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-05 13:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:27:44] 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-05 13:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229435392001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229435392001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:27:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:27:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229435392001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":230223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:27:44] local.INFO: GPS data processed {"connection_id":230223,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:27:44] local.INFO: Acknowledgment sent {"connection_id":230223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:27:46] local.INFO: TCP Data received {"connection_id":229699,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229699,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:27:46] local.INFO: Processing buffer {"connection_id":229699,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:27:46] local.INFO: IMEI packet received {"connection_id":229699,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":229699,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:27:48] local.INFO: TCP Data received {"connection_id":229699,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab30770012d488280069630e8003f00572b..."} 
[2026-11-05 13:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab30770012d488280069630e8003f00572b..."} 
[2026-11-05 13:27:48] local.INFO: Processing buffer {"connection_id":229699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab30770012d488280069630e8003f00572b..."} 
[2026-11-05 13:27:48] local.INFO: Packet analysis {"connection_id":229699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:27:48] local.INFO: Extracted packet for processing {"connection_id":229699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:27:48] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229419776001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793865222000,"timestamp_ms":1793865222000,"timestamp_seconds":1793865222,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab30770"} 
[2026-11-05 13:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-05 13:27:48] 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-05 13:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229699,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229699,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229419776001,"66":26702,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229419776001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:27:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:27:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229419776001,"power":26702,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:27:49] 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":63147,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:27:49] local.INFO: GPS data processed {"connection_id":229699,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:27:49] local.INFO: Acknowledgment sent {"connection_id":229699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:27:54] local.INFO: TCP Data received {"connection_id":231550,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231550,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:27:54] local.INFO: Processing buffer {"connection_id":231550,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:27:54] local.INFO: IMEI packet received {"connection_id":231550,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":231550,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:27:59] local.INFO: TCP Data received {"connection_id":231550,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231550,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:27:59] local.INFO: Processing buffer {"connection_id":231550,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:27:59] local.INFO: IMEI packet received {"connection_id":231550,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":231550,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:27:59] local.INFO: TCP Data received {"connection_id":231550,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:27:59] local.INFO: Processing buffer {"connection_id":231550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:27:59] local.INFO: Packet analysis {"connection_id":231550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:27:59] local.INFO: Extracted packet for processing {"connection_id":231550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:27:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229434112001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:27: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-05 13:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793865278000,"timestamp_ms":1793865278000,"timestamp_seconds":1793865278,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab3e230"} 
[2026-11-05 13:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:27: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-05 13:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":231550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":231550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":231550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229434112001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229434112001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:27:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229434112001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":231550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63148,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:28:00] local.INFO: GPS data processed {"connection_id":231550,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:28:00] local.INFO: Acknowledgment sent {"connection_id":231550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:28:03] local.INFO: TCP Data received {"connection_id":230224,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:28:03] local.INFO: Processing buffer {"connection_id":230224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:28:03] local.INFO: IMEI packet received {"connection_id":230224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":230224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:28:04] local.INFO: TCP Data received {"connection_id":231550,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:28:04] local.INFO: Processing buffer {"connection_id":231550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:28:04] local.INFO: Packet analysis {"connection_id":231550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:28:04] local.INFO: Extracted packet for processing {"connection_id":231550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:28:04] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229434112001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793865278000,"timestamp_ms":1793865278000,"timestamp_seconds":1793865278,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab3e230"} 
[2026-11-05 13:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":231550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":231550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":231550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229434112001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229434112001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:28:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229434112001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":231550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63149,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:28:05] local.INFO: GPS data processed {"connection_id":231550,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:28:05] local.INFO: Acknowledgment sent {"connection_id":231550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:28:08] local.INFO: TCP Data received {"connection_id":230224,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:28:08] local.INFO: Processing buffer {"connection_id":230224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:28:08] local.INFO: IMEI packet received {"connection_id":230224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":230224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:28:09] local.INFO: TCP Data received {"connection_id":230224,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:28:09] local.INFO: Processing buffer {"connection_id":230224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:28:09] local.INFO: Packet analysis {"connection_id":230224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:28:09] local.INFO: Extracted packet for processing {"connection_id":230224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:28:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":1,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229435392001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793865283000,"timestamp_ms":1793865283000,"timestamp_seconds":1793865283,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab3f5b8"} 
[2026-11-05 13:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 13:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 13:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:28:09] local.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-05 13:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229435392001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229435392001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:28:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:28:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229435392001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":230224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:28:09] local.INFO: GPS data processed {"connection_id":230224,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:28:09] local.INFO: Acknowledgment sent {"connection_id":230224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:28:11] local.INFO: TCP Data received {"connection_id":230225,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230225,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:28:11] local.INFO: Processing buffer {"connection_id":230225,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:28:11] local.INFO: IMEI packet received {"connection_id":230225,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":230225,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:28:16] local.INFO: TCP Data received {"connection_id":230225,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230225,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:28:16] local.INFO: Processing buffer {"connection_id":230225,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:28:16] local.INFO: IMEI packet received {"connection_id":230225,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":230225,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:28:20] local.INFO: TCP Data received {"connection_id":230225,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab30770012d488280069630e8003f00572b..."} 
[2026-11-05 13:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab30770012d488280069630e8003f00572b..."} 
[2026-11-05 13:28:20] local.INFO: Processing buffer {"connection_id":230225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab30770012d488280069630e8003f00572b..."} 
[2026-11-05 13:28:20] local.INFO: Packet analysis {"connection_id":230225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:28:20] local.INFO: Extracted packet for processing {"connection_id":230225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:28:20] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229419776001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793865222000,"timestamp_ms":1793865222000,"timestamp_seconds":1793865222,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab30770"} 
[2026-11-05 13: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-05 13:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-05 13:28: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-05 13: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-05 13: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-05 13:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230225,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230225,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229419776001,"66":26702,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229419776001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:28:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:28:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229419776001,"power":26702,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":230225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63151,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:28:20] local.INFO: GPS data processed {"connection_id":230225,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:28:20] local.INFO: Acknowledgment sent {"connection_id":230225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:28:22] local.INFO: TCP Data received {"connection_id":230225,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab30770012d488280069630e8003f00572b..."} 
[2026-11-05 13:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab30770012d488280069630e8003f00572b..."} 
[2026-11-05 13:28:22] local.INFO: Processing buffer {"connection_id":230225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab30770012d488280069630e8003f00572b..."} 
[2026-11-05 13:28:22] local.INFO: Packet analysis {"connection_id":230225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:28:22] local.INFO: Extracted packet for processing {"connection_id":230225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:28:22] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229419776001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793865222000,"timestamp_ms":1793865222000,"timestamp_seconds":1793865222,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab30770"} 
[2026-11-05 13: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-05 13:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-05 13:28:22] 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-05 13: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-05 13: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-05 13:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":230225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":230225,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":230225,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229419776001,"66":26702,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229419776001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:28:22] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:28:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229419776001,"power":26702,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":230225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63152,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:28:22] local.INFO: GPS data processed {"connection_id":230225,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:28:22] local.INFO: Acknowledgment sent {"connection_id":230225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:28:40] local.INFO: TCP Data received {"connection_id":230224,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:28:40] local.INFO: Processing buffer {"connection_id":230224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:28:40] local.INFO: Packet analysis {"connection_id":230224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:28:40] local.INFO: Extracted packet for processing {"connection_id":230224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:28:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":1,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229435392001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793865283000,"timestamp_ms":1793865283000,"timestamp_seconds":1793865283,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab3f5b8"} 
[2026-11-05 13: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-05 13:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 13:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 13:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:28: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-05 13:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229435392001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229435392001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:28:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:28:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229435392001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":230224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:28:40] local.INFO: GPS data processed {"connection_id":230224,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:28:40] local.INFO: Acknowledgment sent {"connection_id":230224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:28:51] local.INFO: TCP Data received {"connection_id":233457,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233457,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:28:51] local.INFO: Processing buffer {"connection_id":233457,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:28:51] local.INFO: IMEI packet received {"connection_id":233457,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":233457,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:28:53] local.INFO: TCP Data received {"connection_id":233457,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233457,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:28:53] local.INFO: Processing buffer {"connection_id":233457,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:28:53] local.INFO: IMEI packet received {"connection_id":233457,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":233457,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:28:54] local.INFO: TCP Data received {"connection_id":233457,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:28:54] local.INFO: Processing buffer {"connection_id":233457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:28:54] local.INFO: Packet analysis {"connection_id":233457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:28:54] local.INFO: Extracted packet for processing {"connection_id":233457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:28:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229434112001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:28: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-05 13:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793865278000,"timestamp_ms":1793865278000,"timestamp_seconds":1793865278,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab3e230"} 
[2026-11-05 13:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:28: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-05 13:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":233457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":233457,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":233457,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229434112001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229434112001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:28:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229434112001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":233457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63154,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:28:54] local.INFO: GPS data processed {"connection_id":233457,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:28:54] local.INFO: Acknowledgment sent {"connection_id":233457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:28:59] local.INFO: TCP Data received {"connection_id":233457,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:28:59] local.INFO: Processing buffer {"connection_id":233457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:28:59] local.INFO: Packet analysis {"connection_id":233457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:28:59] local.INFO: Extracted packet for processing {"connection_id":233457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:28:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229434112001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:28: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-05 13:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793865278000,"timestamp_ms":1793865278000,"timestamp_seconds":1793865278,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab3e230"} 
[2026-11-05 13:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:28: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-05 13:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":233457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":233457,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":233457,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229434112001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229434112001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:28:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229434112001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":233457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63155,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:28:59] local.INFO: GPS data processed {"connection_id":233457,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:28:59] local.INFO: Acknowledgment sent {"connection_id":233457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:29:03] local.INFO: TCP Data received {"connection_id":231552,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:29:03] local.INFO: Processing buffer {"connection_id":231552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:29:03] local.INFO: IMEI packet received {"connection_id":231552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":231552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:29:07] local.INFO: TCP Data received {"connection_id":231551,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:29:07] local.INFO: Processing buffer {"connection_id":231551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:29:07] local.INFO: IMEI packet received {"connection_id":231551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":231551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:29:08] local.INFO: TCP Data received {"connection_id":231552,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:29:08] local.INFO: Processing buffer {"connection_id":231552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:29:08] local.INFO: IMEI packet received {"connection_id":231552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":231552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:29:09] local.INFO: TCP Data received {"connection_id":231552,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:29:09] local.INFO: Processing buffer {"connection_id":231552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:29:09] local.INFO: Packet analysis {"connection_id":231552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:29:09] local.INFO: Extracted packet for processing {"connection_id":231552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:29:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":1,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229435392001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793865283000,"timestamp_ms":1793865283000,"timestamp_seconds":1793865283,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab3f5b8"} 
[2026-11-05 13:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 13:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 13:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:29:09] 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-05 13:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229435392001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229435392001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:29:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:29:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229435392001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":231552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:29:09] local.INFO: GPS data processed {"connection_id":231552,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:29:09] local.INFO: Acknowledgment sent {"connection_id":231552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:29:11] local.INFO: TCP Data received {"connection_id":231551,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:29:11] local.INFO: Processing buffer {"connection_id":231551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:29:11] local.INFO: IMEI packet received {"connection_id":231551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":231551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:29:13] local.INFO: TCP Data received {"connection_id":231551,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab30770012d488280069630e8003f00572b..."} 
[2026-11-05 13:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab30770012d488280069630e8003f00572b..."} 
[2026-11-05 13:29:13] local.INFO: Processing buffer {"connection_id":231551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab30770012d488280069630e8003f00572b..."} 
[2026-11-05 13:29:13] local.INFO: Packet analysis {"connection_id":231551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:29:13] local.INFO: Extracted packet for processing {"connection_id":231551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:29:13] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229419776001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793865222000,"timestamp_ms":1793865222000,"timestamp_seconds":1793865222,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab30770"} 
[2026-11-05 13:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-05 13:29:13] 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-05 13:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":231551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":231551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":231551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229419776001,"66":26702,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229419776001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:29:13] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:29:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229419776001,"power":26702,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":231551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63157,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:29:13] local.INFO: GPS data processed {"connection_id":231551,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:29:13] local.INFO: Acknowledgment sent {"connection_id":231551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:29:30] local.INFO: TCP Data received {"connection_id":233457,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:29:30] local.INFO: Processing buffer {"connection_id":233457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab3e230012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:29:30] local.INFO: Packet analysis {"connection_id":233457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:29:30] local.INFO: Extracted packet for processing {"connection_id":233457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:29:30] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229434112001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:29:30] 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-05 13:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793865278000,"timestamp_ms":1793865278000,"timestamp_seconds":1793865278,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab3e230"} 
[2026-11-05 13:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:29:30] 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-05 13:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":233457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":233457,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":233457,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229434112001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229434112001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:29:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229434112001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":233457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63158,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:29:31] local.INFO: GPS data processed {"connection_id":233457,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:29:31] local.INFO: Acknowledgment sent {"connection_id":233457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:29:41] local.INFO: TCP Data received {"connection_id":231552,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:29:41] local.INFO: Processing buffer {"connection_id":231552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:29:41] local.INFO: Packet analysis {"connection_id":231552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:29:41] local.INFO: Extracted packet for processing {"connection_id":231552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:29:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":1,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229435392001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793865283000,"timestamp_ms":1793865283000,"timestamp_seconds":1793865283,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab3f5b8"} 
[2026-11-05 13: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-05 13:29: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-05 13:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 13:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:29: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-05 13:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229435392001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229435392001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:29:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:29:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229435392001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":231552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:29:41] local.INFO: GPS data processed {"connection_id":231552,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:29:41] local.INFO: Acknowledgment sent {"connection_id":231552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:29:47] local.INFO: TCP Data received {"connection_id":231551,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab30770012d488280069630e8003f00572b..."} 
[2026-11-05 13:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab30770012d488280069630e8003f00572b..."} 
[2026-11-05 13:29:47] local.INFO: Processing buffer {"connection_id":231551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab30770012d488280069630e8003f00572b..."} 
[2026-11-05 13:29:47] local.INFO: Packet analysis {"connection_id":231551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:29:47] local.INFO: Extracted packet for processing {"connection_id":231551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:29:47] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229419776001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793865222000,"timestamp_ms":1793865222000,"timestamp_seconds":1793865222,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab30770"} 
[2026-11-05 13: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-05 13:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-05 13:29:47] 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-05 13: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-05 13: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-05 13:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":231551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":231551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":231551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229419776001,"66":26702,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229419776001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:29:47] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:29:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229419776001,"power":26702,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":231551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63160,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:29:47] local.INFO: GPS data processed {"connection_id":231551,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:29:47] local.INFO: Acknowledgment sent {"connection_id":231551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:29:49] local.INFO: TCP Data received {"connection_id":230226,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230226,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:29:49] local.INFO: Processing buffer {"connection_id":230226,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:29:49] local.INFO: IMEI packet received {"connection_id":230226,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":230226,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:29:54] local.INFO: TCP Data received {"connection_id":230226,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230226,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:29:54] local.INFO: Processing buffer {"connection_id":230226,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:29:54] local.INFO: IMEI packet received {"connection_id":230226,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":230226,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:29:54] local.INFO: TCP Data received {"connection_id":230226,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab879f8012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab879f8012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:29:54] local.INFO: Processing buffer {"connection_id":230226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab879f8012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:29:54] local.INFO: Packet analysis {"connection_id":230226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:29:54] local.INFO: Extracted packet for processing {"connection_id":230226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:29:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229511168001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:29: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-05 13:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793865579000,"timestamp_ms":1793865579000,"timestamp_seconds":1793865579,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab879f8"} 
[2026-11-05 13: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-05 13:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:29: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-05 13: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-05 13: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-05 13:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":230226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":230226,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":230226,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229511168001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229511168001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:29:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229511168001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":230226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63161,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:29:55] local.INFO: GPS data processed {"connection_id":230226,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:29:55] local.INFO: Acknowledgment sent {"connection_id":230226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:29:57] local.INFO: TCP Data received {"connection_id":231551,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab79f38012d488280069630e8003f00572b..."} 
[2026-11-05 13:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab79f38012d488280069630e8003f00572b..."} 
[2026-11-05 13:29:57] local.INFO: Processing buffer {"connection_id":231551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab79f38012d488280069630e8003f00572b..."} 
[2026-11-05 13:29:57] local.INFO: Packet analysis {"connection_id":231551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab7"} 
[2026-11-05 13:29:57] local.INFO: Extracted packet for processing {"connection_id":231551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab7"} 
[2026-11-05 13:29:57] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229496832001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1793865523000,"timestamp_ms":1793865523000,"timestamp_seconds":1793865523,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab79f38"} 
[2026-11-05 13:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-11-05 13:29:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1420,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:29:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":231551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":231551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":231551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229496832001,"66":26615,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229496832001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:29:57] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:29:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229496832001,"power":26615,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":231551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63162,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:29:57] local.INFO: GPS data processed {"connection_id":231551,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:29:57] local.INFO: Acknowledgment sent {"connection_id":231551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:30:08] local.INFO: TCP Data received {"connection_id":229700,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:30:08] local.INFO: Processing buffer {"connection_id":229700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:30:08] local.INFO: IMEI packet received {"connection_id":229700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":229700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:30:13] local.INFO: TCP Data received {"connection_id":229700,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:30:13] local.INFO: Processing buffer {"connection_id":229700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:30:13] local.INFO: IMEI packet received {"connection_id":229700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":229700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:30:14] local.INFO: TCP Data received {"connection_id":229700,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:30:14] local.INFO: Processing buffer {"connection_id":229700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:30:14] local.INFO: Packet analysis {"connection_id":229700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:30:14] local.INFO: Extracted packet for processing {"connection_id":229700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:30:14] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":1,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229435392001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793865283000,"timestamp_ms":1793865283000,"timestamp_seconds":1793865283,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab3f5b8"} 
[2026-11-05 13: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-05 13:30: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-05 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 13:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13: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-05 13: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-05 13:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:30:14] 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-05 13:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229435392001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229435392001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:30:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:30:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229435392001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":229700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:30:14] local.INFO: GPS data processed {"connection_id":229700,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:30:14] local.INFO: Acknowledgment sent {"connection_id":229700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:30:19] local.INFO: TCP Data received {"connection_id":229700,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:30:19] local.INFO: Processing buffer {"connection_id":229700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab3f5b8012d7fad0005afe0480001004527..."} 
[2026-11-05 13:30:19] local.INFO: Packet analysis {"connection_id":229700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:30:19] local.INFO: Extracted packet for processing {"connection_id":229700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab3"} 
[2026-11-05 13:30:19] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":1,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229435392001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793865283000,"timestamp_ms":1793865283000,"timestamp_seconds":1793865283,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab3f5b8"} 
[2026-11-05 13: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-05 13:30: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-05 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 13:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13: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-05 13: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-05 13:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:30:19] 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-05 13:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229435392001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229435392001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:30:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:30:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229435392001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":229700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:30:19] local.INFO: GPS data processed {"connection_id":229700,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:30:19] local.INFO: Acknowledgment sent {"connection_id":229700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:30:26] local.INFO: TCP Data received {"connection_id":230226,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab879f8012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab879f8012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:30:26] local.INFO: Processing buffer {"connection_id":230226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab879f8012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:30:26] local.INFO: Packet analysis {"connection_id":230226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:30:26] local.INFO: Extracted packet for processing {"connection_id":230226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:30:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229511168001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:30: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-05 13:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793865579000,"timestamp_ms":1793865579000,"timestamp_seconds":1793865579,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab879f8"} 
[2026-11-05 13: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-05 13:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:30:26] 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-05 13: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-05 13: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-05 13:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230226,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230226,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229511168001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229511168001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:30:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229511168001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":230226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63165,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:30:26] local.INFO: GPS data processed {"connection_id":230226,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:30:26] local.INFO: Acknowledgment sent {"connection_id":230226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:30:30] local.INFO: TCP Data received {"connection_id":231553,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231553,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:30:30] local.INFO: Processing buffer {"connection_id":231553,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:30:30] local.INFO: IMEI packet received {"connection_id":231553,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":231553,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:30:41] local.INFO: TCP Data received {"connection_id":231553,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231553,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:30:41] local.INFO: Processing buffer {"connection_id":231553,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:30:41] local.INFO: IMEI packet received {"connection_id":231553,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":231553,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:30:44] local.INFO: TCP Data received {"connection_id":231553,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab79f38012d488280069630e8003f00572b..."} 
[2026-11-05 13:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab79f38012d488280069630e8003f00572b..."} 
[2026-11-05 13:30:44] local.INFO: Processing buffer {"connection_id":231553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab79f38012d488280069630e8003f00572b..."} 
[2026-11-05 13:30:44] local.INFO: Packet analysis {"connection_id":231553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab7"} 
[2026-11-05 13:30:44] local.INFO: Extracted packet for processing {"connection_id":231553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab7"} 
[2026-11-05 13:30:44] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 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-05 13:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229496832001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793865523000,"timestamp_ms":1793865523000,"timestamp_seconds":1793865523,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab79f38"} 
[2026-11-05 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-05 13:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 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":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-11-05 13:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1420,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 13:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":231553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":231553,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":231553,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229496832001,"66":26615,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229496832001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:30:44] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:30:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229496832001,"power":26615,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":231553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63166,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:30:44] local.INFO: GPS data processed {"connection_id":231553,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:30:44] local.INFO: Acknowledgment sent {"connection_id":231553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:30:46] local.INFO: TCP Data received {"connection_id":231553,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab79f38012d488280069630e8003f00572b..."} 
[2026-11-05 13:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab79f38012d488280069630e8003f00572b..."} 
[2026-11-05 13:30:46] local.INFO: Processing buffer {"connection_id":231553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab79f38012d488280069630e8003f00572b..."} 
[2026-11-05 13:30:46] local.INFO: Packet analysis {"connection_id":231553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab7"} 
[2026-11-05 13:30:46] local.INFO: Extracted packet for processing {"connection_id":231553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab7"} 
[2026-11-05 13:30:46] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229496832001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793865523000,"timestamp_ms":1793865523000,"timestamp_seconds":1793865523,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab79f38"} 
[2026-11-05 13: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-05 13:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-11-05 13:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1420,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":231553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":231553,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":231553,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229496832001,"66":26615,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229496832001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:30:46] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:30:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229496832001,"power":26615,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":231553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63167,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:30:46] local.INFO: GPS data processed {"connection_id":231553,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:30:46] local.INFO: Acknowledgment sent {"connection_id":231553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:30:54] local.INFO: TCP Data received {"connection_id":229701,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229701,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:30:54] local.INFO: Processing buffer {"connection_id":229701,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:30:54] local.INFO: IMEI packet received {"connection_id":229701,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":229701,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:30:59] local.INFO: TCP Data received {"connection_id":229701,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229701,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:30:59] local.INFO: Processing buffer {"connection_id":229701,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:30:59] local.INFO: IMEI packet received {"connection_id":229701,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":229701,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:30:59] local.INFO: TCP Data received {"connection_id":229701,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab879f8012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab879f8012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:30:59] local.INFO: Processing buffer {"connection_id":229701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab879f8012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:30:59] local.INFO: Packet analysis {"connection_id":229701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:30:59] local.INFO: Extracted packet for processing {"connection_id":229701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:30:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229511168001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:30: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-05 13:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793865579000,"timestamp_ms":1793865579000,"timestamp_seconds":1793865579,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab879f8"} 
[2026-11-05 13:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:30: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-05 13:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":229701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":229701,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":229701,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229511168001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229511168001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:30:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229511168001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:31:00] 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":63168,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:31:00] local.INFO: GPS data processed {"connection_id":229701,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:31:00] local.INFO: Acknowledgment sent {"connection_id":229701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:31:03] local.INFO: TCP Data received {"connection_id":229702,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:31:03] local.INFO: Processing buffer {"connection_id":229702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:31:03] local.INFO: IMEI packet received {"connection_id":229702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":229702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:31:04] local.INFO: TCP Data received {"connection_id":229701,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab879f8012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab879f8012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:31:04] local.INFO: Processing buffer {"connection_id":229701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab879f8012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:31:04] local.INFO: Packet analysis {"connection_id":229701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:31:04] local.INFO: Extracted packet for processing {"connection_id":229701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:31:04] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229511168001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793865579000,"timestamp_ms":1793865579000,"timestamp_seconds":1793865579,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab879f8"} 
[2026-11-05 13:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":229701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":229701,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":229701,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229511168001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229511168001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:31:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229511168001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:31:04] 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":63169,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:31:04] local.INFO: GPS data processed {"connection_id":229701,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:31:04] local.INFO: Acknowledgment sent {"connection_id":229701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:31:06] local.INFO: TCP Data received {"connection_id":231554,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231554,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:31:06] local.INFO: Processing buffer {"connection_id":231554,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:31:06] local.INFO: IMEI packet received {"connection_id":231554,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":231554,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:31:08] local.INFO: TCP Data received {"connection_id":229702,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:31:08] local.INFO: Processing buffer {"connection_id":229702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:31:08] local.INFO: IMEI packet received {"connection_id":229702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":229702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:31:09] local.INFO: TCP Data received {"connection_id":229702,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab88d80012d7fad0005afe048001100452c..."} 
[2026-11-05 13:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab88d80012d7fad0005afe048001100452c..."} 
[2026-11-05 13:31:09] local.INFO: Processing buffer {"connection_id":229702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab88d80012d7fad0005afe048001100452c..."} 
[2026-11-05 13:31:09] local.INFO: Packet analysis {"connection_id":229702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:31:09] local.INFO: Extracted packet for processing {"connection_id":229702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:31:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":17,"angle":69,"satellites":44,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229512448001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793865584000,"timestamp_ms":1793865584000,"timestamp_seconds":1793865584,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab88d80"} 
[2026-11-05 13:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 13:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:31:09] 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-05 13:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229512448001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229512448001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:31:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:31:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229512448001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:31:09] 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":63170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:31:09] local.INFO: GPS data processed {"connection_id":229702,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:31:09] local.INFO: Acknowledgment sent {"connection_id":229702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:31:11] local.INFO: TCP Data received {"connection_id":231554,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231554,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:31:11] local.INFO: Processing buffer {"connection_id":231554,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:31:11] local.INFO: IMEI packet received {"connection_id":231554,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":231554,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:31:13] local.INFO: TCP Data received {"connection_id":231554,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab79f38012d488280069630e8003f00572b..."} 
[2026-11-05 13:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab79f38012d488280069630e8003f00572b..."} 
[2026-11-05 13:31:13] local.INFO: Processing buffer {"connection_id":231554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab79f38012d488280069630e8003f00572b..."} 
[2026-11-05 13:31:13] local.INFO: Packet analysis {"connection_id":231554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab7"} 
[2026-11-05 13:31:13] local.INFO: Extracted packet for processing {"connection_id":231554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab7"} 
[2026-11-05 13:31:13] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229496832001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793865523000,"timestamp_ms":1793865523000,"timestamp_seconds":1793865523,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab79f38"} 
[2026-11-05 13: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-05 13:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-11-05 13:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1420,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":231554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":231554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":231554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229496832001,"66":26615,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229496832001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:31:13] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:31:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229496832001,"power":26615,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":231554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63171,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:31:13] local.INFO: GPS data processed {"connection_id":231554,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:31:13] local.INFO: Acknowledgment sent {"connection_id":231554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:31:40] local.INFO: TCP Data received {"connection_id":229702,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab88d80012d7fad0005afe048001100452c..."} 
[2026-11-05 13:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab88d80012d7fad0005afe048001100452c..."} 
[2026-11-05 13:31:40] local.INFO: Processing buffer {"connection_id":229702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab88d80012d7fad0005afe048001100452c..."} 
[2026-11-05 13:31:40] local.INFO: Packet analysis {"connection_id":229702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:31:40] local.INFO: Extracted packet for processing {"connection_id":229702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:31:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":17,"angle":69,"satellites":44,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229512448001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793865584000,"timestamp_ms":1793865584000,"timestamp_seconds":1793865584,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab88d80"} 
[2026-11-05 13:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 13:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229512448001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229512448001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:31:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:31:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229512448001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:31:40] 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":63172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:31:40] local.INFO: GPS data processed {"connection_id":229702,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:31:40] local.INFO: Acknowledgment sent {"connection_id":229702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:31:46] local.INFO: TCP Data received {"connection_id":231554,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab79f38012d488280069630e8003f00572b..."} 
[2026-11-05 13:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab79f38012d488280069630e8003f00572b..."} 
[2026-11-05 13:31:46] local.INFO: Processing buffer {"connection_id":231554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab79f38012d488280069630e8003f00572b..."} 
[2026-11-05 13:31:46] local.INFO: Packet analysis {"connection_id":231554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab7"} 
[2026-11-05 13:31:46] local.INFO: Extracted packet for processing {"connection_id":231554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab7"} 
[2026-11-05 13:31:46] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 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-05 13:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229496832001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793865523000,"timestamp_ms":1793865523000,"timestamp_seconds":1793865523,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab79f38"} 
[2026-11-05 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-05 13:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 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":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-11-05 13:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1420,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 13:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":231554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":231554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":231554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229496832001,"66":26615,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229496832001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:31:46] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:31:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229496832001,"power":26615,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":231554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63173,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:31:46] local.INFO: GPS data processed {"connection_id":231554,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:31:46] local.INFO: Acknowledgment sent {"connection_id":231554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:31:48] local.INFO: TCP Data received {"connection_id":230227,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230227,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:31:48] local.INFO: Processing buffer {"connection_id":230227,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:31:48] local.INFO: IMEI packet received {"connection_id":230227,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":230227,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:31:53] local.INFO: TCP Data received {"connection_id":230227,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230227,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:31:53] local.INFO: Processing buffer {"connection_id":230227,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:31:53] local.INFO: IMEI packet received {"connection_id":230227,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":230227,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:31:54] local.INFO: TCP Data received {"connection_id":230227,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab879f8012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab879f8012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:31:54] local.INFO: Processing buffer {"connection_id":230227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab879f8012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:31:54] local.INFO: Packet analysis {"connection_id":230227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:31:54] local.INFO: Extracted packet for processing {"connection_id":230227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:31:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229511168001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:31: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-05 13:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793865579000,"timestamp_ms":1793865579000,"timestamp_seconds":1793865579,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab879f8"} 
[2026-11-05 13:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:31: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-05 13:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":230227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":230227,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":230227,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229511168001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229511168001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:31:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229511168001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":230227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63174,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:31:54] local.INFO: GPS data processed {"connection_id":230227,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:31:54] local.INFO: Acknowledgment sent {"connection_id":230227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:32:06] local.INFO: TCP Data received {"connection_id":233459,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233459,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:32:06] local.INFO: Processing buffer {"connection_id":233459,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:32:06] local.INFO: IMEI packet received {"connection_id":233459,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":233459,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:32:08] local.INFO: TCP Data received {"connection_id":233458,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:32:08] local.INFO: Processing buffer {"connection_id":233458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:32:08] local.INFO: IMEI packet received {"connection_id":233458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":233458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:32:11] local.INFO: TCP Data received {"connection_id":233459,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233459,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:32:11] local.INFO: Processing buffer {"connection_id":233459,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:32:11] local.INFO: IMEI packet received {"connection_id":233459,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":233459,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:32:13] local.INFO: TCP Data received {"connection_id":233458,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:32:13] local.INFO: Processing buffer {"connection_id":233458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:32:13] local.INFO: IMEI packet received {"connection_id":233458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":233458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:32:14] local.INFO: TCP Data received {"connection_id":233459,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab79f38012d488280069630e8003f00572b..."} 
[2026-11-05 13:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab79f38012d488280069630e8003f00572b..."} 
[2026-11-05 13:32:14] local.INFO: Processing buffer {"connection_id":233459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab79f38012d488280069630e8003f00572b..."} 
[2026-11-05 13:32:14] local.INFO: Packet analysis {"connection_id":233459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab7"} 
[2026-11-05 13:32:14] local.INFO: Extracted packet for processing {"connection_id":233459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab7"} 
[2026-11-05 13:32:14] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229496832001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793865523000,"timestamp_ms":1793865523000,"timestamp_seconds":1793865523,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab79f38"} 
[2026-11-05 13: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-05 13:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-11-05 13:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1420,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233459,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233459,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229496832001,"66":26615,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229496832001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:32:14] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:32:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229496832001,"power":26615,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":233459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63175,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:32:14] local.INFO: GPS data processed {"connection_id":233459,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:32:14] local.INFO: Acknowledgment sent {"connection_id":233459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:32:14] local.INFO: TCP Data received {"connection_id":233458,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab88d80012d7fad0005afe048001100452c..."} 
[2026-11-05 13:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab88d80012d7fad0005afe048001100452c..."} 
[2026-11-05 13:32:14] local.INFO: Processing buffer {"connection_id":233458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab88d80012d7fad0005afe048001100452c..."} 
[2026-11-05 13:32:14] local.INFO: Packet analysis {"connection_id":233458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:32:14] local.INFO: Extracted packet for processing {"connection_id":233458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:32:14] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":17,"angle":69,"satellites":44,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229512448001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793865584000,"timestamp_ms":1793865584000,"timestamp_seconds":1793865584,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab88d80"} 
[2026-11-05 13: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-05 13:32: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-05 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229512448001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229512448001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:32:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:32:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229512448001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":233458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:32:14] local.INFO: GPS data processed {"connection_id":233458,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:32:14] local.INFO: Acknowledgment sent {"connection_id":233458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:32:19] local.INFO: TCP Data received {"connection_id":233458,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab88d80012d7fad0005afe048001100452c..."} 
[2026-11-05 13:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab88d80012d7fad0005afe048001100452c..."} 
[2026-11-05 13:32:19] local.INFO: Processing buffer {"connection_id":233458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab88d80012d7fad0005afe048001100452c..."} 
[2026-11-05 13:32:19] local.INFO: Packet analysis {"connection_id":233458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:32:19] local.INFO: Extracted packet for processing {"connection_id":233458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:32:19] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":17,"angle":69,"satellites":44,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:32: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-05 13:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229512448001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793865584000,"timestamp_ms":1793865584000,"timestamp_seconds":1793865584,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab88d80"} 
[2026-11-05 13:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:32: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-05 13:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:32:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:32: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-05 13:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":233458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":233458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":233458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:32:19] 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-05 13:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229512448001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229512448001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:32:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:32:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229512448001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":233458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:32:19] local.INFO: GPS data processed {"connection_id":233458,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:32:19] local.INFO: Acknowledgment sent {"connection_id":233458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:32:28] local.INFO: TCP Data received {"connection_id":230227,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab879f8012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab879f8012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:32:28] local.INFO: Processing buffer {"connection_id":230227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab879f8012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:32:28] local.INFO: Packet analysis {"connection_id":230227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:32:28] local.INFO: Extracted packet for processing {"connection_id":230227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:32:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229511168001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:32: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-05 13:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1793865579000,"timestamp_ms":1793865579000,"timestamp_seconds":1793865579,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab879f8"} 
[2026-11-05 13:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:32:28] 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-05 13:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":230227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":230227,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":230227,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229511168001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229511168001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:32:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229511168001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":230227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63178,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:32:29] local.INFO: GPS data processed {"connection_id":230227,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:32:29] local.INFO: Acknowledgment sent {"connection_id":230227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:32:46] local.INFO: TCP Data received {"connection_id":233459,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab79f38012d488280069630e8003f00572b..."} 
[2026-11-05 13:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab79f38012d488280069630e8003f00572b..."} 
[2026-11-05 13:32:46] local.INFO: Processing buffer {"connection_id":233459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab79f38012d488280069630e8003f00572b..."} 
[2026-11-05 13:32:46] local.INFO: Packet analysis {"connection_id":233459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab7"} 
[2026-11-05 13:32:46] local.INFO: Extracted packet for processing {"connection_id":233459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab7"} 
[2026-11-05 13:32:46] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229496832001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793865523000,"timestamp_ms":1793865523000,"timestamp_seconds":1793865523,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab79f38"} 
[2026-11-05 13: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-05 13:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-11-05 13:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1420,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":233459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":233459,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":233459,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229496832001,"66":26615,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229496832001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:32:46] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:32:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229496832001,"power":26615,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":233459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63179,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:32:46] local.INFO: GPS data processed {"connection_id":233459,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:32:46] local.INFO: Acknowledgment sent {"connection_id":233459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:32:48] local.INFO: TCP Data received {"connection_id":231555,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231555,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:32:48] local.INFO: Processing buffer {"connection_id":231555,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:32:48] local.INFO: IMEI packet received {"connection_id":231555,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":231555,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:32:54] local.INFO: TCP Data received {"connection_id":231555,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231555,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:32:54] local.INFO: Processing buffer {"connection_id":231555,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:32:54] local.INFO: IMEI packet received {"connection_id":231555,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":231555,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:32:54] local.INFO: TCP Data received {"connection_id":231555,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab879f8012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab879f8012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:32:54] local.INFO: Processing buffer {"connection_id":231555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab879f8012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:32:54] local.INFO: Packet analysis {"connection_id":231555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:32:54] local.INFO: Extracted packet for processing {"connection_id":231555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:32:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229511168001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:32: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-05 13:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793865579000,"timestamp_ms":1793865579000,"timestamp_seconds":1793865579,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab879f8"} 
[2026-11-05 13:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:32: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-05 13:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":231555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":231555,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":231555,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229511168001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229511168001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:32:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229511168001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":231555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63180,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:32:55] local.INFO: GPS data processed {"connection_id":231555,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:32:55] local.INFO: Acknowledgment sent {"connection_id":231555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:33:03] local.INFO: TCP Data received {"connection_id":233460,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:33:03] local.INFO: Processing buffer {"connection_id":233460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:33:03] local.INFO: IMEI packet received {"connection_id":233460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":233460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:33:08] local.INFO: TCP Data received {"connection_id":233460,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:33:08] local.INFO: Processing buffer {"connection_id":233460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:33:08] local.INFO: IMEI packet received {"connection_id":233460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":233460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:33:09] local.INFO: TCP Data received {"connection_id":233460,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab88d80012d7fad0005afe048001100452c..."} 
[2026-11-05 13:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab88d80012d7fad0005afe048001100452c..."} 
[2026-11-05 13:33:09] local.INFO: Processing buffer {"connection_id":233460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab88d80012d7fad0005afe048001100452c..."} 
[2026-11-05 13:33:09] local.INFO: Packet analysis {"connection_id":233460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:33:09] local.INFO: Extracted packet for processing {"connection_id":233460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:33:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":17,"angle":69,"satellites":44,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229512448001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793865584000,"timestamp_ms":1793865584000,"timestamp_seconds":1793865584,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab88d80"} 
[2026-11-05 13:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 13:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:33:09] 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-05 13:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229512448001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229512448001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:33:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:33:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229512448001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":233460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:33:09] local.INFO: GPS data processed {"connection_id":233460,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:33:09] local.INFO: Acknowledgment sent {"connection_id":233460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:33:14] local.INFO: TCP Data received {"connection_id":231556,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:33:14] local.INFO: Processing buffer {"connection_id":231556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:33:14] local.INFO: IMEI packet received {"connection_id":231556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":231556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:33:17] local.INFO: TCP Data received {"connection_id":231556,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:33:17] local.INFO: Processing buffer {"connection_id":231556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:33:17] local.INFO: IMEI packet received {"connection_id":231556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":231556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:33:20] local.INFO: TCP Data received {"connection_id":231556,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab79f38012d488280069630e8003f00572b..."} 
[2026-11-05 13:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab79f38012d488280069630e8003f00572b..."} 
[2026-11-05 13:33:20] local.INFO: Processing buffer {"connection_id":231556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab79f38012d488280069630e8003f00572b..."} 
[2026-11-05 13:33:20] local.INFO: Packet analysis {"connection_id":231556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab7"} 
[2026-11-05 13:33:20] local.INFO: Extracted packet for processing {"connection_id":231556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab7"} 
[2026-11-05 13:33:20] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229496832001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793865523000,"timestamp_ms":1793865523000,"timestamp_seconds":1793865523,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab79f38"} 
[2026-11-05 13:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-11-05 13:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1420,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":231556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":231556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":231556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229496832001,"66":26615,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229496832001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:33:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:33:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229496832001,"power":26615,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":231556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63182,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:33:20] local.INFO: GPS data processed {"connection_id":231556,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:33:20] local.INFO: Acknowledgment sent {"connection_id":231556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:33:21] local.INFO: TCP Data received {"connection_id":231556,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab79f38012d488280069630e8003f00572b..."} 
[2026-11-05 13:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab79f38012d488280069630e8003f00572b..."} 
[2026-11-05 13:33:21] local.INFO: Processing buffer {"connection_id":231556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab79f38012d488280069630e8003f00572b..."} 
[2026-11-05 13:33:21] local.INFO: Packet analysis {"connection_id":231556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab7"} 
[2026-11-05 13:33:21] local.INFO: Extracted packet for processing {"connection_id":231556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab7"} 
[2026-11-05 13:33:21] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229496832001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793865523000,"timestamp_ms":1793865523000,"timestamp_seconds":1793865523,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab79f38"} 
[2026-11-05 13:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-11-05 13:33:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1420,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":231556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":231556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":231556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229496832001,"66":26615,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229496832001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:33:21] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:33:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229496832001,"power":26615,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":231556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63183,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:33:21] local.INFO: GPS data processed {"connection_id":231556,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:33:21] local.INFO: Acknowledgment sent {"connection_id":231556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:33:26] local.INFO: TCP Data received {"connection_id":231555,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab879f8012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab879f8012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:33:26] local.INFO: Processing buffer {"connection_id":231555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab879f8012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:33:26] local.INFO: Packet analysis {"connection_id":231555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:33:26] local.INFO: Extracted packet for processing {"connection_id":231555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:33:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229511168001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:33: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-05 13:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793865579000,"timestamp_ms":1793865579000,"timestamp_seconds":1793865579,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab879f8"} 
[2026-11-05 13:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:33:26] 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-05 13:33:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231555,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231555,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:33:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229511168001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229511168001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:33:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229511168001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":231555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63184,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:33:26] local.INFO: GPS data processed {"connection_id":231555,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:33:26] local.INFO: Acknowledgment sent {"connection_id":231555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:33:41] local.INFO: TCP Data received {"connection_id":233460,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab88d80012d7fad0005afe048001100452c..."} 
[2026-11-05 13:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab88d80012d7fad0005afe048001100452c..."} 
[2026-11-05 13:33:41] local.INFO: Processing buffer {"connection_id":233460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab88d80012d7fad0005afe048001100452c..."} 
[2026-11-05 13:33:41] local.INFO: Packet analysis {"connection_id":233460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:33:41] local.INFO: Extracted packet for processing {"connection_id":233460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:33:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":17,"angle":69,"satellites":44,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229512448001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793865584000,"timestamp_ms":1793865584000,"timestamp_seconds":1793865584,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab88d80"} 
[2026-11-05 13: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-05 13: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-05 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:33: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-05 13:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229512448001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229512448001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:33:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:33:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229512448001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":233460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:33:41] local.INFO: GPS data processed {"connection_id":233460,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:33:41] local.INFO: Acknowledgment sent {"connection_id":233460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:33:48] local.INFO: TCP Data received {"connection_id":231557,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231557,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:33:48] local.INFO: Processing buffer {"connection_id":231557,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:33:48] local.INFO: IMEI packet received {"connection_id":231557,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":231557,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:33:54] local.INFO: TCP Data received {"connection_id":231557,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231557,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:33:54] local.INFO: Processing buffer {"connection_id":231557,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:33:54] local.INFO: IMEI packet received {"connection_id":231557,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":231557,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:33:55] local.INFO: TCP Data received {"connection_id":231557,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab879f8012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab879f8012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:33:55] local.INFO: Processing buffer {"connection_id":231557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab879f8012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:33:55] local.INFO: Packet analysis {"connection_id":231557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:33:55] local.INFO: Extracted packet for processing {"connection_id":231557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:33:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229511168001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:33: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-05 13:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793865579000,"timestamp_ms":1793865579000,"timestamp_seconds":1793865579,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab879f8"} 
[2026-11-05 13:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231557,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231557,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229511168001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229511168001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:33:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229511168001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":231557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63186,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:33:55] local.INFO: GPS data processed {"connection_id":231557,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:33:55] local.INFO: Acknowledgment sent {"connection_id":231557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:34:03] local.INFO: TCP Data received {"connection_id":233461,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:34:03] local.INFO: Processing buffer {"connection_id":233461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:34:03] local.INFO: IMEI packet received {"connection_id":233461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":233461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:34:06] local.INFO: TCP Data received {"connection_id":233462,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:34:06] local.INFO: Processing buffer {"connection_id":233462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:34:06] local.INFO: IMEI packet received {"connection_id":233462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":233462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:34:08] local.INFO: TCP Data received {"connection_id":233461,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:34:08] local.INFO: Processing buffer {"connection_id":233461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:34:08] local.INFO: IMEI packet received {"connection_id":233461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":233461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:34:10] local.INFO: TCP Data received {"connection_id":233461,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab88d80012d7fad0005afe048001100452c..."} 
[2026-11-05 13:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab88d80012d7fad0005afe048001100452c..."} 
[2026-11-05 13:34:10] local.INFO: Processing buffer {"connection_id":233461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab88d80012d7fad0005afe048001100452c..."} 
[2026-11-05 13:34:10] local.INFO: Packet analysis {"connection_id":233461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:34:10] local.INFO: Extracted packet for processing {"connection_id":233461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:34:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":17,"angle":69,"satellites":44,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229512448001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793865584000,"timestamp_ms":1793865584000,"timestamp_seconds":1793865584,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab88d80"} 
[2026-11-05 13:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229512448001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229512448001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:34:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229512448001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":233461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:34:10] local.INFO: GPS data processed {"connection_id":233461,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:34:10] local.INFO: Acknowledgment sent {"connection_id":233461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:34:11] local.INFO: TCP Data received {"connection_id":233462,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:34:11] local.INFO: Processing buffer {"connection_id":233462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:34:11] local.INFO: IMEI packet received {"connection_id":233462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":233462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:34:14] local.INFO: TCP Data received {"connection_id":233462,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab79f38012d488280069630e8003f00572b..."} 
[2026-11-05 13:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab79f38012d488280069630e8003f00572b..."} 
[2026-11-05 13:34:14] local.INFO: Processing buffer {"connection_id":233462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab79f38012d488280069630e8003f00572b..."} 
[2026-11-05 13:34:14] local.INFO: Packet analysis {"connection_id":233462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab7"} 
[2026-11-05 13:34:14] local.INFO: Extracted packet for processing {"connection_id":233462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab7"} 
[2026-11-05 13:34:14] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229496832001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:34:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793865523000,"timestamp_ms":1793865523000,"timestamp_seconds":1793865523,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab79f38"} 
[2026-11-05 13: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-05 13:34:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-11-05 13:34:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1420,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229496832001,"66":26615,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229496832001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:34:14] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:34:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229496832001,"power":26615,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":233462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63188,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:34:14] local.INFO: GPS data processed {"connection_id":233462,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:34:14] local.INFO: Acknowledgment sent {"connection_id":233462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:34:26] local.INFO: TCP Data received {"connection_id":231557,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab879f8012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab879f8012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:34:26] local.INFO: Processing buffer {"connection_id":231557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab879f8012d0b10c00702a1800000014e1f..."} 
[2026-11-05 13:34:26] local.INFO: Packet analysis {"connection_id":231557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:34:26] local.INFO: Extracted packet for processing {"connection_id":231557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:34:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229511168001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:34: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-05 13:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793865579000,"timestamp_ms":1793865579000,"timestamp_seconds":1793865579,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab879f8"} 
[2026-11-05 13:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:34:26] 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-05 13:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231557,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231557,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229511168001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229511168001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:34:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229511168001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":231557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63189,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:34:26] local.INFO: GPS data processed {"connection_id":231557,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:34:26] local.INFO: Acknowledgment sent {"connection_id":231557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:34:41] local.INFO: TCP Data received {"connection_id":233461,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab88d80012d7fad0005afe048001100452c..."} 
[2026-11-05 13:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab88d80012d7fad0005afe048001100452c..."} 
[2026-11-05 13:34:41] local.INFO: Processing buffer {"connection_id":233461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab88d80012d7fad0005afe048001100452c..."} 
[2026-11-05 13:34:41] local.INFO: Packet analysis {"connection_id":233461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:34:41] local.INFO: Extracted packet for processing {"connection_id":233461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:34:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":17,"angle":69,"satellites":44,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229512448001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793865584000,"timestamp_ms":1793865584000,"timestamp_seconds":1793865584,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab88d80"} 
[2026-11-05 13: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-05 13:34: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-05 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:34: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-05 13:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229512448001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229512448001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:34:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229512448001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":233461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:34:41] local.INFO: GPS data processed {"connection_id":233461,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:34:41] local.INFO: Acknowledgment sent {"connection_id":233461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:34:46] local.INFO: TCP Data received {"connection_id":233462,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:34:46] local.INFO: Processing buffer {"connection_id":233462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:34:46] local.INFO: Packet analysis {"connection_id":233462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aabc"} 
[2026-11-05 13:34:46] local.INFO: Extracted packet for processing {"connection_id":233462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aabc"} 
[2026-11-05 13:34:46] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229573888001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793865824000,"timestamp_ms":1793865824000,"timestamp_seconds":1793865824,"priority":1,"record_length":96,"hex_timestamp":"000001a1aabc3700"} 
[2026-11-05 13:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:34: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-05 13:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-11-05 13:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":233462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":233462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":233462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229573888001,"66":26691,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229573888001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:34:46] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:34:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229573888001,"power":26691,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":233462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63191,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:34:46] local.INFO: GPS data processed {"connection_id":233462,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:34:46] local.INFO: Acknowledgment sent {"connection_id":233462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:34:53] local.INFO: TCP Data received {"connection_id":233463,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233463,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:34:53] local.INFO: Processing buffer {"connection_id":233463,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:34:53] local.INFO: IMEI packet received {"connection_id":233463,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":233463,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:34:58] local.INFO: TCP Data received {"connection_id":233463,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233463,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:34:58] local.INFO: Processing buffer {"connection_id":233463,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:34:58] local.INFO: IMEI packet received {"connection_id":233463,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":233463,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:34:59] local.INFO: TCP Data received {"connection_id":233463,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1aabd11c0012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aabd11c0012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:34:59] local.INFO: Processing buffer {"connection_id":233463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aabd11c0012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:34:59] local.INFO: Packet analysis {"connection_id":233463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:34:59] local.INFO: Extracted packet for processing {"connection_id":233463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:34:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229588224001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:34: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-05 13:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793865880000,"timestamp_ms":1793865880000,"timestamp_seconds":1793865880,"priority":1,"record_length":96,"hex_timestamp":"000001a1aabd11c0"} 
[2026-11-05 13:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:34: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-05 13:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":233463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":233463,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":233463,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229588224001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229588224001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:34:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229588224001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":233463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63192,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:35:00] local.INFO: GPS data processed {"connection_id":233463,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:35:00] local.INFO: Acknowledgment sent {"connection_id":233463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:35:03] local.INFO: TCP Data received {"connection_id":230228,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:35:03] local.INFO: Processing buffer {"connection_id":230228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:35:03] local.INFO: IMEI packet received {"connection_id":230228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":230228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:35:04] local.INFO: TCP Data received {"connection_id":233463,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1aabd11c0012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aabd11c0012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:35:04] local.INFO: Processing buffer {"connection_id":233463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aabd11c0012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:35:04] local.INFO: Packet analysis {"connection_id":233463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:35:04] local.INFO: Extracted packet for processing {"connection_id":233463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:35:04] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229588224001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793865880000,"timestamp_ms":1793865880000,"timestamp_seconds":1793865880,"priority":1,"record_length":96,"hex_timestamp":"000001a1aabd11c0"} 
[2026-11-05 13:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":233463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":233463,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":233463,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229588224001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229588224001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:35:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229588224001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":233463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63193,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:35:04] local.INFO: GPS data processed {"connection_id":233463,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:35:04] local.INFO: Acknowledgment sent {"connection_id":233463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:35:08] local.INFO: TCP Data received {"connection_id":230228,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:35:08] local.INFO: Processing buffer {"connection_id":230228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:35:08] local.INFO: IMEI packet received {"connection_id":230228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":230228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:35:09] local.INFO: TCP Data received {"connection_id":230228,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1aab88d80012d7fad0005afe048001100452c..."} 
[2026-11-05 13:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aab88d80012d7fad0005afe048001100452c..."} 
[2026-11-05 13:35:09] local.INFO: Processing buffer {"connection_id":230228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aab88d80012d7fad0005afe048001100452c..."} 
[2026-11-05 13:35:09] local.INFO: Packet analysis {"connection_id":230228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:35:09] local.INFO: Extracted packet for processing {"connection_id":230228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aab8"} 
[2026-11-05 13:35:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":17,"angle":69,"satellites":44,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229512448001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793865584000,"timestamp_ms":1793865584000,"timestamp_seconds":1793865584,"priority":1,"record_length":96,"hex_timestamp":"000001a1aab88d80"} 
[2026-11-05 13:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 13:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:35:09] local.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-05 13:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229512448001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229512448001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:35:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:35:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229512448001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":230228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:35:09] local.INFO: GPS data processed {"connection_id":230228,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:35:09] local.INFO: Acknowledgment sent {"connection_id":230228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:35:12] local.INFO: TCP Data received {"connection_id":231558,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:35:12] local.INFO: Processing buffer {"connection_id":231558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:35:12] local.INFO: IMEI packet received {"connection_id":231558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":231558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:35:16] local.INFO: TCP Data received {"connection_id":231558,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:35:16] local.INFO: Processing buffer {"connection_id":231558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:35:16] local.INFO: IMEI packet received {"connection_id":231558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":231558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:35:26] local.INFO: TCP Data received {"connection_id":231558,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:35:26] local.INFO: Processing buffer {"connection_id":231558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:35:26] local.INFO: Packet analysis {"connection_id":231558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aabc"} 
[2026-11-05 13:35:26] local.INFO: Extracted packet for processing {"connection_id":231558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aabc"} 
[2026-11-05 13:35:26] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229573888001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:35:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793865824000,"timestamp_ms":1793865824000,"timestamp_seconds":1793865824,"priority":1,"record_length":96,"hex_timestamp":"000001a1aabc3700"} 
[2026-11-05 13: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-05 13:35:26] 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-05 13: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":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-11-05 13:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:35:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229573888001,"66":26691,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229573888001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:35:26] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:35:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229573888001,"power":26691,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":231558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63195,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:35:26] local.INFO: GPS data processed {"connection_id":231558,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:35:26] local.INFO: Acknowledgment sent {"connection_id":231558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:35:32] local.INFO: TCP Data received {"connection_id":231558,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:35:32] local.INFO: Processing buffer {"connection_id":231558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:35:32] local.INFO: Packet analysis {"connection_id":231558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aabc"} 
[2026-11-05 13:35:32] local.INFO: Extracted packet for processing {"connection_id":231558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aabc"} 
[2026-11-05 13:35:32] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229573888001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1793865824000,"timestamp_ms":1793865824000,"timestamp_seconds":1793865824,"priority":1,"record_length":96,"hex_timestamp":"000001a1aabc3700"} 
[2026-11-05 13:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-11-05 13:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:35:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":231558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":231558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":231558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229573888001,"66":26691,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229573888001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:35:32] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:35:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229573888001,"power":26691,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":231558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63196,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:35:32] local.INFO: GPS data processed {"connection_id":231558,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:35:32] local.INFO: Acknowledgment sent {"connection_id":231558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:35:40] local.INFO: TCP Data received {"connection_id":230228,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1aabd2548012d7fad0005afe0480011004527..."} 
[2026-11-05 13:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aabd2548012d7fad0005afe0480011004527..."} 
[2026-11-05 13:35:40] local.INFO: Processing buffer {"connection_id":230228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aabd2548012d7fad0005afe0480011004527..."} 
[2026-11-05 13:35:40] local.INFO: Packet analysis {"connection_id":230228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:35:40] local.INFO: Extracted packet for processing {"connection_id":230228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:35:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":17,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229589504001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793865885000,"timestamp_ms":1793865885000,"timestamp_seconds":1793865885,"priority":1,"record_length":96,"hex_timestamp":"000001a1aabd2548"} 
[2026-11-05 13:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 13:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:35: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-05 13:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229589504001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229589504001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:35:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:35:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229589504001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":230228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:35:40] local.INFO: GPS data processed {"connection_id":230228,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:35:40] local.INFO: Acknowledgment sent {"connection_id":230228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:35:48] local.INFO: TCP Data received {"connection_id":233464,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233464,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:35:48] local.INFO: Processing buffer {"connection_id":233464,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:35:48] local.INFO: IMEI packet received {"connection_id":233464,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":233464,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:35:53] local.INFO: TCP Data received {"connection_id":233464,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233464,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:35:53] local.INFO: Processing buffer {"connection_id":233464,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:35:53] local.INFO: IMEI packet received {"connection_id":233464,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":233464,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:35:54] local.INFO: TCP Data received {"connection_id":233464,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1aabd11c0012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aabd11c0012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:35:54] local.INFO: Processing buffer {"connection_id":233464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aabd11c0012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:35:54] local.INFO: Packet analysis {"connection_id":233464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:35:54] local.INFO: Extracted packet for processing {"connection_id":233464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:35:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229588224001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:35: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-05 13:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793865880000,"timestamp_ms":1793865880000,"timestamp_seconds":1793865880,"priority":1,"record_length":96,"hex_timestamp":"000001a1aabd11c0"} 
[2026-11-05 13:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:35: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-05 13:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":233464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":233464,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":233464,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229588224001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229588224001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:35:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229588224001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":233464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63198,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:35:55] local.INFO: GPS data processed {"connection_id":233464,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:35:55] local.INFO: Acknowledgment sent {"connection_id":233464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:36:03] local.INFO: TCP Data received {"connection_id":233465,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:36:03] local.INFO: Processing buffer {"connection_id":233465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:36:03] local.INFO: IMEI packet received {"connection_id":233465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":233465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:36:06] local.INFO: TCP Data received {"connection_id":233466,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233466,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:36:06] local.INFO: Processing buffer {"connection_id":233466,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:36:06] local.INFO: IMEI packet received {"connection_id":233466,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":233466,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:36:08] local.INFO: TCP Data received {"connection_id":233465,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:36:08] local.INFO: Processing buffer {"connection_id":233465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:36:08] local.INFO: IMEI packet received {"connection_id":233465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":233465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:36:11] local.INFO: TCP Data received {"connection_id":233465,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1aabd2548012d7fad0005afe0480011004527..."} 
[2026-11-05 13:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aabd2548012d7fad0005afe0480011004527..."} 
[2026-11-05 13:36:11] local.INFO: Processing buffer {"connection_id":233465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aabd2548012d7fad0005afe0480011004527..."} 
[2026-11-05 13:36:11] local.INFO: Packet analysis {"connection_id":233465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:36:11] local.INFO: Extracted packet for processing {"connection_id":233465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:36:11] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":17,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229589504001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793865885000,"timestamp_ms":1793865885000,"timestamp_seconds":1793865885,"priority":1,"record_length":96,"hex_timestamp":"000001a1aabd2548"} 
[2026-11-05 13:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:36: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-05 13:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229589504001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229589504001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:36:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:36:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229589504001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":233465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:36:11] local.INFO: GPS data processed {"connection_id":233465,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:36:11] local.INFO: Acknowledgment sent {"connection_id":233465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:36:11] local.INFO: TCP Data received {"connection_id":233466,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233466,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:36:11] local.INFO: Processing buffer {"connection_id":233466,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:36:11] local.INFO: IMEI packet received {"connection_id":233466,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":233466,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:36:13] local.INFO: TCP Data received {"connection_id":233466,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:36:13] local.INFO: Processing buffer {"connection_id":233466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:36:13] local.INFO: Packet analysis {"connection_id":233466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aabc"} 
[2026-11-05 13:36:13] local.INFO: Extracted packet for processing {"connection_id":233466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aabc"} 
[2026-11-05 13:36:13] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229573888001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793865824000,"timestamp_ms":1793865824000,"timestamp_seconds":1793865824,"priority":1,"record_length":96,"hex_timestamp":"000001a1aabc3700"} 
[2026-11-05 13: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-05 13:36: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-05 13: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":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-11-05 13:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":233466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":233466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":233466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229573888001,"66":26691,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229573888001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:36:13] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:36:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229573888001,"power":26691,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":233466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63200,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:36:13] local.INFO: GPS data processed {"connection_id":233466,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:36:13] local.INFO: Acknowledgment sent {"connection_id":233466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:36:26] local.INFO: TCP Data received {"connection_id":233464,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1aabd11c0012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aabd11c0012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:36:26] local.INFO: Processing buffer {"connection_id":233464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aabd11c0012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:36:26] local.INFO: Packet analysis {"connection_id":233464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:36:26] local.INFO: Extracted packet for processing {"connection_id":233464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:36:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229588224001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:36: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-05 13:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793865880000,"timestamp_ms":1793865880000,"timestamp_seconds":1793865880,"priority":1,"record_length":96,"hex_timestamp":"000001a1aabd11c0"} 
[2026-11-05 13:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:36:26] 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-05 13:36:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233464,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233464,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229588224001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229588224001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:36:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229588224001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":233464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63201,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:36:26] local.INFO: GPS data processed {"connection_id":233464,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:36:26] local.INFO: Acknowledgment sent {"connection_id":233464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:36:45] local.INFO: TCP Data received {"connection_id":233466,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:36:45] local.INFO: Processing buffer {"connection_id":233466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:36:45] local.INFO: Packet analysis {"connection_id":233466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aabc"} 
[2026-11-05 13:36:45] local.INFO: Extracted packet for processing {"connection_id":233466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aabc"} 
[2026-11-05 13:36:45] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229573888001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793865824000,"timestamp_ms":1793865824000,"timestamp_seconds":1793865824,"priority":1,"record_length":96,"hex_timestamp":"000001a1aabc3700"} 
[2026-11-05 13:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-11-05 13:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":233466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":233466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":233466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229573888001,"66":26691,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229573888001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:36:45] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:36:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229573888001,"power":26691,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":233466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63202,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:36:45] local.INFO: GPS data processed {"connection_id":233466,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:36:45] local.INFO: Acknowledgment sent {"connection_id":233466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:36:45] local.INFO: TCP Data received {"connection_id":233465,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1aabd2548012d7fad0005afe0480011004527..."} 
[2026-11-05 13:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aabd2548012d7fad0005afe0480011004527..."} 
[2026-11-05 13:36:45] local.INFO: Processing buffer {"connection_id":233465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aabd2548012d7fad0005afe0480011004527..."} 
[2026-11-05 13:36:45] local.INFO: Packet analysis {"connection_id":233465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:36:45] local.INFO: Extracted packet for processing {"connection_id":233465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:36:45] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":17,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229589504001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793865885000,"timestamp_ms":1793865885000,"timestamp_seconds":1793865885,"priority":1,"record_length":96,"hex_timestamp":"000001a1aabd2548"} 
[2026-11-05 13:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:36: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-05 13:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":233465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":233465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":233465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:36: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-05 13:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229589504001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229589504001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:36:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:36:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229589504001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":233465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:36:45] local.INFO: GPS data processed {"connection_id":233465,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:36:45] local.INFO: Acknowledgment sent {"connection_id":233465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:36:48] local.INFO: TCP Data received {"connection_id":233467,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233467,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:36:48] local.INFO: Processing buffer {"connection_id":233467,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:36:48] local.INFO: IMEI packet received {"connection_id":233467,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":233467,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:36:53] local.INFO: TCP Data received {"connection_id":233467,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233467,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:36:53] local.INFO: Processing buffer {"connection_id":233467,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:36:53] local.INFO: IMEI packet received {"connection_id":233467,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":233467,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:36:54] local.INFO: TCP Data received {"connection_id":233467,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a1aabd11c0012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aabd11c0012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:36:54] local.INFO: Processing buffer {"connection_id":233467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aabd11c0012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:36:54] local.INFO: Packet analysis {"connection_id":233467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:36:54] local.INFO: Extracted packet for processing {"connection_id":233467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:36:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229588224001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:36: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-05 13:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793865880000,"timestamp_ms":1793865880000,"timestamp_seconds":1793865880,"priority":1,"record_length":96,"hex_timestamp":"000001a1aabd11c0"} 
[2026-11-05 13:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:36: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-05 13:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":233467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":233467,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":233467,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229588224001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229588224001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:36:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229588224001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":233467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63204,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:36:55] local.INFO: GPS data processed {"connection_id":233467,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:36:55] local.INFO: Acknowledgment sent {"connection_id":233467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:37:03] local.INFO: TCP Data received {"connection_id":229703,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:37:03] local.INFO: Processing buffer {"connection_id":229703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:37:03] local.INFO: IMEI packet received {"connection_id":229703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":229703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:37:06] local.INFO: TCP Data received {"connection_id":230229,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230229,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:37:06] local.INFO: Processing buffer {"connection_id":230229,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:37:06] local.INFO: IMEI packet received {"connection_id":230229,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":230229,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:37:08] local.INFO: TCP Data received {"connection_id":229703,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:37:08] local.INFO: Processing buffer {"connection_id":229703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:37:08] local.INFO: IMEI packet received {"connection_id":229703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":229703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:37:09] local.INFO: TCP Data received {"connection_id":229703,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1aabd2548012d7fad0005afe0480011004527..."} 
[2026-11-05 13:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aabd2548012d7fad0005afe0480011004527..."} 
[2026-11-05 13:37:09] local.INFO: Processing buffer {"connection_id":229703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aabd2548012d7fad0005afe0480011004527..."} 
[2026-11-05 13:37:09] local.INFO: Packet analysis {"connection_id":229703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:37:09] local.INFO: Extracted packet for processing {"connection_id":229703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:37:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":17,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229589504001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793865885000,"timestamp_ms":1793865885000,"timestamp_seconds":1793865885,"priority":1,"record_length":96,"hex_timestamp":"000001a1aabd2548"} 
[2026-11-05 13: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-05 13:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13: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-05 13: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-05 13:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:37:09] 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-05 13:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229589504001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229589504001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:37:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:37:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229589504001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":229703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:37:09] local.INFO: GPS data processed {"connection_id":229703,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:37:09] local.INFO: Acknowledgment sent {"connection_id":229703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:37:11] local.INFO: TCP Data received {"connection_id":230229,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230229,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:37:11] local.INFO: Processing buffer {"connection_id":230229,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:37:11] local.INFO: IMEI packet received {"connection_id":230229,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":230229,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:37:14] local.INFO: TCP Data received {"connection_id":230229,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:37:14] local.INFO: Processing buffer {"connection_id":230229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:37:14] local.INFO: Packet analysis {"connection_id":230229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aabc"} 
[2026-11-05 13:37:14] local.INFO: Extracted packet for processing {"connection_id":230229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aabc"} 
[2026-11-05 13:37:14] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229573888001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793865824000,"timestamp_ms":1793865824000,"timestamp_seconds":1793865824,"priority":1,"record_length":96,"hex_timestamp":"000001a1aabc3700"} 
[2026-11-05 13:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:37: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-05 13:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-11-05 13:37:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230229,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230229,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229573888001,"66":26691,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229573888001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:37:14] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:37:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229573888001,"power":26691,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":230229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63206,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:37:14] local.INFO: GPS data processed {"connection_id":230229,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:37:14] local.INFO: Acknowledgment sent {"connection_id":230229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:37:26] local.INFO: TCP Data received {"connection_id":233467,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a1aabd11c0012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aabd11c0012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:37:26] local.INFO: Processing buffer {"connection_id":233467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aabd11c0012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:37:26] local.INFO: Packet analysis {"connection_id":233467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:37:26] local.INFO: Extracted packet for processing {"connection_id":233467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:37:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229588224001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:37: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-05 13:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793865880000,"timestamp_ms":1793865880000,"timestamp_seconds":1793865880,"priority":1,"record_length":96,"hex_timestamp":"000001a1aabd11c0"} 
[2026-11-05 13: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-05 13:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:37:26] 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-05 13: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-05 13: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-05 13:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233467,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233467,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:37:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229588224001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229588224001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:37:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229588224001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":233467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63207,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:37:26] local.INFO: GPS data processed {"connection_id":233467,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:37:26] local.INFO: Acknowledgment sent {"connection_id":233467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:37:44] local.INFO: TCP Data received {"connection_id":229703,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1aabd2548012d7fad0005afe0480011004527..."} 
[2026-11-05 13:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aabd2548012d7fad0005afe0480011004527..."} 
[2026-11-05 13:37:44] local.INFO: Processing buffer {"connection_id":229703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aabd2548012d7fad0005afe0480011004527..."} 
[2026-11-05 13:37:44] local.INFO: Packet analysis {"connection_id":229703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:37:44] local.INFO: Extracted packet for processing {"connection_id":229703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:37:44] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":17,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 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-05 13:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229589504001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793865885000,"timestamp_ms":1793865885000,"timestamp_seconds":1793865885,"priority":1,"record_length":96,"hex_timestamp":"000001a1aabd2548"} 
[2026-11-05 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-05 13: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-05 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:37: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-05 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-05 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-05 13:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:37:44] 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-05 13:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229589504001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229589504001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:37:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:37:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229589504001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":229703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:37:44] local.INFO: GPS data processed {"connection_id":229703,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:37:44] local.INFO: Acknowledgment sent {"connection_id":229703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:37:47] local.INFO: TCP Data received {"connection_id":230229,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:37:47] local.INFO: Processing buffer {"connection_id":230229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:37:47] local.INFO: Packet analysis {"connection_id":230229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aabc"} 
[2026-11-05 13:37:47] local.INFO: Extracted packet for processing {"connection_id":230229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aabc"} 
[2026-11-05 13:37:47] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229573888001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793865824000,"timestamp_ms":1793865824000,"timestamp_seconds":1793865824,"priority":1,"record_length":96,"hex_timestamp":"000001a1aabc3700"} 
[2026-11-05 13: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-05 13:37: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-05 13: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":247,"data_length":795,"current_offset":136} 
[2026-11-05 13:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230229,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230229,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229573888001,"66":26691,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229573888001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:37:47] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:37:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229573888001,"power":26691,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":230229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63209,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:37:47] local.INFO: GPS data processed {"connection_id":230229,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:37:47] local.INFO: Acknowledgment sent {"connection_id":230229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:37:48] local.INFO: TCP Data received {"connection_id":229704,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229704,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:37:48] local.INFO: Processing buffer {"connection_id":229704,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:37:48] local.INFO: IMEI packet received {"connection_id":229704,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":229704,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:37:54] local.INFO: TCP Data received {"connection_id":229704,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229704,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:37:54] local.INFO: Processing buffer {"connection_id":229704,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:37:54] local.INFO: IMEI packet received {"connection_id":229704,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":229704,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:37:54] local.INFO: TCP Data received {"connection_id":229704,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1aabd11c0012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aabd11c0012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:37:54] local.INFO: Processing buffer {"connection_id":229704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aabd11c0012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:37:54] local.INFO: Packet analysis {"connection_id":229704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:37:54] local.INFO: Extracted packet for processing {"connection_id":229704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:37:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229588224001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:37: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-05 13:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793865880000,"timestamp_ms":1793865880000,"timestamp_seconds":1793865880,"priority":1,"record_length":96,"hex_timestamp":"000001a1aabd11c0"} 
[2026-11-05 13: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-05 13:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:37: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-05 13: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-05 13: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-05 13:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":229704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":229704,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":229704,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:37: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-05 13:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229588224001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"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-05 13:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229588224001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:37:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229588224001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":229704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63210,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:37:55] local.INFO: GPS data processed {"connection_id":229704,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:37:55] local.INFO: Acknowledgment sent {"connection_id":229704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:38:08] local.INFO: TCP Data received {"connection_id":229705,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:38:08] local.INFO: Processing buffer {"connection_id":229705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:38:08] local.INFO: IMEI packet received {"connection_id":229705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":229705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:38:11] local.INFO: TCP Data received {"connection_id":229706,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229706,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:38:11] local.INFO: Processing buffer {"connection_id":229706,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:38:11] local.INFO: IMEI packet received {"connection_id":229706,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":229706,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:38:13] local.INFO: TCP Data received {"connection_id":229705,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:38:13] local.INFO: Processing buffer {"connection_id":229705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:38:13] local.INFO: IMEI packet received {"connection_id":229705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":229705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:38:14] local.INFO: TCP Data received {"connection_id":229705,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1aabd2548012d7fad0005afe0480011004527..."} 
[2026-11-05 13:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aabd2548012d7fad0005afe0480011004527..."} 
[2026-11-05 13:38:14] local.INFO: Processing buffer {"connection_id":229705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aabd2548012d7fad0005afe0480011004527..."} 
[2026-11-05 13:38:14] local.INFO: Packet analysis {"connection_id":229705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:38:14] local.INFO: Extracted packet for processing {"connection_id":229705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:38:14] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":17,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229589504001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793865885000,"timestamp_ms":1793865885000,"timestamp_seconds":1793865885,"priority":1,"record_length":96,"hex_timestamp":"000001a1aabd2548"} 
[2026-11-05 13:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:38: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-05 13:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:38:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229589504001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229589504001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:38:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:38:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229589504001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":229705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:38:14] local.INFO: GPS data processed {"connection_id":229705,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:38:14] local.INFO: Acknowledgment sent {"connection_id":229705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:38:16] local.INFO: TCP Data received {"connection_id":229706,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229706,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:38:16] local.INFO: Processing buffer {"connection_id":229706,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:38:16] local.INFO: IMEI packet received {"connection_id":229706,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":229706,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:38:19] local.INFO: TCP Data received {"connection_id":229705,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1aabd2548012d7fad0005afe0480011004527..."} 
[2026-11-05 13:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aabd2548012d7fad0005afe0480011004527..."} 
[2026-11-05 13:38:19] local.INFO: Processing buffer {"connection_id":229705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aabd2548012d7fad0005afe0480011004527..."} 
[2026-11-05 13:38:19] local.INFO: Packet analysis {"connection_id":229705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:38:19] local.INFO: Extracted packet for processing {"connection_id":229705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:38:19] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":17,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229589504001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793865885000,"timestamp_ms":1793865885000,"timestamp_seconds":1793865885,"priority":1,"record_length":96,"hex_timestamp":"000001a1aabd2548"} 
[2026-11-05 13: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-05 13:38: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-05 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:38:19] local.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-05 13:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229589504001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229589504001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:38:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:38:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229589504001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":229705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:38:19] local.INFO: GPS data processed {"connection_id":229705,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:38:19] local.INFO: Acknowledgment sent {"connection_id":229705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:38:19] local.INFO: TCP Data received {"connection_id":229706,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:38:19] local.INFO: Processing buffer {"connection_id":229706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:38:19] local.INFO: Packet analysis {"connection_id":229706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aabc"} 
[2026-11-05 13:38:19] local.INFO: Extracted packet for processing {"connection_id":229706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aabc"} 
[2026-11-05 13:38:19] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229573888001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793865824000,"timestamp_ms":1793865824000,"timestamp_seconds":1793865824,"priority":1,"record_length":96,"hex_timestamp":"000001a1aabc3700"} 
[2026-11-05 13: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-05 13:38: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-05 13: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":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-11-05 13:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229706,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229706,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229573888001,"66":26691,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229573888001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:38:19] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:38:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229573888001,"power":26691,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":229706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63213,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:38:19] local.INFO: GPS data processed {"connection_id":229706,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:38:19] local.INFO: Acknowledgment sent {"connection_id":229706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:38:23] local.INFO: TCP Data received {"connection_id":229706,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:38:23] local.INFO: Processing buffer {"connection_id":229706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:38:23] local.INFO: Packet analysis {"connection_id":229706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aabc"} 
[2026-11-05 13:38:23] local.INFO: Extracted packet for processing {"connection_id":229706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aabc"} 
[2026-11-05 13:38:23] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229573888001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793865824000,"timestamp_ms":1793865824000,"timestamp_seconds":1793865824,"priority":1,"record_length":96,"hex_timestamp":"000001a1aabc3700"} 
[2026-11-05 13:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:38: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-05 13:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-11-05 13:38:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:38:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":229706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":229706,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":229706,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229573888001,"66":26691,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229573888001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:38:23] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:38:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229573888001,"power":26691,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":229706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63214,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:38:23] local.INFO: GPS data processed {"connection_id":229706,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:38:23] local.INFO: Acknowledgment sent {"connection_id":229706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:38:26] local.INFO: TCP Data received {"connection_id":229704,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1aabd11c0012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aabd11c0012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:38:26] local.INFO: Processing buffer {"connection_id":229704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aabd11c0012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:38:26] local.INFO: Packet analysis {"connection_id":229704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:38:26] local.INFO: Extracted packet for processing {"connection_id":229704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:38:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229588224001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:38: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-05 13:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793865880000,"timestamp_ms":1793865880000,"timestamp_seconds":1793865880,"priority":1,"record_length":96,"hex_timestamp":"000001a1aabd11c0"} 
[2026-11-05 13: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-05 13:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:38:26] 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-05 13: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-05 13: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-05 13:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229704,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229704,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:38: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-05 13:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229588224001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"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-05 13:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229588224001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:38:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229588224001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":229704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63215,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:38:26] local.INFO: GPS data processed {"connection_id":229704,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:38:26] local.INFO: Acknowledgment sent {"connection_id":229704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:38:48] local.INFO: TCP Data received {"connection_id":233468,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233468,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:38:48] local.INFO: Processing buffer {"connection_id":233468,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:38:48] local.INFO: IMEI packet received {"connection_id":233468,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":233468,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:38:54] local.INFO: TCP Data received {"connection_id":233468,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233468,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:38:54] local.INFO: Processing buffer {"connection_id":233468,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:38:54] local.INFO: IMEI packet received {"connection_id":233468,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":233468,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:38:54] local.INFO: TCP Data received {"connection_id":233468,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1aabd11c0012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aabd11c0012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:38:54] local.INFO: Processing buffer {"connection_id":233468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aabd11c0012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:38:54] local.INFO: Packet analysis {"connection_id":233468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:38:54] local.INFO: Extracted packet for processing {"connection_id":233468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:38:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229588224001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:38: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-05 13:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793865880000,"timestamp_ms":1793865880000,"timestamp_seconds":1793865880,"priority":1,"record_length":96,"hex_timestamp":"000001a1aabd11c0"} 
[2026-11-05 13:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:38: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-05 13:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":233468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":233468,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":233468,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229588224001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229588224001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:38:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229588224001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":233468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63216,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:38:54] local.INFO: GPS data processed {"connection_id":233468,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:38:54] local.INFO: Acknowledgment sent {"connection_id":233468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:39:03] local.INFO: TCP Data received {"connection_id":231559,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:39:03] local.INFO: Processing buffer {"connection_id":231559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:39:03] local.INFO: IMEI packet received {"connection_id":231559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":231559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:39:07] local.INFO: TCP Data received {"connection_id":230230,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230230,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:39:07] local.INFO: Processing buffer {"connection_id":230230,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:39:07] local.INFO: IMEI packet received {"connection_id":230230,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":230230,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:39:08] local.INFO: TCP Data received {"connection_id":231559,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:39:08] local.INFO: Processing buffer {"connection_id":231559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:39:08] local.INFO: IMEI packet received {"connection_id":231559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":231559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:39:09] local.INFO: TCP Data received {"connection_id":231559,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1aabd2548012d7fad0005afe0480011004527..."} 
[2026-11-05 13:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aabd2548012d7fad0005afe0480011004527..."} 
[2026-11-05 13:39:09] local.INFO: Processing buffer {"connection_id":231559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aabd2548012d7fad0005afe0480011004527..."} 
[2026-11-05 13:39:09] local.INFO: Packet analysis {"connection_id":231559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:39:09] local.INFO: Extracted packet for processing {"connection_id":231559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:39:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":17,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229589504001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793865885000,"timestamp_ms":1793865885000,"timestamp_seconds":1793865885,"priority":1,"record_length":96,"hex_timestamp":"000001a1aabd2548"} 
[2026-11-05 13:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 13:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:39:09] 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-05 13:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229589504001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229589504001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:39:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:39:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229589504001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":231559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:39:09] local.INFO: GPS data processed {"connection_id":231559,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:39:09] local.INFO: Acknowledgment sent {"connection_id":231559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:39:11] local.INFO: TCP Data received {"connection_id":230230,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230230,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:39:11] local.INFO: Processing buffer {"connection_id":230230,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:39:11] local.INFO: IMEI packet received {"connection_id":230230,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":230230,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:39:13] local.INFO: TCP Data received {"connection_id":230230,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:39:13] local.INFO: Processing buffer {"connection_id":230230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:39:13] local.INFO: Packet analysis {"connection_id":230230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aabc"} 
[2026-11-05 13:39:13] local.INFO: Extracted packet for processing {"connection_id":230230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aabc"} 
[2026-11-05 13:39:13] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229573888001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793865824000,"timestamp_ms":1793865824000,"timestamp_seconds":1793865824,"priority":1,"record_length":96,"hex_timestamp":"000001a1aabc3700"} 
[2026-11-05 13: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-05 13:39: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-05 13: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":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-11-05 13:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230230,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230230,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229573888001,"66":26691,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229573888001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:39:13] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:39:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229573888001,"power":26691,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":230230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63218,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:39:13] local.INFO: GPS data processed {"connection_id":230230,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:39:13] local.INFO: Acknowledgment sent {"connection_id":230230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:39:16] local.INFO: TCP Data received {"connection_id":230230,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:39:16] local.INFO: Processing buffer {"connection_id":230230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aabc3700012d488280069630e8003f00572b..."} 
[2026-11-05 13:39:16] local.INFO: Packet analysis {"connection_id":230230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aabc"} 
[2026-11-05 13:39:16] local.INFO: Extracted packet for processing {"connection_id":230230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aabc"} 
[2026-11-05 13:39:16] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229573888001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793865824000,"timestamp_ms":1793865824000,"timestamp_seconds":1793865824,"priority":1,"record_length":96,"hex_timestamp":"000001a1aabc3700"} 
[2026-11-05 13: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-05 13:39: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-05 13: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":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-11-05 13:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230230,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230230,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229573888001,"66":26691,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229573888001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:39:16] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:39:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229573888001,"power":26691,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":230230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63219,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:39:16] local.INFO: GPS data processed {"connection_id":230230,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:39:16] local.INFO: Acknowledgment sent {"connection_id":230230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:39:26] local.INFO: TCP Data received {"connection_id":233468,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1aabd11c0012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aabd11c0012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:39:26] local.INFO: Processing buffer {"connection_id":233468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aabd11c0012d0b10c00702a1800000014e1e..."} 
[2026-11-05 13:39:26] local.INFO: Packet analysis {"connection_id":233468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:39:26] local.INFO: Extracted packet for processing {"connection_id":233468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:39:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229588224001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:39: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-05 13:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793865880000,"timestamp_ms":1793865880000,"timestamp_seconds":1793865880,"priority":1,"record_length":96,"hex_timestamp":"000001a1aabd11c0"} 
[2026-11-05 13:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:39:26] 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-05 13:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233468,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233468,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229588224001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229588224001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:39:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229588224001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":233468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63220,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:39:26] local.INFO: GPS data processed {"connection_id":233468,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:39:26] local.INFO: Acknowledgment sent {"connection_id":233468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:39:40] local.INFO: TCP Data received {"connection_id":231559,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1aabd2548012d7fad0005afe0480011004527..."} 
[2026-11-05 13:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aabd2548012d7fad0005afe0480011004527..."} 
[2026-11-05 13:39:40] local.INFO: Processing buffer {"connection_id":231559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aabd2548012d7fad0005afe0480011004527..."} 
[2026-11-05 13:39:40] local.INFO: Packet analysis {"connection_id":231559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:39:40] local.INFO: Extracted packet for processing {"connection_id":231559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:39:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":17,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229589504001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793865885000,"timestamp_ms":1793865885000,"timestamp_seconds":1793865885,"priority":1,"record_length":96,"hex_timestamp":"000001a1aabd2548"} 
[2026-11-05 13: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-05 13:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 13:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229589504001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229589504001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:39:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:39:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229589504001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":231559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:39:40] local.INFO: GPS data processed {"connection_id":231559,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:39:40] local.INFO: Acknowledgment sent {"connection_id":231559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:39:48] local.INFO: TCP Data received {"connection_id":231560,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231560,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:39:48] local.INFO: Processing buffer {"connection_id":231560,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:39:48] local.INFO: IMEI packet received {"connection_id":231560,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":231560,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:39:49] local.INFO: TCP Data received {"connection_id":230230,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:39:49] local.INFO: Processing buffer {"connection_id":230230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:39:49] local.INFO: Packet analysis {"connection_id":230230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac0"} 
[2026-11-05 13:39:49] local.INFO: Extracted packet for processing {"connection_id":230230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac0"} 
[2026-11-05 13:39:49] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229650944001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793866125000,"timestamp_ms":1793866125000,"timestamp_seconds":1793866125,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac0cec8"} 
[2026-11-05 13: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-05 13:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-05 13:39: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-05 13: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-05 13: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-05 13:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":230230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":230230,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":230230,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229650944001,"66":26658,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229650944001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:39:50] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:39:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229650944001,"power":26658,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":230230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63222,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:39:50] local.INFO: GPS data processed {"connection_id":230230,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:39:50] local.INFO: Acknowledgment sent {"connection_id":230230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:39:54] local.INFO: TCP Data received {"connection_id":231560,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231560,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:39:54] local.INFO: Processing buffer {"connection_id":231560,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:39:54] local.INFO: IMEI packet received {"connection_id":231560,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":231560,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:39:54] local.INFO: TCP Data received {"connection_id":231560,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac1a988012d0b10c00702a1800000014e1b..."} 
[2026-11-05 13:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac1a988012d0b10c00702a1800000014e1b..."} 
[2026-11-05 13:39:54] local.INFO: Processing buffer {"connection_id":231560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac1a988012d0b10c00702a1800000014e1b..."} 
[2026-11-05 13:39:54] local.INFO: Packet analysis {"connection_id":231560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:39:54] local.INFO: Extracted packet for processing {"connection_id":231560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:39:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229665280001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:39: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-05 13:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793866181000,"timestamp_ms":1793866181000,"timestamp_seconds":1793866181,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac1a988"} 
[2026-11-05 13:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 13:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":231560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":231560,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":231560,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229665280001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229665280001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:39:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229665280001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":231560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63223,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:39:54] local.INFO: GPS data processed {"connection_id":231560,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:39:54] local.INFO: Acknowledgment sent {"connection_id":231560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:40:03] local.INFO: TCP Data received {"connection_id":230231,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:40:03] local.INFO: Processing buffer {"connection_id":230231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:40:03] local.INFO: IMEI packet received {"connection_id":230231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":230231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:40:06] local.INFO: TCP Data received {"connection_id":233469,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:40:06] local.INFO: Processing buffer {"connection_id":233469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:40:06] local.INFO: IMEI packet received {"connection_id":233469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":233469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:40:08] local.INFO: TCP Data received {"connection_id":230231,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:40:08] local.INFO: Processing buffer {"connection_id":230231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:40:08] local.INFO: IMEI packet received {"connection_id":230231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":230231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:40:09] local.INFO: TCP Data received {"connection_id":230231,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1aabd2548012d7fad0005afe0480011004527..."} 
[2026-11-05 13:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aabd2548012d7fad0005afe0480011004527..."} 
[2026-11-05 13:40:09] local.INFO: Processing buffer {"connection_id":230231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aabd2548012d7fad0005afe0480011004527..."} 
[2026-11-05 13:40:09] local.INFO: Packet analysis {"connection_id":230231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:40:09] local.INFO: Extracted packet for processing {"connection_id":230231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aabd"} 
[2026-11-05 13:40:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":17,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229589504001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793865885000,"timestamp_ms":1793865885000,"timestamp_seconds":1793865885,"priority":1,"record_length":96,"hex_timestamp":"000001a1aabd2548"} 
[2026-11-05 13:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 13:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:40:09] 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-05 13:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229589504001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229589504001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:40:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:40:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229589504001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":230231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:40:09] local.INFO: GPS data processed {"connection_id":230231,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:40:09] local.INFO: Acknowledgment sent {"connection_id":230231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:40:11] local.INFO: TCP Data received {"connection_id":233469,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:40:11] local.INFO: Processing buffer {"connection_id":233469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:40:11] local.INFO: IMEI packet received {"connection_id":233469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":233469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:40:13] local.INFO: TCP Data received {"connection_id":233469,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:40:13] local.INFO: Processing buffer {"connection_id":233469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:40:13] local.INFO: Packet analysis {"connection_id":233469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac0"} 
[2026-11-05 13:40:13] local.INFO: Extracted packet for processing {"connection_id":233469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac0"} 
[2026-11-05 13:40:13] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229650944001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793866125000,"timestamp_ms":1793866125000,"timestamp_seconds":1793866125,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac0cec8"} 
[2026-11-05 13: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-05 13:40: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-05 13: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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-05 13:40:13] 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-05 13: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-05 13: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-05 13:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":233469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":233469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":233469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229650944001,"66":26658,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229650944001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:40:13] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:40:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229650944001,"power":26658,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":233469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63225,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:40:13] local.INFO: GPS data processed {"connection_id":233469,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:40:13] local.INFO: Acknowledgment sent {"connection_id":233469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:40:26] local.INFO: TCP Data received {"connection_id":231560,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac1a988012d0b10c00702a1800000014e1b..."} 
[2026-11-05 13:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac1a988012d0b10c00702a1800000014e1b..."} 
[2026-11-05 13:40:26] local.INFO: Processing buffer {"connection_id":231560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac1a988012d0b10c00702a1800000014e1b..."} 
[2026-11-05 13:40:26] local.INFO: Packet analysis {"connection_id":231560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:40:26] local.INFO: Extracted packet for processing {"connection_id":231560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:40:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229665280001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:40: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-05 13:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793866181000,"timestamp_ms":1793866181000,"timestamp_seconds":1793866181,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac1a988"} 
[2026-11-05 13:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 13:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231560,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231560,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229665280001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229665280001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:40:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229665280001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":231560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63226,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:40:26] local.INFO: GPS data processed {"connection_id":231560,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:40:26] local.INFO: Acknowledgment sent {"connection_id":231560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:40:40] local.INFO: TCP Data received {"connection_id":230231,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac1bd10012d7fad0005afe0480000004521..."} 
[2026-11-05 13:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac1bd10012d7fad0005afe0480000004521..."} 
[2026-11-05 13:40:40] local.INFO: Processing buffer {"connection_id":230231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac1bd10012d7fad0005afe0480000004521..."} 
[2026-11-05 13:40:40] local.INFO: Packet analysis {"connection_id":230231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:40:40] local.INFO: Extracted packet for processing {"connection_id":230231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:40:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":33,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229666560001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793866186000,"timestamp_ms":1793866186000,"timestamp_seconds":1793866186,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac1bd10"} 
[2026-11-05 13:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:40: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-05 13:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229666560001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229666560001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:40:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:40:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229666560001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":230231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:40:40] local.INFO: GPS data processed {"connection_id":230231,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:40:40] local.INFO: Acknowledgment sent {"connection_id":230231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:40:46] local.INFO: TCP Data received {"connection_id":233469,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:40:46] local.INFO: Processing buffer {"connection_id":233469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:40:46] local.INFO: Packet analysis {"connection_id":233469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac0"} 
[2026-11-05 13:40:46] local.INFO: Extracted packet for processing {"connection_id":233469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac0"} 
[2026-11-05 13:40:46] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229650944001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793866125000,"timestamp_ms":1793866125000,"timestamp_seconds":1793866125,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac0cec8"} 
[2026-11-05 13:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:40: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-05 13:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-05 13:40: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-05 13:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":233469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":233469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":233469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229650944001,"66":26658,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229650944001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:40:46] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:40:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229650944001,"power":26658,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":233469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63228,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:40:46] local.INFO: GPS data processed {"connection_id":233469,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:40:46] local.INFO: Acknowledgment sent {"connection_id":233469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:40:48] local.INFO: TCP Data received {"connection_id":231561,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231561,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:40:48] local.INFO: Processing buffer {"connection_id":231561,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:40:48] local.INFO: IMEI packet received {"connection_id":231561,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":231561,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:40:54] local.INFO: TCP Data received {"connection_id":231561,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231561,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:40:54] local.INFO: Processing buffer {"connection_id":231561,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:40:54] local.INFO: IMEI packet received {"connection_id":231561,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":231561,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:40:54] local.INFO: TCP Data received {"connection_id":231561,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac1a988012d0b10c00702a1800000014e1b..."} 
[2026-11-05 13:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac1a988012d0b10c00702a1800000014e1b..."} 
[2026-11-05 13:40:54] local.INFO: Processing buffer {"connection_id":231561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac1a988012d0b10c00702a1800000014e1b..."} 
[2026-11-05 13:40:54] local.INFO: Packet analysis {"connection_id":231561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:40:54] local.INFO: Extracted packet for processing {"connection_id":231561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:40:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229665280001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:40: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-05 13:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793866181000,"timestamp_ms":1793866181000,"timestamp_seconds":1793866181,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac1a988"} 
[2026-11-05 13:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 13:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":231561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":231561,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":231561,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229665280001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229665280001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:40:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229665280001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":231561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63229,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:40:55] local.INFO: GPS data processed {"connection_id":231561,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:40:55] local.INFO: Acknowledgment sent {"connection_id":231561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:41:03] local.INFO: TCP Data received {"connection_id":230232,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:41:03] local.INFO: Processing buffer {"connection_id":230232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:41:03] local.INFO: IMEI packet received {"connection_id":230232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":230232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:41:08] local.INFO: TCP Data received {"connection_id":230232,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:41:08] local.INFO: Processing buffer {"connection_id":230232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:41:08] local.INFO: IMEI packet received {"connection_id":230232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":230232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:41:09] local.INFO: TCP Data received {"connection_id":230232,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac1bd10012d7fad0005afe0480000004521..."} 
[2026-11-05 13:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac1bd10012d7fad0005afe0480000004521..."} 
[2026-11-05 13:41:09] local.INFO: Processing buffer {"connection_id":230232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac1bd10012d7fad0005afe0480000004521..."} 
[2026-11-05 13:41:09] local.INFO: Packet analysis {"connection_id":230232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:41:09] local.INFO: Extracted packet for processing {"connection_id":230232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:41:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":33,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229666560001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793866186000,"timestamp_ms":1793866186000,"timestamp_seconds":1793866186,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac1bd10"} 
[2026-11-05 13:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229666560001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229666560001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:41:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:41:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229666560001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":230232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:41:09] local.INFO: GPS data processed {"connection_id":230232,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:41:09] local.INFO: Acknowledgment sent {"connection_id":230232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:41:11] local.INFO: TCP Data received {"connection_id":230233,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230233,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:41:11] local.INFO: Processing buffer {"connection_id":230233,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:41:11] local.INFO: IMEI packet received {"connection_id":230233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":230233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:41:16] local.INFO: TCP Data received {"connection_id":230233,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230233,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:41:16] local.INFO: Processing buffer {"connection_id":230233,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:41:16] local.INFO: IMEI packet received {"connection_id":230233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":230233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:41:18] local.INFO: TCP Data received {"connection_id":230233,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:41:18] local.INFO: Processing buffer {"connection_id":230233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:41:18] local.INFO: Packet analysis {"connection_id":230233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac0"} 
[2026-11-05 13:41:18] local.INFO: Extracted packet for processing {"connection_id":230233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac0"} 
[2026-11-05 13:41:18] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229650944001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793866125000,"timestamp_ms":1793866125000,"timestamp_seconds":1793866125,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac0cec8"} 
[2026-11-05 13:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:41:18] 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-05 13:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-05 13:41: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-05 13:41:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230233,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230233,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:41:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229650944001,"66":26658,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229650944001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:41:18] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:41:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229650944001,"power":26658,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":230233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63231,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:41:18] local.INFO: GPS data processed {"connection_id":230233,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:41:18] local.INFO: Acknowledgment sent {"connection_id":230233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:41:21] local.INFO: TCP Data received {"connection_id":230233,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:41:21] local.INFO: Processing buffer {"connection_id":230233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:41:21] local.INFO: Packet analysis {"connection_id":230233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac0"} 
[2026-11-05 13:41:21] local.INFO: Extracted packet for processing {"connection_id":230233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac0"} 
[2026-11-05 13:41:21] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229650944001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793866125000,"timestamp_ms":1793866125000,"timestamp_seconds":1793866125,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac0cec8"} 
[2026-11-05 13: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-05 13:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-05 13:41: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-05 13: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-05 13: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-05 13:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230233,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230233,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229650944001,"66":26658,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229650944001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:41:21] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:41:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229650944001,"power":26658,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":230233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63232,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:41:21] local.INFO: GPS data processed {"connection_id":230233,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:41:21] local.INFO: Acknowledgment sent {"connection_id":230233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:41:25] local.INFO: TCP Data received {"connection_id":231561,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac1a988012d0b10c00702a1800000014e1b..."} 
[2026-11-05 13:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac1a988012d0b10c00702a1800000014e1b..."} 
[2026-11-05 13:41:25] local.INFO: Processing buffer {"connection_id":231561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac1a988012d0b10c00702a1800000014e1b..."} 
[2026-11-05 13:41:25] local.INFO: Packet analysis {"connection_id":231561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:41:25] local.INFO: Extracted packet for processing {"connection_id":231561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:41:25] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229665280001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793866181000,"timestamp_ms":1793866181000,"timestamp_seconds":1793866181,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac1a988"} 
[2026-11-05 13: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-05 13:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 13:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":231561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":231561,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":231561,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229665280001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229665280001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:41:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229665280001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":231561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63233,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:41:26] local.INFO: GPS data processed {"connection_id":231561,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:41:26] local.INFO: Acknowledgment sent {"connection_id":231561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:41:40] local.INFO: TCP Data received {"connection_id":230232,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac1bd10012d7fad0005afe0480000004521..."} 
[2026-11-05 13:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac1bd10012d7fad0005afe0480000004521..."} 
[2026-11-05 13:41:40] local.INFO: Processing buffer {"connection_id":230232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac1bd10012d7fad0005afe0480000004521..."} 
[2026-11-05 13:41:40] local.INFO: Packet analysis {"connection_id":230232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:41:40] local.INFO: Extracted packet for processing {"connection_id":230232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:41:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":33,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229666560001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793866186000,"timestamp_ms":1793866186000,"timestamp_seconds":1793866186,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac1bd10"} 
[2026-11-05 13:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:41: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-05 13:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229666560001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229666560001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:41:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:41:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229666560001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":230232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:41:40] local.INFO: GPS data processed {"connection_id":230232,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:41:40] local.INFO: Acknowledgment sent {"connection_id":230232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:41:48] local.INFO: TCP Data received {"connection_id":229707,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229707,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:41:48] local.INFO: Processing buffer {"connection_id":229707,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:41:48] local.INFO: IMEI packet received {"connection_id":229707,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":229707,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:41:54] local.INFO: TCP Data received {"connection_id":229707,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229707,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:41:54] local.INFO: Processing buffer {"connection_id":229707,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:41:54] local.INFO: IMEI packet received {"connection_id":229707,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":229707,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:41:55] local.INFO: TCP Data received {"connection_id":229707,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac1a988012d0b10c00702a1800000014e1b..."} 
[2026-11-05 13:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac1a988012d0b10c00702a1800000014e1b..."} 
[2026-11-05 13:41:55] local.INFO: Processing buffer {"connection_id":229707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac1a988012d0b10c00702a1800000014e1b..."} 
[2026-11-05 13:41:55] local.INFO: Packet analysis {"connection_id":229707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:41:55] local.INFO: Extracted packet for processing {"connection_id":229707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:41:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229665280001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:41: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-05 13:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793866181000,"timestamp_ms":1793866181000,"timestamp_seconds":1793866181,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac1a988"} 
[2026-11-05 13:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 13:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229707,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229707,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229665280001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229665280001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:41:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229665280001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:41:55] 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":63235,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:41:55] local.INFO: GPS data processed {"connection_id":229707,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:41:55] local.INFO: Acknowledgment sent {"connection_id":229707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:42:03] local.INFO: TCP Data received {"connection_id":229708,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:42:03] local.INFO: Processing buffer {"connection_id":229708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:42:03] local.INFO: IMEI packet received {"connection_id":229708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":229708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:42:06] local.INFO: TCP Data received {"connection_id":229709,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229709,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:42:06] local.INFO: Processing buffer {"connection_id":229709,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:42:06] local.INFO: IMEI packet received {"connection_id":229709,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":229709,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:42:08] local.INFO: TCP Data received {"connection_id":229708,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:42:08] local.INFO: Processing buffer {"connection_id":229708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:42:08] local.INFO: IMEI packet received {"connection_id":229708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":229708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:42:10] local.INFO: TCP Data received {"connection_id":229708,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac1bd10012d7fad0005afe0480000004521..."} 
[2026-11-05 13:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac1bd10012d7fad0005afe0480000004521..."} 
[2026-11-05 13:42:10] local.INFO: Processing buffer {"connection_id":229708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac1bd10012d7fad0005afe0480000004521..."} 
[2026-11-05 13:42:10] local.INFO: Packet analysis {"connection_id":229708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:42:10] local.INFO: Extracted packet for processing {"connection_id":229708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:42:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":33,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229666560001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793866186000,"timestamp_ms":1793866186000,"timestamp_seconds":1793866186,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac1bd10"} 
[2026-11-05 13:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229666560001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229666560001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:42:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229666560001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":229708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:42:10] local.INFO: GPS data processed {"connection_id":229708,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:42:10] local.INFO: Acknowledgment sent {"connection_id":229708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:42:11] local.INFO: TCP Data received {"connection_id":229709,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229709,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:42:11] local.INFO: Processing buffer {"connection_id":229709,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:42:11] local.INFO: IMEI packet received {"connection_id":229709,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":229709,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:42:13] local.INFO: TCP Data received {"connection_id":229709,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:42:13] local.INFO: Processing buffer {"connection_id":229709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:42:13] local.INFO: Packet analysis {"connection_id":229709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac0"} 
[2026-11-05 13:42:13] local.INFO: Extracted packet for processing {"connection_id":229709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac0"} 
[2026-11-05 13:42:13] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 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-05 13:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229650944001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793866125000,"timestamp_ms":1793866125000,"timestamp_seconds":1793866125,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac0cec8"} 
[2026-11-05 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-05 13:42: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-05 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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-05 13:42:13] 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-05 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-05 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-05 13:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229709,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229709,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229650944001,"66":26658,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229650944001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:42:13] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:42:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229650944001,"power":26658,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":229709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63237,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:42:13] local.INFO: GPS data processed {"connection_id":229709,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:42:13] local.INFO: Acknowledgment sent {"connection_id":229709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:42:26] local.INFO: TCP Data received {"connection_id":229707,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac1a988012d0b10c00702a1800000014e1b..."} 
[2026-11-05 13:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac1a988012d0b10c00702a1800000014e1b..."} 
[2026-11-05 13:42:26] local.INFO: Processing buffer {"connection_id":229707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac1a988012d0b10c00702a1800000014e1b..."} 
[2026-11-05 13:42:26] local.INFO: Packet analysis {"connection_id":229707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:42:26] local.INFO: Extracted packet for processing {"connection_id":229707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:42:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229665280001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:42: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-05 13:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793866181000,"timestamp_ms":1793866181000,"timestamp_seconds":1793866181,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac1a988"} 
[2026-11-05 13:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 13:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229707,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229707,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229665280001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229665280001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:42:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229665280001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:42:26] 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":63238,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:42:26] local.INFO: GPS data processed {"connection_id":229707,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:42:26] local.INFO: Acknowledgment sent {"connection_id":229707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:42:41] local.INFO: TCP Data received {"connection_id":229708,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac1bd10012d7fad0005afe0480000004521..."} 
[2026-11-05 13:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac1bd10012d7fad0005afe0480000004521..."} 
[2026-11-05 13:42:41] local.INFO: Processing buffer {"connection_id":229708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac1bd10012d7fad0005afe0480000004521..."} 
[2026-11-05 13:42:41] local.INFO: Packet analysis {"connection_id":229708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:42:41] local.INFO: Extracted packet for processing {"connection_id":229708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:42:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":33,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229666560001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793866186000,"timestamp_ms":1793866186000,"timestamp_seconds":1793866186,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac1bd10"} 
[2026-11-05 13: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-05 13:42: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-05 13:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:42: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-05 13:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229666560001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229666560001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:42:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:42:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229666560001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":229708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:42:41] local.INFO: GPS data processed {"connection_id":229708,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:42:41] local.INFO: Acknowledgment sent {"connection_id":229708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:42:46] local.INFO: TCP Data received {"connection_id":229709,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:42:46] local.INFO: Processing buffer {"connection_id":229709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:42:46] local.INFO: Packet analysis {"connection_id":229709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac0"} 
[2026-11-05 13:42:46] local.INFO: Extracted packet for processing {"connection_id":229709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac0"} 
[2026-11-05 13:42:46] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229650944001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793866125000,"timestamp_ms":1793866125000,"timestamp_seconds":1793866125,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac0cec8"} 
[2026-11-05 13: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-05 13:42: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-05 13: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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-05 13:42: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-05 13: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-05 13: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-05 13:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229709,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229709,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229650944001,"66":26658,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229650944001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:42:46] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:42:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229650944001,"power":26658,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":229709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63240,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:42:46] local.INFO: GPS data processed {"connection_id":229709,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:42:46] local.INFO: Acknowledgment sent {"connection_id":229709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:42:48] local.INFO: TCP Data received {"connection_id":233470,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233470,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:42:48] local.INFO: Processing buffer {"connection_id":233470,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:42:48] local.INFO: IMEI packet received {"connection_id":233470,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":233470,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:42:54] local.INFO: TCP Data received {"connection_id":233470,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233470,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:42:54] local.INFO: Processing buffer {"connection_id":233470,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:42:54] local.INFO: IMEI packet received {"connection_id":233470,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":233470,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:42:54] local.INFO: TCP Data received {"connection_id":233470,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac1a988012d0b10c00702a1800000014e1b..."} 
[2026-11-05 13:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac1a988012d0b10c00702a1800000014e1b..."} 
[2026-11-05 13:42:54] local.INFO: Processing buffer {"connection_id":233470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac1a988012d0b10c00702a1800000014e1b..."} 
[2026-11-05 13:42:54] local.INFO: Packet analysis {"connection_id":233470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:42:54] local.INFO: Extracted packet for processing {"connection_id":233470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:42:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229665280001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:42: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-05 13:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793866181000,"timestamp_ms":1793866181000,"timestamp_seconds":1793866181,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac1a988"} 
[2026-11-05 13: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-05 13:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 13:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":233470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":233470,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":233470,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229665280001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229665280001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:42:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229665280001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":233470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63241,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:42:55] local.INFO: GPS data processed {"connection_id":233470,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:42:55] local.INFO: Acknowledgment sent {"connection_id":233470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:43:06] local.INFO: TCP Data received {"connection_id":231562,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231562,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:43:06] local.INFO: Processing buffer {"connection_id":231562,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:43:06] local.INFO: IMEI packet received {"connection_id":231562,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":231562,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:43:08] local.INFO: TCP Data received {"connection_id":230234,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:43:08] local.INFO: Processing buffer {"connection_id":230234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:43:08] local.INFO: IMEI packet received {"connection_id":230234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":230234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:43:11] local.INFO: TCP Data received {"connection_id":231562,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231562,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:43:11] local.INFO: Processing buffer {"connection_id":231562,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:43:11] local.INFO: IMEI packet received {"connection_id":231562,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":231562,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:43:13] local.INFO: TCP Data received {"connection_id":230234,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:43:13] local.INFO: Processing buffer {"connection_id":230234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:43:13] local.INFO: IMEI packet received {"connection_id":230234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":230234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:43:14] local.INFO: TCP Data received {"connection_id":230234,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac1bd10012d7fad0005afe0480000004521..."} 
[2026-11-05 13:43:14] local.INFO: TCP Data received {"connection_id":231562,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac1bd10012d7fad0005afe0480000004521..."} 
[2026-11-05 13:43:14] local.INFO: Processing buffer {"connection_id":230234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac1bd10012d7fad0005afe0480000004521..."} 
[2026-11-05 13:43:14] local.INFO: Packet analysis {"connection_id":230234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:43:14] local.INFO: Extracted packet for processing {"connection_id":230234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:43:14] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":33,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229666560001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793866186000,"timestamp_ms":1793866186000,"timestamp_seconds":1793866186,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac1bd10"} 
[2026-11-05 13: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-05 13:43: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-05 13: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:43:14] local.INFO: Processing buffer {"connection_id":231562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:43:14] local.INFO: Packet analysis {"connection_id":231562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac0"} 
[2026-11-05 13:43:14] 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-05 13:43:14] local.INFO: Extracted packet for processing {"connection_id":231562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac0"} 
[2026-11-05 13:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:43:14] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229650944001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793866125000,"timestamp_ms":1793866125000,"timestamp_seconds":1793866125,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac0cec8"} 
[2026-11-05 13: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-05 13:43: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-05 13: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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-05 13:43:14] 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-05 13:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13: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-05 13: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-05 13:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":231562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":231562,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":231562,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229666560001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229666560001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:43:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:43:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229666560001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229650944001,"66":26658,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229650944001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:43:14] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:43:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229650944001,"power":26658,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":230234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:43:14] local.INFO: GPS data processed {"connection_id":230234,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:43:14] local.INFO: Acknowledgment sent {"connection_id":230234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":231562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63243,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:43:14] local.INFO: GPS data processed {"connection_id":231562,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:43:14] local.INFO: Acknowledgment sent {"connection_id":231562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:43:19] local.INFO: TCP Data received {"connection_id":230234,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac1bd10012d7fad0005afe0480000004521..."} 
[2026-11-05 13:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac1bd10012d7fad0005afe0480000004521..."} 
[2026-11-05 13:43:19] local.INFO: Processing buffer {"connection_id":230234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac1bd10012d7fad0005afe0480000004521..."} 
[2026-11-05 13:43:19] local.INFO: Packet analysis {"connection_id":230234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:43:19] local.INFO: Extracted packet for processing {"connection_id":230234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:43:19] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":33,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229666560001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793866186000,"timestamp_ms":1793866186000,"timestamp_seconds":1793866186,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac1bd10"} 
[2026-11-05 13:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:43: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-05 13:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:43: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-05 13:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:43:19] 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-05 13:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229666560001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229666560001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:43:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:43:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229666560001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":230234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:43:19] local.INFO: GPS data processed {"connection_id":230234,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:43:19] local.INFO: Acknowledgment sent {"connection_id":230234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:43:26] local.INFO: TCP Data received {"connection_id":233470,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac1a988012d0b10c00702a1800000014e1b..."} 
[2026-11-05 13:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac1a988012d0b10c00702a1800000014e1b..."} 
[2026-11-05 13:43:26] local.INFO: Processing buffer {"connection_id":233470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac1a988012d0b10c00702a1800000014e1b..."} 
[2026-11-05 13:43:26] local.INFO: Packet analysis {"connection_id":233470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:43:26] local.INFO: Extracted packet for processing {"connection_id":233470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:43:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229665280001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:43: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-05 13:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793866181000,"timestamp_ms":1793866181000,"timestamp_seconds":1793866181,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac1a988"} 
[2026-11-05 13:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 13:43:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233470,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233470,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229665280001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229665280001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:43:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229665280001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":233470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63245,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:43:26] local.INFO: GPS data processed {"connection_id":233470,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:43:26] local.INFO: Acknowledgment sent {"connection_id":233470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:43:46] local.INFO: TCP Data received {"connection_id":231562,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:43:46] local.INFO: Processing buffer {"connection_id":231562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:43:46] local.INFO: Packet analysis {"connection_id":231562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac0"} 
[2026-11-05 13:43:46] local.INFO: Extracted packet for processing {"connection_id":231562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac0"} 
[2026-11-05 13:43:46] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229650944001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793866125000,"timestamp_ms":1793866125000,"timestamp_seconds":1793866125,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac0cec8"} 
[2026-11-05 13: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-05 13:43: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-05 13: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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-05 13:43: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-05 13: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-05 13: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-05 13:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":231562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":231562,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":231562,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229650944001,"66":26658,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229650944001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:43:46] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:43:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229650944001,"power":26658,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":231562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63246,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:43:46] local.INFO: GPS data processed {"connection_id":231562,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:43:46] local.INFO: Acknowledgment sent {"connection_id":231562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:43:48] local.INFO: TCP Data received {"connection_id":230235,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230235,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:43:48] local.INFO: Processing buffer {"connection_id":230235,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:43:48] local.INFO: IMEI packet received {"connection_id":230235,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":230235,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:43:54] local.INFO: TCP Data received {"connection_id":230235,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230235,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:43:54] local.INFO: Processing buffer {"connection_id":230235,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:43:54] local.INFO: IMEI packet received {"connection_id":230235,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":230235,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:43:54] local.INFO: TCP Data received {"connection_id":230235,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac1a988012d0b10c00702a1800000014e1b..."} 
[2026-11-05 13:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac1a988012d0b10c00702a1800000014e1b..."} 
[2026-11-05 13:43:54] local.INFO: Processing buffer {"connection_id":230235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac1a988012d0b10c00702a1800000014e1b..."} 
[2026-11-05 13:43:54] local.INFO: Packet analysis {"connection_id":230235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:43:54] local.INFO: Extracted packet for processing {"connection_id":230235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:43:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229665280001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:43: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-05 13:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793866181000,"timestamp_ms":1793866181000,"timestamp_seconds":1793866181,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac1a988"} 
[2026-11-05 13:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 13:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":230235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":230235,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":230235,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229665280001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229665280001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:43:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229665280001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":230235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63247,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:43:55] local.INFO: GPS data processed {"connection_id":230235,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:43:55] local.INFO: Acknowledgment sent {"connection_id":230235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:44:03] local.INFO: TCP Data received {"connection_id":231563,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:44:03] local.INFO: Processing buffer {"connection_id":231563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:44:03] local.INFO: IMEI packet received {"connection_id":231563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":231563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:44:08] local.INFO: TCP Data received {"connection_id":231563,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:44:08] local.INFO: Processing buffer {"connection_id":231563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:44:08] local.INFO: IMEI packet received {"connection_id":231563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":231563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:44:09] local.INFO: TCP Data received {"connection_id":231563,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac1bd10012d7fad0005afe0480000004521..."} 
[2026-11-05 13:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac1bd10012d7fad0005afe0480000004521..."} 
[2026-11-05 13:44:09] local.INFO: Processing buffer {"connection_id":231563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac1bd10012d7fad0005afe0480000004521..."} 
[2026-11-05 13:44:09] local.INFO: Packet analysis {"connection_id":231563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:44:09] local.INFO: Extracted packet for processing {"connection_id":231563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:44:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":33,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:44: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-05 13:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229666560001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793866186000,"timestamp_ms":1793866186000,"timestamp_seconds":1793866186,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac1bd10"} 
[2026-11-05 13:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:44: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":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:44: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-05 13:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:44:09] 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-05 13:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229666560001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229666560001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:44:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:44:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229666560001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":231563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:44:09] local.INFO: GPS data processed {"connection_id":231563,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:44:09] local.INFO: Acknowledgment sent {"connection_id":231563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:44:11] local.INFO: TCP Data received {"connection_id":231564,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:44:11] local.INFO: Processing buffer {"connection_id":231564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:44:11] local.INFO: IMEI packet received {"connection_id":231564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":231564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:44:16] local.INFO: TCP Data received {"connection_id":231564,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:44:16] local.INFO: Processing buffer {"connection_id":231564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:44:16] local.INFO: IMEI packet received {"connection_id":231564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":231564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:44:18] local.INFO: TCP Data received {"connection_id":231564,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:44:18] local.INFO: Processing buffer {"connection_id":231564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:44:18] local.INFO: Packet analysis {"connection_id":231564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac0"} 
[2026-11-05 13:44:18] local.INFO: Extracted packet for processing {"connection_id":231564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac0"} 
[2026-11-05 13:44:18] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229650944001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793866125000,"timestamp_ms":1793866125000,"timestamp_seconds":1793866125,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac0cec8"} 
[2026-11-05 13: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-05 13:44:18] 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-05 13: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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-05 13:44: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-05 13: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-05 13: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-05 13:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":231564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":231564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":231564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229650944001,"66":26658,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229650944001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:44:18] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:44:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229650944001,"power":26658,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":231564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63249,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:44:18] local.INFO: GPS data processed {"connection_id":231564,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:44:18] local.INFO: Acknowledgment sent {"connection_id":231564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:44:22] local.INFO: TCP Data received {"connection_id":231564,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:44:22] local.INFO: Processing buffer {"connection_id":231564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac0cec8012d488280069630e8003f00572b..."} 
[2026-11-05 13:44:22] local.INFO: Packet analysis {"connection_id":231564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac0"} 
[2026-11-05 13:44:22] local.INFO: Extracted packet for processing {"connection_id":231564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac0"} 
[2026-11-05 13:44:22] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229650944001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793866125000,"timestamp_ms":1793866125000,"timestamp_seconds":1793866125,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac0cec8"} 
[2026-11-05 13: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-05 13:44:22] 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-05 13: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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-05 13:44:22] 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-05 13: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-05 13: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-05 13:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":231564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":231564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":231564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229650944001,"66":26658,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229650944001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:44:22] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:44:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229650944001,"power":26658,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":231564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63250,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:44:22] local.INFO: GPS data processed {"connection_id":231564,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:44:22] local.INFO: Acknowledgment sent {"connection_id":231564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:44:28] local.INFO: TCP Data received {"connection_id":230235,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac1a988012d0b10c00702a1800000014e1b..."} 
[2026-11-05 13:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac1a988012d0b10c00702a1800000014e1b..."} 
[2026-11-05 13:44:28] local.INFO: Processing buffer {"connection_id":230235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac1a988012d0b10c00702a1800000014e1b..."} 
[2026-11-05 13:44:28] local.INFO: Packet analysis {"connection_id":230235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:44:28] local.INFO: Extracted packet for processing {"connection_id":230235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:44:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229665280001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:44: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-05 13:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1793866181000,"timestamp_ms":1793866181000,"timestamp_seconds":1793866181,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac1a988"} 
[2026-11-05 13:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 13:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:44:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":230235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":230235,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":230235,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229665280001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229665280001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:44:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229665280001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":230235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63251,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:44:29] local.INFO: GPS data processed {"connection_id":230235,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:44:29] local.INFO: Acknowledgment sent {"connection_id":230235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:44:40] local.INFO: TCP Data received {"connection_id":231563,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac1bd10012d7fad0005afe0480000004521..."} 
[2026-11-05 13:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac1bd10012d7fad0005afe0480000004521..."} 
[2026-11-05 13:44:40] local.INFO: Processing buffer {"connection_id":231563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac1bd10012d7fad0005afe0480000004521..."} 
[2026-11-05 13:44:40] local.INFO: Packet analysis {"connection_id":231563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:44:40] local.INFO: Extracted packet for processing {"connection_id":231563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:44:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":33,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229666560001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793866186000,"timestamp_ms":1793866186000,"timestamp_seconds":1793866186,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac1bd10"} 
[2026-11-05 13:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229666560001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229666560001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:44:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:44:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229666560001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":231563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:44:40] local.INFO: GPS data processed {"connection_id":231563,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:44:40] local.INFO: Acknowledgment sent {"connection_id":231563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:44:56] local.INFO: TCP Data received {"connection_id":229710,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229710,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:44:56] local.INFO: Processing buffer {"connection_id":229710,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:44:56] local.INFO: IMEI packet received {"connection_id":229710,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":229710,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:44:58] local.INFO: TCP Data received {"connection_id":229710,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229710,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:44:58] local.INFO: Processing buffer {"connection_id":229710,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:44:58] local.INFO: IMEI packet received {"connection_id":229710,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":229710,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:44:59] local.INFO: TCP Data received {"connection_id":229710,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:44:59] local.INFO: Processing buffer {"connection_id":229710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:44:59] local.INFO: Packet analysis {"connection_id":229710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:44:59] local.INFO: Extracted packet for processing {"connection_id":229710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:44:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229742336001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:44: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-05 13:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793866482000,"timestamp_ms":1793866482000,"timestamp_seconds":1793866482,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac64150"} 
[2026-11-05 13:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 13:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":229710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":229710,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":229710,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229742336001,"66":12613,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229742336001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:44:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229742336001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:44:59] 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":63253,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:44:59] local.INFO: GPS data processed {"connection_id":229710,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:44:59] local.INFO: Acknowledgment sent {"connection_id":229710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:45:03] local.INFO: TCP Data received {"connection_id":231565,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:45:03] local.INFO: Processing buffer {"connection_id":231565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:45:03] local.INFO: IMEI packet received {"connection_id":231565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":231565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:45:06] local.INFO: TCP Data received {"connection_id":229710,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:45:06] local.INFO: Processing buffer {"connection_id":229710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:45:06] local.INFO: Packet analysis {"connection_id":229710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:45:06] local.INFO: Extracted packet for processing {"connection_id":229710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:45:06] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229742336001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:45:06] 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-05 13:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1793866482000,"timestamp_ms":1793866482000,"timestamp_seconds":1793866482,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac64150"} 
[2026-11-05 13:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 13:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":229710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":229710,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":229710,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229742336001,"66":12613,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229742336001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:45:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229742336001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:45:06] 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":63254,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:45:06] local.INFO: GPS data processed {"connection_id":229710,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:45:06] local.INFO: Acknowledgment sent {"connection_id":229710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:45:06] local.INFO: TCP Data received {"connection_id":231566,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:45:06] local.INFO: Processing buffer {"connection_id":231566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:45:06] local.INFO: IMEI packet received {"connection_id":231566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":231566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:45:08] local.INFO: TCP Data received {"connection_id":231565,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:45:08] local.INFO: Processing buffer {"connection_id":231565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:45:08] local.INFO: IMEI packet received {"connection_id":231565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":231565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:45:09] local.INFO: TCP Data received {"connection_id":231565,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac1bd10012d7fad0005afe0480000004521..."} 
[2026-11-05 13:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac1bd10012d7fad0005afe0480000004521..."} 
[2026-11-05 13:45:09] local.INFO: Processing buffer {"connection_id":231565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac1bd10012d7fad0005afe0480000004521..."} 
[2026-11-05 13:45:09] local.INFO: Packet analysis {"connection_id":231565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:45:09] local.INFO: Extracted packet for processing {"connection_id":231565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac1"} 
[2026-11-05 13:45:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":33,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229666560001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793866186000,"timestamp_ms":1793866186000,"timestamp_seconds":1793866186,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac1bd10"} 
[2026-11-05 13: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-05 13:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13: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-05 13: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-05 13:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:45:09] 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-05 13:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229666560001,"66":25375,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229666560001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:45:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:45:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229666560001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":231565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:45:09] local.INFO: GPS data processed {"connection_id":231565,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:45:09] local.INFO: Acknowledgment sent {"connection_id":231565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:45:12] local.INFO: TCP Data received {"connection_id":231566,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:45:12] local.INFO: Processing buffer {"connection_id":231566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:45:12] local.INFO: IMEI packet received {"connection_id":231566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":231566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:45:15] local.INFO: TCP Data received {"connection_id":231566,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac56690012d488280069630e8003f00572b..."} 
[2026-11-05 13:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac56690012d488280069630e8003f00572b..."} 
[2026-11-05 13:45:15] local.INFO: Processing buffer {"connection_id":231566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac56690012d488280069630e8003f00572b..."} 
[2026-11-05 13:45:15] local.INFO: Packet analysis {"connection_id":231566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac5"} 
[2026-11-05 13:45:15] local.INFO: Extracted packet for processing {"connection_id":231566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac5"} 
[2026-11-05 13:45:15] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229728000001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793866426000,"timestamp_ms":1793866426000,"timestamp_seconds":1793866426,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac56690"} 
[2026-11-05 13: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-05 13:45: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-05 13: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":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-11-05 13:45:15] 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-05 13: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-05 13: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-05 13:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":231566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":231566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":231566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229728000001,"66":26615,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229728000001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:45:15] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:45:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229728000001,"power":26615,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":231566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63256,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:45:15] local.INFO: GPS data processed {"connection_id":231566,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:45:15] local.INFO: Acknowledgment sent {"connection_id":231566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:45:41] local.INFO: TCP Data received {"connection_id":231565,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac654d8012d7fad0005afe0480017004528..."} 
[2026-11-05 13:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac654d8012d7fad0005afe0480017004528..."} 
[2026-11-05 13:45:41] local.INFO: Processing buffer {"connection_id":231565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac654d8012d7fad0005afe0480017004528..."} 
[2026-11-05 13:45:41] local.INFO: Packet analysis {"connection_id":231565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:45:41] local.INFO: Extracted packet for processing {"connection_id":231565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:45:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229743616001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793866487000,"timestamp_ms":1793866487000,"timestamp_seconds":1793866487,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac654d8"} 
[2026-11-05 13: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-05 13: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-05 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:45: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-05 13:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229743616001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229743616001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:45:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:45:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229743616001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":231565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:45:41] local.INFO: GPS data processed {"connection_id":231565,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:45:41] local.INFO: Acknowledgment sent {"connection_id":231565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:45:47] local.INFO: TCP Data received {"connection_id":231566,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac56690012d488280069630e8003f00572b..."} 
[2026-11-05 13:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac56690012d488280069630e8003f00572b..."} 
[2026-11-05 13:45:47] local.INFO: Processing buffer {"connection_id":231566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac56690012d488280069630e8003f00572b..."} 
[2026-11-05 13:45:47] local.INFO: Packet analysis {"connection_id":231566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac5"} 
[2026-11-05 13:45:47] local.INFO: Extracted packet for processing {"connection_id":231566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac5"} 
[2026-11-05 13:45:47] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229728000001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793866426000,"timestamp_ms":1793866426000,"timestamp_seconds":1793866426,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac56690"} 
[2026-11-05 13: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-05 13:45: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-05 13: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":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-11-05 13:45:47] 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-05 13: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-05 13: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-05 13:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":231566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":231566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":231566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229728000001,"66":26615,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229728000001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:45:47] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:45:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229728000001,"power":26615,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":231566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63258,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:45:47] local.INFO: GPS data processed {"connection_id":231566,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:45:47] local.INFO: Acknowledgment sent {"connection_id":231566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:45:50] local.INFO: TCP Data received {"connection_id":229711,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229711,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:45:50] local.INFO: Processing buffer {"connection_id":229711,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:45:50] local.INFO: IMEI packet received {"connection_id":229711,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":229711,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:45:54] local.INFO: TCP Data received {"connection_id":229711,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229711,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:45:54] local.INFO: Processing buffer {"connection_id":229711,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:45:54] local.INFO: IMEI packet received {"connection_id":229711,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":229711,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:45:55] local.INFO: TCP Data received {"connection_id":229711,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:45:55] local.INFO: Processing buffer {"connection_id":229711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:45:55] local.INFO: Packet analysis {"connection_id":229711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:45:55] local.INFO: Extracted packet for processing {"connection_id":229711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:45:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229742336001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:45: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-05 13:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793866482000,"timestamp_ms":1793866482000,"timestamp_seconds":1793866482,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac64150"} 
[2026-11-05 13:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 13:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229711,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229711,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229742336001,"66":12613,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229742336001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:45:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229742336001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":229711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63259,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:45:55] local.INFO: GPS data processed {"connection_id":229711,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:45:55] local.INFO: Acknowledgment sent {"connection_id":229711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:45:59] local.INFO: TCP Data received {"connection_id":229711,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:45:59] local.INFO: Processing buffer {"connection_id":229711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:45:59] local.INFO: Packet analysis {"connection_id":229711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:45:59] local.INFO: Extracted packet for processing {"connection_id":229711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:45:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229742336001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:45: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-05 13:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793866482000,"timestamp_ms":1793866482000,"timestamp_seconds":1793866482,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac64150"} 
[2026-11-05 13:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 13:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":229711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":229711,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":229711,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229742336001,"66":12613,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229742336001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:45:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229742336001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":229711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63260,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:45:59] local.INFO: GPS data processed {"connection_id":229711,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:45:59] local.INFO: Acknowledgment sent {"connection_id":229711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:46:03] local.INFO: TCP Data received {"connection_id":231567,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:46:03] local.INFO: Processing buffer {"connection_id":231567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:46:03] local.INFO: IMEI packet received {"connection_id":231567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":231567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:46:08] local.INFO: TCP Data received {"connection_id":231567,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:46:08] local.INFO: Processing buffer {"connection_id":231567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:46:08] local.INFO: IMEI packet received {"connection_id":231567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":231567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:46:09] local.INFO: TCP Data received {"connection_id":231567,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac654d8012d7fad0005afe0480017004528..."} 
[2026-11-05 13:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac654d8012d7fad0005afe0480017004528..."} 
[2026-11-05 13:46:09] local.INFO: Processing buffer {"connection_id":231567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac654d8012d7fad0005afe0480017004528..."} 
[2026-11-05 13:46:09] local.INFO: Packet analysis {"connection_id":231567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:46:09] local.INFO: Extracted packet for processing {"connection_id":231567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:46:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229743616001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793866487000,"timestamp_ms":1793866487000,"timestamp_seconds":1793866487,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac654d8"} 
[2026-11-05 13:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:46:09] 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-05 13:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229743616001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229743616001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:46:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:46:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229743616001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":231567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:46:09] local.INFO: GPS data processed {"connection_id":231567,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:46:09] local.INFO: Acknowledgment sent {"connection_id":231567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:46:25] local.INFO: TCP Data received {"connection_id":233471,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233471,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:46:26] local.INFO: Processing buffer {"connection_id":233471,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:46:26] local.INFO: IMEI packet received {"connection_id":233471,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":233471,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:46:26] local.INFO: TCP Data received {"connection_id":233471,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233471,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:46:26] local.INFO: Processing buffer {"connection_id":233471,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:46:26] local.INFO: IMEI packet received {"connection_id":233471,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":233471,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:46:29] local.INFO: TCP Data received {"connection_id":233471,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac56690012d488280069630e8003f00572b..."} 
[2026-11-05 13:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac56690012d488280069630e8003f00572b..."} 
[2026-11-05 13:46:29] local.INFO: Processing buffer {"connection_id":233471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac56690012d488280069630e8003f00572b..."} 
[2026-11-05 13:46:29] local.INFO: Packet analysis {"connection_id":233471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac5"} 
[2026-11-05 13:46:29] local.INFO: Extracted packet for processing {"connection_id":233471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac5"} 
[2026-11-05 13:46:29] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229728000001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793866426000,"timestamp_ms":1793866426000,"timestamp_seconds":1793866426,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac56690"} 
[2026-11-05 13: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-05 13:46: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-05 13: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":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-11-05 13:46:29] 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-05 13: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-05 13: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-05 13:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":233471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":233471,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":233471,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:46:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229728000001,"66":26615,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229728000001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:46:29] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:46:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229728000001,"power":26615,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":233471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63262,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:46:29] local.INFO: GPS data processed {"connection_id":233471,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:46:29] local.INFO: Acknowledgment sent {"connection_id":233471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:46:30] local.INFO: TCP Data received {"connection_id":229711,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:46:30] local.INFO: Processing buffer {"connection_id":229711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:46:30] local.INFO: Packet analysis {"connection_id":229711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:46:30] local.INFO: Extracted packet for processing {"connection_id":229711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:46:30] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229742336001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:46:30] 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-05 13:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793866482000,"timestamp_ms":1793866482000,"timestamp_seconds":1793866482,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac64150"} 
[2026-11-05 13:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 13:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":229711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":229711,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":229711,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229742336001,"66":12613,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229742336001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:46:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229742336001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":229711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63263,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:46:30] local.INFO: GPS data processed {"connection_id":229711,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:46:30] local.INFO: Acknowledgment sent {"connection_id":229711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:46:31] local.INFO: TCP Data received {"connection_id":233471,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac56690012d488280069630e8003f00572b..."} 
[2026-11-05 13:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac56690012d488280069630e8003f00572b..."} 
[2026-11-05 13:46:31] local.INFO: Processing buffer {"connection_id":233471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac56690012d488280069630e8003f00572b..."} 
[2026-11-05 13:46:31] local.INFO: Packet analysis {"connection_id":233471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac5"} 
[2026-11-05 13:46:31] local.INFO: Extracted packet for processing {"connection_id":233471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac5"} 
[2026-11-05 13:46:31] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229728000001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793866426000,"timestamp_ms":1793866426000,"timestamp_seconds":1793866426,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac56690"} 
[2026-11-05 13:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:46:31] 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-05 13:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-11-05 13:46:31] 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-05 13:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":233471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":233471,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":233471,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229728000001,"66":26615,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229728000001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:46:31] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:46:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229728000001,"power":26615,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":233471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63264,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:46:31] local.INFO: GPS data processed {"connection_id":233471,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:46:31] local.INFO: Acknowledgment sent {"connection_id":233471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:46:41] local.INFO: TCP Data received {"connection_id":231567,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac654d8012d7fad0005afe0480017004528..."} 
[2026-11-05 13:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac654d8012d7fad0005afe0480017004528..."} 
[2026-11-05 13:46:41] local.INFO: Processing buffer {"connection_id":231567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac654d8012d7fad0005afe0480017004528..."} 
[2026-11-05 13:46:41] local.INFO: Packet analysis {"connection_id":231567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:46:41] local.INFO: Extracted packet for processing {"connection_id":231567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:46:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229743616001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793866487000,"timestamp_ms":1793866487000,"timestamp_seconds":1793866487,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac654d8"} 
[2026-11-05 13:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:46: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-05 13:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:46: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-05 13:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229743616001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229743616001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:46:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:46:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229743616001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":231567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:46:41] local.INFO: GPS data processed {"connection_id":231567,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:46:41] local.INFO: Acknowledgment sent {"connection_id":231567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:46:48] local.INFO: TCP Data received {"connection_id":229712,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229712,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:46:48] local.INFO: Processing buffer {"connection_id":229712,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:46:48] local.INFO: IMEI packet received {"connection_id":229712,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":229712,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:46:54] local.INFO: TCP Data received {"connection_id":229712,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229712,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:46:54] local.INFO: Processing buffer {"connection_id":229712,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:46:54] local.INFO: IMEI packet received {"connection_id":229712,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":229712,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:46:54] local.INFO: TCP Data received {"connection_id":229712,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:46:54] local.INFO: Processing buffer {"connection_id":229712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:46:54] local.INFO: Packet analysis {"connection_id":229712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:46:54] local.INFO: Extracted packet for processing {"connection_id":229712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:46:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229742336001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:46: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-05 13:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793866482000,"timestamp_ms":1793866482000,"timestamp_seconds":1793866482,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac64150"} 
[2026-11-05 13: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-05 13:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 13:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":229712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":229712,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":229712,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229742336001,"66":12613,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229742336001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:46:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229742336001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:46:55] 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":63266,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:46:55] local.INFO: GPS data processed {"connection_id":229712,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:46:55] local.INFO: Acknowledgment sent {"connection_id":229712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:47:03] local.INFO: TCP Data received {"connection_id":233473,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:47:03] local.INFO: Processing buffer {"connection_id":233473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:47:03] local.INFO: IMEI packet received {"connection_id":233473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":233473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:47:06] local.INFO: TCP Data received {"connection_id":233472,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:47:06] local.INFO: Processing buffer {"connection_id":233472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:47:06] local.INFO: IMEI packet received {"connection_id":233472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":233472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:47:08] local.INFO: TCP Data received {"connection_id":233473,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:47:08] local.INFO: Processing buffer {"connection_id":233473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:47:08] local.INFO: IMEI packet received {"connection_id":233473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":233473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:47:09] local.INFO: TCP Data received {"connection_id":233473,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac654d8012d7fad0005afe0480017004528..."} 
[2026-11-05 13:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac654d8012d7fad0005afe0480017004528..."} 
[2026-11-05 13:47:09] local.INFO: Processing buffer {"connection_id":233473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac654d8012d7fad0005afe0480017004528..."} 
[2026-11-05 13:47:09] local.INFO: Packet analysis {"connection_id":233473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:47:09] local.INFO: Extracted packet for processing {"connection_id":233473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:47:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229743616001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793866487000,"timestamp_ms":1793866487000,"timestamp_seconds":1793866487,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac654d8"} 
[2026-11-05 13: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-05 13:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13: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-05 13: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-05 13:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:47:09] local.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-05 13:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229743616001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229743616001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:47:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:47:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229743616001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":233473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:47:09] local.INFO: GPS data processed {"connection_id":233473,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:47:09] local.INFO: Acknowledgment sent {"connection_id":233473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:47:11] local.INFO: TCP Data received {"connection_id":233472,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:47:11] local.INFO: Processing buffer {"connection_id":233472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:47:11] local.INFO: IMEI packet received {"connection_id":233472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":233472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:47:14] local.INFO: TCP Data received {"connection_id":233472,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac56690012d488280069630e8003f00572b..."} 
[2026-11-05 13:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac56690012d488280069630e8003f00572b..."} 
[2026-11-05 13:47:14] local.INFO: Processing buffer {"connection_id":233472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac56690012d488280069630e8003f00572b..."} 
[2026-11-05 13:47:14] local.INFO: Packet analysis {"connection_id":233472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac5"} 
[2026-11-05 13:47:14] local.INFO: Extracted packet for processing {"connection_id":233472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac5"} 
[2026-11-05 13:47:14] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229728000001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793866426000,"timestamp_ms":1793866426000,"timestamp_seconds":1793866426,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac56690"} 
[2026-11-05 13: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-05 13:47: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-05 13: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":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-11-05 13:47:14] 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-05 13: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-05 13: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-05 13:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229728000001,"66":26615,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229728000001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:47:14] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:47:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229728000001,"power":26615,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":233472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63268,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:47:14] local.INFO: GPS data processed {"connection_id":233472,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:47:14] local.INFO: Acknowledgment sent {"connection_id":233472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:47:26] local.INFO: TCP Data received {"connection_id":229712,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:47:26] local.INFO: Processing buffer {"connection_id":229712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:47:26] local.INFO: Packet analysis {"connection_id":229712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:47:26] local.INFO: Extracted packet for processing {"connection_id":229712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:47:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229742336001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:47: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-05 13:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793866482000,"timestamp_ms":1793866482000,"timestamp_seconds":1793866482,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac64150"} 
[2026-11-05 13: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-05 13:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 13:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229712,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229712,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229742336001,"66":12613,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229742336001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:47:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229742336001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:47:26] 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":63269,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:47:26] local.INFO: GPS data processed {"connection_id":229712,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:47:26] local.INFO: Acknowledgment sent {"connection_id":229712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:47:40] local.INFO: TCP Data received {"connection_id":233473,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac654d8012d7fad0005afe0480017004528..."} 
[2026-11-05 13:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac654d8012d7fad0005afe0480017004528..."} 
[2026-11-05 13:47:40] local.INFO: Processing buffer {"connection_id":233473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac654d8012d7fad0005afe0480017004528..."} 
[2026-11-05 13:47:40] local.INFO: Packet analysis {"connection_id":233473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:47:40] local.INFO: Extracted packet for processing {"connection_id":233473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:47:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229743616001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793866487000,"timestamp_ms":1793866487000,"timestamp_seconds":1793866487,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac654d8"} 
[2026-11-05 13:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229743616001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229743616001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:47:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:47:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229743616001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":233473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:47:40] local.INFO: GPS data processed {"connection_id":233473,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:47:40] local.INFO: Acknowledgment sent {"connection_id":233473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:47:47] local.INFO: TCP Data received {"connection_id":233472,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac56690012d488280069630e8003f00572b..."} 
[2026-11-05 13:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac56690012d488280069630e8003f00572b..."} 
[2026-11-05 13:47:47] local.INFO: Processing buffer {"connection_id":233472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac56690012d488280069630e8003f00572b..."} 
[2026-11-05 13:47:47] local.INFO: Packet analysis {"connection_id":233472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac5"} 
[2026-11-05 13:47:47] local.INFO: Extracted packet for processing {"connection_id":233472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac5"} 
[2026-11-05 13:47:47] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229728000001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793866426000,"timestamp_ms":1793866426000,"timestamp_seconds":1793866426,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac56690"} 
[2026-11-05 13: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-05 13:47: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-05 13: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":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-11-05 13:47:47] 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-05 13: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-05 13: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-05 13:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":233472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":233472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":233472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229728000001,"66":26615,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229728000001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:47:47] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:47:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229728000001,"power":26615,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":233472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63271,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:47:47] local.INFO: GPS data processed {"connection_id":233472,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:47:47] local.INFO: Acknowledgment sent {"connection_id":233472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:47:48] local.INFO: TCP Data received {"connection_id":231568,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231568,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:47:48] local.INFO: Processing buffer {"connection_id":231568,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:47:48] local.INFO: IMEI packet received {"connection_id":231568,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":231568,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:47:54] local.INFO: TCP Data received {"connection_id":231568,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231568,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:47:54] local.INFO: Processing buffer {"connection_id":231568,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:47:54] local.INFO: IMEI packet received {"connection_id":231568,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":231568,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:47:54] local.INFO: TCP Data received {"connection_id":231568,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:47:54] local.INFO: Processing buffer {"connection_id":231568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:47:54] local.INFO: Packet analysis {"connection_id":231568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:47:54] local.INFO: Extracted packet for processing {"connection_id":231568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:47:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229742336001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:47: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-05 13:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793866482000,"timestamp_ms":1793866482000,"timestamp_seconds":1793866482,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac64150"} 
[2026-11-05 13:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 13:47:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:47:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":231568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":231568,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":231568,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229742336001,"66":12613,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229742336001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:47:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229742336001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":231568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63272,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:47:55] local.INFO: GPS data processed {"connection_id":231568,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:47:55] local.INFO: Acknowledgment sent {"connection_id":231568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:48:06] local.INFO: TCP Data received {"connection_id":230237,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230237,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:48:06] local.INFO: Processing buffer {"connection_id":230237,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:48:06] local.INFO: IMEI packet received {"connection_id":230237,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":230237,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:48:08] local.INFO: TCP Data received {"connection_id":230236,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:48:08] local.INFO: Processing buffer {"connection_id":230236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:48:08] local.INFO: IMEI packet received {"connection_id":230236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":230236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:48:11] local.INFO: TCP Data received {"connection_id":230237,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230237,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:48:11] local.INFO: Processing buffer {"connection_id":230237,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:48:11] local.INFO: IMEI packet received {"connection_id":230237,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":230237,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:48:14] local.INFO: TCP Data received {"connection_id":230237,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac56690012d488280069630e8003f00572b..."} 
[2026-11-05 13:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac56690012d488280069630e8003f00572b..."} 
[2026-11-05 13:48:14] local.INFO: Processing buffer {"connection_id":230237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac56690012d488280069630e8003f00572b..."} 
[2026-11-05 13:48:14] local.INFO: Packet analysis {"connection_id":230237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac5"} 
[2026-11-05 13:48:14] local.INFO: Extracted packet for processing {"connection_id":230237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac5"} 
[2026-11-05 13:48:14] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229728000001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793866426000,"timestamp_ms":1793866426000,"timestamp_seconds":1793866426,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac56690"} 
[2026-11-05 13:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:48: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-05 13:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-11-05 13:48:14] 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-05 13:48:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230237,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230237,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229728000001,"66":26615,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229728000001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:48:14] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:48:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229728000001,"power":26615,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":230237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63273,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:48:14] local.INFO: GPS data processed {"connection_id":230237,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:48:14] local.INFO: Acknowledgment sent {"connection_id":230237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:48:16] local.INFO: TCP Data received {"connection_id":230236,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:48:16] local.INFO: Processing buffer {"connection_id":230236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:48:16] local.INFO: IMEI packet received {"connection_id":230236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":230236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:48:22] local.INFO: TCP Data received {"connection_id":230236,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac654d8012d7fad0005afe0480017004528..."} 
[2026-11-05 13:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac654d8012d7fad0005afe0480017004528..."} 
[2026-11-05 13:48:22] local.INFO: Processing buffer {"connection_id":230236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac654d8012d7fad0005afe0480017004528..."} 
[2026-11-05 13:48:22] local.INFO: Packet analysis {"connection_id":230236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:48:22] local.INFO: Extracted packet for processing {"connection_id":230236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:48:22] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229743616001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793866487000,"timestamp_ms":1793866487000,"timestamp_seconds":1793866487,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac654d8"} 
[2026-11-05 13: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-05 13:48: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-05 13: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:48: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-05 13: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-05 13: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-05 13:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":230236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":230236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":230236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:48:22] 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-05 13:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229743616001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229743616001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:48:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:48:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229743616001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":230236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:48:22] local.INFO: GPS data processed {"connection_id":230236,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:48:22] local.INFO: Acknowledgment sent {"connection_id":230236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:48:28] local.INFO: TCP Data received {"connection_id":231568,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:48:28] local.INFO: Processing buffer {"connection_id":231568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:48:28] local.INFO: Packet analysis {"connection_id":231568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:48:28] local.INFO: Extracted packet for processing {"connection_id":231568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:48:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229742336001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:48: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-05 13:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1793866482000,"timestamp_ms":1793866482000,"timestamp_seconds":1793866482,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac64150"} 
[2026-11-05 13:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 13:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":231568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":231568,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":231568,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229742336001,"66":12613,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229742336001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:48:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229742336001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":231568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63275,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:48:28] local.INFO: GPS data processed {"connection_id":231568,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:48:28] local.INFO: Acknowledgment sent {"connection_id":231568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:48:47] local.INFO: TCP Data received {"connection_id":230237,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac56690012d488280069630e8003f00572b..."} 
[2026-11-05 13:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac56690012d488280069630e8003f00572b..."} 
[2026-11-05 13:48:47] local.INFO: Processing buffer {"connection_id":230237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac56690012d488280069630e8003f00572b..."} 
[2026-11-05 13:48:47] local.INFO: Packet analysis {"connection_id":230237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac5"} 
[2026-11-05 13:48:47] local.INFO: Extracted packet for processing {"connection_id":230237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac5"} 
[2026-11-05 13:48:47] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229728000001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793866426000,"timestamp_ms":1793866426000,"timestamp_seconds":1793866426,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac56690"} 
[2026-11-05 13:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:48: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-05 13:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-11-05 13:48:47] 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-05 13:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230237,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230237,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229728000001,"66":26615,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229728000001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:48:47] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:48:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229728000001,"power":26615,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":230237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63276,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:48:47] local.INFO: GPS data processed {"connection_id":230237,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:48:47] local.INFO: Acknowledgment sent {"connection_id":230237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:48:48] local.INFO: TCP Data received {"connection_id":229713,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229713,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:48:48] local.INFO: Processing buffer {"connection_id":229713,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:48:48] local.INFO: IMEI packet received {"connection_id":229713,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":229713,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:48:54] local.INFO: TCP Data received {"connection_id":229713,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229713,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:48:54] local.INFO: Processing buffer {"connection_id":229713,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:48:54] local.INFO: IMEI packet received {"connection_id":229713,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":229713,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:48:55] local.INFO: TCP Data received {"connection_id":229713,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:48:55] local.INFO: Processing buffer {"connection_id":229713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:48:55] local.INFO: Packet analysis {"connection_id":229713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:48:55] local.INFO: Extracted packet for processing {"connection_id":229713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:48:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229742336001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:48: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-05 13:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793866482000,"timestamp_ms":1793866482000,"timestamp_seconds":1793866482,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac64150"} 
[2026-11-05 13:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 13:48:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229713,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229713,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229742336001,"66":12613,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229742336001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:48:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229742336001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":229713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63277,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:48:55] local.INFO: GPS data processed {"connection_id":229713,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:48:55] local.INFO: Acknowledgment sent {"connection_id":229713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:49:03] local.INFO: TCP Data received {"connection_id":230238,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:49:03] local.INFO: Processing buffer {"connection_id":230238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:49:03] local.INFO: IMEI packet received {"connection_id":230238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":230238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:49:08] local.INFO: TCP Data received {"connection_id":230238,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:49:08] local.INFO: Processing buffer {"connection_id":230238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:49:08] local.INFO: IMEI packet received {"connection_id":230238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":230238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:49:09] local.INFO: TCP Data received {"connection_id":230238,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac654d8012d7fad0005afe0480017004528..."} 
[2026-11-05 13:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac654d8012d7fad0005afe0480017004528..."} 
[2026-11-05 13:49:09] local.INFO: Processing buffer {"connection_id":230238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac654d8012d7fad0005afe0480017004528..."} 
[2026-11-05 13:49:09] local.INFO: Packet analysis {"connection_id":230238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:49:09] local.INFO: Extracted packet for processing {"connection_id":230238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:49:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229743616001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793866487000,"timestamp_ms":1793866487000,"timestamp_seconds":1793866487,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac654d8"} 
[2026-11-05 13:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229743616001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229743616001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:49:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:49:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229743616001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":230238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:49:09] local.INFO: GPS data processed {"connection_id":230238,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:49:09] local.INFO: Acknowledgment sent {"connection_id":230238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:49:11] local.INFO: TCP Data received {"connection_id":230239,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230239,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:49:11] local.INFO: Processing buffer {"connection_id":230239,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:49:11] local.INFO: IMEI packet received {"connection_id":230239,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":230239,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:49:17] local.INFO: TCP Data received {"connection_id":230239,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230239,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:49:17] local.INFO: Processing buffer {"connection_id":230239,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:49:17] local.INFO: IMEI packet received {"connection_id":230239,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":230239,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:49:19] local.INFO: TCP Data received {"connection_id":230239,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac56690012d488280069630e8003f00572b..."} 
[2026-11-05 13:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac56690012d488280069630e8003f00572b..."} 
[2026-11-05 13:49:19] local.INFO: Processing buffer {"connection_id":230239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac56690012d488280069630e8003f00572b..."} 
[2026-11-05 13:49:19] local.INFO: Packet analysis {"connection_id":230239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac5"} 
[2026-11-05 13:49:19] local.INFO: Extracted packet for processing {"connection_id":230239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac5"} 
[2026-11-05 13:49:19] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229728000001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793866426000,"timestamp_ms":1793866426000,"timestamp_seconds":1793866426,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac56690"} 
[2026-11-05 13: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-05 13:49: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-05 13: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":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-11-05 13:49:19] 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-05 13: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-05 13: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-05 13:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230239,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230239,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229728000001,"66":26615,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229728000001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:49:19] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:49:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229728000001,"power":26615,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":230239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63279,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:49:19] local.INFO: GPS data processed {"connection_id":230239,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:49:19] local.INFO: Acknowledgment sent {"connection_id":230239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:49:22] local.INFO: TCP Data received {"connection_id":230239,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac56690012d488280069630e8003f00572b..."} 
[2026-11-05 13:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac56690012d488280069630e8003f00572b..."} 
[2026-11-05 13:49:22] local.INFO: Processing buffer {"connection_id":230239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac56690012d488280069630e8003f00572b..."} 
[2026-11-05 13:49:22] local.INFO: Packet analysis {"connection_id":230239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac5"} 
[2026-11-05 13:49:22] local.INFO: Extracted packet for processing {"connection_id":230239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac5"} 
[2026-11-05 13:49:22] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229728000001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793866426000,"timestamp_ms":1793866426000,"timestamp_seconds":1793866426,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac56690"} 
[2026-11-05 13: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-05 13:49:22] 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-05 13: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":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-11-05 13:49:22] 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-05 13: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-05 13: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-05 13:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":230239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":230239,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":230239,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229728000001,"66":26615,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229728000001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:49:22] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:49:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229728000001,"power":26615,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":230239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63280,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:49:22] local.INFO: GPS data processed {"connection_id":230239,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:49:22] local.INFO: Acknowledgment sent {"connection_id":230239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:49:27] local.INFO: TCP Data received {"connection_id":229713,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:49:27] local.INFO: Processing buffer {"connection_id":229713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac64150012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:49:27] local.INFO: Packet analysis {"connection_id":229713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:49:27] local.INFO: Extracted packet for processing {"connection_id":229713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:49:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229742336001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:49:27] 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-05 13:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793866482000,"timestamp_ms":1793866482000,"timestamp_seconds":1793866482,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac64150"} 
[2026-11-05 13:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 13:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":229713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":229713,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":229713,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229742336001,"66":12613,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229742336001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:49:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229742336001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":229713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63281,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:49:27] local.INFO: GPS data processed {"connection_id":229713,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:49:27] local.INFO: Acknowledgment sent {"connection_id":229713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:49:41] local.INFO: TCP Data received {"connection_id":230238,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac654d8012d7fad0005afe0480017004528..."} 
[2026-11-05 13:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac654d8012d7fad0005afe0480017004528..."} 
[2026-11-05 13:49:41] local.INFO: Processing buffer {"connection_id":230238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac654d8012d7fad0005afe0480017004528..."} 
[2026-11-05 13:49:41] local.INFO: Packet analysis {"connection_id":230238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:49:41] local.INFO: Extracted packet for processing {"connection_id":230238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:49:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229743616001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793866487000,"timestamp_ms":1793866487000,"timestamp_seconds":1793866487,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac654d8"} 
[2026-11-05 13: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-05 13: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-05 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13: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-05 13:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229743616001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229743616001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:49:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:49:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229743616001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":230238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:49:41] local.INFO: GPS data processed {"connection_id":230238,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:49:41] local.INFO: Acknowledgment sent {"connection_id":230238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:49:54] local.INFO: TCP Data received {"connection_id":231569,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231569,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:49:54] local.INFO: Processing buffer {"connection_id":231569,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:49:54] local.INFO: IMEI packet received {"connection_id":231569,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":231569,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:49:59] local.INFO: TCP Data received {"connection_id":231569,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231569,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:49:59] local.INFO: Processing buffer {"connection_id":231569,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:49:59] local.INFO: IMEI packet received {"connection_id":231569,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":231569,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:49:59] local.INFO: TCP Data received {"connection_id":231569,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacad918012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacad918012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:49:59] local.INFO: Processing buffer {"connection_id":231569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacad918012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:49:59] local.INFO: Packet analysis {"connection_id":231569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:49:59] local.INFO: Extracted packet for processing {"connection_id":231569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:49:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229819392001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:49: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-05 13:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793866783000,"timestamp_ms":1793866783000,"timestamp_seconds":1793866783,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacad918"} 
[2026-11-05 13:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-11-05 13:49:59] 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-05 13:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":231569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":231569,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":231569,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229819392001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229819392001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:49:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229819392001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":231569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63283,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:50:00] local.INFO: GPS data processed {"connection_id":231569,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:50:00] local.INFO: Acknowledgment sent {"connection_id":231569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:50:03] local.INFO: TCP Data received {"connection_id":229714,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:50:03] local.INFO: Processing buffer {"connection_id":229714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:50:03] local.INFO: IMEI packet received {"connection_id":229714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":229714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:50:04] local.INFO: TCP Data received {"connection_id":231569,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacad918012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacad918012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:50:04] local.INFO: Processing buffer {"connection_id":231569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacad918012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:50:04] local.INFO: Packet analysis {"connection_id":231569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:50:04] local.INFO: Extracted packet for processing {"connection_id":231569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:50:04] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229819392001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793866783000,"timestamp_ms":1793866783000,"timestamp_seconds":1793866783,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacad918"} 
[2026-11-05 13:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-11-05 13:50:04] 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-05 13:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":231569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":231569,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":231569,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229819392001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229819392001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:50:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229819392001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":231569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63284,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:50:04] local.INFO: GPS data processed {"connection_id":231569,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:50:04] local.INFO: Acknowledgment sent {"connection_id":231569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:50:05] local.INFO: TCP Data received {"connection_id":233474,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:50:06] local.INFO: Processing buffer {"connection_id":233474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:50:06] local.INFO: IMEI packet received {"connection_id":233474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":233474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:50:08] local.INFO: TCP Data received {"connection_id":229714,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:50:08] local.INFO: Processing buffer {"connection_id":229714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:50:08] local.INFO: IMEI packet received {"connection_id":229714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":229714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:50:09] local.INFO: TCP Data received {"connection_id":229714,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac654d8012d7fad0005afe0480017004528..."} 
[2026-11-05 13:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac654d8012d7fad0005afe0480017004528..."} 
[2026-11-05 13:50:09] local.INFO: Processing buffer {"connection_id":229714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac654d8012d7fad0005afe0480017004528..."} 
[2026-11-05 13:50:09] local.INFO: Packet analysis {"connection_id":229714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:50:09] local.INFO: Extracted packet for processing {"connection_id":229714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac6"} 
[2026-11-05 13:50:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229743616001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793866487000,"timestamp_ms":1793866487000,"timestamp_seconds":1793866487,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac654d8"} 
[2026-11-05 13:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 13:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229743616001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229743616001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:50:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:50:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229743616001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:50:09] 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":63285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:50:09] local.INFO: GPS data processed {"connection_id":229714,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:50:09] local.INFO: Acknowledgment sent {"connection_id":229714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:50:11] local.INFO: TCP Data received {"connection_id":233474,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:50:11] local.INFO: Processing buffer {"connection_id":233474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:50:11] local.INFO: IMEI packet received {"connection_id":233474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":233474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:50:13] local.INFO: TCP Data received {"connection_id":233474,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac9fe58012d488280069630e8003f00572b..."} 
[2026-11-05 13:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac9fe58012d488280069630e8003f00572b..."} 
[2026-11-05 13:50:13] local.INFO: Processing buffer {"connection_id":233474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac9fe58012d488280069630e8003f00572b..."} 
[2026-11-05 13:50:13] local.INFO: Packet analysis {"connection_id":233474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac9"} 
[2026-11-05 13:50:13] local.INFO: Extracted packet for processing {"connection_id":233474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac9"} 
[2026-11-05 13:50:13] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229805056001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793866727000,"timestamp_ms":1793866727000,"timestamp_seconds":1793866727,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac9fe58"} 
[2026-11-05 13:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:50: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-05 13:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-11-05 13:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":233474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":233474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":233474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229805056001,"66":26593,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229805056001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:50:13] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:50:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229805056001,"power":26593,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":233474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63286,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:50:14] local.INFO: GPS data processed {"connection_id":233474,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:50:14] local.INFO: Acknowledgment sent {"connection_id":233474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:50:40] local.INFO: TCP Data received {"connection_id":229714,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:50:40] local.INFO: Processing buffer {"connection_id":229714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:50:40] local.INFO: Packet analysis {"connection_id":229714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:50:40] local.INFO: Extracted packet for processing {"connection_id":229714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:50:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229820672001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793866788000,"timestamp_ms":1793866788000,"timestamp_seconds":1793866788,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacaeca0"} 
[2026-11-05 13:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:50: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-05 13:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229820672001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229820672001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:50:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:50:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229820672001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:50:40] 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":63287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:50:40] local.INFO: GPS data processed {"connection_id":229714,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:50:40] local.INFO: Acknowledgment sent {"connection_id":229714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:50:48] local.INFO: TCP Data received {"connection_id":233474,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac9fe58012d488280069630e8003f00572b..."} 
[2026-11-05 13:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac9fe58012d488280069630e8003f00572b..."} 
[2026-11-05 13:50:48] local.INFO: Processing buffer {"connection_id":233474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac9fe58012d488280069630e8003f00572b..."} 
[2026-11-05 13:50:48] local.INFO: Packet analysis {"connection_id":233474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac9"} 
[2026-11-05 13:50:48] local.INFO: Extracted packet for processing {"connection_id":233474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac9"} 
[2026-11-05 13:50:48] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229805056001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793866727000,"timestamp_ms":1793866727000,"timestamp_seconds":1793866727,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac9fe58"} 
[2026-11-05 13:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:50: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-05 13:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-11-05 13:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:50:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":233474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":233474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":233474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229805056001,"66":26593,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229805056001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:50:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:50:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229805056001,"power":26593,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":233474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63288,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:50:48] local.INFO: GPS data processed {"connection_id":233474,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:50:48] local.INFO: Acknowledgment sent {"connection_id":233474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:50:48] local.INFO: TCP Data received {"connection_id":230240,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230240,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:50:48] local.INFO: Processing buffer {"connection_id":230240,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:50:48] local.INFO: IMEI packet received {"connection_id":230240,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":230240,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:50:54] local.INFO: TCP Data received {"connection_id":230240,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230240,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:50:54] local.INFO: Processing buffer {"connection_id":230240,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:50:54] local.INFO: IMEI packet received {"connection_id":230240,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":230240,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:50:54] local.INFO: TCP Data received {"connection_id":230240,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacad918012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacad918012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:50:54] local.INFO: Processing buffer {"connection_id":230240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacad918012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:50:54] local.INFO: Packet analysis {"connection_id":230240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:50:54] local.INFO: Extracted packet for processing {"connection_id":230240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:50:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229819392001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:50: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-05 13:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793866783000,"timestamp_ms":1793866783000,"timestamp_seconds":1793866783,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacad918"} 
[2026-11-05 13:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-11-05 13:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":230240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":230240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":230240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229819392001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229819392001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:50:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229819392001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":230240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63289,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:50:54] local.INFO: GPS data processed {"connection_id":230240,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:50:54] local.INFO: Acknowledgment sent {"connection_id":230240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:51:03] local.INFO: TCP Data received {"connection_id":230241,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:51:03] local.INFO: Processing buffer {"connection_id":230241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:51:03] local.INFO: IMEI packet received {"connection_id":230241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":230241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:51:08] local.INFO: TCP Data received {"connection_id":230241,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:51:08] local.INFO: Processing buffer {"connection_id":230241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:51:08] local.INFO: IMEI packet received {"connection_id":230241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":230241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:51:09] local.INFO: TCP Data received {"connection_id":230241,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:51:09] local.INFO: Processing buffer {"connection_id":230241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:51:09] local.INFO: Packet analysis {"connection_id":230241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:51:09] local.INFO: Extracted packet for processing {"connection_id":230241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:51:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:51: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-05 13:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229820672001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793866788000,"timestamp_ms":1793866788000,"timestamp_seconds":1793866788,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacaeca0"} 
[2026-11-05 13:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:51: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":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:51: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-05 13:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229820672001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229820672001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:51:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:51:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229820672001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":230241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:51:09] local.INFO: GPS data processed {"connection_id":230241,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:51:09] local.INFO: Acknowledgment sent {"connection_id":230241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:51:11] local.INFO: TCP Data received {"connection_id":229715,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:51:11] local.INFO: Processing buffer {"connection_id":229715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:51:11] local.INFO: IMEI packet received {"connection_id":229715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":229715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:51:16] local.INFO: TCP Data received {"connection_id":229715,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:51:16] local.INFO: Processing buffer {"connection_id":229715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:51:16] local.INFO: IMEI packet received {"connection_id":229715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":229715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:51:18] local.INFO: TCP Data received {"connection_id":229715,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac9fe58012d488280069630e8003f00572b..."} 
[2026-11-05 13:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac9fe58012d488280069630e8003f00572b..."} 
[2026-11-05 13:51:18] local.INFO: Processing buffer {"connection_id":229715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac9fe58012d488280069630e8003f00572b..."} 
[2026-11-05 13:51:18] local.INFO: Packet analysis {"connection_id":229715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac9"} 
[2026-11-05 13:51:18] local.INFO: Extracted packet for processing {"connection_id":229715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac9"} 
[2026-11-05 13:51:18] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229805056001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793866727000,"timestamp_ms":1793866727000,"timestamp_seconds":1793866727,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac9fe58"} 
[2026-11-05 13:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:51:18] 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-05 13:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-11-05 13:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229805056001,"66":26593,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229805056001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:51:18] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:51:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229805056001,"power":26593,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":229715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63291,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:51:18] local.INFO: GPS data processed {"connection_id":229715,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:51:18] local.INFO: Acknowledgment sent {"connection_id":229715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:51:22] local.INFO: TCP Data received {"connection_id":229715,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac9fe58012d488280069630e8003f00572b..."} 
[2026-11-05 13:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac9fe58012d488280069630e8003f00572b..."} 
[2026-11-05 13:51:22] local.INFO: Processing buffer {"connection_id":229715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac9fe58012d488280069630e8003f00572b..."} 
[2026-11-05 13:51:22] local.INFO: Packet analysis {"connection_id":229715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac9"} 
[2026-11-05 13:51:22] local.INFO: Extracted packet for processing {"connection_id":229715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac9"} 
[2026-11-05 13:51:22] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229805056001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793866727000,"timestamp_ms":1793866727000,"timestamp_seconds":1793866727,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac9fe58"} 
[2026-11-05 13: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-05 13:51:22] 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-05 13: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":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-11-05 13:51:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":229715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":229715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":229715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229805056001,"66":26593,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229805056001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:51:22] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:51:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229805056001,"power":26593,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":229715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63292,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:51:22] local.INFO: GPS data processed {"connection_id":229715,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:51:22] local.INFO: Acknowledgment sent {"connection_id":229715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:51:26] local.INFO: TCP Data received {"connection_id":230240,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacad918012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacad918012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:51:26] local.INFO: Processing buffer {"connection_id":230240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacad918012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:51:26] local.INFO: Packet analysis {"connection_id":230240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:51:26] local.INFO: Extracted packet for processing {"connection_id":230240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:51:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229819392001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:51: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-05 13:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793866783000,"timestamp_ms":1793866783000,"timestamp_seconds":1793866783,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacad918"} 
[2026-11-05 13:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-11-05 13:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229819392001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229819392001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:51:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229819392001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":230240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63293,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:51:26] local.INFO: GPS data processed {"connection_id":230240,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:51:26] local.INFO: Acknowledgment sent {"connection_id":230240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:51:40] local.INFO: TCP Data received {"connection_id":230241,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:51:40] local.INFO: Processing buffer {"connection_id":230241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:51:40] local.INFO: Packet analysis {"connection_id":230241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:51:40] local.INFO: Extracted packet for processing {"connection_id":230241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:51:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229820672001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793866788000,"timestamp_ms":1793866788000,"timestamp_seconds":1793866788,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacaeca0"} 
[2026-11-05 13:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:51: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-05 13:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229820672001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229820672001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:51:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:51:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229820672001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":230241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:51:40] local.INFO: GPS data processed {"connection_id":230241,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:51:40] local.INFO: Acknowledgment sent {"connection_id":230241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:51:48] local.INFO: TCP Data received {"connection_id":229716,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229716,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:51:48] local.INFO: Processing buffer {"connection_id":229716,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:51:48] local.INFO: IMEI packet received {"connection_id":229716,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":229716,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:51:54] local.INFO: TCP Data received {"connection_id":229716,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229716,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:51:54] local.INFO: Processing buffer {"connection_id":229716,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:51:54] local.INFO: IMEI packet received {"connection_id":229716,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":229716,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:51:54] local.INFO: TCP Data received {"connection_id":229716,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacad918012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacad918012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:51:54] local.INFO: Processing buffer {"connection_id":229716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacad918012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:51:54] local.INFO: Packet analysis {"connection_id":229716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:51:54] local.INFO: Extracted packet for processing {"connection_id":229716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:51:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229819392001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:51: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-05 13:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793866783000,"timestamp_ms":1793866783000,"timestamp_seconds":1793866783,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacad918"} 
[2026-11-05 13: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-05 13:51:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-11-05 13:51:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":229716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":229716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":229716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:51:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229819392001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229819392001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:51:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229819392001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":229716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63295,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:51:54] local.INFO: GPS data processed {"connection_id":229716,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:51:54] local.INFO: Acknowledgment sent {"connection_id":229716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:52:06] local.INFO: TCP Data received {"connection_id":231570,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:52:06] local.INFO: Processing buffer {"connection_id":231570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:52:06] local.INFO: IMEI packet received {"connection_id":231570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":231570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:52:08] local.INFO: TCP Data received {"connection_id":229717,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:52:08] local.INFO: Processing buffer {"connection_id":229717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:52:08] local.INFO: IMEI packet received {"connection_id":229717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":229717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:52:11] local.INFO: TCP Data received {"connection_id":231570,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:52:11] local.INFO: Processing buffer {"connection_id":231570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:52:11] local.INFO: IMEI packet received {"connection_id":231570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":231570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:52:13] local.INFO: TCP Data received {"connection_id":229717,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:52:13] local.INFO: Processing buffer {"connection_id":229717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:52:13] local.INFO: IMEI packet received {"connection_id":229717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":229717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:52:14] local.INFO: TCP Data received {"connection_id":229717,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:52:14] local.INFO: Processing buffer {"connection_id":229717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:52:14] local.INFO: Packet analysis {"connection_id":229717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:52:14] local.INFO: Extracted packet for processing {"connection_id":229717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:52:14] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229820672001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793866788000,"timestamp_ms":1793866788000,"timestamp_seconds":1793866788,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacaeca0"} 
[2026-11-05 13: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-05 13:52: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-05 13:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:52:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:52:14] 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-05 13:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229820672001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229820672001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:52:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:52:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229820672001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:52:14] 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":63296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:52:14] local.INFO: GPS data processed {"connection_id":229717,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:52:14] local.INFO: Acknowledgment sent {"connection_id":229717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:52:14] local.INFO: TCP Data received {"connection_id":231570,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac9fe58012d488280069630e8003f00572b..."} 
[2026-11-05 13:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac9fe58012d488280069630e8003f00572b..."} 
[2026-11-05 13:52:14] local.INFO: Processing buffer {"connection_id":231570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac9fe58012d488280069630e8003f00572b..."} 
[2026-11-05 13:52:14] local.INFO: Packet analysis {"connection_id":231570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac9"} 
[2026-11-05 13:52:14] local.INFO: Extracted packet for processing {"connection_id":231570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac9"} 
[2026-11-05 13:52:14] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229805056001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793866727000,"timestamp_ms":1793866727000,"timestamp_seconds":1793866727,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac9fe58"} 
[2026-11-05 13: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-05 13:52: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-05 13: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":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-11-05 13:52:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":231570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":231570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":231570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229805056001,"66":26593,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229805056001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:52:14] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:52:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229805056001,"power":26593,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":231570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63297,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:52:14] local.INFO: GPS data processed {"connection_id":231570,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:52:14] local.INFO: Acknowledgment sent {"connection_id":231570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:52:16] local.INFO: TCP Data received {"connection_id":231570,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac9fe58012d488280069630e8003f00572b..."} 
[2026-11-05 13:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac9fe58012d488280069630e8003f00572b..."} 
[2026-11-05 13:52:16] local.INFO: Processing buffer {"connection_id":231570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac9fe58012d488280069630e8003f00572b..."} 
[2026-11-05 13:52:16] local.INFO: Packet analysis {"connection_id":231570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac9"} 
[2026-11-05 13:52:16] local.INFO: Extracted packet for processing {"connection_id":231570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac9"} 
[2026-11-05 13:52:16] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229805056001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793866727000,"timestamp_ms":1793866727000,"timestamp_seconds":1793866727,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac9fe58"} 
[2026-11-05 13: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-05 13:52: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-05 13: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":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-11-05 13:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":231570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":231570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":231570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229805056001,"66":26593,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229805056001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:52:16] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:52:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229805056001,"power":26593,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":231570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63298,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:52:16] local.INFO: GPS data processed {"connection_id":231570,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:52:16] local.INFO: Acknowledgment sent {"connection_id":231570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:52:26] local.INFO: TCP Data received {"connection_id":229716,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacad918012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacad918012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:52:26] local.INFO: Processing buffer {"connection_id":229716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacad918012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:52:26] local.INFO: Packet analysis {"connection_id":229716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:52:26] local.INFO: Extracted packet for processing {"connection_id":229716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:52:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229819392001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:52: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-05 13:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793866783000,"timestamp_ms":1793866783000,"timestamp_seconds":1793866783,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacad918"} 
[2026-11-05 13:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-11-05 13:52:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229819392001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229819392001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:52:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229819392001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":229716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63299,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:52:26] local.INFO: GPS data processed {"connection_id":229716,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:52:26] local.INFO: Acknowledgment sent {"connection_id":229716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:52:45] local.INFO: TCP Data received {"connection_id":229717,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:52:45] local.INFO: Processing buffer {"connection_id":229717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:52:45] local.INFO: Packet analysis {"connection_id":229717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:52:45] local.INFO: Extracted packet for processing {"connection_id":229717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:52:45] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229820672001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793866788000,"timestamp_ms":1793866788000,"timestamp_seconds":1793866788,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacaeca0"} 
[2026-11-05 13:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:52: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-05 13:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:52: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-05 13:52:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229820672001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229820672001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:52:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:52:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229820672001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:52: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":63300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:52:45] local.INFO: GPS data processed {"connection_id":229717,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:52:45] local.INFO: Acknowledgment sent {"connection_id":229717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:52:48] local.INFO: TCP Data received {"connection_id":229718,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229718,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:52:48] local.INFO: Processing buffer {"connection_id":229718,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:52:48] local.INFO: IMEI packet received {"connection_id":229718,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":229718,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:52:49] local.INFO: TCP Data received {"connection_id":231570,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac9fe58012d488280069630e8003f00572b..."} 
[2026-11-05 13:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac9fe58012d488280069630e8003f00572b..."} 
[2026-11-05 13:52:49] local.INFO: Processing buffer {"connection_id":231570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac9fe58012d488280069630e8003f00572b..."} 
[2026-11-05 13:52:49] local.INFO: Packet analysis {"connection_id":231570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac9"} 
[2026-11-05 13:52:49] local.INFO: Extracted packet for processing {"connection_id":231570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac9"} 
[2026-11-05 13:52:49] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 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-05 13:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229805056001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793866727000,"timestamp_ms":1793866727000,"timestamp_seconds":1793866727,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac9fe58"} 
[2026-11-05 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-05 13:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 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":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-11-05 13:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 13:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":231570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":231570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":231570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229805056001,"66":26593,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229805056001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:52:49] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:52:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229805056001,"power":26593,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":231570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63301,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:52:49] local.INFO: GPS data processed {"connection_id":231570,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:52:49] local.INFO: Acknowledgment sent {"connection_id":231570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:52:53] local.INFO: TCP Data received {"connection_id":229718,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229718,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:52:53] local.INFO: Processing buffer {"connection_id":229718,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:52:53] local.INFO: IMEI packet received {"connection_id":229718,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":229718,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:52:54] local.INFO: TCP Data received {"connection_id":229718,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacad918012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacad918012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:52:54] local.INFO: Processing buffer {"connection_id":229718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacad918012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:52:54] local.INFO: Packet analysis {"connection_id":229718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:52:54] local.INFO: Extracted packet for processing {"connection_id":229718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:52:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229819392001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:52: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-05 13:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793866783000,"timestamp_ms":1793866783000,"timestamp_seconds":1793866783,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacad918"} 
[2026-11-05 13:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-11-05 13:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":229718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":229718,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":229718,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229819392001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229819392001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:52:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229819392001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:52:55] 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":63302,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:52:55] local.INFO: GPS data processed {"connection_id":229718,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:52:55] local.INFO: Acknowledgment sent {"connection_id":229718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:53:03] local.INFO: TCP Data received {"connection_id":230242,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:53:03] local.INFO: Processing buffer {"connection_id":230242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:53:03] local.INFO: IMEI packet received {"connection_id":230242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":230242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:53:07] local.INFO: TCP Data received {"connection_id":233475,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:53:07] local.INFO: Processing buffer {"connection_id":233475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:53:07] local.INFO: IMEI packet received {"connection_id":233475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":233475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:53:08] local.INFO: TCP Data received {"connection_id":230242,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:53:08] local.INFO: Processing buffer {"connection_id":230242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:53:08] local.INFO: IMEI packet received {"connection_id":230242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":230242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:53:09] local.INFO: TCP Data received {"connection_id":230242,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:53:09] local.INFO: Processing buffer {"connection_id":230242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:53:09] local.INFO: Packet analysis {"connection_id":230242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:53:09] local.INFO: Extracted packet for processing {"connection_id":230242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:53:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229820672001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793866788000,"timestamp_ms":1793866788000,"timestamp_seconds":1793866788,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacaeca0"} 
[2026-11-05 13: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-05 13:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13: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-05 13: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-05 13:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229820672001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229820672001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:53:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:53:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229820672001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":230242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:53:09] local.INFO: GPS data processed {"connection_id":230242,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:53:09] local.INFO: Acknowledgment sent {"connection_id":230242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:53:26] local.INFO: TCP Data received {"connection_id":229718,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacad918012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacad918012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:53:26] local.INFO: Processing buffer {"connection_id":229718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacad918012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:53:26] local.INFO: Packet analysis {"connection_id":229718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:53:26] local.INFO: Extracted packet for processing {"connection_id":229718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:53:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229819392001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:53: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-05 13:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793866783000,"timestamp_ms":1793866783000,"timestamp_seconds":1793866783,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacad918"} 
[2026-11-05 13:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-11-05 13:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229718,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229718,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229819392001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229819392001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:53:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229819392001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:53:26] 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":63304,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:53:26] local.INFO: GPS data processed {"connection_id":229718,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:53:26] local.INFO: Acknowledgment sent {"connection_id":229718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:53:40] local.INFO: TCP Data received {"connection_id":233475,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:53:40] local.INFO: Processing buffer {"connection_id":233475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:53:40] local.INFO: IMEI packet received {"connection_id":233475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":233475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:53:40] local.INFO: TCP Data received {"connection_id":230242,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:53:40] local.INFO: Processing buffer {"connection_id":230242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:53:40] local.INFO: Packet analysis {"connection_id":230242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:53:40] local.INFO: Extracted packet for processing {"connection_id":230242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:53:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229820672001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793866788000,"timestamp_ms":1793866788000,"timestamp_seconds":1793866788,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacaeca0"} 
[2026-11-05 13:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:53: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-05 13:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229820672001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229820672001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:53:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:53:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229820672001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":230242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:53:40] local.INFO: GPS data processed {"connection_id":230242,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:53:40] local.INFO: Acknowledgment sent {"connection_id":230242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:53:42] local.INFO: TCP Data received {"connection_id":233475,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac9fe58012d488280069630e8003f00572b..."} 
[2026-11-05 13:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac9fe58012d488280069630e8003f00572b..."} 
[2026-11-05 13:53:42] local.INFO: Processing buffer {"connection_id":233475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac9fe58012d488280069630e8003f00572b..."} 
[2026-11-05 13:53:42] local.INFO: Packet analysis {"connection_id":233475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac9"} 
[2026-11-05 13:53:42] local.INFO: Extracted packet for processing {"connection_id":233475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac9"} 
[2026-11-05 13:53:42] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229805056001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793866727000,"timestamp_ms":1793866727000,"timestamp_seconds":1793866727,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac9fe58"} 
[2026-11-05 13:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:53: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-05 13:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-11-05 13:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229805056001,"66":26593,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229805056001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:53:42] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:53:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229805056001,"power":26593,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":233475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63306,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:53:43] local.INFO: GPS data processed {"connection_id":233475,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:53:43] local.INFO: Acknowledgment sent {"connection_id":233475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:53:48] local.INFO: TCP Data received {"connection_id":230243,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230243,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:53:48] local.INFO: Processing buffer {"connection_id":230243,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:53:48] local.INFO: IMEI packet received {"connection_id":230243,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":230243,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:53:54] local.INFO: TCP Data received {"connection_id":230243,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230243,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:53:54] local.INFO: Processing buffer {"connection_id":230243,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:53:54] local.INFO: IMEI packet received {"connection_id":230243,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":230243,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:53:54] local.INFO: TCP Data received {"connection_id":230243,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacad918012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacad918012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:53:54] local.INFO: Processing buffer {"connection_id":230243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacad918012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:53:54] local.INFO: Packet analysis {"connection_id":230243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:53:54] local.INFO: Extracted packet for processing {"connection_id":230243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:53:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229819392001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:53: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-05 13:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793866783000,"timestamp_ms":1793866783000,"timestamp_seconds":1793866783,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacad918"} 
[2026-11-05 13:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-11-05 13:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:53:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":230243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":230243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":230243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229819392001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229819392001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:53:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229819392001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":230243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63307,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:53:54] local.INFO: GPS data processed {"connection_id":230243,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:53:54] local.INFO: Acknowledgment sent {"connection_id":230243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:54:03] local.INFO: TCP Data received {"connection_id":231571,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:54:03] local.INFO: Processing buffer {"connection_id":231571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:54:03] local.INFO: IMEI packet received {"connection_id":231571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":231571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:54:06] local.INFO: TCP Data received {"connection_id":231572,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231572,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:54:06] local.INFO: Processing buffer {"connection_id":231572,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:54:06] local.INFO: IMEI packet received {"connection_id":231572,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":231572,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:54:08] local.INFO: TCP Data received {"connection_id":231571,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:54:08] local.INFO: Processing buffer {"connection_id":231571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:54:08] local.INFO: IMEI packet received {"connection_id":231571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":231571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:54:09] local.INFO: TCP Data received {"connection_id":231571,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:54:09] local.INFO: Processing buffer {"connection_id":231571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:54:09] local.INFO: Packet analysis {"connection_id":231571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:54:09] local.INFO: Extracted packet for processing {"connection_id":231571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:54:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229820672001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793866788000,"timestamp_ms":1793866788000,"timestamp_seconds":1793866788,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacaeca0"} 
[2026-11-05 13:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:54:09] 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-05 13:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229820672001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229820672001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:54:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:54:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229820672001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":231571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:54:09] local.INFO: GPS data processed {"connection_id":231571,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:54:09] local.INFO: Acknowledgment sent {"connection_id":231571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:54:11] local.INFO: TCP Data received {"connection_id":231572,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231572,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:54:11] local.INFO: Processing buffer {"connection_id":231572,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:54:11] local.INFO: IMEI packet received {"connection_id":231572,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":231572,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:54:14] local.INFO: TCP Data received {"connection_id":231572,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aac9fe58012d488280069630e8003f00572b..."} 
[2026-11-05 13:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aac9fe58012d488280069630e8003f00572b..."} 
[2026-11-05 13:54:14] local.INFO: Processing buffer {"connection_id":231572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aac9fe58012d488280069630e8003f00572b..."} 
[2026-11-05 13:54:14] local.INFO: Packet analysis {"connection_id":231572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aac9"} 
[2026-11-05 13:54:14] local.INFO: Extracted packet for processing {"connection_id":231572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aac9"} 
[2026-11-05 13:54:14] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229805056001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793866727000,"timestamp_ms":1793866727000,"timestamp_seconds":1793866727,"priority":1,"record_length":96,"hex_timestamp":"000001a1aac9fe58"} 
[2026-11-05 13:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:54: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-05 13:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-11-05 13:54:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":231572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":231572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":231572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229805056001,"66":26593,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229805056001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:54:14] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:54:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229805056001,"power":26593,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":231572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63309,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:54:14] local.INFO: GPS data processed {"connection_id":231572,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:54:14] local.INFO: Acknowledgment sent {"connection_id":231572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:54:26] local.INFO: TCP Data received {"connection_id":230243,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacad918012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacad918012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:54:26] local.INFO: Processing buffer {"connection_id":230243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacad918012d0b10c00702a1800000014e1c..."} 
[2026-11-05 13:54:26] local.INFO: Packet analysis {"connection_id":230243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:54:26] local.INFO: Extracted packet for processing {"connection_id":230243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:54:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229819392001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:54: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-05 13:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793866783000,"timestamp_ms":1793866783000,"timestamp_seconds":1793866783,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacad918"} 
[2026-11-05 13:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-11-05 13:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229819392001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229819392001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:54:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229819392001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":230243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63310,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:54:26] local.INFO: GPS data processed {"connection_id":230243,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:54:26] local.INFO: Acknowledgment sent {"connection_id":230243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:54:41] local.INFO: TCP Data received {"connection_id":231571,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:54:41] local.INFO: Processing buffer {"connection_id":231571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:54:41] local.INFO: Packet analysis {"connection_id":231571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:54:41] local.INFO: Extracted packet for processing {"connection_id":231571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:54:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229820672001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793866788000,"timestamp_ms":1793866788000,"timestamp_seconds":1793866788,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacaeca0"} 
[2026-11-05 13: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-05 13: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-05 13: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:54: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-05 13:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229820672001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229820672001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:54:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:54:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229820672001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":231571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:54:41] local.INFO: GPS data processed {"connection_id":231571,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:54:41] local.INFO: Acknowledgment sent {"connection_id":231571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:54:53] local.INFO: TCP Data received {"connection_id":231572,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aace9620012d488280069630e8003f00572b..."} 
[2026-11-05 13:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aace9620012d488280069630e8003f00572b..."} 
[2026-11-05 13:54:53] local.INFO: Processing buffer {"connection_id":231572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aace9620012d488280069630e8003f00572b..."} 
[2026-11-05 13:54:53] local.INFO: Packet analysis {"connection_id":231572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aace"} 
[2026-11-05 13:54:53] local.INFO: Extracted packet for processing {"connection_id":231572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aace"} 
[2026-11-05 13:54:53] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229882112001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793867028000,"timestamp_ms":1793867028000,"timestamp_seconds":1793867028,"priority":1,"record_length":96,"hex_timestamp":"000001a1aace9620"} 
[2026-11-05 13: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-05 13:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-11-05 13:54:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":231572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":231572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":231572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229882112001,"66":26604,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229882112001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:54:53] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:54:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229882112001,"power":26604,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":231572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63312,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:54:53] local.INFO: GPS data processed {"connection_id":231572,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:54:53] local.INFO: Acknowledgment sent {"connection_id":231572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:54:54] local.INFO: TCP Data received {"connection_id":233476,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233476,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:54:54] local.INFO: Processing buffer {"connection_id":233476,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:54:54] local.INFO: IMEI packet received {"connection_id":233476,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":233476,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:55:06] local.INFO: TCP Data received {"connection_id":231573,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:55:06] local.INFO: Processing buffer {"connection_id":231573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:55:06] local.INFO: IMEI packet received {"connection_id":231573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":231573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:55:08] local.INFO: TCP Data received {"connection_id":231573,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:55:08] local.INFO: Processing buffer {"connection_id":231573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:55:08] local.INFO: IMEI packet received {"connection_id":231573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":231573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:55:09] local.INFO: TCP Data received {"connection_id":233476,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233476,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:55:09] local.INFO: Processing buffer {"connection_id":233476,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:55:09] local.INFO: IMEI packet received {"connection_id":233476,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":233476,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:55:09] local.INFO: TCP Data received {"connection_id":231573,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:55:09] local.INFO: Processing buffer {"connection_id":231573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:55:09] local.INFO: Packet analysis {"connection_id":231573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:55:09] local.INFO: Extracted packet for processing {"connection_id":231573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:55:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:55: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-05 13:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229820672001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793866788000,"timestamp_ms":1793866788000,"timestamp_seconds":1793866788,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacaeca0"} 
[2026-11-05 13:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:55: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":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:55: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-05 13:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:55:09] 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-05 13:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229820672001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229820672001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:55:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:55:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229820672001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":231573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:55:09] local.INFO: GPS data processed {"connection_id":231573,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:55:09] local.INFO: Acknowledgment sent {"connection_id":231573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:55:11] local.INFO: TCP Data received {"connection_id":233476,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:55:11] local.INFO: Processing buffer {"connection_id":233476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:55:11] local.INFO: Packet analysis {"connection_id":233476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:55:11] local.INFO: Extracted packet for processing {"connection_id":233476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:55:11] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229896448001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:55:11] 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-05 13:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793867084000,"timestamp_ms":1793867084000,"timestamp_seconds":1793867084,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacf70e0"} 
[2026-11-05 13:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:55:11] 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-05 13:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233476,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233476,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229896448001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229896448001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:55:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229896448001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":233476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63314,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:55:11] local.INFO: GPS data processed {"connection_id":233476,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:55:11] local.INFO: Acknowledgment sent {"connection_id":233476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:55:11] local.INFO: TCP Data received {"connection_id":230244,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:55:11] local.INFO: Processing buffer {"connection_id":230244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:55:11] local.INFO: IMEI packet received {"connection_id":230244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":230244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:55:12] local.INFO: TCP Data received {"connection_id":233476,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:55:12] local.INFO: Processing buffer {"connection_id":233476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:55:12] local.INFO: Packet analysis {"connection_id":233476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:55:12] local.INFO: Extracted packet for processing {"connection_id":233476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:55:12] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229896448001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:55:12] 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-05 13:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793867084000,"timestamp_ms":1793867084000,"timestamp_seconds":1793867084,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacf70e0"} 
[2026-11-05 13: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-05 13:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:55:12] 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-05 13: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-05 13: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-05 13:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":233476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":233476,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":233476,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229896448001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229896448001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:55:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229896448001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":233476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63315,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:55:12] local.INFO: GPS data processed {"connection_id":233476,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:55:12] local.INFO: Acknowledgment sent {"connection_id":233476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:55:14] local.INFO: TCP Data received {"connection_id":231573,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:55:14] local.INFO: Processing buffer {"connection_id":231573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacaeca0012d7fad0005afe0480017004528..."} 
[2026-11-05 13:55:14] local.INFO: Packet analysis {"connection_id":231573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:55:14] local.INFO: Extracted packet for processing {"connection_id":231573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaca"} 
[2026-11-05 13:55:14] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":23,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 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-05 13:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229820672001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793866788000,"timestamp_ms":1793866788000,"timestamp_seconds":1793866788,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacaeca0"} 
[2026-11-05 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-05 13:55: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-05 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:55:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 13:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":231573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":231573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":231573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:55:14] 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-05 13:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229820672001,"66":25397,"27":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 13:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229820672001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:55:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 13:55:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229820672001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":231573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:55:14] local.INFO: GPS data processed {"connection_id":231573,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:55:14] local.INFO: Acknowledgment sent {"connection_id":231573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:55:16] local.INFO: TCP Data received {"connection_id":230244,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:55:16] local.INFO: Processing buffer {"connection_id":230244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:55:16] local.INFO: IMEI packet received {"connection_id":230244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":230244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:55:21] local.INFO: TCP Data received {"connection_id":230244,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aace9620012d488280069630e8003f00572b..."} 
[2026-11-05 13:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aace9620012d488280069630e8003f00572b..."} 
[2026-11-05 13:55:21] local.INFO: Processing buffer {"connection_id":230244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aace9620012d488280069630e8003f00572b..."} 
[2026-11-05 13:55:21] local.INFO: Packet analysis {"connection_id":230244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aace"} 
[2026-11-05 13:55:21] local.INFO: Extracted packet for processing {"connection_id":230244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aace"} 
[2026-11-05 13:55:21] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229882112001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793867028000,"timestamp_ms":1793867028000,"timestamp_seconds":1793867028,"priority":1,"record_length":96,"hex_timestamp":"000001a1aace9620"} 
[2026-11-05 13: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-05 13:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-11-05 13:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230244,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230244,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229882112001,"66":26604,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229882112001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:55:21] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:55:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229882112001,"power":26604,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":230244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63317,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:55:21] local.INFO: GPS data processed {"connection_id":230244,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:55:21] local.INFO: Acknowledgment sent {"connection_id":230244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:55:45] local.INFO: TCP Data received {"connection_id":231573,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 13:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 13:55:45] local.INFO: Processing buffer {"connection_id":231573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 13:55:45] local.INFO: Packet analysis {"connection_id":231573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:55:45] local.INFO: Extracted packet for processing {"connection_id":231573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:55:45] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":25,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 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-05 13:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229897728001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793867089000,"timestamp_ms":1793867089000,"timestamp_seconds":1793867089,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacf8468"} 
[2026-11-05 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-05 13:55: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-05 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:55: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-05 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-05 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-05 13:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":231573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":231573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":231573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229897728001,"66":25375,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 13:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229897728001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:55:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 13:55:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229897728001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":231573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:55:45] local.INFO: GPS data processed {"connection_id":231573,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:55:45] local.INFO: Acknowledgment sent {"connection_id":231573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:55:48] local.INFO: TCP Data received {"connection_id":233477,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233477,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:55:48] local.INFO: Processing buffer {"connection_id":233477,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:55:48] local.INFO: IMEI packet received {"connection_id":233477,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":233477,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:55:54] local.INFO: TCP Data received {"connection_id":233477,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233477,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:55:54] local.INFO: Processing buffer {"connection_id":233477,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:55:54] local.INFO: IMEI packet received {"connection_id":233477,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":233477,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:55:54] local.INFO: TCP Data received {"connection_id":233477,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:55:54] local.INFO: Processing buffer {"connection_id":233477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:55:54] local.INFO: Packet analysis {"connection_id":233477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:55:54] local.INFO: Extracted packet for processing {"connection_id":233477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:55:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229896448001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:55: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-05 13:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793867084000,"timestamp_ms":1793867084000,"timestamp_seconds":1793867084,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacf70e0"} 
[2026-11-05 13:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:55: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-05 13:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":233477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":233477,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":233477,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229896448001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229896448001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:55:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229896448001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":233477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63319,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:55:54] local.INFO: GPS data processed {"connection_id":233477,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:55:54] local.INFO: Acknowledgment sent {"connection_id":233477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:56:03] local.INFO: TCP Data received {"connection_id":229719,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:56:03] local.INFO: Processing buffer {"connection_id":229719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:56:03] local.INFO: IMEI packet received {"connection_id":229719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":229719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:56:08] local.INFO: TCP Data received {"connection_id":229719,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:56:08] local.INFO: Processing buffer {"connection_id":229719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:56:08] local.INFO: IMEI packet received {"connection_id":229719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":229719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:56:10] local.INFO: TCP Data received {"connection_id":229719,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 13:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 13:56:10] local.INFO: Processing buffer {"connection_id":229719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 13:56:10] local.INFO: Packet analysis {"connection_id":229719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:56:10] local.INFO: Extracted packet for processing {"connection_id":229719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:56:10] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":25,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229897728001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793867089000,"timestamp_ms":1793867089000,"timestamp_seconds":1793867089,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacf8468"} 
[2026-11-05 13:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229897728001,"66":25375,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 13:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229897728001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:56:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 13:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229897728001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":229719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:56:10] local.INFO: GPS data processed {"connection_id":229719,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:56:10] local.INFO: Acknowledgment sent {"connection_id":229719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:56:11] local.INFO: TCP Data received {"connection_id":230245,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:56:11] local.INFO: Processing buffer {"connection_id":230245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:56:11] local.INFO: IMEI packet received {"connection_id":230245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":230245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:56:16] local.INFO: TCP Data received {"connection_id":230245,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:56:16] local.INFO: Processing buffer {"connection_id":230245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:56:16] local.INFO: IMEI packet received {"connection_id":230245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":230245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:56:18] local.INFO: TCP Data received {"connection_id":230245,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aace9620012d488280069630e8003f00572b..."} 
[2026-11-05 13:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aace9620012d488280069630e8003f00572b..."} 
[2026-11-05 13:56:18] local.INFO: Processing buffer {"connection_id":230245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aace9620012d488280069630e8003f00572b..."} 
[2026-11-05 13:56:18] local.INFO: Packet analysis {"connection_id":230245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aace"} 
[2026-11-05 13:56:18] local.INFO: Extracted packet for processing {"connection_id":230245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aace"} 
[2026-11-05 13:56:18] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 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-05 13:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229882112001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793867028000,"timestamp_ms":1793867028000,"timestamp_seconds":1793867028,"priority":1,"record_length":96,"hex_timestamp":"000001a1aace9620"} 
[2026-11-05 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-05 13:56:18] 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-05 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":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-11-05 13:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 13:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229882112001,"66":26604,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229882112001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:56:18] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:56:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229882112001,"power":26604,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":230245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63321,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:56:18] local.INFO: GPS data processed {"connection_id":230245,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:56:18] local.INFO: Acknowledgment sent {"connection_id":230245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:56:23] local.INFO: TCP Data received {"connection_id":230245,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aace9620012d488280069630e8003f00572b..."} 
[2026-11-05 13:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aace9620012d488280069630e8003f00572b..."} 
[2026-11-05 13:56:23] local.INFO: Processing buffer {"connection_id":230245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aace9620012d488280069630e8003f00572b..."} 
[2026-11-05 13:56:23] local.INFO: Packet analysis {"connection_id":230245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aace"} 
[2026-11-05 13:56:23] local.INFO: Extracted packet for processing {"connection_id":230245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aace"} 
[2026-11-05 13:56:23] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229882112001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793867028000,"timestamp_ms":1793867028000,"timestamp_seconds":1793867028,"priority":1,"record_length":96,"hex_timestamp":"000001a1aace9620"} 
[2026-11-05 13:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:56: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-05 13:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-11-05 13:56:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:56:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":230245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":230245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":230245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:56:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229882112001,"66":26604,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229882112001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:56:23] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:56:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229882112001,"power":26604,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":230245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63322,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:56:23] local.INFO: GPS data processed {"connection_id":230245,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:56:23] local.INFO: Acknowledgment sent {"connection_id":230245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:56:26] local.INFO: TCP Data received {"connection_id":233477,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:56:26] local.INFO: Processing buffer {"connection_id":233477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:56:26] local.INFO: Packet analysis {"connection_id":233477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:56:26] local.INFO: Extracted packet for processing {"connection_id":233477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:56:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229896448001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:56: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-05 13:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793867084000,"timestamp_ms":1793867084000,"timestamp_seconds":1793867084,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacf70e0"} 
[2026-11-05 13:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:56:26] 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-05 13:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233477,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233477,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229896448001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229896448001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:56:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229896448001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":233477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63323,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:56:26] local.INFO: GPS data processed {"connection_id":233477,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:56:26] local.INFO: Acknowledgment sent {"connection_id":233477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:56:41] local.INFO: TCP Data received {"connection_id":229719,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 13:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 13:56:41] local.INFO: Processing buffer {"connection_id":229719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 13:56:41] local.INFO: Packet analysis {"connection_id":229719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:56:41] local.INFO: Extracted packet for processing {"connection_id":229719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:56:41] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":25,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229897728001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793867089000,"timestamp_ms":1793867089000,"timestamp_seconds":1793867089,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacf8468"} 
[2026-11-05 13:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13: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-05 13:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:56: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-05 13:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229897728001,"66":25375,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 13:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229897728001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:56:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 13:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229897728001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":229719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:56:41] local.INFO: GPS data processed {"connection_id":229719,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:56:41] local.INFO: Acknowledgment sent {"connection_id":229719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:56:48] local.INFO: TCP Data received {"connection_id":233478,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233478,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:56:48] local.INFO: Processing buffer {"connection_id":233478,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:56:48] local.INFO: IMEI packet received {"connection_id":233478,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":233478,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:56:54] local.INFO: TCP Data received {"connection_id":233478,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233478,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:56:54] local.INFO: Processing buffer {"connection_id":233478,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:56:54] local.INFO: IMEI packet received {"connection_id":233478,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":233478,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:56:56] local.INFO: TCP Data received {"connection_id":233478,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:56:56] local.INFO: Processing buffer {"connection_id":233478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:56:56] local.INFO: Packet analysis {"connection_id":233478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:56:56] local.INFO: Extracted packet for processing {"connection_id":233478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:56:56] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229896448001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:56:56] 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-05 13:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793867084000,"timestamp_ms":1793867084000,"timestamp_seconds":1793867084,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacf70e0"} 
[2026-11-05 13:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":233478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":233478,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":233478,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229896448001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229896448001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:56:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229896448001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":233478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63325,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:56:56] local.INFO: GPS data processed {"connection_id":233478,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:56:56] local.INFO: Acknowledgment sent {"connection_id":233478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:57:08] local.INFO: TCP Data received {"connection_id":233479,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:57:08] local.INFO: Processing buffer {"connection_id":233479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:57:08] local.INFO: IMEI packet received {"connection_id":233479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":233479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:57:11] local.INFO: TCP Data received {"connection_id":231574,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:57:11] local.INFO: Processing buffer {"connection_id":231574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:57:11] local.INFO: IMEI packet received {"connection_id":231574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":231574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:57:13] local.INFO: TCP Data received {"connection_id":233479,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:57:13] local.INFO: Processing buffer {"connection_id":233479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:57:13] local.INFO: IMEI packet received {"connection_id":233479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":233479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:57:14] local.INFO: TCP Data received {"connection_id":233479,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 13:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 13:57:14] local.INFO: Processing buffer {"connection_id":233479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 13:57:14] local.INFO: Packet analysis {"connection_id":233479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:57:14] local.INFO: Extracted packet for processing {"connection_id":233479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:57:14] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":25,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229897728001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793867089000,"timestamp_ms":1793867089000,"timestamp_seconds":1793867089,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacf8468"} 
[2026-11-05 13:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:57: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-05 13:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229897728001,"66":25375,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 13:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229897728001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:57:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 13:57:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229897728001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":233479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:57:14] local.INFO: GPS data processed {"connection_id":233479,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:57:14] local.INFO: Acknowledgment sent {"connection_id":233479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:57:16] local.INFO: TCP Data received {"connection_id":231574,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:57:16] local.INFO: Processing buffer {"connection_id":231574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:57:16] local.INFO: IMEI packet received {"connection_id":231574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":231574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:57:21] local.INFO: TCP Data received {"connection_id":231574,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aace9620012d488280069630e8003f00572b..."} 
[2026-11-05 13:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aace9620012d488280069630e8003f00572b..."} 
[2026-11-05 13:57:21] local.INFO: Processing buffer {"connection_id":231574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aace9620012d488280069630e8003f00572b..."} 
[2026-11-05 13:57:21] local.INFO: Packet analysis {"connection_id":231574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aace"} 
[2026-11-05 13:57:21] local.INFO: Extracted packet for processing {"connection_id":231574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aace"} 
[2026-11-05 13:57:21] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229882112001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793867028000,"timestamp_ms":1793867028000,"timestamp_seconds":1793867028,"priority":1,"record_length":96,"hex_timestamp":"000001a1aace9620"} 
[2026-11-05 13: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-05 13:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":225,"data_length":795,"current_offset":136} 
[2026-11-05 13:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":231574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":231574,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":231574,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229882112001,"66":26604,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229882112001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:57:21] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:57:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229882112001,"power":26604,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":231574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63327,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:57:21] local.INFO: GPS data processed {"connection_id":231574,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:57:21] local.INFO: Acknowledgment sent {"connection_id":231574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:57:33] local.INFO: TCP Data received {"connection_id":233478,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:57:33] local.INFO: Processing buffer {"connection_id":233478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:57:33] local.INFO: Packet analysis {"connection_id":233478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:57:33] local.INFO: Extracted packet for processing {"connection_id":233478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:57:33] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229896448001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1793867084000,"timestamp_ms":1793867084000,"timestamp_seconds":1793867084,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacf70e0"} 
[2026-11-05 13:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:57:33] 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-05 13:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":233478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":233478,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":233478,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229896448001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229896448001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:57:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229896448001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":233478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63328,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:57:33] local.INFO: GPS data processed {"connection_id":233478,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:57:33] local.INFO: Acknowledgment sent {"connection_id":233478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:57:45] local.INFO: TCP Data received {"connection_id":233479,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 13:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 13:57:45] local.INFO: Processing buffer {"connection_id":233479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 13:57:45] local.INFO: Packet analysis {"connection_id":233479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:57:45] local.INFO: Extracted packet for processing {"connection_id":233479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:57:45] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":25,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 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-05 13:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229897728001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793867089000,"timestamp_ms":1793867089000,"timestamp_seconds":1793867089,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacf8468"} 
[2026-11-05 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-05 13:57: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-05 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:57: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-05 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-05 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-05 13:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":233479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":233479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":233479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229897728001,"66":25375,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 13:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229897728001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:57:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 13:57:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229897728001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":233479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:57:45] local.INFO: GPS data processed {"connection_id":233479,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:57:45] local.INFO: Acknowledgment sent {"connection_id":233479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:57:53] local.INFO: TCP Data received {"connection_id":231575,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231575,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:57:53] local.INFO: Processing buffer {"connection_id":231575,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:57:53] local.INFO: IMEI packet received {"connection_id":231575,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":231575,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:57:59] local.INFO: TCP Data received {"connection_id":231575,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231575,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:57:59] local.INFO: Processing buffer {"connection_id":231575,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:57:59] local.INFO: IMEI packet received {"connection_id":231575,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":231575,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:58:00] local.INFO: TCP Data received {"connection_id":231575,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:58:00] local.INFO: Processing buffer {"connection_id":231575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:58:00] local.INFO: Packet analysis {"connection_id":231575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:58:00] local.INFO: Extracted packet for processing {"connection_id":231575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:58:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229896448001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:58: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-05 13:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793867084000,"timestamp_ms":1793867084000,"timestamp_seconds":1793867084,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacf70e0"} 
[2026-11-05 13: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-05 13:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:58:00] 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-05 13: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-05 13: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-05 13:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":231575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":231575,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":231575,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229896448001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229896448001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:58:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229896448001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":231575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63330,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:58:01] local.INFO: GPS data processed {"connection_id":231575,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:58:01] local.INFO: Acknowledgment sent {"connection_id":231575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:58:03] local.INFO: TCP Data received {"connection_id":230246,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:58:03] local.INFO: Processing buffer {"connection_id":230246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:58:03] local.INFO: IMEI packet received {"connection_id":230246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":230246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:58:04] local.INFO: TCP Data received {"connection_id":231575,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:58:04] local.INFO: Processing buffer {"connection_id":231575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:58:04] local.INFO: Packet analysis {"connection_id":231575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:58:04] local.INFO: Extracted packet for processing {"connection_id":231575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:58:04] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229896448001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793867084000,"timestamp_ms":1793867084000,"timestamp_seconds":1793867084,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacf70e0"} 
[2026-11-05 13:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":231575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":231575,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":231575,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229896448001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229896448001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:58:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229896448001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":231575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63331,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:58:05] local.INFO: GPS data processed {"connection_id":231575,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:58:05] local.INFO: Acknowledgment sent {"connection_id":231575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:58:06] local.INFO: TCP Data received {"connection_id":229720,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229720,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:58:06] local.INFO: Processing buffer {"connection_id":229720,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:58:06] local.INFO: IMEI packet received {"connection_id":229720,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":229720,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:58:08] local.INFO: TCP Data received {"connection_id":230246,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:58:08] local.INFO: Processing buffer {"connection_id":230246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:58:08] local.INFO: IMEI packet received {"connection_id":230246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":230246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:58:09] local.INFO: TCP Data received {"connection_id":230246,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 13:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 13:58:09] local.INFO: Processing buffer {"connection_id":230246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 13:58:09] local.INFO: Packet analysis {"connection_id":230246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:58:09] local.INFO: Extracted packet for processing {"connection_id":230246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:58:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":25,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229897728001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793867089000,"timestamp_ms":1793867089000,"timestamp_seconds":1793867089,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacf8468"} 
[2026-11-05 13:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 13:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:58:09] 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-05 13:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229897728001,"66":25375,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 13:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229897728001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:58:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 13:58:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229897728001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":230246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:58:09] local.INFO: GPS data processed {"connection_id":230246,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:58:09] local.INFO: Acknowledgment sent {"connection_id":230246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:58:11] local.INFO: TCP Data received {"connection_id":229720,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229720,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:58:11] local.INFO: Processing buffer {"connection_id":229720,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:58:11] local.INFO: IMEI packet received {"connection_id":229720,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":229720,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:58:15] local.INFO: TCP Data received {"connection_id":229720,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aace9620012d488280069630e8003f00572b..."} 
[2026-11-05 13:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aace9620012d488280069630e8003f00572b..."} 
[2026-11-05 13:58:15] local.INFO: Processing buffer {"connection_id":229720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aace9620012d488280069630e8003f00572b..."} 
[2026-11-05 13:58:15] local.INFO: Packet analysis {"connection_id":229720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aace"} 
[2026-11-05 13:58:15] local.INFO: Extracted packet for processing {"connection_id":229720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aace"} 
[2026-11-05 13:58:15] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229882112001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793867028000,"timestamp_ms":1793867028000,"timestamp_seconds":1793867028,"priority":1,"record_length":96,"hex_timestamp":"000001a1aace9620"} 
[2026-11-05 13:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:58: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-05 13:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-11-05 13:58:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:58:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229720,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229720,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229882112001,"66":26604,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229882112001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:58:15] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:58:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229882112001,"power":26604,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":229720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63333,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:58:15] local.INFO: GPS data processed {"connection_id":229720,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:58:15] local.INFO: Acknowledgment sent {"connection_id":229720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:58:40] local.INFO: TCP Data received {"connection_id":230246,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 13:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 13:58:40] local.INFO: Processing buffer {"connection_id":230246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 13:58:40] local.INFO: Packet analysis {"connection_id":230246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:58:40] local.INFO: Extracted packet for processing {"connection_id":230246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:58:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":25,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229897728001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793867089000,"timestamp_ms":1793867089000,"timestamp_seconds":1793867089,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacf8468"} 
[2026-11-05 13:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:58: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-05 13:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229897728001,"66":25375,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 13:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229897728001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:58:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 13:58:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229897728001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":230246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:58:40] local.INFO: GPS data processed {"connection_id":230246,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:58:40] local.INFO: Acknowledgment sent {"connection_id":230246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:58:48] local.INFO: TCP Data received {"connection_id":231576,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231576,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:58:48] local.INFO: Processing buffer {"connection_id":231576,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:58:48] local.INFO: IMEI packet received {"connection_id":231576,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":231576,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:58:53] local.INFO: TCP Data received {"connection_id":229720,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aace9620012d488280069630e8003f00572b..."} 
[2026-11-05 13:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aace9620012d488280069630e8003f00572b..."} 
[2026-11-05 13:58:53] local.INFO: Processing buffer {"connection_id":229720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aace9620012d488280069630e8003f00572b..."} 
[2026-11-05 13:58:53] local.INFO: Packet analysis {"connection_id":229720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aace"} 
[2026-11-05 13:58:53] local.INFO: Extracted packet for processing {"connection_id":229720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aace"} 
[2026-11-05 13:58:53] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13:58: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-05 13:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229882112001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793867028000,"timestamp_ms":1793867028000,"timestamp_seconds":1793867028,"priority":1,"record_length":96,"hex_timestamp":"000001a1aace9620"} 
[2026-11-05 13:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:58: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":225,"data_length":795,"current_offset":136} 
[2026-11-05 13:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13:58: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-05 13:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":229720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":229720,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":229720,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229882112001,"66":26604,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229882112001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:58:53] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:58:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229882112001,"power":26604,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":229720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63335,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:58:53] local.INFO: GPS data processed {"connection_id":229720,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:58:53] local.INFO: Acknowledgment sent {"connection_id":229720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:58:53] local.INFO: TCP Data received {"connection_id":231576,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231576,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:58:53] local.INFO: Processing buffer {"connection_id":231576,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:58:53] local.INFO: IMEI packet received {"connection_id":231576,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":231576,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:58:54] local.INFO: TCP Data received {"connection_id":231576,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:58:54] local.INFO: Processing buffer {"connection_id":231576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:58:54] local.INFO: Packet analysis {"connection_id":231576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:58:54] local.INFO: Extracted packet for processing {"connection_id":231576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:58:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229896448001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:58: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-05 13:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793867084000,"timestamp_ms":1793867084000,"timestamp_seconds":1793867084,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacf70e0"} 
[2026-11-05 13:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:58: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-05 13:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":231576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":231576,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":231576,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229896448001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229896448001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:58:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229896448001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":231576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63336,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:58:55] local.INFO: GPS data processed {"connection_id":231576,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:58:55] local.INFO: Acknowledgment sent {"connection_id":231576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:58:59] local.INFO: TCP Data received {"connection_id":231576,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:58:59] local.INFO: Processing buffer {"connection_id":231576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:58:59] local.INFO: Packet analysis {"connection_id":231576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:58:59] local.INFO: Extracted packet for processing {"connection_id":231576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:58:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229896448001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:58: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-05 13:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793867084000,"timestamp_ms":1793867084000,"timestamp_seconds":1793867084,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacf70e0"} 
[2026-11-05 13:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:58: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-05 13:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":231576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":231576,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":231576,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229896448001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229896448001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:58:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229896448001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":231576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63337,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:58:59] local.INFO: GPS data processed {"connection_id":231576,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:58:59] local.INFO: Acknowledgment sent {"connection_id":231576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:59:03] local.INFO: TCP Data received {"connection_id":231577,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:59:03] local.INFO: Processing buffer {"connection_id":231577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:59:03] local.INFO: IMEI packet received {"connection_id":231577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 13:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":231577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:59:06] local.INFO: TCP Data received {"connection_id":229721,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:59:06] local.INFO: Processing buffer {"connection_id":229721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:59:06] local.INFO: IMEI packet received {"connection_id":229721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 13:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":229721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:59:08] local.INFO: TCP Data received {"connection_id":231577,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:59:08] local.INFO: Processing buffer {"connection_id":231577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 13:59:08] local.INFO: IMEI packet received {"connection_id":231577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 13:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":231577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:59:11] local.INFO: TCP Data received {"connection_id":229721,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:59:11] local.INFO: Processing buffer {"connection_id":229721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 13:59:11] local.INFO: IMEI packet received {"connection_id":229721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 13:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":229721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:59:12] local.INFO: TCP Data received {"connection_id":231577,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 13:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 13:59:12] local.INFO: Processing buffer {"connection_id":231577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 13:59:12] local.INFO: Packet analysis {"connection_id":231577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:59:12] local.INFO: Extracted packet for processing {"connection_id":231577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:59:12] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":25,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 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-05 13:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229897728001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793867089000,"timestamp_ms":1793867089000,"timestamp_seconds":1793867089,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacf8468"} 
[2026-11-05 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-05 13: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-05 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:59: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-05 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-05 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-05 13:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:59: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-05 13:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229897728001,"66":25375,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 13:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229897728001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:59:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 13:59:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229897728001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":231577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:59:12] local.INFO: GPS data processed {"connection_id":231577,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:59:12] local.INFO: Acknowledgment sent {"connection_id":231577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:59:16] local.INFO: TCP Data received {"connection_id":229721,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aace9620012d488280069630e8003f00572b..."} 
[2026-11-05 13:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aace9620012d488280069630e8003f00572b..."} 
[2026-11-05 13:59:16] local.INFO: Processing buffer {"connection_id":229721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aace9620012d488280069630e8003f00572b..."} 
[2026-11-05 13:59:16] local.INFO: Packet analysis {"connection_id":229721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aace"} 
[2026-11-05 13:59:16] local.INFO: Extracted packet for processing {"connection_id":229721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aace"} 
[2026-11-05 13:59:16] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229882112001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793867028000,"timestamp_ms":1793867028000,"timestamp_seconds":1793867028,"priority":1,"record_length":96,"hex_timestamp":"000001a1aace9620"} 
[2026-11-05 13: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-05 13:59: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-05 13: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":225,"data_length":795,"current_offset":136} 
[2026-11-05 13:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229882112001,"66":26604,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229882112001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:59:16] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:59:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229882112001,"power":26604,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":229721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63339,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:59:16] local.INFO: GPS data processed {"connection_id":229721,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:59:16] local.INFO: Acknowledgment sent {"connection_id":229721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:59:31] local.INFO: TCP Data received {"connection_id":231576,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:59:31] local.INFO: Processing buffer {"connection_id":231576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacf70e0012d0b10c00702a1800000014e20..."} 
[2026-11-05 13:59:31] local.INFO: Packet analysis {"connection_id":231576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:59:31] local.INFO: Extracted packet for processing {"connection_id":231576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:59:31] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 13:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229896448001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793867084000,"timestamp_ms":1793867084000,"timestamp_seconds":1793867084,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacf70e0"} 
[2026-11-05 13:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 13:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 13:59:31] 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-05 13:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 13:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 13:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":231576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":231576,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":231576,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229896448001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229896448001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:59:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229896448001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":231576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63340,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:59:31] local.INFO: GPS data processed {"connection_id":231576,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:59:31] local.INFO: Acknowledgment sent {"connection_id":231576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:59:44] local.INFO: TCP Data received {"connection_id":231577,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 13:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 13:59:44] local.INFO: Processing buffer {"connection_id":231577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 13:59:44] local.INFO: Packet analysis {"connection_id":231577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:59:44] local.INFO: Extracted packet for processing {"connection_id":231577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 13:59:44] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":25,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229897728001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 13:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 13:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793867089000,"timestamp_ms":1793867089000,"timestamp_seconds":1793867089,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacf8468"} 
[2026-11-05 13: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-05 13:59: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-05 13: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":53,"data_length":795,"current_offset":136} 
[2026-11-05 13:59: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-05 13: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-05 13: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-05 13:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":231577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":231577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":231577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 13:59: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-05 13:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 13:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 13:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229897728001,"66":25375,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 13:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 13:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 13:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229897728001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:59:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 13:59:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 13:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 13:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229897728001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 13:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":231577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:59:44] local.INFO: GPS data processed {"connection_id":231577,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:59:44] local.INFO: Acknowledgment sent {"connection_id":231577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:59:46] local.INFO: TCP Data received {"connection_id":230247,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230247,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:59:46] local.INFO: Processing buffer {"connection_id":230247,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:59:46] local.INFO: IMEI packet received {"connection_id":230247,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 13:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":230247,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 13:59:48] local.INFO: TCP Data received {"connection_id":230247,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230247,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:59:48] local.INFO: Processing buffer {"connection_id":230247,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:59:48] local.INFO: IMEI packet received {"connection_id":230247,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":230247,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:59:49] local.INFO: TCP Data received {"connection_id":229721,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad32de8012d488280069630e8003f00572b..."} 
[2026-11-05 13:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad32de8012d488280069630e8003f00572b..."} 
[2026-11-05 13:59:49] local.INFO: Processing buffer {"connection_id":229721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad32de8012d488280069630e8003f00572b..."} 
[2026-11-05 13:59:49] local.INFO: Packet analysis {"connection_id":229721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad3"} 
[2026-11-05 13:59:49] local.INFO: Extracted packet for processing {"connection_id":229721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad3"} 
[2026-11-05 13:59:49] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229959168001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 13:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 13:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 13:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793867329000,"timestamp_ms":1793867329000,"timestamp_seconds":1793867329,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad32de8"} 
[2026-11-05 13: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-05 13:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-11-05 13:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 13:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 13:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 13:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229959168001,"66":26593,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 13:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 13:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 13:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229959168001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:59:49] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 13:59:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 13:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 13:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229959168001,"power":26593,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 13:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":229721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63342,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:59:49] local.INFO: GPS data processed {"connection_id":229721,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:59:49] local.INFO: Acknowledgment sent {"connection_id":229721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 13:59:54] local.INFO: TCP Data received {"connection_id":230247,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230247,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:59:54] local.INFO: Processing buffer {"connection_id":230247,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 13:59:54] local.INFO: IMEI packet received {"connection_id":230247,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 13:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":230247,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 13:59:55] local.INFO: TCP Data received {"connection_id":230247,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad408a8012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad408a8012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:59:55] local.INFO: Processing buffer {"connection_id":230247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad408a8012d0b10c00702a1800000014e1d..."} 
[2026-11-05 13:59:55] local.INFO: Packet analysis {"connection_id":230247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 13:59:55] local.INFO: Extracted packet for processing {"connection_id":230247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 13:59:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 13: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-05 13:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229973504001,"note":"Value kept but may cause issues"} 
[2026-11-05 13:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 13:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 13:59: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-05 13:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793867385000,"timestamp_ms":1793867385000,"timestamp_seconds":1793867385,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad408a8"} 
[2026-11-05 13: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-05 13:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 13: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 13:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 13: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-05 13: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-05 13:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 13:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 13:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230247,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230247,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 13:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 13:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 13:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 13:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229973504001,"66":11971,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 13:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 13:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 13:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229973504001,"description":"Unknown IO ID 0"} 
[2026-11-05 13:59:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 13:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 13:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 13:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229973504001,"power":11971,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 13:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":230247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63343,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 13:59:55] local.INFO: GPS data processed {"connection_id":230247,"processed":1,"errors":0,"total":1} 
[2026-11-05 13:59:55] local.INFO: Acknowledgment sent {"connection_id":230247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:00:06] local.INFO: TCP Data received {"connection_id":233481,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233481,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:00:06] local.INFO: Processing buffer {"connection_id":233481,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:00:06] local.INFO: IMEI packet received {"connection_id":233481,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":233481,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:00:06] local.INFO: TCP Data received {"connection_id":233480,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:00:06] local.INFO: Processing buffer {"connection_id":233480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:00:06] local.INFO: IMEI packet received {"connection_id":233480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":233480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:00:10] local.INFO: TCP Data received {"connection_id":233480,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:00:10] local.INFO: Processing buffer {"connection_id":233480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:00:10] local.INFO: IMEI packet received {"connection_id":233480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":233480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:00:11] local.INFO: TCP Data received {"connection_id":233480,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 14:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 14:00:11] local.INFO: Processing buffer {"connection_id":233480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 14:00:11] local.INFO: Packet analysis {"connection_id":233480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 14:00:11] local.INFO: Extracted packet for processing {"connection_id":233480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 14:00:11] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":25,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 14:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229897728001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 14:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 14:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793867089000,"timestamp_ms":1793867089000,"timestamp_seconds":1793867089,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacf8468"} 
[2026-11-05 14:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14: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-05 14:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 14:00: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-05 14:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229897728001,"66":25375,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229897728001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:00:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:00:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 14:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229897728001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 14:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":233480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:00:11] local.INFO: GPS data processed {"connection_id":233480,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:00:11] local.INFO: Acknowledgment sent {"connection_id":233480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:00:11] local.INFO: TCP Data received {"connection_id":233481,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233481,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:00:11] local.INFO: Processing buffer {"connection_id":233481,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:00:11] local.INFO: IMEI packet received {"connection_id":233481,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":233481,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:00:13] local.INFO: TCP Data received {"connection_id":233481,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad32de8012d488280069630e8003f00572b..."} 
[2026-11-05 14:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad32de8012d488280069630e8003f00572b..."} 
[2026-11-05 14:00:13] local.INFO: Processing buffer {"connection_id":233481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad32de8012d488280069630e8003f00572b..."} 
[2026-11-05 14:00:13] local.INFO: Packet analysis {"connection_id":233481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad3"} 
[2026-11-05 14:00:13] local.INFO: Extracted packet for processing {"connection_id":233481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad3"} 
[2026-11-05 14:00:13] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229959168001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 14:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793867329000,"timestamp_ms":1793867329000,"timestamp_seconds":1793867329,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad32de8"} 
[2026-11-05 14: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-05 14:00: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-05 14: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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-11-05 14:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":233481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":233481,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":233481,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229959168001,"66":26593,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 14:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229959168001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:00:13] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 14:00:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 14:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229959168001,"power":26593,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 14:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":233481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63345,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:00:14] local.INFO: GPS data processed {"connection_id":233481,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:00:14] local.INFO: Acknowledgment sent {"connection_id":233481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:00:26] local.INFO: TCP Data received {"connection_id":233480,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 14:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 14:00:26] local.INFO: Processing buffer {"connection_id":233480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aacf8468012d7fad0005afe0480019004528..."} 
[2026-11-05 14:00:26] local.INFO: Packet analysis {"connection_id":233480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 14:00:26] local.INFO: Extracted packet for processing {"connection_id":233480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aacf"} 
[2026-11-05 14:00:26] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":25,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 14:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229897728001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 14:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 14:00:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793867089000,"timestamp_ms":1793867089000,"timestamp_seconds":1793867089,"priority":1,"record_length":96,"hex_timestamp":"000001a1aacf8468"} 
[2026-11-05 14:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:00: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-05 14:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 14:00: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-05 14:00:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:00:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229897728001,"66":25375,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229897728001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:00:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:00:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 14:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229897728001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 14:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":233480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:00:26] local.INFO: GPS data processed {"connection_id":233480,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:00:26] local.INFO: Acknowledgment sent {"connection_id":233480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:00:26] local.INFO: TCP Data received {"connection_id":230247,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad408a8012d0b10c00702a1800000014e1d..."} 
[2026-11-05 14:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad408a8012d0b10c00702a1800000014e1d..."} 
[2026-11-05 14:00:26] local.INFO: Processing buffer {"connection_id":230247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad408a8012d0b10c00702a1800000014e1d..."} 
[2026-11-05 14:00:26] local.INFO: Packet analysis {"connection_id":230247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:00:26] local.INFO: Extracted packet for processing {"connection_id":230247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:00:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 14:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229973504001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 14:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 14:00: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-05 14:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793867385000,"timestamp_ms":1793867385000,"timestamp_seconds":1793867385,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad408a8"} 
[2026-11-05 14:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:00:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 14:00:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:00:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230247,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230247,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:00:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 14:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 14:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229973504001,"66":11971,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 14:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 14:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 14:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229973504001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:00:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 14:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 14:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229973504001,"power":11971,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 14:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":230247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63347,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:00:26] local.INFO: GPS data processed {"connection_id":230247,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:00:26] local.INFO: Acknowledgment sent {"connection_id":230247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:00:46] local.INFO: TCP Data received {"connection_id":233481,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad32de8012d488280069630e8003f00572b..."} 
[2026-11-05 14:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad32de8012d488280069630e8003f00572b..."} 
[2026-11-05 14:00:46] local.INFO: Processing buffer {"connection_id":233481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad32de8012d488280069630e8003f00572b..."} 
[2026-11-05 14:00:46] local.INFO: Packet analysis {"connection_id":233481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad3"} 
[2026-11-05 14:00:46] local.INFO: Extracted packet for processing {"connection_id":233481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad3"} 
[2026-11-05 14:00:46] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229959168001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 14:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793867329000,"timestamp_ms":1793867329000,"timestamp_seconds":1793867329,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad32de8"} 
[2026-11-05 14: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-05 14:00: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-05 14: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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-11-05 14:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":233481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":233481,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":233481,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229959168001,"66":26593,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 14:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229959168001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:00:46] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 14:00:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 14:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229959168001,"power":26593,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 14:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":233481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63348,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:00:46] local.INFO: GPS data processed {"connection_id":233481,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:00:46] local.INFO: Acknowledgment sent {"connection_id":233481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:00:49] local.INFO: TCP Data received {"connection_id":229722,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229722,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:00:49] local.INFO: Processing buffer {"connection_id":229722,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:00:49] local.INFO: IMEI packet received {"connection_id":229722,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":229722,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:00:55] local.INFO: TCP Data received {"connection_id":229722,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229722,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:00:55] local.INFO: Processing buffer {"connection_id":229722,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:00:55] local.INFO: IMEI packet received {"connection_id":229722,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":229722,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:00:56] local.INFO: TCP Data received {"connection_id":229722,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad408a8012d0b10c00702a1800000014e1d..."} 
[2026-11-05 14:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad408a8012d0b10c00702a1800000014e1d..."} 
[2026-11-05 14:00:56] local.INFO: Processing buffer {"connection_id":229722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad408a8012d0b10c00702a1800000014e1d..."} 
[2026-11-05 14:00:56] local.INFO: Packet analysis {"connection_id":229722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:00:56] local.INFO: Extracted packet for processing {"connection_id":229722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:00:56] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229973504001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 14:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 14:00:56] 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-05 14:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793867385000,"timestamp_ms":1793867385000,"timestamp_seconds":1793867385,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad408a8"} 
[2026-11-05 14: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-05 14:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 14:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":229722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":229722,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":229722,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 14:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 14:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229973504001,"66":11971,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 14:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 14:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 14:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229973504001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:00:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 14:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 14:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229973504001,"power":11971,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 14:00:56] 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":63349,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:00:56] local.INFO: GPS data processed {"connection_id":229722,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:00:56] local.INFO: Acknowledgment sent {"connection_id":229722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:01:08] local.INFO: TCP Data received {"connection_id":229723,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:01:08] local.INFO: Processing buffer {"connection_id":229723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:01:08] local.INFO: IMEI packet received {"connection_id":229723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":229723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:01:11] local.INFO: TCP Data received {"connection_id":231578,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:01:11] local.INFO: Processing buffer {"connection_id":231578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:01:11] local.INFO: IMEI packet received {"connection_id":231578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":231578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:01:13] local.INFO: TCP Data received {"connection_id":229723,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:01:13] local.INFO: Processing buffer {"connection_id":229723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:01:13] local.INFO: IMEI packet received {"connection_id":229723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":229723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:01:14] local.INFO: TCP Data received {"connection_id":229723,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad41c30012d7fad0005afe048000a004529..."} 
[2026-11-05 14:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad41c30012d7fad0005afe048000a004529..."} 
[2026-11-05 14:01:14] local.INFO: Processing buffer {"connection_id":229723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad41c30012d7fad0005afe048000a004529..."} 
[2026-11-05 14:01:14] local.INFO: Packet analysis {"connection_id":229723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:01:14] local.INFO: Extracted packet for processing {"connection_id":229723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:01:14] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 14:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229974784001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 14:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 14:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793867390000,"timestamp_ms":1793867390000,"timestamp_seconds":1793867390,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad41c30"} 
[2026-11-05 14:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:01: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-05 14:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 14:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229974784001,"66":25343,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229974784001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:01:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:01:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 14:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229974784001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 14:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":229723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:01:14] local.INFO: GPS data processed {"connection_id":229723,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:01:14] local.INFO: Acknowledgment sent {"connection_id":229723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:01:18] local.INFO: TCP Data received {"connection_id":231578,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:01:18] local.INFO: Processing buffer {"connection_id":231578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:01:18] local.INFO: IMEI packet received {"connection_id":231578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":231578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:01:26] local.INFO: TCP Data received {"connection_id":231578,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad32de8012d488280069630e8003f00572b..."} 
[2026-11-05 14:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad32de8012d488280069630e8003f00572b..."} 
[2026-11-05 14:01:26] local.INFO: Processing buffer {"connection_id":231578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad32de8012d488280069630e8003f00572b..."} 
[2026-11-05 14:01:26] local.INFO: Packet analysis {"connection_id":231578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad3"} 
[2026-11-05 14:01:26] local.INFO: Extracted packet for processing {"connection_id":231578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad3"} 
[2026-11-05 14:01:26] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229959168001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 14:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793867329000,"timestamp_ms":1793867329000,"timestamp_seconds":1793867329,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad32de8"} 
[2026-11-05 14: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-05 14:01:26] 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-05 14: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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-11-05 14:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229959168001,"66":26593,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 14:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229959168001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:01:26] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 14:01:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 14:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229959168001,"power":26593,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 14:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":231578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63351,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:01:26] local.INFO: GPS data processed {"connection_id":231578,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:01:26] local.INFO: Acknowledgment sent {"connection_id":231578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:01:27] local.INFO: TCP Data received {"connection_id":229722,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad408a8012d0b10c00702a1800000014e1d..."} 
[2026-11-05 14:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad408a8012d0b10c00702a1800000014e1d..."} 
[2026-11-05 14:01:27] local.INFO: Processing buffer {"connection_id":229722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad408a8012d0b10c00702a1800000014e1d..."} 
[2026-11-05 14:01:27] local.INFO: Packet analysis {"connection_id":229722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:01:27] local.INFO: Extracted packet for processing {"connection_id":229722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:01:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229973504001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 14:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 14:01:27] 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-05 14:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793867385000,"timestamp_ms":1793867385000,"timestamp_seconds":1793867385,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad408a8"} 
[2026-11-05 14: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-05 14:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 14:01:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":229722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":229722,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":229722,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 14:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 14:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229973504001,"66":11971,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 14:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 14:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 14:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229973504001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:01:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 14:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 14:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229973504001,"power":11971,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 14:01:28] 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":63352,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:01:28] local.INFO: GPS data processed {"connection_id":229722,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:01:28] local.INFO: Acknowledgment sent {"connection_id":229722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:01:32] local.INFO: TCP Data received {"connection_id":231578,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad32de8012d488280069630e8003f00572b..."} 
[2026-11-05 14:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad32de8012d488280069630e8003f00572b..."} 
[2026-11-05 14:01:32] local.INFO: Processing buffer {"connection_id":231578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad32de8012d488280069630e8003f00572b..."} 
[2026-11-05 14:01:32] local.INFO: Packet analysis {"connection_id":231578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad3"} 
[2026-11-05 14:01:32] local.INFO: Extracted packet for processing {"connection_id":231578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad3"} 
[2026-11-05 14:01:32] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229959168001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 14:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1793867329000,"timestamp_ms":1793867329000,"timestamp_seconds":1793867329,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad32de8"} 
[2026-11-05 14: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-05 14:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-11-05 14:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":231578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":231578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":231578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229959168001,"66":26593,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 14:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229959168001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:01:32] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 14:01:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 14:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229959168001,"power":26593,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 14:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":231578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63353,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:01:32] local.INFO: GPS data processed {"connection_id":231578,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:01:32] local.INFO: Acknowledgment sent {"connection_id":231578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:01:45] local.INFO: TCP Data received {"connection_id":229723,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad41c30012d7fad0005afe048000a004529..."} 
[2026-11-05 14:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad41c30012d7fad0005afe048000a004529..."} 
[2026-11-05 14:01:45] local.INFO: Processing buffer {"connection_id":229723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad41c30012d7fad0005afe048000a004529..."} 
[2026-11-05 14:01:45] local.INFO: Packet analysis {"connection_id":229723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:01:45] local.INFO: Extracted packet for processing {"connection_id":229723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:01:45] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 14:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229974784001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 14:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 14:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793867390000,"timestamp_ms":1793867390000,"timestamp_seconds":1793867390,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad41c30"} 
[2026-11-05 14:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:01: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-05 14:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 14:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229974784001,"66":25343,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229974784001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:01:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:01:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 14:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229974784001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 14:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":229723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:01:45] local.INFO: GPS data processed {"connection_id":229723,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:01:45] local.INFO: Acknowledgment sent {"connection_id":229723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:01:48] local.INFO: TCP Data received {"connection_id":231579,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231579,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:01:48] local.INFO: Processing buffer {"connection_id":231579,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:01:48] local.INFO: IMEI packet received {"connection_id":231579,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":231579,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:01:54] local.INFO: TCP Data received {"connection_id":231579,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231579,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:01:54] local.INFO: Processing buffer {"connection_id":231579,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:01:54] local.INFO: IMEI packet received {"connection_id":231579,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":231579,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:01:54] local.INFO: TCP Data received {"connection_id":231579,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad408a8012d0b10c00702a1800000014e1d..."} 
[2026-11-05 14:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad408a8012d0b10c00702a1800000014e1d..."} 
[2026-11-05 14:01:54] local.INFO: Processing buffer {"connection_id":231579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad408a8012d0b10c00702a1800000014e1d..."} 
[2026-11-05 14:01:54] local.INFO: Packet analysis {"connection_id":231579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:01:54] local.INFO: Extracted packet for processing {"connection_id":231579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:01:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 14:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229973504001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 14:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 14:01: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-05 14:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793867385000,"timestamp_ms":1793867385000,"timestamp_seconds":1793867385,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad408a8"} 
[2026-11-05 14:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 14:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":231579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":231579,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":231579,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 14:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 14:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229973504001,"66":11971,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 14:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 14:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 14:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229973504001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:01:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 14:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 14:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229973504001,"power":11971,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 14:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":231579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63355,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:01:55] local.INFO: GPS data processed {"connection_id":231579,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:01:55] local.INFO: Acknowledgment sent {"connection_id":231579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:02:06] local.INFO: TCP Data received {"connection_id":230248,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230248,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:02:06] local.INFO: Processing buffer {"connection_id":230248,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:02:06] local.INFO: IMEI packet received {"connection_id":230248,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":230248,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:02:08] local.INFO: TCP Data received {"connection_id":229724,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:02:08] local.INFO: Processing buffer {"connection_id":229724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:02:08] local.INFO: IMEI packet received {"connection_id":229724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":229724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:02:11] local.INFO: TCP Data received {"connection_id":230248,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230248,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:02:11] local.INFO: Processing buffer {"connection_id":230248,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:02:11] local.INFO: IMEI packet received {"connection_id":230248,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":230248,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:02:13] local.INFO: TCP Data received {"connection_id":230248,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad32de8012d488280069630e8003f00572b..."} 
[2026-11-05 14:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad32de8012d488280069630e8003f00572b..."} 
[2026-11-05 14:02:13] local.INFO: Processing buffer {"connection_id":230248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad32de8012d488280069630e8003f00572b..."} 
[2026-11-05 14:02:13] local.INFO: Packet analysis {"connection_id":230248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad3"} 
[2026-11-05 14:02:13] local.INFO: Extracted packet for processing {"connection_id":230248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad3"} 
[2026-11-05 14:02:13] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229959168001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 14:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793867329000,"timestamp_ms":1793867329000,"timestamp_seconds":1793867329,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad32de8"} 
[2026-11-05 14: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-05 14:02: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-05 14: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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-11-05 14:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230248,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230248,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229959168001,"66":26593,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 14:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229959168001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:02:13] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 14:02:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 14:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229959168001,"power":26593,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 14:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":230248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63356,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:02:13] local.INFO: GPS data processed {"connection_id":230248,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:02:13] local.INFO: Acknowledgment sent {"connection_id":230248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:02:13] local.INFO: TCP Data received {"connection_id":229724,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:02:13] local.INFO: Processing buffer {"connection_id":229724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:02:13] local.INFO: IMEI packet received {"connection_id":229724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":229724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:02:14] local.INFO: TCP Data received {"connection_id":229724,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad41c30012d7fad0005afe048000a004529..."} 
[2026-11-05 14:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad41c30012d7fad0005afe048000a004529..."} 
[2026-11-05 14:02:15] local.INFO: Processing buffer {"connection_id":229724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad41c30012d7fad0005afe048000a004529..."} 
[2026-11-05 14:02:15] local.INFO: Packet analysis {"connection_id":229724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:02:15] local.INFO: Extracted packet for processing {"connection_id":229724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:02:15] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229974784001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 14:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 14:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793867390000,"timestamp_ms":1793867390000,"timestamp_seconds":1793867390,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad41c30"} 
[2026-11-05 14: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-05 14:02: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-05 14:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 14:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 14: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-05 14: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-05 14:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:02:15] 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-05 14:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229974784001,"66":25343,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229974784001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:02:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:02:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 14:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229974784001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 14:02:15] 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":63357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:02:15] local.INFO: GPS data processed {"connection_id":229724,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:02:15] local.INFO: Acknowledgment sent {"connection_id":229724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:02:19] local.INFO: TCP Data received {"connection_id":229724,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad41c30012d7fad0005afe048000a004529..."} 
[2026-11-05 14:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad41c30012d7fad0005afe048000a004529..."} 
[2026-11-05 14:02:19] local.INFO: Processing buffer {"connection_id":229724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad41c30012d7fad0005afe048000a004529..."} 
[2026-11-05 14:02:19] local.INFO: Packet analysis {"connection_id":229724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:02:19] local.INFO: Extracted packet for processing {"connection_id":229724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:02:19] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 14:02: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-05 14:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229974784001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 14:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 14:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793867390000,"timestamp_ms":1793867390000,"timestamp_seconds":1793867390,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad41c30"} 
[2026-11-05 14:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:02: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-05 14:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 14:02:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:02: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-05 14:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:02:19] 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-05 14:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229974784001,"66":25343,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229974784001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:02:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:02:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 14:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229974784001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 14:02:19] 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":63358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:02:19] local.INFO: GPS data processed {"connection_id":229724,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:02:19] local.INFO: Acknowledgment sent {"connection_id":229724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:02:26] local.INFO: TCP Data received {"connection_id":231579,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad408a8012d0b10c00702a1800000014e1d..."} 
[2026-11-05 14:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad408a8012d0b10c00702a1800000014e1d..."} 
[2026-11-05 14:02:26] local.INFO: Processing buffer {"connection_id":231579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad408a8012d0b10c00702a1800000014e1d..."} 
[2026-11-05 14:02:26] local.INFO: Packet analysis {"connection_id":231579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:02:26] local.INFO: Extracted packet for processing {"connection_id":231579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:02:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 14:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229973504001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 14:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 14:02: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-05 14:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793867385000,"timestamp_ms":1793867385000,"timestamp_seconds":1793867385,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad408a8"} 
[2026-11-05 14:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 14:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231579,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231579,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 14:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 14:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229973504001,"66":11971,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 14:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 14:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 14:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229973504001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:02:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 14:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 14:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229973504001,"power":11971,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 14:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":231579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63359,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:02:26] local.INFO: GPS data processed {"connection_id":231579,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:02:26] local.INFO: Acknowledgment sent {"connection_id":231579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:02:48] local.INFO: TCP Data received {"connection_id":230248,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad32de8012d488280069630e8003f00572b..."} 
[2026-11-05 14:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad32de8012d488280069630e8003f00572b..."} 
[2026-11-05 14:02:48] local.INFO: Processing buffer {"connection_id":230248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad32de8012d488280069630e8003f00572b..."} 
[2026-11-05 14:02:48] local.INFO: Packet analysis {"connection_id":230248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad3"} 
[2026-11-05 14:02:48] local.INFO: Extracted packet for processing {"connection_id":230248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad3"} 
[2026-11-05 14:02:48] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229959168001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 14:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793867329000,"timestamp_ms":1793867329000,"timestamp_seconds":1793867329,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad32de8"} 
[2026-11-05 14: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-05 14:02: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-05 14: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":236,"data_length":795,"current_offset":136} 
[2026-11-05 14:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230248,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230248,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229959168001,"66":26593,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 14:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229959168001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:02:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 14:02:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 14:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229959168001,"power":26593,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 14:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":230248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63360,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:02:48] local.INFO: GPS data processed {"connection_id":230248,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:02:48] local.INFO: Acknowledgment sent {"connection_id":230248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:02:48] local.INFO: TCP Data received {"connection_id":233482,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233482,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:02:48] local.INFO: Processing buffer {"connection_id":233482,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:02:48] local.INFO: IMEI packet received {"connection_id":233482,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":233482,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:02:54] local.INFO: TCP Data received {"connection_id":233482,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233482,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:02:54] local.INFO: Processing buffer {"connection_id":233482,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:02:54] local.INFO: IMEI packet received {"connection_id":233482,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":233482,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:02:55] local.INFO: TCP Data received {"connection_id":233482,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad408a8012d0b10c00702a1800000014e1d..."} 
[2026-11-05 14:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad408a8012d0b10c00702a1800000014e1d..."} 
[2026-11-05 14:02:55] local.INFO: Processing buffer {"connection_id":233482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad408a8012d0b10c00702a1800000014e1d..."} 
[2026-11-05 14:02:55] local.INFO: Packet analysis {"connection_id":233482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:02:55] local.INFO: Extracted packet for processing {"connection_id":233482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:02:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229973504001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 14:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 14:02: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-05 14:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793867385000,"timestamp_ms":1793867385000,"timestamp_seconds":1793867385,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad408a8"} 
[2026-11-05 14: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-05 14:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 14:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":233482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":233482,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":233482,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 14:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 14:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229973504001,"66":11971,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 14:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 14:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 14:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229973504001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:02:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 14:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 14:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229973504001,"power":11971,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 14:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":233482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63361,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:02:55] local.INFO: GPS data processed {"connection_id":233482,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:02:55] local.INFO: Acknowledgment sent {"connection_id":233482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:03:03] local.INFO: TCP Data received {"connection_id":229725,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:03:03] local.INFO: Processing buffer {"connection_id":229725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:03:03] local.INFO: IMEI packet received {"connection_id":229725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":229725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:03:06] local.INFO: TCP Data received {"connection_id":233483,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233483,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:03:06] local.INFO: Processing buffer {"connection_id":233483,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:03:06] local.INFO: IMEI packet received {"connection_id":233483,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":233483,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:03:08] local.INFO: TCP Data received {"connection_id":229725,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:03:08] local.INFO: Processing buffer {"connection_id":229725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:03:08] local.INFO: IMEI packet received {"connection_id":229725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":229725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:03:12] local.INFO: TCP Data received {"connection_id":233483,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233483,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:03:12] local.INFO: Processing buffer {"connection_id":233483,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:03:12] local.INFO: IMEI packet received {"connection_id":233483,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":233483,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:03:12] local.INFO: TCP Data received {"connection_id":229725,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad41c30012d7fad0005afe048000a004529..."} 
[2026-11-05 14:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad41c30012d7fad0005afe048000a004529..."} 
[2026-11-05 14:03:12] local.INFO: Processing buffer {"connection_id":229725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad41c30012d7fad0005afe048000a004529..."} 
[2026-11-05 14:03:12] local.INFO: Packet analysis {"connection_id":229725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:03:12] local.INFO: Extracted packet for processing {"connection_id":229725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:03:12] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 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-05 14:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229974784001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 14:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 14:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793867390000,"timestamp_ms":1793867390000,"timestamp_seconds":1793867390,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad41c30"} 
[2026-11-05 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-05 14: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-05 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 14:03: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-05 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-05 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-05 14:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229974784001,"66":25343,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229974784001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:03:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:03:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 14:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229974784001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 14:03: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":63362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:03:12] local.INFO: GPS data processed {"connection_id":229725,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:03:12] local.INFO: Acknowledgment sent {"connection_id":229725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:03:18] local.INFO: TCP Data received {"connection_id":233483,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad32de8012d488280069630e8003f00572b..."} 
[2026-11-05 14:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad32de8012d488280069630e8003f00572b..."} 
[2026-11-05 14:03:18] local.INFO: Processing buffer {"connection_id":233483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad32de8012d488280069630e8003f00572b..."} 
[2026-11-05 14:03:18] local.INFO: Packet analysis {"connection_id":233483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad3"} 
[2026-11-05 14:03:18] local.INFO: Extracted packet for processing {"connection_id":233483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad3"} 
[2026-11-05 14:03:18] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229959168001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 14:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793867329000,"timestamp_ms":1793867329000,"timestamp_seconds":1793867329,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad32de8"} 
[2026-11-05 14: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-05 14:03:18] 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-05 14: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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-11-05 14:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":233483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":233483,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":233483,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229959168001,"66":26593,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 14:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229959168001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:03:18] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 14:03:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 14:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229959168001,"power":26593,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 14:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":233483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63363,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:03:19] local.INFO: GPS data processed {"connection_id":233483,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:03:19] local.INFO: Acknowledgment sent {"connection_id":233483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:03:26] local.INFO: TCP Data received {"connection_id":233482,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad408a8012d0b10c00702a1800000014e1d..."} 
[2026-11-05 14:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad408a8012d0b10c00702a1800000014e1d..."} 
[2026-11-05 14:03:26] local.INFO: Processing buffer {"connection_id":233482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad408a8012d0b10c00702a1800000014e1d..."} 
[2026-11-05 14:03:26] local.INFO: Packet analysis {"connection_id":233482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:03:26] local.INFO: Extracted packet for processing {"connection_id":233482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:03:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 14:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229973504001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 14:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 14:03: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-05 14:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793867385000,"timestamp_ms":1793867385000,"timestamp_seconds":1793867385,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad408a8"} 
[2026-11-05 14:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 14:03:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:03:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233482,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233482,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:03:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 14:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 14:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229973504001,"66":11971,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 14:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 14:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 14:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229973504001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:03:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 14:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 14:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229973504001,"power":11971,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 14:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":233482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63364,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:03:26] local.INFO: GPS data processed {"connection_id":233482,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:03:26] local.INFO: Acknowledgment sent {"connection_id":233482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:03:43] local.INFO: TCP Data received {"connection_id":229725,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad41c30012d7fad0005afe048000a004529..."} 
[2026-11-05 14:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad41c30012d7fad0005afe048000a004529..."} 
[2026-11-05 14:03:43] local.INFO: Processing buffer {"connection_id":229725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad41c30012d7fad0005afe048000a004529..."} 
[2026-11-05 14:03:43] local.INFO: Packet analysis {"connection_id":229725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:03:43] local.INFO: Extracted packet for processing {"connection_id":229725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:03:43] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 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-05 14:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229974784001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 14:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 14:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793867390000,"timestamp_ms":1793867390000,"timestamp_seconds":1793867390,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad41c30"} 
[2026-11-05 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-05 14: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-05 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 14:03: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-05 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-05 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-05 14:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:03:43] local.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-05 14:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229974784001,"66":25343,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229974784001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:03:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:03:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 14:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229974784001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 14:03:43] 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":63365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:03:43] local.INFO: GPS data processed {"connection_id":229725,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:03:43] local.INFO: Acknowledgment sent {"connection_id":229725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:03:48] local.INFO: TCP Data received {"connection_id":230249,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230249,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:03:48] local.INFO: Processing buffer {"connection_id":230249,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:03:48] local.INFO: IMEI packet received {"connection_id":230249,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":230249,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:03:53] local.INFO: TCP Data received {"connection_id":233483,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad32de8012d488280069630e8003f00572b..."} 
[2026-11-05 14:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad32de8012d488280069630e8003f00572b..."} 
[2026-11-05 14:03:53] local.INFO: Processing buffer {"connection_id":233483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad32de8012d488280069630e8003f00572b..."} 
[2026-11-05 14:03:53] local.INFO: Packet analysis {"connection_id":233483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad3"} 
[2026-11-05 14:03:53] local.INFO: Extracted packet for processing {"connection_id":233483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad3"} 
[2026-11-05 14:03:53] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229959168001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 14:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793867329000,"timestamp_ms":1793867329000,"timestamp_seconds":1793867329,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad32de8"} 
[2026-11-05 14: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-05 14:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":236,"data_length":795,"current_offset":136} 
[2026-11-05 14:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":233483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":233483,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":233483,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229959168001,"66":26593,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 14:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229959168001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:03:53] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 14:03:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 14:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229959168001,"power":26593,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 14:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":233483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63366,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:03:53] local.INFO: GPS data processed {"connection_id":233483,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:03:53] local.INFO: Acknowledgment sent {"connection_id":233483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:03:53] local.INFO: TCP Data received {"connection_id":230249,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230249,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:03:53] local.INFO: Processing buffer {"connection_id":230249,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:03:53] local.INFO: IMEI packet received {"connection_id":230249,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":230249,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:03:57] local.INFO: TCP Data received {"connection_id":230249,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad408a8012d0b10c00702a1800000014e1d..."} 
[2026-11-05 14:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad408a8012d0b10c00702a1800000014e1d..."} 
[2026-11-05 14:03:57] local.INFO: Processing buffer {"connection_id":230249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad408a8012d0b10c00702a1800000014e1d..."} 
[2026-11-05 14:03:57] local.INFO: Packet analysis {"connection_id":230249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:03:57] local.INFO: Extracted packet for processing {"connection_id":230249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:03:57] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 14:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229973504001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 14:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 14:03:57] 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-05 14:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1793867385000,"timestamp_ms":1793867385000,"timestamp_seconds":1793867385,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad408a8"} 
[2026-11-05 14:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 14:03:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:03:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":230249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":230249,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":230249,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 14:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 14:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229973504001,"66":11971,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 14:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 14:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 14:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229973504001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:03:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 14:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 14:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229973504001,"power":11971,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 14:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":230249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63367,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:03:57] local.INFO: GPS data processed {"connection_id":230249,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:03:57] local.INFO: Acknowledgment sent {"connection_id":230249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:04:03] local.INFO: TCP Data received {"connection_id":229726,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:04:03] local.INFO: Processing buffer {"connection_id":229726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:04:03] local.INFO: IMEI packet received {"connection_id":229726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":229726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:04:08] local.INFO: TCP Data received {"connection_id":229726,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:04:08] local.INFO: Processing buffer {"connection_id":229726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:04:08] local.INFO: IMEI packet received {"connection_id":229726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":229726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:04:09] local.INFO: TCP Data received {"connection_id":229726,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad41c30012d7fad0005afe048000a004529..."} 
[2026-11-05 14:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad41c30012d7fad0005afe048000a004529..."} 
[2026-11-05 14:04:09] local.INFO: Processing buffer {"connection_id":229726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad41c30012d7fad0005afe048000a004529..."} 
[2026-11-05 14:04:09] local.INFO: Packet analysis {"connection_id":229726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:04:09] local.INFO: Extracted packet for processing {"connection_id":229726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:04:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 14:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229974784001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 14:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 14:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793867390000,"timestamp_ms":1793867390000,"timestamp_seconds":1793867390,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad41c30"} 
[2026-11-05 14:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 14:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 14:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229974784001,"66":25343,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229974784001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:04:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:04:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 14:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229974784001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 14:04:09] 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":63368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:04:09] local.INFO: GPS data processed {"connection_id":229726,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:04:09] local.INFO: Acknowledgment sent {"connection_id":229726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:04:11] local.INFO: TCP Data received {"connection_id":231580,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231580,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:04:11] local.INFO: Processing buffer {"connection_id":231580,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:04:11] local.INFO: IMEI packet received {"connection_id":231580,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":231580,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:04:19] local.INFO: TCP Data received {"connection_id":231580,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231580,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:04:19] local.INFO: Processing buffer {"connection_id":231580,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:04:19] local.INFO: IMEI packet received {"connection_id":231580,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":231580,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:04:22] local.INFO: TCP Data received {"connection_id":231580,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad32de8012d488280069630e8003f00572b..."} 
[2026-11-05 14:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad32de8012d488280069630e8003f00572b..."} 
[2026-11-05 14:04:22] local.INFO: Processing buffer {"connection_id":231580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad32de8012d488280069630e8003f00572b..."} 
[2026-11-05 14:04:22] local.INFO: Packet analysis {"connection_id":231580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad3"} 
[2026-11-05 14:04:22] local.INFO: Extracted packet for processing {"connection_id":231580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad3"} 
[2026-11-05 14:04:22] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 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-05 14:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229959168001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 14:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793867329000,"timestamp_ms":1793867329000,"timestamp_seconds":1793867329,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad32de8"} 
[2026-11-05 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-05 14:04:22] 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-05 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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-11-05 14:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 14:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":231580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":231580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":231580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229959168001,"66":26593,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 14:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229959168001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:04:22] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 14:04:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 14:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229959168001,"power":26593,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 14:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":231580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63369,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:04:22] local.INFO: GPS data processed {"connection_id":231580,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:04:22] local.INFO: Acknowledgment sent {"connection_id":231580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:04:28] local.INFO: TCP Data received {"connection_id":230249,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad408a8012d0b10c00702a1800000014e1d..."} 
[2026-11-05 14:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad408a8012d0b10c00702a1800000014e1d..."} 
[2026-11-05 14:04:28] local.INFO: Processing buffer {"connection_id":230249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad408a8012d0b10c00702a1800000014e1d..."} 
[2026-11-05 14:04:28] local.INFO: Packet analysis {"connection_id":230249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:04:28] local.INFO: Extracted packet for processing {"connection_id":230249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:04:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 14:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229973504001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 14:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 14:04: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-05 14:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1793867385000,"timestamp_ms":1793867385000,"timestamp_seconds":1793867385,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad408a8"} 
[2026-11-05 14:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 14:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:04:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":230249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":230249,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":230249,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 14:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 14:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229973504001,"66":11971,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 14:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 14:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 14:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229973504001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:04:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 14:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 14:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229973504001,"power":11971,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 14:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":230249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63370,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:04:28] local.INFO: GPS data processed {"connection_id":230249,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:04:28] local.INFO: Acknowledgment sent {"connection_id":230249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:04:40] local.INFO: TCP Data received {"connection_id":229726,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad41c30012d7fad0005afe048000a004529..."} 
[2026-11-05 14:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad41c30012d7fad0005afe048000a004529..."} 
[2026-11-05 14:04:40] local.INFO: Processing buffer {"connection_id":229726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad41c30012d7fad0005afe048000a004529..."} 
[2026-11-05 14:04:40] local.INFO: Packet analysis {"connection_id":229726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:04:40] local.INFO: Extracted packet for processing {"connection_id":229726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:04:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229974784001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 14:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 14:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793867390000,"timestamp_ms":1793867390000,"timestamp_seconds":1793867390,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad41c30"} 
[2026-11-05 14: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-05 14:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":31,"data_length":795,"current_offset":136} 
[2026-11-05 14:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229974784001,"66":25343,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229974784001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:04:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:04:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 14:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229974784001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 14:04:40] 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":63371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:04:40] local.INFO: GPS data processed {"connection_id":229726,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:04:40] local.INFO: Acknowledgment sent {"connection_id":229726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:04:54] local.INFO: TCP Data received {"connection_id":230250,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230250,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:04:54] local.INFO: Processing buffer {"connection_id":230250,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:04:54] local.INFO: IMEI packet received {"connection_id":230250,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":230250,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:04:59] local.INFO: TCP Data received {"connection_id":230250,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230250,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:04:59] local.INFO: Processing buffer {"connection_id":230250,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:04:59] local.INFO: IMEI packet received {"connection_id":230250,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":230250,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:04:59] local.INFO: TCP Data received {"connection_id":230250,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad8a070012d0b10c00702a1800007014e1a..."} 
[2026-11-05 14:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad8a070012d0b10c00702a1800007014e1a..."} 
[2026-11-05 14:04:59] local.INFO: Processing buffer {"connection_id":230250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad8a070012d0b10c00702a1800007014e1a..."} 
[2026-11-05 14:04:59] local.INFO: Packet analysis {"connection_id":230250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad8"} 
[2026-11-05 14:04:59] local.INFO: Extracted packet for processing {"connection_id":230250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad8"} 
[2026-11-05 14:04:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":7,"angle":334,"satellites":26,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 14:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230050560001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 14:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 14:04: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-05 14:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793867686000,"timestamp_ms":1793867686000,"timestamp_seconds":1793867686,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad8a070"} 
[2026-11-05 14:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-05 14:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2183,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":230250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":230250,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":230250,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 14:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 14:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230050560001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 14:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 14:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 14:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230050560001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:04:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 14:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 14:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230050560001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 14:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":230250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63372,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:04:59] local.INFO: GPS data processed {"connection_id":230250,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:04:59] local.INFO: Acknowledgment sent {"connection_id":230250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:05:03] local.INFO: TCP Data received {"connection_id":233484,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:05:03] local.INFO: Processing buffer {"connection_id":233484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:05:03] local.INFO: IMEI packet received {"connection_id":233484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":233484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:05:06] local.INFO: TCP Data received {"connection_id":233485,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233485,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:05:06] local.INFO: Processing buffer {"connection_id":233485,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:05:06] local.INFO: IMEI packet received {"connection_id":233485,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":233485,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:05:08] local.INFO: TCP Data received {"connection_id":233484,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:05:08] local.INFO: Processing buffer {"connection_id":233484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:05:08] local.INFO: IMEI packet received {"connection_id":233484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":233484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:05:09] local.INFO: TCP Data received {"connection_id":233484,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad41c30012d7fad0005afe048000a004529..."} 
[2026-11-05 14:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad41c30012d7fad0005afe048000a004529..."} 
[2026-11-05 14:05:09] local.INFO: Processing buffer {"connection_id":233484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad41c30012d7fad0005afe048000a004529..."} 
[2026-11-05 14:05:09] local.INFO: Packet analysis {"connection_id":233484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:05:09] local.INFO: Extracted packet for processing {"connection_id":233484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad4"} 
[2026-11-05 14:05:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":10,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 14:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229974784001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 14:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 14:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793867390000,"timestamp_ms":1793867390000,"timestamp_seconds":1793867390,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad41c30"} 
[2026-11-05 14:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 14:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 14:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:05:09] local.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-05 14:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229974784001,"66":25343,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229974784001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:05:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:05:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 14:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229974784001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 14:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":233484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:05:09] local.INFO: GPS data processed {"connection_id":233484,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:05:09] local.INFO: Acknowledgment sent {"connection_id":233484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:05:11] local.INFO: TCP Data received {"connection_id":233485,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233485,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:05:11] local.INFO: Processing buffer {"connection_id":233485,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:05:11] local.INFO: IMEI packet received {"connection_id":233485,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":233485,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:05:15] local.INFO: TCP Data received {"connection_id":233485,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad7c5b0012d488280069630e8003f00572b..."} 
[2026-11-05 14:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad7c5b0012d488280069630e8003f00572b..."} 
[2026-11-05 14:05:15] local.INFO: Processing buffer {"connection_id":233485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad7c5b0012d488280069630e8003f00572b..."} 
[2026-11-05 14:05:15] local.INFO: Packet analysis {"connection_id":233485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad7"} 
[2026-11-05 14:05:15] local.INFO: Extracted packet for processing {"connection_id":233485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad7"} 
[2026-11-05 14:05:15] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 14:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230036224001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 14:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793867630000,"timestamp_ms":1793867630000,"timestamp_seconds":1793867630,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad7c5b0"} 
[2026-11-05 14:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14: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-05 14:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-11-05 14:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230036224001,"66":26571,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 14:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230036224001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:05:15] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 14:05:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 14:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230036224001,"power":26571,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 14:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":233485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63374,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:05:15] local.INFO: GPS data processed {"connection_id":233485,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:05:15] local.INFO: Acknowledgment sent {"connection_id":233485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:05:31] local.INFO: TCP Data received {"connection_id":230250,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad8a070012d0b10c00702a1800007014e1a..."} 
[2026-11-05 14:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad8a070012d0b10c00702a1800007014e1a..."} 
[2026-11-05 14:05:31] local.INFO: Processing buffer {"connection_id":230250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad8a070012d0b10c00702a1800007014e1a..."} 
[2026-11-05 14:05:31] local.INFO: Packet analysis {"connection_id":230250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad8"} 
[2026-11-05 14:05:31] local.INFO: Extracted packet for processing {"connection_id":230250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad8"} 
[2026-11-05 14:05:31] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":7,"angle":334,"satellites":26,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 14:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230050560001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 14:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 14:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793867686000,"timestamp_ms":1793867686000,"timestamp_seconds":1793867686,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad8a070"} 
[2026-11-05 14:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-05 14:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2183,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":230250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":230250,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":230250,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 14:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 14:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230050560001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 14:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 14:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 14:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230050560001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:05:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 14:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 14:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230050560001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 14:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":230250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63375,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:05:31] local.INFO: GPS data processed {"connection_id":230250,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:05:31] local.INFO: Acknowledgment sent {"connection_id":230250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:05:40] local.INFO: TCP Data received {"connection_id":233484,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad8b3f8012d7fad0005afe0480000004527..."} 
[2026-11-05 14:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad8b3f8012d7fad0005afe0480000004527..."} 
[2026-11-05 14:05:40] local.INFO: Processing buffer {"connection_id":233484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad8b3f8012d7fad0005afe0480000004527..."} 
[2026-11-05 14:05:40] local.INFO: Packet analysis {"connection_id":233484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad8"} 
[2026-11-05 14:05:40] local.INFO: Extracted packet for processing {"connection_id":233484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad8"} 
[2026-11-05 14:05:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 14:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230051840001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 14:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 14:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793867691000,"timestamp_ms":1793867691000,"timestamp_seconds":1793867691,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad8b3f8"} 
[2026-11-05 14:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 14:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230051840001,"66":25397,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230051840001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:05:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:05:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 14:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230051840001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 14:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":233484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:05:40] local.INFO: GPS data processed {"connection_id":233484,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:05:40] local.INFO: Acknowledgment sent {"connection_id":233484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:05:48] local.INFO: TCP Data received {"connection_id":233485,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad7c5b0012d488280069630e8003f00572b..."} 
[2026-11-05 14:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad7c5b0012d488280069630e8003f00572b..."} 
[2026-11-05 14:05:48] local.INFO: Processing buffer {"connection_id":233485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad7c5b0012d488280069630e8003f00572b..."} 
[2026-11-05 14:05:48] local.INFO: Packet analysis {"connection_id":233485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad7"} 
[2026-11-05 14:05:48] local.INFO: Extracted packet for processing {"connection_id":233485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad7"} 
[2026-11-05 14:05:48] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230036224001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 14:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793867630000,"timestamp_ms":1793867630000,"timestamp_seconds":1793867630,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad7c5b0"} 
[2026-11-05 14: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-05 14:05: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-05 14: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":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-11-05 14:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":233485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":233485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":233485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230036224001,"66":26571,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 14:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230036224001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:05:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 14:05:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 14:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230036224001,"power":26571,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 14:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":233485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63377,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:05:48] local.INFO: GPS data processed {"connection_id":233485,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:05:48] local.INFO: Acknowledgment sent {"connection_id":233485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:05:48] local.INFO: TCP Data received {"connection_id":229727,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229727,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:05:48] local.INFO: Processing buffer {"connection_id":229727,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:05:48] local.INFO: IMEI packet received {"connection_id":229727,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":229727,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:05:54] local.INFO: TCP Data received {"connection_id":229727,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229727,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:05:54] local.INFO: Processing buffer {"connection_id":229727,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:05:54] local.INFO: IMEI packet received {"connection_id":229727,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":229727,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:05:55] local.INFO: TCP Data received {"connection_id":229727,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad8a070012d0b10c00702a1800007014e1a..."} 
[2026-11-05 14:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad8a070012d0b10c00702a1800007014e1a..."} 
[2026-11-05 14:05:55] local.INFO: Processing buffer {"connection_id":229727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad8a070012d0b10c00702a1800007014e1a..."} 
[2026-11-05 14:05:55] local.INFO: Packet analysis {"connection_id":229727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad8"} 
[2026-11-05 14:05:55] local.INFO: Extracted packet for processing {"connection_id":229727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad8"} 
[2026-11-05 14:05:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":7,"angle":334,"satellites":26,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 14:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230050560001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 14:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 14:05: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-05 14:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793867686000,"timestamp_ms":1793867686000,"timestamp_seconds":1793867686,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad8a070"} 
[2026-11-05 14:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-05 14:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2183,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:05:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229727,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229727,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 14:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 14:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230050560001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 14:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 14:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 14:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230050560001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:05:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 14:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 14:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230050560001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 14:05:55] 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":63378,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:05:55] local.INFO: GPS data processed {"connection_id":229727,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:05:55] local.INFO: Acknowledgment sent {"connection_id":229727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:06:03] local.INFO: TCP Data received {"connection_id":230251,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:06:03] local.INFO: Processing buffer {"connection_id":230251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:06:03] local.INFO: IMEI packet received {"connection_id":230251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":230251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:06:08] local.INFO: TCP Data received {"connection_id":230251,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:06:08] local.INFO: Processing buffer {"connection_id":230251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:06:08] local.INFO: IMEI packet received {"connection_id":230251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":230251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:06:09] local.INFO: TCP Data received {"connection_id":230251,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad8b3f8012d7fad0005afe0480000004527..."} 
[2026-11-05 14:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad8b3f8012d7fad0005afe0480000004527..."} 
[2026-11-05 14:06:09] local.INFO: Processing buffer {"connection_id":230251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad8b3f8012d7fad0005afe0480000004527..."} 
[2026-11-05 14:06:09] local.INFO: Packet analysis {"connection_id":230251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad8"} 
[2026-11-05 14:06:09] local.INFO: Extracted packet for processing {"connection_id":230251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad8"} 
[2026-11-05 14:06:09] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 14:06: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-05 14:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230051840001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 14:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 14:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793867691000,"timestamp_ms":1793867691000,"timestamp_seconds":1793867691,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad8b3f8"} 
[2026-11-05 14:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 14:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 14:06: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-05 14:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:06:09] 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-05 14:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230051840001,"66":25397,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230051840001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:06:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:06:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 14:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230051840001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 14:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":230251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:06:09] local.INFO: GPS data processed {"connection_id":230251,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:06:09] local.INFO: Acknowledgment sent {"connection_id":230251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:06:26] local.INFO: TCP Data received {"connection_id":229727,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad8a070012d0b10c00702a1800007014e1a..."} 
[2026-11-05 14:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad8a070012d0b10c00702a1800007014e1a..."} 
[2026-11-05 14:06:26] local.INFO: Processing buffer {"connection_id":229727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad8a070012d0b10c00702a1800007014e1a..."} 
[2026-11-05 14:06:26] local.INFO: Packet analysis {"connection_id":229727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad8"} 
[2026-11-05 14:06:26] local.INFO: Extracted packet for processing {"connection_id":229727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad8"} 
[2026-11-05 14:06:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":7,"angle":334,"satellites":26,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 14:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230050560001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 14:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 14:06: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-05 14:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793867686000,"timestamp_ms":1793867686000,"timestamp_seconds":1793867686,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad8a070"} 
[2026-11-05 14:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-05 14:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2183,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229727,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229727,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 14:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 14:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230050560001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 14:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 14:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 14:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230050560001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:06:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 14:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 14:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230050560001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 14:06:27] 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":63380,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:06:27] local.INFO: GPS data processed {"connection_id":229727,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:06:27] local.INFO: Acknowledgment sent {"connection_id":229727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:06:27] local.INFO: TCP Data received {"connection_id":229728,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229728,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:06:27] local.INFO: Processing buffer {"connection_id":229728,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:06:27] local.INFO: IMEI packet received {"connection_id":229728,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":229728,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:06:31] local.INFO: TCP Data received {"connection_id":229728,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229728,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:06:31] local.INFO: Processing buffer {"connection_id":229728,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:06:31] local.INFO: IMEI packet received {"connection_id":229728,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":229728,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:06:34] local.INFO: TCP Data received {"connection_id":229728,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad7c5b0012d488280069630e8003f00572b..."} 
[2026-11-05 14:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad7c5b0012d488280069630e8003f00572b..."} 
[2026-11-05 14:06:34] local.INFO: Processing buffer {"connection_id":229728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad7c5b0012d488280069630e8003f00572b..."} 
[2026-11-05 14:06:34] local.INFO: Packet analysis {"connection_id":229728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad7"} 
[2026-11-05 14:06:34] local.INFO: Extracted packet for processing {"connection_id":229728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad7"} 
[2026-11-05 14:06:34] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 14:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230036224001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 14:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793867630000,"timestamp_ms":1793867630000,"timestamp_seconds":1793867630,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad7c5b0"} 
[2026-11-05 14:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-11-05 14:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":229728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":229728,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":229728,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230036224001,"66":26571,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 14:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230036224001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:06:34] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 14:06:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 14:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230036224001,"power":26571,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 14:06:35] 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":63381,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:06:35] local.INFO: GPS data processed {"connection_id":229728,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:06:35] local.INFO: Acknowledgment sent {"connection_id":229728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:06:40] local.INFO: TCP Data received {"connection_id":230251,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad98eb8012d7fad0005afe0480000004525..."} 
[2026-11-05 14:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad98eb8012d7fad0005afe0480000004525..."} 
[2026-11-05 14:06:40] local.INFO: Processing buffer {"connection_id":230251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad98eb8012d7fad0005afe0480000004525..."} 
[2026-11-05 14:06:40] local.INFO: Packet analysis {"connection_id":230251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad9"} 
[2026-11-05 14:06:40] local.INFO: Extracted packet for processing {"connection_id":230251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad9"} 
[2026-11-05 14:06:40] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412296,"longitude_deg":76.334208,"latitude_deg":9.5412296,"altitude":0,"angle":69,"satellites":37,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe048","is_valid_coordinates":true} 
[2026-11-05 14:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-05 14:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230128896001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 14:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 14:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793867747000,"timestamp_ms":1793867747000,"timestamp_seconds":1793867747,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad98eb8"} 
[2026-11-05 14:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 14:06: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-05 14:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230128896001,"66":25397,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230128896001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:06:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:06:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 14:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230128896001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 14:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":230251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:06:40] local.INFO: GPS data processed {"connection_id":230251,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:06:40] local.INFO: Acknowledgment sent {"connection_id":230251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:06:48] local.INFO: TCP Data received {"connection_id":231581,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231581,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:06:48] local.INFO: Processing buffer {"connection_id":231581,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:06:48] local.INFO: IMEI packet received {"connection_id":231581,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":231581,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:06:50] local.INFO: TCP Data received {"connection_id":229728,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad7c5b0012d488280069630e8003f00572b..."} 
[2026-11-05 14:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad7c5b0012d488280069630e8003f00572b..."} 
[2026-11-05 14:06:50] local.INFO: Processing buffer {"connection_id":229728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad7c5b0012d488280069630e8003f00572b..."} 
[2026-11-05 14:06:50] local.INFO: Packet analysis {"connection_id":229728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad7"} 
[2026-11-05 14:06:50] local.INFO: Extracted packet for processing {"connection_id":229728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad7"} 
[2026-11-05 14:06:50] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230036224001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 14:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793867630000,"timestamp_ms":1793867630000,"timestamp_seconds":1793867630,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad7c5b0"} 
[2026-11-05 14: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-05 14:06: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-05 14: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":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-11-05 14:06:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229728,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229728,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230036224001,"66":26571,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 14:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230036224001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:06:50] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 14:06:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 14:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230036224001,"power":26571,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 14:06:50] 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":63383,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:06:50] local.INFO: GPS data processed {"connection_id":229728,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:06:50] local.INFO: Acknowledgment sent {"connection_id":229728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:06:54] local.INFO: TCP Data received {"connection_id":231581,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231581,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:06:54] local.INFO: Processing buffer {"connection_id":231581,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:06:54] local.INFO: IMEI packet received {"connection_id":231581,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":231581,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:06:55] local.INFO: TCP Data received {"connection_id":231581,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad8a070012d0b10c00702a1800007014e1a..."} 
[2026-11-05 14:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad8a070012d0b10c00702a1800007014e1a..."} 
[2026-11-05 14:06:55] local.INFO: Processing buffer {"connection_id":231581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad8a070012d0b10c00702a1800007014e1a..."} 
[2026-11-05 14:06:55] local.INFO: Packet analysis {"connection_id":231581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad8"} 
[2026-11-05 14:06:55] local.INFO: Extracted packet for processing {"connection_id":231581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad8"} 
[2026-11-05 14:06:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":7,"angle":334,"satellites":26,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 14:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230050560001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 14:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 14:06: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-05 14:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793867686000,"timestamp_ms":1793867686000,"timestamp_seconds":1793867686,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad8a070"} 
[2026-11-05 14:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-05 14:06:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2183,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":231581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":231581,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":231581,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 14:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 14:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230050560001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 14:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 14:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 14:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230050560001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:06:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 14:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 14:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230050560001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 14:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":231581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63384,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:06:55] local.INFO: GPS data processed {"connection_id":231581,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:06:55] local.INFO: Acknowledgment sent {"connection_id":231581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:07:06] local.INFO: TCP Data received {"connection_id":230252,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:07:06] local.INFO: Processing buffer {"connection_id":230252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:07:06] local.INFO: IMEI packet received {"connection_id":230252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":230252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:07:08] local.INFO: TCP Data received {"connection_id":233486,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:07:08] local.INFO: Processing buffer {"connection_id":233486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:07:08] local.INFO: IMEI packet received {"connection_id":233486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":233486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:07:11] local.INFO: TCP Data received {"connection_id":233486,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:07:11] local.INFO: Processing buffer {"connection_id":233486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:07:11] local.INFO: IMEI packet received {"connection_id":233486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":233486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:07:11] local.INFO: TCP Data received {"connection_id":230252,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:07:11] local.INFO: Processing buffer {"connection_id":230252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:07:11] local.INFO: IMEI packet received {"connection_id":230252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":230252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:07:13] local.INFO: TCP Data received {"connection_id":233486,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:07:13] local.INFO: Processing buffer {"connection_id":233486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:07:13] local.INFO: IMEI packet received {"connection_id":233486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":233486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:07:14] local.INFO: TCP Data received {"connection_id":233486,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad99e58012d7fa70005afe3f80000002d28..."} 
[2026-11-05 14:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad99e58012d7fa70005afe3f80000002d28..."} 
[2026-11-05 14:07:14] local.INFO: Processing buffer {"connection_id":233486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad99e58012d7fa70005afe3f80000002d28..."} 
[2026-11-05 14:07:14] local.INFO: Packet analysis {"connection_id":233486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad9"} 
[2026-11-05 14:07:14] local.INFO: Extracted packet for processing {"connection_id":233486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad9"} 
[2026-11-05 14:07:14] local.INFO: GPS Element Parsed {"raw_longitude":763340544,"raw_latitude":95413240,"longitude_deg":76.3340544,"latitude_deg":9.541324,"altitude":0,"angle":45,"satellites":40,"speed":0,"hex_longitude":"2d7fa700","hex_latitude":"05afe3f8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230143232001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292093226123264,"note":"Value kept but may cause issues"} 
[2026-11-05 14:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213339136,"note":"Value kept but may cause issues"} 
[2026-11-05 14:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793867751000,"timestamp_ms":1793867751000,"timestamp_seconds":1793867751,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad99e58"} 
[2026-11-05 14: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-05 14:07: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-05 14: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 14:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230143232001,"66":27365,"28":206,"85":12544,"24":0,"16":40292093226123264,"45":9200009638213339136},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230143232001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:07:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:07:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292093226123264,"km_value":40292093226123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213339136,"description":"Unknown IO ID 45"} 
[2026-11-05 14:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230143232001,"power":27365,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213339136}} 
[2026-11-05 14:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":233486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:07:15] local.INFO: GPS data processed {"connection_id":233486,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:07:15] local.INFO: Acknowledgment sent {"connection_id":233486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:07:15] local.INFO: TCP Data received {"connection_id":230252,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad7c5b0012d488280069630e8003f00572b..."} 
[2026-11-05 14:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad7c5b0012d488280069630e8003f00572b..."} 
[2026-11-05 14:07:15] local.INFO: Processing buffer {"connection_id":230252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad7c5b0012d488280069630e8003f00572b..."} 
[2026-11-05 14:07:15] local.INFO: Packet analysis {"connection_id":230252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad7"} 
[2026-11-05 14:07:15] local.INFO: Extracted packet for processing {"connection_id":230252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad7"} 
[2026-11-05 14:07:15] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230036224001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 14:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793867630000,"timestamp_ms":1793867630000,"timestamp_seconds":1793867630,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad7c5b0"} 
[2026-11-05 14: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-05 14: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-05 14: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":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-11-05 14:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230252,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230252,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230036224001,"66":26571,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 14:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230036224001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:07:15] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 14:07:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 14:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230036224001,"power":26571,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 14:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":230252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63386,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:07:15] local.INFO: GPS data processed {"connection_id":230252,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:07:15] local.INFO: Acknowledgment sent {"connection_id":230252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:07:21] local.INFO: TCP Data received {"connection_id":230252,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad7c5b0012d488280069630e8003f00572b..."} 
[2026-11-05 14:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad7c5b0012d488280069630e8003f00572b..."} 
[2026-11-05 14:07:21] local.INFO: Processing buffer {"connection_id":230252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad7c5b0012d488280069630e8003f00572b..."} 
[2026-11-05 14:07:21] local.INFO: Packet analysis {"connection_id":230252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad7"} 
[2026-11-05 14:07:21] local.INFO: Extracted packet for processing {"connection_id":230252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad7"} 
[2026-11-05 14:07:21] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230036224001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 14:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793867630000,"timestamp_ms":1793867630000,"timestamp_seconds":1793867630,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad7c5b0"} 
[2026-11-05 14: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-05 14:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":225,"data_length":795,"current_offset":136} 
[2026-11-05 14:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230252,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230252,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230036224001,"66":26571,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 14:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230036224001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:07:21] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 14:07:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 14:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230036224001,"power":26571,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 14:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":230252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63387,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:07:21] local.INFO: GPS data processed {"connection_id":230252,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:07:21] local.INFO: Acknowledgment sent {"connection_id":230252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:07:27] local.INFO: TCP Data received {"connection_id":231581,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad8a070012d0b10c00702a1800007014e1a..."} 
[2026-11-05 14:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad8a070012d0b10c00702a1800007014e1a..."} 
[2026-11-05 14:07:27] local.INFO: Processing buffer {"connection_id":231581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad8a070012d0b10c00702a1800007014e1a..."} 
[2026-11-05 14:07:27] local.INFO: Packet analysis {"connection_id":231581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad8"} 
[2026-11-05 14:07:27] local.INFO: Extracted packet for processing {"connection_id":231581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad8"} 
[2026-11-05 14:07:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":7,"angle":334,"satellites":26,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 14:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230050560001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 14:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 14:07:27] 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-05 14:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793867686000,"timestamp_ms":1793867686000,"timestamp_seconds":1793867686,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad8a070"} 
[2026-11-05 14:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-05 14:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2183,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":231581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":231581,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":231581,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 14:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 14:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230050560001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 14:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 14:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 14:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230050560001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:07:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 14:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 14:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230050560001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 14:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":231581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63388,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:07:27] local.INFO: GPS data processed {"connection_id":231581,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:07:27] local.INFO: Acknowledgment sent {"connection_id":231581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:07:45] local.INFO: TCP Data received {"connection_id":233486,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1aada9470012d7fa6c005afe6700002013429..."} 
[2026-11-05 14:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aada9470012d7fa6c005afe6700002013429..."} 
[2026-11-05 14:07:45] local.INFO: Processing buffer {"connection_id":233486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aada9470012d7fa6c005afe6700002013429..."} 
[2026-11-05 14:07:45] local.INFO: Packet analysis {"connection_id":233486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aada"} 
[2026-11-05 14:07:45] local.INFO: Extracted packet for processing {"connection_id":233486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aada"} 
[2026-11-05 14:07:45] local.INFO: GPS Element Parsed {"raw_longitude":763340480,"raw_latitude":95413872,"longitude_deg":76.334048,"latitude_deg":9.5413872,"altitude":2,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d7fa6c0","hex_latitude":"05afe670","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230159360001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292183420436480,"note":"Value kept but may cause issues"} 
[2026-11-05 14:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198250419609274368,"note":"Value kept but may cause issues"} 
[2026-11-05 14:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793867814000,"timestamp_ms":1793867814000,"timestamp_seconds":1793867814,"priority":1,"record_length":96,"hex_timestamp":"000001a1aada9470"} 
[2026-11-05 14: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-05 14:07: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-05 14: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-05 14:07: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-05 14: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-05 14: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-05 14:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":233486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":233486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":233486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230159360001,"66":28028,"28":206,"85":12544,"24":0,"16":40292183420436480,"45":9198250419609274368},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230159360001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:07:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:07:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292183420436480,"km_value":40292183420436.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198250419609274368,"description":"Unknown IO ID 45"} 
[2026-11-05 14:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230159360001,"power":28028,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198250419609274368}} 
[2026-11-05 14:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":233486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:07:45] local.INFO: GPS data processed {"connection_id":233486,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:07:45] local.INFO: Acknowledgment sent {"connection_id":233486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:07:54] local.INFO: TCP Data received {"connection_id":230253,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230253,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:07:54] local.INFO: Processing buffer {"connection_id":230253,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:07:54] local.INFO: IMEI packet received {"connection_id":230253,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":230253,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:07:59] local.INFO: TCP Data received {"connection_id":230253,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230253,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:07:59] local.INFO: Processing buffer {"connection_id":230253,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:07:59] local.INFO: IMEI packet received {"connection_id":230253,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":230253,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:08:03] local.INFO: TCP Data received {"connection_id":229729,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:08:03] local.INFO: TCP Data received {"connection_id":230253,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad8a070012d0b10c00702a1800007014e1a..."} 
[2026-11-05 14:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:08:03] local.INFO: Processing buffer {"connection_id":229729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:08:03] local.INFO: IMEI packet received {"connection_id":229729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":229729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad8a070012d0b10c00702a1800007014e1a..."} 
[2026-11-05 14:08:03] local.INFO: Processing buffer {"connection_id":230253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad8a070012d0b10c00702a1800007014e1a..."} 
[2026-11-05 14:08:03] local.INFO: Packet analysis {"connection_id":230253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad8"} 
[2026-11-05 14:08:03] local.INFO: Extracted packet for processing {"connection_id":230253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad8"} 
[2026-11-05 14:08:03] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":7,"angle":334,"satellites":26,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 14:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230050560001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 14:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 14:08:03] 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-05 14:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1793867686000,"timestamp_ms":1793867686000,"timestamp_seconds":1793867686,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad8a070"} 
[2026-11-05 14:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-05 14:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2183,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":230253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":230253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":230253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 14:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 14:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230050560001,"66":12678,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 14:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 14:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 14:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230050560001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:08:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 14:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 14:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230050560001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 14:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":230253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63390,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:08:03] local.INFO: GPS data processed {"connection_id":230253,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:08:03] local.INFO: Acknowledgment sent {"connection_id":230253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:08:05] local.INFO: TCP Data received {"connection_id":233487,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233487,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:08:05] local.INFO: Processing buffer {"connection_id":233487,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:08:05] local.INFO: IMEI packet received {"connection_id":233487,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":233487,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:08:08] local.INFO: TCP Data received {"connection_id":229729,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:08:08] local.INFO: Processing buffer {"connection_id":229729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:08:08] local.INFO: IMEI packet received {"connection_id":229729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":229729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:08:09] local.INFO: TCP Data received {"connection_id":229729,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1aada9858012d7fa6c005afe6580002011029..."} 
[2026-11-05 14:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aada9858012d7fa6c005afe6580002011029..."} 
[2026-11-05 14:08:09] local.INFO: Processing buffer {"connection_id":229729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aada9858012d7fa6c005afe6580002011029..."} 
[2026-11-05 14:08:09] local.INFO: Packet analysis {"connection_id":229729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aada"} 
[2026-11-05 14:08:09] local.INFO: Extracted packet for processing {"connection_id":229729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aada"} 
[2026-11-05 14:08:09] local.INFO: GPS Element Parsed {"raw_longitude":763340480,"raw_latitude":95413848,"longitude_deg":76.334048,"latitude_deg":9.5413848,"altitude":2,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa6c0","hex_latitude":"05afe658","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230160384001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198250419609300992,"note":"Value kept but may cause issues"} 
[2026-11-05 14:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793867815000,"timestamp_ms":1793867815000,"timestamp_seconds":1793867815,"priority":1,"record_length":96,"hex_timestamp":"000001a1aada9858"} 
[2026-11-05 14: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-05 14:08: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-05 14: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-05 14:08:09] 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-05 14: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-05 14: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-05 14:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:08:09] 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-05 14:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230160384001,"66":28028,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198250419609300992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230160384001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:08:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:08:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198250419609300992,"description":"Unknown IO ID 45"} 
[2026-11-05 14:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230160384001,"power":28028,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198250419609300992}} 
[2026-11-05 14:08:09] 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":63391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:08:09] local.INFO: GPS data processed {"connection_id":229729,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:08:09] local.INFO: Acknowledgment sent {"connection_id":229729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:08:11] local.INFO: TCP Data received {"connection_id":233487,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233487,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:08:11] local.INFO: Processing buffer {"connection_id":233487,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:08:11] local.INFO: IMEI packet received {"connection_id":233487,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":233487,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:08:13] local.INFO: TCP Data received {"connection_id":233487,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad7c5b0012d488280069630e8003f00572b..."} 
[2026-11-05 14:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad7c5b0012d488280069630e8003f00572b..."} 
[2026-11-05 14:08:13] local.INFO: Processing buffer {"connection_id":233487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad7c5b0012d488280069630e8003f00572b..."} 
[2026-11-05 14:08:13] local.INFO: Packet analysis {"connection_id":233487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad7"} 
[2026-11-05 14:08:13] local.INFO: Extracted packet for processing {"connection_id":233487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad7"} 
[2026-11-05 14:08:13] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 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-05 14:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230036224001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 14:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793867630000,"timestamp_ms":1793867630000,"timestamp_seconds":1793867630,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad7c5b0"} 
[2026-11-05 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-05 14:08: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-05 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":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-11-05 14:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 14:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":233487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":233487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":233487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230036224001,"66":26571,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 14:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230036224001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:08:13] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 14:08:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 14:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230036224001,"power":26571,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 14:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":233487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63392,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:08:13] local.INFO: GPS data processed {"connection_id":233487,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:08:13] local.INFO: Acknowledgment sent {"connection_id":233487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:08:41] local.INFO: TCP Data received {"connection_id":229729,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1aadaa028012d7fa6c005afe6580002011029..."} 
[2026-11-05 14:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aadaa028012d7fa6c005afe6580002011029..."} 
[2026-11-05 14:08:41] local.INFO: Processing buffer {"connection_id":229729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aadaa028012d7fa6c005afe6580002011029..."} 
[2026-11-05 14:08:41] local.INFO: Packet analysis {"connection_id":229729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aada"} 
[2026-11-05 14:08:41] local.INFO: Extracted packet for processing {"connection_id":229729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aada"} 
[2026-11-05 14:08:41] local.INFO: GPS Element Parsed {"raw_longitude":763340480,"raw_latitude":95413848,"longitude_deg":76.334048,"latitude_deg":9.5413848,"altitude":2,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa6c0","hex_latitude":"05afe658","is_valid_coordinates":true} 
[2026-11-05 14:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230160640001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198250419609294848,"note":"Value kept but may cause issues"} 
[2026-11-05 14:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793867817000,"timestamp_ms":1793867817000,"timestamp_seconds":1793867817,"priority":1,"record_length":96,"hex_timestamp":"000001a1aadaa028"} 
[2026-11-05 14: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-05 14:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 14:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-05 14:08:41] 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-05 14: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-05 14: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-05 14:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230160640001,"66":27930,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198250419609294848},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230160640001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:08:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198250419609294848,"description":"Unknown IO ID 45"} 
[2026-11-05 14:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230160640001,"power":27930,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198250419609294848}} 
[2026-11-05 14:08:41] 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":63393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:08:41] local.INFO: GPS data processed {"connection_id":229729,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:08:41] local.INFO: Acknowledgment sent {"connection_id":229729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:08:46] local.INFO: TCP Data received {"connection_id":233487,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad7c5b0012d488280069630e8003f00572b..."} 
[2026-11-05 14:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad7c5b0012d488280069630e8003f00572b..."} 
[2026-11-05 14:08:46] local.INFO: Processing buffer {"connection_id":233487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad7c5b0012d488280069630e8003f00572b..."} 
[2026-11-05 14:08:46] local.INFO: Packet analysis {"connection_id":233487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad7"} 
[2026-11-05 14:08:46] local.INFO: Extracted packet for processing {"connection_id":233487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad7"} 
[2026-11-05 14:08:46] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 14:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230036224001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 14:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793867630000,"timestamp_ms":1793867630000,"timestamp_seconds":1793867630,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad7c5b0"} 
[2026-11-05 14:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:08: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-05 14:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-11-05 14:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":233487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":233487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":233487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230036224001,"66":26571,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 14:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230036224001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:08:46] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 14:08:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 14:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230036224001,"power":26571,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 14:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":233487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63394,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:08:46] local.INFO: GPS data processed {"connection_id":233487,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:08:46] local.INFO: Acknowledgment sent {"connection_id":233487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:08:52] local.INFO: TCP Data received {"connection_id":229730,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229730,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:08:52] local.INFO: Processing buffer {"connection_id":229730,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:08:52] local.INFO: IMEI packet received {"connection_id":229730,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":229730,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:08:59] local.INFO: TCP Data received {"connection_id":229730,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229730,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:08:59] local.INFO: Processing buffer {"connection_id":229730,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:08:59] local.INFO: IMEI packet received {"connection_id":229730,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":229730,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:09:02] local.INFO: TCP Data received {"connection_id":229730,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 14:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 14:09:02] local.INFO: Processing buffer {"connection_id":229730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 14:09:02] local.INFO: Packet analysis {"connection_id":229730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 14:09:02] local.INFO: Extracted packet for processing {"connection_id":229730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaaa"} 
[2026-11-05 14:09:02] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 14:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229280000001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 14:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 14:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1793864676000,"timestamp_ms":1793864676000,"timestamp_seconds":1793864676,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaab2a0"} 
[2026-11-05 14:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-11-05 14:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":229730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":229730,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":229730,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 14:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 14:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229280000001,"66":12645,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 14:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 14:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 14:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229280000001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:09:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 14:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 14:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229280000001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 14:09:02] 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":63395,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:09:02] local.INFO: GPS data processed {"connection_id":229730,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:09:02] local.INFO: Acknowledgment sent {"connection_id":229730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:09:07] local.INFO: TCP Data received {"connection_id":229732,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:09:07] local.INFO: Processing buffer {"connection_id":229732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:09:07] local.INFO: IMEI packet received {"connection_id":229732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":229732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:09:08] local.INFO: TCP Data received {"connection_id":229731,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:09:08] local.INFO: Processing buffer {"connection_id":229731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:09:08] local.INFO: IMEI packet received {"connection_id":229731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":229731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:09:11] local.INFO: TCP Data received {"connection_id":229732,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:09:11] local.INFO: Processing buffer {"connection_id":229732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:09:11] local.INFO: IMEI packet received {"connection_id":229732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":229732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:09:13] local.INFO: TCP Data received {"connection_id":229731,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:09:13] local.INFO: Processing buffer {"connection_id":229731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:09:13] local.INFO: IMEI packet received {"connection_id":229731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":229731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:09:14] local.INFO: TCP Data received {"connection_id":229732,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aad7c5b0012d488280069630e8003f00572b..."} 
[2026-11-05 14:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aad7c5b0012d488280069630e8003f00572b..."} 
[2026-11-05 14:09:14] local.INFO: Processing buffer {"connection_id":229732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aad7c5b0012d488280069630e8003f00572b..."} 
[2026-11-05 14:09:14] local.INFO: Packet analysis {"connection_id":229732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aad7"} 
[2026-11-05 14:09:14] local.INFO: Extracted packet for processing {"connection_id":229732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aad7"} 
[2026-11-05 14:09:14] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230036224001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 14:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793867630000,"timestamp_ms":1793867630000,"timestamp_seconds":1793867630,"priority":1,"record_length":96,"hex_timestamp":"000001a1aad7c5b0"} 
[2026-11-05 14: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-05 14:09: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-05 14: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":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-11-05 14:09:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230036224001,"66":26571,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 14:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230036224001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:09:14] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 14:09:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 14:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230036224001,"power":26571,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 14:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":229732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63396,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:09:14] local.INFO: GPS data processed {"connection_id":229732,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:09:14] local.INFO: Acknowledgment sent {"connection_id":229732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:09:14] local.INFO: TCP Data received {"connection_id":229731,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1aadaa028012d7fa6c005afe6580002011029..."} 
[2026-11-05 14:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aadaa028012d7fa6c005afe6580002011029..."} 
[2026-11-05 14:09:14] local.INFO: Processing buffer {"connection_id":229731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aadaa028012d7fa6c005afe6580002011029..."} 
[2026-11-05 14:09:14] local.INFO: Packet analysis {"connection_id":229731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aada"} 
[2026-11-05 14:09:14] local.INFO: Extracted packet for processing {"connection_id":229731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aada"} 
[2026-11-05 14:09:14] local.INFO: GPS Element Parsed {"raw_longitude":763340480,"raw_latitude":95413848,"longitude_deg":76.334048,"latitude_deg":9.5413848,"altitude":2,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa6c0","hex_latitude":"05afe658","is_valid_coordinates":true} 
[2026-11-05 14:09: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-05 14:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230160640001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198250419609294848,"note":"Value kept but may cause issues"} 
[2026-11-05 14:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793867817000,"timestamp_ms":1793867817000,"timestamp_seconds":1793867817,"priority":1,"record_length":96,"hex_timestamp":"000001a1aadaa028"} 
[2026-11-05 14: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-05 14:09: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-05 14: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":124,"data_length":795,"current_offset":136} 
[2026-11-05 14:09:14] 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-05 14: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-05 14: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-05 14:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230160640001,"66":27930,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198250419609294848},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230160640001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:09:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:09:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198250419609294848,"description":"Unknown IO ID 45"} 
[2026-11-05 14:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230160640001,"power":27930,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198250419609294848}} 
[2026-11-05 14:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":229731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:09:14] local.INFO: GPS data processed {"connection_id":229731,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:09:14] local.INFO: Acknowledgment sent {"connection_id":229731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:09:19] local.INFO: TCP Data received {"connection_id":229731,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1aadaa028012d7fa6c005afe6580002011029..."} 
[2026-11-05 14:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aadaa028012d7fa6c005afe6580002011029..."} 
[2026-11-05 14:09:19] local.INFO: Processing buffer {"connection_id":229731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aadaa028012d7fa6c005afe6580002011029..."} 
[2026-11-05 14:09:19] local.INFO: Packet analysis {"connection_id":229731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aada"} 
[2026-11-05 14:09:19] local.INFO: Extracted packet for processing {"connection_id":229731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aada"} 
[2026-11-05 14:09:19] local.INFO: GPS Element Parsed {"raw_longitude":763340480,"raw_latitude":95413848,"longitude_deg":76.334048,"latitude_deg":9.5413848,"altitude":2,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa6c0","hex_latitude":"05afe658","is_valid_coordinates":true} 
[2026-11-05 14:09: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-05 14:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230160640001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198250419609294848,"note":"Value kept but may cause issues"} 
[2026-11-05 14:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793867817000,"timestamp_ms":1793867817000,"timestamp_seconds":1793867817,"priority":1,"record_length":96,"hex_timestamp":"000001a1aadaa028"} 
[2026-11-05 14:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:09: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-05 14:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-05 14:09:19] 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-05 14:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230160640001,"66":27930,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198250419609294848},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230160640001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:09:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:09:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198250419609294848,"description":"Unknown IO ID 45"} 
[2026-11-05 14:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230160640001,"power":27930,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198250419609294848}} 
[2026-11-05 14:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":229731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:09:19] local.INFO: GPS data processed {"connection_id":229731,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:09:19] local.INFO: Acknowledgment sent {"connection_id":229731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:09:34] local.INFO: TCP Data received {"connection_id":229730,"ip":"42.106.6.17","data_length":405,"data_hex":"00000000000001898e05000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 14:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229730,"packet_length":405,"packet_hex":"00000000000001898e05000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 14:09:34] local.INFO: Processing buffer {"connection_id":229730,"buffer_length":405,"buffer_hex":"00000000000001898e05000001a1aaaab2a0012d0b10c00702a1800000014e1f..."} 
[2026-11-05 14:09:34] local.INFO: Packet analysis {"connection_id":229730,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e05000001a1aaaa"} 
[2026-11-05 14:09:34] local.INFO: Extracted packet for processing {"connection_id":229730,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e05000001a1aaaa"} 
[2026-11-05 14:09:34] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 14:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":405,"current_offset":40} 
[2026-11-05 14:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459229280000001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 14:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 14:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793864676000,"timestamp_ms":1793864676000,"timestamp_seconds":1793864676,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaaab2a0"} 
[2026-11-05 14:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":405,"current_offset":136} 
[2026-11-05 14:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:09:34] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":229730,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-11-05 14:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":229730,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":229730,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 14:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 14:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459229280000001,"66":12645,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 14:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 14:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 14:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459229280000001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:09:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 14:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 14:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459229280000001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 14:09:34] 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":63399,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:09:34] local.INFO: GPS data processed {"connection_id":229730,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:09:34] local.INFO: Acknowledgment sent {"connection_id":229730,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:09:46] local.INFO: TCP Data received {"connection_id":229732,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:09:46] local.INFO: Processing buffer {"connection_id":229732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:09:46] local.INFO: Packet analysis {"connection_id":229732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aadc"} 
[2026-11-05 14:09:46] local.INFO: Extracted packet for processing {"connection_id":229732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aadc"} 
[2026-11-05 14:09:46] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230113280001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 14:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793867931000,"timestamp_ms":1793867931000,"timestamp_seconds":1793867931,"priority":1,"record_length":96,"hex_timestamp":"000001a1aadc5d78"} 
[2026-11-05 14: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-05 14: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-05 14:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-11-05 14:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230113280001,"66":26582,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 14:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230113280001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:09:46] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 14:09:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 14:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230113280001,"power":26582,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 14:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":229732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63400,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:09:46] local.INFO: GPS data processed {"connection_id":229732,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:09:46] local.INFO: Acknowledgment sent {"connection_id":229732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:10:03] local.INFO: TCP Data received {"connection_id":231582,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:10:03] local.INFO: Processing buffer {"connection_id":231582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:10:03] local.INFO: IMEI packet received {"connection_id":231582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":231582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:10:05] local.INFO: TCP Data received {"connection_id":229730,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 14:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 14:10:05] local.INFO: Processing buffer {"connection_id":229730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa7cc4d0012d0b10c00702a1800005014e1d..."} 
[2026-11-05 14:10:05] local.INFO: Packet analysis {"connection_id":229730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 14:10:05] local.INFO: Extracted packet for processing {"connection_id":229730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa7c"} 
[2026-11-05 14:10:05] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":5,"angle":334,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 14:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459228509440001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 14:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 14:10: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-05 14:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793861666000,"timestamp_ms":1793861666000,"timestamp_seconds":1793861666,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa7cc4d0"} 
[2026-11-05 14:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 14:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":229730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":229730,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":229730,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 14:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 14:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459228509440001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 14:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 14:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 14:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459228509440001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:10:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 14:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 14:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459228509440001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 14:10:05] 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":63401,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:10:05] local.INFO: GPS data processed {"connection_id":229730,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:10:05] local.INFO: Acknowledgment sent {"connection_id":229730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:10:06] local.INFO: TCP Data received {"connection_id":231583,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231583,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:10:06] local.INFO: Processing buffer {"connection_id":231583,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:10:06] local.INFO: IMEI packet received {"connection_id":231583,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":231583,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:10:08] local.INFO: TCP Data received {"connection_id":231582,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:10:08] local.INFO: Processing buffer {"connection_id":231582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:10:08] local.INFO: IMEI packet received {"connection_id":231582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":231582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:10:11] local.INFO: TCP Data received {"connection_id":231583,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231583,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:10:11] local.INFO: Processing buffer {"connection_id":231583,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:10:11] local.INFO: IMEI packet received {"connection_id":231583,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":231583,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:10:15] local.INFO: TCP Data received {"connection_id":231583,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:10:15] local.INFO: Processing buffer {"connection_id":231583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:10:15] local.INFO: Packet analysis {"connection_id":231583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aadc"} 
[2026-11-05 14:10:15] local.INFO: Extracted packet for processing {"connection_id":231583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aadc"} 
[2026-11-05 14:10:15] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230113280001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 14:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793867931000,"timestamp_ms":1793867931000,"timestamp_seconds":1793867931,"priority":1,"record_length":96,"hex_timestamp":"000001a1aadc5d78"} 
[2026-11-05 14: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-05 14:10: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-05 14: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":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-11-05 14:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":231583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":231583,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":231583,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230113280001,"66":26582,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 14:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230113280001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:10:15] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 14:10:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 14:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230113280001,"power":26582,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 14:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":231583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63402,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:10:15] local.INFO: GPS data processed {"connection_id":231583,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:10:15] local.INFO: Acknowledgment sent {"connection_id":231583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:10:20] local.INFO: TCP Data received {"connection_id":231582,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1aadaa028012d7fa6c005afe6580002011029..."} 
[2026-11-05 14:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aadaa028012d7fa6c005afe6580002011029..."} 
[2026-11-05 14:10:20] local.INFO: Processing buffer {"connection_id":231582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aadaa028012d7fa6c005afe6580002011029..."} 
[2026-11-05 14:10:20] local.INFO: Packet analysis {"connection_id":231582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aada"} 
[2026-11-05 14:10:20] local.INFO: Extracted packet for processing {"connection_id":231582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aada"} 
[2026-11-05 14:10:20] local.INFO: GPS Element Parsed {"raw_longitude":763340480,"raw_latitude":95413848,"longitude_deg":76.334048,"latitude_deg":9.5413848,"altitude":2,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa6c0","hex_latitude":"05afe658","is_valid_coordinates":true} 
[2026-11-05 14:10: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-05 14:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230160640001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198250419609294848,"note":"Value kept but may cause issues"} 
[2026-11-05 14:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793867817000,"timestamp_ms":1793867817000,"timestamp_seconds":1793867817,"priority":1,"record_length":96,"hex_timestamp":"000001a1aadaa028"} 
[2026-11-05 14: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-05 14:10: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-05 14: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-05 14:10: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-05 14: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-05 14: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-05 14:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":231582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":231582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":231582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:10:20] 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-05 14:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230160640001,"66":27930,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198250419609294848},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230160640001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:10:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:10:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198250419609294848,"description":"Unknown IO ID 45"} 
[2026-11-05 14:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230160640001,"power":27930,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198250419609294848}} 
[2026-11-05 14:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":231582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:10:20] local.INFO: GPS data processed {"connection_id":231582,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:10:20] local.INFO: Acknowledgment sent {"connection_id":231582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:10:37] local.INFO: TCP Data received {"connection_id":229730,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 14:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 14:10:37] local.INFO: Processing buffer {"connection_id":229730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa4ed700012d0b10c00702a1800000014e24..."} 
[2026-11-05 14:10:37] local.INFO: Packet analysis {"connection_id":229730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 14:10:37] local.INFO: Extracted packet for processing {"connection_id":229730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa4e"} 
[2026-11-05 14:10:37] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 14:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227738880001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 14:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 14:10:37] 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-05 14:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793858656000,"timestamp_ms":1793858656000,"timestamp_seconds":1793858656,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa4ed700"} 
[2026-11-05 14:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-05 14:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":229730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":229730,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":229730,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 14:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 14:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227738880001,"66":12711,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 14:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 14:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 14:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227738880001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:10:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 14:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 14:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227738880001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 14:10:37] 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":63404,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:10:37] local.INFO: GPS data processed {"connection_id":229730,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:10:37] local.INFO: Acknowledgment sent {"connection_id":229730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:10:48] local.INFO: TCP Data received {"connection_id":231583,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:10:48] local.INFO: Processing buffer {"connection_id":231583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:10:48] local.INFO: Packet analysis {"connection_id":231583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aadc"} 
[2026-11-05 14:10:48] local.INFO: Extracted packet for processing {"connection_id":231583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aadc"} 
[2026-11-05 14:10:48] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230113280001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 14:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793867931000,"timestamp_ms":1793867931000,"timestamp_seconds":1793867931,"priority":1,"record_length":96,"hex_timestamp":"000001a1aadc5d78"} 
[2026-11-05 14: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-05 14:10: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-05 14: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":203,"data_length":795,"current_offset":136} 
[2026-11-05 14:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":231583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":231583,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":231583,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230113280001,"66":26582,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 14:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230113280001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:10:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 14:10:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 14:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230113280001,"power":26582,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 14:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":231583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63405,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:10:48] local.INFO: GPS data processed {"connection_id":231583,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:10:48] local.INFO: Acknowledgment sent {"connection_id":231583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:11:03] local.INFO: TCP Data received {"connection_id":230254,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:11:03] local.INFO: Processing buffer {"connection_id":230254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:11:03] local.INFO: IMEI packet received {"connection_id":230254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":230254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:11:06] local.INFO: TCP Data received {"connection_id":229733,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229733,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:11:06] local.INFO: Processing buffer {"connection_id":229733,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:11:06] local.INFO: IMEI packet received {"connection_id":229733,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":229733,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:11:08] local.INFO: TCP Data received {"connection_id":229730,"ip":"42.106.6.17","data_length":93,"data_hex":"00000000000000518e01000001a1a9beef28012d0b1d400706a6c8000f00cf28..."} 
[2026-11-05 14:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229730,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9beef28012d0b1d400706a6c8000f00cf28..."} 
[2026-11-05 14:11:08] local.INFO: Processing buffer {"connection_id":229730,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9beef28012d0b1d400706a6c8000f00cf28..."} 
[2026-11-05 14:11:08] local.INFO: Packet analysis {"connection_id":229730,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9be"} 
[2026-11-05 14:11:08] local.INFO: Extracted packet for processing {"connection_id":229730,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9be"} 
[2026-11-05 14:11:08] local.INFO: GPS Element Parsed {"raw_longitude":755703104,"raw_latitude":117876424,"longitude_deg":75.5703104,"latitude_deg":11.7876424,"altitude":15,"angle":207,"satellites":40,"speed":46,"hex_longitude":"2d0b1d40","hex_latitude":"0706a6c8","is_valid_coordinates":true} 
[2026-11-05 14:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:11:08] 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-05 14:11:08] 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-05 14:11:08] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:11:08] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":229730,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":229730,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":229730,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:11:08] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":229730,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:11:08] local.ERROR: GPS data processing failed {"connection_id":229730,"error":"No valid data to process"} 
[2026-11-05 14:11:08] local.INFO: Acknowledgment sent {"connection_id":229730,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:11:08] local.INFO: TCP Data received {"connection_id":230254,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:11:08] local.INFO: Processing buffer {"connection_id":230254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:11:08] local.INFO: IMEI packet received {"connection_id":230254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":230254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:11:09] local.INFO: TCP Data received {"connection_id":230254,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1aadaa028012d7fa6c005afe6580002011029..."} 
[2026-11-05 14:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aadaa028012d7fa6c005afe6580002011029..."} 
[2026-11-05 14:11:09] local.INFO: Processing buffer {"connection_id":230254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aadaa028012d7fa6c005afe6580002011029..."} 
[2026-11-05 14:11:09] local.INFO: Packet analysis {"connection_id":230254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aada"} 
[2026-11-05 14:11:09] local.INFO: Extracted packet for processing {"connection_id":230254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aada"} 
[2026-11-05 14:11:09] local.INFO: GPS Element Parsed {"raw_longitude":763340480,"raw_latitude":95413848,"longitude_deg":76.334048,"latitude_deg":9.5413848,"altitude":2,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa6c0","hex_latitude":"05afe658","is_valid_coordinates":true} 
[2026-11-05 14:11: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-05 14:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230160640001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198250419609294848,"note":"Value kept but may cause issues"} 
[2026-11-05 14:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793867817000,"timestamp_ms":1793867817000,"timestamp_seconds":1793867817,"priority":1,"record_length":96,"hex_timestamp":"000001a1aadaa028"} 
[2026-11-05 14:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:11: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-05 14:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-05 14:11:09] 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-05 14:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230160640001,"66":27930,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198250419609294848},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230160640001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:11:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:11:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198250419609294848,"description":"Unknown IO ID 45"} 
[2026-11-05 14:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230160640001,"power":27930,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198250419609294848}} 
[2026-11-05 14:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":230254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:11:09] local.INFO: GPS data processed {"connection_id":230254,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:11:09] local.INFO: Acknowledgment sent {"connection_id":230254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:11:11] local.INFO: TCP Data received {"connection_id":229733,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229733,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:11:11] local.INFO: Processing buffer {"connection_id":229733,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:11:11] local.INFO: IMEI packet received {"connection_id":229733,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":229733,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:11:13] local.INFO: TCP Data received {"connection_id":229733,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:11:13] local.INFO: Processing buffer {"connection_id":229733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:11:13] local.INFO: Packet analysis {"connection_id":229733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aadc"} 
[2026-11-05 14:11:13] local.INFO: Extracted packet for processing {"connection_id":229733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aadc"} 
[2026-11-05 14:11:13] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 14:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230113280001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 14:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793867931000,"timestamp_ms":1793867931000,"timestamp_seconds":1793867931,"priority":1,"record_length":96,"hex_timestamp":"000001a1aadc5d78"} 
[2026-11-05 14:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:11: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-05 14:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-11-05 14:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229733,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229733,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230113280001,"66":26582,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 14:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230113280001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:11:13] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 14:11:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 14:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230113280001,"power":26582,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 14:11:13] 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":63407,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:11:13] local.INFO: GPS data processed {"connection_id":229733,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:11:13] local.INFO: Acknowledgment sent {"connection_id":229733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:11:39] local.INFO: TCP Data received {"connection_id":229730,"ip":"42.106.6.17","data_length":93,"data_hex":"00000000000000518e01000001a1a9befec8012d0b140007069828001000da28..."} 
[2026-11-05 14:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229730,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9befec8012d0b140007069828001000da28..."} 
[2026-11-05 14:11:39] local.INFO: Processing buffer {"connection_id":229730,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9befec8012d0b140007069828001000da28..."} 
[2026-11-05 14:11:39] local.INFO: Packet analysis {"connection_id":229730,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9be"} 
[2026-11-05 14:11:39] local.INFO: Extracted packet for processing {"connection_id":229730,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9be"} 
[2026-11-05 14:11:39] local.INFO: GPS Element Parsed {"raw_longitude":755700736,"raw_latitude":117872680,"longitude_deg":75.5700736,"latitude_deg":11.787268,"altitude":16,"angle":218,"satellites":40,"speed":44,"hex_longitude":"2d0b1400","hex_latitude":"07069828","is_valid_coordinates":true} 
[2026-11-05 14:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:11:39] 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-05 14:11:39] 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-05 14:11:39] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:11:39] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":229730,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":229730,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":229730,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:11:39] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":229730,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:11:39] local.ERROR: GPS data processing failed {"connection_id":229730,"error":"No valid data to process"} 
[2026-11-05 14:11:39] local.INFO: Acknowledgment sent {"connection_id":229730,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:11:40] local.INFO: TCP Data received {"connection_id":230254,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1aadaa028012d7fa6c005afe6580002011029..."} 
[2026-11-05 14:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aadaa028012d7fa6c005afe6580002011029..."} 
[2026-11-05 14:11:40] local.INFO: Processing buffer {"connection_id":230254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aadaa028012d7fa6c005afe6580002011029..."} 
[2026-11-05 14:11:40] local.INFO: Packet analysis {"connection_id":230254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aada"} 
[2026-11-05 14:11:40] local.INFO: Extracted packet for processing {"connection_id":230254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aada"} 
[2026-11-05 14:11:40] local.INFO: GPS Element Parsed {"raw_longitude":763340480,"raw_latitude":95413848,"longitude_deg":76.334048,"latitude_deg":9.5413848,"altitude":2,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa6c0","hex_latitude":"05afe658","is_valid_coordinates":true} 
[2026-11-05 14:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-05 14:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230160640001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198250419609294848,"note":"Value kept but may cause issues"} 
[2026-11-05 14:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793867817000,"timestamp_ms":1793867817000,"timestamp_seconds":1793867817,"priority":1,"record_length":96,"hex_timestamp":"000001a1aadaa028"} 
[2026-11-05 14:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-05 14:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-05 14:11:40] 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-05 14:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:11: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-05 14:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230160640001,"66":27930,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198250419609294848},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230160640001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:11:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:11:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198250419609294848,"description":"Unknown IO ID 45"} 
[2026-11-05 14:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230160640001,"power":27930,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198250419609294848}} 
[2026-11-05 14:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":230254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:11:40] local.INFO: GPS data processed {"connection_id":230254,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:11:40] local.INFO: Acknowledgment sent {"connection_id":230254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:11:46] local.INFO: TCP Data received {"connection_id":229733,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:11:46] local.INFO: Processing buffer {"connection_id":229733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:11:46] local.INFO: Packet analysis {"connection_id":229733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aadc"} 
[2026-11-05 14:11:46] local.INFO: Extracted packet for processing {"connection_id":229733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aadc"} 
[2026-11-05 14:11:46] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230113280001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 14:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793867931000,"timestamp_ms":1793867931000,"timestamp_seconds":1793867931,"priority":1,"record_length":96,"hex_timestamp":"000001a1aadc5d78"} 
[2026-11-05 14: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-05 14:11: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-05 14: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":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-11-05 14:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229733,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229733,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230113280001,"66":26582,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 14:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230113280001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:11:46] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 14:11:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 14:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230113280001,"power":26582,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 14:11:46] 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":63409,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:11:46] local.INFO: GPS data processed {"connection_id":229733,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:11:46] local.INFO: Acknowledgment sent {"connection_id":229733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:12:03] local.INFO: TCP Data received {"connection_id":229734,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:12:03] local.INFO: Processing buffer {"connection_id":229734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:12:03] local.INFO: IMEI packet received {"connection_id":229734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":229734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:12:08] local.INFO: TCP Data received {"connection_id":229734,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:12:08] local.INFO: Processing buffer {"connection_id":229734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:12:08] local.INFO: IMEI packet received {"connection_id":229734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":229734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:12:09] local.INFO: TCP Data received {"connection_id":229734,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1aadaa028012d7fa6c005afe6580002011029..."} 
[2026-11-05 14:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aadaa028012d7fa6c005afe6580002011029..."} 
[2026-11-05 14:12:09] local.INFO: Processing buffer {"connection_id":229734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aadaa028012d7fa6c005afe6580002011029..."} 
[2026-11-05 14:12:09] local.INFO: Packet analysis {"connection_id":229734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aada"} 
[2026-11-05 14:12:09] local.INFO: Extracted packet for processing {"connection_id":229734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aada"} 
[2026-11-05 14:12:09] local.INFO: GPS Element Parsed {"raw_longitude":763340480,"raw_latitude":95413848,"longitude_deg":76.334048,"latitude_deg":9.5413848,"altitude":2,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa6c0","hex_latitude":"05afe658","is_valid_coordinates":true} 
[2026-11-05 14:12: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-05 14:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230160640001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198250419609294848,"note":"Value kept but may cause issues"} 
[2026-11-05 14:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793867817000,"timestamp_ms":1793867817000,"timestamp_seconds":1793867817,"priority":1,"record_length":96,"hex_timestamp":"000001a1aadaa028"} 
[2026-11-05 14:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:12: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-05 14:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-05 14:12:09] 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-05 14:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230160640001,"66":27930,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198250419609294848},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230160640001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:12:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:12:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198250419609294848,"description":"Unknown IO ID 45"} 
[2026-11-05 14:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230160640001,"power":27930,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198250419609294848}} 
[2026-11-05 14:12:09] 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":63410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:12:09] local.INFO: GPS data processed {"connection_id":229734,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:12:09] local.INFO: Acknowledgment sent {"connection_id":229734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:12:10] local.INFO: TCP Data received {"connection_id":229730,"ip":"42.106.6.17","data_length":93,"data_hex":"00000000000000518e01000001a1a9bf21f0012d0afbc007067ca8001100cf27..."} 
[2026-11-05 14:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229730,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9bf21f0012d0afbc007067ca8001100cf27..."} 
[2026-11-05 14:12:10] local.INFO: Processing buffer {"connection_id":229730,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9bf21f0012d0afbc007067ca8001100cf27..."} 
[2026-11-05 14:12:10] local.INFO: Packet analysis {"connection_id":229730,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9bf"} 
[2026-11-05 14:12:10] local.INFO: Extracted packet for processing {"connection_id":229730,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9bf"} 
[2026-11-05 14:12:10] local.INFO: GPS Element Parsed {"raw_longitude":755694528,"raw_latitude":117865640,"longitude_deg":75.5694528,"latitude_deg":11.786564,"altitude":17,"angle":207,"satellites":39,"speed":27,"hex_longitude":"2d0afbc0","hex_latitude":"07067ca8","is_valid_coordinates":true} 
[2026-11-05 14:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:12:10] 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-05 14:12:10] 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-05 14:12:10] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:12:10] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229730,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229730,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229730,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:12:10] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":229730,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:12:10] local.ERROR: GPS data processing failed {"connection_id":229730,"error":"No valid data to process"} 
[2026-11-05 14:12:10] local.INFO: Acknowledgment sent {"connection_id":229730,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:12:12] local.INFO: TCP Data received {"connection_id":231584,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:12:12] local.INFO: Processing buffer {"connection_id":231584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:12:12] local.INFO: IMEI packet received {"connection_id":231584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":231584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:12:16] local.INFO: TCP Data received {"connection_id":231584,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:12:16] local.INFO: Processing buffer {"connection_id":231584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:12:16] local.INFO: IMEI packet received {"connection_id":231584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":231584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:12:23] local.INFO: TCP Data received {"connection_id":231584,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:12:23] local.INFO: Processing buffer {"connection_id":231584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:12:23] local.INFO: Packet analysis {"connection_id":231584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aadc"} 
[2026-11-05 14:12:23] local.INFO: Extracted packet for processing {"connection_id":231584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aadc"} 
[2026-11-05 14:12:23] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230113280001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 14:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793867931000,"timestamp_ms":1793867931000,"timestamp_seconds":1793867931,"priority":1,"record_length":96,"hex_timestamp":"000001a1aadc5d78"} 
[2026-11-05 14: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-05 14:12: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-05 14: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":203,"data_length":795,"current_offset":136} 
[2026-11-05 14:12:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":231584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":231584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":231584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230113280001,"66":26582,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 14:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230113280001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:12:23] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 14:12:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 14:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230113280001,"power":26582,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 14:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":231584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63411,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:12:23] local.INFO: GPS data processed {"connection_id":231584,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:12:23] local.INFO: Acknowledgment sent {"connection_id":231584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:12:30] local.INFO: TCP Data received {"connection_id":231584,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:12:30] local.INFO: Processing buffer {"connection_id":231584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:12:30] local.INFO: Packet analysis {"connection_id":231584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aadc"} 
[2026-11-05 14:12:30] local.INFO: Extracted packet for processing {"connection_id":231584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aadc"} 
[2026-11-05 14:12:30] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 14:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230113280001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 14:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793867931000,"timestamp_ms":1793867931000,"timestamp_seconds":1793867931,"priority":1,"record_length":96,"hex_timestamp":"000001a1aadc5d78"} 
[2026-11-05 14:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:12:30] 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-05 14:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-11-05 14:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":231584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":231584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":231584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230113280001,"66":26582,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 14:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230113280001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:12:30] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 14:12:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 14:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230113280001,"power":26582,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 14:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":231584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63412,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:12:31] local.INFO: GPS data processed {"connection_id":231584,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:12:31] local.INFO: Acknowledgment sent {"connection_id":231584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:12:40] local.INFO: TCP Data received {"connection_id":229734,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:12:40] local.INFO: Processing buffer {"connection_id":229734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:12:40] local.INFO: Packet analysis {"connection_id":229734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aadf"} 
[2026-11-05 14:12:40] local.INFO: Extracted packet for processing {"connection_id":229734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aadf"} 
[2026-11-05 14:12:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230161152001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198250419609294848,"note":"Value kept but may cause issues"} 
[2026-11-05 14:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793868121000,"timestamp_ms":1793868121000,"timestamp_seconds":1793868121,"priority":1,"record_length":96,"hex_timestamp":"000001a1aadf43a8"} 
[2026-11-05 14:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:12:40] 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-05 14:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-05 14:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:12: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-05 14:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230161152001,"66":26006,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198250419609294848},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230161152001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:12:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:12:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198250419609294848,"description":"Unknown IO ID 45"} 
[2026-11-05 14:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230161152001,"power":26006,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198250419609294848}} 
[2026-11-05 14:12:40] 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":63413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:12:40] local.INFO: GPS data processed {"connection_id":229734,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:12:40] local.INFO: Acknowledgment sent {"connection_id":229734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:12:41] local.INFO: TCP Data received {"connection_id":229730,"ip":"42.106.6.17","data_length":93,"data_hex":"00000000000000518e01000001a1a9bf2da8012d0af880070675e8001200db25..."} 
[2026-11-05 14:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229730,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9bf2da8012d0af880070675e8001200db25..."} 
[2026-11-05 14:12:41] local.INFO: Processing buffer {"connection_id":229730,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9bf2da8012d0af880070675e8001200db25..."} 
[2026-11-05 14:12:41] local.INFO: Packet analysis {"connection_id":229730,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9bf"} 
[2026-11-05 14:12:41] local.INFO: Extracted packet for processing {"connection_id":229730,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9bf"} 
[2026-11-05 14:12:41] local.INFO: GPS Element Parsed {"raw_longitude":755693696,"raw_latitude":117863912,"longitude_deg":75.5693696,"latitude_deg":11.7863912,"altitude":18,"angle":219,"satellites":37,"speed":24,"hex_longitude":"2d0af880","hex_latitude":"070675e8","is_valid_coordinates":true} 
[2026-11-05 14:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:12:41] 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-05 14:12:41] 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-05 14:12:41] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:12:41] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229730,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229730,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229730,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:12:41] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":229730,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:12:41] local.ERROR: GPS data processing failed {"connection_id":229730,"error":"No valid data to process"} 
[2026-11-05 14:12:41] local.INFO: Acknowledgment sent {"connection_id":229730,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:13:07] local.INFO: TCP Data received {"connection_id":233488,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:13:07] local.INFO: Processing buffer {"connection_id":233488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:13:07] local.INFO: IMEI packet received {"connection_id":233488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":233488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:13:10] local.INFO: TCP Data received {"connection_id":230255,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:13:10] local.INFO: Processing buffer {"connection_id":230255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:13:10] local.INFO: IMEI packet received {"connection_id":230255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":230255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:13:11] local.INFO: TCP Data received {"connection_id":233488,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:13:11] local.INFO: Processing buffer {"connection_id":233488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:13:11] local.INFO: IMEI packet received {"connection_id":233488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":233488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:13:13] local.INFO: TCP Data received {"connection_id":229730,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 14:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 14:13:13] local.INFO: Processing buffer {"connection_id":229730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aa20e930012d0b10c00702a1800000014e26..."} 
[2026-11-05 14:13:13] local.INFO: Packet analysis {"connection_id":229730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aa20"} 
[2026-11-05 14:13:13] local.INFO: Extracted packet for processing {"connection_id":229730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aa20"} 
[2026-11-05 14:13:13] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612928,"longitude_deg":75.5699904,"latitude_deg":11.7612928,"altitude":0,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"0702a180","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459226968320001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 14:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 14:13:13] 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-05 14:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793855646000,"timestamp_ms":1793855646000,"timestamp_seconds":1793855646,"priority":1,"record_length":96,"hex_timestamp":"000001a1aa20e930"} 
[2026-11-05 14: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-05 14:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-11-05 14:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229730,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229730,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 14:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 14:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459226968320001,"66":12798,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 14:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 14:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 14:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459226968320001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:13:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 14:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 14:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459226968320001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 14:13:13] 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":63414,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:13:13] local.INFO: GPS data processed {"connection_id":229730,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:13:13] local.INFO: Acknowledgment sent {"connection_id":229730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:13:14] local.INFO: TCP Data received {"connection_id":230255,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:13:14] local.INFO: Processing buffer {"connection_id":230255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:13:14] local.INFO: IMEI packet received {"connection_id":230255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":230255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:13:15] local.INFO: TCP Data received {"connection_id":233488,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:13:15] local.INFO: Processing buffer {"connection_id":233488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:13:15] local.INFO: Packet analysis {"connection_id":233488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aadc"} 
[2026-11-05 14:13:15] local.INFO: Extracted packet for processing {"connection_id":233488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aadc"} 
[2026-11-05 14:13:15] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230113280001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 14:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793867931000,"timestamp_ms":1793867931000,"timestamp_seconds":1793867931,"priority":1,"record_length":96,"hex_timestamp":"000001a1aadc5d78"} 
[2026-11-05 14: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-05 14:13: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-05 14: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":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-11-05 14:13:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230113280001,"66":26582,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 14:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230113280001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:13:15] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 14:13:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 14:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230113280001,"power":26582,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 14:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":233488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63415,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:13:15] local.INFO: GPS data processed {"connection_id":233488,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:13:15] local.INFO: Acknowledgment sent {"connection_id":233488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:13:16] local.INFO: TCP Data received {"connection_id":230255,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:13:16] local.INFO: Processing buffer {"connection_id":230255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:13:16] local.INFO: Packet analysis {"connection_id":230255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aadf"} 
[2026-11-05 14:13:16] local.INFO: Extracted packet for processing {"connection_id":230255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aadf"} 
[2026-11-05 14:13:16] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230161152001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198250419609294848,"note":"Value kept but may cause issues"} 
[2026-11-05 14:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793868121000,"timestamp_ms":1793868121000,"timestamp_seconds":1793868121,"priority":1,"record_length":96,"hex_timestamp":"000001a1aadf43a8"} 
[2026-11-05 14: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-05 14:13:16] 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-05 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-05 14:13:16] 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-05 14: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-05 14: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-05 14:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230161152001,"66":26006,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198250419609294848},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230161152001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:13:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:13:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198250419609294848,"description":"Unknown IO ID 45"} 
[2026-11-05 14:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230161152001,"power":26006,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198250419609294848}} 
[2026-11-05 14:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":230255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:13:16] local.INFO: GPS data processed {"connection_id":230255,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:13:16] local.INFO: Acknowledgment sent {"connection_id":230255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:13:18] local.INFO: TCP Data received {"connection_id":233488,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:13:18] local.INFO: Processing buffer {"connection_id":233488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:13:18] local.INFO: Packet analysis {"connection_id":233488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aadc"} 
[2026-11-05 14:13:18] local.INFO: Extracted packet for processing {"connection_id":233488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aadc"} 
[2026-11-05 14:13:18] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 14:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230113280001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 14:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793867931000,"timestamp_ms":1793867931000,"timestamp_seconds":1793867931,"priority":1,"record_length":96,"hex_timestamp":"000001a1aadc5d78"} 
[2026-11-05 14:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:13:18] 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-05 14:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-11-05 14:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":233488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":233488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":233488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230113280001,"66":26582,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 14:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230113280001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:13:18] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 14:13:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 14:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230113280001,"power":26582,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 14:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":233488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63417,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:13:18] local.INFO: GPS data processed {"connection_id":233488,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:13:18] local.INFO: Acknowledgment sent {"connection_id":233488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:13:20] local.INFO: TCP Data received {"connection_id":230255,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:13:20] local.INFO: Processing buffer {"connection_id":230255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:13:20] local.INFO: Packet analysis {"connection_id":230255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aadf"} 
[2026-11-05 14:13:20] local.INFO: Extracted packet for processing {"connection_id":230255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aadf"} 
[2026-11-05 14:13:20] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230161152001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198250419609294848,"note":"Value kept but may cause issues"} 
[2026-11-05 14:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793868121000,"timestamp_ms":1793868121000,"timestamp_seconds":1793868121,"priority":1,"record_length":96,"hex_timestamp":"000001a1aadf43a8"} 
[2026-11-05 14: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-05 14:13:20] 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-05 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-05 14:13: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-05 14: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-05 14: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-05 14:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230161152001,"66":26006,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198250419609294848},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230161152001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:13:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:13:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198250419609294848,"description":"Unknown IO ID 45"} 
[2026-11-05 14:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230161152001,"power":26006,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198250419609294848}} 
[2026-11-05 14:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":230255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:13:20] local.INFO: GPS data processed {"connection_id":230255,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:13:20] local.INFO: Acknowledgment sent {"connection_id":230255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:13:45] local.INFO: TCP Data received {"connection_id":229730,"ip":"42.106.6.17","data_length":717,"data_hex":"00000000000002c18e09000001a1aae09f50012d0b13000702a1700000007522..."} 
[2026-11-05 14:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229730,"packet_length":717,"packet_hex":"00000000000002c18e09000001a1aae09f50012d0b13000702a1700000007522..."} 
[2026-11-05 14:13:45] local.INFO: Processing buffer {"connection_id":229730,"buffer_length":717,"buffer_hex":"00000000000002c18e09000001a1aae09f50012d0b13000702a1700000007522..."} 
[2026-11-05 14:13:45] local.INFO: Packet analysis {"connection_id":229730,"data_field_length":705,"total_packet_length":717,"buffer_length":717,"packet_hex_start":"00000000000002c18e09000001a1aae0"} 
[2026-11-05 14:13:45] local.INFO: Extracted packet for processing {"connection_id":229730,"packet_length":717,"remaining_buffer_length":0,"packet_hex_start":"00000000000002c18e09000001a1aae0"} 
[2026-11-05 14:13:45] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612912,"longitude_deg":75.570048,"latitude_deg":11.7612912,"altitude":0,"angle":117,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a170","is_valid_coordinates":true} 
[2026-11-05 14: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":717,"current_offset":40} 
[2026-11-05 14:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459227045376001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 14:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270386020352,"note":"Value kept but may cause issues"} 
[2026-11-05 14:13:45] 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-05 14:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793868210000,"timestamp_ms":1793868210000,"timestamp_seconds":1793868210,"priority":1,"record_length":96,"hex_timestamp":"000001a1aae09f50"} 
[2026-11-05 14:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":9,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":49,"n8_eight_byte":254,"data_length":717,"current_offset":136} 
[2026-11-05 14:13:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":717,"available_bytes":581,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:13:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":717,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":9,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:13:45] local.INFO: AVL Records parsing completed {"total_expected":9,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229730,"avl_records_parsed":1,"avl_records_expected":9,"crc_valid":false} 
[2026-11-05 14:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229730,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229730,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 14:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 14:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459227045376001,"66":12689,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":797348270386020352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 14:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 14:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 14:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459227045376001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:13:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 14:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270386020352,"description":"Unknown IO ID 45"} 
[2026-11-05 14:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459227045376001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270386020352}} 
[2026-11-05 14:13:45] 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":63419,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:13:45] local.INFO: GPS data processed {"connection_id":229730,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:13:45] local.INFO: Acknowledgment sent {"connection_id":229730,"records_acknowledged":1,"records_expected":9,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:13:50] local.INFO: TCP Data received {"connection_id":233488,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:13:50] local.INFO: Processing buffer {"connection_id":233488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:13:50] local.INFO: Packet analysis {"connection_id":233488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aadc"} 
[2026-11-05 14:13:50] local.INFO: Extracted packet for processing {"connection_id":233488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aadc"} 
[2026-11-05 14:13:50] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230113280001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 14:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793867931000,"timestamp_ms":1793867931000,"timestamp_seconds":1793867931,"priority":1,"record_length":96,"hex_timestamp":"000001a1aadc5d78"} 
[2026-11-05 14: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-05 14:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-11-05 14:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":233488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":233488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":233488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230113280001,"66":26582,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 14:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230113280001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:13:50] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 14:13:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 14:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230113280001,"power":26582,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 14:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":233488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63420,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:13:51] local.INFO: GPS data processed {"connection_id":233488,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:13:51] local.INFO: Acknowledgment sent {"connection_id":233488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:14:03] local.INFO: TCP Data received {"connection_id":229735,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:14:03] local.INFO: Processing buffer {"connection_id":229735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:14:03] local.INFO: IMEI packet received {"connection_id":229735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":229735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:14:06] local.INFO: TCP Data received {"connection_id":229736,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:14:06] local.INFO: Processing buffer {"connection_id":229736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:14:06] local.INFO: IMEI packet received {"connection_id":229736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":229736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:14:08] local.INFO: TCP Data received {"connection_id":229735,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:14:08] local.INFO: Processing buffer {"connection_id":229735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:14:08] local.INFO: IMEI packet received {"connection_id":229735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":229735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:14:10] local.INFO: TCP Data received {"connection_id":229735,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:14:10] local.INFO: Processing buffer {"connection_id":229735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:14:10] local.INFO: Packet analysis {"connection_id":229735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aadf"} 
[2026-11-05 14:14:10] local.INFO: Extracted packet for processing {"connection_id":229735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aadf"} 
[2026-11-05 14:14:10] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230161152001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198250419609294848,"note":"Value kept but may cause issues"} 
[2026-11-05 14:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793868121000,"timestamp_ms":1793868121000,"timestamp_seconds":1793868121,"priority":1,"record_length":96,"hex_timestamp":"000001a1aadf43a8"} 
[2026-11-05 14:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-05 14:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230161152001,"66":26006,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198250419609294848},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230161152001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:14:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:14:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198250419609294848,"description":"Unknown IO ID 45"} 
[2026-11-05 14:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230161152001,"power":26006,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198250419609294848}} 
[2026-11-05 14:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":229735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:14:10] local.INFO: GPS data processed {"connection_id":229735,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:14:10] local.INFO: Acknowledgment sent {"connection_id":229735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:14:11] local.INFO: TCP Data received {"connection_id":229736,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:14:11] local.INFO: Processing buffer {"connection_id":229736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:14:11] local.INFO: IMEI packet received {"connection_id":229736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":229736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:14:14] local.INFO: TCP Data received {"connection_id":229736,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:14:14] local.INFO: Processing buffer {"connection_id":229736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aadc5d78012d488280069630e8003f00572b..."} 
[2026-11-05 14:14:14] local.INFO: Packet analysis {"connection_id":229736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aadc"} 
[2026-11-05 14:14:14] local.INFO: Extracted packet for processing {"connection_id":229736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aadc"} 
[2026-11-05 14:14:14] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 14:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230113280001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 14:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793867931000,"timestamp_ms":1793867931000,"timestamp_seconds":1793867931,"priority":1,"record_length":96,"hex_timestamp":"000001a1aadc5d78"} 
[2026-11-05 14:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:14: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-05 14:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-11-05 14:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230113280001,"66":26582,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 14:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230113280001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:14:14] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 14:14:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 14:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230113280001,"power":26582,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 14:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":229736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63422,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:14:14] local.INFO: GPS data processed {"connection_id":229736,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:14:14] local.INFO: Acknowledgment sent {"connection_id":229736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:14:17] local.INFO: TCP Data received {"connection_id":229730,"ip":"42.106.6.17","data_length":93,"data_hex":"00000000000000518e01000001a1a9bf3578012d0af4c0070672f8001200ed26..."} 
[2026-11-05 14:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229730,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9bf3578012d0af4c0070672f8001200ed26..."} 
[2026-11-05 14:14:17] local.INFO: Processing buffer {"connection_id":229730,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9bf3578012d0af4c0070672f8001200ed26..."} 
[2026-11-05 14:14:17] local.INFO: Packet analysis {"connection_id":229730,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9bf"} 
[2026-11-05 14:14:17] local.INFO: Extracted packet for processing {"connection_id":229730,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9bf"} 
[2026-11-05 14:14:17] local.INFO: GPS Element Parsed {"raw_longitude":755692736,"raw_latitude":117863160,"longitude_deg":75.5692736,"latitude_deg":11.786316,"altitude":18,"angle":237,"satellites":38,"speed":22,"hex_longitude":"2d0af4c0","hex_latitude":"070672f8","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:14:17] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:14:17] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229730,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229730,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229730,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:14:17] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":229730,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:14:17] local.ERROR: GPS data processing failed {"connection_id":229730,"error":"No valid data to process"} 
[2026-11-05 14:14:17] local.INFO: Acknowledgment sent {"connection_id":229730,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:14:41] local.INFO: TCP Data received {"connection_id":229735,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:14:41] local.INFO: Processing buffer {"connection_id":229735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:14:41] local.INFO: Packet analysis {"connection_id":229735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aadf"} 
[2026-11-05 14:14:41] local.INFO: Extracted packet for processing {"connection_id":229735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aadf"} 
[2026-11-05 14:14:41] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230161152001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198250419609294848,"note":"Value kept but may cause issues"} 
[2026-11-05 14:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793868121000,"timestamp_ms":1793868121000,"timestamp_seconds":1793868121,"priority":1,"record_length":96,"hex_timestamp":"000001a1aadf43a8"} 
[2026-11-05 14:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-05 14:14:41] 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-05 14:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230161152001,"66":26006,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198250419609294848},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230161152001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:14:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:14:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198250419609294848,"description":"Unknown IO ID 45"} 
[2026-11-05 14:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230161152001,"power":26006,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198250419609294848}} 
[2026-11-05 14:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":229735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:14:41] local.INFO: GPS data processed {"connection_id":229735,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:14:41] local.INFO: Acknowledgment sent {"connection_id":229735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:14:46] local.INFO: TCP Data received {"connection_id":229736,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aae0d218012d488280069630e8003f00572b..."} 
[2026-11-05 14:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aae0d218012d488280069630e8003f00572b..."} 
[2026-11-05 14:14:46] local.INFO: Processing buffer {"connection_id":229736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aae0d218012d488280069630e8003f00572b..."} 
[2026-11-05 14:14:46] local.INFO: Packet analysis {"connection_id":229736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aae0"} 
[2026-11-05 14:14:46] local.INFO: Extracted packet for processing {"connection_id":229736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aae0"} 
[2026-11-05 14:14:46] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":110506216,"longitude_deg":75.972672,"latitude_deg":11.0506216,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488280","hex_latitude":"069630e8","is_valid_coordinates":true} 
[2026-11-05 14:14: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-05 14:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230190336001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 14:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793868223000,"timestamp_ms":1793868223000,"timestamp_seconds":1793868223,"priority":1,"record_length":96,"hex_timestamp":"000001a1aae0d218"} 
[2026-11-05 14: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-05 14:14: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-05 14: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":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-11-05 14:14: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-05 14: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-05 14: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-05 14:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230190336001,"66":26571,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 14:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230190336001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:14:46] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 14:14:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 14:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230190336001,"power":26571,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 14:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":229736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63424,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:14:46] local.INFO: GPS data processed {"connection_id":229736,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:14:46] local.INFO: Acknowledgment sent {"connection_id":229736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:14:48] local.INFO: TCP Data received {"connection_id":229730,"ip":"42.106.6.17","data_length":93,"data_hex":"00000000000000518e01000001a1a9bf6840012d0aefc007066e18001200ac27..."} 
[2026-11-05 14:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229730,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9bf6840012d0aefc007066e18001200ac27..."} 
[2026-11-05 14:14:48] local.INFO: Processing buffer {"connection_id":229730,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9bf6840012d0aefc007066e18001200ac27..."} 
[2026-11-05 14:14:48] local.INFO: Packet analysis {"connection_id":229730,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9bf"} 
[2026-11-05 14:14:48] local.INFO: Extracted packet for processing {"connection_id":229730,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9bf"} 
[2026-11-05 14:14:48] local.INFO: GPS Element Parsed {"raw_longitude":755691456,"raw_latitude":117861912,"longitude_deg":75.5691456,"latitude_deg":11.7861912,"altitude":18,"angle":172,"satellites":39,"speed":8,"hex_longitude":"2d0aefc0","hex_latitude":"07066e18","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:14:48] 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-05 14:14:48] 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-05 14:14:48] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:14:48] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229730,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229730,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229730,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:14:48] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":229730,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:14:48] local.ERROR: GPS data processing failed {"connection_id":229730,"error":"No valid data to process"} 
[2026-11-05 14:14:48] local.INFO: Acknowledgment sent {"connection_id":229730,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:15:03] local.INFO: TCP Data received {"connection_id":233489,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:15:03] local.INFO: Processing buffer {"connection_id":233489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:15:03] local.INFO: IMEI packet received {"connection_id":233489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":233489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:15:05] local.INFO: TCP Data received {"connection_id":233490,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233490,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:15:05] local.INFO: Processing buffer {"connection_id":233490,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:15:05] local.INFO: IMEI packet received {"connection_id":233490,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":233490,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:15:08] local.INFO: TCP Data received {"connection_id":233490,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233490,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:15:08] local.INFO: Processing buffer {"connection_id":233490,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:15:08] local.INFO: IMEI packet received {"connection_id":233490,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":233490,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:15:08] local.INFO: TCP Data received {"connection_id":233489,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:15:08] local.INFO: Processing buffer {"connection_id":233489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:15:08] local.INFO: IMEI packet received {"connection_id":233489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":233489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:15:09] local.INFO: TCP Data received {"connection_id":233489,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:15:09] local.INFO: Processing buffer {"connection_id":233489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:15:09] local.INFO: Packet analysis {"connection_id":233489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aadf"} 
[2026-11-05 14:15:09] local.INFO: Extracted packet for processing {"connection_id":233489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aadf"} 
[2026-11-05 14:15:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230161152001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198250419609294848,"note":"Value kept but may cause issues"} 
[2026-11-05 14:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793868121000,"timestamp_ms":1793868121000,"timestamp_seconds":1793868121,"priority":1,"record_length":96,"hex_timestamp":"000001a1aadf43a8"} 
[2026-11-05 14:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:15:09] 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-05 14:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-05 14:15:09] 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-05 14:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:15:09] 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-05 14:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230161152001,"66":26006,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198250419609294848},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230161152001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:15:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:15:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198250419609294848,"description":"Unknown IO ID 45"} 
[2026-11-05 14:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230161152001,"power":26006,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198250419609294848}} 
[2026-11-05 14:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":233489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:15:09] local.INFO: GPS data processed {"connection_id":233489,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:15:09] local.INFO: Acknowledgment sent {"connection_id":233489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:15:09] local.INFO: TCP Data received {"connection_id":233490,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aae137a8012d48834006963110003f00572b..."} 
[2026-11-05 14:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aae137a8012d48834006963110003f00572b..."} 
[2026-11-05 14:15:09] local.INFO: Processing buffer {"connection_id":233490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aae137a8012d48834006963110003f00572b..."} 
[2026-11-05 14:15:09] local.INFO: Packet analysis {"connection_id":233490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aae1"} 
[2026-11-05 14:15:09] local.INFO: Extracted packet for processing {"connection_id":233490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aae1"} 
[2026-11-05 14:15:09] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110506256,"longitude_deg":75.9726912,"latitude_deg":11.0506256,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06963110","is_valid_coordinates":true} 
[2026-11-05 14:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230265088001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283481143296,"note":"Value kept but may cause issues"} 
[2026-11-05 14:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793868249000,"timestamp_ms":1793868249000,"timestamp_seconds":1793868249,"priority":1,"record_length":96,"hex_timestamp":"000001a1aae137a8"} 
[2026-11-05 14:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 14:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-11-05 14:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230265088001,"66":27713,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5224879283481143296},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 14:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230265088001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:15:09] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 14:15:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283481143296,"description":"Unknown IO ID 45"} 
[2026-11-05 14:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230265088001,"power":27713,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224879283481143296}} 
[2026-11-05 14:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":233490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63426,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:15:09] local.INFO: GPS data processed {"connection_id":233490,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:15:09] local.INFO: Acknowledgment sent {"connection_id":233490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:15:31] local.INFO: TCP Data received {"connection_id":230256,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230256,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:15:31] local.INFO: Processing buffer {"connection_id":230256,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:15:31] local.INFO: IMEI packet received {"connection_id":230256,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":230256,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:15:37] local.INFO: TCP Data received {"connection_id":230256,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230256,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:15:37] local.INFO: Processing buffer {"connection_id":230256,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:15:37] local.INFO: IMEI packet received {"connection_id":230256,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":230256,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:15:40] local.INFO: TCP Data received {"connection_id":233489,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:15:40] local.INFO: Processing buffer {"connection_id":233489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:15:40] local.INFO: Packet analysis {"connection_id":233489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aadf"} 
[2026-11-05 14:15:40] local.INFO: Extracted packet for processing {"connection_id":233489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aadf"} 
[2026-11-05 14:15:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230161152001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198250419609294848,"note":"Value kept but may cause issues"} 
[2026-11-05 14:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793868121000,"timestamp_ms":1793868121000,"timestamp_seconds":1793868121,"priority":1,"record_length":96,"hex_timestamp":"000001a1aadf43a8"} 
[2026-11-05 14:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:15:40] 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-05 14:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-05 14:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230161152001,"66":26006,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198250419609294848},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230161152001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:15:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:15:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198250419609294848,"description":"Unknown IO ID 45"} 
[2026-11-05 14:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230161152001,"power":26006,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198250419609294848}} 
[2026-11-05 14:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":233489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:15:40] local.INFO: GPS data processed {"connection_id":233489,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:15:40] local.INFO: Acknowledgment sent {"connection_id":233489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:15:42] local.INFO: TCP Data received {"connection_id":230256,"ip":"42.106.6.17","data_length":93,"data_hex":"00000000000000518e01000001a1a9bf73f8012d0af0c007066a300012009e26..."} 
[2026-11-05 14:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230256,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9bf73f8012d0af0c007066a300012009e26..."} 
[2026-11-05 14:15:42] local.INFO: Processing buffer {"connection_id":230256,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9bf73f8012d0af0c007066a300012009e26..."} 
[2026-11-05 14:15:42] local.INFO: Packet analysis {"connection_id":230256,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9bf"} 
[2026-11-05 14:15:42] local.INFO: Extracted packet for processing {"connection_id":230256,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9bf"} 
[2026-11-05 14:15:42] local.INFO: GPS Element Parsed {"raw_longitude":755691712,"raw_latitude":117860912,"longitude_deg":75.5691712,"latitude_deg":11.7860912,"altitude":18,"angle":158,"satellites":38,"speed":17,"hex_longitude":"2d0af0c0","hex_latitude":"07066a30","is_valid_coordinates":true} 
[2026-11-05 14:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:15:42] 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-05 14:15:42] 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-05 14:15:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:15:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230256,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230256,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230256,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:15:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":230256,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:15:42] local.ERROR: GPS data processing failed {"connection_id":230256,"error":"No valid data to process"} 
[2026-11-05 14:15:42] local.INFO: Acknowledgment sent {"connection_id":230256,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:15:45] local.INFO: TCP Data received {"connection_id":233490,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aae189b0012d48834006963110003f00572b..."} 
[2026-11-05 14:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aae189b0012d48834006963110003f00572b..."} 
[2026-11-05 14:15:45] local.INFO: Processing buffer {"connection_id":233490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aae189b0012d48834006963110003f00572b..."} 
[2026-11-05 14:15:45] local.INFO: Packet analysis {"connection_id":233490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aae1"} 
[2026-11-05 14:15:45] local.INFO: Extracted packet for processing {"connection_id":233490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aae1"} 
[2026-11-05 14:15:45] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110506256,"longitude_deg":75.9726912,"latitude_deg":11.0506256,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06963110","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230271744001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713686528,"note":"Value kept but may cause issues"} 
[2026-11-05 14:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793868270000,"timestamp_ms":1793868270000,"timestamp_seconds":1793868270,"priority":1,"record_length":96,"hex_timestamp":"000001a1aae189b0"} 
[2026-11-05 14: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-05 14:15: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-05 14:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-05 14:15: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-05 14: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-05 14: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-05 14:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":233490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":233490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":233490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230271744001,"66":27984,"171":206,"19":48128,"24":0,"16":20804383495159808,"45":5225090389713686528},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-11-05 14:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230271744001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:15:45] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-05 14:15:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713686528,"description":"Unknown IO ID 45"} 
[2026-11-05 14:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230271744001,"power":27984,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225090389713686528}} 
[2026-11-05 14:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":233490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63428,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:15:45] local.INFO: GPS data processed {"connection_id":233490,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:15:45] local.INFO: Acknowledgment sent {"connection_id":233490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:16:05] local.INFO: TCP Data received {"connection_id":230257,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:16:05] local.INFO: Processing buffer {"connection_id":230257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:16:05] local.INFO: IMEI packet received {"connection_id":230257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":230257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:16:06] local.INFO: TCP Data received {"connection_id":231585,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:16:06] local.INFO: Processing buffer {"connection_id":231585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:16:06] local.INFO: IMEI packet received {"connection_id":231585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":231585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:16:08] local.INFO: TCP Data received {"connection_id":230257,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:16:08] local.INFO: Processing buffer {"connection_id":230257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:16:08] local.INFO: IMEI packet received {"connection_id":230257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":230257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:16:09] local.INFO: TCP Data received {"connection_id":230257,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:16:09] local.INFO: Processing buffer {"connection_id":230257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:16:09] local.INFO: Packet analysis {"connection_id":230257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aadf"} 
[2026-11-05 14:16:09] local.INFO: Extracted packet for processing {"connection_id":230257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aadf"} 
[2026-11-05 14:16:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230161152001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198250419609294848,"note":"Value kept but may cause issues"} 
[2026-11-05 14:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793868121000,"timestamp_ms":1793868121000,"timestamp_seconds":1793868121,"priority":1,"record_length":96,"hex_timestamp":"000001a1aadf43a8"} 
[2026-11-05 14:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:16:09] 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-05 14:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-05 14:16:09] 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-05 14:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:16:09] 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-05 14:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230161152001,"66":26006,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198250419609294848},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230161152001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:16:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:16:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198250419609294848,"description":"Unknown IO ID 45"} 
[2026-11-05 14:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230161152001,"power":26006,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198250419609294848}} 
[2026-11-05 14:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":230257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:16:09] local.INFO: GPS data processed {"connection_id":230257,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:16:09] local.INFO: Acknowledgment sent {"connection_id":230257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:16:11] local.INFO: TCP Data received {"connection_id":231585,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:16:11] local.INFO: Processing buffer {"connection_id":231585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:16:11] local.INFO: IMEI packet received {"connection_id":231585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":231585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:16:13] local.INFO: TCP Data received {"connection_id":231585,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aae1dbb8012d48834006963110003f00572b..."} 
[2026-11-05 14:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aae1dbb8012d48834006963110003f00572b..."} 
[2026-11-05 14:16:13] local.INFO: Processing buffer {"connection_id":231585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aae1dbb8012d48834006963110003f00572b..."} 
[2026-11-05 14:16:13] local.INFO: Packet analysis {"connection_id":231585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aae1"} 
[2026-11-05 14:16:13] local.INFO: Extracted packet for processing {"connection_id":231585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aae1"} 
[2026-11-05 14:16:13] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110506256,"longitude_deg":75.9726912,"latitude_deg":11.0506256,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06963110","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230277120001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713686528,"note":"Value kept but may cause issues"} 
[2026-11-05 14:16:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,19,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 14:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793868291000,"timestamp_ms":1793868291000,"timestamp_seconds":1793868291,"priority":1,"record_length":96,"hex_timestamp":"000001a1aae1dbb8"} 
[2026-11-05 14: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-05 14:16: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-05 14:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-05 14:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":231585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":231585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":231585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230277120001,"66":28332,"16":20804383495159808,"19":48128,"24":0,"45":5225090389713686528},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,19,24,45]} 
[2026-11-05 14:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230277120001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:16:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713686528,"description":"Unknown IO ID 45"} 
[2026-11-05 14:16:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459230277120001,"power":28332,"odometer":null,"unknown_19":48128,"ignition":0,"unknown_45":5225090389713686528}} 
[2026-11-05 14:16:13] local.INFO: TCP Data received {"connection_id":230256,"ip":"42.106.6.17","data_length":93,"data_hex":"00000000000000518e01000001a1a9bfb278012d0b0080070649900010009827..."} 
[2026-11-05 14:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230256,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9bfb278012d0b0080070649900010009827..."} 
[2026-11-05 14:16:13] local.INFO: Processing buffer {"connection_id":230256,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9bfb278012d0b0080070649900010009827..."} 
[2026-11-05 14:16:13] local.INFO: Packet analysis {"connection_id":230256,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9bf"} 
[2026-11-05 14:16:13] local.INFO: Extracted packet for processing {"connection_id":230256,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9bf"} 
[2026-11-05 14:16:13] local.INFO: GPS Element Parsed {"raw_longitude":755695744,"raw_latitude":117852560,"longitude_deg":75.5695744,"latitude_deg":11.785256,"altitude":16,"angle":152,"satellites":39,"speed":20,"hex_longitude":"2d0b0080","hex_latitude":"07064990","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:16:13] 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-05 14:16:13] 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-05 14:16:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:16:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230256,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230256,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230256,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:16:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":230256,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:16:13] local.ERROR: GPS data processing failed {"connection_id":230256,"error":"No valid data to process"} 
[2026-11-05 14:16:13] local.INFO: Acknowledgment sent {"connection_id":230256,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":231585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63430,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:16:13] local.INFO: GPS data processed {"connection_id":231585,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:16:13] local.INFO: Acknowledgment sent {"connection_id":231585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:16:37] local.INFO: TCP Data received {"connection_id":233491,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233491,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:16:37] local.INFO: Processing buffer {"connection_id":233491,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:16:37] local.INFO: IMEI packet received {"connection_id":233491,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":233491,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:16:40] local.INFO: TCP Data received {"connection_id":230257,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:16:40] local.INFO: Processing buffer {"connection_id":230257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:16:40] local.INFO: Packet analysis {"connection_id":230257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aadf"} 
[2026-11-05 14:16:40] local.INFO: Extracted packet for processing {"connection_id":230257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aadf"} 
[2026-11-05 14:16:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230161152001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198250419609294848,"note":"Value kept but may cause issues"} 
[2026-11-05 14:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793868121000,"timestamp_ms":1793868121000,"timestamp_seconds":1793868121,"priority":1,"record_length":96,"hex_timestamp":"000001a1aadf43a8"} 
[2026-11-05 14:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:16:40] 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-05 14:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-05 14:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:16:40] 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-05 14:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230161152001,"66":26006,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198250419609294848},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230161152001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:16:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:16:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198250419609294848,"description":"Unknown IO ID 45"} 
[2026-11-05 14:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230161152001,"power":26006,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198250419609294848}} 
[2026-11-05 14:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":230257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:16:40] local.INFO: GPS data processed {"connection_id":230257,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:16:40] local.INFO: Acknowledgment sent {"connection_id":230257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:16:42] local.INFO: TCP Data received {"connection_id":233491,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233491,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:16:42] local.INFO: Processing buffer {"connection_id":233491,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:16:42] local.INFO: IMEI packet received {"connection_id":233491,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":233491,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:16:46] local.INFO: TCP Data received {"connection_id":231585,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aae22dc0012d48834006963110003f00572b..."} 
[2026-11-05 14:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aae22dc0012d48834006963110003f00572b..."} 
[2026-11-05 14:16:46] local.INFO: Processing buffer {"connection_id":231585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aae22dc0012d48834006963110003f00572b..."} 
[2026-11-05 14:16:46] local.INFO: Packet analysis {"connection_id":231585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aae2"} 
[2026-11-05 14:16:46] local.INFO: Extracted packet for processing {"connection_id":231585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aae2"} 
[2026-11-05 14:16:46] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110506256,"longitude_deg":75.9726912,"latitude_deg":11.0506256,"altitude":63,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06963110","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230282496001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713686528,"note":"Value kept but may cause issues"} 
[2026-11-05 14:16:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,19,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 14:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793868312000,"timestamp_ms":1793868312000,"timestamp_seconds":1793868312,"priority":1,"record_length":96,"hex_timestamp":"000001a1aae22dc0"} 
[2026-11-05 14: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-05 14:16: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-05 14:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-05 14:16: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-05 14: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-05 14: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-05 14:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":231585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":231585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":231585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230282496001,"66":28354,"16":20804383495159808,"19":48128,"24":0,"45":5225090389713686528},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,19,24,45]} 
[2026-11-05 14:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230282496001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:16:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713686528,"description":"Unknown IO ID 45"} 
[2026-11-05 14:16:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459230282496001,"power":28354,"odometer":null,"unknown_19":48128,"ignition":0,"unknown_45":5225090389713686528}} 
[2026-11-05 14:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":231585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63432,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:16:46] local.INFO: GPS data processed {"connection_id":231585,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:16:46] local.INFO: Acknowledgment sent {"connection_id":231585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:16:47] local.INFO: TCP Data received {"connection_id":233491,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c00098012d0b0540070641600010008a25..."} 
[2026-11-05 14:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233491,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c00098012d0b0540070641600010008a25..."} 
[2026-11-05 14:16:47] local.INFO: Processing buffer {"connection_id":233491,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c00098012d0b0540070641600010008a25..."} 
[2026-11-05 14:16:47] local.INFO: Packet analysis {"connection_id":233491,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c0"} 
[2026-11-05 14:16:47] local.INFO: Extracted packet for processing {"connection_id":233491,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c0"} 
[2026-11-05 14:16:47] local.INFO: GPS Element Parsed {"raw_longitude":755696960,"raw_latitude":117850464,"longitude_deg":75.569696,"latitude_deg":11.7850464,"altitude":16,"angle":138,"satellites":37,"speed":9,"hex_longitude":"2d0b0540","hex_latitude":"07064160","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:16:47] 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-05 14:16:47] 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-05 14:16:47] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:16:47] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":233491,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":233491,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":233491,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:16:47] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":233491,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:16:47] local.ERROR: GPS data processing failed {"connection_id":233491,"error":"No valid data to process"} 
[2026-11-05 14:16:47] local.INFO: Acknowledgment sent {"connection_id":233491,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:17:03] local.INFO: TCP Data received {"connection_id":229737,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:17:03] local.INFO: Processing buffer {"connection_id":229737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:17:03] local.INFO: IMEI packet received {"connection_id":229737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":229737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:17:05] local.INFO: TCP Data received {"connection_id":229738,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229738,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:17:05] local.INFO: Processing buffer {"connection_id":229738,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:17:05] local.INFO: IMEI packet received {"connection_id":229738,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":229738,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:17:08] local.INFO: TCP Data received {"connection_id":229737,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:17:08] local.INFO: Processing buffer {"connection_id":229737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:17:08] local.INFO: IMEI packet received {"connection_id":229737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":229737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:17:09] local.INFO: TCP Data received {"connection_id":229737,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:17:09] local.INFO: Processing buffer {"connection_id":229737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:17:09] local.INFO: Packet analysis {"connection_id":229737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aadf"} 
[2026-11-05 14:17:09] local.INFO: Extracted packet for processing {"connection_id":229737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aadf"} 
[2026-11-05 14:17:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230161152001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198250419609294848,"note":"Value kept but may cause issues"} 
[2026-11-05 14:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793868121000,"timestamp_ms":1793868121000,"timestamp_seconds":1793868121,"priority":1,"record_length":96,"hex_timestamp":"000001a1aadf43a8"} 
[2026-11-05 14:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:17:09] 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-05 14:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-05 14:17:09] 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-05 14:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:17:09] 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-05 14:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230161152001,"66":26006,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198250419609294848},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230161152001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:17:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:17:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198250419609294848,"description":"Unknown IO ID 45"} 
[2026-11-05 14:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230161152001,"power":26006,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198250419609294848}} 
[2026-11-05 14:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":229737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:17:09] local.INFO: GPS data processed {"connection_id":229737,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:17:09] local.INFO: Acknowledgment sent {"connection_id":229737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:17:12] local.INFO: TCP Data received {"connection_id":229738,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229738,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:17:12] local.INFO: Processing buffer {"connection_id":229738,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:17:12] local.INFO: IMEI packet received {"connection_id":229738,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":229738,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:17:15] local.INFO: TCP Data received {"connection_id":229738,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aae27fc8012d48c1c0069633c8003d00512d..."} 
[2026-11-05 14:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aae27fc8012d48c1c0069633c8003d00512d..."} 
[2026-11-05 14:17:15] local.INFO: Processing buffer {"connection_id":229738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aae27fc8012d48c1c0069633c8003d00512d..."} 
[2026-11-05 14:17:15] local.INFO: Packet analysis {"connection_id":229738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aae2"} 
[2026-11-05 14:17:15] local.INFO: Extracted packet for processing {"connection_id":229738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aae2"} 
[2026-11-05 14:17:15] local.INFO: GPS Element Parsed {"raw_longitude":759742912,"raw_latitude":110506952,"longitude_deg":75.9742912,"latitude_deg":11.0506952,"altitude":61,"angle":81,"satellites":45,"speed":29,"hex_longitude":"2d48c1c0","hex_latitude":"069633c8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230287872001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713686528,"note":"Value kept but may cause issues"} 
[2026-11-05 14:17:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,19,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 14:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793868333000,"timestamp_ms":1793868333000,"timestamp_seconds":1793868333,"priority":1,"record_length":96,"hex_timestamp":"000001a1aae27fc8"} 
[2026-11-05 14: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-05 14: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-05 14: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":194,"data_length":795,"current_offset":136} 
[2026-11-05 14:17: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-05 14: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-05 14: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-05 14:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229738,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229738,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230287872001,"66":28300,"16":20804383495159808,"19":48128,"24":29,"45":5225090389713686528},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,19,24,45]} 
[2026-11-05 14:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230287872001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:17:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713686528,"description":"Unknown IO ID 45"} 
[2026-11-05 14:17:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459230287872001,"power":28300,"odometer":null,"unknown_19":48128,"ignition":29,"unknown_45":5225090389713686528}} 
[2026-11-05 14:17:15] 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":63434,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:17:15] local.INFO: GPS data processed {"connection_id":229738,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:17:15] local.INFO: Acknowledgment sent {"connection_id":229738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:17:32] local.INFO: TCP Data received {"connection_id":230258,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230258,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:17:32] local.INFO: Processing buffer {"connection_id":230258,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:17:32] local.INFO: IMEI packet received {"connection_id":230258,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":230258,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:17:37] local.INFO: TCP Data received {"connection_id":230258,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230258,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:17:37] local.INFO: Processing buffer {"connection_id":230258,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:17:37] local.INFO: IMEI packet received {"connection_id":230258,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":230258,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:17:40] local.INFO: TCP Data received {"connection_id":229737,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:17:40] local.INFO: Processing buffer {"connection_id":229737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aadf43a8012d7fa60005afe2e80000011024..."} 
[2026-11-05 14:17:40] local.INFO: Packet analysis {"connection_id":229737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aadf"} 
[2026-11-05 14:17:40] local.INFO: Extracted packet for processing {"connection_id":229737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aadf"} 
[2026-11-05 14:17:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230161152001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198250419609294848,"note":"Value kept but may cause issues"} 
[2026-11-05 14:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793868121000,"timestamp_ms":1793868121000,"timestamp_seconds":1793868121,"priority":1,"record_length":96,"hex_timestamp":"000001a1aadf43a8"} 
[2026-11-05 14:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:17:40] 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-05 14:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-05 14:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:17: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-05 14:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230161152001,"66":26006,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198250419609294848},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 14:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230161152001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:17:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 14:17:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198250419609294848,"description":"Unknown IO ID 45"} 
[2026-11-05 14:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230161152001,"power":26006,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198250419609294848}} 
[2026-11-05 14:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":229737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:17:40] local.INFO: GPS data processed {"connection_id":229737,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:17:40] local.INFO: Acknowledgment sent {"connection_id":229737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:17:42] local.INFO: TCP Data received {"connection_id":230258,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c00098012d0b0540070641600010008a25..."} 
[2026-11-05 14:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230258,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c00098012d0b0540070641600010008a25..."} 
[2026-11-05 14:17:42] local.INFO: Processing buffer {"connection_id":230258,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c00098012d0b0540070641600010008a25..."} 
[2026-11-05 14:17:42] local.INFO: Packet analysis {"connection_id":230258,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c0"} 
[2026-11-05 14:17:42] local.INFO: Extracted packet for processing {"connection_id":230258,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c0"} 
[2026-11-05 14:17:42] local.INFO: GPS Element Parsed {"raw_longitude":755696960,"raw_latitude":117850464,"longitude_deg":75.569696,"latitude_deg":11.7850464,"altitude":16,"angle":138,"satellites":37,"speed":9,"hex_longitude":"2d0b0540","hex_latitude":"07064160","is_valid_coordinates":true} 
[2026-11-05 14:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:17:42] 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-05 14:17:42] 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-05 14:17:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:17:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230258,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230258,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230258,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:17:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":230258,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:17:42] local.ERROR: GPS data processing failed {"connection_id":230258,"error":"No valid data to process"} 
[2026-11-05 14:17:42] local.INFO: Acknowledgment sent {"connection_id":230258,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:17:48] local.INFO: TCP Data received {"connection_id":229738,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aae362580100000000000000000000000000..."} 
[2026-11-05 14:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aae362580100000000000000000000000000..."} 
[2026-11-05 14:17:48] local.INFO: Processing buffer {"connection_id":229738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aae362580100000000000000000000000000..."} 
[2026-11-05 14:17:48] local.INFO: Packet analysis {"connection_id":229738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aae3"} 
[2026-11-05 14:17:48] local.INFO: Extracted packet for processing {"connection_id":229738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aae3"} 
[2026-11-05 14:17:48] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230293248001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5242682575758280704,"note":"Value kept but may cause issues"} 
[2026-11-05 14:17:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,19,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 14:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793868391000,"timestamp_ms":1793868391000,"timestamp_seconds":1793868391,"priority":1,"record_length":96,"hex_timestamp":"000001a1aae36258"} 
[2026-11-05 14: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-05 14: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-05 14: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":140,"data_length":795,"current_offset":136} 
[2026-11-05 14:17: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-05 14: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-05 14: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-05 14:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229738,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229738,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":229738,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 14:17:48] local.INFO: GPS data processed {"connection_id":229738,"processed":0,"errors":0,"total":1} 
[2026-11-05 14:17:48] local.INFO: Acknowledgment sent {"connection_id":229738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:18:08] local.INFO: TCP Data received {"connection_id":233492,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:18:08] local.INFO: Processing buffer {"connection_id":233492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:18:08] local.INFO: IMEI packet received {"connection_id":233492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":233492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:18:11] local.INFO: TCP Data received {"connection_id":231586,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231586,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:18:11] local.INFO: Processing buffer {"connection_id":231586,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:18:11] local.INFO: IMEI packet received {"connection_id":231586,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":231586,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:18:13] local.INFO: TCP Data received {"connection_id":230258,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c01420012d0b090007063a900011009826..."} 
[2026-11-05 14:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230258,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c01420012d0b090007063a900011009826..."} 
[2026-11-05 14:18:13] local.INFO: Processing buffer {"connection_id":230258,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c01420012d0b090007063a900011009826..."} 
[2026-11-05 14:18:13] local.INFO: Packet analysis {"connection_id":230258,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c0"} 
[2026-11-05 14:18:13] local.INFO: Extracted packet for processing {"connection_id":230258,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c0"} 
[2026-11-05 14:18:13] local.INFO: GPS Element Parsed {"raw_longitude":755697920,"raw_latitude":117848720,"longitude_deg":75.569792,"latitude_deg":11.784872,"altitude":17,"angle":152,"satellites":38,"speed":20,"hex_longitude":"2d0b0900","hex_latitude":"07063a90","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:18:13] 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-05 14:18:13] 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-05 14:18:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:18:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230258,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230258,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230258,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:18:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":230258,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:18:13] local.ERROR: GPS data processing failed {"connection_id":230258,"error":"No valid data to process"} 
[2026-11-05 14:18:13] local.INFO: Acknowledgment sent {"connection_id":230258,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:18:13] local.INFO: TCP Data received {"connection_id":233492,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:18:13] local.INFO: Processing buffer {"connection_id":233492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:18:13] local.INFO: IMEI packet received {"connection_id":233492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":233492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:18:14] local.INFO: TCP Data received {"connection_id":233492,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aae3db70012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aae3db70012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:18:14] local.INFO: Processing buffer {"connection_id":233492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aae3db70012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:18:14] local.INFO: Packet analysis {"connection_id":233492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aae3"} 
[2026-11-05 14:18:14] local.INFO: Extracted packet for processing {"connection_id":233492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aae3"} 
[2026-11-05 14:18:14] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230238976001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793868422000,"timestamp_ms":1793868422000,"timestamp_seconds":1793868422,"priority":1,"record_length":96,"hex_timestamp":"000001a1aae3db70"} 
[2026-11-05 14: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-05 14:18: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-05 14: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-11-05 14:18:14] 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-05 14: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-05 14: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-05 14:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230238976001,"66":25702,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 14:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230238976001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:18:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 14:18:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230238976001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":233492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:18:14] local.INFO: GPS data processed {"connection_id":233492,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:18:14] local.INFO: Acknowledgment sent {"connection_id":233492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:18:16] local.INFO: TCP Data received {"connection_id":231586,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231586,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:18:16] local.INFO: Processing buffer {"connection_id":231586,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:18:16] local.INFO: IMEI packet received {"connection_id":231586,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":231586,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:18:25] local.INFO: TCP Data received {"connection_id":231586,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aae2d5b8012d48f540069635a00044005a2d..."} 
[2026-11-05 14:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aae2d5b8012d48f540069635a00044005a2d..."} 
[2026-11-05 14:18:25] local.INFO: Processing buffer {"connection_id":231586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aae2d5b8012d48f540069635a00044005a2d..."} 
[2026-11-05 14:18:25] local.INFO: Packet analysis {"connection_id":231586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aae2"} 
[2026-11-05 14:18:25] local.INFO: Extracted packet for processing {"connection_id":231586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aae2"} 
[2026-11-05 14:18:25] local.INFO: GPS Element Parsed {"raw_longitude":759756096,"raw_latitude":110507424,"longitude_deg":75.9756096,"latitude_deg":11.0507424,"altitude":68,"angle":90,"satellites":45,"speed":12,"hex_longitude":"2d48f540","hex_latitude":"069635a0","is_valid_coordinates":true} 
[2026-11-05 14:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:18:25] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,16,19,24],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-11-05 14:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793868355000,"timestamp_ms":1793868355000,"timestamp_seconds":1793868355,"priority":1,"record_length":96,"hex_timestamp":"000001a1aae2d5b8"} 
[2026-11-05 14:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:18: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 14:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-05 14:18: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-05 14:18:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":231586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":231586,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":231586,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28398,"16":20804383495159808,"19":48128,"24":12},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,19,24]} 
[2026-11-05 14:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 14:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:18:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:18:25] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":0,"power":28398,"odometer":null,"unknown_19":48128,"ignition":12}} 
[2026-11-05 14:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":231586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63437,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:18:25] local.INFO: GPS data processed {"connection_id":231586,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:18:25] local.INFO: Acknowledgment sent {"connection_id":231586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:18:32] local.INFO: TCP Data received {"connection_id":229739,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229739,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:18:32] local.INFO: Processing buffer {"connection_id":229739,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:18:32] local.INFO: IMEI packet received {"connection_id":229739,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":229739,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:18:32] local.INFO: TCP Data received {"connection_id":229739,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229739,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:18:32] local.INFO: Processing buffer {"connection_id":229739,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:18:32] local.INFO: IMEI packet received {"connection_id":229739,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":229739,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:18:38] local.INFO: TCP Data received {"connection_id":229739,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229739,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:18:38] local.INFO: Processing buffer {"connection_id":229739,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:18:38] local.INFO: IMEI packet received {"connection_id":229739,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":229739,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:18:39] local.INFO: TCP Data received {"connection_id":229739,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1aae53718012d0b13000702a1700005007523..."} 
[2026-11-05 14:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229739,"packet_length":93,"packet_hex":"00000000000000518e01000001a1aae53718012d0b13000702a1700005007523..."} 
[2026-11-05 14:18:39] local.INFO: Processing buffer {"connection_id":229739,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1aae53718012d0b13000702a1700005007523..."} 
[2026-11-05 14:18:39] local.INFO: Packet analysis {"connection_id":229739,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1aae5"} 
[2026-11-05 14:18:39] local.INFO: Extracted packet for processing {"connection_id":229739,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1aae5"} 
[2026-11-05 14:18:39] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612912,"longitude_deg":75.570048,"latitude_deg":11.7612912,"altitude":5,"angle":117,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a170","is_valid_coordinates":true} 
[2026-11-05 14:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:18:39] 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-05 14:18:39] 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-05 14:18:39] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:18:39] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":229739,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":229739,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":229739,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:18:39] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":229739,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:18:39] local.ERROR: GPS data processing failed {"connection_id":229739,"error":"No valid data to process"} 
[2026-11-05 14:18:39] local.INFO: Acknowledgment sent {"connection_id":229739,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:18:45] local.INFO: TCP Data received {"connection_id":233492,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aae3db70012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aae3db70012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:18:45] local.INFO: Processing buffer {"connection_id":233492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aae3db70012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:18:45] local.INFO: Packet analysis {"connection_id":233492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aae3"} 
[2026-11-05 14:18:45] local.INFO: Extracted packet for processing {"connection_id":233492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aae3"} 
[2026-11-05 14:18:45] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230238976001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793868422000,"timestamp_ms":1793868422000,"timestamp_seconds":1793868422,"priority":1,"record_length":96,"hex_timestamp":"000001a1aae3db70"} 
[2026-11-05 14: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-05 14: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-05 14:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-11-05 14:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":233492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":233492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":233492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230238976001,"66":25702,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 14:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230238976001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:18:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 14:18:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230238976001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":233492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:18:45] local.INFO: GPS data processed {"connection_id":233492,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:18:45] local.INFO: Acknowledgment sent {"connection_id":233492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:19:03] local.INFO: TCP Data received {"connection_id":230259,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:19:03] local.INFO: Processing buffer {"connection_id":230259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:19:03] local.INFO: IMEI packet received {"connection_id":230259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":230259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:19:08] local.INFO: TCP Data received {"connection_id":230259,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:19:08] local.INFO: Processing buffer {"connection_id":230259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:19:08] local.INFO: IMEI packet received {"connection_id":230259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":230259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:19:09] local.INFO: TCP Data received {"connection_id":230259,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1aae3db70012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aae3db70012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:19:09] local.INFO: Processing buffer {"connection_id":230259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aae3db70012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:19:09] local.INFO: Packet analysis {"connection_id":230259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aae3"} 
[2026-11-05 14:19:09] local.INFO: Extracted packet for processing {"connection_id":230259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aae3"} 
[2026-11-05 14:19:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230238976001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793868422000,"timestamp_ms":1793868422000,"timestamp_seconds":1793868422,"priority":1,"record_length":96,"hex_timestamp":"000001a1aae3db70"} 
[2026-11-05 14:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-11-05 14:19:09] 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-05 14:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:19:09] 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-05 14:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230238976001,"66":25702,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 14:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230238976001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:19:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 14:19:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230238976001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:19:09] 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":63439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:19:09] local.INFO: GPS data processed {"connection_id":230259,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:19:09] local.INFO: Acknowledgment sent {"connection_id":230259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:19:10] local.INFO: TCP Data received {"connection_id":229739,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c06628012d0b1480070629e80013009329..."} 
[2026-11-05 14:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229739,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c06628012d0b1480070629e80013009329..."} 
[2026-11-05 14:19:10] local.INFO: Processing buffer {"connection_id":229739,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c06628012d0b1480070629e80013009329..."} 
[2026-11-05 14:19:10] local.INFO: Packet analysis {"connection_id":229739,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c0"} 
[2026-11-05 14:19:10] local.INFO: Extracted packet for processing {"connection_id":229739,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c0"} 
[2026-11-05 14:19:10] local.INFO: GPS Element Parsed {"raw_longitude":755700864,"raw_latitude":117844456,"longitude_deg":75.5700864,"latitude_deg":11.7844456,"altitude":19,"angle":147,"satellites":41,"speed":17,"hex_longitude":"2d0b1480","hex_latitude":"070629e8","is_valid_coordinates":true} 
[2026-11-05 14:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:19:10] 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-05 14:19:10] 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-05 14:19:10] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:19:10] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229739,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229739,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229739,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:19:10] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":229739,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:19:10] local.ERROR: GPS data processing failed {"connection_id":229739,"error":"No valid data to process"} 
[2026-11-05 14:19:10] local.INFO: Acknowledgment sent {"connection_id":229739,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:19:31] local.INFO: TCP Data received {"connection_id":233493,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233493,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:19:31] local.INFO: Processing buffer {"connection_id":233493,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:19:31] local.INFO: IMEI packet received {"connection_id":233493,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":233493,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:19:37] local.INFO: TCP Data received {"connection_id":233493,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233493,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:19:37] local.INFO: Processing buffer {"connection_id":233493,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:19:37] local.INFO: IMEI packet received {"connection_id":233493,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":233493,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:19:42] local.INFO: TCP Data received {"connection_id":233493,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c07d98012d0b1e0007061e680013008329..."} 
[2026-11-05 14:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233493,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c07d98012d0b1e0007061e680013008329..."} 
[2026-11-05 14:19:42] local.INFO: Processing buffer {"connection_id":233493,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c07d98012d0b1e0007061e680013008329..."} 
[2026-11-05 14:19:42] local.INFO: Packet analysis {"connection_id":233493,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c0"} 
[2026-11-05 14:19:42] local.INFO: Extracted packet for processing {"connection_id":233493,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c0"} 
[2026-11-05 14:19:42] local.INFO: GPS Element Parsed {"raw_longitude":755703296,"raw_latitude":117841512,"longitude_deg":75.5703296,"latitude_deg":11.7841512,"altitude":19,"angle":131,"satellites":41,"speed":30,"hex_longitude":"2d0b1e00","hex_latitude":"07061e68","is_valid_coordinates":true} 
[2026-11-05 14:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:19:42] 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-05 14:19:42] 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-05 14:19:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:19:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233493,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233493,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233493,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:19:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":233493,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:19:42] local.ERROR: GPS data processing failed {"connection_id":233493,"error":"No valid data to process"} 
[2026-11-05 14:19:42] local.INFO: Acknowledgment sent {"connection_id":233493,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:19:46] local.INFO: TCP Data received {"connection_id":230259,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1aae3db70012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aae3db70012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:19:46] local.INFO: Processing buffer {"connection_id":230259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aae3db70012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:19:46] local.INFO: Packet analysis {"connection_id":230259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aae3"} 
[2026-11-05 14:19:46] local.INFO: Extracted packet for processing {"connection_id":230259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aae3"} 
[2026-11-05 14:19:46] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230238976001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793868422000,"timestamp_ms":1793868422000,"timestamp_seconds":1793868422,"priority":1,"record_length":96,"hex_timestamp":"000001a1aae3db70"} 
[2026-11-05 14: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-05 14: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-05 14: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-11-05 14:19:46] 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-05 14: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-05 14: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-05 14:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:19: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-05 14:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230238976001,"66":25702,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 14:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230238976001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:19:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 14:19:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230238976001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:19:46] 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":63440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:19:46] local.INFO: GPS data processed {"connection_id":230259,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:19:46] local.INFO: Acknowledgment sent {"connection_id":230259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:20:03] local.INFO: TCP Data received {"connection_id":233494,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:20:03] local.INFO: Processing buffer {"connection_id":233494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:20:03] local.INFO: IMEI packet received {"connection_id":233494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":233494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:20:08] local.INFO: TCP Data received {"connection_id":233494,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:20:08] local.INFO: Processing buffer {"connection_id":233494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:20:08] local.INFO: IMEI packet received {"connection_id":233494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":233494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:20:09] local.INFO: TCP Data received {"connection_id":233494,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1aae3db70012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aae3db70012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:20:09] local.INFO: Processing buffer {"connection_id":233494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aae3db70012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:20:09] local.INFO: Packet analysis {"connection_id":233494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aae3"} 
[2026-11-05 14:20:09] local.INFO: Extracted packet for processing {"connection_id":233494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aae3"} 
[2026-11-05 14:20:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230238976001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793868422000,"timestamp_ms":1793868422000,"timestamp_seconds":1793868422,"priority":1,"record_length":96,"hex_timestamp":"000001a1aae3db70"} 
[2026-11-05 14:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-11-05 14:20:09] 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-05 14:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:20:09] 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-05 14:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230238976001,"66":25702,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 14:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230238976001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:20:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 14:20:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230238976001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":233494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:20:09] local.INFO: GPS data processed {"connection_id":233494,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:20:09] local.INFO: Acknowledgment sent {"connection_id":233494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:20:15] local.INFO: TCP Data received {"connection_id":233493,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c09cd8012d0b350007060ed80014007727..."} 
[2026-11-05 14:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233493,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c09cd8012d0b350007060ed80014007727..."} 
[2026-11-05 14:20:15] local.INFO: Processing buffer {"connection_id":233493,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c09cd8012d0b350007060ed80014007727..."} 
[2026-11-05 14:20:15] local.INFO: Packet analysis {"connection_id":233493,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c0"} 
[2026-11-05 14:20:15] local.INFO: Extracted packet for processing {"connection_id":233493,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c0"} 
[2026-11-05 14:20:15] local.INFO: GPS Element Parsed {"raw_longitude":755709184,"raw_latitude":117837528,"longitude_deg":75.5709184,"latitude_deg":11.7837528,"altitude":20,"angle":119,"satellites":39,"speed":38,"hex_longitude":"2d0b3500","hex_latitude":"07060ed8","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:20:15] 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-05 14:20:15] 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-05 14:20:15] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:20:15] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233493,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233493,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233493,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:20:15] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":233493,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:20:15] local.ERROR: GPS data processing failed {"connection_id":233493,"error":"No valid data to process"} 
[2026-11-05 14:20:15] local.INFO: Acknowledgment sent {"connection_id":233493,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:20:31] local.INFO: TCP Data received {"connection_id":233496,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233496,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:20:31] local.INFO: Processing buffer {"connection_id":233496,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:20:31] local.INFO: IMEI packet received {"connection_id":233496,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":233496,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:20:37] local.INFO: TCP Data received {"connection_id":233496,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233496,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:20:37] local.INFO: Processing buffer {"connection_id":233496,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:20:37] local.INFO: IMEI packet received {"connection_id":233496,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":233496,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:20:42] local.INFO: TCP Data received {"connection_id":233494,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1aae3db70012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aae3db70012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:20:42] local.INFO: Processing buffer {"connection_id":233494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aae3db70012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:20:42] local.INFO: Packet analysis {"connection_id":233494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aae3"} 
[2026-11-05 14:20:42] local.INFO: Extracted packet for processing {"connection_id":233494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aae3"} 
[2026-11-05 14:20:42] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230238976001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793868422000,"timestamp_ms":1793868422000,"timestamp_seconds":1793868422,"priority":1,"record_length":96,"hex_timestamp":"000001a1aae3db70"} 
[2026-11-05 14:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-11-05 14:20:42] 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-05 14:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230238976001,"66":25702,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 14:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230238976001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:20:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 14:20:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230238976001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":233494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:20:42] local.INFO: GPS data processed {"connection_id":233494,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:20:42] local.INFO: Acknowledgment sent {"connection_id":233494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:20:43] local.INFO: TCP Data received {"connection_id":233496,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c0cbb8012d0b4e000705fe600016006328..."} 
[2026-11-05 14:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233496,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c0cbb8012d0b4e000705fe600016006328..."} 
[2026-11-05 14:20:43] local.INFO: Processing buffer {"connection_id":233496,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c0cbb8012d0b4e000705fe600016006328..."} 
[2026-11-05 14:20:43] local.INFO: Packet analysis {"connection_id":233496,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c0"} 
[2026-11-05 14:20:43] local.INFO: Extracted packet for processing {"connection_id":233496,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c0"} 
[2026-11-05 14:20:43] local.INFO: GPS Element Parsed {"raw_longitude":755715584,"raw_latitude":117833312,"longitude_deg":75.5715584,"latitude_deg":11.7833312,"altitude":22,"angle":99,"satellites":40,"speed":11,"hex_longitude":"2d0b4e00","hex_latitude":"0705fe60","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:20:43] 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-05 14:20:43] 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-05 14:20:43] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:20:43] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":233496,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":233496,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":233496,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:20:43] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":233496,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:20:43] local.ERROR: GPS data processing failed {"connection_id":233496,"error":"No valid data to process"} 
[2026-11-05 14:20:43] local.INFO: Acknowledgment sent {"connection_id":233496,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:21:03] local.INFO: TCP Data received {"connection_id":230260,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:21:03] local.INFO: Processing buffer {"connection_id":230260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:21:03] local.INFO: IMEI packet received {"connection_id":230260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":230260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:21:08] local.INFO: TCP Data received {"connection_id":230260,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:21:08] local.INFO: Processing buffer {"connection_id":230260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:21:08] local.INFO: IMEI packet received {"connection_id":230260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":230260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:21:14] local.INFO: TCP Data received {"connection_id":230260,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1aae3db70012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aae3db70012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:21:14] local.INFO: Processing buffer {"connection_id":230260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aae3db70012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:21:14] local.INFO: Packet analysis {"connection_id":230260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aae3"} 
[2026-11-05 14:21:14] local.INFO: Extracted packet for processing {"connection_id":230260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aae3"} 
[2026-11-05 14:21:14] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230238976001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793868422000,"timestamp_ms":1793868422000,"timestamp_seconds":1793868422,"priority":1,"record_length":96,"hex_timestamp":"000001a1aae3db70"} 
[2026-11-05 14: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-05 14: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-05 14: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-11-05 14:21:14] 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-05 14: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-05 14: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-05 14:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:21:14] 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-05 14:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230238976001,"66":25702,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 14:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230238976001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:21:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 14:21:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230238976001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:21:14] 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":63443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:21:14] local.INFO: GPS data processed {"connection_id":230260,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:21:14] local.INFO: Acknowledgment sent {"connection_id":230260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:21:14] local.INFO: TCP Data received {"connection_id":233496,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c0cfa0012d0b4ec00705fe700016004f29..."} 
[2026-11-05 14:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233496,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c0cfa0012d0b4ec00705fe700016004f29..."} 
[2026-11-05 14:21:14] local.INFO: Processing buffer {"connection_id":233496,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c0cfa0012d0b4ec00705fe700016004f29..."} 
[2026-11-05 14:21:14] local.INFO: Packet analysis {"connection_id":233496,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c0"} 
[2026-11-05 14:21:14] local.INFO: Extracted packet for processing {"connection_id":233496,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c0"} 
[2026-11-05 14:21:14] local.INFO: GPS Element Parsed {"raw_longitude":755715776,"raw_latitude":117833328,"longitude_deg":75.5715776,"latitude_deg":11.7833328,"altitude":22,"angle":79,"satellites":41,"speed":6,"hex_longitude":"2d0b4ec0","hex_latitude":"0705fe70","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:21:14] 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-05 14:21:14] 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-05 14:21:14] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:21:14] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233496,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233496,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233496,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:21:14] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":233496,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:21:14] local.ERROR: GPS data processing failed {"connection_id":233496,"error":"No valid data to process"} 
[2026-11-05 14:21:14] local.INFO: Acknowledgment sent {"connection_id":233496,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:21:37] local.INFO: TCP Data received {"connection_id":229740,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229740,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:21:37] local.INFO: Processing buffer {"connection_id":229740,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:21:37] local.INFO: IMEI packet received {"connection_id":229740,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":229740,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:21:42] local.INFO: TCP Data received {"connection_id":229740,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229740,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:21:42] local.INFO: Processing buffer {"connection_id":229740,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:21:42] local.INFO: IMEI packet received {"connection_id":229740,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":229740,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:21:46] local.INFO: TCP Data received {"connection_id":230260,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1aae3db70012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aae3db70012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:21:46] local.INFO: Processing buffer {"connection_id":230260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aae3db70012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:21:46] local.INFO: Packet analysis {"connection_id":230260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aae3"} 
[2026-11-05 14:21:46] local.INFO: Extracted packet for processing {"connection_id":230260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aae3"} 
[2026-11-05 14:21:46] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230238976001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793868422000,"timestamp_ms":1793868422000,"timestamp_seconds":1793868422,"priority":1,"record_length":96,"hex_timestamp":"000001a1aae3db70"} 
[2026-11-05 14: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-05 14:21: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-05 14: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-11-05 14:21:46] 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-05 14: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-05 14: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-05 14:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:21: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-05 14:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230238976001,"66":25702,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 14:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230238976001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:21:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 14:21:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230238976001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:21:46] 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":63444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:21:46] local.INFO: GPS data processed {"connection_id":230260,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:21:46] local.INFO: Acknowledgment sent {"connection_id":230260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:21:47] local.INFO: TCP Data received {"connection_id":229740,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c0d388012d0b4f000705fec00016003829..."} 
[2026-11-05 14:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229740,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c0d388012d0b4f000705fec00016003829..."} 
[2026-11-05 14:21:47] local.INFO: Processing buffer {"connection_id":229740,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c0d388012d0b4f000705fec00016003829..."} 
[2026-11-05 14:21:47] local.INFO: Packet analysis {"connection_id":229740,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c0"} 
[2026-11-05 14:21:47] local.INFO: Extracted packet for processing {"connection_id":229740,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c0"} 
[2026-11-05 14:21:47] local.INFO: GPS Element Parsed {"raw_longitude":755715840,"raw_latitude":117833408,"longitude_deg":75.571584,"latitude_deg":11.7833408,"altitude":22,"angle":56,"satellites":41,"speed":5,"hex_longitude":"2d0b4f00","hex_latitude":"0705fec0","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:21:47] 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-05 14:21:47] 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-05 14:21:47] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:21:47] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229740,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229740,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229740,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:21:47] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":229740,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:21:47] local.ERROR: GPS data processing failed {"connection_id":229740,"error":"No valid data to process"} 
[2026-11-05 14:21:47] local.INFO: Acknowledgment sent {"connection_id":229740,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:21:57] local.INFO: TCP Data received {"connection_id":229740,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c0e328012d0b5000070600b00017001629..."} 
[2026-11-05 14:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229740,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c0e328012d0b5000070600b00017001629..."} 
[2026-11-05 14:21:57] local.INFO: Processing buffer {"connection_id":229740,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c0e328012d0b5000070600b00017001629..."} 
[2026-11-05 14:21:57] local.INFO: Packet analysis {"connection_id":229740,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c0"} 
[2026-11-05 14:21:57] local.INFO: Extracted packet for processing {"connection_id":229740,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c0"} 
[2026-11-05 14:21:57] local.INFO: GPS Element Parsed {"raw_longitude":755716096,"raw_latitude":117833904,"longitude_deg":75.5716096,"latitude_deg":11.7833904,"altitude":23,"angle":22,"satellites":41,"speed":7,"hex_longitude":"2d0b5000","hex_latitude":"070600b0","is_valid_coordinates":true} 
[2026-11-05 14:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:21:57] 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-05 14:21:57] 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-05 14:21:57] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:21:57] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":229740,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":229740,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":229740,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:21:57] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":229740,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:21:57] local.ERROR: GPS data processing failed {"connection_id":229740,"error":"No valid data to process"} 
[2026-11-05 14:21:57] local.INFO: Acknowledgment sent {"connection_id":229740,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:22:03] local.INFO: TCP Data received {"connection_id":229741,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:22:03] local.INFO: Processing buffer {"connection_id":229741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:22:03] local.INFO: IMEI packet received {"connection_id":229741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":229741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:22:08] local.INFO: TCP Data received {"connection_id":229741,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:22:08] local.INFO: Processing buffer {"connection_id":229741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:22:08] local.INFO: IMEI packet received {"connection_id":229741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":229741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:22:09] local.INFO: TCP Data received {"connection_id":229741,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1aae3db70012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aae3db70012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:22:09] local.INFO: Processing buffer {"connection_id":229741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aae3db70012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:22:09] local.INFO: Packet analysis {"connection_id":229741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aae3"} 
[2026-11-05 14:22:09] local.INFO: Extracted packet for processing {"connection_id":229741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aae3"} 
[2026-11-05 14:22:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230238976001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793868422000,"timestamp_ms":1793868422000,"timestamp_seconds":1793868422,"priority":1,"record_length":96,"hex_timestamp":"000001a1aae3db70"} 
[2026-11-05 14:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-11-05 14:22:09] 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-05 14:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:22:09] 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-05 14:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230238976001,"66":25702,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 14:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230238976001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:22:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 14:22:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230238976001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":229741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:22:09] local.INFO: GPS data processed {"connection_id":229741,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:22:09] local.INFO: Acknowledgment sent {"connection_id":229741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:22:32] local.INFO: TCP Data received {"connection_id":231588,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231588,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:22:32] local.INFO: Processing buffer {"connection_id":231588,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:22:32] local.INFO: IMEI packet received {"connection_id":231588,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":231588,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:22:37] local.INFO: TCP Data received {"connection_id":231588,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231588,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:22:37] local.INFO: Processing buffer {"connection_id":231588,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:22:37] local.INFO: IMEI packet received {"connection_id":231588,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":231588,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:22:40] local.INFO: TCP Data received {"connection_id":229741,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1aae3db70012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aae3db70012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:22:40] local.INFO: Processing buffer {"connection_id":229741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aae3db70012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:22:40] local.INFO: Packet analysis {"connection_id":229741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aae3"} 
[2026-11-05 14:22:40] local.INFO: Extracted packet for processing {"connection_id":229741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aae3"} 
[2026-11-05 14:22:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230238976001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793868422000,"timestamp_ms":1793868422000,"timestamp_seconds":1793868422,"priority":1,"record_length":96,"hex_timestamp":"000001a1aae3db70"} 
[2026-11-05 14:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:22: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-05 14:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-11-05 14:22:40] 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-05 14:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230238976001,"66":25702,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 14:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230238976001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:22:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 14:22:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230238976001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":229741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:22:41] local.INFO: GPS data processed {"connection_id":229741,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:22:41] local.INFO: Acknowledgment sent {"connection_id":229741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:22:42] local.INFO: TCP Data received {"connection_id":231588,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c13148012d0b548007060bc00018001226..."} 
[2026-11-05 14:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231588,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c13148012d0b548007060bc00018001226..."} 
[2026-11-05 14:22:42] local.INFO: Processing buffer {"connection_id":231588,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c13148012d0b548007060bc00018001226..."} 
[2026-11-05 14:22:42] local.INFO: Packet analysis {"connection_id":231588,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c1"} 
[2026-11-05 14:22:42] local.INFO: Extracted packet for processing {"connection_id":231588,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c1"} 
[2026-11-05 14:22:42] local.INFO: GPS Element Parsed {"raw_longitude":755717248,"raw_latitude":117836736,"longitude_deg":75.5717248,"latitude_deg":11.7836736,"altitude":24,"angle":18,"satellites":38,"speed":0,"hex_longitude":"2d0b5480","hex_latitude":"07060bc0","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:22:42] 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-05 14:22:42] 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-05 14:22:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:22:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231588,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231588,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231588,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:22:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":231588,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:22:42] local.ERROR: GPS data processing failed {"connection_id":231588,"error":"No valid data to process"} 
[2026-11-05 14:22:42] local.INFO: Acknowledgment sent {"connection_id":231588,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:23:08] local.INFO: TCP Data received {"connection_id":233497,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:23:08] local.INFO: Processing buffer {"connection_id":233497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:23:08] local.INFO: IMEI packet received {"connection_id":233497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":233497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:23:13] local.INFO: TCP Data received {"connection_id":231588,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c18350012d0b548007060bc00018001226..."} 
[2026-11-05 14:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231588,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c18350012d0b548007060bc00018001226..."} 
[2026-11-05 14:23:13] local.INFO: Processing buffer {"connection_id":231588,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c18350012d0b548007060bc00018001226..."} 
[2026-11-05 14:23:13] local.INFO: Packet analysis {"connection_id":231588,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c1"} 
[2026-11-05 14:23:13] local.INFO: Extracted packet for processing {"connection_id":231588,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c1"} 
[2026-11-05 14:23:13] local.INFO: GPS Element Parsed {"raw_longitude":755717248,"raw_latitude":117836736,"longitude_deg":75.5717248,"latitude_deg":11.7836736,"altitude":24,"angle":18,"satellites":38,"speed":0,"hex_longitude":"2d0b5480","hex_latitude":"07060bc0","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:23:13] 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-05 14:23:13] 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-05 14:23:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:23:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":231588,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":231588,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":231588,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:23:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":231588,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:23:13] local.ERROR: GPS data processing failed {"connection_id":231588,"error":"No valid data to process"} 
[2026-11-05 14:23:13] local.INFO: Acknowledgment sent {"connection_id":231588,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:23:13] local.INFO: TCP Data received {"connection_id":233497,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:23:13] local.INFO: Processing buffer {"connection_id":233497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:23:13] local.INFO: IMEI packet received {"connection_id":233497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":233497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:23:17] local.INFO: TCP Data received {"connection_id":233497,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:23:17] local.INFO: Processing buffer {"connection_id":233497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:23:17] local.INFO: Packet analysis {"connection_id":233497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aae8"} 
[2026-11-05 14:23:17] local.INFO: Extracted packet for processing {"connection_id":233497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aae8"} 
[2026-11-05 14:23:17] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230316032001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793868723000,"timestamp_ms":1793868723000,"timestamp_seconds":1793868723,"priority":1,"record_length":96,"hex_timestamp":"000001a1aae87338"} 
[2026-11-05 14: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-05 14:23: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-05 14:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-05 14:23: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-05 14: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-05 14: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-05 14:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":233497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":233497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":233497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230316032001,"66":25604,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230316032001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:23:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:23:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230316032001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":233497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:23:17] local.INFO: GPS data processed {"connection_id":233497,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:23:17] local.INFO: Acknowledgment sent {"connection_id":233497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:23:33] local.INFO: TCP Data received {"connection_id":229742,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229742,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:23:33] local.INFO: Processing buffer {"connection_id":229742,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:23:33] local.INFO: IMEI packet received {"connection_id":229742,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":229742,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:23:36] local.INFO: TCP Data received {"connection_id":229742,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229742,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:23:36] local.INFO: Processing buffer {"connection_id":229742,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:23:36] local.INFO: IMEI packet received {"connection_id":229742,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":229742,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:23:42] local.INFO: TCP Data received {"connection_id":229742,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229742,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:23:42] local.INFO: Processing buffer {"connection_id":229742,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:23:42] local.INFO: IMEI packet received {"connection_id":229742,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":229742,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:23:42] local.INFO: TCP Data received {"connection_id":229742,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1aae9cee0012d0b13000702a170000a007524..."} 
[2026-11-05 14:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229742,"packet_length":93,"packet_hex":"00000000000000518e01000001a1aae9cee0012d0b13000702a170000a007524..."} 
[2026-11-05 14:23:42] local.INFO: Processing buffer {"connection_id":229742,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1aae9cee0012d0b13000702a170000a007524..."} 
[2026-11-05 14:23:42] local.INFO: Packet analysis {"connection_id":229742,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1aae9"} 
[2026-11-05 14:23:42] local.INFO: Extracted packet for processing {"connection_id":229742,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1aae9"} 
[2026-11-05 14:23:42] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612912,"longitude_deg":75.570048,"latitude_deg":11.7612912,"altitude":10,"angle":117,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a170","is_valid_coordinates":true} 
[2026-11-05 14:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:23:42] 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-05 14:23:42] 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-05 14:23:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:23:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229742,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229742,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229742,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:23:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":229742,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:23:42] local.ERROR: GPS data processing failed {"connection_id":229742,"error":"No valid data to process"} 
[2026-11-05 14:23:42] local.INFO: Acknowledgment sent {"connection_id":229742,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:23:48] local.INFO: TCP Data received {"connection_id":233497,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:23:48] local.INFO: Processing buffer {"connection_id":233497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:23:48] local.INFO: Packet analysis {"connection_id":233497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aae8"} 
[2026-11-05 14:23:48] local.INFO: Extracted packet for processing {"connection_id":233497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aae8"} 
[2026-11-05 14:23:48] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230316032001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793868723000,"timestamp_ms":1793868723000,"timestamp_seconds":1793868723,"priority":1,"record_length":96,"hex_timestamp":"000001a1aae87338"} 
[2026-11-05 14: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-05 14:23: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-05 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-05 14:23:48] 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-05 14: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-05 14: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-05 14:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":233497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":233497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":233497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230316032001,"66":25604,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230316032001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:23:48] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:23:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230316032001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":233497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:23:48] local.INFO: GPS data processed {"connection_id":233497,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:23:48] local.INFO: Acknowledgment sent {"connection_id":233497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:24:03] local.INFO: TCP Data received {"connection_id":230262,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:24:03] local.INFO: Processing buffer {"connection_id":230262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:24:03] local.INFO: IMEI packet received {"connection_id":230262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":230262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:24:08] local.INFO: TCP Data received {"connection_id":230262,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:24:08] local.INFO: Processing buffer {"connection_id":230262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:24:08] local.INFO: IMEI packet received {"connection_id":230262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":230262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:24:09] local.INFO: TCP Data received {"connection_id":230262,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:24:09] local.INFO: Processing buffer {"connection_id":230262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:24:09] local.INFO: Packet analysis {"connection_id":230262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aae8"} 
[2026-11-05 14:24:09] local.INFO: Extracted packet for processing {"connection_id":230262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aae8"} 
[2026-11-05 14:24:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230316032001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793868723000,"timestamp_ms":1793868723000,"timestamp_seconds":1793868723,"priority":1,"record_length":96,"hex_timestamp":"000001a1aae87338"} 
[2026-11-05 14:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-05 14:24:09] 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-05 14:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:24:09] 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-05 14:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230316032001,"66":25604,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230316032001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:24:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:24:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230316032001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:24:09] 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":63449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:24:09] local.INFO: GPS data processed {"connection_id":230262,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:24:09] local.INFO: Acknowledgment sent {"connection_id":230262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:24:11] local.INFO: TCP Data received {"connection_id":230263,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230263,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:24:11] local.INFO: Processing buffer {"connection_id":230263,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:24:11] local.INFO: IMEI packet received {"connection_id":230263,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":230263,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:24:13] local.INFO: TCP Data received {"connection_id":229742,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c18f08012d0b538007060b90001700da27..."} 
[2026-11-05 14:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229742,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c18f08012d0b538007060b90001700da27..."} 
[2026-11-05 14:24:13] local.INFO: Processing buffer {"connection_id":229742,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c18f08012d0b538007060b90001700da27..."} 
[2026-11-05 14:24:13] local.INFO: Packet analysis {"connection_id":229742,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c1"} 
[2026-11-05 14:24:13] local.INFO: Extracted packet for processing {"connection_id":229742,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c1"} 
[2026-11-05 14:24:13] local.INFO: GPS Element Parsed {"raw_longitude":755716992,"raw_latitude":117836688,"longitude_deg":75.5716992,"latitude_deg":11.7836688,"altitude":23,"angle":218,"satellites":39,"speed":2,"hex_longitude":"2d0b5380","hex_latitude":"07060b90","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:24:13] 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-05 14:24:13] 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-05 14:24:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:24:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229742,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229742,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229742,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:24:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":229742,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:24:13] local.ERROR: GPS data processing failed {"connection_id":229742,"error":"No valid data to process"} 
[2026-11-05 14:24:13] local.INFO: Acknowledgment sent {"connection_id":229742,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:24:15] local.INFO: TCP Data received {"connection_id":230263,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aae71790012d4b1ec00695d700004b00a430..."} 
[2026-11-05 14:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aae71790012d4b1ec00695d700004b00a430..."} 
[2026-11-05 14:24:15] local.INFO: Processing buffer {"connection_id":230263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aae71790012d4b1ec00695d700004b00a430..."} 
[2026-11-05 14:24:15] local.INFO: Packet analysis {"connection_id":230263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aae7"} 
[2026-11-05 14:24:15] local.INFO: Extracted packet for processing {"connection_id":230263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aae7"} 
[2026-11-05 14:24:15] local.INFO: GPS Element Parsed {"raw_longitude":759897792,"raw_latitude":110483200,"longitude_deg":75.9897792,"latitude_deg":11.04832,"altitude":75,"angle":164,"satellites":48,"speed":33,"hex_longitude":"2d4b1ec0","hex_latitude":"0695d700","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:24:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,15,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 14:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793868634000,"timestamp_ms":1793868634000,"timestamp_seconds":1793868634,"priority":1,"record_length":96,"hex_timestamp":"000001a1aae71790"} 
[2026-11-05 14: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-05 14:24: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-05 14:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-05 14:24: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-05 14: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-05 14: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-05 14:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230263,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230263,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28376,"15":206,"19":48128,"24":33,"16":20804383495159808},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16]} 
[2026-11-05 14:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 14:24:15] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-11-05 14:24:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:24:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28376,"unknown_15":206,"unknown_19":48128,"ignition":33,"odometer":null}} 
[2026-11-05 14:24:15] 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":63450,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:24:15] local.INFO: GPS data processed {"connection_id":230263,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:24:15] local.INFO: Acknowledgment sent {"connection_id":230263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:24:33] local.INFO: TCP Data received {"connection_id":230264,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230264,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:24:33] local.INFO: Processing buffer {"connection_id":230264,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:24:33] local.INFO: IMEI packet received {"connection_id":230264,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":230264,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:24:37] local.INFO: TCP Data received {"connection_id":230264,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230264,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:24:37] local.INFO: Processing buffer {"connection_id":230264,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:24:37] local.INFO: IMEI packet received {"connection_id":230264,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":230264,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:24:42] local.INFO: TCP Data received {"connection_id":230264,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c19ac0012d0b534007060aa0001700cd27..."} 
[2026-11-05 14:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230264,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c19ac0012d0b534007060aa0001700cd27..."} 
[2026-11-05 14:24:42] local.INFO: Processing buffer {"connection_id":230264,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c19ac0012d0b534007060aa0001700cd27..."} 
[2026-11-05 14:24:42] local.INFO: Packet analysis {"connection_id":230264,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c1"} 
[2026-11-05 14:24:42] local.INFO: Extracted packet for processing {"connection_id":230264,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c1"} 
[2026-11-05 14:24:42] local.INFO: GPS Element Parsed {"raw_longitude":755716928,"raw_latitude":117836448,"longitude_deg":75.5716928,"latitude_deg":11.7836448,"altitude":23,"angle":205,"satellites":39,"speed":3,"hex_longitude":"2d0b5340","hex_latitude":"07060aa0","is_valid_coordinates":true} 
[2026-11-05 14:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:24:42] 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-05 14:24:42] 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-05 14:24:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:24:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230264,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230264,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230264,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:24:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":230264,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:24:42] local.ERROR: GPS data processing failed {"connection_id":230264,"error":"No valid data to process"} 
[2026-11-05 14:24:42] local.INFO: Acknowledgment sent {"connection_id":230264,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:24:43] local.INFO: TCP Data received {"connection_id":230262,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:24:43] local.INFO: Processing buffer {"connection_id":230262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:24:43] local.INFO: Packet analysis {"connection_id":230262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aae8"} 
[2026-11-05 14:24:43] local.INFO: Extracted packet for processing {"connection_id":230262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aae8"} 
[2026-11-05 14:24:43] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 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-05 14:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230316032001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793868723000,"timestamp_ms":1793868723000,"timestamp_seconds":1793868723,"priority":1,"record_length":96,"hex_timestamp":"000001a1aae87338"} 
[2026-11-05 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-05 14:24: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-05 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-05 14:24: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-05 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-05 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-05 14:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":230262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":230262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":230262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230316032001,"66":25604,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230316032001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:24:43] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:24:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230316032001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:24:43] 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":63451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:24:43] local.INFO: GPS data processed {"connection_id":230262,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:24:43] local.INFO: Acknowledgment sent {"connection_id":230262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:24:47] local.INFO: TCP Data received {"connection_id":230263,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aae9ea38012d4c128006944668003b009730..."} 
[2026-11-05 14:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aae9ea38012d4c128006944668003b009730..."} 
[2026-11-05 14:24:47] local.INFO: Processing buffer {"connection_id":230263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aae9ea38012d4c128006944668003b009730..."} 
[2026-11-05 14:24:47] local.INFO: Packet analysis {"connection_id":230263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aae9"} 
[2026-11-05 14:24:47] local.INFO: Extracted packet for processing {"connection_id":230263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aae9"} 
[2026-11-05 14:24:47] local.INFO: GPS Element Parsed {"raw_longitude":759960192,"raw_latitude":110380648,"longitude_deg":75.9960192,"latitude_deg":11.0380648,"altitude":59,"angle":151,"satellites":48,"speed":29,"hex_longitude":"2d4c1280","hex_latitude":"06944668","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:24:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 14:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793868819000,"timestamp_ms":1793868819000,"timestamp_seconds":1793868819,"priority":1,"record_length":96,"hex_timestamp":"000001a1aae9ea38"} 
[2026-11-05 14: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-05 14:24: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 14: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 14:24: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-05 14: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-05 14: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-05 14:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230263,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230263,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28376,"37":206,"19":48128,"24":29,"16":20804383495159808},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,19,24,16]} 
[2026-11-05 14:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 14:24:47] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 14:24:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:24:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28376,"unknown_37":206,"unknown_19":48128,"ignition":29,"odometer":null}} 
[2026-11-05 14:24:47] 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":63452,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:24:47] local.INFO: GPS data processed {"connection_id":230263,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:24:47] local.INFO: Acknowledgment sent {"connection_id":230263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:25:05] local.INFO: TCP Data received {"connection_id":233500,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233500,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:25:05] local.INFO: Processing buffer {"connection_id":233500,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:25:05] local.INFO: IMEI packet received {"connection_id":233500,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":233500,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:25:08] local.INFO: TCP Data received {"connection_id":233499,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:25:08] local.INFO: Processing buffer {"connection_id":233499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:25:08] local.INFO: IMEI packet received {"connection_id":233499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":233499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:25:10] local.INFO: TCP Data received {"connection_id":233500,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233500,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:25:10] local.INFO: Processing buffer {"connection_id":233500,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:25:10] local.INFO: IMEI packet received {"connection_id":233500,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":233500,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:25:11] local.INFO: TCP Data received {"connection_id":233500,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaeaccc80100000000000000000000000000..."} 
[2026-11-05 14:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaeaccc80100000000000000000000000000..."} 
[2026-11-05 14:25:11] local.INFO: Processing buffer {"connection_id":233500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaeaccc80100000000000000000000000000..."} 
[2026-11-05 14:25:11] local.INFO: Packet analysis {"connection_id":233500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaea"} 
[2026-11-05 14:25:11] local.INFO: Extracted packet for processing {"connection_id":233500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaea"} 
[2026-11-05 14:25: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-05 14: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-05 14:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230417664001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5481584462209116160,"note":"Value kept but may cause issues"} 
[2026-11-05 14:25:11] 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-05 14:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793868877000,"timestamp_ms":1793868877000,"timestamp_seconds":1793868877,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaeaccc8"} 
[2026-11-05 14: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-05 14:25:11] 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-05 14: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-05 14:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233500,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233500,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":233500,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 14:25:11] local.INFO: GPS data processed {"connection_id":233500,"processed":0,"errors":0,"total":1} 
[2026-11-05 14:25:11] local.INFO: Acknowledgment sent {"connection_id":233500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:25:13] local.INFO: TCP Data received {"connection_id":230264,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c1e8e0012d0b500007060258001700d229..."} 
[2026-11-05 14:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230264,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c1e8e0012d0b500007060258001700d229..."} 
[2026-11-05 14:25:13] local.INFO: Processing buffer {"connection_id":230264,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c1e8e0012d0b500007060258001700d229..."} 
[2026-11-05 14:25:13] local.INFO: Packet analysis {"connection_id":230264,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c1"} 
[2026-11-05 14:25:13] local.INFO: Extracted packet for processing {"connection_id":230264,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c1"} 
[2026-11-05 14:25:13] local.INFO: GPS Element Parsed {"raw_longitude":755716096,"raw_latitude":117834328,"longitude_deg":75.5716096,"latitude_deg":11.7834328,"altitude":23,"angle":210,"satellites":41,"speed":5,"hex_longitude":"2d0b5000","hex_latitude":"07060258","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:25:13] 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-05 14:25:13] 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-05 14:25:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:25:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230264,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230264,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230264,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:25:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":230264,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:25:13] local.ERROR: GPS data processing failed {"connection_id":230264,"error":"No valid data to process"} 
[2026-11-05 14:25:13] local.INFO: Acknowledgment sent {"connection_id":230264,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:25:13] local.INFO: TCP Data received {"connection_id":233499,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:25:13] local.INFO: Processing buffer {"connection_id":233499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:25:13] local.INFO: IMEI packet received {"connection_id":233499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":233499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:25:19] local.INFO: TCP Data received {"connection_id":233499,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:25:19] local.INFO: Processing buffer {"connection_id":233499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:25:19] local.INFO: Packet analysis {"connection_id":233499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aae8"} 
[2026-11-05 14:25:19] local.INFO: Extracted packet for processing {"connection_id":233499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aae8"} 
[2026-11-05 14:25:19] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:25: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-05 14:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230316032001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793868723000,"timestamp_ms":1793868723000,"timestamp_seconds":1793868723,"priority":1,"record_length":96,"hex_timestamp":"000001a1aae87338"} 
[2026-11-05 14:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:25: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-05 14:25: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-05 14:25: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-05 14:25: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-05 14:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":233499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":233499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":233499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230316032001,"66":25604,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230316032001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:25:19] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:25:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230316032001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":233499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:25:19] local.INFO: GPS data processed {"connection_id":233499,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:25:19] local.INFO: Acknowledgment sent {"connection_id":233499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:25:19] local.INFO: TCP Data received {"connection_id":233499,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:25:19] local.INFO: Processing buffer {"connection_id":233499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:25:19] local.INFO: Packet analysis {"connection_id":233499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aae8"} 
[2026-11-05 14:25:19] local.INFO: Extracted packet for processing {"connection_id":233499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aae8"} 
[2026-11-05 14:25:19] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:25: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-05 14:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230316032001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793868723000,"timestamp_ms":1793868723000,"timestamp_seconds":1793868723,"priority":1,"record_length":96,"hex_timestamp":"000001a1aae87338"} 
[2026-11-05 14:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:25: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-05 14:25: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-05 14:25: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-05 14:25: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-05 14:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":233499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":233499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":233499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230316032001,"66":25604,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230316032001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:25:19] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:25:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230316032001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":233499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:25:19] local.INFO: GPS data processed {"connection_id":233499,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:25:19] local.INFO: Acknowledgment sent {"connection_id":233499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:25:31] local.INFO: TCP Data received {"connection_id":231589,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231589,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:25:31] local.INFO: Processing buffer {"connection_id":231589,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:25:31] local.INFO: IMEI packet received {"connection_id":231589,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":231589,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:25:37] local.INFO: TCP Data received {"connection_id":231589,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231589,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:25:37] local.INFO: Processing buffer {"connection_id":231589,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:25:37] local.INFO: IMEI packet received {"connection_id":231589,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":231589,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:25:42] local.INFO: TCP Data received {"connection_id":231589,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c23ae8012d0b4d800705fe60001500df28..."} 
[2026-11-05 14:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231589,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c23ae8012d0b4d800705fe60001500df28..."} 
[2026-11-05 14:25:42] local.INFO: Processing buffer {"connection_id":231589,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c23ae8012d0b4d800705fe60001500df28..."} 
[2026-11-05 14:25:42] local.INFO: Packet analysis {"connection_id":231589,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c2"} 
[2026-11-05 14:25:42] local.INFO: Extracted packet for processing {"connection_id":231589,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c2"} 
[2026-11-05 14:25:42] local.INFO: GPS Element Parsed {"raw_longitude":755715456,"raw_latitude":117833312,"longitude_deg":75.5715456,"latitude_deg":11.7833312,"altitude":21,"angle":223,"satellites":40,"speed":1,"hex_longitude":"2d0b4d80","hex_latitude":"0705fe60","is_valid_coordinates":true} 
[2026-11-05 14:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:25:42] 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-05 14:25:42] 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-05 14:25:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:25:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231589,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231589,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231589,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:25:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":231589,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:25:42] local.ERROR: GPS data processing failed {"connection_id":231589,"error":"No valid data to process"} 
[2026-11-05 14:25:42] local.INFO: Acknowledgment sent {"connection_id":231589,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:25:44] local.INFO: TCP Data received {"connection_id":233500,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaea4410012d4c30c006941b200028008f30..."} 
[2026-11-05 14:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaea4410012d4c30c006941b200028008f30..."} 
[2026-11-05 14:25:44] local.INFO: Processing buffer {"connection_id":233500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaea4410012d4c30c006941b200028008f30..."} 
[2026-11-05 14:25:44] local.INFO: Packet analysis {"connection_id":233500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaea"} 
[2026-11-05 14:25:44] local.INFO: Extracted packet for processing {"connection_id":233500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaea"} 
[2026-11-05 14:25:44] local.INFO: GPS Element Parsed {"raw_longitude":759967936,"raw_latitude":110369568,"longitude_deg":75.9967936,"latitude_deg":11.0369568,"altitude":40,"angle":143,"satellites":48,"speed":21,"hex_longitude":"2d4c30c0","hex_latitude":"06941b20","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:25:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 14:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793868842000,"timestamp_ms":1793868842000,"timestamp_seconds":1793868842,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaea4410"} 
[2026-11-05 14: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-05 14:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 14: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-05 14:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":233500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":233500,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":233500,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28234,"37":206,"19":48128,"24":21,"16":20804383495159808},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,19,24,16]} 
[2026-11-05 14:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 14:25:44] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 14:25:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:25:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28234,"unknown_37":206,"unknown_19":48128,"ignition":21,"odometer":null}} 
[2026-11-05 14:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":233500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63455,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:25:45] local.INFO: GPS data processed {"connection_id":233500,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:25:45] local.INFO: Acknowledgment sent {"connection_id":233500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:26:04] local.INFO: TCP Data received {"connection_id":230265,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:26:04] local.INFO: Processing buffer {"connection_id":230265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:26:04] local.INFO: IMEI packet received {"connection_id":230265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":230265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:26:10] local.INFO: TCP Data received {"connection_id":230265,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:26:10] local.INFO: Processing buffer {"connection_id":230265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:26:10] local.INFO: IMEI packet received {"connection_id":230265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":230265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:26:10] local.INFO: TCP Data received {"connection_id":231590,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231590,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:26:10] local.INFO: Processing buffer {"connection_id":231590,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:26:10] local.INFO: IMEI packet received {"connection_id":231590,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":231590,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:26:10] local.INFO: TCP Data received {"connection_id":230265,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:26:10] local.INFO: Processing buffer {"connection_id":230265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:26:10] local.INFO: Packet analysis {"connection_id":230265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aae8"} 
[2026-11-05 14:26:10] local.INFO: Extracted packet for processing {"connection_id":230265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aae8"} 
[2026-11-05 14:26:10] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230316032001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793868723000,"timestamp_ms":1793868723000,"timestamp_seconds":1793868723,"priority":1,"record_length":96,"hex_timestamp":"000001a1aae87338"} 
[2026-11-05 14:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-05 14:26:10] 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-05 14:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230316032001,"66":25604,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230316032001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:26:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230316032001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:26:10] 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":63456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:26:10] local.INFO: GPS data processed {"connection_id":230265,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:26:10] local.INFO: Acknowledgment sent {"connection_id":230265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:26:11] local.INFO: TCP Data received {"connection_id":231590,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231590,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:26:11] local.INFO: Processing buffer {"connection_id":231590,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:26:11] local.INFO: IMEI packet received {"connection_id":231590,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":231590,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:26:13] local.INFO: TCP Data received {"connection_id":231589,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c23ed0012d0b4d800705fe30001400d028..."} 
[2026-11-05 14:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231589,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c23ed0012d0b4d800705fe30001400d028..."} 
[2026-11-05 14:26:13] local.INFO: Processing buffer {"connection_id":231589,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c23ed0012d0b4d800705fe30001400d028..."} 
[2026-11-05 14:26:13] local.INFO: Packet analysis {"connection_id":231589,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c2"} 
[2026-11-05 14:26:13] local.INFO: Extracted packet for processing {"connection_id":231589,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c2"} 
[2026-11-05 14:26:13] local.INFO: GPS Element Parsed {"raw_longitude":755715456,"raw_latitude":117833264,"longitude_deg":75.5715456,"latitude_deg":11.7833264,"altitude":20,"angle":208,"satellites":40,"speed":1,"hex_longitude":"2d0b4d80","hex_latitude":"0705fe30","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:26:13] 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-05 14:26:13] 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-05 14:26:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:26:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":231589,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":231589,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":231589,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:26:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":231589,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:26:13] local.ERROR: GPS data processing failed {"connection_id":231589,"error":"No valid data to process"} 
[2026-11-05 14:26:13] local.INFO: Acknowledgment sent {"connection_id":231589,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:26:14] local.INFO: TCP Data received {"connection_id":230265,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:26:14] local.INFO: Processing buffer {"connection_id":230265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:26:14] local.INFO: Packet analysis {"connection_id":230265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aae8"} 
[2026-11-05 14:26:14] local.INFO: Extracted packet for processing {"connection_id":230265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aae8"} 
[2026-11-05 14:26:14] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230316032001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793868723000,"timestamp_ms":1793868723000,"timestamp_seconds":1793868723,"priority":1,"record_length":96,"hex_timestamp":"000001a1aae87338"} 
[2026-11-05 14:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:26: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-05 14:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-05 14:26: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-05 14:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230316032001,"66":25604,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230316032001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:26:14] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:26:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230316032001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:26:14] 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":63457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:26:14] local.INFO: GPS data processed {"connection_id":230265,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:26:14] local.INFO: Acknowledgment sent {"connection_id":230265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:26:16] local.INFO: TCP Data received {"connection_id":231590,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231590,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:26:16] local.INFO: Processing buffer {"connection_id":231590,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:26:16] local.INFO: IMEI packet received {"connection_id":231590,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":231590,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:26:18] local.INFO: TCP Data received {"connection_id":231590,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaeb26a00100000000000000000000000000..."} 
[2026-11-05 14:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaeb26a00100000000000000000000000000..."} 
[2026-11-05 14:26:18] local.INFO: Processing buffer {"connection_id":231590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaeb26a00100000000000000000000000000..."} 
[2026-11-05 14:26:18] local.INFO: Packet analysis {"connection_id":231590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaeb"} 
[2026-11-05 14:26:18] local.INFO: Extracted packet for processing {"connection_id":231590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaeb"} 
[2026-11-05 14:26: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-05 14: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-05 14:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230423552001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5490099080251777024,"note":"Value kept but may cause issues"} 
[2026-11-05 14:26:18] 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-05 14:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793868900000,"timestamp_ms":1793868900000,"timestamp_seconds":1793868900,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaeb26a0"} 
[2026-11-05 14: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-05 14:26: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-05 14: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-11-05 14:26: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-05 14: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-05 14: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-05 14:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":231590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":231590,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":231590,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":231590,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 14:26:18] local.INFO: GPS data processed {"connection_id":231590,"processed":0,"errors":0,"total":1} 
[2026-11-05 14:26:18] local.INFO: Acknowledgment sent {"connection_id":231590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:26:24] local.INFO: TCP Data received {"connection_id":231590,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaeaa1d0012d4c4ec00693ee40001d009730..."} 
[2026-11-05 14:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaeaa1d0012d4c4ec00693ee40001d009730..."} 
[2026-11-05 14:26:24] local.INFO: Processing buffer {"connection_id":231590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaeaa1d0012d4c4ec00693ee40001d009730..."} 
[2026-11-05 14:26:24] local.INFO: Packet analysis {"connection_id":231590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaea"} 
[2026-11-05 14:26:24] local.INFO: Extracted packet for processing {"connection_id":231590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaea"} 
[2026-11-05 14:26:24] local.INFO: GPS Element Parsed {"raw_longitude":759975616,"raw_latitude":110358080,"longitude_deg":75.9975616,"latitude_deg":11.035808,"altitude":29,"angle":151,"satellites":48,"speed":18,"hex_longitude":"2d4c4ec0","hex_latitude":"0693ee40","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:26:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 14:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793868866000,"timestamp_ms":1793868866000,"timestamp_seconds":1793868866,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaeaa1d0"} 
[2026-11-05 14: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-05 14:26: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 14: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-05 14:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":231590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":231590,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":231590,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28224,"37":206,"19":48128,"24":18,"16":20804383495159808},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,19,24,16]} 
[2026-11-05 14:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 14:26:24] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 14:26:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:26:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28224,"unknown_37":206,"unknown_19":48128,"ignition":18,"odometer":null}} 
[2026-11-05 14:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":231590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63458,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:26:24] local.INFO: GPS data processed {"connection_id":231590,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:26:24] local.INFO: Acknowledgment sent {"connection_id":231590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:26:32] local.INFO: TCP Data received {"connection_id":230266,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230266,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:26:32] local.INFO: Processing buffer {"connection_id":230266,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:26:32] local.INFO: IMEI packet received {"connection_id":230266,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":230266,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:26:38] local.INFO: TCP Data received {"connection_id":230266,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230266,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:26:38] local.INFO: Processing buffer {"connection_id":230266,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:26:38] local.INFO: IMEI packet received {"connection_id":230266,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":230266,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:26:42] local.INFO: TCP Data received {"connection_id":230266,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c25e10012d0b4cc00705fe680014013b28..."} 
[2026-11-05 14:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230266,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c25e10012d0b4cc00705fe680014013b28..."} 
[2026-11-05 14:26:42] local.INFO: Processing buffer {"connection_id":230266,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c25e10012d0b4cc00705fe680014013b28..."} 
[2026-11-05 14:26:42] local.INFO: Packet analysis {"connection_id":230266,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c2"} 
[2026-11-05 14:26:42] local.INFO: Extracted packet for processing {"connection_id":230266,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c2"} 
[2026-11-05 14:26:42] local.INFO: GPS Element Parsed {"raw_longitude":755715264,"raw_latitude":117833320,"longitude_deg":75.5715264,"latitude_deg":11.783332,"altitude":20,"angle":315,"satellites":40,"speed":4,"hex_longitude":"2d0b4cc0","hex_latitude":"0705fe68","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:26:42] 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-05 14:26:42] 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-05 14:26:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:26:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230266,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230266,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230266,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:26:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":230266,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:26:42] local.ERROR: GPS data processing failed {"connection_id":230266,"error":"No valid data to process"} 
[2026-11-05 14:26:42] local.INFO: Acknowledgment sent {"connection_id":230266,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:26:45] local.INFO: TCP Data received {"connection_id":230265,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:26:45] local.INFO: Processing buffer {"connection_id":230265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:26:45] local.INFO: Packet analysis {"connection_id":230265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aae8"} 
[2026-11-05 14:26:45] local.INFO: Extracted packet for processing {"connection_id":230265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aae8"} 
[2026-11-05 14:26:45] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230316032001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793868723000,"timestamp_ms":1793868723000,"timestamp_seconds":1793868723,"priority":1,"record_length":96,"hex_timestamp":"000001a1aae87338"} 
[2026-11-05 14: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-05 14: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-05 14: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":102,"data_length":795,"current_offset":136} 
[2026-11-05 14:26: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-05 14: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-05 14: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-05 14:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230316032001,"66":25604,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230316032001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:26:45] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:26:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230316032001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:26:45] 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":63459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:26:45] local.INFO: GPS data processed {"connection_id":230265,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:26:45] local.INFO: Acknowledgment sent {"connection_id":230265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:27:04] local.INFO: TCP Data received {"connection_id":229743,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:27:04] local.INFO: Processing buffer {"connection_id":229743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:27:04] local.INFO: IMEI packet received {"connection_id":229743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":229743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:27:08] local.INFO: TCP Data received {"connection_id":229743,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:27:08] local.INFO: Processing buffer {"connection_id":229743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:27:08] local.INFO: IMEI packet received {"connection_id":229743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":229743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:27:09] local.INFO: TCP Data received {"connection_id":229743,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:27:09] local.INFO: Processing buffer {"connection_id":229743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:27:09] local.INFO: Packet analysis {"connection_id":229743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aae8"} 
[2026-11-05 14:27:09] local.INFO: Extracted packet for processing {"connection_id":229743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aae8"} 
[2026-11-05 14:27:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:27: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-05 14:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230316032001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793868723000,"timestamp_ms":1793868723000,"timestamp_seconds":1793868723,"priority":1,"record_length":96,"hex_timestamp":"000001a1aae87338"} 
[2026-11-05 14:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-05 14:27:09] 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-05 14:27: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-05 14:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:27:09] 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-05 14:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230316032001,"66":25604,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230316032001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:27:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:27:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230316032001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":229743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:27:09] local.INFO: GPS data processed {"connection_id":229743,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:27:09] local.INFO: Acknowledgment sent {"connection_id":229743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:27:12] local.INFO: TCP Data received {"connection_id":230266,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c261f8012d0b4c000705fed00014012b28..."} 
[2026-11-05 14:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230266,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c261f8012d0b4c000705fed00014012b28..."} 
[2026-11-05 14:27:12] local.INFO: Processing buffer {"connection_id":230266,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c261f8012d0b4c000705fed00014012b28..."} 
[2026-11-05 14:27:12] local.INFO: Packet analysis {"connection_id":230266,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c2"} 
[2026-11-05 14:27:12] local.INFO: Extracted packet for processing {"connection_id":230266,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c2"} 
[2026-11-05 14:27:12] local.INFO: GPS Element Parsed {"raw_longitude":755715072,"raw_latitude":117833424,"longitude_deg":75.5715072,"latitude_deg":11.7833424,"altitude":20,"angle":299,"satellites":40,"speed":10,"hex_longitude":"2d0b4c00","hex_latitude":"0705fed0","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:27:12] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:27:12] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230266,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230266,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230266,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:27:12] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":230266,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:27:12] local.ERROR: GPS data processing failed {"connection_id":230266,"error":"No valid data to process"} 
[2026-11-05 14:27:12] local.INFO: Acknowledgment sent {"connection_id":230266,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:27:30] local.INFO: TCP Data received {"connection_id":231591,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:27:30] local.INFO: Processing buffer {"connection_id":231591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:27:30] local.INFO: IMEI packet received {"connection_id":231591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":231591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:27:31] local.INFO: TCP Data received {"connection_id":231592,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231592,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:27:31] local.INFO: Processing buffer {"connection_id":231592,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:27:31] local.INFO: IMEI packet received {"connection_id":231592,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":231592,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:27:37] local.INFO: TCP Data received {"connection_id":231592,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231592,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:27:37] local.INFO: Processing buffer {"connection_id":231592,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:27:37] local.INFO: IMEI packet received {"connection_id":231592,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":231592,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:27:42] local.INFO: TCP Data received {"connection_id":231592,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c294c0012d0b2cc0070611400014012527..."} 
[2026-11-05 14:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231592,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c294c0012d0b2cc0070611400014012527..."} 
[2026-11-05 14:27:42] local.INFO: Processing buffer {"connection_id":231592,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c294c0012d0b2cc0070611400014012527..."} 
[2026-11-05 14:27:42] local.INFO: Packet analysis {"connection_id":231592,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c2"} 
[2026-11-05 14:27:42] local.INFO: Extracted packet for processing {"connection_id":231592,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c2"} 
[2026-11-05 14:27:42] local.INFO: GPS Element Parsed {"raw_longitude":755707072,"raw_latitude":117838144,"longitude_deg":75.5707072,"latitude_deg":11.7838144,"altitude":20,"angle":293,"satellites":39,"speed":13,"hex_longitude":"2d0b2cc0","hex_latitude":"07061140","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:27:42] 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-05 14:27:42] 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-05 14:27:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:27:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231592,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231592,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231592,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:27:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":231592,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:27:42] local.ERROR: GPS data processing failed {"connection_id":231592,"error":"No valid data to process"} 
[2026-11-05 14:27:42] local.INFO: Acknowledgment sent {"connection_id":231592,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:27:42] local.INFO: TCP Data received {"connection_id":229743,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:27:42] local.INFO: Processing buffer {"connection_id":229743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aae87338012d7fa60005afe2e80000011029..."} 
[2026-11-05 14:27:42] local.INFO: Packet analysis {"connection_id":229743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aae8"} 
[2026-11-05 14:27:42] local.INFO: Extracted packet for processing {"connection_id":229743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aae8"} 
[2026-11-05 14:27:42] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230316032001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793868723000,"timestamp_ms":1793868723000,"timestamp_seconds":1793868723,"priority":1,"record_length":96,"hex_timestamp":"000001a1aae87338"} 
[2026-11-05 14: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-05 14:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-05 14:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230316032001,"66":25604,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230316032001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:27:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:27:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230316032001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":229743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:27:42] local.INFO: GPS data processed {"connection_id":229743,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:27:42] local.INFO: Acknowledgment sent {"connection_id":229743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:27:43] local.INFO: TCP Data received {"connection_id":231591,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:27:43] local.INFO: Processing buffer {"connection_id":231591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:27:43] local.INFO: IMEI packet received {"connection_id":231591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":231591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:27:49] local.INFO: TCP Data received {"connection_id":231591,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaeb84600100000000000000000000000000..."} 
[2026-11-05 14:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaeb84600100000000000000000000000000..."} 
[2026-11-05 14:27:49] local.INFO: Processing buffer {"connection_id":231591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaeb84600100000000000000000000000000..."} 
[2026-11-05 14:27:49] local.INFO: Packet analysis {"connection_id":231591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaeb"} 
[2026-11-05 14:27:49] local.INFO: Extracted packet for processing {"connection_id":231591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaeb"} 
[2026-11-05 14:27: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-05 14: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-05 14:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230429696001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5498543329550155776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:27:49] 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-05 14:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793868924000,"timestamp_ms":1793868924000,"timestamp_seconds":1793868924,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaeb8460"} 
[2026-11-05 14: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-05 14:27: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-05 14: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-11-05 14:27:49] 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-05 14: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-05 14: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-05 14:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":231591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":231591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":231591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":231591,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 14:27:49] local.INFO: GPS data processed {"connection_id":231591,"processed":0,"errors":0,"total":1} 
[2026-11-05 14:27:49] local.INFO: Acknowledgment sent {"connection_id":231591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:27:51] local.INFO: TCP Data received {"connection_id":231591,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaeaff90012d4c55400693b420001c00902d..."} 
[2026-11-05 14:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaeaff90012d4c55400693b420001c00902d..."} 
[2026-11-05 14:27:51] local.INFO: Processing buffer {"connection_id":231591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaeaff90012d4c55400693b420001c00902d..."} 
[2026-11-05 14:27:51] local.INFO: Packet analysis {"connection_id":231591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaea"} 
[2026-11-05 14:27:51] local.INFO: Extracted packet for processing {"connection_id":231591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaea"} 
[2026-11-05 14:27:51] local.INFO: GPS Element Parsed {"raw_longitude":759977280,"raw_latitude":110343200,"longitude_deg":75.997728,"latitude_deg":11.03432,"altitude":28,"angle":144,"satellites":45,"speed":9,"hex_longitude":"2d4c5540","hex_latitude":"0693b420","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:27:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 14:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793868890000,"timestamp_ms":1793868890000,"timestamp_seconds":1793868890,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaeaff90"} 
[2026-11-05 14: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-05 14:27: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 14: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-05 14:27: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-05 14: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-05 14: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-05 14:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":231591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":231591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":231591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"37":206,"19":48128,"24":9,"16":20804383495159808},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,19,24,16]} 
[2026-11-05 14:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 14:27:51] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 14:27:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:27:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_37":206,"unknown_19":48128,"ignition":9,"odometer":null}} 
[2026-11-05 14:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":231591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63462,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:27:51] local.INFO: GPS data processed {"connection_id":231591,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:27:51] local.INFO: Acknowledgment sent {"connection_id":231591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:28:03] local.INFO: TCP Data received {"connection_id":233501,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:28:03] local.INFO: Processing buffer {"connection_id":233501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:28:03] local.INFO: IMEI packet received {"connection_id":233501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":233501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:28:08] local.INFO: TCP Data received {"connection_id":233501,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:28:08] local.INFO: Processing buffer {"connection_id":233501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:28:08] local.INFO: IMEI packet received {"connection_id":233501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":233501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:28:09] local.INFO: TCP Data received {"connection_id":233501,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaed0b00012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaed0b00012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:28:09] local.INFO: Processing buffer {"connection_id":233501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaed0b00012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:28:09] local.INFO: Packet analysis {"connection_id":233501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaed"} 
[2026-11-05 14:28:09] local.INFO: Extracted packet for processing {"connection_id":233501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaed"} 
[2026-11-05 14:28:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230393088001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793869024000,"timestamp_ms":1793869024000,"timestamp_seconds":1793869024,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaed0b00"} 
[2026-11-05 14:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 14:28:09] 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-05 14:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230393088001,"66":25495,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230393088001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:28:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:28:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230393088001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":233501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:28:09] local.INFO: GPS data processed {"connection_id":233501,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:28:09] local.INFO: Acknowledgment sent {"connection_id":233501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:28:12] local.INFO: TCP Data received {"connection_id":231593,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:28:12] local.INFO: Processing buffer {"connection_id":231593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:28:12] local.INFO: IMEI packet received {"connection_id":231593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":231593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:28:12] local.INFO: TCP Data received {"connection_id":231593,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:28:12] local.INFO: Processing buffer {"connection_id":231593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:28:12] local.INFO: IMEI packet received {"connection_id":231593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":231593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:28:12] local.INFO: TCP Data received {"connection_id":231592,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c2b400012d0b28c007061208001300da28..."} 
[2026-11-05 14:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231592,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c2b400012d0b28c007061208001300da28..."} 
[2026-11-05 14:28:12] local.INFO: Processing buffer {"connection_id":231592,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c2b400012d0b28c007061208001300da28..."} 
[2026-11-05 14:28:12] local.INFO: Packet analysis {"connection_id":231592,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c2"} 
[2026-11-05 14:28:12] local.INFO: Extracted packet for processing {"connection_id":231592,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c2"} 
[2026-11-05 14:28:12] local.INFO: GPS Element Parsed {"raw_longitude":755706048,"raw_latitude":117838344,"longitude_deg":75.5706048,"latitude_deg":11.7838344,"altitude":19,"angle":218,"satellites":40,"speed":6,"hex_longitude":"2d0b28c0","hex_latitude":"07061208","is_valid_coordinates":true} 
[2026-11-05 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":93,"current_offset":40} 
[2026-11-05 14:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:28:12] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:28:12] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231592,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231592,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231592,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:28:12] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":231592,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:28:12] local.ERROR: GPS data processing failed {"connection_id":231592,"error":"No valid data to process"} 
[2026-11-05 14:28:12] local.INFO: Acknowledgment sent {"connection_id":231592,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:28:14] local.INFO: TCP Data received {"connection_id":231593,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaeb5198012d4c55400693b420001c00902d..."} 
[2026-11-05 14:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaeb5198012d4c55400693b420001c00902d..."} 
[2026-11-05 14:28:14] local.INFO: Processing buffer {"connection_id":231593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaeb5198012d4c55400693b420001c00902d..."} 
[2026-11-05 14:28:14] local.INFO: Packet analysis {"connection_id":231593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaeb"} 
[2026-11-05 14:28:14] local.INFO: Extracted packet for processing {"connection_id":231593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaeb"} 
[2026-11-05 14:28:14] local.INFO: GPS Element Parsed {"raw_longitude":759977280,"raw_latitude":110343200,"longitude_deg":75.997728,"latitude_deg":11.03432,"altitude":28,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d4c5540","hex_latitude":"0693b420","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230435840001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5500372916894965760,"note":"Value kept but may cause issues"} 
[2026-11-05 14:28:14] 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-05 14:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793868911000,"timestamp_ms":1793868911000,"timestamp_seconds":1793868911,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaeb5198"} 
[2026-11-05 14: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-05 14:28: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-05 14: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-05 14:28: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-05 14: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-05 14: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-05 14:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":231593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":231593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":231593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230435840001,"66":28332,"37":206,"19":48128,"24":0,"16":20804383495159808,"45":5500372916894965760},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,19,24,16,45]} 
[2026-11-05 14:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230435840001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:28:14] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 14:28:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5500372916894965760,"description":"Unknown IO ID 45"} 
[2026-11-05 14:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230435840001,"power":28332,"unknown_37":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5500372916894965760}} 
[2026-11-05 14:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":231593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63464,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:28:14] local.INFO: GPS data processed {"connection_id":231593,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:28:14] local.INFO: Acknowledgment sent {"connection_id":231593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:28:17] local.INFO: TCP Data received {"connection_id":231593,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaeba3a0012d4c7c0006939a00002b008b2d..."} 
[2026-11-05 14:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaeba3a0012d4c7c0006939a00002b008b2d..."} 
[2026-11-05 14:28:17] local.INFO: Processing buffer {"connection_id":231593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaeba3a0012d4c7c0006939a00002b008b2d..."} 
[2026-11-05 14:28:17] local.INFO: Packet analysis {"connection_id":231593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaeb"} 
[2026-11-05 14:28:17] local.INFO: Extracted packet for processing {"connection_id":231593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaeb"} 
[2026-11-05 14:28:17] local.INFO: GPS Element Parsed {"raw_longitude":759987200,"raw_latitude":110336512,"longitude_deg":75.99872,"latitude_deg":11.0336512,"altitude":43,"angle":139,"satellites":45,"speed":0,"hex_longitude":"2d4c7c00","hex_latitude":"06939a00","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230441216001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5500372916894965760,"note":"Value kept but may cause issues"} 
[2026-11-05 14:28:17] 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-05 14:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793868932000,"timestamp_ms":1793868932000,"timestamp_seconds":1793868932,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaeba3a0"} 
[2026-11-05 14: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-05 14:28:17] 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-05 14:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-05 14:28: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-05 14: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-05 14: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-05 14:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":231593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":231593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":231593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230441216001,"66":28398,"36":206,"19":48128,"24":0,"16":20804383495159808,"45":5500372916894965760},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,19,24,16,45]} 
[2026-11-05 14:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230441216001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:28:17] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-11-05 14:28:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5500372916894965760,"description":"Unknown IO ID 45"} 
[2026-11-05 14:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230441216001,"power":28398,"unknown_36":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5500372916894965760}} 
[2026-11-05 14:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":231593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63465,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:28:17] local.INFO: GPS data processed {"connection_id":231593,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:28:17] local.INFO: Acknowledgment sent {"connection_id":231593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:28:35] local.INFO: TCP Data received {"connection_id":233502,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233502,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:28:35] local.INFO: Processing buffer {"connection_id":233502,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:28:35] local.INFO: IMEI packet received {"connection_id":233502,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":233502,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:28:36] local.INFO: TCP Data received {"connection_id":233502,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233502,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:28:36] local.INFO: Processing buffer {"connection_id":233502,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:28:36] local.INFO: IMEI packet received {"connection_id":233502,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":233502,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:28:39] local.INFO: TCP Data received {"connection_id":233501,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaed0b00012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaed0b00012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:28:39] local.INFO: Processing buffer {"connection_id":233501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaed0b00012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:28:39] local.INFO: Packet analysis {"connection_id":233501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaed"} 
[2026-11-05 14:28:39] local.INFO: Extracted packet for processing {"connection_id":233501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaed"} 
[2026-11-05 14:28:39] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230393088001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793869024000,"timestamp_ms":1793869024000,"timestamp_seconds":1793869024,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaed0b00"} 
[2026-11-05 14:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:28: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-05 14:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 14:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":233501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":233501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":233501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230393088001,"66":25495,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230393088001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:28:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:28:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230393088001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":233501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:28:39] local.INFO: GPS data processed {"connection_id":233501,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:28:39] local.INFO: Acknowledgment sent {"connection_id":233501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:28:42] local.INFO: TCP Data received {"connection_id":233502,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233502,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:28:42] local.INFO: Processing buffer {"connection_id":233502,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:28:42] local.INFO: IMEI packet received {"connection_id":233502,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":233502,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:28:42] local.INFO: TCP Data received {"connection_id":233502,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1aaee66a8012d0b13000702a170000d007522..."} 
[2026-11-05 14:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233502,"packet_length":93,"packet_hex":"00000000000000518e01000001a1aaee66a8012d0b13000702a170000d007522..."} 
[2026-11-05 14:28:42] local.INFO: Processing buffer {"connection_id":233502,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1aaee66a8012d0b13000702a170000d007522..."} 
[2026-11-05 14:28:42] local.INFO: Packet analysis {"connection_id":233502,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1aaee"} 
[2026-11-05 14:28:42] local.INFO: Extracted packet for processing {"connection_id":233502,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1aaee"} 
[2026-11-05 14:28:42] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612912,"longitude_deg":75.570048,"latitude_deg":11.7612912,"altitude":13,"angle":117,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a170","is_valid_coordinates":true} 
[2026-11-05 14:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:28:42] 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-05 14:28:42] 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-05 14:28:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:28:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233502,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233502,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233502,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:28:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":233502,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:28:42] local.ERROR: GPS data processing failed {"connection_id":233502,"error":"No valid data to process"} 
[2026-11-05 14:28:42] local.INFO: Acknowledgment sent {"connection_id":233502,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:28:49] local.INFO: TCP Data received {"connection_id":231593,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaebedd8012d4c7b40069354b8002500c02d..."} 
[2026-11-05 14:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaebedd8012d4c7b40069354b8002500c02d..."} 
[2026-11-05 14:28:49] local.INFO: Processing buffer {"connection_id":231593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaebedd8012d4c7b40069354b8002500c02d..."} 
[2026-11-05 14:28:49] local.INFO: Packet analysis {"connection_id":231593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaeb"} 
[2026-11-05 14:28:49] local.INFO: Extracted packet for processing {"connection_id":231593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaeb"} 
[2026-11-05 14:28:49] local.INFO: GPS Element Parsed {"raw_longitude":759987008,"raw_latitude":110318776,"longitude_deg":75.9987008,"latitude_deg":11.0318776,"altitude":37,"angle":192,"satellites":45,"speed":37,"hex_longitude":"2d4c7b40","hex_latitude":"069354b8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230446592001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5511280072240791552,"note":"Value kept but may cause issues"} 
[2026-11-05 14:28:49] 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-05 14:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793868951000,"timestamp_ms":1793868951000,"timestamp_seconds":1793868951,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaebedd8"} 
[2026-11-05 14: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-05 14:28: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-05 14: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 14:28: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-05 14: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-05 14: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-05 14:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":231593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":231593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":231593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230446592001,"66":28354,"36":206,"19":48128,"24":37,"16":20804383495159808,"45":5511280072240791552},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,19,24,16,45]} 
[2026-11-05 14:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230446592001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:28:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-11-05 14:28:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5511280072240791552,"description":"Unknown IO ID 45"} 
[2026-11-05 14:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230446592001,"power":28354,"unknown_36":206,"unknown_19":48128,"ignition":37,"odometer":null,"unknown_45":5511280072240791552}} 
[2026-11-05 14:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":231593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63467,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:28:50] local.INFO: GPS data processed {"connection_id":231593,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:28:50] local.INFO: Acknowledgment sent {"connection_id":231593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:29:03] local.INFO: TCP Data received {"connection_id":229744,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:29:03] local.INFO: Processing buffer {"connection_id":229744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:29:03] local.INFO: IMEI packet received {"connection_id":229744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":229744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:29:06] local.INFO: TCP Data received {"connection_id":233503,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233503,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:29:06] local.INFO: Processing buffer {"connection_id":233503,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:29:06] local.INFO: IMEI packet received {"connection_id":233503,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":233503,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:29:08] local.INFO: TCP Data received {"connection_id":229744,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:29:08] local.INFO: Processing buffer {"connection_id":229744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:29:08] local.INFO: IMEI packet received {"connection_id":229744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":229744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:29:09] local.INFO: TCP Data received {"connection_id":229744,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaed0b00012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaed0b00012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:29:09] local.INFO: Processing buffer {"connection_id":229744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaed0b00012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:29:09] local.INFO: Packet analysis {"connection_id":229744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaed"} 
[2026-11-05 14:29:09] local.INFO: Extracted packet for processing {"connection_id":229744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaed"} 
[2026-11-05 14:29:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230393088001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793869024000,"timestamp_ms":1793869024000,"timestamp_seconds":1793869024,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaed0b00"} 
[2026-11-05 14:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 14:29:09] 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-05 14:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230393088001,"66":25495,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230393088001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:29:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:29:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230393088001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":229744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:29:09] local.INFO: GPS data processed {"connection_id":229744,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:29:09] local.INFO: Acknowledgment sent {"connection_id":229744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:29:11] local.INFO: TCP Data received {"connection_id":233503,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233503,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:29:11] local.INFO: Processing buffer {"connection_id":233503,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:29:11] local.INFO: IMEI packet received {"connection_id":233503,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":233503,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:29:13] local.INFO: TCP Data received {"connection_id":233502,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c2b7e8012d0b284007061178001300c429..."} 
[2026-11-05 14:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233502,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c2b7e8012d0b284007061178001300c429..."} 
[2026-11-05 14:29:13] local.INFO: Processing buffer {"connection_id":233502,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c2b7e8012d0b284007061178001300c429..."} 
[2026-11-05 14:29:13] local.INFO: Packet analysis {"connection_id":233502,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c2"} 
[2026-11-05 14:29:13] local.INFO: Extracted packet for processing {"connection_id":233502,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c2"} 
[2026-11-05 14:29:13] local.INFO: GPS Element Parsed {"raw_longitude":755705920,"raw_latitude":117838200,"longitude_deg":75.570592,"latitude_deg":11.78382,"altitude":19,"angle":196,"satellites":41,"speed":7,"hex_longitude":"2d0b2840","hex_latitude":"07061178","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:29:13] 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-05 14:29:13] 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-05 14:29:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:29:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":233502,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":233502,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":233502,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:29:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":233502,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:29:13] local.ERROR: GPS data processing failed {"connection_id":233502,"error":"No valid data to process"} 
[2026-11-05 14:29:13] local.INFO: Acknowledgment sent {"connection_id":233502,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:29:15] local.INFO: TCP Data received {"connection_id":233503,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaec3fe0012d4c6d0006932cc8002200c32e..."} 
[2026-11-05 14:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaec3fe0012d4c6d0006932cc8002200c32e..."} 
[2026-11-05 14:29:15] local.INFO: Processing buffer {"connection_id":233503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaec3fe0012d4c6d0006932cc8002200c32e..."} 
[2026-11-05 14:29:15] local.INFO: Packet analysis {"connection_id":233503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaec"} 
[2026-11-05 14:29:15] local.INFO: Extracted packet for processing {"connection_id":233503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaec"} 
[2026-11-05 14:29:15] local.INFO: GPS Element Parsed {"raw_longitude":759983360,"raw_latitude":110308552,"longitude_deg":75.998336,"latitude_deg":11.0308552,"altitude":34,"angle":195,"satellites":46,"speed":15,"hex_longitude":"2d4c6d00","hex_latitude":"06932cc8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230451456001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5511068966003718144,"note":"Value kept but may cause issues"} 
[2026-11-05 14:29:15] 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-05 14:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793868972000,"timestamp_ms":1793868972000,"timestamp_seconds":1793868972,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaec3fe0"} 
[2026-11-05 14: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-05 14:29: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-05 14: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":194,"data_length":795,"current_offset":136} 
[2026-11-05 14:29: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-05 14: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-05 14: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-05 14:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233503,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233503,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230451456001,"66":28430,"36":206,"19":48128,"24":15,"16":20804383495159808,"45":5511068966003718144},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,19,24,16,45]} 
[2026-11-05 14:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230451456001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:29:15] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-11-05 14:29:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5511068966003718144,"description":"Unknown IO ID 45"} 
[2026-11-05 14:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230451456001,"power":28430,"unknown_36":206,"unknown_19":48128,"ignition":15,"odometer":null,"unknown_45":5511068966003718144}} 
[2026-11-05 14:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":233503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63469,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:29:15] local.INFO: GPS data processed {"connection_id":233503,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:29:15] local.INFO: Acknowledgment sent {"connection_id":233503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:29:31] local.INFO: TCP Data received {"connection_id":233504,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233504,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:29:31] local.INFO: Processing buffer {"connection_id":233504,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:29:31] local.INFO: IMEI packet received {"connection_id":233504,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":233504,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:29:37] local.INFO: TCP Data received {"connection_id":233504,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233504,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:29:37] local.INFO: Processing buffer {"connection_id":233504,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:29:37] local.INFO: IMEI packet received {"connection_id":233504,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":233504,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:29:40] local.INFO: TCP Data received {"connection_id":229744,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaed0b00012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaed0b00012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:29:40] local.INFO: Processing buffer {"connection_id":229744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaed0b00012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:29:40] local.INFO: Packet analysis {"connection_id":229744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaed"} 
[2026-11-05 14:29:40] local.INFO: Extracted packet for processing {"connection_id":229744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaed"} 
[2026-11-05 14:29:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230393088001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793869024000,"timestamp_ms":1793869024000,"timestamp_seconds":1793869024,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaed0b00"} 
[2026-11-05 14:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:29: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-05 14:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 14:29:40] 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-05 14:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230393088001,"66":25495,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230393088001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:29:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230393088001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":229744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:29:40] local.INFO: GPS data processed {"connection_id":229744,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:29:40] local.INFO: Acknowledgment sent {"connection_id":229744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:29:42] local.INFO: TCP Data received {"connection_id":233504,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c2bbd0012d0b2840070610a8001300a728..."} 
[2026-11-05 14:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233504,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c2bbd0012d0b2840070610a8001300a728..."} 
[2026-11-05 14:29:42] local.INFO: Processing buffer {"connection_id":233504,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c2bbd0012d0b2840070610a8001300a728..."} 
[2026-11-05 14:29:42] local.INFO: Packet analysis {"connection_id":233504,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c2"} 
[2026-11-05 14:29:42] local.INFO: Extracted packet for processing {"connection_id":233504,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c2"} 
[2026-11-05 14:29:42] local.INFO: GPS Element Parsed {"raw_longitude":755705920,"raw_latitude":117837992,"longitude_deg":75.570592,"latitude_deg":11.7837992,"altitude":19,"angle":167,"satellites":40,"speed":9,"hex_longitude":"2d0b2840","hex_latitude":"070610a8","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:29:42] 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-05 14:29:42] 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-05 14:29:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:29:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233504,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233504,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233504,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:29:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":233504,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:29:42] local.ERROR: GPS data processing failed {"connection_id":233504,"error":"No valid data to process"} 
[2026-11-05 14:29:42] local.INFO: Acknowledgment sent {"connection_id":233504,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:29:48] local.INFO: TCP Data received {"connection_id":233503,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaee85e8012d4b8b800691caa0001300ce2f..."} 
[2026-11-05 14:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaee85e8012d4b8b800691caa0001300ce2f..."} 
[2026-11-05 14:29:48] local.INFO: Processing buffer {"connection_id":233503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaee85e8012d4b8b800691caa0001300ce2f..."} 
[2026-11-05 14:29:48] local.INFO: Packet analysis {"connection_id":233503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaee"} 
[2026-11-05 14:29:48] local.INFO: Extracted packet for processing {"connection_id":233503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaee"} 
[2026-11-05 14:29:48] local.INFO: GPS Element Parsed {"raw_longitude":759925632,"raw_latitude":110217888,"longitude_deg":75.9925632,"latitude_deg":11.0217888,"altitude":19,"angle":206,"satellites":47,"speed":22,"hex_longitude":"2d4b8b80","hex_latitude":"0691caa0","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:29:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 14:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793869121000,"timestamp_ms":1793869121000,"timestamp_seconds":1793869121,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaee85e8"} 
[2026-11-05 14: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-05 14:29: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-05 14: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 14:29: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-05 14: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-05 14: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-05 14:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":233503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":233503,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":233503,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28300,"81":206,"19":48128,"24":22,"16":20804383495159808},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,19,24,16]} 
[2026-11-05 14:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 14:29:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-11-05 14:29:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:29:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28300,"unknown_81":206,"unknown_19":48128,"ignition":22,"odometer":null}} 
[2026-11-05 14:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":233503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63471,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:29:48] local.INFO: GPS data processed {"connection_id":233503,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:29:48] local.INFO: Acknowledgment sent {"connection_id":233503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:30:03] local.INFO: TCP Data received {"connection_id":231594,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:30:03] local.INFO: Processing buffer {"connection_id":231594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:30:03] local.INFO: IMEI packet received {"connection_id":231594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":231594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:30:09] local.INFO: TCP Data received {"connection_id":231594,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:30:09] local.INFO: Processing buffer {"connection_id":231594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:30:09] local.INFO: IMEI packet received {"connection_id":231594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":231594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:30:11] local.INFO: TCP Data received {"connection_id":230267,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230267,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:30:11] local.INFO: Processing buffer {"connection_id":230267,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:30:11] local.INFO: IMEI packet received {"connection_id":230267,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":230267,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:30:11] local.INFO: TCP Data received {"connection_id":231594,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaed0b00012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaed0b00012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:30:11] local.INFO: Processing buffer {"connection_id":231594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaed0b00012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:30:11] local.INFO: Packet analysis {"connection_id":231594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaed"} 
[2026-11-05 14:30:11] local.INFO: Extracted packet for processing {"connection_id":231594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaed"} 
[2026-11-05 14:30:11] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230393088001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793869024000,"timestamp_ms":1793869024000,"timestamp_seconds":1793869024,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaed0b00"} 
[2026-11-05 14: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-05 14:30: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-05 14: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 14:30:11] 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-05 14: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-05 14: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-05 14:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14: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-05 14:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230393088001,"66":25495,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230393088001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:30:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:30:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230393088001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":231594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:30:11] local.INFO: GPS data processed {"connection_id":231594,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:30:11] local.INFO: Acknowledgment sent {"connection_id":231594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:30:13] local.INFO: TCP Data received {"connection_id":233504,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c2bfb8012d0b28c007060fb80013009b27..."} 
[2026-11-05 14:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233504,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c2bfb8012d0b28c007060fb80013009b27..."} 
[2026-11-05 14:30:13] local.INFO: Processing buffer {"connection_id":233504,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c2bfb8012d0b28c007060fb80013009b27..."} 
[2026-11-05 14:30:13] local.INFO: Packet analysis {"connection_id":233504,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c2"} 
[2026-11-05 14:30:13] local.INFO: Extracted packet for processing {"connection_id":233504,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c2"} 
[2026-11-05 14:30:13] local.INFO: GPS Element Parsed {"raw_longitude":755706048,"raw_latitude":117837752,"longitude_deg":75.5706048,"latitude_deg":11.7837752,"altitude":19,"angle":155,"satellites":39,"speed":11,"hex_longitude":"2d0b28c0","hex_latitude":"07060fb8","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:30:13] 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-05 14:30:13] 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-05 14:30:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:30:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":233504,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":233504,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":233504,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:30:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":233504,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:30:13] local.ERROR: GPS data processing failed {"connection_id":233504,"error":"No valid data to process"} 
[2026-11-05 14:30:13] local.INFO: Acknowledgment sent {"connection_id":233504,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:30:16] local.INFO: TCP Data received {"connection_id":230267,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230267,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:30:16] local.INFO: Processing buffer {"connection_id":230267,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:30:16] local.INFO: IMEI packet received {"connection_id":230267,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":230267,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:30:18] local.INFO: TCP Data received {"connection_id":230267,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaef68780100000000000000000000000000..."} 
[2026-11-05 14:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaef68780100000000000000000000000000..."} 
[2026-11-05 14:30:18] local.INFO: Processing buffer {"connection_id":230267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaef68780100000000000000000000000000..."} 
[2026-11-05 14:30:18] local.INFO: Packet analysis {"connection_id":230267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaef"} 
[2026-11-05 14:30:18] local.INFO: Extracted packet for processing {"connection_id":230267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaef"} 
[2026-11-05 14:30:18] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-11-05 14:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230494976001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5443585340311511040,"note":"Value kept but may cause issues"} 
[2026-11-05 14:30: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-05 14:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793869179000,"timestamp_ms":1793869179000,"timestamp_seconds":1793869179,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaef6878"} 
[2026-11-05 14: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-05 14:30: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 14: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":140,"data_length":795,"current_offset":136} 
[2026-11-05 14:30: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-05 14: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-05 14: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-05 14:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230267,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230267,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":230267,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 14:30:18] local.INFO: GPS data processed {"connection_id":230267,"processed":0,"errors":0,"total":1} 
[2026-11-05 14:30:18] local.INFO: Acknowledgment sent {"connection_id":230267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:30:21] local.INFO: TCP Data received {"connection_id":230267,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaeee3a8012d4b8900069191a8001700a52e..."} 
[2026-11-05 14:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaeee3a8012d4b8900069191a8001700a52e..."} 
[2026-11-05 14:30:21] local.INFO: Processing buffer {"connection_id":230267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaeee3a8012d4b8900069191a8001700a52e..."} 
[2026-11-05 14:30:21] local.INFO: Packet analysis {"connection_id":230267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaee"} 
[2026-11-05 14:30:21] local.INFO: Extracted packet for processing {"connection_id":230267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaee"} 
[2026-11-05 14:30:21] local.INFO: GPS Element Parsed {"raw_longitude":759924992,"raw_latitude":110203304,"longitude_deg":75.9924992,"latitude_deg":11.0203304,"altitude":23,"angle":165,"satellites":46,"speed":27,"hex_longitude":"2d4b8900","hex_latitude":"069191a8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:30:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 14:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793869145000,"timestamp_ms":1793869145000,"timestamp_seconds":1793869145,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaeee3a8"} 
[2026-11-05 14: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-05 14:30: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 14: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":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 14:30: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-05 14: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-05 14: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-05 14:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230267,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230267,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28300,"81":206,"19":48128,"24":27,"16":20804383495159808},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,19,24,16]} 
[2026-11-05 14:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 14:30:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-11-05 14:30:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:30:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28300,"unknown_81":206,"unknown_19":48128,"ignition":27,"odometer":null}} 
[2026-11-05 14:30:21] 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":63473,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:30:21] local.INFO: GPS data processed {"connection_id":230267,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:30:21] local.INFO: Acknowledgment sent {"connection_id":230267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:30:31] local.INFO: TCP Data received {"connection_id":230268,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230268,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:30:31] local.INFO: Processing buffer {"connection_id":230268,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:30:31] local.INFO: IMEI packet received {"connection_id":230268,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":230268,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:30:36] local.INFO: TCP Data received {"connection_id":230268,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230268,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:30:36] local.INFO: Processing buffer {"connection_id":230268,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:30:36] local.INFO: IMEI packet received {"connection_id":230268,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":230268,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:30:42] local.INFO: TCP Data received {"connection_id":230268,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c2cf58012d0b2b0007060a68001300ac27..."} 
[2026-11-05 14:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230268,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c2cf58012d0b2b0007060a68001300ac27..."} 
[2026-11-05 14:30:42] local.INFO: Processing buffer {"connection_id":230268,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c2cf58012d0b2b0007060a68001300ac27..."} 
[2026-11-05 14:30:42] local.INFO: Packet analysis {"connection_id":230268,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c2"} 
[2026-11-05 14:30:42] local.INFO: Extracted packet for processing {"connection_id":230268,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c2"} 
[2026-11-05 14:30:42] local.INFO: GPS Element Parsed {"raw_longitude":755706624,"raw_latitude":117836392,"longitude_deg":75.5706624,"latitude_deg":11.7836392,"altitude":19,"angle":172,"satellites":39,"speed":17,"hex_longitude":"2d0b2b00","hex_latitude":"07060a68","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:30:42] 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-05 14:30:42] 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-05 14:30:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:30:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230268,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230268,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230268,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:30:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":230268,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:30:42] local.ERROR: GPS data processing failed {"connection_id":230268,"error":"No valid data to process"} 
[2026-11-05 14:30:42] local.INFO: Acknowledgment sent {"connection_id":230268,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:30:43] local.INFO: TCP Data received {"connection_id":231594,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaed0b00012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaed0b00012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:30:43] local.INFO: Processing buffer {"connection_id":231594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaed0b00012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:30:43] local.INFO: Packet analysis {"connection_id":231594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaed"} 
[2026-11-05 14:30:43] local.INFO: Extracted packet for processing {"connection_id":231594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaed"} 
[2026-11-05 14:30:43] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230393088001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793869024000,"timestamp_ms":1793869024000,"timestamp_seconds":1793869024,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaed0b00"} 
[2026-11-05 14: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-05 14: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-05 14: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 14:30:43] 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-05 14: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-05 14: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-05 14:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:30: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-05 14:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230393088001,"66":25495,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230393088001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:30:43] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:30:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230393088001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":231594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:30:43] local.INFO: GPS data processed {"connection_id":231594,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:30:43] local.INFO: Acknowledgment sent {"connection_id":231594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:31:03] local.INFO: TCP Data received {"connection_id":231595,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:31:03] local.INFO: Processing buffer {"connection_id":231595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:31:03] local.INFO: IMEI packet received {"connection_id":231595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":231595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:31:10] local.INFO: TCP Data received {"connection_id":231595,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:31:10] local.INFO: Processing buffer {"connection_id":231595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:31:10] local.INFO: IMEI packet received {"connection_id":231595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":231595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:31:10] local.INFO: TCP Data received {"connection_id":231596,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231596,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:31:10] local.INFO: Processing buffer {"connection_id":231596,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:31:10] local.INFO: IMEI packet received {"connection_id":231596,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":231596,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:31:10] local.INFO: TCP Data received {"connection_id":231595,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaed0b00012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaed0b00012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:31:10] local.INFO: Processing buffer {"connection_id":231595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaed0b00012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:31:10] local.INFO: Packet analysis {"connection_id":231595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaed"} 
[2026-11-05 14:31:10] local.INFO: Extracted packet for processing {"connection_id":231595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaed"} 
[2026-11-05 14:31:10] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230393088001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793869024000,"timestamp_ms":1793869024000,"timestamp_seconds":1793869024,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaed0b00"} 
[2026-11-05 14:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 14:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230393088001,"66":25495,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230393088001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:31:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230393088001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":231595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:31:10] local.INFO: GPS data processed {"connection_id":231595,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:31:10] local.INFO: Acknowledgment sent {"connection_id":231595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:31:11] local.INFO: TCP Data received {"connection_id":231596,"ip":"117.224.89.99","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-05 14:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231596,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-05 14:31:11] local.INFO: Processing buffer {"connection_id":231596,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-05 14:31:11] local.INFO: IMEI packet received {"connection_id":231596,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":231596,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:31:13] local.INFO: TCP Data received {"connection_id":231596,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaefc6380100000000000000000000000000..."} 
[2026-11-05 14:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaefc6380100000000000000000000000000..."} 
[2026-11-05 14:31:13] local.INFO: Processing buffer {"connection_id":231596,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a1aa..."} 
[2026-11-05 14:31:13] local.INFO: IMEI packet received {"connection_id":231596,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":231596,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:31:13] local.INFO: TCP Data received {"connection_id":230268,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c2d340012d0b2b0007060880001300ba27..."} 
[2026-11-05 14:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230268,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c2d340012d0b2b0007060880001300ba27..."} 
[2026-11-05 14:31:13] local.INFO: Processing buffer {"connection_id":230268,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c2d340012d0b2b0007060880001300ba27..."} 
[2026-11-05 14:31:13] local.INFO: Packet analysis {"connection_id":230268,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c2"} 
[2026-11-05 14:31:13] local.INFO: Extracted packet for processing {"connection_id":230268,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c2"} 
[2026-11-05 14:31:13] local.INFO: GPS Element Parsed {"raw_longitude":755706624,"raw_latitude":117835904,"longitude_deg":75.5706624,"latitude_deg":11.7835904,"altitude":19,"angle":186,"satellites":39,"speed":21,"hex_longitude":"2d0b2b00","hex_latitude":"07060880","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:31:13] 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-05 14:31:13] 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-05 14:31:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:31:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230268,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230268,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230268,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:31:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":230268,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:31:13] local.ERROR: GPS data processing failed {"connection_id":230268,"error":"No valid data to process"} 
[2026-11-05 14:31:13] local.INFO: Acknowledgment sent {"connection_id":230268,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:31:17] local.INFO: TCP Data received {"connection_id":231596,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaef3998012d4bb280069166d0002100612d..."} 
[2026-11-05 14:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaef3998012d4bb280069166d0002100612d..."} 
[2026-11-05 14:31:17] local.INFO: Processing buffer {"connection_id":231596,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1aaefc6380100000000000000000000000000..."} 
[2026-11-05 14:31:17] local.INFO: Packet analysis {"connection_id":231596,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1aaef"} 
[2026-11-05 14:31:17] local.INFO: Extracted packet for processing {"connection_id":231596,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaef"} 
[2026-11-05 14:31:17] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-11-05 14:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230501120001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5442881652866000896,"note":"Value kept but may cause issues"} 
[2026-11-05 14:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793869203000,"timestamp_ms":1793869203000,"timestamp_seconds":1793869203,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaefc638"} 
[2026-11-05 14:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 14:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-05 14:31: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-05 14:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":231596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":231596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":231596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":231596,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 14:31:17] local.INFO: GPS data processed {"connection_id":231596,"processed":0,"errors":0,"total":1} 
[2026-11-05 14:31:17] local.INFO: Acknowledgment sent {"connection_id":231596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:31:17] local.INFO: Packet analysis {"connection_id":231596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaef"} 
[2026-11-05 14:31:17] local.INFO: Extracted packet for processing {"connection_id":231596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaef"} 
[2026-11-05 14:31:17] local.INFO: GPS Element Parsed {"raw_longitude":759935616,"raw_latitude":110192336,"longitude_deg":75.9935616,"latitude_deg":11.0192336,"altitude":33,"angle":97,"satellites":45,"speed":31,"hex_longitude":"2d4bb280","hex_latitude":"069166d0","is_valid_coordinates":true} 
[2026-11-05 14:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:31:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,51,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 14:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793869167000,"timestamp_ms":1793869167000,"timestamp_seconds":1793869167,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaef3998"} 
[2026-11-05 14:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 14:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-05 14:31: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-05 14:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":231596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":231596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":231596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28300,"51":206,"19":48128,"24":31,"16":20804383495159808},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,19,24,16]} 
[2026-11-05 14:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 14:31:17] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-11-05 14:31:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:31:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28300,"unknown_51":206,"unknown_19":48128,"ignition":31,"odometer":null}} 
[2026-11-05 14:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":231596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63476,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:31:17] local.INFO: GPS data processed {"connection_id":231596,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:31:17] local.INFO: Acknowledgment sent {"connection_id":231596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:31:22] local.INFO: TCP Data received {"connection_id":231596,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaef87b8012d4be740069147f0002400b02d..."} 
[2026-11-05 14:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaef87b8012d4be740069147f0002400b02d..."} 
[2026-11-05 14:31:22] local.INFO: Processing buffer {"connection_id":231596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaef87b8012d4be740069147f0002400b02d..."} 
[2026-11-05 14:31:22] local.INFO: Packet analysis {"connection_id":231596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaef"} 
[2026-11-05 14:31:22] local.INFO: Extracted packet for processing {"connection_id":231596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaef"} 
[2026-11-05 14:31:22] local.INFO: GPS Element Parsed {"raw_longitude":759949120,"raw_latitude":110184432,"longitude_deg":75.994912,"latitude_deg":11.0184432,"altitude":36,"angle":176,"satellites":45,"speed":32,"hex_longitude":"2d4be740","hex_latitude":"069147f0","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230506752001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5454562864396685312,"note":"Value kept but may cause issues"} 
[2026-11-05 14:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793869187000,"timestamp_ms":1793869187000,"timestamp_seconds":1793869187,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaef87b8"} 
[2026-11-05 14: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-05 14:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 14: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-05 14:31: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-05 14: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-05 14: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-05 14:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":231596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":231596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":231596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230506752001,"66":28354,"51":206,"19":48128,"24":32,"16":20804383495159808,"45":5454562864396685312},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,19,24,16,45]} 
[2026-11-05 14:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230506752001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:31:22] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-11-05 14:31:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5454562864396685312,"description":"Unknown IO ID 45"} 
[2026-11-05 14:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230506752001,"power":28354,"unknown_51":206,"unknown_19":48128,"ignition":32,"odometer":null,"unknown_45":5454562864396685312}} 
[2026-11-05 14:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":231596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63477,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:31:22] local.INFO: GPS data processed {"connection_id":231596,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:31:22] local.INFO: Acknowledgment sent {"connection_id":231596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:31:37] local.INFO: TCP Data received {"connection_id":233505,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233505,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:31:37] local.INFO: Processing buffer {"connection_id":233505,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:31:37] local.INFO: IMEI packet received {"connection_id":233505,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":233505,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:31:41] local.INFO: TCP Data received {"connection_id":231595,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaed0b00012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaed0b00012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:31:41] local.INFO: Processing buffer {"connection_id":231595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaed0b00012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:31:41] local.INFO: Packet analysis {"connection_id":231595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaed"} 
[2026-11-05 14:31:41] local.INFO: Extracted packet for processing {"connection_id":231595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaed"} 
[2026-11-05 14:31:41] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230393088001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793869024000,"timestamp_ms":1793869024000,"timestamp_seconds":1793869024,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaed0b00"} 
[2026-11-05 14: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-05 14:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 14:31:41] 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-05 14: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-05 14: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-05 14:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14: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-05 14:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230393088001,"66":25495,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230393088001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:31:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:31:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230393088001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":231595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:31:41] local.INFO: GPS data processed {"connection_id":231595,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:31:41] local.INFO: Acknowledgment sent {"connection_id":231595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:31:42] local.INFO: TCP Data received {"connection_id":233505,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233505,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:31:42] local.INFO: Processing buffer {"connection_id":233505,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:31:42] local.INFO: IMEI packet received {"connection_id":233505,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":233505,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:31:47] local.INFO: TCP Data received {"connection_id":233505,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c2f668012d0b25c00705f1f8001300c627..."} 
[2026-11-05 14:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233505,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c2f668012d0b25c00705f1f8001300c627..."} 
[2026-11-05 14:31:47] local.INFO: Processing buffer {"connection_id":233505,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c2f668012d0b25c00705f1f8001300c627..."} 
[2026-11-05 14:31:47] local.INFO: Packet analysis {"connection_id":233505,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c2"} 
[2026-11-05 14:31:47] local.INFO: Extracted packet for processing {"connection_id":233505,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c2"} 
[2026-11-05 14:31:47] local.INFO: GPS Element Parsed {"raw_longitude":755705280,"raw_latitude":117830136,"longitude_deg":75.570528,"latitude_deg":11.7830136,"altitude":19,"angle":198,"satellites":39,"speed":33,"hex_longitude":"2d0b25c0","hex_latitude":"0705f1f8","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:31:47] 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-05 14:31:47] 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-05 14:31:47] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:31:47] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":233505,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":233505,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":233505,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:31:47] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":233505,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:31:47] local.ERROR: GPS data processing failed {"connection_id":233505,"error":"No valid data to process"} 
[2026-11-05 14:31:47] local.INFO: Acknowledgment sent {"connection_id":233505,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:31:57] local.INFO: TCP Data received {"connection_id":233505,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c30220012d0b23800705e828001300b527..."} 
[2026-11-05 14:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233505,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c30220012d0b23800705e828001300b527..."} 
[2026-11-05 14:31:57] local.INFO: Processing buffer {"connection_id":233505,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c30220012d0b23800705e828001300b527..."} 
[2026-11-05 14:31:57] local.INFO: Packet analysis {"connection_id":233505,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c3"} 
[2026-11-05 14:31:57] local.INFO: Extracted packet for processing {"connection_id":233505,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c3"} 
[2026-11-05 14:31:57] local.INFO: GPS Element Parsed {"raw_longitude":755704704,"raw_latitude":117827624,"longitude_deg":75.5704704,"latitude_deg":11.7827624,"altitude":19,"angle":181,"satellites":39,"speed":35,"hex_longitude":"2d0b2380","hex_latitude":"0705e828","is_valid_coordinates":true} 
[2026-11-05 14:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:31:57] 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-05 14:31:57] 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-05 14:31:57] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:31:57] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":233505,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":233505,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":233505,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:31:57] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":233505,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:31:57] local.ERROR: GPS data processing failed {"connection_id":233505,"error":"No valid data to process"} 
[2026-11-05 14:31:57] local.INFO: Acknowledgment sent {"connection_id":233505,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:32:03] local.INFO: TCP Data received {"connection_id":233506,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:32:03] local.INFO: Processing buffer {"connection_id":233506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:32:03] local.INFO: IMEI packet received {"connection_id":233506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":233506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:32:06] local.INFO: TCP Data received {"connection_id":229745,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229745,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:32:06] local.INFO: Processing buffer {"connection_id":229745,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:32:06] local.INFO: IMEI packet received {"connection_id":229745,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":229745,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:32:10] local.INFO: TCP Data received {"connection_id":233506,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:32:10] local.INFO: Processing buffer {"connection_id":233506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:32:10] local.INFO: IMEI packet received {"connection_id":233506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":233506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:32:10] local.INFO: TCP Data received {"connection_id":233506,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaed0b00012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaed0b00012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:32:10] local.INFO: Processing buffer {"connection_id":233506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaed0b00012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:32:10] local.INFO: Packet analysis {"connection_id":233506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaed"} 
[2026-11-05 14:32:10] local.INFO: Extracted packet for processing {"connection_id":233506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaed"} 
[2026-11-05 14:32:10] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230393088001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793869024000,"timestamp_ms":1793869024000,"timestamp_seconds":1793869024,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaed0b00"} 
[2026-11-05 14:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 14:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230393088001,"66":25495,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230393088001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:32:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230393088001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":233506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:32:10] local.INFO: GPS data processed {"connection_id":233506,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:32:10] local.INFO: Acknowledgment sent {"connection_id":233506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:32:11] local.INFO: TCP Data received {"connection_id":229745,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229745,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:32:11] local.INFO: Processing buffer {"connection_id":229745,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:32:11] local.INFO: IMEI packet received {"connection_id":229745,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":229745,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:32:17] local.INFO: TCP Data received {"connection_id":229745,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaefd9c0012d4beac006910170002a00b42a..."} 
[2026-11-05 14:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaefd9c0012d4beac006910170002a00b42a..."} 
[2026-11-05 14:32:17] local.INFO: Processing buffer {"connection_id":229745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaefd9c0012d4beac006910170002a00b42a..."} 
[2026-11-05 14:32:17] local.INFO: Packet analysis {"connection_id":229745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaef"} 
[2026-11-05 14:32:17] local.INFO: Extracted packet for processing {"connection_id":229745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaef"} 
[2026-11-05 14:32:17] local.INFO: GPS Element Parsed {"raw_longitude":759950016,"raw_latitude":110166384,"longitude_deg":75.9950016,"latitude_deg":11.0166384,"altitude":42,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d4beac0","hex_latitude":"06910170","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230511872001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5469410669416148992,"note":"Value kept but may cause issues"} 
[2026-11-05 14:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793869208000,"timestamp_ms":1793869208000,"timestamp_seconds":1793869208,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaefd9c0"} 
[2026-11-05 14: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-05 14:32:17] 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-05 14: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":194,"data_length":795,"current_offset":136} 
[2026-11-05 14:32: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-05 14: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-05 14: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-05 14:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229745,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229745,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230511872001,"66":28267,"51":206,"19":48128,"24":0,"16":20804383495159808,"45":5469410669416148992},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,19,24,16,45]} 
[2026-11-05 14:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230511872001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:32:17] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-11-05 14:32:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5469410669416148992,"description":"Unknown IO ID 45"} 
[2026-11-05 14:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230511872001,"power":28267,"unknown_51":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5469410669416148992}} 
[2026-11-05 14:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":229745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63480,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:32:17] local.INFO: GPS data processed {"connection_id":229745,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:32:17] local.INFO: Acknowledgment sent {"connection_id":229745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:32:32] local.INFO: TCP Data received {"connection_id":233507,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233507,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:32:32] local.INFO: Processing buffer {"connection_id":233507,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:32:32] local.INFO: IMEI packet received {"connection_id":233507,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":233507,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:32:37] local.INFO: TCP Data received {"connection_id":233507,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233507,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:32:37] local.INFO: Processing buffer {"connection_id":233507,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:32:37] local.INFO: IMEI packet received {"connection_id":233507,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":233507,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:32:41] local.INFO: TCP Data received {"connection_id":233506,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaed0b00012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaed0b00012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:32:41] local.INFO: Processing buffer {"connection_id":233506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaed0b00012d7fa60005afe2e80000011028..."} 
[2026-11-05 14:32:41] local.INFO: Packet analysis {"connection_id":233506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaed"} 
[2026-11-05 14:32:41] local.INFO: Extracted packet for processing {"connection_id":233506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaed"} 
[2026-11-05 14:32:41] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230393088001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793869024000,"timestamp_ms":1793869024000,"timestamp_seconds":1793869024,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaed0b00"} 
[2026-11-05 14: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-05 14:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-05 14:32:41] 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-05 14: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-05 14: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-05 14:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14: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-05 14:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230393088001,"66":25495,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230393088001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:32:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:32:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230393088001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":233506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:32:41] local.INFO: GPS data processed {"connection_id":233506,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:32:41] local.INFO: Acknowledgment sent {"connection_id":233506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:32:42] local.INFO: TCP Data received {"connection_id":233507,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c32930012d0b23400705c438001400b728..."} 
[2026-11-05 14:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233507,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c32930012d0b23400705c438001400b728..."} 
[2026-11-05 14:32:42] local.INFO: Processing buffer {"connection_id":233507,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c32930012d0b23400705c438001400b728..."} 
[2026-11-05 14:32:42] local.INFO: Packet analysis {"connection_id":233507,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c3"} 
[2026-11-05 14:32:42] local.INFO: Extracted packet for processing {"connection_id":233507,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c3"} 
[2026-11-05 14:32:42] local.INFO: GPS Element Parsed {"raw_longitude":755704640,"raw_latitude":117818424,"longitude_deg":75.570464,"latitude_deg":11.7818424,"altitude":20,"angle":183,"satellites":40,"speed":41,"hex_longitude":"2d0b2340","hex_latitude":"0705c438","is_valid_coordinates":true} 
[2026-11-05 14:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:32:42] 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-05 14:32:42] 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-05 14:32:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:32:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233507,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233507,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233507,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:32:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":233507,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:32:42] local.ERROR: GPS data processing failed {"connection_id":233507,"error":"No valid data to process"} 
[2026-11-05 14:32:42] local.INFO: Acknowledgment sent {"connection_id":233507,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:32:53] local.INFO: TCP Data received {"connection_id":229745,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf02bc8012d4be8c00690ba88003100b328..."} 
[2026-11-05 14:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf02bc8012d4be8c00690ba88003100b328..."} 
[2026-11-05 14:32:53] local.INFO: Processing buffer {"connection_id":229745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf02bc8012d4be8c00690ba88003100b328..."} 
[2026-11-05 14:32:53] local.INFO: Packet analysis {"connection_id":229745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf0"} 
[2026-11-05 14:32:53] local.INFO: Extracted packet for processing {"connection_id":229745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf0"} 
[2026-11-05 14:32:53] local.INFO: GPS Element Parsed {"raw_longitude":759949504,"raw_latitude":110148232,"longitude_deg":75.9949504,"latitude_deg":11.0148232,"altitude":49,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2d4be8c0","hex_latitude":"0690ba88","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230517248001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5470395831830016000,"note":"Value kept but may cause issues"} 
[2026-11-05 14:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793869229000,"timestamp_ms":1793869229000,"timestamp_seconds":1793869229,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf02bc8"} 
[2026-11-05 14: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-05 14:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 14: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":107,"data_length":795,"current_offset":136} 
[2026-11-05 14:32: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-05 14: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-05 14: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-05 14:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":229745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":229745,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":229745,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230517248001,"66":28398,"51":206,"19":48128,"24":0,"16":20804383495159808,"45":5470395831830016000},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,19,24,16,45]} 
[2026-11-05 14:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230517248001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:32:53] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-11-05 14:32:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5470395831830016000,"description":"Unknown IO ID 45"} 
[2026-11-05 14:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230517248001,"power":28398,"unknown_51":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5470395831830016000}} 
[2026-11-05 14:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":229745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63482,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:32:53] local.INFO: GPS data processed {"connection_id":229745,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:32:53] local.INFO: Acknowledgment sent {"connection_id":229745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:33:08] local.INFO: TCP Data received {"connection_id":233508,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:33:08] local.INFO: Processing buffer {"connection_id":233508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:33:08] local.INFO: IMEI packet received {"connection_id":233508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":233508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:33:11] local.INFO: TCP Data received {"connection_id":230269,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230269,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:33:11] local.INFO: Processing buffer {"connection_id":230269,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:33:11] local.INFO: IMEI packet received {"connection_id":230269,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":230269,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:33:13] local.INFO: TCP Data received {"connection_id":233507,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c34c58012d0b23400705a0d0001400ae28..."} 
[2026-11-05 14:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233507,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c34c58012d0b23400705a0d0001400ae28..."} 
[2026-11-05 14:33:13] local.INFO: Processing buffer {"connection_id":233507,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c34c58012d0b23400705a0d0001400ae28..."} 
[2026-11-05 14:33:13] local.INFO: Packet analysis {"connection_id":233507,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c3"} 
[2026-11-05 14:33:13] local.INFO: Extracted packet for processing {"connection_id":233507,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c3"} 
[2026-11-05 14:33:13] local.INFO: GPS Element Parsed {"raw_longitude":755704640,"raw_latitude":117809360,"longitude_deg":75.570464,"latitude_deg":11.780936,"altitude":20,"angle":174,"satellites":40,"speed":25,"hex_longitude":"2d0b2340","hex_latitude":"0705a0d0","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:33:13] 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-05 14:33:13] 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-05 14:33:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:33:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":233507,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":233507,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":233507,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:33:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":233507,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:33:13] local.ERROR: GPS data processing failed {"connection_id":233507,"error":"No valid data to process"} 
[2026-11-05 14:33:13] local.INFO: Acknowledgment sent {"connection_id":233507,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:33:13] local.INFO: TCP Data received {"connection_id":233508,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:33:13] local.INFO: Processing buffer {"connection_id":233508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:33:13] local.INFO: IMEI packet received {"connection_id":233508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":233508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:33:15] local.INFO: TCP Data received {"connection_id":233508,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf1a2c8012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf1a2c8012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:33:15] local.INFO: Processing buffer {"connection_id":233508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf1a2c8012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:33:15] local.INFO: Packet analysis {"connection_id":233508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf1"} 
[2026-11-05 14:33:15] local.INFO: Extracted packet for processing {"connection_id":233508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf1"} 
[2026-11-05 14:33:15] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230470144001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793869325000,"timestamp_ms":1793869325000,"timestamp_seconds":1793869325,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf1a2c8"} 
[2026-11-05 14: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-05 14:33: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-05 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 14:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:33:15] 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-05 14:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230470144001,"66":24908,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230470144001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:33:15] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:33:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230470144001,"power":24908,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":233508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:33:15] local.INFO: GPS data processed {"connection_id":233508,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:33:15] local.INFO: Acknowledgment sent {"connection_id":233508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:33:16] local.INFO: TCP Data received {"connection_id":230269,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230269,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:33:16] local.INFO: Processing buffer {"connection_id":230269,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:33:16] local.INFO: IMEI packet received {"connection_id":230269,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":230269,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:33:18] local.INFO: TCP Data received {"connection_id":230269,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf06660012d4be300069076e8003700a329..."} 
[2026-11-05 14:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf06660012d4be300069076e8003700a329..."} 
[2026-11-05 14:33:18] local.INFO: Processing buffer {"connection_id":230269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf06660012d4be300069076e8003700a329..."} 
[2026-11-05 14:33:18] local.INFO: Packet analysis {"connection_id":230269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf0"} 
[2026-11-05 14:33:18] local.INFO: Extracted packet for processing {"connection_id":230269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf0"} 
[2026-11-05 14:33:18] local.INFO: GPS Element Parsed {"raw_longitude":759948032,"raw_latitude":110130920,"longitude_deg":75.9948032,"latitude_deg":11.013092,"altitude":55,"angle":163,"satellites":41,"speed":36,"hex_longitude":"2d4be300","hex_latitude":"069076e8","is_valid_coordinates":true} 
[2026-11-05 14:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230522624001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5469832881871947776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793869244000,"timestamp_ms":1793869244000,"timestamp_seconds":1793869244,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf06660"} 
[2026-11-05 14:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 14:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 14:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230269,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230269,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230522624001,"66":28332,"51":206,"19":48128,"24":36,"16":20804383495159808,"45":5469832881871947776},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,19,24,16,45]} 
[2026-11-05 14:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230522624001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:33:18] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-11-05 14:33:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5469832881871947776,"description":"Unknown IO ID 45"} 
[2026-11-05 14:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230522624001,"power":28332,"unknown_51":206,"unknown_19":48128,"ignition":36,"odometer":null,"unknown_45":5469832881871947776}} 
[2026-11-05 14:33:19] 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":63484,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:33:19] local.INFO: GPS data processed {"connection_id":230269,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:33:19] local.INFO: Acknowledgment sent {"connection_id":230269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:33:22] local.INFO: TCP Data received {"connection_id":230269,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf0b868012d4c024006903868003f009e2a..."} 
[2026-11-05 14:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf0b868012d4c024006903868003f009e2a..."} 
[2026-11-05 14:33:22] local.INFO: Processing buffer {"connection_id":230269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf0b868012d4c024006903868003f009e2a..."} 
[2026-11-05 14:33:22] local.INFO: Packet analysis {"connection_id":230269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf0"} 
[2026-11-05 14:33:22] local.INFO: Extracted packet for processing {"connection_id":230269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf0"} 
[2026-11-05 14:33:22] local.INFO: GPS Element Parsed {"raw_longitude":759956032,"raw_latitude":110114920,"longitude_deg":75.9956032,"latitude_deg":11.011492,"altitude":63,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d4c0240","hex_latitude":"06903868","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230526464001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5468214400751429632,"note":"Value kept but may cause issues"} 
[2026-11-05 14:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793869265000,"timestamp_ms":1793869265000,"timestamp_seconds":1793869265,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf0b868"} 
[2026-11-05 14: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-05 14:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 14: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-05 14:33:22] 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-05 14: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-05 14: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-05 14:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":230269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":230269,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":230269,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230526464001,"66":28343,"51":206,"19":48128,"24":0,"16":20804383495159808,"45":5468214400751429632},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,19,24,16,45]} 
[2026-11-05 14:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230526464001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:33:22] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-11-05 14:33:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5468214400751429632,"description":"Unknown IO ID 45"} 
[2026-11-05 14:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230526464001,"power":28343,"unknown_51":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5468214400751429632}} 
[2026-11-05 14:33:23] 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":63485,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:33:23] local.INFO: GPS data processed {"connection_id":230269,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:33:23] local.INFO: Acknowledgment sent {"connection_id":230269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:33:32] local.INFO: TCP Data received {"connection_id":231597,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231597,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:33:32] local.INFO: Processing buffer {"connection_id":231597,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:33:32] local.INFO: IMEI packet received {"connection_id":231597,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":231597,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:33:36] local.INFO: TCP Data received {"connection_id":231597,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231597,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:33:36] local.INFO: Processing buffer {"connection_id":231597,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:33:36] local.INFO: IMEI packet received {"connection_id":231597,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":231597,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:33:36] local.INFO: TCP Data received {"connection_id":231597,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1aaf2fe70012d0b13000702a170000b007525..."} 
[2026-11-05 14:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231597,"packet_length":93,"packet_hex":"00000000000000518e01000001a1aaf2fe70012d0b13000702a170000b007525..."} 
[2026-11-05 14:33:36] local.INFO: Processing buffer {"connection_id":231597,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1aaf2fe70012d0b13000702a170000b007525..."} 
[2026-11-05 14:33:36] local.INFO: Packet analysis {"connection_id":231597,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1aaf2"} 
[2026-11-05 14:33:36] local.INFO: Extracted packet for processing {"connection_id":231597,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1aaf2"} 
[2026-11-05 14:33:36] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612912,"longitude_deg":75.570048,"latitude_deg":11.7612912,"altitude":11,"angle":117,"satellites":37,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a170","is_valid_coordinates":true} 
[2026-11-05 14:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:33:36] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:33:36] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":231597,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":231597,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":231597,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:33:36] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":231597,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:33:36] local.ERROR: GPS data processing failed {"connection_id":231597,"error":"No valid data to process"} 
[2026-11-05 14:33:36] local.INFO: Acknowledgment sent {"connection_id":231597,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:33:46] local.INFO: TCP Data received {"connection_id":233508,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf1a2c8012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf1a2c8012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:33:46] local.INFO: Processing buffer {"connection_id":233508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf1a2c8012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:33:46] local.INFO: Packet analysis {"connection_id":233508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf1"} 
[2026-11-05 14:33:46] local.INFO: Extracted packet for processing {"connection_id":233508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf1"} 
[2026-11-05 14:33:46] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230470144001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793869325000,"timestamp_ms":1793869325000,"timestamp_seconds":1793869325,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf1a2c8"} 
[2026-11-05 14: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-05 14:33: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-05 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 14:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":233508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":233508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":233508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:33:46] 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-05 14:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230470144001,"66":24908,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230470144001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:33:46] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:33:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230470144001,"power":24908,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":233508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:33:46] local.INFO: GPS data processed {"connection_id":233508,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:33:46] local.INFO: Acknowledgment sent {"connection_id":233508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:34:03] local.INFO: TCP Data received {"connection_id":233509,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:34:03] local.INFO: Processing buffer {"connection_id":233509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:34:03] local.INFO: IMEI packet received {"connection_id":233509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":233509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:34:06] local.INFO: TCP Data received {"connection_id":230270,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230270,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:34:06] local.INFO: Processing buffer {"connection_id":230270,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:34:06] local.INFO: IMEI packet received {"connection_id":230270,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":230270,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:34:08] local.INFO: TCP Data received {"connection_id":231597,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c35810012d0b230007059c48001500c927..."} 
[2026-11-05 14:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231597,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c35810012d0b230007059c48001500c927..."} 
[2026-11-05 14:34:08] local.INFO: Processing buffer {"connection_id":231597,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c35810012d0b230007059c48001500c927..."} 
[2026-11-05 14:34:08] local.INFO: Packet analysis {"connection_id":231597,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c3"} 
[2026-11-05 14:34:08] local.INFO: Extracted packet for processing {"connection_id":231597,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c3"} 
[2026-11-05 14:34:08] local.INFO: GPS Element Parsed {"raw_longitude":755704576,"raw_latitude":117808200,"longitude_deg":75.5704576,"latitude_deg":11.78082,"altitude":21,"angle":201,"satellites":39,"speed":10,"hex_longitude":"2d0b2300","hex_latitude":"07059c48","is_valid_coordinates":true} 
[2026-11-05 14:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:34:08] 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-05 14:34:08] 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-05 14:34:08] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:34:08] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":231597,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":231597,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":231597,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:34:08] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":231597,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:34:08] local.ERROR: GPS data processing failed {"connection_id":231597,"error":"No valid data to process"} 
[2026-11-05 14:34:08] local.INFO: Acknowledgment sent {"connection_id":231597,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:34:08] local.INFO: TCP Data received {"connection_id":233509,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:34:08] local.INFO: Processing buffer {"connection_id":233509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:34:08] local.INFO: IMEI packet received {"connection_id":233509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":233509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:34:09] local.INFO: TCP Data received {"connection_id":233509,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf1a2c8012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf1a2c8012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:34:09] local.INFO: Processing buffer {"connection_id":233509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf1a2c8012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:34:09] local.INFO: Packet analysis {"connection_id":233509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf1"} 
[2026-11-05 14:34:09] local.INFO: Extracted packet for processing {"connection_id":233509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf1"} 
[2026-11-05 14:34:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230470144001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793869325000,"timestamp_ms":1793869325000,"timestamp_seconds":1793869325,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf1a2c8"} 
[2026-11-05 14:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:34: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-05 14:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 14:34:09] 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-05 14:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:34:09] local.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-05 14:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230470144001,"66":24908,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230470144001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:34:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:34:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230470144001,"power":24908,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":233509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:34:09] local.INFO: GPS data processed {"connection_id":233509,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:34:09] local.INFO: Acknowledgment sent {"connection_id":233509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:34:11] local.INFO: TCP Data received {"connection_id":230270,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230270,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:34:11] local.INFO: Processing buffer {"connection_id":230270,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:34:11] local.INFO: IMEI packet received {"connection_id":230270,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":230270,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:34:15] local.INFO: TCP Data received {"connection_id":230270,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf0fad0012d4c23c0069004e8004c008329..."} 
[2026-11-05 14:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf0fad0012d4c23c0069004e8004c008329..."} 
[2026-11-05 14:34:15] local.INFO: Processing buffer {"connection_id":230270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf0fad0012d4c23c0069004e8004c008329..."} 
[2026-11-05 14:34:15] local.INFO: Packet analysis {"connection_id":230270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf0"} 
[2026-11-05 14:34:15] local.INFO: Extracted packet for processing {"connection_id":230270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf0"} 
[2026-11-05 14:34:15] local.INFO: GPS Element Parsed {"raw_longitude":759964608,"raw_latitude":110101736,"longitude_deg":75.9964608,"latitude_deg":11.0101736,"altitude":76,"angle":131,"satellites":41,"speed":30,"hex_longitude":"2d4c23c0","hex_latitude":"069004e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230531840001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5477010493769541632,"note":"Value kept but may cause issues"} 
[2026-11-05 14:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793869282000,"timestamp_ms":1793869282000,"timestamp_seconds":1793869282,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf0fad0"} 
[2026-11-05 14: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-05 14:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-05 14: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":183,"data_length":795,"current_offset":136} 
[2026-11-05 14:34: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-05 14: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-05 14: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-05 14:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230270,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230270,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230531840001,"66":28398,"51":206,"19":48128,"24":30,"16":20804383495159808,"45":5477010493769541632},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,19,24,16,45]} 
[2026-11-05 14:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230531840001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:34:15] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-11-05 14:34:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5477010493769541632,"description":"Unknown IO ID 45"} 
[2026-11-05 14:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230531840001,"power":28398,"unknown_51":206,"unknown_19":48128,"ignition":30,"odometer":null,"unknown_45":5477010493769541632}} 
[2026-11-05 14:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":230270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63488,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:34:15] local.INFO: GPS data processed {"connection_id":230270,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:34:15] local.INFO: Acknowledgment sent {"connection_id":230270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:34:37] local.INFO: TCP Data received {"connection_id":230271,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230271,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:34:37] local.INFO: Processing buffer {"connection_id":230271,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:34:37] local.INFO: IMEI packet received {"connection_id":230271,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":230271,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:34:40] local.INFO: TCP Data received {"connection_id":233509,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf1a2c8012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf1a2c8012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:34:40] local.INFO: Processing buffer {"connection_id":233509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf1a2c8012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:34:40] local.INFO: Packet analysis {"connection_id":233509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf1"} 
[2026-11-05 14:34:40] local.INFO: Extracted packet for processing {"connection_id":233509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf1"} 
[2026-11-05 14:34:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230470144001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793869325000,"timestamp_ms":1793869325000,"timestamp_seconds":1793869325,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf1a2c8"} 
[2026-11-05 14: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-05 14:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 14:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 14:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14: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-05 14:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230470144001,"66":24908,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230470144001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:34:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:34:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230470144001,"power":24908,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":233509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:34:40] local.INFO: GPS data processed {"connection_id":233509,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:34:40] local.INFO: Acknowledgment sent {"connection_id":233509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:34:42] local.INFO: TCP Data received {"connection_id":230271,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230271,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:34:42] local.INFO: Processing buffer {"connection_id":230271,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:34:42] local.INFO: IMEI packet received {"connection_id":230271,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":230271,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:34:47] local.INFO: TCP Data received {"connection_id":230271,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c35bf8012d0b220007059b98001500e527..."} 
[2026-11-05 14:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230271,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c35bf8012d0b220007059b98001500e527..."} 
[2026-11-05 14:34:47] local.INFO: Processing buffer {"connection_id":230271,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c35bf8012d0b220007059b98001500e527..."} 
[2026-11-05 14:34:47] local.INFO: Packet analysis {"connection_id":230271,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c3"} 
[2026-11-05 14:34:47] local.INFO: Extracted packet for processing {"connection_id":230271,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c3"} 
[2026-11-05 14:34:47] local.INFO: GPS Element Parsed {"raw_longitude":755704320,"raw_latitude":117808024,"longitude_deg":75.570432,"latitude_deg":11.7808024,"altitude":21,"angle":229,"satellites":39,"speed":9,"hex_longitude":"2d0b2200","hex_latitude":"07059b98","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:34:47] 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-05 14:34:47] 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-05 14:34:47] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:34:47] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230271,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230271,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230271,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:34:47] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":230271,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:34:47] local.ERROR: GPS data processing failed {"connection_id":230271,"error":"No valid data to process"} 
[2026-11-05 14:34:47] local.INFO: Acknowledgment sent {"connection_id":230271,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:34:48] local.INFO: TCP Data received {"connection_id":230270,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf1dd600100000000000000000000000000..."} 
[2026-11-05 14:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf1dd600100000000000000000000000000..."} 
[2026-11-05 14:34:48] local.INFO: Processing buffer {"connection_id":230270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf1dd600100000000000000000000000000..."} 
[2026-11-05 14:34:48] local.INFO: Packet analysis {"connection_id":230270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf1"} 
[2026-11-05 14:34:48] local.INFO: Extracted packet for processing {"connection_id":230270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf1"} 
[2026-11-05 14: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-05 14: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-05 14:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230536192001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5486439905485973504,"note":"Value kept but may cause issues"} 
[2026-11-05 14:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793869340000,"timestamp_ms":1793869340000,"timestamp_seconds":1793869340,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf1dd60"} 
[2026-11-05 14: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-05 14:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 14: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":238,"data_length":795,"current_offset":136} 
[2026-11-05 14:34: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-05 14: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-05 14: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-05 14:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230270,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230270,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":230270,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 14:34:48] local.INFO: GPS data processed {"connection_id":230270,"processed":0,"errors":0,"total":1} 
[2026-11-05 14:34:48] local.INFO: Acknowledgment sent {"connection_id":230270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:35:03] local.INFO: TCP Data received {"connection_id":231598,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:35:03] local.INFO: Processing buffer {"connection_id":231598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:35:03] local.INFO: IMEI packet received {"connection_id":231598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":231598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:35:08] local.INFO: TCP Data received {"connection_id":231598,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:35:08] local.INFO: Processing buffer {"connection_id":231598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:35:08] local.INFO: IMEI packet received {"connection_id":231598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":231598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:35:09] local.INFO: TCP Data received {"connection_id":231598,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf1a2c8012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf1a2c8012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:35:09] local.INFO: Processing buffer {"connection_id":231598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf1a2c8012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:35:09] local.INFO: Packet analysis {"connection_id":231598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf1"} 
[2026-11-05 14:35:09] local.INFO: Extracted packet for processing {"connection_id":231598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf1"} 
[2026-11-05 14:35:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230470144001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793869325000,"timestamp_ms":1793869325000,"timestamp_seconds":1793869325,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf1a2c8"} 
[2026-11-05 14:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:35: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-05 14:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 14:35:09] 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-05 14:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:35:09] 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-05 14:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230470144001,"66":24908,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230470144001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:35:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:35:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230470144001,"power":24908,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":231598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:35:09] local.INFO: GPS data processed {"connection_id":231598,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:35:09] local.INFO: Acknowledgment sent {"connection_id":231598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:35:31] local.INFO: TCP Data received {"connection_id":230272,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230272,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:35:31] local.INFO: Processing buffer {"connection_id":230272,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:35:31] local.INFO: IMEI packet received {"connection_id":230272,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":230272,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:35:37] local.INFO: TCP Data received {"connection_id":230272,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230272,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:35:37] local.INFO: Processing buffer {"connection_id":230272,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:35:37] local.INFO: IMEI packet received {"connection_id":230272,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":230272,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:35:40] local.INFO: TCP Data received {"connection_id":231598,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf1a2c8012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf1a2c8012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:35:40] local.INFO: Processing buffer {"connection_id":231598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf1a2c8012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:35:40] local.INFO: Packet analysis {"connection_id":231598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf1"} 
[2026-11-05 14:35:40] local.INFO: Extracted packet for processing {"connection_id":231598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf1"} 
[2026-11-05 14:35:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230470144001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793869325000,"timestamp_ms":1793869325000,"timestamp_seconds":1793869325,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf1a2c8"} 
[2026-11-05 14:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 14:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 14:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230470144001,"66":24908,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230470144001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:35:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:35:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230470144001,"power":24908,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":231598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:35:40] local.INFO: GPS data processed {"connection_id":231598,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:35:40] local.INFO: Acknowledgment sent {"connection_id":231598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:35:41] local.INFO: TCP Data received {"connection_id":229746,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:35:41] local.INFO: Processing buffer {"connection_id":229746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:35:41] local.INFO: IMEI packet received {"connection_id":229746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":229746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:35:42] local.INFO: TCP Data received {"connection_id":230272,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c35fe0012d0b210007059b580015010427..."} 
[2026-11-05 14:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230272,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c35fe0012d0b210007059b580015010427..."} 
[2026-11-05 14:35:42] local.INFO: Processing buffer {"connection_id":230272,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c35fe0012d0b210007059b580015010427..."} 
[2026-11-05 14:35:42] local.INFO: Packet analysis {"connection_id":230272,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c3"} 
[2026-11-05 14:35:42] local.INFO: Extracted packet for processing {"connection_id":230272,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c3"} 
[2026-11-05 14:35:42] local.INFO: GPS Element Parsed {"raw_longitude":755704064,"raw_latitude":117807960,"longitude_deg":75.5704064,"latitude_deg":11.780796,"altitude":21,"angle":260,"satellites":39,"speed":12,"hex_longitude":"2d0b2100","hex_latitude":"07059b58","is_valid_coordinates":true} 
[2026-11-05 14:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:35:42] 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-05 14:35:42] 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-05 14:35:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:35:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230272,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230272,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230272,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:35:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":230272,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:35:42] local.ERROR: GPS data processing failed {"connection_id":230272,"error":"No valid data to process"} 
[2026-11-05 14:35:42] local.INFO: Acknowledgment sent {"connection_id":230272,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:35:46] local.INFO: TCP Data received {"connection_id":229746,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:35:46] local.INFO: Processing buffer {"connection_id":229746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:35:46] local.INFO: IMEI packet received {"connection_id":229746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":229746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:35:47] local.INFO: TCP Data received {"connection_id":229746,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf154a8012d4c5440068fdf480054008229..."} 
[2026-11-05 14:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf154a8012d4c5440068fdf480054008229..."} 
[2026-11-05 14:35:48] local.INFO: Processing buffer {"connection_id":229746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf154a8012d4c5440068fdf480054008229..."} 
[2026-11-05 14:35:48] local.INFO: Packet analysis {"connection_id":229746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf1"} 
[2026-11-05 14:35:48] local.INFO: Extracted packet for processing {"connection_id":229746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf1"} 
[2026-11-05 14:35:48] local.INFO: GPS Element Parsed {"raw_longitude":759977024,"raw_latitude":110092104,"longitude_deg":75.9977024,"latitude_deg":11.0092104,"altitude":84,"angle":130,"satellites":41,"speed":38,"hex_longitude":"2d4c5440","hex_latitude":"068fdf48","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:35:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,49,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 14:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793869305000,"timestamp_ms":1793869305000,"timestamp_seconds":1793869305,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf154a8"} 
[2026-11-05 14: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-05 14:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 14: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":194,"data_length":795,"current_offset":136} 
[2026-11-05 14:35: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-05 14: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-05 14: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-05 14:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229746,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229746,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28300,"49":206,"19":48128,"24":38,"16":20804383495159808},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16]} 
[2026-11-05 14:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 14:35:48] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:35:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:35:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28300,"unknown_49":206,"unknown_19":48128,"ignition":38,"odometer":null}} 
[2026-11-05 14:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":229746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63492,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:35:48] local.INFO: GPS data processed {"connection_id":229746,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:35:48] local.INFO: Acknowledgment sent {"connection_id":229746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:36:05] local.INFO: TCP Data received {"connection_id":231599,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:36:05] local.INFO: Processing buffer {"connection_id":231599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:36:05] local.INFO: IMEI packet received {"connection_id":231599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":231599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:36:05] local.INFO: TCP Data received {"connection_id":229747,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:36:05] local.INFO: Processing buffer {"connection_id":229747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:36:05] local.INFO: IMEI packet received {"connection_id":229747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":229747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:36:08] local.INFO: TCP Data received {"connection_id":231599,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:36:08] local.INFO: Processing buffer {"connection_id":231599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:36:08] local.INFO: IMEI packet received {"connection_id":231599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":231599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:36:09] local.INFO: TCP Data received {"connection_id":231599,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf1a2c8012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf1a2c8012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:36:09] local.INFO: Processing buffer {"connection_id":231599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf1a2c8012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:36:09] local.INFO: Packet analysis {"connection_id":231599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf1"} 
[2026-11-05 14:36:09] local.INFO: Extracted packet for processing {"connection_id":231599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf1"} 
[2026-11-05 14:36:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230470144001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793869325000,"timestamp_ms":1793869325000,"timestamp_seconds":1793869325,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf1a2c8"} 
[2026-11-05 14:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:36: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-05 14:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 14:36:09] 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-05 14:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:36:09] 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-05 14:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230470144001,"66":24908,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230470144001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:36:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:36:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230470144001,"power":24908,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":231599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:36:09] local.INFO: GPS data processed {"connection_id":231599,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:36:09] local.INFO: Acknowledgment sent {"connection_id":231599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:36:11] local.INFO: TCP Data received {"connection_id":229747,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:36:11] local.INFO: Processing buffer {"connection_id":229747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:36:11] local.INFO: IMEI packet received {"connection_id":229747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":229747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:36:13] local.INFO: TCP Data received {"connection_id":230272,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c386f0012d0b0a4007059ad00018011025..."} 
[2026-11-05 14:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230272,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c386f0012d0b0a4007059ad00018011025..."} 
[2026-11-05 14:36:13] local.INFO: Processing buffer {"connection_id":230272,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c386f0012d0b0a4007059ad00018011025..."} 
[2026-11-05 14:36:13] local.INFO: Packet analysis {"connection_id":230272,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c3"} 
[2026-11-05 14:36:13] local.INFO: Extracted packet for processing {"connection_id":230272,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c3"} 
[2026-11-05 14:36:13] local.INFO: GPS Element Parsed {"raw_longitude":755698240,"raw_latitude":117807824,"longitude_deg":75.569824,"latitude_deg":11.7807824,"altitude":24,"angle":272,"satellites":37,"speed":18,"hex_longitude":"2d0b0a40","hex_latitude":"07059ad0","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:36:13] 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-05 14:36:13] 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-05 14:36:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:36:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230272,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230272,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230272,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:36:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":230272,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:36:13] local.ERROR: GPS data processing failed {"connection_id":230272,"error":"No valid data to process"} 
[2026-11-05 14:36:13] local.INFO: Acknowledgment sent {"connection_id":230272,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:36:14] local.INFO: TCP Data received {"connection_id":229747,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf1a6b0012d4c8900068fb3d00050008d28..."} 
[2026-11-05 14:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf1a6b0012d4c8900068fb3d00050008d28..."} 
[2026-11-05 14:36:14] local.INFO: Processing buffer {"connection_id":229747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf1a6b0012d4c8900068fb3d00050008d28..."} 
[2026-11-05 14:36:14] local.INFO: Packet analysis {"connection_id":229747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf1"} 
[2026-11-05 14:36:14] local.INFO: Extracted packet for processing {"connection_id":229747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf1"} 
[2026-11-05 14:36:14] local.INFO: GPS Element Parsed {"raw_longitude":759990528,"raw_latitude":110080976,"longitude_deg":75.9990528,"latitude_deg":11.0080976,"altitude":80,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d4c8900","hex_latitude":"068fb3d0","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230542080001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5500091441853974528,"note":"Value kept but may cause issues"} 
[2026-11-05 14:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793869326000,"timestamp_ms":1793869326000,"timestamp_seconds":1793869326,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf1a6b0"} 
[2026-11-05 14: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-05 14:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 14: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-05 14:36: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-05 14: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-05 14: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-05 14:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229747,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229747,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230542080001,"66":28376,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5500091441853974528},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230542080001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:36:14] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:36:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5500091441853974528,"description":"Unknown IO ID 45"} 
[2026-11-05 14:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230542080001,"power":28376,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5500091441853974528}} 
[2026-11-05 14:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":229747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63494,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:36:14] local.INFO: GPS data processed {"connection_id":229747,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:36:14] local.INFO: Acknowledgment sent {"connection_id":229747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:36:32] local.INFO: TCP Data received {"connection_id":230273,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230273,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:36:32] local.INFO: Processing buffer {"connection_id":230273,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:36:32] local.INFO: IMEI packet received {"connection_id":230273,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":230273,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:36:37] local.INFO: TCP Data received {"connection_id":230273,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230273,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:36:37] local.INFO: Processing buffer {"connection_id":230273,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:36:37] local.INFO: IMEI packet received {"connection_id":230273,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":230273,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:36:42] local.INFO: TCP Data received {"connection_id":230273,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c3aa18012d0afc8007059a30001c010127..."} 
[2026-11-05 14:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230273,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c3aa18012d0afc8007059a30001c010127..."} 
[2026-11-05 14:36:42] local.INFO: Processing buffer {"connection_id":230273,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c3aa18012d0afc8007059a30001c010127..."} 
[2026-11-05 14:36:42] local.INFO: Packet analysis {"connection_id":230273,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c3"} 
[2026-11-05 14:36:42] local.INFO: Extracted packet for processing {"connection_id":230273,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c3"} 
[2026-11-05 14:36:42] local.INFO: GPS Element Parsed {"raw_longitude":755694720,"raw_latitude":117807664,"longitude_deg":75.569472,"latitude_deg":11.7807664,"altitude":28,"angle":257,"satellites":39,"speed":10,"hex_longitude":"2d0afc80","hex_latitude":"07059a30","is_valid_coordinates":true} 
[2026-11-05 14:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:36:42] 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-05 14:36:42] 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-05 14:36:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:36:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230273,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230273,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230273,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:36:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":230273,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:36:42] local.ERROR: GPS data processing failed {"connection_id":230273,"error":"No valid data to process"} 
[2026-11-05 14:36:42] local.INFO: Acknowledgment sent {"connection_id":230273,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:36:42] local.INFO: TCP Data received {"connection_id":231599,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf1a2c8012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf1a2c8012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:36:42] local.INFO: Processing buffer {"connection_id":231599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf1a2c8012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:36:42] local.INFO: Packet analysis {"connection_id":231599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf1"} 
[2026-11-05 14:36:42] local.INFO: Extracted packet for processing {"connection_id":231599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf1"} 
[2026-11-05 14:36:42] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230470144001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793869325000,"timestamp_ms":1793869325000,"timestamp_seconds":1793869325,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf1a2c8"} 
[2026-11-05 14:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:36: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-05 14:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 14:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230470144001,"66":24908,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230470144001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:36:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:36:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230470144001,"power":24908,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":231599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:36:42] local.INFO: GPS data processed {"connection_id":231599,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:36:42] local.INFO: Acknowledgment sent {"connection_id":231599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:36:46] local.INFO: TCP Data received {"connection_id":229747,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf1e918012d4c9d00068f7878004e00a529..."} 
[2026-11-05 14:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf1e918012d4c9d00068f7878004e00a529..."} 
[2026-11-05 14:36:46] local.INFO: Processing buffer {"connection_id":229747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf1e918012d4c9d00068f7878004e00a529..."} 
[2026-11-05 14:36:46] local.INFO: Packet analysis {"connection_id":229747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf1"} 
[2026-11-05 14:36:46] local.INFO: Extracted packet for processing {"connection_id":229747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf1"} 
[2026-11-05 14:36:46] local.INFO: GPS Element Parsed {"raw_longitude":759995648,"raw_latitude":110065784,"longitude_deg":75.9995648,"latitude_deg":11.0065784,"altitude":78,"angle":165,"satellites":41,"speed":24,"hex_longitude":"2d4c9d00","hex_latitude":"068f7878","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230547456001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5514939246872612864,"note":"Value kept but may cause issues"} 
[2026-11-05 14:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793869343000,"timestamp_ms":1793869343000,"timestamp_seconds":1793869343,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf1e918"} 
[2026-11-05 14: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-05 14:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 14: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-05 14:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229747,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229747,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230547456001,"66":28332,"49":206,"19":48128,"24":24,"16":20804383495159808,"45":5514939246872612864},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230547456001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:36:46] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:36:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5514939246872612864,"description":"Unknown IO ID 45"} 
[2026-11-05 14:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230547456001,"power":28332,"unknown_49":206,"unknown_19":48128,"ignition":24,"odometer":null,"unknown_45":5514939246872612864}} 
[2026-11-05 14:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":229747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63496,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:36:46] local.INFO: GPS data processed {"connection_id":229747,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:36:46] local.INFO: Acknowledgment sent {"connection_id":229747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:37:05] local.INFO: TCP Data received {"connection_id":230274,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:37:05] local.INFO: Processing buffer {"connection_id":230274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:37:05] local.INFO: IMEI packet received {"connection_id":230274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":230274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:37:06] local.INFO: TCP Data received {"connection_id":233510,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233510,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:37:06] local.INFO: Processing buffer {"connection_id":233510,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:37:06] local.INFO: IMEI packet received {"connection_id":233510,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":233510,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:37:08] local.INFO: TCP Data received {"connection_id":230274,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:37:08] local.INFO: Processing buffer {"connection_id":230274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:37:08] local.INFO: IMEI packet received {"connection_id":230274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":230274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:37:09] local.INFO: TCP Data received {"connection_id":230274,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf1a2c8012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf1a2c8012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:37:09] local.INFO: Processing buffer {"connection_id":230274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf1a2c8012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:37:09] local.INFO: Packet analysis {"connection_id":230274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf1"} 
[2026-11-05 14:37:09] local.INFO: Extracted packet for processing {"connection_id":230274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf1"} 
[2026-11-05 14:37:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230470144001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793869325000,"timestamp_ms":1793869325000,"timestamp_seconds":1793869325,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf1a2c8"} 
[2026-11-05 14: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-05 14:37: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-05 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 14:37:09] 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-05 14: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-05 14: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-05 14:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:37:09] 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-05 14:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230470144001,"66":24908,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230470144001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:37:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:37:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230470144001,"power":24908,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":230274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:37:09] local.INFO: GPS data processed {"connection_id":230274,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:37:09] local.INFO: Acknowledgment sent {"connection_id":230274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:37:11] local.INFO: TCP Data received {"connection_id":233510,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233510,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:37:11] local.INFO: Processing buffer {"connection_id":233510,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:37:11] local.INFO: IMEI packet received {"connection_id":233510,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":233510,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:37:13] local.INFO: TCP Data received {"connection_id":230273,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c3f838012d0ae640070593580023011f26..."} 
[2026-11-05 14:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230273,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c3f838012d0ae640070593580023011f26..."} 
[2026-11-05 14:37:13] local.INFO: Processing buffer {"connection_id":230273,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c3f838012d0ae640070593580023011f26..."} 
[2026-11-05 14:37:13] local.INFO: Packet analysis {"connection_id":230273,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c3"} 
[2026-11-05 14:37:13] local.INFO: Extracted packet for processing {"connection_id":230273,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c3"} 
[2026-11-05 14:37:13] local.INFO: GPS Element Parsed {"raw_longitude":755689024,"raw_latitude":117805912,"longitude_deg":75.5689024,"latitude_deg":11.7805912,"altitude":35,"angle":287,"satellites":38,"speed":15,"hex_longitude":"2d0ae640","hex_latitude":"07059358","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:37:13] 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-05 14:37:13] 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-05 14:37:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:37:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230273,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230273,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230273,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:37:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":230273,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:37:13] local.ERROR: GPS data processing failed {"connection_id":230273,"error":"No valid data to process"} 
[2026-11-05 14:37:13] local.INFO: Acknowledgment sent {"connection_id":230273,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:37:13] local.INFO: TCP Data received {"connection_id":233510,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf23b20012d4c9d00068f7878004e00a529..."} 
[2026-11-05 14:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf23b20012d4c9d00068f7878004e00a529..."} 
[2026-11-05 14:37:13] local.INFO: Processing buffer {"connection_id":233510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf23b20012d4c9d00068f7878004e00a529..."} 
[2026-11-05 14:37:13] local.INFO: Packet analysis {"connection_id":233510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf2"} 
[2026-11-05 14:37:13] local.INFO: Extracted packet for processing {"connection_id":233510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf2"} 
[2026-11-05 14:37:13] local.INFO: GPS Element Parsed {"raw_longitude":759995648,"raw_latitude":110065784,"longitude_deg":75.9995648,"latitude_deg":11.0065784,"altitude":78,"angle":165,"satellites":41,"speed":0,"hex_longitude":"2d4c9d00","hex_latitude":"068f7878","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230551808001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5520568746402936832,"note":"Value kept but may cause issues"} 
[2026-11-05 14:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793869364000,"timestamp_ms":1793869364000,"timestamp_seconds":1793869364,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf23b20"} 
[2026-11-05 14: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-05 14:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-05 14: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":172,"data_length":795,"current_offset":136} 
[2026-11-05 14:37:13] 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-05 14: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-05 14: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-05 14:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":233510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":233510,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":233510,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230551808001,"66":28485,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5520568746402936832},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230551808001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:37:13] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:37:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5520568746402936832,"description":"Unknown IO ID 45"} 
[2026-11-05 14:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230551808001,"power":28485,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5520568746402936832}} 
[2026-11-05 14:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":233510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63498,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:37:13] local.INFO: GPS data processed {"connection_id":233510,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:37:13] local.INFO: Acknowledgment sent {"connection_id":233510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:37:31] local.INFO: TCP Data received {"connection_id":230275,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230275,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:37:31] local.INFO: Processing buffer {"connection_id":230275,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:37:31] local.INFO: IMEI packet received {"connection_id":230275,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":230275,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:37:37] local.INFO: TCP Data received {"connection_id":230275,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230275,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:37:37] local.INFO: Processing buffer {"connection_id":230275,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:37:37] local.INFO: IMEI packet received {"connection_id":230275,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":230275,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:37:41] local.INFO: TCP Data received {"connection_id":230274,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf1a2c8012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf1a2c8012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:37:41] local.INFO: Processing buffer {"connection_id":230274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf1a2c8012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:37:41] local.INFO: Packet analysis {"connection_id":230274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf1"} 
[2026-11-05 14:37:41] local.INFO: Extracted packet for processing {"connection_id":230274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf1"} 
[2026-11-05 14:37:41] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230470144001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793869325000,"timestamp_ms":1793869325000,"timestamp_seconds":1793869325,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf1a2c8"} 
[2026-11-05 14: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-05 14:37: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-05 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 14:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:37: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-05 14:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230470144001,"66":24908,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230470144001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:37:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:37:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230470144001,"power":24908,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":230274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:37:41] local.INFO: GPS data processed {"connection_id":230274,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:37:41] local.INFO: Acknowledgment sent {"connection_id":230274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:37:42] local.INFO: TCP Data received {"connection_id":230275,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c3fc20012d0ae4c0070593f00023012c26..."} 
[2026-11-05 14:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230275,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c3fc20012d0ae4c0070593f00023012c26..."} 
[2026-11-05 14:37:42] local.INFO: Processing buffer {"connection_id":230275,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c3fc20012d0ae4c0070593f00023012c26..."} 
[2026-11-05 14:37:42] local.INFO: Packet analysis {"connection_id":230275,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c3"} 
[2026-11-05 14:37:42] local.INFO: Extracted packet for processing {"connection_id":230275,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c3"} 
[2026-11-05 14:37:42] local.INFO: GPS Element Parsed {"raw_longitude":755688640,"raw_latitude":117806064,"longitude_deg":75.568864,"latitude_deg":11.7806064,"altitude":35,"angle":300,"satellites":38,"speed":15,"hex_longitude":"2d0ae4c0","hex_latitude":"070593f0","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:37:42] 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-05 14:37:42] 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-05 14:37:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:37:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230275,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230275,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230275,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:37:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":230275,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:37:42] local.ERROR: GPS data processing failed {"connection_id":230275,"error":"No valid data to process"} 
[2026-11-05 14:37:42] local.INFO: Acknowledgment sent {"connection_id":230275,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:37:46] local.INFO: TCP Data received {"connection_id":233510,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf28558012d4ccc00068f53a80048006e28..."} 
[2026-11-05 14:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf28558012d4ccc00068f53a80048006e28..."} 
[2026-11-05 14:37:46] local.INFO: Processing buffer {"connection_id":233510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf28558012d4ccc00068f53a80048006e28..."} 
[2026-11-05 14:37:46] local.INFO: Packet analysis {"connection_id":233510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf2"} 
[2026-11-05 14:37:46] local.INFO: Extracted packet for processing {"connection_id":233510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf2"} 
[2026-11-05 14:37:46] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056360,"longitude_deg":76.000768,"latitude_deg":11.005636,"altitude":72,"angle":110,"satellites":40,"speed":30,"hex_longitude":"2d4ccc00","hex_latitude":"068f53a8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230557184001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5520568746402936832,"note":"Value kept but may cause issues"} 
[2026-11-05 14:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793869383000,"timestamp_ms":1793869383000,"timestamp_seconds":1793869383,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf28558"} 
[2026-11-05 14: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-05 14:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 14: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":69,"data_length":795,"current_offset":136} 
[2026-11-05 14:37:46] 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-05 14: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-05 14: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-05 14:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":233510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":233510,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":233510,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230557184001,"66":28376,"49":206,"19":48128,"24":30,"16":20804383495159808,"45":5520568746402936832},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230557184001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:37:46] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:37:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5520568746402936832,"description":"Unknown IO ID 45"} 
[2026-11-05 14:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230557184001,"power":28376,"unknown_49":206,"unknown_19":48128,"ignition":30,"odometer":null,"unknown_45":5520568746402936832}} 
[2026-11-05 14:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":233510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63500,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:37:46] local.INFO: GPS data processed {"connection_id":233510,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:37:46] local.INFO: Acknowledgment sent {"connection_id":233510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:38:08] local.INFO: TCP Data received {"connection_id":233511,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:38:08] local.INFO: Processing buffer {"connection_id":233511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:38:08] local.INFO: IMEI packet received {"connection_id":233511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":233511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:38:11] local.INFO: TCP Data received {"connection_id":233512,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:38:11] local.INFO: Processing buffer {"connection_id":233512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:38:11] local.INFO: IMEI packet received {"connection_id":233512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":233512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:38:13] local.INFO: TCP Data received {"connection_id":233511,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:38:13] local.INFO: Processing buffer {"connection_id":233511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:38:13] local.INFO: IMEI packet received {"connection_id":233511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":233511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:38:14] local.INFO: TCP Data received {"connection_id":233511,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf63a90012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf63a90012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:38:14] local.INFO: Processing buffer {"connection_id":233511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf63a90012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:38:14] local.INFO: Packet analysis {"connection_id":233511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf6"} 
[2026-11-05 14:38:14] local.INFO: Extracted packet for processing {"connection_id":233511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf6"} 
[2026-11-05 14:38:14] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230547200001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793869626000,"timestamp_ms":1793869626000,"timestamp_seconds":1793869626,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf63a90"} 
[2026-11-05 14: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-05 14:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-11-05 14:38:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230547200001,"66":25473,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230547200001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:38:14] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:38:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230547200001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:38:14] local.INFO: TCP Data received {"connection_id":230275,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c403f0012d0ae1c0070594b00024010d28..."} 
[2026-11-05 14:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230275,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c403f0012d0ae1c0070594b00024010d28..."} 
[2026-11-05 14:38:14] local.INFO: Processing buffer {"connection_id":230275,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c403f0012d0ae1c0070594b00024010d28..."} 
[2026-11-05 14:38:14] local.INFO: Packet analysis {"connection_id":230275,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c4"} 
[2026-11-05 14:38:14] local.INFO: Extracted packet for processing {"connection_id":230275,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c4"} 
[2026-11-05 14:38:14] local.INFO: GPS Element Parsed {"raw_longitude":755687872,"raw_latitude":117806256,"longitude_deg":75.5687872,"latitude_deg":11.7806256,"altitude":36,"angle":269,"satellites":40,"speed":15,"hex_longitude":"2d0ae1c0","hex_latitude":"070594b0","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:38:14] 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-05 14:38:14] 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-05 14:38:14] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:38:14] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230275,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230275,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230275,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:38:14] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":230275,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:38:14] local.ERROR: GPS data processing failed {"connection_id":230275,"error":"No valid data to process"} 
[2026-11-05 14:38:14] local.INFO: Acknowledgment sent {"connection_id":230275,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":233511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:38:14] local.INFO: GPS data processed {"connection_id":233511,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:38:14] local.INFO: Acknowledgment sent {"connection_id":233511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:38:16] local.INFO: TCP Data received {"connection_id":233512,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:38:16] local.INFO: Processing buffer {"connection_id":233512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:38:16] local.INFO: IMEI packet received {"connection_id":233512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":233512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:38:19] local.INFO: TCP Data received {"connection_id":233511,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf63a90012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf63a90012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:38:19] local.INFO: Processing buffer {"connection_id":233511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf63a90012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:38:19] local.INFO: Packet analysis {"connection_id":233511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf6"} 
[2026-11-05 14:38:19] local.INFO: Extracted packet for processing {"connection_id":233511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf6"} 
[2026-11-05 14:38:19] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230547200001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793869626000,"timestamp_ms":1793869626000,"timestamp_seconds":1793869626,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf63a90"} 
[2026-11-05 14: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-05 14:38: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-05 14: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":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-11-05 14:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":233511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":233511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":233511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:38:19] 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-05 14:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230547200001,"66":25473,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230547200001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:38:19] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:38:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230547200001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":233511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:38:19] local.INFO: GPS data processed {"connection_id":233511,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:38:19] local.INFO: Acknowledgment sent {"connection_id":233511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:38:19] local.INFO: TCP Data received {"connection_id":233512,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf2d760012d4ccc00068f53a80048006e28..."} 
[2026-11-05 14:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf2d760012d4ccc00068f53a80048006e28..."} 
[2026-11-05 14:38:19] local.INFO: Processing buffer {"connection_id":233512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf2d760012d4ccc00068f53a80048006e28..."} 
[2026-11-05 14:38:19] local.INFO: Packet analysis {"connection_id":233512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf2"} 
[2026-11-05 14:38:19] local.INFO: Extracted packet for processing {"connection_id":233512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf2"} 
[2026-11-05 14:38:19] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056360,"longitude_deg":76.000768,"latitude_deg":11.005636,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f53a8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230562048001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305925120,"note":"Value kept but may cause issues"} 
[2026-11-05 14:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793869404000,"timestamp_ms":1793869404000,"timestamp_seconds":1793869404,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf2d760"} 
[2026-11-05 14: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-05 14:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 14: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-05 14:38: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-05 14: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-05 14: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-05 14:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":233512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":233512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":233512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230562048001,"66":28485,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305925120},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230562048001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:38:19] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:38:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305925120,"description":"Unknown IO ID 45"} 
[2026-11-05 14:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230562048001,"power":28485,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305925120}} 
[2026-11-05 14:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":233512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63503,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:38:19] local.INFO: GPS data processed {"connection_id":233512,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:38:19] local.INFO: Acknowledgment sent {"connection_id":233512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:38:21] local.INFO: TCP Data received {"connection_id":233512,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf32968012d4ccc00068f53a80048006e28..."} 
[2026-11-05 14:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf32968012d4ccc00068f53a80048006e28..."} 
[2026-11-05 14:38:21] local.INFO: Processing buffer {"connection_id":233512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf32968012d4ccc00068f53a80048006e28..."} 
[2026-11-05 14:38:21] local.INFO: Packet analysis {"connection_id":233512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf3"} 
[2026-11-05 14:38:21] local.INFO: Extracted packet for processing {"connection_id":233512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf3"} 
[2026-11-05 14:38:21] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056360,"longitude_deg":76.000768,"latitude_deg":11.005636,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f53a8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230567424001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305925120,"note":"Value kept but may cause issues"} 
[2026-11-05 14:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793869425000,"timestamp_ms":1793869425000,"timestamp_seconds":1793869425,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf32968"} 
[2026-11-05 14: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-05 14:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 14: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":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-11-05 14:38:21] 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-05 14: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-05 14: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-05 14:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":233512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":233512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":233512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230567424001,"66":28485,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305925120},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230567424001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:38:21] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:38:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305925120,"description":"Unknown IO ID 45"} 
[2026-11-05 14:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230567424001,"power":28485,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305925120}} 
[2026-11-05 14:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":233512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63504,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:38:21] local.INFO: GPS data processed {"connection_id":233512,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:38:21] local.INFO: Acknowledgment sent {"connection_id":233512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:38:34] local.INFO: TCP Data received {"connection_id":230276,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230276,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:38:34] local.INFO: Processing buffer {"connection_id":230276,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:38:34] local.INFO: IMEI packet received {"connection_id":230276,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":230276,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:38:37] local.INFO: TCP Data received {"connection_id":230276,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230276,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:38:37] local.INFO: Processing buffer {"connection_id":230276,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:38:37] local.INFO: IMEI packet received {"connection_id":230276,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":230276,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:38:38] local.INFO: TCP Data received {"connection_id":230276,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1aaf79638012d0b13000702a1700000007522..."} 
[2026-11-05 14:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230276,"packet_length":93,"packet_hex":"00000000000000518e01000001a1aaf79638012d0b13000702a1700000007522..."} 
[2026-11-05 14:38:38] local.INFO: Processing buffer {"connection_id":230276,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1aaf79638012d0b13000702a1700000007522..."} 
[2026-11-05 14:38:38] local.INFO: Packet analysis {"connection_id":230276,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1aaf7"} 
[2026-11-05 14:38:38] local.INFO: Extracted packet for processing {"connection_id":230276,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1aaf7"} 
[2026-11-05 14:38:38] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612912,"longitude_deg":75.570048,"latitude_deg":11.7612912,"altitude":0,"angle":117,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a170","is_valid_coordinates":true} 
[2026-11-05 14:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:38:38] 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-05 14:38:38] 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-05 14:38:38] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:38:38] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":230276,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":230276,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":230276,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:38:38] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":230276,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:38:38] local.ERROR: GPS data processing failed {"connection_id":230276,"error":"No valid data to process"} 
[2026-11-05 14:38:38] local.INFO: Acknowledgment sent {"connection_id":230276,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:39:03] local.INFO: TCP Data received {"connection_id":230277,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:39:03] local.INFO: Processing buffer {"connection_id":230277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:39:03] local.INFO: IMEI packet received {"connection_id":230277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":230277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:39:08] local.INFO: TCP Data received {"connection_id":230277,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:39:08] local.INFO: Processing buffer {"connection_id":230277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:39:08] local.INFO: IMEI packet received {"connection_id":230277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":230277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:39:09] local.INFO: TCP Data received {"connection_id":230277,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf63a90012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf63a90012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:39:09] local.INFO: Processing buffer {"connection_id":230277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf63a90012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:39:09] local.INFO: Packet analysis {"connection_id":230277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf6"} 
[2026-11-05 14:39:09] local.INFO: Extracted packet for processing {"connection_id":230277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf6"} 
[2026-11-05 14:39:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230547200001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793869626000,"timestamp_ms":1793869626000,"timestamp_seconds":1793869626,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf63a90"} 
[2026-11-05 14:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:39: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-05 14:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-11-05 14:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:39:09] 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-05 14:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230547200001,"66":25473,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230547200001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:39:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:39:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230547200001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:39:09] 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":63505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:39:09] local.INFO: GPS data processed {"connection_id":230277,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:39:09] local.INFO: Acknowledgment sent {"connection_id":230277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:39:10] local.INFO: TCP Data received {"connection_id":230276,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9c407d8012d0ae000070594680024010028..."} 
[2026-11-05 14:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230276,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c407d8012d0ae000070594680024010028..."} 
[2026-11-05 14:39:10] local.INFO: Processing buffer {"connection_id":230276,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c407d8012d0ae000070594680024010028..."} 
[2026-11-05 14:39:10] local.INFO: Packet analysis {"connection_id":230276,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c4"} 
[2026-11-05 14:39:10] local.INFO: Extracted packet for processing {"connection_id":230276,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c4"} 
[2026-11-05 14:39:10] local.INFO: GPS Element Parsed {"raw_longitude":755687424,"raw_latitude":117806184,"longitude_deg":75.5687424,"latitude_deg":11.7806184,"altitude":36,"angle":256,"satellites":40,"speed":18,"hex_longitude":"2d0ae000","hex_latitude":"07059468","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:39:10] 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-05 14:39:10] 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-05 14:39:10] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:39:10] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230276,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230276,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230276,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:39:10] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":230276,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:39:10] local.ERROR: GPS data processing failed {"connection_id":230276,"error":"No valid data to process"} 
[2026-11-05 14:39:10] local.INFO: Acknowledgment sent {"connection_id":230276,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:39:31] local.INFO: TCP Data received {"connection_id":231600,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231600,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:39:31] local.INFO: Processing buffer {"connection_id":231600,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:39:31] local.INFO: IMEI packet received {"connection_id":231600,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":231600,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:39:37] local.INFO: TCP Data received {"connection_id":231600,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231600,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:39:37] local.INFO: Processing buffer {"connection_id":231600,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:39:37] local.INFO: IMEI packet received {"connection_id":231600,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":231600,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:39:42] local.INFO: TCP Data received {"connection_id":230277,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf63a90012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf63a90012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:39:42] local.INFO: Processing buffer {"connection_id":230277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf63a90012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:39:42] local.INFO: Packet analysis {"connection_id":230277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf6"} 
[2026-11-05 14:39:42] local.INFO: Extracted packet for processing {"connection_id":230277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf6"} 
[2026-11-05 14:39:42] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230547200001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793869626000,"timestamp_ms":1793869626000,"timestamp_seconds":1793869626,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf63a90"} 
[2026-11-05 14:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:39: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-05 14:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-11-05 14:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230547200001,"66":25473,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230547200001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:39:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:39:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230547200001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:39: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":63506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:39:42] local.INFO: GPS data processed {"connection_id":230277,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:39:42] local.INFO: Acknowledgment sent {"connection_id":230277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:39:42] local.INFO: TCP Data received {"connection_id":231600,"ip":"42.106.6.39","data_length":93,"data_hex":"00000000000000518e01000001a1a9c44658012d0abc8007058bd80025010527..."} 
[2026-11-05 14:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231600,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c44658012d0abc8007058bd80025010527..."} 
[2026-11-05 14:39:42] local.INFO: Processing buffer {"connection_id":231600,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c44658012d0abc8007058bd80025010527..."} 
[2026-11-05 14:39:42] local.INFO: Packet analysis {"connection_id":231600,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c4"} 
[2026-11-05 14:39:42] local.INFO: Extracted packet for processing {"connection_id":231600,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c4"} 
[2026-11-05 14:39:42] local.INFO: GPS Element Parsed {"raw_longitude":755678336,"raw_latitude":117803992,"longitude_deg":75.5678336,"latitude_deg":11.7803992,"altitude":37,"angle":261,"satellites":39,"speed":20,"hex_longitude":"2d0abc80","hex_latitude":"07058bd8","is_valid_coordinates":true} 
[2026-11-05 14:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:39:42] 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-05 14:39:42] 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-05 14:39:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:39:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231600,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231600,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231600,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:39:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":231600,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:39:42] local.ERROR: GPS data processing failed {"connection_id":231600,"error":"No valid data to process"} 
[2026-11-05 14:39:42] local.INFO: Acknowledgment sent {"connection_id":231600,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:40:03] local.INFO: TCP Data received {"connection_id":229748,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:40:03] local.INFO: Processing buffer {"connection_id":229748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:40:03] local.INFO: IMEI packet received {"connection_id":229748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":229748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:40:09] local.INFO: TCP Data received {"connection_id":229748,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:40:09] local.INFO: Processing buffer {"connection_id":229748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:40:09] local.INFO: IMEI packet received {"connection_id":229748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":229748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:40:10] local.INFO: TCP Data received {"connection_id":229748,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf63a90012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf63a90012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:40:10] local.INFO: Processing buffer {"connection_id":229748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf63a90012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:40:10] local.INFO: Packet analysis {"connection_id":229748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf6"} 
[2026-11-05 14:40:10] local.INFO: Extracted packet for processing {"connection_id":229748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf6"} 
[2026-11-05 14:40:10] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230547200001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793869626000,"timestamp_ms":1793869626000,"timestamp_seconds":1793869626,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf63a90"} 
[2026-11-05 14:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 14:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-11-05 14:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230547200001,"66":25473,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230547200001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:40:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:40:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230547200001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":229748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:40:10] local.INFO: GPS data processed {"connection_id":229748,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:40:10] local.INFO: Acknowledgment sent {"connection_id":229748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:40:10] local.INFO: TCP Data received {"connection_id":229749,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229749,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:40:10] local.INFO: Processing buffer {"connection_id":229749,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:40:10] local.INFO: IMEI packet received {"connection_id":229749,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":229749,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:40:13] local.INFO: TCP Data received {"connection_id":231600,"ip":"42.106.6.39","data_length":93,"data_hex":"00000000000000518e01000001a1a9c49478012d0ab540070589f0002300fb27..."} 
[2026-11-05 14:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231600,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c49478012d0ab540070589f0002300fb27..."} 
[2026-11-05 14:40:13] local.INFO: Processing buffer {"connection_id":231600,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c49478012d0ab540070589f0002300fb27..."} 
[2026-11-05 14:40:13] local.INFO: Packet analysis {"connection_id":231600,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c4"} 
[2026-11-05 14:40:13] local.INFO: Extracted packet for processing {"connection_id":231600,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c4"} 
[2026-11-05 14:40:13] local.INFO: GPS Element Parsed {"raw_longitude":755676480,"raw_latitude":117803504,"longitude_deg":75.567648,"latitude_deg":11.7803504,"altitude":35,"angle":251,"satellites":39,"speed":0,"hex_longitude":"2d0ab540","hex_latitude":"070589f0","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:40:13] 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-05 14:40:13] 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-05 14:40:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:40:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":231600,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":231600,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":231600,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:40:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":231600,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:40:13] local.ERROR: GPS data processing failed {"connection_id":231600,"error":"No valid data to process"} 
[2026-11-05 14:40:13] local.INFO: Acknowledgment sent {"connection_id":231600,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:40:16] local.INFO: TCP Data received {"connection_id":229749,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229749,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:40:16] local.INFO: Processing buffer {"connection_id":229749,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:40:16] local.INFO: IMEI packet received {"connection_id":229749,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":229749,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:40:21] local.INFO: TCP Data received {"connection_id":229749,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229749,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:40:21] local.INFO: Processing buffer {"connection_id":229749,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:40:21] local.INFO: IMEI packet received {"connection_id":229749,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":229749,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:40:23] local.INFO: TCP Data received {"connection_id":229749,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf33908012d4ccc00068f53a80048006e28..."} 
[2026-11-05 14:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf33908012d4ccc00068f53a80048006e28..."} 
[2026-11-05 14:40:23] local.INFO: Processing buffer {"connection_id":229749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf33908012d4ccc00068f53a80048006e28..."} 
[2026-11-05 14:40:23] local.INFO: Packet analysis {"connection_id":229749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf3"} 
[2026-11-05 14:40:23] local.INFO: Extracted packet for processing {"connection_id":229749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf3"} 
[2026-11-05 14:40:23] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056360,"longitude_deg":76.000768,"latitude_deg":11.005636,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f53a8","is_valid_coordinates":true} 
[2026-11-05 14:40: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-05 14:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230572800001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305925120,"note":"Value kept but may cause issues"} 
[2026-11-05 14:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793869429000,"timestamp_ms":1793869429000,"timestamp_seconds":1793869429,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf33908"} 
[2026-11-05 14:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:40:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-05 14:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-11-05 14:40:23] 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-05 14:40:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":229749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":229749,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":229749,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230572800001,"66":28300,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305925120},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230572800001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:40:23] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:40:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305925120,"description":"Unknown IO ID 45"} 
[2026-11-05 14:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230572800001,"power":28300,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305925120}} 
[2026-11-05 14:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":229749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63508,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:40:24] local.INFO: GPS data processed {"connection_id":229749,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:40:24] local.INFO: Acknowledgment sent {"connection_id":229749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:40:28] local.INFO: TCP Data received {"connection_id":229749,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf7e070012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf7e070012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:40:28] local.INFO: Processing buffer {"connection_id":229749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf7e070012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:40:28] local.INFO: Packet analysis {"connection_id":229749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf7"} 
[2026-11-05 14:40:28] local.INFO: Extracted packet for processing {"connection_id":229749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf7"} 
[2026-11-05 14:40:28] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230573824001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305925120,"note":"Value kept but may cause issues"} 
[2026-11-05 14:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1793869734000,"timestamp_ms":1793869734000,"timestamp_seconds":1793869734,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf7e070"} 
[2026-11-05 14:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-05 14:40: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-05 14:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":229749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":229749,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":229749,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230573824001,"66":26984,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305925120},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230573824001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:40:28] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:40:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305925120,"description":"Unknown IO ID 45"} 
[2026-11-05 14:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230573824001,"power":26984,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305925120}} 
[2026-11-05 14:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":229749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63509,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:40:28] local.INFO: GPS data processed {"connection_id":229749,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:40:28] local.INFO: Acknowledgment sent {"connection_id":229749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:40:31] local.INFO: TCP Data received {"connection_id":231601,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231601,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:40:31] local.INFO: Processing buffer {"connection_id":231601,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:40:31] local.INFO: IMEI packet received {"connection_id":231601,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":231601,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:40:36] local.INFO: TCP Data received {"connection_id":231601,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231601,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:40:36] local.INFO: Processing buffer {"connection_id":231601,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:40:36] local.INFO: IMEI packet received {"connection_id":231601,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":231601,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:40:41] local.INFO: TCP Data received {"connection_id":229748,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf63a90012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf63a90012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:40:41] local.INFO: Processing buffer {"connection_id":229748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf63a90012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:40:41] local.INFO: Packet analysis {"connection_id":229748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf6"} 
[2026-11-05 14:40:41] local.INFO: Extracted packet for processing {"connection_id":229748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf6"} 
[2026-11-05 14:40:41] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230547200001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793869626000,"timestamp_ms":1793869626000,"timestamp_seconds":1793869626,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf63a90"} 
[2026-11-05 14:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:40: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-05 14:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-11-05 14:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:40: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-05 14:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230547200001,"66":25473,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230547200001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:40:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:40:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230547200001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":229748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:40:41] local.INFO: GPS data processed {"connection_id":229748,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:40:41] local.INFO: Acknowledgment sent {"connection_id":229748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:40:41] local.INFO: TCP Data received {"connection_id":231601,"ip":"42.106.6.35","data_length":93,"data_hex":"00000000000000518e01000001a1a9c4cf10012d0ab440070589900023010f28..."} 
[2026-11-05 14:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231601,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c4cf10012d0ab440070589900023010f28..."} 
[2026-11-05 14:40:41] local.INFO: Processing buffer {"connection_id":231601,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c4cf10012d0ab440070589900023010f28..."} 
[2026-11-05 14:40:41] local.INFO: Packet analysis {"connection_id":231601,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c4"} 
[2026-11-05 14:40:41] local.INFO: Extracted packet for processing {"connection_id":231601,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c4"} 
[2026-11-05 14:40:41] local.INFO: GPS Element Parsed {"raw_longitude":755676224,"raw_latitude":117803408,"longitude_deg":75.5676224,"latitude_deg":11.7803408,"altitude":35,"angle":271,"satellites":40,"speed":4,"hex_longitude":"2d0ab440","hex_latitude":"07058990","is_valid_coordinates":true} 
[2026-11-05 14:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:40:41] 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-05 14:40:41] 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-05 14:40:41] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:40:41] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231601,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231601,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231601,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:40:41] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":231601,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:40:41] local.ERROR: GPS data processing failed {"connection_id":231601,"error":"No valid data to process"} 
[2026-11-05 14:40:41] local.INFO: Acknowledgment sent {"connection_id":231601,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:41:04] local.INFO: TCP Data received {"connection_id":233513,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:41:04] local.INFO: Processing buffer {"connection_id":233513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:41:04] local.INFO: IMEI packet received {"connection_id":233513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":233513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:41:06] local.INFO: TCP Data received {"connection_id":233514,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233514,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:41:06] local.INFO: Processing buffer {"connection_id":233514,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:41:06] local.INFO: IMEI packet received {"connection_id":233514,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":233514,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:41:08] local.INFO: TCP Data received {"connection_id":233513,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:41:08] local.INFO: Processing buffer {"connection_id":233513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:41:08] local.INFO: IMEI packet received {"connection_id":233513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":233513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:41:09] local.INFO: TCP Data received {"connection_id":233513,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf63a90012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf63a90012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:41:09] local.INFO: Processing buffer {"connection_id":233513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf63a90012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:41:09] local.INFO: Packet analysis {"connection_id":233513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf6"} 
[2026-11-05 14:41:09] local.INFO: Extracted packet for processing {"connection_id":233513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf6"} 
[2026-11-05 14:41:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230547200001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793869626000,"timestamp_ms":1793869626000,"timestamp_seconds":1793869626,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf63a90"} 
[2026-11-05 14:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:41: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-05 14:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-11-05 14:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230547200001,"66":25473,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230547200001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:41:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:41:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230547200001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":233513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:41:09] local.INFO: GPS data processed {"connection_id":233513,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:41:09] local.INFO: Acknowledgment sent {"connection_id":233513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:41:11] local.INFO: TCP Data received {"connection_id":233514,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233514,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:41:11] local.INFO: Processing buffer {"connection_id":233514,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:41:11] local.INFO: IMEI packet received {"connection_id":233514,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":233514,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:41:13] local.INFO: TCP Data received {"connection_id":231601,"ip":"42.106.6.35","data_length":93,"data_hex":"00000000000000518e01000001a1a9c4d6e0012d0ab240070589500023010328..."} 
[2026-11-05 14:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231601,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c4d6e0012d0ab240070589500023010328..."} 
[2026-11-05 14:41:13] local.INFO: Processing buffer {"connection_id":231601,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c4d6e0012d0ab240070589500023010328..."} 
[2026-11-05 14:41:13] local.INFO: Packet analysis {"connection_id":231601,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c4"} 
[2026-11-05 14:41:13] local.INFO: Extracted packet for processing {"connection_id":231601,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c4"} 
[2026-11-05 14:41:13] local.INFO: GPS Element Parsed {"raw_longitude":755675712,"raw_latitude":117803344,"longitude_deg":75.5675712,"latitude_deg":11.7803344,"altitude":35,"angle":259,"satellites":40,"speed":13,"hex_longitude":"2d0ab240","hex_latitude":"07058950","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:41:13] 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-05 14:41:13] 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-05 14:41:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:41:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":231601,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":231601,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":231601,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:41:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":231601,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:41:13] local.ERROR: GPS data processing failed {"connection_id":231601,"error":"No valid data to process"} 
[2026-11-05 14:41:13] local.INFO: Acknowledgment sent {"connection_id":231601,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:41:15] local.INFO: TCP Data received {"connection_id":233514,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf7e070012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf7e070012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:41:15] local.INFO: Processing buffer {"connection_id":233514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf7e070012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:41:15] local.INFO: Packet analysis {"connection_id":233514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf7"} 
[2026-11-05 14:41:15] local.INFO: Extracted packet for processing {"connection_id":233514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf7"} 
[2026-11-05 14:41:15] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230573824001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305925120,"note":"Value kept but may cause issues"} 
[2026-11-05 14:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793869734000,"timestamp_ms":1793869734000,"timestamp_seconds":1793869734,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf7e070"} 
[2026-11-05 14: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-05 14:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":140,"data_length":795,"current_offset":136} 
[2026-11-05 14:41: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-05 14: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-05 14: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-05 14:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233514,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233514,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230573824001,"66":26984,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305925120},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230573824001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:41:15] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:41:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305925120,"description":"Unknown IO ID 45"} 
[2026-11-05 14:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230573824001,"power":26984,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305925120}} 
[2026-11-05 14:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":233514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63512,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:41:15] local.INFO: GPS data processed {"connection_id":233514,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:41:15] local.INFO: Acknowledgment sent {"connection_id":233514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:41:31] local.INFO: TCP Data received {"connection_id":229750,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229750,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:41:31] local.INFO: Processing buffer {"connection_id":229750,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:41:31] local.INFO: IMEI packet received {"connection_id":229750,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":229750,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:41:37] local.INFO: TCP Data received {"connection_id":229750,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229750,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:41:37] local.INFO: Processing buffer {"connection_id":229750,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:41:37] local.INFO: IMEI packet received {"connection_id":229750,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":229750,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:41:40] local.INFO: TCP Data received {"connection_id":233513,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf63a90012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf63a90012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:41:40] local.INFO: Processing buffer {"connection_id":233513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf63a90012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:41:40] local.INFO: Packet analysis {"connection_id":233513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf6"} 
[2026-11-05 14:41:40] local.INFO: Extracted packet for processing {"connection_id":233513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf6"} 
[2026-11-05 14:41:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230547200001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793869626000,"timestamp_ms":1793869626000,"timestamp_seconds":1793869626,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf63a90"} 
[2026-11-05 14:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 14:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-11-05 14:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230547200001,"66":25473,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230547200001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:41:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:41:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230547200001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":233513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:41:40] local.INFO: GPS data processed {"connection_id":233513,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:41:40] local.INFO: Acknowledgment sent {"connection_id":233513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:41:41] local.INFO: TCP Data received {"connection_id":229750,"ip":"42.106.6.35","data_length":93,"data_hex":"00000000000000518e01000001a1a9c4e298012d0aacc0070587a0002300f727..."} 
[2026-11-05 14:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229750,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c4e298012d0aacc0070587a0002300f727..."} 
[2026-11-05 14:41:41] local.INFO: Processing buffer {"connection_id":229750,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c4e298012d0aacc0070587a0002300f727..."} 
[2026-11-05 14:41:41] local.INFO: Packet analysis {"connection_id":229750,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c4"} 
[2026-11-05 14:41:41] local.INFO: Extracted packet for processing {"connection_id":229750,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c4"} 
[2026-11-05 14:41:41] local.INFO: GPS Element Parsed {"raw_longitude":755674304,"raw_latitude":117802912,"longitude_deg":75.5674304,"latitude_deg":11.7802912,"altitude":35,"angle":247,"satellites":39,"speed":21,"hex_longitude":"2d0aacc0","hex_latitude":"070587a0","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:41:41] 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-05 14:41:41] 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-05 14:41:41] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:41:41] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229750,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229750,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229750,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:41:41] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":229750,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:41:41] local.ERROR: GPS data processing failed {"connection_id":229750,"error":"No valid data to process"} 
[2026-11-05 14:41:41] local.INFO: Acknowledgment sent {"connection_id":229750,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:41:47] local.INFO: TCP Data received {"connection_id":233514,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf7e070012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf7e070012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:41:47] local.INFO: Processing buffer {"connection_id":233514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf7e070012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:41:47] local.INFO: Packet analysis {"connection_id":233514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf7"} 
[2026-11-05 14:41:47] local.INFO: Extracted packet for processing {"connection_id":233514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf7"} 
[2026-11-05 14:41:47] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230573824001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305925120,"note":"Value kept but may cause issues"} 
[2026-11-05 14:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793869734000,"timestamp_ms":1793869734000,"timestamp_seconds":1793869734,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf7e070"} 
[2026-11-05 14: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-05 14:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-05 14:41: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-05 14: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-05 14: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-05 14:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":233514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":233514,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":233514,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230573824001,"66":26984,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305925120},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230573824001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:41:47] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:41:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305925120,"description":"Unknown IO ID 45"} 
[2026-11-05 14:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230573824001,"power":26984,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305925120}} 
[2026-11-05 14:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":233514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63514,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:41:48] local.INFO: GPS data processed {"connection_id":233514,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:41:48] local.INFO: Acknowledgment sent {"connection_id":233514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:42:03] local.INFO: TCP Data received {"connection_id":229751,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:42:03] local.INFO: Processing buffer {"connection_id":229751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:42:03] local.INFO: IMEI packet received {"connection_id":229751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":229751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:42:10] local.INFO: TCP Data received {"connection_id":229751,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:42:10] local.INFO: Processing buffer {"connection_id":229751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:42:10] local.INFO: IMEI packet received {"connection_id":229751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":229751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:42:12] local.INFO: TCP Data received {"connection_id":229751,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf63a90012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf63a90012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:42:12] local.INFO: Processing buffer {"connection_id":229751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf63a90012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:42:12] local.INFO: Packet analysis {"connection_id":229751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf6"} 
[2026-11-05 14:42:12] local.INFO: Extracted packet for processing {"connection_id":229751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf6"} 
[2026-11-05 14:42:12] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 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-05 14:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230547200001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793869626000,"timestamp_ms":1793869626000,"timestamp_seconds":1793869626,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf63a90"} 
[2026-11-05 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-05 14:42: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-05 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":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-11-05 14:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 14:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230547200001,"66":25473,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230547200001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:42:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:42:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230547200001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":229751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:42:12] local.INFO: GPS data processed {"connection_id":229751,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:42:12] local.INFO: Acknowledgment sent {"connection_id":229751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:42:13] local.INFO: TCP Data received {"connection_id":229750,"ip":"42.106.6.35","data_length":93,"data_hex":"00000000000000518e01000001a1a9c4fa08012d0aa200070583500022010e28..."} 
[2026-11-05 14:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229750,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c4fa08012d0aa200070583500022010e28..."} 
[2026-11-05 14:42:13] local.INFO: Processing buffer {"connection_id":229750,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c4fa08012d0aa200070583500022010e28..."} 
[2026-11-05 14:42:13] local.INFO: Packet analysis {"connection_id":229750,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c4"} 
[2026-11-05 14:42:13] local.INFO: Extracted packet for processing {"connection_id":229750,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c4"} 
[2026-11-05 14:42:13] local.INFO: GPS Element Parsed {"raw_longitude":755671552,"raw_latitude":117801808,"longitude_deg":75.5671552,"latitude_deg":11.7801808,"altitude":34,"angle":270,"satellites":40,"speed":12,"hex_longitude":"2d0aa200","hex_latitude":"07058350","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:42:13] 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-05 14:42:13] 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-05 14:42:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:42:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229750,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229750,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229750,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:42:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":229750,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:42:13] local.ERROR: GPS data processing failed {"connection_id":229750,"error":"No valid data to process"} 
[2026-11-05 14:42:13] local.INFO: Acknowledgment sent {"connection_id":229750,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:42:30] local.INFO: TCP Data received {"connection_id":233515,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233515,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:42:30] local.INFO: Processing buffer {"connection_id":233515,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:42:30] local.INFO: IMEI packet received {"connection_id":233515,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":233515,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:42:31] local.INFO: TCP Data received {"connection_id":231602,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231602,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:42:31] local.INFO: Processing buffer {"connection_id":231602,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:42:31] local.INFO: IMEI packet received {"connection_id":231602,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":231602,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:42:35] local.INFO: TCP Data received {"connection_id":233515,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233515,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:42:35] local.INFO: Processing buffer {"connection_id":233515,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:42:35] local.INFO: IMEI packet received {"connection_id":233515,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":233515,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:42:37] local.INFO: TCP Data received {"connection_id":231602,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231602,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:42:37] local.INFO: Processing buffer {"connection_id":231602,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:42:37] local.INFO: IMEI packet received {"connection_id":231602,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":231602,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:42:41] local.INFO: TCP Data received {"connection_id":233515,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf7e070012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf7e070012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:42:41] local.INFO: Processing buffer {"connection_id":233515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf7e070012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:42:41] local.INFO: Packet analysis {"connection_id":233515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf7"} 
[2026-11-05 14:42:41] local.INFO: Extracted packet for processing {"connection_id":233515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf7"} 
[2026-11-05 14:42:41] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230573824001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305925120,"note":"Value kept but may cause issues"} 
[2026-11-05 14:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793869734000,"timestamp_ms":1793869734000,"timestamp_seconds":1793869734,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf7e070"} 
[2026-11-05 14: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-05 14:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-05 14:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233515,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233515,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230573824001,"66":26984,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305925120},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230573824001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:42:41] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:42:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305925120,"description":"Unknown IO ID 45"} 
[2026-11-05 14:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230573824001,"power":26984,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305925120}} 
[2026-11-05 14:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":233515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63516,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:42:41] local.INFO: GPS data processed {"connection_id":233515,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:42:41] local.INFO: Acknowledgment sent {"connection_id":233515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:42:42] local.INFO: TCP Data received {"connection_id":231602,"ip":"42.106.6.18","data_length":93,"data_hex":"00000000000000518e01000001a1a9c4fdf0012d0aa080070583800022012227..."} 
[2026-11-05 14:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231602,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c4fdf0012d0aa080070583800022012227..."} 
[2026-11-05 14:42:42] local.INFO: Processing buffer {"connection_id":231602,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c4fdf0012d0aa080070583800022012227..."} 
[2026-11-05 14:42:42] local.INFO: Packet analysis {"connection_id":231602,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c4"} 
[2026-11-05 14:42:42] local.INFO: Extracted packet for processing {"connection_id":231602,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c4"} 
[2026-11-05 14:42:42] local.INFO: GPS Element Parsed {"raw_longitude":755671168,"raw_latitude":117801856,"longitude_deg":75.5671168,"latitude_deg":11.7801856,"altitude":34,"angle":290,"satellites":39,"speed":15,"hex_longitude":"2d0aa080","hex_latitude":"07058380","is_valid_coordinates":true} 
[2026-11-05 14:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:42:42] 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-05 14:42:42] 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-05 14:42:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:42:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231602,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231602,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231602,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:42:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":231602,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:42:42] local.ERROR: GPS data processing failed {"connection_id":231602,"error":"No valid data to process"} 
[2026-11-05 14:42:42] local.INFO: Acknowledgment sent {"connection_id":231602,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:42:44] local.INFO: TCP Data received {"connection_id":229751,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf63a90012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf63a90012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:42:44] local.INFO: Processing buffer {"connection_id":229751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf63a90012d7fa60005afe2e80000011023..."} 
[2026-11-05 14:42:44] local.INFO: Packet analysis {"connection_id":229751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf6"} 
[2026-11-05 14:42:44] local.INFO: Extracted packet for processing {"connection_id":229751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf6"} 
[2026-11-05 14:42:44] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230547200001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793869626000,"timestamp_ms":1793869626000,"timestamp_seconds":1793869626,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf63a90"} 
[2026-11-05 14: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-05 14:42: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-05 14: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":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-11-05 14:42:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230547200001,"66":25473,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230547200001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:42:44] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:42:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230547200001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":229751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:42:44] local.INFO: GPS data processed {"connection_id":229751,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:42:44] local.INFO: Acknowledgment sent {"connection_id":229751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:43:05] local.INFO: TCP Data received {"connection_id":230279,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230279,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:43:05] local.INFO: Processing buffer {"connection_id":230279,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:43:05] local.INFO: IMEI packet received {"connection_id":230279,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":230279,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:43:08] local.INFO: TCP Data received {"connection_id":230278,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:43:08] local.INFO: Processing buffer {"connection_id":230278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:43:08] local.INFO: IMEI packet received {"connection_id":230278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":230278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:43:11] local.INFO: TCP Data received {"connection_id":230279,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230279,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:43:11] local.INFO: Processing buffer {"connection_id":230279,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:43:11] local.INFO: IMEI packet received {"connection_id":230279,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":230279,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:43:13] local.INFO: TCP Data received {"connection_id":230279,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf7e070012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf7e070012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:43:13] local.INFO: Processing buffer {"connection_id":230279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf7e070012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:43:13] local.INFO: Packet analysis {"connection_id":230279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf7"} 
[2026-11-05 14:43:13] local.INFO: Extracted packet for processing {"connection_id":230279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf7"} 
[2026-11-05 14:43:13] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230573824001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305925120,"note":"Value kept but may cause issues"} 
[2026-11-05 14:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793869734000,"timestamp_ms":1793869734000,"timestamp_seconds":1793869734,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf7e070"} 
[2026-11-05 14: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-05 14:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-05 14:43: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-05 14: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-05 14: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-05 14:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230279,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230279,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230573824001,"66":26984,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305925120},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230573824001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:43:13] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:43:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305925120,"description":"Unknown IO ID 45"} 
[2026-11-05 14:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230573824001,"power":26984,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305925120}} 
[2026-11-05 14:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":230279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63518,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:43:13] local.INFO: GPS data processed {"connection_id":230279,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:43:13] local.INFO: Acknowledgment sent {"connection_id":230279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:43:13] local.INFO: TCP Data received {"connection_id":231602,"ip":"42.106.6.18","data_length":93,"data_hex":"00000000000000518e01000001a1a9c501d8012d0a9f00070584380021012e27..."} 
[2026-11-05 14:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231602,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c501d8012d0a9f00070584380021012e27..."} 
[2026-11-05 14:43:13] local.INFO: Processing buffer {"connection_id":231602,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c501d8012d0a9f00070584380021012e27..."} 
[2026-11-05 14:43:13] local.INFO: Packet analysis {"connection_id":231602,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c5"} 
[2026-11-05 14:43:13] local.INFO: Extracted packet for processing {"connection_id":231602,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c5"} 
[2026-11-05 14:43:13] local.INFO: GPS Element Parsed {"raw_longitude":755670784,"raw_latitude":117802040,"longitude_deg":75.5670784,"latitude_deg":11.780204,"altitude":33,"angle":302,"satellites":39,"speed":19,"hex_longitude":"2d0a9f00","hex_latitude":"07058438","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:43:13] 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-05 14:43:13] 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-05 14:43:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:43:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":231602,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":231602,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":231602,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:43:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":231602,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:43:13] local.ERROR: GPS data processing failed {"connection_id":231602,"error":"No valid data to process"} 
[2026-11-05 14:43:13] local.INFO: Acknowledgment sent {"connection_id":231602,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:43:13] local.INFO: TCP Data received {"connection_id":230278,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:43:13] local.INFO: Processing buffer {"connection_id":230278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:43:13] local.INFO: IMEI packet received {"connection_id":230278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":230278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:43:15] local.INFO: TCP Data received {"connection_id":230278,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aafad258012d7fa60005afe2e80009011029..."} 
[2026-11-05 14:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aafad258012d7fa60005afe2e80009011029..."} 
[2026-11-05 14:43:15] local.INFO: Processing buffer {"connection_id":230278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aafad258012d7fa60005afe2e80009011029..."} 
[2026-11-05 14:43:15] local.INFO: Packet analysis {"connection_id":230278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aafa"} 
[2026-11-05 14:43:15] local.INFO: Extracted packet for processing {"connection_id":230278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aafa"} 
[2026-11-05 14:43:15] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":9,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230624256001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793869927000,"timestamp_ms":1793869927000,"timestamp_seconds":1793869927,"priority":1,"record_length":96,"hex_timestamp":"000001a1aafad258"} 
[2026-11-05 14: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-05 14:43: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-05 14:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 14:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230624256001,"66":25441,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230624256001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:43:15] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:43:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230624256001,"power":25441,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":230278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:43:15] local.INFO: GPS data processed {"connection_id":230278,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:43:15] local.INFO: Acknowledgment sent {"connection_id":230278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:43:18] local.INFO: TCP Data received {"connection_id":230278,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aafad258012d7fa60005afe2e80009011029..."} 
[2026-11-05 14:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aafad258012d7fa60005afe2e80009011029..."} 
[2026-11-05 14:43:18] local.INFO: Processing buffer {"connection_id":230278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aafad258012d7fa60005afe2e80009011029..."} 
[2026-11-05 14:43:18] local.INFO: Packet analysis {"connection_id":230278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aafa"} 
[2026-11-05 14:43:18] local.INFO: Extracted packet for processing {"connection_id":230278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aafa"} 
[2026-11-05 14:43:18] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":9,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230624256001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793869927000,"timestamp_ms":1793869927000,"timestamp_seconds":1793869927,"priority":1,"record_length":96,"hex_timestamp":"000001a1aafad258"} 
[2026-11-05 14: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-05 14:43: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-05 14:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 14:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:43:18] 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-05 14:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230624256001,"66":25441,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230624256001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:43:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:43:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230624256001,"power":25441,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":230278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:43:18] local.INFO: GPS data processed {"connection_id":230278,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:43:18] local.INFO: Acknowledgment sent {"connection_id":230278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:43:36] local.INFO: TCP Data received {"connection_id":230280,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230280,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:43:36] local.INFO: Processing buffer {"connection_id":230280,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:43:36] local.INFO: IMEI packet received {"connection_id":230280,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":230280,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:43:37] local.INFO: TCP Data received {"connection_id":230280,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230280,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:43:37] local.INFO: Processing buffer {"connection_id":230280,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:43:37] local.INFO: IMEI packet received {"connection_id":230280,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":230280,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:43:38] local.INFO: TCP Data received {"connection_id":230280,"ip":"42.106.6.49","data_length":93,"data_hex":"00000000000000518e01000001a1aafc2e00012d0b13000702a1700001007526..."} 
[2026-11-05 14:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230280,"packet_length":93,"packet_hex":"00000000000000518e01000001a1aafc2e00012d0b13000702a1700001007526..."} 
[2026-11-05 14:43:38] local.INFO: Processing buffer {"connection_id":230280,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1aafc2e00012d0b13000702a1700001007526..."} 
[2026-11-05 14:43:38] local.INFO: Packet analysis {"connection_id":230280,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1aafc"} 
[2026-11-05 14:43:38] local.INFO: Extracted packet for processing {"connection_id":230280,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1aafc"} 
[2026-11-05 14:43:38] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612912,"longitude_deg":75.570048,"latitude_deg":11.7612912,"altitude":1,"angle":117,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a170","is_valid_coordinates":true} 
[2026-11-05 14:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:43:38] 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-05 14:43:38] 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-05 14:43:38] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:43:38] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":230280,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":230280,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":230280,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.49","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:43:38] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":230280,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:43:38] local.ERROR: GPS data processing failed {"connection_id":230280,"error":"No valid data to process"} 
[2026-11-05 14:43:38] local.INFO: Acknowledgment sent {"connection_id":230280,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:43:45] local.INFO: TCP Data received {"connection_id":230279,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf7e070012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf7e070012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:43:45] local.INFO: Processing buffer {"connection_id":230279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf7e070012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:43:45] local.INFO: Packet analysis {"connection_id":230279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf7"} 
[2026-11-05 14:43:45] local.INFO: Extracted packet for processing {"connection_id":230279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf7"} 
[2026-11-05 14:43:45] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230573824001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305925120,"note":"Value kept but may cause issues"} 
[2026-11-05 14:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793869734000,"timestamp_ms":1793869734000,"timestamp_seconds":1793869734,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf7e070"} 
[2026-11-05 14: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-05 14:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-05 14:43: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-05 14: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-05 14: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-05 14:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230279,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230279,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230573824001,"66":26984,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305925120},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230573824001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:43:45] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:43:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305925120,"description":"Unknown IO ID 45"} 
[2026-11-05 14:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230573824001,"power":26984,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305925120}} 
[2026-11-05 14:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":230279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63521,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:43:45] local.INFO: GPS data processed {"connection_id":230279,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:43:45] local.INFO: Acknowledgment sent {"connection_id":230279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:44:03] local.INFO: TCP Data received {"connection_id":231603,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:44:03] local.INFO: Processing buffer {"connection_id":231603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:44:03] local.INFO: IMEI packet received {"connection_id":231603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":231603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:44:08] local.INFO: TCP Data received {"connection_id":231603,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:44:08] local.INFO: Processing buffer {"connection_id":231603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:44:08] local.INFO: IMEI packet received {"connection_id":231603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":231603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:44:09] local.INFO: TCP Data received {"connection_id":230280,"ip":"42.106.6.49","data_length":93,"data_hex":"00000000000000518e01000001a1a9c509a8012d0a9bc0070586900021013c26..."} 
[2026-11-05 14:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230280,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c509a8012d0a9bc0070586900021013c26..."} 
[2026-11-05 14:44:09] local.INFO: Processing buffer {"connection_id":230280,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c509a8012d0a9bc0070586900021013c26..."} 
[2026-11-05 14:44:09] local.INFO: Packet analysis {"connection_id":230280,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c5"} 
[2026-11-05 14:44:09] local.INFO: Extracted packet for processing {"connection_id":230280,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c5"} 
[2026-11-05 14:44:09] local.INFO: GPS Element Parsed {"raw_longitude":755669952,"raw_latitude":117802640,"longitude_deg":75.5669952,"latitude_deg":11.780264,"altitude":33,"angle":316,"satellites":38,"speed":21,"hex_longitude":"2d0a9bc0","hex_latitude":"07058690","is_valid_coordinates":true} 
[2026-11-05 14:44: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":93,"current_offset":40} 
[2026-11-05 14:44:09] 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-05 14:44:09] 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-05 14:44:09] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:44:09] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230280,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230280,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230280,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.49","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:44:09] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":230280,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:44:09] local.ERROR: GPS data processing failed {"connection_id":230280,"error":"No valid data to process"} 
[2026-11-05 14:44:09] local.INFO: Acknowledgment sent {"connection_id":230280,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:44:09] local.INFO: TCP Data received {"connection_id":231603,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aafad258012d7fa60005afe2e80009011029..."} 
[2026-11-05 14:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aafad258012d7fa60005afe2e80009011029..."} 
[2026-11-05 14:44:09] local.INFO: Processing buffer {"connection_id":231603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aafad258012d7fa60005afe2e80009011029..."} 
[2026-11-05 14:44:09] local.INFO: Packet analysis {"connection_id":231603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aafa"} 
[2026-11-05 14:44:09] local.INFO: Extracted packet for processing {"connection_id":231603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aafa"} 
[2026-11-05 14:44:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":9,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:44: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-05 14:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230624256001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793869927000,"timestamp_ms":1793869927000,"timestamp_seconds":1793869927,"priority":1,"record_length":96,"hex_timestamp":"000001a1aafad258"} 
[2026-11-05 14:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:44: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-05 14:44: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":129,"data_length":795,"current_offset":136} 
[2026-11-05 14:44:09] 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-05 14:44: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-05 14:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230624256001,"66":25441,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230624256001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:44:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:44:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230624256001,"power":25441,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":231603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:44:09] local.INFO: GPS data processed {"connection_id":231603,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:44:09] local.INFO: Acknowledgment sent {"connection_id":231603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:44:11] local.INFO: TCP Data received {"connection_id":233516,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233516,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:44:11] local.INFO: Processing buffer {"connection_id":233516,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:44:11] local.INFO: IMEI packet received {"connection_id":233516,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":233516,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:44:16] local.INFO: TCP Data received {"connection_id":233516,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233516,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:44:16] local.INFO: Processing buffer {"connection_id":233516,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:44:16] local.INFO: IMEI packet received {"connection_id":233516,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":233516,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:44:20] local.INFO: TCP Data received {"connection_id":233516,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf7e070012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf7e070012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:44:20] local.INFO: Processing buffer {"connection_id":233516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf7e070012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:44:20] local.INFO: Packet analysis {"connection_id":233516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf7"} 
[2026-11-05 14:44:20] local.INFO: Extracted packet for processing {"connection_id":233516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf7"} 
[2026-11-05 14:44:20] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230573824001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305925120,"note":"Value kept but may cause issues"} 
[2026-11-05 14:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793869734000,"timestamp_ms":1793869734000,"timestamp_seconds":1793869734,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf7e070"} 
[2026-11-05 14: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-05 14:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-05 14:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":233516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":233516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":233516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230573824001,"66":26984,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305925120},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230573824001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:44:20] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:44:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305925120,"description":"Unknown IO ID 45"} 
[2026-11-05 14:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230573824001,"power":26984,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305925120}} 
[2026-11-05 14:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":233516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63523,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:44:21] local.INFO: GPS data processed {"connection_id":233516,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:44:21] local.INFO: Acknowledgment sent {"connection_id":233516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:44:25] local.INFO: TCP Data received {"connection_id":233516,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaf7e070012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaf7e070012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:44:25] local.INFO: Processing buffer {"connection_id":233516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaf7e070012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:44:25] local.INFO: Packet analysis {"connection_id":233516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaf7"} 
[2026-11-05 14:44:25] local.INFO: Extracted packet for processing {"connection_id":233516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaf7"} 
[2026-11-05 14:44:25] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230573824001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305925120,"note":"Value kept but may cause issues"} 
[2026-11-05 14:44:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793869734000,"timestamp_ms":1793869734000,"timestamp_seconds":1793869734,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaf7e070"} 
[2026-11-05 14:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:44:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-05 14:44:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:44:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":233516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":233516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":233516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:44:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230573824001,"66":26984,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305925120},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230573824001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:44:25] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:44:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305925120,"description":"Unknown IO ID 45"} 
[2026-11-05 14:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230573824001,"power":26984,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305925120}} 
[2026-11-05 14:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":233516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63524,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:44:25] local.INFO: GPS data processed {"connection_id":233516,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:44:25] local.INFO: Acknowledgment sent {"connection_id":233516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:44:31] local.INFO: TCP Data received {"connection_id":231604,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231604,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:44:31] local.INFO: Processing buffer {"connection_id":231604,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:44:31] local.INFO: IMEI packet received {"connection_id":231604,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":231604,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:44:36] local.INFO: TCP Data received {"connection_id":231604,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231604,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:44:36] local.INFO: Processing buffer {"connection_id":231604,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:44:36] local.INFO: IMEI packet received {"connection_id":231604,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":231604,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:44:40] local.INFO: TCP Data received {"connection_id":231603,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aafad258012d7fa60005afe2e80009011029..."} 
[2026-11-05 14:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aafad258012d7fa60005afe2e80009011029..."} 
[2026-11-05 14:44:40] local.INFO: Processing buffer {"connection_id":231603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aafad258012d7fa60005afe2e80009011029..."} 
[2026-11-05 14:44:40] local.INFO: Packet analysis {"connection_id":231603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aafa"} 
[2026-11-05 14:44:40] local.INFO: Extracted packet for processing {"connection_id":231603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aafa"} 
[2026-11-05 14:44:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":9,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230624256001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793869927000,"timestamp_ms":1793869927000,"timestamp_seconds":1793869927,"priority":1,"record_length":96,"hex_timestamp":"000001a1aafad258"} 
[2026-11-05 14: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-05 14:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 14:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 14:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230624256001,"66":25441,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230624256001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:44:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:44:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230624256001,"power":25441,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":231603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:44:40] local.INFO: GPS data processed {"connection_id":231603,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:44:40] local.INFO: Acknowledgment sent {"connection_id":231603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:44:42] local.INFO: TCP Data received {"connection_id":231604,"ip":"42.106.6.16","data_length":93,"data_hex":"00000000000000518e01000001a1a9c51178012d0a990007058a300020014827..."} 
[2026-11-05 14:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231604,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c51178012d0a990007058a300020014827..."} 
[2026-11-05 14:44:42] local.INFO: Processing buffer {"connection_id":231604,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c51178012d0a990007058a300020014827..."} 
[2026-11-05 14:44:42] local.INFO: Packet analysis {"connection_id":231604,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c5"} 
[2026-11-05 14:44:42] local.INFO: Extracted packet for processing {"connection_id":231604,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c5"} 
[2026-11-05 14:44:42] local.INFO: GPS Element Parsed {"raw_longitude":755669248,"raw_latitude":117803568,"longitude_deg":75.5669248,"latitude_deg":11.7803568,"altitude":32,"angle":328,"satellites":39,"speed":24,"hex_longitude":"2d0a9900","hex_latitude":"07058a30","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:44:42] 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-05 14:44:42] 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-05 14:44:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:44:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231604,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231604,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231604,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:44:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":231604,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:44:42] local.ERROR: GPS data processing failed {"connection_id":231604,"error":"No valid data to process"} 
[2026-11-05 14:44:42] local.INFO: Acknowledgment sent {"connection_id":231604,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:45:03] local.INFO: TCP Data received {"connection_id":233517,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:45:03] local.INFO: Processing buffer {"connection_id":233517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:45:03] local.INFO: IMEI packet received {"connection_id":233517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":233517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:45:08] local.INFO: TCP Data received {"connection_id":233517,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:45:08] local.INFO: Processing buffer {"connection_id":233517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:45:08] local.INFO: IMEI packet received {"connection_id":233517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":233517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:45:09] local.INFO: TCP Data received {"connection_id":233517,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aafad258012d7fa60005afe2e80009011029..."} 
[2026-11-05 14:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aafad258012d7fa60005afe2e80009011029..."} 
[2026-11-05 14:45:09] local.INFO: Processing buffer {"connection_id":233517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aafad258012d7fa60005afe2e80009011029..."} 
[2026-11-05 14:45:09] local.INFO: Packet analysis {"connection_id":233517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aafa"} 
[2026-11-05 14:45:09] local.INFO: Extracted packet for processing {"connection_id":233517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aafa"} 
[2026-11-05 14:45:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":9,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230624256001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793869927000,"timestamp_ms":1793869927000,"timestamp_seconds":1793869927,"priority":1,"record_length":96,"hex_timestamp":"000001a1aafad258"} 
[2026-11-05 14: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-05 14:45: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-05 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 14:45:09] 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-05 14: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-05 14: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-05 14:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230624256001,"66":25441,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230624256001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:45:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:45:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230624256001,"power":25441,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":233517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:45:09] local.INFO: GPS data processed {"connection_id":233517,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:45:09] local.INFO: Acknowledgment sent {"connection_id":233517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:45:13] local.INFO: TCP Data received {"connection_id":231604,"ip":"42.106.6.16","data_length":93,"data_hex":"00000000000000518e01000001a1a9c54c10012d0a85c00705a8300017013226..."} 
[2026-11-05 14:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231604,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c54c10012d0a85c00705a8300017013226..."} 
[2026-11-05 14:45:13] local.INFO: Processing buffer {"connection_id":231604,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c54c10012d0a85c00705a8300017013226..."} 
[2026-11-05 14:45:13] local.INFO: Packet analysis {"connection_id":231604,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c5"} 
[2026-11-05 14:45:13] local.INFO: Extracted packet for processing {"connection_id":231604,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c5"} 
[2026-11-05 14:45:13] local.INFO: GPS Element Parsed {"raw_longitude":755664320,"raw_latitude":117811248,"longitude_deg":75.566432,"latitude_deg":11.7811248,"altitude":23,"angle":306,"satellites":38,"speed":14,"hex_longitude":"2d0a85c0","hex_latitude":"0705a830","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:45:13] 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-05 14:45:13] 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-05 14:45:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:45:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":231604,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":231604,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":231604,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:45:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":231604,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:45:13] local.ERROR: GPS data processing failed {"connection_id":231604,"error":"No valid data to process"} 
[2026-11-05 14:45:13] local.INFO: Acknowledgment sent {"connection_id":231604,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:45:29] local.INFO: TCP Data received {"connection_id":231605,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:45:29] local.INFO: Processing buffer {"connection_id":231605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:45:29] local.INFO: IMEI packet received {"connection_id":231605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":231605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:45:31] local.INFO: TCP Data received {"connection_id":230281,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230281,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:45:31] local.INFO: Processing buffer {"connection_id":230281,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:45:31] local.INFO: IMEI packet received {"connection_id":230281,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":230281,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:45:32] local.INFO: TCP Data received {"connection_id":231605,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:45:32] local.INFO: Processing buffer {"connection_id":231605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:45:32] local.INFO: IMEI packet received {"connection_id":231605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":231605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:45:34] local.INFO: TCP Data received {"connection_id":231605,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:45:34] local.INFO: Processing buffer {"connection_id":231605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:45:34] local.INFO: IMEI packet received {"connection_id":231605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":231605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:45:36] local.INFO: TCP Data received {"connection_id":231605,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:45:36] local.INFO: Processing buffer {"connection_id":231605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:45:36] local.INFO: IMEI packet received {"connection_id":231605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":231605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:45:37] local.INFO: TCP Data received {"connection_id":230281,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230281,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:45:37] local.INFO: Processing buffer {"connection_id":230281,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:45:37] local.INFO: IMEI packet received {"connection_id":230281,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":230281,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:45:39] local.INFO: TCP Data received {"connection_id":231605,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aafc7838012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aafc7838012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:45:39] local.INFO: Processing buffer {"connection_id":231605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aafc7838012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:45:39] local.INFO: Packet analysis {"connection_id":231605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aafc"} 
[2026-11-05 14:45:39] local.INFO: Extracted packet for processing {"connection_id":231605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aafc"} 
[2026-11-05 14:45:39] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230651904001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 14:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793870035000,"timestamp_ms":1793870035000,"timestamp_seconds":1793870035,"priority":1,"record_length":96,"hex_timestamp":"000001a1aafc7838"} 
[2026-11-05 14:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-05 14:45:39] 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-05 14:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":231605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":231605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":231605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230651904001,"66":26745,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230651904001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:45:39] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:45:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 14:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230651904001,"power":26745,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 14:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":231605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63527,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:45:39] local.INFO: GPS data processed {"connection_id":231605,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:45:39] local.INFO: Acknowledgment sent {"connection_id":231605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:45:41] local.INFO: TCP Data received {"connection_id":230281,"ip":"42.106.6.19","data_length":93,"data_hex":"00000000000000518e01000001a1a9c54c10012d0a85c00705a8300017013226..."} 
[2026-11-05 14:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230281,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c54c10012d0a85c00705a8300017013226..."} 
[2026-11-05 14:45:41] local.INFO: Processing buffer {"connection_id":230281,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c54c10012d0a85c00705a8300017013226..."} 
[2026-11-05 14:45:41] local.INFO: Packet analysis {"connection_id":230281,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c5"} 
[2026-11-05 14:45:41] local.INFO: Extracted packet for processing {"connection_id":230281,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c5"} 
[2026-11-05 14:45:41] local.INFO: GPS Element Parsed {"raw_longitude":755664320,"raw_latitude":117811248,"longitude_deg":75.566432,"latitude_deg":11.7811248,"altitude":23,"angle":306,"satellites":38,"speed":14,"hex_longitude":"2d0a85c0","hex_latitude":"0705a830","is_valid_coordinates":true} 
[2026-11-05 14:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:45:41] 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-05 14:45:41] 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-05 14:45:41] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:45:41] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230281,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230281,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230281,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:45:41] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":230281,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:45:41] local.ERROR: GPS data processing failed {"connection_id":230281,"error":"No valid data to process"} 
[2026-11-05 14:45:41] local.INFO: Acknowledgment sent {"connection_id":230281,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:45:42] local.INFO: TCP Data received {"connection_id":231605,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aafc7838012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aafc7838012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:45:42] local.INFO: Processing buffer {"connection_id":231605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aafc7838012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:45:42] local.INFO: Packet analysis {"connection_id":231605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aafc"} 
[2026-11-05 14:45:42] local.INFO: Extracted packet for processing {"connection_id":231605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aafc"} 
[2026-11-05 14:45:42] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230651904001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 14:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793870035000,"timestamp_ms":1793870035000,"timestamp_seconds":1793870035,"priority":1,"record_length":96,"hex_timestamp":"000001a1aafc7838"} 
[2026-11-05 14: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-05 14:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-05 14:45:42] 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-05 14: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-05 14: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-05 14:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230651904001,"66":26745,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230651904001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:45:42] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:45:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 14:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230651904001,"power":26745,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 14:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":231605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63528,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:45:42] local.INFO: GPS data processed {"connection_id":231605,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:45:42] local.INFO: Acknowledgment sent {"connection_id":231605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:45:43] local.INFO: TCP Data received {"connection_id":233517,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aafad258012d7fa60005afe2e80009011029..."} 
[2026-11-05 14:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aafad258012d7fa60005afe2e80009011029..."} 
[2026-11-05 14:45:43] local.INFO: Processing buffer {"connection_id":233517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aafad258012d7fa60005afe2e80009011029..."} 
[2026-11-05 14:45:43] local.INFO: Packet analysis {"connection_id":233517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aafa"} 
[2026-11-05 14:45:43] local.INFO: Extracted packet for processing {"connection_id":233517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aafa"} 
[2026-11-05 14:45:43] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":9,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230624256001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793869927000,"timestamp_ms":1793869927000,"timestamp_seconds":1793869927,"priority":1,"record_length":96,"hex_timestamp":"000001a1aafad258"} 
[2026-11-05 14: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-05 14:45: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-05 14: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":129,"data_length":795,"current_offset":136} 
[2026-11-05 14:45: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-05 14: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-05 14: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-05 14:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":233517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":233517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":233517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:45: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-05 14:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230624256001,"66":25441,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230624256001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:45:43] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:45:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230624256001,"power":25441,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":233517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:45:43] local.INFO: GPS data processed {"connection_id":233517,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:45:43] local.INFO: Acknowledgment sent {"connection_id":233517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:46:03] local.INFO: TCP Data received {"connection_id":233518,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:46:03] local.INFO: Processing buffer {"connection_id":233518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:46:03] local.INFO: IMEI packet received {"connection_id":233518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":233518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:46:06] local.INFO: TCP Data received {"connection_id":231606,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231606,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:46:06] local.INFO: Processing buffer {"connection_id":231606,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:46:06] local.INFO: IMEI packet received {"connection_id":231606,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":231606,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:46:08] local.INFO: TCP Data received {"connection_id":233518,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:46:08] local.INFO: Processing buffer {"connection_id":233518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:46:08] local.INFO: IMEI packet received {"connection_id":233518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":233518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:46:10] local.INFO: TCP Data received {"connection_id":233518,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aafad258012d7fa60005afe2e80009011029..."} 
[2026-11-05 14:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aafad258012d7fa60005afe2e80009011029..."} 
[2026-11-05 14:46:10] local.INFO: Processing buffer {"connection_id":233518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aafad258012d7fa60005afe2e80009011029..."} 
[2026-11-05 14:46:10] local.INFO: Packet analysis {"connection_id":233518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aafa"} 
[2026-11-05 14:46:10] local.INFO: Extracted packet for processing {"connection_id":233518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aafa"} 
[2026-11-05 14:46:10] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":9,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230624256001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793869927000,"timestamp_ms":1793869927000,"timestamp_seconds":1793869927,"priority":1,"record_length":96,"hex_timestamp":"000001a1aafad258"} 
[2026-11-05 14:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 14:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 14:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230624256001,"66":25441,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230624256001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:46:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230624256001,"power":25441,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":233518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:46:10] local.INFO: GPS data processed {"connection_id":233518,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:46:10] local.INFO: Acknowledgment sent {"connection_id":233518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:46:11] local.INFO: TCP Data received {"connection_id":231606,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231606,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:46:11] local.INFO: Processing buffer {"connection_id":231606,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:46:11] local.INFO: IMEI packet received {"connection_id":231606,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":231606,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:46:13] local.INFO: TCP Data received {"connection_id":230281,"ip":"42.106.6.19","data_length":93,"data_hex":"00000000000000518e01000001a1a9c54ff8012d0a84c00705a8b00017011e26..."} 
[2026-11-05 14:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230281,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c54ff8012d0a84c00705a8b00017011e26..."} 
[2026-11-05 14:46:13] local.INFO: Processing buffer {"connection_id":230281,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c54ff8012d0a84c00705a8b00017011e26..."} 
[2026-11-05 14:46:13] local.INFO: Packet analysis {"connection_id":230281,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c5"} 
[2026-11-05 14:46:13] local.INFO: Extracted packet for processing {"connection_id":230281,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c5"} 
[2026-11-05 14:46:13] local.INFO: GPS Element Parsed {"raw_longitude":755664064,"raw_latitude":117811376,"longitude_deg":75.5664064,"latitude_deg":11.7811376,"altitude":23,"angle":286,"satellites":38,"speed":12,"hex_longitude":"2d0a84c0","hex_latitude":"0705a8b0","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:46:13] 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-05 14:46:13] 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-05 14:46:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:46:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230281,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230281,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230281,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:46:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":230281,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:46:13] local.ERROR: GPS data processing failed {"connection_id":230281,"error":"No valid data to process"} 
[2026-11-05 14:46:13] local.INFO: Acknowledgment sent {"connection_id":230281,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:46:13] local.INFO: TCP Data received {"connection_id":231606,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aafc7838012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aafc7838012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:46:13] local.INFO: Processing buffer {"connection_id":231606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aafc7838012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:46:13] local.INFO: Packet analysis {"connection_id":231606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aafc"} 
[2026-11-05 14:46:13] local.INFO: Extracted packet for processing {"connection_id":231606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aafc"} 
[2026-11-05 14:46:13] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230651904001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 14:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793870035000,"timestamp_ms":1793870035000,"timestamp_seconds":1793870035,"priority":1,"record_length":96,"hex_timestamp":"000001a1aafc7838"} 
[2026-11-05 14: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-05 14:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-05 14:46:13] 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-05 14: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-05 14: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-05 14:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":231606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":231606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":231606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230651904001,"66":26745,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230651904001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:46:13] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:46:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 14:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230651904001,"power":26745,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 14:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":231606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63531,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:46:14] local.INFO: GPS data processed {"connection_id":231606,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:46:14] local.INFO: Acknowledgment sent {"connection_id":231606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:46:38] local.INFO: TCP Data received {"connection_id":233519,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233519,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:46:38] local.INFO: Processing buffer {"connection_id":233519,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:46:38] local.INFO: IMEI packet received {"connection_id":233519,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":233519,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:46:41] local.INFO: TCP Data received {"connection_id":233519,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233519,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:46:41] local.INFO: Processing buffer {"connection_id":233519,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:46:41] local.INFO: IMEI packet received {"connection_id":233519,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":233519,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:46:41] local.INFO: TCP Data received {"connection_id":233518,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aafad258012d7fa60005afe2e80009011029..."} 
[2026-11-05 14:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aafad258012d7fa60005afe2e80009011029..."} 
[2026-11-05 14:46:41] local.INFO: Processing buffer {"connection_id":233518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aafad258012d7fa60005afe2e80009011029..."} 
[2026-11-05 14:46:41] local.INFO: Packet analysis {"connection_id":233518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aafa"} 
[2026-11-05 14:46:41] local.INFO: Extracted packet for processing {"connection_id":233518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aafa"} 
[2026-11-05 14:46:41] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":9,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230624256001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793869927000,"timestamp_ms":1793869927000,"timestamp_seconds":1793869927,"priority":1,"record_length":96,"hex_timestamp":"000001a1aafad258"} 
[2026-11-05 14: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-05 14:46: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-05 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 14:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230624256001,"66":25441,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230624256001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:46:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:46:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230624256001,"power":25441,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":233518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:46:41] local.INFO: GPS data processed {"connection_id":233518,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:46:41] local.INFO: Acknowledgment sent {"connection_id":233518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:46:45] local.INFO: TCP Data received {"connection_id":231606,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aafc7838012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aafc7838012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:46:45] local.INFO: Processing buffer {"connection_id":231606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aafc7838012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:46:45] local.INFO: Packet analysis {"connection_id":231606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aafc"} 
[2026-11-05 14:46:45] local.INFO: Extracted packet for processing {"connection_id":231606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aafc"} 
[2026-11-05 14:46:45] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230651904001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 14:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793870035000,"timestamp_ms":1793870035000,"timestamp_seconds":1793870035,"priority":1,"record_length":96,"hex_timestamp":"000001a1aafc7838"} 
[2026-11-05 14:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-05 14:46:45] 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-05 14:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":231606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":231606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":231606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230651904001,"66":26745,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230651904001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:46:45] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:46:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 14:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230651904001,"power":26745,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 14:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":231606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63533,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:46:45] local.INFO: GPS data processed {"connection_id":231606,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:46:45] local.INFO: Acknowledgment sent {"connection_id":231606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:46:46] local.INFO: TCP Data received {"connection_id":233519,"ip":"42.106.6.52","data_length":93,"data_hex":"00000000000000518e01000001a1a9c557c8012d0a82400705a9580017013725..."} 
[2026-11-05 14:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233519,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c557c8012d0a82400705a9580017013725..."} 
[2026-11-05 14:46:46] local.INFO: Processing buffer {"connection_id":233519,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c557c8012d0a82400705a9580017013725..."} 
[2026-11-05 14:46:46] local.INFO: Packet analysis {"connection_id":233519,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c5"} 
[2026-11-05 14:46:46] local.INFO: Extracted packet for processing {"connection_id":233519,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c5"} 
[2026-11-05 14:46:46] local.INFO: GPS Element Parsed {"raw_longitude":755663424,"raw_latitude":117811544,"longitude_deg":75.5663424,"latitude_deg":11.7811544,"altitude":23,"angle":311,"satellites":37,"speed":11,"hex_longitude":"2d0a8240","hex_latitude":"0705a958","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:46:46] 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-05 14:46:46] 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-05 14:46:46] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:46:46] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":233519,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":233519,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":233519,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:46:46] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":233519,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:46:46] local.ERROR: GPS data processing failed {"connection_id":233519,"error":"No valid data to process"} 
[2026-11-05 14:46:46] local.INFO: Acknowledgment sent {"connection_id":233519,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:46:57] local.INFO: TCP Data received {"connection_id":233519,"ip":"42.106.6.52","data_length":93,"data_hex":"00000000000000518e01000001a1a9c55bb0012d0a81c00705aa380017014626..."} 
[2026-11-05 14:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233519,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c55bb0012d0a81c00705aa380017014626..."} 
[2026-11-05 14:46:57] local.INFO: Processing buffer {"connection_id":233519,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c55bb0012d0a81c00705aa380017014626..."} 
[2026-11-05 14:46:57] local.INFO: Packet analysis {"connection_id":233519,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c5"} 
[2026-11-05 14:46:57] local.INFO: Extracted packet for processing {"connection_id":233519,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c5"} 
[2026-11-05 14:46:57] local.INFO: GPS Element Parsed {"raw_longitude":755663296,"raw_latitude":117811768,"longitude_deg":75.5663296,"latitude_deg":11.7811768,"altitude":23,"angle":326,"satellites":38,"speed":11,"hex_longitude":"2d0a81c0","hex_latitude":"0705aa38","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:46:57] 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-05 14:46:57] 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-05 14:46:57] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:46:57] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":233519,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":233519,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":233519,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:46:57] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":233519,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:46:57] local.ERROR: GPS data processing failed {"connection_id":233519,"error":"No valid data to process"} 
[2026-11-05 14:46:57] local.INFO: Acknowledgment sent {"connection_id":233519,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:47:03] local.INFO: TCP Data received {"connection_id":233520,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:47:03] local.INFO: Processing buffer {"connection_id":233520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:47:03] local.INFO: IMEI packet received {"connection_id":233520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":233520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:47:05] local.INFO: TCP Data received {"connection_id":229752,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229752,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:47:05] local.INFO: Processing buffer {"connection_id":229752,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:47:05] local.INFO: IMEI packet received {"connection_id":229752,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":229752,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:47:09] local.INFO: TCP Data received {"connection_id":233520,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:47:09] local.INFO: Processing buffer {"connection_id":233520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:47:09] local.INFO: IMEI packet received {"connection_id":233520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":233520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:47:10] local.INFO: TCP Data received {"connection_id":233520,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aafad258012d7fa60005afe2e80009011029..."} 
[2026-11-05 14:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aafad258012d7fa60005afe2e80009011029..."} 
[2026-11-05 14:47:10] local.INFO: Processing buffer {"connection_id":233520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aafad258012d7fa60005afe2e80009011029..."} 
[2026-11-05 14:47:10] local.INFO: Packet analysis {"connection_id":233520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aafa"} 
[2026-11-05 14:47:10] local.INFO: Extracted packet for processing {"connection_id":233520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aafa"} 
[2026-11-05 14:47:10] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":9,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230624256001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793869927000,"timestamp_ms":1793869927000,"timestamp_seconds":1793869927,"priority":1,"record_length":96,"hex_timestamp":"000001a1aafad258"} 
[2026-11-05 14:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 14:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 14:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:47:10] local.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-05 14:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230624256001,"66":25441,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230624256001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:47:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:47:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230624256001,"power":25441,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":233520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:47:10] local.INFO: GPS data processed {"connection_id":233520,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:47:10] local.INFO: Acknowledgment sent {"connection_id":233520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:47:11] local.INFO: TCP Data received {"connection_id":229752,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229752,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:47:11] local.INFO: Processing buffer {"connection_id":229752,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:47:11] local.INFO: IMEI packet received {"connection_id":229752,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":229752,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:47:14] local.INFO: TCP Data received {"connection_id":229752,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aafc7838012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aafc7838012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:47:14] local.INFO: Processing buffer {"connection_id":229752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aafc7838012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:47:14] local.INFO: Packet analysis {"connection_id":229752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aafc"} 
[2026-11-05 14:47:14] local.INFO: Extracted packet for processing {"connection_id":229752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aafc"} 
[2026-11-05 14:47:14] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230651904001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 14:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793870035000,"timestamp_ms":1793870035000,"timestamp_seconds":1793870035,"priority":1,"record_length":96,"hex_timestamp":"000001a1aafc7838"} 
[2026-11-05 14: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-05 14:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-05 14:47: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-05 14: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-05 14: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-05 14:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229752,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229752,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230651904001,"66":26745,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230651904001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:47:14] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:47:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 14:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230651904001,"power":26745,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 14:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":229752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63535,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:47:14] local.INFO: GPS data processed {"connection_id":229752,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:47:14] local.INFO: Acknowledgment sent {"connection_id":229752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:47:32] local.INFO: TCP Data received {"connection_id":231607,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231607,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:47:32] local.INFO: Processing buffer {"connection_id":231607,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:47:32] local.INFO: IMEI packet received {"connection_id":231607,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":231607,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:47:36] local.INFO: TCP Data received {"connection_id":231607,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231607,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:47:36] local.INFO: Processing buffer {"connection_id":231607,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:47:36] local.INFO: IMEI packet received {"connection_id":231607,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":231607,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:47:41] local.INFO: TCP Data received {"connection_id":233520,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aafad258012d7fa60005afe2e80009011029..."} 
[2026-11-05 14:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aafad258012d7fa60005afe2e80009011029..."} 
[2026-11-05 14:47:41] local.INFO: Processing buffer {"connection_id":233520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aafad258012d7fa60005afe2e80009011029..."} 
[2026-11-05 14:47:41] local.INFO: Packet analysis {"connection_id":233520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aafa"} 
[2026-11-05 14:47:41] local.INFO: Extracted packet for processing {"connection_id":233520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aafa"} 
[2026-11-05 14:47:41] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":9,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230624256001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793869927000,"timestamp_ms":1793869927000,"timestamp_seconds":1793869927,"priority":1,"record_length":96,"hex_timestamp":"000001a1aafad258"} 
[2026-11-05 14:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:47: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-05 14:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 14:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:47: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-05 14:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230624256001,"66":25441,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230624256001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:47:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:47:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230624256001,"power":25441,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":233520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:47:41] local.INFO: GPS data processed {"connection_id":233520,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:47:41] local.INFO: Acknowledgment sent {"connection_id":233520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:47:42] local.INFO: TCP Data received {"connection_id":231607,"ip":"42.106.6.33","data_length":93,"data_hex":"00000000000000518e01000001a1a9c56768012d0a80400705ad400016015526..."} 
[2026-11-05 14:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231607,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c56768012d0a80400705ad400016015526..."} 
[2026-11-05 14:47:42] local.INFO: Processing buffer {"connection_id":231607,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c56768012d0a80400705ad400016015526..."} 
[2026-11-05 14:47:42] local.INFO: Packet analysis {"connection_id":231607,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c5"} 
[2026-11-05 14:47:42] local.INFO: Extracted packet for processing {"connection_id":231607,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c5"} 
[2026-11-05 14:47:42] local.INFO: GPS Element Parsed {"raw_longitude":755662912,"raw_latitude":117812544,"longitude_deg":75.5662912,"latitude_deg":11.7812544,"altitude":22,"angle":341,"satellites":38,"speed":12,"hex_longitude":"2d0a8040","hex_latitude":"0705ad40","is_valid_coordinates":true} 
[2026-11-05 14:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:47:42] 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-05 14:47:42] 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-05 14:47:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:47:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231607,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231607,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231607,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:47:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":231607,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:47:42] local.ERROR: GPS data processing failed {"connection_id":231607,"error":"No valid data to process"} 
[2026-11-05 14:47:42] local.INFO: Acknowledgment sent {"connection_id":231607,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:47:47] local.INFO: TCP Data received {"connection_id":229752,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aafc7838012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aafc7838012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:47:47] local.INFO: Processing buffer {"connection_id":229752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aafc7838012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:47:47] local.INFO: Packet analysis {"connection_id":229752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aafc"} 
[2026-11-05 14:47:47] local.INFO: Extracted packet for processing {"connection_id":229752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aafc"} 
[2026-11-05 14:47:47] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230651904001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 14:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793870035000,"timestamp_ms":1793870035000,"timestamp_seconds":1793870035,"priority":1,"record_length":96,"hex_timestamp":"000001a1aafc7838"} 
[2026-11-05 14: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-05 14:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-05 14:47: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-05 14: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-05 14: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-05 14:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229752,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229752,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230651904001,"66":26745,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230651904001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:47:47] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:47:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 14:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230651904001,"power":26745,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 14:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":229752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63537,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:47:47] local.INFO: GPS data processed {"connection_id":229752,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:47:47] local.INFO: Acknowledgment sent {"connection_id":229752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:48:08] local.INFO: TCP Data received {"connection_id":229753,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:48:08] local.INFO: Processing buffer {"connection_id":229753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:48:08] local.INFO: IMEI packet received {"connection_id":229753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":229753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:48:11] local.INFO: TCP Data received {"connection_id":231608,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231608,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:48:11] local.INFO: Processing buffer {"connection_id":231608,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:48:11] local.INFO: IMEI packet received {"connection_id":231608,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":231608,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:48:13] local.INFO: TCP Data received {"connection_id":231607,"ip":"42.106.6.33","data_length":93,"data_hex":"00000000000000518e01000001a1a9c57708012d0a7d000705b4780015014a24..."} 
[2026-11-05 14:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231607,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c57708012d0a7d000705b4780015014a24..."} 
[2026-11-05 14:48:13] local.INFO: Processing buffer {"connection_id":231607,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c57708012d0a7d000705b4780015014a24..."} 
[2026-11-05 14:48:13] local.INFO: Packet analysis {"connection_id":231607,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c5"} 
[2026-11-05 14:48:13] local.INFO: Extracted packet for processing {"connection_id":231607,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c5"} 
[2026-11-05 14:48:13] local.INFO: GPS Element Parsed {"raw_longitude":755662080,"raw_latitude":117814392,"longitude_deg":75.566208,"latitude_deg":11.7814392,"altitude":21,"angle":330,"satellites":36,"speed":25,"hex_longitude":"2d0a7d00","hex_latitude":"0705b478","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:48:13] 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-05 14:48:13] 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-05 14:48:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:48:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":231607,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":231607,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":231607,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:48:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":231607,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:48:13] local.ERROR: GPS data processing failed {"connection_id":231607,"error":"No valid data to process"} 
[2026-11-05 14:48:13] local.INFO: Acknowledgment sent {"connection_id":231607,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:48:13] local.INFO: TCP Data received {"connection_id":229753,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:48:13] local.INFO: Processing buffer {"connection_id":229753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:48:13] local.INFO: IMEI packet received {"connection_id":229753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":229753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:48:16] local.INFO: TCP Data received {"connection_id":231608,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231608,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:48:16] local.INFO: Processing buffer {"connection_id":231608,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:48:16] local.INFO: IMEI packet received {"connection_id":231608,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":231608,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:48:17] local.INFO: TCP Data received {"connection_id":229753,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:48:17] local.INFO: Processing buffer {"connection_id":229753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:48:17] local.INFO: Packet analysis {"connection_id":229753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaff"} 
[2026-11-05 14:48:17] local.INFO: Extracted packet for processing {"connection_id":229753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaff"} 
[2026-11-05 14:48:17] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230701312001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793870228000,"timestamp_ms":1793870228000,"timestamp_seconds":1793870228,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaff6a20"} 
[2026-11-05 14: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-05 14:48: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-05 14: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":97,"data_length":795,"current_offset":136} 
[2026-11-05 14:48: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-05 14: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-05 14: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-05 14:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230701312001,"66":25397,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230701312001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:48:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:48:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230701312001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":229753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:48:17] local.INFO: GPS data processed {"connection_id":229753,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:48:17] local.INFO: Acknowledgment sent {"connection_id":229753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:48:18] local.INFO: TCP Data received {"connection_id":231608,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aafc7838012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aafc7838012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:48:18] local.INFO: Processing buffer {"connection_id":231608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aafc7838012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:48:18] local.INFO: Packet analysis {"connection_id":231608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aafc"} 
[2026-11-05 14:48:18] local.INFO: Extracted packet for processing {"connection_id":231608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aafc"} 
[2026-11-05 14:48:18] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230651904001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 14:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793870035000,"timestamp_ms":1793870035000,"timestamp_seconds":1793870035,"priority":1,"record_length":96,"hex_timestamp":"000001a1aafc7838"} 
[2026-11-05 14: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-05 14:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-05 14:48: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-05 14: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-05 14: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-05 14:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":231608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":231608,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":231608,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230651904001,"66":26745,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230651904001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:48:18] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:48:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 14:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230651904001,"power":26745,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 14:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":231608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63539,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:48:18] local.INFO: GPS data processed {"connection_id":231608,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:48:18] local.INFO: Acknowledgment sent {"connection_id":231608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:48:24] local.INFO: TCP Data received {"connection_id":231608,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aafc7838012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aafc7838012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:48:24] local.INFO: Processing buffer {"connection_id":231608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aafc7838012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:48:24] local.INFO: Packet analysis {"connection_id":231608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aafc"} 
[2026-11-05 14:48:24] local.INFO: Extracted packet for processing {"connection_id":231608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aafc"} 
[2026-11-05 14:48:24] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14:48: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-05 14:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230651904001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 14:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793870035000,"timestamp_ms":1793870035000,"timestamp_seconds":1793870035,"priority":1,"record_length":96,"hex_timestamp":"000001a1aafc7838"} 
[2026-11-05 14:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-05 14:48: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-05 14:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":231608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":231608,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":231608,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230651904001,"66":26745,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230651904001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:48:24] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:48:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 14:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230651904001,"power":26745,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 14:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":231608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63540,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:48:24] local.INFO: GPS data processed {"connection_id":231608,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:48:24] local.INFO: Acknowledgment sent {"connection_id":231608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:48:31] local.INFO: TCP Data received {"connection_id":229754,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229754,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:48:31] local.INFO: Processing buffer {"connection_id":229754,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:48:31] local.INFO: IMEI packet received {"connection_id":229754,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":229754,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:48:36] local.INFO: TCP Data received {"connection_id":229754,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229754,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:48:36] local.INFO: Processing buffer {"connection_id":229754,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:48:36] local.INFO: IMEI packet received {"connection_id":229754,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":229754,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:48:38] local.INFO: TCP Data received {"connection_id":229754,"ip":"42.106.6.14","data_length":171,"data_hex":"000000000000009f8e02000001a1ab00c5c8012d0b13000702a170000a007527..."} 
[2026-11-05 14:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229754,"packet_length":171,"packet_hex":"000000000000009f8e02000001a1ab00c5c8012d0b13000702a170000a007527..."} 
[2026-11-05 14:48:38] local.INFO: Processing buffer {"connection_id":229754,"buffer_length":171,"buffer_hex":"000000000000009f8e02000001a1ab00c5c8012d0b13000702a170000a007527..."} 
[2026-11-05 14:48:38] local.INFO: Packet analysis {"connection_id":229754,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e02000001a1ab00"} 
[2026-11-05 14:48:38] local.INFO: Extracted packet for processing {"connection_id":229754,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e02000001a1ab00"} 
[2026-11-05 14:48:38] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612912,"longitude_deg":75.570048,"latitude_deg":11.7612912,"altitude":10,"angle":117,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a170","is_valid_coordinates":true} 
[2026-11-05 14:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":171,"current_offset":40} 
[2026-11-05 14:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225512448001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 14:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754282599001608192,"note":"Value kept but may cause issues"} 
[2026-11-05 14:48: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-05 14:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1793870317000,"timestamp_ms":1793870317000,"timestamp_seconds":1793870317,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab00c5c8"} 
[2026-11-05 14:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 14:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":171,"current_offset":136} 
[2026-11-05 14:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:48:38] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":229754,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-11-05 14:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":229754,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":229754,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 14:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 14:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225512448001,"66":12645,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":754282599001608192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 14:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 14:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 14:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225512448001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:48:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 14:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":754282599001608192,"description":"Unknown IO ID 45"} 
[2026-11-05 14:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225512448001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":754282599001608192}} 
[2026-11-05 14:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":229754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63541,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:48:39] local.INFO: GPS data processed {"connection_id":229754,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:48:39] local.INFO: Acknowledgment sent {"connection_id":229754,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:48:51] local.INFO: TCP Data received {"connection_id":229753,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:48:51] local.INFO: Processing buffer {"connection_id":229753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:48:51] local.INFO: Packet analysis {"connection_id":229753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaff"} 
[2026-11-05 14:48:51] local.INFO: Extracted packet for processing {"connection_id":229753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaff"} 
[2026-11-05 14:48:51] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230701312001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793870228000,"timestamp_ms":1793870228000,"timestamp_seconds":1793870228,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaff6a20"} 
[2026-11-05 14: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-05 14:48: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-05 14:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 14:48:51] 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-05 14: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-05 14: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-05 14:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":229753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":229753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":229753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230701312001,"66":25397,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230701312001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:48:51] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:48:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230701312001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":229753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:48:51] local.INFO: GPS data processed {"connection_id":229753,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:48:51] local.INFO: Acknowledgment sent {"connection_id":229753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:49:03] local.INFO: TCP Data received {"connection_id":233521,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:49:03] local.INFO: Processing buffer {"connection_id":233521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:49:03] local.INFO: IMEI packet received {"connection_id":233521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":233521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:49:06] local.INFO: TCP Data received {"connection_id":231609,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231609,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:49:06] local.INFO: Processing buffer {"connection_id":231609,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:49:06] local.INFO: IMEI packet received {"connection_id":231609,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":231609,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:49:09] local.INFO: TCP Data received {"connection_id":233521,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:49:09] local.INFO: Processing buffer {"connection_id":233521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:49:09] local.INFO: IMEI packet received {"connection_id":233521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":233521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:49:11] local.INFO: TCP Data received {"connection_id":229754,"ip":"42.106.6.14","data_length":93,"data_hex":"00000000000000518e01000001a1a9c5d8b0012d0a74c00705caf80016015b29..."} 
[2026-11-05 14:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229754,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c5d8b0012d0a74c00705caf80016015b29..."} 
[2026-11-05 14:49:11] local.INFO: Processing buffer {"connection_id":229754,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c5d8b0012d0a74c00705caf80016015b29..."} 
[2026-11-05 14:49:11] local.INFO: Packet analysis {"connection_id":229754,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c5"} 
[2026-11-05 14:49:11] local.INFO: Extracted packet for processing {"connection_id":229754,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c5"} 
[2026-11-05 14:49:11] local.INFO: GPS Element Parsed {"raw_longitude":755659968,"raw_latitude":117820152,"longitude_deg":75.5659968,"latitude_deg":11.7820152,"altitude":22,"angle":347,"satellites":41,"speed":15,"hex_longitude":"2d0a74c0","hex_latitude":"0705caf8","is_valid_coordinates":true} 
[2026-11-05 14:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:49:11] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:49:11] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229754,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229754,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229754,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:49:11] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":229754,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:49:11] local.ERROR: GPS data processing failed {"connection_id":229754,"error":"No valid data to process"} 
[2026-11-05 14:49:11] local.INFO: Acknowledgment sent {"connection_id":229754,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:49:11] local.INFO: TCP Data received {"connection_id":233521,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:49:11] local.INFO: Processing buffer {"connection_id":233521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:49:11] local.INFO: Packet analysis {"connection_id":233521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaff"} 
[2026-11-05 14:49:11] local.INFO: Extracted packet for processing {"connection_id":233521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaff"} 
[2026-11-05 14:49:11] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230701312001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793870228000,"timestamp_ms":1793870228000,"timestamp_seconds":1793870228,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaff6a20"} 
[2026-11-05 14:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 14:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 14:49: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-05 14:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230701312001,"66":25397,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230701312001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:49:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:49:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230701312001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":233521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:49:11] local.INFO: GPS data processed {"connection_id":233521,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:49:11] local.INFO: Acknowledgment sent {"connection_id":233521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:49:11] local.INFO: TCP Data received {"connection_id":231609,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231609,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:49:11] local.INFO: Processing buffer {"connection_id":231609,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:49:11] local.INFO: IMEI packet received {"connection_id":231609,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":231609,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:49:13] local.INFO: TCP Data received {"connection_id":231609,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1aafc7838012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aafc7838012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:49:13] local.INFO: Processing buffer {"connection_id":231609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aafc7838012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:49:13] local.INFO: Packet analysis {"connection_id":231609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aafc"} 
[2026-11-05 14:49:13] local.INFO: Extracted packet for processing {"connection_id":231609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aafc"} 
[2026-11-05 14:49:13] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230651904001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 14:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793870035000,"timestamp_ms":1793870035000,"timestamp_seconds":1793870035,"priority":1,"record_length":96,"hex_timestamp":"000001a1aafc7838"} 
[2026-11-05 14: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-05 14:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-05 14:49:13] 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-05 14: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-05 14: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-05 14:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":231609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":231609,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":231609,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230651904001,"66":26745,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230651904001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:49:13] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:49:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 14:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230651904001,"power":26745,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 14:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":231609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63544,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:49:14] local.INFO: GPS data processed {"connection_id":231609,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:49:14] local.INFO: Acknowledgment sent {"connection_id":231609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:49:31] local.INFO: TCP Data received {"connection_id":231610,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231610,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:49:31] local.INFO: Processing buffer {"connection_id":231610,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:49:31] local.INFO: IMEI packet received {"connection_id":231610,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":231610,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:49:37] local.INFO: TCP Data received {"connection_id":231610,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231610,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:49:37] local.INFO: Processing buffer {"connection_id":231610,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:49:37] local.INFO: IMEI packet received {"connection_id":231610,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":231610,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:49:42] local.INFO: TCP Data received {"connection_id":231610,"ip":"42.106.6.39","data_length":93,"data_hex":"00000000000000518e01000001a1a9c5fbd8012d0a72400705dce0001500022a..."} 
[2026-11-05 14:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231610,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c5fbd8012d0a72400705dce0001500022a..."} 
[2026-11-05 14:49:42] local.INFO: Processing buffer {"connection_id":231610,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c5fbd8012d0a72400705dce0001500022a..."} 
[2026-11-05 14:49:42] local.INFO: Packet analysis {"connection_id":231610,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c5"} 
[2026-11-05 14:49:42] local.INFO: Extracted packet for processing {"connection_id":231610,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c5"} 
[2026-11-05 14:49:42] local.INFO: GPS Element Parsed {"raw_longitude":755659328,"raw_latitude":117824736,"longitude_deg":75.5659328,"latitude_deg":11.7824736,"altitude":21,"angle":2,"satellites":42,"speed":8,"hex_longitude":"2d0a7240","hex_latitude":"0705dce0","is_valid_coordinates":true} 
[2026-11-05 14:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:49:42] 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-05 14:49:42] 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-05 14:49:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:49:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231610,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231610,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231610,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:49:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":231610,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:49:42] local.ERROR: GPS data processing failed {"connection_id":231610,"error":"No valid data to process"} 
[2026-11-05 14:49:42] local.INFO: Acknowledgment sent {"connection_id":231610,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:49:42] local.INFO: TCP Data received {"connection_id":233521,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:49:42] local.INFO: Processing buffer {"connection_id":233521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:49:42] local.INFO: Packet analysis {"connection_id":233521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaff"} 
[2026-11-05 14:49:42] local.INFO: Extracted packet for processing {"connection_id":233521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaff"} 
[2026-11-05 14:49:42] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230701312001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793870228000,"timestamp_ms":1793870228000,"timestamp_seconds":1793870228,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaff6a20"} 
[2026-11-05 14:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:49: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-05 14:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 14:49: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-05 14:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:49: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-05 14:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230701312001,"66":25397,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230701312001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:49:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:49:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230701312001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":233521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:49:42] local.INFO: GPS data processed {"connection_id":233521,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:49:42] local.INFO: Acknowledgment sent {"connection_id":233521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:49:48] local.INFO: TCP Data received {"connection_id":231609,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab011000012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab011000012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:49:48] local.INFO: Processing buffer {"connection_id":231609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab011000012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:49:48] local.INFO: Packet analysis {"connection_id":231609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab01"} 
[2026-11-05 14:49:48] local.INFO: Extracted packet for processing {"connection_id":231609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab01"} 
[2026-11-05 14:49:48] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230728960001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 14:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793870336000,"timestamp_ms":1793870336000,"timestamp_seconds":1793870336,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab011000"} 
[2026-11-05 14: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-05 14:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":104,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-11-05 14:49:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1807,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":231609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":231609,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":231609,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230728960001,"66":26691,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230728960001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:49:48] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:49:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 14:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230728960001,"power":26691,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 14:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":231609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63546,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:49:48] local.INFO: GPS data processed {"connection_id":231609,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:49:48] local.INFO: Acknowledgment sent {"connection_id":231609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:50:05] local.INFO: TCP Data received {"connection_id":229756,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229756,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:50:05] local.INFO: Processing buffer {"connection_id":229756,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:50:05] local.INFO: IMEI packet received {"connection_id":229756,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":229756,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:50:08] local.INFO: TCP Data received {"connection_id":229755,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:50:08] local.INFO: Processing buffer {"connection_id":229755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:50:08] local.INFO: IMEI packet received {"connection_id":229755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":229755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:50:11] local.INFO: TCP Data received {"connection_id":229756,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229756,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:50:11] local.INFO: Processing buffer {"connection_id":229756,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:50:11] local.INFO: IMEI packet received {"connection_id":229756,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":229756,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:50:13] local.INFO: TCP Data received {"connection_id":231610,"ip":"42.106.6.39","data_length":93,"data_hex":"00000000000000518e01000001a1a9c603a8012d0a72800705de480014001b28..."} 
[2026-11-05 14:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231610,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c603a8012d0a72800705de480014001b28..."} 
[2026-11-05 14:50:13] local.INFO: Processing buffer {"connection_id":231610,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c603a8012d0a72800705de480014001b28..."} 
[2026-11-05 14:50:13] local.INFO: Packet analysis {"connection_id":231610,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c6"} 
[2026-11-05 14:50:13] local.INFO: Extracted packet for processing {"connection_id":231610,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c6"} 
[2026-11-05 14:50:13] local.INFO: GPS Element Parsed {"raw_longitude":755659392,"raw_latitude":117825096,"longitude_deg":75.5659392,"latitude_deg":11.7825096,"altitude":20,"angle":27,"satellites":40,"speed":6,"hex_longitude":"2d0a7280","hex_latitude":"0705de48","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:50:13] 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-05 14:50:13] 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-05 14:50:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:50:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":231610,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":231610,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":231610,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:50:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":231610,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:50:13] local.ERROR: GPS data processing failed {"connection_id":231610,"error":"No valid data to process"} 
[2026-11-05 14:50:13] local.INFO: Acknowledgment sent {"connection_id":231610,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:50:13] local.INFO: TCP Data received {"connection_id":229755,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:50:13] local.INFO: Processing buffer {"connection_id":229755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:50:13] local.INFO: IMEI packet received {"connection_id":229755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":229755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:50:13] local.INFO: TCP Data received {"connection_id":229756,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab011000012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab011000012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:50:13] local.INFO: Processing buffer {"connection_id":229756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab011000012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:50:13] local.INFO: Packet analysis {"connection_id":229756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab01"} 
[2026-11-05 14:50:13] local.INFO: Extracted packet for processing {"connection_id":229756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab01"} 
[2026-11-05 14:50:13] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230728960001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 14:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793870336000,"timestamp_ms":1793870336000,"timestamp_seconds":1793870336,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab011000"} 
[2026-11-05 14: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-05 14:50:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":104,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-11-05 14:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1807,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230728960001,"66":26691,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230728960001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:50:13] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:50:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 14:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230728960001,"power":26691,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 14:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":229756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63547,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:50:14] local.INFO: GPS data processed {"connection_id":229756,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:50:14] local.INFO: Acknowledgment sent {"connection_id":229756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:50:14] local.INFO: TCP Data received {"connection_id":229755,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:50:14] local.INFO: Processing buffer {"connection_id":229755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:50:14] local.INFO: Packet analysis {"connection_id":229755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaff"} 
[2026-11-05 14:50:14] local.INFO: Extracted packet for processing {"connection_id":229755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaff"} 
[2026-11-05 14:50:14] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230701312001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793870228000,"timestamp_ms":1793870228000,"timestamp_seconds":1793870228,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaff6a20"} 
[2026-11-05 14: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-05 14:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 14:50: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-05 14: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-05 14: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-05 14:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230701312001,"66":25397,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230701312001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:50:14] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:50:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230701312001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":229755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:50:14] local.INFO: GPS data processed {"connection_id":229755,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:50:14] local.INFO: Acknowledgment sent {"connection_id":229755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:50:19] local.INFO: TCP Data received {"connection_id":229755,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:50:19] local.INFO: Processing buffer {"connection_id":229755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:50:19] local.INFO: Packet analysis {"connection_id":229755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaff"} 
[2026-11-05 14:50:19] local.INFO: Extracted packet for processing {"connection_id":229755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaff"} 
[2026-11-05 14:50:19] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230701312001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793870228000,"timestamp_ms":1793870228000,"timestamp_seconds":1793870228,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaff6a20"} 
[2026-11-05 14:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:50: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-05 14:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 14:50:19] 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-05 14:50:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:50:19] local.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-05 14:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230701312001,"66":25397,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230701312001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:50:19] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:50:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230701312001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":229755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:50:19] local.INFO: GPS data processed {"connection_id":229755,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:50:19] local.INFO: Acknowledgment sent {"connection_id":229755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:50:31] local.INFO: TCP Data received {"connection_id":233522,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233522,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:50:31] local.INFO: Processing buffer {"connection_id":233522,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:50:31] local.INFO: IMEI packet received {"connection_id":233522,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":233522,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:50:36] local.INFO: TCP Data received {"connection_id":233522,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233522,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:50:36] local.INFO: Processing buffer {"connection_id":233522,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:50:36] local.INFO: IMEI packet received {"connection_id":233522,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":233522,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:50:41] local.INFO: TCP Data received {"connection_id":233522,"ip":"42.106.6.30","data_length":93,"data_hex":"00000000000000518e01000001a1a9c60b78012d0a73800705dfa80014002928..."} 
[2026-11-05 14:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233522,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c60b78012d0a73800705dfa80014002928..."} 
[2026-11-05 14:50:41] local.INFO: Processing buffer {"connection_id":233522,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c60b78012d0a73800705dfa80014002928..."} 
[2026-11-05 14:50:41] local.INFO: Packet analysis {"connection_id":233522,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c6"} 
[2026-11-05 14:50:41] local.INFO: Extracted packet for processing {"connection_id":233522,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c6"} 
[2026-11-05 14:50:41] local.INFO: GPS Element Parsed {"raw_longitude":755659648,"raw_latitude":117825448,"longitude_deg":75.5659648,"latitude_deg":11.7825448,"altitude":20,"angle":41,"satellites":40,"speed":9,"hex_longitude":"2d0a7380","hex_latitude":"0705dfa8","is_valid_coordinates":true} 
[2026-11-05 14:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:50:41] 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-05 14:50:41] 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-05 14:50:41] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:50:41] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233522,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233522,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233522,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:50:41] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":233522,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:50:41] local.ERROR: GPS data processing failed {"connection_id":233522,"error":"No valid data to process"} 
[2026-11-05 14:50:41] local.INFO: Acknowledgment sent {"connection_id":233522,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:50:47] local.INFO: TCP Data received {"connection_id":229756,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab011000012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab011000012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:50:47] local.INFO: Processing buffer {"connection_id":229756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab011000012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:50:47] local.INFO: Packet analysis {"connection_id":229756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab01"} 
[2026-11-05 14:50:47] local.INFO: Extracted packet for processing {"connection_id":229756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab01"} 
[2026-11-05 14:50:47] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230728960001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 14:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793870336000,"timestamp_ms":1793870336000,"timestamp_seconds":1793870336,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab011000"} 
[2026-11-05 14: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-05 14:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":104,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-11-05 14:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1807,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230728960001,"66":26691,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230728960001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:50:47] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:50:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 14:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230728960001,"power":26691,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 14:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":229756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63550,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:50:47] local.INFO: GPS data processed {"connection_id":229756,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:50:47] local.INFO: Acknowledgment sent {"connection_id":229756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:51:05] local.INFO: TCP Data received {"connection_id":230282,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:51:05] local.INFO: Processing buffer {"connection_id":230282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:51:05] local.INFO: IMEI packet received {"connection_id":230282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":230282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:51:08] local.INFO: TCP Data received {"connection_id":230282,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:51:08] local.INFO: Processing buffer {"connection_id":230282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:51:08] local.INFO: IMEI packet received {"connection_id":230282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":230282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:51:09] local.INFO: TCP Data received {"connection_id":230282,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:51:09] local.INFO: Processing buffer {"connection_id":230282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:51:09] local.INFO: Packet analysis {"connection_id":230282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaff"} 
[2026-11-05 14:51:09] local.INFO: Extracted packet for processing {"connection_id":230282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaff"} 
[2026-11-05 14:51:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:51: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-05 14:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230701312001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793870228000,"timestamp_ms":1793870228000,"timestamp_seconds":1793870228,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaff6a20"} 
[2026-11-05 14:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:51: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-05 14:51: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":97,"data_length":795,"current_offset":136} 
[2026-11-05 14:51:09] 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-05 14:51: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-05 14:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:51:09] local.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-05 14:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230701312001,"66":25397,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230701312001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:51:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:51:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230701312001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:51:09] 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":63551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:51:09] local.INFO: GPS data processed {"connection_id":230282,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:51:09] local.INFO: Acknowledgment sent {"connection_id":230282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:51:11] local.INFO: TCP Data received {"connection_id":231611,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231611,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:51:11] local.INFO: Processing buffer {"connection_id":231611,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:51:11] local.INFO: IMEI packet received {"connection_id":231611,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":231611,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:51:13] local.INFO: TCP Data received {"connection_id":233522,"ip":"42.106.6.30","data_length":93,"data_hex":"00000000000000518e01000001a1a9c61348012d0a74c00705e1680014001c27..."} 
[2026-11-05 14:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233522,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c61348012d0a74c00705e1680014001c27..."} 
[2026-11-05 14:51:13] local.INFO: Processing buffer {"connection_id":233522,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c61348012d0a74c00705e1680014001c27..."} 
[2026-11-05 14:51:13] local.INFO: Packet analysis {"connection_id":233522,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c6"} 
[2026-11-05 14:51:13] local.INFO: Extracted packet for processing {"connection_id":233522,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c6"} 
[2026-11-05 14:51:13] local.INFO: GPS Element Parsed {"raw_longitude":755659968,"raw_latitude":117825896,"longitude_deg":75.5659968,"latitude_deg":11.7825896,"altitude":20,"angle":28,"satellites":39,"speed":11,"hex_longitude":"2d0a74c0","hex_latitude":"0705e168","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:51:13] 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-05 14:51:13] 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-05 14:51:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:51:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":233522,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":233522,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":233522,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:51:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":233522,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:51:13] local.ERROR: GPS data processing failed {"connection_id":233522,"error":"No valid data to process"} 
[2026-11-05 14:51:13] local.INFO: Acknowledgment sent {"connection_id":233522,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:51:15] local.INFO: TCP Data received {"connection_id":230282,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:51:15] local.INFO: Processing buffer {"connection_id":230282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:51:15] local.INFO: Packet analysis {"connection_id":230282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaff"} 
[2026-11-05 14:51:15] local.INFO: Extracted packet for processing {"connection_id":230282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaff"} 
[2026-11-05 14:51:15] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230701312001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793870228000,"timestamp_ms":1793870228000,"timestamp_seconds":1793870228,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaff6a20"} 
[2026-11-05 14: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-05 14:51: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-05 14: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 14:51:15] 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-05 14: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-05 14: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-05 14:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:51:15] local.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-05 14:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230701312001,"66":25397,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230701312001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:51:15] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:51:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230701312001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:51:15] 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":63552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:51:15] local.INFO: GPS data processed {"connection_id":230282,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:51:15] local.INFO: Acknowledgment sent {"connection_id":230282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:51:16] local.INFO: TCP Data received {"connection_id":231611,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231611,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:51:16] local.INFO: Processing buffer {"connection_id":231611,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:51:16] local.INFO: IMEI packet received {"connection_id":231611,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":231611,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:51:20] local.INFO: TCP Data received {"connection_id":231611,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab011000012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab011000012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:51:20] local.INFO: Processing buffer {"connection_id":231611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab011000012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:51:20] local.INFO: Packet analysis {"connection_id":231611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab01"} 
[2026-11-05 14:51:20] local.INFO: Extracted packet for processing {"connection_id":231611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab01"} 
[2026-11-05 14:51:20] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230728960001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 14:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793870336000,"timestamp_ms":1793870336000,"timestamp_seconds":1793870336,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab011000"} 
[2026-11-05 14: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-05 14:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":104,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-11-05 14:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1807,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":231611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":231611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":231611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230728960001,"66":26691,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230728960001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:51:20] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:51:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 14:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230728960001,"power":26691,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 14:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":231611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63553,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:51:20] local.INFO: GPS data processed {"connection_id":231611,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:51:20] local.INFO: Acknowledgment sent {"connection_id":231611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:51:22] local.INFO: TCP Data received {"connection_id":231611,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab011000012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab011000012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:51:22] local.INFO: Processing buffer {"connection_id":231611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab011000012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:51:22] local.INFO: Packet analysis {"connection_id":231611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab01"} 
[2026-11-05 14:51:22] local.INFO: Extracted packet for processing {"connection_id":231611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab01"} 
[2026-11-05 14:51:22] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230728960001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 14:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793870336000,"timestamp_ms":1793870336000,"timestamp_seconds":1793870336,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab011000"} 
[2026-11-05 14: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-05 14:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":104,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-11-05 14:51:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1807,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":231611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":231611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":231611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230728960001,"66":26691,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230728960001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:51:22] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:51:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 14:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230728960001,"power":26691,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 14:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":231611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63554,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:51:22] local.INFO: GPS data processed {"connection_id":231611,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:51:22] local.INFO: Acknowledgment sent {"connection_id":231611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:51:37] local.INFO: TCP Data received {"connection_id":233523,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233523,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:51:37] local.INFO: Processing buffer {"connection_id":233523,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:51:37] local.INFO: IMEI packet received {"connection_id":233523,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":233523,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:51:42] local.INFO: TCP Data received {"connection_id":233523,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233523,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:51:42] local.INFO: Processing buffer {"connection_id":233523,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:51:42] local.INFO: IMEI packet received {"connection_id":233523,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":233523,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:51:46] local.INFO: TCP Data received {"connection_id":230282,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:51:46] local.INFO: Processing buffer {"connection_id":230282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:51:46] local.INFO: Packet analysis {"connection_id":230282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaff"} 
[2026-11-05 14:51:46] local.INFO: Extracted packet for processing {"connection_id":230282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaff"} 
[2026-11-05 14:51:46] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230701312001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793870228000,"timestamp_ms":1793870228000,"timestamp_seconds":1793870228,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaff6a20"} 
[2026-11-05 14: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-05 14:51: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-05 14:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 14:51: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-05 14: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-05 14: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-05 14:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14: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-05 14:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230701312001,"66":25397,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230701312001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:51:46] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:51:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230701312001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:51:46] 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":63555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:51:46] local.INFO: GPS data processed {"connection_id":230282,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:51:46] local.INFO: Acknowledgment sent {"connection_id":230282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:51:47] local.INFO: TCP Data received {"connection_id":233523,"ip":"42.106.6.30","data_length":93,"data_hex":"00000000000000518e01000001a1a9c61b18012d0a75800705e3e80014000d28..."} 
[2026-11-05 14:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233523,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c61b18012d0a75800705e3e80014000d28..."} 
[2026-11-05 14:51:47] local.INFO: Processing buffer {"connection_id":233523,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c61b18012d0a75800705e3e80014000d28..."} 
[2026-11-05 14:51:47] local.INFO: Packet analysis {"connection_id":233523,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c6"} 
[2026-11-05 14:51:47] local.INFO: Extracted packet for processing {"connection_id":233523,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c6"} 
[2026-11-05 14:51:47] local.INFO: GPS Element Parsed {"raw_longitude":755660160,"raw_latitude":117826536,"longitude_deg":75.566016,"latitude_deg":11.7826536,"altitude":20,"angle":13,"satellites":40,"speed":15,"hex_longitude":"2d0a7580","hex_latitude":"0705e3e8","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:51:47] 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-05 14:51:47] 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-05 14:51:47] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:51:47] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":233523,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":233523,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":233523,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:51:47] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":233523,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:51:47] local.ERROR: GPS data processing failed {"connection_id":233523,"error":"No valid data to process"} 
[2026-11-05 14:51:47] local.INFO: Acknowledgment sent {"connection_id":233523,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:51:57] local.INFO: TCP Data received {"connection_id":233523,"ip":"42.106.6.30","data_length":93,"data_hex":"00000000000000518e01000001a1a9c622e8012d0a75c00705e7580013000129..."} 
[2026-11-05 14:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233523,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c622e8012d0a75c00705e7580013000129..."} 
[2026-11-05 14:51:57] local.INFO: Processing buffer {"connection_id":233523,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c622e8012d0a75c00705e7580013000129..."} 
[2026-11-05 14:51:57] local.INFO: Packet analysis {"connection_id":233523,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c6"} 
[2026-11-05 14:51:57] local.INFO: Extracted packet for processing {"connection_id":233523,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c6"} 
[2026-11-05 14:51:57] local.INFO: GPS Element Parsed {"raw_longitude":755660224,"raw_latitude":117827416,"longitude_deg":75.5660224,"latitude_deg":11.7827416,"altitude":19,"angle":1,"satellites":41,"speed":18,"hex_longitude":"2d0a75c0","hex_latitude":"0705e758","is_valid_coordinates":true} 
[2026-11-05 14:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:51:57] 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-05 14:51:57] 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-05 14:51:57] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:51:57] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":233523,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":233523,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":233523,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:51:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:51:57] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":233523,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:51:57] local.ERROR: GPS data processing failed {"connection_id":233523,"error":"No valid data to process"} 
[2026-11-05 14:51:57] local.INFO: Acknowledgment sent {"connection_id":233523,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:52:03] local.INFO: TCP Data received {"connection_id":231612,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:52:03] local.INFO: Processing buffer {"connection_id":231612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:52:03] local.INFO: IMEI packet received {"connection_id":231612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":231612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:52:06] local.INFO: TCP Data received {"connection_id":231613,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231613,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:52:06] local.INFO: Processing buffer {"connection_id":231613,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:52:06] local.INFO: IMEI packet received {"connection_id":231613,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":231613,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:52:08] local.INFO: TCP Data received {"connection_id":231612,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:52:08] local.INFO: Processing buffer {"connection_id":231612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:52:08] local.INFO: IMEI packet received {"connection_id":231612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":231612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:52:09] local.INFO: TCP Data received {"connection_id":231612,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:52:09] local.INFO: Processing buffer {"connection_id":231612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:52:09] local.INFO: Packet analysis {"connection_id":231612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaff"} 
[2026-11-05 14:52:09] local.INFO: Extracted packet for processing {"connection_id":231612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaff"} 
[2026-11-05 14:52:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230701312001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793870228000,"timestamp_ms":1793870228000,"timestamp_seconds":1793870228,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaff6a20"} 
[2026-11-05 14:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:52: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-05 14:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 14:52:09] 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-05 14:52: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-05 14:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:52:09] local.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-05 14:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230701312001,"66":25397,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230701312001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:52:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:52:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230701312001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":231612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:52:09] local.INFO: GPS data processed {"connection_id":231612,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:52:09] local.INFO: Acknowledgment sent {"connection_id":231612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:52:11] local.INFO: TCP Data received {"connection_id":231613,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231613,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:52:11] local.INFO: Processing buffer {"connection_id":231613,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:52:11] local.INFO: IMEI packet received {"connection_id":231613,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":231613,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:52:13] local.INFO: TCP Data received {"connection_id":231613,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab011000012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab011000012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:52:13] local.INFO: Processing buffer {"connection_id":231613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab011000012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:52:13] local.INFO: Packet analysis {"connection_id":231613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab01"} 
[2026-11-05 14:52:13] local.INFO: Extracted packet for processing {"connection_id":231613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab01"} 
[2026-11-05 14:52:13] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 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-05 14:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230728960001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 14:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793870336000,"timestamp_ms":1793870336000,"timestamp_seconds":1793870336,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab011000"} 
[2026-11-05 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-05 14:52:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 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":104,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-11-05 14:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1807,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 14:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":231613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":231613,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":231613,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230728960001,"66":26691,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230728960001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:52:13] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:52:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 14:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230728960001,"power":26691,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 14:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":231613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63557,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:52:13] local.INFO: GPS data processed {"connection_id":231613,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:52:13] local.INFO: Acknowledgment sent {"connection_id":231613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:52:31] local.INFO: TCP Data received {"connection_id":229757,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229757,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:52:31] local.INFO: Processing buffer {"connection_id":229757,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:52:31] local.INFO: IMEI packet received {"connection_id":229757,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":229757,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:52:36] local.INFO: TCP Data received {"connection_id":229757,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229757,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:52:36] local.INFO: Processing buffer {"connection_id":229757,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:52:36] local.INFO: IMEI packet received {"connection_id":229757,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":229757,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:52:40] local.INFO: TCP Data received {"connection_id":231612,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:52:40] local.INFO: Processing buffer {"connection_id":231612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aaff6a20012d7fa60005afe2e80002011027..."} 
[2026-11-05 14:52:40] local.INFO: Packet analysis {"connection_id":231612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aaff"} 
[2026-11-05 14:52:40] local.INFO: Extracted packet for processing {"connection_id":231612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aaff"} 
[2026-11-05 14:52:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230701312001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793870228000,"timestamp_ms":1793870228000,"timestamp_seconds":1793870228,"priority":1,"record_length":96,"hex_timestamp":"000001a1aaff6a20"} 
[2026-11-05 14:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 14:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 14:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230701312001,"66":25397,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230701312001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:52:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:52:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230701312001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":231612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:52:40] local.INFO: GPS data processed {"connection_id":231612,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:52:40] local.INFO: Acknowledgment sent {"connection_id":231612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:52:42] local.INFO: TCP Data received {"connection_id":229757,"ip":"42.106.6.30","data_length":93,"data_hex":"00000000000000518e01000001a1a9c64de0012d0a74c00705fd500011015d27..."} 
[2026-11-05 14:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229757,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c64de0012d0a74c00705fd500011015d27..."} 
[2026-11-05 14:52:42] local.INFO: Processing buffer {"connection_id":229757,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c64de0012d0a74c00705fd500011015d27..."} 
[2026-11-05 14:52:42] local.INFO: Packet analysis {"connection_id":229757,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c6"} 
[2026-11-05 14:52:42] local.INFO: Extracted packet for processing {"connection_id":229757,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c6"} 
[2026-11-05 14:52:42] local.INFO: GPS Element Parsed {"raw_longitude":755659968,"raw_latitude":117833040,"longitude_deg":75.5659968,"latitude_deg":11.783304,"altitude":17,"angle":349,"satellites":39,"speed":15,"hex_longitude":"2d0a74c0","hex_latitude":"0705fd50","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:52:42] 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-05 14:52:42] 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-05 14:52:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:52:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229757,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229757,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229757,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:52:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":229757,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:52:42] local.ERROR: GPS data processing failed {"connection_id":229757,"error":"No valid data to process"} 
[2026-11-05 14:52:42] local.INFO: Acknowledgment sent {"connection_id":229757,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:52:52] local.INFO: TCP Data received {"connection_id":231613,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab011000012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab011000012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:52:52] local.INFO: Processing buffer {"connection_id":231613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab011000012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:52:52] local.INFO: Packet analysis {"connection_id":231613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab01"} 
[2026-11-05 14:52:52] local.INFO: Extracted packet for processing {"connection_id":231613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab01"} 
[2026-11-05 14:52:52] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230728960001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 14:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793870336000,"timestamp_ms":1793870336000,"timestamp_seconds":1793870336,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab011000"} 
[2026-11-05 14: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-05 14:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":104,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-11-05 14:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1807,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":231613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":231613,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":231613,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230728960001,"66":26691,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230728960001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:52:52] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:52:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 14:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230728960001,"power":26691,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 14:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":231613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63559,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:52:53] local.INFO: GPS data processed {"connection_id":231613,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:52:53] local.INFO: Acknowledgment sent {"connection_id":231613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:53:03] local.INFO: TCP Data received {"connection_id":229758,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:53:03] local.INFO: Processing buffer {"connection_id":229758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:53:03] local.INFO: IMEI packet received {"connection_id":229758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":229758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:53:06] local.INFO: TCP Data received {"connection_id":230283,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:53:06] local.INFO: Processing buffer {"connection_id":230283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:53:06] local.INFO: IMEI packet received {"connection_id":230283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":230283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:53:08] local.INFO: TCP Data received {"connection_id":229758,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:53:08] local.INFO: Processing buffer {"connection_id":229758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:53:08] local.INFO: IMEI packet received {"connection_id":229758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":229758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:53:11] local.INFO: TCP Data received {"connection_id":230283,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:53:11] local.INFO: Processing buffer {"connection_id":230283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:53:11] local.INFO: IMEI packet received {"connection_id":230283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":230283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:53:13] local.INFO: TCP Data received {"connection_id":229757,"ip":"42.106.6.30","data_length":93,"data_hex":"00000000000000518e01000001a1a9c67108012d0a738007060b10000e000327..."} 
[2026-11-05 14:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229757,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c67108012d0a738007060b10000e000327..."} 
[2026-11-05 14:53:13] local.INFO: Processing buffer {"connection_id":229757,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c67108012d0a738007060b10000e000327..."} 
[2026-11-05 14:53:13] local.INFO: Packet analysis {"connection_id":229757,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c6"} 
[2026-11-05 14:53:13] local.INFO: Extracted packet for processing {"connection_id":229757,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c6"} 
[2026-11-05 14:53:13] local.INFO: GPS Element Parsed {"raw_longitude":755659648,"raw_latitude":117836560,"longitude_deg":75.5659648,"latitude_deg":11.783656,"altitude":14,"angle":3,"satellites":39,"speed":12,"hex_longitude":"2d0a7380","hex_latitude":"07060b10","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:53:13] 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-05 14:53:13] 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-05 14:53:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:53:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229757,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229757,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229757,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:53:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":229757,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:53:13] local.ERROR: GPS data processing failed {"connection_id":229757,"error":"No valid data to process"} 
[2026-11-05 14:53:13] local.INFO: Acknowledgment sent {"connection_id":229757,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:53:23] local.INFO: TCP Data received {"connection_id":230283,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab011000012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab011000012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:53:23] local.INFO: Processing buffer {"connection_id":230283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab011000012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:53:23] local.INFO: Packet analysis {"connection_id":230283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab01"} 
[2026-11-05 14:53:23] local.INFO: Extracted packet for processing {"connection_id":230283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab01"} 
[2026-11-05 14:53:23] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230728960001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 14:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793870336000,"timestamp_ms":1793870336000,"timestamp_seconds":1793870336,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab011000"} 
[2026-11-05 14:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:53:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-11-05 14:53:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1807,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:53:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":230283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":230283,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":230283,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230728960001,"66":26691,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230728960001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:53:23] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:53:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 14:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230728960001,"power":26691,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 14:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":230283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63560,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:53:23] local.INFO: GPS data processed {"connection_id":230283,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:53:23] local.INFO: Acknowledgment sent {"connection_id":230283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:53:27] local.INFO: TCP Data received {"connection_id":229758,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0401e8012d7fa60005afe2e80002011029..."} 
[2026-11-05 14:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0401e8012d7fa60005afe2e80002011029..."} 
[2026-11-05 14:53:27] local.INFO: Processing buffer {"connection_id":229758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0401e8012d7fa60005afe2e80002011029..."} 
[2026-11-05 14:53:27] local.INFO: Packet analysis {"connection_id":229758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab04"} 
[2026-11-05 14:53:27] local.INFO: Extracted packet for processing {"connection_id":229758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab04"} 
[2026-11-05 14:53:27] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230778368001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793870529000,"timestamp_ms":1793870529000,"timestamp_seconds":1793870529,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0401e8"} 
[2026-11-05 14:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 14:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":229758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":229758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":229758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230778368001,"66":25397,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230778368001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:53:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:53:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230778368001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":229758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:53:27] local.INFO: GPS data processed {"connection_id":229758,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:53:27] local.INFO: Acknowledgment sent {"connection_id":229758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:53:31] local.INFO: TCP Data received {"connection_id":231614,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231614,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:53:31] local.INFO: Processing buffer {"connection_id":231614,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:53:31] local.INFO: IMEI packet received {"connection_id":231614,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":231614,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:53:47] local.INFO: TCP Data received {"connection_id":231614,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231614,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:53:47] local.INFO: Processing buffer {"connection_id":231614,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:53:47] local.INFO: IMEI packet received {"connection_id":231614,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":231614,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:53:47] local.INFO: TCP Data received {"connection_id":231614,"ip":"42.106.6.30","data_length":93,"data_hex":"00000000000000518e01000001a1ab055d90012d0b13000702a1700002007524..."} 
[2026-11-05 14:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231614,"packet_length":93,"packet_hex":"00000000000000518e01000001a1ab055d90012d0b13000702a1700002007524..."} 
[2026-11-05 14:53:47] local.INFO: Processing buffer {"connection_id":231614,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1ab055d90012d0b13000702a1700002007524..."} 
[2026-11-05 14:53:47] local.INFO: Packet analysis {"connection_id":231614,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1ab05"} 
[2026-11-05 14:53:47] local.INFO: Extracted packet for processing {"connection_id":231614,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1ab05"} 
[2026-11-05 14:53:47] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612912,"longitude_deg":75.570048,"latitude_deg":11.7612912,"altitude":2,"angle":117,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a170","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:53:47] 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-05 14:53:47] 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-05 14:53:47] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:53:47] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":231614,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":231614,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":231614,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:53:47] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":231614,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:53:47] local.ERROR: GPS data processing failed {"connection_id":231614,"error":"No valid data to process"} 
[2026-11-05 14:53:47] local.INFO: Acknowledgment sent {"connection_id":231614,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:54:08] local.INFO: TCP Data received {"connection_id":230284,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:54:08] local.INFO: Processing buffer {"connection_id":230284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:54:08] local.INFO: IMEI packet received {"connection_id":230284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":230284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:54:11] local.INFO: TCP Data received {"connection_id":231615,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231615,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:54:11] local.INFO: Processing buffer {"connection_id":231615,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:54:11] local.INFO: IMEI packet received {"connection_id":231615,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":231615,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:54:13] local.INFO: TCP Data received {"connection_id":230284,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:54:13] local.INFO: Processing buffer {"connection_id":230284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:54:13] local.INFO: IMEI packet received {"connection_id":230284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":230284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:54:13] local.INFO: TCP Data received {"connection_id":230284,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0401e8012d7fa60005afe2e80002011029..."} 
[2026-11-05 14:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0401e8012d7fa60005afe2e80002011029..."} 
[2026-11-05 14:54:13] local.INFO: Processing buffer {"connection_id":230284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0401e8012d7fa60005afe2e80002011029..."} 
[2026-11-05 14:54:13] local.INFO: Packet analysis {"connection_id":230284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab04"} 
[2026-11-05 14:54:13] local.INFO: Extracted packet for processing {"connection_id":230284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab04"} 
[2026-11-05 14:54:13] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230778368001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793870529000,"timestamp_ms":1793870529000,"timestamp_seconds":1793870529,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0401e8"} 
[2026-11-05 14: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-05 14: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-05 14: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":53,"data_length":795,"current_offset":136} 
[2026-11-05 14:54: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-05 14: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-05 14: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-05 14:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230778368001,"66":25397,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230778368001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:54:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:54:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230778368001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:54: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":63562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:54:13] local.INFO: GPS data processed {"connection_id":230284,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:54:13] local.INFO: Acknowledgment sent {"connection_id":230284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:54:16] local.INFO: TCP Data received {"connection_id":231615,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231615,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:54:16] local.INFO: Processing buffer {"connection_id":231615,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:54:16] local.INFO: IMEI packet received {"connection_id":231615,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":231615,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:54:20] local.INFO: TCP Data received {"connection_id":230284,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0401e8012d7fa60005afe2e80002011029..."} 
[2026-11-05 14:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0401e8012d7fa60005afe2e80002011029..."} 
[2026-11-05 14:54:20] local.INFO: Processing buffer {"connection_id":230284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0401e8012d7fa60005afe2e80002011029..."} 
[2026-11-05 14:54:20] local.INFO: Packet analysis {"connection_id":230284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab04"} 
[2026-11-05 14:54:20] local.INFO: Extracted packet for processing {"connection_id":230284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab04"} 
[2026-11-05 14:54:20] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230778368001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793870529000,"timestamp_ms":1793870529000,"timestamp_seconds":1793870529,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0401e8"} 
[2026-11-05 14: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-05 14:54: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-05 14: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 14:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:54:20] local.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-05 14:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230778368001,"66":25397,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230778368001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:54:20] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:54:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230778368001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:54:20] 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":63563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:54:20] local.INFO: GPS data processed {"connection_id":230284,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:54:20] local.INFO: Acknowledgment sent {"connection_id":230284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:54:20] local.INFO: TCP Data received {"connection_id":231615,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab011000012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab011000012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:54:20] local.INFO: Processing buffer {"connection_id":231615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab011000012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:54:20] local.INFO: Packet analysis {"connection_id":231615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab01"} 
[2026-11-05 14:54:20] local.INFO: Extracted packet for processing {"connection_id":231615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab01"} 
[2026-11-05 14:54:20] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230728960001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 14:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793870336000,"timestamp_ms":1793870336000,"timestamp_seconds":1793870336,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab011000"} 
[2026-11-05 14: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-05 14:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":104,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-11-05 14:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1807,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":231615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":231615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":231615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230728960001,"66":26691,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230728960001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:54:20] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:54:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 14:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230728960001,"power":26691,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 14:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":231615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63564,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:54:20] local.INFO: GPS data processed {"connection_id":231615,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:54:20] local.INFO: Acknowledgment sent {"connection_id":231615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:54:26] local.INFO: TCP Data received {"connection_id":231615,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab011000012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab011000012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:54:26] local.INFO: Processing buffer {"connection_id":231615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab011000012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:54:26] local.INFO: Packet analysis {"connection_id":231615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab01"} 
[2026-11-05 14:54:26] local.INFO: Extracted packet for processing {"connection_id":231615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab01"} 
[2026-11-05 14:54:26] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230728960001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 14:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793870336000,"timestamp_ms":1793870336000,"timestamp_seconds":1793870336,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab011000"} 
[2026-11-05 14: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-05 14:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":104,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-11-05 14:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1807,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":231615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":231615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":231615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230728960001,"66":26691,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230728960001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:54:26] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:54:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 14:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230728960001,"power":26691,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 14:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":231615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63565,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:54:26] local.INFO: GPS data processed {"connection_id":231615,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:54:26] local.INFO: Acknowledgment sent {"connection_id":231615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:54:31] local.INFO: TCP Data received {"connection_id":229759,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229759,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:54:31] local.INFO: Processing buffer {"connection_id":229759,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:54:31] local.INFO: IMEI packet received {"connection_id":229759,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":229759,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:54:37] local.INFO: TCP Data received {"connection_id":229759,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229759,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:54:37] local.INFO: Processing buffer {"connection_id":229759,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:54:37] local.INFO: IMEI packet received {"connection_id":229759,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":229759,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:54:42] local.INFO: TCP Data received {"connection_id":229759,"ip":"42.106.6.30","data_length":93,"data_hex":"00000000000000518e01000001a1a9c680a8012d0a74c007061098000d000e26..."} 
[2026-11-05 14:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229759,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c680a8012d0a74c007061098000d000e26..."} 
[2026-11-05 14:54:42] local.INFO: Processing buffer {"connection_id":229759,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c680a8012d0a74c007061098000d000e26..."} 
[2026-11-05 14:54:42] local.INFO: Packet analysis {"connection_id":229759,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c6"} 
[2026-11-05 14:54:42] local.INFO: Extracted packet for processing {"connection_id":229759,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c6"} 
[2026-11-05 14:54:42] local.INFO: GPS Element Parsed {"raw_longitude":755659968,"raw_latitude":117837976,"longitude_deg":75.5659968,"latitude_deg":11.7837976,"altitude":13,"angle":14,"satellites":38,"speed":17,"hex_longitude":"2d0a74c0","hex_latitude":"07061098","is_valid_coordinates":true} 
[2026-11-05 14:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:54:42] 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-05 14:54:42] 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-05 14:54:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:54:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229759,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229759,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229759,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:54:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":229759,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:54:42] local.ERROR: GPS data processing failed {"connection_id":229759,"error":"No valid data to process"} 
[2026-11-05 14:54:42] local.INFO: Acknowledgment sent {"connection_id":229759,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:55:03] local.INFO: TCP Data received {"connection_id":233524,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:55:03] local.INFO: Processing buffer {"connection_id":233524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:55:03] local.INFO: IMEI packet received {"connection_id":233524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":233524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:55:06] local.INFO: TCP Data received {"connection_id":231616,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231616,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:55:06] local.INFO: Processing buffer {"connection_id":231616,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:55:06] local.INFO: IMEI packet received {"connection_id":231616,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":231616,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:55:08] local.INFO: TCP Data received {"connection_id":233524,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:55:08] local.INFO: Processing buffer {"connection_id":233524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:55:08] local.INFO: IMEI packet received {"connection_id":233524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":233524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:55:09] local.INFO: TCP Data received {"connection_id":233524,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0401e8012d7fa60005afe2e80002011029..."} 
[2026-11-05 14:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0401e8012d7fa60005afe2e80002011029..."} 
[2026-11-05 14:55:09] local.INFO: Processing buffer {"connection_id":233524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0401e8012d7fa60005afe2e80002011029..."} 
[2026-11-05 14:55:09] local.INFO: Packet analysis {"connection_id":233524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab04"} 
[2026-11-05 14:55:09] local.INFO: Extracted packet for processing {"connection_id":233524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab04"} 
[2026-11-05 14:55:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:55: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-05 14:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230778368001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793870529000,"timestamp_ms":1793870529000,"timestamp_seconds":1793870529,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0401e8"} 
[2026-11-05 14:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 14:55: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":53,"data_length":795,"current_offset":136} 
[2026-11-05 14:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 14:55: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-05 14:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:55:09] local.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-05 14:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230778368001,"66":25397,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230778368001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:55:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:55:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230778368001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":233524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:55:09] local.INFO: GPS data processed {"connection_id":233524,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:55:09] local.INFO: Acknowledgment sent {"connection_id":233524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:55:11] local.INFO: TCP Data received {"connection_id":231616,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231616,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:55:11] local.INFO: Processing buffer {"connection_id":231616,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:55:11] local.INFO: IMEI packet received {"connection_id":231616,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":231616,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:55:12] local.INFO: TCP Data received {"connection_id":229759,"ip":"42.106.6.30","data_length":93,"data_hex":"00000000000000518e01000001a1a9c69818012d0a768007061678000d002126..."} 
[2026-11-05 14:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229759,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c69818012d0a768007061678000d002126..."} 
[2026-11-05 14:55:12] local.INFO: Processing buffer {"connection_id":229759,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c69818012d0a768007061678000d002126..."} 
[2026-11-05 14:55:12] local.INFO: Packet analysis {"connection_id":229759,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c6"} 
[2026-11-05 14:55:12] local.INFO: Extracted packet for processing {"connection_id":229759,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c6"} 
[2026-11-05 14:55:12] local.INFO: GPS Element Parsed {"raw_longitude":755660416,"raw_latitude":117839480,"longitude_deg":75.5660416,"latitude_deg":11.783948,"altitude":13,"angle":33,"satellites":38,"speed":9,"hex_longitude":"2d0a7680","hex_latitude":"07061678","is_valid_coordinates":true} 
[2026-11-05 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":93,"current_offset":40} 
[2026-11-05 14:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:55:12] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:55:12] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229759,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229759,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229759,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:55:12] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":229759,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:55:12] local.ERROR: GPS data processing failed {"connection_id":229759,"error":"No valid data to process"} 
[2026-11-05 14:55:12] local.INFO: Acknowledgment sent {"connection_id":229759,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:55:17] local.INFO: TCP Data received {"connection_id":231616,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab05a7c8012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab05a7c8012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:55:17] local.INFO: Processing buffer {"connection_id":231616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab05a7c8012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:55:17] local.INFO: Packet analysis {"connection_id":231616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab05"} 
[2026-11-05 14:55:17] local.INFO: Extracted packet for processing {"connection_id":231616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab05"} 
[2026-11-05 14:55:17] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230806016001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 14:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793870637000,"timestamp_ms":1793870637000,"timestamp_seconds":1793870637,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab05a7c8"} 
[2026-11-05 14: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-05 14:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-05 14:55:17] 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-05 14: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-05 14: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-05 14:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":231616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":231616,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":231616,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230806016001,"66":26593,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230806016001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:55:17] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:55:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 14:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230806016001,"power":26593,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 14:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":231616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63567,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:55:18] local.INFO: GPS data processed {"connection_id":231616,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:55:18] local.INFO: Acknowledgment sent {"connection_id":231616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:55:37] local.INFO: TCP Data received {"connection_id":229760,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229760,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:55:37] local.INFO: Processing buffer {"connection_id":229760,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:55:37] local.INFO: IMEI packet received {"connection_id":229760,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":229760,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:55:41] local.INFO: TCP Data received {"connection_id":233524,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0401e8012d7fa60005afe2e80002011029..."} 
[2026-11-05 14:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0401e8012d7fa60005afe2e80002011029..."} 
[2026-11-05 14:55:41] local.INFO: Processing buffer {"connection_id":233524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0401e8012d7fa60005afe2e80002011029..."} 
[2026-11-05 14:55:41] local.INFO: Packet analysis {"connection_id":233524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab04"} 
[2026-11-05 14:55:41] local.INFO: Extracted packet for processing {"connection_id":233524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab04"} 
[2026-11-05 14:55:41] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230778368001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793870529000,"timestamp_ms":1793870529000,"timestamp_seconds":1793870529,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0401e8"} 
[2026-11-05 14: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-05 14:55: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-05 14:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 14:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:55: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-05 14:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230778368001,"66":25397,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230778368001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:55:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:55:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230778368001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":233524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:55:42] local.INFO: GPS data processed {"connection_id":233524,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:55:42] local.INFO: Acknowledgment sent {"connection_id":233524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:55:43] local.INFO: TCP Data received {"connection_id":229760,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229760,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:55:43] local.INFO: Processing buffer {"connection_id":229760,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:55:43] local.INFO: IMEI packet received {"connection_id":229760,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":229760,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:55:46] local.INFO: TCP Data received {"connection_id":229760,"ip":"42.106.6.22","data_length":93,"data_hex":"00000000000000518e01000001a1a9c69c00012d0a770007061738000d003427..."} 
[2026-11-05 14:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229760,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c69c00012d0a770007061738000d003427..."} 
[2026-11-05 14:55:46] local.INFO: Processing buffer {"connection_id":229760,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c69c00012d0a770007061738000d003427..."} 
[2026-11-05 14:55:46] local.INFO: Packet analysis {"connection_id":229760,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c6"} 
[2026-11-05 14:55:46] local.INFO: Extracted packet for processing {"connection_id":229760,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c6"} 
[2026-11-05 14:55:46] local.INFO: GPS Element Parsed {"raw_longitude":755660544,"raw_latitude":117839672,"longitude_deg":75.5660544,"latitude_deg":11.7839672,"altitude":13,"angle":52,"satellites":39,"speed":10,"hex_longitude":"2d0a7700","hex_latitude":"07061738","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:55:46] 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-05 14:55:46] 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-05 14:55:46] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:55:46] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229760,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229760,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229760,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:55:46] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":229760,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:55:46] local.ERROR: GPS data processing failed {"connection_id":229760,"error":"No valid data to process"} 
[2026-11-05 14:55:46] local.INFO: Acknowledgment sent {"connection_id":229760,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:55:50] local.INFO: TCP Data received {"connection_id":231616,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab05a7c8012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab05a7c8012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:55:50] local.INFO: Processing buffer {"connection_id":231616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab05a7c8012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:55:50] local.INFO: Packet analysis {"connection_id":231616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab05"} 
[2026-11-05 14:55:50] local.INFO: Extracted packet for processing {"connection_id":231616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab05"} 
[2026-11-05 14:55:50] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230806016001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 14:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793870637000,"timestamp_ms":1793870637000,"timestamp_seconds":1793870637,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab05a7c8"} 
[2026-11-05 14: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-05 14:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-05 14:55: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-05 14: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-05 14: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-05 14:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":231616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":231616,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":231616,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230806016001,"66":26593,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230806016001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:55:50] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:55:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 14:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230806016001,"power":26593,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 14:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":231616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63569,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:55:50] local.INFO: GPS data processed {"connection_id":231616,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:55:50] local.INFO: Acknowledgment sent {"connection_id":231616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:55:57] local.INFO: TCP Data received {"connection_id":229760,"ip":"42.106.6.22","data_length":93,"data_hex":"00000000000000518e01000001a1a9c69fe8012d0a7800070617a0000d004a25..."} 
[2026-11-05 14:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229760,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c69fe8012d0a7800070617a0000d004a25..."} 
[2026-11-05 14:55:57] local.INFO: Processing buffer {"connection_id":229760,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c69fe8012d0a7800070617a0000d004a25..."} 
[2026-11-05 14:55:57] local.INFO: Packet analysis {"connection_id":229760,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c6"} 
[2026-11-05 14:55:57] local.INFO: Extracted packet for processing {"connection_id":229760,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c6"} 
[2026-11-05 14:55:57] local.INFO: GPS Element Parsed {"raw_longitude":755660800,"raw_latitude":117839776,"longitude_deg":75.56608,"latitude_deg":11.7839776,"altitude":13,"angle":74,"satellites":37,"speed":9,"hex_longitude":"2d0a7800","hex_latitude":"070617a0","is_valid_coordinates":true} 
[2026-11-05 14:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:55:57] 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-05 14:55:57] 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-05 14:55:57] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:55:57] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":229760,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":229760,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":229760,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:55:57] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":229760,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:55:57] local.ERROR: GPS data processing failed {"connection_id":229760,"error":"No valid data to process"} 
[2026-11-05 14:55:57] local.INFO: Acknowledgment sent {"connection_id":229760,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:56:03] local.INFO: TCP Data received {"connection_id":233525,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:56:03] local.INFO: Processing buffer {"connection_id":233525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:56:03] local.INFO: IMEI packet received {"connection_id":233525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":233525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:56:05] local.INFO: TCP Data received {"connection_id":230285,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:56:05] local.INFO: Processing buffer {"connection_id":230285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:56:05] local.INFO: IMEI packet received {"connection_id":230285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":230285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:56:09] local.INFO: TCP Data received {"connection_id":233525,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:56:09] local.INFO: Processing buffer {"connection_id":233525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:56:09] local.INFO: IMEI packet received {"connection_id":233525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":233525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:56:10] local.INFO: TCP Data received {"connection_id":233525,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0401e8012d7fa60005afe2e80002011029..."} 
[2026-11-05 14:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0401e8012d7fa60005afe2e80002011029..."} 
[2026-11-05 14:56:10] local.INFO: Processing buffer {"connection_id":233525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0401e8012d7fa60005afe2e80002011029..."} 
[2026-11-05 14:56:10] local.INFO: Packet analysis {"connection_id":233525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab04"} 
[2026-11-05 14:56:10] local.INFO: Extracted packet for processing {"connection_id":233525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab04"} 
[2026-11-05 14:56:10] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230778368001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793870529000,"timestamp_ms":1793870529000,"timestamp_seconds":1793870529,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0401e8"} 
[2026-11-05 14:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 14:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 14:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:56:10] local.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-05 14:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230778368001,"66":25397,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230778368001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:56:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230778368001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":233525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:56:10] local.INFO: GPS data processed {"connection_id":233525,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:56:10] local.INFO: Acknowledgment sent {"connection_id":233525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:56:11] local.INFO: TCP Data received {"connection_id":230285,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:56:11] local.INFO: Processing buffer {"connection_id":230285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:56:11] local.INFO: IMEI packet received {"connection_id":230285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":230285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:56:13] local.INFO: TCP Data received {"connection_id":230285,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab05a7c8012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab05a7c8012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:56:13] local.INFO: Processing buffer {"connection_id":230285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab05a7c8012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:56:13] local.INFO: Packet analysis {"connection_id":230285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab05"} 
[2026-11-05 14:56:13] local.INFO: Extracted packet for processing {"connection_id":230285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab05"} 
[2026-11-05 14:56:13] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230806016001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 14:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793870637000,"timestamp_ms":1793870637000,"timestamp_seconds":1793870637,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab05a7c8"} 
[2026-11-05 14: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-05 14:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-05 14:56:13] 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-05 14: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-05 14: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-05 14:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230806016001,"66":26593,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230806016001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:56:13] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:56:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 14:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230806016001,"power":26593,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 14:56:14] 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":63571,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:56:14] local.INFO: GPS data processed {"connection_id":230285,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:56:14] local.INFO: Acknowledgment sent {"connection_id":230285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:56:32] local.INFO: TCP Data received {"connection_id":231617,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231617,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:56:32] local.INFO: Processing buffer {"connection_id":231617,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:56:32] local.INFO: IMEI packet received {"connection_id":231617,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":231617,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:56:37] local.INFO: TCP Data received {"connection_id":231617,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231617,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:56:37] local.INFO: Processing buffer {"connection_id":231617,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:56:37] local.INFO: IMEI packet received {"connection_id":231617,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":231617,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:56:41] local.INFO: TCP Data received {"connection_id":233525,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0401e8012d7fa60005afe2e80002011029..."} 
[2026-11-05 14:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0401e8012d7fa60005afe2e80002011029..."} 
[2026-11-05 14:56:41] local.INFO: Processing buffer {"connection_id":233525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0401e8012d7fa60005afe2e80002011029..."} 
[2026-11-05 14:56:41] local.INFO: Packet analysis {"connection_id":233525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab04"} 
[2026-11-05 14:56:41] local.INFO: Extracted packet for processing {"connection_id":233525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab04"} 
[2026-11-05 14:56:41] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230778368001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793870529000,"timestamp_ms":1793870529000,"timestamp_seconds":1793870529,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0401e8"} 
[2026-11-05 14: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-05 14:56: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-05 14: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 14:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:56: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-05 14:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230778368001,"66":25397,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230778368001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:56:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230778368001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":233525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:56:41] local.INFO: GPS data processed {"connection_id":233525,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:56:41] local.INFO: Acknowledgment sent {"connection_id":233525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:56:42] local.INFO: TCP Data received {"connection_id":231617,"ip":"42.106.6.24","data_length":93,"data_hex":"00000000000000518e01000001a1a9c6a3d0012d0a78c0070617b8000d005a25..."} 
[2026-11-05 14:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231617,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c6a3d0012d0a78c0070617b8000d005a25..."} 
[2026-11-05 14:56:42] local.INFO: Processing buffer {"connection_id":231617,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c6a3d0012d0a78c0070617b8000d005a25..."} 
[2026-11-05 14:56:42] local.INFO: Packet analysis {"connection_id":231617,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c6"} 
[2026-11-05 14:56:42] local.INFO: Extracted packet for processing {"connection_id":231617,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c6"} 
[2026-11-05 14:56:42] local.INFO: GPS Element Parsed {"raw_longitude":755660992,"raw_latitude":117839800,"longitude_deg":75.5660992,"latitude_deg":11.78398,"altitude":13,"angle":90,"satellites":37,"speed":9,"hex_longitude":"2d0a78c0","hex_latitude":"070617b8","is_valid_coordinates":true} 
[2026-11-05 14:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:56:42] 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-05 14:56:42] 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-05 14:56:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:56:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231617,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231617,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231617,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:56:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":231617,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:56:42] local.ERROR: GPS data processing failed {"connection_id":231617,"error":"No valid data to process"} 
[2026-11-05 14:56:42] local.INFO: Acknowledgment sent {"connection_id":231617,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:56:50] local.INFO: TCP Data received {"connection_id":230285,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab05a7c8012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab05a7c8012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:56:50] local.INFO: Processing buffer {"connection_id":230285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab05a7c8012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:56:50] local.INFO: Packet analysis {"connection_id":230285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab05"} 
[2026-11-05 14:56:50] local.INFO: Extracted packet for processing {"connection_id":230285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab05"} 
[2026-11-05 14:56:50] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230806016001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 14:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793870637000,"timestamp_ms":1793870637000,"timestamp_seconds":1793870637,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab05a7c8"} 
[2026-11-05 14:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-05 14:56: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-05 14:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":230285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":230285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":230285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230806016001,"66":26593,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230806016001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:56:50] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:56:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 14:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230806016001,"power":26593,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 14:56:50] 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":63573,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:56:50] local.INFO: GPS data processed {"connection_id":230285,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:56:50] local.INFO: Acknowledgment sent {"connection_id":230285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:57:03] local.INFO: TCP Data received {"connection_id":230286,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:57:03] local.INFO: Processing buffer {"connection_id":230286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:57:03] local.INFO: IMEI packet received {"connection_id":230286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":230286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:57:06] local.INFO: TCP Data received {"connection_id":229761,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229761,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:57:06] local.INFO: Processing buffer {"connection_id":229761,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:57:06] local.INFO: IMEI packet received {"connection_id":229761,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":229761,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:57:11] local.INFO: TCP Data received {"connection_id":229761,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229761,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:57:11] local.INFO: Processing buffer {"connection_id":229761,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:57:11] local.INFO: IMEI packet received {"connection_id":229761,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":229761,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:57:12] local.INFO: TCP Data received {"connection_id":230286,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:57:12] local.INFO: Processing buffer {"connection_id":230286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:57:12] local.INFO: IMEI packet received {"connection_id":230286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":230286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:57:12] local.INFO: TCP Data received {"connection_id":230286,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0401e8012d7fa60005afe2e80002011029..."} 
[2026-11-05 14:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0401e8012d7fa60005afe2e80002011029..."} 
[2026-11-05 14:57:12] local.INFO: Processing buffer {"connection_id":230286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0401e8012d7fa60005afe2e80002011029..."} 
[2026-11-05 14:57:12] local.INFO: Packet analysis {"connection_id":230286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab04"} 
[2026-11-05 14:57:12] local.INFO: Extracted packet for processing {"connection_id":230286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab04"} 
[2026-11-05 14:57:12] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 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-05 14:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230778368001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793870529000,"timestamp_ms":1793870529000,"timestamp_seconds":1793870529,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0401e8"} 
[2026-11-05 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-05 14: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-05 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":53,"data_length":795,"current_offset":136} 
[2026-11-05 14:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 14:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230778368001,"66":25397,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230778368001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:57:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:57:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230778368001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":230286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:57:12] local.INFO: GPS data processed {"connection_id":230286,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:57:12] local.INFO: Acknowledgment sent {"connection_id":230286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:57:13] local.INFO: TCP Data received {"connection_id":231617,"ip":"42.106.6.24","data_length":93,"data_hex":"00000000000000518e01000001a1a9c6af88012d0a7cc007061748000d006627..."} 
[2026-11-05 14:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231617,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c6af88012d0a7cc007061748000d006627..."} 
[2026-11-05 14:57:13] local.INFO: Processing buffer {"connection_id":231617,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c6af88012d0a7cc007061748000d006627..."} 
[2026-11-05 14:57:13] local.INFO: Packet analysis {"connection_id":231617,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c6"} 
[2026-11-05 14:57:13] local.INFO: Extracted packet for processing {"connection_id":231617,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c6"} 
[2026-11-05 14:57:13] local.INFO: GPS Element Parsed {"raw_longitude":755662016,"raw_latitude":117839688,"longitude_deg":75.5662016,"latitude_deg":11.7839688,"altitude":13,"angle":102,"satellites":39,"speed":14,"hex_longitude":"2d0a7cc0","hex_latitude":"07061748","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:57:13] 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-05 14:57:13] 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-05 14:57:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:57:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":231617,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":231617,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":231617,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:57:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":231617,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:57:13] local.ERROR: GPS data processing failed {"connection_id":231617,"error":"No valid data to process"} 
[2026-11-05 14:57:13] local.INFO: Acknowledgment sent {"connection_id":231617,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:57:13] local.INFO: TCP Data received {"connection_id":230286,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0401e8012d7fa60005afe2e80002011029..."} 
[2026-11-05 14:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0401e8012d7fa60005afe2e80002011029..."} 
[2026-11-05 14:57:13] local.INFO: Processing buffer {"connection_id":230286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0401e8012d7fa60005afe2e80002011029..."} 
[2026-11-05 14:57:13] local.INFO: Packet analysis {"connection_id":230286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab04"} 
[2026-11-05 14:57:13] local.INFO: Extracted packet for processing {"connection_id":230286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab04"} 
[2026-11-05 14:57:13] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230778368001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793870529000,"timestamp_ms":1793870529000,"timestamp_seconds":1793870529,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0401e8"} 
[2026-11-05 14: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-05 14:57: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-05 14: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":53,"data_length":795,"current_offset":136} 
[2026-11-05 14:57: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-05 14: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-05 14: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-05 14:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:57: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-05 14:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230778368001,"66":25397,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230778368001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:57:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:57:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230778368001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":230286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:57:13] local.INFO: GPS data processed {"connection_id":230286,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:57:13] local.INFO: Acknowledgment sent {"connection_id":230286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:57:15] local.INFO: TCP Data received {"connection_id":229761,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab05a7c8012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab05a7c8012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:57:15] local.INFO: Processing buffer {"connection_id":229761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab05a7c8012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:57:15] local.INFO: Packet analysis {"connection_id":229761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab05"} 
[2026-11-05 14:57:15] local.INFO: Extracted packet for processing {"connection_id":229761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab05"} 
[2026-11-05 14:57:15] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230806016001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 14:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793870637000,"timestamp_ms":1793870637000,"timestamp_seconds":1793870637,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab05a7c8"} 
[2026-11-05 14: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-05 14:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-05 14:57: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-05 14: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-05 14: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-05 14:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229761,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229761,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230806016001,"66":26593,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230806016001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:57:15] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:57:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 14:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230806016001,"power":26593,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 14:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":229761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63576,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:57:15] local.INFO: GPS data processed {"connection_id":229761,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:57:15] local.INFO: Acknowledgment sent {"connection_id":229761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:57:31] local.INFO: TCP Data received {"connection_id":233526,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233526,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:57:31] local.INFO: Processing buffer {"connection_id":233526,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:57:31] local.INFO: IMEI packet received {"connection_id":233526,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":233526,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:57:38] local.INFO: TCP Data received {"connection_id":233526,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233526,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:57:38] local.INFO: Processing buffer {"connection_id":233526,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:57:38] local.INFO: IMEI packet received {"connection_id":233526,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":233526,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:57:41] local.INFO: TCP Data received {"connection_id":233526,"ip":"42.106.6.24","data_length":93,"data_hex":"00000000000000518e01000001a1a9c6bb40012d0a7fc007061668000e007528..."} 
[2026-11-05 14:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233526,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c6bb40012d0a7fc007061668000e007528..."} 
[2026-11-05 14:57:41] local.INFO: Processing buffer {"connection_id":233526,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c6bb40012d0a7fc007061668000e007528..."} 
[2026-11-05 14:57:41] local.INFO: Packet analysis {"connection_id":233526,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c6"} 
[2026-11-05 14:57:41] local.INFO: Extracted packet for processing {"connection_id":233526,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c6"} 
[2026-11-05 14:57:41] local.INFO: GPS Element Parsed {"raw_longitude":755662784,"raw_latitude":117839464,"longitude_deg":75.5662784,"latitude_deg":11.7839464,"altitude":14,"angle":117,"satellites":40,"speed":8,"hex_longitude":"2d0a7fc0","hex_latitude":"07061668","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:57:41] 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-05 14:57:41] 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-05 14:57:41] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:57:41] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233526,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233526,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233526,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:57:41] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":233526,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:57:41] local.ERROR: GPS data processing failed {"connection_id":233526,"error":"No valid data to process"} 
[2026-11-05 14:57:41] local.INFO: Acknowledgment sent {"connection_id":233526,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:57:44] local.INFO: TCP Data received {"connection_id":230286,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0401e8012d7fa60005afe2e80002011029..."} 
[2026-11-05 14:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0401e8012d7fa60005afe2e80002011029..."} 
[2026-11-05 14:57:44] local.INFO: Processing buffer {"connection_id":230286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0401e8012d7fa60005afe2e80002011029..."} 
[2026-11-05 14:57:44] local.INFO: Packet analysis {"connection_id":230286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab04"} 
[2026-11-05 14:57:44] local.INFO: Extracted packet for processing {"connection_id":230286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab04"} 
[2026-11-05 14:57:44] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 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-05 14:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230778368001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793870529000,"timestamp_ms":1793870529000,"timestamp_seconds":1793870529,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0401e8"} 
[2026-11-05 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-05 14: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-05 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 14:57: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-05 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-05 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-05 14:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:57:44] local.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-05 14:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230778368001,"66":25397,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230778368001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:57:44] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:57:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230778368001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":230286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:57:44] local.INFO: GPS data processed {"connection_id":230286,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:57:44] local.INFO: Acknowledgment sent {"connection_id":230286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:57:53] local.INFO: TCP Data received {"connection_id":229761,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab05a7c8012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab05a7c8012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:57:53] local.INFO: Processing buffer {"connection_id":229761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab05a7c8012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:57:53] local.INFO: Packet analysis {"connection_id":229761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab05"} 
[2026-11-05 14:57:53] local.INFO: Extracted packet for processing {"connection_id":229761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab05"} 
[2026-11-05 14:57:53] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230806016001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 14:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793870637000,"timestamp_ms":1793870637000,"timestamp_seconds":1793870637,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab05a7c8"} 
[2026-11-05 14:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-05 14:57:53] 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-05 14:57:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":229761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":229761,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":229761,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230806016001,"66":26593,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230806016001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:57:53] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:57:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 14:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230806016001,"power":26593,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 14:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":229761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63578,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:57:53] local.INFO: GPS data processed {"connection_id":229761,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:57:53] local.INFO: Acknowledgment sent {"connection_id":229761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:58:03] local.INFO: TCP Data received {"connection_id":231618,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:58:03] local.INFO: Processing buffer {"connection_id":231618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:58:03] local.INFO: IMEI packet received {"connection_id":231618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":231618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:58:08] local.INFO: TCP Data received {"connection_id":231618,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:58:08] local.INFO: Processing buffer {"connection_id":231618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:58:08] local.INFO: IMEI packet received {"connection_id":231618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":231618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:58:09] local.INFO: TCP Data received {"connection_id":231618,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0899b0012d7fa60005afe2e8000201102c..."} 
[2026-11-05 14:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0899b0012d7fa60005afe2e8000201102c..."} 
[2026-11-05 14:58:09] local.INFO: Processing buffer {"connection_id":231618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0899b0012d7fa60005afe2e8000201102c..."} 
[2026-11-05 14:58:09] local.INFO: Packet analysis {"connection_id":231618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab08"} 
[2026-11-05 14:58:09] local.INFO: Extracted packet for processing {"connection_id":231618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab08"} 
[2026-11-05 14:58:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230855424001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793870830000,"timestamp_ms":1793870830000,"timestamp_seconds":1793870830,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0899b0"} 
[2026-11-05 14:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 14:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 14:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 14:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:58:09] local.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-05 14:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230855424001,"66":25343,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230855424001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:58:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:58:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230855424001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":231618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:58:09] local.INFO: GPS data processed {"connection_id":231618,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:58:09] local.INFO: Acknowledgment sent {"connection_id":231618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:58:14] local.INFO: TCP Data received {"connection_id":233526,"ip":"42.106.6.24","data_length":93,"data_hex":"00000000000000518e01000001a1a9c6cec8012d0a85c007061418000f005f27..."} 
[2026-11-05 14:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233526,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c6cec8012d0a85c007061418000f005f27..."} 
[2026-11-05 14:58:14] local.INFO: Processing buffer {"connection_id":233526,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c6cec8012d0a85c007061418000f005f27..."} 
[2026-11-05 14:58:14] local.INFO: Packet analysis {"connection_id":233526,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c6"} 
[2026-11-05 14:58:14] local.INFO: Extracted packet for processing {"connection_id":233526,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c6"} 
[2026-11-05 14:58:14] local.INFO: GPS Element Parsed {"raw_longitude":755664320,"raw_latitude":117838872,"longitude_deg":75.566432,"latitude_deg":11.7838872,"altitude":15,"angle":95,"satellites":39,"speed":11,"hex_longitude":"2d0a85c0","hex_latitude":"07061418","is_valid_coordinates":true} 
[2026-11-05 14: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":93,"current_offset":40} 
[2026-11-05 14:58:14] 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-05 14:58:14] 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-05 14:58:14] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:58:14] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233526,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233526,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233526,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:58:14] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":233526,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:58:14] local.ERROR: GPS data processing failed {"connection_id":233526,"error":"No valid data to process"} 
[2026-11-05 14:58:14] local.INFO: Acknowledgment sent {"connection_id":233526,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:58:25] local.INFO: TCP Data received {"connection_id":230287,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:58:25] local.INFO: Processing buffer {"connection_id":230287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:58:25] local.INFO: IMEI packet received {"connection_id":230287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":230287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:58:31] local.INFO: TCP Data received {"connection_id":231619,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231619,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:58:31] local.INFO: Processing buffer {"connection_id":231619,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:58:31] local.INFO: IMEI packet received {"connection_id":231619,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":231619,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:58:31] local.INFO: TCP Data received {"connection_id":230287,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:58:31] local.INFO: Processing buffer {"connection_id":230287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:58:31] local.INFO: IMEI packet received {"connection_id":230287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":230287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:58:35] local.INFO: TCP Data received {"connection_id":230287,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab05a7c8012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab05a7c8012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:58:35] local.INFO: Processing buffer {"connection_id":230287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab05a7c8012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:58:35] local.INFO: Packet analysis {"connection_id":230287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab05"} 
[2026-11-05 14:58:35] local.INFO: Extracted packet for processing {"connection_id":230287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab05"} 
[2026-11-05 14:58:35] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230806016001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 14:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1793870637000,"timestamp_ms":1793870637000,"timestamp_seconds":1793870637,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab05a7c8"} 
[2026-11-05 14:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-05 14:58:35] 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-05 14:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":230287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":230287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":230287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230806016001,"66":26593,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230806016001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:58:35] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:58:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 14:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230806016001,"power":26593,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 14:58:35] 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":63580,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:58:35] local.INFO: GPS data processed {"connection_id":230287,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:58:35] local.INFO: Acknowledgment sent {"connection_id":230287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:58:37] local.INFO: TCP Data received {"connection_id":231619,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231619,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:58:37] local.INFO: Processing buffer {"connection_id":231619,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:58:37] local.INFO: IMEI packet received {"connection_id":231619,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":231619,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:58:40] local.INFO: TCP Data received {"connection_id":231619,"ip":"42.106.6.24","data_length":171,"data_hex":"000000000000009f8e02000001a1ab09f558012d0b13000702a1700010007527..."} 
[2026-11-05 14:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231619,"packet_length":171,"packet_hex":"000000000000009f8e02000001a1ab09f558012d0b13000702a1700010007527..."} 
[2026-11-05 14:58:40] local.INFO: Processing buffer {"connection_id":231619,"buffer_length":171,"buffer_hex":"000000000000009f8e02000001a1ab09f558012d0b13000702a1700010007527..."} 
[2026-11-05 14:58:40] local.INFO: Packet analysis {"connection_id":231619,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e02000001a1ab09"} 
[2026-11-05 14:58:40] local.INFO: Extracted packet for processing {"connection_id":231619,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e02000001a1ab09"} 
[2026-11-05 14:58:40] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612912,"longitude_deg":75.570048,"latitude_deg":11.7612912,"altitude":16,"angle":117,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a170","is_valid_coordinates":true} 
[2026-11-05 14:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":171,"current_offset":40} 
[2026-11-05 14:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459225533952001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39445817165086720,"note":"Value kept but may cause issues"} 
[2026-11-05 14:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758363986169438208,"note":"Value kept but may cause issues"} 
[2026-11-05 14:58:40] 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-05 14:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793870919000,"timestamp_ms":1793870919000,"timestamp_seconds":1793870919,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab09f558"} 
[2026-11-05 14:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 14:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":171,"current_offset":136} 
[2026-11-05 14:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:58:40] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231619,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-11-05 14:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231619,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231619,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 14:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 14:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 14:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459225533952001,"66":12645,"17":206,"94":11008,"24":0,"16":39445817165086720,"45":758363986169438208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 14:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 14:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 14:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459225533952001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:58:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 14:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39445817165086720,"km_value":39445817165086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":758363986169438208,"description":"Unknown IO ID 45"} 
[2026-11-05 14:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459225533952001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":758363986169438208}} 
[2026-11-05 14:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":231619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63581,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:58:41] local.INFO: GPS data processed {"connection_id":231619,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:58:41] local.INFO: Acknowledgment sent {"connection_id":231619,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:58:42] local.INFO: TCP Data received {"connection_id":231618,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0899b0012d7fa60005afe2e8000201102c..."} 
[2026-11-05 14:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0899b0012d7fa60005afe2e8000201102c..."} 
[2026-11-05 14:58:42] local.INFO: Processing buffer {"connection_id":231618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0899b0012d7fa60005afe2e8000201102c..."} 
[2026-11-05 14:58:42] local.INFO: Packet analysis {"connection_id":231618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab08"} 
[2026-11-05 14:58:42] local.INFO: Extracted packet for processing {"connection_id":231618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab08"} 
[2026-11-05 14:58:42] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230855424001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793870830000,"timestamp_ms":1793870830000,"timestamp_seconds":1793870830,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0899b0"} 
[2026-11-05 14:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:58: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-05 14:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 14:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 14:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:58: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-05 14:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230855424001,"66":25343,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230855424001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:58:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:58:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230855424001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":231618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:58:42] local.INFO: GPS data processed {"connection_id":231618,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:58:42] local.INFO: Acknowledgment sent {"connection_id":231618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:59:03] local.INFO: TCP Data received {"connection_id":230288,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:59:03] local.INFO: Processing buffer {"connection_id":230288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:59:03] local.INFO: IMEI packet received {"connection_id":230288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 14:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":230288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:59:05] local.INFO: TCP Data received {"connection_id":233527,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233527,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:59:05] local.INFO: Processing buffer {"connection_id":233527,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:59:05] local.INFO: IMEI packet received {"connection_id":233527,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 14:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":233527,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:59:09] local.INFO: TCP Data received {"connection_id":230288,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:59:09] local.INFO: Processing buffer {"connection_id":230288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 14:59:09] local.INFO: IMEI packet received {"connection_id":230288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 14:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":230288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:59:10] local.INFO: TCP Data received {"connection_id":230288,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0899b0012d7fa60005afe2e8000201102c..."} 
[2026-11-05 14:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0899b0012d7fa60005afe2e8000201102c..."} 
[2026-11-05 14:59:10] local.INFO: Processing buffer {"connection_id":230288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0899b0012d7fa60005afe2e8000201102c..."} 
[2026-11-05 14:59:10] local.INFO: Packet analysis {"connection_id":230288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab08"} 
[2026-11-05 14:59:10] local.INFO: Extracted packet for processing {"connection_id":230288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab08"} 
[2026-11-05 14:59:10] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 14:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230855424001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793870830000,"timestamp_ms":1793870830000,"timestamp_seconds":1793870830,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0899b0"} 
[2026-11-05 14:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 14:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 14:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 14:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:59:10] local.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-05 14:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230855424001,"66":25343,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230855424001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:59:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:59:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230855424001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":230288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:59:10] local.INFO: GPS data processed {"connection_id":230288,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:59:10] local.INFO: Acknowledgment sent {"connection_id":230288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:59:11] local.INFO: TCP Data received {"connection_id":233527,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233527,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:59:11] local.INFO: Processing buffer {"connection_id":233527,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 14:59:11] local.INFO: IMEI packet received {"connection_id":233527,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 14:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":233527,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:59:11] local.INFO: TCP Data received {"connection_id":231619,"ip":"42.106.6.24","data_length":93,"data_hex":"00000000000000518e01000001a1a9c6ee08012d0a87c0070615600010001b29..."} 
[2026-11-05 14:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231619,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c6ee08012d0a87c0070615600010001b29..."} 
[2026-11-05 14:59:11] local.INFO: Processing buffer {"connection_id":231619,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c6ee08012d0a87c0070615600010001b29..."} 
[2026-11-05 14:59:11] local.INFO: Packet analysis {"connection_id":231619,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c6"} 
[2026-11-05 14:59:11] local.INFO: Extracted packet for processing {"connection_id":231619,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c6"} 
[2026-11-05 14:59:11] local.INFO: GPS Element Parsed {"raw_longitude":755664832,"raw_latitude":117839200,"longitude_deg":75.5664832,"latitude_deg":11.78392,"altitude":16,"angle":27,"satellites":41,"speed":7,"hex_longitude":"2d0a87c0","hex_latitude":"07061560","is_valid_coordinates":true} 
[2026-11-05 14:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 14:59:11] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:59:11] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231619,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231619,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231619,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:59:11] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":231619,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:59:11] local.ERROR: GPS data processing failed {"connection_id":231619,"error":"No valid data to process"} 
[2026-11-05 14:59:11] local.INFO: Acknowledgment sent {"connection_id":231619,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:59:13] local.INFO: TCP Data received {"connection_id":233527,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab05a7c8012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab05a7c8012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:59:13] local.INFO: Processing buffer {"connection_id":233527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab05a7c8012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:59:13] local.INFO: Packet analysis {"connection_id":233527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab05"} 
[2026-11-05 14:59:13] local.INFO: Extracted packet for processing {"connection_id":233527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab05"} 
[2026-11-05 14:59:13] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230806016001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 14:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793870637000,"timestamp_ms":1793870637000,"timestamp_seconds":1793870637,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab05a7c8"} 
[2026-11-05 14: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-05 14:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-05 14:59:13] 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-05 14: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-05 14: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-05 14:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":233527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":233527,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":233527,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230806016001,"66":26593,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230806016001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:59:13] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:59:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 14:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230806016001,"power":26593,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 14:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":233527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63584,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:59:13] local.INFO: GPS data processed {"connection_id":233527,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:59:13] local.INFO: Acknowledgment sent {"connection_id":233527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:59:31] local.INFO: TCP Data received {"connection_id":231620,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231620,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:59:31] local.INFO: Processing buffer {"connection_id":231620,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:59:31] local.INFO: IMEI packet received {"connection_id":231620,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 14:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":231620,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 14:59:37] local.INFO: TCP Data received {"connection_id":231620,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231620,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:59:37] local.INFO: Processing buffer {"connection_id":231620,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 14:59:37] local.INFO: IMEI packet received {"connection_id":231620,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 14:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":231620,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 14:59:41] local.INFO: TCP Data received {"connection_id":230288,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0899b0012d7fa60005afe2e8000201102c..."} 
[2026-11-05 14:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0899b0012d7fa60005afe2e8000201102c..."} 
[2026-11-05 14:59:41] local.INFO: Processing buffer {"connection_id":230288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0899b0012d7fa60005afe2e8000201102c..."} 
[2026-11-05 14:59:41] local.INFO: Packet analysis {"connection_id":230288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab08"} 
[2026-11-05 14:59:41] local.INFO: Extracted packet for processing {"connection_id":230288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab08"} 
[2026-11-05 14:59:41] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230855424001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 14:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 14:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793870830000,"timestamp_ms":1793870830000,"timestamp_seconds":1793870830,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0899b0"} 
[2026-11-05 14: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-05 14:59: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-05 14: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 14:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 14:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 14:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 14:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230855424001,"66":25343,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 14:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 14:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 14:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230855424001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:59:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 14:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 14:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 14:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230855424001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 14:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":230288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:59:41] local.INFO: GPS data processed {"connection_id":230288,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:59:41] local.INFO: Acknowledgment sent {"connection_id":230288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 14:59:42] local.INFO: TCP Data received {"connection_id":231620,"ip":"42.106.6.42","data_length":93,"data_hex":"00000000000000518e01000001a1a9c70578012d0a880007061578001000d827..."} 
[2026-11-05 14:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231620,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c70578012d0a880007061578001000d827..."} 
[2026-11-05 14:59:42] local.INFO: Processing buffer {"connection_id":231620,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c70578012d0a880007061578001000d827..."} 
[2026-11-05 14:59:42] local.INFO: Packet analysis {"connection_id":231620,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c7"} 
[2026-11-05 14:59:42] local.INFO: Extracted packet for processing {"connection_id":231620,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c7"} 
[2026-11-05 14:59:42] local.INFO: GPS Element Parsed {"raw_longitude":755664896,"raw_latitude":117839224,"longitude_deg":75.5664896,"latitude_deg":11.7839224,"altitude":16,"angle":216,"satellites":39,"speed":2,"hex_longitude":"2d0a8800","hex_latitude":"07061578","is_valid_coordinates":true} 
[2026-11-05 14:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 14:59:42] 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-05 14:59:42] 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-05 14:59:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 14:59:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 14:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231620,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 14:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231620,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231620,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 14:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 14:59:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 14:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":231620,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 14:59:42] local.ERROR: GPS data processing failed {"connection_id":231620,"error":"No valid data to process"} 
[2026-11-05 14:59:42] local.INFO: Acknowledgment sent {"connection_id":231620,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 14:59:46] local.INFO: TCP Data received {"connection_id":233527,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0a3f90012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0a3f90012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:59:46] local.INFO: Processing buffer {"connection_id":233527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0a3f90012d4ccc00068f53980048006e28..."} 
[2026-11-05 14:59:46] local.INFO: Packet analysis {"connection_id":233527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab0a"} 
[2026-11-05 14:59:46] local.INFO: Extracted packet for processing {"connection_id":233527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab0a"} 
[2026-11-05 14:59:46] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 14: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-05 14:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230883072001,"note":"Value kept but may cause issues"} 
[2026-11-05 14:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 14:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 14:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 14:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793870938000,"timestamp_ms":1793870938000,"timestamp_seconds":1793870938,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0a3f90"} 
[2026-11-05 14: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-05 14:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 14: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":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-11-05 14:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 14: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-05 14: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-05 14:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 14:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":233527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 14:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":233527,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":233527,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 14:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 14:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 14:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 14:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230883072001,"66":26560,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 14:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 14:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 14:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230883072001,"description":"Unknown IO ID 0"} 
[2026-11-05 14:59:46] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 14:59:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 14:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 14:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 14:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230883072001,"power":26560,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 14:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":233527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63586,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 14:59:46] local.INFO: GPS data processed {"connection_id":233527,"processed":1,"errors":0,"total":1} 
[2026-11-05 14:59:46] local.INFO: Acknowledgment sent {"connection_id":233527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:00:03] local.INFO: TCP Data received {"connection_id":229762,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:00:03] local.INFO: Processing buffer {"connection_id":229762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:00:03] local.INFO: IMEI packet received {"connection_id":229762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":229762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:00:08] local.INFO: TCP Data received {"connection_id":229762,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:00:08] local.INFO: Processing buffer {"connection_id":229762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:00:08] local.INFO: IMEI packet received {"connection_id":229762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":229762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:00:09] local.INFO: TCP Data received {"connection_id":229762,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0899b0012d7fa60005afe2e8000201102c..."} 
[2026-11-05 15:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0899b0012d7fa60005afe2e8000201102c..."} 
[2026-11-05 15:00:09] local.INFO: Processing buffer {"connection_id":229762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0899b0012d7fa60005afe2e8000201102c..."} 
[2026-11-05 15:00:09] local.INFO: Packet analysis {"connection_id":229762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab08"} 
[2026-11-05 15:00:09] local.INFO: Extracted packet for processing {"connection_id":229762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab08"} 
[2026-11-05 15:00:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230855424001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793870830000,"timestamp_ms":1793870830000,"timestamp_seconds":1793870830,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0899b0"} 
[2026-11-05 15:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 15:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230855424001,"66":25343,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230855424001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:00:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:00:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230855424001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":229762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:00:09] local.INFO: GPS data processed {"connection_id":229762,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:00:09] local.INFO: Acknowledgment sent {"connection_id":229762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:00:13] local.INFO: TCP Data received {"connection_id":231620,"ip":"42.106.6.42","data_length":93,"data_hex":"00000000000000518e01000001a1a9c71518012d0a878007061468001000cb27..."} 
[2026-11-05 15:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231620,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c71518012d0a878007061468001000cb27..."} 
[2026-11-05 15:00:13] local.INFO: Processing buffer {"connection_id":231620,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c71518012d0a878007061468001000cb27..."} 
[2026-11-05 15:00:13] local.INFO: Packet analysis {"connection_id":231620,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c7"} 
[2026-11-05 15:00:13] local.INFO: Extracted packet for processing {"connection_id":231620,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c7"} 
[2026-11-05 15:00:13] local.INFO: GPS Element Parsed {"raw_longitude":755664768,"raw_latitude":117838952,"longitude_deg":75.5664768,"latitude_deg":11.7838952,"altitude":16,"angle":203,"satellites":39,"speed":3,"hex_longitude":"2d0a8780","hex_latitude":"07061468","is_valid_coordinates":true} 
[2026-11-05 15: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":93,"current_offset":40} 
[2026-11-05 15:00:13] 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-05 15:00:13] 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-05 15:00:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:00:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":231620,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":231620,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":231620,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:00:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":231620,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:00:13] local.ERROR: GPS data processing failed {"connection_id":231620,"error":"No valid data to process"} 
[2026-11-05 15:00:13] local.INFO: Acknowledgment sent {"connection_id":231620,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:00:16] local.INFO: TCP Data received {"connection_id":230289,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:00:16] local.INFO: Processing buffer {"connection_id":230289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:00:16] local.INFO: IMEI packet received {"connection_id":230289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":230289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:00:20] local.INFO: TCP Data received {"connection_id":230289,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:00:20] local.INFO: Processing buffer {"connection_id":230289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:00:20] local.INFO: IMEI packet received {"connection_id":230289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":230289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:00:23] local.INFO: TCP Data received {"connection_id":230289,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0a3f90012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0a3f90012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:00:23] local.INFO: Processing buffer {"connection_id":230289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0a3f90012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:00:23] local.INFO: Packet analysis {"connection_id":230289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab0a"} 
[2026-11-05 15:00:23] local.INFO: Extracted packet for processing {"connection_id":230289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab0a"} 
[2026-11-05 15:00:23] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230883072001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793870938000,"timestamp_ms":1793870938000,"timestamp_seconds":1793870938,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0a3f90"} 
[2026-11-05 15: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-05 15:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-11-05 15:00:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15: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-05 15: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-05 15:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":230289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":230289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":230289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230883072001,"66":26560,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230883072001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:00:23] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:00:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230883072001,"power":26560,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":230289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63588,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:00:23] local.INFO: GPS data processed {"connection_id":230289,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:00:23] local.INFO: Acknowledgment sent {"connection_id":230289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:00:29] local.INFO: TCP Data received {"connection_id":230289,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0a3f90012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0a3f90012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:00:29] local.INFO: Processing buffer {"connection_id":230289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0a3f90012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:00:29] local.INFO: Packet analysis {"connection_id":230289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab0a"} 
[2026-11-05 15:00:29] local.INFO: Extracted packet for processing {"connection_id":230289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab0a"} 
[2026-11-05 15:00:29] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230883072001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793870938000,"timestamp_ms":1793870938000,"timestamp_seconds":1793870938,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0a3f90"} 
[2026-11-05 15:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-11-05 15:00:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:00:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":230289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":230289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":230289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230883072001,"66":26560,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230883072001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:00:29] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:00:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230883072001,"power":26560,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":230289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63589,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:00:29] local.INFO: GPS data processed {"connection_id":230289,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:00:29] local.INFO: Acknowledgment sent {"connection_id":230289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:00:36] local.INFO: TCP Data received {"connection_id":229763,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229763,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:00:36] local.INFO: Processing buffer {"connection_id":229763,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:00:36] local.INFO: IMEI packet received {"connection_id":229763,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":229763,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:00:40] local.INFO: TCP Data received {"connection_id":229762,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0899b0012d7fa60005afe2e8000201102c..."} 
[2026-11-05 15:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0899b0012d7fa60005afe2e8000201102c..."} 
[2026-11-05 15:00:40] local.INFO: Processing buffer {"connection_id":229762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0899b0012d7fa60005afe2e8000201102c..."} 
[2026-11-05 15:00:40] local.INFO: Packet analysis {"connection_id":229762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab08"} 
[2026-11-05 15:00:40] local.INFO: Extracted packet for processing {"connection_id":229762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab08"} 
[2026-11-05 15:00:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230855424001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793870830000,"timestamp_ms":1793870830000,"timestamp_seconds":1793870830,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0899b0"} 
[2026-11-05 15:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 15:00: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-05 15:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230855424001,"66":25343,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230855424001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:00:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:00:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230855424001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":229762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:00:40] local.INFO: GPS data processed {"connection_id":229762,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:00:40] local.INFO: Acknowledgment sent {"connection_id":229762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:00:42] local.INFO: TCP Data received {"connection_id":229763,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229763,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:00:42] local.INFO: Processing buffer {"connection_id":229763,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:00:42] local.INFO: IMEI packet received {"connection_id":229763,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":229763,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:00:47] local.INFO: TCP Data received {"connection_id":229763,"ip":"42.106.6.20","data_length":93,"data_hex":"00000000000000518e01000001a1a9c76338012d0a868007061338001000c828..."} 
[2026-11-05 15:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229763,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c76338012d0a868007061338001000c828..."} 
[2026-11-05 15:00:47] local.INFO: Processing buffer {"connection_id":229763,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c76338012d0a868007061338001000c828..."} 
[2026-11-05 15:00:47] local.INFO: Packet analysis {"connection_id":229763,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c7"} 
[2026-11-05 15:00:47] local.INFO: Extracted packet for processing {"connection_id":229763,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c7"} 
[2026-11-05 15:00:47] local.INFO: GPS Element Parsed {"raw_longitude":755664512,"raw_latitude":117838648,"longitude_deg":75.5664512,"latitude_deg":11.7838648,"altitude":16,"angle":200,"satellites":40,"speed":0,"hex_longitude":"2d0a8680","hex_latitude":"07061338","is_valid_coordinates":true} 
[2026-11-05 15: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":93,"current_offset":40} 
[2026-11-05 15:00:47] 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-05 15:00:47] 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-05 15:00:47] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:00:47] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229763,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229763,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229763,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:00:47] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":229763,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:00:47] local.ERROR: GPS data processing failed {"connection_id":229763,"error":"No valid data to process"} 
[2026-11-05 15:00:47] local.INFO: Acknowledgment sent {"connection_id":229763,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:00:57] local.INFO: TCP Data received {"connection_id":229763,"ip":"42.106.6.20","data_length":93,"data_hex":"00000000000000518e01000001a1a9c7b540012d0a868007061338001000c828..."} 
[2026-11-05 15:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229763,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c7b540012d0a868007061338001000c828..."} 
[2026-11-05 15:00:57] local.INFO: Processing buffer {"connection_id":229763,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c7b540012d0a868007061338001000c828..."} 
[2026-11-05 15:00:57] local.INFO: Packet analysis {"connection_id":229763,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c7"} 
[2026-11-05 15:00:57] local.INFO: Extracted packet for processing {"connection_id":229763,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c7"} 
[2026-11-05 15:00:57] local.INFO: GPS Element Parsed {"raw_longitude":755664512,"raw_latitude":117838648,"longitude_deg":75.5664512,"latitude_deg":11.7838648,"altitude":16,"angle":200,"satellites":40,"speed":0,"hex_longitude":"2d0a8680","hex_latitude":"07061338","is_valid_coordinates":true} 
[2026-11-05 15:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 15:00:57] 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-05 15:00:57] 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-05 15:00:57] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:00:57] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":229763,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":229763,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":229763,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:00:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:00:57] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":229763,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:00:57] local.ERROR: GPS data processing failed {"connection_id":229763,"error":"No valid data to process"} 
[2026-11-05 15:00:57] local.INFO: Acknowledgment sent {"connection_id":229763,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:01:03] local.INFO: TCP Data received {"connection_id":230290,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:01:03] local.INFO: Processing buffer {"connection_id":230290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:01:03] local.INFO: IMEI packet received {"connection_id":230290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":230290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:01:09] local.INFO: TCP Data received {"connection_id":230290,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:01:09] local.INFO: Processing buffer {"connection_id":230290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:01:09] local.INFO: IMEI packet received {"connection_id":230290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":230290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:01:10] local.INFO: TCP Data received {"connection_id":230290,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0899b0012d7fa60005afe2e8000201102c..."} 
[2026-11-05 15:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0899b0012d7fa60005afe2e8000201102c..."} 
[2026-11-05 15:01:10] local.INFO: Processing buffer {"connection_id":230290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0899b0012d7fa60005afe2e8000201102c..."} 
[2026-11-05 15:01:10] local.INFO: Packet analysis {"connection_id":230290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab08"} 
[2026-11-05 15:01:10] local.INFO: Extracted packet for processing {"connection_id":230290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab08"} 
[2026-11-05 15:01:10] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230855424001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793870830000,"timestamp_ms":1793870830000,"timestamp_seconds":1793870830,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0899b0"} 
[2026-11-05 15:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 15:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230855424001,"66":25343,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230855424001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:01:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:01:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230855424001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:01:10] 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":63591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:01:10] local.INFO: GPS data processed {"connection_id":230290,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:01:10] local.INFO: Acknowledgment sent {"connection_id":230290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:01:31] local.INFO: TCP Data received {"connection_id":231622,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231622,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:01:31] local.INFO: Processing buffer {"connection_id":231622,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:01:31] local.INFO: IMEI packet received {"connection_id":231622,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":231622,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:01:37] local.INFO: TCP Data received {"connection_id":231622,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231622,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:01:37] local.INFO: Processing buffer {"connection_id":231622,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:01:37] local.INFO: IMEI packet received {"connection_id":231622,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":231622,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:01:43] local.INFO: TCP Data received {"connection_id":231622,"ip":"42.106.6.34","data_length":93,"data_hex":"00000000000000518e01000001a1a9c7b928012d0a874007061308000f000027..."} 
[2026-11-05 15:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231622,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c7b928012d0a874007061308000f000027..."} 
[2026-11-05 15:01:43] local.INFO: Processing buffer {"connection_id":231622,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c7b928012d0a874007061308000f000027..."} 
[2026-11-05 15:01:43] local.INFO: Packet analysis {"connection_id":231622,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c7"} 
[2026-11-05 15:01:43] local.INFO: Extracted packet for processing {"connection_id":231622,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c7"} 
[2026-11-05 15:01:43] local.INFO: GPS Element Parsed {"raw_longitude":755664704,"raw_latitude":117838600,"longitude_deg":75.5664704,"latitude_deg":11.78386,"altitude":15,"angle":0,"satellites":39,"speed":1,"hex_longitude":"2d0a8740","hex_latitude":"07061308","is_valid_coordinates":true} 
[2026-11-05 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":93,"current_offset":40} 
[2026-11-05 15:01:43] 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-05 15:01:43] 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-05 15:01:43] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:01:43] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231622,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231622,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231622,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:01:43] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":231622,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:01:43] local.ERROR: GPS data processing failed {"connection_id":231622,"error":"No valid data to process"} 
[2026-11-05 15:01:43] local.INFO: Acknowledgment sent {"connection_id":231622,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:01:47] local.INFO: TCP Data received {"connection_id":230290,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0899b0012d7fa60005afe2e8000201102c..."} 
[2026-11-05 15:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0899b0012d7fa60005afe2e8000201102c..."} 
[2026-11-05 15:01:47] local.INFO: Processing buffer {"connection_id":230290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0899b0012d7fa60005afe2e8000201102c..."} 
[2026-11-05 15:01:47] local.INFO: Packet analysis {"connection_id":230290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab08"} 
[2026-11-05 15:01:47] local.INFO: Extracted packet for processing {"connection_id":230290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab08"} 
[2026-11-05 15:01:47] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230855424001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793870830000,"timestamp_ms":1793870830000,"timestamp_seconds":1793870830,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0899b0"} 
[2026-11-05 15: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-05 15:01: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-05 15:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 15:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15: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-05 15: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-05 15:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:01:47] 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-05 15:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230855424001,"66":25343,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230855424001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:01:47] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:01:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230855424001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:01:47] 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":63592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:01:47] local.INFO: GPS data processed {"connection_id":230290,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:01:47] local.INFO: Acknowledgment sent {"connection_id":230290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:01:53] local.INFO: TCP Data received {"connection_id":231621,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:01:53] local.INFO: Processing buffer {"connection_id":231621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:01:53] local.INFO: IMEI packet received {"connection_id":231621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":231621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:01:53] local.INFO: TCP Data received {"connection_id":231621,"ip":"117.224.89.99","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-05 15:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231621,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-05 15:01:53] local.INFO: Processing buffer {"connection_id":231621,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-05 15:01:53] local.INFO: IMEI packet received {"connection_id":231621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":231621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:02:06] local.INFO: TCP Data received {"connection_id":229764,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229764,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:02:06] local.INFO: Processing buffer {"connection_id":229764,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:02:06] local.INFO: IMEI packet received {"connection_id":229764,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":229764,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:02:08] local.INFO: TCP Data received {"connection_id":229765,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:02:08] local.INFO: Processing buffer {"connection_id":229765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:02:08] local.INFO: IMEI packet received {"connection_id":229765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":229765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:02:13] local.INFO: TCP Data received {"connection_id":229765,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:02:13] local.INFO: Processing buffer {"connection_id":229765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:02:13] local.INFO: IMEI packet received {"connection_id":229765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":229765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:02:14] local.INFO: TCP Data received {"connection_id":231622,"ip":"42.106.6.34","data_length":93,"data_hex":"00000000000000518e01000001a1a9c7bd10012d0a874007061328000f015528..."} 
[2026-11-05 15:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231622,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c7bd10012d0a874007061328000f015528..."} 
[2026-11-05 15:02:14] local.INFO: Processing buffer {"connection_id":231622,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c7bd10012d0a874007061328000f015528..."} 
[2026-11-05 15:02:14] local.INFO: Packet analysis {"connection_id":231622,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c7"} 
[2026-11-05 15:02:14] local.INFO: Extracted packet for processing {"connection_id":231622,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c7"} 
[2026-11-05 15:02:14] local.INFO: GPS Element Parsed {"raw_longitude":755664704,"raw_latitude":117838632,"longitude_deg":75.5664704,"latitude_deg":11.7838632,"altitude":15,"angle":341,"satellites":40,"speed":0,"hex_longitude":"2d0a8740","hex_latitude":"07061328","is_valid_coordinates":true} 
[2026-11-05 15: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":93,"current_offset":40} 
[2026-11-05 15:02:14] 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-05 15:02:14] 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-05 15:02:14] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:02:14] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":231622,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":231622,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":231622,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:02:14] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":231622,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:02:14] local.ERROR: GPS data processing failed {"connection_id":231622,"error":"No valid data to process"} 
[2026-11-05 15:02:14] local.INFO: Acknowledgment sent {"connection_id":231622,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:02:14] local.INFO: TCP Data received {"connection_id":229765,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0899b0012d7fa60005afe2e8000201102c..."} 
[2026-11-05 15:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0899b0012d7fa60005afe2e8000201102c..."} 
[2026-11-05 15:02:14] local.INFO: Processing buffer {"connection_id":229765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0899b0012d7fa60005afe2e8000201102c..."} 
[2026-11-05 15:02:14] local.INFO: Packet analysis {"connection_id":229765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab08"} 
[2026-11-05 15:02:14] local.INFO: Extracted packet for processing {"connection_id":229765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab08"} 
[2026-11-05 15:02:14] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230855424001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793870830000,"timestamp_ms":1793870830000,"timestamp_seconds":1793870830,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0899b0"} 
[2026-11-05 15: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-05 15:02: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-05 15: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 15:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15: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-05 15: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-05 15:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230855424001,"66":25343,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230855424001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:02:14] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:02:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230855424001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":229765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:02:14] local.INFO: GPS data processed {"connection_id":229765,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:02:14] local.INFO: Acknowledgment sent {"connection_id":229765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:02:31] local.INFO: TCP Data received {"connection_id":230291,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230291,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:02:31] local.INFO: Processing buffer {"connection_id":230291,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:02:31] local.INFO: IMEI packet received {"connection_id":230291,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":230291,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:02:37] local.INFO: TCP Data received {"connection_id":230291,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230291,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:02:37] local.INFO: Processing buffer {"connection_id":230291,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:02:37] local.INFO: IMEI packet received {"connection_id":230291,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":230291,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:02:42] local.INFO: TCP Data received {"connection_id":230291,"ip":"42.106.6.24","data_length":93,"data_hex":"00000000000000518e01000001a1a9c7c8c8012d0a8680070613b8000f014a29..."} 
[2026-11-05 15:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230291,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c7c8c8012d0a8680070613b8000f014a29..."} 
[2026-11-05 15:02:42] local.INFO: Processing buffer {"connection_id":230291,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c7c8c8012d0a8680070613b8000f014a29..."} 
[2026-11-05 15:02:42] local.INFO: Packet analysis {"connection_id":230291,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c7"} 
[2026-11-05 15:02:42] local.INFO: Extracted packet for processing {"connection_id":230291,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c7"} 
[2026-11-05 15:02:42] local.INFO: GPS Element Parsed {"raw_longitude":755664512,"raw_latitude":117838776,"longitude_deg":75.5664512,"latitude_deg":11.7838776,"altitude":15,"angle":330,"satellites":41,"speed":2,"hex_longitude":"2d0a8680","hex_latitude":"070613b8","is_valid_coordinates":true} 
[2026-11-05 15:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 15:02:42] 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-05 15:02:42] 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-05 15:02:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:02:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230291,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230291,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230291,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:02:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":230291,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:02:42] local.ERROR: GPS data processing failed {"connection_id":230291,"error":"No valid data to process"} 
[2026-11-05 15:02:42] local.INFO: Acknowledgment sent {"connection_id":230291,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:02:45] local.INFO: TCP Data received {"connection_id":229765,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0899b0012d7fa60005afe2e8000201102c..."} 
[2026-11-05 15:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0899b0012d7fa60005afe2e8000201102c..."} 
[2026-11-05 15:02:45] local.INFO: Processing buffer {"connection_id":229765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0899b0012d7fa60005afe2e8000201102c..."} 
[2026-11-05 15:02:45] local.INFO: Packet analysis {"connection_id":229765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab08"} 
[2026-11-05 15:02:45] local.INFO: Extracted packet for processing {"connection_id":229765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab08"} 
[2026-11-05 15:02:45] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230855424001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793870830000,"timestamp_ms":1793870830000,"timestamp_seconds":1793870830,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0899b0"} 
[2026-11-05 15:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:02: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-05 15:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 15:02: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-05 15:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:02:45] 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-05 15:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230855424001,"66":25343,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230855424001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:02:45] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:02:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230855424001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":229765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:02:45] local.INFO: GPS data processed {"connection_id":229765,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:02:45] local.INFO: Acknowledgment sent {"connection_id":229765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:03:03] local.INFO: TCP Data received {"connection_id":230292,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:03:03] local.INFO: Processing buffer {"connection_id":230292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:03:03] local.INFO: IMEI packet received {"connection_id":230292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":230292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:03:08] local.INFO: TCP Data received {"connection_id":230292,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:03:08] local.INFO: Processing buffer {"connection_id":230292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:03:08] local.INFO: IMEI packet received {"connection_id":230292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":230292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:03:09] local.INFO: TCP Data received {"connection_id":230292,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:03:09] local.INFO: Processing buffer {"connection_id":230292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:03:09] local.INFO: Packet analysis {"connection_id":230292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab0d"} 
[2026-11-05 15:03:09] local.INFO: Extracted packet for processing {"connection_id":230292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab0d"} 
[2026-11-05 15:03:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":3,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230932480001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793871131000,"timestamp_ms":1793871131000,"timestamp_seconds":1793871131,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0d3178"} 
[2026-11-05 15:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:03:09] local.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-05 15:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230932480001,"66":25343,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230932480001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:03:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:03:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230932480001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:03:09] 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":63595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:03:09] local.INFO: GPS data processed {"connection_id":230292,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:03:09] local.INFO: Acknowledgment sent {"connection_id":230292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:03:13] local.INFO: TCP Data received {"connection_id":230291,"ip":"42.106.6.24","data_length":93,"data_hex":"00000000000000518e01000001a1a9c7d480012d0a8680070613e8000f013c29..."} 
[2026-11-05 15:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230291,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c7d480012d0a8680070613e8000f013c29..."} 
[2026-11-05 15:03:13] local.INFO: Processing buffer {"connection_id":230291,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c7d480012d0a8680070613e8000f013c29..."} 
[2026-11-05 15:03:13] local.INFO: Packet analysis {"connection_id":230291,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c7"} 
[2026-11-05 15:03:13] local.INFO: Extracted packet for processing {"connection_id":230291,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c7"} 
[2026-11-05 15:03:13] local.INFO: GPS Element Parsed {"raw_longitude":755664512,"raw_latitude":117838824,"longitude_deg":75.5664512,"latitude_deg":11.7838824,"altitude":15,"angle":316,"satellites":41,"speed":0,"hex_longitude":"2d0a8680","hex_latitude":"070613e8","is_valid_coordinates":true} 
[2026-11-05 15: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":93,"current_offset":40} 
[2026-11-05 15:03:13] 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-05 15:03:13] 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-05 15:03:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:03:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230291,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230291,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230291,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:03:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":230291,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:03:13] local.ERROR: GPS data processing failed {"connection_id":230291,"error":"No valid data to process"} 
[2026-11-05 15:03:13] local.INFO: Acknowledgment sent {"connection_id":230291,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:03:31] local.INFO: TCP Data received {"connection_id":233528,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233528,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:03:31] local.INFO: Processing buffer {"connection_id":233528,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:03:31] local.INFO: IMEI packet received {"connection_id":233528,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":233528,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:03:37] local.INFO: TCP Data received {"connection_id":233528,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233528,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:03:37] local.INFO: Processing buffer {"connection_id":233528,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:03:37] local.INFO: IMEI packet received {"connection_id":233528,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":233528,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:03:40] local.INFO: TCP Data received {"connection_id":230292,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:03:40] local.INFO: Processing buffer {"connection_id":230292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:03:40] local.INFO: Packet analysis {"connection_id":230292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab0d"} 
[2026-11-05 15:03:40] local.INFO: Extracted packet for processing {"connection_id":230292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab0d"} 
[2026-11-05 15:03:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":3,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230932480001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793871131000,"timestamp_ms":1793871131000,"timestamp_seconds":1793871131,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0d3178"} 
[2026-11-05 15:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230932480001,"66":25343,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230932480001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:03:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:03:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230932480001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:03:40] 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":63596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:03:40] local.INFO: GPS data processed {"connection_id":230292,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:03:40] local.INFO: Acknowledgment sent {"connection_id":230292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:03:42] local.INFO: TCP Data received {"connection_id":233528,"ip":"42.106.6.24","data_length":93,"data_hex":"00000000000000518e01000001a1a9c80f18012d0a854007061418000f012f28..."} 
[2026-11-05 15:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233528,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c80f18012d0a854007061418000f012f28..."} 
[2026-11-05 15:03:42] local.INFO: Processing buffer {"connection_id":233528,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c80f18012d0a854007061418000f012f28..."} 
[2026-11-05 15:03:42] local.INFO: Packet analysis {"connection_id":233528,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c8"} 
[2026-11-05 15:03:42] local.INFO: Extracted packet for processing {"connection_id":233528,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c8"} 
[2026-11-05 15:03:42] local.INFO: GPS Element Parsed {"raw_longitude":755664192,"raw_latitude":117838872,"longitude_deg":75.5664192,"latitude_deg":11.7838872,"altitude":15,"angle":303,"satellites":40,"speed":4,"hex_longitude":"2d0a8540","hex_latitude":"07061418","is_valid_coordinates":true} 
[2026-11-05 15: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":93,"current_offset":40} 
[2026-11-05 15:03:42] 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-05 15:03:42] 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-05 15:03:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:03:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233528,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233528,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233528,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:03:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":233528,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:03:42] local.ERROR: GPS data processing failed {"connection_id":233528,"error":"No valid data to process"} 
[2026-11-05 15:03:42] local.INFO: Acknowledgment sent {"connection_id":233528,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:04:03] local.INFO: TCP Data received {"connection_id":229767,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:04:03] local.INFO: Processing buffer {"connection_id":229767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:04:03] local.INFO: IMEI packet received {"connection_id":229767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":229767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:04:08] local.INFO: TCP Data received {"connection_id":229767,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:04:08] local.INFO: Processing buffer {"connection_id":229767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:04:08] local.INFO: IMEI packet received {"connection_id":229767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":229767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:04:09] local.INFO: TCP Data received {"connection_id":229767,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:04:09] local.INFO: Processing buffer {"connection_id":229767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:04:09] local.INFO: Packet analysis {"connection_id":229767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab0d"} 
[2026-11-05 15:04:09] local.INFO: Extracted packet for processing {"connection_id":229767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab0d"} 
[2026-11-05 15:04:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":3,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230932480001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793871131000,"timestamp_ms":1793871131000,"timestamp_seconds":1793871131,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0d3178"} 
[2026-11-05 15:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:04:09] 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-05 15:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230932480001,"66":25343,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230932480001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:04:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:04:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230932480001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":229767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:04:09] local.INFO: GPS data processed {"connection_id":229767,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:04:09] local.INFO: Acknowledgment sent {"connection_id":229767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:04:12] local.INFO: TCP Data received {"connection_id":233528,"ip":"42.106.6.24","data_length":93,"data_hex":"00000000000000518e01000001a1ab0e8d20012d0b13000702a1700012007529..."} 
[2026-11-05 15:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233528,"packet_length":93,"packet_hex":"00000000000000518e01000001a1ab0e8d20012d0b13000702a1700012007529..."} 
[2026-11-05 15:04:12] local.INFO: Processing buffer {"connection_id":233528,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1ab0e8d20012d0b13000702a1700012007529..."} 
[2026-11-05 15:04:12] local.INFO: Packet analysis {"connection_id":233528,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1ab0e"} 
[2026-11-05 15:04:12] local.INFO: Extracted packet for processing {"connection_id":233528,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1ab0e"} 
[2026-11-05 15:04:12] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612912,"longitude_deg":75.570048,"latitude_deg":11.7612912,"altitude":18,"angle":117,"satellites":41,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a170","is_valid_coordinates":true} 
[2026-11-05 15: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":93,"current_offset":40} 
[2026-11-05 15:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:04:12] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:04:12] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":233528,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":233528,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":233528,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:04:12] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":233528,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:04:12] local.ERROR: GPS data processing failed {"connection_id":233528,"error":"No valid data to process"} 
[2026-11-05 15:04:12] local.INFO: Acknowledgment sent {"connection_id":233528,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:04:31] local.INFO: TCP Data received {"connection_id":230293,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230293,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:04:31] local.INFO: Processing buffer {"connection_id":230293,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:04:31] local.INFO: IMEI packet received {"connection_id":230293,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":230293,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:04:37] local.INFO: TCP Data received {"connection_id":230293,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230293,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:04:37] local.INFO: Processing buffer {"connection_id":230293,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:04:37] local.INFO: IMEI packet received {"connection_id":230293,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":230293,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:04:40] local.INFO: TCP Data received {"connection_id":229767,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:04:40] local.INFO: Processing buffer {"connection_id":229767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:04:40] local.INFO: Packet analysis {"connection_id":229767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab0d"} 
[2026-11-05 15:04:40] local.INFO: Extracted packet for processing {"connection_id":229767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab0d"} 
[2026-11-05 15:04:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":3,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230932480001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793871131000,"timestamp_ms":1793871131000,"timestamp_seconds":1793871131,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0d3178"} 
[2026-11-05 15:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:04:40] 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-05 15:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230932480001,"66":25343,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230932480001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:04:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:04:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230932480001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":229767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:04:40] local.INFO: GPS data processed {"connection_id":229767,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:04:40] local.INFO: Acknowledgment sent {"connection_id":229767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:04:42] local.INFO: TCP Data received {"connection_id":230293,"ip":"42.106.6.24","data_length":93,"data_hex":"00000000000000518e01000001a1a9c82688012d0a808007061620000e012026..."} 
[2026-11-05 15:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230293,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c82688012d0a808007061620000e012026..."} 
[2026-11-05 15:04:42] local.INFO: Processing buffer {"connection_id":230293,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c82688012d0a808007061620000e012026..."} 
[2026-11-05 15:04:42] local.INFO: Packet analysis {"connection_id":230293,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c8"} 
[2026-11-05 15:04:42] local.INFO: Extracted packet for processing {"connection_id":230293,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c8"} 
[2026-11-05 15:04:42] local.INFO: GPS Element Parsed {"raw_longitude":755662976,"raw_latitude":117839392,"longitude_deg":75.5662976,"latitude_deg":11.7839392,"altitude":14,"angle":288,"satellites":38,"speed":5,"hex_longitude":"2d0a8080","hex_latitude":"07061620","is_valid_coordinates":true} 
[2026-11-05 15: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":93,"current_offset":40} 
[2026-11-05 15:04:42] 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-05 15:04:42] 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-05 15:04:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:04:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230293,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230293,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230293,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:04:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":230293,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:04:42] local.ERROR: GPS data processing failed {"connection_id":230293,"error":"No valid data to process"} 
[2026-11-05 15:04:42] local.INFO: Acknowledgment sent {"connection_id":230293,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:05:03] local.INFO: TCP Data received {"connection_id":233529,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:05:03] local.INFO: Processing buffer {"connection_id":233529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:05:03] local.INFO: IMEI packet received {"connection_id":233529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":233529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:05:08] local.INFO: TCP Data received {"connection_id":233529,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:05:08] local.INFO: Processing buffer {"connection_id":233529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:05:08] local.INFO: IMEI packet received {"connection_id":233529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":233529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:05:09] local.INFO: TCP Data received {"connection_id":233529,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:05:09] local.INFO: Processing buffer {"connection_id":233529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:05:09] local.INFO: Packet analysis {"connection_id":233529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab0d"} 
[2026-11-05 15:05:09] local.INFO: Extracted packet for processing {"connection_id":233529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab0d"} 
[2026-11-05 15:05:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":3,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230932480001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793871131000,"timestamp_ms":1793871131000,"timestamp_seconds":1793871131,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0d3178"} 
[2026-11-05 15:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:05:09] 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-05 15:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230932480001,"66":25343,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230932480001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:05:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:05:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230932480001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":233529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:05:09] local.INFO: GPS data processed {"connection_id":233529,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:05:09] local.INFO: Acknowledgment sent {"connection_id":233529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:05:13] local.INFO: TCP Data received {"connection_id":230293,"ip":"42.106.6.24","data_length":93,"data_hex":"00000000000000518e01000001a1a9c84d98012d0a7c8007061720000d011426..."} 
[2026-11-05 15:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230293,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c84d98012d0a7c8007061720000d011426..."} 
[2026-11-05 15:05:13] local.INFO: Processing buffer {"connection_id":230293,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c84d98012d0a7c8007061720000d011426..."} 
[2026-11-05 15:05:13] local.INFO: Packet analysis {"connection_id":230293,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c8"} 
[2026-11-05 15:05:13] local.INFO: Extracted packet for processing {"connection_id":230293,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c8"} 
[2026-11-05 15:05:13] local.INFO: GPS Element Parsed {"raw_longitude":755661952,"raw_latitude":117839648,"longitude_deg":75.5661952,"latitude_deg":11.7839648,"altitude":13,"angle":276,"satellites":38,"speed":10,"hex_longitude":"2d0a7c80","hex_latitude":"07061720","is_valid_coordinates":true} 
[2026-11-05 15: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":93,"current_offset":40} 
[2026-11-05 15:05:13] 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-05 15:05:13] 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-05 15:05:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:05:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230293,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230293,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230293,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:05:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":230293,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:05:13] local.ERROR: GPS data processing failed {"connection_id":230293,"error":"No valid data to process"} 
[2026-11-05 15:05:13] local.INFO: Acknowledgment sent {"connection_id":230293,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:05:31] local.INFO: TCP Data received {"connection_id":229769,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229769,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:05:31] local.INFO: Processing buffer {"connection_id":229769,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:05:31] local.INFO: IMEI packet received {"connection_id":229769,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":229769,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:05:36] local.INFO: TCP Data received {"connection_id":229769,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229769,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:05:36] local.INFO: Processing buffer {"connection_id":229769,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:05:36] local.INFO: IMEI packet received {"connection_id":229769,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":229769,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:05:40] local.INFO: TCP Data received {"connection_id":233529,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:05:40] local.INFO: Processing buffer {"connection_id":233529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:05:40] local.INFO: Packet analysis {"connection_id":233529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab0d"} 
[2026-11-05 15:05:40] local.INFO: Extracted packet for processing {"connection_id":233529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab0d"} 
[2026-11-05 15:05:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":3,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230932480001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793871131000,"timestamp_ms":1793871131000,"timestamp_seconds":1793871131,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0d3178"} 
[2026-11-05 15:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230932480001,"66":25343,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230932480001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:05:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:05:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230932480001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":233529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:05:40] local.INFO: GPS data processed {"connection_id":233529,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:05:40] local.INFO: Acknowledgment sent {"connection_id":233529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:05:42] local.INFO: TCP Data received {"connection_id":229769,"ip":"42.106.6.24","data_length":93,"data_hex":"00000000000000518e01000001a1a9c85950012d0a798007061740000d010527..."} 
[2026-11-05 15:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229769,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c85950012d0a798007061740000d010527..."} 
[2026-11-05 15:05:42] local.INFO: Processing buffer {"connection_id":229769,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c85950012d0a798007061740000d010527..."} 
[2026-11-05 15:05:42] local.INFO: Packet analysis {"connection_id":229769,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c8"} 
[2026-11-05 15:05:42] local.INFO: Extracted packet for processing {"connection_id":229769,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c8"} 
[2026-11-05 15:05:42] local.INFO: GPS Element Parsed {"raw_longitude":755661184,"raw_latitude":117839680,"longitude_deg":75.5661184,"latitude_deg":11.783968,"altitude":13,"angle":261,"satellites":39,"speed":9,"hex_longitude":"2d0a7980","hex_latitude":"07061740","is_valid_coordinates":true} 
[2026-11-05 15:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 15:05:42] 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-05 15:05:42] 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-05 15:05:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:05:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229769,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229769,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229769,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:05:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":229769,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:05:42] local.ERROR: GPS data processing failed {"connection_id":229769,"error":"No valid data to process"} 
[2026-11-05 15:05:42] local.INFO: Acknowledgment sent {"connection_id":229769,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:06:13] local.INFO: TCP Data received {"connection_id":233530,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:06:13] local.INFO: Processing buffer {"connection_id":233530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:06:13] local.INFO: IMEI packet received {"connection_id":233530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":233530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:06:13] local.INFO: TCP Data received {"connection_id":229769,"ip":"42.106.6.24","data_length":93,"data_hex":"00000000000000518e01000001a1a9c85d38012d0a788007061700000d00fa27..."} 
[2026-11-05 15:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229769,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c85d38012d0a788007061700000d00fa27..."} 
[2026-11-05 15:06:13] local.INFO: Processing buffer {"connection_id":229769,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c85d38012d0a788007061700000d00fa27..."} 
[2026-11-05 15:06:13] local.INFO: Packet analysis {"connection_id":229769,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c8"} 
[2026-11-05 15:06:13] local.INFO: Extracted packet for processing {"connection_id":229769,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c8"} 
[2026-11-05 15:06:13] local.INFO: GPS Element Parsed {"raw_longitude":755660928,"raw_latitude":117839616,"longitude_deg":75.5660928,"latitude_deg":11.7839616,"altitude":13,"angle":250,"satellites":39,"speed":8,"hex_longitude":"2d0a7880","hex_latitude":"07061700","is_valid_coordinates":true} 
[2026-11-05 15: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":93,"current_offset":40} 
[2026-11-05 15:06:13] 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-05 15:06:13] 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-05 15:06:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:06:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229769,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229769,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229769,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:06:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":229769,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:06:13] local.ERROR: GPS data processing failed {"connection_id":229769,"error":"No valid data to process"} 
[2026-11-05 15:06:13] local.INFO: Acknowledgment sent {"connection_id":229769,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:06:13] local.INFO: TCP Data received {"connection_id":233530,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:06:13] local.INFO: Processing buffer {"connection_id":233530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:06:13] local.INFO: IMEI packet received {"connection_id":233530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":233530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:06:14] local.INFO: TCP Data received {"connection_id":233530,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:06:14] local.INFO: Processing buffer {"connection_id":233530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:06:14] local.INFO: Packet analysis {"connection_id":233530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab0d"} 
[2026-11-05 15:06:14] local.INFO: Extracted packet for processing {"connection_id":233530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab0d"} 
[2026-11-05 15:06:14] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":3,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230932480001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793871131000,"timestamp_ms":1793871131000,"timestamp_seconds":1793871131,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0d3178"} 
[2026-11-05 15: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-05 15: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-05 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15: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-05 15: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-05 15:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:06:14] local.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-05 15:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230932480001,"66":25343,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230932480001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:06:14] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:06:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230932480001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":233530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:06:14] local.INFO: GPS data processed {"connection_id":233530,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:06:14] local.INFO: Acknowledgment sent {"connection_id":233530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:06:24] local.INFO: TCP Data received {"connection_id":233530,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:06:24] local.INFO: Processing buffer {"connection_id":233530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:06:24] local.INFO: Packet analysis {"connection_id":233530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab0d"} 
[2026-11-05 15:06:24] local.INFO: Extracted packet for processing {"connection_id":233530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab0d"} 
[2026-11-05 15:06:24] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":3,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230932480001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793871131000,"timestamp_ms":1793871131000,"timestamp_seconds":1793871131,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0d3178"} 
[2026-11-05 15: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-05 15:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:06:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15: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-05 15: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-05 15:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":233530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":233530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":233530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230932480001,"66":25343,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230932480001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:06:24] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:06:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230932480001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":233530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:06:24] local.INFO: GPS data processed {"connection_id":233530,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:06:24] local.INFO: Acknowledgment sent {"connection_id":233530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:06:31] local.INFO: TCP Data received {"connection_id":233531,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233531,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:06:31] local.INFO: Processing buffer {"connection_id":233531,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:06:31] local.INFO: IMEI packet received {"connection_id":233531,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":233531,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:06:37] local.INFO: TCP Data received {"connection_id":233531,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233531,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:06:37] local.INFO: Processing buffer {"connection_id":233531,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:06:37] local.INFO: IMEI packet received {"connection_id":233531,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":233531,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:06:41] local.INFO: TCP Data received {"connection_id":233531,"ip":"42.106.6.24","data_length":93,"data_hex":"00000000000000518e01000001a1a9c86120012d0a77c007061680000d00de27..."} 
[2026-11-05 15:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233531,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c86120012d0a77c007061680000d00de27..."} 
[2026-11-05 15:06:41] local.INFO: Processing buffer {"connection_id":233531,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c86120012d0a77c007061680000d00de27..."} 
[2026-11-05 15:06:41] local.INFO: Packet analysis {"connection_id":233531,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c8"} 
[2026-11-05 15:06:41] local.INFO: Extracted packet for processing {"connection_id":233531,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c8"} 
[2026-11-05 15:06:41] local.INFO: GPS Element Parsed {"raw_longitude":755660736,"raw_latitude":117839488,"longitude_deg":75.5660736,"latitude_deg":11.7839488,"altitude":13,"angle":222,"satellites":39,"speed":7,"hex_longitude":"2d0a77c0","hex_latitude":"07061680","is_valid_coordinates":true} 
[2026-11-05 15: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":93,"current_offset":40} 
[2026-11-05 15:06:41] 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-05 15:06:41] 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-05 15:06:41] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:06:41] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233531,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233531,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233531,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:06:41] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":233531,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:06:41] local.ERROR: GPS data processing failed {"connection_id":233531,"error":"No valid data to process"} 
[2026-11-05 15:06:41] local.INFO: Acknowledgment sent {"connection_id":233531,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:07:04] local.INFO: TCP Data received {"connection_id":231625,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:07:04] local.INFO: Processing buffer {"connection_id":231625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:07:04] local.INFO: IMEI packet received {"connection_id":231625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":231625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:07:08] local.INFO: TCP Data received {"connection_id":231625,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:07:08] local.INFO: Processing buffer {"connection_id":231625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:07:08] local.INFO: IMEI packet received {"connection_id":231625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":231625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:07:09] local.INFO: TCP Data received {"connection_id":231625,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:07:09] local.INFO: Processing buffer {"connection_id":231625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:07:09] local.INFO: Packet analysis {"connection_id":231625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab0d"} 
[2026-11-05 15:07:09] local.INFO: Extracted packet for processing {"connection_id":231625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab0d"} 
[2026-11-05 15:07:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":3,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230932480001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793871131000,"timestamp_ms":1793871131000,"timestamp_seconds":1793871131,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0d3178"} 
[2026-11-05 15:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:07:09] local.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-05 15:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230932480001,"66":25343,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230932480001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:07:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230932480001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":231625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:07:09] local.INFO: GPS data processed {"connection_id":231625,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:07:09] local.INFO: Acknowledgment sent {"connection_id":231625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:07:11] local.INFO: TCP Data received {"connection_id":231626,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231626,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:07:11] local.INFO: Processing buffer {"connection_id":231626,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:07:11] local.INFO: IMEI packet received {"connection_id":231626,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":231626,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:07:12] local.INFO: TCP Data received {"connection_id":233531,"ip":"42.106.6.24","data_length":93,"data_hex":"00000000000000518e01000001a1a9c86508012d0a7740070615c8000d00c928..."} 
[2026-11-05 15:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233531,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c86508012d0a7740070615c8000d00c928..."} 
[2026-11-05 15:07:12] local.INFO: Processing buffer {"connection_id":233531,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c86508012d0a7740070615c8000d00c928..."} 
[2026-11-05 15:07:12] local.INFO: Packet analysis {"connection_id":233531,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c8"} 
[2026-11-05 15:07:12] local.INFO: Extracted packet for processing {"connection_id":233531,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c8"} 
[2026-11-05 15:07:12] local.INFO: GPS Element Parsed {"raw_longitude":755660608,"raw_latitude":117839304,"longitude_deg":75.5660608,"latitude_deg":11.7839304,"altitude":13,"angle":201,"satellites":40,"speed":8,"hex_longitude":"2d0a7740","hex_latitude":"070615c8","is_valid_coordinates":true} 
[2026-11-05 15: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":93,"current_offset":40} 
[2026-11-05 15:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:07:12] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:07:12] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":233531,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":233531,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":233531,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:07:12] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":233531,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:07:12] local.ERROR: GPS data processing failed {"connection_id":233531,"error":"No valid data to process"} 
[2026-11-05 15:07:12] local.INFO: Acknowledgment sent {"connection_id":233531,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:07:14] local.INFO: TCP Data received {"connection_id":231626,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0ed758012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0ed758012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:07:14] local.INFO: Processing buffer {"connection_id":231626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0ed758012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:07:14] local.INFO: Packet analysis {"connection_id":231626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab0e"} 
[2026-11-05 15:07:14] local.INFO: Extracted packet for processing {"connection_id":231626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab0e"} 
[2026-11-05 15:07:14] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230960128001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793871239000,"timestamp_ms":1793871239000,"timestamp_seconds":1793871239,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0ed758"} 
[2026-11-05 15: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-05 15:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-11-05 15:07:14] 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-05 15: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-05 15: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-05 15:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":231626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":231626,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":231626,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230960128001,"66":26528,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230960128001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:07:14] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:07:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230960128001,"power":26528,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":231626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63604,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:07:14] local.INFO: GPS data processed {"connection_id":231626,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:07:14] local.INFO: Acknowledgment sent {"connection_id":231626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:07:15] local.INFO: TCP Data received {"connection_id":231625,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:07:15] local.INFO: Processing buffer {"connection_id":231625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:07:15] local.INFO: Packet analysis {"connection_id":231625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab0d"} 
[2026-11-05 15:07:15] local.INFO: Extracted packet for processing {"connection_id":231625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab0d"} 
[2026-11-05 15:07:15] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":3,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230932480001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793871131000,"timestamp_ms":1793871131000,"timestamp_seconds":1793871131,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0d3178"} 
[2026-11-05 15: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-05 15:07: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-05 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15: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-05 15: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-05 15:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":231625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":231625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":231625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:07:15] local.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-05 15:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230932480001,"66":25343,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230932480001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:07:15] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:07:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230932480001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":231625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:07:15] local.INFO: GPS data processed {"connection_id":231625,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:07:15] local.INFO: Acknowledgment sent {"connection_id":231625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:07:42] local.INFO: TCP Data received {"connection_id":231627,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231627,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:07:42] local.INFO: Processing buffer {"connection_id":231627,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:07:42] local.INFO: IMEI packet received {"connection_id":231627,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":231627,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:07:42] local.INFO: TCP Data received {"connection_id":231627,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231627,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:07:42] local.INFO: Processing buffer {"connection_id":231627,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:07:42] local.INFO: IMEI packet received {"connection_id":231627,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":231627,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:07:46] local.INFO: TCP Data received {"connection_id":231627,"ip":"42.106.6.45","data_length":93,"data_hex":"00000000000000518e01000001a1a9c87c78012d0a758007060f20000d00bd29..."} 
[2026-11-05 15:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231627,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c87c78012d0a758007060f20000d00bd29..."} 
[2026-11-05 15:07:46] local.INFO: Processing buffer {"connection_id":231627,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c87c78012d0a758007060f20000d00bd29..."} 
[2026-11-05 15:07:46] local.INFO: Packet analysis {"connection_id":231627,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c8"} 
[2026-11-05 15:07:46] local.INFO: Extracted packet for processing {"connection_id":231627,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c8"} 
[2026-11-05 15:07:46] local.INFO: GPS Element Parsed {"raw_longitude":755660160,"raw_latitude":117837600,"longitude_deg":75.566016,"latitude_deg":11.78376,"altitude":13,"angle":189,"satellites":41,"speed":9,"hex_longitude":"2d0a7580","hex_latitude":"07060f20","is_valid_coordinates":true} 
[2026-11-05 15: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":93,"current_offset":40} 
[2026-11-05 15:07:46] 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-05 15:07:46] 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-05 15:07:46] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:07:46] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":231627,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":231627,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":231627,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.45","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:07:46] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":231627,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:07:46] local.ERROR: GPS data processing failed {"connection_id":231627,"error":"No valid data to process"} 
[2026-11-05 15:07:46] local.INFO: Acknowledgment sent {"connection_id":231627,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:07:49] local.INFO: TCP Data received {"connection_id":231626,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0ed758012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0ed758012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:07:49] local.INFO: Processing buffer {"connection_id":231626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0ed758012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:07:49] local.INFO: Packet analysis {"connection_id":231626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab0e"} 
[2026-11-05 15:07:49] local.INFO: Extracted packet for processing {"connection_id":231626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab0e"} 
[2026-11-05 15:07:49] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230960128001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793871239000,"timestamp_ms":1793871239000,"timestamp_seconds":1793871239,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0ed758"} 
[2026-11-05 15: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-05 15:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-11-05 15:07:49] 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-05 15: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-05 15: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-05 15:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":231626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":231626,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":231626,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230960128001,"66":26528,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230960128001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:07:49] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:07:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230960128001,"power":26528,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":231626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63606,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:07:49] local.INFO: GPS data processed {"connection_id":231626,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:07:49] local.INFO: Acknowledgment sent {"connection_id":231626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:07:54] local.INFO: TCP Data received {"connection_id":231625,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:07:54] local.INFO: Processing buffer {"connection_id":231625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0d3178012d7fa60005afe2e8000301102c..."} 
[2026-11-05 15:07:54] local.INFO: Packet analysis {"connection_id":231625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab0d"} 
[2026-11-05 15:07:54] local.INFO: Extracted packet for processing {"connection_id":231625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab0d"} 
[2026-11-05 15:07:54] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":3,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230932480001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793871131000,"timestamp_ms":1793871131000,"timestamp_seconds":1793871131,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0d3178"} 
[2026-11-05 15:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:07: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-05 15:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":231625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":231625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":231625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:07:54] local.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-05 15:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230932480001,"66":25343,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230932480001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:07:54] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:07:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230932480001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":231625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:07:54] local.INFO: GPS data processed {"connection_id":231625,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:07:54] local.INFO: Acknowledgment sent {"connection_id":231625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:08:05] local.INFO: TCP Data received {"connection_id":233532,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233532,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:08:05] local.INFO: Processing buffer {"connection_id":233532,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:08:05] local.INFO: IMEI packet received {"connection_id":233532,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":233532,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:08:08] local.INFO: TCP Data received {"connection_id":230294,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:08:08] local.INFO: Processing buffer {"connection_id":230294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:08:08] local.INFO: IMEI packet received {"connection_id":230294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":230294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:08:11] local.INFO: TCP Data received {"connection_id":233532,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233532,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:08:11] local.INFO: Processing buffer {"connection_id":233532,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:08:11] local.INFO: IMEI packet received {"connection_id":233532,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":233532,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:08:13] local.INFO: TCP Data received {"connection_id":230294,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:08:13] local.INFO: Processing buffer {"connection_id":230294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:08:13] local.INFO: IMEI packet received {"connection_id":230294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":230294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:08:15] local.INFO: TCP Data received {"connection_id":230294,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab11c940012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab11c940012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:08:15] local.INFO: Processing buffer {"connection_id":230294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab11c940012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:08:15] local.INFO: Packet analysis {"connection_id":230294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab11"} 
[2026-11-05 15:08:15] local.INFO: Extracted packet for processing {"connection_id":230294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab11"} 
[2026-11-05 15:08:15] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231009536001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793871432000,"timestamp_ms":1793871432000,"timestamp_seconds":1793871432,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab11c940"} 
[2026-11-05 15:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:08: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-05 15:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:08:15] local.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-05 15:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231009536001,"66":25343,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231009536001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:08:15] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:08:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231009536001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":230294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:08:15] local.INFO: GPS data processed {"connection_id":230294,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:08:15] local.INFO: Acknowledgment sent {"connection_id":230294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:08:16] local.INFO: TCP Data received {"connection_id":233532,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0ed758012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0ed758012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:08:16] local.INFO: Processing buffer {"connection_id":233532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0ed758012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:08:16] local.INFO: Packet analysis {"connection_id":233532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab0e"} 
[2026-11-05 15:08:16] local.INFO: Extracted packet for processing {"connection_id":233532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab0e"} 
[2026-11-05 15:08:16] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230960128001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793871239000,"timestamp_ms":1793871239000,"timestamp_seconds":1793871239,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0ed758"} 
[2026-11-05 15: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-05 15:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":192,"data_length":795,"current_offset":136} 
[2026-11-05 15:08: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-05 15: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-05 15: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-05 15:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":233532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":233532,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":233532,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230960128001,"66":26528,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230960128001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:08:16] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:08:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230960128001,"power":26528,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":233532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63609,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:08:16] local.INFO: GPS data processed {"connection_id":233532,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:08:16] local.INFO: Acknowledgment sent {"connection_id":233532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:08:31] local.INFO: TCP Data received {"connection_id":230295,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230295,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:08:31] local.INFO: Processing buffer {"connection_id":230295,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:08:31] local.INFO: IMEI packet received {"connection_id":230295,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":230295,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:08:36] local.INFO: TCP Data received {"connection_id":230295,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230295,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:08:36] local.INFO: Processing buffer {"connection_id":230295,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:08:36] local.INFO: IMEI packet received {"connection_id":230295,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":230295,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:08:41] local.INFO: TCP Data received {"connection_id":230295,"ip":"42.106.6.35","data_length":93,"data_hex":"00000000000000518e01000001a1a9c89000012d0a7500070609d8000e00b128..."} 
[2026-11-05 15:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230295,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c89000012d0a7500070609d8000e00b128..."} 
[2026-11-05 15:08:41] local.INFO: Processing buffer {"connection_id":230295,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c89000012d0a7500070609d8000e00b128..."} 
[2026-11-05 15:08:41] local.INFO: Packet analysis {"connection_id":230295,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c8"} 
[2026-11-05 15:08:41] local.INFO: Extracted packet for processing {"connection_id":230295,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c8"} 
[2026-11-05 15:08:41] local.INFO: GPS Element Parsed {"raw_longitude":755660032,"raw_latitude":117836248,"longitude_deg":75.5660032,"latitude_deg":11.7836248,"altitude":14,"angle":177,"satellites":40,"speed":13,"hex_longitude":"2d0a7500","hex_latitude":"070609d8","is_valid_coordinates":true} 
[2026-11-05 15: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":93,"current_offset":40} 
[2026-11-05 15:08:41] 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-05 15:08:41] 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-05 15:08:41] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:08:41] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230295,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230295,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230295,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:08:41] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":230295,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:08:41] local.ERROR: GPS data processing failed {"connection_id":230295,"error":"No valid data to process"} 
[2026-11-05 15:08:41] local.INFO: Acknowledgment sent {"connection_id":230295,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:08:49] local.INFO: TCP Data received {"connection_id":230294,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab11c940012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab11c940012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:08:49] local.INFO: Processing buffer {"connection_id":230294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab11c940012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:08:49] local.INFO: Packet analysis {"connection_id":230294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab11"} 
[2026-11-05 15:08:49] local.INFO: Extracted packet for processing {"connection_id":230294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab11"} 
[2026-11-05 15:08:49] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 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-05 15:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231009536001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793871432000,"timestamp_ms":1793871432000,"timestamp_seconds":1793871432,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab11c940"} 
[2026-11-05 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-05 15:08: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-05 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":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 15:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":230294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":230294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":230294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231009536001,"66":25343,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231009536001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:08:49] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:08:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231009536001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":230294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:08:49] local.INFO: GPS data processed {"connection_id":230294,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:08:49] local.INFO: Acknowledgment sent {"connection_id":230294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:08:52] local.INFO: TCP Data received {"connection_id":233532,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab0ed758012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab0ed758012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:08:52] local.INFO: Processing buffer {"connection_id":233532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab0ed758012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:08:52] local.INFO: Packet analysis {"connection_id":233532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab0e"} 
[2026-11-05 15:08:52] local.INFO: Extracted packet for processing {"connection_id":233532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab0e"} 
[2026-11-05 15:08:52] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15:08: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-05 15:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459230960128001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793871239000,"timestamp_ms":1793871239000,"timestamp_seconds":1793871239,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab0ed758"} 
[2026-11-05 15:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:08: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":192,"data_length":795,"current_offset":136} 
[2026-11-05 15:08:52] 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-05 15:08: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-05 15:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":233532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":233532,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":233532,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459230960128001,"66":26528,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459230960128001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:08:52] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:08:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459230960128001,"power":26528,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":233532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63611,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:08:52] local.INFO: GPS data processed {"connection_id":233532,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:08:52] local.INFO: Acknowledgment sent {"connection_id":233532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:09:03] local.INFO: TCP Data received {"connection_id":233533,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:09:03] local.INFO: Processing buffer {"connection_id":233533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:09:03] local.INFO: IMEI packet received {"connection_id":233533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":233533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:09:08] local.INFO: TCP Data received {"connection_id":233533,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:09:08] local.INFO: Processing buffer {"connection_id":233533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:09:08] local.INFO: IMEI packet received {"connection_id":233533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":233533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:09:12] local.INFO: TCP Data received {"connection_id":230295,"ip":"42.106.6.35","data_length":93,"data_hex":"00000000000000518e01000001a1ab1324e8012d0b13000702a1700000007528..."} 
[2026-11-05 15:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230295,"packet_length":93,"packet_hex":"00000000000000518e01000001a1ab1324e8012d0b13000702a1700000007528..."} 
[2026-11-05 15:09:12] local.INFO: Processing buffer {"connection_id":230295,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1ab1324e8012d0b13000702a1700000007528..."} 
[2026-11-05 15:09:12] local.INFO: Packet analysis {"connection_id":230295,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1ab13"} 
[2026-11-05 15:09:12] local.INFO: Extracted packet for processing {"connection_id":230295,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1ab13"} 
[2026-11-05 15:09:12] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612912,"longitude_deg":75.570048,"latitude_deg":11.7612912,"altitude":0,"angle":117,"satellites":40,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a170","is_valid_coordinates":true} 
[2026-11-05 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":93,"current_offset":40} 
[2026-11-05 15:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:09:12] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:09:12] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230295,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230295,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230295,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:09:12] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":230295,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:09:12] local.ERROR: GPS data processing failed {"connection_id":230295,"error":"No valid data to process"} 
[2026-11-05 15:09:12] local.INFO: Acknowledgment sent {"connection_id":230295,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:09:15] local.INFO: TCP Data received {"connection_id":233533,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab11c940012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab11c940012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:09:15] local.INFO: Processing buffer {"connection_id":233533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab11c940012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:09:15] local.INFO: Packet analysis {"connection_id":233533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab11"} 
[2026-11-05 15:09:15] local.INFO: Extracted packet for processing {"connection_id":233533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab11"} 
[2026-11-05 15:09:15] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231009536001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793871432000,"timestamp_ms":1793871432000,"timestamp_seconds":1793871432,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab11c940"} 
[2026-11-05 15: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-05 15:09: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-05 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15: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-05 15: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-05 15:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:09:15] local.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-05 15:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231009536001,"66":25343,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231009536001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:09:15] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:09:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231009536001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":233533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:09:15] local.INFO: GPS data processed {"connection_id":233533,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:09:15] local.INFO: Acknowledgment sent {"connection_id":233533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:09:31] local.INFO: TCP Data received {"connection_id":233534,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233534,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:09:31] local.INFO: Processing buffer {"connection_id":233534,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:09:31] local.INFO: IMEI packet received {"connection_id":233534,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":233534,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:09:37] local.INFO: TCP Data received {"connection_id":233534,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233534,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:09:37] local.INFO: Processing buffer {"connection_id":233534,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:09:37] local.INFO: IMEI packet received {"connection_id":233534,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":233534,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:09:42] local.INFO: TCP Data received {"connection_id":233534,"ip":"42.106.6.35","data_length":93,"data_hex":"00000000000000518e01000001a1a9c8de20012d0a758007060398000f00b127..."} 
[2026-11-05 15:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233534,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c8de20012d0a758007060398000f00b127..."} 
[2026-11-05 15:09:42] local.INFO: Processing buffer {"connection_id":233534,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c8de20012d0a758007060398000f00b127..."} 
[2026-11-05 15:09:42] local.INFO: Packet analysis {"connection_id":233534,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c8"} 
[2026-11-05 15:09:42] local.INFO: Extracted packet for processing {"connection_id":233534,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c8"} 
[2026-11-05 15:09:42] local.INFO: GPS Element Parsed {"raw_longitude":755660160,"raw_latitude":117834648,"longitude_deg":75.566016,"latitude_deg":11.7834648,"altitude":15,"angle":177,"satellites":39,"speed":3,"hex_longitude":"2d0a7580","hex_latitude":"07060398","is_valid_coordinates":true} 
[2026-11-05 15: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":93,"current_offset":40} 
[2026-11-05 15:09:42] 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-05 15:09:42] 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-05 15:09:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:09:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233534,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233534,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233534,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:09:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":233534,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:09:42] local.ERROR: GPS data processing failed {"connection_id":233534,"error":"No valid data to process"} 
[2026-11-05 15:09:42] local.INFO: Acknowledgment sent {"connection_id":233534,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:09:47] local.INFO: TCP Data received {"connection_id":233533,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab11c940012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab11c940012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:09:47] local.INFO: Processing buffer {"connection_id":233533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab11c940012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:09:47] local.INFO: Packet analysis {"connection_id":233533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab11"} 
[2026-11-05 15:09:47] local.INFO: Extracted packet for processing {"connection_id":233533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab11"} 
[2026-11-05 15:09:47] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231009536001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793871432000,"timestamp_ms":1793871432000,"timestamp_seconds":1793871432,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab11c940"} 
[2026-11-05 15: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-05 15:09: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-05 15:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15: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-05 15: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-05 15:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":233533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":233533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":233533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231009536001,"66":25343,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231009536001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:09:47] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:09:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231009536001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":233533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:09:47] local.INFO: GPS data processed {"connection_id":233533,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:09:47] local.INFO: Acknowledgment sent {"connection_id":233533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:10:08] local.INFO: TCP Data received {"connection_id":233536,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:10:08] local.INFO: Processing buffer {"connection_id":233536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:10:08] local.INFO: IMEI packet received {"connection_id":233536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":233536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:10:13] local.INFO: TCP Data received {"connection_id":233534,"ip":"42.106.6.35","data_length":93,"data_hex":"00000000000000518e01000001a1a9c92c40012d0a76c00705e508001300be28..."} 
[2026-11-05 15:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233534,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c92c40012d0a76c00705e508001300be28..."} 
[2026-11-05 15:10:13] local.INFO: Processing buffer {"connection_id":233534,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c92c40012d0a76c00705e508001300be28..."} 
[2026-11-05 15:10:13] local.INFO: Packet analysis {"connection_id":233534,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c9"} 
[2026-11-05 15:10:13] local.INFO: Extracted packet for processing {"connection_id":233534,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c9"} 
[2026-11-05 15:10:13] local.INFO: GPS Element Parsed {"raw_longitude":755660480,"raw_latitude":117826824,"longitude_deg":75.566048,"latitude_deg":11.7826824,"altitude":19,"angle":190,"satellites":40,"speed":13,"hex_longitude":"2d0a76c0","hex_latitude":"0705e508","is_valid_coordinates":true} 
[2026-11-05 15: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":93,"current_offset":40} 
[2026-11-05 15:10:13] 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-05 15:10:13] 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-05 15:10:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:10:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":233534,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":233534,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":233534,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:10:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":233534,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:10:13] local.ERROR: GPS data processing failed {"connection_id":233534,"error":"No valid data to process"} 
[2026-11-05 15:10:13] local.INFO: Acknowledgment sent {"connection_id":233534,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:10:13] local.INFO: TCP Data received {"connection_id":233536,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:10:13] local.INFO: Processing buffer {"connection_id":233536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:10:13] local.INFO: IMEI packet received {"connection_id":233536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":233536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:10:14] local.INFO: TCP Data received {"connection_id":233536,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab11c940012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab11c940012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:10:14] local.INFO: Processing buffer {"connection_id":233536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab11c940012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:10:14] local.INFO: Packet analysis {"connection_id":233536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab11"} 
[2026-11-05 15:10:14] local.INFO: Extracted packet for processing {"connection_id":233536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab11"} 
[2026-11-05 15:10:14] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231009536001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793871432000,"timestamp_ms":1793871432000,"timestamp_seconds":1793871432,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab11c940"} 
[2026-11-05 15: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-05 15:10: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-05 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:10:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15: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-05 15: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-05 15:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:10: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-05 15:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231009536001,"66":25343,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231009536001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:10:14] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:10:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231009536001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":233536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:10:14] local.INFO: GPS data processed {"connection_id":233536,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:10:14] local.INFO: Acknowledgment sent {"connection_id":233536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:10:16] local.INFO: TCP Data received {"connection_id":229770,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229770,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:10:16] local.INFO: Processing buffer {"connection_id":229770,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:10:16] local.INFO: IMEI packet received {"connection_id":229770,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":229770,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:10:21] local.INFO: TCP Data received {"connection_id":229770,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229770,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:10:21] local.INFO: Processing buffer {"connection_id":229770,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:10:21] local.INFO: IMEI packet received {"connection_id":229770,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":229770,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:10:23] local.INFO: TCP Data received {"connection_id":229770,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab136f20012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab136f20012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:10:23] local.INFO: Processing buffer {"connection_id":229770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab136f20012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:10:23] local.INFO: Packet analysis {"connection_id":229770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab13"} 
[2026-11-05 15:10:23] local.INFO: Extracted packet for processing {"connection_id":229770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab13"} 
[2026-11-05 15:10:23] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231037184001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793871540000,"timestamp_ms":1793871540000,"timestamp_seconds":1793871540,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab136f20"} 
[2026-11-05 15:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-05 15:10:23] 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-05 15:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":229770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":229770,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":229770,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231037184001,"66":26517,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231037184001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:10:23] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:10:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231037184001,"power":26517,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":229770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63615,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:10:23] local.INFO: GPS data processed {"connection_id":229770,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:10:23] local.INFO: Acknowledgment sent {"connection_id":229770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:10:29] local.INFO: TCP Data received {"connection_id":229770,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab136f20012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab136f20012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:10:29] local.INFO: Processing buffer {"connection_id":229770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab136f20012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:10:29] local.INFO: Packet analysis {"connection_id":229770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab13"} 
[2026-11-05 15:10:29] local.INFO: Extracted packet for processing {"connection_id":229770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab13"} 
[2026-11-05 15:10:29] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231037184001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:10:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793871540000,"timestamp_ms":1793871540000,"timestamp_seconds":1793871540,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab136f20"} 
[2026-11-05 15:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:10:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-05 15:10:29] 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-05 15:10:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":229770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":229770,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":229770,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:10:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231037184001,"66":26517,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231037184001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:10:29] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:10:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231037184001,"power":26517,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":229770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63616,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:10:29] local.INFO: GPS data processed {"connection_id":229770,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:10:29] local.INFO: Acknowledgment sent {"connection_id":229770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:10:37] local.INFO: TCP Data received {"connection_id":233537,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233537,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:10:37] local.INFO: Processing buffer {"connection_id":233537,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:10:37] local.INFO: IMEI packet received {"connection_id":233537,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":233537,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:10:41] local.INFO: TCP Data received {"connection_id":233537,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233537,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:10:41] local.INFO: Processing buffer {"connection_id":233537,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:10:41] local.INFO: IMEI packet received {"connection_id":233537,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":233537,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:10:44] local.INFO: TCP Data received {"connection_id":233536,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab11c940012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab11c940012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:10:44] local.INFO: Processing buffer {"connection_id":233536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab11c940012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:10:44] local.INFO: Packet analysis {"connection_id":233536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab11"} 
[2026-11-05 15:10:44] local.INFO: Extracted packet for processing {"connection_id":233536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab11"} 
[2026-11-05 15:10:44] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231009536001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793871432000,"timestamp_ms":1793871432000,"timestamp_seconds":1793871432,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab11c940"} 
[2026-11-05 15: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-05 15: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-05 15:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:10: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-05 15: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-05 15: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-05 15:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":233536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":233536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":233536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231009536001,"66":25343,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231009536001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:10:44] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:10:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231009536001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":233536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:10:45] local.INFO: GPS data processed {"connection_id":233536,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:10:45] local.INFO: Acknowledgment sent {"connection_id":233536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:10:46] local.INFO: TCP Data received {"connection_id":233537,"ip":"42.106.6.35","data_length":93,"data_hex":"00000000000000518e01000001a1a9c93410012d0a75c00705e2b8001400cd28..."} 
[2026-11-05 15:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233537,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c93410012d0a75c00705e2b8001400cd28..."} 
[2026-11-05 15:10:46] local.INFO: Processing buffer {"connection_id":233537,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c93410012d0a75c00705e2b8001400cd28..."} 
[2026-11-05 15:10:46] local.INFO: Packet analysis {"connection_id":233537,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c9"} 
[2026-11-05 15:10:46] local.INFO: Extracted packet for processing {"connection_id":233537,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c9"} 
[2026-11-05 15:10:46] local.INFO: GPS Element Parsed {"raw_longitude":755660224,"raw_latitude":117826232,"longitude_deg":75.5660224,"latitude_deg":11.7826232,"altitude":20,"angle":205,"satellites":40,"speed":11,"hex_longitude":"2d0a75c0","hex_latitude":"0705e2b8","is_valid_coordinates":true} 
[2026-11-05 15: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":93,"current_offset":40} 
[2026-11-05 15:10:46] 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-05 15:10:46] 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-05 15:10:46] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:10:46] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":233537,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":233537,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":233537,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:10:46] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":233537,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:10:46] local.ERROR: GPS data processing failed {"connection_id":233537,"error":"No valid data to process"} 
[2026-11-05 15:10:46] local.INFO: Acknowledgment sent {"connection_id":233537,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:11:03] local.INFO: TCP Data received {"connection_id":230296,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:11:03] local.INFO: Processing buffer {"connection_id":230296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:11:03] local.INFO: IMEI packet received {"connection_id":230296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":230296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:11:06] local.INFO: TCP Data received {"connection_id":231628,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231628,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:11:06] local.INFO: Processing buffer {"connection_id":231628,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:11:06] local.INFO: IMEI packet received {"connection_id":231628,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":231628,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:11:08] local.INFO: TCP Data received {"connection_id":230296,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:11:08] local.INFO: Processing buffer {"connection_id":230296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:11:08] local.INFO: IMEI packet received {"connection_id":230296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":230296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:11:09] local.INFO: TCP Data received {"connection_id":230296,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab11c940012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab11c940012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:11:09] local.INFO: Processing buffer {"connection_id":230296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab11c940012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:11:09] local.INFO: Packet analysis {"connection_id":230296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab11"} 
[2026-11-05 15:11:09] local.INFO: Extracted packet for processing {"connection_id":230296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab11"} 
[2026-11-05 15:11:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231009536001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793871432000,"timestamp_ms":1793871432000,"timestamp_seconds":1793871432,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab11c940"} 
[2026-11-05 15:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:11:09] local.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-05 15:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231009536001,"66":25343,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231009536001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:11:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:11:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231009536001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":230296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:11:09] local.INFO: GPS data processed {"connection_id":230296,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:11:09] local.INFO: Acknowledgment sent {"connection_id":230296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:11:11] local.INFO: TCP Data received {"connection_id":231628,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231628,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:11:11] local.INFO: Processing buffer {"connection_id":231628,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:11:11] local.INFO: IMEI packet received {"connection_id":231628,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":231628,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:11:16] local.INFO: TCP Data received {"connection_id":231628,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab136f20012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab136f20012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:11:16] local.INFO: Processing buffer {"connection_id":231628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab136f20012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:11:16] local.INFO: Packet analysis {"connection_id":231628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab13"} 
[2026-11-05 15:11:16] local.INFO: Extracted packet for processing {"connection_id":231628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab13"} 
[2026-11-05 15:11:16] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231037184001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793871540000,"timestamp_ms":1793871540000,"timestamp_seconds":1793871540,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab136f20"} 
[2026-11-05 15: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-05 15:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":160,"data_length":795,"current_offset":136} 
[2026-11-05 15:11: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-05 15: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-05 15: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-05 15:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":231628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":231628,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":231628,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231037184001,"66":26517,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231037184001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:11:16] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:11:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231037184001,"power":26517,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":231628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63619,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:11:16] local.INFO: GPS data processed {"connection_id":231628,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:11:16] local.INFO: Acknowledgment sent {"connection_id":231628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:11:32] local.INFO: TCP Data received {"connection_id":230297,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230297,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:11:32] local.INFO: Processing buffer {"connection_id":230297,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:11:32] local.INFO: IMEI packet received {"connection_id":230297,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":230297,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:11:37] local.INFO: TCP Data received {"connection_id":230297,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230297,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:11:37] local.INFO: Processing buffer {"connection_id":230297,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:11:37] local.INFO: IMEI packet received {"connection_id":230297,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":230297,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:11:40] local.INFO: TCP Data received {"connection_id":230296,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab11c940012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab11c940012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:11:40] local.INFO: Processing buffer {"connection_id":230296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab11c940012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:11:40] local.INFO: Packet analysis {"connection_id":230296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab11"} 
[2026-11-05 15:11:40] local.INFO: Extracted packet for processing {"connection_id":230296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab11"} 
[2026-11-05 15:11:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231009536001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793871432000,"timestamp_ms":1793871432000,"timestamp_seconds":1793871432,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab11c940"} 
[2026-11-05 15:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:11: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-05 15:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231009536001,"66":25343,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231009536001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:11:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:11:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231009536001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":230296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:11:40] local.INFO: GPS data processed {"connection_id":230296,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:11:40] local.INFO: Acknowledgment sent {"connection_id":230296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:11:42] local.INFO: TCP Data received {"connection_id":230297,"ip":"42.106.6.35","data_length":93,"data_hex":"00000000000000518e01000001a1a9c93fc8012d0a74c00705e0b0001500d828..."} 
[2026-11-05 15:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230297,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c93fc8012d0a74c00705e0b0001500d828..."} 
[2026-11-05 15:11:42] local.INFO: Processing buffer {"connection_id":230297,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c93fc8012d0a74c00705e0b0001500d828..."} 
[2026-11-05 15:11:42] local.INFO: Packet analysis {"connection_id":230297,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c9"} 
[2026-11-05 15:11:42] local.INFO: Extracted packet for processing {"connection_id":230297,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c9"} 
[2026-11-05 15:11:42] local.INFO: GPS Element Parsed {"raw_longitude":755659968,"raw_latitude":117825712,"longitude_deg":75.5659968,"latitude_deg":11.7825712,"altitude":21,"angle":216,"satellites":40,"speed":5,"hex_longitude":"2d0a74c0","hex_latitude":"0705e0b0","is_valid_coordinates":true} 
[2026-11-05 15:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 15:11:42] 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-05 15:11:42] 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-05 15:11:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:11:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230297,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230297,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230297,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:11:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":230297,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:11:42] local.ERROR: GPS data processing failed {"connection_id":230297,"error":"No valid data to process"} 
[2026-11-05 15:11:42] local.INFO: Acknowledgment sent {"connection_id":230297,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:11:50] local.INFO: TCP Data received {"connection_id":231628,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab136f20012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab136f20012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:11:50] local.INFO: Processing buffer {"connection_id":231628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab136f20012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:11:50] local.INFO: Packet analysis {"connection_id":231628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab13"} 
[2026-11-05 15:11:50] local.INFO: Extracted packet for processing {"connection_id":231628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab13"} 
[2026-11-05 15:11:50] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231037184001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793871540000,"timestamp_ms":1793871540000,"timestamp_seconds":1793871540,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab136f20"} 
[2026-11-05 15: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-05 15:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-05 15:11:50] 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-05 15: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-05 15: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-05 15:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":231628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":231628,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":231628,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231037184001,"66":26517,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231037184001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:11:50] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:11:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231037184001,"power":26517,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":231628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63621,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:11:50] local.INFO: GPS data processed {"connection_id":231628,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:11:50] local.INFO: Acknowledgment sent {"connection_id":231628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:12:03] local.INFO: TCP Data received {"connection_id":230298,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:12:03] local.INFO: Processing buffer {"connection_id":230298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:12:03] local.INFO: IMEI packet received {"connection_id":230298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":230298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:12:06] local.INFO: TCP Data received {"connection_id":229771,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229771,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:12:06] local.INFO: Processing buffer {"connection_id":229771,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:12:06] local.INFO: IMEI packet received {"connection_id":229771,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":229771,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:12:08] local.INFO: TCP Data received {"connection_id":230298,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:12:08] local.INFO: Processing buffer {"connection_id":230298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:12:08] local.INFO: IMEI packet received {"connection_id":230298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":230298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:12:09] local.INFO: TCP Data received {"connection_id":230298,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab11c940012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab11c940012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:12:09] local.INFO: Processing buffer {"connection_id":230298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab11c940012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:12:09] local.INFO: Packet analysis {"connection_id":230298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab11"} 
[2026-11-05 15:12:09] local.INFO: Extracted packet for processing {"connection_id":230298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab11"} 
[2026-11-05 15:12:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231009536001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793871432000,"timestamp_ms":1793871432000,"timestamp_seconds":1793871432,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab11c940"} 
[2026-11-05 15:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:12:09] local.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-05 15:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231009536001,"66":25343,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231009536001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:12:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:12:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231009536001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:12:09] 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":63622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:12:09] local.INFO: GPS data processed {"connection_id":230298,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:12:09] local.INFO: Acknowledgment sent {"connection_id":230298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:12:11] local.INFO: TCP Data received {"connection_id":229771,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229771,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:12:11] local.INFO: Processing buffer {"connection_id":229771,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:12:11] local.INFO: IMEI packet received {"connection_id":229771,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":229771,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:12:13] local.INFO: TCP Data received {"connection_id":230297,"ip":"42.106.6.35","data_length":93,"data_hex":"00000000000000518e01000001a1a9c94f68012d0a73800705def8001600c928..."} 
[2026-11-05 15:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230297,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c94f68012d0a73800705def8001600c928..."} 
[2026-11-05 15:12:13] local.INFO: Processing buffer {"connection_id":230297,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c94f68012d0a73800705def8001600c928..."} 
[2026-11-05 15:12:13] local.INFO: Packet analysis {"connection_id":230297,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c9"} 
[2026-11-05 15:12:13] local.INFO: Extracted packet for processing {"connection_id":230297,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c9"} 
[2026-11-05 15:12:13] local.INFO: GPS Element Parsed {"raw_longitude":755659648,"raw_latitude":117825272,"longitude_deg":75.5659648,"latitude_deg":11.7825272,"altitude":22,"angle":201,"satellites":40,"speed":5,"hex_longitude":"2d0a7380","hex_latitude":"0705def8","is_valid_coordinates":true} 
[2026-11-05 15: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":93,"current_offset":40} 
[2026-11-05 15:12:13] 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-05 15:12:13] 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-05 15:12:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:12:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230297,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230297,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230297,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:12:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":230297,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:12:13] local.ERROR: GPS data processing failed {"connection_id":230297,"error":"No valid data to process"} 
[2026-11-05 15:12:13] local.INFO: Acknowledgment sent {"connection_id":230297,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:12:15] local.INFO: TCP Data received {"connection_id":229771,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab136f20012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab136f20012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:12:15] local.INFO: Processing buffer {"connection_id":229771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab136f20012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:12:15] local.INFO: Packet analysis {"connection_id":229771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab13"} 
[2026-11-05 15:12:15] local.INFO: Extracted packet for processing {"connection_id":229771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab13"} 
[2026-11-05 15:12:15] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231037184001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793871540000,"timestamp_ms":1793871540000,"timestamp_seconds":1793871540,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab136f20"} 
[2026-11-05 15: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-05 15:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-05 15:12: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-05 15: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-05 15: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-05 15:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229771,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229771,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231037184001,"66":26517,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231037184001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:12:15] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:12:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231037184001,"power":26517,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":229771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63623,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:12:15] local.INFO: GPS data processed {"connection_id":229771,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:12:15] local.INFO: Acknowledgment sent {"connection_id":229771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:12:31] local.INFO: TCP Data received {"connection_id":233538,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233538,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:12:31] local.INFO: Processing buffer {"connection_id":233538,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:12:31] local.INFO: IMEI packet received {"connection_id":233538,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":233538,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:12:36] local.INFO: TCP Data received {"connection_id":233538,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233538,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:12:36] local.INFO: Processing buffer {"connection_id":233538,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:12:36] local.INFO: IMEI packet received {"connection_id":233538,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":233538,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:12:42] local.INFO: TCP Data received {"connection_id":230298,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab11c940012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab11c940012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:12:42] local.INFO: Processing buffer {"connection_id":230298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab11c940012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:12:42] local.INFO: Packet analysis {"connection_id":230298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab11"} 
[2026-11-05 15:12:42] local.INFO: Extracted packet for processing {"connection_id":230298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab11"} 
[2026-11-05 15:12:42] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231009536001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793871432000,"timestamp_ms":1793871432000,"timestamp_seconds":1793871432,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab11c940"} 
[2026-11-05 15:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:12: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-05 15:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:12: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-05 15:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231009536001,"66":25343,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231009536001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:12:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:12:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231009536001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:12: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":63624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:12:42] local.INFO: GPS data processed {"connection_id":230298,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:12:42] local.INFO: Acknowledgment sent {"connection_id":230298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:12:43] local.INFO: TCP Data received {"connection_id":233538,"ip":"42.106.6.35","data_length":93,"data_hex":"00000000000000518e01000001a1a9c95350012d0a73800705de60001600be28..."} 
[2026-11-05 15:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233538,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c95350012d0a73800705de60001600be28..."} 
[2026-11-05 15:12:43] local.INFO: Processing buffer {"connection_id":233538,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c95350012d0a73800705de60001600be28..."} 
[2026-11-05 15:12:43] local.INFO: Packet analysis {"connection_id":233538,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c9"} 
[2026-11-05 15:12:43] local.INFO: Extracted packet for processing {"connection_id":233538,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c9"} 
[2026-11-05 15:12:43] local.INFO: GPS Element Parsed {"raw_longitude":755659648,"raw_latitude":117825120,"longitude_deg":75.5659648,"latitude_deg":11.782512,"altitude":22,"angle":190,"satellites":40,"speed":6,"hex_longitude":"2d0a7380","hex_latitude":"0705de60","is_valid_coordinates":true} 
[2026-11-05 15: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":93,"current_offset":40} 
[2026-11-05 15:12:43] 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-05 15:12:43] 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-05 15:12:43] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:12:43] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":233538,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":233538,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":233538,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:12:43] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":233538,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:12:43] local.ERROR: GPS data processing failed {"connection_id":233538,"error":"No valid data to process"} 
[2026-11-05 15:12:43] local.INFO: Acknowledgment sent {"connection_id":233538,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:12:47] local.INFO: TCP Data received {"connection_id":229771,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab136f20012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab136f20012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:12:47] local.INFO: Processing buffer {"connection_id":229771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab136f20012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:12:47] local.INFO: Packet analysis {"connection_id":229771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab13"} 
[2026-11-05 15:12:47] local.INFO: Extracted packet for processing {"connection_id":229771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab13"} 
[2026-11-05 15:12:47] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231037184001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793871540000,"timestamp_ms":1793871540000,"timestamp_seconds":1793871540,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab136f20"} 
[2026-11-05 15: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-05 15:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-05 15:12: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-05 15: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-05 15: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-05 15:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229771,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229771,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231037184001,"66":26517,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231037184001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:12:47] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:12:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231037184001,"power":26517,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":229771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63625,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:12:47] local.INFO: GPS data processed {"connection_id":229771,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:12:47] local.INFO: Acknowledgment sent {"connection_id":229771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:13:03] local.INFO: TCP Data received {"connection_id":230299,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:13:03] local.INFO: Processing buffer {"connection_id":230299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:13:03] local.INFO: IMEI packet received {"connection_id":230299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":230299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:13:08] local.INFO: TCP Data received {"connection_id":230299,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:13:08] local.INFO: Processing buffer {"connection_id":230299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:13:08] local.INFO: IMEI packet received {"connection_id":230299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":230299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:13:09] local.INFO: TCP Data received {"connection_id":230299,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab166108012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab166108012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:13:09] local.INFO: Processing buffer {"connection_id":230299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab166108012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:13:09] local.INFO: Packet analysis {"connection_id":230299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab16"} 
[2026-11-05 15:13:09] local.INFO: Extracted packet for processing {"connection_id":230299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab16"} 
[2026-11-05 15:13:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231086592001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793871733000,"timestamp_ms":1793871733000,"timestamp_seconds":1793871733,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab166108"} 
[2026-11-05 15:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:13:09] local.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-05 15:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231086592001,"66":25321,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231086592001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:13:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:13:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231086592001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:13:09] 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":63626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:13:09] local.INFO: GPS data processed {"connection_id":230299,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:13:09] local.INFO: Acknowledgment sent {"connection_id":230299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:13:11] local.INFO: TCP Data received {"connection_id":230300,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230300,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:13:11] local.INFO: Processing buffer {"connection_id":230300,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:13:11] local.INFO: IMEI packet received {"connection_id":230300,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":230300,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:13:14] local.INFO: TCP Data received {"connection_id":233538,"ip":"42.106.6.35","data_length":93,"data_hex":"00000000000000518e01000001a1a9c95b20012d0a73800705dcd0001700b128..."} 
[2026-11-05 15:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233538,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c95b20012d0a73800705dcd0001700b128..."} 
[2026-11-05 15:13:14] local.INFO: Processing buffer {"connection_id":233538,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c95b20012d0a73800705dcd0001700b128..."} 
[2026-11-05 15:13:14] local.INFO: Packet analysis {"connection_id":233538,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c9"} 
[2026-11-05 15:13:14] local.INFO: Extracted packet for processing {"connection_id":233538,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c9"} 
[2026-11-05 15:13:14] local.INFO: GPS Element Parsed {"raw_longitude":755659648,"raw_latitude":117824720,"longitude_deg":75.5659648,"latitude_deg":11.782472,"altitude":23,"angle":177,"satellites":40,"speed":10,"hex_longitude":"2d0a7380","hex_latitude":"0705dcd0","is_valid_coordinates":true} 
[2026-11-05 15:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 15:13:14] 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-05 15:13:14] 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-05 15:13:14] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:13:14] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233538,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233538,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233538,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:13:14] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":233538,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:13:14] local.ERROR: GPS data processing failed {"connection_id":233538,"error":"No valid data to process"} 
[2026-11-05 15:13:14] local.INFO: Acknowledgment sent {"connection_id":233538,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:13:16] local.INFO: TCP Data received {"connection_id":230300,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230300,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:13:16] local.INFO: Processing buffer {"connection_id":230300,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:13:16] local.INFO: IMEI packet received {"connection_id":230300,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":230300,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:13:20] local.INFO: TCP Data received {"connection_id":230300,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab136f20012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab136f20012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:13:20] local.INFO: Processing buffer {"connection_id":230300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab136f20012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:13:20] local.INFO: Packet analysis {"connection_id":230300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab13"} 
[2026-11-05 15:13:20] local.INFO: Extracted packet for processing {"connection_id":230300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab13"} 
[2026-11-05 15:13:20] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231037184001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793871540000,"timestamp_ms":1793871540000,"timestamp_seconds":1793871540,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab136f20"} 
[2026-11-05 15: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-05 15:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":160,"data_length":795,"current_offset":136} 
[2026-11-05 15:13: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-05 15: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-05 15: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-05 15:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230300,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230300,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231037184001,"66":26517,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231037184001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:13:20] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:13:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231037184001,"power":26517,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":230300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63627,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:13:21] local.INFO: GPS data processed {"connection_id":230300,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:13:21] local.INFO: Acknowledgment sent {"connection_id":230300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:13:23] local.INFO: TCP Data received {"connection_id":230300,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab136f20012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab136f20012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:13:23] local.INFO: Processing buffer {"connection_id":230300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab136f20012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:13:23] local.INFO: Packet analysis {"connection_id":230300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab13"} 
[2026-11-05 15:13:23] local.INFO: Extracted packet for processing {"connection_id":230300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab13"} 
[2026-11-05 15:13:23] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231037184001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793871540000,"timestamp_ms":1793871540000,"timestamp_seconds":1793871540,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab136f20"} 
[2026-11-05 15: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-05 15:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-05 15:13:23] 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-05 15: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-05 15: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-05 15:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":230300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":230300,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":230300,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231037184001,"66":26517,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231037184001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:13:23] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:13:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231037184001,"power":26517,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":230300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63628,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:13:23] local.INFO: GPS data processed {"connection_id":230300,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:13:23] local.INFO: Acknowledgment sent {"connection_id":230300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:13:31] local.INFO: TCP Data received {"connection_id":229772,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229772,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:13:31] local.INFO: Processing buffer {"connection_id":229772,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:13:31] local.INFO: IMEI packet received {"connection_id":229772,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":229772,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:13:37] local.INFO: TCP Data received {"connection_id":229772,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229772,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:13:37] local.INFO: Processing buffer {"connection_id":229772,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:13:37] local.INFO: IMEI packet received {"connection_id":229772,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":229772,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:13:40] local.INFO: TCP Data received {"connection_id":230299,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab166108012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab166108012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:13:40] local.INFO: Processing buffer {"connection_id":230299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab166108012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:13:40] local.INFO: Packet analysis {"connection_id":230299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab16"} 
[2026-11-05 15:13:40] local.INFO: Extracted packet for processing {"connection_id":230299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab16"} 
[2026-11-05 15:13:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231086592001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793871733000,"timestamp_ms":1793871733000,"timestamp_seconds":1793871733,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab166108"} 
[2026-11-05 15:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:13: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-05 15:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231086592001,"66":25321,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231086592001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:13:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231086592001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:13:40] 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":63629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:13:40] local.INFO: GPS data processed {"connection_id":230299,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:13:40] local.INFO: Acknowledgment sent {"connection_id":230299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:13:42] local.INFO: TCP Data received {"connection_id":229772,"ip":"42.106.6.35","data_length":93,"data_hex":"00000000000000518e01000001a1a9c9a940012d0a77c00705c228001800ab27..."} 
[2026-11-05 15:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229772,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c9a940012d0a77c00705c228001800ab27..."} 
[2026-11-05 15:13:42] local.INFO: Processing buffer {"connection_id":229772,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c9a940012d0a77c00705c228001800ab27..."} 
[2026-11-05 15:13:42] local.INFO: Packet analysis {"connection_id":229772,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c9"} 
[2026-11-05 15:13:42] local.INFO: Extracted packet for processing {"connection_id":229772,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c9"} 
[2026-11-05 15:13:42] local.INFO: GPS Element Parsed {"raw_longitude":755660736,"raw_latitude":117817896,"longitude_deg":75.5660736,"latitude_deg":11.7817896,"altitude":24,"angle":171,"satellites":39,"speed":21,"hex_longitude":"2d0a77c0","hex_latitude":"0705c228","is_valid_coordinates":true} 
[2026-11-05 15:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 15:13:42] 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-05 15:13:42] 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-05 15:13:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:13:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229772,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229772,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229772,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:13:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":229772,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:13:42] local.ERROR: GPS data processing failed {"connection_id":229772,"error":"No valid data to process"} 
[2026-11-05 15:13:42] local.INFO: Acknowledgment sent {"connection_id":229772,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:14:03] local.INFO: TCP Data received {"connection_id":233539,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:14:03] local.INFO: Processing buffer {"connection_id":233539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:14:03] local.INFO: IMEI packet received {"connection_id":233539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":233539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:14:06] local.INFO: TCP Data received {"connection_id":230301,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230301,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:14:06] local.INFO: Processing buffer {"connection_id":230301,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:14:06] local.INFO: IMEI packet received {"connection_id":230301,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":230301,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:14:08] local.INFO: TCP Data received {"connection_id":233539,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:14:08] local.INFO: Processing buffer {"connection_id":233539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:14:08] local.INFO: IMEI packet received {"connection_id":233539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":233539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:14:09] local.INFO: TCP Data received {"connection_id":233539,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab166108012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab166108012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:14:09] local.INFO: Processing buffer {"connection_id":233539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab166108012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:14:09] local.INFO: Packet analysis {"connection_id":233539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab16"} 
[2026-11-05 15:14:09] local.INFO: Extracted packet for processing {"connection_id":233539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab16"} 
[2026-11-05 15:14:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231086592001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793871733000,"timestamp_ms":1793871733000,"timestamp_seconds":1793871733,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab166108"} 
[2026-11-05 15:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:14:09] local.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-05 15:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231086592001,"66":25321,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231086592001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:14:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:14:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231086592001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":233539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:14:09] local.INFO: GPS data processed {"connection_id":233539,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:14:09] local.INFO: Acknowledgment sent {"connection_id":233539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:14:11] local.INFO: TCP Data received {"connection_id":230301,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230301,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:14:11] local.INFO: Processing buffer {"connection_id":230301,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:14:11] local.INFO: IMEI packet received {"connection_id":230301,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":230301,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:14:13] local.INFO: TCP Data received {"connection_id":229772,"ip":"42.106.6.35","data_length":93,"data_hex":"00000000000000518e01000001a1ab17bcb0012d0b13000702a170000700752a..."} 
[2026-11-05 15:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229772,"packet_length":93,"packet_hex":"00000000000000518e01000001a1ab17bcb0012d0b13000702a170000700752a..."} 
[2026-11-05 15:14:13] local.INFO: Processing buffer {"connection_id":229772,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1ab17bcb0012d0b13000702a170000700752a..."} 
[2026-11-05 15:14:13] local.INFO: Packet analysis {"connection_id":229772,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1ab17"} 
[2026-11-05 15:14:13] local.INFO: Extracted packet for processing {"connection_id":229772,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1ab17"} 
[2026-11-05 15:14:13] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612912,"longitude_deg":75.570048,"latitude_deg":11.7612912,"altitude":7,"angle":117,"satellites":42,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a170","is_valid_coordinates":true} 
[2026-11-05 15: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":93,"current_offset":40} 
[2026-11-05 15:14:13] 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-05 15:14:13] 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-05 15:14:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:14:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229772,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229772,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229772,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:14:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":229772,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:14:13] local.ERROR: GPS data processing failed {"connection_id":229772,"error":"No valid data to process"} 
[2026-11-05 15:14:13] local.INFO: Acknowledgment sent {"connection_id":229772,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:14:16] local.INFO: TCP Data received {"connection_id":230301,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab136f20012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab136f20012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:14:16] local.INFO: Processing buffer {"connection_id":230301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab136f20012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:14:16] local.INFO: Packet analysis {"connection_id":230301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab13"} 
[2026-11-05 15:14:16] local.INFO: Extracted packet for processing {"connection_id":230301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab13"} 
[2026-11-05 15:14:16] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231037184001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793871540000,"timestamp_ms":1793871540000,"timestamp_seconds":1793871540,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab136f20"} 
[2026-11-05 15: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-05 15:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-05 15:14: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-05 15: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-05 15: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-05 15:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230301,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230301,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231037184001,"66":26517,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231037184001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:14:16] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:14:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231037184001,"power":26517,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:14:16] 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":63631,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:14:16] local.INFO: GPS data processed {"connection_id":230301,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:14:16] local.INFO: Acknowledgment sent {"connection_id":230301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:14:21] local.INFO: TCP Data received {"connection_id":230301,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab136f20012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab136f20012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:14:21] local.INFO: Processing buffer {"connection_id":230301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab136f20012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:14:21] local.INFO: Packet analysis {"connection_id":230301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab13"} 
[2026-11-05 15:14:21] local.INFO: Extracted packet for processing {"connection_id":230301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab13"} 
[2026-11-05 15:14:21] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231037184001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793871540000,"timestamp_ms":1793871540000,"timestamp_seconds":1793871540,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab136f20"} 
[2026-11-05 15: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-05 15:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-05 15:14: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-05 15: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-05 15: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-05 15:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230301,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230301,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231037184001,"66":26517,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231037184001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:14:22] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:14:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231037184001,"power":26517,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:14:22] 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":63632,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:14:22] local.INFO: GPS data processed {"connection_id":230301,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:14:22] local.INFO: Acknowledgment sent {"connection_id":230301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:14:31] local.INFO: TCP Data received {"connection_id":231629,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231629,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:14:31] local.INFO: Processing buffer {"connection_id":231629,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:14:31] local.INFO: IMEI packet received {"connection_id":231629,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":231629,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:14:36] local.INFO: TCP Data received {"connection_id":231629,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231629,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:14:36] local.INFO: Processing buffer {"connection_id":231629,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:14:36] local.INFO: IMEI packet received {"connection_id":231629,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":231629,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:14:40] local.INFO: TCP Data received {"connection_id":233539,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab166108012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab166108012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:14:40] local.INFO: Processing buffer {"connection_id":233539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab166108012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:14:40] local.INFO: Packet analysis {"connection_id":233539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab16"} 
[2026-11-05 15:14:40] local.INFO: Extracted packet for processing {"connection_id":233539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab16"} 
[2026-11-05 15:14:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231086592001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793871733000,"timestamp_ms":1793871733000,"timestamp_seconds":1793871733,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab166108"} 
[2026-11-05 15:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:14: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-05 15:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231086592001,"66":25321,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231086592001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:14:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:14:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231086592001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":233539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:14:40] local.INFO: GPS data processed {"connection_id":233539,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:14:40] local.INFO: Acknowledgment sent {"connection_id":233539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:14:53] local.INFO: TCP Data received {"connection_id":231629,"ip":"42.106.6.35","data_length":93,"data_hex":"00000000000000518e01000001a1a9c9b110012d0a78c00705bdc8001700a026..."} 
[2026-11-05 15:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231629,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c9b110012d0a78c00705bdc8001700a026..."} 
[2026-11-05 15:14:53] local.INFO: Processing buffer {"connection_id":231629,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c9b110012d0a78c00705bdc8001700a026..."} 
[2026-11-05 15:14:53] local.INFO: Packet analysis {"connection_id":231629,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c9"} 
[2026-11-05 15:14:53] local.INFO: Extracted packet for processing {"connection_id":231629,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c9"} 
[2026-11-05 15:14:53] local.INFO: GPS Element Parsed {"raw_longitude":755660992,"raw_latitude":117816776,"longitude_deg":75.5660992,"latitude_deg":11.7816776,"altitude":23,"angle":160,"satellites":38,"speed":24,"hex_longitude":"2d0a78c0","hex_latitude":"0705bdc8","is_valid_coordinates":true} 
[2026-11-05 15:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 15:14:53] 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-05 15:14:53] 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-05 15:14:53] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:14:53] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":231629,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":231629,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":231629,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:14:53] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":231629,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:14:53] local.ERROR: GPS data processing failed {"connection_id":231629,"error":"No valid data to process"} 
[2026-11-05 15:14:53] local.INFO: Acknowledgment sent {"connection_id":231629,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:15:03] local.INFO: TCP Data received {"connection_id":229773,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:15:03] local.INFO: Processing buffer {"connection_id":229773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:15:03] local.INFO: IMEI packet received {"connection_id":229773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":229773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:15:08] local.INFO: TCP Data received {"connection_id":229773,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:15:08] local.INFO: Processing buffer {"connection_id":229773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:15:08] local.INFO: IMEI packet received {"connection_id":229773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":229773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:15:09] local.INFO: TCP Data received {"connection_id":229773,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab166108012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab166108012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:15:09] local.INFO: Processing buffer {"connection_id":229773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab166108012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:15:09] local.INFO: Packet analysis {"connection_id":229773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab16"} 
[2026-11-05 15:15:09] local.INFO: Extracted packet for processing {"connection_id":229773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab16"} 
[2026-11-05 15:15:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231086592001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793871733000,"timestamp_ms":1793871733000,"timestamp_seconds":1793871733,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab166108"} 
[2026-11-05 15:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:15:09] 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-05 15:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231086592001,"66":25321,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231086592001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:15:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:15:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231086592001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":229773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:15:09] local.INFO: GPS data processed {"connection_id":229773,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:15:09] local.INFO: Acknowledgment sent {"connection_id":229773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:15:11] local.INFO: TCP Data received {"connection_id":231630,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231630,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:15:11] local.INFO: Processing buffer {"connection_id":231630,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:15:11] local.INFO: IMEI packet received {"connection_id":231630,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":231630,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:15:16] local.INFO: TCP Data received {"connection_id":231630,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231630,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:15:16] local.INFO: Processing buffer {"connection_id":231630,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:15:16] local.INFO: IMEI packet received {"connection_id":231630,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":231630,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:15:18] local.INFO: TCP Data received {"connection_id":231630,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1806e8012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1806e8012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:15:18] local.INFO: Processing buffer {"connection_id":231630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1806e8012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:15:18] local.INFO: Packet analysis {"connection_id":231630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab18"} 
[2026-11-05 15:15:18] local.INFO: Extracted packet for processing {"connection_id":231630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab18"} 
[2026-11-05 15:15:18] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231114240001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793871841000,"timestamp_ms":1793871841000,"timestamp_seconds":1793871841,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1806e8"} 
[2026-11-05 15: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-05 15:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-11-05 15:15:18] 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-05 15: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-05 15: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-05 15:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":231630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":231630,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":231630,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231114240001,"66":26473,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231114240001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:15:18] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:15:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231114240001,"power":26473,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":231630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63635,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:15:18] local.INFO: GPS data processed {"connection_id":231630,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:15:18] local.INFO: Acknowledgment sent {"connection_id":231630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:15:31] local.INFO: TCP Data received {"connection_id":230302,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230302,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:15:31] local.INFO: Processing buffer {"connection_id":230302,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:15:31] local.INFO: IMEI packet received {"connection_id":230302,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":230302,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:15:37] local.INFO: TCP Data received {"connection_id":230302,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230302,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:15:37] local.INFO: Processing buffer {"connection_id":230302,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:15:37] local.INFO: IMEI packet received {"connection_id":230302,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":230302,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:15:40] local.INFO: TCP Data received {"connection_id":229773,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab166108012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab166108012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:15:40] local.INFO: Processing buffer {"connection_id":229773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab166108012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:15:40] local.INFO: Packet analysis {"connection_id":229773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab16"} 
[2026-11-05 15:15:40] local.INFO: Extracted packet for processing {"connection_id":229773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab16"} 
[2026-11-05 15:15:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231086592001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793871733000,"timestamp_ms":1793871733000,"timestamp_seconds":1793871733,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab166108"} 
[2026-11-05 15:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231086592001,"66":25321,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231086592001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:15:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:15:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231086592001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":229773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:15:40] local.INFO: GPS data processed {"connection_id":229773,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:15:40] local.INFO: Acknowledgment sent {"connection_id":229773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:15:42] local.INFO: TCP Data received {"connection_id":230302,"ip":"42.106.6.35","data_length":93,"data_hex":"00000000000000518e01000001a1a9c9d050012d0a82400705ab900015009127..."} 
[2026-11-05 15:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230302,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c9d050012d0a82400705ab900015009127..."} 
[2026-11-05 15:15:42] local.INFO: Processing buffer {"connection_id":230302,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c9d050012d0a82400705ab900015009127..."} 
[2026-11-05 15:15:42] local.INFO: Packet analysis {"connection_id":230302,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c9"} 
[2026-11-05 15:15:42] local.INFO: Extracted packet for processing {"connection_id":230302,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c9"} 
[2026-11-05 15:15:42] local.INFO: GPS Element Parsed {"raw_longitude":755663424,"raw_latitude":117812112,"longitude_deg":75.5663424,"latitude_deg":11.7812112,"altitude":21,"angle":145,"satellites":39,"speed":13,"hex_longitude":"2d0a8240","hex_latitude":"0705ab90","is_valid_coordinates":true} 
[2026-11-05 15:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 15:15:42] 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-05 15:15:42] 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-05 15:15:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:15:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230302,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230302,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230302,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:15:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":230302,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:15:42] local.ERROR: GPS data processing failed {"connection_id":230302,"error":"No valid data to process"} 
[2026-11-05 15:15:42] local.INFO: Acknowledgment sent {"connection_id":230302,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:15:54] local.INFO: TCP Data received {"connection_id":231630,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1806e8012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1806e8012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:15:54] local.INFO: Processing buffer {"connection_id":231630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1806e8012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:15:54] local.INFO: Packet analysis {"connection_id":231630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab18"} 
[2026-11-05 15:15:54] local.INFO: Extracted packet for processing {"connection_id":231630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab18"} 
[2026-11-05 15:15:54] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231114240001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793871841000,"timestamp_ms":1793871841000,"timestamp_seconds":1793871841,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1806e8"} 
[2026-11-05 15:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-11-05 15:15:54] 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-05 15:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":231630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":231630,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":231630,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231114240001,"66":26473,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231114240001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:15:54] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:15:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231114240001,"power":26473,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":231630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63637,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:15:54] local.INFO: GPS data processed {"connection_id":231630,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:15:54] local.INFO: Acknowledgment sent {"connection_id":231630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:16:04] local.INFO: TCP Data received {"connection_id":230303,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:16:04] local.INFO: Processing buffer {"connection_id":230303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:16:04] local.INFO: IMEI packet received {"connection_id":230303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":230303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:16:08] local.INFO: TCP Data received {"connection_id":230303,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:16:08] local.INFO: Processing buffer {"connection_id":230303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:16:08] local.INFO: IMEI packet received {"connection_id":230303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":230303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:16:08] local.INFO: TCP Data received {"connection_id":230303,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab166108012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab166108012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:16:08] local.INFO: Processing buffer {"connection_id":230303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab166108012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:16:08] local.INFO: Packet analysis {"connection_id":230303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab16"} 
[2026-11-05 15:16:08] local.INFO: Extracted packet for processing {"connection_id":230303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab16"} 
[2026-11-05 15:16:08] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231086592001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793871733000,"timestamp_ms":1793871733000,"timestamp_seconds":1793871733,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab166108"} 
[2026-11-05 15:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":230303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":230303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":230303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:16:08] 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-05 15:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231086592001,"66":25321,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231086592001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:16:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:16:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231086592001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:16:08] 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":63638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:16:08] local.INFO: GPS data processed {"connection_id":230303,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:16:08] local.INFO: Acknowledgment sent {"connection_id":230303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:16:11] local.INFO: TCP Data received {"connection_id":230304,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230304,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:16:11] local.INFO: Processing buffer {"connection_id":230304,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:16:11] local.INFO: IMEI packet received {"connection_id":230304,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":230304,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:16:13] local.INFO: TCP Data received {"connection_id":230302,"ip":"42.106.6.35","data_length":93,"data_hex":"00000000000000518e01000001a1a9c9d820012d0a83400705a9c0001500a728..."} 
[2026-11-05 15:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230302,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c9d820012d0a83400705a9c0001500a728..."} 
[2026-11-05 15:16:13] local.INFO: Processing buffer {"connection_id":230302,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c9d820012d0a83400705a9c0001500a728..."} 
[2026-11-05 15:16:13] local.INFO: Packet analysis {"connection_id":230302,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c9"} 
[2026-11-05 15:16:13] local.INFO: Extracted packet for processing {"connection_id":230302,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c9"} 
[2026-11-05 15:16:13] local.INFO: GPS Element Parsed {"raw_longitude":755663680,"raw_latitude":117811648,"longitude_deg":75.566368,"latitude_deg":11.7811648,"altitude":21,"angle":167,"satellites":40,"speed":8,"hex_longitude":"2d0a8340","hex_latitude":"0705a9c0","is_valid_coordinates":true} 
[2026-11-05 15: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":93,"current_offset":40} 
[2026-11-05 15:16:13] 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-05 15:16:13] 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-05 15:16:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:16:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230302,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230302,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230302,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:16:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":230302,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:16:13] local.ERROR: GPS data processing failed {"connection_id":230302,"error":"No valid data to process"} 
[2026-11-05 15:16:13] local.INFO: Acknowledgment sent {"connection_id":230302,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:16:19] local.INFO: TCP Data received {"connection_id":230303,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab166108012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab166108012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:16:19] local.INFO: Processing buffer {"connection_id":230303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab166108012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:16:19] local.INFO: Packet analysis {"connection_id":230303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab16"} 
[2026-11-05 15:16:19] local.INFO: Extracted packet for processing {"connection_id":230303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab16"} 
[2026-11-05 15:16:19] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231086592001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793871733000,"timestamp_ms":1793871733000,"timestamp_seconds":1793871733,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab166108"} 
[2026-11-05 15:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:16: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-05 15:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231086592001,"66":25321,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231086592001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:16:19] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:16:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231086592001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:16:19] 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":63639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:16:19] local.INFO: GPS data processed {"connection_id":230303,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:16:19] local.INFO: Acknowledgment sent {"connection_id":230303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:16:31] local.INFO: TCP Data received {"connection_id":231631,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231631,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:16:31] local.INFO: Processing buffer {"connection_id":231631,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:16:31] local.INFO: IMEI packet received {"connection_id":231631,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":231631,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:16:37] local.INFO: TCP Data received {"connection_id":231631,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231631,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:16:37] local.INFO: Processing buffer {"connection_id":231631,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:16:37] local.INFO: IMEI packet received {"connection_id":231631,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":231631,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:16:42] local.INFO: TCP Data received {"connection_id":231631,"ip":"42.106.6.35","data_length":93,"data_hex":"00000000000000518e01000001a1a9c9dc08012d0a83400705a8f8001500b328..."} 
[2026-11-05 15:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231631,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c9dc08012d0a83400705a8f8001500b328..."} 
[2026-11-05 15:16:42] local.INFO: Processing buffer {"connection_id":231631,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c9dc08012d0a83400705a8f8001500b328..."} 
[2026-11-05 15:16:42] local.INFO: Packet analysis {"connection_id":231631,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c9"} 
[2026-11-05 15:16:42] local.INFO: Extracted packet for processing {"connection_id":231631,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c9"} 
[2026-11-05 15:16:42] local.INFO: GPS Element Parsed {"raw_longitude":755663680,"raw_latitude":117811448,"longitude_deg":75.566368,"latitude_deg":11.7811448,"altitude":21,"angle":179,"satellites":40,"speed":8,"hex_longitude":"2d0a8340","hex_latitude":"0705a8f8","is_valid_coordinates":true} 
[2026-11-05 15: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":93,"current_offset":40} 
[2026-11-05 15:16:42] 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-05 15:16:42] 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-05 15:16:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:16:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231631,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231631,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231631,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:16:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":231631,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:16:42] local.ERROR: GPS data processing failed {"connection_id":231631,"error":"No valid data to process"} 
[2026-11-05 15:16:42] local.INFO: Acknowledgment sent {"connection_id":231631,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:16:55] local.INFO: TCP Data received {"connection_id":230304,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230304,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:16:55] local.INFO: Processing buffer {"connection_id":230304,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:16:55] local.INFO: IMEI packet received {"connection_id":230304,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":230304,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:17:03] local.INFO: TCP Data received {"connection_id":229774,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:17:03] local.INFO: Processing buffer {"connection_id":229774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:17:03] local.INFO: IMEI packet received {"connection_id":229774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":229774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:17:08] local.INFO: TCP Data received {"connection_id":229775,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:17:08] local.INFO: Processing buffer {"connection_id":229775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:17:08] local.INFO: IMEI packet received {"connection_id":229775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":229775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:17:13] local.INFO: TCP Data received {"connection_id":231631,"ip":"42.106.6.35","data_length":93,"data_hex":"00000000000000518e01000001a1a9c9dff0012d0a83400705a830001500c528..."} 
[2026-11-05 15:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231631,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c9dff0012d0a83400705a830001500c528..."} 
[2026-11-05 15:17:13] local.INFO: Processing buffer {"connection_id":231631,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c9dff0012d0a83400705a830001500c528..."} 
[2026-11-05 15:17:13] local.INFO: Packet analysis {"connection_id":231631,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c9"} 
[2026-11-05 15:17:13] local.INFO: Extracted packet for processing {"connection_id":231631,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c9"} 
[2026-11-05 15:17:13] local.INFO: GPS Element Parsed {"raw_longitude":755663680,"raw_latitude":117811248,"longitude_deg":75.566368,"latitude_deg":11.7811248,"altitude":21,"angle":197,"satellites":40,"speed":8,"hex_longitude":"2d0a8340","hex_latitude":"0705a830","is_valid_coordinates":true} 
[2026-11-05 15: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":93,"current_offset":40} 
[2026-11-05 15:17:13] 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-05 15:17:13] 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-05 15:17:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:17:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":231631,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":231631,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":231631,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:17:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":231631,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:17:13] local.ERROR: GPS data processing failed {"connection_id":231631,"error":"No valid data to process"} 
[2026-11-05 15:17:13] local.INFO: Acknowledgment sent {"connection_id":231631,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:17:13] local.INFO: TCP Data received {"connection_id":229774,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:17:13] local.INFO: Processing buffer {"connection_id":229774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:17:13] local.INFO: IMEI packet received {"connection_id":229774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":229774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:17:14] local.INFO: TCP Data received {"connection_id":229775,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:17:14] local.INFO: Processing buffer {"connection_id":229775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:17:14] local.INFO: IMEI packet received {"connection_id":229775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":229775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:17:15] local.INFO: TCP Data received {"connection_id":229774,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab166108012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab166108012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:17:15] local.INFO: Processing buffer {"connection_id":229774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab166108012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:17:15] local.INFO: Packet analysis {"connection_id":229774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab16"} 
[2026-11-05 15:17:15] local.INFO: Extracted packet for processing {"connection_id":229774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab16"} 
[2026-11-05 15:17:15] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231086592001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793871733000,"timestamp_ms":1793871733000,"timestamp_seconds":1793871733,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab166108"} 
[2026-11-05 15: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-05 15:17: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-05 15:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15: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-05 15: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-05 15:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:17: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-05 15:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231086592001,"66":25321,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231086592001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:17:15] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:17:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231086592001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":229774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:17:15] local.INFO: GPS data processed {"connection_id":229774,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:17:15] local.INFO: Acknowledgment sent {"connection_id":229774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:17:19] local.INFO: TCP Data received {"connection_id":229775,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1806e8012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1806e8012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:17:19] local.INFO: Processing buffer {"connection_id":229775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1806e8012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:17:19] local.INFO: Packet analysis {"connection_id":229775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab18"} 
[2026-11-05 15:17:19] local.INFO: Extracted packet for processing {"connection_id":229775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab18"} 
[2026-11-05 15:17:19] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231114240001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793871841000,"timestamp_ms":1793871841000,"timestamp_seconds":1793871841,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1806e8"} 
[2026-11-05 15:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-11-05 15:17:19] 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-05 15:17:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231114240001,"66":26473,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231114240001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:17:19] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:17:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231114240001,"power":26473,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":229775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63641,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:17:19] local.INFO: GPS data processed {"connection_id":229775,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:17:19] local.INFO: Acknowledgment sent {"connection_id":229775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:17:25] local.INFO: TCP Data received {"connection_id":229775,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1806e8012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1806e8012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:17:25] local.INFO: Processing buffer {"connection_id":229775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1806e8012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:17:25] local.INFO: Packet analysis {"connection_id":229775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab18"} 
[2026-11-05 15:17:25] local.INFO: Extracted packet for processing {"connection_id":229775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab18"} 
[2026-11-05 15:17:25] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231114240001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793871841000,"timestamp_ms":1793871841000,"timestamp_seconds":1793871841,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1806e8"} 
[2026-11-05 15:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-11-05 15:17:25] 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-05 15:17:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":229775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":229775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":229775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231114240001,"66":26473,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231114240001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:17:25] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:17:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231114240001,"power":26473,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":229775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63642,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:17:25] local.INFO: GPS data processed {"connection_id":229775,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:17:25] local.INFO: Acknowledgment sent {"connection_id":229775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:17:36] local.INFO: TCP Data received {"connection_id":233540,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233540,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:17:36] local.INFO: Processing buffer {"connection_id":233540,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:17:36] local.INFO: IMEI packet received {"connection_id":233540,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":233540,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:17:41] local.INFO: TCP Data received {"connection_id":233540,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233540,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:17:41] local.INFO: Processing buffer {"connection_id":233540,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:17:41] local.INFO: IMEI packet received {"connection_id":233540,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":233540,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:17:46] local.INFO: TCP Data received {"connection_id":229774,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab166108012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab166108012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:17:46] local.INFO: Processing buffer {"connection_id":229774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab166108012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:17:46] local.INFO: Packet analysis {"connection_id":229774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab16"} 
[2026-11-05 15:17:46] local.INFO: Extracted packet for processing {"connection_id":229774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab16"} 
[2026-11-05 15:17:46] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231086592001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793871733000,"timestamp_ms":1793871733000,"timestamp_seconds":1793871733,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab166108"} 
[2026-11-05 15: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-05 15:17: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-05 15:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15: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-05 15: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-05 15:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:17: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-05 15:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231086592001,"66":25321,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 15:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231086592001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:17:46] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 15:17:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231086592001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":229774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:17:46] local.INFO: GPS data processed {"connection_id":229774,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:17:46] local.INFO: Acknowledgment sent {"connection_id":229774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:17:47] local.INFO: TCP Data received {"connection_id":233540,"ip":"42.106.6.35","data_length":93,"data_hex":"00000000000000518e01000001a1a9c9e3d8012d0a82c00705a758001500d528..."} 
[2026-11-05 15:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233540,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9c9e3d8012d0a82c00705a758001500d528..."} 
[2026-11-05 15:17:47] local.INFO: Processing buffer {"connection_id":233540,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9c9e3d8012d0a82c00705a758001500d528..."} 
[2026-11-05 15:17:47] local.INFO: Packet analysis {"connection_id":233540,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9c9"} 
[2026-11-05 15:17:47] local.INFO: Extracted packet for processing {"connection_id":233540,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9c9"} 
[2026-11-05 15:17:47] local.INFO: GPS Element Parsed {"raw_longitude":755663552,"raw_latitude":117811032,"longitude_deg":75.5663552,"latitude_deg":11.7811032,"altitude":21,"angle":213,"satellites":40,"speed":11,"hex_longitude":"2d0a82c0","hex_latitude":"0705a758","is_valid_coordinates":true} 
[2026-11-05 15: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":93,"current_offset":40} 
[2026-11-05 15:17:47] 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-05 15:17:47] 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-05 15:17:47] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:17:47] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":233540,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":233540,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":233540,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:17:47] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":233540,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:17:47] local.ERROR: GPS data processing failed {"connection_id":233540,"error":"No valid data to process"} 
[2026-11-05 15:17:47] local.INFO: Acknowledgment sent {"connection_id":233540,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:17:57] local.INFO: TCP Data received {"connection_id":233540,"ip":"42.106.6.35","data_length":93,"data_hex":"00000000000000518e01000001a1a9ca2258012d0a6d0007058b28001300de28..."} 
[2026-11-05 15:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233540,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9ca2258012d0a6d0007058b28001300de28..."} 
[2026-11-05 15:17:57] local.INFO: Processing buffer {"connection_id":233540,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9ca2258012d0a6d0007058b28001300de28..."} 
[2026-11-05 15:17:57] local.INFO: Packet analysis {"connection_id":233540,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9ca"} 
[2026-11-05 15:17:57] local.INFO: Extracted packet for processing {"connection_id":233540,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9ca"} 
[2026-11-05 15:17:57] local.INFO: GPS Element Parsed {"raw_longitude":755657984,"raw_latitude":117803816,"longitude_deg":75.5657984,"latitude_deg":11.7803816,"altitude":19,"angle":222,"satellites":40,"speed":11,"hex_longitude":"2d0a6d00","hex_latitude":"07058b28","is_valid_coordinates":true} 
[2026-11-05 15:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 15:17:57] 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-05 15:17:57] 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-05 15:17:57] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:17:57] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":233540,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":233540,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":233540,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:17:57] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":233540,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:17:57] local.ERROR: GPS data processing failed {"connection_id":233540,"error":"No valid data to process"} 
[2026-11-05 15:17:57] local.INFO: Acknowledgment sent {"connection_id":233540,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:18:03] local.INFO: TCP Data received {"connection_id":233541,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:18:03] local.INFO: Processing buffer {"connection_id":233541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:18:03] local.INFO: IMEI packet received {"connection_id":233541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":233541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:18:05] local.INFO: TCP Data received {"connection_id":229776,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229776,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:18:05] local.INFO: Processing buffer {"connection_id":229776,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:18:05] local.INFO: IMEI packet received {"connection_id":229776,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":229776,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:18:08] local.INFO: TCP Data received {"connection_id":233541,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:18:08] local.INFO: Processing buffer {"connection_id":233541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:18:08] local.INFO: IMEI packet received {"connection_id":233541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":233541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:18:09] local.INFO: TCP Data received {"connection_id":233541,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1af8d0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1af8d0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:18:09] local.INFO: Processing buffer {"connection_id":233541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1af8d0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:18:09] local.INFO: Packet analysis {"connection_id":233541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab1a"} 
[2026-11-05 15:18:09] local.INFO: Extracted packet for processing {"connection_id":233541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab1a"} 
[2026-11-05 15:18:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:18: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-05 15:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231163648001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793872034000,"timestamp_ms":1793872034000,"timestamp_seconds":1793872034,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1af8d0"} 
[2026-11-05 15:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 15:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:18: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-05 15:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:18:09] 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-05 15:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231163648001,"66":25343,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 15:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231163648001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:18:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 15:18:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231163648001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":233541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:18:09] local.INFO: GPS data processed {"connection_id":233541,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:18:09] local.INFO: Acknowledgment sent {"connection_id":233541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:18:11] local.INFO: TCP Data received {"connection_id":229776,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229776,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:18:11] local.INFO: Processing buffer {"connection_id":229776,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:18:11] local.INFO: IMEI packet received {"connection_id":229776,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":229776,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:18:17] local.INFO: TCP Data received {"connection_id":229776,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1806e8012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1806e8012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:18:17] local.INFO: Processing buffer {"connection_id":229776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1806e8012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:18:17] local.INFO: Packet analysis {"connection_id":229776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab18"} 
[2026-11-05 15:18:17] local.INFO: Extracted packet for processing {"connection_id":229776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab18"} 
[2026-11-05 15:18:17] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231114240001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793871841000,"timestamp_ms":1793871841000,"timestamp_seconds":1793871841,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1806e8"} 
[2026-11-05 15: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-05 15:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-11-05 15:18:17] 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-05 15: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-05 15: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-05 15:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229776,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229776,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231114240001,"66":26473,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231114240001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:18:17] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:18:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231114240001,"power":26473,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":229776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63645,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:18:17] local.INFO: GPS data processed {"connection_id":229776,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:18:17] local.INFO: Acknowledgment sent {"connection_id":229776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:18:31] local.INFO: TCP Data received {"connection_id":229777,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229777,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:18:32] local.INFO: Processing buffer {"connection_id":229777,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:18:32] local.INFO: IMEI packet received {"connection_id":229777,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":229777,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:18:36] local.INFO: TCP Data received {"connection_id":229777,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229777,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:18:36] local.INFO: Processing buffer {"connection_id":229777,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:18:36] local.INFO: IMEI packet received {"connection_id":229777,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":229777,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:18:41] local.INFO: TCP Data received {"connection_id":233541,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1af8d0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1af8d0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:18:41] local.INFO: Processing buffer {"connection_id":233541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1af8d0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:18:41] local.INFO: Packet analysis {"connection_id":233541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab1a"} 
[2026-11-05 15:18:41] local.INFO: Extracted packet for processing {"connection_id":233541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab1a"} 
[2026-11-05 15:18:41] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231163648001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793872034000,"timestamp_ms":1793872034000,"timestamp_seconds":1793872034,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1af8d0"} 
[2026-11-05 15: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-05 15: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-05 15:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 15:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15: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-05 15: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-05 15:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231163648001,"66":25343,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 15:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231163648001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:18:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 15:18:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231163648001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":233541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:18:41] local.INFO: GPS data processed {"connection_id":233541,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:18:41] local.INFO: Acknowledgment sent {"connection_id":233541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:18:42] local.INFO: TCP Data received {"connection_id":229777,"ip":"42.106.6.35","data_length":93,"data_hex":"00000000000000518e01000001a1a9ca31f8012d0a6840070586b8001100ea29..."} 
[2026-11-05 15:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229777,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9ca31f8012d0a6840070586b8001100ea29..."} 
[2026-11-05 15:18:42] local.INFO: Processing buffer {"connection_id":229777,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9ca31f8012d0a6840070586b8001100ea29..."} 
[2026-11-05 15:18:42] local.INFO: Packet analysis {"connection_id":229777,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9ca"} 
[2026-11-05 15:18:42] local.INFO: Extracted packet for processing {"connection_id":229777,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9ca"} 
[2026-11-05 15:18:42] local.INFO: GPS Element Parsed {"raw_longitude":755656768,"raw_latitude":117802680,"longitude_deg":75.5656768,"latitude_deg":11.780268,"altitude":17,"angle":234,"satellites":41,"speed":21,"hex_longitude":"2d0a6840","hex_latitude":"070586b8","is_valid_coordinates":true} 
[2026-11-05 15: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":93,"current_offset":40} 
[2026-11-05 15:18:42] 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-05 15:18:42] 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-05 15:18:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:18:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229777,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229777,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229777,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:18:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":229777,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:18:42] local.ERROR: GPS data processing failed {"connection_id":229777,"error":"No valid data to process"} 
[2026-11-05 15:18:42] local.INFO: Acknowledgment sent {"connection_id":229777,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:18:50] local.INFO: TCP Data received {"connection_id":229776,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1806e8012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1806e8012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:18:50] local.INFO: Processing buffer {"connection_id":229776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1806e8012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:18:50] local.INFO: Packet analysis {"connection_id":229776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab18"} 
[2026-11-05 15:18:50] local.INFO: Extracted packet for processing {"connection_id":229776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab18"} 
[2026-11-05 15:18:50] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231114240001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793871841000,"timestamp_ms":1793871841000,"timestamp_seconds":1793871841,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1806e8"} 
[2026-11-05 15:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-11-05 15:18:50] 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-05 15:18:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229776,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229776,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231114240001,"66":26473,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231114240001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:18:50] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:18:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231114240001,"power":26473,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":229776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63647,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:18:50] local.INFO: GPS data processed {"connection_id":229776,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:18:50] local.INFO: Acknowledgment sent {"connection_id":229776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:19:03] local.INFO: TCP Data received {"connection_id":231632,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:19:03] local.INFO: Processing buffer {"connection_id":231632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:19:03] local.INFO: IMEI packet received {"connection_id":231632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":231632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:19:08] local.INFO: TCP Data received {"connection_id":231632,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:19:08] local.INFO: Processing buffer {"connection_id":231632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:19:08] local.INFO: IMEI packet received {"connection_id":231632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":231632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:19:09] local.INFO: TCP Data received {"connection_id":231632,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1af8d0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1af8d0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:19:09] local.INFO: Processing buffer {"connection_id":231632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1af8d0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:19:09] local.INFO: Packet analysis {"connection_id":231632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab1a"} 
[2026-11-05 15:19:09] local.INFO: Extracted packet for processing {"connection_id":231632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab1a"} 
[2026-11-05 15:19:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231163648001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793872034000,"timestamp_ms":1793872034000,"timestamp_seconds":1793872034,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1af8d0"} 
[2026-11-05 15:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 15:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231163648001,"66":25343,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 15:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231163648001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:19:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 15:19:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231163648001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":231632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:19:09] local.INFO: GPS data processed {"connection_id":231632,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:19:09] local.INFO: Acknowledgment sent {"connection_id":231632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:19:11] local.INFO: TCP Data received {"connection_id":231633,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231633,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:19:11] local.INFO: Processing buffer {"connection_id":231633,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:19:11] local.INFO: IMEI packet received {"connection_id":231633,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":231633,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:19:12] local.INFO: TCP Data received {"connection_id":229777,"ip":"42.106.6.35","data_length":93,"data_hex":"00000000000000518e01000001a1ab1c5478012d0b13000702a1700000007527..."} 
[2026-11-05 15:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229777,"packet_length":93,"packet_hex":"00000000000000518e01000001a1ab1c5478012d0b13000702a1700000007527..."} 
[2026-11-05 15:19:12] local.INFO: Processing buffer {"connection_id":229777,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1ab1c5478012d0b13000702a1700000007527..."} 
[2026-11-05 15:19:12] local.INFO: Packet analysis {"connection_id":229777,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1ab1c"} 
[2026-11-05 15:19:12] local.INFO: Extracted packet for processing {"connection_id":229777,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1ab1c"} 
[2026-11-05 15:19:12] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612912,"longitude_deg":75.570048,"latitude_deg":11.7612912,"altitude":0,"angle":117,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a170","is_valid_coordinates":true} 
[2026-11-05 15: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":93,"current_offset":40} 
[2026-11-05 15:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:19:12] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:19:12] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229777,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229777,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229777,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:19:12] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":229777,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:19:12] local.ERROR: GPS data processing failed {"connection_id":229777,"error":"No valid data to process"} 
[2026-11-05 15:19:12] local.INFO: Acknowledgment sent {"connection_id":229777,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:19:16] local.INFO: TCP Data received {"connection_id":231633,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231633,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:19:16] local.INFO: Processing buffer {"connection_id":231633,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:19:16] local.INFO: IMEI packet received {"connection_id":231633,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":231633,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:19:18] local.INFO: TCP Data received {"connection_id":231633,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1806e8012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1806e8012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:19:18] local.INFO: Processing buffer {"connection_id":231633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1806e8012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:19:18] local.INFO: Packet analysis {"connection_id":231633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab18"} 
[2026-11-05 15:19:18] local.INFO: Extracted packet for processing {"connection_id":231633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab18"} 
[2026-11-05 15:19:18] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231114240001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793871841000,"timestamp_ms":1793871841000,"timestamp_seconds":1793871841,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1806e8"} 
[2026-11-05 15: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-05 15:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-11-05 15:19:18] 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-05 15: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-05 15: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-05 15:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":231633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":231633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":231633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231114240001,"66":26473,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231114240001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:19:18] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:19:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231114240001,"power":26473,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":231633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63649,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:19:19] local.INFO: GPS data processed {"connection_id":231633,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:19:19] local.INFO: Acknowledgment sent {"connection_id":231633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:19:22] local.INFO: TCP Data received {"connection_id":231633,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1806e8012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1806e8012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:19:22] local.INFO: Processing buffer {"connection_id":231633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1806e8012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:19:22] local.INFO: Packet analysis {"connection_id":231633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab18"} 
[2026-11-05 15:19:22] local.INFO: Extracted packet for processing {"connection_id":231633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab18"} 
[2026-11-05 15:19:22] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 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-05 15:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231114240001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793871841000,"timestamp_ms":1793871841000,"timestamp_seconds":1793871841,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1806e8"} 
[2026-11-05 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-05 15:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-11-05 15:19:22] 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-05 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-05 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-05 15:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":231633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":231633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":231633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231114240001,"66":26473,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231114240001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:19:22] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:19:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231114240001,"power":26473,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":231633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63650,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:19:22] local.INFO: GPS data processed {"connection_id":231633,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:19:22] local.INFO: Acknowledgment sent {"connection_id":231633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:19:31] local.INFO: TCP Data received {"connection_id":231634,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231634,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:19:31] local.INFO: Processing buffer {"connection_id":231634,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:19:31] local.INFO: IMEI packet received {"connection_id":231634,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":231634,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:19:36] local.INFO: TCP Data received {"connection_id":231634,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231634,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:19:36] local.INFO: Processing buffer {"connection_id":231634,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:19:36] local.INFO: IMEI packet received {"connection_id":231634,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":231634,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:19:40] local.INFO: TCP Data received {"connection_id":231632,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1af8d0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1af8d0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:19:40] local.INFO: Processing buffer {"connection_id":231632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1af8d0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:19:40] local.INFO: Packet analysis {"connection_id":231632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab1a"} 
[2026-11-05 15:19:40] local.INFO: Extracted packet for processing {"connection_id":231632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab1a"} 
[2026-11-05 15:19:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231163648001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793872034000,"timestamp_ms":1793872034000,"timestamp_seconds":1793872034,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1af8d0"} 
[2026-11-05 15:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 15:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:19: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-05 15:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231163648001,"66":25343,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 15:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231163648001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:19:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 15:19:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231163648001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":231632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:19:40] local.INFO: GPS data processed {"connection_id":231632,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:19:40] local.INFO: Acknowledgment sent {"connection_id":231632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:19:47] local.INFO: TCP Data received {"connection_id":231634,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a1a9ca60d8012d0a534007057b10001000fa26..."} 
[2026-11-05 15:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231634,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9ca60d8012d0a534007057b10001000fa26..."} 
[2026-11-05 15:19:47] local.INFO: Processing buffer {"connection_id":231634,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9ca60d8012d0a534007057b10001000fa26..."} 
[2026-11-05 15:19:47] local.INFO: Packet analysis {"connection_id":231634,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9ca"} 
[2026-11-05 15:19:47] local.INFO: Extracted packet for processing {"connection_id":231634,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9ca"} 
[2026-11-05 15:19:47] local.INFO: GPS Element Parsed {"raw_longitude":755651392,"raw_latitude":117799696,"longitude_deg":75.5651392,"latitude_deg":11.7799696,"altitude":16,"angle":250,"satellites":38,"speed":14,"hex_longitude":"2d0a5340","hex_latitude":"07057b10","is_valid_coordinates":true} 
[2026-11-05 15: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":93,"current_offset":40} 
[2026-11-05 15:19:47] 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-05 15:19:47] 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-05 15:19:47] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:19:47] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":231634,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":231634,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":231634,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:19:47] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":231634,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:19:47] local.ERROR: GPS data processing failed {"connection_id":231634,"error":"No valid data to process"} 
[2026-11-05 15:19:47] local.INFO: Acknowledgment sent {"connection_id":231634,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:20:03] local.INFO: TCP Data received {"connection_id":233542,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:20:03] local.INFO: Processing buffer {"connection_id":233542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:20:03] local.INFO: IMEI packet received {"connection_id":233542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":233542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:20:06] local.INFO: TCP Data received {"connection_id":231635,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:20:06] local.INFO: Processing buffer {"connection_id":231635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:20:06] local.INFO: IMEI packet received {"connection_id":231635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":231635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:20:08] local.INFO: TCP Data received {"connection_id":233542,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:20:08] local.INFO: Processing buffer {"connection_id":233542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:20:08] local.INFO: IMEI packet received {"connection_id":233542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":233542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:20:09] local.INFO: TCP Data received {"connection_id":233542,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1af8d0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1af8d0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:20:09] local.INFO: Processing buffer {"connection_id":233542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1af8d0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:20:09] local.INFO: Packet analysis {"connection_id":233542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab1a"} 
[2026-11-05 15:20:09] local.INFO: Extracted packet for processing {"connection_id":233542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab1a"} 
[2026-11-05 15:20:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231163648001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793872034000,"timestamp_ms":1793872034000,"timestamp_seconds":1793872034,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1af8d0"} 
[2026-11-05 15:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 15:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:20:09] 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-05 15:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231163648001,"66":25343,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 15:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231163648001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:20:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 15:20:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231163648001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":233542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:20:09] local.INFO: GPS data processed {"connection_id":233542,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:20:09] local.INFO: Acknowledgment sent {"connection_id":233542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:20:11] local.INFO: TCP Data received {"connection_id":231635,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:20:11] local.INFO: Processing buffer {"connection_id":231635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:20:11] local.INFO: IMEI packet received {"connection_id":231635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":231635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:20:14] local.INFO: TCP Data received {"connection_id":231635,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1c9eb0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1c9eb0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:20:14] local.INFO: Processing buffer {"connection_id":231635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1c9eb0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:20:14] local.INFO: Packet analysis {"connection_id":231635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab1c"} 
[2026-11-05 15:20:14] local.INFO: Extracted packet for processing {"connection_id":231635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab1c"} 
[2026-11-05 15:20:14] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231191296001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793872142000,"timestamp_ms":1793872142000,"timestamp_seconds":1793872142,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1c9eb0"} 
[2026-11-05 15:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-05 15:20:14] 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-05 15:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":231635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":231635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":231635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231191296001,"66":26473,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231191296001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:20:14] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:20:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231191296001,"power":26473,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":231635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63653,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:20:15] local.INFO: GPS data processed {"connection_id":231635,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:20:15] local.INFO: Acknowledgment sent {"connection_id":231635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:20:31] local.INFO: TCP Data received {"connection_id":233543,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233543,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:20:31] local.INFO: Processing buffer {"connection_id":233543,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:20:31] local.INFO: IMEI packet received {"connection_id":233543,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":233543,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:20:36] local.INFO: TCP Data received {"connection_id":233543,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233543,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:20:36] local.INFO: Processing buffer {"connection_id":233543,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:20:36] local.INFO: IMEI packet received {"connection_id":233543,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":233543,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:20:40] local.INFO: TCP Data received {"connection_id":233542,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1af8d0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1af8d0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:20:40] local.INFO: Processing buffer {"connection_id":233542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1af8d0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:20:40] local.INFO: Packet analysis {"connection_id":233542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab1a"} 
[2026-11-05 15:20:40] local.INFO: Extracted packet for processing {"connection_id":233542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab1a"} 
[2026-11-05 15:20:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231163648001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793872034000,"timestamp_ms":1793872034000,"timestamp_seconds":1793872034,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1af8d0"} 
[2026-11-05 15: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-05 15:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 15:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15: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-05 15: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-05 15:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231163648001,"66":25343,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 15:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231163648001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:20:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 15:20:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231163648001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":233542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:20:40] local.INFO: GPS data processed {"connection_id":233542,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:20:40] local.INFO: Acknowledgment sent {"connection_id":233542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:20:42] local.INFO: TCP Data received {"connection_id":233543,"ip":"42.106.6.28","data_length":93,"data_hex":"00000000000000518e01000001a1a9ca64c0012d0a51c007057ab8000f010a26..."} 
[2026-11-05 15:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233543,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9ca64c0012d0a51c007057ab8000f010a26..."} 
[2026-11-05 15:20:42] local.INFO: Processing buffer {"connection_id":233543,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9ca64c0012d0a51c007057ab8000f010a26..."} 
[2026-11-05 15:20:42] local.INFO: Packet analysis {"connection_id":233543,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9ca"} 
[2026-11-05 15:20:42] local.INFO: Extracted packet for processing {"connection_id":233543,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9ca"} 
[2026-11-05 15:20:42] local.INFO: GPS Element Parsed {"raw_longitude":755651008,"raw_latitude":117799608,"longitude_deg":75.5651008,"latitude_deg":11.7799608,"altitude":15,"angle":266,"satellites":38,"speed":14,"hex_longitude":"2d0a51c0","hex_latitude":"07057ab8","is_valid_coordinates":true} 
[2026-11-05 15:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 15:20:42] 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-05 15:20:42] 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-05 15:20:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:20:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233543,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233543,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233543,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:20:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":233543,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:20:42] local.ERROR: GPS data processing failed {"connection_id":233543,"error":"No valid data to process"} 
[2026-11-05 15:20:42] local.INFO: Acknowledgment sent {"connection_id":233543,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:20:48] local.INFO: TCP Data received {"connection_id":231635,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1c9eb0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1c9eb0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:20:48] local.INFO: Processing buffer {"connection_id":231635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1c9eb0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:20:48] local.INFO: Packet analysis {"connection_id":231635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab1c"} 
[2026-11-05 15:20:48] local.INFO: Extracted packet for processing {"connection_id":231635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab1c"} 
[2026-11-05 15:20:48] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231191296001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793872142000,"timestamp_ms":1793872142000,"timestamp_seconds":1793872142,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1c9eb0"} 
[2026-11-05 15: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-05 15:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":105,"data_length":795,"current_offset":136} 
[2026-11-05 15:20: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-05 15: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-05 15: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-05 15:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":231635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":231635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":231635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231191296001,"66":26473,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231191296001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:20:48] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:20:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231191296001,"power":26473,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":231635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63655,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:20:48] local.INFO: GPS data processed {"connection_id":231635,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:20:48] local.INFO: Acknowledgment sent {"connection_id":231635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:21:03] local.INFO: TCP Data received {"connection_id":229778,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:21:03] local.INFO: Processing buffer {"connection_id":229778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:21:03] local.INFO: IMEI packet received {"connection_id":229778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":229778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:21:13] local.INFO: TCP Data received {"connection_id":229778,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:21:13] local.INFO: Processing buffer {"connection_id":229778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:21:13] local.INFO: IMEI packet received {"connection_id":229778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":229778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:21:15] local.INFO: TCP Data received {"connection_id":229778,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1af8d0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1af8d0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:21:15] local.INFO: Processing buffer {"connection_id":229778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1af8d0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:21:15] local.INFO: Packet analysis {"connection_id":229778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab1a"} 
[2026-11-05 15:21:15] local.INFO: Extracted packet for processing {"connection_id":229778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab1a"} 
[2026-11-05 15:21:15] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231163648001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793872034000,"timestamp_ms":1793872034000,"timestamp_seconds":1793872034,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1af8d0"} 
[2026-11-05 15: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-05 15:21: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-05 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 15:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15: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-05 15: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-05 15:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:21: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-05 15:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231163648001,"66":25343,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 15:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231163648001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:21:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 15:21:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231163648001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":229778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:21:15] local.INFO: GPS data processed {"connection_id":229778,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:21:15] local.INFO: Acknowledgment sent {"connection_id":229778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:21:23] local.INFO: TCP Data received {"connection_id":233543,"ip":"42.106.6.28","data_length":93,"data_hex":"00000000000000518e01000001a1a9ca68a8012d0a508007057ae0000f011d23..."} 
[2026-11-05 15:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233543,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9ca68a8012d0a508007057ae0000f011d23..."} 
[2026-11-05 15:21:23] local.INFO: Processing buffer {"connection_id":233543,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9ca68a8012d0a508007057ae0000f011d23..."} 
[2026-11-05 15:21:23] local.INFO: Packet analysis {"connection_id":233543,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9ca"} 
[2026-11-05 15:21:23] local.INFO: Extracted packet for processing {"connection_id":233543,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9ca"} 
[2026-11-05 15:21:23] local.INFO: GPS Element Parsed {"raw_longitude":755650688,"raw_latitude":117799648,"longitude_deg":75.5650688,"latitude_deg":11.7799648,"altitude":15,"angle":285,"satellites":35,"speed":12,"hex_longitude":"2d0a5080","hex_latitude":"07057ae0","is_valid_coordinates":true} 
[2026-11-05 15:21: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":93,"current_offset":40} 
[2026-11-05 15:21:23] 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-05 15:21:23] 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-05 15:21:23] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:21:23] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":233543,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":233543,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":233543,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:21:23] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":233543,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:21:23] local.ERROR: GPS data processing failed {"connection_id":233543,"error":"No valid data to process"} 
[2026-11-05 15:21:23] local.INFO: Acknowledgment sent {"connection_id":233543,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:21:37] local.INFO: TCP Data received {"connection_id":229779,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229779,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:21:37] local.INFO: Processing buffer {"connection_id":229779,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:21:37] local.INFO: IMEI packet received {"connection_id":229779,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":229779,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:21:41] local.INFO: TCP Data received {"connection_id":229779,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229779,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:21:41] local.INFO: Processing buffer {"connection_id":229779,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:21:41] local.INFO: IMEI packet received {"connection_id":229779,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":229779,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:21:42] local.INFO: TCP Data received {"connection_id":230305,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230305,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:21:42] local.INFO: Processing buffer {"connection_id":230305,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:21:42] local.INFO: IMEI packet received {"connection_id":230305,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":230305,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:21:46] local.INFO: TCP Data received {"connection_id":229778,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1af8d0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1af8d0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:21:46] local.INFO: Processing buffer {"connection_id":229778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1af8d0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:21:46] local.INFO: Packet analysis {"connection_id":229778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab1a"} 
[2026-11-05 15:21:46] local.INFO: Extracted packet for processing {"connection_id":229778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab1a"} 
[2026-11-05 15:21:46] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231163648001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793872034000,"timestamp_ms":1793872034000,"timestamp_seconds":1793872034,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1af8d0"} 
[2026-11-05 15: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-05 15:21: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-05 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 15:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15: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-05 15: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-05 15:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:21: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-05 15:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231163648001,"66":25343,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 15:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231163648001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:21:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 15:21:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231163648001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":229778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:21:46] local.INFO: GPS data processed {"connection_id":229778,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:21:46] local.INFO: Acknowledgment sent {"connection_id":229778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:21:47] local.INFO: TCP Data received {"connection_id":229779,"ip":"42.106.6.31","data_length":93,"data_hex":"00000000000000518e01000001a1a9ca9b70012d0a4e8007057b98000f015224..."} 
[2026-11-05 15:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229779,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9ca9b70012d0a4e8007057b98000f015224..."} 
[2026-11-05 15:21:47] local.INFO: Processing buffer {"connection_id":229779,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9ca9b70012d0a4e8007057b98000f015224..."} 
[2026-11-05 15:21:47] local.INFO: Packet analysis {"connection_id":229779,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9ca"} 
[2026-11-05 15:21:47] local.INFO: Extracted packet for processing {"connection_id":229779,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9ca"} 
[2026-11-05 15:21:47] local.INFO: GPS Element Parsed {"raw_longitude":755650176,"raw_latitude":117799832,"longitude_deg":75.5650176,"latitude_deg":11.7799832,"altitude":15,"angle":338,"satellites":36,"speed":6,"hex_longitude":"2d0a4e80","hex_latitude":"07057b98","is_valid_coordinates":true} 
[2026-11-05 15: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":93,"current_offset":40} 
[2026-11-05 15:21:47] 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-05 15:21:47] 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-05 15:21:47] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:21:47] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229779,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229779,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229779,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:21:47] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":229779,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:21:47] local.ERROR: GPS data processing failed {"connection_id":229779,"error":"No valid data to process"} 
[2026-11-05 15:21:47] local.INFO: Acknowledgment sent {"connection_id":229779,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:21:57] local.INFO: TCP Data received {"connection_id":229779,"ip":"42.106.6.31","data_length":93,"data_hex":"00000000000000518e01000001a1a9caddd8012d0a4c8007058090000f015f27..."} 
[2026-11-05 15:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229779,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9caddd8012d0a4c8007058090000f015f27..."} 
[2026-11-05 15:21:57] local.INFO: Processing buffer {"connection_id":229779,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9caddd8012d0a4c8007058090000f015f27..."} 
[2026-11-05 15:21:57] local.INFO: Packet analysis {"connection_id":229779,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9ca"} 
[2026-11-05 15:21:57] local.INFO: Extracted packet for processing {"connection_id":229779,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9ca"} 
[2026-11-05 15:21:57] local.INFO: GPS Element Parsed {"raw_longitude":755649664,"raw_latitude":117801104,"longitude_deg":75.5649664,"latitude_deg":11.7801104,"altitude":15,"angle":351,"satellites":39,"speed":8,"hex_longitude":"2d0a4c80","hex_latitude":"07058090","is_valid_coordinates":true} 
[2026-11-05 15:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 15:21:57] 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-05 15:21:57] 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-05 15:21:57] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:21:57] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":229779,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":229779,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":229779,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:21:57] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":229779,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:21:57] local.ERROR: GPS data processing failed {"connection_id":229779,"error":"No valid data to process"} 
[2026-11-05 15:21:57] local.INFO: Acknowledgment sent {"connection_id":229779,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:22:06] local.INFO: TCP Data received {"connection_id":230305,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230305,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:22:06] local.INFO: Processing buffer {"connection_id":230305,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:22:06] local.INFO: IMEI packet received {"connection_id":230305,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":230305,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:22:08] local.INFO: TCP Data received {"connection_id":233544,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:22:08] local.INFO: Processing buffer {"connection_id":233544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:22:08] local.INFO: IMEI packet received {"connection_id":233544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":233544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:22:08] local.INFO: TCP Data received {"connection_id":230305,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1c9eb0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1c9eb0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:22:08] local.INFO: Processing buffer {"connection_id":230305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1c9eb0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:22:08] local.INFO: Packet analysis {"connection_id":230305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab1c"} 
[2026-11-05 15:22:08] local.INFO: Extracted packet for processing {"connection_id":230305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab1c"} 
[2026-11-05 15:22:08] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231191296001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793872142000,"timestamp_ms":1793872142000,"timestamp_seconds":1793872142,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1c9eb0"} 
[2026-11-05 15:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-05 15:22:08] 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-05 15:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":230305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":230305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":230305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231191296001,"66":26473,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231191296001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:22:08] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:22:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231191296001,"power":26473,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":230305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63658,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:22:08] local.INFO: GPS data processed {"connection_id":230305,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:22:08] local.INFO: Acknowledgment sent {"connection_id":230305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:22:13] local.INFO: TCP Data received {"connection_id":233544,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:22:13] local.INFO: Processing buffer {"connection_id":233544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:22:13] local.INFO: IMEI packet received {"connection_id":233544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":233544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:22:14] local.INFO: TCP Data received {"connection_id":233544,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1af8d0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1af8d0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:22:14] local.INFO: Processing buffer {"connection_id":233544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1af8d0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:22:14] local.INFO: Packet analysis {"connection_id":233544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab1a"} 
[2026-11-05 15:22:14] local.INFO: Extracted packet for processing {"connection_id":233544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab1a"} 
[2026-11-05 15:22:14] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231163648001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793872034000,"timestamp_ms":1793872034000,"timestamp_seconds":1793872034,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1af8d0"} 
[2026-11-05 15:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:22: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-05 15:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 15:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231163648001,"66":25343,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 15:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231163648001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:22:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 15:22:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231163648001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":233544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:22:14] local.INFO: GPS data processed {"connection_id":233544,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:22:14] local.INFO: Acknowledgment sent {"connection_id":233544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:22:15] local.INFO: TCP Data received {"connection_id":233545,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233545,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:22:15] local.INFO: Processing buffer {"connection_id":233545,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:22:15] local.INFO: IMEI packet received {"connection_id":233545,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":233545,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:22:21] local.INFO: TCP Data received {"connection_id":233544,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1af8d0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1af8d0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:22:21] local.INFO: Processing buffer {"connection_id":233544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1af8d0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:22:21] local.INFO: Packet analysis {"connection_id":233544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab1a"} 
[2026-11-05 15:22:21] local.INFO: Extracted packet for processing {"connection_id":233544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab1a"} 
[2026-11-05 15:22:21] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231163648001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793872034000,"timestamp_ms":1793872034000,"timestamp_seconds":1793872034,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1af8d0"} 
[2026-11-05 15: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-05 15: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-05 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 15:22: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-05 15: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-05 15: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-05 15:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":233544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":233544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":233544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:22: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-05 15:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231163648001,"66":25343,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 15:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231163648001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:22:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 15:22:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231163648001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":233544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:22:21] local.INFO: GPS data processed {"connection_id":233544,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:22:21] local.INFO: Acknowledgment sent {"connection_id":233544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:22:21] local.INFO: TCP Data received {"connection_id":233545,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233545,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:22:21] local.INFO: Processing buffer {"connection_id":233545,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:22:21] local.INFO: IMEI packet received {"connection_id":233545,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":233545,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:22:24] local.INFO: TCP Data received {"connection_id":233545,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1c9eb0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1c9eb0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:22:24] local.INFO: Processing buffer {"connection_id":233545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1c9eb0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:22:24] local.INFO: Packet analysis {"connection_id":233545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab1c"} 
[2026-11-05 15:22:24] local.INFO: Extracted packet for processing {"connection_id":233545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab1c"} 
[2026-11-05 15:22:24] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231191296001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793872142000,"timestamp_ms":1793872142000,"timestamp_seconds":1793872142,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1c9eb0"} 
[2026-11-05 15: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-05 15:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-05 15:22:24] 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-05 15: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-05 15: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-05 15:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":233545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":233545,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":233545,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231191296001,"66":26473,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231191296001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:22:24] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:22:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231191296001,"power":26473,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":233545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63661,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:22:25] local.INFO: GPS data processed {"connection_id":233545,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:22:25] local.INFO: Acknowledgment sent {"connection_id":233545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:22:34] local.INFO: TCP Data received {"connection_id":233546,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233546,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:22:34] local.INFO: Processing buffer {"connection_id":233546,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:22:34] local.INFO: IMEI packet received {"connection_id":233546,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":233546,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:22:36] local.INFO: TCP Data received {"connection_id":233546,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233546,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:22:36] local.INFO: Processing buffer {"connection_id":233546,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:22:36] local.INFO: IMEI packet received {"connection_id":233546,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":233546,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:22:42] local.INFO: TCP Data received {"connection_id":233546,"ip":"42.106.6.31","data_length":93,"data_hex":"00000000000000518e01000001a1a9cae990012d0a4b8007058378000f015028..."} 
[2026-11-05 15:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233546,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9cae990012d0a4b8007058378000f015028..."} 
[2026-11-05 15:22:42] local.INFO: Processing buffer {"connection_id":233546,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9cae990012d0a4b8007058378000f015028..."} 
[2026-11-05 15:22:42] local.INFO: Packet analysis {"connection_id":233546,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9ca"} 
[2026-11-05 15:22:42] local.INFO: Extracted packet for processing {"connection_id":233546,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9ca"} 
[2026-11-05 15:22:42] local.INFO: GPS Element Parsed {"raw_longitude":755649408,"raw_latitude":117801848,"longitude_deg":75.5649408,"latitude_deg":11.7801848,"altitude":15,"angle":336,"satellites":40,"speed":7,"hex_longitude":"2d0a4b80","hex_latitude":"07058378","is_valid_coordinates":true} 
[2026-11-05 15: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":93,"current_offset":40} 
[2026-11-05 15:22:42] 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-05 15:22:42] 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-05 15:22:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:22:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233546,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233546,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233546,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:22:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":233546,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:22:42] local.ERROR: GPS data processing failed {"connection_id":233546,"error":"No valid data to process"} 
[2026-11-05 15:22:42] local.INFO: Acknowledgment sent {"connection_id":233546,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:23:03] local.INFO: TCP Data received {"connection_id":229780,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:23:03] local.INFO: Processing buffer {"connection_id":229780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:23:03] local.INFO: IMEI packet received {"connection_id":229780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":229780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:23:06] local.INFO: TCP Data received {"connection_id":231636,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231636,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:23:06] local.INFO: Processing buffer {"connection_id":231636,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:23:06] local.INFO: IMEI packet received {"connection_id":231636,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":231636,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:23:08] local.INFO: TCP Data received {"connection_id":229780,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:23:08] local.INFO: Processing buffer {"connection_id":229780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:23:08] local.INFO: IMEI packet received {"connection_id":229780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":229780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:23:09] local.INFO: TCP Data received {"connection_id":229780,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1f9098012d7fa60005afe2e8000001102c..."} 
[2026-11-05 15:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1f9098012d7fa60005afe2e8000001102c..."} 
[2026-11-05 15:23:09] local.INFO: Processing buffer {"connection_id":229780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1f9098012d7fa60005afe2e8000001102c..."} 
[2026-11-05 15:23:09] local.INFO: Packet analysis {"connection_id":229780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab1f"} 
[2026-11-05 15:23:09] local.INFO: Extracted packet for processing {"connection_id":229780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab1f"} 
[2026-11-05 15:23:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231240704001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793872335000,"timestamp_ms":1793872335000,"timestamp_seconds":1793872335,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1f9098"} 
[2026-11-05 15:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:23:09] local.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-05 15:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231240704001,"66":25343,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231240704001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:23:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:23:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231240704001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":229780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:23:09] local.INFO: GPS data processed {"connection_id":229780,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:23:09] local.INFO: Acknowledgment sent {"connection_id":229780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:23:11] local.INFO: TCP Data received {"connection_id":231636,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231636,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:23:11] local.INFO: Processing buffer {"connection_id":231636,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:23:11] local.INFO: IMEI packet received {"connection_id":231636,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":231636,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:23:13] local.INFO: TCP Data received {"connection_id":233546,"ip":"42.106.6.31","data_length":93,"data_hex":"00000000000000518e01000001a1a9cb2428012d0a498007058780000f013f29..."} 
[2026-11-05 15:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233546,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9cb2428012d0a498007058780000f013f29..."} 
[2026-11-05 15:23:13] local.INFO: Processing buffer {"connection_id":233546,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9cb2428012d0a498007058780000f013f29..."} 
[2026-11-05 15:23:13] local.INFO: Packet analysis {"connection_id":233546,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9cb"} 
[2026-11-05 15:23:13] local.INFO: Extracted packet for processing {"connection_id":233546,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9cb"} 
[2026-11-05 15:23:13] local.INFO: GPS Element Parsed {"raw_longitude":755648896,"raw_latitude":117802880,"longitude_deg":75.5648896,"latitude_deg":11.780288,"altitude":15,"angle":319,"satellites":41,"speed":14,"hex_longitude":"2d0a4980","hex_latitude":"07058780","is_valid_coordinates":true} 
[2026-11-05 15: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":93,"current_offset":40} 
[2026-11-05 15:23:13] 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-05 15:23:13] 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-05 15:23:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:23:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":233546,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":233546,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":233546,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:23:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":233546,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:23:13] local.ERROR: GPS data processing failed {"connection_id":233546,"error":"No valid data to process"} 
[2026-11-05 15:23:13] local.INFO: Acknowledgment sent {"connection_id":233546,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:23:13] local.INFO: TCP Data received {"connection_id":231636,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1c9eb0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1c9eb0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:23:13] local.INFO: Processing buffer {"connection_id":231636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1c9eb0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:23:13] local.INFO: Packet analysis {"connection_id":231636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab1c"} 
[2026-11-05 15:23:13] local.INFO: Extracted packet for processing {"connection_id":231636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab1c"} 
[2026-11-05 15:23:13] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231191296001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793872142000,"timestamp_ms":1793872142000,"timestamp_seconds":1793872142,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1c9eb0"} 
[2026-11-05 15: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-05 15:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-05 15:23:13] 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-05 15: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-05 15: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-05 15:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":231636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":231636,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":231636,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231191296001,"66":26473,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231191296001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:23:13] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:23:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231191296001,"power":26473,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":231636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63663,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:23:13] local.INFO: GPS data processed {"connection_id":231636,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:23:13] local.INFO: Acknowledgment sent {"connection_id":231636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:23:36] local.INFO: TCP Data received {"connection_id":230306,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230306,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:23:36] local.INFO: Processing buffer {"connection_id":230306,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:23:36] local.INFO: IMEI packet received {"connection_id":230306,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":230306,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:23:40] local.INFO: TCP Data received {"connection_id":229780,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1f9098012d7fa60005afe2e8000001102c..."} 
[2026-11-05 15:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1f9098012d7fa60005afe2e8000001102c..."} 
[2026-11-05 15:23:40] local.INFO: Processing buffer {"connection_id":229780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1f9098012d7fa60005afe2e8000001102c..."} 
[2026-11-05 15:23:40] local.INFO: Packet analysis {"connection_id":229780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab1f"} 
[2026-11-05 15:23:40] local.INFO: Extracted packet for processing {"connection_id":229780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab1f"} 
[2026-11-05 15:23:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231240704001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793872335000,"timestamp_ms":1793872335000,"timestamp_seconds":1793872335,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1f9098"} 
[2026-11-05 15:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231240704001,"66":25343,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231240704001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:23:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:23:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231240704001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":229780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:23:40] local.INFO: GPS data processed {"connection_id":229780,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:23:40] local.INFO: Acknowledgment sent {"connection_id":229780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:23:46] local.INFO: TCP Data received {"connection_id":231636,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1c9eb0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1c9eb0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:23:46] local.INFO: Processing buffer {"connection_id":231636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1c9eb0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:23:46] local.INFO: Packet analysis {"connection_id":231636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab1c"} 
[2026-11-05 15:23:46] local.INFO: Extracted packet for processing {"connection_id":231636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab1c"} 
[2026-11-05 15:23:46] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231191296001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793872142000,"timestamp_ms":1793872142000,"timestamp_seconds":1793872142,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1c9eb0"} 
[2026-11-05 15: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-05 15:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-05 15:23:46] 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-05 15: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-05 15: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-05 15:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":231636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":231636,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":231636,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231191296001,"66":26473,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231191296001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:23:46] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:23:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231191296001,"power":26473,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":231636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63665,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:23:46] local.INFO: GPS data processed {"connection_id":231636,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:23:46] local.INFO: Acknowledgment sent {"connection_id":231636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:23:46] local.INFO: TCP Data received {"connection_id":230306,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230306,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:23:46] local.INFO: Processing buffer {"connection_id":230306,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:23:46] local.INFO: IMEI packet received {"connection_id":230306,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":230306,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:23:47] local.INFO: TCP Data received {"connection_id":230306,"ip":"42.106.6.31","data_length":93,"data_hex":"00000000000000518e01000001a1ab20ec40012d0b13000702a1700000007525..."} 
[2026-11-05 15:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230306,"packet_length":93,"packet_hex":"00000000000000518e01000001a1ab20ec40012d0b13000702a1700000007525..."} 
[2026-11-05 15:23:47] local.INFO: Processing buffer {"connection_id":230306,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1ab20ec40012d0b13000702a1700000007525..."} 
[2026-11-05 15:23:47] local.INFO: Packet analysis {"connection_id":230306,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1ab20"} 
[2026-11-05 15:23:47] local.INFO: Extracted packet for processing {"connection_id":230306,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1ab20"} 
[2026-11-05 15:23:47] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612912,"longitude_deg":75.570048,"latitude_deg":11.7612912,"altitude":0,"angle":117,"satellites":37,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a170","is_valid_coordinates":true} 
[2026-11-05 15: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":93,"current_offset":40} 
[2026-11-05 15:23:47] 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-05 15:23:47] 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-05 15:23:47] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:23:47] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230306,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230306,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230306,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:23:47] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":230306,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:23:47] local.ERROR: GPS data processing failed {"connection_id":230306,"error":"No valid data to process"} 
[2026-11-05 15:23:47] local.INFO: Acknowledgment sent {"connection_id":230306,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:24:03] local.INFO: TCP Data received {"connection_id":230307,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:24:03] local.INFO: Processing buffer {"connection_id":230307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:24:03] local.INFO: IMEI packet received {"connection_id":230307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":230307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:24:06] local.INFO: TCP Data received {"connection_id":233547,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:24:06] local.INFO: Processing buffer {"connection_id":233547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:24:06] local.INFO: IMEI packet received {"connection_id":233547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":233547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:24:08] local.INFO: TCP Data received {"connection_id":230307,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:24:08] local.INFO: Processing buffer {"connection_id":230307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:24:08] local.INFO: IMEI packet received {"connection_id":230307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":230307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:24:10] local.INFO: TCP Data received {"connection_id":230307,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1f9098012d7fa60005afe2e8000001102c..."} 
[2026-11-05 15:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1f9098012d7fa60005afe2e8000001102c..."} 
[2026-11-05 15:24:10] local.INFO: Processing buffer {"connection_id":230307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1f9098012d7fa60005afe2e8000001102c..."} 
[2026-11-05 15:24:10] local.INFO: Packet analysis {"connection_id":230307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab1f"} 
[2026-11-05 15:24:10] local.INFO: Extracted packet for processing {"connection_id":230307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab1f"} 
[2026-11-05 15:24:10] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231240704001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793872335000,"timestamp_ms":1793872335000,"timestamp_seconds":1793872335,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1f9098"} 
[2026-11-05 15:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231240704001,"66":25343,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231240704001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:24:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231240704001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":230307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:24:10] local.INFO: GPS data processed {"connection_id":230307,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:24:10] local.INFO: Acknowledgment sent {"connection_id":230307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:24:16] local.INFO: TCP Data received {"connection_id":233547,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:24:16] local.INFO: Processing buffer {"connection_id":233547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:24:16] local.INFO: IMEI packet received {"connection_id":233547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":233547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:24:25] local.INFO: TCP Data received {"connection_id":233547,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1c9eb0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1c9eb0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:24:25] local.INFO: Processing buffer {"connection_id":233547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1c9eb0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:24:25] local.INFO: Packet analysis {"connection_id":233547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab1c"} 
[2026-11-05 15:24:25] local.INFO: Extracted packet for processing {"connection_id":233547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab1c"} 
[2026-11-05 15:24:25] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231191296001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793872142000,"timestamp_ms":1793872142000,"timestamp_seconds":1793872142,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1c9eb0"} 
[2026-11-05 15:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-05 15:24: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-05 15:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":233547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":233547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":233547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231191296001,"66":26473,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231191296001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:24:25] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:24:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231191296001,"power":26473,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":233547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63667,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:24:25] local.INFO: GPS data processed {"connection_id":233547,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:24:25] local.INFO: Acknowledgment sent {"connection_id":233547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:24:31] local.INFO: TCP Data received {"connection_id":229781,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229781,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:24:31] local.INFO: Processing buffer {"connection_id":229781,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:24:31] local.INFO: IMEI packet received {"connection_id":229781,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":229781,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:24:39] local.INFO: TCP Data received {"connection_id":229781,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229781,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:24:39] local.INFO: Processing buffer {"connection_id":229781,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:24:39] local.INFO: IMEI packet received {"connection_id":229781,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":229781,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:24:42] local.INFO: TCP Data received {"connection_id":229781,"ip":"42.106.6.56","data_length":93,"data_hex":"00000000000000518e01000001a1a9cb2810012d0a488007058860000f012b29..."} 
[2026-11-05 15:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229781,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9cb2810012d0a488007058860000f012b29..."} 
[2026-11-05 15:24:42] local.INFO: Processing buffer {"connection_id":229781,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9cb2810012d0a488007058860000f012b29..."} 
[2026-11-05 15:24:42] local.INFO: Packet analysis {"connection_id":229781,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9cb"} 
[2026-11-05 15:24:42] local.INFO: Extracted packet for processing {"connection_id":229781,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9cb"} 
[2026-11-05 15:24:42] local.INFO: GPS Element Parsed {"raw_longitude":755648640,"raw_latitude":117803104,"longitude_deg":75.564864,"latitude_deg":11.7803104,"altitude":15,"angle":299,"satellites":41,"speed":15,"hex_longitude":"2d0a4880","hex_latitude":"07058860","is_valid_coordinates":true} 
[2026-11-05 15:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 15:24:42] 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-05 15:24:42] 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-05 15:24:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:24:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229781,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229781,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229781,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.56","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:24:42] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":229781,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:24:42] local.ERROR: GPS data processing failed {"connection_id":229781,"error":"No valid data to process"} 
[2026-11-05 15:24:42] local.INFO: Acknowledgment sent {"connection_id":229781,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:24:48] local.INFO: TCP Data received {"connection_id":230307,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1f9098012d7fa60005afe2e8000001102c..."} 
[2026-11-05 15:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1f9098012d7fa60005afe2e8000001102c..."} 
[2026-11-05 15:24:48] local.INFO: Processing buffer {"connection_id":230307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1f9098012d7fa60005afe2e8000001102c..."} 
[2026-11-05 15:24:48] local.INFO: Packet analysis {"connection_id":230307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab1f"} 
[2026-11-05 15:24:48] local.INFO: Extracted packet for processing {"connection_id":230307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab1f"} 
[2026-11-05 15:24:48] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231240704001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793872335000,"timestamp_ms":1793872335000,"timestamp_seconds":1793872335,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1f9098"} 
[2026-11-05 15: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-05 15:24: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-05 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:24:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15: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-05 15: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-05 15:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231240704001,"66":25343,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231240704001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:24:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:24:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231240704001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":230307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:24:48] local.INFO: GPS data processed {"connection_id":230307,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:24:48] local.INFO: Acknowledgment sent {"connection_id":230307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:25:03] local.INFO: TCP Data received {"connection_id":229782,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:25:03] local.INFO: Processing buffer {"connection_id":229782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:25:03] local.INFO: IMEI packet received {"connection_id":229782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":229782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:25:08] local.INFO: TCP Data received {"connection_id":229782,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:25:08] local.INFO: Processing buffer {"connection_id":229782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:25:08] local.INFO: IMEI packet received {"connection_id":229782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":229782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:25:09] local.INFO: TCP Data received {"connection_id":229782,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1f9098012d7fa60005afe2e8000001102c..."} 
[2026-11-05 15:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1f9098012d7fa60005afe2e8000001102c..."} 
[2026-11-05 15:25:09] local.INFO: Processing buffer {"connection_id":229782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1f9098012d7fa60005afe2e8000001102c..."} 
[2026-11-05 15:25:09] local.INFO: Packet analysis {"connection_id":229782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab1f"} 
[2026-11-05 15:25:09] local.INFO: Extracted packet for processing {"connection_id":229782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab1f"} 
[2026-11-05 15:25:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231240704001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793872335000,"timestamp_ms":1793872335000,"timestamp_seconds":1793872335,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1f9098"} 
[2026-11-05 15:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:25:09] 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-05 15:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231240704001,"66":25343,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231240704001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:25:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:25:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231240704001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":229782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:25:09] local.INFO: GPS data processed {"connection_id":229782,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:25:09] local.INFO: Acknowledgment sent {"connection_id":229782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:25:12] local.INFO: TCP Data received {"connection_id":231637,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:25:12] local.INFO: Processing buffer {"connection_id":231637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:25:12] local.INFO: IMEI packet received {"connection_id":231637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":231637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:25:13] local.INFO: TCP Data received {"connection_id":229781,"ip":"42.106.6.56","data_length":93,"data_hex":"00000000000000518e01000001a1a9cb2bf8012d0a4700070588c0000f011329..."} 
[2026-11-05 15:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229781,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9cb2bf8012d0a4700070588c0000f011329..."} 
[2026-11-05 15:25:13] local.INFO: Processing buffer {"connection_id":229781,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9cb2bf8012d0a4700070588c0000f011329..."} 
[2026-11-05 15:25:13] local.INFO: Packet analysis {"connection_id":229781,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9cb"} 
[2026-11-05 15:25:13] local.INFO: Extracted packet for processing {"connection_id":229781,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9cb"} 
[2026-11-05 15:25:13] local.INFO: GPS Element Parsed {"raw_longitude":755648256,"raw_latitude":117803200,"longitude_deg":75.5648256,"latitude_deg":11.78032,"altitude":15,"angle":275,"satellites":41,"speed":12,"hex_longitude":"2d0a4700","hex_latitude":"070588c0","is_valid_coordinates":true} 
[2026-11-05 15: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":93,"current_offset":40} 
[2026-11-05 15:25:13] 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-05 15:25:13] 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-05 15:25:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:25:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229781,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229781,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229781,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.56","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:25:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":229781,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:25:13] local.ERROR: GPS data processing failed {"connection_id":229781,"error":"No valid data to process"} 
[2026-11-05 15:25:13] local.INFO: Acknowledgment sent {"connection_id":229781,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:25:15] local.INFO: TCP Data received {"connection_id":231637,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:25:15] local.INFO: Processing buffer {"connection_id":231637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:25:15] local.INFO: IMEI packet received {"connection_id":231637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":231637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:25:18] local.INFO: TCP Data received {"connection_id":231637,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab213678012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab213678012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:25:18] local.INFO: Processing buffer {"connection_id":231637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab213678012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:25:18] local.INFO: Packet analysis {"connection_id":231637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab21"} 
[2026-11-05 15:25:18] local.INFO: Extracted packet for processing {"connection_id":231637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab21"} 
[2026-11-05 15:25:18] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231268352001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793872443000,"timestamp_ms":1793872443000,"timestamp_seconds":1793872443,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab213678"} 
[2026-11-05 15:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-05 15:25: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-05 15:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":231637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":231637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":231637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231268352001,"66":26430,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231268352001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:25:18] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:25:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231268352001,"power":26430,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":231637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63670,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:25:19] local.INFO: GPS data processed {"connection_id":231637,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:25:19] local.INFO: Acknowledgment sent {"connection_id":231637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:25:36] local.INFO: TCP Data received {"connection_id":233548,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233548,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:25:36] local.INFO: Processing buffer {"connection_id":233548,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:25:36] local.INFO: IMEI packet received {"connection_id":233548,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":233548,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:25:41] local.INFO: TCP Data received {"connection_id":233548,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233548,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:25:41] local.INFO: Processing buffer {"connection_id":233548,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:25:41] local.INFO: IMEI packet received {"connection_id":233548,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":233548,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:25:42] local.INFO: TCP Data received {"connection_id":229782,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1f9098012d7fa60005afe2e8000001102c..."} 
[2026-11-05 15:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1f9098012d7fa60005afe2e8000001102c..."} 
[2026-11-05 15:25:42] local.INFO: Processing buffer {"connection_id":229782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1f9098012d7fa60005afe2e8000001102c..."} 
[2026-11-05 15:25:42] local.INFO: Packet analysis {"connection_id":229782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab1f"} 
[2026-11-05 15:25:42] local.INFO: Extracted packet for processing {"connection_id":229782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab1f"} 
[2026-11-05 15:25:42] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231240704001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793872335000,"timestamp_ms":1793872335000,"timestamp_seconds":1793872335,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1f9098"} 
[2026-11-05 15:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:25: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-05 15:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:25: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-05 15:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231240704001,"66":25343,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231240704001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:25:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:25:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231240704001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":229782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:25:42] local.INFO: GPS data processed {"connection_id":229782,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:25:42] local.INFO: Acknowledgment sent {"connection_id":229782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:25:48] local.INFO: TCP Data received {"connection_id":233548,"ip":"42.106.6.30","data_length":93,"data_hex":"00000000000000518e01000001a1a9cb2fe0012d0a45c007058888000f00fd28..."} 
[2026-11-05 15:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233548,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9cb2fe0012d0a45c007058888000f00fd28..."} 
[2026-11-05 15:25:48] local.INFO: Processing buffer {"connection_id":233548,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9cb2fe0012d0a45c007058888000f00fd28..."} 
[2026-11-05 15:25:48] local.INFO: Packet analysis {"connection_id":233548,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9cb"} 
[2026-11-05 15:25:48] local.INFO: Extracted packet for processing {"connection_id":233548,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9cb"} 
[2026-11-05 15:25:48] local.INFO: GPS Element Parsed {"raw_longitude":755647936,"raw_latitude":117803144,"longitude_deg":75.5647936,"latitude_deg":11.7803144,"altitude":15,"angle":253,"satellites":40,"speed":13,"hex_longitude":"2d0a45c0","hex_latitude":"07058888","is_valid_coordinates":true} 
[2026-11-05 15: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":93,"current_offset":40} 
[2026-11-05 15:25:48] 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-05 15:25:48] 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-05 15:25:48] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:25:48] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":233548,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":233548,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":233548,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:25:48] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":233548,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:25:48] local.ERROR: GPS data processing failed {"connection_id":233548,"error":"No valid data to process"} 
[2026-11-05 15:25:48] local.INFO: Acknowledgment sent {"connection_id":233548,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:25:51] local.INFO: TCP Data received {"connection_id":231637,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab213678012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab213678012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:25:51] local.INFO: Processing buffer {"connection_id":231637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab213678012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:25:51] local.INFO: Packet analysis {"connection_id":231637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab21"} 
[2026-11-05 15:25:51] local.INFO: Extracted packet for processing {"connection_id":231637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab21"} 
[2026-11-05 15:25:51] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231268352001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793872443000,"timestamp_ms":1793872443000,"timestamp_seconds":1793872443,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab213678"} 
[2026-11-05 15: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-05 15:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-05 15:25:51] 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-05 15: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-05 15: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-05 15:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":231637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":231637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":231637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231268352001,"66":26430,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231268352001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:25:51] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:25:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231268352001,"power":26430,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":231637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63672,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:25:51] local.INFO: GPS data processed {"connection_id":231637,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:25:51] local.INFO: Acknowledgment sent {"connection_id":231637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:25:57] local.INFO: TCP Data received {"connection_id":233548,"ip":"42.106.6.30","data_length":93,"data_hex":"00000000000000518e01000001a1a9cb7e00012d0a3600070584b8000f010429..."} 
[2026-11-05 15:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233548,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a9cb7e00012d0a3600070584b8000f010429..."} 
[2026-11-05 15:25:57] local.INFO: Processing buffer {"connection_id":233548,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a9cb7e00012d0a3600070584b8000f010429..."} 
[2026-11-05 15:25:57] local.INFO: Packet analysis {"connection_id":233548,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a9cb"} 
[2026-11-05 15:25:57] local.INFO: Extracted packet for processing {"connection_id":233548,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a9cb"} 
[2026-11-05 15:25:57] local.INFO: GPS Element Parsed {"raw_longitude":755643904,"raw_latitude":117802168,"longitude_deg":75.5643904,"latitude_deg":11.7802168,"altitude":15,"angle":260,"satellites":41,"speed":0,"hex_longitude":"2d0a3600","hex_latitude":"070584b8","is_valid_coordinates":true} 
[2026-11-05 15:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 15:25:57] 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-05 15:25:57] 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-05 15:25:57] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:25:57] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":233548,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":233548,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":233548,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:25:57] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":233548,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:25:57] local.ERROR: GPS data processing failed {"connection_id":233548,"error":"No valid data to process"} 
[2026-11-05 15:25:57] local.INFO: Acknowledgment sent {"connection_id":233548,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:26:11] local.INFO: TCP Data received {"connection_id":230308,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:26:11] local.INFO: Processing buffer {"connection_id":230308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:26:11] local.INFO: IMEI packet received {"connection_id":230308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":230308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:26:16] local.INFO: TCP Data received {"connection_id":230308,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:26:16] local.INFO: Processing buffer {"connection_id":230308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:26:16] local.INFO: IMEI packet received {"connection_id":230308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":230308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:26:18] local.INFO: TCP Data received {"connection_id":229783,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:26:18] local.INFO: Processing buffer {"connection_id":229783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:26:18] local.INFO: IMEI packet received {"connection_id":229783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":229783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:26:20] local.INFO: TCP Data received {"connection_id":230308,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab213678012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab213678012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:26:20] local.INFO: Processing buffer {"connection_id":230308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab213678012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:26:20] local.INFO: Packet analysis {"connection_id":230308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab21"} 
[2026-11-05 15:26:20] local.INFO: Extracted packet for processing {"connection_id":230308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab21"} 
[2026-11-05 15:26:20] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231268352001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793872443000,"timestamp_ms":1793872443000,"timestamp_seconds":1793872443,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab213678"} 
[2026-11-05 15: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-05 15:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-05 15:26: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-05 15: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-05 15: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-05 15:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231268352001,"66":26430,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231268352001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:26:20] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:26:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231268352001,"power":26430,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":230308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63673,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:26:20] local.INFO: GPS data processed {"connection_id":230308,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:26:20] local.INFO: Acknowledgment sent {"connection_id":230308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:26:23] local.INFO: TCP Data received {"connection_id":229783,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:26:23] local.INFO: Processing buffer {"connection_id":229783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:26:23] local.INFO: IMEI packet received {"connection_id":229783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":229783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:26:24] local.INFO: TCP Data received {"connection_id":229783,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1f9098012d7fa60005afe2e8000001102c..."} 
[2026-11-05 15:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1f9098012d7fa60005afe2e8000001102c..."} 
[2026-11-05 15:26:24] local.INFO: Processing buffer {"connection_id":229783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1f9098012d7fa60005afe2e8000001102c..."} 
[2026-11-05 15:26:24] local.INFO: Packet analysis {"connection_id":229783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab1f"} 
[2026-11-05 15:26:24] local.INFO: Extracted packet for processing {"connection_id":229783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab1f"} 
[2026-11-05 15:26:24] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231240704001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793872335000,"timestamp_ms":1793872335000,"timestamp_seconds":1793872335,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1f9098"} 
[2026-11-05 15: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-05 15:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15: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-05 15: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-05 15:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":229783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":229783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":229783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:26:24] 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-05 15:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231240704001,"66":25343,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231240704001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:26:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:26:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231240704001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":229783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:26:24] local.INFO: GPS data processed {"connection_id":229783,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:26:24] local.INFO: Acknowledgment sent {"connection_id":229783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:26:26] local.INFO: TCP Data received {"connection_id":230308,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab213678012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab213678012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:26:26] local.INFO: Processing buffer {"connection_id":230308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab213678012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:26:26] local.INFO: Packet analysis {"connection_id":230308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab21"} 
[2026-11-05 15:26:26] local.INFO: Extracted packet for processing {"connection_id":230308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab21"} 
[2026-11-05 15:26:26] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231268352001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793872443000,"timestamp_ms":1793872443000,"timestamp_seconds":1793872443,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab213678"} 
[2026-11-05 15:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-05 15:26: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-05 15:26:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231268352001,"66":26430,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231268352001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:26:26] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:26:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231268352001,"power":26430,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":230308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63675,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:26:26] local.INFO: GPS data processed {"connection_id":230308,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:26:26] local.INFO: Acknowledgment sent {"connection_id":230308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:26:32] local.INFO: TCP Data received {"connection_id":229784,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229784,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:26:32] local.INFO: Processing buffer {"connection_id":229784,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:26:32] local.INFO: IMEI packet received {"connection_id":229784,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":229784,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:26:44] local.INFO: TCP Data received {"connection_id":229784,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229784,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:26:44] local.INFO: Processing buffer {"connection_id":229784,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:26:44] local.INFO: IMEI packet received {"connection_id":229784,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":229784,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:26:45] local.INFO: TCP Data received {"connection_id":229784,"ip":"42.106.6.24","data_length":93,"data_hex":"00000000000000518e01000001a1ab239fa8012d0b13000702a1700019007525..."} 
[2026-11-05 15:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229784,"packet_length":93,"packet_hex":"00000000000000518e01000001a1ab239fa8012d0b13000702a1700019007525..."} 
[2026-11-05 15:26:45] local.INFO: Processing buffer {"connection_id":229784,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1ab239fa8012d0b13000702a1700019007525..."} 
[2026-11-05 15:26:45] local.INFO: Packet analysis {"connection_id":229784,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1ab23"} 
[2026-11-05 15:26:45] local.INFO: Extracted packet for processing {"connection_id":229784,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1ab23"} 
[2026-11-05 15:26:45] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612912,"longitude_deg":75.570048,"latitude_deg":11.7612912,"altitude":25,"angle":117,"satellites":37,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a170","is_valid_coordinates":true} 
[2026-11-05 15:26: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":93,"current_offset":40} 
[2026-11-05 15:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:26:45] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:26:45] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229784,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229784,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229784,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:26:45] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":229784,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:26:45] local.ERROR: GPS data processing failed {"connection_id":229784,"error":"No valid data to process"} 
[2026-11-05 15:26:45] local.INFO: Acknowledgment sent {"connection_id":229784,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:27:07] local.INFO: TCP Data received {"connection_id":230309,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230309,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:27:07] local.INFO: Processing buffer {"connection_id":230309,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:27:07] local.INFO: IMEI packet received {"connection_id":230309,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":230309,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:27:08] local.INFO: TCP Data received {"connection_id":233549,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:27:08] local.INFO: Processing buffer {"connection_id":233549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:27:08] local.INFO: IMEI packet received {"connection_id":233549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":233549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:27:11] local.INFO: TCP Data received {"connection_id":230309,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230309,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:27:11] local.INFO: Processing buffer {"connection_id":230309,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:27:11] local.INFO: IMEI packet received {"connection_id":230309,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":230309,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:27:13] local.INFO: TCP Data received {"connection_id":233549,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:27:13] local.INFO: Processing buffer {"connection_id":233549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:27:13] local.INFO: IMEI packet received {"connection_id":233549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":233549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:27:13] local.INFO: TCP Data received {"connection_id":230309,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab213678012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab213678012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:27:13] local.INFO: Processing buffer {"connection_id":230309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab213678012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:27:13] local.INFO: Packet analysis {"connection_id":230309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab21"} 
[2026-11-05 15:27:13] local.INFO: Extracted packet for processing {"connection_id":230309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab21"} 
[2026-11-05 15:27:13] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231268352001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793872443000,"timestamp_ms":1793872443000,"timestamp_seconds":1793872443,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab213678"} 
[2026-11-05 15: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-05 15:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-05 15:27:13] 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-05 15: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-05 15: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-05 15:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230309,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230309,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231268352001,"66":26430,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231268352001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:27:13] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:27:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231268352001,"power":26430,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":230309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63676,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:27:13] local.INFO: GPS data processed {"connection_id":230309,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:27:13] local.INFO: Acknowledgment sent {"connection_id":230309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:27:14] local.INFO: TCP Data received {"connection_id":233549,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1f9098012d7fa60005afe2e8000001102c..."} 
[2026-11-05 15:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1f9098012d7fa60005afe2e8000001102c..."} 
[2026-11-05 15:27:14] local.INFO: Processing buffer {"connection_id":233549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1f9098012d7fa60005afe2e8000001102c..."} 
[2026-11-05 15:27:14] local.INFO: Packet analysis {"connection_id":233549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab1f"} 
[2026-11-05 15:27:14] local.INFO: Extracted packet for processing {"connection_id":233549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab1f"} 
[2026-11-05 15:27:14] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231240704001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793872335000,"timestamp_ms":1793872335000,"timestamp_seconds":1793872335,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1f9098"} 
[2026-11-05 15: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-05 15:27: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-05 15:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:27:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15: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-05 15: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-05 15:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231240704001,"66":25343,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231240704001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:27:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:27:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231240704001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":233549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:27:14] local.INFO: GPS data processed {"connection_id":233549,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:27:14] local.INFO: Acknowledgment sent {"connection_id":233549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:27:19] local.INFO: TCP Data received {"connection_id":230309,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab213678012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab213678012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:27:19] local.INFO: Processing buffer {"connection_id":230309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab213678012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:27:19] local.INFO: Packet analysis {"connection_id":230309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab21"} 
[2026-11-05 15:27:19] local.INFO: Extracted packet for processing {"connection_id":230309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab21"} 
[2026-11-05 15:27:19] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231268352001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793872443000,"timestamp_ms":1793872443000,"timestamp_seconds":1793872443,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab213678"} 
[2026-11-05 15: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-05 15:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-05 15:27:19] 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-05 15: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-05 15: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-05 15:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230309,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230309,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231268352001,"66":26430,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231268352001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:27:19] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:27:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231268352001,"power":26430,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":230309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63678,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:27:19] local.INFO: GPS data processed {"connection_id":230309,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:27:19] local.INFO: Acknowledgment sent {"connection_id":230309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:27:21] local.INFO: TCP Data received {"connection_id":229784,"ip":"42.106.6.24","data_length":93,"data_hex":"00000000000000518e01000001a1ab239fa8012d0b13000702a1700019007525..."} 
[2026-11-05 15:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229784,"packet_length":93,"packet_hex":"00000000000000518e01000001a1ab239fa8012d0b13000702a1700019007525..."} 
[2026-11-05 15:27:21] local.INFO: Processing buffer {"connection_id":229784,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1ab239fa8012d0b13000702a1700019007525..."} 
[2026-11-05 15:27:21] local.INFO: Packet analysis {"connection_id":229784,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1ab23"} 
[2026-11-05 15:27:21] local.INFO: Extracted packet for processing {"connection_id":229784,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1ab23"} 
[2026-11-05 15:27:21] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612912,"longitude_deg":75.570048,"latitude_deg":11.7612912,"altitude":25,"angle":117,"satellites":37,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a170","is_valid_coordinates":true} 
[2026-11-05 15:27: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":93,"current_offset":40} 
[2026-11-05 15:27:21] 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-05 15:27:21] 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-05 15:27:21] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:27:21] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 15:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229784,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 15:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229784,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229784,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-05 15:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 15:27:21] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 15:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":229784,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 15:27:21] local.ERROR: GPS data processing failed {"connection_id":229784,"error":"No valid data to process"} 
[2026-11-05 15:27:21] local.INFO: Acknowledgment sent {"connection_id":229784,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 15:27:30] local.INFO: TCP Data received {"connection_id":229785,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229785,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:27:30] local.INFO: Processing buffer {"connection_id":229785,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:27:30] local.INFO: IMEI packet received {"connection_id":229785,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":229785,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:27:31] local.INFO: TCP Data received {"connection_id":229785,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229785,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:27:31] local.INFO: Processing buffer {"connection_id":229785,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:27:31] local.INFO: IMEI packet received {"connection_id":229785,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":229785,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:27:32] local.INFO: TCP Data received {"connection_id":229785,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229785,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:27:32] local.INFO: Processing buffer {"connection_id":229785,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:27:32] local.INFO: IMEI packet received {"connection_id":229785,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":229785,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:27:35] local.INFO: TCP Data received {"connection_id":229785,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229785,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:27:35] local.INFO: Processing buffer {"connection_id":229785,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:27:35] local.INFO: IMEI packet received {"connection_id":229785,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":229785,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:27:45] local.INFO: TCP Data received {"connection_id":233549,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab1f9098012d7fa60005afe2e8000001102c..."} 
[2026-11-05 15:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab1f9098012d7fa60005afe2e8000001102c..."} 
[2026-11-05 15:27:45] local.INFO: Processing buffer {"connection_id":233549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab1f9098012d7fa60005afe2e8000001102c..."} 
[2026-11-05 15:27:45] local.INFO: Packet analysis {"connection_id":233549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab1f"} 
[2026-11-05 15:27:45] local.INFO: Extracted packet for processing {"connection_id":233549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab1f"} 
[2026-11-05 15:27:45] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231240704001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793872335000,"timestamp_ms":1793872335000,"timestamp_seconds":1793872335,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab1f9098"} 
[2026-11-05 15: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-05 15:27: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-05 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:27: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-05 15: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-05 15: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-05 15:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":233549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":233549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":233549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231240704001,"66":25343,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231240704001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:27:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:27:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231240704001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":233549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:27:45] local.INFO: GPS data processed {"connection_id":233549,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:27:45] local.INFO: Acknowledgment sent {"connection_id":233549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:27:52] local.INFO: TCP Data received {"connection_id":230309,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab213678012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab213678012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:27:52] local.INFO: Processing buffer {"connection_id":230309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab213678012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:27:52] local.INFO: Packet analysis {"connection_id":230309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab21"} 
[2026-11-05 15:27:52] local.INFO: Extracted packet for processing {"connection_id":230309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab21"} 
[2026-11-05 15:27:52] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231268352001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793872443000,"timestamp_ms":1793872443000,"timestamp_seconds":1793872443,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab213678"} 
[2026-11-05 15: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-05 15:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-05 15:27: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-05 15: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-05 15: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-05 15:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":230309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":230309,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":230309,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231268352001,"66":26430,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231268352001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:27:52] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:27:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231268352001,"power":26430,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":230309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63680,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:27:52] local.INFO: GPS data processed {"connection_id":230309,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:27:52] local.INFO: Acknowledgment sent {"connection_id":230309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:28:03] local.INFO: TCP Data received {"connection_id":231638,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:28:03] local.INFO: Processing buffer {"connection_id":231638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:28:03] local.INFO: IMEI packet received {"connection_id":231638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":231638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:28:06] local.INFO: TCP Data received {"connection_id":230310,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:28:06] local.INFO: Processing buffer {"connection_id":230310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:28:06] local.INFO: IMEI packet received {"connection_id":230310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":230310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:28:08] local.INFO: TCP Data received {"connection_id":231638,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:28:08] local.INFO: Processing buffer {"connection_id":231638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:28:08] local.INFO: IMEI packet received {"connection_id":231638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":231638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:28:09] local.INFO: TCP Data received {"connection_id":231638,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:28:09] local.INFO: Processing buffer {"connection_id":231638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:28:09] local.INFO: Packet analysis {"connection_id":231638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab24"} 
[2026-11-05 15:28:09] local.INFO: Extracted packet for processing {"connection_id":231638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab24"} 
[2026-11-05 15:28:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231317760001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793872636000,"timestamp_ms":1793872636000,"timestamp_seconds":1793872636,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab242860"} 
[2026-11-05 15:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:28:09] 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-05 15:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231317760001,"66":25299,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 15:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231317760001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:28:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 15:28:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231317760001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":231638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:28:09] local.INFO: GPS data processed {"connection_id":231638,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:28:09] local.INFO: Acknowledgment sent {"connection_id":231638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:28:11] local.INFO: TCP Data received {"connection_id":230310,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:28:11] local.INFO: Processing buffer {"connection_id":230310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:28:11] local.INFO: IMEI packet received {"connection_id":230310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":230310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:28:13] local.INFO: TCP Data received {"connection_id":230310,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab213678012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab213678012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:28:13] local.INFO: Processing buffer {"connection_id":230310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab213678012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:28:13] local.INFO: Packet analysis {"connection_id":230310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab21"} 
[2026-11-05 15:28:13] local.INFO: Extracted packet for processing {"connection_id":230310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab21"} 
[2026-11-05 15:28:13] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231268352001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793872443000,"timestamp_ms":1793872443000,"timestamp_seconds":1793872443,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab213678"} 
[2026-11-05 15: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-05 15:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-05 15:28:13] 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-05 15: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-05 15: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-05 15:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231268352001,"66":26430,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231268352001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:28:13] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:28:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231268352001,"power":26430,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:28: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":63682,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:28:13] local.INFO: GPS data processed {"connection_id":230310,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:28:13] local.INFO: Acknowledgment sent {"connection_id":230310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:28:41] local.INFO: TCP Data received {"connection_id":231638,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:28:41] local.INFO: Processing buffer {"connection_id":231638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:28:41] local.INFO: Packet analysis {"connection_id":231638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab24"} 
[2026-11-05 15:28:41] local.INFO: Extracted packet for processing {"connection_id":231638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab24"} 
[2026-11-05 15:28:41] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231317760001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793872636000,"timestamp_ms":1793872636000,"timestamp_seconds":1793872636,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab242860"} 
[2026-11-05 15: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-05 15:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15: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-05 15: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-05 15:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15: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-05 15:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231317760001,"66":25299,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 15:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231317760001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:28:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 15:28:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231317760001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":231638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:28:41] local.INFO: GPS data processed {"connection_id":231638,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:28:41] local.INFO: Acknowledgment sent {"connection_id":231638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:28:46] local.INFO: TCP Data received {"connection_id":230310,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab213678012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab213678012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:28:46] local.INFO: Processing buffer {"connection_id":230310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab213678012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:28:46] local.INFO: Packet analysis {"connection_id":230310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab21"} 
[2026-11-05 15:28:46] local.INFO: Extracted packet for processing {"connection_id":230310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab21"} 
[2026-11-05 15:28:46] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231268352001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793872443000,"timestamp_ms":1793872443000,"timestamp_seconds":1793872443,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab213678"} 
[2026-11-05 15: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-05 15:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":105,"data_length":795,"current_offset":136} 
[2026-11-05 15:28:46] 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-05 15: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-05 15: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-05 15:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231268352001,"66":26430,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231268352001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:28:46] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:28:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231268352001,"power":26430,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:28:46] 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":63684,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:28:46] local.INFO: GPS data processed {"connection_id":230310,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:28:46] local.INFO: Acknowledgment sent {"connection_id":230310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:29:03] local.INFO: TCP Data received {"connection_id":229786,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:29:03] local.INFO: Processing buffer {"connection_id":229786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:29:03] local.INFO: IMEI packet received {"connection_id":229786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":229786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:29:05] local.INFO: TCP Data received {"connection_id":229787,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:29:05] local.INFO: Processing buffer {"connection_id":229787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:29:05] local.INFO: IMEI packet received {"connection_id":229787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":229787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:29:08] local.INFO: TCP Data received {"connection_id":229786,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:29:08] local.INFO: Processing buffer {"connection_id":229786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:29:08] local.INFO: IMEI packet received {"connection_id":229786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":229786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:29:09] local.INFO: TCP Data received {"connection_id":229786,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:29:09] local.INFO: Processing buffer {"connection_id":229786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:29:09] local.INFO: Packet analysis {"connection_id":229786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab24"} 
[2026-11-05 15:29:09] local.INFO: Extracted packet for processing {"connection_id":229786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab24"} 
[2026-11-05 15:29:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231317760001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793872636000,"timestamp_ms":1793872636000,"timestamp_seconds":1793872636,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab242860"} 
[2026-11-05 15:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:29:09] local.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-05 15:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231317760001,"66":25299,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 15:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231317760001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:29:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 15:29:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231317760001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":229786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:29:09] local.INFO: GPS data processed {"connection_id":229786,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:29:09] local.INFO: Acknowledgment sent {"connection_id":229786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:29:11] local.INFO: TCP Data received {"connection_id":229787,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:29:11] local.INFO: Processing buffer {"connection_id":229787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:29:11] local.INFO: IMEI packet received {"connection_id":229787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":229787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:29:16] local.INFO: TCP Data received {"connection_id":229787,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab213678012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab213678012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:29:16] local.INFO: Processing buffer {"connection_id":229787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab213678012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:29:16] local.INFO: Packet analysis {"connection_id":229787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab21"} 
[2026-11-05 15:29:16] local.INFO: Extracted packet for processing {"connection_id":229787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab21"} 
[2026-11-05 15:29:16] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231268352001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793872443000,"timestamp_ms":1793872443000,"timestamp_seconds":1793872443,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab213678"} 
[2026-11-05 15: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-05 15:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-05 15:29: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-05 15: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-05 15: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-05 15:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231268352001,"66":26430,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231268352001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:29:16] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:29:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231268352001,"power":26430,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":229787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63686,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:29:16] local.INFO: GPS data processed {"connection_id":229787,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:29:16] local.INFO: Acknowledgment sent {"connection_id":229787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:29:40] local.INFO: TCP Data received {"connection_id":229786,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:29:40] local.INFO: Processing buffer {"connection_id":229786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:29:40] local.INFO: Packet analysis {"connection_id":229786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab24"} 
[2026-11-05 15:29:40] local.INFO: Extracted packet for processing {"connection_id":229786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab24"} 
[2026-11-05 15:29:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231317760001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793872636000,"timestamp_ms":1793872636000,"timestamp_seconds":1793872636,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab242860"} 
[2026-11-05 15:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:29: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-05 15:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231317760001,"66":25299,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 15:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231317760001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:29:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 15:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231317760001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":229786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:29:40] local.INFO: GPS data processed {"connection_id":229786,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:29:40] local.INFO: Acknowledgment sent {"connection_id":229786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:29:49] local.INFO: TCP Data received {"connection_id":229787,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab25ce40012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab25ce40012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:29:49] local.INFO: Processing buffer {"connection_id":229787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab25ce40012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:29:49] local.INFO: Packet analysis {"connection_id":229787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab25"} 
[2026-11-05 15:29:49] local.INFO: Extracted packet for processing {"connection_id":229787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab25"} 
[2026-11-05 15:29:49] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231345408001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793872744000,"timestamp_ms":1793872744000,"timestamp_seconds":1793872744,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab25ce40"} 
[2026-11-05 15: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-05 15:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-05 15:29: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-05 15: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-05 15: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-05 15:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231345408001,"66":26169,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231345408001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:29:49] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:29:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231345408001,"power":26169,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":229787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63688,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:29:49] local.INFO: GPS data processed {"connection_id":229787,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:29:49] local.INFO: Acknowledgment sent {"connection_id":229787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:30:03] local.INFO: TCP Data received {"connection_id":229788,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:30:03] local.INFO: Processing buffer {"connection_id":229788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:30:03] local.INFO: IMEI packet received {"connection_id":229788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":229788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:30:08] local.INFO: TCP Data received {"connection_id":229788,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:30:08] local.INFO: Processing buffer {"connection_id":229788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:30:08] local.INFO: IMEI packet received {"connection_id":229788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":229788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:30:09] local.INFO: TCP Data received {"connection_id":229788,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:30:09] local.INFO: Processing buffer {"connection_id":229788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:30:09] local.INFO: Packet analysis {"connection_id":229788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab24"} 
[2026-11-05 15:30:09] local.INFO: Extracted packet for processing {"connection_id":229788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab24"} 
[2026-11-05 15:30:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231317760001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793872636000,"timestamp_ms":1793872636000,"timestamp_seconds":1793872636,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab242860"} 
[2026-11-05 15: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-05 15:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15: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-05 15: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-05 15:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:30:09] 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-05 15:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231317760001,"66":25299,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 15:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231317760001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:30:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 15:30:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231317760001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":229788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:30:09] local.INFO: GPS data processed {"connection_id":229788,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:30:09] local.INFO: Acknowledgment sent {"connection_id":229788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:30:10] local.INFO: TCP Data received {"connection_id":230312,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230312,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:30:10] local.INFO: Processing buffer {"connection_id":230312,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:30:10] local.INFO: IMEI packet received {"connection_id":230312,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":230312,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:30:16] local.INFO: TCP Data received {"connection_id":230312,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230312,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:30:16] local.INFO: Processing buffer {"connection_id":230312,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:30:16] local.INFO: IMEI packet received {"connection_id":230312,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":230312,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:30:20] local.INFO: TCP Data received {"connection_id":230312,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab25ce40012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab25ce40012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:30:20] local.INFO: Processing buffer {"connection_id":230312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab25ce40012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:30:20] local.INFO: Packet analysis {"connection_id":230312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab25"} 
[2026-11-05 15:30:20] local.INFO: Extracted packet for processing {"connection_id":230312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab25"} 
[2026-11-05 15:30:20] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231345408001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793872744000,"timestamp_ms":1793872744000,"timestamp_seconds":1793872744,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab25ce40"} 
[2026-11-05 15: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-05 15:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-05 15:30:20] 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-05 15: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-05 15: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-05 15:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230312,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230312,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231345408001,"66":26169,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231345408001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:30:20] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:30:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231345408001,"power":26169,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:30:20] 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":63690,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:30:20] local.INFO: GPS data processed {"connection_id":230312,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:30:20] local.INFO: Acknowledgment sent {"connection_id":230312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:30:41] local.INFO: TCP Data received {"connection_id":229788,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:30:41] local.INFO: Processing buffer {"connection_id":229788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:30:41] local.INFO: Packet analysis {"connection_id":229788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab24"} 
[2026-11-05 15:30:41] local.INFO: Extracted packet for processing {"connection_id":229788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab24"} 
[2026-11-05 15:30:41] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231317760001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793872636000,"timestamp_ms":1793872636000,"timestamp_seconds":1793872636,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab242860"} 
[2026-11-05 15: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-05 15:30: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-05 15:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15: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-05 15: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-05 15:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231317760001,"66":25299,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 15:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231317760001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:30:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 15:30:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231317760001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":229788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:30:41] local.INFO: GPS data processed {"connection_id":229788,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:30:41] local.INFO: Acknowledgment sent {"connection_id":229788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:31:06] local.INFO: TCP Data received {"connection_id":233552,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:31:06] local.INFO: Processing buffer {"connection_id":233552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:31:06] local.INFO: IMEI packet received {"connection_id":233552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":233552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:31:08] local.INFO: TCP Data received {"connection_id":233551,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:31:08] local.INFO: Processing buffer {"connection_id":233551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:31:08] local.INFO: IMEI packet received {"connection_id":233551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":233551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:31:11] local.INFO: TCP Data received {"connection_id":233552,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:31:11] local.INFO: Processing buffer {"connection_id":233552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:31:11] local.INFO: IMEI packet received {"connection_id":233552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":233552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:31:13] local.INFO: TCP Data received {"connection_id":233551,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:31:13] local.INFO: Processing buffer {"connection_id":233551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:31:13] local.INFO: IMEI packet received {"connection_id":233551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":233551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:31:14] local.INFO: TCP Data received {"connection_id":233551,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:31:14] local.INFO: Processing buffer {"connection_id":233551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:31:14] local.INFO: Packet analysis {"connection_id":233551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab24"} 
[2026-11-05 15:31:14] local.INFO: Extracted packet for processing {"connection_id":233551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab24"} 
[2026-11-05 15:31:14] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231317760001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793872636000,"timestamp_ms":1793872636000,"timestamp_seconds":1793872636,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab242860"} 
[2026-11-05 15: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-05 15:31: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-05 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:31:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15: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-05 15: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-05 15:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:31:14] 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-05 15:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231317760001,"66":25299,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 15:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231317760001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:31:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 15:31:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231317760001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":233551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:31:14] local.INFO: GPS data processed {"connection_id":233551,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:31:14] local.INFO: Acknowledgment sent {"connection_id":233551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:31:16] local.INFO: TCP Data received {"connection_id":233552,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab25ce40012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab25ce40012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:31:16] local.INFO: Processing buffer {"connection_id":233552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab25ce40012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:31:16] local.INFO: Packet analysis {"connection_id":233552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab25"} 
[2026-11-05 15:31:16] local.INFO: Extracted packet for processing {"connection_id":233552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab25"} 
[2026-11-05 15:31:16] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231345408001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793872744000,"timestamp_ms":1793872744000,"timestamp_seconds":1793872744,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab25ce40"} 
[2026-11-05 15: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-05 15:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15: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-05 15: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-05 15: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-05 15:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":233552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":233552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":233552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231345408001,"66":26169,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231345408001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:31:16] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:31:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231345408001,"power":26169,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":233552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63693,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:31:16] local.INFO: GPS data processed {"connection_id":233552,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:31:16] local.INFO: Acknowledgment sent {"connection_id":233552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:31:18] local.INFO: TCP Data received {"connection_id":233551,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:31:18] local.INFO: Processing buffer {"connection_id":233551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:31:18] local.INFO: Packet analysis {"connection_id":233551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab24"} 
[2026-11-05 15:31:18] local.INFO: Extracted packet for processing {"connection_id":233551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab24"} 
[2026-11-05 15:31:18] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231317760001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793872636000,"timestamp_ms":1793872636000,"timestamp_seconds":1793872636,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab242860"} 
[2026-11-05 15: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-05 15:31: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-05 15:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15: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-05 15: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-05 15:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":233551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":233551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":233551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231317760001,"66":25299,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 15:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231317760001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:31:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 15:31:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231317760001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":233551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:31:18] local.INFO: GPS data processed {"connection_id":233551,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:31:18] local.INFO: Acknowledgment sent {"connection_id":233551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:31:50] local.INFO: TCP Data received {"connection_id":233552,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab25ce40012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab25ce40012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:31:50] local.INFO: Processing buffer {"connection_id":233552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab25ce40012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:31:50] local.INFO: Packet analysis {"connection_id":233552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab25"} 
[2026-11-05 15:31:50] local.INFO: Extracted packet for processing {"connection_id":233552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab25"} 
[2026-11-05 15:31:50] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231345408001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:31:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793872744000,"timestamp_ms":1793872744000,"timestamp_seconds":1793872744,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab25ce40"} 
[2026-11-05 15: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-05 15:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-05 15:31:50] 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-05 15: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-05 15: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-05 15:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":233552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":233552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":233552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:31:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231345408001,"66":26169,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231345408001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:31:50] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:31:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:31:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231345408001,"power":26169,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":233552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63695,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:31:50] local.INFO: GPS data processed {"connection_id":233552,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:31:50] local.INFO: Acknowledgment sent {"connection_id":233552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:32:05] local.INFO: TCP Data received {"connection_id":231639,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231639,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:32:05] local.INFO: Processing buffer {"connection_id":231639,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:32:05] local.INFO: IMEI packet received {"connection_id":231639,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":231639,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:32:07] local.INFO: TCP Data received {"connection_id":233553,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:32:07] local.INFO: Processing buffer {"connection_id":233553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:32:07] local.INFO: IMEI packet received {"connection_id":233553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":233553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:32:08] local.INFO: TCP Data received {"connection_id":233553,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:32:08] local.INFO: Processing buffer {"connection_id":233553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:32:08] local.INFO: IMEI packet received {"connection_id":233553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":233553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:32:08] local.INFO: TCP Data received {"connection_id":233553,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:32:08] local.INFO: Processing buffer {"connection_id":233553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:32:08] local.INFO: Packet analysis {"connection_id":233553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab24"} 
[2026-11-05 15:32:08] local.INFO: Extracted packet for processing {"connection_id":233553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab24"} 
[2026-11-05 15:32:08] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231317760001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793872636000,"timestamp_ms":1793872636000,"timestamp_seconds":1793872636,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab242860"} 
[2026-11-05 15:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":233553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":233553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":233553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:32:08] 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-05 15:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231317760001,"66":25299,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 15:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231317760001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:32:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 15:32:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231317760001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":233553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:32:08] local.INFO: GPS data processed {"connection_id":233553,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:32:08] local.INFO: Acknowledgment sent {"connection_id":233553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:32:11] local.INFO: TCP Data received {"connection_id":231639,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231639,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:32:11] local.INFO: Processing buffer {"connection_id":231639,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:32:11] local.INFO: IMEI packet received {"connection_id":231639,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":231639,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:32:14] local.INFO: TCP Data received {"connection_id":233553,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:32:14] local.INFO: Processing buffer {"connection_id":233553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:32:14] local.INFO: Packet analysis {"connection_id":233553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab24"} 
[2026-11-05 15:32:14] local.INFO: Extracted packet for processing {"connection_id":233553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab24"} 
[2026-11-05 15:32:14] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231317760001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793872636000,"timestamp_ms":1793872636000,"timestamp_seconds":1793872636,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab242860"} 
[2026-11-05 15: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-05 15:32: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-05 15:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15: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-05 15: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-05 15:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231317760001,"66":25299,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 15:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231317760001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:32:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 15:32:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231317760001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":233553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:32:14] local.INFO: GPS data processed {"connection_id":233553,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:32:14] local.INFO: Acknowledgment sent {"connection_id":233553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:32:16] local.INFO: TCP Data received {"connection_id":231639,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab25ce40012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab25ce40012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:32:16] local.INFO: Processing buffer {"connection_id":231639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab25ce40012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:32:16] local.INFO: Packet analysis {"connection_id":231639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab25"} 
[2026-11-05 15:32:16] local.INFO: Extracted packet for processing {"connection_id":231639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab25"} 
[2026-11-05 15:32:16] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231345408001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793872744000,"timestamp_ms":1793872744000,"timestamp_seconds":1793872744,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab25ce40"} 
[2026-11-05 15: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-05 15:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15: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-05 15: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-05 15: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-05 15:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":231639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":231639,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":231639,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231345408001,"66":26169,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231345408001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:32:16] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:32:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231345408001,"power":26169,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":231639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63698,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:32:16] local.INFO: GPS data processed {"connection_id":231639,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:32:16] local.INFO: Acknowledgment sent {"connection_id":231639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:32:37] local.INFO: TCP Data received {"connection_id":229790,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229790,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:32:37] local.INFO: Processing buffer {"connection_id":229790,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:32:37] local.INFO: IMEI packet received {"connection_id":229790,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":229790,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:32:37] local.INFO: TCP Data received {"connection_id":229790,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab28aca0012d0b664007034fb00012006822..."} 
[2026-11-05 15:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab28aca0012d0b664007034fb00012006822..."} 
[2026-11-05 15:32:37] local.INFO: Processing buffer {"connection_id":229790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab28aca0012d0b664007034fb00012006822..."} 
[2026-11-05 15:32:37] local.INFO: Packet analysis {"connection_id":229790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab28"} 
[2026-11-05 15:32:37] local.INFO: Extracted packet for processing {"connection_id":229790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab28"} 
[2026-11-05 15:32:37] local.INFO: GPS Element Parsed {"raw_longitude":755721792,"raw_latitude":117657520,"longitude_deg":75.5721792,"latitude_deg":11.765752,"altitude":18,"angle":104,"satellites":34,"speed":21,"hex_longitude":"2d0b6640","hex_latitude":"07034fb0","is_valid_coordinates":true} 
[2026-11-05 15:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231467776001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39449914563887104,"note":"Value kept but may cause issues"} 
[2026-11-05 15:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815151562674644992,"note":"Value kept but may cause issues"} 
[2026-11-05 15:32:37] 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-05 15:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793872932000,"timestamp_ms":1793872932000,"timestamp_seconds":1793872932,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab28aca0"} 
[2026-11-05 15:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 15:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-05 15:32:37] 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-05 15:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":229790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":229790,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":229790,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231467776001,"66":14352,"17":206,"94":11008,"24":21,"16":39449914563887104,"45":815151562674644992},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 15:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231467776001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:32:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 15:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39449914563887104,"km_value":39449914563887.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":815151562674644992,"description":"Unknown IO ID 45"} 
[2026-11-05 15:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231467776001,"power":14352,"axis_x":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":815151562674644992}} 
[2026-11-05 15:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":229790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63699,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:32:38] local.INFO: GPS data processed {"connection_id":229790,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:32:38] local.INFO: Acknowledgment sent {"connection_id":229790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:32:45] local.INFO: TCP Data received {"connection_id":233553,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:32:45] local.INFO: Processing buffer {"connection_id":233553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab242860012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:32:45] local.INFO: Packet analysis {"connection_id":233553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab24"} 
[2026-11-05 15:32:45] local.INFO: Extracted packet for processing {"connection_id":233553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab24"} 
[2026-11-05 15:32:45] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231317760001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793872636000,"timestamp_ms":1793872636000,"timestamp_seconds":1793872636,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab242860"} 
[2026-11-05 15: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-05 15:32: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-05 15:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:32: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-05 15: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-05 15: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-05 15:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":233553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":233553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":233553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231317760001,"66":25299,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 15:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231317760001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:32:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 15:32:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231317760001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":233553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:32:45] local.INFO: GPS data processed {"connection_id":233553,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:32:45] local.INFO: Acknowledgment sent {"connection_id":233553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:32:50] local.INFO: TCP Data received {"connection_id":231639,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab25ce40012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab25ce40012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:32:50] local.INFO: Processing buffer {"connection_id":231639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab25ce40012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:32:50] local.INFO: Packet analysis {"connection_id":231639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab25"} 
[2026-11-05 15:32:50] local.INFO: Extracted packet for processing {"connection_id":231639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab25"} 
[2026-11-05 15:32:50] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231345408001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793872744000,"timestamp_ms":1793872744000,"timestamp_seconds":1793872744,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab25ce40"} 
[2026-11-05 15:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-05 15:32:50] 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-05 15:32:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":231639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":231639,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":231639,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231345408001,"66":26169,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231345408001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:32:50] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:32:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231345408001,"power":26169,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":231639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63701,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:32:50] local.INFO: GPS data processed {"connection_id":231639,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:32:50] local.INFO: Acknowledgment sent {"connection_id":231639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:33:03] local.INFO: TCP Data received {"connection_id":230313,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:33:03] local.INFO: Processing buffer {"connection_id":230313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:33:03] local.INFO: IMEI packet received {"connection_id":230313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":230313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:33:08] local.INFO: TCP Data received {"connection_id":230313,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:33:08] local.INFO: Processing buffer {"connection_id":230313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:33:08] local.INFO: IMEI packet received {"connection_id":230313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":230313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:33:09] local.INFO: TCP Data received {"connection_id":229790,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab28b858012d0b6b0007034d780011008322..."} 
[2026-11-05 15:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab28b858012d0b6b0007034d780011008322..."} 
[2026-11-05 15:33:09] local.INFO: Processing buffer {"connection_id":229790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab28b858012d0b6b0007034d780011008322..."} 
[2026-11-05 15:33:09] local.INFO: Packet analysis {"connection_id":229790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab28"} 
[2026-11-05 15:33:09] local.INFO: Extracted packet for processing {"connection_id":229790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab28"} 
[2026-11-05 15:33:09] local.INFO: GPS Element Parsed {"raw_longitude":755723008,"raw_latitude":117656952,"longitude_deg":75.5723008,"latitude_deg":11.7656952,"altitude":17,"angle":131,"satellites":34,"speed":14,"hex_longitude":"2d0b6b00","hex_latitude":"07034d78","is_valid_coordinates":true} 
[2026-11-05 15:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231470592001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39449978988396544,"note":"Value kept but may cause issues"} 
[2026-11-05 15:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":821414380906196992,"note":"Value kept but may cause issues"} 
[2026-11-05 15:33: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-05 15:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793872935000,"timestamp_ms":1793872935000,"timestamp_seconds":1793872935,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab28b858"} 
[2026-11-05 15:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 15:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-11-05 15:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733144320,"note":"Value kept but may cause issues"} 
[2026-11-05 15:33:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-11-05 15:33:09] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2871527568,"note":"Value kept but may cause issues"} 
[2026-11-05 15:33:09] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84736217237095258,"note":"Value kept but may cause issues"} 
[2026-11-05 15:33:09] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-11-05 15:33:09] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504201572712448,"note":"Value kept but may cause issues"} 
[2026-11-05 15:33:09] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639831660584465,"note":"Value kept but may cause issues"} 
[2026-11-05 15:33:09] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5981044192238174464,"note":"Value kept but may cause issues"} 
[2026-11-05 15:33:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-11-05 15:33:09] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-11-05 15:33:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":5348368742089728,"corrected_to":0} 
[2026-11-05 15:33:09] local.WARNING: Large IO value detected {"io_id":11,"raw_value":2648124291911516179,"note":"Value kept but may cause issues"} 
[2026-11-05 15:33:09] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,17,94,24,241,157,16,39,161,129,45,83,19,34,10,66,86,192,81,78,1,240,60,227,171,3,4,113,205,59,58,128,36,239,56,2,140,7,8,206,200,11],"length":628,"final_offset":758,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0},{"io_id":200,"original":5348368742089728,"validated":0}]} 
[2026-11-05 15:33:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1297151187922255872,"timestamp_seconds":1297151187922255.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-11-05 15:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229790,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229790,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231470592001,"66":14548,"17":206,"94":11008,"24":14,"16":39449978988396544,"45":821414380906196992},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 15:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231470592001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:33:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 15:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39449978988396544,"km_value":39449978988396.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":821414380906196992,"description":"Unknown IO ID 45"} 
[2026-11-05 15:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231470592001,"power":14548,"axis_x":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":821414380906196992}} 
[2026-11-05 15:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":229790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63702,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:33:09] local.INFO: GPS data processed {"connection_id":229790,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:33:09] local.INFO: Acknowledgment sent {"connection_id":229790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:33:09] local.INFO: TCP Data received {"connection_id":230313,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab28c028012d7fa60005afe2e80002011028..."} 
[2026-11-05 15:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab28c028012d7fa60005afe2e80002011028..."} 
[2026-11-05 15:33:09] local.INFO: Processing buffer {"connection_id":230313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab28c028012d7fa60005afe2e80002011028..."} 
[2026-11-05 15:33:09] local.INFO: Packet analysis {"connection_id":230313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab28"} 
[2026-11-05 15:33:09] local.INFO: Extracted packet for processing {"connection_id":230313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab28"} 
[2026-11-05 15:33:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231394816001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793872937000,"timestamp_ms":1793872937000,"timestamp_seconds":1793872937,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab28c028"} 
[2026-11-05 15:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 15:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:33:09] 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-05 15:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231394816001,"66":25343,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231394816001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:33:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:33:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231394816001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":230313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:33:09] local.INFO: GPS data processed {"connection_id":230313,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:33:09] local.INFO: Acknowledgment sent {"connection_id":230313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:33:11] local.INFO: TCP Data received {"connection_id":230314,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230314,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:33:11] local.INFO: Processing buffer {"connection_id":230314,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:33:11] local.INFO: IMEI packet received {"connection_id":230314,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":230314,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:33:16] local.INFO: TCP Data received {"connection_id":230314,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230314,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:33:16] local.INFO: Processing buffer {"connection_id":230314,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:33:16] local.INFO: IMEI packet received {"connection_id":230314,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":230314,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:33:20] local.INFO: TCP Data received {"connection_id":230314,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab25ce40012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab25ce40012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:33:20] local.INFO: Processing buffer {"connection_id":230314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab25ce40012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:33:20] local.INFO: Packet analysis {"connection_id":230314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab25"} 
[2026-11-05 15:33:20] local.INFO: Extracted packet for processing {"connection_id":230314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab25"} 
[2026-11-05 15:33:20] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231345408001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793872744000,"timestamp_ms":1793872744000,"timestamp_seconds":1793872744,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab25ce40"} 
[2026-11-05 15:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-05 15:33:20] 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-05 15:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230314,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230314,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231345408001,"66":26169,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231345408001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:33:20] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:33:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231345408001,"power":26169,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:33:20] 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":63704,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:33:20] local.INFO: GPS data processed {"connection_id":230314,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:33:20] local.INFO: Acknowledgment sent {"connection_id":230314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:33:23] local.INFO: TCP Data received {"connection_id":230314,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab25ce40012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab25ce40012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:33:23] local.INFO: Processing buffer {"connection_id":230314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab25ce40012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:33:23] local.INFO: Packet analysis {"connection_id":230314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab25"} 
[2026-11-05 15:33:23] local.INFO: Extracted packet for processing {"connection_id":230314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab25"} 
[2026-11-05 15:33:23] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231345408001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793872744000,"timestamp_ms":1793872744000,"timestamp_seconds":1793872744,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab25ce40"} 
[2026-11-05 15: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-05 15:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-05 15:33:23] 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-05 15: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-05 15: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-05 15:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":230314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":230314,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":230314,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231345408001,"66":26169,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231345408001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:33:23] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:33:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231345408001,"power":26169,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:33:23] 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":63705,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:33:23] local.INFO: GPS data processed {"connection_id":230314,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:33:23] local.INFO: Acknowledgment sent {"connection_id":230314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:33:31] local.INFO: TCP Data received {"connection_id":231640,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231640,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:33:31] local.INFO: Processing buffer {"connection_id":231640,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:33:31] local.INFO: IMEI packet received {"connection_id":231640,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":231640,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:33:36] local.INFO: TCP Data received {"connection_id":231640,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231640,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:33:36] local.INFO: Processing buffer {"connection_id":231640,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:33:36] local.INFO: IMEI packet received {"connection_id":231640,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":231640,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:33:38] local.INFO: TCP Data received {"connection_id":231640,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab28bc40012d0b6c0007034c780011009621..."} 
[2026-11-05 15:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab28bc40012d0b6c0007034c780011009621..."} 
[2026-11-05 15:33:38] local.INFO: Processing buffer {"connection_id":231640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab28bc40012d0b6c0007034c780011009621..."} 
[2026-11-05 15:33:38] local.INFO: Packet analysis {"connection_id":231640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab28"} 
[2026-11-05 15:33:38] local.INFO: Extracted packet for processing {"connection_id":231640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab28"} 
[2026-11-05 15:33:38] local.INFO: GPS Element Parsed {"raw_longitude":755723264,"raw_latitude":117656696,"longitude_deg":75.5723264,"latitude_deg":11.7656696,"altitude":17,"angle":150,"satellites":33,"speed":12,"hex_longitude":"2d0b6c00","hex_latitude":"07034c78","is_valid_coordinates":true} 
[2026-11-05 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-05 15:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231471360001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39449996168265728,"note":"Value kept but may cause issues"} 
[2026-11-05 15:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822751387045427200,"note":"Value kept but may cause issues"} 
[2026-11-05 15:33: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-05 15:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1793872936000,"timestamp_ms":1793872936000,"timestamp_seconds":1793872936,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab28bc40"} 
[2026-11-05 15:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 15:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-05 15:33:38] 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-05 15:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":231640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":231640,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":231640,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231471360001,"66":14548,"17":206,"94":11008,"24":12,"16":39449996168265728,"45":822751387045427200},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 15:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231471360001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:33:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 15:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39449996168265728,"km_value":39449996168265.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":822751387045427200,"description":"Unknown IO ID 45"} 
[2026-11-05 15:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231471360001,"power":14548,"axis_x":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":822751387045427200}} 
[2026-11-05 15:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":231640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63706,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:33:38] local.INFO: GPS data processed {"connection_id":231640,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:33:38] local.INFO: Acknowledgment sent {"connection_id":231640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:33:40] local.INFO: TCP Data received {"connection_id":230313,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab28c028012d7fa60005afe2e80002011028..."} 
[2026-11-05 15:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab28c028012d7fa60005afe2e80002011028..."} 
[2026-11-05 15:33:40] local.INFO: Processing buffer {"connection_id":230313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab28c028012d7fa60005afe2e80002011028..."} 
[2026-11-05 15:33:40] local.INFO: Packet analysis {"connection_id":230313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab28"} 
[2026-11-05 15:33:40] local.INFO: Extracted packet for processing {"connection_id":230313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab28"} 
[2026-11-05 15:33:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231394816001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793872937000,"timestamp_ms":1793872937000,"timestamp_seconds":1793872937,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab28c028"} 
[2026-11-05 15:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 15:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231394816001,"66":25343,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231394816001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:33:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:33:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231394816001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":230313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:33:40] local.INFO: GPS data processed {"connection_id":230313,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:33:40] local.INFO: Acknowledgment sent {"connection_id":230313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:34:03] local.INFO: TCP Data received {"connection_id":229791,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:34:03] local.INFO: Processing buffer {"connection_id":229791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:34:03] local.INFO: IMEI packet received {"connection_id":229791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":229791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:34:06] local.INFO: TCP Data received {"connection_id":231641,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:34:06] local.INFO: Processing buffer {"connection_id":231641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:34:06] local.INFO: IMEI packet received {"connection_id":231641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":231641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:34:11] local.INFO: TCP Data received {"connection_id":231641,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:34:11] local.INFO: Processing buffer {"connection_id":231641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:34:11] local.INFO: IMEI packet received {"connection_id":231641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":231641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:34:14] local.INFO: TCP Data received {"connection_id":231641,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab25ce40012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab25ce40012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:34:14] local.INFO: Processing buffer {"connection_id":231641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab25ce40012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:34:14] local.INFO: Packet analysis {"connection_id":231641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab25"} 
[2026-11-05 15:34:14] local.INFO: Extracted packet for processing {"connection_id":231641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab25"} 
[2026-11-05 15:34:14] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231345408001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:34:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793872744000,"timestamp_ms":1793872744000,"timestamp_seconds":1793872744,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab25ce40"} 
[2026-11-05 15: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-05 15:34:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-05 15:34:14] 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-05 15: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-05 15: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-05 15:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":231641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":231641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":231641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231345408001,"66":26169,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231345408001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:34:14] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:34:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231345408001,"power":26169,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":231641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63708,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:34:14] local.INFO: GPS data processed {"connection_id":231641,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:34:14] local.INFO: Acknowledgment sent {"connection_id":231641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:34:14] local.INFO: TCP Data received {"connection_id":229791,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:34:14] local.INFO: Processing buffer {"connection_id":229791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:34:14] local.INFO: IMEI packet received {"connection_id":229791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":229791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:34:15] local.INFO: TCP Data received {"connection_id":229791,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab28c028012d7fa60005afe2e80002011028..."} 
[2026-11-05 15:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab28c028012d7fa60005afe2e80002011028..."} 
[2026-11-05 15:34:15] local.INFO: Processing buffer {"connection_id":229791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab28c028012d7fa60005afe2e80002011028..."} 
[2026-11-05 15:34:15] local.INFO: Packet analysis {"connection_id":229791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab28"} 
[2026-11-05 15:34:15] local.INFO: Extracted packet for processing {"connection_id":229791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab28"} 
[2026-11-05 15:34:15] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231394816001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793872937000,"timestamp_ms":1793872937000,"timestamp_seconds":1793872937,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab28c028"} 
[2026-11-05 15: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-05 15:34: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-05 15:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 15:34:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15: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-05 15: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-05 15:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231394816001,"66":25343,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231394816001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:34:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:34:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231394816001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":229791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:34:15] local.INFO: GPS data processed {"connection_id":229791,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:34:15] local.INFO: Acknowledgment sent {"connection_id":229791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:34:21] local.INFO: TCP Data received {"connection_id":231640,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab29f4c0012d0b8600070352000016004928..."} 
[2026-11-05 15:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab29f4c0012d0b8600070352000016004928..."} 
[2026-11-05 15:34:21] local.INFO: Processing buffer {"connection_id":231640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab29f4c0012d0b8600070352000016004928..."} 
[2026-11-05 15:34:21] local.INFO: Packet analysis {"connection_id":231640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab29"} 
[2026-11-05 15:34:21] local.INFO: Extracted packet for processing {"connection_id":231640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab29"} 
[2026-11-05 15:34:21] local.INFO: GPS Element Parsed {"raw_longitude":755729920,"raw_latitude":117658112,"longitude_deg":75.572992,"latitude_deg":11.7658112,"altitude":22,"angle":73,"satellites":40,"speed":12,"hex_longitude":"2d0b8600","hex_latitude":"07035200","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231491840001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39450511564341248,"note":"Value kept but may cause issues"} 
[2026-11-05 15:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":829999367695986688,"note":"Value kept but may cause issues"} 
[2026-11-05 15:34: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-05 15:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793873016000,"timestamp_ms":1793873016000,"timestamp_seconds":1793873016,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab29f4c0"} 
[2026-11-05 15: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-05 15:34: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-05 15: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-05 15:34: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-05 15: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-05 15: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-05 15:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":231640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":231640,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":231640,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231491840001,"66":14396,"17":206,"94":11008,"24":12,"16":39450511564341248,"45":829999367695986688},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 15:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231491840001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:34:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 15:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39450511564341248,"km_value":39450511564341.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":829999367695986688,"description":"Unknown IO ID 45"} 
[2026-11-05 15:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231491840001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":829999367695986688}} 
[2026-11-05 15:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":231640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63710,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:34:21] local.INFO: GPS data processed {"connection_id":231640,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:34:21] local.INFO: Acknowledgment sent {"connection_id":231640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:34:29] local.INFO: TCP Data received {"connection_id":233554,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233554,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:34:29] local.INFO: Processing buffer {"connection_id":233554,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:34:29] local.INFO: IMEI packet received {"connection_id":233554,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":233554,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:34:32] local.INFO: TCP Data received {"connection_id":233554,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233554,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:34:32] local.INFO: Processing buffer {"connection_id":233554,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:34:32] local.INFO: IMEI packet received {"connection_id":233554,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":233554,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:34:32] local.INFO: TCP Data received {"connection_id":233554,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233554,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:34:32] local.INFO: Processing buffer {"connection_id":233554,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:34:32] local.INFO: IMEI packet received {"connection_id":233554,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":233554,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:34:39] local.INFO: TCP Data received {"connection_id":233554,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233554,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:34:39] local.INFO: Processing buffer {"connection_id":233554,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:34:39] local.INFO: IMEI packet received {"connection_id":233554,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":233554,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:34:40] local.INFO: TCP Data received {"connection_id":233554,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab29f8a8012d0b8740070352100017005e28..."} 
[2026-11-05 15:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab29f8a8012d0b8740070352100017005e28..."} 
[2026-11-05 15:34:40] local.INFO: Processing buffer {"connection_id":233554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab29f8a8012d0b8740070352100017005e28..."} 
[2026-11-05 15:34:40] local.INFO: Packet analysis {"connection_id":233554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab29"} 
[2026-11-05 15:34:40] local.INFO: Extracted packet for processing {"connection_id":233554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab29"} 
[2026-11-05 15:34:40] local.INFO: GPS Element Parsed {"raw_longitude":755730240,"raw_latitude":117658128,"longitude_deg":75.573024,"latitude_deg":11.7658128,"altitude":23,"angle":94,"satellites":40,"speed":13,"hex_longitude":"2d0b8740","hex_latitude":"07035210","is_valid_coordinates":true} 
[2026-11-05 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-05 15:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231492096001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39450524449243136,"note":"Value kept but may cause issues"} 
[2026-11-05 15:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830351211416911872,"note":"Value kept but may cause issues"} 
[2026-11-05 15:34:40] 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-05 15:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793873017000,"timestamp_ms":1793873017000,"timestamp_seconds":1793873017,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab29f8a8"} 
[2026-11-05 15:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 15:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-05 15:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233554,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233554,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231492096001,"66":14396,"17":206,"94":11008,"24":13,"16":39450524449243136,"45":830351211416911872},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 15:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231492096001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:34:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 15:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39450524449243136,"km_value":39450524449243.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":830351211416911872,"description":"Unknown IO ID 45"} 
[2026-11-05 15:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231492096001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":830351211416911872}} 
[2026-11-05 15:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":233554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63711,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:34:40] local.INFO: GPS data processed {"connection_id":233554,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:34:40] local.INFO: Acknowledgment sent {"connection_id":233554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:34:46] local.INFO: TCP Data received {"connection_id":229791,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab28c028012d7fa60005afe2e80002011028..."} 
[2026-11-05 15:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab28c028012d7fa60005afe2e80002011028..."} 
[2026-11-05 15:34:46] local.INFO: Processing buffer {"connection_id":229791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab28c028012d7fa60005afe2e80002011028..."} 
[2026-11-05 15:34:46] local.INFO: Packet analysis {"connection_id":229791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab28"} 
[2026-11-05 15:34:46] local.INFO: Extracted packet for processing {"connection_id":229791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab28"} 
[2026-11-05 15:34:46] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231394816001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793872937000,"timestamp_ms":1793872937000,"timestamp_seconds":1793872937,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab28c028"} 
[2026-11-05 15: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-05 15:34: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-05 15:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 15:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15: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-05 15: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-05 15:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231394816001,"66":25343,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231394816001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:34:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:34:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231394816001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":229791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:34:46] local.INFO: GPS data processed {"connection_id":229791,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:34:46] local.INFO: Acknowledgment sent {"connection_id":229791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:34:46] local.INFO: TCP Data received {"connection_id":231641,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:34:46] local.INFO: Processing buffer {"connection_id":231641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:34:46] local.INFO: Packet analysis {"connection_id":231641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2a"} 
[2026-11-05 15:34:46] local.INFO: Extracted packet for processing {"connection_id":231641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2a"} 
[2026-11-05 15:34:46] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231422464001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793873045000,"timestamp_ms":1793873045000,"timestamp_seconds":1793873045,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2a6608"} 
[2026-11-05 15: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-05 15:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-11-05 15:34:46] 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-05 15: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-05 15: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-05 15:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":231641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":231641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":231641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231422464001,"66":26430,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231422464001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:34:46] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:34:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231422464001,"power":26430,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":231641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63713,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:34:47] local.INFO: GPS data processed {"connection_id":231641,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:34:47] local.INFO: Acknowledgment sent {"connection_id":231641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:35:03] local.INFO: TCP Data received {"connection_id":233555,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:35:03] local.INFO: Processing buffer {"connection_id":233555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:35:03] local.INFO: IMEI packet received {"connection_id":233555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":233555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:35:09] local.INFO: TCP Data received {"connection_id":233555,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:35:09] local.INFO: Processing buffer {"connection_id":233555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:35:09] local.INFO: IMEI packet received {"connection_id":233555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":233555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:35:10] local.INFO: TCP Data received {"connection_id":233555,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab28c028012d7fa60005afe2e80002011028..."} 
[2026-11-05 15:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab28c028012d7fa60005afe2e80002011028..."} 
[2026-11-05 15:35:10] local.INFO: Processing buffer {"connection_id":233555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab28c028012d7fa60005afe2e80002011028..."} 
[2026-11-05 15:35:10] local.INFO: Packet analysis {"connection_id":233555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab28"} 
[2026-11-05 15:35:10] local.INFO: Extracted packet for processing {"connection_id":233555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab28"} 
[2026-11-05 15:35:10] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231394816001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793872937000,"timestamp_ms":1793872937000,"timestamp_seconds":1793872937,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab28c028"} 
[2026-11-05 15:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 15:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231394816001,"66":25343,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231394816001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:35:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231394816001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":233555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:35:10] local.INFO: GPS data processed {"connection_id":233555,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:35:10] local.INFO: Acknowledgment sent {"connection_id":233555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:35:11] local.INFO: TCP Data received {"connection_id":233554,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2a46c8012d0b97c007035120001b005826..."} 
[2026-11-05 15:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2a46c8012d0b97c007035120001b005826..."} 
[2026-11-05 15:35:11] local.INFO: Processing buffer {"connection_id":233554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2a46c8012d0b97c007035120001b005826..."} 
[2026-11-05 15:35:11] local.INFO: Packet analysis {"connection_id":233554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2a"} 
[2026-11-05 15:35:11] local.INFO: Extracted packet for processing {"connection_id":233554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2a"} 
[2026-11-05 15:35:11] local.INFO: GPS Element Parsed {"raw_longitude":755734464,"raw_latitude":117657888,"longitude_deg":75.5734464,"latitude_deg":11.7657888,"altitude":27,"angle":88,"satellites":38,"speed":0,"hex_longitude":"2d0b97c0","hex_latitude":"07035120","is_valid_coordinates":true} 
[2026-11-05 15:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231492352001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39450730607673344,"note":"Value kept but may cause issues"} 
[2026-11-05 15:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830703055137804288,"note":"Value kept but may cause issues"} 
[2026-11-05 15:35:11] 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-05 15:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793873037000,"timestamp_ms":1793873037000,"timestamp_seconds":1793873037,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2a46c8"} 
[2026-11-05 15: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-05 15:35:11] 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-05 15: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-05 15:35:11] 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-05 15: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-05 15: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-05 15:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":233554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":233554,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":233554,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231492352001,"66":14580,"17":206,"94":11008,"24":0,"16":39450730607673344,"45":830703055137804288},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 15:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231492352001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:35:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 15:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39450730607673344,"km_value":39450730607673.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":830703055137804288,"description":"Unknown IO ID 45"} 
[2026-11-05 15:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231492352001,"power":14580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":830703055137804288}} 
[2026-11-05 15:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":233554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63715,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:35:11] local.INFO: GPS data processed {"connection_id":233554,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:35:11] local.INFO: Acknowledgment sent {"connection_id":233554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:35:25] local.INFO: TCP Data received {"connection_id":229792,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229792,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:35:25] local.INFO: Processing buffer {"connection_id":229792,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:35:25] local.INFO: IMEI packet received {"connection_id":229792,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":229792,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:35:30] local.INFO: TCP Data received {"connection_id":229792,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229792,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:35:30] local.INFO: Processing buffer {"connection_id":229792,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:35:30] local.INFO: IMEI packet received {"connection_id":229792,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":229792,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:35:31] local.INFO: TCP Data received {"connection_id":231642,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231642,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:35:31] local.INFO: Processing buffer {"connection_id":231642,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:35:31] local.INFO: IMEI packet received {"connection_id":231642,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":231642,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:35:34] local.INFO: TCP Data received {"connection_id":229792,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:35:34] local.INFO: Processing buffer {"connection_id":229792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:35:34] local.INFO: Packet analysis {"connection_id":229792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2a"} 
[2026-11-05 15:35:34] local.INFO: Extracted packet for processing {"connection_id":229792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2a"} 
[2026-11-05 15:35:34] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231422464001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793873045000,"timestamp_ms":1793873045000,"timestamp_seconds":1793873045,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2a6608"} 
[2026-11-05 15:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-11-05 15:35:34] 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-05 15:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":229792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":229792,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":229792,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231422464001,"66":26430,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231422464001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:35:34] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:35:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231422464001,"power":26430,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":229792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63716,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:35:34] local.INFO: GPS data processed {"connection_id":229792,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:35:34] local.INFO: Acknowledgment sent {"connection_id":229792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:35:36] local.INFO: TCP Data received {"connection_id":231642,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231642,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:35:36] local.INFO: Processing buffer {"connection_id":231642,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:35:36] local.INFO: IMEI packet received {"connection_id":231642,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":231642,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:35:37] local.INFO: TCP Data received {"connection_id":229792,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:35:37] local.INFO: Processing buffer {"connection_id":229792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:35:37] local.INFO: Packet analysis {"connection_id":229792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2a"} 
[2026-11-05 15:35:37] local.INFO: Extracted packet for processing {"connection_id":229792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2a"} 
[2026-11-05 15:35:37] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231422464001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793873045000,"timestamp_ms":1793873045000,"timestamp_seconds":1793873045,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2a6608"} 
[2026-11-05 15: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-05 15:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-11-05 15:35:37] 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-05 15: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-05 15: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-05 15:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":229792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":229792,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":229792,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231422464001,"66":26430,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231422464001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:35:37] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:35:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231422464001,"power":26430,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":229792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63717,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:35:37] local.INFO: GPS data processed {"connection_id":229792,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:35:37] local.INFO: Acknowledgment sent {"connection_id":229792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:35:37] local.INFO: TCP Data received {"connection_id":231642,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2b6fa8012d0be70007035b480015005426..."} 
[2026-11-05 15:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2b6fa8012d0be70007035b480015005426..."} 
[2026-11-05 15:35:37] local.INFO: Processing buffer {"connection_id":231642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2b6fa8012d0be70007035b480015005426..."} 
[2026-11-05 15:35:37] local.INFO: Packet analysis {"connection_id":231642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2b"} 
[2026-11-05 15:35:37] local.INFO: Extracted packet for processing {"connection_id":231642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2b"} 
[2026-11-05 15:35:37] local.INFO: GPS Element Parsed {"raw_longitude":755754752,"raw_latitude":117660488,"longitude_deg":75.5754752,"latitude_deg":11.7660488,"altitude":21,"angle":84,"satellites":38,"speed":17,"hex_longitude":"2d0be700","hex_latitude":"07035b48","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231516672001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39451739924987904,"note":"Value kept but may cause issues"} 
[2026-11-05 15:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":857161702949206016,"note":"Value kept but may cause issues"} 
[2026-11-05 15:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793873113000,"timestamp_ms":1793873113000,"timestamp_seconds":1793873113,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2b6fa8"} 
[2026-11-05 15: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-05 15:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 15:35:37] 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-05 15: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-05 15: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-05 15:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":231642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":231642,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":231642,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231516672001,"66":14515,"37":206,"94":11008,"24":17,"16":39451739924987904,"45":857161702949206016},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 15:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231516672001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:35:37] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 15:35:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 15:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39451739924987904,"km_value":39451739924987.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":857161702949206016,"description":"Unknown IO ID 45"} 
[2026-11-05 15:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231516672001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":857161702949206016}} 
[2026-11-05 15:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":231642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63718,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:35:37] local.INFO: GPS data processed {"connection_id":231642,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:35:37] local.INFO: Acknowledgment sent {"connection_id":231642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:35:41] local.INFO: TCP Data received {"connection_id":233555,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab28c028012d7fa60005afe2e80002011028..."} 
[2026-11-05 15:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab28c028012d7fa60005afe2e80002011028..."} 
[2026-11-05 15:35:41] local.INFO: Processing buffer {"connection_id":233555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab28c028012d7fa60005afe2e80002011028..."} 
[2026-11-05 15:35:41] local.INFO: Packet analysis {"connection_id":233555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab28"} 
[2026-11-05 15:35:41] local.INFO: Extracted packet for processing {"connection_id":233555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab28"} 
[2026-11-05 15:35:41] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231394816001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793872937000,"timestamp_ms":1793872937000,"timestamp_seconds":1793872937,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab28c028"} 
[2026-11-05 15: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-05 15:35: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-05 15:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 15:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15: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-05 15: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-05 15:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:35: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-05 15:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231394816001,"66":25343,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231394816001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:35:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:35:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231394816001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":233555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:35:41] local.INFO: GPS data processed {"connection_id":233555,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:35:41] local.INFO: Acknowledgment sent {"connection_id":233555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:36:06] local.INFO: TCP Data received {"connection_id":229793,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229793,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:36:06] local.INFO: Processing buffer {"connection_id":229793,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:36:06] local.INFO: IMEI packet received {"connection_id":229793,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":229793,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:36:08] local.INFO: TCP Data received {"connection_id":231643,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:36:08] local.INFO: Processing buffer {"connection_id":231643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:36:08] local.INFO: IMEI packet received {"connection_id":231643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":231643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:36:08] local.INFO: TCP Data received {"connection_id":231642,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2c2f10012d0c150007033fc80012005229..."} 
[2026-11-05 15:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2c2f10012d0c150007033fc80012005229..."} 
[2026-11-05 15:36:08] local.INFO: Processing buffer {"connection_id":231642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2c2f10012d0c150007033fc80012005229..."} 
[2026-11-05 15:36:08] local.INFO: Packet analysis {"connection_id":231642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2c"} 
[2026-11-05 15:36:08] local.INFO: Extracted packet for processing {"connection_id":231642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2c"} 
[2026-11-05 15:36:08] local.INFO: GPS Element Parsed {"raw_longitude":755766528,"raw_latitude":117653448,"longitude_deg":75.5766528,"latitude_deg":11.7653448,"altitude":18,"angle":82,"satellites":41,"speed":11,"hex_longitude":"2d0c1500","hex_latitude":"07033fc8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231528704001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39452564558708736,"note":"Value kept but may cause issues"} 
[2026-11-05 15:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":869265126945964032,"note":"Value kept but may cause issues"} 
[2026-11-05 15:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793873162000,"timestamp_ms":1793873162000,"timestamp_seconds":1793873162,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2c2f10"} 
[2026-11-05 15: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-05 15:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-05 15:36:08] 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-05 15: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-05 15: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-05 15:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":231642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":231642,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":231642,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231528704001,"66":14548,"37":206,"94":11008,"24":11,"16":39452564558708736,"45":869265126945964032},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 15:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231528704001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:36:08] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 15:36:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 15:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39452564558708736,"km_value":39452564558708.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":869265126945964032,"description":"Unknown IO ID 45"} 
[2026-11-05 15:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231528704001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":869265126945964032}} 
[2026-11-05 15:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":231642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63720,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:36:09] local.INFO: GPS data processed {"connection_id":231642,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:36:09] local.INFO: Acknowledgment sent {"connection_id":231642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:36:11] local.INFO: TCP Data received {"connection_id":229793,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229793,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:36:11] local.INFO: Processing buffer {"connection_id":229793,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:36:11] local.INFO: IMEI packet received {"connection_id":229793,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":229793,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:36:13] local.INFO: TCP Data received {"connection_id":231643,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:36:13] local.INFO: Processing buffer {"connection_id":231643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:36:13] local.INFO: IMEI packet received {"connection_id":231643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":231643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:36:14] local.INFO: TCP Data received {"connection_id":229793,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:36:14] local.INFO: Processing buffer {"connection_id":229793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:36:14] local.INFO: Packet analysis {"connection_id":229793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2a"} 
[2026-11-05 15:36:14] local.INFO: Extracted packet for processing {"connection_id":229793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2a"} 
[2026-11-05 15:36:14] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231422464001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793873045000,"timestamp_ms":1793873045000,"timestamp_seconds":1793873045,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2a6608"} 
[2026-11-05 15:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-11-05 15:36:14] 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-05 15:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229793,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229793,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231422464001,"66":26430,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231422464001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:36:14] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:36:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231422464001,"power":26430,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":229793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63721,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:36:14] local.INFO: GPS data processed {"connection_id":229793,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:36:14] local.INFO: Acknowledgment sent {"connection_id":229793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:36:14] local.INFO: TCP Data received {"connection_id":231643,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab28c028012d7fa60005afe2e80002011028..."} 
[2026-11-05 15:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab28c028012d7fa60005afe2e80002011028..."} 
[2026-11-05 15:36:14] local.INFO: Processing buffer {"connection_id":231643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab28c028012d7fa60005afe2e80002011028..."} 
[2026-11-05 15:36:14] local.INFO: Packet analysis {"connection_id":231643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab28"} 
[2026-11-05 15:36:14] local.INFO: Extracted packet for processing {"connection_id":231643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab28"} 
[2026-11-05 15:36:14] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231394816001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793872937000,"timestamp_ms":1793872937000,"timestamp_seconds":1793872937,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab28c028"} 
[2026-11-05 15:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:36: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-05 15:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 15:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":231643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":231643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":231643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231394816001,"66":25343,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231394816001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:36:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:36:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231394816001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":231643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:36:14] local.INFO: GPS data processed {"connection_id":231643,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:36:14] local.INFO: Acknowledgment sent {"connection_id":231643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:36:18] local.INFO: TCP Data received {"connection_id":231643,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab28c028012d7fa60005afe2e80002011028..."} 
[2026-11-05 15:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab28c028012d7fa60005afe2e80002011028..."} 
[2026-11-05 15:36:18] local.INFO: Processing buffer {"connection_id":231643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab28c028012d7fa60005afe2e80002011028..."} 
[2026-11-05 15:36:18] local.INFO: Packet analysis {"connection_id":231643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab28"} 
[2026-11-05 15:36:18] local.INFO: Extracted packet for processing {"connection_id":231643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab28"} 
[2026-11-05 15:36:18] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231394816001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793872937000,"timestamp_ms":1793872937000,"timestamp_seconds":1793872937,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab28c028"} 
[2026-11-05 15: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-05 15:36: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-05 15:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 15:36:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15: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-05 15: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-05 15:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":231643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":231643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":231643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:36:18] 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-05 15:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231394816001,"66":25343,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231394816001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:36:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:36:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231394816001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":231643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:36:18] local.INFO: GPS data processed {"connection_id":231643,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:36:18] local.INFO: Acknowledgment sent {"connection_id":231643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:36:31] local.INFO: TCP Data received {"connection_id":230315,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230315,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:36:31] local.INFO: Processing buffer {"connection_id":230315,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:36:31] local.INFO: IMEI packet received {"connection_id":230315,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":230315,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:36:36] local.INFO: TCP Data received {"connection_id":230315,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230315,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:36:37] local.INFO: Processing buffer {"connection_id":230315,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:36:37] local.INFO: IMEI packet received {"connection_id":230315,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":230315,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:36:37] local.INFO: TCP Data received {"connection_id":230315,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2c36e0012d0c1700070340880012003428..."} 
[2026-11-05 15:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2c36e0012d0c1700070340880012003428..."} 
[2026-11-05 15:36:37] local.INFO: Processing buffer {"connection_id":230315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2c36e0012d0c1700070340880012003428..."} 
[2026-11-05 15:36:37] local.INFO: Packet analysis {"connection_id":230315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2c"} 
[2026-11-05 15:36:37] local.INFO: Extracted packet for processing {"connection_id":230315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2c"} 
[2026-11-05 15:36:37] local.INFO: GPS Element Parsed {"raw_longitude":755767040,"raw_latitude":117653640,"longitude_deg":75.576704,"latitude_deg":11.765364,"altitude":18,"angle":52,"satellites":40,"speed":10,"hex_longitude":"2d0c1700","hex_latitude":"07034088","is_valid_coordinates":true} 
[2026-11-05 15:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231529472001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39452590328512512,"note":"Value kept but may cause issues"} 
[2026-11-05 15:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":870602133085341696,"note":"Value kept but may cause issues"} 
[2026-11-05 15:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793873164000,"timestamp_ms":1793873164000,"timestamp_seconds":1793873164,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2c36e0"} 
[2026-11-05 15:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 15:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-05 15:36: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-05 15:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":230315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":230315,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":230315,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231529472001,"66":14450,"37":206,"94":11008,"24":10,"16":39452590328512512,"45":870602133085341696},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 15:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231529472001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:36:37] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 15:36:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 15:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39452590328512512,"km_value":39452590328512.516,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":870602133085341696,"description":"Unknown IO ID 45"} 
[2026-11-05 15:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231529472001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":870602133085341696}} 
[2026-11-05 15:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":230315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63724,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:36:37] local.INFO: GPS data processed {"connection_id":230315,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:36:37] local.INFO: Acknowledgment sent {"connection_id":230315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:36:48] local.INFO: TCP Data received {"connection_id":229793,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:36:48] local.INFO: Processing buffer {"connection_id":229793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:36:48] local.INFO: Packet analysis {"connection_id":229793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2a"} 
[2026-11-05 15:36:48] local.INFO: Extracted packet for processing {"connection_id":229793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2a"} 
[2026-11-05 15:36:48] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231422464001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793873045000,"timestamp_ms":1793873045000,"timestamp_seconds":1793873045,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2a6608"} 
[2026-11-05 15: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-05 15:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-11-05 15:36:48] 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-05 15: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-05 15: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-05 15:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229793,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229793,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231422464001,"66":26430,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231422464001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:36:48] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:36:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231422464001,"power":26430,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":229793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63725,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:36:48] local.INFO: GPS data processed {"connection_id":229793,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:36:48] local.INFO: Acknowledgment sent {"connection_id":229793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:37:03] local.INFO: TCP Data received {"connection_id":233556,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:37:03] local.INFO: Processing buffer {"connection_id":233556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:37:03] local.INFO: IMEI packet received {"connection_id":233556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":233556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:37:05] local.INFO: TCP Data received {"connection_id":229794,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:37:05] local.INFO: Processing buffer {"connection_id":229794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:37:05] local.INFO: IMEI packet received {"connection_id":229794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":229794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:37:08] local.INFO: TCP Data received {"connection_id":233556,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:37:08] local.INFO: Processing buffer {"connection_id":233556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:37:08] local.INFO: IMEI packet received {"connection_id":233556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":233556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:37:09] local.INFO: TCP Data received {"connection_id":230315,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2d0200012d0c390007035fa80017002029..."} 
[2026-11-05 15:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2d0200012d0c390007035fa80017002029..."} 
[2026-11-05 15:37:09] local.INFO: Processing buffer {"connection_id":230315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2d0200012d0c390007035fa80017002029..."} 
[2026-11-05 15:37:09] local.INFO: Packet analysis {"connection_id":230315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2d"} 
[2026-11-05 15:37:09] local.INFO: Extracted packet for processing {"connection_id":230315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2d"} 
[2026-11-05 15:37:09] local.INFO: GPS Element Parsed {"raw_longitude":755775744,"raw_latitude":117661608,"longitude_deg":75.5775744,"latitude_deg":11.7661608,"altitude":23,"angle":32,"satellites":41,"speed":8,"hex_longitude":"2d0c3900","hex_latitude":"07035fa8","is_valid_coordinates":true} 
[2026-11-05 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-05 15:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231543040001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39453247458508800,"note":"Value kept but may cause issues"} 
[2026-11-05 15:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880664863504791552,"note":"Value kept but may cause issues"} 
[2026-11-05 15:37:09] 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-05 15:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793873216000,"timestamp_ms":1793873216000,"timestamp_seconds":1793873216,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2d0200"} 
[2026-11-05 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-05 15:37: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-05 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-05 15:37:09] 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-05 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-05 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-05 15:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230315,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230315,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231543040001,"66":14537,"37":206,"94":11008,"24":8,"16":39453247458508800,"45":880664863504791552},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 15:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231543040001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:37:09] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 15:37:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 15:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39453247458508800,"km_value":39453247458508.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":880664863504791552,"description":"Unknown IO ID 45"} 
[2026-11-05 15:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231543040001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":880664863504791552}} 
[2026-11-05 15:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":230315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63726,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:37:09] local.INFO: GPS data processed {"connection_id":230315,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:37:09] local.INFO: Acknowledgment sent {"connection_id":230315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:37:11] local.INFO: TCP Data received {"connection_id":229794,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:37:11] local.INFO: Processing buffer {"connection_id":229794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:37:11] local.INFO: IMEI packet received {"connection_id":229794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":229794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:37:14] local.INFO: TCP Data received {"connection_id":233556,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab28c028012d7fa60005afe2e80002011028..."} 
[2026-11-05 15:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab28c028012d7fa60005afe2e80002011028..."} 
[2026-11-05 15:37:14] local.INFO: Processing buffer {"connection_id":233556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab28c028012d7fa60005afe2e80002011028..."} 
[2026-11-05 15:37:14] local.INFO: Packet analysis {"connection_id":233556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab28"} 
[2026-11-05 15:37:14] local.INFO: Extracted packet for processing {"connection_id":233556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab28"} 
[2026-11-05 15:37:14] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231394816001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793872937000,"timestamp_ms":1793872937000,"timestamp_seconds":1793872937,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab28c028"} 
[2026-11-05 15:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:37: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-05 15:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 15:37:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:37:14] 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-05 15:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231394816001,"66":25343,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231394816001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:37:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:37:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231394816001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":233556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:37:14] local.INFO: GPS data processed {"connection_id":233556,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:37:14] local.INFO: Acknowledgment sent {"connection_id":233556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:37:14] local.INFO: TCP Data received {"connection_id":229794,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:37:14] local.INFO: Processing buffer {"connection_id":229794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:37:14] local.INFO: Packet analysis {"connection_id":229794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2a"} 
[2026-11-05 15:37:14] local.INFO: Extracted packet for processing {"connection_id":229794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2a"} 
[2026-11-05 15:37:14] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231422464001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793873045000,"timestamp_ms":1793873045000,"timestamp_seconds":1793873045,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2a6608"} 
[2026-11-05 15:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:37:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-11-05 15:37:14] 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-05 15:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231422464001,"66":26430,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231422464001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:37:14] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:37:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231422464001,"power":26430,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":229794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63728,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:37:14] local.INFO: GPS data processed {"connection_id":229794,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:37:14] local.INFO: Acknowledgment sent {"connection_id":229794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:37:37] local.INFO: TCP Data received {"connection_id":231644,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231644,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:37:37] local.INFO: Processing buffer {"connection_id":231644,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:37:37] local.INFO: IMEI packet received {"connection_id":231644,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":231644,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:37:42] local.INFO: TCP Data received {"connection_id":231644,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231644,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:37:42] local.INFO: Processing buffer {"connection_id":231644,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:37:42] local.INFO: IMEI packet received {"connection_id":231644,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":231644,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:37:43] local.INFO: TCP Data received {"connection_id":231644,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2d05e8012d0c39c0070360400017003429..."} 
[2026-11-05 15:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2d05e8012d0c39c0070360400017003429..."} 
[2026-11-05 15:37:43] local.INFO: Processing buffer {"connection_id":231644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2d05e8012d0c39c0070360400017003429..."} 
[2026-11-05 15:37:43] local.INFO: Packet analysis {"connection_id":231644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2d"} 
[2026-11-05 15:37:43] local.INFO: Extracted packet for processing {"connection_id":231644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2d"} 
[2026-11-05 15:37:43] local.INFO: GPS Element Parsed {"raw_longitude":755775936,"raw_latitude":117661760,"longitude_deg":75.5775936,"latitude_deg":11.766176,"altitude":23,"angle":52,"satellites":41,"speed":8,"hex_longitude":"2d0c39c0","hex_latitude":"07036040","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231543296001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39453256048443392,"note":"Value kept but may cause issues"} 
[2026-11-05 15:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880735232249014272,"note":"Value kept but may cause issues"} 
[2026-11-05 15:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793873217000,"timestamp_ms":1793873217000,"timestamp_seconds":1793873217,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2d05e8"} 
[2026-11-05 15: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-05 15:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-05 15:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15: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-05 15: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-05 15:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231644,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231644,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231543296001,"66":14537,"37":206,"94":11008,"24":8,"16":39453256048443392,"45":880735232249014272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 15:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231543296001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:37:43] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 15:37:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 15:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39453256048443392,"km_value":39453256048443.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":880735232249014272,"description":"Unknown IO ID 45"} 
[2026-11-05 15:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231543296001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":880735232249014272}} 
[2026-11-05 15:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":231644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63729,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:37:43] local.INFO: GPS data processed {"connection_id":231644,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:37:43] local.INFO: Acknowledgment sent {"connection_id":231644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:37:45] local.INFO: TCP Data received {"connection_id":233556,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab28c028012d7fa60005afe2e80002011028..."} 
[2026-11-05 15:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab28c028012d7fa60005afe2e80002011028..."} 
[2026-11-05 15:37:45] local.INFO: Processing buffer {"connection_id":233556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab28c028012d7fa60005afe2e80002011028..."} 
[2026-11-05 15:37:45] local.INFO: Packet analysis {"connection_id":233556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab28"} 
[2026-11-05 15:37:45] local.INFO: Extracted packet for processing {"connection_id":233556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab28"} 
[2026-11-05 15:37:45] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231394816001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793872937000,"timestamp_ms":1793872937000,"timestamp_seconds":1793872937,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab28c028"} 
[2026-11-05 15: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-05 15:37: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-05 15:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 15:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15: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-05 15: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-05 15:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":233556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":233556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":233556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231394816001,"66":25343,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231394816001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:37:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:37:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231394816001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":233556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:37:45] local.INFO: GPS data processed {"connection_id":233556,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:37:45] local.INFO: Acknowledgment sent {"connection_id":233556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:37:47] local.INFO: TCP Data received {"connection_id":229794,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:37:47] local.INFO: Processing buffer {"connection_id":229794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:37:47] local.INFO: Packet analysis {"connection_id":229794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2a"} 
[2026-11-05 15:37:47] local.INFO: Extracted packet for processing {"connection_id":229794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2a"} 
[2026-11-05 15:37:47] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231422464001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793873045000,"timestamp_ms":1793873045000,"timestamp_seconds":1793873045,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2a6608"} 
[2026-11-05 15: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-05 15:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":57,"data_length":795,"current_offset":136} 
[2026-11-05 15:37:47] 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-05 15: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-05 15: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-05 15:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231422464001,"66":26430,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231422464001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:37:47] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:37:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231422464001,"power":26430,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":229794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63731,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:37:48] local.INFO: GPS data processed {"connection_id":229794,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:37:48] local.INFO: Acknowledgment sent {"connection_id":229794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:37:49] local.INFO: TCP Data received {"connection_id":231644,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2d09d0012d0c3a80070360a00017004129..."} 
[2026-11-05 15:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2d09d0012d0c3a80070360a00017004129..."} 
[2026-11-05 15:37:49] local.INFO: Processing buffer {"connection_id":231644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2d09d0012d0c3a80070360a00017004129..."} 
[2026-11-05 15:37:49] local.INFO: Packet analysis {"connection_id":231644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2d"} 
[2026-11-05 15:37:49] local.INFO: Extracted packet for processing {"connection_id":231644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2d"} 
[2026-11-05 15:37:49] local.INFO: GPS Element Parsed {"raw_longitude":755776128,"raw_latitude":117661856,"longitude_deg":75.5776128,"latitude_deg":11.7661856,"altitude":23,"angle":65,"satellites":41,"speed":7,"hex_longitude":"2d0c3a80","hex_latitude":"070360a0","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231543552001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39453268933345280,"note":"Value kept but may cause issues"} 
[2026-11-05 15:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880946338481586176,"note":"Value kept but may cause issues"} 
[2026-11-05 15:37: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-05 15:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793873218000,"timestamp_ms":1793873218000,"timestamp_seconds":1793873218,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2d09d0"} 
[2026-11-05 15: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-05 15:37: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-05 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-05 15:37: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-05 15: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-05 15: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-05 15:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":231644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":231644,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":231644,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231543552001,"66":14439,"37":206,"94":11008,"24":7,"16":39453268933345280,"45":880946338481586176},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 15:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231543552001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:37:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 15:37:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 15:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39453268933345280,"km_value":39453268933345.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":880946338481586176,"description":"Unknown IO ID 45"} 
[2026-11-05 15:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231543552001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":880946338481586176}} 
[2026-11-05 15:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":231644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63732,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:37:49] local.INFO: GPS data processed {"connection_id":231644,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:37:49] local.INFO: Acknowledgment sent {"connection_id":231644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:38:03] local.INFO: TCP Data received {"connection_id":231645,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:38:03] local.INFO: Processing buffer {"connection_id":231645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:38:03] local.INFO: IMEI packet received {"connection_id":231645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":231645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:38:11] local.INFO: TCP Data received {"connection_id":233557,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233557,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:38:11] local.INFO: Processing buffer {"connection_id":233557,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:38:11] local.INFO: IMEI packet received {"connection_id":233557,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":233557,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:38:11] local.INFO: TCP Data received {"connection_id":231645,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:38:11] local.INFO: Processing buffer {"connection_id":231645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:38:11] local.INFO: IMEI packet received {"connection_id":231645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":231645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:38:12] local.INFO: TCP Data received {"connection_id":231645,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2d57f0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2d57f0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:38:12] local.INFO: Processing buffer {"connection_id":231645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2d57f0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:38:12] local.INFO: Packet analysis {"connection_id":231645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2d"} 
[2026-11-05 15:38:12] local.INFO: Extracted packet for processing {"connection_id":231645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2d"} 
[2026-11-05 15:38:12] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231471872001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793873238000,"timestamp_ms":1793873238000,"timestamp_seconds":1793873238,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2d57f0"} 
[2026-11-05 15: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-05 15: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-05 15: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":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:38: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-05 15: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-05 15: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-05 15:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231471872001,"66":25321,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231471872001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:38:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:38:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231471872001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":231645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:38:12] local.INFO: GPS data processed {"connection_id":231645,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:38:12] local.INFO: Acknowledgment sent {"connection_id":231645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:38:16] local.INFO: TCP Data received {"connection_id":233557,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233557,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:38:16] local.INFO: Processing buffer {"connection_id":233557,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:38:16] local.INFO: IMEI packet received {"connection_id":233557,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":233557,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:38:19] local.INFO: TCP Data received {"connection_id":233557,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:38:19] local.INFO: Processing buffer {"connection_id":233557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:38:19] local.INFO: Packet analysis {"connection_id":233557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2a"} 
[2026-11-05 15:38:19] local.INFO: Extracted packet for processing {"connection_id":233557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2a"} 
[2026-11-05 15:38:19] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231422464001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793873045000,"timestamp_ms":1793873045000,"timestamp_seconds":1793873045,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2a6608"} 
[2026-11-05 15: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-05 15:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":57,"data_length":795,"current_offset":136} 
[2026-11-05 15:38:19] 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-05 15: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-05 15: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-05 15:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":233557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":233557,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":233557,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231422464001,"66":26430,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231422464001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:38:19] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:38:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231422464001,"power":26430,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":233557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63734,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:38:19] local.INFO: GPS data processed {"connection_id":233557,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:38:19] local.INFO: Acknowledgment sent {"connection_id":233557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:38:23] local.INFO: TCP Data received {"connection_id":233557,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:38:23] local.INFO: Processing buffer {"connection_id":233557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:38:23] local.INFO: Packet analysis {"connection_id":233557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2a"} 
[2026-11-05 15:38:23] local.INFO: Extracted packet for processing {"connection_id":233557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2a"} 
[2026-11-05 15:38:23] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231422464001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793873045000,"timestamp_ms":1793873045000,"timestamp_seconds":1793873045,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2a6608"} 
[2026-11-05 15:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:38:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-11-05 15:38:23] 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-05 15:38:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":233557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":233557,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":233557,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231422464001,"66":26430,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231422464001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:38:23] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:38:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231422464001,"power":26430,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":233557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63735,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:38:23] local.INFO: GPS data processed {"connection_id":233557,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:38:23] local.INFO: Acknowledgment sent {"connection_id":233557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:38:31] local.INFO: TCP Data received {"connection_id":231646,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231646,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:38:31] local.INFO: Processing buffer {"connection_id":231646,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:38:31] local.INFO: IMEI packet received {"connection_id":231646,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":231646,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:38:32] local.INFO: TCP Data received {"connection_id":231646,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231646,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:38:32] local.INFO: Processing buffer {"connection_id":231646,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:38:32] local.INFO: IMEI packet received {"connection_id":231646,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":231646,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:38:33] local.INFO: TCP Data received {"connection_id":231646,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2d5bd8012d0c58c007036c100016004228..."} 
[2026-11-05 15:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2d5bd8012d0c58c007036c100016004228..."} 
[2026-11-05 15:38:33] local.INFO: Processing buffer {"connection_id":231646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2d5bd8012d0c58c007036c100016004228..."} 
[2026-11-05 15:38:33] local.INFO: Packet analysis {"connection_id":231646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2d"} 
[2026-11-05 15:38:33] local.INFO: Extracted packet for processing {"connection_id":231646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2d"} 
[2026-11-05 15:38:33] local.INFO: GPS Element Parsed {"raw_longitude":755783872,"raw_latitude":117664784,"longitude_deg":75.5783872,"latitude_deg":11.7664784,"altitude":22,"angle":66,"satellites":40,"speed":19,"hex_longitude":"2d0c58c0","hex_latitude":"07036c10","is_valid_coordinates":true} 
[2026-11-05 15:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231543808001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39453659775369216,"note":"Value kept but may cause issues"} 
[2026-11-05 15:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881157444714143744,"note":"Value kept but may cause issues"} 
[2026-11-05 15:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1793873239000,"timestamp_ms":1793873239000,"timestamp_seconds":1793873239,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2d5bd8"} 
[2026-11-05 15:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:38: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-05 15:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-05 15:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":231646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":231646,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":231646,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231543808001,"66":14439,"37":206,"94":11008,"24":19,"16":39453659775369216,"45":881157444714143744},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 15:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231543808001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:38:33] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 15:38:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 15:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39453659775369216,"km_value":39453659775369.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":881157444714143744,"description":"Unknown IO ID 45"} 
[2026-11-05 15:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231543808001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":881157444714143744}} 
[2026-11-05 15:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":231646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63736,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:38:33] local.INFO: GPS data processed {"connection_id":231646,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:38:33] local.INFO: Acknowledgment sent {"connection_id":231646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:38:43] local.INFO: TCP Data received {"connection_id":231645,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2d57f0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2d57f0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:38:43] local.INFO: Processing buffer {"connection_id":231645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2d57f0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:38:43] local.INFO: Packet analysis {"connection_id":231645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2d"} 
[2026-11-05 15:38:43] local.INFO: Extracted packet for processing {"connection_id":231645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2d"} 
[2026-11-05 15:38:43] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231471872001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793873238000,"timestamp_ms":1793873238000,"timestamp_seconds":1793873238,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2d57f0"} 
[2026-11-05 15: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-05 15: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-05 15: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-05 15: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-05 15: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-05 15: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-05 15:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:38:43] local.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-05 15:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231471872001,"66":25321,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231471872001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:38:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:38:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231471872001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":231645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:38:43] local.INFO: GPS data processed {"connection_id":231645,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:38:43] local.INFO: Acknowledgment sent {"connection_id":231645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:39:05] local.INFO: TCP Data received {"connection_id":231646,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2edaa8012d0c6d400703dd70001a014426..."} 
[2026-11-05 15:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2edaa8012d0c6d400703dd70001a014426..."} 
[2026-11-05 15:39:05] local.INFO: Processing buffer {"connection_id":231646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2edaa8012d0c6d400703dd70001a014426..."} 
[2026-11-05 15:39:05] local.INFO: Packet analysis {"connection_id":231646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2e"} 
[2026-11-05 15:39:05] local.INFO: Extracted packet for processing {"connection_id":231646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2e"} 
[2026-11-05 15:39:05] local.INFO: GPS Element Parsed {"raw_longitude":755789120,"raw_latitude":117693808,"longitude_deg":75.578912,"latitude_deg":11.7693808,"altitude":26,"angle":324,"satellites":38,"speed":10,"hex_longitude":"2d0c6d40","hex_latitude":"0703dd70","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231573760001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39455167308890112,"note":"Value kept but may cause issues"} 
[2026-11-05 15:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895653406022772736,"note":"Value kept but may cause issues"} 
[2026-11-05 15:39:05] 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-05 15:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793873337000,"timestamp_ms":1793873337000,"timestamp_seconds":1793873337,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2edaa8"} 
[2026-11-05 15: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-05 15:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"data_length":795,"current_offset":136} 
[2026-11-05 15:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15: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-05 15: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-05 15:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":231646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":231646,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":231646,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231573760001,"66":13580,"16":39455167308890112,"94":11008,"24":10,"45":895653406022772736},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-05 15:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231573760001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39455167308890112,"km_value":39455167308890.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:39:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 15:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":895653406022772736,"description":"Unknown IO ID 45"} 
[2026-11-05 15:39:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459231573760001,"power":13580,"odometer":null,"unknown_94":11008,"ignition":10,"unknown_45":895653406022772736}} 
[2026-11-05 15:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":231646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63738,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:39:05] local.INFO: GPS data processed {"connection_id":231646,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:39:05] local.INFO: Acknowledgment sent {"connection_id":231646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:39:06] local.INFO: TCP Data received {"connection_id":229795,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229795,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:39:06] local.INFO: Processing buffer {"connection_id":229795,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:39:06] local.INFO: IMEI packet received {"connection_id":229795,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":229795,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:39:08] local.INFO: TCP Data received {"connection_id":231647,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:39:08] local.INFO: Processing buffer {"connection_id":231647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:39:08] local.INFO: IMEI packet received {"connection_id":231647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":231647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:39:11] local.INFO: TCP Data received {"connection_id":229795,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229795,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:39:11] local.INFO: Processing buffer {"connection_id":229795,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:39:11] local.INFO: IMEI packet received {"connection_id":229795,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":229795,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:39:13] local.INFO: TCP Data received {"connection_id":231647,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:39:13] local.INFO: Processing buffer {"connection_id":231647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:39:13] local.INFO: IMEI packet received {"connection_id":231647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":231647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:39:13] local.INFO: TCP Data received {"connection_id":229795,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:39:13] local.INFO: Processing buffer {"connection_id":229795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:39:13] local.INFO: Packet analysis {"connection_id":229795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2a"} 
[2026-11-05 15:39:13] local.INFO: Extracted packet for processing {"connection_id":229795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2a"} 
[2026-11-05 15:39:13] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231422464001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793873045000,"timestamp_ms":1793873045000,"timestamp_seconds":1793873045,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2a6608"} 
[2026-11-05 15: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-05 15:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-11-05 15:39: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-05 15: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-05 15: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-05 15:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231422464001,"66":26430,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231422464001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:39:13] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:39:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231422464001,"power":26430,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":229795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63739,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:39:13] local.INFO: GPS data processed {"connection_id":229795,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:39:13] local.INFO: Acknowledgment sent {"connection_id":229795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:39:14] local.INFO: TCP Data received {"connection_id":231647,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2d57f0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2d57f0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:39:14] local.INFO: Processing buffer {"connection_id":231647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2d57f0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:39:14] local.INFO: Packet analysis {"connection_id":231647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2d"} 
[2026-11-05 15:39:14] local.INFO: Extracted packet for processing {"connection_id":231647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2d"} 
[2026-11-05 15:39:14] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231471872001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793873238000,"timestamp_ms":1793873238000,"timestamp_seconds":1793873238,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2d57f0"} 
[2026-11-05 15: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-05 15:39: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-05 15:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:39:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15: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-05 15: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-05 15:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":231647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":231647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":231647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231471872001,"66":25321,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231471872001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:39:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:39:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231471872001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":231647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:39:14] local.INFO: GPS data processed {"connection_id":231647,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:39:14] local.INFO: Acknowledgment sent {"connection_id":231647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:39:18] local.INFO: TCP Data received {"connection_id":229795,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:39:18] local.INFO: Processing buffer {"connection_id":229795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2a6608012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:39:18] local.INFO: Packet analysis {"connection_id":229795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2a"} 
[2026-11-05 15:39:18] local.INFO: Extracted packet for processing {"connection_id":229795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2a"} 
[2026-11-05 15:39:18] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231422464001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793873045000,"timestamp_ms":1793873045000,"timestamp_seconds":1793873045,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2a6608"} 
[2026-11-05 15: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-05 15:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-11-05 15:39: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-05 15: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-05 15: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-05 15:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231422464001,"66":26430,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231422464001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:39:18] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:39:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231422464001,"power":26430,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":229795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63741,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:39:18] local.INFO: GPS data processed {"connection_id":229795,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:39:18] local.INFO: Acknowledgment sent {"connection_id":229795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:39:19] local.INFO: TCP Data received {"connection_id":231647,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2d57f0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2d57f0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:39:19] local.INFO: Processing buffer {"connection_id":231647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2d57f0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:39:19] local.INFO: Packet analysis {"connection_id":231647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2d"} 
[2026-11-05 15:39:19] local.INFO: Extracted packet for processing {"connection_id":231647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2d"} 
[2026-11-05 15:39:19] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 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-05 15:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231471872001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793873238000,"timestamp_ms":1793873238000,"timestamp_seconds":1793873238,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2d57f0"} 
[2026-11-05 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-05 15:39: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-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 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-05 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-05 15:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":231647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":231647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":231647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:39:19] 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-05 15:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231471872001,"66":25321,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231471872001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:39:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:39:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231471872001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":231647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:39:19] local.INFO: GPS data processed {"connection_id":231647,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:39:19] local.INFO: Acknowledgment sent {"connection_id":231647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:39:31] local.INFO: TCP Data received {"connection_id":233558,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233558,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:39:31] local.INFO: Processing buffer {"connection_id":233558,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:39:31] local.INFO: IMEI packet received {"connection_id":233558,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":233558,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:39:35] local.INFO: TCP Data received {"connection_id":233558,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233558,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:39:35] local.INFO: Processing buffer {"connection_id":233558,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:39:35] local.INFO: IMEI packet received {"connection_id":233558,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":233558,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:39:37] local.INFO: TCP Data received {"connection_id":233558,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2ede90012d0c6c800703de00001a012b26..."} 
[2026-11-05 15:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2ede90012d0c6c800703de00001a012b26..."} 
[2026-11-05 15:39:37] local.INFO: Processing buffer {"connection_id":233558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2ede90012d0c6c800703de00001a012b26..."} 
[2026-11-05 15:39:37] local.INFO: Packet analysis {"connection_id":233558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2e"} 
[2026-11-05 15:39:37] local.INFO: Extracted packet for processing {"connection_id":233558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2e"} 
[2026-11-05 15:39:37] local.INFO: GPS Element Parsed {"raw_longitude":755788928,"raw_latitude":117693952,"longitude_deg":75.5788928,"latitude_deg":11.7693952,"altitude":26,"angle":299,"satellites":38,"speed":8,"hex_longitude":"2d0c6c80","hex_latitude":"0703de00","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231574272001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39455175898824704,"note":"Value kept but may cause issues"} 
[2026-11-05 15:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895442299790389248,"note":"Value kept but may cause issues"} 
[2026-11-05 15:39:37] 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-05 15:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793873338000,"timestamp_ms":1793873338000,"timestamp_seconds":1793873338,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2ede90"} 
[2026-11-05 15: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-05 15:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 15: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-11-05 15:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751549483,"note":"Value kept but may cause issues"} 
[2026-11-05 15:39:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-11-05 15:39:37] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2871907568,"note":"Value kept but may cause issues"} 
[2026-11-05 15:39:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-11-05 15:39:37] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755472455631089,"note":"Value kept but may cause issues"} 
[2026-11-05 15:39:37] local.WARNING: Large IO value detected {"io_id":3,"raw_value":2995781658,"note":"Value kept but may cause issues"} 
[2026-11-05 15:39:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639363509148453,"note":"Value kept but may cause issues"} 
[2026-11-05 15:39:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1529151694,"corrected_to":0} 
[2026-11-05 15:39:37] local.WARNING: Large IO value detected {"io_id":100,"raw_value":2147943319,"note":"Value kept but may cause issues"} 
[2026-11-05 15:39:37] local.WARNING: Large IO value detected {"io_id":56,"raw_value":9007425046087519838,"note":"Value kept but may cause issues"} 
[2026-11-05 15:39:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-11-05 15:39:37] local.WARNING: Large IO value detected {"io_id":12,"raw_value":7151723920173301784,"note":"Value kept but may cause issues"} 
[2026-11-05 15:39:37] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,16,94,24,241,157,44,161,210,45,219,26,38,10,66,167,128,199,28,37,136,192,1,240,179,227,43,171,3,4,113,205,35,100,152,40,239,56,2,140,7,6,12],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1529151694,"validated":0}]} 
[2026-11-05 15:39:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1873853849962938368,"timestamp_seconds":1873853849962938.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-11-05 15: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-05 15:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":233558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":233558,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":233558,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231574272001,"66":13580,"16":39455175898824704,"94":11008,"24":8,"45":895442299790389248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-05 15:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231574272001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39455175898824704,"km_value":39455175898824.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:39:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 15:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":895442299790389248,"description":"Unknown IO ID 45"} 
[2026-11-05 15:39:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459231574272001,"power":13580,"odometer":null,"unknown_94":11008,"ignition":8,"unknown_45":895442299790389248}} 
[2026-11-05 15:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":233558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63743,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:39:37] local.INFO: GPS data processed {"connection_id":233558,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:39:37] local.INFO: Acknowledgment sent {"connection_id":233558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:39:52] local.INFO: TCP Data received {"connection_id":229795,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:39:52] local.INFO: Processing buffer {"connection_id":229795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:39:52] local.INFO: Packet analysis {"connection_id":229795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2e"} 
[2026-11-05 15:39:52] local.INFO: Extracted packet for processing {"connection_id":229795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2e"} 
[2026-11-05 15:39:52] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231499520001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793873346000,"timestamp_ms":1793873346000,"timestamp_seconds":1793873346,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2efdd0"} 
[2026-11-05 15: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-05 15:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-05 15:39:52] 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-05 15: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-05 15: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-05 15:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":229795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":229795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":229795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231499520001,"66":26430,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231499520001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:39:52] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:39:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231499520001,"power":26430,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":229795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63744,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:39:52] local.INFO: GPS data processed {"connection_id":229795,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:39:52] local.INFO: Acknowledgment sent {"connection_id":229795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:40:03] local.INFO: TCP Data received {"connection_id":231648,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:40:03] local.INFO: Processing buffer {"connection_id":231648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:40:03] local.INFO: IMEI packet received {"connection_id":231648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":231648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:40:05] local.INFO: TCP Data received {"connection_id":231649,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231649,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:40:05] local.INFO: Processing buffer {"connection_id":231649,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:40:05] local.INFO: IMEI packet received {"connection_id":231649,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":231649,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:40:08] local.INFO: TCP Data received {"connection_id":233558,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2ee278012d0c6c000703de380019011726..."} 
[2026-11-05 15:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2ee278012d0c6c000703de380019011726..."} 
[2026-11-05 15:40:08] local.INFO: Processing buffer {"connection_id":233558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2ee278012d0c6c000703de380019011726..."} 
[2026-11-05 15:40:08] local.INFO: Packet analysis {"connection_id":233558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2e"} 
[2026-11-05 15:40:08] local.INFO: Extracted packet for processing {"connection_id":233558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2e"} 
[2026-11-05 15:40:08] local.INFO: GPS Element Parsed {"raw_longitude":755788800,"raw_latitude":117694008,"longitude_deg":75.57888,"latitude_deg":11.7694008,"altitude":25,"angle":279,"satellites":38,"speed":6,"hex_longitude":"2d0c6c00","hex_latitude":"0703de38","is_valid_coordinates":true} 
[2026-11-05 15:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231574528001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39455184488759296,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895231193557893120,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:08] 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-05 15:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793873339000,"timestamp_ms":1793873339000,"timestamp_seconds":1793873339,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2ee278"} 
[2026-11-05 15:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 15:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-11-05 15:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751549483,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:08] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2871927568,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:08] local.WARNING: Large IO value detected {"io_id":3,"raw_value":3140485147,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:08] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639831660583717,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2869952718,"corrected_to":0} 
[2026-11-05 15:40:08] local.WARNING: Large IO value detected {"io_id":56,"raw_value":7422157977253105246,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:08] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:08] local.WARNING: Large IO value detected {"io_id":12,"raw_value":7187752717254131736,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:08] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:08] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,16,94,24,241,157,44,161,218,45,64,221,26,38,10,66,210,219,167,128,1,240,201,227,171,3,4,113,205,15,117,107,144,39,239,56,37,2,140,7,23,8,12,43],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2869952718,"validated":0}]} 
[2026-11-05 15:40:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1873826362172112896,"timestamp_seconds":1873826362172113.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-11-05 15:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":233558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":233558,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":233558,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231574528001,"66":13580,"16":39455184488759296,"94":11008,"24":6,"45":895231193557893120},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-05 15:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231574528001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39455184488759296,"km_value":39455184488759.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:40:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 15:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":895231193557893120,"description":"Unknown IO ID 45"} 
[2026-11-05 15:40:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459231574528001,"power":13580,"odometer":null,"unknown_94":11008,"ignition":6,"unknown_45":895231193557893120}} 
[2026-11-05 15:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":233558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63745,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:40:08] local.INFO: GPS data processed {"connection_id":233558,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:40:08] local.INFO: Acknowledgment sent {"connection_id":233558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:40:08] local.INFO: TCP Data received {"connection_id":231648,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:40:08] local.INFO: Processing buffer {"connection_id":231648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:40:08] local.INFO: IMEI packet received {"connection_id":231648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":231648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:40:09] local.INFO: TCP Data received {"connection_id":231648,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2d57f0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2d57f0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:40:09] local.INFO: Processing buffer {"connection_id":231648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2d57f0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:40:09] local.INFO: Packet analysis {"connection_id":231648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2d"} 
[2026-11-05 15:40:09] local.INFO: Extracted packet for processing {"connection_id":231648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2d"} 
[2026-11-05 15:40:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231471872001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793873238000,"timestamp_ms":1793873238000,"timestamp_seconds":1793873238,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2d57f0"} 
[2026-11-05 15:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:40:09] 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-05 15:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231471872001,"66":25321,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231471872001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:40:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:40:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231471872001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":231648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:40:09] local.INFO: GPS data processed {"connection_id":231648,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:40:09] local.INFO: Acknowledgment sent {"connection_id":231648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:40:11] local.INFO: TCP Data received {"connection_id":231649,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231649,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:40:11] local.INFO: Processing buffer {"connection_id":231649,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:40:11] local.INFO: IMEI packet received {"connection_id":231649,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":231649,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:40:14] local.INFO: TCP Data received {"connection_id":231649,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:40:14] local.INFO: Processing buffer {"connection_id":231649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:40:14] local.INFO: Packet analysis {"connection_id":231649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2e"} 
[2026-11-05 15:40:14] local.INFO: Extracted packet for processing {"connection_id":231649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2e"} 
[2026-11-05 15:40:14] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231499520001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793873346000,"timestamp_ms":1793873346000,"timestamp_seconds":1793873346,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2efdd0"} 
[2026-11-05 15: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-05 15:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-05 15:40:14] 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-05 15: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-05 15: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-05 15:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":231649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":231649,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":231649,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231499520001,"66":26430,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231499520001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:40:14] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:40:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231499520001,"power":26430,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":231649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63747,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:40:14] local.INFO: GPS data processed {"connection_id":231649,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:40:14] local.INFO: Acknowledgment sent {"connection_id":231649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:40:31] local.INFO: TCP Data received {"connection_id":229796,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229796,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:40:31] local.INFO: Processing buffer {"connection_id":229796,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:40:31] local.INFO: IMEI packet received {"connection_id":229796,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":229796,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:40:32] local.INFO: TCP Data received {"connection_id":229796,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229796,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:40:32] local.INFO: Processing buffer {"connection_id":229796,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:40:32] local.INFO: IMEI packet received {"connection_id":229796,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":229796,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:40:36] local.INFO: TCP Data received {"connection_id":229796,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229796,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:40:36] local.INFO: Processing buffer {"connection_id":229796,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:40:36] local.INFO: IMEI packet received {"connection_id":229796,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":229796,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:40:37] local.INFO: TCP Data received {"connection_id":229796,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2efdd0012d0c64400703de880017010b28..."} 
[2026-11-05 15:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2efdd0012d0c64400703de880017010b28..."} 
[2026-11-05 15:40:37] local.INFO: Processing buffer {"connection_id":229796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2efdd0012d0c64400703de880017010b28..."} 
[2026-11-05 15:40:37] local.INFO: Packet analysis {"connection_id":229796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2e"} 
[2026-11-05 15:40:37] local.INFO: Extracted packet for processing {"connection_id":229796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2e"} 
[2026-11-05 15:40:37] local.INFO: GPS Element Parsed {"raw_longitude":755786816,"raw_latitude":117694088,"longitude_deg":75.5786816,"latitude_deg":11.7694088,"altitude":23,"angle":267,"satellites":40,"speed":8,"hex_longitude":"2d0c6440","hex_latitude":"0703de88","is_valid_coordinates":true} 
[2026-11-05 15:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231574784001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39455278978039808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895090456069552128,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:37] 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-05 15:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793873346000,"timestamp_ms":1793873346000,"timestamp_seconds":1793873346,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2efdd0"} 
[2026-11-05 15:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 15:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-11-05 15:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751549483,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:37] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2871948568,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:37] local.WARNING: Large IO value detected {"io_id":3,"raw_value":3347578908,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639410753788709,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2869952718,"corrected_to":0} 
[2026-11-05 15:40:37] local.WARNING: Large IO value detected {"io_id":136,"raw_value":2684431628,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:37] local.WARNING: Large IO value detected {"io_id":107,"raw_value":3221685179,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:37] local.WARNING: Large IO value detected {"io_id":56,"raw_value":-3170308346322301346,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:37] local.WARNING: Large IO value detected {"io_id":12,"raw_value":7241795912821374999,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:37] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:37] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,16,94,24,241,157,44,161,222,45,128,26,38,10,66,218,64,221,210,1,240,103,227,171,3,4,113,205,136,107,48,39,239,56,2,140,7,12,43],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2869952718,"validated":0}]} 
[2026-11-05 15:40:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1801746777901498368,"timestamp_seconds":1801746777901498.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-11-05 15:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":229796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":229796,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":229796,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231574784001,"66":14461,"16":39455278978039808,"94":11008,"24":8,"45":895090456069552128},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-05 15:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231574784001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39455278978039808,"km_value":39455278978039.805,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:40:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 15:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":895090456069552128,"description":"Unknown IO ID 45"} 
[2026-11-05 15:40:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459231574784001,"power":14461,"odometer":null,"unknown_94":11008,"ignition":8,"unknown_45":895090456069552128}} 
[2026-11-05 15:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":229796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63748,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:40:37] local.INFO: GPS data processed {"connection_id":229796,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:40:37] local.INFO: Acknowledgment sent {"connection_id":229796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:40:40] local.INFO: TCP Data received {"connection_id":231648,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2d57f0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2d57f0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:40:40] local.INFO: Processing buffer {"connection_id":231648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2d57f0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:40:40] local.INFO: Packet analysis {"connection_id":231648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2d"} 
[2026-11-05 15:40:40] local.INFO: Extracted packet for processing {"connection_id":231648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2d"} 
[2026-11-05 15:40:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231471872001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793873238000,"timestamp_ms":1793873238000,"timestamp_seconds":1793873238,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2d57f0"} 
[2026-11-05 15:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231471872001,"66":25321,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231471872001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:40:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:40:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231471872001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":231648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:40:40] local.INFO: GPS data processed {"connection_id":231648,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:40:40] local.INFO: Acknowledgment sent {"connection_id":231648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:40:46] local.INFO: TCP Data received {"connection_id":231649,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:40:46] local.INFO: Processing buffer {"connection_id":231649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:40:46] local.INFO: Packet analysis {"connection_id":231649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2e"} 
[2026-11-05 15:40:46] local.INFO: Extracted packet for processing {"connection_id":231649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2e"} 
[2026-11-05 15:40:46] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231499520001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793873346000,"timestamp_ms":1793873346000,"timestamp_seconds":1793873346,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2efdd0"} 
[2026-11-05 15: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-05 15:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-05 15:40: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-05 15: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-05 15: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-05 15:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":231649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":231649,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":231649,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231499520001,"66":26430,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231499520001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:40:46] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:40:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231499520001,"power":26430,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":231649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63750,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:40:47] local.INFO: GPS data processed {"connection_id":231649,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:40:47] local.INFO: Acknowledgment sent {"connection_id":231649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:41:03] local.INFO: TCP Data received {"connection_id":233559,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:41:03] local.INFO: Processing buffer {"connection_id":233559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:41:03] local.INFO: IMEI packet received {"connection_id":233559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":233559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:41:08] local.INFO: TCP Data received {"connection_id":233559,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:41:08] local.INFO: Processing buffer {"connection_id":233559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:41:08] local.INFO: IMEI packet received {"connection_id":233559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":233559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:41:08] local.INFO: TCP Data received {"connection_id":229796,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab30a798012d0cb98007047af00015016227..."} 
[2026-11-05 15:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab30a798012d0cb98007047af00015016227..."} 
[2026-11-05 15:41:08] local.INFO: Processing buffer {"connection_id":229796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab30a798012d0cb98007047af00015016227..."} 
[2026-11-05 15:41:08] local.INFO: Packet analysis {"connection_id":229796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab30"} 
[2026-11-05 15:41:08] local.INFO: Extracted packet for processing {"connection_id":229796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab30"} 
[2026-11-05 15:41:08] local.INFO: GPS Element Parsed {"raw_longitude":755808640,"raw_latitude":117734128,"longitude_deg":75.580864,"latitude_deg":11.7734128,"altitude":21,"angle":354,"satellites":39,"speed":31,"hex_longitude":"2d0cb980","hex_latitude":"07047af0","is_valid_coordinates":true} 
[2026-11-05 15:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231602176001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39457877433253888,"note":"Value kept but may cause issues"} 
[2026-11-05 15:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916060341842886656,"note":"Value kept but may cause issues"} 
[2026-11-05 15:41:08] 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-05 15:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793873455000,"timestamp_ms":1793873455000,"timestamp_seconds":1793873455,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab30a798"} 
[2026-11-05 15:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:41: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-05 15:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-05 15:41:08] 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-05 15:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":229796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":229796,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":229796,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231602176001,"66":13961,"16":39457877433253888,"94":11008,"24":31,"45":916060341842886656},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-05 15:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231602176001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39457877433253888,"km_value":39457877433253.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:41:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 15:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":916060341842886656,"description":"Unknown IO ID 45"} 
[2026-11-05 15:41:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459231602176001,"power":13961,"odometer":null,"unknown_94":11008,"ignition":31,"unknown_45":916060341842886656}} 
[2026-11-05 15:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":229796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63751,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:41:09] local.INFO: GPS data processed {"connection_id":229796,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:41:09] local.INFO: Acknowledgment sent {"connection_id":229796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:41:12] local.INFO: TCP Data received {"connection_id":233560,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233560,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:41:12] local.INFO: Processing buffer {"connection_id":233560,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:41:12] local.INFO: IMEI packet received {"connection_id":233560,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":233560,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:41:12] local.INFO: TCP Data received {"connection_id":233560,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233560,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:41:12] local.INFO: Processing buffer {"connection_id":233560,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:41:12] local.INFO: IMEI packet received {"connection_id":233560,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":233560,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:41:16] local.INFO: TCP Data received {"connection_id":233560,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:41:16] local.INFO: Processing buffer {"connection_id":233560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:41:16] local.INFO: Packet analysis {"connection_id":233560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2e"} 
[2026-11-05 15:41:16] local.INFO: Extracted packet for processing {"connection_id":233560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2e"} 
[2026-11-05 15:41:16] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231499520001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:41:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793873346000,"timestamp_ms":1793873346000,"timestamp_seconds":1793873346,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2efdd0"} 
[2026-11-05 15: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-05 15:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":62,"data_length":795,"current_offset":136} 
[2026-11-05 15:41: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-05 15: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-05 15: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-05 15:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":233560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":233560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":233560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231499520001,"66":26430,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231499520001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:41:16] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:41:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231499520001,"power":26430,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":233560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63752,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:41:16] local.INFO: GPS data processed {"connection_id":233560,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:41:16] local.INFO: Acknowledgment sent {"connection_id":233560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:41:20] local.INFO: TCP Data received {"connection_id":233559,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2d57f0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2d57f0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:41:20] local.INFO: Processing buffer {"connection_id":233559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2d57f0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:41:20] local.INFO: Packet analysis {"connection_id":233559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2d"} 
[2026-11-05 15:41:20] local.INFO: Extracted packet for processing {"connection_id":233559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2d"} 
[2026-11-05 15:41:20] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231471872001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793873238000,"timestamp_ms":1793873238000,"timestamp_seconds":1793873238,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2d57f0"} 
[2026-11-05 15: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-05 15:41: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-05 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15: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-05 15: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-05 15:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":233559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":233559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":233559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:41: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-05 15:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231471872001,"66":25321,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231471872001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:41:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:41:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231471872001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":233559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:41:20] local.INFO: GPS data processed {"connection_id":233559,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:41:20] local.INFO: Acknowledgment sent {"connection_id":233559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:41:20] local.INFO: TCP Data received {"connection_id":233560,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:41:20] local.INFO: Processing buffer {"connection_id":233560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:41:20] local.INFO: Packet analysis {"connection_id":233560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2e"} 
[2026-11-05 15:41:20] local.INFO: Extracted packet for processing {"connection_id":233560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2e"} 
[2026-11-05 15:41:20] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231499520001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793873346000,"timestamp_ms":1793873346000,"timestamp_seconds":1793873346,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2efdd0"} 
[2026-11-05 15: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-05 15:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-05 15:41:20] 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-05 15: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-05 15: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-05 15:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":233560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":233560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":233560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231499520001,"66":26430,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231499520001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:41:20] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:41:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231499520001,"power":26430,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":233560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63754,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:41:20] local.INFO: GPS data processed {"connection_id":233560,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:41:20] local.INFO: Acknowledgment sent {"connection_id":233560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:41:31] local.INFO: TCP Data received {"connection_id":231650,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231650,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:41:31] local.INFO: Processing buffer {"connection_id":231650,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:41:31] local.INFO: IMEI packet received {"connection_id":231650,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":231650,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:41:35] local.INFO: TCP Data received {"connection_id":231650,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231650,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:41:35] local.INFO: Processing buffer {"connection_id":231650,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:41:35] local.INFO: IMEI packet received {"connection_id":231650,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":231650,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:41:36] local.INFO: TCP Data received {"connection_id":231650,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab30b738012d0cb780070486d00017015227..."} 
[2026-11-05 15:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab30b738012d0cb780070486d00017015227..."} 
[2026-11-05 15:41:36] local.INFO: Processing buffer {"connection_id":231650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab30b738012d0cb780070486d00017015227..."} 
[2026-11-05 15:41:36] local.INFO: Packet analysis {"connection_id":231650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab30"} 
[2026-11-05 15:41:36] local.INFO: Extracted packet for processing {"connection_id":231650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab30"} 
[2026-11-05 15:41:36] local.INFO: GPS Element Parsed {"raw_longitude":755808128,"raw_latitude":117737168,"longitude_deg":75.5808128,"latitude_deg":11.7737168,"altitude":23,"angle":338,"satellites":39,"speed":30,"hex_longitude":"2d0cb780","hex_latitude":"070486d0","is_valid_coordinates":true} 
[2026-11-05 15:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231604480001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39458027757109248,"note":"Value kept but may cause issues"} 
[2026-11-05 15:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916904766774898688,"note":"Value kept but may cause issues"} 
[2026-11-05 15:41:36] 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-05 15:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1793873459000,"timestamp_ms":1793873459000,"timestamp_seconds":1793873459,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab30b738"} 
[2026-11-05 15:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 15:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-11-05 15:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":231650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":231650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":231650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231604480001,"66":14537,"16":39458027757109248,"94":11008,"24":30,"45":916904766774898688},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-05 15:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231604480001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39458027757109248,"km_value":39458027757109.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:41:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 15:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":916904766774898688,"description":"Unknown IO ID 45"} 
[2026-11-05 15:41:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459231604480001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":30,"unknown_45":916904766774898688}} 
[2026-11-05 15:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":231650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63755,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:41:36] local.INFO: GPS data processed {"connection_id":231650,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:41:36] local.INFO: Acknowledgment sent {"connection_id":231650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:42:03] local.INFO: TCP Data received {"connection_id":231651,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:42:03] local.INFO: Processing buffer {"connection_id":231651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:42:03] local.INFO: IMEI packet received {"connection_id":231651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":231651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:42:05] local.INFO: TCP Data received {"connection_id":229797,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229797,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:42:05] local.INFO: Processing buffer {"connection_id":229797,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:42:05] local.INFO: IMEI packet received {"connection_id":229797,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":229797,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:42:07] local.INFO: TCP Data received {"connection_id":231650,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab30cea8012d0cae80070496200018014627..."} 
[2026-11-05 15:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab30cea8012d0cae80070496200018014627..."} 
[2026-11-05 15:42:07] local.INFO: Processing buffer {"connection_id":231650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab30cea8012d0cae80070496200018014627..."} 
[2026-11-05 15:42:07] local.INFO: Packet analysis {"connection_id":231650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab30"} 
[2026-11-05 15:42:07] local.INFO: Extracted packet for processing {"connection_id":231650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab30"} 
[2026-11-05 15:42:07] local.INFO: GPS Element Parsed {"raw_longitude":755805824,"raw_latitude":117741088,"longitude_deg":75.5805824,"latitude_deg":11.7741088,"altitude":24,"angle":326,"satellites":39,"speed":29,"hex_longitude":"2d0cae80","hex_latitude":"07049620","is_valid_coordinates":true} 
[2026-11-05 15:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231605504001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39458246800441344,"note":"Value kept but may cause issues"} 
[2026-11-05 15:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916341816822255616,"note":"Value kept but may cause issues"} 
[2026-11-05 15:42:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 15:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1793873465000,"timestamp_ms":1793873465000,"timestamp_seconds":1793873465,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab30cea8"} 
[2026-11-05 15:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 15:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-05 15:42:07] 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-05 15:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":231650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":231650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":231650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231605504001,"66":14646,"16":39458246800441344,"94":11008,"24":29,"45":916341816822255616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-05 15:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231605504001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39458246800441344,"km_value":39458246800441.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:42:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 15:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":916341816822255616,"description":"Unknown IO ID 45"} 
[2026-11-05 15:42:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459231605504001,"power":14646,"odometer":null,"unknown_94":11008,"ignition":29,"unknown_45":916341816822255616}} 
[2026-11-05 15:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":231650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63756,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:42:07] local.INFO: GPS data processed {"connection_id":231650,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:42:07] local.INFO: Acknowledgment sent {"connection_id":231650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:42:08] local.INFO: TCP Data received {"connection_id":231651,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:42:08] local.INFO: Processing buffer {"connection_id":231651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:42:08] local.INFO: IMEI packet received {"connection_id":231651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":231651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:42:09] local.INFO: TCP Data received {"connection_id":231651,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2d57f0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2d57f0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:42:09] local.INFO: Processing buffer {"connection_id":231651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2d57f0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:42:09] local.INFO: Packet analysis {"connection_id":231651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2d"} 
[2026-11-05 15:42:09] local.INFO: Extracted packet for processing {"connection_id":231651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2d"} 
[2026-11-05 15:42:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:42: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-05 15:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231471872001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793873238000,"timestamp_ms":1793873238000,"timestamp_seconds":1793873238,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2d57f0"} 
[2026-11-05 15:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:42: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-05 15:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:42:09] 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-05 15:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231471872001,"66":25321,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231471872001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:42:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:42:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231471872001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":231651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:42:09] local.INFO: GPS data processed {"connection_id":231651,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:42:09] local.INFO: Acknowledgment sent {"connection_id":231651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:42:11] local.INFO: TCP Data received {"connection_id":229797,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229797,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:42:11] local.INFO: Processing buffer {"connection_id":229797,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:42:11] local.INFO: IMEI packet received {"connection_id":229797,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":229797,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:42:14] local.INFO: TCP Data received {"connection_id":229797,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:42:14] local.INFO: Processing buffer {"connection_id":229797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:42:14] local.INFO: Packet analysis {"connection_id":229797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2e"} 
[2026-11-05 15:42:14] local.INFO: Extracted packet for processing {"connection_id":229797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2e"} 
[2026-11-05 15:42:14] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231499520001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793873346000,"timestamp_ms":1793873346000,"timestamp_seconds":1793873346,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2efdd0"} 
[2026-11-05 15: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-05 15:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-05 15:42:14] 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-05 15: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-05 15: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-05 15:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229797,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229797,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231499520001,"66":26430,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231499520001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:42:14] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:42:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231499520001,"power":26430,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":229797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63758,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:42:15] local.INFO: GPS data processed {"connection_id":229797,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:42:15] local.INFO: Acknowledgment sent {"connection_id":229797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:42:30] local.INFO: TCP Data received {"connection_id":230316,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230316,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:42:30] local.INFO: Processing buffer {"connection_id":230316,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:42:30] local.INFO: IMEI packet received {"connection_id":230316,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":230316,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:42:31] local.INFO: TCP Data received {"connection_id":230316,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230316,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:42:31] local.INFO: Processing buffer {"connection_id":230316,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:42:31] local.INFO: IMEI packet received {"connection_id":230316,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":230316,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:42:32] local.INFO: TCP Data received {"connection_id":230316,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230316,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:42:32] local.INFO: Processing buffer {"connection_id":230316,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:42:32] local.INFO: IMEI packet received {"connection_id":230316,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":230316,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:42:33] local.INFO: TCP Data received {"connection_id":230316,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230316,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:42:33] local.INFO: Processing buffer {"connection_id":230316,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:42:33] local.INFO: IMEI packet received {"connection_id":230316,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":230316,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:42:40] local.INFO: TCP Data received {"connection_id":231651,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2d57f0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2d57f0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:42:40] local.INFO: Processing buffer {"connection_id":231651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2d57f0012d7fa60005afe2e8000001102a..."} 
[2026-11-05 15:42:40] local.INFO: Packet analysis {"connection_id":231651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2d"} 
[2026-11-05 15:42:40] local.INFO: Extracted packet for processing {"connection_id":231651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2d"} 
[2026-11-05 15:42:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231471872001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793873238000,"timestamp_ms":1793873238000,"timestamp_seconds":1793873238,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2d57f0"} 
[2026-11-05 15:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231471872001,"66":25321,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231471872001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:42:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:42:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231471872001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":231651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:42:40] local.INFO: GPS data processed {"connection_id":231651,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:42:40] local.INFO: Acknowledgment sent {"connection_id":231651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:42:48] local.INFO: TCP Data received {"connection_id":229797,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:42:48] local.INFO: Processing buffer {"connection_id":229797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:42:48] local.INFO: Packet analysis {"connection_id":229797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2e"} 
[2026-11-05 15:42:48] local.INFO: Extracted packet for processing {"connection_id":229797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2e"} 
[2026-11-05 15:42:48] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231499520001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793873346000,"timestamp_ms":1793873346000,"timestamp_seconds":1793873346,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2efdd0"} 
[2026-11-05 15: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-05 15:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":62,"data_length":795,"current_offset":136} 
[2026-11-05 15:42: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-05 15: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-05 15: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-05 15:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229797,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229797,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231499520001,"66":26430,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231499520001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:42:48] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:42:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231499520001,"power":26430,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":229797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63760,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:42:48] local.INFO: GPS data processed {"connection_id":229797,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:42:48] local.INFO: Acknowledgment sent {"connection_id":229797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:43:05] local.INFO: TCP Data received {"connection_id":231652,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:43:05] local.INFO: Processing buffer {"connection_id":231652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:43:05] local.INFO: IMEI packet received {"connection_id":231652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":231652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:43:05] local.INFO: TCP Data received {"connection_id":233561,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:43:05] local.INFO: Processing buffer {"connection_id":233561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:43:05] local.INFO: IMEI packet received {"connection_id":233561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":233561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:43:08] local.INFO: TCP Data received {"connection_id":231652,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:43:08] local.INFO: Processing buffer {"connection_id":231652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:43:08] local.INFO: IMEI packet received {"connection_id":231652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":231652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:43:09] local.INFO: TCP Data received {"connection_id":231652,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab31efb8012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab31efb8012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:43:09] local.INFO: Processing buffer {"connection_id":231652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab31efb8012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:43:09] local.INFO: Packet analysis {"connection_id":231652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab31"} 
[2026-11-05 15:43:09] local.INFO: Extracted packet for processing {"connection_id":231652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab31"} 
[2026-11-05 15:43:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231548928001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793873539000,"timestamp_ms":1793873539000,"timestamp_seconds":1793873539,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab31efb8"} 
[2026-11-05 15:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 15:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:43:09] 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-05 15:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231548928001,"66":25343,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231548928001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:43:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:43:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231548928001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":231652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:43:09] local.INFO: GPS data processed {"connection_id":231652,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:43:09] local.INFO: Acknowledgment sent {"connection_id":231652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:43:11] local.INFO: TCP Data received {"connection_id":233561,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:43:11] local.INFO: Processing buffer {"connection_id":233561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:43:11] local.INFO: IMEI packet received {"connection_id":233561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":233561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:43:17] local.INFO: TCP Data received {"connection_id":233561,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:43:17] local.INFO: Processing buffer {"connection_id":233561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:43:17] local.INFO: Packet analysis {"connection_id":233561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2e"} 
[2026-11-05 15:43:17] local.INFO: Extracted packet for processing {"connection_id":233561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2e"} 
[2026-11-05 15:43:17] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 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-05 15:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231499520001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793873346000,"timestamp_ms":1793873346000,"timestamp_seconds":1793873346,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2efdd0"} 
[2026-11-05 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-05 15:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-05 15:43: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-05 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-05 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-05 15:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":233561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":233561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":233561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231499520001,"66":26430,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231499520001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:43:17] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:43:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231499520001,"power":26430,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":233561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63762,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:43:17] local.INFO: GPS data processed {"connection_id":233561,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:43:17] local.INFO: Acknowledgment sent {"connection_id":233561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:43:40] local.INFO: TCP Data received {"connection_id":231652,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab31efb8012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab31efb8012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:43:40] local.INFO: Processing buffer {"connection_id":231652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab31efb8012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:43:40] local.INFO: Packet analysis {"connection_id":231652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab31"} 
[2026-11-05 15:43:40] local.INFO: Extracted packet for processing {"connection_id":231652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab31"} 
[2026-11-05 15:43:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231548928001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793873539000,"timestamp_ms":1793873539000,"timestamp_seconds":1793873539,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab31efb8"} 
[2026-11-05 15:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 15:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231548928001,"66":25343,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231548928001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:43:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:43:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231548928001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":231652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:43:40] local.INFO: GPS data processed {"connection_id":231652,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:43:40] local.INFO: Acknowledgment sent {"connection_id":231652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:43:49] local.INFO: TCP Data received {"connection_id":233561,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:43:49] local.INFO: Processing buffer {"connection_id":233561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:43:49] local.INFO: Packet analysis {"connection_id":233561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2e"} 
[2026-11-05 15:43:49] local.INFO: Extracted packet for processing {"connection_id":233561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2e"} 
[2026-11-05 15:43:49] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231499520001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793873346000,"timestamp_ms":1793873346000,"timestamp_seconds":1793873346,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2efdd0"} 
[2026-11-05 15: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-05 15:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-05 15:43: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-05 15: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-05 15: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-05 15:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":233561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":233561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":233561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231499520001,"66":26430,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231499520001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:43:49] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:43:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231499520001,"power":26430,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":233561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63764,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:43:50] local.INFO: GPS data processed {"connection_id":233561,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:43:50] local.INFO: Acknowledgment sent {"connection_id":233561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:44:09] local.INFO: TCP Data received {"connection_id":229798,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:44:09] local.INFO: Processing buffer {"connection_id":229798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:44:09] local.INFO: IMEI packet received {"connection_id":229798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":229798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:44:11] local.INFO: TCP Data received {"connection_id":231653,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:44:11] local.INFO: Processing buffer {"connection_id":231653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:44:11] local.INFO: IMEI packet received {"connection_id":231653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":231653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:44:15] local.INFO: TCP Data received {"connection_id":229798,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:44:15] local.INFO: Processing buffer {"connection_id":229798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:44:15] local.INFO: IMEI packet received {"connection_id":229798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":229798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:44:16] local.INFO: TCP Data received {"connection_id":229798,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab31efb8012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab31efb8012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:44:16] local.INFO: Processing buffer {"connection_id":229798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab31efb8012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:44:16] local.INFO: Packet analysis {"connection_id":229798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab31"} 
[2026-11-05 15:44:16] local.INFO: Extracted packet for processing {"connection_id":229798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab31"} 
[2026-11-05 15:44:16] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231548928001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793873539000,"timestamp_ms":1793873539000,"timestamp_seconds":1793873539,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab31efb8"} 
[2026-11-05 15: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-05 15:44: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-05 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 15:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15: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-05 15: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-05 15:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231548928001,"66":25343,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231548928001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:44:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:44:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231548928001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":229798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:44:16] local.INFO: GPS data processed {"connection_id":229798,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:44:16] local.INFO: Acknowledgment sent {"connection_id":229798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:44:16] local.INFO: TCP Data received {"connection_id":231653,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:44:16] local.INFO: Processing buffer {"connection_id":231653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:44:16] local.INFO: IMEI packet received {"connection_id":231653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":231653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:44:19] local.INFO: TCP Data received {"connection_id":231653,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:44:19] local.INFO: Processing buffer {"connection_id":231653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:44:19] local.INFO: Packet analysis {"connection_id":231653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2e"} 
[2026-11-05 15:44:19] local.INFO: Extracted packet for processing {"connection_id":231653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2e"} 
[2026-11-05 15:44:19] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231499520001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793873346000,"timestamp_ms":1793873346000,"timestamp_seconds":1793873346,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2efdd0"} 
[2026-11-05 15: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-05 15:44:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-05 15:44:19] 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-05 15: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-05 15: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-05 15:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":231653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":231653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":231653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231499520001,"66":26430,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231499520001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:44:19] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:44:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231499520001,"power":26430,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":231653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63766,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:44:19] local.INFO: GPS data processed {"connection_id":231653,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:44:19] local.INFO: Acknowledgment sent {"connection_id":231653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:44:20] local.INFO: TCP Data received {"connection_id":229798,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab31efb8012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab31efb8012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:44:20] local.INFO: Processing buffer {"connection_id":229798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab31efb8012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:44:20] local.INFO: Packet analysis {"connection_id":229798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab31"} 
[2026-11-05 15:44:20] local.INFO: Extracted packet for processing {"connection_id":229798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab31"} 
[2026-11-05 15:44:20] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231548928001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793873539000,"timestamp_ms":1793873539000,"timestamp_seconds":1793873539,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab31efb8"} 
[2026-11-05 15: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-05 15: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-05 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 15:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15: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-05 15: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-05 15:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:44:20] 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-05 15:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231548928001,"66":25343,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231548928001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:44:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:44:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231548928001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":229798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:44:20] local.INFO: GPS data processed {"connection_id":229798,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:44:20] local.INFO: Acknowledgment sent {"connection_id":229798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:44:22] local.INFO: TCP Data received {"connection_id":231653,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:44:22] local.INFO: Processing buffer {"connection_id":231653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab2efdd0012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:44:22] local.INFO: Packet analysis {"connection_id":231653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab2e"} 
[2026-11-05 15:44:22] local.INFO: Extracted packet for processing {"connection_id":231653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab2e"} 
[2026-11-05 15:44:22] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231499520001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793873346000,"timestamp_ms":1793873346000,"timestamp_seconds":1793873346,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab2efdd0"} 
[2026-11-05 15: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-05 15:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-05 15:44: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-05 15: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-05 15: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-05 15:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":231653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":231653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":231653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231499520001,"66":26430,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231499520001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:44:22] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:44:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231499520001,"power":26430,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":231653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63768,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:44:22] local.INFO: GPS data processed {"connection_id":231653,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:44:22] local.INFO: Acknowledgment sent {"connection_id":231653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:45:03] local.INFO: TCP Data received {"connection_id":230317,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:45:03] local.INFO: Processing buffer {"connection_id":230317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:45:03] local.INFO: IMEI packet received {"connection_id":230317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":230317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:45:05] local.INFO: TCP Data received {"connection_id":230318,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230318,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:45:05] local.INFO: Processing buffer {"connection_id":230318,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:45:05] local.INFO: IMEI packet received {"connection_id":230318,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":230318,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:45:08] local.INFO: TCP Data received {"connection_id":230317,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:45:08] local.INFO: Processing buffer {"connection_id":230317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:45:08] local.INFO: IMEI packet received {"connection_id":230317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":230317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:45:09] local.INFO: TCP Data received {"connection_id":230317,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab31efb8012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab31efb8012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:45:09] local.INFO: Processing buffer {"connection_id":230317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab31efb8012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:45:09] local.INFO: Packet analysis {"connection_id":230317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab31"} 
[2026-11-05 15:45:09] local.INFO: Extracted packet for processing {"connection_id":230317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab31"} 
[2026-11-05 15:45:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231548928001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793873539000,"timestamp_ms":1793873539000,"timestamp_seconds":1793873539,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab31efb8"} 
[2026-11-05 15: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-05 15:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 15:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15: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-05 15: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-05 15:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231548928001,"66":25343,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231548928001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:45:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:45:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231548928001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":230317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:45:09] local.INFO: GPS data processed {"connection_id":230317,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:45:09] local.INFO: Acknowledgment sent {"connection_id":230317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:45:11] local.INFO: TCP Data received {"connection_id":230318,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230318,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:45:11] local.INFO: Processing buffer {"connection_id":230318,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:45:11] local.INFO: IMEI packet received {"connection_id":230318,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":230318,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:45:15] local.INFO: TCP Data received {"connection_id":230318,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab339598012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab339598012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:45:15] local.INFO: Processing buffer {"connection_id":230318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab339598012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:45:15] local.INFO: Packet analysis {"connection_id":230318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab33"} 
[2026-11-05 15:45:15] local.INFO: Extracted packet for processing {"connection_id":230318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab33"} 
[2026-11-05 15:45:15] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231576576001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793873647000,"timestamp_ms":1793873647000,"timestamp_seconds":1793873647,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab339598"} 
[2026-11-05 15: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-05 15:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":62,"data_length":795,"current_offset":136} 
[2026-11-05 15:45:15] 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-05 15: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-05 15: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-05 15:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230318,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230318,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231576576001,"66":26376,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231576576001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:45:15] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:45:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231576576001,"power":26376,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":230318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63770,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:45:15] local.INFO: GPS data processed {"connection_id":230318,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:45:15] local.INFO: Acknowledgment sent {"connection_id":230318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:45:40] local.INFO: TCP Data received {"connection_id":230317,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab31efb8012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab31efb8012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:45:40] local.INFO: Processing buffer {"connection_id":230317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab31efb8012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:45:40] local.INFO: Packet analysis {"connection_id":230317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab31"} 
[2026-11-05 15:45:40] local.INFO: Extracted packet for processing {"connection_id":230317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab31"} 
[2026-11-05 15:45:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231548928001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793873539000,"timestamp_ms":1793873539000,"timestamp_seconds":1793873539,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab31efb8"} 
[2026-11-05 15:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 15:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:45: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-05 15:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231548928001,"66":25343,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231548928001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:45:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:45:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231548928001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":230317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:45:40] local.INFO: GPS data processed {"connection_id":230317,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:45:40] local.INFO: Acknowledgment sent {"connection_id":230317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:45:47] local.INFO: TCP Data received {"connection_id":230318,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab339598012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab339598012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:45:47] local.INFO: Processing buffer {"connection_id":230318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab339598012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:45:47] local.INFO: Packet analysis {"connection_id":230318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab33"} 
[2026-11-05 15:45:47] local.INFO: Extracted packet for processing {"connection_id":230318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab33"} 
[2026-11-05 15:45:47] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231576576001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793873647000,"timestamp_ms":1793873647000,"timestamp_seconds":1793873647,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab339598"} 
[2026-11-05 15: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-05 15:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":62,"data_length":795,"current_offset":136} 
[2026-11-05 15:45: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-05 15: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-05 15: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-05 15:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230318,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230318,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231576576001,"66":26376,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231576576001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:45:47] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:45:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231576576001,"power":26376,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":230318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63772,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:45:47] local.INFO: GPS data processed {"connection_id":230318,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:45:47] local.INFO: Acknowledgment sent {"connection_id":230318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:46:03] local.INFO: TCP Data received {"connection_id":229799,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:46:03] local.INFO: Processing buffer {"connection_id":229799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:46:03] local.INFO: IMEI packet received {"connection_id":229799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":229799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:46:08] local.INFO: TCP Data received {"connection_id":229799,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:46:08] local.INFO: Processing buffer {"connection_id":229799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:46:08] local.INFO: IMEI packet received {"connection_id":229799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":229799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:46:09] local.INFO: TCP Data received {"connection_id":229799,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab31efb8012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab31efb8012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:46:09] local.INFO: Processing buffer {"connection_id":229799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab31efb8012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:46:09] local.INFO: Packet analysis {"connection_id":229799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab31"} 
[2026-11-05 15:46:09] local.INFO: Extracted packet for processing {"connection_id":229799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab31"} 
[2026-11-05 15:46:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231548928001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793873539000,"timestamp_ms":1793873539000,"timestamp_seconds":1793873539,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab31efb8"} 
[2026-11-05 15:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 15:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:46:09] 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-05 15:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231548928001,"66":25343,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231548928001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:46:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:46:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231548928001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":229799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:46:09] local.INFO: GPS data processed {"connection_id":229799,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:46:09] local.INFO: Acknowledgment sent {"connection_id":229799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:46:11] local.INFO: TCP Data received {"connection_id":229800,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229800,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:46:11] local.INFO: Processing buffer {"connection_id":229800,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:46:11] local.INFO: IMEI packet received {"connection_id":229800,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":229800,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:46:16] local.INFO: TCP Data received {"connection_id":229800,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229800,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:46:16] local.INFO: Processing buffer {"connection_id":229800,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:46:16] local.INFO: IMEI packet received {"connection_id":229800,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":229800,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:46:18] local.INFO: TCP Data received {"connection_id":229800,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab339598012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab339598012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:46:18] local.INFO: Processing buffer {"connection_id":229800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab339598012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:46:18] local.INFO: Packet analysis {"connection_id":229800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab33"} 
[2026-11-05 15:46:18] local.INFO: Extracted packet for processing {"connection_id":229800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab33"} 
[2026-11-05 15:46:18] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231576576001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793873647000,"timestamp_ms":1793873647000,"timestamp_seconds":1793873647,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab339598"} 
[2026-11-05 15: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-05 15:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-05 15:46:18] 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-05 15: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-05 15: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-05 15:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231576576001,"66":26376,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231576576001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:46:18] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:46:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231576576001,"power":26376,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":229800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63774,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:46:18] local.INFO: GPS data processed {"connection_id":229800,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:46:18] local.INFO: Acknowledgment sent {"connection_id":229800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:46:21] local.INFO: TCP Data received {"connection_id":229800,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab339598012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab339598012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:46:21] local.INFO: Processing buffer {"connection_id":229800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab339598012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:46:21] local.INFO: Packet analysis {"connection_id":229800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab33"} 
[2026-11-05 15:46:21] local.INFO: Extracted packet for processing {"connection_id":229800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab33"} 
[2026-11-05 15:46:21] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231576576001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793873647000,"timestamp_ms":1793873647000,"timestamp_seconds":1793873647,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab339598"} 
[2026-11-05 15: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-05 15:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-05 15:46: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-05 15: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-05 15: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-05 15:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231576576001,"66":26376,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231576576001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:46:21] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:46:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231576576001,"power":26376,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":229800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63775,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:46:21] local.INFO: GPS data processed {"connection_id":229800,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:46:21] local.INFO: Acknowledgment sent {"connection_id":229800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:46:40] local.INFO: TCP Data received {"connection_id":229799,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab31efb8012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab31efb8012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:46:40] local.INFO: Processing buffer {"connection_id":229799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab31efb8012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:46:40] local.INFO: Packet analysis {"connection_id":229799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab31"} 
[2026-11-05 15:46:40] local.INFO: Extracted packet for processing {"connection_id":229799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab31"} 
[2026-11-05 15:46:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231548928001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793873539000,"timestamp_ms":1793873539000,"timestamp_seconds":1793873539,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab31efb8"} 
[2026-11-05 15:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 15:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:46:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:46: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-05 15:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231548928001,"66":25343,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231548928001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:46:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:46:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231548928001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":229799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:46:40] local.INFO: GPS data processed {"connection_id":229799,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:46:40] local.INFO: Acknowledgment sent {"connection_id":229799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:47:03] local.INFO: TCP Data received {"connection_id":231654,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:47:03] local.INFO: Processing buffer {"connection_id":231654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:47:03] local.INFO: IMEI packet received {"connection_id":231654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":231654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:47:05] local.INFO: TCP Data received {"connection_id":229801,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:47:05] local.INFO: Processing buffer {"connection_id":229801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:47:05] local.INFO: IMEI packet received {"connection_id":229801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":229801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:47:08] local.INFO: TCP Data received {"connection_id":231654,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:47:08] local.INFO: Processing buffer {"connection_id":231654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:47:08] local.INFO: IMEI packet received {"connection_id":231654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":231654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:47:10] local.INFO: TCP Data received {"connection_id":231654,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab31efb8012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab31efb8012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:47:10] local.INFO: Processing buffer {"connection_id":231654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab31efb8012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:47:10] local.INFO: Packet analysis {"connection_id":231654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab31"} 
[2026-11-05 15:47:10] local.INFO: Extracted packet for processing {"connection_id":231654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab31"} 
[2026-11-05 15:47:10] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231548928001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793873539000,"timestamp_ms":1793873539000,"timestamp_seconds":1793873539,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab31efb8"} 
[2026-11-05 15:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 15:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231548928001,"66":25343,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231548928001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:47:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:47:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231548928001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":231654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:47:10] local.INFO: GPS data processed {"connection_id":231654,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:47:10] local.INFO: Acknowledgment sent {"connection_id":231654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:47:11] local.INFO: TCP Data received {"connection_id":229801,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:47:11] local.INFO: Processing buffer {"connection_id":229801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:47:11] local.INFO: IMEI packet received {"connection_id":229801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":229801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:47:13] local.INFO: TCP Data received {"connection_id":229801,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab339598012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab339598012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:47:13] local.INFO: Processing buffer {"connection_id":229801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab339598012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:47:13] local.INFO: Packet analysis {"connection_id":229801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab33"} 
[2026-11-05 15:47:13] local.INFO: Extracted packet for processing {"connection_id":229801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab33"} 
[2026-11-05 15:47:13] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231576576001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793873647000,"timestamp_ms":1793873647000,"timestamp_seconds":1793873647,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab339598"} 
[2026-11-05 15: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-05 15:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-05 15:47:13] 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-05 15: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-05 15: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-05 15:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231576576001,"66":26376,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231576576001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:47:13] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:47:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231576576001,"power":26376,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":229801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63778,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:47:13] local.INFO: GPS data processed {"connection_id":229801,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:47:13] local.INFO: Acknowledgment sent {"connection_id":229801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:47:36] local.INFO: TCP Data received {"connection_id":229802,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229802,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:47:36] local.INFO: Processing buffer {"connection_id":229802,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:47:36] local.INFO: IMEI packet received {"connection_id":229802,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":229802,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:47:37] local.INFO: TCP Data received {"connection_id":229802,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab367bc8012d0b2380070588100014015824..."} 
[2026-11-05 15:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab367bc8012d0b2380070588100014015824..."} 
[2026-11-05 15:47:37] local.INFO: Processing buffer {"connection_id":229802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab367bc8012d0b2380070588100014015824..."} 
[2026-11-05 15:47:37] local.INFO: Packet analysis {"connection_id":229802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab36"} 
[2026-11-05 15:47:37] local.INFO: Extracted packet for processing {"connection_id":229802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab36"} 
[2026-11-05 15:47:37] local.INFO: GPS Element Parsed {"raw_longitude":755704704,"raw_latitude":117803024,"longitude_deg":75.5704704,"latitude_deg":11.7803024,"altitude":20,"angle":344,"satellites":36,"speed":22,"hex_longitude":"2d0b2380","hex_latitude":"07058810","is_valid_coordinates":true} 
[2026-11-05 15:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231701760001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39466136655364096,"note":"Value kept but may cause issues"} 
[2026-11-05 15:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803259244945358848,"note":"Value kept but may cause issues"} 
[2026-11-05 15:47:37] 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-05 15:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793873837000,"timestamp_ms":1793873837000,"timestamp_seconds":1793873837,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab367bc8"} 
[2026-11-05 15:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:47: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-05 15:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-11-05 15:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1653,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":229802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":229802,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":229802,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231701760001,"66":14439,"165":206,"94":10240,"24":22,"16":39466136655364096,"45":803259244945358848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 15:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231701760001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:47:37] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 15:47:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 15:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39466136655364096,"km_value":39466136655364.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":803259244945358848,"description":"Unknown IO ID 45"} 
[2026-11-05 15:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231701760001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":803259244945358848}} 
[2026-11-05 15:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":229802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63779,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:47:37] local.INFO: GPS data processed {"connection_id":229802,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:47:37] local.INFO: Acknowledgment sent {"connection_id":229802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:47:41] local.INFO: TCP Data received {"connection_id":231654,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab31efb8012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab31efb8012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:47:41] local.INFO: Processing buffer {"connection_id":231654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab31efb8012d7fa60005afe2e80000011029..."} 
[2026-11-05 15:47:41] local.INFO: Packet analysis {"connection_id":231654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab31"} 
[2026-11-05 15:47:41] local.INFO: Extracted packet for processing {"connection_id":231654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab31"} 
[2026-11-05 15:47:41] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231548928001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793873539000,"timestamp_ms":1793873539000,"timestamp_seconds":1793873539,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab31efb8"} 
[2026-11-05 15: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-05 15:47: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-05 15:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 15:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15: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-05 15: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-05 15:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231548928001,"66":25343,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231548928001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:47:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:47:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231548928001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":231654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:47:41] local.INFO: GPS data processed {"connection_id":231654,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:47:41] local.INFO: Acknowledgment sent {"connection_id":231654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:47:46] local.INFO: TCP Data received {"connection_id":229801,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab339598012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab339598012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:47:46] local.INFO: Processing buffer {"connection_id":229801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab339598012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:47:46] local.INFO: Packet analysis {"connection_id":229801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab33"} 
[2026-11-05 15:47:46] local.INFO: Extracted packet for processing {"connection_id":229801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab33"} 
[2026-11-05 15:47:46] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231576576001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793873647000,"timestamp_ms":1793873647000,"timestamp_seconds":1793873647,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab339598"} 
[2026-11-05 15: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-05 15:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-05 15:47: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-05 15: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-05 15: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-05 15:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231576576001,"66":26376,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231576576001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:47:46] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:47:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231576576001,"power":26376,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":229801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63781,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:47:46] local.INFO: GPS data processed {"connection_id":229801,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:47:46] local.INFO: Acknowledgment sent {"connection_id":229801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:48:03] local.INFO: TCP Data received {"connection_id":231655,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:48:03] local.INFO: Processing buffer {"connection_id":231655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:48:03] local.INFO: IMEI packet received {"connection_id":231655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":231655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:48:06] local.INFO: TCP Data received {"connection_id":230320,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230320,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:48:06] local.INFO: Processing buffer {"connection_id":230320,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:48:06] local.INFO: IMEI packet received {"connection_id":230320,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":230320,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:48:08] local.INFO: TCP Data received {"connection_id":231655,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:48:08] local.INFO: Processing buffer {"connection_id":231655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:48:08] local.INFO: IMEI packet received {"connection_id":231655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":231655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:48:08] local.INFO: TCP Data received {"connection_id":229802,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab368398012d0b230007058d400014016424..."} 
[2026-11-05 15:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab368398012d0b230007058d400014016424..."} 
[2026-11-05 15:48:08] local.INFO: Processing buffer {"connection_id":229802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab368398012d0b230007058d400014016424..."} 
[2026-11-05 15:48:08] local.INFO: Packet analysis {"connection_id":229802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab36"} 
[2026-11-05 15:48:08] local.INFO: Extracted packet for processing {"connection_id":229802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab36"} 
[2026-11-05 15:48:08] local.INFO: GPS Element Parsed {"raw_longitude":755704576,"raw_latitude":117804352,"longitude_deg":75.5704576,"latitude_deg":11.7804352,"altitude":20,"angle":356,"satellites":36,"speed":28,"hex_longitude":"2d0b2300","hex_latitude":"07058d40","is_valid_coordinates":true} 
[2026-11-05 15:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231702272001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39466205374840832,"note":"Value kept but may cause issues"} 
[2026-11-05 15:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802625926248009728,"note":"Value kept but may cause issues"} 
[2026-11-05 15:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793873839000,"timestamp_ms":1793873839000,"timestamp_seconds":1793873839,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab368398"} 
[2026-11-05 15:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-05 15:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-05 15:48:08] 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-05 15:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":229802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":229802,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":229802,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231702272001,"66":14559,"165":206,"94":10240,"24":28,"16":39466205374840832,"45":802625926248009728},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 15:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231702272001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:48:09] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 15:48:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 15:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39466205374840832,"km_value":39466205374840.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":802625926248009728,"description":"Unknown IO ID 45"} 
[2026-11-05 15:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231702272001,"power":14559,"unknown_165":206,"unknown_94":10240,"ignition":28,"odometer":null,"unknown_45":802625926248009728}} 
[2026-11-05 15:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":229802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63782,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:48:09] local.INFO: GPS data processed {"connection_id":229802,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:48:09] local.INFO: Acknowledgment sent {"connection_id":229802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:48:09] local.INFO: TCP Data received {"connection_id":231655,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab368780012d7fa60005afe2e8000601102a..."} 
[2026-11-05 15:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab368780012d7fa60005afe2e8000601102a..."} 
[2026-11-05 15:48:09] local.INFO: Processing buffer {"connection_id":231655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab368780012d7fa60005afe2e8000601102a..."} 
[2026-11-05 15:48:09] local.INFO: Packet analysis {"connection_id":231655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab36"} 
[2026-11-05 15:48:09] local.INFO: Extracted packet for processing {"connection_id":231655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab36"} 
[2026-11-05 15:48:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":6,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231625984001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793873840000,"timestamp_ms":1793873840000,"timestamp_seconds":1793873840,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab368780"} 
[2026-11-05 15:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:48:09] 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-05 15:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231625984001,"66":25299,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231625984001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:48:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:48:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231625984001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":231655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:48:09] local.INFO: GPS data processed {"connection_id":231655,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:48:09] local.INFO: Acknowledgment sent {"connection_id":231655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:48:11] local.INFO: TCP Data received {"connection_id":230320,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230320,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:48:11] local.INFO: Processing buffer {"connection_id":230320,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:48:11] local.INFO: IMEI packet received {"connection_id":230320,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":230320,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:48:20] local.INFO: TCP Data received {"connection_id":230320,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab339598012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab339598012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:48:20] local.INFO: Processing buffer {"connection_id":230320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab339598012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:48:20] local.INFO: Packet analysis {"connection_id":230320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab33"} 
[2026-11-05 15:48:20] local.INFO: Extracted packet for processing {"connection_id":230320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab33"} 
[2026-11-05 15:48:20] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231576576001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793873647000,"timestamp_ms":1793873647000,"timestamp_seconds":1793873647,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab339598"} 
[2026-11-05 15: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-05 15:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-05 15:48:20] 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-05 15: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-05 15: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-05 15:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230320,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230320,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231576576001,"66":26376,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231576576001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:48:20] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:48:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231576576001,"power":26376,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:48:20] 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":63784,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:48:20] local.INFO: GPS data processed {"connection_id":230320,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:48:20] local.INFO: Acknowledgment sent {"connection_id":230320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:48:38] local.INFO: TCP Data received {"connection_id":229803,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229803,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:48:38] local.INFO: Processing buffer {"connection_id":229803,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:48:38] local.INFO: IMEI packet received {"connection_id":229803,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":229803,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:48:39] local.INFO: TCP Data received {"connection_id":229803,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229803,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:48:39] local.INFO: Processing buffer {"connection_id":229803,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:48:39] local.INFO: IMEI packet received {"connection_id":229803,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":229803,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:48:40] local.INFO: TCP Data received {"connection_id":231655,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab368780012d7fa60005afe2e8000601102a..."} 
[2026-11-05 15:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab368780012d7fa60005afe2e8000601102a..."} 
[2026-11-05 15:48:40] local.INFO: Processing buffer {"connection_id":231655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab368780012d7fa60005afe2e8000601102a..."} 
[2026-11-05 15:48:40] local.INFO: Packet analysis {"connection_id":231655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab36"} 
[2026-11-05 15:48:40] local.INFO: Extracted packet for processing {"connection_id":231655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab36"} 
[2026-11-05 15:48:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":6,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231625984001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793873840000,"timestamp_ms":1793873840000,"timestamp_seconds":1793873840,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab368780"} 
[2026-11-05 15:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231625984001,"66":25299,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231625984001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:48:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:48:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231625984001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":231655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:48:40] local.INFO: GPS data processed {"connection_id":231655,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:48:40] local.INFO: Acknowledgment sent {"connection_id":231655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:48:40] local.INFO: TCP Data received {"connection_id":229803,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab375a70012d0ae140070594800026010a26..."} 
[2026-11-05 15:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab375a70012d0ae140070594800026010a26..."} 
[2026-11-05 15:48:40] local.INFO: Processing buffer {"connection_id":229803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab375a70012d0ae140070594800026010a26..."} 
[2026-11-05 15:48:40] local.INFO: Packet analysis {"connection_id":229803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab37"} 
[2026-11-05 15:48:40] local.INFO: Extracted packet for processing {"connection_id":229803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab37"} 
[2026-11-05 15:48:40] local.INFO: GPS Element Parsed {"raw_longitude":755687744,"raw_latitude":117806208,"longitude_deg":75.5687744,"latitude_deg":11.7806208,"altitude":38,"angle":266,"satellites":38,"speed":12,"hex_longitude":"2d0ae140","hex_latitude":"07059480","is_valid_coordinates":true} 
[2026-11-05 15:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231716608001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39467184627384320,"note":"Value kept but may cause issues"} 
[2026-11-05 15:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":784259684018454528,"note":"Value kept but may cause issues"} 
[2026-11-05 15:48:40] 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-05 15:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793873894000,"timestamp_ms":1793873894000,"timestamp_seconds":1793873894,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab375a70"} 
[2026-11-05 15:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:48:40] 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-05 15:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 15:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229803,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229803,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231716608001,"66":14537,"165":206,"94":10240,"24":12,"16":39467184627384320,"45":784259684018454528},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 15:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231716608001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:48:40] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 15:48:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 15:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39467184627384320,"km_value":39467184627384.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":784259684018454528,"description":"Unknown IO ID 45"} 
[2026-11-05 15:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231716608001,"power":14537,"unknown_165":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":784259684018454528}} 
[2026-11-05 15:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":229803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63786,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:48:40] local.INFO: GPS data processed {"connection_id":229803,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:48:40] local.INFO: Acknowledgment sent {"connection_id":229803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:48:41] local.INFO: TCP Data received {"connection_id":229803,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab376a10012d0adac007059350002800fd27..."} 
[2026-11-05 15:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab376a10012d0adac007059350002800fd27..."} 
[2026-11-05 15:48:41] local.INFO: Processing buffer {"connection_id":229803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab376a10012d0adac007059350002800fd27..."} 
[2026-11-05 15:48:41] local.INFO: Packet analysis {"connection_id":229803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab37"} 
[2026-11-05 15:48:41] local.INFO: Extracted packet for processing {"connection_id":229803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab37"} 
[2026-11-05 15:48:41] local.INFO: GPS Element Parsed {"raw_longitude":755686080,"raw_latitude":117805904,"longitude_deg":75.568608,"latitude_deg":11.7805904,"altitude":40,"angle":253,"satellites":39,"speed":17,"hex_longitude":"2d0adac0","hex_latitude":"07059350","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231716864001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39467261936795648,"note":"Value kept but may cause issues"} 
[2026-11-05 15:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":783978209041743872,"note":"Value kept but may cause issues"} 
[2026-11-05 15:48:41] 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-05 15:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793873898000,"timestamp_ms":1793873898000,"timestamp_seconds":1793873898,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab376a10"} 
[2026-11-05 15: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-05 15:48:41] 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-05 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-05 15:48:41] 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-05 15: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-05 15: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-05 15:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229803,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229803,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231716864001,"66":14559,"165":206,"94":10240,"24":17,"16":39467261936795648,"45":783978209041743872},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 15:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231716864001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:48:41] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 15:48:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 15:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39467261936795648,"km_value":39467261936795.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":783978209041743872,"description":"Unknown IO ID 45"} 
[2026-11-05 15:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231716864001,"power":14559,"unknown_165":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":783978209041743872}} 
[2026-11-05 15:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":229803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63787,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:48:42] local.INFO: GPS data processed {"connection_id":229803,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:48:42] local.INFO: Acknowledgment sent {"connection_id":229803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:48:52] local.INFO: TCP Data received {"connection_id":230320,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab339598012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab339598012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:48:52] local.INFO: Processing buffer {"connection_id":230320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab339598012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:48:52] local.INFO: Packet analysis {"connection_id":230320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab33"} 
[2026-11-05 15:48:52] local.INFO: Extracted packet for processing {"connection_id":230320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab33"} 
[2026-11-05 15:48:52] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231576576001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793873647000,"timestamp_ms":1793873647000,"timestamp_seconds":1793873647,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab339598"} 
[2026-11-05 15:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-05 15:48:52] 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-05 15:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":230320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":230320,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":230320,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231576576001,"66":26376,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231576576001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:48:52] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:48:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231576576001,"power":26376,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:48:52] 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":63788,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:48:52] local.INFO: GPS data processed {"connection_id":230320,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:48:52] local.INFO: Acknowledgment sent {"connection_id":230320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:49:03] local.INFO: TCP Data received {"connection_id":229804,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:49:03] local.INFO: Processing buffer {"connection_id":229804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:49:03] local.INFO: IMEI packet received {"connection_id":229804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":229804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:49:09] local.INFO: TCP Data received {"connection_id":229804,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:49:09] local.INFO: Processing buffer {"connection_id":229804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:49:09] local.INFO: IMEI packet received {"connection_id":229804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":229804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:49:10] local.INFO: TCP Data received {"connection_id":229804,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab368780012d7fa60005afe2e8000601102a..."} 
[2026-11-05 15:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab368780012d7fa60005afe2e8000601102a..."} 
[2026-11-05 15:49:10] local.INFO: Processing buffer {"connection_id":229804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab368780012d7fa60005afe2e8000601102a..."} 
[2026-11-05 15:49:10] local.INFO: Packet analysis {"connection_id":229804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab36"} 
[2026-11-05 15:49:10] local.INFO: Extracted packet for processing {"connection_id":229804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab36"} 
[2026-11-05 15:49:10] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":6,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231625984001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793873840000,"timestamp_ms":1793873840000,"timestamp_seconds":1793873840,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab368780"} 
[2026-11-05 15:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231625984001,"66":25299,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231625984001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:49:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231625984001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":229804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:49:10] local.INFO: GPS data processed {"connection_id":229804,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:49:10] local.INFO: Acknowledgment sent {"connection_id":229804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:49:11] local.INFO: TCP Data received {"connection_id":231656,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231656,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:49:11] local.INFO: Processing buffer {"connection_id":231656,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:49:11] local.INFO: IMEI packet received {"connection_id":231656,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":231656,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:49:13] local.INFO: TCP Data received {"connection_id":229803,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab37b830012d0ab84007058b18002600ff26..."} 
[2026-11-05 15:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab37b830012d0ab84007058b18002600ff26..."} 
[2026-11-05 15:49:13] local.INFO: Processing buffer {"connection_id":229803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab37b830012d0ab84007058b18002600ff26..."} 
[2026-11-05 15:49:13] local.INFO: Packet analysis {"connection_id":229803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab37"} 
[2026-11-05 15:49:13] local.INFO: Extracted packet for processing {"connection_id":229803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab37"} 
[2026-11-05 15:49:13] local.INFO: GPS Element Parsed {"raw_longitude":755677248,"raw_latitude":117803800,"longitude_deg":75.5677248,"latitude_deg":11.78038,"altitude":38,"angle":255,"satellites":38,"speed":9,"hex_longitude":"2d0ab840","hex_latitude":"07058b18","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231717888001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39467691433525248,"note":"Value kept but may cause issues"} 
[2026-11-05 15:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":782148621693046784,"note":"Value kept but may cause issues"} 
[2026-11-05 15:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793873918000,"timestamp_ms":1793873918000,"timestamp_seconds":1793873918,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab37b830"} 
[2026-11-05 15: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-05 15:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 15: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-05 15:49:13] 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-05 15: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-05 15: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-05 15:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229803,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229803,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231717888001,"66":14439,"153":206,"94":10240,"24":9,"16":39467691433525248,"45":782148621693046784},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 15:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231717888001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:49:13] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 15:49:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 15:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39467691433525248,"km_value":39467691433525.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":782148621693046784,"description":"Unknown IO ID 45"} 
[2026-11-05 15:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231717888001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":782148621693046784}} 
[2026-11-05 15:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":229803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63790,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:49:13] local.INFO: GPS data processed {"connection_id":229803,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:49:13] local.INFO: Acknowledgment sent {"connection_id":229803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:49:16] local.INFO: TCP Data received {"connection_id":231656,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231656,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:49:16] local.INFO: Processing buffer {"connection_id":231656,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:49:16] local.INFO: IMEI packet received {"connection_id":231656,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":231656,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:49:18] local.INFO: TCP Data received {"connection_id":231656,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab339598012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab339598012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:49:18] local.INFO: Processing buffer {"connection_id":231656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab339598012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:49:18] local.INFO: Packet analysis {"connection_id":231656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab33"} 
[2026-11-05 15:49:18] local.INFO: Extracted packet for processing {"connection_id":231656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab33"} 
[2026-11-05 15:49:18] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231576576001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793873647000,"timestamp_ms":1793873647000,"timestamp_seconds":1793873647,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab339598"} 
[2026-11-05 15: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-05 15:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-05 15:49:18] 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-05 15: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-05 15: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-05 15:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":231656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":231656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":231656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231576576001,"66":26376,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231576576001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:49:18] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:49:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231576576001,"power":26376,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":231656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63791,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:49:18] local.INFO: GPS data processed {"connection_id":231656,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:49:18] local.INFO: Acknowledgment sent {"connection_id":231656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:49:22] local.INFO: TCP Data received {"connection_id":231656,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab339598012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab339598012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:49:22] local.INFO: Processing buffer {"connection_id":231656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab339598012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:49:22] local.INFO: Packet analysis {"connection_id":231656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab33"} 
[2026-11-05 15:49:22] local.INFO: Extracted packet for processing {"connection_id":231656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab33"} 
[2026-11-05 15:49:22] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231576576001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793873647000,"timestamp_ms":1793873647000,"timestamp_seconds":1793873647,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab339598"} 
[2026-11-05 15: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-05 15:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-05 15:49: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-05 15: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-05 15: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-05 15:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":231656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":231656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":231656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231576576001,"66":26376,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231576576001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:49:22] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:49:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231576576001,"power":26376,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":231656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63792,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:49:22] local.INFO: GPS data processed {"connection_id":231656,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:49:22] local.INFO: Acknowledgment sent {"connection_id":231656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:49:32] local.INFO: TCP Data received {"connection_id":233565,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233565,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:49:32] local.INFO: Processing buffer {"connection_id":233565,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:49:32] local.INFO: IMEI packet received {"connection_id":233565,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":233565,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:49:35] local.INFO: TCP Data received {"connection_id":233565,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233565,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:49:35] local.INFO: Processing buffer {"connection_id":233565,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:49:35] local.INFO: IMEI packet received {"connection_id":233565,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":233565,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:49:36] local.INFO: TCP Data received {"connection_id":233565,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab380650012d0ab4c0070589a0002100fd25..."} 
[2026-11-05 15:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab380650012d0ab4c0070589a0002100fd25..."} 
[2026-11-05 15:49:36] local.INFO: Processing buffer {"connection_id":233565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab380650012d0ab4c0070589a0002100fd25..."} 
[2026-11-05 15:49:36] local.INFO: Packet analysis {"connection_id":233565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab38"} 
[2026-11-05 15:49:36] local.INFO: Extracted packet for processing {"connection_id":233565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab38"} 
[2026-11-05 15:49:36] local.INFO: GPS Element Parsed {"raw_longitude":755676352,"raw_latitude":117803424,"longitude_deg":75.5676352,"latitude_deg":11.7803424,"altitude":33,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d0ab4c0","hex_latitude":"070589a0","is_valid_coordinates":true} 
[2026-11-05 15:49: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-05 15:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231723008001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39467742973132800,"note":"Value kept but may cause issues"} 
[2026-11-05 15:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":772437734995990528,"note":"Value kept but may cause issues"} 
[2026-11-05 15:49:36] 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-05 15:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1793873938000,"timestamp_ms":1793873938000,"timestamp_seconds":1793873938,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab380650"} 
[2026-11-05 15:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 15:49: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":103,"data_length":795,"current_offset":136} 
[2026-11-05 15:49:36] 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-05 15:49: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-05 15:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":233565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":233565,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":233565,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231723008001,"66":14428,"153":206,"94":10240,"24":0,"16":39467742973132800,"45":772437734995990528},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 15:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231723008001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:49:36] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 15:49:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 15:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39467742973132800,"km_value":39467742973132.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":772437734995990528,"description":"Unknown IO ID 45"} 
[2026-11-05 15:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231723008001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":772437734995990528}} 
[2026-11-05 15:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":233565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63793,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:49:36] local.INFO: GPS data processed {"connection_id":233565,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:49:36] local.INFO: Acknowledgment sent {"connection_id":233565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:49:41] local.INFO: TCP Data received {"connection_id":229804,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab368780012d7fa60005afe2e8000601102a..."} 
[2026-11-05 15:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab368780012d7fa60005afe2e8000601102a..."} 
[2026-11-05 15:49:41] local.INFO: Processing buffer {"connection_id":229804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab368780012d7fa60005afe2e8000601102a..."} 
[2026-11-05 15:49:41] local.INFO: Packet analysis {"connection_id":229804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab36"} 
[2026-11-05 15:49:41] local.INFO: Extracted packet for processing {"connection_id":229804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab36"} 
[2026-11-05 15:49:41] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":6,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231625984001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793873840000,"timestamp_ms":1793873840000,"timestamp_seconds":1793873840,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab368780"} 
[2026-11-05 15: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-05 15:49: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-05 15:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15: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-05 15: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-05 15:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15: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-05 15:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231625984001,"66":25299,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231625984001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:49:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:49:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231625984001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":229804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:49:41] local.INFO: GPS data processed {"connection_id":229804,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:49:41] local.INFO: Acknowledgment sent {"connection_id":229804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:50:03] local.INFO: TCP Data received {"connection_id":230321,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:50:03] local.INFO: Processing buffer {"connection_id":230321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:50:03] local.INFO: IMEI packet received {"connection_id":230321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":230321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:50:06] local.INFO: TCP Data received {"connection_id":233566,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:50:06] local.INFO: Processing buffer {"connection_id":233566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:50:06] local.INFO: IMEI packet received {"connection_id":233566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":233566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:50:07] local.INFO: TCP Data received {"connection_id":233565,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab385858012d0ab4c0070589a0002100fd25..."} 
[2026-11-05 15:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab385858012d0ab4c0070589a0002100fd25..."} 
[2026-11-05 15:50:07] local.INFO: Processing buffer {"connection_id":233565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab385858012d0ab4c0070589a0002100fd25..."} 
[2026-11-05 15:50:07] local.INFO: Packet analysis {"connection_id":233565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab38"} 
[2026-11-05 15:50:07] local.INFO: Extracted packet for processing {"connection_id":233565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab38"} 
[2026-11-05 15:50:07] local.INFO: GPS Element Parsed {"raw_longitude":755676352,"raw_latitude":117803424,"longitude_deg":75.5676352,"latitude_deg":11.7803424,"altitude":33,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d0ab4c0","hex_latitude":"070589a0","is_valid_coordinates":true} 
[2026-11-05 15:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231728128001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39467742973132800,"note":"Value kept but may cause issues"} 
[2026-11-05 15:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":771452572577406976,"note":"Value kept but may cause issues"} 
[2026-11-05 15:50:07] 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-05 15:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1793873959000,"timestamp_ms":1793873959000,"timestamp_seconds":1793873959,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab385858"} 
[2026-11-05 15:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:50:07] 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-05 15:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 15:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":233565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":233565,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":233565,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231728128001,"66":14461,"153":206,"94":10240,"24":0,"16":39467742973132800,"45":771452572577406976},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 15:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231728128001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:50:07] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 15:50:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 15:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39467742973132800,"km_value":39467742973132.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":771452572577406976,"description":"Unknown IO ID 45"} 
[2026-11-05 15:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231728128001,"power":14461,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":771452572577406976}} 
[2026-11-05 15:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":233565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63795,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:50:08] local.INFO: GPS data processed {"connection_id":233565,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:50:08] local.INFO: Acknowledgment sent {"connection_id":233565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:50:08] local.INFO: TCP Data received {"connection_id":230321,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:50:08] local.INFO: Processing buffer {"connection_id":230321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:50:08] local.INFO: IMEI packet received {"connection_id":230321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":230321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:50:09] local.INFO: TCP Data received {"connection_id":230321,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab368780012d7fa60005afe2e8000601102a..."} 
[2026-11-05 15:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab368780012d7fa60005afe2e8000601102a..."} 
[2026-11-05 15:50:09] local.INFO: Processing buffer {"connection_id":230321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab368780012d7fa60005afe2e8000601102a..."} 
[2026-11-05 15:50:09] local.INFO: Packet analysis {"connection_id":230321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab36"} 
[2026-11-05 15:50:09] local.INFO: Extracted packet for processing {"connection_id":230321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab36"} 
[2026-11-05 15:50:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":6,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231625984001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793873840000,"timestamp_ms":1793873840000,"timestamp_seconds":1793873840,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab368780"} 
[2026-11-05 15:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:50:09] 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-05 15:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231625984001,"66":25299,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231625984001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:50:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:50:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231625984001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:50:09] 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":63796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:50:09] local.INFO: GPS data processed {"connection_id":230321,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:50:09] local.INFO: Acknowledgment sent {"connection_id":230321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:50:11] local.INFO: TCP Data received {"connection_id":233566,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:50:11] local.INFO: Processing buffer {"connection_id":233566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:50:11] local.INFO: IMEI packet received {"connection_id":233566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":233566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:50:18] local.INFO: TCP Data received {"connection_id":233566,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab382d60012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab382d60012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:50:18] local.INFO: Processing buffer {"connection_id":233566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab382d60012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:50:18] local.INFO: Packet analysis {"connection_id":233566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab38"} 
[2026-11-05 15:50:18] local.INFO: Extracted packet for processing {"connection_id":233566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab38"} 
[2026-11-05 15:50:18] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231653632001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793873948000,"timestamp_ms":1793873948000,"timestamp_seconds":1793873948,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab382d60"} 
[2026-11-05 15: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-05 15:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-11-05 15:50:18] 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-05 15: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-05 15: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-05 15:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":233566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":233566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":233566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231653632001,"66":26419,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231653632001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:50:18] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:50:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231653632001,"power":26419,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":233566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63797,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:50:18] local.INFO: GPS data processed {"connection_id":233566,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:50:18] local.INFO: Acknowledgment sent {"connection_id":233566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:50:31] local.INFO: TCP Data received {"connection_id":229805,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229805,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:50:31] local.INFO: Processing buffer {"connection_id":229805,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:50:31] local.INFO: IMEI packet received {"connection_id":229805,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":229805,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:50:37] local.INFO: TCP Data received {"connection_id":229805,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229805,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:50:37] local.INFO: Processing buffer {"connection_id":229805,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:50:37] local.INFO: IMEI packet received {"connection_id":229805,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":229805,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:50:38] local.INFO: TCP Data received {"connection_id":229805,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab392f30012d0a85400705a8880011012026..."} 
[2026-11-05 15:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab392f30012d0a85400705a8880011012026..."} 
[2026-11-05 15:50:38] local.INFO: Processing buffer {"connection_id":229805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab392f30012d0a85400705a8880011012026..."} 
[2026-11-05 15:50:38] local.INFO: Packet analysis {"connection_id":229805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab39"} 
[2026-11-05 15:50:38] local.INFO: Extracted packet for processing {"connection_id":229805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab39"} 
[2026-11-05 15:50:38] local.INFO: GPS Element Parsed {"raw_longitude":755664192,"raw_latitude":117811336,"longitude_deg":75.5664192,"latitude_deg":11.7811336,"altitude":17,"angle":288,"satellites":38,"speed":8,"hex_longitude":"2d0a8540","hex_latitude":"0705a888","is_valid_coordinates":true} 
[2026-11-05 15:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231747328001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39468571901820928,"note":"Value kept but may cause issues"} 
[2026-11-05 15:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758363986162358272,"note":"Value kept but may cause issues"} 
[2026-11-05 15:50: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-05 15:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1793874014000,"timestamp_ms":1793874014000,"timestamp_seconds":1793874014,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab392f30"} 
[2026-11-05 15:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:50:38] 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-05 15:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-05 15:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":229805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":229805,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":229805,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231747328001,"66":14537,"153":206,"94":10240,"24":8,"16":39468571901820928,"45":758363986162358272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 15:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231747328001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:50:38] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 15:50:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 15:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39468571901820928,"km_value":39468571901820.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":758363986162358272,"description":"Unknown IO ID 45"} 
[2026-11-05 15:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231747328001,"power":14537,"unknown_153":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":758363986162358272}} 
[2026-11-05 15:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":229805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63798,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:50:38] local.INFO: GPS data processed {"connection_id":229805,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:50:38] local.INFO: Acknowledgment sent {"connection_id":229805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:50:40] local.INFO: TCP Data received {"connection_id":230321,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab368780012d7fa60005afe2e8000601102a..."} 
[2026-11-05 15:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab368780012d7fa60005afe2e8000601102a..."} 
[2026-11-05 15:50:40] local.INFO: Processing buffer {"connection_id":230321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab368780012d7fa60005afe2e8000601102a..."} 
[2026-11-05 15:50:40] local.INFO: Packet analysis {"connection_id":230321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab36"} 
[2026-11-05 15:50:40] local.INFO: Extracted packet for processing {"connection_id":230321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab36"} 
[2026-11-05 15:50:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":6,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231625984001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793873840000,"timestamp_ms":1793873840000,"timestamp_seconds":1793873840,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab368780"} 
[2026-11-05 15:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231625984001,"66":25299,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231625984001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:50:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:50:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231625984001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:50:40] 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":63799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:50:40] local.INFO: GPS data processed {"connection_id":230321,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:50:40] local.INFO: Acknowledgment sent {"connection_id":230321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:50:50] local.INFO: TCP Data received {"connection_id":233566,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab382d60012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab382d60012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:50:50] local.INFO: Processing buffer {"connection_id":233566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab382d60012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:50:50] local.INFO: Packet analysis {"connection_id":233566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab38"} 
[2026-11-05 15:50:50] local.INFO: Extracted packet for processing {"connection_id":233566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab38"} 
[2026-11-05 15:50:50] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231653632001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793873948000,"timestamp_ms":1793873948000,"timestamp_seconds":1793873948,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab382d60"} 
[2026-11-05 15: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-05 15:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-11-05 15:50:50] 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-05 15: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-05 15: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-05 15:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":233566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":233566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":233566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231653632001,"66":26419,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231653632001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:50:50] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:50:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231653632001,"power":26419,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":233566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63800,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:50:50] local.INFO: GPS data processed {"connection_id":233566,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:50:50] local.INFO: Acknowledgment sent {"connection_id":233566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:51:03] local.INFO: TCP Data received {"connection_id":230322,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:51:03] local.INFO: Processing buffer {"connection_id":230322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:51:03] local.INFO: IMEI packet received {"connection_id":230322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":230322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:51:05] local.INFO: TCP Data received {"connection_id":230323,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230323,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:51:05] local.INFO: Processing buffer {"connection_id":230323,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:51:05] local.INFO: IMEI packet received {"connection_id":230323,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":230323,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:51:08] local.INFO: TCP Data received {"connection_id":230322,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:51:08] local.INFO: Processing buffer {"connection_id":230322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:51:08] local.INFO: IMEI packet received {"connection_id":230322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":230322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:51:09] local.INFO: TCP Data received {"connection_id":230322,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab368780012d7fa60005afe2e8000601102a..."} 
[2026-11-05 15:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab368780012d7fa60005afe2e8000601102a..."} 
[2026-11-05 15:51:09] local.INFO: Processing buffer {"connection_id":230322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab368780012d7fa60005afe2e8000601102a..."} 
[2026-11-05 15:51:09] local.INFO: Packet analysis {"connection_id":230322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab36"} 
[2026-11-05 15:51:09] local.INFO: Extracted packet for processing {"connection_id":230322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab36"} 
[2026-11-05 15:51:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":6,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:51: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-05 15:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231625984001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793873840000,"timestamp_ms":1793873840000,"timestamp_seconds":1793873840,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab368780"} 
[2026-11-05 15:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:51: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-05 15:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:51:09] 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-05 15:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231625984001,"66":25299,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231625984001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:51:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:51:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231625984001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":230322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:51:09] local.INFO: GPS data processed {"connection_id":230322,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:51:09] local.INFO: Acknowledgment sent {"connection_id":230322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:51:09] local.INFO: TCP Data received {"connection_id":229805,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab393318012d0a84800705a8b00012011326..."} 
[2026-11-05 15:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab393318012d0a84800705a8b00012011326..."} 
[2026-11-05 15:51:09] local.INFO: Processing buffer {"connection_id":229805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab393318012d0a84800705a8b00012011326..."} 
[2026-11-05 15:51:09] local.INFO: Packet analysis {"connection_id":229805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab39"} 
[2026-11-05 15:51:09] local.INFO: Extracted packet for processing {"connection_id":229805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab39"} 
[2026-11-05 15:51:09] local.INFO: GPS Element Parsed {"raw_longitude":755664000,"raw_latitude":117811376,"longitude_deg":75.5664,"latitude_deg":11.7811376,"altitude":18,"angle":275,"satellites":38,"speed":7,"hex_longitude":"2d0a8480","hex_latitude":"0705a8b0","is_valid_coordinates":true} 
[2026-11-05 15:51: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-05 15:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231747584001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39468580491755520,"note":"Value kept but may cause issues"} 
[2026-11-05 15:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758082511185676288,"note":"Value kept but may cause issues"} 
[2026-11-05 15:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793874015000,"timestamp_ms":1793874015000,"timestamp_seconds":1793874015,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab393318"} 
[2026-11-05 15:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 15:51: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":201,"data_length":795,"current_offset":136} 
[2026-11-05 15:51:09] 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-05 15:51: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-05 15:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229805,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229805,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231747584001,"66":14537,"153":206,"94":10240,"24":7,"16":39468580491755520,"45":758082511185676288},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 15:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231747584001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:51:09] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 15:51:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 15:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39468580491755520,"km_value":39468580491755.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":758082511185676288,"description":"Unknown IO ID 45"} 
[2026-11-05 15:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231747584001,"power":14537,"unknown_153":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":758082511185676288}} 
[2026-11-05 15:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":229805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63802,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:51:09] local.INFO: GPS data processed {"connection_id":229805,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:51:09] local.INFO: Acknowledgment sent {"connection_id":229805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:51:16] local.INFO: TCP Data received {"connection_id":230323,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230323,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:51:16] local.INFO: Processing buffer {"connection_id":230323,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:51:16] local.INFO: IMEI packet received {"connection_id":230323,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":230323,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:51:19] local.INFO: TCP Data received {"connection_id":230323,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab382d60012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab382d60012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:51:19] local.INFO: Processing buffer {"connection_id":230323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab382d60012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:51:19] local.INFO: Packet analysis {"connection_id":230323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab38"} 
[2026-11-05 15:51:19] local.INFO: Extracted packet for processing {"connection_id":230323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab38"} 
[2026-11-05 15:51:19] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231653632001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793873948000,"timestamp_ms":1793873948000,"timestamp_seconds":1793873948,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab382d60"} 
[2026-11-05 15: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-05 15:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-11-05 15:51:19] 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-05 15: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-05 15: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-05 15:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230323,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230323,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231653632001,"66":26419,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231653632001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:51:19] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:51:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231653632001,"power":26419,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:51:19] 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":63803,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:51:19] local.INFO: GPS data processed {"connection_id":230323,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:51:19] local.INFO: Acknowledgment sent {"connection_id":230323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:51:31] local.INFO: TCP Data received {"connection_id":231657,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231657,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:51:31] local.INFO: Processing buffer {"connection_id":231657,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:51:31] local.INFO: IMEI packet received {"connection_id":231657,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":231657,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:51:36] local.INFO: TCP Data received {"connection_id":231657,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231657,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:51:36] local.INFO: Processing buffer {"connection_id":231657,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:51:36] local.INFO: IMEI packet received {"connection_id":231657,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":231657,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:51:37] local.INFO: TCP Data received {"connection_id":231657,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab393ae8012d0a83000705a8f00011012b25..."} 
[2026-11-05 15:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab393ae8012d0a83000705a8f00011012b25..."} 
[2026-11-05 15:51:37] local.INFO: Processing buffer {"connection_id":231657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab393ae8012d0a83000705a8f00011012b25..."} 
[2026-11-05 15:51:37] local.INFO: Packet analysis {"connection_id":231657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab39"} 
[2026-11-05 15:51:37] local.INFO: Extracted packet for processing {"connection_id":231657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab39"} 
[2026-11-05 15:51:37] local.INFO: GPS Element Parsed {"raw_longitude":755663616,"raw_latitude":117811440,"longitude_deg":75.5663616,"latitude_deg":11.781144,"altitude":17,"angle":299,"satellites":37,"speed":6,"hex_longitude":"2d0a8300","hex_latitude":"0705a8f0","is_valid_coordinates":true} 
[2026-11-05 15:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231747840001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39468601966592000,"note":"Value kept but may cause issues"} 
[2026-11-05 15:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757871404953153536,"note":"Value kept but may cause issues"} 
[2026-11-05 15:51:37] 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-05 15:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793874017000,"timestamp_ms":1793874017000,"timestamp_seconds":1793874017,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab393ae8"} 
[2026-11-05 15:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:51: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-05 15:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-05 15:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":231657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":231657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":231657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231747840001,"66":14580,"153":206,"94":10240,"24":6,"16":39468601966592000,"45":757871404953153536},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 15:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231747840001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:51:37] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 15:51:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 15:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39468601966592000,"km_value":39468601966592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":757871404953153536,"description":"Unknown IO ID 45"} 
[2026-11-05 15:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231747840001,"power":14580,"unknown_153":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":757871404953153536}} 
[2026-11-05 15:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":231657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63804,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:51:38] local.INFO: GPS data processed {"connection_id":231657,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:51:38] local.INFO: Acknowledgment sent {"connection_id":231657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:51:40] local.INFO: TCP Data received {"connection_id":230322,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab368780012d7fa60005afe2e8000601102a..."} 
[2026-11-05 15:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab368780012d7fa60005afe2e8000601102a..."} 
[2026-11-05 15:51:40] local.INFO: Processing buffer {"connection_id":230322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab368780012d7fa60005afe2e8000601102a..."} 
[2026-11-05 15:51:40] local.INFO: Packet analysis {"connection_id":230322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab36"} 
[2026-11-05 15:51:40] local.INFO: Extracted packet for processing {"connection_id":230322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab36"} 
[2026-11-05 15:51:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":6,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231625984001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793873840000,"timestamp_ms":1793873840000,"timestamp_seconds":1793873840,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab368780"} 
[2026-11-05 15: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-05 15:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 15:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15: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-05 15: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-05 15:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231625984001,"66":25299,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231625984001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:51:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:51:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231625984001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":230322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:51:40] local.INFO: GPS data processed {"connection_id":230322,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:51:40] local.INFO: Acknowledgment sent {"connection_id":230322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:51:51] local.INFO: TCP Data received {"connection_id":230323,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab382d60012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab382d60012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:51:51] local.INFO: Processing buffer {"connection_id":230323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab382d60012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:51:51] local.INFO: Packet analysis {"connection_id":230323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab38"} 
[2026-11-05 15:51:51] local.INFO: Extracted packet for processing {"connection_id":230323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab38"} 
[2026-11-05 15:51:51] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231653632001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793873948000,"timestamp_ms":1793873948000,"timestamp_seconds":1793873948,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab382d60"} 
[2026-11-05 15: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-05 15:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-11-05 15:51:51] 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-05 15: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-05 15: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-05 15:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":230323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":230323,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":230323,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231653632001,"66":26419,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231653632001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:51:51] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:51:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231653632001,"power":26419,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:51:52] 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":63806,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:51:52] local.INFO: GPS data processed {"connection_id":230323,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:51:52] local.INFO: Acknowledgment sent {"connection_id":230323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:52:08] local.INFO: TCP Data received {"connection_id":231658,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:52:08] local.INFO: Processing buffer {"connection_id":231658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:52:08] local.INFO: IMEI packet received {"connection_id":231658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":231658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:52:09] local.INFO: TCP Data received {"connection_id":231657,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab393ed0012d0a82400705a9580011013d24..."} 
[2026-11-05 15:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab393ed0012d0a82400705a9580011013d24..."} 
[2026-11-05 15:52:09] local.INFO: Processing buffer {"connection_id":231657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab393ed0012d0a82400705a9580011013d24..."} 
[2026-11-05 15:52:09] local.INFO: Packet analysis {"connection_id":231657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab39"} 
[2026-11-05 15:52:09] local.INFO: Extracted packet for processing {"connection_id":231657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab39"} 
[2026-11-05 15:52:09] local.INFO: GPS Element Parsed {"raw_longitude":755663424,"raw_latitude":117811544,"longitude_deg":75.5663424,"latitude_deg":11.7811544,"altitude":17,"angle":317,"satellites":36,"speed":6,"hex_longitude":"2d0a8240","hex_latitude":"0705a958","is_valid_coordinates":true} 
[2026-11-05 15:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231748352001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39468610556526592,"note":"Value kept but may cause issues"} 
[2026-11-05 15:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757449192488103936,"note":"Value kept but may cause issues"} 
[2026-11-05 15:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793874018000,"timestamp_ms":1793874018000,"timestamp_seconds":1793874018,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab393ed0"} 
[2026-11-05 15:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 15:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-11-05 15:52:09] 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-05 15:52: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-05 15:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231748352001,"66":14515,"153":206,"94":10240,"24":6,"16":39468610556526592,"45":757449192488103936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 15:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231748352001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:52:09] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 15:52:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 15:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39468610556526592,"km_value":39468610556526.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":757449192488103936,"description":"Unknown IO ID 45"} 
[2026-11-05 15:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231748352001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":757449192488103936}} 
[2026-11-05 15:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":231657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63807,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:52:09] local.INFO: GPS data processed {"connection_id":231657,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:52:09] local.INFO: Acknowledgment sent {"connection_id":231657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:52:11] local.INFO: TCP Data received {"connection_id":231659,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231659,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:52:11] local.INFO: Processing buffer {"connection_id":231659,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:52:11] local.INFO: IMEI packet received {"connection_id":231659,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":231659,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:52:13] local.INFO: TCP Data received {"connection_id":231658,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:52:13] local.INFO: Processing buffer {"connection_id":231658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:52:13] local.INFO: IMEI packet received {"connection_id":231658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":231658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:52:14] local.INFO: TCP Data received {"connection_id":231658,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab368780012d7fa60005afe2e8000601102a..."} 
[2026-11-05 15:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab368780012d7fa60005afe2e8000601102a..."} 
[2026-11-05 15:52:14] local.INFO: Processing buffer {"connection_id":231658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab368780012d7fa60005afe2e8000601102a..."} 
[2026-11-05 15:52:14] local.INFO: Packet analysis {"connection_id":231658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab36"} 
[2026-11-05 15:52:14] local.INFO: Extracted packet for processing {"connection_id":231658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab36"} 
[2026-11-05 15:52:14] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":6,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231625984001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793873840000,"timestamp_ms":1793873840000,"timestamp_seconds":1793873840,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab368780"} 
[2026-11-05 15: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-05 15:52: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-05 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:52:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15: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-05 15: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-05 15:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":231658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":231658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":231658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231625984001,"66":25299,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231625984001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:52:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:52:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231625984001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":231658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:52:14] local.INFO: GPS data processed {"connection_id":231658,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:52:14] local.INFO: Acknowledgment sent {"connection_id":231658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:52:16] local.INFO: TCP Data received {"connection_id":231659,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231659,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:52:16] local.INFO: Processing buffer {"connection_id":231659,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:52:16] local.INFO: IMEI packet received {"connection_id":231659,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":231659,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:52:18] local.INFO: TCP Data received {"connection_id":231659,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab382d60012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab382d60012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:52:18] local.INFO: Processing buffer {"connection_id":231659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab382d60012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:52:18] local.INFO: Packet analysis {"connection_id":231659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab38"} 
[2026-11-05 15:52:18] local.INFO: Extracted packet for processing {"connection_id":231659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab38"} 
[2026-11-05 15:52:18] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231653632001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793873948000,"timestamp_ms":1793873948000,"timestamp_seconds":1793873948,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab382d60"} 
[2026-11-05 15: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-05 15:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-11-05 15:52:18] 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-05 15: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-05 15: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-05 15:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":231659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":231659,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":231659,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231653632001,"66":26419,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231653632001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:52:18] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:52:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231653632001,"power":26419,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":231659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63809,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:52:18] local.INFO: GPS data processed {"connection_id":231659,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:52:18] local.INFO: Acknowledgment sent {"connection_id":231659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:52:18] local.INFO: TCP Data received {"connection_id":231658,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab368780012d7fa60005afe2e8000601102a..."} 
[2026-11-05 15:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab368780012d7fa60005afe2e8000601102a..."} 
[2026-11-05 15:52:18] local.INFO: Processing buffer {"connection_id":231658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab368780012d7fa60005afe2e8000601102a..."} 
[2026-11-05 15:52:18] local.INFO: Packet analysis {"connection_id":231658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab36"} 
[2026-11-05 15:52:18] local.INFO: Extracted packet for processing {"connection_id":231658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab36"} 
[2026-11-05 15:52:18] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":6,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231625984001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793873840000,"timestamp_ms":1793873840000,"timestamp_seconds":1793873840,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab368780"} 
[2026-11-05 15: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-05 15:52: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-05 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 15:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15: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-05 15: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-05 15:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":231658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":231658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":231658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:52:18] local.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-05 15:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231625984001,"66":25299,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231625984001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:52:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:52:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231625984001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":231658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:52:18] local.INFO: GPS data processed {"connection_id":231658,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:52:18] local.INFO: Acknowledgment sent {"connection_id":231658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:52:22] local.INFO: TCP Data received {"connection_id":231659,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab382d60012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab382d60012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:52:22] local.INFO: Processing buffer {"connection_id":231659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab382d60012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:52:22] local.INFO: Packet analysis {"connection_id":231659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab38"} 
[2026-11-05 15:52:22] local.INFO: Extracted packet for processing {"connection_id":231659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab38"} 
[2026-11-05 15:52:22] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231653632001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793873948000,"timestamp_ms":1793873948000,"timestamp_seconds":1793873948,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab382d60"} 
[2026-11-05 15:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-11-05 15:52:22] 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-05 15:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":231659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":231659,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":231659,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231653632001,"66":26419,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231653632001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:52:22] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:52:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231653632001,"power":26419,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":231659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63811,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:52:22] local.INFO: GPS data processed {"connection_id":231659,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:52:22] local.INFO: Acknowledgment sent {"connection_id":231659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:52:31] local.INFO: TCP Data received {"connection_id":233567,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233567,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:52:31] local.INFO: Processing buffer {"connection_id":233567,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:52:31] local.INFO: IMEI packet received {"connection_id":233567,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":233567,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:52:36] local.INFO: TCP Data received {"connection_id":233567,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233567,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:52:36] local.INFO: Processing buffer {"connection_id":233567,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:52:36] local.INFO: IMEI packet received {"connection_id":233567,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":233567,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:52:38] local.INFO: TCP Data received {"connection_id":233567,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3946a0012d0a81800705aa680011014a25..."} 
[2026-11-05 15:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3946a0012d0a81800705aa680011014a25..."} 
[2026-11-05 15:52:38] local.INFO: Processing buffer {"connection_id":233567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3946a0012d0a81800705aa680011014a25..."} 
[2026-11-05 15:52:38] local.INFO: Packet analysis {"connection_id":233567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab39"} 
[2026-11-05 15:52:38] local.INFO: Extracted packet for processing {"connection_id":233567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab39"} 
[2026-11-05 15:52:38] local.INFO: GPS Element Parsed {"raw_longitude":755663232,"raw_latitude":117811816,"longitude_deg":75.5663232,"latitude_deg":11.7811816,"altitude":17,"angle":330,"satellites":37,"speed":7,"hex_longitude":"2d0a8180","hex_latitude":"0705aa68","is_valid_coordinates":true} 
[2026-11-05 15:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231748608001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39468627736395776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757238086255597568,"note":"Value kept but may cause issues"} 
[2026-11-05 15:52: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-05 15:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1793874020000,"timestamp_ms":1793874020000,"timestamp_seconds":1793874020,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3946a0"} 
[2026-11-05 15:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:52:38] 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-05 15:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-05 15:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":233567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":233567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":233567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231748608001,"66":14439,"153":206,"94":10240,"24":7,"16":39468627736395776,"45":757238086255597568},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 15:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231748608001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:52:38] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 15:52:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 15:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39468627736395776,"km_value":39468627736395.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":757238086255597568,"description":"Unknown IO ID 45"} 
[2026-11-05 15:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231748608001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":757238086255597568}} 
[2026-11-05 15:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":233567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63812,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:52:38] local.INFO: GPS data processed {"connection_id":233567,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:52:38] local.INFO: Acknowledgment sent {"connection_id":233567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:53:03] local.INFO: TCP Data received {"connection_id":229806,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:53:03] local.INFO: Processing buffer {"connection_id":229806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:53:03] local.INFO: IMEI packet received {"connection_id":229806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":229806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:53:06] local.INFO: TCP Data received {"connection_id":231660,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231660,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:53:06] local.INFO: Processing buffer {"connection_id":231660,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:53:06] local.INFO: IMEI packet received {"connection_id":231660,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":231660,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:53:08] local.INFO: TCP Data received {"connection_id":229806,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:53:08] local.INFO: Processing buffer {"connection_id":229806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:53:08] local.INFO: IMEI packet received {"connection_id":229806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":229806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:53:09] local.INFO: TCP Data received {"connection_id":229806,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3b1f48012d7fa60005afe2e8000201102a..."} 
[2026-11-05 15:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3b1f48012d7fa60005afe2e8000201102a..."} 
[2026-11-05 15:53:09] local.INFO: Processing buffer {"connection_id":229806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3b1f48012d7fa60005afe2e8000201102a..."} 
[2026-11-05 15:53:09] local.INFO: Packet analysis {"connection_id":229806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3b"} 
[2026-11-05 15:53:09] local.INFO: Extracted packet for processing {"connection_id":229806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3b"} 
[2026-11-05 15:53:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231703040001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793874141000,"timestamp_ms":1793874141000,"timestamp_seconds":1793874141,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3b1f48"} 
[2026-11-05 15: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-05 15:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 15:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15: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-05 15: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-05 15:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:53:09] local.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-05 15:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231703040001,"66":25321,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231703040001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:53:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:53:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231703040001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":229806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:53:09] local.INFO: GPS data processed {"connection_id":229806,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:53:09] local.INFO: Acknowledgment sent {"connection_id":229806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:53:09] local.INFO: TCP Data received {"connection_id":233567,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3b80f0012d0a78c007061610000f004f25..."} 
[2026-11-05 15:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3b80f0012d0a78c007061610000f004f25..."} 
[2026-11-05 15:53:09] local.INFO: Processing buffer {"connection_id":233567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3b80f0012d0a78c007061610000f004f25..."} 
[2026-11-05 15:53:09] local.INFO: Packet analysis {"connection_id":233567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3b"} 
[2026-11-05 15:53:09] local.INFO: Extracted packet for processing {"connection_id":233567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3b"} 
[2026-11-05 15:53:09] local.INFO: GPS Element Parsed {"raw_longitude":755660992,"raw_latitude":117839376,"longitude_deg":75.5660992,"latitude_deg":11.7839376,"altitude":15,"angle":79,"satellites":37,"speed":8,"hex_longitude":"2d0a78c0","hex_latitude":"07061610","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231786240001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39470036485668864,"note":"Value kept but may cause issues"} 
[2026-11-05 15:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754423336495595520,"note":"Value kept but may cause issues"} 
[2026-11-05 15:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793874166000,"timestamp_ms":1793874166000,"timestamp_seconds":1793874166,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3b80f0"} 
[2026-11-05 15: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-05 15:53:09] 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-05 15: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-05 15:53:09] 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-05 15: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-05 15: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-05 15:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231786240001,"66":14407,"153":206,"94":10240,"24":8,"16":39470036485668864,"45":754423336495595520},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 15:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231786240001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:53:09] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 15:53:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 15:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39470036485668864,"km_value":39470036485668.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":754423336495595520,"description":"Unknown IO ID 45"} 
[2026-11-05 15:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231786240001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":754423336495595520}} 
[2026-11-05 15:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":233567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63814,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:53:09] local.INFO: GPS data processed {"connection_id":233567,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:53:09] local.INFO: Acknowledgment sent {"connection_id":233567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:53:11] local.INFO: TCP Data received {"connection_id":231660,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231660,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:53:11] local.INFO: Processing buffer {"connection_id":231660,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:53:11] local.INFO: IMEI packet received {"connection_id":231660,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":231660,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:53:14] local.INFO: TCP Data received {"connection_id":231660,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab382d60012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab382d60012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:53:14] local.INFO: Processing buffer {"connection_id":231660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab382d60012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:53:14] local.INFO: Packet analysis {"connection_id":231660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab38"} 
[2026-11-05 15:53:14] local.INFO: Extracted packet for processing {"connection_id":231660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab38"} 
[2026-11-05 15:53:14] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231653632001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793873948000,"timestamp_ms":1793873948000,"timestamp_seconds":1793873948,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab382d60"} 
[2026-11-05 15: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-05 15:53:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-11-05 15:53: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-05 15: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-05 15: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-05 15:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":231660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":231660,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":231660,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231653632001,"66":26419,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231653632001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:53:14] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:53:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231653632001,"power":26419,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":231660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63815,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:53:14] local.INFO: GPS data processed {"connection_id":231660,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:53:14] local.INFO: Acknowledgment sent {"connection_id":231660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:53:32] local.INFO: TCP Data received {"connection_id":233568,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233568,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:53:32] local.INFO: Processing buffer {"connection_id":233568,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:53:32] local.INFO: IMEI packet received {"connection_id":233568,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":233568,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:53:36] local.INFO: TCP Data received {"connection_id":233568,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233568,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:53:36] local.INFO: Processing buffer {"connection_id":233568,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:53:36] local.INFO: IMEI packet received {"connection_id":233568,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":233568,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:53:40] local.INFO: TCP Data received {"connection_id":229806,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3b1f48012d7fa60005afe2e8000201102a..."} 
[2026-11-05 15:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3b1f48012d7fa60005afe2e8000201102a..."} 
[2026-11-05 15:53:40] local.INFO: Processing buffer {"connection_id":229806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3b1f48012d7fa60005afe2e8000201102a..."} 
[2026-11-05 15:53:40] local.INFO: Packet analysis {"connection_id":229806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3b"} 
[2026-11-05 15:53:40] local.INFO: Extracted packet for processing {"connection_id":229806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3b"} 
[2026-11-05 15:53:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231703040001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793874141000,"timestamp_ms":1793874141000,"timestamp_seconds":1793874141,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3b1f48"} 
[2026-11-05 15:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 15:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231703040001,"66":25321,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231703040001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:53:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:53:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231703040001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":229806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:53:40] local.INFO: GPS data processed {"connection_id":229806,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:53:40] local.INFO: Acknowledgment sent {"connection_id":229806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:53:42] local.INFO: TCP Data received {"connection_id":233568,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233568,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:53:42] local.INFO: Processing buffer {"connection_id":233568,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:53:42] local.INFO: IMEI packet received {"connection_id":233568,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":233568,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:53:42] local.INFO: TCP Data received {"connection_id":233568,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3b8ca8012d0a7bc007061678000f006025..."} 
[2026-11-05 15:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3b8ca8012d0a7bc007061678000f006025..."} 
[2026-11-05 15:53:42] local.INFO: Processing buffer {"connection_id":233568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3b8ca8012d0a7bc007061678000f006025..."} 
[2026-11-05 15:53:42] local.INFO: Packet analysis {"connection_id":233568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3b"} 
[2026-11-05 15:53:42] local.INFO: Extracted packet for processing {"connection_id":233568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3b"} 
[2026-11-05 15:53:42] local.INFO: GPS Element Parsed {"raw_longitude":755661760,"raw_latitude":117839480,"longitude_deg":75.566176,"latitude_deg":11.783948,"altitude":15,"angle":96,"satellites":37,"speed":13,"hex_longitude":"2d0a7bc0","hex_latitude":"07061678","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231786496001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39470070845407232,"note":"Value kept but may cause issues"} 
[2026-11-05 15:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754564073983971328,"note":"Value kept but may cause issues"} 
[2026-11-05 15:53:42] 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-05 15:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793874169000,"timestamp_ms":1793874169000,"timestamp_seconds":1793874169,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3b8ca8"} 
[2026-11-05 15: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-05 15:53:42] 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-05 15: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 15:53:42] 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-05 15: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-05 15: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-05 15:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233568,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233568,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231786496001,"66":14537,"153":206,"94":10240,"24":13,"16":39470070845407232,"45":754564073983971328},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 15:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231786496001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:53:42] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 15:53:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 15:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39470070845407232,"km_value":39470070845407.234,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":754564073983971328,"description":"Unknown IO ID 45"} 
[2026-11-05 15:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231786496001,"power":14537,"unknown_153":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":754564073983971328}} 
[2026-11-05 15:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":233568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63817,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:53:43] local.INFO: GPS data processed {"connection_id":233568,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:53:43] local.INFO: Acknowledgment sent {"connection_id":233568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:53:46] local.INFO: TCP Data received {"connection_id":231660,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab382d60012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab382d60012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:53:46] local.INFO: Processing buffer {"connection_id":231660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab382d60012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:53:46] local.INFO: Packet analysis {"connection_id":231660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab38"} 
[2026-11-05 15:53:46] local.INFO: Extracted packet for processing {"connection_id":231660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab38"} 
[2026-11-05 15:53:46] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231653632001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793873948000,"timestamp_ms":1793873948000,"timestamp_seconds":1793873948,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab382d60"} 
[2026-11-05 15: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-05 15:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-11-05 15:53:46] 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-05 15: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-05 15: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-05 15:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":231660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":231660,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":231660,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231653632001,"66":26419,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231653632001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:53:46] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:53:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231653632001,"power":26419,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":231660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63818,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:53:46] local.INFO: GPS data processed {"connection_id":231660,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:53:46] local.INFO: Acknowledgment sent {"connection_id":231660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:53:47] local.INFO: TCP Data received {"connection_id":233568,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3b9478012d0a7e4007061638000f006d25..."} 
[2026-11-05 15:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3b9478012d0a7e4007061638000f006d25..."} 
[2026-11-05 15:53:47] local.INFO: Processing buffer {"connection_id":233568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3b9478012d0a7e4007061638000f006d25..."} 
[2026-11-05 15:53:47] local.INFO: Packet analysis {"connection_id":233568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3b"} 
[2026-11-05 15:53:47] local.INFO: Extracted packet for processing {"connection_id":233568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3b"} 
[2026-11-05 15:53:47] local.INFO: GPS Element Parsed {"raw_longitude":755662400,"raw_latitude":117839416,"longitude_deg":75.56624,"latitude_deg":11.7839416,"altitude":15,"angle":109,"satellites":37,"speed":10,"hex_longitude":"2d0a7e40","hex_latitude":"07061638","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231787264001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39470100910178304,"note":"Value kept but may cause issues"} 
[2026-11-05 15:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":755408498914129920,"note":"Value kept but may cause issues"} 
[2026-11-05 15:53:47] 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-05 15:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793874171000,"timestamp_ms":1793874171000,"timestamp_seconds":1793874171,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3b9478"} 
[2026-11-05 15: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-05 15:53:47] 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-05 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-05 15:53:47] 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-05 15: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-05 15: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-05 15:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":233568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":233568,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":233568,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231787264001,"66":14396,"153":206,"94":10240,"24":10,"16":39470100910178304,"45":755408498914129920},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 15:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231787264001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:53:47] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 15:53:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 15:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39470100910178304,"km_value":39470100910178.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":755408498914129920,"description":"Unknown IO ID 45"} 
[2026-11-05 15:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231787264001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":755408498914129920}} 
[2026-11-05 15:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":233568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63819,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:53:47] local.INFO: GPS data processed {"connection_id":233568,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:53:47] local.INFO: Acknowledgment sent {"connection_id":233568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:54:03] local.INFO: TCP Data received {"connection_id":229807,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:54:03] local.INFO: Processing buffer {"connection_id":229807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:54:03] local.INFO: IMEI packet received {"connection_id":229807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":229807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:54:06] local.INFO: TCP Data received {"connection_id":229808,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:54:06] local.INFO: Processing buffer {"connection_id":229808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:54:06] local.INFO: IMEI packet received {"connection_id":229808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":229808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:54:08] local.INFO: TCP Data received {"connection_id":229807,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:54:08] local.INFO: Processing buffer {"connection_id":229807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:54:08] local.INFO: IMEI packet received {"connection_id":229807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":229807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:54:09] local.INFO: TCP Data received {"connection_id":229807,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3b1f48012d7fa60005afe2e8000201102a..."} 
[2026-11-05 15:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3b1f48012d7fa60005afe2e8000201102a..."} 
[2026-11-05 15:54:09] local.INFO: Processing buffer {"connection_id":229807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3b1f48012d7fa60005afe2e8000201102a..."} 
[2026-11-05 15:54:09] local.INFO: Packet analysis {"connection_id":229807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3b"} 
[2026-11-05 15:54:09] local.INFO: Extracted packet for processing {"connection_id":229807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3b"} 
[2026-11-05 15:54:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231703040001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793874141000,"timestamp_ms":1793874141000,"timestamp_seconds":1793874141,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3b1f48"} 
[2026-11-05 15:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 15:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:54:09] local.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-05 15:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231703040001,"66":25321,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231703040001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:54:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:54:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231703040001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":229807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:54:09] local.INFO: GPS data processed {"connection_id":229807,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:54:09] local.INFO: Acknowledgment sent {"connection_id":229807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:54:11] local.INFO: TCP Data received {"connection_id":229808,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:54:11] local.INFO: Processing buffer {"connection_id":229808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:54:11] local.INFO: IMEI packet received {"connection_id":229808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":229808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:54:15] local.INFO: TCP Data received {"connection_id":229808,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab382d60012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab382d60012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:54:15] local.INFO: Processing buffer {"connection_id":229808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab382d60012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:54:15] local.INFO: Packet analysis {"connection_id":229808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab38"} 
[2026-11-05 15:54:15] local.INFO: Extracted packet for processing {"connection_id":229808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab38"} 
[2026-11-05 15:54:15] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231653632001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793873948000,"timestamp_ms":1793873948000,"timestamp_seconds":1793873948,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab382d60"} 
[2026-11-05 15: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-05 15:54:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-11-05 15:54:15] 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-05 15: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-05 15: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-05 15:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231653632001,"66":26419,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231653632001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:54:15] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:54:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231653632001,"power":26419,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":229808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63821,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:54:15] local.INFO: GPS data processed {"connection_id":229808,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:54:15] local.INFO: Acknowledgment sent {"connection_id":229808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:54:32] local.INFO: TCP Data received {"connection_id":233569,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233569,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:54:32] local.INFO: Processing buffer {"connection_id":233569,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:54:32] local.INFO: IMEI packet received {"connection_id":233569,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":233569,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:54:32] local.INFO: TCP Data received {"connection_id":233569,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233569,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:54:32] local.INFO: Processing buffer {"connection_id":233569,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:54:32] local.INFO: IMEI packet received {"connection_id":233569,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":233569,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:54:37] local.INFO: TCP Data received {"connection_id":233569,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233569,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:54:37] local.INFO: Processing buffer {"connection_id":233569,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:54:37] local.INFO: IMEI packet received {"connection_id":233569,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":233569,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:54:37] local.INFO: TCP Data received {"connection_id":233569,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3be298012d0a85c007061400000e006225..."} 
[2026-11-05 15:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3be298012d0a85c007061400000e006225..."} 
[2026-11-05 15:54:37] local.INFO: Processing buffer {"connection_id":233569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3be298012d0a85c007061400000e006225..."} 
[2026-11-05 15:54:37] local.INFO: Packet analysis {"connection_id":233569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3b"} 
[2026-11-05 15:54:37] local.INFO: Extracted packet for processing {"connection_id":233569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3b"} 
[2026-11-05 15:54:37] local.INFO: GPS Element Parsed {"raw_longitude":755664320,"raw_latitude":117838848,"longitude_deg":75.566432,"latitude_deg":11.7838848,"altitude":14,"angle":98,"satellites":37,"speed":5,"hex_longitude":"2d0a85c0","hex_latitude":"07061400","is_valid_coordinates":true} 
[2026-11-05 15:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231787776001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39470199694426112,"note":"Value kept but may cause issues"} 
[2026-11-05 15:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756112186355890176,"note":"Value kept but may cause issues"} 
[2026-11-05 15:54:37] 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-05 15:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793874191000,"timestamp_ms":1793874191000,"timestamp_seconds":1793874191,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3be298"} 
[2026-11-05 15:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:54:37] 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-05 15:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-05 15:54: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-05 15:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":233569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":233569,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":233569,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231787776001,"66":14428,"153":206,"94":10240,"24":5,"16":39470199694426112,"45":756112186355890176},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 15:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231787776001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:54:37] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 15:54:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 15:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39470199694426112,"km_value":39470199694426.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":756112186355890176,"description":"Unknown IO ID 45"} 
[2026-11-05 15:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231787776001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":756112186355890176}} 
[2026-11-05 15:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":233569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63822,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:54:38] local.INFO: GPS data processed {"connection_id":233569,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:54:38] local.INFO: Acknowledgment sent {"connection_id":233569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:54:40] local.INFO: TCP Data received {"connection_id":229807,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3b1f48012d7fa60005afe2e8000201102a..."} 
[2026-11-05 15:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3b1f48012d7fa60005afe2e8000201102a..."} 
[2026-11-05 15:54:40] local.INFO: Processing buffer {"connection_id":229807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3b1f48012d7fa60005afe2e8000201102a..."} 
[2026-11-05 15:54:40] local.INFO: Packet analysis {"connection_id":229807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3b"} 
[2026-11-05 15:54:40] local.INFO: Extracted packet for processing {"connection_id":229807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3b"} 
[2026-11-05 15:54:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231703040001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793874141000,"timestamp_ms":1793874141000,"timestamp_seconds":1793874141,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3b1f48"} 
[2026-11-05 15:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 15:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:54: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-05 15:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231703040001,"66":25321,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231703040001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:54:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:54:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231703040001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":229807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:54:40] local.INFO: GPS data processed {"connection_id":229807,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:54:40] local.INFO: Acknowledgment sent {"connection_id":229807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:54:42] local.INFO: TCP Data received {"connection_id":233569,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3bea68012d0a864007061400000e005725..."} 
[2026-11-05 15:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3bea68012d0a864007061400000e005725..."} 
[2026-11-05 15:54:42] local.INFO: Processing buffer {"connection_id":233569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3bea68012d0a864007061400000e005725..."} 
[2026-11-05 15:54:42] local.INFO: Packet analysis {"connection_id":233569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3b"} 
[2026-11-05 15:54:42] local.INFO: Extracted packet for processing {"connection_id":233569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3b"} 
[2026-11-05 15:54:42] local.INFO: GPS Element Parsed {"raw_longitude":755664448,"raw_latitude":117838848,"longitude_deg":75.5664448,"latitude_deg":11.7838848,"altitude":14,"angle":87,"satellites":37,"speed":0,"hex_longitude":"2d0a8640","hex_latitude":"07061400","is_valid_coordinates":true} 
[2026-11-05 15:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231792896001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39470203989393408,"note":"Value kept but may cause issues"} 
[2026-11-05 15:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758223248681074688,"note":"Value kept but may cause issues"} 
[2026-11-05 15:54:42] 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-05 15:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793874193000,"timestamp_ms":1793874193000,"timestamp_seconds":1793874193,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3bea68"} 
[2026-11-05 15:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 15:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 15:54:42] 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-05 15:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":233569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":233569,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":233569,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231792896001,"66":14515,"153":206,"94":10240,"24":0,"16":39470203989393408,"45":758223248681074688},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 15:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231792896001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:54:42] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 15:54:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 15:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39470203989393408,"km_value":39470203989393.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":758223248681074688,"description":"Unknown IO ID 45"} 
[2026-11-05 15:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231792896001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":758223248681074688}} 
[2026-11-05 15:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":233569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63824,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:54:42] local.INFO: GPS data processed {"connection_id":233569,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:54:42] local.INFO: Acknowledgment sent {"connection_id":233569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:54:47] local.INFO: TCP Data received {"connection_id":229808,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab382d60012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab382d60012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:54:47] local.INFO: Processing buffer {"connection_id":229808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab382d60012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:54:47] local.INFO: Packet analysis {"connection_id":229808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab38"} 
[2026-11-05 15:54:47] local.INFO: Extracted packet for processing {"connection_id":229808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab38"} 
[2026-11-05 15:54:47] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231653632001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793873948000,"timestamp_ms":1793873948000,"timestamp_seconds":1793873948,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab382d60"} 
[2026-11-05 15:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-11-05 15:54: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-05 15:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231653632001,"66":26419,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231653632001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:54:47] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:54:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231653632001,"power":26419,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":229808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63825,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:54:47] local.INFO: GPS data processed {"connection_id":229808,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:54:47] local.INFO: Acknowledgment sent {"connection_id":229808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:55:03] local.INFO: TCP Data received {"connection_id":229809,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:55:03] local.INFO: Processing buffer {"connection_id":229809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:55:03] local.INFO: IMEI packet received {"connection_id":229809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":229809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:55:06] local.INFO: TCP Data received {"connection_id":233570,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:55:06] local.INFO: Processing buffer {"connection_id":233570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:55:06] local.INFO: IMEI packet received {"connection_id":233570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":233570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:55:08] local.INFO: TCP Data received {"connection_id":229809,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:55:08] local.INFO: Processing buffer {"connection_id":229809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:55:08] local.INFO: IMEI packet received {"connection_id":229809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":229809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:55:09] local.INFO: TCP Data received {"connection_id":229809,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3b1f48012d7fa60005afe2e8000201102a..."} 
[2026-11-05 15:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3b1f48012d7fa60005afe2e8000201102a..."} 
[2026-11-05 15:55:09] local.INFO: Processing buffer {"connection_id":229809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3b1f48012d7fa60005afe2e8000201102a..."} 
[2026-11-05 15:55:09] local.INFO: Packet analysis {"connection_id":229809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3b"} 
[2026-11-05 15:55:09] local.INFO: Extracted packet for processing {"connection_id":229809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3b"} 
[2026-11-05 15:55:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:55: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-05 15:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231703040001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793874141000,"timestamp_ms":1793874141000,"timestamp_seconds":1793874141,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3b1f48"} 
[2026-11-05 15:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 15:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:55: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-05 15:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:55:09] local.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-05 15:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231703040001,"66":25321,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231703040001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:55:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:55:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231703040001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":229809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:55:09] local.INFO: GPS data processed {"connection_id":229809,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:55:09] local.INFO: Acknowledgment sent {"connection_id":229809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:55:11] local.INFO: TCP Data received {"connection_id":233570,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:55:11] local.INFO: Processing buffer {"connection_id":233570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:55:11] local.INFO: IMEI packet received {"connection_id":233570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":233570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:55:13] local.INFO: TCP Data received {"connection_id":233569,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3d55b0012d0a7700070615c8000e00c426..."} 
[2026-11-05 15:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3d55b0012d0a7700070615c8000e00c426..."} 
[2026-11-05 15:55:13] local.INFO: Processing buffer {"connection_id":233569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3d55b0012d0a7700070615c8000e00c426..."} 
[2026-11-05 15:55:13] local.INFO: Packet analysis {"connection_id":233569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3d"} 
[2026-11-05 15:55:13] local.INFO: Extracted packet for processing {"connection_id":233569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3d"} 
[2026-11-05 15:55:13] local.INFO: GPS Element Parsed {"raw_longitude":755660544,"raw_latitude":117839304,"longitude_deg":75.5660544,"latitude_deg":11.7839304,"altitude":14,"angle":196,"satellites":38,"speed":10,"hex_longitude":"2d0a7700","hex_latitude":"070615c8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231816960001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39470538996842496,"note":"Value kept but may cause issues"} 
[2026-11-05 15:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754141861518944256,"note":"Value kept but may cause issues"} 
[2026-11-05 15:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793874286000,"timestamp_ms":1793874286000,"timestamp_seconds":1793874286,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3d55b0"} 
[2026-11-05 15: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-05 15:55: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-05 15:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-11-05 15:55:13] 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-05 15: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-05 15: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-05 15:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":233569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":233569,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":233569,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231816960001,"66":14537,"153":206,"94":10240,"24":10,"16":39470538996842496,"45":754141861518944256},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 15:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231816960001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:55:13] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 15:55:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 15:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39470538996842496,"km_value":39470538996842.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":754141861518944256,"description":"Unknown IO ID 45"} 
[2026-11-05 15:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231816960001,"power":14537,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":754141861518944256}} 
[2026-11-05 15:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":233569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63827,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:55:13] local.INFO: GPS data processed {"connection_id":233569,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:55:13] local.INFO: Acknowledgment sent {"connection_id":233569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:55:15] local.INFO: TCP Data received {"connection_id":233570,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3cc140012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3cc140012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:55:15] local.INFO: Processing buffer {"connection_id":233570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3cc140012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:55:15] local.INFO: Packet analysis {"connection_id":233570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3c"} 
[2026-11-05 15:55:15] local.INFO: Extracted packet for processing {"connection_id":233570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3c"} 
[2026-11-05 15:55:15] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231730688001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793874248000,"timestamp_ms":1793874248000,"timestamp_seconds":1793874248,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3cc140"} 
[2026-11-05 15: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-05 15:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-11-05 15:55:15] 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-05 15: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-05 15: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-05 15:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231730688001,"66":26376,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231730688001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:55:15] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:55:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231730688001,"power":26376,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":233570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63828,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:55:15] local.INFO: GPS data processed {"connection_id":233570,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:55:15] local.INFO: Acknowledgment sent {"connection_id":233570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:55:34] local.INFO: TCP Data received {"connection_id":229810,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229810,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:55:34] local.INFO: Processing buffer {"connection_id":229810,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:55:34] local.INFO: IMEI packet received {"connection_id":229810,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":229810,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:55:36] local.INFO: TCP Data received {"connection_id":229810,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229810,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:55:36] local.INFO: Processing buffer {"connection_id":229810,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:55:36] local.INFO: IMEI packet received {"connection_id":229810,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":229810,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:55:37] local.INFO: TCP Data received {"connection_id":229810,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3d78d8012d0a744007060a68000f00b624..."} 
[2026-11-05 15:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3d78d8012d0a744007060a68000f00b624..."} 
[2026-11-05 15:55:37] local.INFO: Processing buffer {"connection_id":229810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3d78d8012d0a744007060a68000f00b624..."} 
[2026-11-05 15:55:37] local.INFO: Packet analysis {"connection_id":229810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3d"} 
[2026-11-05 15:55:37] local.INFO: Extracted packet for processing {"connection_id":229810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3d"} 
[2026-11-05 15:55:37] local.INFO: GPS Element Parsed {"raw_longitude":755659840,"raw_latitude":117836392,"longitude_deg":75.565984,"latitude_deg":11.7836392,"altitude":15,"angle":182,"satellites":36,"speed":12,"hex_longitude":"2d0a7440","hex_latitude":"07060a68","is_valid_coordinates":true} 
[2026-11-05 15:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231817216001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39470685025730560,"note":"Value kept but may cause issues"} 
[2026-11-05 15:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754071492774709248,"note":"Value kept but may cause issues"} 
[2026-11-05 15:55:37] 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-05 15:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793874295000,"timestamp_ms":1793874295000,"timestamp_seconds":1793874295,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3d78d8"} 
[2026-11-05 15:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 15:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-05 15:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":229810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":229810,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":229810,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231817216001,"66":14613,"153":206,"94":10240,"24":12,"16":39470685025730560,"45":754071492774709248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 15:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231817216001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:55:37] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 15:55:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 15:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39470685025730560,"km_value":39470685025730.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":754071492774709248,"description":"Unknown IO ID 45"} 
[2026-11-05 15:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231817216001,"power":14613,"unknown_153":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":754071492774709248}} 
[2026-11-05 15:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":229810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63829,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:55:37] local.INFO: GPS data processed {"connection_id":229810,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:55:37] local.INFO: Acknowledgment sent {"connection_id":229810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:55:40] local.INFO: TCP Data received {"connection_id":229809,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3b1f48012d7fa60005afe2e8000201102a..."} 
[2026-11-05 15:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3b1f48012d7fa60005afe2e8000201102a..."} 
[2026-11-05 15:55:40] local.INFO: Processing buffer {"connection_id":229809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3b1f48012d7fa60005afe2e8000201102a..."} 
[2026-11-05 15:55:40] local.INFO: Packet analysis {"connection_id":229809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3b"} 
[2026-11-05 15:55:40] local.INFO: Extracted packet for processing {"connection_id":229809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3b"} 
[2026-11-05 15:55:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231703040001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793874141000,"timestamp_ms":1793874141000,"timestamp_seconds":1793874141,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3b1f48"} 
[2026-11-05 15:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 15:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:55: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-05 15:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231703040001,"66":25321,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231703040001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:55:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:55:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231703040001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":229809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:55:40] local.INFO: GPS data processed {"connection_id":229809,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:55:40] local.INFO: Acknowledgment sent {"connection_id":229809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:55:42] local.INFO: TCP Data received {"connection_id":229810,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3d8878012d0a750007060578000f00aa25..."} 
[2026-11-05 15:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3d8878012d0a750007060578000f00aa25..."} 
[2026-11-05 15:55:42] local.INFO: Processing buffer {"connection_id":229810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3d8878012d0a750007060578000f00aa25..."} 
[2026-11-05 15:55:42] local.INFO: Packet analysis {"connection_id":229810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3d"} 
[2026-11-05 15:55:42] local.INFO: Extracted packet for processing {"connection_id":229810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3d"} 
[2026-11-05 15:55:42] local.INFO: GPS Element Parsed {"raw_longitude":755660032,"raw_latitude":117835128,"longitude_deg":75.5660032,"latitude_deg":11.7835128,"altitude":15,"angle":170,"satellites":37,"speed":8,"hex_longitude":"2d0a7500","hex_latitude":"07060578","is_valid_coordinates":true} 
[2026-11-05 15:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231819520001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39470745155272704,"note":"Value kept but may cause issues"} 
[2026-11-05 15:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753297436588009472,"note":"Value kept but may cause issues"} 
[2026-11-05 15:55:42] 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-05 15:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793874299000,"timestamp_ms":1793874299000,"timestamp_seconds":1793874299,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3d8878"} 
[2026-11-05 15:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 15:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-11-05 15:55:42] 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-05 15:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229810,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229810,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231819520001,"66":14537,"153":206,"94":10240,"24":8,"16":39470745155272704,"45":753297436588009472},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 15:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231819520001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:55:42] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 15:55:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 15:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39470745155272704,"km_value":39470745155272.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":753297436588009472,"description":"Unknown IO ID 45"} 
[2026-11-05 15:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231819520001,"power":14537,"unknown_153":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":753297436588009472}} 
[2026-11-05 15:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":229810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63831,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:55:42] local.INFO: GPS data processed {"connection_id":229810,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:55:42] local.INFO: Acknowledgment sent {"connection_id":229810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:55:48] local.INFO: TCP Data received {"connection_id":233570,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3cc140012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3cc140012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:55:48] local.INFO: Processing buffer {"connection_id":233570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3cc140012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:55:48] local.INFO: Packet analysis {"connection_id":233570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3c"} 
[2026-11-05 15:55:48] local.INFO: Extracted packet for processing {"connection_id":233570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3c"} 
[2026-11-05 15:55:48] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231730688001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793874248000,"timestamp_ms":1793874248000,"timestamp_seconds":1793874248,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3cc140"} 
[2026-11-05 15: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-05 15:55:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":51,"data_length":795,"current_offset":136} 
[2026-11-05 15:55: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-05 15: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-05 15: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-05 15:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":233570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":233570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":233570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231730688001,"66":26376,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231730688001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:55:48] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:55:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231730688001,"power":26376,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":233570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63832,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:55:48] local.INFO: GPS data processed {"connection_id":233570,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:55:48] local.INFO: Acknowledgment sent {"connection_id":233570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:56:03] local.INFO: TCP Data received {"connection_id":231661,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:56:03] local.INFO: Processing buffer {"connection_id":231661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:56:03] local.INFO: IMEI packet received {"connection_id":231661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":231661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:56:05] local.INFO: TCP Data received {"connection_id":231662,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:56:05] local.INFO: Processing buffer {"connection_id":231662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:56:05] local.INFO: IMEI packet received {"connection_id":231662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":231662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:56:08] local.INFO: TCP Data received {"connection_id":231661,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:56:08] local.INFO: Processing buffer {"connection_id":231661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:56:08] local.INFO: IMEI packet received {"connection_id":231661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":231661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:56:10] local.INFO: TCP Data received {"connection_id":231661,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3b1f48012d7fa60005afe2e8000201102a..."} 
[2026-11-05 15:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3b1f48012d7fa60005afe2e8000201102a..."} 
[2026-11-05 15:56:10] local.INFO: Processing buffer {"connection_id":231661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3b1f48012d7fa60005afe2e8000201102a..."} 
[2026-11-05 15:56:10] local.INFO: Packet analysis {"connection_id":231661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3b"} 
[2026-11-05 15:56:10] local.INFO: Extracted packet for processing {"connection_id":231661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3b"} 
[2026-11-05 15:56:10] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231703040001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793874141000,"timestamp_ms":1793874141000,"timestamp_seconds":1793874141,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3b1f48"} 
[2026-11-05 15:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 15:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231703040001,"66":25321,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231703040001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:56:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231703040001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":231661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:56:10] local.INFO: GPS data processed {"connection_id":231661,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:56:10] local.INFO: Acknowledgment sent {"connection_id":231661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:56:11] local.INFO: TCP Data received {"connection_id":231662,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:56:11] local.INFO: Processing buffer {"connection_id":231662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:56:11] local.INFO: IMEI packet received {"connection_id":231662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":231662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:56:12] local.INFO: TCP Data received {"connection_id":231662,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3cc140012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3cc140012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:56:12] local.INFO: Processing buffer {"connection_id":231662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3cc140012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:56:12] local.INFO: Packet analysis {"connection_id":231662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3c"} 
[2026-11-05 15:56:12] local.INFO: Extracted packet for processing {"connection_id":231662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3c"} 
[2026-11-05 15:56:12] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231730688001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793874248000,"timestamp_ms":1793874248000,"timestamp_seconds":1793874248,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3cc140"} 
[2026-11-05 15:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-11-05 15:56:12] 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-05 15:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231730688001,"66":26376,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231730688001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:56:12] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:56:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231730688001,"power":26376,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":231662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63834,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:56:13] local.INFO: GPS data processed {"connection_id":231662,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:56:13] local.INFO: Acknowledgment sent {"connection_id":231662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:56:13] local.INFO: TCP Data received {"connection_id":229810,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3dd698012d0a750007060418001000ad23..."} 
[2026-11-05 15:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3dd698012d0a750007060418001000ad23..."} 
[2026-11-05 15:56:13] local.INFO: Processing buffer {"connection_id":229810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3dd698012d0a750007060418001000ad23..."} 
[2026-11-05 15:56:13] local.INFO: Packet analysis {"connection_id":229810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3d"} 
[2026-11-05 15:56:13] local.INFO: Extracted packet for processing {"connection_id":229810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3d"} 
[2026-11-05 15:56:13] local.INFO: GPS Element Parsed {"raw_longitude":755660032,"raw_latitude":117834776,"longitude_deg":75.5660032,"latitude_deg":11.7834776,"altitude":16,"angle":173,"satellites":35,"speed":0,"hex_longitude":"2d0a7500","hex_latitude":"07060418","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231820544001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39470766630109184,"note":"Value kept but may cause issues"} 
[2026-11-05 15:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753508542820218880,"note":"Value kept but may cause issues"} 
[2026-11-05 15:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793874319000,"timestamp_ms":1793874319000,"timestamp_seconds":1793874319,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3dd698"} 
[2026-11-05 15: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-05 15:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-05 15:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15: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-05 15: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-05 15:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229810,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229810,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231820544001,"66":14548,"153":206,"94":10240,"24":0,"16":39470766630109184,"45":753508542820218880},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 15:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231820544001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:56:13] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 15:56:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 15:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39470766630109184,"km_value":39470766630109.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":753508542820218880,"description":"Unknown IO ID 45"} 
[2026-11-05 15:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231820544001,"power":14548,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753508542820218880}} 
[2026-11-05 15:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":229810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63835,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:56:13] local.INFO: GPS data processed {"connection_id":229810,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:56:13] local.INFO: Acknowledgment sent {"connection_id":229810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:56:32] local.INFO: TCP Data received {"connection_id":230324,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230324,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:56:32] local.INFO: Processing buffer {"connection_id":230324,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:56:32] local.INFO: IMEI packet received {"connection_id":230324,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":230324,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:56:36] local.INFO: TCP Data received {"connection_id":230324,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230324,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:56:36] local.INFO: Processing buffer {"connection_id":230324,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:56:36] local.INFO: IMEI packet received {"connection_id":230324,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":230324,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:56:37] local.INFO: TCP Data received {"connection_id":230324,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3e28a0012d0a750007060418001000ad24..."} 
[2026-11-05 15:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3e28a0012d0a750007060418001000ad24..."} 
[2026-11-05 15:56:37] local.INFO: Processing buffer {"connection_id":230324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3e28a0012d0a750007060418001000ad24..."} 
[2026-11-05 15:56:37] local.INFO: Packet analysis {"connection_id":230324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3e"} 
[2026-11-05 15:56:37] local.INFO: Extracted packet for processing {"connection_id":230324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3e"} 
[2026-11-05 15:56:37] local.INFO: GPS Element Parsed {"raw_longitude":755660032,"raw_latitude":117834776,"longitude_deg":75.5660032,"latitude_deg":11.7834776,"altitude":16,"angle":173,"satellites":36,"speed":0,"hex_longitude":"2d0a7500","hex_latitude":"07060418","is_valid_coordinates":true} 
[2026-11-05 15:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231825664001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39470766630109184,"note":"Value kept but may cause issues"} 
[2026-11-05 15:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753508542820128768,"note":"Value kept but may cause issues"} 
[2026-11-05 15:56:37] 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-05 15:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793874340000,"timestamp_ms":1793874340000,"timestamp_seconds":1793874340,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3e28a0"} 
[2026-11-05 15:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 15:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-05 15:56: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-05 15:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":230324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":230324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":230324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231825664001,"66":14548,"153":206,"94":10240,"24":0,"16":39470766630109184,"45":753508542820128768},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 15:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231825664001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:56:37] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 15:56:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 15:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39470766630109184,"km_value":39470766630109.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":753508542820128768,"description":"Unknown IO ID 45"} 
[2026-11-05 15:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231825664001,"power":14548,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753508542820128768}} 
[2026-11-05 15:56:37] 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":63836,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:56:37] local.INFO: GPS data processed {"connection_id":230324,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:56:37] local.INFO: Acknowledgment sent {"connection_id":230324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:56:42] local.INFO: TCP Data received {"connection_id":231661,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3b1f48012d7fa60005afe2e8000201102a..."} 
[2026-11-05 15:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3b1f48012d7fa60005afe2e8000201102a..."} 
[2026-11-05 15:56:42] local.INFO: Processing buffer {"connection_id":231661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3b1f48012d7fa60005afe2e8000201102a..."} 
[2026-11-05 15:56:42] local.INFO: Packet analysis {"connection_id":231661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3b"} 
[2026-11-05 15:56:42] local.INFO: Extracted packet for processing {"connection_id":231661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3b"} 
[2026-11-05 15:56:42] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231703040001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793874141000,"timestamp_ms":1793874141000,"timestamp_seconds":1793874141,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3b1f48"} 
[2026-11-05 15:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:56: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-05 15:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 15:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231703040001,"66":25321,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231703040001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:56:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:56:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231703040001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":231661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:56:42] local.INFO: GPS data processed {"connection_id":231661,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:56:42] local.INFO: Acknowledgment sent {"connection_id":231661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:56:45] local.INFO: TCP Data received {"connection_id":231662,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3cc140012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3cc140012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:56:45] local.INFO: Processing buffer {"connection_id":231662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3cc140012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:56:45] local.INFO: Packet analysis {"connection_id":231662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3c"} 
[2026-11-05 15:56:45] local.INFO: Extracted packet for processing {"connection_id":231662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3c"} 
[2026-11-05 15:56:45] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231730688001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793874248000,"timestamp_ms":1793874248000,"timestamp_seconds":1793874248,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3cc140"} 
[2026-11-05 15: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-05 15:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-11-05 15:56:45] 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-05 15: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-05 15: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-05 15:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":231662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":231662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":231662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231730688001,"66":26376,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231730688001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:56:45] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:56:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231730688001,"power":26376,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":231662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63838,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:56:46] local.INFO: GPS data processed {"connection_id":231662,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:56:46] local.INFO: Acknowledgment sent {"connection_id":231662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:57:05] local.INFO: TCP Data received {"connection_id":229812,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:57:05] local.INFO: Processing buffer {"connection_id":229812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:57:05] local.INFO: IMEI packet received {"connection_id":229812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":229812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:57:08] local.INFO: TCP Data received {"connection_id":230324,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3e7aa8012d0a750007060418001000ad25..."} 
[2026-11-05 15:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3e7aa8012d0a750007060418001000ad25..."} 
[2026-11-05 15:57:08] local.INFO: Processing buffer {"connection_id":230324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3e7aa8012d0a750007060418001000ad25..."} 
[2026-11-05 15:57:08] local.INFO: Packet analysis {"connection_id":230324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3e"} 
[2026-11-05 15:57:08] local.INFO: Extracted packet for processing {"connection_id":230324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3e"} 
[2026-11-05 15:57:08] local.INFO: GPS Element Parsed {"raw_longitude":755660032,"raw_latitude":117834776,"longitude_deg":75.5660032,"latitude_deg":11.7834776,"altitude":16,"angle":173,"satellites":37,"speed":0,"hex_longitude":"2d0a7500","hex_latitude":"07060418","is_valid_coordinates":true} 
[2026-11-05 15:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231831040001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39470766630109184,"note":"Value kept but may cause issues"} 
[2026-11-05 15:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753508542820128768,"note":"Value kept but may cause issues"} 
[2026-11-05 15:57:08] 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-05 15:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793874361000,"timestamp_ms":1793874361000,"timestamp_seconds":1793874361,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3e7aa8"} 
[2026-11-05 15:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 15:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-05 15:57:08] 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-05 15:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":230324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":230324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":230324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231831040001,"66":14515,"153":206,"94":10240,"24":0,"16":39470766630109184,"45":753508542820128768},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 15:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231831040001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:57:08] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 15:57:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 15:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39470766630109184,"km_value":39470766630109.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":753508542820128768,"description":"Unknown IO ID 45"} 
[2026-11-05 15:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231831040001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753508542820128768}} 
[2026-11-05 15:57:08] local.INFO: TCP Data received {"connection_id":229811,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:57:08] local.INFO: Processing buffer {"connection_id":229811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:57:08] local.INFO: IMEI packet received {"connection_id":229811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":229811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:57:08] 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":63839,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:57:08] local.INFO: GPS data processed {"connection_id":230324,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:57:08] local.INFO: Acknowledgment sent {"connection_id":230324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:57:11] local.INFO: TCP Data received {"connection_id":229812,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:57:11] local.INFO: Processing buffer {"connection_id":229812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:57:11] local.INFO: IMEI packet received {"connection_id":229812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":229812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:57:13] local.INFO: TCP Data received {"connection_id":229811,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:57:13] local.INFO: Processing buffer {"connection_id":229811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:57:13] local.INFO: IMEI packet received {"connection_id":229811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":229811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:57:14] local.INFO: TCP Data received {"connection_id":229812,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3cc140012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3cc140012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:57:14] local.INFO: Processing buffer {"connection_id":229812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3cc140012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:57:14] local.INFO: Packet analysis {"connection_id":229812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3c"} 
[2026-11-05 15:57:14] local.INFO: Extracted packet for processing {"connection_id":229812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3c"} 
[2026-11-05 15:57:14] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231730688001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793874248000,"timestamp_ms":1793874248000,"timestamp_seconds":1793874248,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3cc140"} 
[2026-11-05 15: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-05 15:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-11-05 15:57:14] 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-05 15: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-05 15: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-05 15:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231730688001,"66":26376,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231730688001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:57:14] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:57:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231730688001,"power":26376,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":229812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63840,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:57:14] local.INFO: GPS data processed {"connection_id":229812,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:57:14] local.INFO: Acknowledgment sent {"connection_id":229812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:57:14] local.INFO: TCP Data received {"connection_id":229811,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3b1f48012d7fa60005afe2e8000201102a..."} 
[2026-11-05 15:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3b1f48012d7fa60005afe2e8000201102a..."} 
[2026-11-05 15:57:14] local.INFO: Processing buffer {"connection_id":229811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3b1f48012d7fa60005afe2e8000201102a..."} 
[2026-11-05 15:57:14] local.INFO: Packet analysis {"connection_id":229811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3b"} 
[2026-11-05 15:57:14] local.INFO: Extracted packet for processing {"connection_id":229811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3b"} 
[2026-11-05 15:57:14] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231703040001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793874141000,"timestamp_ms":1793874141000,"timestamp_seconds":1793874141,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3b1f48"} 
[2026-11-05 15: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-05 15:57: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-05 15:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 15:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15: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-05 15: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-05 15:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231703040001,"66":25321,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231703040001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:57:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:57:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231703040001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":229811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:57:14] local.INFO: GPS data processed {"connection_id":229811,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:57:14] local.INFO: Acknowledgment sent {"connection_id":229811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:57:31] local.INFO: TCP Data received {"connection_id":231663,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231663,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:57:31] local.INFO: Processing buffer {"connection_id":231663,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:57:31] local.INFO: IMEI packet received {"connection_id":231663,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":231663,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:57:36] local.INFO: TCP Data received {"connection_id":231663,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231663,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:57:36] local.INFO: Processing buffer {"connection_id":231663,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:57:36] local.INFO: IMEI packet received {"connection_id":231663,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":231663,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:57:37] local.INFO: TCP Data received {"connection_id":231663,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3eccb0012d0a750007060418001000ad25..."} 
[2026-11-05 15:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3eccb0012d0a750007060418001000ad25..."} 
[2026-11-05 15:57:37] local.INFO: Processing buffer {"connection_id":231663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3eccb0012d0a750007060418001000ad25..."} 
[2026-11-05 15:57:37] local.INFO: Packet analysis {"connection_id":231663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3e"} 
[2026-11-05 15:57:37] local.INFO: Extracted packet for processing {"connection_id":231663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3e"} 
[2026-11-05 15:57:37] local.INFO: GPS Element Parsed {"raw_longitude":755660032,"raw_latitude":117834776,"longitude_deg":75.5660032,"latitude_deg":11.7834776,"altitude":16,"angle":173,"satellites":37,"speed":0,"hex_longitude":"2d0a7500","hex_latitude":"07060418","is_valid_coordinates":true} 
[2026-11-05 15:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231836416001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39470766630109184,"note":"Value kept but may cause issues"} 
[2026-11-05 15:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753508542820128768,"note":"Value kept but may cause issues"} 
[2026-11-05 15:57:37] 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-05 15:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793874382000,"timestamp_ms":1793874382000,"timestamp_seconds":1793874382,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3eccb0"} 
[2026-11-05 15:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 15:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-05 15:57:37] 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-05 15:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":231663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":231663,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":231663,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231836416001,"66":14537,"153":206,"94":10240,"24":0,"16":39470766630109184,"45":753508542820128768},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 15:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231836416001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:57:37] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 15:57:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 15:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39470766630109184,"km_value":39470766630109.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":753508542820128768,"description":"Unknown IO ID 45"} 
[2026-11-05 15:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231836416001,"power":14537,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753508542820128768}} 
[2026-11-05 15:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":231663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63842,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:57:37] local.INFO: GPS data processed {"connection_id":231663,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:57:37] local.INFO: Acknowledgment sent {"connection_id":231663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:57:45] local.INFO: TCP Data received {"connection_id":229811,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3b1f48012d7fa60005afe2e8000201102a..."} 
[2026-11-05 15:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3b1f48012d7fa60005afe2e8000201102a..."} 
[2026-11-05 15:57:45] local.INFO: Processing buffer {"connection_id":229811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3b1f48012d7fa60005afe2e8000201102a..."} 
[2026-11-05 15:57:45] local.INFO: Packet analysis {"connection_id":229811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3b"} 
[2026-11-05 15:57:45] local.INFO: Extracted packet for processing {"connection_id":229811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3b"} 
[2026-11-05 15:57:45] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231703040001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793874141000,"timestamp_ms":1793874141000,"timestamp_seconds":1793874141,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3b1f48"} 
[2026-11-05 15:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:57: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-05 15:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 15:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231703040001,"66":25321,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231703040001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:57:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:57:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231703040001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":229811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:57:45] local.INFO: GPS data processed {"connection_id":229811,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:57:45] local.INFO: Acknowledgment sent {"connection_id":229811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:57:46] local.INFO: TCP Data received {"connection_id":229812,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3cc140012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3cc140012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:57:46] local.INFO: Processing buffer {"connection_id":229812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3cc140012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:57:46] local.INFO: Packet analysis {"connection_id":229812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3c"} 
[2026-11-05 15:57:46] local.INFO: Extracted packet for processing {"connection_id":229812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3c"} 
[2026-11-05 15:57:46] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231730688001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793874248000,"timestamp_ms":1793874248000,"timestamp_seconds":1793874248,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3cc140"} 
[2026-11-05 15: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-05 15:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-11-05 15:57:46] 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-05 15: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-05 15: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-05 15:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231730688001,"66":26376,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231730688001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:57:46] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:57:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231730688001,"power":26376,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":229812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63844,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:57:47] local.INFO: GPS data processed {"connection_id":229812,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:57:47] local.INFO: Acknowledgment sent {"connection_id":229812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:58:03] local.INFO: TCP Data received {"connection_id":231664,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:58:03] local.INFO: Processing buffer {"connection_id":231664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:58:03] local.INFO: IMEI packet received {"connection_id":231664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":231664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:58:08] local.INFO: TCP Data received {"connection_id":231664,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:58:08] local.INFO: Processing buffer {"connection_id":231664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:58:08] local.INFO: IMEI packet received {"connection_id":231664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":231664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:58:09] local.INFO: TCP Data received {"connection_id":231663,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3f1eb8012d0a75c00705f808001200b227..."} 
[2026-11-05 15:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3f1eb8012d0a75c00705f808001200b227..."} 
[2026-11-05 15:58:09] local.INFO: Processing buffer {"connection_id":231663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3f1eb8012d0a75c00705f808001200b227..."} 
[2026-11-05 15:58:09] local.INFO: Packet analysis {"connection_id":231663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3f"} 
[2026-11-05 15:58:09] local.INFO: Extracted packet for processing {"connection_id":231663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3f"} 
[2026-11-05 15:58:09] local.INFO: GPS Element Parsed {"raw_longitude":755660224,"raw_latitude":117831688,"longitude_deg":75.5660224,"latitude_deg":11.7831688,"altitude":18,"angle":178,"satellites":39,"speed":4,"hex_longitude":"2d0a75c0","hex_latitude":"0705f808","is_valid_coordinates":true} 
[2026-11-05 15:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231841792001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39470921248931840,"note":"Value kept but may cause issues"} 
[2026-11-05 15:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753508542820128768,"note":"Value kept but may cause issues"} 
[2026-11-05 15:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793874403000,"timestamp_ms":1793874403000,"timestamp_seconds":1793874403,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3f1eb8"} 
[2026-11-05 15:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 15:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-05 15:58:09] 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-05 15:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231663,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231663,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231841792001,"66":14450,"153":206,"94":10240,"24":4,"16":39470921248931840,"45":753508542820128768},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 15:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231841792001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:58:09] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 15:58:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 15:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39470921248931840,"km_value":39470921248931.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":753508542820128768,"description":"Unknown IO ID 45"} 
[2026-11-05 15:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231841792001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":753508542820128768}} 
[2026-11-05 15:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":231663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63845,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:58:09] local.INFO: GPS data processed {"connection_id":231663,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:58:09] local.INFO: Acknowledgment sent {"connection_id":231663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:58:09] local.INFO: TCP Data received {"connection_id":231664,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3fb710012d7fa60005afe2e80000011028..."} 
[2026-11-05 15:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3fb710012d7fa60005afe2e80000011028..."} 
[2026-11-05 15:58:09] local.INFO: Processing buffer {"connection_id":231664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3fb710012d7fa60005afe2e80000011028..."} 
[2026-11-05 15:58:09] local.INFO: Packet analysis {"connection_id":231664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3f"} 
[2026-11-05 15:58:09] local.INFO: Extracted packet for processing {"connection_id":231664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3f"} 
[2026-11-05 15:58:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231780096001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793874442000,"timestamp_ms":1793874442000,"timestamp_seconds":1793874442,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3fb710"} 
[2026-11-05 15:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 15:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:58:09] local.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-05 15:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231780096001,"66":25321,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231780096001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:58:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:58:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231780096001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":231664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:58:09] local.INFO: GPS data processed {"connection_id":231664,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:58:09] local.INFO: Acknowledgment sent {"connection_id":231664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:58:31] local.INFO: TCP Data received {"connection_id":233572,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233572,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:58:31] local.INFO: Processing buffer {"connection_id":233572,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:58:31] local.INFO: IMEI packet received {"connection_id":233572,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":233572,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:58:36] local.INFO: TCP Data received {"connection_id":233572,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233572,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:58:36] local.INFO: Processing buffer {"connection_id":233572,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:58:36] local.INFO: IMEI packet received {"connection_id":233572,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":233572,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:58:37] local.INFO: TCP Data received {"connection_id":233572,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3f5568012d0a75c00705e620001400bf26..."} 
[2026-11-05 15:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3f5568012d0a75c00705e620001400bf26..."} 
[2026-11-05 15:58:37] local.INFO: Processing buffer {"connection_id":233572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3f5568012d0a75c00705e620001400bf26..."} 
[2026-11-05 15:58:37] local.INFO: Packet analysis {"connection_id":233572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3f"} 
[2026-11-05 15:58:37] local.INFO: Extracted packet for processing {"connection_id":233572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3f"} 
[2026-11-05 15:58:37] local.INFO: GPS Element Parsed {"raw_longitude":755660224,"raw_latitude":117827104,"longitude_deg":75.5660224,"latitude_deg":11.7827104,"altitude":20,"angle":191,"satellites":38,"speed":15,"hex_longitude":"2d0a75c0","hex_latitude":"0705e620","is_valid_coordinates":true} 
[2026-11-05 15:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231847168001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39471148882198528,"note":"Value kept but may cause issues"} 
[2026-11-05 15:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753719649051871232,"note":"Value kept but may cause issues"} 
[2026-11-05 15:58:37] 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-05 15:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793874417000,"timestamp_ms":1793874417000,"timestamp_seconds":1793874417,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3f5568"} 
[2026-11-05 15:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 15:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-05 15:58:37] 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-05 15:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":233572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":233572,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":233572,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231847168001,"66":14407,"153":206,"94":10240,"24":15,"16":39471148882198528,"45":753719649051871232},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 15:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231847168001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:58:37] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 15:58:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 15:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39471148882198528,"km_value":39471148882198.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":753719649051871232,"description":"Unknown IO ID 45"} 
[2026-11-05 15:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231847168001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":753719649051871232}} 
[2026-11-05 15:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":233572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63847,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:58:37] local.INFO: GPS data processed {"connection_id":233572,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:58:37] local.INFO: Acknowledgment sent {"connection_id":233572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:58:41] local.INFO: TCP Data received {"connection_id":231664,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3fb710012d7fa60005afe2e80000011028..."} 
[2026-11-05 15:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3fb710012d7fa60005afe2e80000011028..."} 
[2026-11-05 15:58:41] local.INFO: Processing buffer {"connection_id":231664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3fb710012d7fa60005afe2e80000011028..."} 
[2026-11-05 15:58:41] local.INFO: Packet analysis {"connection_id":231664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3f"} 
[2026-11-05 15:58:41] local.INFO: Extracted packet for processing {"connection_id":231664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3f"} 
[2026-11-05 15:58:41] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231780096001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793874442000,"timestamp_ms":1793874442000,"timestamp_seconds":1793874442,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3fb710"} 
[2026-11-05 15: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-05 15: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-05 15:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 15:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15: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-05 15: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-05 15:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231780096001,"66":25321,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231780096001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:58:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:58:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231780096001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":231664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:58:41] local.INFO: GPS data processed {"connection_id":231664,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:58:41] local.INFO: Acknowledgment sent {"connection_id":231664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:58:45] local.INFO: TCP Data received {"connection_id":233571,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:58:45] local.INFO: Processing buffer {"connection_id":233571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:58:45] local.INFO: IMEI packet received {"connection_id":233571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":233571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:58:47] local.INFO: TCP Data received {"connection_id":233571,"ip":"117.224.89.99","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-05 15:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233571,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-05 15:58:47] local.INFO: Processing buffer {"connection_id":233571,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-05 15:58:47] local.INFO: IMEI packet received {"connection_id":233571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":233571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:58:50] local.INFO: TCP Data received {"connection_id":233571,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3cc140012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3cc140012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:58:50] local.INFO: Processing buffer {"connection_id":233571,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a1ab..."} 
[2026-11-05 15:58:50] local.INFO: IMEI packet received {"connection_id":233571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":233571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:58:53] local.INFO: TCP Data received {"connection_id":233571,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3cc140012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3cc140012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:58:53] local.INFO: Processing buffer {"connection_id":233571,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1ab3cc140012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:58:53] local.INFO: Packet analysis {"connection_id":233571,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1ab3c"} 
[2026-11-05 15:58:53] local.INFO: Extracted packet for processing {"connection_id":233571,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3c"} 
[2026-11-05 15:58:53] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15:58: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-05 15:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231730688001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793874248000,"timestamp_ms":1793874248000,"timestamp_seconds":1793874248,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3cc140"} 
[2026-11-05 15:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:58: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":51,"data_length":795,"current_offset":136} 
[2026-11-05 15:58:53] 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-05 15:58: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-05 15:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":233571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":233571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":233571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231730688001,"66":26376,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231730688001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:58:53] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:58:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231730688001,"power":26376,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":233571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63849,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:58:53] local.INFO: GPS data processed {"connection_id":233571,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:58:53] local.INFO: Acknowledgment sent {"connection_id":233571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:58:53] local.INFO: Packet analysis {"connection_id":233571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3c"} 
[2026-11-05 15:58:53] local.INFO: Extracted packet for processing {"connection_id":233571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3c"} 
[2026-11-05 15:58:53] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15:58: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-05 15:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231730688001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793874248000,"timestamp_ms":1793874248000,"timestamp_seconds":1793874248,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3cc140"} 
[2026-11-05 15:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:58: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":51,"data_length":795,"current_offset":136} 
[2026-11-05 15:58:53] 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-05 15:58: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-05 15:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":233571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":233571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":233571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231730688001,"66":26376,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231730688001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:58:53] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:58:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231730688001,"power":26376,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":233571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63850,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:58:54] local.INFO: GPS data processed {"connection_id":233571,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:58:54] local.ERROR: TCP Connection error {"connection_id":233571,"code":2,"message":"client closed"} 
[2026-11-05 15:58:54] local.INFO: Acknowledgment sent {"connection_id":233571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:59:03] local.INFO: TCP Data received {"connection_id":229813,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:59:03] local.INFO: Processing buffer {"connection_id":229813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:59:03] local.INFO: IMEI packet received {"connection_id":229813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 15:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":229813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:59:05] local.INFO: TCP Data received {"connection_id":231665,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:59:05] local.INFO: Processing buffer {"connection_id":231665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:59:05] local.INFO: IMEI packet received {"connection_id":231665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 15:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":231665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:59:08] local.INFO: TCP Data received {"connection_id":229813,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:59:08] local.INFO: Processing buffer {"connection_id":229813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 15:59:08] local.INFO: IMEI packet received {"connection_id":229813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 15:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":229813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:59:09] local.INFO: TCP Data received {"connection_id":229813,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3fb710012d7fa60005afe2e80000011028..."} 
[2026-11-05 15:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3fb710012d7fa60005afe2e80000011028..."} 
[2026-11-05 15:59:09] local.INFO: Processing buffer {"connection_id":229813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3fb710012d7fa60005afe2e80000011028..."} 
[2026-11-05 15:59:09] local.INFO: Packet analysis {"connection_id":229813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3f"} 
[2026-11-05 15:59:09] local.INFO: Extracted packet for processing {"connection_id":229813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3f"} 
[2026-11-05 15:59:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15: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-05 15:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231780096001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793874442000,"timestamp_ms":1793874442000,"timestamp_seconds":1793874442,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3fb710"} 
[2026-11-05 15: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-05 15:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 15:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 15: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-05 15: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-05 15:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231780096001,"66":25321,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231780096001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:59:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:59:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231780096001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":229813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:59:09] local.INFO: GPS data processed {"connection_id":229813,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:59:09] local.INFO: Acknowledgment sent {"connection_id":229813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:59:10] local.INFO: TCP Data received {"connection_id":233572,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab412640012d0a518007057a880011010e25..."} 
[2026-11-05 15:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab412640012d0a518007057a880011010e25..."} 
[2026-11-05 15:59:10] local.INFO: Processing buffer {"connection_id":233572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab412640012d0a518007057a880011010e25..."} 
[2026-11-05 15:59:10] local.INFO: Packet analysis {"connection_id":233572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab41"} 
[2026-11-05 15:59:10] local.INFO: Extracted packet for processing {"connection_id":233572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab41"} 
[2026-11-05 15:59:10] local.INFO: GPS Element Parsed {"raw_longitude":755650944,"raw_latitude":117799560,"longitude_deg":75.5650944,"latitude_deg":11.779956,"altitude":17,"angle":270,"satellites":37,"speed":10,"hex_longitude":"2d0a5180","hex_latitude":"07057a88","is_valid_coordinates":true} 
[2026-11-05 15:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231880960001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39472811034542080,"note":"Value kept but may cause issues"} 
[2026-11-05 15:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743868024858783744,"note":"Value kept but may cause issues"} 
[2026-11-05 15:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793874536000,"timestamp_ms":1793874536000,"timestamp_seconds":1793874536,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab412640"} 
[2026-11-05 15:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 15:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 15:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233572,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233572,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231880960001,"66":14428,"153":206,"94":10240,"24":10,"16":39472811034542080,"45":743868024858783744},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 15:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231880960001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:59:10] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 15:59:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 15:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39472811034542080,"km_value":39472811034542.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":743868024858783744,"description":"Unknown IO ID 45"} 
[2026-11-05 15:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231880960001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":743868024858783744}} 
[2026-11-05 15:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":233572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63852,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:59:10] local.INFO: GPS data processed {"connection_id":233572,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:59:10] local.INFO: Acknowledgment sent {"connection_id":233572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:59:10] local.INFO: TCP Data received {"connection_id":231665,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:59:10] local.INFO: Processing buffer {"connection_id":231665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 15:59:10] local.INFO: IMEI packet received {"connection_id":231665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 15:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":231665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:59:11] local.INFO: TCP Data received {"connection_id":231665,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3cc140012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3cc140012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:59:11] local.INFO: Processing buffer {"connection_id":231665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3cc140012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:59:11] local.INFO: Packet analysis {"connection_id":231665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3c"} 
[2026-11-05 15:59:11] local.INFO: Extracted packet for processing {"connection_id":231665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3c"} 
[2026-11-05 15:59:11] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 15:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231730688001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793874248000,"timestamp_ms":1793874248000,"timestamp_seconds":1793874248,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3cc140"} 
[2026-11-05 15:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-11-05 15:59: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-05 15:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231730688001,"66":26376,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231730688001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:59:11] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:59:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231730688001,"power":26376,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":231665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63853,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:59:11] local.INFO: GPS data processed {"connection_id":231665,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:59:11] local.INFO: Acknowledgment sent {"connection_id":231665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:59:31] local.INFO: TCP Data received {"connection_id":233573,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233573,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:59:31] local.INFO: Processing buffer {"connection_id":233573,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:59:31] local.INFO: IMEI packet received {"connection_id":233573,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 15:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":233573,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 15:59:36] local.INFO: TCP Data received {"connection_id":233573,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233573,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:59:36] local.INFO: Processing buffer {"connection_id":233573,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 15:59:36] local.INFO: IMEI packet received {"connection_id":233573,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 15:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":233573,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 15:59:37] local.INFO: TCP Data received {"connection_id":233573,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab412a28012d0a508007057a880011011926..."} 
[2026-11-05 15:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab412a28012d0a508007057a880011011926..."} 
[2026-11-05 15:59:37] local.INFO: Processing buffer {"connection_id":233573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab412a28012d0a508007057a880011011926..."} 
[2026-11-05 15:59:37] local.INFO: Packet analysis {"connection_id":233573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab41"} 
[2026-11-05 15:59:37] local.INFO: Extracted packet for processing {"connection_id":233573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab41"} 
[2026-11-05 15:59:37] local.INFO: GPS Element Parsed {"raw_longitude":755650688,"raw_latitude":117799560,"longitude_deg":75.5650688,"latitude_deg":11.779956,"altitude":17,"angle":281,"satellites":38,"speed":8,"hex_longitude":"2d0a5080","hex_latitude":"07057a88","is_valid_coordinates":true} 
[2026-11-05 15:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231881216001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39472819624476672,"note":"Value kept but may cause issues"} 
[2026-11-05 15:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743516181137885184,"note":"Value kept but may cause issues"} 
[2026-11-05 15:59:37] 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-05 15:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793874537000,"timestamp_ms":1793874537000,"timestamp_seconds":1793874537,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab412a28"} 
[2026-11-05 15:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 15:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 15:59:37] 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-05 15:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":233573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":233573,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":233573,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 15:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 15:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 15:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231881216001,"66":14428,"153":206,"94":10240,"24":8,"16":39472819624476672,"45":743516181137885184},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 15:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 15:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 15:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231881216001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:59:37] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 15:59:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 15:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39472819624476672,"km_value":39472819624476.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":743516181137885184,"description":"Unknown IO ID 45"} 
[2026-11-05 15:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231881216001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":743516181137885184}} 
[2026-11-05 15:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":233573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63854,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:59:38] local.INFO: GPS data processed {"connection_id":233573,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:59:38] local.INFO: Acknowledgment sent {"connection_id":233573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:59:40] local.INFO: TCP Data received {"connection_id":229813,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3fb710012d7fa60005afe2e80000011028..."} 
[2026-11-05 15:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3fb710012d7fa60005afe2e80000011028..."} 
[2026-11-05 15:59:40] local.INFO: Processing buffer {"connection_id":229813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3fb710012d7fa60005afe2e80000011028..."} 
[2026-11-05 15:59:40] local.INFO: Packet analysis {"connection_id":229813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3f"} 
[2026-11-05 15:59:40] local.INFO: Extracted packet for processing {"connection_id":229813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3f"} 
[2026-11-05 15:59:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 15:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 15:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231780096001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 15:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 15:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793874442000,"timestamp_ms":1793874442000,"timestamp_seconds":1793874442,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3fb710"} 
[2026-11-05 15:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 15:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 15:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 15:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 15:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 15:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 15:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 15:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 15:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 15:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231780096001,"66":25321,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 15:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 15:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 15:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231780096001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:59:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 15:59:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 15:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 15:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231780096001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 15:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":229813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:59:40] local.INFO: GPS data processed {"connection_id":229813,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:59:40] local.INFO: Acknowledgment sent {"connection_id":229813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 15:59:44] local.INFO: TCP Data received {"connection_id":231665,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3cc140012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3cc140012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:59:44] local.INFO: Processing buffer {"connection_id":231665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3cc140012d4ccc00068f53980048006e28..."} 
[2026-11-05 15:59:44] local.INFO: Packet analysis {"connection_id":231665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3c"} 
[2026-11-05 15:59:44] local.INFO: Extracted packet for processing {"connection_id":231665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3c"} 
[2026-11-05 15:59:44] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 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-05 15:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231730688001,"note":"Value kept but may cause issues"} 
[2026-11-05 15:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 15:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 15:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 15:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793874248000,"timestamp_ms":1793874248000,"timestamp_seconds":1793874248,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3cc140"} 
[2026-11-05 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-05 15:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 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":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-11-05 15:59:44] 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-05 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-05 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-05 15:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 15:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":231665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 15:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":231665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":231665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 15:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 15:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 15:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 15:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231730688001,"66":26376,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 15:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 15:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 15:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231730688001,"description":"Unknown IO ID 0"} 
[2026-11-05 15:59:44] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 15:59:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 15:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 15:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 15:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231730688001,"power":26376,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 15:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":231665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63856,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 15:59:44] local.INFO: GPS data processed {"connection_id":231665,"processed":1,"errors":0,"total":1} 
[2026-11-05 15:59:44] local.INFO: Acknowledgment sent {"connection_id":231665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:00:08] local.INFO: TCP Data received {"connection_id":233574,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:00:08] local.INFO: Processing buffer {"connection_id":233574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:00:08] local.INFO: IMEI packet received {"connection_id":233574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":233574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:00:09] local.INFO: TCP Data received {"connection_id":233573,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab412e10012d0a500007057ab80011012d26..."} 
[2026-11-05 16:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab412e10012d0a500007057ab80011012d26..."} 
[2026-11-05 16:00:09] local.INFO: Processing buffer {"connection_id":233573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab412e10012d0a500007057ab80011012d26..."} 
[2026-11-05 16:00:09] local.INFO: Packet analysis {"connection_id":233573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab41"} 
[2026-11-05 16:00:09] local.INFO: Extracted packet for processing {"connection_id":233573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab41"} 
[2026-11-05 16:00:09] local.INFO: GPS Element Parsed {"raw_longitude":755650560,"raw_latitude":117799608,"longitude_deg":75.565056,"latitude_deg":11.7799608,"altitude":17,"angle":301,"satellites":38,"speed":5,"hex_longitude":"2d0a5000","hex_latitude":"07057ab8","is_valid_coordinates":true} 
[2026-11-05 16:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231881472001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39472828214411264,"note":"Value kept but may cause issues"} 
[2026-11-05 16:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743234706161174528,"note":"Value kept but may cause issues"} 
[2026-11-05 16:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793874538000,"timestamp_ms":1793874538000,"timestamp_seconds":1793874538,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab412e10"} 
[2026-11-05 16:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 16:00:09] 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-05 16:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233573,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233573,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231881472001,"66":14352,"153":206,"94":10240,"24":5,"16":39472828214411264,"45":743234706161174528},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-05 16:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231881472001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:00:09] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-05 16:00:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39472828214411264,"km_value":39472828214411.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":743234706161174528,"description":"Unknown IO ID 45"} 
[2026-11-05 16:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231881472001,"power":14352,"unknown_153":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":743234706161174528}} 
[2026-11-05 16:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":233573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63857,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:00:09] local.INFO: GPS data processed {"connection_id":233573,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:00:09] local.INFO: Acknowledgment sent {"connection_id":233573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:00:11] local.INFO: TCP Data received {"connection_id":230325,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230325,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:00:11] local.INFO: Processing buffer {"connection_id":230325,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:00:11] local.INFO: IMEI packet received {"connection_id":230325,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 16:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":230325,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:00:13] local.INFO: TCP Data received {"connection_id":233574,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:00:13] local.INFO: Processing buffer {"connection_id":233574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:00:13] local.INFO: IMEI packet received {"connection_id":233574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":233574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:00:14] local.INFO: TCP Data received {"connection_id":233574,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3fb710012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3fb710012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:00:14] local.INFO: Processing buffer {"connection_id":233574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3fb710012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:00:14] local.INFO: Packet analysis {"connection_id":233574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3f"} 
[2026-11-05 16:00:14] local.INFO: Extracted packet for processing {"connection_id":233574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3f"} 
[2026-11-05 16:00:14] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231780096001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793874442000,"timestamp_ms":1793874442000,"timestamp_seconds":1793874442,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3fb710"} 
[2026-11-05 16: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-05 16:00: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-05 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:00:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231780096001,"66":25321,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 16:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231780096001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:00:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 16:00:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231780096001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":233574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:00:14] local.INFO: GPS data processed {"connection_id":233574,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:00:14] local.INFO: Acknowledgment sent {"connection_id":233574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:00:16] local.INFO: TCP Data received {"connection_id":230325,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230325,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:00:16] local.INFO: Processing buffer {"connection_id":230325,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:00:16] local.INFO: IMEI packet received {"connection_id":230325,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 16:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":230325,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:00:18] local.INFO: TCP Data received {"connection_id":230325,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab415908012d4ccc00068f53980048006e28..."} 
[2026-11-05 16:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab415908012d4ccc00068f53980048006e28..."} 
[2026-11-05 16:00:18] local.INFO: Processing buffer {"connection_id":230325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab415908012d4ccc00068f53980048006e28..."} 
[2026-11-05 16:00:18] local.INFO: Packet analysis {"connection_id":230325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab41"} 
[2026-11-05 16:00:18] local.INFO: Extracted packet for processing {"connection_id":230325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab41"} 
[2026-11-05 16:00:18] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231807488001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 16:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793874549000,"timestamp_ms":1793874549000,"timestamp_seconds":1793874549,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab415908"} 
[2026-11-05 16: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-05 16:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-11-05 16:00:18] 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-05 16: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-05 16: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-05 16:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230325,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230325,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231807488001,"66":26376,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 16:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 16:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 16:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231807488001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:00:18] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 16:00:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 16:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 16:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231807488001,"power":26376,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 16:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":230325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63859,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:00:19] local.INFO: GPS data processed {"connection_id":230325,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:00:19] local.INFO: Acknowledgment sent {"connection_id":230325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:00:19] local.INFO: TCP Data received {"connection_id":233574,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3fb710012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3fb710012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:00:19] local.INFO: Processing buffer {"connection_id":233574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3fb710012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:00:19] local.INFO: Packet analysis {"connection_id":233574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3f"} 
[2026-11-05 16:00:19] local.INFO: Extracted packet for processing {"connection_id":233574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3f"} 
[2026-11-05 16:00:19] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231780096001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793874442000,"timestamp_ms":1793874442000,"timestamp_seconds":1793874442,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3fb710"} 
[2026-11-05 16: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-05 16:00: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-05 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":233574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":233574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":233574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:00:19] 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-05 16:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231780096001,"66":25321,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 16:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231780096001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:00:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 16:00:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231780096001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":233574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:00:19] local.INFO: GPS data processed {"connection_id":233574,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:00:19] local.INFO: Acknowledgment sent {"connection_id":233574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:00:23] local.INFO: TCP Data received {"connection_id":230325,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab415908012d4ccc00068f53980048006e28..."} 
[2026-11-05 16:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab415908012d4ccc00068f53980048006e28..."} 
[2026-11-05 16:00:23] local.INFO: Processing buffer {"connection_id":230325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab415908012d4ccc00068f53980048006e28..."} 
[2026-11-05 16:00:23] local.INFO: Packet analysis {"connection_id":230325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab41"} 
[2026-11-05 16:00:23] local.INFO: Extracted packet for processing {"connection_id":230325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab41"} 
[2026-11-05 16:00:23] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231807488001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 16:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793874549000,"timestamp_ms":1793874549000,"timestamp_seconds":1793874549,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab415908"} 
[2026-11-05 16: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-05 16:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-11-05 16:00:23] 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-05 16: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-05 16: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-05 16:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":230325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":230325,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":230325,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231807488001,"66":26376,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 16:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 16:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 16:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231807488001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:00:23] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 16:00:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 16:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 16:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231807488001,"power":26376,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 16:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":230325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63861,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:00:23] local.INFO: GPS data processed {"connection_id":230325,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:00:23] local.INFO: Acknowledgment sent {"connection_id":230325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:00:32] local.INFO: TCP Data received {"connection_id":229814,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229814,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:00:32] local.INFO: Processing buffer {"connection_id":229814,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:00:32] local.INFO: IMEI packet received {"connection_id":229814,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":229814,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:00:36] local.INFO: TCP Data received {"connection_id":229814,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229814,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:00:36] local.INFO: Processing buffer {"connection_id":229814,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:00:36] local.INFO: IMEI packet received {"connection_id":229814,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":229814,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:00:41] local.INFO: TCP Data received {"connection_id":229814,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229814,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:00:41] local.INFO: Processing buffer {"connection_id":229814,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:00:41] local.INFO: IMEI packet received {"connection_id":229814,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":229814,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:00:42] local.INFO: TCP Data received {"connection_id":229814,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab4281e8012d0a360007058480000f006525..."} 
[2026-11-05 16:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab4281e8012d0a360007058480000f006525..."} 
[2026-11-05 16:00:42] local.INFO: Processing buffer {"connection_id":229814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab4281e8012d0a360007058480000f006525..."} 
[2026-11-05 16:00:42] local.INFO: Packet analysis {"connection_id":229814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab42"} 
[2026-11-05 16:00:42] local.INFO: Extracted packet for processing {"connection_id":229814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab42"} 
[2026-11-05 16:00:42] local.INFO: GPS Element Parsed {"raw_longitude":755643904,"raw_latitude":117802112,"longitude_deg":75.5643904,"latitude_deg":11.7802112,"altitude":15,"angle":101,"satellites":37,"speed":1,"hex_longitude":"2d0a3600","hex_latitude":"07058480","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231902464001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39473300660813824,"note":"Value kept but may cause issues"} 
[2026-11-05 16:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":735564513046462464,"note":"Value kept but may cause issues"} 
[2026-11-05 16:00:42] 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-05 16:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793874625000,"timestamp_ms":1793874625000,"timestamp_seconds":1793874625,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab4281e8"} 
[2026-11-05 16: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-05 16:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-05 16:00:42] 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-05 16: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-05 16: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-05 16:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231902464001,"66":14537,"177":206,"94":10240,"24":1,"16":39473300660813824,"45":735564513046462464},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-05 16:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231902464001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:00:42] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-05 16:00:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39473300660813824,"km_value":39473300660813.82,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":735564513046462464,"description":"Unknown IO ID 45"} 
[2026-11-05 16:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231902464001,"power":14537,"unknown_177":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":735564513046462464}} 
[2026-11-05 16:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":229814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63862,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:00:42] local.INFO: GPS data processed {"connection_id":229814,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:00:42] local.INFO: Acknowledgment sent {"connection_id":229814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:00:47] local.INFO: TCP Data received {"connection_id":229814,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab4289b8012d0a364007058460000f007225..."} 
[2026-11-05 16:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab4289b8012d0a364007058460000f007225..."} 
[2026-11-05 16:00:47] local.INFO: Processing buffer {"connection_id":229814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab4289b8012d0a364007058460000f007225..."} 
[2026-11-05 16:00:47] local.INFO: Packet analysis {"connection_id":229814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab42"} 
[2026-11-05 16:00:47] local.INFO: Extracted packet for processing {"connection_id":229814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab42"} 
[2026-11-05 16:00:47] local.INFO: GPS Element Parsed {"raw_longitude":755643968,"raw_latitude":117802080,"longitude_deg":75.5643968,"latitude_deg":11.780208,"altitude":15,"angle":114,"satellites":37,"speed":1,"hex_longitude":"2d0a3640","hex_latitude":"07058460","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231904000001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39473304955781120,"note":"Value kept but may cause issues"} 
[2026-11-05 16:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":735775619278995456,"note":"Value kept but may cause issues"} 
[2026-11-05 16:00:47] 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-05 16:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793874627000,"timestamp_ms":1793874627000,"timestamp_seconds":1793874627,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab4289b8"} 
[2026-11-05 16: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-05 16:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-05 16:00:47] 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-05 16: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-05 16: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-05 16:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231904000001,"66":14548,"177":206,"94":10240,"24":1,"16":39473304955781120,"45":735775619278995456},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-05 16:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231904000001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:00:47] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-05 16:00:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39473304955781120,"km_value":39473304955781.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":735775619278995456,"description":"Unknown IO ID 45"} 
[2026-11-05 16:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231904000001,"power":14548,"unknown_177":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":735775619278995456}} 
[2026-11-05 16:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":229814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63863,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:00:47] local.INFO: GPS data processed {"connection_id":229814,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:00:47] local.INFO: Acknowledgment sent {"connection_id":229814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:01:03] local.INFO: TCP Data received {"connection_id":230326,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:01:03] local.INFO: Processing buffer {"connection_id":230326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:01:03] local.INFO: IMEI packet received {"connection_id":230326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":230326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:01:08] local.INFO: TCP Data received {"connection_id":230326,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:01:08] local.INFO: Processing buffer {"connection_id":230326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:01:08] local.INFO: IMEI packet received {"connection_id":230326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":230326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:01:09] local.INFO: TCP Data received {"connection_id":230326,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3fb710012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3fb710012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:01:09] local.INFO: Processing buffer {"connection_id":230326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3fb710012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:01:09] local.INFO: Packet analysis {"connection_id":230326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3f"} 
[2026-11-05 16:01:09] local.INFO: Extracted packet for processing {"connection_id":230326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3f"} 
[2026-11-05 16:01:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231780096001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793874442000,"timestamp_ms":1793874442000,"timestamp_seconds":1793874442,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3fb710"} 
[2026-11-05 16:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231780096001,"66":25321,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 16:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231780096001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:01:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 16:01:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231780096001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:01:09] 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":63864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:01:09] local.INFO: GPS data processed {"connection_id":230326,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:01:09] local.INFO: Acknowledgment sent {"connection_id":230326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:01:16] local.INFO: TCP Data received {"connection_id":233575,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233575,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:01:16] local.INFO: Processing buffer {"connection_id":233575,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:01:16] local.INFO: IMEI packet received {"connection_id":233575,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 16:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":233575,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:01:16] local.INFO: TCP Data received {"connection_id":233575,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233575,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:01:16] local.INFO: Processing buffer {"connection_id":233575,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:01:16] local.INFO: IMEI packet received {"connection_id":233575,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 16:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":233575,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:01:17] local.INFO: TCP Data received {"connection_id":233575,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab415908012d4ccc00068f53980048006e28..."} 
[2026-11-05 16:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab415908012d4ccc00068f53980048006e28..."} 
[2026-11-05 16:01:17] local.INFO: Processing buffer {"connection_id":233575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab415908012d4ccc00068f53980048006e28..."} 
[2026-11-05 16:01:17] local.INFO: Packet analysis {"connection_id":233575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab41"} 
[2026-11-05 16:01:17] local.INFO: Extracted packet for processing {"connection_id":233575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab41"} 
[2026-11-05 16:01:17] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231807488001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 16:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793874549000,"timestamp_ms":1793874549000,"timestamp_seconds":1793874549,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab415908"} 
[2026-11-05 16: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-05 16:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16: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":8,"data_length":795,"current_offset":136} 
[2026-11-05 16:01:17] 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-05 16: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-05 16: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-05 16:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":233575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":233575,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":233575,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231807488001,"66":26376,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 16:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 16:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 16:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231807488001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:01:17] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 16:01:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 16:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 16:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231807488001,"power":26376,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 16:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":233575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63865,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:01:18] local.INFO: GPS data processed {"connection_id":233575,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:01:18] local.INFO: Acknowledgment sent {"connection_id":233575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:01:18] local.INFO: TCP Data received {"connection_id":233575,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab415908012d4ccc00068f53980048006e28..."} 
[2026-11-05 16:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab415908012d4ccc00068f53980048006e28..."} 
[2026-11-05 16:01:18] local.INFO: Processing buffer {"connection_id":233575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab415908012d4ccc00068f53980048006e28..."} 
[2026-11-05 16:01:18] local.INFO: Packet analysis {"connection_id":233575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab41"} 
[2026-11-05 16:01:18] local.INFO: Extracted packet for processing {"connection_id":233575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab41"} 
[2026-11-05 16:01:18] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231807488001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 16:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793874549000,"timestamp_ms":1793874549000,"timestamp_seconds":1793874549,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab415908"} 
[2026-11-05 16: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-05 16:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-11-05 16:01:18] 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-05 16: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-05 16: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-05 16:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":233575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":233575,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":233575,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231807488001,"66":26376,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 16:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 16:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 16:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231807488001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:01:18] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 16:01:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 16:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 16:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231807488001,"power":26376,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 16:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":233575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63866,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:01:19] local.INFO: GPS data processed {"connection_id":233575,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:01:19] local.INFO: Acknowledgment sent {"connection_id":233575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:01:30] local.INFO: TCP Data received {"connection_id":231666,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231666,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:01:30] local.INFO: Processing buffer {"connection_id":231666,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:01:30] local.INFO: IMEI packet received {"connection_id":231666,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":231666,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:01:31] local.INFO: TCP Data received {"connection_id":231666,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231666,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:01:31] local.INFO: Processing buffer {"connection_id":231666,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:01:31] local.INFO: IMEI packet received {"connection_id":231666,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":231666,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:01:32] local.INFO: TCP Data received {"connection_id":231666,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231666,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:01:32] local.INFO: Processing buffer {"connection_id":231666,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:01:32] local.INFO: IMEI packet received {"connection_id":231666,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":231666,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:01:33] local.INFO: TCP Data received {"connection_id":231666,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab433d68012d0a484007058940000f006525..."} 
[2026-11-05 16:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab433d68012d0a484007058940000f006525..."} 
[2026-11-05 16:01:33] local.INFO: Processing buffer {"connection_id":231666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab433d68012d0a484007058940000f006525..."} 
[2026-11-05 16:01:33] local.INFO: Packet analysis {"connection_id":231666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab43"} 
[2026-11-05 16:01:33] local.INFO: Extracted packet for processing {"connection_id":231666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab43"} 
[2026-11-05 16:01:33] local.INFO: GPS Element Parsed {"raw_longitude":755648576,"raw_latitude":117803328,"longitude_deg":75.5648576,"latitude_deg":11.7803328,"altitude":15,"angle":101,"satellites":37,"speed":11,"hex_longitude":"2d0a4840","hex_latitude":"07058940","is_valid_coordinates":true} 
[2026-11-05 16:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231916032001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39473579833688064,"note":"Value kept but may cause issues"} 
[2026-11-05 16:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":740560693883389952,"note":"Value kept but may cause issues"} 
[2026-11-05 16:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1793874673000,"timestamp_ms":1793874673000,"timestamp_seconds":1793874673,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab433d68"} 
[2026-11-05 16:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-11-05 16:01:33] 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-05 16:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":231666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":231666,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":231666,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231916032001,"66":14580,"177":206,"94":10240,"24":11,"16":39473579833688064,"45":740560693883389952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-05 16:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231916032001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:01:33] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-05 16:01:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39473579833688064,"km_value":39473579833688.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":740560693883389952,"description":"Unknown IO ID 45"} 
[2026-11-05 16:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231916032001,"power":14580,"unknown_177":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":740560693883389952}} 
[2026-11-05 16:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":231666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63867,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:01:33] local.INFO: GPS data processed {"connection_id":231666,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:01:33] local.INFO: Acknowledgment sent {"connection_id":231666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:01:41] local.INFO: TCP Data received {"connection_id":230326,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3fb710012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3fb710012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:01:41] local.INFO: Processing buffer {"connection_id":230326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3fb710012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:01:41] local.INFO: Packet analysis {"connection_id":230326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3f"} 
[2026-11-05 16:01:41] local.INFO: Extracted packet for processing {"connection_id":230326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3f"} 
[2026-11-05 16:01:41] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231780096001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793874442000,"timestamp_ms":1793874442000,"timestamp_seconds":1793874442,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3fb710"} 
[2026-11-05 16: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-05 16: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-05 16:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:01: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-05 16:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231780096001,"66":25321,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 16:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231780096001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:01:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 16:01:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231780096001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16: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":63868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:01:41] local.INFO: GPS data processed {"connection_id":230326,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:01:41] local.INFO: Acknowledgment sent {"connection_id":230326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:01:51] local.INFO: TCP Data received {"connection_id":233575,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab415908012d4ccc00068f53980048006e28..."} 
[2026-11-05 16:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab415908012d4ccc00068f53980048006e28..."} 
[2026-11-05 16:01:51] local.INFO: Processing buffer {"connection_id":233575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab415908012d4ccc00068f53980048006e28..."} 
[2026-11-05 16:01:51] local.INFO: Packet analysis {"connection_id":233575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab41"} 
[2026-11-05 16:01:51] local.INFO: Extracted packet for processing {"connection_id":233575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab41"} 
[2026-11-05 16:01:51] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231807488001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 16:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793874549000,"timestamp_ms":1793874549000,"timestamp_seconds":1793874549,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab415908"} 
[2026-11-05 16: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-05 16:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-11-05 16:01:51] 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-05 16: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-05 16: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-05 16:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":233575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":233575,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":233575,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231807488001,"66":26376,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 16:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 16:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 16:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231807488001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:01:51] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 16:01:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 16:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 16:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231807488001,"power":26376,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 16:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":233575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63869,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:01:52] local.INFO: GPS data processed {"connection_id":233575,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:01:52] local.INFO: Acknowledgment sent {"connection_id":233575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:02:05] local.INFO: TCP Data received {"connection_id":231666,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab434150012d0a4980070588c8000f007b25..."} 
[2026-11-05 16:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab434150012d0a4980070588c8000f007b25..."} 
[2026-11-05 16:02:05] local.INFO: Processing buffer {"connection_id":231666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab434150012d0a4980070588c8000f007b25..."} 
[2026-11-05 16:02:05] local.INFO: Packet analysis {"connection_id":231666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab43"} 
[2026-11-05 16:02:05] local.INFO: Extracted packet for processing {"connection_id":231666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab43"} 
[2026-11-05 16:02:05] local.INFO: GPS Element Parsed {"raw_longitude":755648896,"raw_latitude":117803208,"longitude_deg":75.5648896,"latitude_deg":11.7803208,"altitude":15,"angle":123,"satellites":37,"speed":13,"hex_longitude":"2d0a4980","hex_latitude":"070588c8","is_valid_coordinates":true} 
[2026-11-05 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-05 16:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231916288001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39473597013557248,"note":"Value kept but may cause issues"} 
[2026-11-05 16:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":740912537604276224,"note":"Value kept but may cause issues"} 
[2026-11-05 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-05 16:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793874674000,"timestamp_ms":1793874674000,"timestamp_seconds":1793874674,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab434150"} 
[2026-11-05 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-05 16:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 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":244,"data_length":795,"current_offset":136} 
[2026-11-05 16:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 16:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":231666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":231666,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":231666,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231916288001,"66":14439,"177":206,"94":10240,"24":13,"16":39473597013557248,"45":740912537604276224},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-05 16:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231916288001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:02:05] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-05 16:02:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39473597013557248,"km_value":39473597013557.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":740912537604276224,"description":"Unknown IO ID 45"} 
[2026-11-05 16:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231916288001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":740912537604276224}} 
[2026-11-05 16:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":231666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63870,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:02:05] local.INFO: GPS data processed {"connection_id":231666,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:02:05] local.INFO: Acknowledgment sent {"connection_id":231666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:02:05] local.INFO: TCP Data received {"connection_id":231667,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:02:05] local.INFO: Processing buffer {"connection_id":231667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:02:05] local.INFO: IMEI packet received {"connection_id":231667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 16:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":231667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:02:08] local.INFO: TCP Data received {"connection_id":229815,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:02:08] local.INFO: Processing buffer {"connection_id":229815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:02:08] local.INFO: IMEI packet received {"connection_id":229815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":229815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:02:11] local.INFO: TCP Data received {"connection_id":231667,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:02:11] local.INFO: Processing buffer {"connection_id":231667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:02:11] local.INFO: IMEI packet received {"connection_id":231667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 16:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":231667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:02:13] local.INFO: TCP Data received {"connection_id":231667,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab415908012d4ccc00068f53980048006e28..."} 
[2026-11-05 16:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab415908012d4ccc00068f53980048006e28..."} 
[2026-11-05 16:02:13] local.INFO: Processing buffer {"connection_id":231667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab415908012d4ccc00068f53980048006e28..."} 
[2026-11-05 16:02:13] local.INFO: Packet analysis {"connection_id":231667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab41"} 
[2026-11-05 16:02:13] local.INFO: Extracted packet for processing {"connection_id":231667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab41"} 
[2026-11-05 16:02:13] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231807488001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 16:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793874549000,"timestamp_ms":1793874549000,"timestamp_seconds":1793874549,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab415908"} 
[2026-11-05 16: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-05 16:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-11-05 16:02:13] 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-05 16: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-05 16: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-05 16:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":231667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":231667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":231667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231807488001,"66":26376,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 16:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 16:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 16:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231807488001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:02:13] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 16:02:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 16:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 16:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231807488001,"power":26376,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 16:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":231667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63871,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:02:13] local.INFO: GPS data processed {"connection_id":231667,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:02:13] local.INFO: Acknowledgment sent {"connection_id":231667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:02:13] local.INFO: TCP Data received {"connection_id":229815,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:02:13] local.INFO: Processing buffer {"connection_id":229815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:02:13] local.INFO: IMEI packet received {"connection_id":229815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":229815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:02:14] local.INFO: TCP Data received {"connection_id":229815,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3fb710012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3fb710012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:02:14] local.INFO: Processing buffer {"connection_id":229815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3fb710012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:02:14] local.INFO: Packet analysis {"connection_id":229815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3f"} 
[2026-11-05 16:02:14] local.INFO: Extracted packet for processing {"connection_id":229815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3f"} 
[2026-11-05 16:02:14] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231780096001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793874442000,"timestamp_ms":1793874442000,"timestamp_seconds":1793874442,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3fb710"} 
[2026-11-05 16: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-05 16:02: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-05 16:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:02: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-05 16:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231780096001,"66":25321,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 16:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231780096001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:02:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 16:02:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231780096001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":229815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:02:14] local.INFO: GPS data processed {"connection_id":229815,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:02:14] local.INFO: Acknowledgment sent {"connection_id":229815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:02:20] local.INFO: TCP Data received {"connection_id":229815,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab3fb710012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab3fb710012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:02:20] local.INFO: Processing buffer {"connection_id":229815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab3fb710012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:02:20] local.INFO: Packet analysis {"connection_id":229815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab3f"} 
[2026-11-05 16:02:20] local.INFO: Extracted packet for processing {"connection_id":229815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab3f"} 
[2026-11-05 16:02:20] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231780096001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793874442000,"timestamp_ms":1793874442000,"timestamp_seconds":1793874442,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab3fb710"} 
[2026-11-05 16: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-05 16:02: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-05 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:02:20] local.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-05 16:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231780096001,"66":25321,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 16:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231780096001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:02:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 16:02:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231780096001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":229815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:02:20] local.INFO: GPS data processed {"connection_id":229815,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:02:20] local.INFO: Acknowledgment sent {"connection_id":229815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:02:31] local.INFO: TCP Data received {"connection_id":231668,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231668,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:02:31] local.INFO: Processing buffer {"connection_id":231668,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:02:31] local.INFO: IMEI packet received {"connection_id":231668,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":231668,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:02:37] local.INFO: TCP Data received {"connection_id":231668,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231668,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:02:37] local.INFO: Processing buffer {"connection_id":231668,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:02:37] local.INFO: IMEI packet received {"connection_id":231668,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":231668,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:02:37] local.INFO: TCP Data received {"connection_id":231668,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab434538012d0a4a40070587f00010008b26..."} 
[2026-11-05 16:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab434538012d0a4a40070587f00010008b26..."} 
[2026-11-05 16:02:37] local.INFO: Processing buffer {"connection_id":231668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab434538012d0a4a40070587f00010008b26..."} 
[2026-11-05 16:02:37] local.INFO: Packet analysis {"connection_id":231668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab43"} 
[2026-11-05 16:02:37] local.INFO: Extracted packet for processing {"connection_id":231668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab43"} 
[2026-11-05 16:02:37] local.INFO: GPS Element Parsed {"raw_longitude":755649088,"raw_latitude":117802992,"longitude_deg":75.5649088,"latitude_deg":11.7802992,"altitude":16,"angle":139,"satellites":38,"speed":13,"hex_longitude":"2d0a4a40","hex_latitude":"070587f0","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231916544001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39473614193426432,"note":"Value kept but may cause issues"} 
[2026-11-05 16:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":741264381325133824,"note":"Value kept but may cause issues"} 
[2026-11-05 16:02:37] 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-05 16:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793874675000,"timestamp_ms":1793874675000,"timestamp_seconds":1793874675,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab434538"} 
[2026-11-05 16: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-05 16:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-05 16:02:37] 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-05 16: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-05 16: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-05 16:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":231668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":231668,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":231668,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231916544001,"66":14439,"177":206,"94":10240,"24":13,"16":39473614193426432,"45":741264381325133824},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-05 16:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231916544001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:02:37] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-05 16:02:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39473614193426432,"km_value":39473614193426.43,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":741264381325133824,"description":"Unknown IO ID 45"} 
[2026-11-05 16:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231916544001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":741264381325133824}} 
[2026-11-05 16:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":231668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63874,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:02:38] local.INFO: GPS data processed {"connection_id":231668,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:02:38] local.INFO: Acknowledgment sent {"connection_id":231668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:02:48] local.INFO: TCP Data received {"connection_id":231667,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab415908012d4ccc00068f53980048006e28..."} 
[2026-11-05 16:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab415908012d4ccc00068f53980048006e28..."} 
[2026-11-05 16:02:48] local.INFO: Processing buffer {"connection_id":231667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab415908012d4ccc00068f53980048006e28..."} 
[2026-11-05 16:02:48] local.INFO: Packet analysis {"connection_id":231667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab41"} 
[2026-11-05 16:02:48] local.INFO: Extracted packet for processing {"connection_id":231667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab41"} 
[2026-11-05 16:02:48] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231807488001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 16:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793874549000,"timestamp_ms":1793874549000,"timestamp_seconds":1793874549,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab415908"} 
[2026-11-05 16: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-05 16:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16: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":8,"data_length":795,"current_offset":136} 
[2026-11-05 16:02: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-05 16: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-05 16: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-05 16:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":231667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":231667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":231667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231807488001,"66":26376,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 16:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 16:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 16:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231807488001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:02:48] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 16:02:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 16:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 16:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231807488001,"power":26376,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 16:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":231667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63875,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:02:48] local.INFO: GPS data processed {"connection_id":231667,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:02:48] local.INFO: Acknowledgment sent {"connection_id":231667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:03:01] local.INFO: TCP Data received {"connection_id":230327,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:03:01] local.INFO: Processing buffer {"connection_id":230327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:03:01] local.INFO: IMEI packet received {"connection_id":230327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":230327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:03:03] local.INFO: TCP Data received {"connection_id":230327,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:03:03] local.INFO: Processing buffer {"connection_id":230327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:03:03] local.INFO: IMEI packet received {"connection_id":230327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":230327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:03:05] local.INFO: TCP Data received {"connection_id":230328,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230328,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:03:05] local.INFO: Processing buffer {"connection_id":230328,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:03:05] local.INFO: IMEI packet received {"connection_id":230328,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 16:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":230328,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:03:08] local.INFO: TCP Data received {"connection_id":230327,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:03:08] local.INFO: Processing buffer {"connection_id":230327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:03:08] local.INFO: IMEI packet received {"connection_id":230327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":230327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:03:09] local.INFO: TCP Data received {"connection_id":231668,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab449cf8012d0aa240070583b80019004a24..."} 
[2026-11-05 16:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab449cf8012d0aa240070583b80019004a24..."} 
[2026-11-05 16:03:09] local.INFO: Processing buffer {"connection_id":231668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab449cf8012d0aa240070583b80019004a24..."} 
[2026-11-05 16:03:09] local.INFO: Packet analysis {"connection_id":231668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab44"} 
[2026-11-05 16:03:09] local.INFO: Extracted packet for processing {"connection_id":231668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab44"} 
[2026-11-05 16:03:09] local.INFO: GPS Element Parsed {"raw_longitude":755671616,"raw_latitude":117801912,"longitude_deg":75.5671616,"latitude_deg":11.7801912,"altitude":25,"angle":74,"satellites":36,"speed":14,"hex_longitude":"2d0aa240","hex_latitude":"070583b8","is_valid_coordinates":true} 
[2026-11-05 16:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231939072001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39475272050802688,"note":"Value kept but may cause issues"} 
[2026-11-05 16:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":765893441786968064,"note":"Value kept but may cause issues"} 
[2026-11-05 16:03:09] 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-05 16:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793874763000,"timestamp_ms":1793874763000,"timestamp_seconds":1793874763,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab449cf8"} 
[2026-11-05 16:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-05 16:03:09] 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-05 16:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231668,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231668,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231939072001,"66":14537,"165":206,"94":10240,"24":14,"16":39475272050802688,"45":765893441786968064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 16:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231939072001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:03:09] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 16:03:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39475272050802688,"km_value":39475272050802.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":765893441786968064,"description":"Unknown IO ID 45"} 
[2026-11-05 16:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231939072001,"power":14537,"unknown_165":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":765893441786968064}} 
[2026-11-05 16:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":231668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63876,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:03:09] local.INFO: GPS data processed {"connection_id":231668,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:03:09] local.INFO: Acknowledgment sent {"connection_id":231668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:03:09] local.INFO: TCP Data received {"connection_id":230327,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab444ed8012d7fa60005afe2e80000011023..."} 
[2026-11-05 16:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab444ed8012d7fa60005afe2e80000011023..."} 
[2026-11-05 16:03:09] local.INFO: Processing buffer {"connection_id":230327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab444ed8012d7fa60005afe2e80000011023..."} 
[2026-11-05 16:03:09] local.INFO: Packet analysis {"connection_id":230327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab44"} 
[2026-11-05 16:03:09] local.INFO: Extracted packet for processing {"connection_id":230327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab44"} 
[2026-11-05 16:03:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231857152001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793874743000,"timestamp_ms":1793874743000,"timestamp_seconds":1793874743,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab444ed8"} 
[2026-11-05 16:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:03:09] local.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-05 16:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231857152001,"66":25223,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 16:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231857152001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:03:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 16:03:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231857152001,"power":25223,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:03:09] 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":63877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:03:09] local.INFO: GPS data processed {"connection_id":230327,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:03:09] local.INFO: Acknowledgment sent {"connection_id":230327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:03:11] local.INFO: TCP Data received {"connection_id":230328,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230328,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:03:11] local.INFO: Processing buffer {"connection_id":230328,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:03:11] local.INFO: IMEI packet received {"connection_id":230328,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 16:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":230328,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:03:15] local.INFO: TCP Data received {"connection_id":230328,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab415908012d4ccc00068f53980048006e28..."} 
[2026-11-05 16:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab415908012d4ccc00068f53980048006e28..."} 
[2026-11-05 16:03:15] local.INFO: Processing buffer {"connection_id":230328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab415908012d4ccc00068f53980048006e28..."} 
[2026-11-05 16:03:15] local.INFO: Packet analysis {"connection_id":230328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab41"} 
[2026-11-05 16:03:15] local.INFO: Extracted packet for processing {"connection_id":230328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab41"} 
[2026-11-05 16:03:15] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231807488001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 16:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793874549000,"timestamp_ms":1793874549000,"timestamp_seconds":1793874549,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab415908"} 
[2026-11-05 16: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-05 16:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-11-05 16:03:15] 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-05 16: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-05 16: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-05 16:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230328,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230328,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231807488001,"66":26376,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 16:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 16:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 16:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231807488001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:03:15] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 16:03:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 16:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 16:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231807488001,"power":26376,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 16:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":230328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63878,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:03:15] local.INFO: GPS data processed {"connection_id":230328,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:03:15] local.INFO: Acknowledgment sent {"connection_id":230328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:03:31] local.INFO: TCP Data received {"connection_id":231669,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231669,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:03:31] local.INFO: Processing buffer {"connection_id":231669,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:03:31] local.INFO: IMEI packet received {"connection_id":231669,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":231669,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:03:32] local.INFO: TCP Data received {"connection_id":231669,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231669,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:03:32] local.INFO: Processing buffer {"connection_id":231669,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:03:32] local.INFO: IMEI packet received {"connection_id":231669,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":231669,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:03:36] local.INFO: TCP Data received {"connection_id":231669,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231669,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:03:36] local.INFO: Processing buffer {"connection_id":231669,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:03:36] local.INFO: IMEI packet received {"connection_id":231669,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":231669,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:03:37] local.INFO: TCP Data received {"connection_id":231669,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab44eb18012d0ac58007058e080020004a26..."} 
[2026-11-05 16:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab44eb18012d0ac58007058e080020004a26..."} 
[2026-11-05 16:03:37] local.INFO: Processing buffer {"connection_id":231669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab44eb18012d0ac58007058e080020004a26..."} 
[2026-11-05 16:03:37] local.INFO: Packet analysis {"connection_id":231669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab44"} 
[2026-11-05 16:03:37] local.INFO: Extracted packet for processing {"connection_id":231669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab44"} 
[2026-11-05 16:03:37] local.INFO: GPS Element Parsed {"raw_longitude":755680640,"raw_latitude":117804552,"longitude_deg":75.568064,"latitude_deg":11.7804552,"altitude":32,"angle":74,"satellites":38,"speed":18,"hex_longitude":"2d0ac580","hex_latitude":"07058e08","is_valid_coordinates":true} 
[2026-11-05 16:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231939328001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39475723022368768,"note":"Value kept but may cause issues"} 
[2026-11-05 16:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":766245285507872768,"note":"Value kept but may cause issues"} 
[2026-11-05 16:03:37] 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-05 16:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793874783000,"timestamp_ms":1793874783000,"timestamp_seconds":1793874783,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab44eb18"} 
[2026-11-05 16:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-05 16:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":231669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":231669,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":231669,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231939328001,"66":14580,"165":206,"94":10240,"24":18,"16":39475723022368768,"45":766245285507872768},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 16:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231939328001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:03:37] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 16:03:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39475723022368768,"km_value":39475723022368.766,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":766245285507872768,"description":"Unknown IO ID 45"} 
[2026-11-05 16:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231939328001,"power":14580,"unknown_165":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":766245285507872768}} 
[2026-11-05 16:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":231669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63879,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:03:37] local.INFO: GPS data processed {"connection_id":231669,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:03:37] local.INFO: Acknowledgment sent {"connection_id":231669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:03:40] local.INFO: TCP Data received {"connection_id":230327,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab444ed8012d7fa60005afe2e80000011023..."} 
[2026-11-05 16:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab444ed8012d7fa60005afe2e80000011023..."} 
[2026-11-05 16:03:40] local.INFO: Processing buffer {"connection_id":230327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab444ed8012d7fa60005afe2e80000011023..."} 
[2026-11-05 16:03:40] local.INFO: Packet analysis {"connection_id":230327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab44"} 
[2026-11-05 16:03:40] local.INFO: Extracted packet for processing {"connection_id":230327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab44"} 
[2026-11-05 16:03:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231857152001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793874743000,"timestamp_ms":1793874743000,"timestamp_seconds":1793874743,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab444ed8"} 
[2026-11-05 16:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:03: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-05 16:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231857152001,"66":25223,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 16:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231857152001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:03:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 16:03:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231857152001,"power":25223,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:03:40] 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":63880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:03:40] local.INFO: GPS data processed {"connection_id":230327,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:03:40] local.INFO: Acknowledgment sent {"connection_id":230327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:03:48] local.INFO: TCP Data received {"connection_id":230328,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab415908012d4ccc00068f53980048006e28..."} 
[2026-11-05 16:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab415908012d4ccc00068f53980048006e28..."} 
[2026-11-05 16:03:48] local.INFO: Processing buffer {"connection_id":230328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab415908012d4ccc00068f53980048006e28..."} 
[2026-11-05 16:03:48] local.INFO: Packet analysis {"connection_id":230328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab41"} 
[2026-11-05 16:03:48] local.INFO: Extracted packet for processing {"connection_id":230328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab41"} 
[2026-11-05 16:03:48] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":110056344,"longitude_deg":76.000768,"latitude_deg":11.0056344,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d4ccc00","hex_latitude":"068f5398","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231807488001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798070305921024,"note":"Value kept but may cause issues"} 
[2026-11-05 16:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793874549000,"timestamp_ms":1793874549000,"timestamp_seconds":1793874549,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab415908"} 
[2026-11-05 16: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-05 16:03:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16: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":8,"data_length":795,"current_offset":136} 
[2026-11-05 16:03: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-05 16: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-05 16: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-05 16:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230328,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230328,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231807488001,"66":26376,"49":206,"19":48128,"24":0,"16":20804383495159808,"45":5533798070305921024},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-11-05 16:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 16:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 16:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231807488001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:03:48] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 16:03:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 16:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798070305921024,"description":"Unknown IO ID 45"} 
[2026-11-05 16:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231807488001,"power":26376,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5533798070305921024}} 
[2026-11-05 16:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":230328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63881,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:03:48] local.INFO: GPS data processed {"connection_id":230328,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:03:48] local.INFO: Acknowledgment sent {"connection_id":230328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:04:03] local.INFO: TCP Data received {"connection_id":231670,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:04:03] local.INFO: Processing buffer {"connection_id":231670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:04:03] local.INFO: IMEI packet received {"connection_id":231670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":231670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:04:08] local.INFO: TCP Data received {"connection_id":231670,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:04:08] local.INFO: Processing buffer {"connection_id":231670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:04:08] local.INFO: IMEI packet received {"connection_id":231670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":231670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:04:08] local.INFO: TCP Data received {"connection_id":231669,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab44fab8012d0acbc007058fe80021005725..."} 
[2026-11-05 16:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab44fab8012d0acbc007058fe80021005725..."} 
[2026-11-05 16:04:08] local.INFO: Processing buffer {"connection_id":231669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab44fab8012d0acbc007058fe80021005725..."} 
[2026-11-05 16:04:08] local.INFO: Packet analysis {"connection_id":231669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab44"} 
[2026-11-05 16:04:08] local.INFO: Extracted packet for processing {"connection_id":231669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab44"} 
[2026-11-05 16:04:08] local.INFO: GPS Element Parsed {"raw_longitude":755682240,"raw_latitude":117805032,"longitude_deg":75.568224,"latitude_deg":11.7805032,"altitude":33,"angle":87,"satellites":37,"speed":11,"hex_longitude":"2d0acbc0","hex_latitude":"07058fe8","is_valid_coordinates":true} 
[2026-11-05 16:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231944448001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39475800331780096,"note":"Value kept but may cause issues"} 
[2026-11-05 16:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":776167278437599232,"note":"Value kept but may cause issues"} 
[2026-11-05 16:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793874787000,"timestamp_ms":1793874787000,"timestamp_seconds":1793874787,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab44fab8"} 
[2026-11-05 16:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-11-05 16:04:08] 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-05 16:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":231669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":231669,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":231669,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231944448001,"66":14580,"165":206,"94":10240,"24":11,"16":39475800331780096,"45":776167278437599232},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 16:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231944448001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:04:08] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 16:04:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39475800331780096,"km_value":39475800331780.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":776167278437599232,"description":"Unknown IO ID 45"} 
[2026-11-05 16:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231944448001,"power":14580,"unknown_165":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":776167278437599232}} 
[2026-11-05 16:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":231669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63882,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:04:08] local.INFO: GPS data processed {"connection_id":231669,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:04:08] local.INFO: Acknowledgment sent {"connection_id":231669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:04:09] local.INFO: TCP Data received {"connection_id":231670,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab444ed8012d7fa60005afe2e80000011023..."} 
[2026-11-05 16:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab444ed8012d7fa60005afe2e80000011023..."} 
[2026-11-05 16:04:09] local.INFO: Processing buffer {"connection_id":231670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab444ed8012d7fa60005afe2e80000011023..."} 
[2026-11-05 16:04:09] local.INFO: Packet analysis {"connection_id":231670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab44"} 
[2026-11-05 16:04:09] local.INFO: Extracted packet for processing {"connection_id":231670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab44"} 
[2026-11-05 16:04:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231857152001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793874743000,"timestamp_ms":1793874743000,"timestamp_seconds":1793874743,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab444ed8"} 
[2026-11-05 16:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:04:09] local.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-05 16:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231857152001,"66":25223,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 16:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231857152001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:04:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 16:04:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231857152001,"power":25223,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":231670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:04:09] local.INFO: GPS data processed {"connection_id":231670,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:04:09] local.INFO: Acknowledgment sent {"connection_id":231670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:04:34] local.INFO: TCP Data received {"connection_id":231671,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231671,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:04:34] local.INFO: Processing buffer {"connection_id":231671,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:04:34] local.INFO: IMEI packet received {"connection_id":231671,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":231671,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:04:36] local.INFO: TCP Data received {"connection_id":231671,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231671,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:04:36] local.INFO: Processing buffer {"connection_id":231671,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:04:36] local.INFO: IMEI packet received {"connection_id":231671,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":231671,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:04:37] local.INFO: TCP Data received {"connection_id":231671,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab45ece8012d0b220007059aa0001500ab26..."} 
[2026-11-05 16:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab45ece8012d0b220007059aa0001500ab26..."} 
[2026-11-05 16:04:37] local.INFO: Processing buffer {"connection_id":231671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab45ece8012d0b220007059aa0001500ab26..."} 
[2026-11-05 16:04:37] local.INFO: Packet analysis {"connection_id":231671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab45"} 
[2026-11-05 16:04:37] local.INFO: Extracted packet for processing {"connection_id":231671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab45"} 
[2026-11-05 16:04:37] local.INFO: GPS Element Parsed {"raw_longitude":755704320,"raw_latitude":117807776,"longitude_deg":75.570432,"latitude_deg":11.7807776,"altitude":21,"angle":171,"satellites":38,"speed":10,"hex_longitude":"2d0b2200","hex_latitude":"07059aa0","is_valid_coordinates":true} 
[2026-11-05 16:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231961088001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39476895548440576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802133345040039936,"note":"Value kept but may cause issues"} 
[2026-11-05 16:04:37] 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-05 16:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793874849000,"timestamp_ms":1793874849000,"timestamp_seconds":1793874849,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab45ece8"} 
[2026-11-05 16:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 16:04:37] 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-05 16:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":231671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":231671,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":231671,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231961088001,"66":14428,"165":206,"94":10240,"24":10,"16":39476895548440576,"45":802133345040039936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 16:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231961088001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:04:37] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 16:04:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39476895548440576,"km_value":39476895548440.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":802133345040039936,"description":"Unknown IO ID 45"} 
[2026-11-05 16:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231961088001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":802133345040039936}} 
[2026-11-05 16:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":231671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63884,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:04:37] local.INFO: GPS data processed {"connection_id":231671,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:04:37] local.INFO: Acknowledgment sent {"connection_id":231671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:04:38] local.INFO: TCP Data received {"connection_id":231671,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab4617e0012d0b2480070586f80017009626..."} 
[2026-11-05 16:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab4617e0012d0b2480070586f80017009626..."} 
[2026-11-05 16:04:38] local.INFO: Processing buffer {"connection_id":231671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab4617e0012d0b2480070586f80017009626..."} 
[2026-11-05 16:04:38] local.INFO: Packet analysis {"connection_id":231671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab46"} 
[2026-11-05 16:04:38] local.INFO: Extracted packet for processing {"connection_id":231671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab46"} 
[2026-11-05 16:04:38] local.INFO: GPS Element Parsed {"raw_longitude":755704960,"raw_latitude":117802744,"longitude_deg":75.570496,"latitude_deg":11.7802744,"altitude":23,"angle":150,"satellites":38,"speed":18,"hex_longitude":"2d0b2480","hex_latitude":"070586f8","is_valid_coordinates":true} 
[2026-11-05 16:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231961344001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39477144656543744,"note":"Value kept but may cause issues"} 
[2026-11-05 16:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802203713784160256,"note":"Value kept but may cause issues"} 
[2026-11-05 16:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1793874860000,"timestamp_ms":1793874860000,"timestamp_seconds":1793874860,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab4617e0"} 
[2026-11-05 16:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 16:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":231671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":231671,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":231671,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231961344001,"66":14450,"165":206,"94":10240,"24":18,"16":39477144656543744,"45":802203713784160256},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 16:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231961344001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:04:38] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 16:04:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39477144656543744,"km_value":39477144656543.74,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":802203713784160256,"description":"Unknown IO ID 45"} 
[2026-11-05 16:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231961344001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":802203713784160256}} 
[2026-11-05 16:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":231671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63885,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:04:39] local.INFO: GPS data processed {"connection_id":231671,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:04:39] local.INFO: Acknowledgment sent {"connection_id":231671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:04:39] local.INFO: TCP Data received {"connection_id":231670,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab444ed8012d7fa60005afe2e80000011023..."} 
[2026-11-05 16:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab444ed8012d7fa60005afe2e80000011023..."} 
[2026-11-05 16:04:39] local.INFO: Processing buffer {"connection_id":231670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab444ed8012d7fa60005afe2e80000011023..."} 
[2026-11-05 16:04:39] local.INFO: Packet analysis {"connection_id":231670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab44"} 
[2026-11-05 16:04:39] local.INFO: Extracted packet for processing {"connection_id":231670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab44"} 
[2026-11-05 16:04:39] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231857152001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793874743000,"timestamp_ms":1793874743000,"timestamp_seconds":1793874743,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab444ed8"} 
[2026-11-05 16:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":231670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":231670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":231670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231857152001,"66":25223,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 16:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231857152001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:04:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 16:04:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231857152001,"power":25223,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":231670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:04:39] local.INFO: GPS data processed {"connection_id":231670,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:04:39] local.INFO: Acknowledgment sent {"connection_id":231670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:04:53] local.INFO: TCP Data received {"connection_id":230329,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230329,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:04:53] local.INFO: Processing buffer {"connection_id":230329,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:04:53] local.INFO: IMEI packet received {"connection_id":230329,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 16:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":230329,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:04:55] local.INFO: TCP Data received {"connection_id":230329,"ip":"117.224.89.99","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-05 16:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230329,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-05 16:04:55] local.INFO: Processing buffer {"connection_id":230329,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-05 16:04:55] local.INFO: IMEI packet received {"connection_id":230329,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 16:04:55] local.ERROR: TCP Connection error {"connection_id":230329,"code":2,"message":"client closed"} 
[2026-11-05 16:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":230329,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:05:03] local.INFO: TCP Data received {"connection_id":233576,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:05:03] local.INFO: Processing buffer {"connection_id":233576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:05:03] local.INFO: IMEI packet received {"connection_id":233576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":233576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:05:08] local.INFO: TCP Data received {"connection_id":233576,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:05:08] local.INFO: Processing buffer {"connection_id":233576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:05:08] local.INFO: IMEI packet received {"connection_id":233576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":233576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:05:10] local.INFO: TCP Data received {"connection_id":231671,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab46a480012d0b4240070550700022009a25..."} 
[2026-11-05 16:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab46a480012d0b4240070550700022009a25..."} 
[2026-11-05 16:05:10] local.INFO: Processing buffer {"connection_id":231671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab46a480012d0b4240070550700022009a25..."} 
[2026-11-05 16:05:10] local.INFO: Packet analysis {"connection_id":231671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab46"} 
[2026-11-05 16:05:10] local.INFO: Extracted packet for processing {"connection_id":231671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab46"} 
[2026-11-05 16:05:10] local.INFO: GPS Element Parsed {"raw_longitude":755712576,"raw_latitude":117788784,"longitude_deg":75.5712576,"latitude_deg":11.7788784,"altitude":34,"angle":154,"satellites":37,"speed":16,"hex_longitude":"2d0b4240","hex_latitude":"07055070","is_valid_coordinates":true} 
[2026-11-05 16:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231973120001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39478076664446976,"note":"Value kept but may cause issues"} 
[2026-11-05 16:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":811140544289953792,"note":"Value kept but may cause issues"} 
[2026-11-05 16:05:10] 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-05 16:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793874896000,"timestamp_ms":1793874896000,"timestamp_seconds":1793874896,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab46a480"} 
[2026-11-05 16:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-05 16:05:10] 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-05 16:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231671,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231671,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231973120001,"66":14515,"165":206,"94":10240,"24":16,"16":39478076664446976,"45":811140544289953792},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 16:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231973120001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:05:10] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 16:05:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39478076664446976,"km_value":39478076664446.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":811140544289953792,"description":"Unknown IO ID 45"} 
[2026-11-05 16:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231973120001,"power":14515,"unknown_165":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":811140544289953792}} 
[2026-11-05 16:05:10] local.INFO: TCP Data received {"connection_id":229816,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:05:10] local.INFO: Processing buffer {"connection_id":229816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:05:10] local.INFO: IMEI packet received {"connection_id":229816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 16:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":229816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":231671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63887,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:05:11] local.INFO: GPS data processed {"connection_id":231671,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:05:11] local.INFO: Acknowledgment sent {"connection_id":231671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:05:15] local.INFO: TCP Data received {"connection_id":233576,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab444ed8012d7fa60005afe2e80000011023..."} 
[2026-11-05 16:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab444ed8012d7fa60005afe2e80000011023..."} 
[2026-11-05 16:05:15] local.INFO: Processing buffer {"connection_id":233576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab444ed8012d7fa60005afe2e80000011023..."} 
[2026-11-05 16:05:15] local.INFO: Packet analysis {"connection_id":233576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab44"} 
[2026-11-05 16:05:15] local.INFO: Extracted packet for processing {"connection_id":233576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab44"} 
[2026-11-05 16:05:15] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231857152001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793874743000,"timestamp_ms":1793874743000,"timestamp_seconds":1793874743,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab444ed8"} 
[2026-11-05 16: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-05 16:05: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-05 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231857152001,"66":25223,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 16:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231857152001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:05:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 16:05:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231857152001,"power":25223,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":233576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:05:15] local.INFO: GPS data processed {"connection_id":233576,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:05:15] local.INFO: Acknowledgment sent {"connection_id":233576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:05:36] local.INFO: TCP Data received {"connection_id":230330,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230330,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:05:36] local.INFO: Processing buffer {"connection_id":230330,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:05:36] local.INFO: IMEI packet received {"connection_id":230330,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":230330,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:05:46] local.INFO: TCP Data received {"connection_id":233576,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab444ed8012d7fa60005afe2e80000011023..."} 
[2026-11-05 16:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab444ed8012d7fa60005afe2e80000011023..."} 
[2026-11-05 16:05:46] local.INFO: Processing buffer {"connection_id":233576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab444ed8012d7fa60005afe2e80000011023..."} 
[2026-11-05 16:05:46] local.INFO: Packet analysis {"connection_id":233576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab44"} 
[2026-11-05 16:05:46] local.INFO: Extracted packet for processing {"connection_id":233576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab44"} 
[2026-11-05 16:05:46] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231857152001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793874743000,"timestamp_ms":1793874743000,"timestamp_seconds":1793874743,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab444ed8"} 
[2026-11-05 16: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-05 16:05: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-05 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":233576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":233576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":233576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:05: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-05 16:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231857152001,"66":25223,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 16:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231857152001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:05:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 16:05:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231857152001,"power":25223,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":233576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:05:46] local.INFO: GPS data processed {"connection_id":233576,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:05:46] local.INFO: Acknowledgment sent {"connection_id":233576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:06:02] local.INFO: TCP Data received {"connection_id":230330,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230330,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:06:02] local.INFO: Processing buffer {"connection_id":230330,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:06:02] local.INFO: IMEI packet received {"connection_id":230330,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":230330,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:06:03] local.INFO: TCP Data received {"connection_id":230331,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:06:03] local.INFO: Processing buffer {"connection_id":230331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:06:03] local.INFO: IMEI packet received {"connection_id":230331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":230331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:06:03] local.INFO: TCP Data received {"connection_id":230330,"ip":"42.109.136.10","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-05 16:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230330,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-05 16:06:03] local.INFO: Processing buffer {"connection_id":230330,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-05 16:06:03] local.INFO: IMEI packet received {"connection_id":230330,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":230330,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:06:13] local.INFO: TCP Data received {"connection_id":230331,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:06:13] local.INFO: Processing buffer {"connection_id":230331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:06:13] local.INFO: IMEI packet received {"connection_id":230331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":230331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:06:14] local.INFO: TCP Data received {"connection_id":230331,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab444ed8012d7fa60005afe2e80000011023..."} 
[2026-11-05 16:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab444ed8012d7fa60005afe2e80000011023..."} 
[2026-11-05 16:06:14] local.INFO: Processing buffer {"connection_id":230331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab444ed8012d7fa60005afe2e80000011023..."} 
[2026-11-05 16:06:14] local.INFO: Packet analysis {"connection_id":230331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab44"} 
[2026-11-05 16:06:14] local.INFO: Extracted packet for processing {"connection_id":230331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab44"} 
[2026-11-05 16:06:14] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231857152001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793874743000,"timestamp_ms":1793874743000,"timestamp_seconds":1793874743,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab444ed8"} 
[2026-11-05 16: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-05 16:06: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-05 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:06:14] 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-05 16:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231857152001,"66":25223,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 16:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231857152001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:06:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 16:06:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231857152001,"power":25223,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:06:14] 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":63890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:06:14] local.INFO: GPS data processed {"connection_id":230331,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:06:14] local.INFO: Acknowledgment sent {"connection_id":230331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:06:45] local.INFO: TCP Data received {"connection_id":230331,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab444ed8012d7fa60005afe2e80000011023..."} 
[2026-11-05 16:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab444ed8012d7fa60005afe2e80000011023..."} 
[2026-11-05 16:06:45] local.INFO: Processing buffer {"connection_id":230331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab444ed8012d7fa60005afe2e80000011023..."} 
[2026-11-05 16:06:45] local.INFO: Packet analysis {"connection_id":230331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab44"} 
[2026-11-05 16:06:45] local.INFO: Extracted packet for processing {"connection_id":230331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab44"} 
[2026-11-05 16:06:45] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231857152001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793874743000,"timestamp_ms":1793874743000,"timestamp_seconds":1793874743,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab444ed8"} 
[2026-11-05 16: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-05 16: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-05 16:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:06:45] 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-05 16:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231857152001,"66":25223,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 16:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231857152001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:06:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 16:06:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231857152001,"power":25223,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:06:45] 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":63891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:06:45] local.INFO: GPS data processed {"connection_id":230331,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:06:45] local.INFO: Acknowledgment sent {"connection_id":230331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:07:03] local.INFO: TCP Data received {"connection_id":233577,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:07:03] local.INFO: Processing buffer {"connection_id":233577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:07:03] local.INFO: IMEI packet received {"connection_id":233577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":233577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:07:08] local.INFO: TCP Data received {"connection_id":233577,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:07:08] local.INFO: Processing buffer {"connection_id":233577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:07:08] local.INFO: IMEI packet received {"connection_id":233577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":233577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:07:09] local.INFO: TCP Data received {"connection_id":233577,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab444ed8012d7fa60005afe2e80000011023..."} 
[2026-11-05 16:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab444ed8012d7fa60005afe2e80000011023..."} 
[2026-11-05 16:07:09] local.INFO: Processing buffer {"connection_id":233577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab444ed8012d7fa60005afe2e80000011023..."} 
[2026-11-05 16:07:09] local.INFO: Packet analysis {"connection_id":233577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab44"} 
[2026-11-05 16:07:09] local.INFO: Extracted packet for processing {"connection_id":233577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab44"} 
[2026-11-05 16:07:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231857152001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793874743000,"timestamp_ms":1793874743000,"timestamp_seconds":1793874743,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab444ed8"} 
[2026-11-05 16:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:07:09] local.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-05 16:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231857152001,"66":25223,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 16:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231857152001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:07:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 16:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231857152001,"power":25223,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":233577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:07:09] local.INFO: GPS data processed {"connection_id":233577,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:07:09] local.INFO: Acknowledgment sent {"connection_id":233577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:07:40] local.INFO: TCP Data received {"connection_id":233577,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab444ed8012d7fa60005afe2e80000011023..."} 
[2026-11-05 16:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab444ed8012d7fa60005afe2e80000011023..."} 
[2026-11-05 16:07:40] local.INFO: Processing buffer {"connection_id":233577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab444ed8012d7fa60005afe2e80000011023..."} 
[2026-11-05 16:07:40] local.INFO: Packet analysis {"connection_id":233577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab44"} 
[2026-11-05 16:07:40] local.INFO: Extracted packet for processing {"connection_id":233577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab44"} 
[2026-11-05 16:07:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231857152001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793874743000,"timestamp_ms":1793874743000,"timestamp_seconds":1793874743,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab444ed8"} 
[2026-11-05 16:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231857152001,"66":25223,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 16:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231857152001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:07:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 16:07:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231857152001,"power":25223,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":233577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:07:40] local.INFO: GPS data processed {"connection_id":233577,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:07:40] local.INFO: Acknowledgment sent {"connection_id":233577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:08:02] local.INFO: TCP Data received {"connection_id":233578,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:08:02] local.INFO: Processing buffer {"connection_id":233578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:08:02] local.INFO: IMEI packet received {"connection_id":233578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":233578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:08:03] local.INFO: TCP Data received {"connection_id":233578,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:08:03] local.INFO: Processing buffer {"connection_id":233578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:08:03] local.INFO: IMEI packet received {"connection_id":233578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":233578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:08:08] local.INFO: TCP Data received {"connection_id":233578,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:08:08] local.INFO: Processing buffer {"connection_id":233578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:08:08] local.INFO: IMEI packet received {"connection_id":233578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":233578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:08:09] local.INFO: TCP Data received {"connection_id":233578,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab48e6a0012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab48e6a0012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:08:09] local.INFO: Processing buffer {"connection_id":233578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab48e6a0012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:08:09] local.INFO: Packet analysis {"connection_id":233578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab48"} 
[2026-11-05 16:08:09] local.INFO: Extracted packet for processing {"connection_id":233578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab48"} 
[2026-11-05 16:08:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231934208001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793875044000,"timestamp_ms":1793875044000,"timestamp_seconds":1793875044,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab48e6a0"} 
[2026-11-05 16: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-05 16:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-11-05 16:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16: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-05 16: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-05 16:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231934208001,"66":25288,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 16:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231934208001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:08:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 16:08:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231934208001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":233578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:08:09] local.INFO: GPS data processed {"connection_id":233578,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:08:09] local.INFO: Acknowledgment sent {"connection_id":233578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:08:40] local.INFO: TCP Data received {"connection_id":233578,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab48e6a0012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab48e6a0012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:08:40] local.INFO: Processing buffer {"connection_id":233578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab48e6a0012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:08:40] local.INFO: Packet analysis {"connection_id":233578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab48"} 
[2026-11-05 16:08:40] local.INFO: Extracted packet for processing {"connection_id":233578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab48"} 
[2026-11-05 16:08:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231934208001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793875044000,"timestamp_ms":1793875044000,"timestamp_seconds":1793875044,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab48e6a0"} 
[2026-11-05 16:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-11-05 16:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:08: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-05 16:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231934208001,"66":25288,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 16:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231934208001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:08:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 16:08:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231934208001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":233578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:08:40] local.INFO: GPS data processed {"connection_id":233578,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:08:40] local.INFO: Acknowledgment sent {"connection_id":233578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:09:03] local.INFO: TCP Data received {"connection_id":230333,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:09:03] local.INFO: Processing buffer {"connection_id":230333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:09:03] local.INFO: IMEI packet received {"connection_id":230333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":230333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:09:08] local.INFO: TCP Data received {"connection_id":230333,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:09:08] local.INFO: Processing buffer {"connection_id":230333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:09:08] local.INFO: IMEI packet received {"connection_id":230333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":230333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:09:09] local.INFO: TCP Data received {"connection_id":230333,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab48e6a0012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab48e6a0012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:09:09] local.INFO: Processing buffer {"connection_id":230333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab48e6a0012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:09:09] local.INFO: Packet analysis {"connection_id":230333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab48"} 
[2026-11-05 16:09:09] local.INFO: Extracted packet for processing {"connection_id":230333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab48"} 
[2026-11-05 16:09:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231934208001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793875044000,"timestamp_ms":1793875044000,"timestamp_seconds":1793875044,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab48e6a0"} 
[2026-11-05 16:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-11-05 16:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:09:09] 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-05 16:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231934208001,"66":25288,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 16:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231934208001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:09:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 16:09:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231934208001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":230333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:09:09] local.INFO: GPS data processed {"connection_id":230333,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:09:09] local.INFO: Acknowledgment sent {"connection_id":230333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:09:40] local.INFO: TCP Data received {"connection_id":230333,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab48e6a0012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab48e6a0012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:09:40] local.INFO: Processing buffer {"connection_id":230333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab48e6a0012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:09:40] local.INFO: Packet analysis {"connection_id":230333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab48"} 
[2026-11-05 16:09:40] local.INFO: Extracted packet for processing {"connection_id":230333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab48"} 
[2026-11-05 16:09:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231934208001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793875044000,"timestamp_ms":1793875044000,"timestamp_seconds":1793875044,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab48e6a0"} 
[2026-11-05 16:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-11-05 16:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231934208001,"66":25288,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 16:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231934208001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:09:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 16:09:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231934208001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":230333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:09:41] local.INFO: GPS data processed {"connection_id":230333,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:09:41] local.INFO: Acknowledgment sent {"connection_id":230333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:10:08] local.INFO: TCP Data received {"connection_id":230334,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:10:08] local.INFO: Processing buffer {"connection_id":230334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:10:08] local.INFO: IMEI packet received {"connection_id":230334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":230334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:10:13] local.INFO: TCP Data received {"connection_id":230334,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:10:13] local.INFO: Processing buffer {"connection_id":230334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:10:13] local.INFO: IMEI packet received {"connection_id":230334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":230334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:10:14] local.INFO: TCP Data received {"connection_id":230334,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab48e6a0012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab48e6a0012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:10:14] local.INFO: Processing buffer {"connection_id":230334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab48e6a0012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:10:14] local.INFO: Packet analysis {"connection_id":230334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab48"} 
[2026-11-05 16:10:14] local.INFO: Extracted packet for processing {"connection_id":230334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab48"} 
[2026-11-05 16:10:14] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231934208001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793875044000,"timestamp_ms":1793875044000,"timestamp_seconds":1793875044,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab48e6a0"} 
[2026-11-05 16: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-05 16:10: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-05 16: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-11-05 16:10:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:10: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-05 16:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231934208001,"66":25288,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 16:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231934208001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:10:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 16:10:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231934208001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":230334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:10:14] local.INFO: GPS data processed {"connection_id":230334,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:10:14] local.INFO: Acknowledgment sent {"connection_id":230334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:10:16] local.INFO: TCP Data received {"connection_id":231674,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:10:16] local.INFO: Processing buffer {"connection_id":231674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:10:16] local.INFO: IMEI packet received {"connection_id":231674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 16:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":231674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:10:18] local.INFO: TCP Data received {"connection_id":231674,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab495018012d4d55c0068f0ac0004200b126..."} 
[2026-11-05 16:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab495018012d4d55c0068f0ac0004200b126..."} 
[2026-11-05 16:10:18] local.INFO: Processing buffer {"connection_id":231674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab495018012d4d55c0068f0ac0004200b126..."} 
[2026-11-05 16:10:18] local.INFO: Packet analysis {"connection_id":231674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab49"} 
[2026-11-05 16:10:18] local.INFO: Extracted packet for processing {"connection_id":231674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab49"} 
[2026-11-05 16:10:18] local.INFO: GPS Element Parsed {"raw_longitude":760042944,"raw_latitude":110037696,"longitude_deg":76.0042944,"latitude_deg":11.0037696,"altitude":66,"angle":177,"satellites":38,"speed":14,"hex_longitude":"2d4d55c0","hex_latitude":"068f0ac0","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:10:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,25,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 16:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793875071000,"timestamp_ms":1793875071000,"timestamp_seconds":1793875071,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab495018"} 
[2026-11-05 16: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-05 16:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16: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":111,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 16:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1959,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":231674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":231674,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":231674,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28267,"25":206,"19":48128,"24":14,"16":20804383495159808},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,19,24,16]} 
[2026-11-05 16:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 16:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 16:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 16:10:18] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-11-05 16:10:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 16:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:10:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28267,"unknown_25":206,"unknown_19":48128,"ignition":14,"odometer":null}} 
[2026-11-05 16:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":231674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63899,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:10:18] local.INFO: GPS data processed {"connection_id":231674,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:10:18] local.INFO: Acknowledgment sent {"connection_id":231674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:10:22] local.INFO: TCP Data received {"connection_id":230334,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab48e6a0012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab48e6a0012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:10:22] local.INFO: Processing buffer {"connection_id":230334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab48e6a0012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:10:22] local.INFO: Packet analysis {"connection_id":230334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab48"} 
[2026-11-05 16:10:22] local.INFO: Extracted packet for processing {"connection_id":230334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab48"} 
[2026-11-05 16:10:22] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231934208001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793875044000,"timestamp_ms":1793875044000,"timestamp_seconds":1793875044,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab48e6a0"} 
[2026-11-05 16:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:10: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-05 16:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-11-05 16:10: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-05 16:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":230334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":230334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":230334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:10:22] local.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-05 16:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231934208001,"66":25288,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 16:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231934208001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:10:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 16:10:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231934208001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":230334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:10:22] local.INFO: GPS data processed {"connection_id":230334,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:10:22] local.INFO: Acknowledgment sent {"connection_id":230334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:10:47] local.INFO: TCP Data received {"connection_id":230335,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230335,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:10:47] local.INFO: Processing buffer {"connection_id":230335,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:10:47] local.INFO: IMEI packet received {"connection_id":230335,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":230335,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:10:48] local.INFO: TCP Data received {"connection_id":230335,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab4b72f8012d0c69c0070501f00017015626..."} 
[2026-11-05 16:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab4b72f8012d0c69c0070501f00017015626..."} 
[2026-11-05 16:10:48] local.INFO: Processing buffer {"connection_id":230335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab4b72f8012d0c69c0070501f00017015626..."} 
[2026-11-05 16:10:48] local.INFO: Packet analysis {"connection_id":230335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab4b"} 
[2026-11-05 16:10:48] local.INFO: Extracted packet for processing {"connection_id":230335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab4b"} 
[2026-11-05 16:10:48] local.INFO: GPS Element Parsed {"raw_longitude":755788224,"raw_latitude":117768688,"longitude_deg":75.5788224,"latitude_deg":11.7768688,"altitude":23,"angle":342,"satellites":38,"speed":29,"hex_longitude":"2d0c69c0","hex_latitude":"070501f0","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232053504001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39484841237938176,"note":"Value kept but may cause issues"} 
[2026-11-05 16:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895160824832493568,"note":"Value kept but may cause issues"} 
[2026-11-05 16:10: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-05 16:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793875211000,"timestamp_ms":1793875211000,"timestamp_seconds":1793875211,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab4b72f8"} 
[2026-11-05 16: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-05 16:10:48] 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-05 16: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":244,"data_length":795,"current_offset":136} 
[2026-11-05 16:10:48] 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-05 16: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-05 16: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-05 16:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232053504001,"66":14548,"95":206,"94":10240,"24":29,"16":39484841237938176,"45":895160824832493568},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-11-05 16:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232053504001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:10:48] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-11-05 16:10:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39484841237938176,"km_value":39484841237938.18,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":895160824832493568,"description":"Unknown IO ID 45"} 
[2026-11-05 16:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232053504001,"power":14548,"unknown_95":206,"unknown_94":10240,"ignition":29,"odometer":null,"unknown_45":895160824832493568}} 
[2026-11-05 16:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":230335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63901,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:10:48] local.INFO: GPS data processed {"connection_id":230335,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:10:48] local.INFO: Acknowledgment sent {"connection_id":230335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:10:50] local.INFO: TCP Data received {"connection_id":231674,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab4a32a80100000000000000000000000000..."} 
[2026-11-05 16:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab4a32a80100000000000000000000000000..."} 
[2026-11-05 16:10:50] local.INFO: Processing buffer {"connection_id":231674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab4a32a80100000000000000000000000000..."} 
[2026-11-05 16:10:50] local.INFO: Packet analysis {"connection_id":231674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab4a"} 
[2026-11-05 16:10:50] local.INFO: Extracted packet for processing {"connection_id":231674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab4a"} 
[2026-11-05 16:10: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-05 16:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232018176001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5572571248343040000,"note":"Value kept but may cause issues"} 
[2026-11-05 16:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793875129000,"timestamp_ms":1793875129000,"timestamp_seconds":1793875129,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab4a32a8"} 
[2026-11-05 16:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 16:10: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-05 16:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":231674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":231674,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":231674,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":231674,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 16:10:50] local.INFO: GPS data processed {"connection_id":231674,"processed":0,"errors":0,"total":1} 
[2026-11-05 16:10:50] local.INFO: Acknowledgment sent {"connection_id":231674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:11:03] local.INFO: TCP Data received {"connection_id":229822,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:11:03] local.INFO: Processing buffer {"connection_id":229822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:11:03] local.INFO: IMEI packet received {"connection_id":229822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":229822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:11:05] local.INFO: TCP Data received {"connection_id":231675,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231675,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:11:05] local.INFO: Processing buffer {"connection_id":231675,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:11:05] local.INFO: IMEI packet received {"connection_id":231675,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 16:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":231675,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:11:08] local.INFO: TCP Data received {"connection_id":229822,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:11:08] local.INFO: Processing buffer {"connection_id":229822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:11:08] local.INFO: IMEI packet received {"connection_id":229822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":229822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:11:09] local.INFO: TCP Data received {"connection_id":229822,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab48e6a0012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab48e6a0012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:11:09] local.INFO: Processing buffer {"connection_id":229822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab48e6a0012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:11:09] local.INFO: Packet analysis {"connection_id":229822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab48"} 
[2026-11-05 16:11:09] local.INFO: Extracted packet for processing {"connection_id":229822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab48"} 
[2026-11-05 16:11:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231934208001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793875044000,"timestamp_ms":1793875044000,"timestamp_seconds":1793875044,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab48e6a0"} 
[2026-11-05 16:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-11-05 16:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:11:09] 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-05 16:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231934208001,"66":25288,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 16:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231934208001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:11:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 16:11:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231934208001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":229822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:11:09] local.INFO: GPS data processed {"connection_id":229822,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:11:09] local.INFO: Acknowledgment sent {"connection_id":229822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:11:11] local.INFO: TCP Data received {"connection_id":231675,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231675,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:11:11] local.INFO: Processing buffer {"connection_id":231675,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:11:11] local.INFO: IMEI packet received {"connection_id":231675,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 16:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":231675,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:11:13] local.INFO: TCP Data received {"connection_id":231675,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab49a9f0012d4d5100068edcf8004200bc25..."} 
[2026-11-05 16:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab49a9f0012d4d5100068edcf8004200bc25..."} 
[2026-11-05 16:11:13] local.INFO: Processing buffer {"connection_id":231675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab49a9f0012d4d5100068edcf8004200bc25..."} 
[2026-11-05 16:11:13] local.INFO: Packet analysis {"connection_id":231675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab49"} 
[2026-11-05 16:11:13] local.INFO: Extracted packet for processing {"connection_id":231675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab49"} 
[2026-11-05 16:11:13] local.INFO: GPS Element Parsed {"raw_longitude":760041728,"raw_latitude":110025976,"longitude_deg":76.0041728,"latitude_deg":11.0025976,"altitude":66,"angle":188,"satellites":37,"speed":0,"hex_longitude":"2d4d5100","hex_latitude":"068edcf8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:11:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,25,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 16:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793875094000,"timestamp_ms":1793875094000,"timestamp_seconds":1793875094,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab49a9f0"} 
[2026-11-05 16: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-05 16:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16: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":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-11-05 16:11:13] 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-05 16: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-05 16: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-05 16:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":231675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":231675,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":231675,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28604,"25":206,"19":48128,"24":0,"16":20804383495159808},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,19,24,16]} 
[2026-11-05 16:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 16:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 16:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 16:11:13] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-11-05 16:11:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 16:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:11:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28604,"unknown_25":206,"unknown_19":48128,"ignition":0,"odometer":null}} 
[2026-11-05 16:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":231675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63903,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:11:13] local.INFO: GPS data processed {"connection_id":231675,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:11:13] local.INFO: Acknowledgment sent {"connection_id":231675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:11:32] local.INFO: TCP Data received {"connection_id":231676,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231676,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:11:32] local.INFO: Processing buffer {"connection_id":231676,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:11:32] local.INFO: IMEI packet received {"connection_id":231676,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":231676,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:11:37] local.INFO: TCP Data received {"connection_id":231676,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231676,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:11:37] local.INFO: Processing buffer {"connection_id":231676,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:11:37] local.INFO: IMEI packet received {"connection_id":231676,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":231676,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:11:38] local.INFO: TCP Data received {"connection_id":231676,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab4b8298012d0c674007050aa80018016124..."} 
[2026-11-05 16:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab4b8298012d0c674007050aa80018016124..."} 
[2026-11-05 16:11:38] local.INFO: Processing buffer {"connection_id":231676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab4b8298012d0c674007050aa80018016124..."} 
[2026-11-05 16:11:38] local.INFO: Packet analysis {"connection_id":231676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab4b"} 
[2026-11-05 16:11:38] local.INFO: Extracted packet for processing {"connection_id":231676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab4b"} 
[2026-11-05 16:11:38] local.INFO: GPS Element Parsed {"raw_longitude":755787584,"raw_latitude":117770920,"longitude_deg":75.5787584,"latitude_deg":11.777092,"altitude":24,"angle":353,"satellites":36,"speed":15,"hex_longitude":"2d0c6740","hex_latitude":"07050aa8","is_valid_coordinates":true} 
[2026-11-05 16:11: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-05 16:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232054016001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39484952907087872,"note":"Value kept but may cause issues"} 
[2026-11-05 16:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894457137391071232,"note":"Value kept but may cause issues"} 
[2026-11-05 16:11:38] 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-05 16:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1793875215000,"timestamp_ms":1793875215000,"timestamp_seconds":1793875215,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab4b8298"} 
[2026-11-05 16:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:11: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":212,"data_length":795,"current_offset":136} 
[2026-11-05 16:11:38] 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-05 16:11: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-05 16:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":231676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":231676,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":231676,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232054016001,"66":14450,"95":206,"94":10240,"24":15,"16":39484952907087872,"45":894457137391071232},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-11-05 16:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232054016001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:11:38] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-11-05 16:11:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39484952907087872,"km_value":39484952907087.875,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":894457137391071232,"description":"Unknown IO ID 45"} 
[2026-11-05 16:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232054016001,"power":14450,"unknown_95":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":894457137391071232}} 
[2026-11-05 16:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":231676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63904,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:11:38] local.INFO: GPS data processed {"connection_id":231676,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:11:38] local.INFO: Acknowledgment sent {"connection_id":231676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:11:41] local.INFO: TCP Data received {"connection_id":229822,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab48e6a0012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab48e6a0012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:11:41] local.INFO: Processing buffer {"connection_id":229822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab48e6a0012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:11:41] local.INFO: Packet analysis {"connection_id":229822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab48"} 
[2026-11-05 16:11:41] local.INFO: Extracted packet for processing {"connection_id":229822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab48"} 
[2026-11-05 16:11:41] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231934208001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793875044000,"timestamp_ms":1793875044000,"timestamp_seconds":1793875044,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab48e6a0"} 
[2026-11-05 16:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:11: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-05 16:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-11-05 16:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:11: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-05 16:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231934208001,"66":25288,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 16:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231934208001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:11:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 16:11:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231934208001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":229822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:11:41] local.INFO: GPS data processed {"connection_id":229822,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:11:41] local.INFO: Acknowledgment sent {"connection_id":229822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:11:45] local.INFO: TCP Data received {"connection_id":231675,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab49f810012d4d5100068edcf8004200bc25..."} 
[2026-11-05 16:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab49f810012d4d5100068edcf8004200bc25..."} 
[2026-11-05 16:11:45] local.INFO: Processing buffer {"connection_id":231675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab49f810012d4d5100068edcf8004200bc25..."} 
[2026-11-05 16:11:45] local.INFO: Packet analysis {"connection_id":231675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab49"} 
[2026-11-05 16:11:45] local.INFO: Extracted packet for processing {"connection_id":231675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab49"} 
[2026-11-05 16:11:45] local.INFO: GPS Element Parsed {"raw_longitude":760041728,"raw_latitude":110025976,"longitude_deg":76.0041728,"latitude_deg":11.0025976,"altitude":66,"angle":188,"satellites":37,"speed":0,"hex_longitude":"2d4d5100","hex_latitude":"068edcf8","is_valid_coordinates":true} 
[2026-11-05 16:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232024064001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5571234242200664064,"note":"Value kept but may cause issues"} 
[2026-11-05 16:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793875114000,"timestamp_ms":1793875114000,"timestamp_seconds":1793875114,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab49f810"} 
[2026-11-05 16:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":188,"data_length":795,"current_offset":136} 
[2026-11-05 16:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2445,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":231675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":231675,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":231675,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232024064001,"66":28354,"25":206,"19":48128,"24":0,"16":20804383495159808,"45":5571234242200664064},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,19,24,16,45]} 
[2026-11-05 16:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 16:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 16:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232024064001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:11:45] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-11-05 16:11:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 16:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5571234242200664064,"description":"Unknown IO ID 45"} 
[2026-11-05 16:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232024064001,"power":28354,"unknown_25":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5571234242200664064}} 
[2026-11-05 16:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":231675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63906,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:11:45] local.INFO: GPS data processed {"connection_id":231675,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:11:45] local.INFO: Acknowledgment sent {"connection_id":231675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:12:03] local.INFO: TCP Data received {"connection_id":230336,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:12:03] local.INFO: Processing buffer {"connection_id":230336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:12:03] local.INFO: IMEI packet received {"connection_id":230336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":230336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:12:05] local.INFO: TCP Data received {"connection_id":233579,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233579,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:12:05] local.INFO: Processing buffer {"connection_id":233579,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:12:05] local.INFO: IMEI packet received {"connection_id":233579,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 16:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":233579,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:12:08] local.INFO: TCP Data received {"connection_id":230336,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:12:08] local.INFO: Processing buffer {"connection_id":230336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:12:08] local.INFO: IMEI packet received {"connection_id":230336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":230336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:12:09] local.INFO: TCP Data received {"connection_id":230336,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab48e6a0012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab48e6a0012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:12:09] local.INFO: Processing buffer {"connection_id":230336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab48e6a0012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:12:09] local.INFO: Packet analysis {"connection_id":230336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab48"} 
[2026-11-05 16:12:09] local.INFO: Extracted packet for processing {"connection_id":230336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab48"} 
[2026-11-05 16:12:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231934208001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793875044000,"timestamp_ms":1793875044000,"timestamp_seconds":1793875044,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab48e6a0"} 
[2026-11-05 16:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-11-05 16:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:12:09] 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-05 16:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231934208001,"66":25288,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 16:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231934208001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:12:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 16:12:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231934208001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:12:09] 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":63907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:12:09] local.INFO: GPS data processed {"connection_id":230336,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:12:09] local.INFO: Acknowledgment sent {"connection_id":230336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:12:10] local.INFO: TCP Data received {"connection_id":231676,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab4b8e50012d0c678007050e800019000925..."} 
[2026-11-05 16:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab4b8e50012d0c678007050e800019000925..."} 
[2026-11-05 16:12:10] local.INFO: Processing buffer {"connection_id":231676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab4b8e50012d0c678007050e800019000925..."} 
[2026-11-05 16:12:10] local.INFO: Packet analysis {"connection_id":231676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab4b"} 
[2026-11-05 16:12:10] local.INFO: Extracted packet for processing {"connection_id":231676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab4b"} 
[2026-11-05 16:12:10] local.INFO: GPS Element Parsed {"raw_longitude":755787648,"raw_latitude":117771904,"longitude_deg":75.5787648,"latitude_deg":11.7771904,"altitude":25,"angle":9,"satellites":37,"speed":10,"hex_longitude":"2d0c6780","hex_latitude":"07050e80","is_valid_coordinates":true} 
[2026-11-05 16:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232055040001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39485004446695424,"note":"Value kept but may cause issues"} 
[2026-11-05 16:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893753449949865984,"note":"Value kept but may cause issues"} 
[2026-11-05 16:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793875218000,"timestamp_ms":1793875218000,"timestamp_seconds":1793875218,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab4b8e50"} 
[2026-11-05 16:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-05 16:12:10] 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-05 16:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231676,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231676,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232055040001,"66":14439,"95":206,"94":10240,"24":10,"16":39485004446695424,"45":893753449949865984},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-11-05 16:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232055040001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:12:10] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-11-05 16:12:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39485004446695424,"km_value":39485004446695.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":893753449949865984,"description":"Unknown IO ID 45"} 
[2026-11-05 16:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232055040001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":893753449949865984}} 
[2026-11-05 16:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":231676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63908,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:12:10] local.INFO: GPS data processed {"connection_id":231676,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:12:10] local.INFO: Acknowledgment sent {"connection_id":231676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:12:15] local.INFO: TCP Data received {"connection_id":233579,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233579,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:12:15] local.INFO: Processing buffer {"connection_id":233579,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:12:15] local.INFO: IMEI packet received {"connection_id":233579,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 16:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":233579,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:12:17] local.INFO: TCP Data received {"connection_id":233579,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233579,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:12:17] local.INFO: Processing buffer {"connection_id":233579,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:12:17] local.INFO: IMEI packet received {"connection_id":233579,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 16:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":233579,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:12:18] local.INFO: TCP Data received {"connection_id":233579,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab4a32a8012d4d44c0068ea928003600c824..."} 
[2026-11-05 16:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab4a32a8012d4d44c0068ea928003600c824..."} 
[2026-11-05 16:12:18] local.INFO: Processing buffer {"connection_id":233579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab4a32a8012d4d44c0068ea928003600c824..."} 
[2026-11-05 16:12:18] local.INFO: Packet analysis {"connection_id":233579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab4a"} 
[2026-11-05 16:12:18] local.INFO: Extracted packet for processing {"connection_id":233579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab4a"} 
[2026-11-05 16:12:18] local.INFO: GPS Element Parsed {"raw_longitude":760038592,"raw_latitude":110012712,"longitude_deg":76.0038592,"latitude_deg":11.0012712,"altitude":54,"angle":200,"satellites":36,"speed":7,"hex_longitude":"2d4d44c0","hex_latitude":"068ea928","is_valid_coordinates":true} 
[2026-11-05 16:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232029184001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5571234242200664064,"note":"Value kept but may cause issues"} 
[2026-11-05 16:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793875129000,"timestamp_ms":1793875129000,"timestamp_seconds":1793875129,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab4a32a8"} 
[2026-11-05 16:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-05 16:12: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-05 16:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":233579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":233579,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":233579,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232029184001,"66":28485,"25":206,"19":48128,"24":7,"16":20804383495159808,"45":5571234242200664064},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,19,24,16,45]} 
[2026-11-05 16:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 16:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 16:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232029184001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:12:18] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-11-05 16:12:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 16:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5571234242200664064,"description":"Unknown IO ID 45"} 
[2026-11-05 16:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232029184001,"power":28485,"unknown_25":206,"unknown_19":48128,"ignition":7,"odometer":null,"unknown_45":5571234242200664064}} 
[2026-11-05 16:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":233579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63909,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:12:18] local.INFO: GPS data processed {"connection_id":233579,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:12:18] local.INFO: Acknowledgment sent {"connection_id":233579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:12:20] local.INFO: TCP Data received {"connection_id":233579,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab4a84b0012d4d44c0068ea928003600c824..."} 
[2026-11-05 16:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab4a84b0012d4d44c0068ea928003600c824..."} 
[2026-11-05 16:12:20] local.INFO: Processing buffer {"connection_id":233579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab4a84b0012d4d44c0068ea928003600c824..."} 
[2026-11-05 16:12:20] local.INFO: Packet analysis {"connection_id":233579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab4a"} 
[2026-11-05 16:12:20] local.INFO: Extracted packet for processing {"connection_id":233579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab4a"} 
[2026-11-05 16:12:20] local.INFO: GPS Element Parsed {"raw_longitude":760038592,"raw_latitude":110012712,"longitude_deg":76.0038592,"latitude_deg":11.0012712,"altitude":54,"angle":200,"satellites":36,"speed":0,"hex_longitude":"2d4d44c0","hex_latitude":"068ea928","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232033024001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5567786173732562944,"note":"Value kept but may cause issues"} 
[2026-11-05 16:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793875150000,"timestamp_ms":1793875150000,"timestamp_seconds":1793875150,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab4a84b0"} 
[2026-11-05 16: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-05 16:12: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-05 16: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":69,"data_length":795,"current_offset":136} 
[2026-11-05 16:12: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-05 16: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-05 16: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-05 16:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":233579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":233579,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":233579,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232033024001,"66":28332,"25":206,"19":48128,"24":0,"16":20804383495159808,"45":5567786173732562944},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,19,24,16,45]} 
[2026-11-05 16:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 16:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 16:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232033024001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:12:20] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-11-05 16:12:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 16:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5567786173732562944,"description":"Unknown IO ID 45"} 
[2026-11-05 16:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232033024001,"power":28332,"unknown_25":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5567786173732562944}} 
[2026-11-05 16:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":233579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63910,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:12:20] local.INFO: GPS data processed {"connection_id":233579,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:12:20] local.INFO: Acknowledgment sent {"connection_id":233579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:12:40] local.INFO: TCP Data received {"connection_id":230336,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab48e6a0012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab48e6a0012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:12:40] local.INFO: Processing buffer {"connection_id":230336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab48e6a0012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:12:40] local.INFO: Packet analysis {"connection_id":230336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab48"} 
[2026-11-05 16:12:40] local.INFO: Extracted packet for processing {"connection_id":230336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab48"} 
[2026-11-05 16:12:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459231934208001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793875044000,"timestamp_ms":1793875044000,"timestamp_seconds":1793875044,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab48e6a0"} 
[2026-11-05 16:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-11-05 16:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:12: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-05 16:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459231934208001,"66":25288,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 16:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459231934208001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:12:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 16:12:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459231934208001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:12:40] 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":63911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:12:40] local.INFO: GPS data processed {"connection_id":230336,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:12:40] local.INFO: Acknowledgment sent {"connection_id":230336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:12:52] local.INFO: TCP Data received {"connection_id":233579,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab4acb00012d4d14c0068e8b18004900f925..."} 
[2026-11-05 16:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab4acb00012d4d14c0068e8b18004900f925..."} 
[2026-11-05 16:12:52] local.INFO: Processing buffer {"connection_id":233579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab4acb00012d4d14c0068e8b18004900f925..."} 
[2026-11-05 16:12:52] local.INFO: Packet analysis {"connection_id":233579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab4a"} 
[2026-11-05 16:12:52] local.INFO: Extracted packet for processing {"connection_id":233579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab4a"} 
[2026-11-05 16:12:52] local.INFO: GPS Element Parsed {"raw_longitude":760026304,"raw_latitude":110005016,"longitude_deg":76.0026304,"latitude_deg":11.0005016,"altitude":73,"angle":249,"satellites":37,"speed":27,"hex_longitude":"2d4d14c0","hex_latitude":"068e8b18","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232038400001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5567786173732562944,"note":"Value kept but may cause issues"} 
[2026-11-05 16:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793875168000,"timestamp_ms":1793875168000,"timestamp_seconds":1793875168,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab4acb00"} 
[2026-11-05 16: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-05 16:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-05 16:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-05 16:12: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-05 16: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-05 16: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-05 16:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":233579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":233579,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":233579,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232038400001,"66":28398,"25":206,"19":48128,"24":27,"16":20804383495159808,"45":5567786173732562944},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,19,24,16,45]} 
[2026-11-05 16:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 16:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 16:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232038400001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:12:52] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-11-05 16:12:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 16:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5567786173732562944,"description":"Unknown IO ID 45"} 
[2026-11-05 16:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232038400001,"power":28398,"unknown_25":206,"unknown_19":48128,"ignition":27,"odometer":null,"unknown_45":5567786173732562944}} 
[2026-11-05 16:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":233579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63912,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:12:52] local.INFO: GPS data processed {"connection_id":233579,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:12:52] local.INFO: Acknowledgment sent {"connection_id":233579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:13:04] local.INFO: TCP Data received {"connection_id":230337,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:13:04] local.INFO: Processing buffer {"connection_id":230337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:13:04] local.INFO: IMEI packet received {"connection_id":230337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":230337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:13:04] local.INFO: TCP Data received {"connection_id":230337,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:13:04] local.INFO: Processing buffer {"connection_id":230337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:13:04] local.INFO: IMEI packet received {"connection_id":230337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":230337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:13:06] local.INFO: TCP Data received {"connection_id":233580,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233580,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:13:06] local.INFO: Processing buffer {"connection_id":233580,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:13:06] local.INFO: IMEI packet received {"connection_id":233580,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 16:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":233580,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:13:07] local.INFO: TCP Data received {"connection_id":233580,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233580,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:13:07] local.INFO: Processing buffer {"connection_id":233580,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:13:07] local.INFO: IMEI packet received {"connection_id":233580,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 16:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":233580,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:13:08] local.INFO: TCP Data received {"connection_id":230337,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:13:08] local.INFO: Processing buffer {"connection_id":230337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:13:08] local.INFO: IMEI packet received {"connection_id":230337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":230337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:13:09] local.INFO: TCP Data received {"connection_id":230337,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab4d7e68012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab4d7e68012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:13:09] local.INFO: Processing buffer {"connection_id":230337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab4d7e68012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:13:09] local.INFO: Packet analysis {"connection_id":230337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab4d"} 
[2026-11-05 16:13:09] local.INFO: Extracted packet for processing {"connection_id":230337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab4d"} 
[2026-11-05 16:13:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232011264001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793875345000,"timestamp_ms":1793875345000,"timestamp_seconds":1793875345,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab4d7e68"} 
[2026-11-05 16:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-11-05 16:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:13:09] 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-05 16:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232011264001,"66":25299,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 16:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232011264001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:13:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 16:13:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232011264001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:13:09] 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":63913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:13:09] local.INFO: GPS data processed {"connection_id":230337,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:13:09] local.INFO: Acknowledgment sent {"connection_id":230337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:13:11] local.INFO: TCP Data received {"connection_id":233580,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233580,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:13:11] local.INFO: Processing buffer {"connection_id":233580,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:13:11] local.INFO: IMEI packet received {"connection_id":233580,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 16:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":233580,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:13:13] local.INFO: TCP Data received {"connection_id":233580,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab4bb1780100000000000000000000000000..."} 
[2026-11-05 16:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab4bb1780100000000000000000000000000..."} 
[2026-11-05 16:13:13] local.INFO: Processing buffer {"connection_id":233580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab4bb1780100000000000000000000000000..."} 
[2026-11-05 16:13:13] local.INFO: Packet analysis {"connection_id":233580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab4b"} 
[2026-11-05 16:13:13] local.INFO: Extracted packet for processing {"connection_id":233580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab4b"} 
[2026-11-05 16:13: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-05 16: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-05 16:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232043008001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5554275374848481280,"note":"Value kept but may cause issues"} 
[2026-11-05 16:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793875227000,"timestamp_ms":1793875227000,"timestamp_seconds":1793875227,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab4bb178"} 
[2026-11-05 16: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-05 16:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-05 16: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 16:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":233580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":233580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":233580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":233580,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 16:13:13] local.INFO: GPS data processed {"connection_id":233580,"processed":0,"errors":0,"total":1} 
[2026-11-05 16:13:13] local.INFO: Acknowledgment sent {"connection_id":233580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:13:40] local.INFO: TCP Data received {"connection_id":230337,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab4d7e68012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab4d7e68012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:13:40] local.INFO: Processing buffer {"connection_id":230337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab4d7e68012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:13:40] local.INFO: Packet analysis {"connection_id":230337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab4d"} 
[2026-11-05 16:13:40] local.INFO: Extracted packet for processing {"connection_id":230337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab4d"} 
[2026-11-05 16:13:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232011264001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793875345000,"timestamp_ms":1793875345000,"timestamp_seconds":1793875345,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab4d7e68"} 
[2026-11-05 16:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-11-05 16:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232011264001,"66":25299,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 16:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232011264001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:13:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 16:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232011264001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:13:40] 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":63914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:13:40] local.INFO: GPS data processed {"connection_id":230337,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:13:40] local.INFO: Acknowledgment sent {"connection_id":230337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:13:45] local.INFO: TCP Data received {"connection_id":233580,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab4b20f0012d4cd4c0068e7df0004a010828..."} 
[2026-11-05 16:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab4b20f0012d4cd4c0068e7df0004a010828..."} 
[2026-11-05 16:13:45] local.INFO: Processing buffer {"connection_id":233580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab4b20f0012d4cd4c0068e7df0004a010828..."} 
[2026-11-05 16:13:45] local.INFO: Packet analysis {"connection_id":233580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab4b"} 
[2026-11-05 16:13:45] local.INFO: Extracted packet for processing {"connection_id":233580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab4b"} 
[2026-11-05 16:13:45] local.INFO: GPS Element Parsed {"raw_longitude":760009920,"raw_latitude":110001648,"longitude_deg":76.000992,"latitude_deg":11.0001648,"altitude":74,"angle":264,"satellites":40,"speed":36,"hex_longitude":"2d4cd4c0","hex_latitude":"068e7df0","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:13:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,27,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 16:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793875190000,"timestamp_ms":1793875190000,"timestamp_seconds":1793875190,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab4b20f0"} 
[2026-11-05 16: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-05 16:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 16:13: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-05 16: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-05 16: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-05 16:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":233580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":233580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":233580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28376,"27":206,"19":48128,"24":36,"16":20804383495159808},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,19,24,16]} 
[2026-11-05 16:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 16:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 16:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 16:13:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:13:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 16:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:13:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28376,"unknown_27":206,"unknown_19":48128,"ignition":36,"odometer":null}} 
[2026-11-05 16:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":233580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63915,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:13:45] local.INFO: GPS data processed {"connection_id":233580,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:13:45] local.INFO: Acknowledgment sent {"connection_id":233580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:13:52] local.INFO: TCP Data received {"connection_id":231677,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231677,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:13:52] local.INFO: Processing buffer {"connection_id":231677,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:13:52] local.INFO: IMEI packet received {"connection_id":231677,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":231677,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:13:53] local.INFO: TCP Data received {"connection_id":231677,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231677,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:13:53] local.INFO: Processing buffer {"connection_id":231677,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:13:53] local.INFO: IMEI packet received {"connection_id":231677,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":231677,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:13:56] local.INFO: TCP Data received {"connection_id":231677,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231677,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:13:56] local.INFO: Processing buffer {"connection_id":231677,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:13:56] local.INFO: IMEI packet received {"connection_id":231677,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":231677,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:13:58] local.INFO: TCP Data received {"connection_id":231677,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab4e0338012d0c4e00070588e0001a005824..."} 
[2026-11-05 16:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab4e0338012d0c4e00070588e0001a005824..."} 
[2026-11-05 16:13:58] local.INFO: Processing buffer {"connection_id":231677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab4e0338012d0c4e00070588e0001a005824..."} 
[2026-11-05 16:13:58] local.INFO: Packet analysis {"connection_id":231677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab4e"} 
[2026-11-05 16:13:58] local.INFO: Extracted packet for processing {"connection_id":231677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab4e"} 
[2026-11-05 16:13:58] local.INFO: GPS Element Parsed {"raw_longitude":755781120,"raw_latitude":117803232,"longitude_deg":75.578112,"latitude_deg":11.7803232,"altitude":26,"angle":88,"satellites":36,"speed":6,"hex_longitude":"2d0c4e00","hex_latitude":"070588e0","is_valid_coordinates":true} 
[2026-11-05 16:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232091904001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39486808332959744,"note":"Value kept but may cause issues"} 
[2026-11-05 16:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881650025959049216,"note":"Value kept but may cause issues"} 
[2026-11-05 16:13:58] 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-05 16:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793875379000,"timestamp_ms":1793875379000,"timestamp_seconds":1793875379,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab4e0338"} 
[2026-11-05 16:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-05 16:13:58] 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-05 16:13:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":231677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":231677,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":231677,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232091904001,"66":14515,"164":206,"94":10240,"24":6,"16":39486808332959744,"45":881650025959049216},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-05 16:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232091904001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:13:58] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-05 16:13:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39486808332959744,"km_value":39486808332959.74,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":881650025959049216,"description":"Unknown IO ID 45"} 
[2026-11-05 16:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232091904001,"power":14515,"unknown_164":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":881650025959049216}} 
[2026-11-05 16:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":231677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63916,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:13:58] local.INFO: GPS data processed {"connection_id":231677,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:13:58] local.INFO: Acknowledgment sent {"connection_id":231677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:14:03] local.INFO: TCP Data received {"connection_id":231678,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:14:03] local.INFO: Processing buffer {"connection_id":231678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:14:03] local.INFO: IMEI packet received {"connection_id":231678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":231678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:14:05] local.INFO: TCP Data received {"connection_id":229823,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229823,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:14:05] local.INFO: Processing buffer {"connection_id":229823,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:14:05] local.INFO: IMEI packet received {"connection_id":229823,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 16:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":229823,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:14:08] local.INFO: TCP Data received {"connection_id":231678,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:14:08] local.INFO: Processing buffer {"connection_id":231678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:14:08] local.INFO: IMEI packet received {"connection_id":231678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":231678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:14:09] local.INFO: TCP Data received {"connection_id":231678,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab4d7e68012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab4d7e68012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:14:09] local.INFO: Processing buffer {"connection_id":231678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab4d7e68012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:14:09] local.INFO: Packet analysis {"connection_id":231678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab4d"} 
[2026-11-05 16:14:09] local.INFO: Extracted packet for processing {"connection_id":231678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab4d"} 
[2026-11-05 16:14:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232011264001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793875345000,"timestamp_ms":1793875345000,"timestamp_seconds":1793875345,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab4d7e68"} 
[2026-11-05 16:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-11-05 16:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:14:09] 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-05 16:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232011264001,"66":25299,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 16:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232011264001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:14:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 16:14:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232011264001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":231678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:14:09] local.INFO: GPS data processed {"connection_id":231678,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:14:09] local.INFO: Acknowledgment sent {"connection_id":231678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:14:11] local.INFO: TCP Data received {"connection_id":229823,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229823,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:14:11] local.INFO: Processing buffer {"connection_id":229823,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:14:11] local.INFO: IMEI packet received {"connection_id":229823,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 16:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":229823,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:14:13] local.INFO: TCP Data received {"connection_id":229823,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab4defb0012d4b86c0068ddcc8004400a72c..."} 
[2026-11-05 16:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab4defb0012d4b86c0068ddcc8004400a72c..."} 
[2026-11-05 16:14:13] local.INFO: Processing buffer {"connection_id":229823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab4defb0012d4b86c0068ddcc8004400a72c..."} 
[2026-11-05 16:14:13] local.INFO: Packet analysis {"connection_id":229823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab4d"} 
[2026-11-05 16:14:13] local.INFO: Extracted packet for processing {"connection_id":229823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab4d"} 
[2026-11-05 16:14:13] local.INFO: GPS Element Parsed {"raw_longitude":759924416,"raw_latitude":109960392,"longitude_deg":75.9924416,"latitude_deg":10.9960392,"altitude":68,"angle":167,"satellites":44,"speed":21,"hex_longitude":"2d4b86c0","hex_latitude":"068ddcc8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:14:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,127,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 16:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793875374000,"timestamp_ms":1793875374000,"timestamp_seconds":1793875374,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab4defb0"} 
[2026-11-05 16: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-05 16:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 16:14:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229823,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229823,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28256,"127":206,"19":48128,"24":21,"16":20804383495159808},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,19,24,16]} 
[2026-11-05 16:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 16:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 16:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 16:14:13] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-11-05 16:14:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 16:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:14:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28256,"unknown_127":206,"unknown_19":48128,"ignition":21,"odometer":null}} 
[2026-11-05 16:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":229823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63918,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:14:13] local.INFO: GPS data processed {"connection_id":229823,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:14:13] local.INFO: Acknowledgment sent {"connection_id":229823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:14:31] local.INFO: TCP Data received {"connection_id":230338,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230338,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:14:31] local.INFO: Processing buffer {"connection_id":230338,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:14:31] local.INFO: IMEI packet received {"connection_id":230338,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":230338,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:14:36] local.INFO: TCP Data received {"connection_id":230338,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230338,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:14:36] local.INFO: Processing buffer {"connection_id":230338,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:14:36] local.INFO: IMEI packet received {"connection_id":230338,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":230338,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:14:37] local.INFO: TCP Data received {"connection_id":230338,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab4eed98012d0c74400705a9a8001b004725..."} 
[2026-11-05 16:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab4eed98012d0c74400705a9a8001b004725..."} 
[2026-11-05 16:14:37] local.INFO: Processing buffer {"connection_id":230338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab4eed98012d0c74400705a9a8001b004725..."} 
[2026-11-05 16:14:37] local.INFO: Packet analysis {"connection_id":230338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab4e"} 
[2026-11-05 16:14:37] local.INFO: Extracted packet for processing {"connection_id":230338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab4e"} 
[2026-11-05 16:14:37] local.INFO: GPS Element Parsed {"raw_longitude":755790912,"raw_latitude":117811624,"longitude_deg":75.5790912,"latitude_deg":11.7811624,"altitude":27,"angle":71,"satellites":37,"speed":29,"hex_longitude":"2d0c7440","hex_latitude":"0705a9a8","is_valid_coordinates":true} 
[2026-11-05 16:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232111872001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39487594311974912,"note":"Value kept but may cause issues"} 
[2026-11-05 16:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896075618517999616,"note":"Value kept but may cause issues"} 
[2026-11-05 16:14: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-05 16:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793875439000,"timestamp_ms":1793875439000,"timestamp_seconds":1793875439,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab4eed98"} 
[2026-11-05 16:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-11-05 16:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":230338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":230338,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":230338,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232111872001,"66":14450,"164":206,"94":10240,"24":29,"16":39487594311974912,"45":896075618517999616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-05 16:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232111872001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:14:37] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-05 16:14:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39487594311974912,"km_value":39487594311974.914,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":896075618517999616,"description":"Unknown IO ID 45"} 
[2026-11-05 16:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232111872001,"power":14450,"unknown_164":206,"unknown_94":10240,"ignition":29,"odometer":null,"unknown_45":896075618517999616}} 
[2026-11-05 16:14:38] 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":63919,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:14:38] local.INFO: GPS data processed {"connection_id":230338,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:14:38] local.INFO: Acknowledgment sent {"connection_id":230338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:14:45] local.INFO: TCP Data received {"connection_id":229823,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab4ed6280100000000000000000000000000..."} 
[2026-11-05 16:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab4ed6280100000000000000000000000000..."} 
[2026-11-05 16:14:45] local.INFO: Processing buffer {"connection_id":229823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab4ed6280100000000000000000000000000..."} 
[2026-11-05 16:14:45] local.INFO: Packet analysis {"connection_id":229823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab4e"} 
[2026-11-05 16:14:45] local.INFO: Extracted packet for processing {"connection_id":229823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab4e"} 
[2026-11-05 16:14: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-05 16:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232095744001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5442248334106216448,"note":"Value kept but may cause issues"} 
[2026-11-05 16:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793875433000,"timestamp_ms":1793875433000,"timestamp_seconds":1793875433,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab4ed628"} 
[2026-11-05 16:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:14:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-05 16:14:45] 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-05 16:14:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229823,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229823,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":229823,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 16:14:45] local.INFO: GPS data processed {"connection_id":229823,"processed":0,"errors":0,"total":1} 
[2026-11-05 16:14:45] local.INFO: Acknowledgment sent {"connection_id":229823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:14:45] local.INFO: TCP Data received {"connection_id":231678,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab4d7e68012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab4d7e68012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:14:45] local.INFO: Processing buffer {"connection_id":231678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab4d7e68012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:14:45] local.INFO: Packet analysis {"connection_id":231678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab4d"} 
[2026-11-05 16:14:45] local.INFO: Extracted packet for processing {"connection_id":231678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab4d"} 
[2026-11-05 16:14:45] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232011264001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793875345000,"timestamp_ms":1793875345000,"timestamp_seconds":1793875345,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab4d7e68"} 
[2026-11-05 16:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:14: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-05 16:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-11-05 16:14:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:14:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":231678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":231678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":231678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232011264001,"66":25299,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 16:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232011264001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:14:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 16:14:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232011264001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":231678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:14:45] local.INFO: GPS data processed {"connection_id":231678,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:14:45] local.INFO: Acknowledgment sent {"connection_id":231678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:15:03] local.INFO: TCP Data received {"connection_id":231679,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:15:03] local.INFO: Processing buffer {"connection_id":231679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:15:03] local.INFO: IMEI packet received {"connection_id":231679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":231679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:15:08] local.INFO: TCP Data received {"connection_id":231679,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:15:08] local.INFO: Processing buffer {"connection_id":231679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:15:08] local.INFO: IMEI packet received {"connection_id":231679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":231679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:15:09] local.INFO: TCP Data received {"connection_id":230338,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab4fc470012d0caa000705d9000015014428..."} 
[2026-11-05 16:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab4fc470012d0caa000705d9000015014428..."} 
[2026-11-05 16:15:09] local.INFO: Processing buffer {"connection_id":230338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab4fc470012d0caa000705d9000015014428..."} 
[2026-11-05 16:15:09] local.INFO: Packet analysis {"connection_id":230338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab4f"} 
[2026-11-05 16:15:09] local.INFO: Extracted packet for processing {"connection_id":230338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab4f"} 
[2026-11-05 16:15:09] local.INFO: GPS Element Parsed {"raw_longitude":755804672,"raw_latitude":117823744,"longitude_deg":75.5804672,"latitude_deg":11.7823744,"altitude":21,"angle":324,"satellites":40,"speed":13,"hex_longitude":"2d0caa00","hex_latitude":"0705d900","is_valid_coordinates":true} 
[2026-11-05 16:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232123904001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39488998766280704,"note":"Value kept but may cause issues"} 
[2026-11-05 16:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915778866890364928,"note":"Value kept but may cause issues"} 
[2026-11-05 16:15:09] 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-05 16:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793875494000,"timestamp_ms":1793875494000,"timestamp_seconds":1793875494,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab4fc470"} 
[2026-11-05 16:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-11-05 16:15:09] 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-05 16:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230338,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230338,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232123904001,"66":14537,"220":206,"94":10240,"24":13,"16":39488998766280704,"45":915778866890364928},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-11-05 16:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232123904001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:15:09] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-11-05 16:15:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39488998766280704,"km_value":39488998766280.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":915778866890364928,"description":"Unknown IO ID 45"} 
[2026-11-05 16:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232123904001,"power":14537,"unknown_220":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":915778866890364928}} 
[2026-11-05 16:15:09] local.INFO: TCP Data received {"connection_id":231679,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab4d7e68012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab4d7e68012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:15:09] local.INFO: Processing buffer {"connection_id":231679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab4d7e68012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:15:09] local.INFO: Packet analysis {"connection_id":231679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab4d"} 
[2026-11-05 16:15:09] local.INFO: Extracted packet for processing {"connection_id":231679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab4d"} 
[2026-11-05 16:15:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232011264001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793875345000,"timestamp_ms":1793875345000,"timestamp_seconds":1793875345,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab4d7e68"} 
[2026-11-05 16:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-11-05 16:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:15:09] 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-05 16:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232011264001,"66":25299,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 16:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232011264001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:15:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 16:15:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232011264001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:15:09] 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":63921,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:15:09] local.INFO: GPS data processed {"connection_id":230338,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:15:09] local.INFO: Acknowledgment sent {"connection_id":230338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":231679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:15:09] local.INFO: GPS data processed {"connection_id":231679,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:15:09] local.INFO: Acknowledgment sent {"connection_id":231679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:15:37] local.INFO: TCP Data received {"connection_id":230339,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230339,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:15:37] local.INFO: Processing buffer {"connection_id":230339,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:15:37] local.INFO: IMEI packet received {"connection_id":230339,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":230339,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:15:37] local.INFO: TCP Data received {"connection_id":230339,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230339,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:15:37] local.INFO: Processing buffer {"connection_id":230339,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:15:37] local.INFO: IMEI packet received {"connection_id":230339,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":230339,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:15:38] local.INFO: TCP Data received {"connection_id":230339,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230339,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:15:38] local.INFO: Processing buffer {"connection_id":230339,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:15:38] local.INFO: IMEI packet received {"connection_id":230339,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":230339,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:15:39] local.INFO: TCP Data received {"connection_id":230339,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab4fd410012d0ca8000705dc300014015227..."} 
[2026-11-05 16:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab4fd410012d0ca8000705dc300014015227..."} 
[2026-11-05 16:15:39] local.INFO: Processing buffer {"connection_id":230339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab4fd410012d0ca8000705dc300014015227..."} 
[2026-11-05 16:15:39] local.INFO: Packet analysis {"connection_id":230339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab4f"} 
[2026-11-05 16:15:39] local.INFO: Extracted packet for processing {"connection_id":230339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab4f"} 
[2026-11-05 16:15:39] local.INFO: GPS Element Parsed {"raw_longitude":755804160,"raw_latitude":117824560,"longitude_deg":75.580416,"latitude_deg":11.782456,"altitude":20,"angle":338,"satellites":39,"speed":5,"hex_longitude":"2d0ca800","hex_latitude":"0705dc30","is_valid_coordinates":true} 
[2026-11-05 16:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232126464001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39489046010920960,"note":"Value kept but may cause issues"} 
[2026-11-05 16:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912541904658825216,"note":"Value kept but may cause issues"} 
[2026-11-05 16:15:39] 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-05 16:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793875498000,"timestamp_ms":1793875498000,"timestamp_seconds":1793875498,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab4fd410"} 
[2026-11-05 16:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:15:39] 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-05 16:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-05 16:15:39] 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-05 16:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":230339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":230339,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":230339,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232126464001,"66":14450,"220":206,"94":10240,"24":5,"16":39489046010920960,"45":912541904658825216},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-11-05 16:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232126464001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:15:39] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-11-05 16:15:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39489046010920960,"km_value":39489046010920.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":912541904658825216,"description":"Unknown IO ID 45"} 
[2026-11-05 16:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232126464001,"power":14450,"unknown_220":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":912541904658825216}} 
[2026-11-05 16:15:39] 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":63923,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:15:39] local.INFO: GPS data processed {"connection_id":230339,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:15:39] local.INFO: Acknowledgment sent {"connection_id":230339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:15:40] local.INFO: TCP Data received {"connection_id":231679,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab4d7e68012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab4d7e68012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:15:40] local.INFO: Processing buffer {"connection_id":231679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab4d7e68012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:15:40] local.INFO: Packet analysis {"connection_id":231679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab4d"} 
[2026-11-05 16:15:40] local.INFO: Extracted packet for processing {"connection_id":231679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab4d"} 
[2026-11-05 16:15:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232011264001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793875345000,"timestamp_ms":1793875345000,"timestamp_seconds":1793875345,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab4d7e68"} 
[2026-11-05 16: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-05 16:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-11-05 16:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232011264001,"66":25299,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 16:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232011264001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:15:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 16:15:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232011264001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":231679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:15:40] local.INFO: GPS data processed {"connection_id":231679,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:15:40] local.INFO: Acknowledgment sent {"connection_id":231679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:15:42] local.INFO: TCP Data received {"connection_id":230339,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab4feb80012d0ca3c00705e2700013014626..."} 
[2026-11-05 16:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab4feb80012d0ca3c00705e2700013014626..."} 
[2026-11-05 16:15:42] local.INFO: Processing buffer {"connection_id":230339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab4feb80012d0ca3c00705e2700013014626..."} 
[2026-11-05 16:15:42] local.INFO: Packet analysis {"connection_id":230339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab4f"} 
[2026-11-05 16:15:42] local.INFO: Extracted packet for processing {"connection_id":230339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab4f"} 
[2026-11-05 16:15:42] local.INFO: GPS Element Parsed {"raw_longitude":755803072,"raw_latitude":117826160,"longitude_deg":75.5803072,"latitude_deg":11.782616,"altitude":19,"angle":326,"satellites":38,"speed":13,"hex_longitude":"2d0ca3c0","hex_latitude":"0705e270","is_valid_coordinates":true} 
[2026-11-05 16:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232127488001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39489140500201472,"note":"Value kept but may cause issues"} 
[2026-11-05 16:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":911978954705612800,"note":"Value kept but may cause issues"} 
[2026-11-05 16:15:42] 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-05 16:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793875504000,"timestamp_ms":1793875504000,"timestamp_seconds":1793875504,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab4feb80"} 
[2026-11-05 16:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-05 16:15:42] 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-05 16:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230339,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230339,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232127488001,"66":14559,"220":206,"94":10240,"24":13,"16":39489140500201472,"45":911978954705612800},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-11-05 16:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232127488001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:15:42] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-11-05 16:15:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39489140500201472,"km_value":39489140500201.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":911978954705612800,"description":"Unknown IO ID 45"} 
[2026-11-05 16:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232127488001,"power":14559,"unknown_220":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":911978954705612800}} 
[2026-11-05 16:15:42] 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":63925,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:15:42] local.INFO: GPS data processed {"connection_id":230339,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:15:42] local.INFO: Acknowledgment sent {"connection_id":230339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:15:52] local.INFO: TCP Data received {"connection_id":229824,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229824,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:15:52] local.INFO: Processing buffer {"connection_id":229824,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:15:52] local.INFO: IMEI packet received {"connection_id":229824,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 16:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":229824,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:15:58] local.INFO: TCP Data received {"connection_id":229824,"ip":"117.224.89.99","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-05 16:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229824,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-05 16:15:58] local.INFO: Processing buffer {"connection_id":229824,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-05 16:15:58] local.INFO: IMEI packet received {"connection_id":229824,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 16:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":229824,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:16:03] local.INFO: TCP Data received {"connection_id":230340,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:16:03] local.INFO: Processing buffer {"connection_id":230340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:16:03] local.INFO: IMEI packet received {"connection_id":230340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":230340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:16:05] local.INFO: TCP Data received {"connection_id":230341,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230341,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:16:05] local.INFO: Processing buffer {"connection_id":230341,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:16:05] local.INFO: IMEI packet received {"connection_id":230341,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 16:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":230341,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:16:08] local.INFO: TCP Data received {"connection_id":230340,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:16:08] local.INFO: Processing buffer {"connection_id":230340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:16:08] local.INFO: IMEI packet received {"connection_id":230340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":230340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:16:09] local.INFO: TCP Data received {"connection_id":230340,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab4d7e68012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab4d7e68012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:16:09] local.INFO: Processing buffer {"connection_id":230340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab4d7e68012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:16:09] local.INFO: Packet analysis {"connection_id":230340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab4d"} 
[2026-11-05 16:16:09] local.INFO: Extracted packet for processing {"connection_id":230340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab4d"} 
[2026-11-05 16:16:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232011264001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793875345000,"timestamp_ms":1793875345000,"timestamp_seconds":1793875345,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab4d7e68"} 
[2026-11-05 16:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-11-05 16:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232011264001,"66":25299,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 16:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232011264001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:16:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 16:16:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232011264001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":230340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:16:09] local.INFO: GPS data processed {"connection_id":230340,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:16:09] local.INFO: Acknowledgment sent {"connection_id":230340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:16:13] local.INFO: TCP Data received {"connection_id":230339,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab5031d0012d0c98800705f2380010015324..."} 
[2026-11-05 16:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab5031d0012d0c98800705f2380010015324..."} 
[2026-11-05 16:16:13] local.INFO: Processing buffer {"connection_id":230339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab5031d0012d0c98800705f2380010015324..."} 
[2026-11-05 16:16:13] local.INFO: Packet analysis {"connection_id":230339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab50"} 
[2026-11-05 16:16:13] local.INFO: Extracted packet for processing {"connection_id":230339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab50"} 
[2026-11-05 16:16:13] local.INFO: GPS Element Parsed {"raw_longitude":755800192,"raw_latitude":117830200,"longitude_deg":75.5800192,"latitude_deg":11.78302,"altitude":16,"angle":339,"satellites":36,"speed":7,"hex_longitude":"2d0c9880","hex_latitude":"0705f238","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232129024001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39489376723402752,"note":"Value kept but may cause issues"} 
[2026-11-05 16:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910782686055002112,"note":"Value kept but may cause issues"} 
[2026-11-05 16:16:13] 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-05 16:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793875522000,"timestamp_ms":1793875522000,"timestamp_seconds":1793875522,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab5031d0"} 
[2026-11-05 16: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-05 16:16:13] 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-05 16: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-05 16:16:13] 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-05 16: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-05 16: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-05 16:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230339,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230339,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232129024001,"66":14396,"220":206,"94":10240,"24":7,"16":39489376723402752,"45":910782686055002112},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-11-05 16:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232129024001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:16:13] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-11-05 16:16:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39489376723402752,"km_value":39489376723402.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":910782686055002112,"description":"Unknown IO ID 45"} 
[2026-11-05 16:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232129024001,"power":14396,"unknown_220":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":910782686055002112}} 
[2026-11-05 16:16:13] 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":63927,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:16:13] local.INFO: GPS data processed {"connection_id":230339,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:16:13] local.INFO: Acknowledgment sent {"connection_id":230339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:16:28] local.INFO: TCP Data received {"connection_id":233581,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233581,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:16:28] local.INFO: Processing buffer {"connection_id":233581,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:16:28] local.INFO: IMEI packet received {"connection_id":233581,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":233581,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:16:31] local.INFO: TCP Data received {"connection_id":233581,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233581,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:16:31] local.INFO: Processing buffer {"connection_id":233581,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:16:31] local.INFO: IMEI packet received {"connection_id":233581,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":233581,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:16:37] local.INFO: TCP Data received {"connection_id":233581,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233581,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:16:37] local.INFO: Processing buffer {"connection_id":233581,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:16:37] local.INFO: IMEI packet received {"connection_id":233581,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":233581,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:16:37] local.INFO: TCP Data received {"connection_id":233581,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab504940012d0c94800705f9400010014724..."} 
[2026-11-05 16:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab504940012d0c94800705f9400010014724..."} 
[2026-11-05 16:16:37] local.INFO: Processing buffer {"connection_id":233581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab504940012d0c94800705f9400010014724..."} 
[2026-11-05 16:16:37] local.INFO: Packet analysis {"connection_id":233581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab50"} 
[2026-11-05 16:16:37] local.INFO: Extracted packet for processing {"connection_id":233581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab50"} 
[2026-11-05 16:16:37] local.INFO: GPS Element Parsed {"raw_longitude":755799168,"raw_latitude":117832000,"longitude_deg":75.5799168,"latitude_deg":11.7832,"altitude":16,"angle":327,"satellites":36,"speed":16,"hex_longitude":"2d0c9480","hex_latitude":"0705f940","is_valid_coordinates":true} 
[2026-11-05 16:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232133632001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39489479802617856,"note":"Value kept but may cause issues"} 
[2026-11-05 16:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":907616092568041472,"note":"Value kept but may cause issues"} 
[2026-11-05 16:16:37] 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-05 16:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793875528000,"timestamp_ms":1793875528000,"timestamp_seconds":1793875528,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab504940"} 
[2026-11-05 16:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-05 16:16: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-05 16:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":233581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":233581,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":233581,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232133632001,"66":14537,"220":206,"94":10240,"24":16,"16":39489479802617856,"45":907616092568041472},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-11-05 16:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232133632001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:16:37] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-11-05 16:16:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39489479802617856,"km_value":39489479802617.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":907616092568041472,"description":"Unknown IO ID 45"} 
[2026-11-05 16:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232133632001,"power":14537,"unknown_220":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":907616092568041472}} 
[2026-11-05 16:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":233581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63928,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:16:38] local.INFO: GPS data processed {"connection_id":233581,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:16:38] local.INFO: Acknowledgment sent {"connection_id":233581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:16:40] local.INFO: TCP Data received {"connection_id":230340,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab4d7e68012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab4d7e68012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:16:40] local.INFO: Processing buffer {"connection_id":230340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab4d7e68012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:16:40] local.INFO: Packet analysis {"connection_id":230340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab4d"} 
[2026-11-05 16:16:40] local.INFO: Extracted packet for processing {"connection_id":230340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab4d"} 
[2026-11-05 16:16:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232011264001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793875345000,"timestamp_ms":1793875345000,"timestamp_seconds":1793875345,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab4d7e68"} 
[2026-11-05 16:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-11-05 16:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:16: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-05 16:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232011264001,"66":25299,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 16:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232011264001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:16:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 16:16:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232011264001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":230340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:16:40] local.INFO: GPS data processed {"connection_id":230340,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:16:40] local.INFO: Acknowledgment sent {"connection_id":230340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:17:08] local.INFO: TCP Data received {"connection_id":233582,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:17:08] local.INFO: Processing buffer {"connection_id":233582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:17:08] local.INFO: IMEI packet received {"connection_id":233582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":233582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:17:12] local.INFO: TCP Data received {"connection_id":233581,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab506498012d0c8fc00705fe980011013c24..."} 
[2026-11-05 16:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab506498012d0c8fc00705fe980011013c24..."} 
[2026-11-05 16:17:12] local.INFO: Processing buffer {"connection_id":233581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab506498012d0c8fc00705fe980011013c24..."} 
[2026-11-05 16:17:12] local.INFO: Packet analysis {"connection_id":233581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab50"} 
[2026-11-05 16:17:12] local.INFO: Extracted packet for processing {"connection_id":233581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab50"} 
[2026-11-05 16:17:12] local.INFO: GPS Element Parsed {"raw_longitude":755797952,"raw_latitude":117833368,"longitude_deg":75.5797952,"latitude_deg":11.7833368,"altitude":17,"angle":316,"satellites":36,"speed":10,"hex_longitude":"2d0c8fc0","hex_latitude":"0705fe98","is_valid_coordinates":true} 
[2026-11-05 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-05 16:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232135168001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39489565701963776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906490192661659648,"note":"Value kept but may cause issues"} 
[2026-11-05 16:17:12] 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-05 16:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793875535000,"timestamp_ms":1793875535000,"timestamp_seconds":1793875535,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab506498"} 
[2026-11-05 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-05 16:17:12] 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-05 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-05 16:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 16:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":233581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":233581,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":233581,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232135168001,"66":14439,"220":206,"94":10240,"24":10,"16":39489565701963776,"45":906490192661659648},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-11-05 16:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232135168001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:17:12] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-11-05 16:17:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39489565701963776,"km_value":39489565701963.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":906490192661659648,"description":"Unknown IO ID 45"} 
[2026-11-05 16:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232135168001,"power":14439,"unknown_220":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":906490192661659648}} 
[2026-11-05 16:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":233581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63930,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:17:12] local.INFO: GPS data processed {"connection_id":233581,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:17:12] local.INFO: Acknowledgment sent {"connection_id":233581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:17:13] local.INFO: TCP Data received {"connection_id":233582,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:17:13] local.INFO: Processing buffer {"connection_id":233582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:17:13] local.INFO: IMEI packet received {"connection_id":233582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":233582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:17:14] local.INFO: TCP Data received {"connection_id":233582,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab4d7e68012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab4d7e68012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:17:14] local.INFO: Processing buffer {"connection_id":233582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab4d7e68012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:17:14] local.INFO: Packet analysis {"connection_id":233582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab4d"} 
[2026-11-05 16:17:14] local.INFO: Extracted packet for processing {"connection_id":233582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab4d"} 
[2026-11-05 16:17:14] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232011264001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793875345000,"timestamp_ms":1793875345000,"timestamp_seconds":1793875345,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab4d7e68"} 
[2026-11-05 16: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-05 16:17: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-05 16: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-11-05 16:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232011264001,"66":25299,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 16:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232011264001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:17:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 16:17:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232011264001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":233582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:17:14] local.INFO: GPS data processed {"connection_id":233582,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:17:14] local.INFO: Acknowledgment sent {"connection_id":233582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:17:18] local.INFO: TCP Data received {"connection_id":233582,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab4d7e68012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab4d7e68012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:17:18] local.INFO: Processing buffer {"connection_id":233582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab4d7e68012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:17:18] local.INFO: Packet analysis {"connection_id":233582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab4d"} 
[2026-11-05 16:17:18] local.INFO: Extracted packet for processing {"connection_id":233582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab4d"} 
[2026-11-05 16:17:18] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232011264001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793875345000,"timestamp_ms":1793875345000,"timestamp_seconds":1793875345,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab4d7e68"} 
[2026-11-05 16:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:17: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-05 16:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-11-05 16:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":233582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":233582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":233582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232011264001,"66":25299,"250":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 16:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232011264001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:17:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 16:17:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232011264001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":233582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:17:18] local.INFO: GPS data processed {"connection_id":233582,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:17:18] local.INFO: Acknowledgment sent {"connection_id":233582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:18:03] local.INFO: TCP Data received {"connection_id":231681,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:18:03] local.INFO: Processing buffer {"connection_id":231681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:18:03] local.INFO: IMEI packet received {"connection_id":231681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":231681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:18:04] local.INFO: TCP Data received {"connection_id":231681,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:18:04] local.INFO: Processing buffer {"connection_id":231681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:18:04] local.INFO: IMEI packet received {"connection_id":231681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":231681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:18:06] local.INFO: TCP Data received {"connection_id":229825,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229825,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:18:06] local.INFO: Processing buffer {"connection_id":229825,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:18:06] local.INFO: IMEI packet received {"connection_id":229825,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":229825,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:18:08] local.INFO: TCP Data received {"connection_id":231681,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:18:08] local.INFO: Processing buffer {"connection_id":231681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:18:08] local.INFO: IMEI packet received {"connection_id":231681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":231681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:18:09] local.INFO: TCP Data received {"connection_id":231681,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab521630012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab521630012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:18:09] local.INFO: Processing buffer {"connection_id":231681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab521630012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:18:09] local.INFO: Packet analysis {"connection_id":231681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab52"} 
[2026-11-05 16:18:09] local.INFO: Extracted packet for processing {"connection_id":231681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab52"} 
[2026-11-05 16:18:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:18: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-05 16:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232088320001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793875646000,"timestamp_ms":1793875646000,"timestamp_seconds":1793875646,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab521630"} 
[2026-11-05 16:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 16:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16:18: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-05 16:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:18:09] local.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-05 16:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232088320001,"66":25299,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 16:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232088320001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:18:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 16:18:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232088320001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":231681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:18:09] local.INFO: GPS data processed {"connection_id":231681,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:18:09] local.INFO: Acknowledgment sent {"connection_id":231681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:18:11] local.INFO: TCP Data received {"connection_id":229825,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229825,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:18:11] local.INFO: Processing buffer {"connection_id":229825,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:18:11] local.INFO: IMEI packet received {"connection_id":229825,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":229825,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:18:12] local.INFO: TCP Data received {"connection_id":229825,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab51e750012d0c3a00070645300010012726..."} 
[2026-11-05 16:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab51e750012d0c3a00070645300010012726..."} 
[2026-11-05 16:18:12] local.INFO: Processing buffer {"connection_id":229825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab51e750012d0c3a00070645300010012726..."} 
[2026-11-05 16:18:12] local.INFO: Packet analysis {"connection_id":229825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab51"} 
[2026-11-05 16:18:12] local.INFO: Extracted packet for processing {"connection_id":229825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab51"} 
[2026-11-05 16:18:12] local.INFO: GPS Element Parsed {"raw_longitude":755776000,"raw_latitude":117851440,"longitude_deg":75.5776,"latitude_deg":11.785144,"altitude":16,"angle":295,"satellites":38,"speed":3,"hex_longitude":"2d0c3a00","hex_latitude":"07064530","is_valid_coordinates":true} 
[2026-11-05 16:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232157184001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39490974451236864,"note":"Value kept but may cause issues"} 
[2026-11-05 16:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885731413133879296,"note":"Value kept but may cause issues"} 
[2026-11-05 16:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793875634000,"timestamp_ms":1793875634000,"timestamp_seconds":1793875634,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab51e750"} 
[2026-11-05 16:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:18:12] 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-05 16:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-11-05 16:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229825,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229825,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232157184001,"66":14580,"164":206,"94":10240,"24":3,"16":39490974451236864,"45":885731413133879296},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-05 16:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232157184001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:18:12] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-05 16:18:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39490974451236864,"km_value":39490974451236.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":885731413133879296,"description":"Unknown IO ID 45"} 
[2026-11-05 16:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232157184001,"power":14580,"unknown_164":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":885731413133879296}} 
[2026-11-05 16:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":229825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63934,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:18:12] local.INFO: GPS data processed {"connection_id":229825,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:18:12] local.INFO: Acknowledgment sent {"connection_id":229825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:18:37] local.INFO: TCP Data received {"connection_id":233583,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233583,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:18:37] local.INFO: Processing buffer {"connection_id":233583,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:18:37] local.INFO: IMEI packet received {"connection_id":233583,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":233583,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:18:37] local.INFO: TCP Data received {"connection_id":233583,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233583,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:18:37] local.INFO: Processing buffer {"connection_id":233583,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:18:37] local.INFO: IMEI packet received {"connection_id":233583,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":233583,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:18:40] local.INFO: TCP Data received {"connection_id":231681,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab521630012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab521630012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:18:40] local.INFO: Processing buffer {"connection_id":231681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab521630012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:18:40] local.INFO: Packet analysis {"connection_id":231681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab52"} 
[2026-11-05 16:18:40] local.INFO: Extracted packet for processing {"connection_id":231681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab52"} 
[2026-11-05 16:18:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232088320001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793875646000,"timestamp_ms":1793875646000,"timestamp_seconds":1793875646,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab521630"} 
[2026-11-05 16:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 16:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232088320001,"66":25299,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 16:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232088320001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:18:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 16:18:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232088320001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":231681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:18:40] local.INFO: GPS data processed {"connection_id":231681,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:18:40] local.INFO: Acknowledgment sent {"connection_id":231681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:18:49] local.INFO: TCP Data received {"connection_id":233583,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233583,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:18:49] local.INFO: Processing buffer {"connection_id":233583,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:18:49] local.INFO: IMEI packet received {"connection_id":233583,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":233583,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:18:50] local.INFO: TCP Data received {"connection_id":233583,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab523958012d0c3a0007064608000f012725..."} 
[2026-11-05 16:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab523958012d0c3a0007064608000f012725..."} 
[2026-11-05 16:18:50] local.INFO: Processing buffer {"connection_id":233583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab523958012d0c3a0007064608000f012725..."} 
[2026-11-05 16:18:50] local.INFO: Packet analysis {"connection_id":233583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab52"} 
[2026-11-05 16:18:50] local.INFO: Extracted packet for processing {"connection_id":233583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab52"} 
[2026-11-05 16:18:50] local.INFO: GPS Element Parsed {"raw_longitude":755776000,"raw_latitude":117851656,"longitude_deg":75.5776,"latitude_deg":11.7851656,"altitude":15,"angle":295,"satellites":37,"speed":0,"hex_longitude":"2d0c3a00","hex_latitude":"07064608","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232162304001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39491008810975232,"note":"Value kept but may cause issues"} 
[2026-11-05 16:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881016707274321920,"note":"Value kept but may cause issues"} 
[2026-11-05 16:18:50] 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-05 16:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793875655000,"timestamp_ms":1793875655000,"timestamp_seconds":1793875655,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab523958"} 
[2026-11-05 16: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-05 16:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-11-05 16:18: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-05 16: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-05 16: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-05 16:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":233583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":233583,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":233583,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232162304001,"66":14450,"164":206,"94":10240,"24":0,"16":39491008810975232,"45":881016707274321920},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-05 16:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232162304001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:18:50] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-05 16:18:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39491008810975232,"km_value":39491008810975.234,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":881016707274321920,"description":"Unknown IO ID 45"} 
[2026-11-05 16:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232162304001,"power":14450,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":881016707274321920}} 
[2026-11-05 16:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":233583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63936,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:18:50] local.INFO: GPS data processed {"connection_id":233583,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:18:50] local.INFO: Acknowledgment sent {"connection_id":233583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:18:51] local.INFO: TCP Data received {"connection_id":233583,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab528b60012d0c3a00070645f8000f012725..."} 
[2026-11-05 16:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab528b60012d0c3a00070645f8000f012725..."} 
[2026-11-05 16:18:51] local.INFO: Processing buffer {"connection_id":233583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab528b60012d0c3a00070645f8000f012725..."} 
[2026-11-05 16:18:51] local.INFO: Packet analysis {"connection_id":233583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab52"} 
[2026-11-05 16:18:51] local.INFO: Extracted packet for processing {"connection_id":233583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab52"} 
[2026-11-05 16:18:51] local.INFO: GPS Element Parsed {"raw_longitude":755776000,"raw_latitude":117851640,"longitude_deg":75.5776,"latitude_deg":11.785164,"altitude":15,"angle":295,"satellites":37,"speed":0,"hex_longitude":"2d0c3a00","hex_latitude":"070645f8","is_valid_coordinates":true} 
[2026-11-05 16:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232167680001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39491008810975232,"note":"Value kept but may cause issues"} 
[2026-11-05 16:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881016707274377216,"note":"Value kept but may cause issues"} 
[2026-11-05 16:18:51] 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-05 16:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793875676000,"timestamp_ms":1793875676000,"timestamp_seconds":1793875676,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab528b60"} 
[2026-11-05 16:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:18: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-05 16:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-05 16:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":233583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":233583,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":233583,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232167680001,"66":14559,"164":206,"94":10240,"24":0,"16":39491008810975232,"45":881016707274377216},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-05 16:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232167680001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:18:51] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-05 16:18:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39491008810975232,"km_value":39491008810975.234,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":881016707274377216,"description":"Unknown IO ID 45"} 
[2026-11-05 16:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232167680001,"power":14559,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":881016707274377216}} 
[2026-11-05 16:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":233583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63937,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:18:51] local.INFO: GPS data processed {"connection_id":233583,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:18:51] local.INFO: Acknowledgment sent {"connection_id":233583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:19:03] local.INFO: TCP Data received {"connection_id":229826,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:19:03] local.INFO: Processing buffer {"connection_id":229826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:19:03] local.INFO: IMEI packet received {"connection_id":229826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":229826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:19:08] local.INFO: TCP Data received {"connection_id":229826,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:19:08] local.INFO: Processing buffer {"connection_id":229826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:19:08] local.INFO: IMEI packet received {"connection_id":229826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":229826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:19:09] local.INFO: TCP Data received {"connection_id":229826,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab521630012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab521630012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:19:09] local.INFO: Processing buffer {"connection_id":229826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab521630012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:19:09] local.INFO: Packet analysis {"connection_id":229826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab52"} 
[2026-11-05 16:19:09] local.INFO: Extracted packet for processing {"connection_id":229826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab52"} 
[2026-11-05 16:19:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232088320001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793875646000,"timestamp_ms":1793875646000,"timestamp_seconds":1793875646,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab521630"} 
[2026-11-05 16:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 16:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:19:09] 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-05 16:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232088320001,"66":25299,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 16:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232088320001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:19:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 16:19:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232088320001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":229826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:19:09] local.INFO: GPS data processed {"connection_id":229826,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:19:09] local.INFO: Acknowledgment sent {"connection_id":229826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:19:31] local.INFO: TCP Data received {"connection_id":231683,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231683,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:19:31] local.INFO: Processing buffer {"connection_id":231683,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:19:31] local.INFO: IMEI packet received {"connection_id":231683,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":231683,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:19:36] local.INFO: TCP Data received {"connection_id":231683,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231683,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:19:36] local.INFO: Processing buffer {"connection_id":231683,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:19:36] local.INFO: IMEI packet received {"connection_id":231683,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":231683,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:19:37] local.INFO: TCP Data received {"connection_id":231683,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab52c9e0012d0c3c4007064528000e006f25..."} 
[2026-11-05 16:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab52c9e0012d0c3c4007064528000e006f25..."} 
[2026-11-05 16:19:37] local.INFO: Processing buffer {"connection_id":231683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab52c9e0012d0c3c4007064528000e006f25..."} 
[2026-11-05 16:19:37] local.INFO: Packet analysis {"connection_id":231683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab52"} 
[2026-11-05 16:19:37] local.INFO: Extracted packet for processing {"connection_id":231683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab52"} 
[2026-11-05 16:19:37] local.INFO: GPS Element Parsed {"raw_longitude":755776576,"raw_latitude":117851432,"longitude_deg":75.5776576,"latitude_deg":11.7851432,"altitude":14,"angle":111,"satellites":37,"speed":7,"hex_longitude":"2d0c3c40","hex_latitude":"07064528","is_valid_coordinates":true} 
[2026-11-05 16:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232173056001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39491038875746304,"note":"Value kept but may cause issues"} 
[2026-11-05 16:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881016707274373120,"note":"Value kept but may cause issues"} 
[2026-11-05 16:19:37] 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-05 16:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793875692000,"timestamp_ms":1793875692000,"timestamp_seconds":1793875692,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab52c9e0"} 
[2026-11-05 16:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-05 16:19:37] 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-05 16:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":231683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":231683,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":231683,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232173056001,"66":14352,"220":206,"94":10240,"24":7,"16":39491038875746304,"45":881016707274373120},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-11-05 16:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232173056001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:19:37] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-11-05 16:19:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39491038875746304,"km_value":39491038875746.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":881016707274373120,"description":"Unknown IO ID 45"} 
[2026-11-05 16:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232173056001,"power":14352,"unknown_220":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":881016707274373120}} 
[2026-11-05 16:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":231683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63939,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:19:37] local.INFO: GPS data processed {"connection_id":231683,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:19:37] local.INFO: Acknowledgment sent {"connection_id":231683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:19:40] local.INFO: TCP Data received {"connection_id":229826,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab521630012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab521630012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:19:40] local.INFO: Processing buffer {"connection_id":229826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab521630012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:19:40] local.INFO: Packet analysis {"connection_id":229826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab52"} 
[2026-11-05 16:19:40] local.INFO: Extracted packet for processing {"connection_id":229826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab52"} 
[2026-11-05 16:19:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232088320001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793875646000,"timestamp_ms":1793875646000,"timestamp_seconds":1793875646,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab521630"} 
[2026-11-05 16:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 16:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232088320001,"66":25299,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 16:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232088320001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:19:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 16:19:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232088320001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":229826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:19:40] local.INFO: GPS data processed {"connection_id":229826,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:19:40] local.INFO: Acknowledgment sent {"connection_id":229826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:20:08] local.INFO: TCP Data received {"connection_id":231683,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab5419d0012d0c91400705fdf80019008826..."} 
[2026-11-05 16:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab5419d0012d0c91400705fdf80019008826..."} 
[2026-11-05 16:20:08] local.INFO: Processing buffer {"connection_id":231683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab5419d0012d0c91400705fdf80019008826..."} 
[2026-11-05 16:20:08] local.INFO: Packet analysis {"connection_id":231683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab54"} 
[2026-11-05 16:20:08] local.INFO: Extracted packet for processing {"connection_id":231683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab54"} 
[2026-11-05 16:20:08] local.INFO: GPS Element Parsed {"raw_longitude":755798336,"raw_latitude":117833208,"longitude_deg":75.5798336,"latitude_deg":11.7833208,"altitude":25,"angle":136,"satellites":38,"speed":8,"hex_longitude":"2d0c9140","hex_latitude":"0705fdf8","is_valid_coordinates":true} 
[2026-11-05 16:20: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-05 16:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232194048001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39492434740117504,"note":"Value kept but may cause issues"} 
[2026-11-05 16:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":901212536849383424,"note":"Value kept but may cause issues"} 
[2026-11-05 16:20:08] 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-05 16:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793875778000,"timestamp_ms":1793875778000,"timestamp_seconds":1793875778,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab5419d0"} 
[2026-11-05 16:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-05 16:20:08] 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-05 16:20: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-05 16:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":231683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":231683,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":231683,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232194048001,"66":14548,"220":206,"94":10240,"24":8,"16":39492434740117504,"45":901212536849383424},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-11-05 16:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232194048001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:20:08] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-11-05 16:20:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39492434740117504,"km_value":39492434740117.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":901212536849383424,"description":"Unknown IO ID 45"} 
[2026-11-05 16:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232194048001,"power":14548,"unknown_220":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":901212536849383424}} 
[2026-11-05 16:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":231683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63941,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:20:09] local.INFO: GPS data processed {"connection_id":231683,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:20:09] local.INFO: Acknowledgment sent {"connection_id":231683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:20:13] local.INFO: TCP Data received {"connection_id":230344,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:20:13] local.INFO: Processing buffer {"connection_id":230344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:20:13] local.INFO: IMEI packet received {"connection_id":230344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":230344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:20:18] local.INFO: TCP Data received {"connection_id":230344,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:20:18] local.INFO: Processing buffer {"connection_id":230344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:20:18] local.INFO: IMEI packet received {"connection_id":230344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":230344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:20:19] local.INFO: TCP Data received {"connection_id":230344,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab521630012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab521630012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:20:19] local.INFO: Processing buffer {"connection_id":230344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab521630012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:20:19] local.INFO: Packet analysis {"connection_id":230344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab52"} 
[2026-11-05 16:20:19] local.INFO: Extracted packet for processing {"connection_id":230344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab52"} 
[2026-11-05 16:20:19] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232088320001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793875646000,"timestamp_ms":1793875646000,"timestamp_seconds":1793875646,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab521630"} 
[2026-11-05 16:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:20: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-05 16:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 16:20:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:20:19] 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-05 16:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232088320001,"66":25299,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 16:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232088320001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:20:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 16:20:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232088320001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:20:19] 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":63942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:20:19] local.INFO: GPS data processed {"connection_id":230344,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:20:19] local.INFO: Acknowledgment sent {"connection_id":230344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:20:24] local.INFO: TCP Data received {"connection_id":230344,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab521630012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab521630012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:20:24] local.INFO: Processing buffer {"connection_id":230344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab521630012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:20:24] local.INFO: Packet analysis {"connection_id":230344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab52"} 
[2026-11-05 16:20:24] local.INFO: Extracted packet for processing {"connection_id":230344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab52"} 
[2026-11-05 16:20:24] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232088320001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793875646000,"timestamp_ms":1793875646000,"timestamp_seconds":1793875646,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab521630"} 
[2026-11-05 16: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-05 16:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 16:20:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16: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-05 16: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-05 16:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":230344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":230344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":230344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232088320001,"66":25299,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 16:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232088320001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:20:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 16:20:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232088320001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:20:24] 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":63943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:20:24] local.INFO: GPS data processed {"connection_id":230344,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:20:24] local.INFO: Acknowledgment sent {"connection_id":230344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:20:31] local.INFO: TCP Data received {"connection_id":229827,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229827,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:20:31] local.INFO: Processing buffer {"connection_id":229827,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:20:31] local.INFO: IMEI packet received {"connection_id":229827,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":229827,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:20:35] local.INFO: TCP Data received {"connection_id":229827,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229827,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:20:35] local.INFO: Processing buffer {"connection_id":229827,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:20:35] local.INFO: IMEI packet received {"connection_id":229827,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":229827,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:20:35] local.INFO: TCP Data received {"connection_id":229827,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab543140012d0c96000705f7e00019009526..."} 
[2026-11-05 16:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab543140012d0c96000705f7e00019009526..."} 
[2026-11-05 16:20:35] local.INFO: Processing buffer {"connection_id":229827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab543140012d0c96000705f7e00019009526..."} 
[2026-11-05 16:20:35] local.INFO: Packet analysis {"connection_id":229827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab54"} 
[2026-11-05 16:20:35] local.INFO: Extracted packet for processing {"connection_id":229827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab54"} 
[2026-11-05 16:20:35] local.INFO: GPS Element Parsed {"raw_longitude":755799552,"raw_latitude":117831648,"longitude_deg":75.5799552,"latitude_deg":11.7831648,"altitude":25,"angle":149,"satellites":38,"speed":18,"hex_longitude":"2d0c9600","hex_latitude":"0705f7e0","is_valid_coordinates":true} 
[2026-11-05 16:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232199168001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39492533524365312,"note":"Value kept but may cause issues"} 
[2026-11-05 16:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905575398987659264,"note":"Value kept but may cause issues"} 
[2026-11-05 16:20:35] 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-05 16:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1793875784000,"timestamp_ms":1793875784000,"timestamp_seconds":1793875784,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab543140"} 
[2026-11-05 16:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-05 16:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":229827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":229827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":229827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232199168001,"66":14396,"220":206,"94":10240,"24":18,"16":39492533524365312,"45":905575398987659264},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-11-05 16:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232199168001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:20:35] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-11-05 16:20:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39492533524365312,"km_value":39492533524365.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":905575398987659264,"description":"Unknown IO ID 45"} 
[2026-11-05 16:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232199168001,"power":14396,"unknown_220":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":905575398987659264}} 
[2026-11-05 16:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":229827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63944,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:20:36] local.INFO: GPS data processed {"connection_id":229827,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:20:36] local.INFO: Acknowledgment sent {"connection_id":229827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:21:03] local.INFO: TCP Data received {"connection_id":231684,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:21:03] local.INFO: Processing buffer {"connection_id":231684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:21:03] local.INFO: IMEI packet received {"connection_id":231684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":231684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:21:07] local.INFO: TCP Data received {"connection_id":229827,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab547f60012d0ca3800705e2900015009626..."} 
[2026-11-05 16:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab547f60012d0ca3800705e2900015009626..."} 
[2026-11-05 16:21:07] local.INFO: Processing buffer {"connection_id":229827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab547f60012d0ca3800705e2900015009626..."} 
[2026-11-05 16:21:07] local.INFO: Packet analysis {"connection_id":229827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab54"} 
[2026-11-05 16:21:07] local.INFO: Extracted packet for processing {"connection_id":229827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab54"} 
[2026-11-05 16:21:07] local.INFO: GPS Element Parsed {"raw_longitude":755803008,"raw_latitude":117826192,"longitude_deg":75.5803008,"latitude_deg":11.7826192,"altitude":21,"angle":150,"satellites":38,"speed":13,"hex_longitude":"2d0ca380","hex_latitude":"0705e290","is_valid_coordinates":true} 
[2026-11-05 16:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232200704001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39492842762010624,"note":"Value kept but may cause issues"} 
[2026-11-05 16:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906912405126635520,"note":"Value kept but may cause issues"} 
[2026-11-05 16:21:07] 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-05 16:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1793875804000,"timestamp_ms":1793875804000,"timestamp_seconds":1793875804,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab547f60"} 
[2026-11-05 16:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-05 16:21:07] 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-05 16:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":229827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":229827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":229827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232200704001,"66":14515,"220":206,"94":10240,"24":13,"16":39492842762010624,"45":906912405126635520},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-11-05 16:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232200704001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:21:07] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-11-05 16:21:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39492842762010624,"km_value":39492842762010.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":906912405126635520,"description":"Unknown IO ID 45"} 
[2026-11-05 16:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232200704001,"power":14515,"unknown_220":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":906912405126635520}} 
[2026-11-05 16:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":229827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63945,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:21:07] local.INFO: GPS data processed {"connection_id":229827,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:21:07] local.INFO: Acknowledgment sent {"connection_id":229827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:21:08] local.INFO: TCP Data received {"connection_id":231684,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:21:08] local.INFO: Processing buffer {"connection_id":231684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:21:08] local.INFO: IMEI packet received {"connection_id":231684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":231684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:21:09] local.INFO: TCP Data received {"connection_id":231684,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab521630012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab521630012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:21:09] local.INFO: Processing buffer {"connection_id":231684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab521630012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:21:09] local.INFO: Packet analysis {"connection_id":231684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab52"} 
[2026-11-05 16:21:09] local.INFO: Extracted packet for processing {"connection_id":231684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab52"} 
[2026-11-05 16:21:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232088320001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793875646000,"timestamp_ms":1793875646000,"timestamp_seconds":1793875646,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab521630"} 
[2026-11-05 16:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 16:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:21:09] local.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-05 16:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232088320001,"66":25299,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 16:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232088320001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:21:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 16:21:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232088320001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":231684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:21:09] local.INFO: GPS data processed {"connection_id":231684,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:21:09] local.INFO: Acknowledgment sent {"connection_id":231684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:21:29] local.INFO: TCP Data received {"connection_id":233584,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233584,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:21:29] local.INFO: Processing buffer {"connection_id":233584,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:21:29] local.INFO: IMEI packet received {"connection_id":233584,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":233584,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:21:32] local.INFO: TCP Data received {"connection_id":233584,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233584,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:21:32] local.INFO: Processing buffer {"connection_id":233584,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:21:32] local.INFO: IMEI packet received {"connection_id":233584,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":233584,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:21:32] local.INFO: TCP Data received {"connection_id":233584,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233584,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:21:32] local.INFO: Processing buffer {"connection_id":233584,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:21:32] local.INFO: IMEI packet received {"connection_id":233584,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":233584,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:21:36] local.INFO: TCP Data received {"connection_id":233584,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233584,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:21:36] local.INFO: Processing buffer {"connection_id":233584,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:21:36] local.INFO: IMEI packet received {"connection_id":233584,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":233584,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:21:37] local.INFO: TCP Data received {"connection_id":233584,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab55a458012d0cebc00705c6800011000a24..."} 
[2026-11-05 16:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab55a458012d0cebc00705c6800011000a24..."} 
[2026-11-05 16:21:37] local.INFO: Processing buffer {"connection_id":233584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab55a458012d0cebc00705c6800011000a24..."} 
[2026-11-05 16:21:37] local.INFO: Packet analysis {"connection_id":233584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab55"} 
[2026-11-05 16:21:37] local.INFO: Extracted packet for processing {"connection_id":233584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab55"} 
[2026-11-05 16:21:37] local.INFO: GPS Element Parsed {"raw_longitude":755821504,"raw_latitude":117819008,"longitude_deg":75.5821504,"latitude_deg":11.7819008,"altitude":17,"angle":10,"satellites":36,"speed":20,"hex_longitude":"2d0cebc0","hex_latitude":"0705c680","is_valid_coordinates":true} 
[2026-11-05 16:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232224768001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39494161316970496,"note":"Value kept but may cause issues"} 
[2026-11-05 16:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":930908146887856128,"note":"Value kept but may cause issues"} 
[2026-11-05 16:21:37] 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-05 16:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793875879000,"timestamp_ms":1793875879000,"timestamp_seconds":1793875879,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab55a458"} 
[2026-11-05 16:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-05 16:21:37] 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-05 16:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":233584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":233584,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":233584,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232224768001,"66":13787,"220":206,"94":10240,"24":20,"16":39494161316970496,"45":930908146887856128},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-11-05 16:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232224768001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:21:37] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-11-05 16:21:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39494161316970496,"km_value":39494161316970.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":930908146887856128,"description":"Unknown IO ID 45"} 
[2026-11-05 16:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232224768001,"power":13787,"unknown_220":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":930908146887856128}} 
[2026-11-05 16:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":233584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63947,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:21:37] local.INFO: GPS data processed {"connection_id":233584,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:21:37] local.INFO: Acknowledgment sent {"connection_id":233584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:21:41] local.INFO: TCP Data received {"connection_id":231684,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab521630012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab521630012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:21:41] local.INFO: Processing buffer {"connection_id":231684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab521630012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:21:41] local.INFO: Packet analysis {"connection_id":231684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab52"} 
[2026-11-05 16:21:41] local.INFO: Extracted packet for processing {"connection_id":231684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab52"} 
[2026-11-05 16:21:41] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232088320001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793875646000,"timestamp_ms":1793875646000,"timestamp_seconds":1793875646,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab521630"} 
[2026-11-05 16: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-05 16: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-05 16:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 16:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232088320001,"66":25299,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 16:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232088320001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:21:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 16:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232088320001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":231684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:21:41] local.INFO: GPS data processed {"connection_id":231684,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:21:41] local.INFO: Acknowledgment sent {"connection_id":231684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:21:45] local.INFO: TCP Data received {"connection_id":231685,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231685,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:21:45] local.INFO: Processing buffer {"connection_id":231685,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:21:45] local.INFO: IMEI packet received {"connection_id":231685,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 16:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":231685,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:22:03] local.INFO: TCP Data received {"connection_id":229828,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:22:03] local.INFO: Processing buffer {"connection_id":229828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:22:03] local.INFO: IMEI packet received {"connection_id":229828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":229828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:22:08] local.INFO: TCP Data received {"connection_id":229828,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:22:08] local.INFO: Processing buffer {"connection_id":229828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:22:08] local.INFO: IMEI packet received {"connection_id":229828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":229828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:22:09] local.INFO: TCP Data received {"connection_id":229828,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab521630012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab521630012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:22:09] local.INFO: Processing buffer {"connection_id":229828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab521630012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:22:09] local.INFO: Packet analysis {"connection_id":229828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab52"} 
[2026-11-05 16:22:09] local.INFO: Extracted packet for processing {"connection_id":229828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab52"} 
[2026-11-05 16:22:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232088320001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793875646000,"timestamp_ms":1793875646000,"timestamp_seconds":1793875646,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab521630"} 
[2026-11-05 16:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 16:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:22:09] 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-05 16:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232088320001,"66":25299,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 16:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232088320001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:22:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 16:22:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232088320001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":229828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:22:09] local.INFO: GPS data processed {"connection_id":229828,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:22:09] local.INFO: Acknowledgment sent {"connection_id":229828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:22:09] local.INFO: TCP Data received {"connection_id":233584,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab55a840012d0cebc00705c8880011016324..."} 
[2026-11-05 16:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab55a840012d0cebc00705c8880011016324..."} 
[2026-11-05 16:22:09] local.INFO: Processing buffer {"connection_id":233584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab55a840012d0cebc00705c8880011016324..."} 
[2026-11-05 16:22:09] local.INFO: Packet analysis {"connection_id":233584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab55"} 
[2026-11-05 16:22:09] local.INFO: Extracted packet for processing {"connection_id":233584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab55"} 
[2026-11-05 16:22:09] local.INFO: GPS Element Parsed {"raw_longitude":755821504,"raw_latitude":117819528,"longitude_deg":75.5821504,"latitude_deg":11.7819528,"altitude":17,"angle":355,"satellites":36,"speed":21,"hex_longitude":"2d0cebc0","hex_latitude":"0705c888","is_valid_coordinates":true} 
[2026-11-05 16:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232225024001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39494187086774272,"note":"Value kept but may cause issues"} 
[2026-11-05 16:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":931048884376338432,"note":"Value kept but may cause issues"} 
[2026-11-05 16:22:09] 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-05 16:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793875880000,"timestamp_ms":1793875880000,"timestamp_seconds":1793875880,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab55a840"} 
[2026-11-05 16:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-11-05 16:22:09] 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-05 16:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233584,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233584,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232225024001,"66":13787,"220":206,"94":10240,"24":21,"16":39494187086774272,"45":931048884376338432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-11-05 16:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232225024001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:22:09] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-11-05 16:22:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39494187086774272,"km_value":39494187086774.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":931048884376338432,"description":"Unknown IO ID 45"} 
[2026-11-05 16:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232225024001,"power":13787,"unknown_220":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":931048884376338432}} 
[2026-11-05 16:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":233584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63950,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:22:10] local.INFO: GPS data processed {"connection_id":233584,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:22:10] local.INFO: Acknowledgment sent {"connection_id":233584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:22:16] local.INFO: TCP Data received {"connection_id":230345,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230345,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:22:16] local.INFO: Processing buffer {"connection_id":230345,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:22:16] local.INFO: IMEI packet received {"connection_id":230345,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 16:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":230345,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:22:19] local.INFO: TCP Data received {"connection_id":230345,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230345,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:22:19] local.INFO: Processing buffer {"connection_id":230345,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:22:19] local.INFO: IMEI packet received {"connection_id":230345,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 16:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":230345,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:22:21] local.INFO: TCP Data received {"connection_id":230345,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab53b440012d4defc00688cf90005600ad31..."} 
[2026-11-05 16:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab53b440012d4defc00688cf90005600ad31..."} 
[2026-11-05 16:22:21] local.INFO: Processing buffer {"connection_id":230345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab53b440012d4defc00688cf90005600ad31..."} 
[2026-11-05 16:22:21] local.INFO: Packet analysis {"connection_id":230345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab53"} 
[2026-11-05 16:22:21] local.INFO: Extracted packet for processing {"connection_id":230345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab53"} 
[2026-11-05 16:22:21] local.INFO: GPS Element Parsed {"raw_longitude":760082368,"raw_latitude":109629328,"longitude_deg":76.0082368,"latitude_deg":10.9629328,"altitude":86,"angle":173,"satellites":49,"speed":0,"hex_longitude":"2d4defc0","hex_latitude":"0688cf90","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232187136001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5613244382379239424,"note":"Value kept but may cause issues"} 
[2026-11-05 16:22:21] 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-05 16:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793875752000,"timestamp_ms":1793875752000,"timestamp_seconds":1793875752,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab53b440"} 
[2026-11-05 16: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-05 16:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-05 16:22: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-05 16: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-05 16: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-05 16:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230345,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230345,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232187136001,"66":206,"19":48128,"24":0,"16":20804383495159808,"45":5613244382379239424},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-11-05 16:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 16:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 16:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232187136001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:22:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 16:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5613244382379239424,"description":"Unknown IO ID 45"} 
[2026-11-05 16:22:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459232187136001,"power":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5613244382379239424}} 
[2026-11-05 16:22:21] 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":63951,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:22:21] local.INFO: GPS data processed {"connection_id":230345,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:22:21] local.INFO: Acknowledgment sent {"connection_id":230345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:22:22] local.INFO: TCP Data received {"connection_id":230345,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab549ab80100000000000000000000000000..."} 
[2026-11-05 16:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab549ab80100000000000000000000000000..."} 
[2026-11-05 16:22:22] local.INFO: Processing buffer {"connection_id":230345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab549ab80100000000000000000000000000..."} 
[2026-11-05 16:22:22] local.INFO: Packet analysis {"connection_id":230345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab54"} 
[2026-11-05 16:22:22] local.INFO: Extracted packet for processing {"connection_id":230345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab54"} 
[2026-11-05 16:22:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232192512001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5615918394651938816,"note":"Value kept but may cause issues"} 
[2026-11-05 16:22:22] 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-05 16:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793875811000,"timestamp_ms":1793875811000,"timestamp_seconds":1793875811,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab549ab8"} 
[2026-11-05 16: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-05 16:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 16:22:22] 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-05 16: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-05 16: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-05 16:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":230345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":230345,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":230345,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:22:22] 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-05 16:22:22] local.INFO: GPS data processed {"connection_id":230345,"processed":0,"errors":0,"total":1} 
[2026-11-05 16:22:22] local.INFO: Acknowledgment sent {"connection_id":230345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:22:30] local.INFO: TCP Data received {"connection_id":231686,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231686,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:22:30] local.INFO: Processing buffer {"connection_id":231686,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:22:30] local.INFO: IMEI packet received {"connection_id":231686,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":231686,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:22:31] local.INFO: TCP Data received {"connection_id":231686,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231686,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:22:31] local.INFO: Processing buffer {"connection_id":231686,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:22:31] local.INFO: IMEI packet received {"connection_id":231686,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":231686,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:22:32] local.INFO: TCP Data received {"connection_id":231686,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231686,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:22:32] local.INFO: Processing buffer {"connection_id":231686,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:22:32] local.INFO: IMEI packet received {"connection_id":231686,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":231686,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:22:35] local.INFO: TCP Data received {"connection_id":231686,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231686,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:22:35] local.INFO: Processing buffer {"connection_id":231686,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:22:35] local.INFO: IMEI packet received {"connection_id":231686,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":231686,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:22:36] local.INFO: TCP Data received {"connection_id":231686,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab567f18012d0d3a400705d5b8000f008e27..."} 
[2026-11-05 16:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab567f18012d0d3a400705d5b8000f008e27..."} 
[2026-11-05 16:22:36] local.INFO: Processing buffer {"connection_id":231686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab567f18012d0d3a400705d5b8000f008e27..."} 
[2026-11-05 16:22:36] local.INFO: Packet analysis {"connection_id":231686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab56"} 
[2026-11-05 16:22:36] local.INFO: Extracted packet for processing {"connection_id":231686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab56"} 
[2026-11-05 16:22:36] local.INFO: GPS Element Parsed {"raw_longitude":755841600,"raw_latitude":117822904,"longitude_deg":75.58416,"latitude_deg":11.7822904,"altitude":15,"angle":142,"satellites":39,"speed":8,"hex_longitude":"2d0d3a40","hex_latitude":"0705d5b8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232238848001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39495278008467456,"note":"Value kept but may cause issues"} 
[2026-11-05 16:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952722457584123904,"note":"Value kept but may cause issues"} 
[2026-11-05 16:22:36] 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-05 16:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1793875935000,"timestamp_ms":1793875935000,"timestamp_seconds":1793875935,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab567f18"} 
[2026-11-05 16: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-05 16:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-11-05 16:22:36] 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-05 16: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-05 16: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-05 16:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":231686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":231686,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":231686,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232238848001,"66":14298,"167":206,"94":11008,"24":8,"16":39495278008467456,"45":952722457584123904},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-11-05 16:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232238848001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:22:36] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-11-05 16:22:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 16:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39495278008467456,"km_value":39495278008467.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":952722457584123904,"description":"Unknown IO ID 45"} 
[2026-11-05 16:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232238848001,"power":14298,"unknown_167":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":952722457584123904}} 
[2026-11-05 16:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":231686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63952,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:22:36] local.INFO: GPS data processed {"connection_id":231686,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:22:36] local.INFO: Acknowledgment sent {"connection_id":231686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:22:41] local.INFO: TCP Data received {"connection_id":229828,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab521630012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab521630012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:22:41] local.INFO: Processing buffer {"connection_id":229828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab521630012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:22:41] local.INFO: Packet analysis {"connection_id":229828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab52"} 
[2026-11-05 16:22:41] local.INFO: Extracted packet for processing {"connection_id":229828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab52"} 
[2026-11-05 16:22:41] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232088320001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793875646000,"timestamp_ms":1793875646000,"timestamp_seconds":1793875646,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab521630"} 
[2026-11-05 16: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-05 16: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-05 16:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 16:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16: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-05 16:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232088320001,"66":25299,"28":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 16:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232088320001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:22:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 16:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232088320001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":229828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:22:41] local.INFO: GPS data processed {"connection_id":229828,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:22:41] local.INFO: Acknowledgment sent {"connection_id":229828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:23:03] local.INFO: TCP Data received {"connection_id":230346,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:23:03] local.INFO: Processing buffer {"connection_id":230346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:23:03] local.INFO: IMEI packet received {"connection_id":230346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":230346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:23:04] local.INFO: TCP Data received {"connection_id":229829,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229829,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:23:04] local.INFO: Processing buffer {"connection_id":229829,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:23:04] local.INFO: IMEI packet received {"connection_id":229829,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 16:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":229829,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:23:05] local.INFO: TCP Data received {"connection_id":230346,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:23:05] local.INFO: Processing buffer {"connection_id":230346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:23:05] local.INFO: IMEI packet received {"connection_id":230346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":230346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:23:05] local.INFO: TCP Data received {"connection_id":229829,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229829,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:23:05] local.INFO: Processing buffer {"connection_id":229829,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:23:05] local.INFO: IMEI packet received {"connection_id":229829,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 16:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":229829,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:23:07] local.INFO: TCP Data received {"connection_id":231686,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab568300012d0d3a800705d4e8000f009e27..."} 
[2026-11-05 16:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab568300012d0d3a800705d4e8000f009e27..."} 
[2026-11-05 16:23:07] local.INFO: Processing buffer {"connection_id":231686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab568300012d0d3a800705d4e8000f009e27..."} 
[2026-11-05 16:23:07] local.INFO: Packet analysis {"connection_id":231686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab56"} 
[2026-11-05 16:23:07] local.INFO: Extracted packet for processing {"connection_id":231686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab56"} 
[2026-11-05 16:23:07] local.INFO: GPS Element Parsed {"raw_longitude":755841664,"raw_latitude":117822696,"longitude_deg":75.5841664,"latitude_deg":11.7822696,"altitude":15,"angle":158,"satellites":39,"speed":9,"hex_longitude":"2d0d3a80","hex_latitude":"0705d4e8","is_valid_coordinates":true} 
[2026-11-05 16:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232239360001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39495290893369344,"note":"Value kept but may cause issues"} 
[2026-11-05 16:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953144670049122304,"note":"Value kept but may cause issues"} 
[2026-11-05 16:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1793875936000,"timestamp_ms":1793875936000,"timestamp_seconds":1793875936,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab568300"} 
[2026-11-05 16:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-11-05 16:23:07] 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-05 16:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":231686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":231686,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":231686,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232239360001,"66":14559,"167":206,"94":11008,"24":9,"16":39495290893369344,"45":953144670049122304},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-11-05 16:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232239360001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:23:07] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-11-05 16:23:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 16:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39495290893369344,"km_value":39495290893369.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":953144670049122304,"description":"Unknown IO ID 45"} 
[2026-11-05 16:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232239360001,"power":14559,"unknown_167":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":953144670049122304}} 
[2026-11-05 16:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":231686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63954,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:23:08] local.INFO: GPS data processed {"connection_id":231686,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:23:08] local.INFO: Acknowledgment sent {"connection_id":231686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:23:09] local.INFO: TCP Data received {"connection_id":230346,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:23:09] local.INFO: Processing buffer {"connection_id":230346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:23:09] local.INFO: IMEI packet received {"connection_id":230346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":230346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:23:11] local.INFO: TCP Data received {"connection_id":230346,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab56adf8012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab56adf8012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:23:11] local.INFO: Processing buffer {"connection_id":230346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab56adf8012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:23:11] local.INFO: Packet analysis {"connection_id":230346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab56"} 
[2026-11-05 16:23:11] local.INFO: Extracted packet for processing {"connection_id":230346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab56"} 
[2026-11-05 16:23:11] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232165376001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793875947000,"timestamp_ms":1793875947000,"timestamp_seconds":1793875947,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab56adf8"} 
[2026-11-05 16: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-05 16:23: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-05 16:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 16:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":230346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":230346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":230346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:23: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-05 16:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232165376001,"66":25321,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 16:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232165376001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:23:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 16:23:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232165376001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:23:11] 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":63955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:23:11] local.INFO: GPS data processed {"connection_id":230346,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:23:11] local.INFO: Acknowledgment sent {"connection_id":230346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:23:11] local.INFO: TCP Data received {"connection_id":229829,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229829,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:23:11] local.INFO: Processing buffer {"connection_id":229829,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:23:11] local.INFO: IMEI packet received {"connection_id":229829,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 16:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":229829,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:23:13] local.INFO: TCP Data received {"connection_id":229829,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab541db8012d4de74006881c38005300c230..."} 
[2026-11-05 16:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab541db8012d4de74006881c38005300c230..."} 
[2026-11-05 16:23:13] local.INFO: Processing buffer {"connection_id":229829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab541db8012d4de74006881c38005300c230..."} 
[2026-11-05 16:23:13] local.INFO: Packet analysis {"connection_id":229829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab54"} 
[2026-11-05 16:23:13] local.INFO: Extracted packet for processing {"connection_id":229829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab54"} 
[2026-11-05 16:23:13] local.INFO: GPS Element Parsed {"raw_longitude":760080192,"raw_latitude":109583416,"longitude_deg":76.0080192,"latitude_deg":10.9583416,"altitude":83,"angle":194,"satellites":48,"speed":57,"hex_longitude":"2d4de740","hex_latitude":"06881c38","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:23:13] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,19,24,16],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-11-05 16:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793875779000,"timestamp_ms":1793875779000,"timestamp_seconds":1793875779,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab541db8"} 
[2026-11-05 16: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-05 16:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-05 16:23:13] 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-05 16: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-05 16: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-05 16:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":206,"19":48128,"24":57,"16":20804383495159808},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16]} 
[2026-11-05 16:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 16:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 16:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 16:23:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 16:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:23:13] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":0,"power":206,"unknown_19":48128,"ignition":57,"odometer":null}} 
[2026-11-05 16:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":229829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63956,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:23:14] local.INFO: GPS data processed {"connection_id":229829,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:23:14] local.INFO: Acknowledgment sent {"connection_id":229829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:23:31] local.INFO: TCP Data received {"connection_id":233585,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233585,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:23:31] local.INFO: Processing buffer {"connection_id":233585,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:23:31] local.INFO: IMEI packet received {"connection_id":233585,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":233585,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:23:36] local.INFO: TCP Data received {"connection_id":233585,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233585,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:23:36] local.INFO: Processing buffer {"connection_id":233585,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:23:36] local.INFO: IMEI packet received {"connection_id":233585,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":233585,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:23:37] local.INFO: TCP Data received {"connection_id":233585,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab5686e8012d0d3ac00705d3e8000f00ad27..."} 
[2026-11-05 16:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab5686e8012d0d3ac00705d3e8000f00ad27..."} 
[2026-11-05 16:23:37] local.INFO: Processing buffer {"connection_id":233585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab5686e8012d0d3ac00705d3e8000f00ad27..."} 
[2026-11-05 16:23:37] local.INFO: Packet analysis {"connection_id":233585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab56"} 
[2026-11-05 16:23:37] local.INFO: Extracted packet for processing {"connection_id":233585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab56"} 
[2026-11-05 16:23:37] local.INFO: GPS Element Parsed {"raw_longitude":755841728,"raw_latitude":117822440,"longitude_deg":75.5841728,"latitude_deg":11.782244,"altitude":15,"angle":173,"satellites":39,"speed":11,"hex_longitude":"2d0d3ac0","hex_latitude":"0705d3e8","is_valid_coordinates":true} 
[2026-11-05 16:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232239616001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39495303778271232,"note":"Value kept but may cause issues"} 
[2026-11-05 16:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953215038793246720,"note":"Value kept but may cause issues"} 
[2026-11-05 16:23:37] 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-05 16:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793875937000,"timestamp_ms":1793875937000,"timestamp_seconds":1793875937,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab5686e8"} 
[2026-11-05 16:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-05 16:23:37] 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-05 16:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":233585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":233585,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":233585,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232239616001,"66":14559,"167":206,"94":11008,"24":11,"16":39495303778271232,"45":953215038793246720},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-11-05 16:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232239616001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:23:37] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-11-05 16:23:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 16:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39495303778271232,"km_value":39495303778271.234,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":953215038793246720,"description":"Unknown IO ID 45"} 
[2026-11-05 16:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232239616001,"power":14559,"unknown_167":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":953215038793246720}} 
[2026-11-05 16:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":233585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63957,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:23:37] local.INFO: GPS data processed {"connection_id":233585,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:23:37] local.INFO: Acknowledgment sent {"connection_id":233585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:23:42] local.INFO: TCP Data received {"connection_id":230346,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab56adf8012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab56adf8012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:23:42] local.INFO: Processing buffer {"connection_id":230346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab56adf8012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:23:42] local.INFO: Packet analysis {"connection_id":230346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab56"} 
[2026-11-05 16:23:42] local.INFO: Extracted packet for processing {"connection_id":230346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab56"} 
[2026-11-05 16:23:42] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232165376001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793875947000,"timestamp_ms":1793875947000,"timestamp_seconds":1793875947,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab56adf8"} 
[2026-11-05 16:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:23: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-05 16:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 16:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:23: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-05 16:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232165376001,"66":25321,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 16:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232165376001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:23:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 16:23:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232165376001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:23:43] 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":63958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:23:43] local.INFO: GPS data processed {"connection_id":230346,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:23:43] local.INFO: Acknowledgment sent {"connection_id":230346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:23:46] local.INFO: TCP Data received {"connection_id":229829,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab546fc0012d4dcf800687c5e0005800c32d..."} 
[2026-11-05 16:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab546fc0012d4dcf800687c5e0005800c32d..."} 
[2026-11-05 16:23:46] local.INFO: Processing buffer {"connection_id":229829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab546fc0012d4dcf800687c5e0005800c32d..."} 
[2026-11-05 16:23:46] local.INFO: Packet analysis {"connection_id":229829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab54"} 
[2026-11-05 16:23:46] local.INFO: Extracted packet for processing {"connection_id":229829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab54"} 
[2026-11-05 16:23:46] local.INFO: GPS Element Parsed {"raw_longitude":760074112,"raw_latitude":109561312,"longitude_deg":76.0074112,"latitude_deg":10.9561312,"altitude":88,"angle":195,"satellites":45,"speed":0,"hex_longitude":"2d4dcf80","hex_latitude":"0687c5e0","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232199424001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5613525857338144768,"note":"Value kept but may cause issues"} 
[2026-11-05 16:23:46] 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-05 16:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793875800000,"timestamp_ms":1793875800000,"timestamp_seconds":1793875800,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab546fc0"} 
[2026-11-05 16: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-05 16:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16: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":107,"data_length":795,"current_offset":136} 
[2026-11-05 16:23: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-05 16: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-05 16: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-05 16:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232199424001,"66":206,"19":48128,"24":0,"16":20804383495159808,"45":5613525857338144768},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-11-05 16:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 16:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 16:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232199424001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:23:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-05 16:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5613525857338144768,"description":"Unknown IO ID 45"} 
[2026-11-05 16:23:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459232199424001,"power":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5613525857338144768}} 
[2026-11-05 16:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":229829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63959,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:23:46] local.INFO: GPS data processed {"connection_id":229829,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:23:46] local.INFO: Acknowledgment sent {"connection_id":229829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:24:03] local.INFO: TCP Data received {"connection_id":231688,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:24:03] local.INFO: Processing buffer {"connection_id":231688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:24:03] local.INFO: IMEI packet received {"connection_id":231688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 16:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":231688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:24:04] local.INFO: TCP Data received {"connection_id":231687,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:24:04] local.INFO: Processing buffer {"connection_id":231687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:24:04] local.INFO: IMEI packet received {"connection_id":231687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":231687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:24:05] local.INFO: TCP Data received {"connection_id":231688,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:24:05] local.INFO: Processing buffer {"connection_id":231688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:24:05] local.INFO: IMEI packet received {"connection_id":231688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 16:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":231688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:24:08] local.INFO: TCP Data received {"connection_id":231687,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:24:08] local.INFO: Processing buffer {"connection_id":231687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:24:08] local.INFO: IMEI packet received {"connection_id":231687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":231687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:24:08] local.INFO: TCP Data received {"connection_id":233585,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab568eb8012d0d3ac00705d138000f00bc27..."} 
[2026-11-05 16:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab568eb8012d0d3ac00705d138000f00bc27..."} 
[2026-11-05 16:24:08] local.INFO: Processing buffer {"connection_id":233585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab568eb8012d0d3ac00705d138000f00bc27..."} 
[2026-11-05 16:24:08] local.INFO: Packet analysis {"connection_id":233585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab56"} 
[2026-11-05 16:24:08] local.INFO: Extracted packet for processing {"connection_id":233585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab56"} 
[2026-11-05 16:24:08] local.INFO: GPS Element Parsed {"raw_longitude":755841728,"raw_latitude":117821752,"longitude_deg":75.5841728,"latitude_deg":11.7821752,"altitude":15,"angle":188,"satellites":39,"speed":15,"hex_longitude":"2d0d3ac0","hex_latitude":"0705d138","is_valid_coordinates":true} 
[2026-11-05 16:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232239872001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39495338138009600,"note":"Value kept but may cause issues"} 
[2026-11-05 16:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953285407537358848,"note":"Value kept but may cause issues"} 
[2026-11-05 16:24:08] 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-05 16:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793875939000,"timestamp_ms":1793875939000,"timestamp_seconds":1793875939,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab568eb8"} 
[2026-11-05 16:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-05 16:24:08] 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-05 16:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":233585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":233585,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":233585,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232239872001,"66":14439,"167":206,"94":11008,"24":15,"16":39495338138009600,"45":953285407537358848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-11-05 16:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232239872001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:24:08] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-11-05 16:24:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 16:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39495338138009600,"km_value":39495338138009.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":953285407537358848,"description":"Unknown IO ID 45"} 
[2026-11-05 16:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232239872001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":953285407537358848}} 
[2026-11-05 16:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":233585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63960,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:24:09] local.INFO: GPS data processed {"connection_id":233585,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:24:09] local.INFO: Acknowledgment sent {"connection_id":233585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:24:10] local.INFO: TCP Data received {"connection_id":231687,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab56adf8012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab56adf8012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:24:10] local.INFO: Processing buffer {"connection_id":231687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab56adf8012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:24:10] local.INFO: Packet analysis {"connection_id":231687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab56"} 
[2026-11-05 16:24:10] local.INFO: Extracted packet for processing {"connection_id":231687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab56"} 
[2026-11-05 16:24:10] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232165376001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793875947000,"timestamp_ms":1793875947000,"timestamp_seconds":1793875947,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab56adf8"} 
[2026-11-05 16:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 16:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232165376001,"66":25321,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 16:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232165376001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:24:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 16:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232165376001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":231687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:24:10] local.INFO: GPS data processed {"connection_id":231687,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:24:10] local.INFO: Acknowledgment sent {"connection_id":231687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:24:11] local.INFO: TCP Data received {"connection_id":231688,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:24:11] local.INFO: Processing buffer {"connection_id":231688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:24:11] local.INFO: IMEI packet received {"connection_id":231688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 16:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":231688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:24:16] local.INFO: TCP Data received {"connection_id":231688,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab570fa0012d4d72c006848810007500682b..."} 
[2026-11-05 16:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab570fa0012d4d72c006848810007500682b..."} 
[2026-11-05 16:24:16] local.INFO: Processing buffer {"connection_id":231688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab570fa0012d4d72c006848810007500682b..."} 
[2026-11-05 16:24:16] local.INFO: Packet analysis {"connection_id":231688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab57"} 
[2026-11-05 16:24:16] local.INFO: Extracted packet for processing {"connection_id":231688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab57"} 
[2026-11-05 16:24:16] local.INFO: GPS Element Parsed {"raw_longitude":760050368,"raw_latitude":109348880,"longitude_deg":76.0050368,"latitude_deg":10.934888,"altitude":117,"angle":104,"satellites":43,"speed":54,"hex_longitude":"2d4d72c0","hex_latitude":"06848810","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232244736001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5560678930403983360,"note":"Value kept but may cause issues"} 
[2026-11-05 16:24:16] 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-05 16:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793875972000,"timestamp_ms":1793875972000,"timestamp_seconds":1793875972,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab570fa0"} 
[2026-11-05 16: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-05 16:24: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-05 16: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":194,"data_length":795,"current_offset":136} 
[2026-11-05 16:24: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-05 16: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-05 16: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-05 16:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":231688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":231688,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":231688,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232244736001,"66":28267,"227":206,"19":47872,"24":54,"16":20804383495159808,"45":5560678930403983360},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,19,24,16,45]} 
[2026-11-05 16:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 16:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 16:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232244736001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:24:16] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-11-05 16:24:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 16:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5560678930403983360,"description":"Unknown IO ID 45"} 
[2026-11-05 16:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232244736001,"power":28267,"unknown_227":206,"unknown_19":47872,"ignition":54,"odometer":null,"unknown_45":5560678930403983360}} 
[2026-11-05 16:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":231688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63962,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:24:16] local.INFO: GPS data processed {"connection_id":231688,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:24:16] local.INFO: Acknowledgment sent {"connection_id":231688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:24:36] local.INFO: TCP Data received {"connection_id":229830,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229830,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:24:37] local.INFO: Processing buffer {"connection_id":229830,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:24:37] local.INFO: IMEI packet received {"connection_id":229830,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":229830,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:24:37] local.INFO: TCP Data received {"connection_id":229830,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab5824f8012d0d3d800705bed80011016725..."} 
[2026-11-05 16:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab5824f8012d0d3d800705bed80011016725..."} 
[2026-11-05 16:24:37] local.INFO: Processing buffer {"connection_id":229830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab5824f8012d0d3d800705bed80011016725..."} 
[2026-11-05 16:24:37] local.INFO: Packet analysis {"connection_id":229830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab58"} 
[2026-11-05 16:24:37] local.INFO: Extracted packet for processing {"connection_id":229830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab58"} 
[2026-11-05 16:24:37] local.INFO: GPS Element Parsed {"raw_longitude":755842432,"raw_latitude":117817048,"longitude_deg":75.5842432,"latitude_deg":11.7817048,"altitude":17,"angle":359,"satellites":37,"speed":1,"hex_longitude":"2d0d3d80","hex_latitude":"0705bed8","is_valid_coordinates":true} 
[2026-11-05 16:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232263424001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39495686030360576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":954129832465958912,"note":"Value kept but may cause issues"} 
[2026-11-05 16:24:37] 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-05 16:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793876043000,"timestamp_ms":1793876043000,"timestamp_seconds":1793876043,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab5824f8"} 
[2026-11-05 16:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-11-05 16:24:37] 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-05 16:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":229830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":229830,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":229830,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232263424001,"66":14515,"167":206,"94":11008,"24":1,"16":39495686030360576,"45":954129832465958912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-11-05 16:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232263424001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:24:37] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-11-05 16:24:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 16:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39495686030360576,"km_value":39495686030360.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":954129832465958912,"description":"Unknown IO ID 45"} 
[2026-11-05 16:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232263424001,"power":14515,"unknown_167":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":954129832465958912}} 
[2026-11-05 16:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":229830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63963,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:24:37] local.INFO: GPS data processed {"connection_id":229830,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:24:37] local.INFO: Acknowledgment sent {"connection_id":229830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:24:42] local.INFO: TCP Data received {"connection_id":231687,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab56adf8012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab56adf8012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:24:42] local.INFO: Processing buffer {"connection_id":231687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab56adf8012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:24:42] local.INFO: Packet analysis {"connection_id":231687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab56"} 
[2026-11-05 16:24:42] local.INFO: Extracted packet for processing {"connection_id":231687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab56"} 
[2026-11-05 16:24:42] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232165376001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793875947000,"timestamp_ms":1793875947000,"timestamp_seconds":1793875947,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab56adf8"} 
[2026-11-05 16:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:24: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-05 16:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 16:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232165376001,"66":25321,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 16:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232165376001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:24:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 16:24:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232165376001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":231687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:24:42] local.INFO: GPS data processed {"connection_id":231687,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:24:42] local.INFO: Acknowledgment sent {"connection_id":231687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:25:03] local.INFO: TCP Data received {"connection_id":230347,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:25:03] local.INFO: Processing buffer {"connection_id":230347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:25:03] local.INFO: IMEI packet received {"connection_id":230347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":230347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:25:08] local.INFO: TCP Data received {"connection_id":229830,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab591340012d0d59400705da600014005727..."} 
[2026-11-05 16:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab591340012d0d59400705da600014005727..."} 
[2026-11-05 16:25:08] local.INFO: Processing buffer {"connection_id":229830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab591340012d0d59400705da600014005727..."} 
[2026-11-05 16:25:08] local.INFO: Packet analysis {"connection_id":229830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab59"} 
[2026-11-05 16:25:08] local.INFO: Extracted packet for processing {"connection_id":229830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab59"} 
[2026-11-05 16:25:08] local.INFO: GPS Element Parsed {"raw_longitude":755849536,"raw_latitude":117824096,"longitude_deg":75.5849536,"latitude_deg":11.7824096,"altitude":20,"angle":87,"satellites":39,"speed":16,"hex_longitude":"2d0d5940","hex_latitude":"0705da60","is_valid_coordinates":true} 
[2026-11-05 16:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232281088001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39496381815062528,"note":"Value kept but may cause issues"} 
[2026-11-05 16:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":958070482141597696,"note":"Value kept but may cause issues"} 
[2026-11-05 16:25:08] 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-05 16:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793876104000,"timestamp_ms":1793876104000,"timestamp_seconds":1793876104,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab591340"} 
[2026-11-05 16:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:25:08] 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-05 16:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-11-05 16:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":229830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":229830,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":229830,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232281088001,"66":14537,"167":206,"94":11008,"24":16,"16":39496381815062528,"45":958070482141597696},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-11-05 16:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232281088001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:25:08] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-11-05 16:25:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 16:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39496381815062528,"km_value":39496381815062.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":958070482141597696,"description":"Unknown IO ID 45"} 
[2026-11-05 16:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232281088001,"power":14537,"unknown_167":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":958070482141597696}} 
[2026-11-05 16:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":229830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63965,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:25:08] local.INFO: GPS data processed {"connection_id":229830,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:25:08] local.INFO: Acknowledgment sent {"connection_id":229830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:25:09] local.INFO: TCP Data received {"connection_id":230347,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:25:09] local.INFO: Processing buffer {"connection_id":230347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:25:09] local.INFO: IMEI packet received {"connection_id":230347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":230347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:25:10] local.INFO: TCP Data received {"connection_id":230347,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab56adf8012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab56adf8012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:25:10] local.INFO: Processing buffer {"connection_id":230347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab56adf8012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:25:10] local.INFO: Packet analysis {"connection_id":230347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab56"} 
[2026-11-05 16:25:10] local.INFO: Extracted packet for processing {"connection_id":230347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab56"} 
[2026-11-05 16:25:10] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232165376001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793875947000,"timestamp_ms":1793875947000,"timestamp_seconds":1793875947,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab56adf8"} 
[2026-11-05 16:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 16:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:25:10] local.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-05 16:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232165376001,"66":25321,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 16:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232165376001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:25:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 16:25:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232165376001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:25:10] 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":63966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:25:10] local.INFO: GPS data processed {"connection_id":230347,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:25:10] local.INFO: Acknowledgment sent {"connection_id":230347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:25:12] local.INFO: TCP Data received {"connection_id":231688,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab5761a8012d4dcd8006847998007a006330..."} 
[2026-11-05 16:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab5761a8012d4dcd8006847998007a006330..."} 
[2026-11-05 16:25:12] local.INFO: Processing buffer {"connection_id":231688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab5761a8012d4dcd8006847998007a006330..."} 
[2026-11-05 16:25:12] local.INFO: Packet analysis {"connection_id":231688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab57"} 
[2026-11-05 16:25:12] local.INFO: Extracted packet for processing {"connection_id":231688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab57"} 
[2026-11-05 16:25:12] local.INFO: GPS Element Parsed {"raw_longitude":760073600,"raw_latitude":109345176,"longitude_deg":76.00736,"latitude_deg":10.9345176,"altitude":122,"angle":99,"satellites":48,"speed":0,"hex_longitude":"2d4dcd80","hex_latitude":"06847998","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232248832001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5580734022491312128,"note":"Value kept but may cause issues"} 
[2026-11-05 16:25:12] 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-05 16:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793875993000,"timestamp_ms":1793875993000,"timestamp_seconds":1793875993,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab5761a8"} 
[2026-11-05 16: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-05 16:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-05 16:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1711,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231688,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231688,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232248832001,"66":28354,"227":206,"19":47872,"24":0,"16":20804383495159808,"45":5580734022491312128},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,19,24,16,45]} 
[2026-11-05 16:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 16:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 16:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232248832001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:25:12] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-11-05 16:25:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 16:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5580734022491312128,"description":"Unknown IO ID 45"} 
[2026-11-05 16:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232248832001,"power":28354,"unknown_227":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5580734022491312128}} 
[2026-11-05 16:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":231688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63967,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:25:12] local.INFO: GPS data processed {"connection_id":231688,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:25:12] local.INFO: Acknowledgment sent {"connection_id":231688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:25:15] local.INFO: TCP Data received {"connection_id":230348,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230348,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:25:15] local.INFO: Processing buffer {"connection_id":230348,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:25:15] local.INFO: IMEI packet received {"connection_id":230348,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 16:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":230348,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:25:16] local.INFO: TCP Data received {"connection_id":230348,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230348,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:25:16] local.INFO: Processing buffer {"connection_id":230348,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:25:16] local.INFO: IMEI packet received {"connection_id":230348,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 16:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":230348,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:25:21] local.INFO: TCP Data received {"connection_id":230348,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230348,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:25:21] local.INFO: Processing buffer {"connection_id":230348,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:25:21] local.INFO: IMEI packet received {"connection_id":230348,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 16:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":230348,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:25:23] local.INFO: TCP Data received {"connection_id":230348,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab578ca0012d4e2380068458580078007c30..."} 
[2026-11-05 16:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab578ca0012d4e2380068458580078007c30..."} 
[2026-11-05 16:25:23] local.INFO: Processing buffer {"connection_id":230348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab578ca0012d4e2380068458580078007c30..."} 
[2026-11-05 16:25:23] local.INFO: Packet analysis {"connection_id":230348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab57"} 
[2026-11-05 16:25:23] local.INFO: Extracted packet for processing {"connection_id":230348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab57"} 
[2026-11-05 16:25:23] local.INFO: GPS Element Parsed {"raw_longitude":760095616,"raw_latitude":109336664,"longitude_deg":76.0095616,"latitude_deg":10.9336664,"altitude":120,"angle":124,"satellites":48,"speed":57,"hex_longitude":"2d4e2380","hex_latitude":"06845858","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232254208001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5606277876626855936,"note":"Value kept but may cause issues"} 
[2026-11-05 16:25:23] 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-05 16:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793876004000,"timestamp_ms":1793876004000,"timestamp_seconds":1793876004,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab578ca0"} 
[2026-11-05 16: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-05 16:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-05 16:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-05 16:25: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-05 16: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-05 16: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-05 16:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":230348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":230348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":230348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232254208001,"66":28300,"227":206,"19":47872,"24":57,"16":20804383495159808,"45":5606277876626855936},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,19,24,16,45]} 
[2026-11-05 16:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 16:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 16:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232254208001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:25:23] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-11-05 16:25:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 16:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5606277876626855936,"description":"Unknown IO ID 45"} 
[2026-11-05 16:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232254208001,"power":28300,"unknown_227":206,"unknown_19":47872,"ignition":57,"odometer":null,"unknown_45":5606277876626855936}} 
[2026-11-05 16:25:23] 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":63968,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:25:23] local.INFO: GPS data processed {"connection_id":230348,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:25:23] local.INFO: Acknowledgment sent {"connection_id":230348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:25:27] local.INFO: TCP Data received {"connection_id":229831,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229831,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:25:27] local.INFO: Processing buffer {"connection_id":229831,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:25:27] local.INFO: IMEI packet received {"connection_id":229831,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":229831,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:25:29] local.INFO: TCP Data received {"connection_id":229831,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229831,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:25:29] local.INFO: Processing buffer {"connection_id":229831,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:25:29] local.INFO: IMEI packet received {"connection_id":229831,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":229831,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:25:30] local.INFO: TCP Data received {"connection_id":229831,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229831,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:25:30] local.INFO: Processing buffer {"connection_id":229831,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:25:30] local.INFO: IMEI packet received {"connection_id":229831,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":229831,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:25:31] local.INFO: TCP Data received {"connection_id":229831,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229831,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:25:31] local.INFO: Processing buffer {"connection_id":229831,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:25:31] local.INFO: IMEI packet received {"connection_id":229831,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":229831,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:25:45] local.INFO: TCP Data received {"connection_id":230347,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab56adf8012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab56adf8012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:25:45] local.INFO: Processing buffer {"connection_id":230347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab56adf8012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:25:45] local.INFO: Packet analysis {"connection_id":230347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab56"} 
[2026-11-05 16:25:45] local.INFO: Extracted packet for processing {"connection_id":230347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab56"} 
[2026-11-05 16:25:45] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232165376001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793875947000,"timestamp_ms":1793875947000,"timestamp_seconds":1793875947,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab56adf8"} 
[2026-11-05 16: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-05 16:25: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-05 16: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 16:25:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:25: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-05 16:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232165376001,"66":25321,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 16:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232165376001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:25:45] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 16:25:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232165376001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:25:45] 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":63969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:25:45] local.INFO: GPS data processed {"connection_id":230347,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:25:45] local.INFO: Acknowledgment sent {"connection_id":230347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:26:06] local.INFO: TCP Data received {"connection_id":233586,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233586,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:26:06] local.INFO: Processing buffer {"connection_id":233586,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:26:06] local.INFO: IMEI packet received {"connection_id":233586,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 16:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":233586,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:26:06] local.INFO: TCP Data received {"connection_id":233586,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233586,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:26:07] local.INFO: Processing buffer {"connection_id":233586,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:26:07] local.INFO: IMEI packet received {"connection_id":233586,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 16:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":233586,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:26:08] local.INFO: TCP Data received {"connection_id":230349,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:26:08] local.INFO: Processing buffer {"connection_id":230349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:26:08] local.INFO: IMEI packet received {"connection_id":230349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":230349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:26:11] local.INFO: TCP Data received {"connection_id":233586,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233586,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:26:11] local.INFO: Processing buffer {"connection_id":233586,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:26:11] local.INFO: IMEI packet received {"connection_id":233586,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 16:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":233586,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:26:13] local.INFO: TCP Data received {"connection_id":233586,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab57cb20012d4e6180068414a00072008f30..."} 
[2026-11-05 16:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab57cb20012d4e6180068414a00072008f30..."} 
[2026-11-05 16:26:13] local.INFO: Processing buffer {"connection_id":233586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab57cb20012d4e6180068414a00072008f30..."} 
[2026-11-05 16:26:13] local.INFO: Packet analysis {"connection_id":233586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab57"} 
[2026-11-05 16:26:13] local.INFO: Extracted packet for processing {"connection_id":233586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab57"} 
[2026-11-05 16:26:13] local.INFO: GPS Element Parsed {"raw_longitude":760111488,"raw_latitude":109319328,"longitude_deg":76.0111488,"latitude_deg":10.9319328,"altitude":114,"angle":143,"satellites":48,"speed":58,"hex_longitude":"2d4e6180","hex_latitude":"068414a0","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232257024001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5630484724621793280,"note":"Value kept but may cause issues"} 
[2026-11-05 16:26:13] 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-05 16:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793876020000,"timestamp_ms":1793876020000,"timestamp_seconds":1793876020,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab57cb20"} 
[2026-11-05 16: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-05 16:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-05 16: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-05 16:26: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-05 16: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-05 16: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-05 16:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":233586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":233586,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":233586,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232257024001,"66":28126,"227":206,"19":47872,"24":58,"16":20804383495159808,"45":5630484724621793280},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,19,24,16,45]} 
[2026-11-05 16:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 16:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 16:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232257024001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:26:13] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-11-05 16:26:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 16:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5630484724621793280,"description":"Unknown IO ID 45"} 
[2026-11-05 16:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232257024001,"power":28126,"unknown_227":206,"unknown_19":47872,"ignition":58,"odometer":null,"unknown_45":5630484724621793280}} 
[2026-11-05 16:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":233586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63970,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:26:13] local.INFO: GPS data processed {"connection_id":233586,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:26:13] local.INFO: Acknowledgment sent {"connection_id":233586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:26:18] local.INFO: TCP Data received {"connection_id":230349,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:26:18] local.INFO: Processing buffer {"connection_id":230349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:26:18] local.INFO: IMEI packet received {"connection_id":230349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":230349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:26:20] local.INFO: TCP Data received {"connection_id":230349,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab56adf8012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab56adf8012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:26:20] local.INFO: Processing buffer {"connection_id":230349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab56adf8012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:26:20] local.INFO: Packet analysis {"connection_id":230349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab56"} 
[2026-11-05 16:26:20] local.INFO: Extracted packet for processing {"connection_id":230349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab56"} 
[2026-11-05 16:26:20] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232165376001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793875947000,"timestamp_ms":1793875947000,"timestamp_seconds":1793875947,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab56adf8"} 
[2026-11-05 16: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-05 16:26: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-05 16: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 16:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16: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-05 16: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-05 16:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:26:20] 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-05 16:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232165376001,"66":25321,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 16:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232165376001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:26:20] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 16:26:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232165376001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:26:20] 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":63971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:26:20] local.INFO: GPS data processed {"connection_id":230349,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:26:20] local.INFO: Acknowledgment sent {"connection_id":230349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:26:24] local.INFO: TCP Data received {"connection_id":230349,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab56adf8012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab56adf8012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:26:24] local.INFO: Processing buffer {"connection_id":230349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab56adf8012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:26:24] local.INFO: Packet analysis {"connection_id":230349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab56"} 
[2026-11-05 16:26:24] local.INFO: Extracted packet for processing {"connection_id":230349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab56"} 
[2026-11-05 16:26:24] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232165376001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793875947000,"timestamp_ms":1793875947000,"timestamp_seconds":1793875947,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab56adf8"} 
[2026-11-05 16: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-05 16:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 16:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16: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-05 16: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-05 16:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":230349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":230349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":230349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:26:24] 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-05 16:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232165376001,"66":25321,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 16:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232165376001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:26:24] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 16:26:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232165376001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:26:24] 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":63972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:26:24] local.INFO: GPS data processed {"connection_id":230349,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:26:24] local.INFO: Acknowledgment sent {"connection_id":230349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:26:45] local.INFO: TCP Data received {"connection_id":233586,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab5809a0012d4ea4400683d8e8006e006c30..."} 
[2026-11-05 16:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab5809a0012d4ea4400683d8e8006e006c30..."} 
[2026-11-05 16:26:45] local.INFO: Processing buffer {"connection_id":233586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab5809a0012d4ea4400683d8e8006e006c30..."} 
[2026-11-05 16:26:45] local.INFO: Packet analysis {"connection_id":233586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab58"} 
[2026-11-05 16:26:45] local.INFO: Extracted packet for processing {"connection_id":233586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab58"} 
[2026-11-05 16:26:45] local.INFO: GPS Element Parsed {"raw_longitude":760128576,"raw_latitude":109304040,"longitude_deg":76.0128576,"latitude_deg":10.930404,"altitude":110,"angle":108,"satellites":48,"speed":57,"hex_longitude":"2d4ea440","hex_latitude":"0683d8e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232261120001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5647936173173415936,"note":"Value kept but may cause issues"} 
[2026-11-05 16:26:45] 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-05 16:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793876036000,"timestamp_ms":1793876036000,"timestamp_seconds":1793876036,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab5809a0"} 
[2026-11-05 16: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-05 16:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16: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":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-11-05 16:26: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-05 16: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-05 16: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-05 16:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":233586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":233586,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":233586,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232261120001,"66":28332,"227":206,"19":47872,"24":57,"16":20804383495159808,"45":5647936173173415936},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,19,24,16,45]} 
[2026-11-05 16:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 16:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 16:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232261120001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:26:45] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-11-05 16:26:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 16:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5647936173173415936,"description":"Unknown IO ID 45"} 
[2026-11-05 16:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232261120001,"power":28332,"unknown_227":206,"unknown_19":47872,"ignition":57,"odometer":null,"unknown_45":5647936173173415936}} 
[2026-11-05 16:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":233586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63973,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:26:45] local.INFO: GPS data processed {"connection_id":233586,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:26:45] local.INFO: Acknowledgment sent {"connection_id":233586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:27:03] local.INFO: TCP Data received {"connection_id":229832,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:27:03] local.INFO: Processing buffer {"connection_id":229832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:27:03] local.INFO: IMEI packet received {"connection_id":229832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":229832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:27:08] local.INFO: TCP Data received {"connection_id":229832,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:27:08] local.INFO: Processing buffer {"connection_id":229832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:27:08] local.INFO: IMEI packet received {"connection_id":229832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":229832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:27:10] local.INFO: TCP Data received {"connection_id":229832,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab56adf8012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab56adf8012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:27:10] local.INFO: Processing buffer {"connection_id":229832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab56adf8012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:27:10] local.INFO: Packet analysis {"connection_id":229832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab56"} 
[2026-11-05 16:27:10] local.INFO: Extracted packet for processing {"connection_id":229832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab56"} 
[2026-11-05 16:27:10] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232165376001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793875947000,"timestamp_ms":1793875947000,"timestamp_seconds":1793875947,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab56adf8"} 
[2026-11-05 16:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 16:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232165376001,"66":25321,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 16:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232165376001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:27:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 16:27:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232165376001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":229832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:27:10] local.INFO: GPS data processed {"connection_id":229832,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:27:10] local.INFO: Acknowledgment sent {"connection_id":229832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:27:10] local.INFO: TCP Data received {"connection_id":231690,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:27:10] local.INFO: Processing buffer {"connection_id":231690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:27:10] local.INFO: IMEI packet received {"connection_id":231690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 16:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":231690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:27:16] local.INFO: TCP Data received {"connection_id":231690,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:27:16] local.INFO: Processing buffer {"connection_id":231690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:27:16] local.INFO: IMEI packet received {"connection_id":231690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 16:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":231690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:27:17] local.INFO: TCP Data received {"connection_id":231690,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab585ba8012d4efb000683c9980075006230..."} 
[2026-11-05 16:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab585ba8012d4efb000683c9980075006230..."} 
[2026-11-05 16:27:17] local.INFO: Processing buffer {"connection_id":231690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab585ba8012d4efb000683c9980075006230..."} 
[2026-11-05 16:27:17] local.INFO: Packet analysis {"connection_id":231690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab58"} 
[2026-11-05 16:27:17] local.INFO: Extracted packet for processing {"connection_id":231690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab58"} 
[2026-11-05 16:27:17] local.INFO: GPS Element Parsed {"raw_longitude":760150784,"raw_latitude":109300120,"longitude_deg":76.0150784,"latitude_deg":10.930012,"altitude":117,"angle":98,"satellites":48,"speed":0,"hex_longitude":"2d4efb00","hex_latitude":"0683c998","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232265216001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5666724627864938496,"note":"Value kept but may cause issues"} 
[2026-11-05 16:27:17] 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-05 16:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793876057000,"timestamp_ms":1793876057000,"timestamp_seconds":1793876057,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab585ba8"} 
[2026-11-05 16: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-05 16:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-05 16:27: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-05 16: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-05 16: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-05 16:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":231690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":231690,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":231690,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232265216001,"66":28278,"227":206,"19":47872,"24":0,"16":20804383495159808,"45":5666724627864938496},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,19,24,16,45]} 
[2026-11-05 16:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 16:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 16:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232265216001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:27:17] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-11-05 16:27:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 16:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5666724627864938496,"description":"Unknown IO ID 45"} 
[2026-11-05 16:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232265216001,"power":28278,"unknown_227":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5666724627864938496}} 
[2026-11-05 16:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":231690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63975,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:27:17] local.INFO: GPS data processed {"connection_id":231690,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:27:17] local.INFO: Acknowledgment sent {"connection_id":231690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:27:41] local.INFO: TCP Data received {"connection_id":229832,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab56adf8012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab56adf8012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:27:41] local.INFO: Processing buffer {"connection_id":229832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab56adf8012d7fa60005afe2e80000011029..."} 
[2026-11-05 16:27:41] local.INFO: Packet analysis {"connection_id":229832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab56"} 
[2026-11-05 16:27:41] local.INFO: Extracted packet for processing {"connection_id":229832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab56"} 
[2026-11-05 16:27:41] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232165376001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793875947000,"timestamp_ms":1793875947000,"timestamp_seconds":1793875947,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab56adf8"} 
[2026-11-05 16: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-05 16:27: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-05 16:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 16:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:27: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-05 16:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232165376001,"66":25321,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 16:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232165376001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:27:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 16:27:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232165376001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":229832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:27:41] local.INFO: GPS data processed {"connection_id":229832,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:27:41] local.INFO: Acknowledgment sent {"connection_id":229832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:27:49] local.INFO: TCP Data received {"connection_id":231690,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab5942200100000000000000000000000000..."} 
[2026-11-05 16:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab5942200100000000000000000000000000..."} 
[2026-11-05 16:27:49] local.INFO: Processing buffer {"connection_id":231690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab5942200100000000000000000000000000..."} 
[2026-11-05 16:27:49] local.INFO: Packet analysis {"connection_id":231690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab59"} 
[2026-11-05 16:27:49] local.INFO: Extracted packet for processing {"connection_id":231690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab59"} 
[2026-11-05 16:27: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-05 16: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-05 16:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232270592001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5691142582093584384,"note":"Value kept but may cause issues"} 
[2026-11-05 16:27:49] 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-05 16:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793876116000,"timestamp_ms":1793876116000,"timestamp_seconds":1793876116,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab594220"} 
[2026-11-05 16: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-05 16:27: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-05 16: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":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 16:27:49] 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-05 16: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-05 16: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-05 16:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":231690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":231690,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":231690,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":231690,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 16:27:49] local.INFO: GPS data processed {"connection_id":231690,"processed":0,"errors":0,"total":1} 
[2026-11-05 16:27:49] local.INFO: Acknowledgment sent {"connection_id":231690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:28:03] local.INFO: TCP Data received {"connection_id":230351,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:28:03] local.INFO: Processing buffer {"connection_id":230351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:28:03] local.INFO: IMEI packet received {"connection_id":230351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":230351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:28:06] local.INFO: TCP Data received {"connection_id":231691,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:28:06] local.INFO: Processing buffer {"connection_id":231691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:28:06] local.INFO: IMEI packet received {"connection_id":231691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 16:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":231691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:28:06] local.INFO: TCP Data received {"connection_id":230351,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:28:06] local.INFO: Processing buffer {"connection_id":230351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:28:06] local.INFO: IMEI packet received {"connection_id":230351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":230351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:28:07] local.INFO: TCP Data received {"connection_id":230351,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab5b45c0012d7fa60005afe2e80004011029..."} 
[2026-11-05 16:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab5b45c0012d7fa60005afe2e80004011029..."} 
[2026-11-05 16:28:07] local.INFO: Processing buffer {"connection_id":230351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab5b45c0012d7fa60005afe2e80004011029..."} 
[2026-11-05 16:28:07] local.INFO: Packet analysis {"connection_id":230351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab5b"} 
[2026-11-05 16:28:07] local.INFO: Extracted packet for processing {"connection_id":230351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab5b"} 
[2026-11-05 16:28:07] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":4,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232242432001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1793876248000,"timestamp_ms":1793876248000,"timestamp_seconds":1793876248,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab5b45c0"} 
[2026-11-05 16:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":230351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":230351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":230351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232242432001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232242432001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:28:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:28:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232242432001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:28:07] 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":63977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:28:07] local.INFO: GPS data processed {"connection_id":230351,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:28:07] local.INFO: Acknowledgment sent {"connection_id":230351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:28:11] local.INFO: TCP Data received {"connection_id":231691,"ip":"117.224.89.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:28:11] local.INFO: Processing buffer {"connection_id":231691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:28:11] local.INFO: IMEI packet received {"connection_id":231691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-05 16:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":231691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:28:13] local.INFO: TCP Data received {"connection_id":231691,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab58c908012d4fa5000683b0500083006232..."} 
[2026-11-05 16:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab58c908012d4fa5000683b0500083006232..."} 
[2026-11-05 16:28:13] local.INFO: Processing buffer {"connection_id":231691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab58c908012d4fa5000683b0500083006232..."} 
[2026-11-05 16:28:13] local.INFO: Packet analysis {"connection_id":231691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab58"} 
[2026-11-05 16:28:13] local.INFO: Extracted packet for processing {"connection_id":231691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab58"} 
[2026-11-05 16:28:13] local.INFO: GPS Element Parsed {"raw_longitude":760194304,"raw_latitude":109293648,"longitude_deg":76.0194304,"latitude_deg":10.9293648,"altitude":131,"angle":98,"satellites":50,"speed":51,"hex_longitude":"2d4fa500","hex_latitude":"0683b050","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:28:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,251,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 16:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793876085000,"timestamp_ms":1793876085000,"timestamp_seconds":1793876085,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab58c908"} 
[2026-11-05 16: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-05 16:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16: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":110,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-11-05 16:28:13] 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-05 16: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-05 16: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-05 16:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":231691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":231691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":231691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28278,"251":206,"19":47872,"24":51,"16":20804383495159808},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16]} 
[2026-11-05 16:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 16:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 16:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 16:28:13] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-11-05 16:28:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 16:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:28:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28278,"unknown_251":206,"unknown_19":47872,"ignition":51,"odometer":null}} 
[2026-11-05 16:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":231691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63978,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:28:13] local.INFO: GPS data processed {"connection_id":231691,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:28:13] local.INFO: Acknowledgment sent {"connection_id":231691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:28:38] local.INFO: TCP Data received {"connection_id":230351,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab5b45c0012d7fa60005afe2e80004011029..."} 
[2026-11-05 16:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab5b45c0012d7fa60005afe2e80004011029..."} 
[2026-11-05 16:28:38] local.INFO: Processing buffer {"connection_id":230351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab5b45c0012d7fa60005afe2e80004011029..."} 
[2026-11-05 16:28:38] local.INFO: Packet analysis {"connection_id":230351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab5b"} 
[2026-11-05 16:28:38] local.INFO: Extracted packet for processing {"connection_id":230351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab5b"} 
[2026-11-05 16:28:38] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":4,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232242432001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1793876248000,"timestamp_ms":1793876248000,"timestamp_seconds":1793876248,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab5b45c0"} 
[2026-11-05 16:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":230351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":230351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":230351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:28:38] 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-05 16:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232242432001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232242432001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:28:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:28:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232242432001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:28:38] 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":63979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:28:38] local.INFO: GPS data processed {"connection_id":230351,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:28:38] local.INFO: Acknowledgment sent {"connection_id":230351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:28:58] local.INFO: TCP Data received {"connection_id":231691,"ip":"117.224.89.99","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab591b10012d4ff8c00683a440008a006031..."} 
[2026-11-05 16:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab591b10012d4ff8c00683a440008a006031..."} 
[2026-11-05 16:28:58] local.INFO: Processing buffer {"connection_id":231691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab591b10012d4ff8c00683a440008a006031..."} 
[2026-11-05 16:28:58] local.INFO: Packet analysis {"connection_id":231691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab59"} 
[2026-11-05 16:28:58] local.INFO: Extracted packet for processing {"connection_id":231691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab59"} 
[2026-11-05 16:28:58] local.INFO: GPS Element Parsed {"raw_longitude":760215744,"raw_latitude":109290560,"longitude_deg":76.0215744,"latitude_deg":10.929056,"altitude":138,"angle":96,"satellites":49,"speed":0,"hex_longitude":"2d4ff8c0","hex_latitude":"0683a440","is_valid_coordinates":true} 
[2026-11-05 16:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232277760001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804383495159808,"note":"Value kept but may cause issues"} 
[2026-11-05 16:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5738993328132739072,"note":"Value kept but may cause issues"} 
[2026-11-05 16:28:58] 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-05 16:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793876106000,"timestamp_ms":1793876106000,"timestamp_seconds":1793876106,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab591b10"} 
[2026-11-05 16:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 16:28:58] 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-05 16:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":231691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":231691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":231691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-05 16:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.89.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-05 16:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-05 16:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232277760001,"66":28300,"251":206,"19":47872,"24":0,"16":20804383495159808,"45":5738993328132739072},"client_ip":"117.224.89.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-11-05 16:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-05 16:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-05 16:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232277760001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:28:58] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-11-05 16:28:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-05 16:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804383495159808,"km_value":20804383495159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5738993328132739072,"description":"Unknown IO ID 45"} 
[2026-11-05 16:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232277760001,"power":28300,"unknown_251":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5738993328132739072}} 
[2026-11-05 16:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":231691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63980,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:28:58] local.INFO: GPS data processed {"connection_id":231691,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:28:58] local.INFO: Acknowledgment sent {"connection_id":231691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:29:03] local.INFO: TCP Data received {"connection_id":233587,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:29:03] local.INFO: Processing buffer {"connection_id":233587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:29:03] local.INFO: IMEI packet received {"connection_id":233587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":233587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:29:08] local.INFO: TCP Data received {"connection_id":233587,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:29:08] local.INFO: Processing buffer {"connection_id":233587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:29:08] local.INFO: IMEI packet received {"connection_id":233587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":233587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:29:09] local.INFO: TCP Data received {"connection_id":233587,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab5b45c0012d7fa60005afe2e80004011029..."} 
[2026-11-05 16:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab5b45c0012d7fa60005afe2e80004011029..."} 
[2026-11-05 16:29:09] local.INFO: Processing buffer {"connection_id":233587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab5b45c0012d7fa60005afe2e80004011029..."} 
[2026-11-05 16:29:09] local.INFO: Packet analysis {"connection_id":233587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab5b"} 
[2026-11-05 16:29:09] local.INFO: Extracted packet for processing {"connection_id":233587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab5b"} 
[2026-11-05 16:29:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":4,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232242432001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793876248000,"timestamp_ms":1793876248000,"timestamp_seconds":1793876248,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab5b45c0"} 
[2026-11-05 16:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:29:09] 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-05 16:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232242432001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232242432001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:29:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:29:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232242432001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":233587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:29:09] local.INFO: GPS data processed {"connection_id":233587,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:29:09] local.INFO: Acknowledgment sent {"connection_id":233587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:29:40] local.INFO: TCP Data received {"connection_id":233587,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab5b45c0012d7fa60005afe2e80004011029..."} 
[2026-11-05 16:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab5b45c0012d7fa60005afe2e80004011029..."} 
[2026-11-05 16:29:40] local.INFO: Processing buffer {"connection_id":233587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab5b45c0012d7fa60005afe2e80004011029..."} 
[2026-11-05 16:29:40] local.INFO: Packet analysis {"connection_id":233587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab5b"} 
[2026-11-05 16:29:40] local.INFO: Extracted packet for processing {"connection_id":233587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab5b"} 
[2026-11-05 16:29:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":4,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232242432001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793876248000,"timestamp_ms":1793876248000,"timestamp_seconds":1793876248,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab5b45c0"} 
[2026-11-05 16: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-05 16:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232242432001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232242432001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:29:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232242432001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":233587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:29:40] local.INFO: GPS data processed {"connection_id":233587,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:29:40] local.INFO: Acknowledgment sent {"connection_id":233587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:30:03] local.INFO: TCP Data received {"connection_id":230353,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:30:03] local.INFO: Processing buffer {"connection_id":230353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:30:03] local.INFO: IMEI packet received {"connection_id":230353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":230353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:30:08] local.INFO: TCP Data received {"connection_id":230353,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:30:08] local.INFO: Processing buffer {"connection_id":230353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:30:08] local.INFO: IMEI packet received {"connection_id":230353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":230353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:30:09] local.INFO: TCP Data received {"connection_id":230353,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab5b45c0012d7fa60005afe2e80004011029..."} 
[2026-11-05 16:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab5b45c0012d7fa60005afe2e80004011029..."} 
[2026-11-05 16:30:09] local.INFO: Processing buffer {"connection_id":230353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab5b45c0012d7fa60005afe2e80004011029..."} 
[2026-11-05 16:30:09] local.INFO: Packet analysis {"connection_id":230353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab5b"} 
[2026-11-05 16:30:09] local.INFO: Extracted packet for processing {"connection_id":230353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab5b"} 
[2026-11-05 16:30:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":4,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232242432001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793876248000,"timestamp_ms":1793876248000,"timestamp_seconds":1793876248,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab5b45c0"} 
[2026-11-05 16: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-05 16:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16: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-05 16: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-05 16:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232242432001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232242432001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:30:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:30:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232242432001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:30:09] 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":63983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:30:09] local.INFO: GPS data processed {"connection_id":230353,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:30:09] local.INFO: Acknowledgment sent {"connection_id":230353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:30:33] local.INFO: TCP Data received {"connection_id":233588,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233588,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:30:33] local.INFO: Processing buffer {"connection_id":233588,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:30:33] local.INFO: IMEI packet received {"connection_id":233588,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":233588,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:30:33] local.INFO: TCP Data received {"connection_id":233588,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233588,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:30:33] local.INFO: Processing buffer {"connection_id":233588,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:30:33] local.INFO: IMEI packet received {"connection_id":233588,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":233588,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:30:35] local.INFO: TCP Data received {"connection_id":233588,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233588,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:30:35] local.INFO: Processing buffer {"connection_id":233588,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:30:35] local.INFO: IMEI packet received {"connection_id":233588,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":233588,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:30:36] local.INFO: TCP Data received {"connection_id":233588,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab5df540012d0e318007066918001f012321..."} 
[2026-11-05 16:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab5df540012d0e318007066918001f012321..."} 
[2026-11-05 16:30:36] local.INFO: Processing buffer {"connection_id":233588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab5df540012d0e318007066918001f012321..."} 
[2026-11-05 16:30:36] local.INFO: Packet analysis {"connection_id":233588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab5d"} 
[2026-11-05 16:30:36] local.INFO: Extracted packet for processing {"connection_id":233588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab5d"} 
[2026-11-05 16:30:36] local.INFO: GPS Element Parsed {"raw_longitude":755904896,"raw_latitude":117860632,"longitude_deg":75.5904896,"latitude_deg":11.7860632,"altitude":31,"angle":291,"satellites":33,"speed":7,"hex_longitude":"2d0e3180","hex_latitude":"07066918","is_valid_coordinates":true} 
[2026-11-05 16:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232364288001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39502321754832896,"note":"Value kept but may cause issues"} 
[2026-11-05 16:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022950464282998784,"note":"Value kept but may cause issues"} 
[2026-11-05 16:30: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-05 16:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1793876424000,"timestamp_ms":1793876424000,"timestamp_seconds":1793876424,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab5df540"} 
[2026-11-05 16:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-11-05 16:30:36] 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-05 16:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":233588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":233588,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":233588,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232364288001,"66":14026,"219":206,"94":10240,"24":7,"16":39502321754832896,"45":1022950464282998784},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 16:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232364288001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:30:36] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 16:30:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39502321754832896,"km_value":39502321754832.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022950464282998784,"description":"Unknown IO ID 45"} 
[2026-11-05 16:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232364288001,"power":14026,"unknown_219":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":1022950464282998784}} 
[2026-11-05 16:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":233588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63984,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:30:36] local.INFO: GPS data processed {"connection_id":233588,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:30:36] local.INFO: Acknowledgment sent {"connection_id":233588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:30:41] local.INFO: TCP Data received {"connection_id":230353,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab5b45c0012d7fa60005afe2e80004011029..."} 
[2026-11-05 16:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab5b45c0012d7fa60005afe2e80004011029..."} 
[2026-11-05 16:30:41] local.INFO: Processing buffer {"connection_id":230353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab5b45c0012d7fa60005afe2e80004011029..."} 
[2026-11-05 16:30:41] local.INFO: Packet analysis {"connection_id":230353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab5b"} 
[2026-11-05 16:30:41] local.INFO: Extracted packet for processing {"connection_id":230353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab5b"} 
[2026-11-05 16:30:41] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":4,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232242432001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793876248000,"timestamp_ms":1793876248000,"timestamp_seconds":1793876248,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab5b45c0"} 
[2026-11-05 16: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-05 16: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-05 16:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:30: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-05 16:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232242432001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232242432001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:30:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:30:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232242432001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:30:41] 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":63985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:30:41] local.INFO: GPS data processed {"connection_id":230353,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:30:41] local.INFO: Acknowledgment sent {"connection_id":230353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:31:07] local.INFO: TCP Data received {"connection_id":233588,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab5e1098012d0e2cc007066bf0001d014621..."} 
[2026-11-05 16:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab5e1098012d0e2cc007066bf0001d014621..."} 
[2026-11-05 16:31:08] local.INFO: Processing buffer {"connection_id":233588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab5e1098012d0e2cc007066bf0001d014621..."} 
[2026-11-05 16:31:08] local.INFO: Packet analysis {"connection_id":233588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab5e"} 
[2026-11-05 16:31:08] local.INFO: Extracted packet for processing {"connection_id":233588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab5e"} 
[2026-11-05 16:31:08] local.INFO: GPS Element Parsed {"raw_longitude":755903680,"raw_latitude":117861360,"longitude_deg":75.590368,"latitude_deg":11.786136,"altitude":29,"angle":326,"satellites":33,"speed":12,"hex_longitude":"2d0e2cc0","hex_latitude":"07066bf0","is_valid_coordinates":true} 
[2026-11-05 16:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232364544001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39502390474309632,"note":"Value kept but may cause issues"} 
[2026-11-05 16:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022739358050490368,"note":"Value kept but may cause issues"} 
[2026-11-05 16:31:08] 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-05 16:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793876431000,"timestamp_ms":1793876431000,"timestamp_seconds":1793876431,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab5e1098"} 
[2026-11-05 16:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:31:08] 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-05 16:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-11-05 16:31:08] 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-05 16:31: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-05 16:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":233588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":233588,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":233588,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232364544001,"66":13722,"219":206,"94":10240,"24":12,"16":39502390474309632,"45":1022739358050490368},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 16:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232364544001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:31:08] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 16:31:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39502390474309632,"km_value":39502390474309.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022739358050490368,"description":"Unknown IO ID 45"} 
[2026-11-05 16:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232364544001,"power":13722,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":1022739358050490368}} 
[2026-11-05 16:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":233588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63986,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:31:08] local.INFO: GPS data processed {"connection_id":233588,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:31:08] local.INFO: Acknowledgment sent {"connection_id":233588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:31:08] local.INFO: TCP Data received {"connection_id":230354,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:31:08] local.INFO: Processing buffer {"connection_id":230354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:31:08] local.INFO: IMEI packet received {"connection_id":230354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":230354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:31:14] local.INFO: TCP Data received {"connection_id":230354,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:31:14] local.INFO: Processing buffer {"connection_id":230354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:31:14] local.INFO: IMEI packet received {"connection_id":230354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":230354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:31:15] local.INFO: TCP Data received {"connection_id":230354,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab5b45c0012d7fa60005afe2e80004011029..."} 
[2026-11-05 16:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab5b45c0012d7fa60005afe2e80004011029..."} 
[2026-11-05 16:31:15] local.INFO: Processing buffer {"connection_id":230354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab5b45c0012d7fa60005afe2e80004011029..."} 
[2026-11-05 16:31:15] local.INFO: Packet analysis {"connection_id":230354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab5b"} 
[2026-11-05 16:31:15] local.INFO: Extracted packet for processing {"connection_id":230354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab5b"} 
[2026-11-05 16:31:15] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":4,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232242432001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793876248000,"timestamp_ms":1793876248000,"timestamp_seconds":1793876248,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab5b45c0"} 
[2026-11-05 16: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-05 16:31: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-05 16:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:31:15] 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-05 16:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232242432001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232242432001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:31:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:31:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232242432001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:31:15] 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":63987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:31:15] local.INFO: GPS data processed {"connection_id":230354,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:31:15] local.INFO: Acknowledgment sent {"connection_id":230354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:31:18] local.INFO: TCP Data received {"connection_id":230354,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab5b45c0012d7fa60005afe2e80004011029..."} 
[2026-11-05 16:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab5b45c0012d7fa60005afe2e80004011029..."} 
[2026-11-05 16:31:18] local.INFO: Processing buffer {"connection_id":230354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab5b45c0012d7fa60005afe2e80004011029..."} 
[2026-11-05 16:31:18] local.INFO: Packet analysis {"connection_id":230354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab5b"} 
[2026-11-05 16:31:18] local.INFO: Extracted packet for processing {"connection_id":230354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab5b"} 
[2026-11-05 16:31:18] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":4,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232242432001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793876248000,"timestamp_ms":1793876248000,"timestamp_seconds":1793876248,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab5b45c0"} 
[2026-11-05 16: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-05 16:31: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-05 16:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:31:18] 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-05 16:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232242432001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232242432001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:31:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:31:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232242432001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:31:18] 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":63988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:31:18] local.INFO: GPS data processed {"connection_id":230354,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:31:18] local.INFO: Acknowledgment sent {"connection_id":230354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:31:31] local.INFO: TCP Data received {"connection_id":231693,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231693,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:31:31] local.INFO: Processing buffer {"connection_id":231693,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:31:31] local.INFO: IMEI packet received {"connection_id":231693,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":231693,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:31:34] local.INFO: TCP Data received {"connection_id":231693,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231693,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:31:34] local.INFO: Processing buffer {"connection_id":231693,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:31:34] local.INFO: IMEI packet received {"connection_id":231693,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":231693,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:31:36] local.INFO: TCP Data received {"connection_id":231693,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231693,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:31:36] local.INFO: Processing buffer {"connection_id":231693,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:31:36] local.INFO: IMEI packet received {"connection_id":231693,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":231693,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:31:37] local.INFO: TCP Data received {"connection_id":231693,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab5e1480012d0e2c8007066d28001d01591f..."} 
[2026-11-05 16:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab5e1480012d0e2c8007066d28001d01591f..."} 
[2026-11-05 16:31:37] local.INFO: Processing buffer {"connection_id":231693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab5e1480012d0e2c8007066d28001d01591f..."} 
[2026-11-05 16:31:37] local.INFO: Packet analysis {"connection_id":231693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab5e"} 
[2026-11-05 16:31:37] local.INFO: Extracted packet for processing {"connection_id":231693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab5e"} 
[2026-11-05 16:31:37] local.INFO: GPS Element Parsed {"raw_longitude":755903616,"raw_latitude":117861672,"longitude_deg":75.5903616,"latitude_deg":11.7861672,"altitude":29,"angle":345,"satellites":31,"speed":13,"hex_longitude":"2d0e2c80","hex_latitude":"07066d28","is_valid_coordinates":true} 
[2026-11-05 16:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232366336001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39502403359211520,"note":"Value kept but may cause issues"} 
[2026-11-05 16:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1021402351911301120,"note":"Value kept but may cause issues"} 
[2026-11-05 16:31:37] 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-05 16:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793876432000,"timestamp_ms":1793876432000,"timestamp_seconds":1793876432,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab5e1480"} 
[2026-11-05 16:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-11-05 16:31:37] 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-05 16:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":231693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":231693,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":231693,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232366336001,"66":14461,"219":206,"94":10240,"24":13,"16":39502403359211520,"45":1021402351911301120},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 16:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232366336001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:31:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 16:31:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39502403359211520,"km_value":39502403359211.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1021402351911301120,"description":"Unknown IO ID 45"} 
[2026-11-05 16:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232366336001,"power":14461,"unknown_219":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":1021402351911301120}} 
[2026-11-05 16:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":231693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63989,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:31:37] local.INFO: GPS data processed {"connection_id":231693,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:31:37] local.INFO: Acknowledgment sent {"connection_id":231693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:32:03] local.INFO: TCP Data received {"connection_id":229833,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:32:03] local.INFO: Processing buffer {"connection_id":229833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:32:03] local.INFO: IMEI packet received {"connection_id":229833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":229833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:32:08] local.INFO: TCP Data received {"connection_id":231693,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab5f7028012d0e0b8007068708001b012023..."} 
[2026-11-05 16:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab5f7028012d0e0b8007068708001b012023..."} 
[2026-11-05 16:32:08] local.INFO: Processing buffer {"connection_id":231693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab5f7028012d0e0b8007068708001b012023..."} 
[2026-11-05 16:32:08] local.INFO: Packet analysis {"connection_id":231693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab5f"} 
[2026-11-05 16:32:08] local.INFO: Extracted packet for processing {"connection_id":231693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab5f"} 
[2026-11-05 16:32:08] local.INFO: GPS Element Parsed {"raw_longitude":755895168,"raw_latitude":117868296,"longitude_deg":75.5895168,"latitude_deg":11.7868296,"altitude":27,"angle":288,"satellites":35,"speed":5,"hex_longitude":"2d0e0b80","hex_latitude":"07068708","is_valid_coordinates":true} 
[2026-11-05 16:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232388864001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39503039014371328,"note":"Value kept but may cause issues"} 
[2026-11-05 16:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1012395152658323456,"note":"Value kept but may cause issues"} 
[2026-11-05 16:32:08] 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-05 16:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793876521000,"timestamp_ms":1793876521000,"timestamp_seconds":1793876521,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab5f7028"} 
[2026-11-05 16:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:32:08] 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-05 16:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 16:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":231693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":231693,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":231693,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232388864001,"66":14135,"219":206,"94":10240,"24":5,"16":39503039014371328,"45":1012395152658323456},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 16:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232388864001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:32:08] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 16:32:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39503039014371328,"km_value":39503039014371.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1012395152658323456,"description":"Unknown IO ID 45"} 
[2026-11-05 16:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232388864001,"power":14135,"unknown_219":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":1012395152658323456}} 
[2026-11-05 16:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":231693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63990,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:32:08] local.INFO: GPS data processed {"connection_id":231693,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:32:08] local.INFO: Acknowledgment sent {"connection_id":231693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:32:08] local.INFO: TCP Data received {"connection_id":229833,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:32:08] local.INFO: Processing buffer {"connection_id":229833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:32:08] local.INFO: IMEI packet received {"connection_id":229833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":229833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:32:09] local.INFO: TCP Data received {"connection_id":229833,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab5b45c0012d7fa60005afe2e80004011029..."} 
[2026-11-05 16:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab5b45c0012d7fa60005afe2e80004011029..."} 
[2026-11-05 16:32:09] local.INFO: Processing buffer {"connection_id":229833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab5b45c0012d7fa60005afe2e80004011029..."} 
[2026-11-05 16:32:09] local.INFO: Packet analysis {"connection_id":229833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab5b"} 
[2026-11-05 16:32:09] local.INFO: Extracted packet for processing {"connection_id":229833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab5b"} 
[2026-11-05 16:32:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":4,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 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-05 16:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232242432001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793876248000,"timestamp_ms":1793876248000,"timestamp_seconds":1793876248,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab5b45c0"} 
[2026-11-05 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-05 16:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 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-05 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-05 16:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:32:09] 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-05 16:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232242432001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232242432001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:32:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:32:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232242432001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":229833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:32:09] local.INFO: GPS data processed {"connection_id":229833,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:32:09] local.INFO: Acknowledgment sent {"connection_id":229833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:32:20] local.INFO: TCP Data received {"connection_id":233589,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233589,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:32:20] local.INFO: Processing buffer {"connection_id":233589,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:32:20] local.INFO: IMEI packet received {"connection_id":233589,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 16:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":233589,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:32:31] local.INFO: TCP Data received {"connection_id":233590,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233590,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:32:31] local.INFO: Processing buffer {"connection_id":233590,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:32:31] local.INFO: IMEI packet received {"connection_id":233590,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":233590,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:32:32] local.INFO: TCP Data received {"connection_id":233590,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233590,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:32:32] local.INFO: Processing buffer {"connection_id":233590,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:32:32] local.INFO: IMEI packet received {"connection_id":233590,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":233590,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:32:32] local.INFO: TCP Data received {"connection_id":233590,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233590,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:32:32] local.INFO: Processing buffer {"connection_id":233590,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:32:32] local.INFO: IMEI packet received {"connection_id":233590,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":233590,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:32:33] local.INFO: TCP Data received {"connection_id":233590,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233590,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:32:33] local.INFO: Processing buffer {"connection_id":233590,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:32:33] local.INFO: IMEI packet received {"connection_id":233590,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":233590,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:32:43] local.INFO: TCP Data received {"connection_id":229833,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab5b45c0012d7fa60005afe2e80004011029..."} 
[2026-11-05 16:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab5b45c0012d7fa60005afe2e80004011029..."} 
[2026-11-05 16:32:43] local.INFO: Processing buffer {"connection_id":229833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab5b45c0012d7fa60005afe2e80004011029..."} 
[2026-11-05 16:32:43] local.INFO: Packet analysis {"connection_id":229833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab5b"} 
[2026-11-05 16:32:43] local.INFO: Extracted packet for processing {"connection_id":229833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab5b"} 
[2026-11-05 16:32:43] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":4,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232242432001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793876248000,"timestamp_ms":1793876248000,"timestamp_seconds":1793876248,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab5b45c0"} 
[2026-11-05 16: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-05 16:32: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-05 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:32: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-05 16: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-05 16: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-05 16:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:32:43] 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-05 16:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232242432001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232242432001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:32:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:32:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232242432001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":229833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:32:43] local.INFO: GPS data processed {"connection_id":229833,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:32:43] local.INFO: Acknowledgment sent {"connection_id":229833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:33:03] local.INFO: TCP Data received {"connection_id":231694,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:33:03] local.INFO: Processing buffer {"connection_id":231694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:33:03] local.INFO: IMEI packet received {"connection_id":231694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":231694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:33:07] local.INFO: TCP Data received {"connection_id":231694,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:33:07] local.INFO: Processing buffer {"connection_id":231694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:33:07] local.INFO: IMEI packet received {"connection_id":231694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":231694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:33:08] local.INFO: TCP Data received {"connection_id":231694,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:33:08] local.INFO: Processing buffer {"connection_id":231694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:33:08] local.INFO: Packet analysis {"connection_id":231694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab5f"} 
[2026-11-05 16:33:08] local.INFO: Extracted packet for processing {"connection_id":231694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab5f"} 
[2026-11-05 16:33:08] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:33: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-05 16:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232319488001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793876549000,"timestamp_ms":1793876549000,"timestamp_seconds":1793876549,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab5fdd88"} 
[2026-11-05 16:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:33: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-05 16:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":231694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":231694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":231694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:33:08] 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-05 16:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232319488001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232319488001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:33:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:33:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232319488001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":231694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:33:08] local.INFO: GPS data processed {"connection_id":231694,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:33:08] local.INFO: Acknowledgment sent {"connection_id":231694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:33:39] local.INFO: TCP Data received {"connection_id":231694,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:33:39] local.INFO: Processing buffer {"connection_id":231694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:33:39] local.INFO: Packet analysis {"connection_id":231694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab5f"} 
[2026-11-05 16:33:39] local.INFO: Extracted packet for processing {"connection_id":231694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab5f"} 
[2026-11-05 16:33:39] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232319488001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793876549000,"timestamp_ms":1793876549000,"timestamp_seconds":1793876549,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab5fdd88"} 
[2026-11-05 16:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":231694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":231694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":231694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232319488001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232319488001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:33:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:33:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232319488001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":231694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:33:39] local.INFO: GPS data processed {"connection_id":231694,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:33:39] local.INFO: Acknowledgment sent {"connection_id":231694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:34:03] local.INFO: TCP Data received {"connection_id":229835,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:34:03] local.INFO: Processing buffer {"connection_id":229835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:34:03] local.INFO: IMEI packet received {"connection_id":229835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":229835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:34:08] local.INFO: TCP Data received {"connection_id":229835,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:34:08] local.INFO: Processing buffer {"connection_id":229835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:34:08] local.INFO: IMEI packet received {"connection_id":229835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":229835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:34:12] local.INFO: TCP Data received {"connection_id":229835,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:34:12] local.INFO: Processing buffer {"connection_id":229835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:34:12] local.INFO: Packet analysis {"connection_id":229835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab5f"} 
[2026-11-05 16:34:12] local.INFO: Extracted packet for processing {"connection_id":229835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab5f"} 
[2026-11-05 16:34:12] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232319488001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793876549000,"timestamp_ms":1793876549000,"timestamp_seconds":1793876549,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab5fdd88"} 
[2026-11-05 16: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-05 16: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-05 16:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:34: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-05 16:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232319488001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232319488001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:34:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:34:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232319488001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":229835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:34:12] local.INFO: GPS data processed {"connection_id":229835,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:34:12] local.INFO: Acknowledgment sent {"connection_id":229835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:34:52] local.INFO: TCP Data received {"connection_id":229835,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:34:52] local.INFO: Processing buffer {"connection_id":229835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:34:52] local.INFO: Packet analysis {"connection_id":229835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab5f"} 
[2026-11-05 16:34:52] local.INFO: Extracted packet for processing {"connection_id":229835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab5f"} 
[2026-11-05 16:34:52] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232319488001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793876549000,"timestamp_ms":1793876549000,"timestamp_seconds":1793876549,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab5fdd88"} 
[2026-11-05 16: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-05 16:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":229835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":229835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":229835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232319488001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232319488001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:34:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:34:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232319488001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":229835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:34:52] local.INFO: GPS data processed {"connection_id":229835,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:34:52] local.INFO: Acknowledgment sent {"connection_id":229835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:35:03] local.INFO: TCP Data received {"connection_id":233591,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:35:03] local.INFO: Processing buffer {"connection_id":233591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:35:03] local.INFO: IMEI packet received {"connection_id":233591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":233591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:35:08] local.INFO: TCP Data received {"connection_id":233591,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:35:08] local.INFO: Processing buffer {"connection_id":233591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:35:08] local.INFO: IMEI packet received {"connection_id":233591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":233591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:35:09] local.INFO: TCP Data received {"connection_id":233591,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:35:09] local.INFO: Processing buffer {"connection_id":233591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:35:09] local.INFO: Packet analysis {"connection_id":233591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab5f"} 
[2026-11-05 16:35:09] local.INFO: Extracted packet for processing {"connection_id":233591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab5f"} 
[2026-11-05 16:35:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232319488001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793876549000,"timestamp_ms":1793876549000,"timestamp_seconds":1793876549,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab5fdd88"} 
[2026-11-05 16:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:35:09] 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-05 16:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232319488001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232319488001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:35:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:35:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232319488001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":233591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:35:09] local.INFO: GPS data processed {"connection_id":233591,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:35:09] local.INFO: Acknowledgment sent {"connection_id":233591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:35:40] local.INFO: TCP Data received {"connection_id":233591,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:35:40] local.INFO: Processing buffer {"connection_id":233591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:35:40] local.INFO: Packet analysis {"connection_id":233591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab5f"} 
[2026-11-05 16:35:40] local.INFO: Extracted packet for processing {"connection_id":233591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab5f"} 
[2026-11-05 16:35:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232319488001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793876549000,"timestamp_ms":1793876549000,"timestamp_seconds":1793876549,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab5fdd88"} 
[2026-11-05 16:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232319488001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232319488001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:35:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:35:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232319488001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":233591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:35:40] local.INFO: GPS data processed {"connection_id":233591,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:35:40] local.INFO: Acknowledgment sent {"connection_id":233591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:36:08] local.INFO: TCP Data received {"connection_id":231695,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:36:08] local.INFO: Processing buffer {"connection_id":231695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:36:08] local.INFO: IMEI packet received {"connection_id":231695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":231695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:36:13] local.INFO: TCP Data received {"connection_id":231695,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:36:13] local.INFO: Processing buffer {"connection_id":231695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:36:13] local.INFO: IMEI packet received {"connection_id":231695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":231695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:36:14] local.INFO: TCP Data received {"connection_id":231695,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:36:14] local.INFO: Processing buffer {"connection_id":231695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:36:14] local.INFO: Packet analysis {"connection_id":231695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab5f"} 
[2026-11-05 16:36:14] local.INFO: Extracted packet for processing {"connection_id":231695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab5f"} 
[2026-11-05 16:36:14] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232319488001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793876549000,"timestamp_ms":1793876549000,"timestamp_seconds":1793876549,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab5fdd88"} 
[2026-11-05 16: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-05 16:36: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-05 16:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":231695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":231695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":231695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:36:14] 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-05 16:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232319488001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232319488001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:36:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:36:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232319488001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":231695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:36:14] local.INFO: GPS data processed {"connection_id":231695,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:36:14] local.INFO: Acknowledgment sent {"connection_id":231695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:36:18] local.INFO: TCP Data received {"connection_id":231695,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:36:18] local.INFO: Processing buffer {"connection_id":231695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:36:18] local.INFO: Packet analysis {"connection_id":231695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab5f"} 
[2026-11-05 16:36:18] local.INFO: Extracted packet for processing {"connection_id":231695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab5f"} 
[2026-11-05 16:36:18] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232319488001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793876549000,"timestamp_ms":1793876549000,"timestamp_seconds":1793876549,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab5fdd88"} 
[2026-11-05 16:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:36: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-05 16:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:36:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":231695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":231695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":231695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:36: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-05 16:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232319488001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232319488001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:36:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:36:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232319488001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":231695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:36:18] local.INFO: GPS data processed {"connection_id":231695,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:36:18] local.INFO: Acknowledgment sent {"connection_id":231695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:37:03] local.INFO: TCP Data received {"connection_id":230361,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:37:03] local.INFO: Processing buffer {"connection_id":230361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:37:03] local.INFO: IMEI packet received {"connection_id":230361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":230361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:37:09] local.INFO: TCP Data received {"connection_id":230361,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:37:09] local.INFO: Processing buffer {"connection_id":230361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:37:09] local.INFO: IMEI packet received {"connection_id":230361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":230361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:37:10] local.INFO: TCP Data received {"connection_id":230361,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:37:10] local.INFO: Processing buffer {"connection_id":230361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:37:10] local.INFO: Packet analysis {"connection_id":230361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab5f"} 
[2026-11-05 16:37:10] local.INFO: Extracted packet for processing {"connection_id":230361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab5f"} 
[2026-11-05 16:37:10] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232319488001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793876549000,"timestamp_ms":1793876549000,"timestamp_seconds":1793876549,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab5fdd88"} 
[2026-11-05 16:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232319488001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232319488001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:37:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:37:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232319488001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:37:10] 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":64001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:37:10] local.INFO: GPS data processed {"connection_id":230361,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:37:10] local.INFO: Acknowledgment sent {"connection_id":230361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:37:14] local.INFO: TCP Data received {"connection_id":230361,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:37:14] local.INFO: Processing buffer {"connection_id":230361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:37:14] local.INFO: Packet analysis {"connection_id":230361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab5f"} 
[2026-11-05 16:37:14] local.INFO: Extracted packet for processing {"connection_id":230361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab5f"} 
[2026-11-05 16:37:14] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232319488001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793876549000,"timestamp_ms":1793876549000,"timestamp_seconds":1793876549,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab5fdd88"} 
[2026-11-05 16:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:37: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-05 16:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:37:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232319488001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232319488001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:37:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:37:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232319488001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:37:14] 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":64002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:37:14] local.INFO: GPS data processed {"connection_id":230361,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:37:14] local.INFO: Acknowledgment sent {"connection_id":230361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:37:35] local.INFO: TCP Data received {"connection_id":233594,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233594,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:37:35] local.INFO: Processing buffer {"connection_id":233594,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:37:35] local.INFO: IMEI packet received {"connection_id":233594,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":233594,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:37:36] local.INFO: TCP Data received {"connection_id":233594,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233594,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:37:36] local.INFO: Processing buffer {"connection_id":233594,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:37:36] local.INFO: IMEI packet received {"connection_id":233594,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":233594,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:37:37] local.INFO: TCP Data received {"connection_id":233594,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab6461c8012d0defc00706b328001a015825..."} 
[2026-11-05 16:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab6461c8012d0defc00706b328001a015825..."} 
[2026-11-05 16:37:37] local.INFO: Processing buffer {"connection_id":233594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab6461c8012d0defc00706b328001a015825..."} 
[2026-11-05 16:37:37] local.INFO: Packet analysis {"connection_id":233594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab64"} 
[2026-11-05 16:37:37] local.INFO: Extracted packet for processing {"connection_id":233594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab64"} 
[2026-11-05 16:37:37] local.INFO: GPS Element Parsed {"raw_longitude":755888064,"raw_latitude":117879592,"longitude_deg":75.5888064,"latitude_deg":11.7879592,"altitude":26,"angle":344,"satellites":37,"speed":7,"hex_longitude":"2d0defc0","hex_latitude":"0706b328","is_valid_coordinates":true} 
[2026-11-05 16:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232472064001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39508158615388160,"note":"Value kept but may cause issues"} 
[2026-11-05 16:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1004302747080759296,"note":"Value kept but may cause issues"} 
[2026-11-05 16:37:37] 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-05 16:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793876845000,"timestamp_ms":1793876845000,"timestamp_seconds":1793876845,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab6461c8"} 
[2026-11-05 16:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-11-05 16:37:37] 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-05 16:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":233594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":233594,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":233594,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232472064001,"66":14613,"219":206,"94":10240,"24":7,"16":39508158615388160,"45":1004302747080759296},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 16:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232472064001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:37:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 16:37:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39508158615388160,"km_value":39508158615388.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1004302747080759296,"description":"Unknown IO ID 45"} 
[2026-11-05 16:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232472064001,"power":14613,"unknown_219":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":1004302747080759296}} 
[2026-11-05 16:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":233594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64003,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:37:37] local.INFO: GPS data processed {"connection_id":233594,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:37:37] local.INFO: Acknowledgment sent {"connection_id":233594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:37:37] local.INFO: TCP Data received {"connection_id":233594,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab647550012d0dee000706b858001b014b25..."} 
[2026-11-05 16:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab647550012d0dee000706b858001b014b25..."} 
[2026-11-05 16:37:37] local.INFO: Processing buffer {"connection_id":233594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab647550012d0dee000706b858001b014b25..."} 
[2026-11-05 16:37:37] local.INFO: Packet analysis {"connection_id":233594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab64"} 
[2026-11-05 16:37:37] local.INFO: Extracted packet for processing {"connection_id":233594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab64"} 
[2026-11-05 16:37:37] local.INFO: GPS Element Parsed {"raw_longitude":755887616,"raw_latitude":117880920,"longitude_deg":75.5887616,"latitude_deg":11.788092,"altitude":27,"angle":331,"satellites":37,"speed":14,"hex_longitude":"2d0dee00","hex_latitude":"0706b858","is_valid_coordinates":true} 
[2026-11-05 16:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232472320001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39508227334864896,"note":"Value kept but may cause issues"} 
[2026-11-05 16:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1004232378336618496,"note":"Value kept but may cause issues"} 
[2026-11-05 16:37:37] 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-05 16:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793876850000,"timestamp_ms":1793876850000,"timestamp_seconds":1793876850,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab647550"} 
[2026-11-05 16:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-11-05 16:37:37] 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-05 16:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":233594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":233594,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":233594,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232472320001,"66":14396,"219":206,"94":10240,"24":14,"16":39508227334864896,"45":1004232378336618496},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 16:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232472320001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:37:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 16:37:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39508227334864896,"km_value":39508227334864.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1004232378336618496,"description":"Unknown IO ID 45"} 
[2026-11-05 16:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232472320001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":1004232378336618496}} 
[2026-11-05 16:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":233594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64004,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:37:38] local.INFO: GPS data processed {"connection_id":233594,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:37:38] local.INFO: Acknowledgment sent {"connection_id":233594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:37:45] local.INFO: TCP Data received {"connection_id":230361,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:37:45] local.INFO: Processing buffer {"connection_id":230361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab5fdd88012d7fa60005afe2e80000011026..."} 
[2026-11-05 16:37:45] local.INFO: Packet analysis {"connection_id":230361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab5f"} 
[2026-11-05 16:37:45] local.INFO: Extracted packet for processing {"connection_id":230361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab5f"} 
[2026-11-05 16:37:45] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 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-05 16:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232319488001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793876549000,"timestamp_ms":1793876549000,"timestamp_seconds":1793876549,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab5fdd88"} 
[2026-11-05 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-05 16:37: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-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:37: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-05 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-05 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-05 16:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232319488001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232319488001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:37:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:37:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232319488001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:37:45] 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":64005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:37:45] local.INFO: GPS data processed {"connection_id":230361,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:37:45] local.INFO: Acknowledgment sent {"connection_id":230361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:37:46] local.INFO: TCP Data received {"connection_id":233593,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:37:46] local.INFO: Processing buffer {"connection_id":233593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:37:46] local.INFO: IMEI packet received {"connection_id":233593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 16:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":233593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:38:02] local.INFO: TCP Data received {"connection_id":231696,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231696,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:38:02] local.INFO: Processing buffer {"connection_id":231696,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:38:02] local.INFO: IMEI packet received {"connection_id":231696,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 16:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":231696,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:38:03] local.INFO: TCP Data received {"connection_id":230362,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:38:03] local.INFO: Processing buffer {"connection_id":230362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:38:03] local.INFO: IMEI packet received {"connection_id":230362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":230362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:38:08] local.INFO: TCP Data received {"connection_id":230362,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:38:08] local.INFO: Processing buffer {"connection_id":230362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:38:08] local.INFO: IMEI packet received {"connection_id":230362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":230362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:38:09] local.INFO: TCP Data received {"connection_id":233594,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab648108012d0deac00706bcd8001b014025..."} 
[2026-11-05 16:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab648108012d0deac00706bcd8001b014025..."} 
[2026-11-05 16:38:09] local.INFO: Processing buffer {"connection_id":233594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab648108012d0deac00706bcd8001b014025..."} 
[2026-11-05 16:38:09] local.INFO: Packet analysis {"connection_id":233594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab64"} 
[2026-11-05 16:38:09] local.INFO: Extracted packet for processing {"connection_id":233594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab64"} 
[2026-11-05 16:38:09] local.INFO: GPS Element Parsed {"raw_longitude":755886784,"raw_latitude":117882072,"longitude_deg":75.5886784,"latitude_deg":11.7882072,"altitude":27,"angle":320,"satellites":37,"speed":18,"hex_longitude":"2d0deac0","hex_latitude":"0706bcd8","is_valid_coordinates":true} 
[2026-11-05 16:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232473600001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39508296054341632,"note":"Value kept but may cause issues"} 
[2026-11-05 16:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1003739797127714816,"note":"Value kept but may cause issues"} 
[2026-11-05 16:38: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-05 16:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793876853000,"timestamp_ms":1793876853000,"timestamp_seconds":1793876853,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab648108"} 
[2026-11-05 16:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-05 16:38:09] 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-05 16:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233594,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233594,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232473600001,"66":14352,"219":206,"94":10240,"24":18,"16":39508296054341632,"45":1003739797127714816},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 16:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232473600001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:38:09] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 16:38:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39508296054341632,"km_value":39508296054341.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1003739797127714816,"description":"Unknown IO ID 45"} 
[2026-11-05 16:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232473600001,"power":14352,"unknown_219":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":1003739797127714816}} 
[2026-11-05 16:38:09] local.INFO: TCP Data received {"connection_id":230362,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:38:09] local.INFO: Processing buffer {"connection_id":230362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:38:09] local.INFO: Packet analysis {"connection_id":230362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab64"} 
[2026-11-05 16:38:09] local.INFO: Extracted packet for processing {"connection_id":230362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab64"} 
[2026-11-05 16:38:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232396544001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793876850000,"timestamp_ms":1793876850000,"timestamp_seconds":1793876850,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab647550"} 
[2026-11-05 16:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:38:09] local.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-05 16:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232396544001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232396544001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:38:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:38:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232396544001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":233594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64006,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:38:09] local.INFO: GPS data processed {"connection_id":233594,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:38:09] local.INFO: Acknowledgment sent {"connection_id":233594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:38:09] 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":64007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:38:09] local.INFO: GPS data processed {"connection_id":230362,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:38:09] local.INFO: Acknowledgment sent {"connection_id":230362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:38:36] local.INFO: TCP Data received {"connection_id":233595,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233595,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:38:36] local.INFO: Processing buffer {"connection_id":233595,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:38:36] local.INFO: IMEI packet received {"connection_id":233595,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":233595,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:38:37] local.INFO: TCP Data received {"connection_id":233595,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233595,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:38:37] local.INFO: Processing buffer {"connection_id":233595,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:38:37] local.INFO: IMEI packet received {"connection_id":233595,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":233595,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:38:37] local.INFO: TCP Data received {"connection_id":233595,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab6488d8012d0de8800706bec0001b013025..."} 
[2026-11-05 16:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab6488d8012d0de8800706bec0001b013025..."} 
[2026-11-05 16:38:37] local.INFO: Processing buffer {"connection_id":233595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab6488d8012d0de8800706bec0001b013025..."} 
[2026-11-05 16:38:37] local.INFO: Packet analysis {"connection_id":233595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab64"} 
[2026-11-05 16:38:37] local.INFO: Extracted packet for processing {"connection_id":233595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab64"} 
[2026-11-05 16:38:37] local.INFO: GPS Element Parsed {"raw_longitude":755886208,"raw_latitude":117882560,"longitude_deg":75.5886208,"latitude_deg":11.788256,"altitude":27,"angle":304,"satellites":37,"speed":9,"hex_longitude":"2d0de880","hex_latitude":"0706bec0","is_valid_coordinates":true} 
[2026-11-05 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-05 16:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232474368001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39508330414080000,"note":"Value kept but may cause issues"} 
[2026-11-05 16:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1002825003453700096,"note":"Value kept but may cause issues"} 
[2026-11-05 16:38:37] 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-05 16:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793876855000,"timestamp_ms":1793876855000,"timestamp_seconds":1793876855,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab6488d8"} 
[2026-11-05 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-05 16:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 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":16,"data_length":795,"current_offset":136} 
[2026-11-05 16:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733143552,"note":"Value kept but may cause issues"} 
[2026-11-05 16:38:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-11-05 16:38:37] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2875464568,"note":"Value kept but may cause issues"} 
[2026-11-05 16:38:37] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84739291359938224,"note":"Value kept but may cause issues"} 
[2026-11-05 16:38:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-11-05 16:38:37] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504202473308160,"note":"Value kept but may cause issues"} 
[2026-11-05 16:38:37] local.WARNING: Large IO value detected {"io_id":6,"raw_value":2979004442,"note":"Value kept but may cause issues"} 
[2026-11-05 16:38:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639363509137371,"note":"Value kept but may cause issues"} 
[2026-11-05 16:38:37] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5764871410124390656,"note":"Value kept but may cause issues"} 
[2026-11-05 16:38:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":802881742,"corrected_to":0} 
[2026-11-05 16:38:37] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743791,"note":"Value kept but may cause issues"} 
[2026-11-05 16:38:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-11-05 16:38:37] local.WARNING: Large IO value detected {"io_id":208,"raw_value":7599936661094912,"note":"Value kept but may cause issues"} 
[2026-11-05 16:38:37] local.WARNING: Large IO value detected {"io_id":13,"raw_value":-1152913779281887204,"note":"Value kept but may cause issues"} 
[2026-11-05 16:38:37] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,219,94,24,241,157,16,92,161,117,45,184,27,37,10,66,97,192,179,26,93,1,240,21,227,171,6,4,113,205,39,96,239,53,2,140,7,206,208,13],"length":628,"final_offset":758,"validated_count":40,"validation_warnings":[{"io_id":205,"original":802881742,"validated":0}]} 
[2026-11-05 16:38:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1945907041659912192,"timestamp_seconds":1945907041659912.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-11-05 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-05 16:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":233595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":233595,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":233595,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232474368001,"66":14461,"219":206,"94":10240,"24":9,"16":39508330414080000,"45":1002825003453700096},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 16:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232474368001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:38:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 16:38:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39508330414080000,"km_value":39508330414080,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1002825003453700096,"description":"Unknown IO ID 45"} 
[2026-11-05 16:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232474368001,"power":14461,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":1002825003453700096}} 
[2026-11-05 16:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":233595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64008,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:38:38] local.INFO: GPS data processed {"connection_id":233595,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:38:38] local.INFO: Acknowledgment sent {"connection_id":233595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:38:38] local.INFO: TCP Data received {"connection_id":233595,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab64dae0012d0de7c00706bf08001b013022..."} 
[2026-11-05 16:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab64dae0012d0de7c00706bf08001b013022..."} 
[2026-11-05 16:38:38] local.INFO: Processing buffer {"connection_id":233595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab64dae0012d0de7c00706bf08001b013022..."} 
[2026-11-05 16:38:38] local.INFO: Packet analysis {"connection_id":233595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab64"} 
[2026-11-05 16:38:38] local.INFO: Extracted packet for processing {"connection_id":233595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab64"} 
[2026-11-05 16:38:38] local.INFO: GPS Element Parsed {"raw_longitude":755886016,"raw_latitude":117882632,"longitude_deg":75.5886016,"latitude_deg":11.7882632,"altitude":27,"angle":304,"satellites":34,"speed":0,"hex_longitude":"2d0de7c0","hex_latitude":"0706bf08","is_valid_coordinates":true} 
[2026-11-05 16:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232474880001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39508343298981888,"note":"Value kept but may cause issues"} 
[2026-11-05 16:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1002191684756226048,"note":"Value kept but may cause issues"} 
[2026-11-05 16:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1793876876000,"timestamp_ms":1793876876000,"timestamp_seconds":1793876876,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab64dae0"} 
[2026-11-05 16:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-05 16:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":233595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":233595,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":233595,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232474880001,"66":14461,"219":206,"94":10240,"24":0,"16":39508343298981888,"45":1002191684756226048},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 16:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232474880001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:38:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 16:38:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39508343298981888,"km_value":39508343298981.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1002191684756226048,"description":"Unknown IO ID 45"} 
[2026-11-05 16:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232474880001,"power":14461,"unknown_219":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":1002191684756226048}} 
[2026-11-05 16:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":233595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64009,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:38:38] local.INFO: GPS data processed {"connection_id":233595,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:38:38] local.INFO: Acknowledgment sent {"connection_id":233595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:38:40] local.INFO: TCP Data received {"connection_id":230362,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:38:40] local.INFO: Processing buffer {"connection_id":230362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:38:40] local.INFO: Packet analysis {"connection_id":230362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab64"} 
[2026-11-05 16:38:40] local.INFO: Extracted packet for processing {"connection_id":230362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab64"} 
[2026-11-05 16:38:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232396544001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793876850000,"timestamp_ms":1793876850000,"timestamp_seconds":1793876850,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab647550"} 
[2026-11-05 16: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-05 16:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232396544001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232396544001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:38:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:38:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232396544001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:38:40] 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":64010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:38:40] local.INFO: GPS data processed {"connection_id":230362,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:38:40] local.INFO: Acknowledgment sent {"connection_id":230362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:39:03] local.INFO: TCP Data received {"connection_id":230363,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:39:03] local.INFO: Processing buffer {"connection_id":230363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:39:03] local.INFO: IMEI packet received {"connection_id":230363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":230363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:39:08] local.INFO: TCP Data received {"connection_id":230363,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:39:08] local.INFO: Processing buffer {"connection_id":230363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:39:08] local.INFO: IMEI packet received {"connection_id":230363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":230363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:39:09] local.INFO: TCP Data received {"connection_id":230363,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:39:09] local.INFO: Processing buffer {"connection_id":230363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:39:09] local.INFO: Packet analysis {"connection_id":230363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab64"} 
[2026-11-05 16:39:09] local.INFO: Extracted packet for processing {"connection_id":230363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab64"} 
[2026-11-05 16:39:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232396544001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793876850000,"timestamp_ms":1793876850000,"timestamp_seconds":1793876850,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab647550"} 
[2026-11-05 16:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:39:09] local.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-05 16:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232396544001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232396544001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:39:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:39:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232396544001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:39:09] 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":64011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:39:09] local.INFO: GPS data processed {"connection_id":230363,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:39:09] local.INFO: Acknowledgment sent {"connection_id":230363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:39:10] local.INFO: TCP Data received {"connection_id":233595,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab65bd70012d0da8800706ee480028012424..."} 
[2026-11-05 16:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab65bd70012d0da8800706ee480028012424..."} 
[2026-11-05 16:39:10] local.INFO: Processing buffer {"connection_id":233595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab65bd70012d0da8800706ee480028012424..."} 
[2026-11-05 16:39:10] local.INFO: Packet analysis {"connection_id":233595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab65"} 
[2026-11-05 16:39:10] local.INFO: Extracted packet for processing {"connection_id":233595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab65"} 
[2026-11-05 16:39:10] local.INFO: GPS Element Parsed {"raw_longitude":755869824,"raw_latitude":117894728,"longitude_deg":75.5869824,"latitude_deg":11.7894728,"altitude":40,"angle":292,"satellites":36,"speed":22,"hex_longitude":"2d0da880","hex_latitude":"0706ee48","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232494848001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39509631789170688,"note":"Value kept but may cause issues"} 
[2026-11-05 16:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":984740236203241472,"note":"Value kept but may cause issues"} 
[2026-11-05 16:39:10] 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-05 16:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793876934000,"timestamp_ms":1793876934000,"timestamp_seconds":1793876934,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab65bd70"} 
[2026-11-05 16: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-05 16:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-05 16:39:10] 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-05 16: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-05 16: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-05 16:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233595,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233595,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232494848001,"66":14450,"219":206,"94":10240,"24":22,"16":39509631789170688,"45":984740236203241472},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 16:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232494848001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:39:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 16:39:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39509631789170688,"km_value":39509631789170.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":984740236203241472,"description":"Unknown IO ID 45"} 
[2026-11-05 16:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232494848001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":984740236203241472}} 
[2026-11-05 16:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":233595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64012,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:39:10] local.INFO: GPS data processed {"connection_id":233595,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:39:10] local.INFO: Acknowledgment sent {"connection_id":233595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:39:28] local.INFO: TCP Data received {"connection_id":231698,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231698,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:39:28] local.INFO: Processing buffer {"connection_id":231698,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:39:28] local.INFO: IMEI packet received {"connection_id":231698,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":231698,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:39:31] local.INFO: TCP Data received {"connection_id":231698,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231698,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:39:31] local.INFO: Processing buffer {"connection_id":231698,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:39:31] local.INFO: IMEI packet received {"connection_id":231698,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":231698,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:39:36] local.INFO: TCP Data received {"connection_id":231698,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231698,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:39:36] local.INFO: Processing buffer {"connection_id":231698,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:39:36] local.INFO: IMEI packet received {"connection_id":231698,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":231698,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:39:38] local.INFO: TCP Data received {"connection_id":231698,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab65c540012d0da4c00706f0a80028013324..."} 
[2026-11-05 16:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab65c540012d0da4c00706f0a80028013324..."} 
[2026-11-05 16:39:38] local.INFO: Processing buffer {"connection_id":231698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab65c540012d0da4c00706f0a80028013324..."} 
[2026-11-05 16:39:38] local.INFO: Packet analysis {"connection_id":231698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab65"} 
[2026-11-05 16:39:38] local.INFO: Extracted packet for processing {"connection_id":231698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab65"} 
[2026-11-05 16:39:38] local.INFO: GPS Element Parsed {"raw_longitude":755868864,"raw_latitude":117895336,"longitude_deg":75.5868864,"latitude_deg":11.7895336,"altitude":40,"angle":307,"satellites":36,"speed":23,"hex_longitude":"2d0da4c0","hex_latitude":"0706f0a8","is_valid_coordinates":true} 
[2026-11-05 16:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232495104001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39509687623745536,"note":"Value kept but may cause issues"} 
[2026-11-05 16:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":984177286249859072,"note":"Value kept but may cause issues"} 
[2026-11-05 16:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1793876936000,"timestamp_ms":1793876936000,"timestamp_seconds":1793876936,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab65c540"} 
[2026-11-05 16:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-05 16:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":231698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":231698,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":231698,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232495104001,"66":13722,"219":206,"94":10240,"24":23,"16":39509687623745536,"45":984177286249859072},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 16:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232495104001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:39:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 16:39:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39509687623745536,"km_value":39509687623745.54,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":984177286249859072,"description":"Unknown IO ID 45"} 
[2026-11-05 16:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232495104001,"power":13722,"unknown_219":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":984177286249859072}} 
[2026-11-05 16:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":231698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64013,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:39:38] local.INFO: GPS data processed {"connection_id":231698,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:39:38] local.INFO: Acknowledgment sent {"connection_id":231698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:39:38] local.INFO: TCP Data received {"connection_id":231698,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab65e480012d0d93400706fa98002a012623..."} 
[2026-11-05 16:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab65e480012d0d93400706fa98002a012623..."} 
[2026-11-05 16:39:38] local.INFO: Processing buffer {"connection_id":231698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab65e480012d0d93400706fa98002a012623..."} 
[2026-11-05 16:39:38] local.INFO: Packet analysis {"connection_id":231698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab65"} 
[2026-11-05 16:39:38] local.INFO: Extracted packet for processing {"connection_id":231698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab65"} 
[2026-11-05 16:39:38] local.INFO: GPS Element Parsed {"raw_longitude":755864384,"raw_latitude":117897880,"longitude_deg":75.5864384,"latitude_deg":11.789788,"altitude":42,"angle":294,"satellites":35,"speed":27,"hex_longitude":"2d0d9340","hex_latitude":"0706fa98","is_valid_coordinates":true} 
[2026-11-05 16:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232495616001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39509928141914112,"note":"Value kept but may cause issues"} 
[2026-11-05 16:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":983121755087349760,"note":"Value kept but may cause issues"} 
[2026-11-05 16:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1793876944000,"timestamp_ms":1793876944000,"timestamp_seconds":1793876944,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab65e480"} 
[2026-11-05 16:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-11-05 16:39:38] 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-05 16:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":231698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":231698,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":231698,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232495616001,"66":14450,"219":206,"94":10240,"24":27,"16":39509928141914112,"45":983121755087349760},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 16:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232495616001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:39:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 16:39:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39509928141914112,"km_value":39509928141914.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":983121755087349760,"description":"Unknown IO ID 45"} 
[2026-11-05 16:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232495616001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":983121755087349760}} 
[2026-11-05 16:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":231698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64014,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:39:39] local.INFO: GPS data processed {"connection_id":231698,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:39:39] local.INFO: Acknowledgment sent {"connection_id":231698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:39:40] local.INFO: TCP Data received {"connection_id":230363,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:39:40] local.INFO: Processing buffer {"connection_id":230363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:39:40] local.INFO: Packet analysis {"connection_id":230363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab64"} 
[2026-11-05 16:39:40] local.INFO: Extracted packet for processing {"connection_id":230363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab64"} 
[2026-11-05 16:39:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232396544001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793876850000,"timestamp_ms":1793876850000,"timestamp_seconds":1793876850,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab647550"} 
[2026-11-05 16: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-05 16:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16: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-05 16:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232396544001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232396544001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:39:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:39:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232396544001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:39:40] 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":64015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:39:40] local.INFO: GPS data processed {"connection_id":230363,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:39:40] local.INFO: Acknowledgment sent {"connection_id":230363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:40:03] local.INFO: TCP Data received {"connection_id":229836,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:40:03] local.INFO: Processing buffer {"connection_id":229836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:40:03] local.INFO: IMEI packet received {"connection_id":229836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":229836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:40:08] local.INFO: TCP Data received {"connection_id":229836,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:40:08] local.INFO: Processing buffer {"connection_id":229836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:40:08] local.INFO: IMEI packet received {"connection_id":229836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":229836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:40:09] local.INFO: TCP Data received {"connection_id":229836,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:40:09] local.INFO: Processing buffer {"connection_id":229836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:40:09] local.INFO: Packet analysis {"connection_id":229836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab64"} 
[2026-11-05 16:40:09] local.INFO: Extracted packet for processing {"connection_id":229836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab64"} 
[2026-11-05 16:40:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232396544001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793876850000,"timestamp_ms":1793876850000,"timestamp_seconds":1793876850,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab647550"} 
[2026-11-05 16:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:40:09] local.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-05 16:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232396544001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232396544001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:40:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:40:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232396544001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":229836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:40:09] local.INFO: GPS data processed {"connection_id":229836,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:40:09] local.INFO: Acknowledgment sent {"connection_id":229836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:40:09] local.INFO: TCP Data received {"connection_id":231698,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab661360012d0d75c007070b000025013122..."} 
[2026-11-05 16:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab661360012d0d75c007070b000025013122..."} 
[2026-11-05 16:40:09] local.INFO: Processing buffer {"connection_id":231698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab661360012d0d75c007070b000025013122..."} 
[2026-11-05 16:40:09] local.INFO: Packet analysis {"connection_id":231698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab66"} 
[2026-11-05 16:40:09] local.INFO: Extracted packet for processing {"connection_id":231698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab66"} 
[2026-11-05 16:40:09] local.INFO: GPS Element Parsed {"raw_longitude":755856832,"raw_latitude":117902080,"longitude_deg":75.5856832,"latitude_deg":11.790208,"altitude":37,"angle":305,"satellites":34,"speed":23,"hex_longitude":"2d0d75c0","hex_latitude":"07070b00","is_valid_coordinates":true} 
[2026-11-05 16:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232497664001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39510344753741824,"note":"Value kept but may cause issues"} 
[2026-11-05 16:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":978195942995564544,"note":"Value kept but may cause issues"} 
[2026-11-05 16:40: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-05 16:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793876956000,"timestamp_ms":1793876956000,"timestamp_seconds":1793876956,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab661360"} 
[2026-11-05 16:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-05 16:40:09] 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-05 16:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231698,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231698,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232497664001,"66":14374,"219":206,"94":10240,"24":23,"16":39510344753741824,"45":978195942995564544},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-05 16:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232497664001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:40:09] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-05 16:40:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39510344753741824,"km_value":39510344753741.82,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":978195942995564544,"description":"Unknown IO ID 45"} 
[2026-11-05 16:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232497664001,"power":14374,"unknown_219":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":978195942995564544}} 
[2026-11-05 16:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":231698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64017,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:40:09] local.INFO: GPS data processed {"connection_id":231698,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:40:09] local.INFO: Acknowledgment sent {"connection_id":231698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:40:32] local.INFO: TCP Data received {"connection_id":231699,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231699,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:40:32] local.INFO: Processing buffer {"connection_id":231699,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:40:32] local.INFO: IMEI packet received {"connection_id":231699,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":231699,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:40:32] local.INFO: TCP Data received {"connection_id":231699,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231699,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:40:32] local.INFO: Processing buffer {"connection_id":231699,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:40:32] local.INFO: IMEI packet received {"connection_id":231699,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":231699,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:40:32] local.INFO: TCP Data received {"connection_id":231699,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231699,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:40:32] local.INFO: Processing buffer {"connection_id":231699,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:40:32] local.INFO: IMEI packet received {"connection_id":231699,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":231699,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:40:33] local.INFO: TCP Data received {"connection_id":231699,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231699,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:40:33] local.INFO: Processing buffer {"connection_id":231699,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:40:33] local.INFO: IMEI packet received {"connection_id":231699,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":231699,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:40:34] local.INFO: TCP Data received {"connection_id":231699,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab6701a8012d0d2c40070723f80021000122..."} 
[2026-11-05 16:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab6701a8012d0d2c40070723f80021000122..."} 
[2026-11-05 16:40:34] local.INFO: Processing buffer {"connection_id":231699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab6701a8012d0d2c40070723f80021000122..."} 
[2026-11-05 16:40:34] local.INFO: Packet analysis {"connection_id":231699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab67"} 
[2026-11-05 16:40:34] local.INFO: Extracted packet for processing {"connection_id":231699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab67"} 
[2026-11-05 16:40:34] local.INFO: GPS Element Parsed {"raw_longitude":755838016,"raw_latitude":117908472,"longitude_deg":75.5838016,"latitude_deg":11.7908472,"altitude":33,"angle":1,"satellites":34,"speed":16,"hex_longitude":"2d0d2c40","hex_latitude":"070723f8","is_valid_coordinates":true} 
[2026-11-05 16:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232514560001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39511388430794752,"note":"Value kept but may cause issues"} 
[2026-11-05 16:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949696601605722112,"note":"Value kept but may cause issues"} 
[2026-11-05 16:40:34] 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-05 16:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793877017000,"timestamp_ms":1793877017000,"timestamp_seconds":1793877017,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab6701a8"} 
[2026-11-05 16:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-11-05 16:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":231699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":231699,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":231699,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232514560001,"66":14461,"221":206,"94":10240,"24":16,"16":39511388430794752,"45":949696601605722112},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-11-05 16:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232514560001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:40:34] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-05 16:40:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39511388430794752,"km_value":39511388430794.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":949696601605722112,"description":"Unknown IO ID 45"} 
[2026-11-05 16:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232514560001,"power":14461,"unknown_221":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":949696601605722112}} 
[2026-11-05 16:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":231699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64018,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:40:34] local.INFO: GPS data processed {"connection_id":231699,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:40:34] local.INFO: Acknowledgment sent {"connection_id":231699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:40:37] local.INFO: TCP Data received {"connection_id":231699,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab673470012d0d2c0007073db80029015922..."} 
[2026-11-05 16:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab673470012d0d2c0007073db80029015922..."} 
[2026-11-05 16:40:37] local.INFO: Processing buffer {"connection_id":231699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab673470012d0d2c0007073db80029015922..."} 
[2026-11-05 16:40:37] local.INFO: Packet analysis {"connection_id":231699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab67"} 
[2026-11-05 16:40:37] local.INFO: Extracted packet for processing {"connection_id":231699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab67"} 
[2026-11-05 16:40:37] local.INFO: GPS Element Parsed {"raw_longitude":755837952,"raw_latitude":117915064,"longitude_deg":75.5837952,"latitude_deg":11.7915064,"altitude":41,"angle":345,"satellites":34,"speed":16,"hex_longitude":"2d0d2c00","hex_latitude":"07073db8","is_valid_coordinates":true} 
[2026-11-05 16:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232516352001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39511706258374656,"note":"Value kept but may cause issues"} 
[2026-11-05 16:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949204020397078528,"note":"Value kept but may cause issues"} 
[2026-11-05 16:40: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-05 16:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793877030000,"timestamp_ms":1793877030000,"timestamp_seconds":1793877030,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab673470"} 
[2026-11-05 16:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-05 16:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":231699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":231699,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":231699,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232516352001,"66":14461,"221":206,"94":10240,"24":16,"16":39511706258374656,"45":949204020397078528},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-11-05 16:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232516352001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:40:37] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-05 16:40:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39511706258374656,"km_value":39511706258374.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":949204020397078528,"description":"Unknown IO ID 45"} 
[2026-11-05 16:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232516352001,"power":14461,"unknown_221":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":949204020397078528}} 
[2026-11-05 16:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":231699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64019,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:40:37] local.INFO: GPS data processed {"connection_id":231699,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:40:37] local.INFO: Acknowledgment sent {"connection_id":231699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:40:40] local.INFO: TCP Data received {"connection_id":229836,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:40:40] local.INFO: Processing buffer {"connection_id":229836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:40:40] local.INFO: Packet analysis {"connection_id":229836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab64"} 
[2026-11-05 16:40:40] local.INFO: Extracted packet for processing {"connection_id":229836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab64"} 
[2026-11-05 16:40:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232396544001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793876850000,"timestamp_ms":1793876850000,"timestamp_seconds":1793876850,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab647550"} 
[2026-11-05 16: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-05 16:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:40: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-05 16:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232396544001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232396544001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:40:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:40:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232396544001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":229836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:40:40] local.INFO: GPS data processed {"connection_id":229836,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:40:40] local.INFO: Acknowledgment sent {"connection_id":229836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:41:08] local.INFO: TCP Data received {"connection_id":230364,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:41:08] local.INFO: Processing buffer {"connection_id":230364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:41:08] local.INFO: IMEI packet received {"connection_id":230364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":230364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:41:08] local.INFO: TCP Data received {"connection_id":231699,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab67b940012d0ce54007075520002200ec25..."} 
[2026-11-05 16:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab67b940012d0ce54007075520002200ec25..."} 
[2026-11-05 16:41:08] local.INFO: Processing buffer {"connection_id":231699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab67b940012d0ce54007075520002200ec25..."} 
[2026-11-05 16:41:08] local.INFO: Packet analysis {"connection_id":231699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab67"} 
[2026-11-05 16:41:08] local.INFO: Extracted packet for processing {"connection_id":231699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab67"} 
[2026-11-05 16:41:08] local.INFO: GPS Element Parsed {"raw_longitude":755819840,"raw_latitude":117921056,"longitude_deg":75.581984,"latitude_deg":11.7921056,"altitude":34,"angle":236,"satellites":37,"speed":14,"hex_longitude":"2d0ce540","hex_latitude":"07075520","is_valid_coordinates":true} 
[2026-11-05 16:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232528128001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39512633971310592,"note":"Value kept but may cause issues"} 
[2026-11-05 16:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":929641509518948352,"note":"Value kept but may cause issues"} 
[2026-11-05 16:41:08] 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-05 16:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793877064000,"timestamp_ms":1793877064000,"timestamp_seconds":1793877064,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab67b940"} 
[2026-11-05 16:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 16:41:08] 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-05 16:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":231699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":231699,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":231699,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232528128001,"66":14407,"221":206,"94":10240,"24":14,"16":39512633971310592,"45":929641509518948352},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-11-05 16:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232528128001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:41:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-05 16:41:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39512633971310592,"km_value":39512633971310.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":929641509518948352,"description":"Unknown IO ID 45"} 
[2026-11-05 16:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232528128001,"power":14407,"unknown_221":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":929641509518948352}} 
[2026-11-05 16:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":231699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64021,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:41:08] local.INFO: GPS data processed {"connection_id":231699,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:41:08] local.INFO: Acknowledgment sent {"connection_id":231699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:41:13] local.INFO: TCP Data received {"connection_id":230364,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:41:13] local.INFO: Processing buffer {"connection_id":230364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:41:13] local.INFO: IMEI packet received {"connection_id":230364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":230364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:41:14] local.INFO: TCP Data received {"connection_id":230364,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:41:14] local.INFO: Processing buffer {"connection_id":230364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:41:14] local.INFO: Packet analysis {"connection_id":230364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab64"} 
[2026-11-05 16:41:14] local.INFO: Extracted packet for processing {"connection_id":230364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab64"} 
[2026-11-05 16:41:14] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232396544001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793876850000,"timestamp_ms":1793876850000,"timestamp_seconds":1793876850,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab647550"} 
[2026-11-05 16: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-05 16:41: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-05 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:41:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232396544001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232396544001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:41:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:41:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232396544001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:41:14] 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":64022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:41:14] local.INFO: GPS data processed {"connection_id":230364,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:41:14] local.INFO: Acknowledgment sent {"connection_id":230364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:41:31] local.INFO: TCP Data received {"connection_id":230365,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230365,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:41:31] local.INFO: Processing buffer {"connection_id":230365,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:41:31] local.INFO: IMEI packet received {"connection_id":230365,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":230365,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:41:33] local.INFO: TCP Data received {"connection_id":230365,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230365,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:41:33] local.INFO: Processing buffer {"connection_id":230365,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:41:33] local.INFO: IMEI packet received {"connection_id":230365,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":230365,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:41:34] local.INFO: TCP Data received {"connection_id":230365,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab67bd28012d0ce480070753f0002100d525..."} 
[2026-11-05 16:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab67bd28012d0ce480070753f0002100d525..."} 
[2026-11-05 16:41:34] local.INFO: Processing buffer {"connection_id":230365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab67bd28012d0ce480070753f0002100d525..."} 
[2026-11-05 16:41:34] local.INFO: Packet analysis {"connection_id":230365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab67"} 
[2026-11-05 16:41:34] local.INFO: Extracted packet for processing {"connection_id":230365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab67"} 
[2026-11-05 16:41:34] local.INFO: GPS Element Parsed {"raw_longitude":755819648,"raw_latitude":117920752,"longitude_deg":75.5819648,"latitude_deg":11.7920752,"altitude":33,"angle":213,"satellites":37,"speed":15,"hex_longitude":"2d0ce480","hex_latitude":"070753f0","is_valid_coordinates":true} 
[2026-11-05 16:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232528384001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39512651151179776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":929219297053843456,"note":"Value kept but may cause issues"} 
[2026-11-05 16:41:34] 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-05 16:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793877065000,"timestamp_ms":1793877065000,"timestamp_seconds":1793877065,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab67bd28"} 
[2026-11-05 16:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 16:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":230365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":230365,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":230365,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232528384001,"66":14515,"221":206,"94":10240,"24":15,"16":39512651151179776,"45":929219297053843456},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-11-05 16:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232528384001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:41:34] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-05 16:41:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39512651151179776,"km_value":39512651151179.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":929219297053843456,"description":"Unknown IO ID 45"} 
[2026-11-05 16:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232528384001,"power":14515,"unknown_221":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":929219297053843456}} 
[2026-11-05 16:41:34] 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":64023,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:41:34] local.INFO: GPS data processed {"connection_id":230365,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:41:34] local.INFO: Acknowledgment sent {"connection_id":230365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:41:45] local.INFO: TCP Data received {"connection_id":230364,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:41:45] local.INFO: Processing buffer {"connection_id":230364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:41:45] local.INFO: Packet analysis {"connection_id":230364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab64"} 
[2026-11-05 16:41:45] local.INFO: Extracted packet for processing {"connection_id":230364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab64"} 
[2026-11-05 16:41:45] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232396544001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793876850000,"timestamp_ms":1793876850000,"timestamp_seconds":1793876850,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab647550"} 
[2026-11-05 16:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:41: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-05 16:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:41: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-05 16:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:41:45] 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-05 16:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232396544001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232396544001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:41:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:41:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232396544001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:41:45] 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":64024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:41:45] local.INFO: GPS data processed {"connection_id":230364,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:41:45] local.INFO: Acknowledgment sent {"connection_id":230364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:42:03] local.INFO: TCP Data received {"connection_id":230366,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:42:03] local.INFO: Processing buffer {"connection_id":230366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:42:03] local.INFO: IMEI packet received {"connection_id":230366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":230366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:42:05] local.INFO: TCP Data received {"connection_id":230365,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab67c110012d0ce38007075228002000c925..."} 
[2026-11-05 16:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab67c110012d0ce38007075228002000c925..."} 
[2026-11-05 16:42:05] local.INFO: Processing buffer {"connection_id":230365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab67c110012d0ce38007075228002000c925..."} 
[2026-11-05 16:42:05] local.INFO: Packet analysis {"connection_id":230365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab67"} 
[2026-11-05 16:42:05] local.INFO: Extracted packet for processing {"connection_id":230365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab67"} 
[2026-11-05 16:42:05] local.INFO: GPS Element Parsed {"raw_longitude":755819392,"raw_latitude":117920296,"longitude_deg":75.5819392,"latitude_deg":11.7920296,"altitude":32,"angle":201,"satellites":37,"speed":19,"hex_longitude":"2d0ce380","hex_latitude":"07075228","is_valid_coordinates":true} 
[2026-11-05 16:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232528640001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39512676920983552,"note":"Value kept but may cause issues"} 
[2026-11-05 16:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":929008190821232640,"note":"Value kept but may cause issues"} 
[2026-11-05 16:42: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-05 16:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793877066000,"timestamp_ms":1793877066000,"timestamp_seconds":1793877066,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab67c110"} 
[2026-11-05 16:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-05 16:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":230365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":230365,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":230365,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232528640001,"66":14515,"221":206,"94":10240,"24":19,"16":39512676920983552,"45":929008190821232640},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-11-05 16:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232528640001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:42:05] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-05 16:42:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39512676920983552,"km_value":39512676920983.555,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":929008190821232640,"description":"Unknown IO ID 45"} 
[2026-11-05 16:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232528640001,"power":14515,"unknown_221":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":929008190821232640}} 
[2026-11-05 16:42:06] 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":64025,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:42:06] local.INFO: GPS data processed {"connection_id":230365,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:42:06] local.INFO: Acknowledgment sent {"connection_id":230365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:42:08] local.INFO: TCP Data received {"connection_id":230366,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:42:08] local.INFO: Processing buffer {"connection_id":230366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:42:08] local.INFO: IMEI packet received {"connection_id":230366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":230366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:42:09] local.INFO: TCP Data received {"connection_id":230366,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:42:09] local.INFO: Processing buffer {"connection_id":230366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:42:09] local.INFO: Packet analysis {"connection_id":230366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab64"} 
[2026-11-05 16:42:09] local.INFO: Extracted packet for processing {"connection_id":230366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab64"} 
[2026-11-05 16:42:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:42: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-05 16:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232396544001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793876850000,"timestamp_ms":1793876850000,"timestamp_seconds":1793876850,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab647550"} 
[2026-11-05 16:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16:42: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-05 16:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:42:09] 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-05 16:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232396544001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232396544001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:42:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:42:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232396544001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:42:09] 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":64026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:42:09] local.INFO: GPS data processed {"connection_id":230366,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:42:09] local.INFO: Acknowledgment sent {"connection_id":230366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:42:31] local.INFO: TCP Data received {"connection_id":230367,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230367,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:42:31] local.INFO: Processing buffer {"connection_id":230367,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:42:31] local.INFO: IMEI packet received {"connection_id":230367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":230367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:42:34] local.INFO: TCP Data received {"connection_id":230367,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230367,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:42:34] local.INFO: Processing buffer {"connection_id":230367,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:42:34] local.INFO: IMEI packet received {"connection_id":230367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":230367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:42:35] local.INFO: TCP Data received {"connection_id":230367,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab68ce98012d0caa40070762d00018015d25..."} 
[2026-11-05 16:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab68ce98012d0caa40070762d00018015d25..."} 
[2026-11-05 16:42:35] local.INFO: Processing buffer {"connection_id":230367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab68ce98012d0caa40070762d00018015d25..."} 
[2026-11-05 16:42:35] local.INFO: Packet analysis {"connection_id":230367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab68"} 
[2026-11-05 16:42:35] local.INFO: Extracted packet for processing {"connection_id":230367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab68"} 
[2026-11-05 16:42:35] local.INFO: GPS Element Parsed {"raw_longitude":755804736,"raw_latitude":117924560,"longitude_deg":75.5804736,"latitude_deg":11.792456,"altitude":24,"angle":349,"satellites":37,"speed":4,"hex_longitude":"2d0caa40","hex_latitude":"070762d0","is_valid_coordinates":true} 
[2026-11-05 16:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232545024001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39513480079867904,"note":"Value kept but may cause issues"} 
[2026-11-05 16:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":913034485893670912,"note":"Value kept but may cause issues"} 
[2026-11-05 16:42:35] 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-05 16:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1793877135000,"timestamp_ms":1793877135000,"timestamp_seconds":1793877135,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab68ce98"} 
[2026-11-05 16:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-05 16:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":230367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":230367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":230367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232545024001,"66":14537,"221":206,"94":10240,"24":4,"16":39513480079867904,"45":913034485893670912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-11-05 16:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232545024001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:42:35] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-05 16:42:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39513480079867904,"km_value":39513480079867.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":913034485893670912,"description":"Unknown IO ID 45"} 
[2026-11-05 16:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232545024001,"power":14537,"unknown_221":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":913034485893670912}} 
[2026-11-05 16:42:35] 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":64027,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:42:35] local.INFO: GPS data processed {"connection_id":230367,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:42:35] local.INFO: Acknowledgment sent {"connection_id":230367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:42:40] local.INFO: TCP Data received {"connection_id":230366,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:42:40] local.INFO: Processing buffer {"connection_id":230366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:42:40] local.INFO: Packet analysis {"connection_id":230366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab64"} 
[2026-11-05 16:42:40] local.INFO: Extracted packet for processing {"connection_id":230366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab64"} 
[2026-11-05 16:42:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232396544001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793876850000,"timestamp_ms":1793876850000,"timestamp_seconds":1793876850,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab647550"} 
[2026-11-05 16:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232396544001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232396544001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:42:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:42:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232396544001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:42:40] 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":64028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:42:40] local.INFO: GPS data processed {"connection_id":230366,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:42:40] local.INFO: Acknowledgment sent {"connection_id":230366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:43:03] local.INFO: TCP Data received {"connection_id":229838,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:43:03] local.INFO: Processing buffer {"connection_id":229838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:43:03] local.INFO: IMEI packet received {"connection_id":229838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":229838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:43:06] local.INFO: TCP Data received {"connection_id":230367,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab68d280012d0caa40070763200018000825..."} 
[2026-11-05 16:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab68d280012d0caa40070763200018000825..."} 
[2026-11-05 16:43:06] local.INFO: Processing buffer {"connection_id":230367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab68d280012d0caa40070763200018000825..."} 
[2026-11-05 16:43:06] local.INFO: Packet analysis {"connection_id":230367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab68"} 
[2026-11-05 16:43:06] local.INFO: Extracted packet for processing {"connection_id":230367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab68"} 
[2026-11-05 16:43:06] local.INFO: GPS Element Parsed {"raw_longitude":755804736,"raw_latitude":117924640,"longitude_deg":75.5804736,"latitude_deg":11.792464,"altitude":24,"angle":8,"satellites":37,"speed":3,"hex_longitude":"2d0caa40","hex_latitude":"07076320","is_valid_coordinates":true} 
[2026-11-05 16:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232546560001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39513480079867904,"note":"Value kept but may cause issues"} 
[2026-11-05 16:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912612273428811776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:43: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-05 16:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1793877136000,"timestamp_ms":1793877136000,"timestamp_seconds":1793877136,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab68d280"} 
[2026-11-05 16:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-05 16:43:06] 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-05 16:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":230367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":230367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":230367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232546560001,"66":14548,"221":206,"94":10240,"24":3,"16":39513480079867904,"45":912612273428811776},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-11-05 16:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232546560001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:43:06] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-05 16:43:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39513480079867904,"km_value":39513480079867.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":912612273428811776,"description":"Unknown IO ID 45"} 
[2026-11-05 16:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232546560001,"power":14548,"unknown_221":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":912612273428811776}} 
[2026-11-05 16:43:06] 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":64029,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:43:06] local.INFO: GPS data processed {"connection_id":230367,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:43:06] local.INFO: Acknowledgment sent {"connection_id":230367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:43:08] local.INFO: TCP Data received {"connection_id":229838,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:43:08] local.INFO: Processing buffer {"connection_id":229838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:43:08] local.INFO: IMEI packet received {"connection_id":229838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":229838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:43:09] local.INFO: TCP Data received {"connection_id":229838,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:43:09] local.INFO: Processing buffer {"connection_id":229838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab647550012d7fa60005afe2e80000011028..."} 
[2026-11-05 16:43:09] local.INFO: Packet analysis {"connection_id":229838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab64"} 
[2026-11-05 16:43:09] local.INFO: Extracted packet for processing {"connection_id":229838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab64"} 
[2026-11-05 16:43:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232396544001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793876850000,"timestamp_ms":1793876850000,"timestamp_seconds":1793876850,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab647550"} 
[2026-11-05 16:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:43:09] 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-05 16:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232396544001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232396544001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:43:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:43:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232396544001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":229838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:43:09] local.INFO: GPS data processed {"connection_id":229838,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:43:09] local.INFO: Acknowledgment sent {"connection_id":229838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:43:21] local.INFO: TCP Data received {"connection_id":233598,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:43:21] local.INFO: Processing buffer {"connection_id":233598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:43:21] local.INFO: IMEI packet received {"connection_id":233598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 16:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":233598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:43:32] local.INFO: TCP Data received {"connection_id":233599,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233599,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:43:32] local.INFO: Processing buffer {"connection_id":233599,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:43:32] local.INFO: IMEI packet received {"connection_id":233599,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":233599,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:43:33] local.INFO: TCP Data received {"connection_id":233599,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233599,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:43:33] local.INFO: Processing buffer {"connection_id":233599,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:43:33] local.INFO: IMEI packet received {"connection_id":233599,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":233599,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:43:36] local.INFO: TCP Data received {"connection_id":233599,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233599,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:43:36] local.INFO: Processing buffer {"connection_id":233599,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:43:36] local.INFO: IMEI packet received {"connection_id":233599,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":233599,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:43:37] local.INFO: TCP Data received {"connection_id":233599,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab6995d0012d0c7c0007077698001a011325..."} 
[2026-11-05 16:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab6995d0012d0c7c0007077698001a011325..."} 
[2026-11-05 16:43:37] local.INFO: Processing buffer {"connection_id":233599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab6995d0012d0c7c0007077698001a011325..."} 
[2026-11-05 16:43:37] local.INFO: Packet analysis {"connection_id":233599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab69"} 
[2026-11-05 16:43:37] local.INFO: Extracted packet for processing {"connection_id":233599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab69"} 
[2026-11-05 16:43:37] local.INFO: GPS Element Parsed {"raw_longitude":755792896,"raw_latitude":117929624,"longitude_deg":75.5792896,"latitude_deg":11.7929624,"altitude":26,"angle":275,"satellites":37,"speed":17,"hex_longitude":"2d0c7c00","hex_latitude":"07077698","is_valid_coordinates":true} 
[2026-11-05 16:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232559360001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39514321893457920,"note":"Value kept but may cause issues"} 
[2026-11-05 16:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":900016268222285824,"note":"Value kept but may cause issues"} 
[2026-11-05 16:43: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-05 16:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793877186000,"timestamp_ms":1793877186000,"timestamp_seconds":1793877186,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab6995d0"} 
[2026-11-05 16:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-05 16:43:37] 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-05 16:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":233599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":233599,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":233599,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232559360001,"66":14439,"221":206,"94":10240,"24":17,"16":39514321893457920,"45":900016268222285824},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-11-05 16:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232559360001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:43:37] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-05 16:43:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39514321893457920,"km_value":39514321893457.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":900016268222285824,"description":"Unknown IO ID 45"} 
[2026-11-05 16:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232559360001,"power":14439,"unknown_221":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":900016268222285824}} 
[2026-11-05 16:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":233599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64031,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:43:37] local.INFO: GPS data processed {"connection_id":233599,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:43:37] local.INFO: Acknowledgment sent {"connection_id":233599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:43:40] local.INFO: TCP Data received {"connection_id":229838,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab690d18012d7fa60005afe2e80000011022..."} 
[2026-11-05 16:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab690d18012d7fa60005afe2e80000011022..."} 
[2026-11-05 16:43:40] local.INFO: Processing buffer {"connection_id":229838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab690d18012d7fa60005afe2e80000011022..."} 
[2026-11-05 16:43:40] local.INFO: Packet analysis {"connection_id":229838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab69"} 
[2026-11-05 16:43:40] local.INFO: Extracted packet for processing {"connection_id":229838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab69"} 
[2026-11-05 16:43:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":34,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232473600001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793877151000,"timestamp_ms":1793877151000,"timestamp_seconds":1793877151,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab690d18"} 
[2026-11-05 16:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:43: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-05 16:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232473600001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232473600001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:43:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:43:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232473600001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":229838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:43:40] local.INFO: GPS data processed {"connection_id":229838,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:43:40] local.INFO: Acknowledgment sent {"connection_id":229838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:44:05] local.INFO: TCP Data received {"connection_id":231701,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:44:05] local.INFO: Processing buffer {"connection_id":231701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:44:05] local.INFO: IMEI packet received {"connection_id":231701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":231701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:44:05] local.INFO: TCP Data received {"connection_id":229839,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229839,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:44:05] local.INFO: Processing buffer {"connection_id":229839,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:44:05] local.INFO: IMEI packet received {"connection_id":229839,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 16:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":229839,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:44:08] local.INFO: TCP Data received {"connection_id":231701,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:44:08] local.INFO: Processing buffer {"connection_id":231701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:44:08] local.INFO: IMEI packet received {"connection_id":231701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":231701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:44:08] local.INFO: TCP Data received {"connection_id":233599,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab69b510012d0c7000070777400018010425..."} 
[2026-11-05 16:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab69b510012d0c7000070777400018010425..."} 
[2026-11-05 16:44:08] local.INFO: Processing buffer {"connection_id":233599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab69b510012d0c7000070777400018010425..."} 
[2026-11-05 16:44:08] local.INFO: Packet analysis {"connection_id":233599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab69"} 
[2026-11-05 16:44:08] local.INFO: Extracted packet for processing {"connection_id":233599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab69"} 
[2026-11-05 16:44:08] local.INFO: GPS Element Parsed {"raw_longitude":755789824,"raw_latitude":117929792,"longitude_deg":75.5789824,"latitude_deg":11.7929792,"altitude":24,"angle":260,"satellites":37,"speed":11,"hex_longitude":"2d0c7000","hex_latitude":"07077740","is_valid_coordinates":true} 
[2026-11-05 16:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232559616001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39514472217313280,"note":"Value kept but may cause issues"} 
[2026-11-05 16:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":899594055757240320,"note":"Value kept but may cause issues"} 
[2026-11-05 16:44:08] 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-05 16:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793877194000,"timestamp_ms":1793877194000,"timestamp_seconds":1793877194,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab69b510"} 
[2026-11-05 16:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-05 16:44:08] 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-05 16:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":233599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":233599,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":233599,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232559616001,"66":14613,"221":206,"94":10240,"24":11,"16":39514472217313280,"45":899594055757240320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-11-05 16:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232559616001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:44:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-05 16:44:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39514472217313280,"km_value":39514472217313.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":899594055757240320,"description":"Unknown IO ID 45"} 
[2026-11-05 16:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232559616001,"power":14613,"unknown_221":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":899594055757240320}} 
[2026-11-05 16:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":233599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64033,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:44:08] local.INFO: GPS data processed {"connection_id":233599,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:44:08] local.INFO: Acknowledgment sent {"connection_id":233599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:44:09] local.INFO: TCP Data received {"connection_id":231701,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab690d18012d7fa60005afe2e80000011022..."} 
[2026-11-05 16:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab690d18012d7fa60005afe2e80000011022..."} 
[2026-11-05 16:44:09] local.INFO: Processing buffer {"connection_id":231701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab690d18012d7fa60005afe2e80000011022..."} 
[2026-11-05 16:44:09] local.INFO: Packet analysis {"connection_id":231701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab69"} 
[2026-11-05 16:44:09] local.INFO: Extracted packet for processing {"connection_id":231701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab69"} 
[2026-11-05 16:44:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":34,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:44: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-05 16:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232473600001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793877151000,"timestamp_ms":1793877151000,"timestamp_seconds":1793877151,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab690d18"} 
[2026-11-05 16:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16:44: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-05 16:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:44:09] 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-05 16:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232473600001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232473600001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:44:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:44:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232473600001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":231701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:44:09] local.INFO: GPS data processed {"connection_id":231701,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:44:09] local.INFO: Acknowledgment sent {"connection_id":231701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:44:31] local.INFO: TCP Data received {"connection_id":230368,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230368,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:44:31] local.INFO: Processing buffer {"connection_id":230368,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:44:31] local.INFO: IMEI packet received {"connection_id":230368,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":230368,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:44:32] local.INFO: TCP Data received {"connection_id":230368,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230368,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:44:32] local.INFO: Processing buffer {"connection_id":230368,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:44:32] local.INFO: IMEI packet received {"connection_id":230368,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":230368,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:44:36] local.INFO: TCP Data received {"connection_id":230368,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230368,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:44:36] local.INFO: Processing buffer {"connection_id":230368,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:44:36] local.INFO: IMEI packet received {"connection_id":230368,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":230368,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:44:37] local.INFO: TCP Data received {"connection_id":230368,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab6a7c48012d0c050007074ef00013010723..."} 
[2026-11-05 16:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab6a7c48012d0c050007074ef00013010723..."} 
[2026-11-05 16:44:37] local.INFO: Processing buffer {"connection_id":230368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab6a7c48012d0c050007074ef00013010723..."} 
[2026-11-05 16:44:37] local.INFO: Packet analysis {"connection_id":230368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab6a"} 
[2026-11-05 16:44:37] local.INFO: Extracted packet for processing {"connection_id":230368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab6a"} 
[2026-11-05 16:44:37] local.INFO: GPS Element Parsed {"raw_longitude":755762432,"raw_latitude":117919472,"longitude_deg":75.5762432,"latitude_deg":11.7919472,"altitude":19,"angle":263,"satellites":35,"speed":28,"hex_longitude":"2d0c0500","hex_latitude":"07074ef0","is_valid_coordinates":true} 
[2026-11-05 16:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232572160001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39516108599853056,"note":"Value kept but may cause issues"} 
[2026-11-05 16:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876161263943694336,"note":"Value kept but may cause issues"} 
[2026-11-05 16:44: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-05 16:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793877245000,"timestamp_ms":1793877245000,"timestamp_seconds":1793877245,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab6a7c48"} 
[2026-11-05 16:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 16:44:37] 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-05 16:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":230368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":230368,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":230368,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232572160001,"66":14559,"221":206,"94":10240,"24":28,"16":39516108599853056,"45":876161263943694336},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-11-05 16:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232572160001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:44:37] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-05 16:44:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39516108599853056,"km_value":39516108599853.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":876161263943694336,"description":"Unknown IO ID 45"} 
[2026-11-05 16:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232572160001,"power":14559,"unknown_221":206,"unknown_94":10240,"ignition":28,"odometer":null,"unknown_45":876161263943694336}} 
[2026-11-05 16:44:37] 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":64035,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:44:37] local.INFO: GPS data processed {"connection_id":230368,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:44:37] local.INFO: Acknowledgment sent {"connection_id":230368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:44:40] local.INFO: TCP Data received {"connection_id":231701,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab690d18012d7fa60005afe2e80000011022..."} 
[2026-11-05 16:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab690d18012d7fa60005afe2e80000011022..."} 
[2026-11-05 16:44:40] local.INFO: Processing buffer {"connection_id":231701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab690d18012d7fa60005afe2e80000011022..."} 
[2026-11-05 16:44:40] local.INFO: Packet analysis {"connection_id":231701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab69"} 
[2026-11-05 16:44:40] local.INFO: Extracted packet for processing {"connection_id":231701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab69"} 
[2026-11-05 16:44:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":34,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232473600001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793877151000,"timestamp_ms":1793877151000,"timestamp_seconds":1793877151,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab690d18"} 
[2026-11-05 16:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:44: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-05 16:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232473600001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232473600001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:44:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:44:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232473600001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":231701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:44:40] local.INFO: GPS data processed {"connection_id":231701,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:44:40] local.INFO: Acknowledgment sent {"connection_id":231701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:45:08] local.INFO: TCP Data received {"connection_id":230368,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab6b5708012d0bb4c007071aa8001000d023..."} 
[2026-11-05 16:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab6b5708012d0bb4c007071aa8001000d023..."} 
[2026-11-05 16:45:08] local.INFO: Processing buffer {"connection_id":230368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab6b5708012d0bb4c007071aa8001000d023..."} 
[2026-11-05 16:45:08] local.INFO: Packet analysis {"connection_id":230368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab6b"} 
[2026-11-05 16:45:08] local.INFO: Extracted packet for processing {"connection_id":230368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab6b"} 
[2026-11-05 16:45:08] local.INFO: GPS Element Parsed {"raw_longitude":755741888,"raw_latitude":117906088,"longitude_deg":75.5741888,"latitude_deg":11.7906088,"altitude":16,"angle":208,"satellites":35,"speed":20,"hex_longitude":"2d0bb4c0","hex_latitude":"07071aa8","is_valid_coordinates":true} 
[2026-11-05 16:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232588800001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39517590363570176,"note":"Value kept but may cause issues"} 
[2026-11-05 16:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843721272874268672,"note":"Value kept but may cause issues"} 
[2026-11-05 16:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793877301000,"timestamp_ms":1793877301000,"timestamp_seconds":1793877301,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab6b5708"} 
[2026-11-05 16:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-05 16:45:08] 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-05 16:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":230368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":230368,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":230368,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232588800001,"66":14548,"163":206,"94":10240,"24":20,"16":39517590363570176,"45":843721272874268672},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-11-05 16:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232588800001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:45:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-05 16:45:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39517590363570176,"km_value":39517590363570.18,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":843721272874268672,"description":"Unknown IO ID 45"} 
[2026-11-05 16:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232588800001,"power":14548,"unknown_163":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":843721272874268672}} 
[2026-11-05 16:45:08] 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":64037,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:45:08] local.INFO: GPS data processed {"connection_id":230368,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:45:08] local.INFO: Acknowledgment sent {"connection_id":230368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:45:11] local.INFO: TCP Data received {"connection_id":233600,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:45:11] local.INFO: Processing buffer {"connection_id":233600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:45:11] local.INFO: IMEI packet received {"connection_id":233600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":233600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:45:13] local.INFO: TCP Data received {"connection_id":233600,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:45:13] local.INFO: Processing buffer {"connection_id":233600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:45:13] local.INFO: IMEI packet received {"connection_id":233600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":233600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:45:14] local.INFO: TCP Data received {"connection_id":233600,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab690d18012d7fa60005afe2e80000011022..."} 
[2026-11-05 16:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab690d18012d7fa60005afe2e80000011022..."} 
[2026-11-05 16:45:14] local.INFO: Processing buffer {"connection_id":233600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab690d18012d7fa60005afe2e80000011022..."} 
[2026-11-05 16:45:14] local.INFO: Packet analysis {"connection_id":233600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab69"} 
[2026-11-05 16:45:14] local.INFO: Extracted packet for processing {"connection_id":233600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab69"} 
[2026-11-05 16:45:14] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":34,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 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-05 16:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232473600001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:45:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793877151000,"timestamp_ms":1793877151000,"timestamp_seconds":1793877151,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab690d18"} 
[2026-11-05 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-05 16:45: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-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 16:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232473600001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232473600001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:45:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:45:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232473600001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":233600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:45:14] local.INFO: GPS data processed {"connection_id":233600,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:45:14] local.INFO: Acknowledgment sent {"connection_id":233600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:45:20] local.INFO: TCP Data received {"connection_id":233600,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab690d18012d7fa60005afe2e80000011022..."} 
[2026-11-05 16:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab690d18012d7fa60005afe2e80000011022..."} 
[2026-11-05 16:45:20] local.INFO: Processing buffer {"connection_id":233600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab690d18012d7fa60005afe2e80000011022..."} 
[2026-11-05 16:45:20] local.INFO: Packet analysis {"connection_id":233600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab69"} 
[2026-11-05 16:45:20] local.INFO: Extracted packet for processing {"connection_id":233600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab69"} 
[2026-11-05 16:45:20] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":34,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232473600001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793877151000,"timestamp_ms":1793877151000,"timestamp_seconds":1793877151,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab690d18"} 
[2026-11-05 16:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:45: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-05 16:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":233600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":233600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":233600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:45:20] 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-05 16:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232473600001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232473600001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:45:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:45:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232473600001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":233600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:45:20] local.INFO: GPS data processed {"connection_id":233600,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:45:20] local.INFO: Acknowledgment sent {"connection_id":233600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:45:31] local.INFO: TCP Data received {"connection_id":229841,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229841,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:45:31] local.INFO: Processing buffer {"connection_id":229841,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:45:31] local.INFO: IMEI packet received {"connection_id":229841,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":229841,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:45:32] local.INFO: TCP Data received {"connection_id":229841,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229841,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:45:32] local.INFO: Processing buffer {"connection_id":229841,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:45:32] local.INFO: IMEI packet received {"connection_id":229841,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":229841,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:45:36] local.INFO: TCP Data received {"connection_id":229841,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229841,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:45:36] local.INFO: Processing buffer {"connection_id":229841,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:45:36] local.INFO: IMEI packet received {"connection_id":229841,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":229841,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:45:37] local.INFO: TCP Data received {"connection_id":229841,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab6b5af0012d0bb38007071930001000e523..."} 
[2026-11-05 16:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab6b5af0012d0bb38007071930001000e523..."} 
[2026-11-05 16:45:37] local.INFO: Processing buffer {"connection_id":229841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab6b5af0012d0bb38007071930001000e523..."} 
[2026-11-05 16:45:37] local.INFO: Packet analysis {"connection_id":229841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab6b"} 
[2026-11-05 16:45:37] local.INFO: Extracted packet for processing {"connection_id":229841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab6b"} 
[2026-11-05 16:45:37] local.INFO: GPS Element Parsed {"raw_longitude":755741568,"raw_latitude":117905712,"longitude_deg":75.5741568,"latitude_deg":11.7905712,"altitude":16,"angle":229,"satellites":35,"speed":20,"hex_longitude":"2d0bb380","hex_latitude":"07071930","is_valid_coordinates":true} 
[2026-11-05 16:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232589056001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39517616133373952,"note":"Value kept but may cause issues"} 
[2026-11-05 16:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843510166641616896,"note":"Value kept but may cause issues"} 
[2026-11-05 16:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793877302000,"timestamp_ms":1793877302000,"timestamp_seconds":1793877302,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab6b5af0"} 
[2026-11-05 16:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-05 16:45: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-05 16:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":229841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":229841,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":229841,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232589056001,"66":14548,"163":206,"94":10240,"24":20,"16":39517616133373952,"45":843510166641616896},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-11-05 16:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232589056001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:45:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-05 16:45:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39517616133373952,"km_value":39517616133373.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":843510166641616896,"description":"Unknown IO ID 45"} 
[2026-11-05 16:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232589056001,"power":14548,"unknown_163":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":843510166641616896}} 
[2026-11-05 16:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":229841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64040,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:45:37] local.INFO: GPS data processed {"connection_id":229841,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:45:37] local.INFO: Acknowledgment sent {"connection_id":229841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:46:03] local.INFO: TCP Data received {"connection_id":233601,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:46:03] local.INFO: Processing buffer {"connection_id":233601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:46:03] local.INFO: IMEI packet received {"connection_id":233601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":233601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:46:08] local.INFO: TCP Data received {"connection_id":233601,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:46:08] local.INFO: Processing buffer {"connection_id":233601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:46:08] local.INFO: IMEI packet received {"connection_id":233601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":233601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:46:08] local.INFO: TCP Data received {"connection_id":229841,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab6b5ed8012d0bb18007071838001000f823..."} 
[2026-11-05 16:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab6b5ed8012d0bb18007071838001000f823..."} 
[2026-11-05 16:46:08] local.INFO: Processing buffer {"connection_id":229841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab6b5ed8012d0bb18007071838001000f823..."} 
[2026-11-05 16:46:08] local.INFO: Packet analysis {"connection_id":229841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab6b"} 
[2026-11-05 16:46:08] local.INFO: Extracted packet for processing {"connection_id":229841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab6b"} 
[2026-11-05 16:46:08] local.INFO: GPS Element Parsed {"raw_longitude":755741056,"raw_latitude":117905464,"longitude_deg":75.5741056,"latitude_deg":11.7905464,"altitude":16,"angle":248,"satellites":35,"speed":23,"hex_longitude":"2d0bb180","hex_latitude":"07071838","is_valid_coordinates":true} 
[2026-11-05 16:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232589312001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39517641903177728,"note":"Value kept but may cause issues"} 
[2026-11-05 16:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843158322920632320,"note":"Value kept but may cause issues"} 
[2026-11-05 16:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793877303000,"timestamp_ms":1793877303000,"timestamp_seconds":1793877303,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab6b5ed8"} 
[2026-11-05 16:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-05 16:46:08] 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-05 16:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":229841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":229841,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":229841,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232589312001,"66":14548,"163":206,"94":10240,"24":23,"16":39517641903177728,"45":843158322920632320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-11-05 16:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232589312001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:46:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-05 16:46:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39517641903177728,"km_value":39517641903177.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":843158322920632320,"description":"Unknown IO ID 45"} 
[2026-11-05 16:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232589312001,"power":14548,"unknown_163":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":843158322920632320}} 
[2026-11-05 16:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":229841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64041,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:46:08] local.INFO: GPS data processed {"connection_id":229841,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:46:08] local.INFO: Acknowledgment sent {"connection_id":229841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:46:09] local.INFO: TCP Data received {"connection_id":233601,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab690d18012d7fa60005afe2e80000011022..."} 
[2026-11-05 16:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab690d18012d7fa60005afe2e80000011022..."} 
[2026-11-05 16:46:09] local.INFO: Processing buffer {"connection_id":233601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab690d18012d7fa60005afe2e80000011022..."} 
[2026-11-05 16:46:09] local.INFO: Packet analysis {"connection_id":233601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab69"} 
[2026-11-05 16:46:09] local.INFO: Extracted packet for processing {"connection_id":233601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab69"} 
[2026-11-05 16:46:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":34,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232473600001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793877151000,"timestamp_ms":1793877151000,"timestamp_seconds":1793877151,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab690d18"} 
[2026-11-05 16:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:46:09] local.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-05 16:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232473600001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232473600001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:46:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:46:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232473600001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":233601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:46:09] local.INFO: GPS data processed {"connection_id":233601,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:46:09] local.INFO: Acknowledgment sent {"connection_id":233601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:46:36] local.INFO: TCP Data received {"connection_id":231703,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231703,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:46:36] local.INFO: Processing buffer {"connection_id":231703,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:46:36] local.INFO: IMEI packet received {"connection_id":231703,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":231703,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:46:40] local.INFO: TCP Data received {"connection_id":231703,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231703,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:46:40] local.INFO: Processing buffer {"connection_id":231703,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:46:40] local.INFO: IMEI packet received {"connection_id":231703,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":231703,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:46:40] local.INFO: TCP Data received {"connection_id":233601,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab690d18012d7fa60005afe2e80000011022..."} 
[2026-11-05 16:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab690d18012d7fa60005afe2e80000011022..."} 
[2026-11-05 16:46:40] local.INFO: Processing buffer {"connection_id":233601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab690d18012d7fa60005afe2e80000011022..."} 
[2026-11-05 16:46:40] local.INFO: Packet analysis {"connection_id":233601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab69"} 
[2026-11-05 16:46:40] local.INFO: Extracted packet for processing {"connection_id":233601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab69"} 
[2026-11-05 16:46:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":34,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232473600001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793877151000,"timestamp_ms":1793877151000,"timestamp_seconds":1793877151,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab690d18"} 
[2026-11-05 16:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:46: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-05 16:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:46:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232473600001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232473600001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:46:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:46:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232473600001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":233601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:46:40] local.INFO: GPS data processed {"connection_id":233601,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:46:40] local.INFO: Acknowledgment sent {"connection_id":233601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:46:41] local.INFO: TCP Data received {"connection_id":231703,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab6c6490012d0b124007069438000a00e122..."} 
[2026-11-05 16:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab6c6490012d0b124007069438000a00e122..."} 
[2026-11-05 16:46:41] local.INFO: Processing buffer {"connection_id":231703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab6c6490012d0b124007069438000a00e122..."} 
[2026-11-05 16:46:41] local.INFO: Packet analysis {"connection_id":231703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab6c"} 
[2026-11-05 16:46:41] local.INFO: Extracted packet for processing {"connection_id":231703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab6c"} 
[2026-11-05 16:46:41] local.INFO: GPS Element Parsed {"raw_longitude":755700288,"raw_latitude":117871672,"longitude_deg":75.5700288,"latitude_deg":11.7871672,"altitude":10,"angle":225,"satellites":34,"speed":17,"hex_longitude":"2d0b1240","hex_latitude":"07069438","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232605696001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39520429336952832,"note":"Value kept but may cause issues"} 
[2026-11-05 16:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798966751568734208,"note":"Value kept but may cause issues"} 
[2026-11-05 16:46:41] 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-05 16:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793877370000,"timestamp_ms":1793877370000,"timestamp_seconds":1793877370,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab6c6490"} 
[2026-11-05 16: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-05 16:46:41] 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-05 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 16:46:41] 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-05 16: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-05 16: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-05 16:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231703,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231703,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232605696001,"66":14407,"163":206,"94":10240,"24":17,"16":39520429336952832,"45":798966751568734208},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-11-05 16:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232605696001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:46:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-05 16:46:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39520429336952832,"km_value":39520429336952.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":798966751568734208,"description":"Unknown IO ID 45"} 
[2026-11-05 16:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232605696001,"power":14407,"unknown_163":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":798966751568734208}} 
[2026-11-05 16:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":231703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64044,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:46:41] local.INFO: GPS data processed {"connection_id":231703,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:46:41] local.INFO: Acknowledgment sent {"connection_id":231703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:46:42] local.INFO: TCP Data received {"connection_id":231703,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab6ca310012d0afdc007067de0000c00d321..."} 
[2026-11-05 16:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab6ca310012d0afdc007067de0000c00d321..."} 
[2026-11-05 16:46:42] local.INFO: Processing buffer {"connection_id":231703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab6ca310012d0afdc007067de0000c00d321..."} 
[2026-11-05 16:46:42] local.INFO: Packet analysis {"connection_id":231703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab6c"} 
[2026-11-05 16:46:42] local.INFO: Extracted packet for processing {"connection_id":231703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab6c"} 
[2026-11-05 16:46:42] local.INFO: GPS Element Parsed {"raw_longitude":755695040,"raw_latitude":117865952,"longitude_deg":75.569504,"latitude_deg":11.7865952,"altitude":12,"angle":211,"satellites":33,"speed":26,"hex_longitude":"2d0afdc0","hex_latitude":"07067de0","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232606720001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39520807294074880,"note":"Value kept but may cause issues"} 
[2026-11-05 16:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797770482917324800,"note":"Value kept but may cause issues"} 
[2026-11-05 16:46:42] 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-05 16:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793877386000,"timestamp_ms":1793877386000,"timestamp_seconds":1793877386,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab6ca310"} 
[2026-11-05 16: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-05 16:46:42] 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-05 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 16:46:42] 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-05 16: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-05 16: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-05 16:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231703,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231703,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232606720001,"66":14450,"163":206,"94":10240,"24":26,"16":39520807294074880,"45":797770482917324800},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-11-05 16:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232606720001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:46:42] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-05 16:46:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39520807294074880,"km_value":39520807294074.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":797770482917324800,"description":"Unknown IO ID 45"} 
[2026-11-05 16:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232606720001,"power":14450,"unknown_163":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":797770482917324800}} 
[2026-11-05 16:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":231703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64045,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:46:42] local.INFO: GPS data processed {"connection_id":231703,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:46:42] local.INFO: Acknowledgment sent {"connection_id":231703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:47:03] local.INFO: TCP Data received {"connection_id":231704,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:47:03] local.INFO: Processing buffer {"connection_id":231704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:47:03] local.INFO: IMEI packet received {"connection_id":231704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":231704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:47:08] local.INFO: TCP Data received {"connection_id":231704,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:47:08] local.INFO: Processing buffer {"connection_id":231704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:47:08] local.INFO: IMEI packet received {"connection_id":231704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":231704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:47:09] local.INFO: TCP Data received {"connection_id":231704,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab690d18012d7fa60005afe2e80000011022..."} 
[2026-11-05 16:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab690d18012d7fa60005afe2e80000011022..."} 
[2026-11-05 16:47:09] local.INFO: Processing buffer {"connection_id":231704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab690d18012d7fa60005afe2e80000011022..."} 
[2026-11-05 16:47:09] local.INFO: Packet analysis {"connection_id":231704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab69"} 
[2026-11-05 16:47:09] local.INFO: Extracted packet for processing {"connection_id":231704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab69"} 
[2026-11-05 16:47:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":34,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232473600001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793877151000,"timestamp_ms":1793877151000,"timestamp_seconds":1793877151,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab690d18"} 
[2026-11-05 16: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-05 16:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16: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-05 16: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-05 16:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:47:09] 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-05 16:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232473600001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232473600001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:47:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:47:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232473600001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":231704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:47:09] local.INFO: GPS data processed {"connection_id":231704,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:47:09] local.INFO: Acknowledgment sent {"connection_id":231704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:47:13] local.INFO: TCP Data received {"connection_id":231703,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab6ca6f8012d0afc8007067b90000c00c721..."} 
[2026-11-05 16:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab6ca6f8012d0afc8007067b90000c00c721..."} 
[2026-11-05 16:47:13] local.INFO: Processing buffer {"connection_id":231703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab6ca6f8012d0afc8007067b90000c00c721..."} 
[2026-11-05 16:47:13] local.INFO: Packet analysis {"connection_id":231703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab6c"} 
[2026-11-05 16:47:13] local.INFO: Extracted packet for processing {"connection_id":231703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab6c"} 
[2026-11-05 16:47:13] local.INFO: GPS Element Parsed {"raw_longitude":755694720,"raw_latitude":117865360,"longitude_deg":75.569472,"latitude_deg":11.786536,"altitude":12,"angle":199,"satellites":33,"speed":25,"hex_longitude":"2d0afc80","hex_latitude":"07067b90","is_valid_coordinates":true} 
[2026-11-05 16:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232610816001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39520837358845952,"note":"Value kept but may cause issues"} 
[2026-11-05 16:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":792000245893292032,"note":"Value kept but may cause issues"} 
[2026-11-05 16:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793877387000,"timestamp_ms":1793877387000,"timestamp_seconds":1793877387,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab6ca6f8"} 
[2026-11-05 16:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:47:13] 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-05 16:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-05 16:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":231703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":231703,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":231703,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232610816001,"66":14428,"163":206,"94":10240,"24":25,"16":39520837358845952,"45":792000245893292032},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-11-05 16:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232610816001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:47:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-05 16:47:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39520837358845952,"km_value":39520837358845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":792000245893292032,"description":"Unknown IO ID 45"} 
[2026-11-05 16:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232610816001,"power":14428,"unknown_163":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":792000245893292032}} 
[2026-11-05 16:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":231703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64047,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:47:14] local.INFO: GPS data processed {"connection_id":231703,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:47:14] local.INFO: Acknowledgment sent {"connection_id":231703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:47:31] local.INFO: TCP Data received {"connection_id":229843,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229843,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:47:31] local.INFO: Processing buffer {"connection_id":229843,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:47:31] local.INFO: IMEI packet received {"connection_id":229843,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":229843,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:47:34] local.INFO: TCP Data received {"connection_id":229843,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229843,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:47:34] local.INFO: Processing buffer {"connection_id":229843,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:47:34] local.INFO: IMEI packet received {"connection_id":229843,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":229843,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:47:34] local.INFO: TCP Data received {"connection_id":229843,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab6caec8012d0afac007067760000c00da21..."} 
[2026-11-05 16:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab6caec8012d0afac007067760000c00da21..."} 
[2026-11-05 16:47:34] local.INFO: Processing buffer {"connection_id":229843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab6caec8012d0afac007067760000c00da21..."} 
[2026-11-05 16:47:34] local.INFO: Packet analysis {"connection_id":229843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab6c"} 
[2026-11-05 16:47:34] local.INFO: Extracted packet for processing {"connection_id":229843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab6c"} 
[2026-11-05 16:47:34] local.INFO: GPS Element Parsed {"raw_longitude":755694272,"raw_latitude":117864288,"longitude_deg":75.5694272,"latitude_deg":11.7864288,"altitude":12,"angle":218,"satellites":33,"speed":22,"hex_longitude":"2d0afac0","hex_latitude":"07067760","is_valid_coordinates":true} 
[2026-11-05 16:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232611072001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39520893193420800,"note":"Value kept but may cause issues"} 
[2026-11-05 16:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791648402172252160,"note":"Value kept but may cause issues"} 
[2026-11-05 16:47:34] 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-05 16:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793877389000,"timestamp_ms":1793877389000,"timestamp_seconds":1793877389,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab6caec8"} 
[2026-11-05 16:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 16:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":229843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":229843,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":229843,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232611072001,"66":14428,"163":206,"94":10240,"24":22,"16":39520893193420800,"45":791648402172252160},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-11-05 16:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232611072001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:47:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-05 16:47:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39520893193420800,"km_value":39520893193420.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":791648402172252160,"description":"Unknown IO ID 45"} 
[2026-11-05 16:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232611072001,"power":14428,"unknown_163":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":791648402172252160}} 
[2026-11-05 16:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":229843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64048,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:47:34] local.INFO: GPS data processed {"connection_id":229843,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:47:34] local.INFO: Acknowledgment sent {"connection_id":229843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:47:40] local.INFO: TCP Data received {"connection_id":231704,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab690d18012d7fa60005afe2e80000011022..."} 
[2026-11-05 16:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab690d18012d7fa60005afe2e80000011022..."} 
[2026-11-05 16:47:40] local.INFO: Processing buffer {"connection_id":231704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab690d18012d7fa60005afe2e80000011022..."} 
[2026-11-05 16:47:40] local.INFO: Packet analysis {"connection_id":231704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab69"} 
[2026-11-05 16:47:40] local.INFO: Extracted packet for processing {"connection_id":231704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab69"} 
[2026-11-05 16:47:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":34,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232473600001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793877151000,"timestamp_ms":1793877151000,"timestamp_seconds":1793877151,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab690d18"} 
[2026-11-05 16:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:47: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-05 16:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232473600001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232473600001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:47:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:47:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232473600001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":231704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:47:40] local.INFO: GPS data processed {"connection_id":231704,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:47:40] local.INFO: Acknowledgment sent {"connection_id":231704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:48:03] local.INFO: TCP Data received {"connection_id":229844,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:48:03] local.INFO: Processing buffer {"connection_id":229844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:48:03] local.INFO: IMEI packet received {"connection_id":229844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":229844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:48:05] local.INFO: TCP Data received {"connection_id":229843,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab6cb2b0012d0af900070675e8000b00e921..."} 
[2026-11-05 16:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab6cb2b0012d0af900070675e8000b00e921..."} 
[2026-11-05 16:48:05] local.INFO: Processing buffer {"connection_id":229843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab6cb2b0012d0af900070675e8000b00e921..."} 
[2026-11-05 16:48:05] local.INFO: Packet analysis {"connection_id":229843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab6c"} 
[2026-11-05 16:48:05] local.INFO: Extracted packet for processing {"connection_id":229843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab6c"} 
[2026-11-05 16:48:05] local.INFO: GPS Element Parsed {"raw_longitude":755693824,"raw_latitude":117863912,"longitude_deg":75.5693824,"latitude_deg":11.7863912,"altitude":11,"angle":233,"satellites":33,"speed":22,"hex_longitude":"2d0af900","hex_latitude":"070675e8","is_valid_coordinates":true} 
[2026-11-05 16:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232611584001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39520923258191872,"note":"Value kept but may cause issues"} 
[2026-11-05 16:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791155820962734080,"note":"Value kept but may cause issues"} 
[2026-11-05 16:48:05] 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-05 16:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793877390000,"timestamp_ms":1793877390000,"timestamp_seconds":1793877390,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab6cb2b0"} 
[2026-11-05 16:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 16:48: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-05 16:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":229843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":229843,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":229843,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232611584001,"66":14439,"163":206,"94":10240,"24":22,"16":39520923258191872,"45":791155820962734080},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-11-05 16:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232611584001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:48:05] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-05 16:48:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39520923258191872,"km_value":39520923258191.875,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":791155820962734080,"description":"Unknown IO ID 45"} 
[2026-11-05 16:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232611584001,"power":14439,"unknown_163":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":791155820962734080}} 
[2026-11-05 16:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":229843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64050,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:48:05] local.INFO: GPS data processed {"connection_id":229843,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:48:05] local.INFO: Acknowledgment sent {"connection_id":229843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:48:08] local.INFO: TCP Data received {"connection_id":229844,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:48:08] local.INFO: Processing buffer {"connection_id":229844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:48:08] local.INFO: IMEI packet received {"connection_id":229844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":229844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:48:09] local.INFO: TCP Data received {"connection_id":229844,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab690d18012d7fa60005afe2e80000011022..."} 
[2026-11-05 16:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab690d18012d7fa60005afe2e80000011022..."} 
[2026-11-05 16:48:09] local.INFO: Processing buffer {"connection_id":229844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab690d18012d7fa60005afe2e80000011022..."} 
[2026-11-05 16:48:09] local.INFO: Packet analysis {"connection_id":229844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab69"} 
[2026-11-05 16:48:09] local.INFO: Extracted packet for processing {"connection_id":229844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab69"} 
[2026-11-05 16:48:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":34,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232473600001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793877151000,"timestamp_ms":1793877151000,"timestamp_seconds":1793877151,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab690d18"} 
[2026-11-05 16:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:48:09] 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-05 16:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232473600001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232473600001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:48:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:48:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232473600001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":229844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:48:09] local.INFO: GPS data processed {"connection_id":229844,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:48:09] local.INFO: Acknowledgment sent {"connection_id":229844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:48:31] local.INFO: TCP Data received {"connection_id":230369,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230369,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:48:31] local.INFO: Processing buffer {"connection_id":230369,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:48:31] local.INFO: IMEI packet received {"connection_id":230369,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":230369,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:48:36] local.INFO: TCP Data received {"connection_id":230369,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230369,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:48:36] local.INFO: Processing buffer {"connection_id":230369,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:48:36] local.INFO: IMEI packet received {"connection_id":230369,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":230369,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:48:37] local.INFO: TCP Data received {"connection_id":230369,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab6cd1f0012d0af00007066f18000c00d223..."} 
[2026-11-05 16:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab6cd1f0012d0af00007066f18000c00d223..."} 
[2026-11-05 16:48:37] local.INFO: Processing buffer {"connection_id":230369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab6cd1f0012d0af00007066f18000c00d223..."} 
[2026-11-05 16:48:37] local.INFO: Packet analysis {"connection_id":230369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab6c"} 
[2026-11-05 16:48:37] local.INFO: Extracted packet for processing {"connection_id":230369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab6c"} 
[2026-11-05 16:48:37] local.INFO: GPS Element Parsed {"raw_longitude":755691520,"raw_latitude":117862168,"longitude_deg":75.569152,"latitude_deg":11.7862168,"altitude":12,"angle":210,"satellites":35,"speed":5,"hex_longitude":"2d0af000","hex_latitude":"07066f18","is_valid_coordinates":true} 
[2026-11-05 16:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232611840001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39521060697145344,"note":"Value kept but may cause issues"} 
[2026-11-05 16:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":790663239753394176,"note":"Value kept but may cause issues"} 
[2026-11-05 16:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793877398000,"timestamp_ms":1793877398000,"timestamp_seconds":1793877398,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab6cd1f0"} 
[2026-11-05 16:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-05 16:48:37] 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-05 16:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":230369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":230369,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":230369,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232611840001,"66":14548,"163":206,"94":10240,"24":5,"16":39521060697145344,"45":790663239753394176},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-11-05 16:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232611840001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:48:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-05 16:48:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39521060697145344,"km_value":39521060697145.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":790663239753394176,"description":"Unknown IO ID 45"} 
[2026-11-05 16:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232611840001,"power":14548,"unknown_163":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":790663239753394176}} 
[2026-11-05 16:48:37] 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":64052,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:48:37] local.INFO: GPS data processed {"connection_id":230369,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:48:37] local.INFO: Acknowledgment sent {"connection_id":230369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:48:40] local.INFO: TCP Data received {"connection_id":229844,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab6da4e0012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab6da4e0012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:48:40] local.INFO: Processing buffer {"connection_id":229844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab6da4e0012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:48:40] local.INFO: Packet analysis {"connection_id":229844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab6d"} 
[2026-11-05 16:48:40] local.INFO: Extracted packet for processing {"connection_id":229844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab6d"} 
[2026-11-05 16:48:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232550656001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793877452000,"timestamp_ms":1793877452000,"timestamp_seconds":1793877452,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab6da4e0"} 
[2026-11-05 16: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-05 16:48: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-05 16:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232550656001,"66":25299,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232550656001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:48:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:48:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232550656001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":229844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:48:40] local.INFO: GPS data processed {"connection_id":229844,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:48:40] local.INFO: Acknowledgment sent {"connection_id":229844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:49:03] local.INFO: TCP Data received {"connection_id":231705,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:49:03] local.INFO: Processing buffer {"connection_id":231705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:49:03] local.INFO: IMEI packet received {"connection_id":231705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":231705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:49:08] local.INFO: TCP Data received {"connection_id":231705,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:49:08] local.INFO: Processing buffer {"connection_id":231705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:49:08] local.INFO: IMEI packet received {"connection_id":231705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":231705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:49:08] local.INFO: TCP Data received {"connection_id":230369,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab6edd60012d0b5340070609c0000f00c621..."} 
[2026-11-05 16:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab6edd60012d0b5340070609c0000f00c621..."} 
[2026-11-05 16:49:08] local.INFO: Processing buffer {"connection_id":230369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab6edd60012d0b5340070609c0000f00c621..."} 
[2026-11-05 16:49:08] local.INFO: Packet analysis {"connection_id":230369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab6e"} 
[2026-11-05 16:49:08] local.INFO: Extracted packet for processing {"connection_id":230369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab6e"} 
[2026-11-05 16:49:08] local.INFO: GPS Element Parsed {"raw_longitude":755716928,"raw_latitude":117836224,"longitude_deg":75.5716928,"latitude_deg":11.7836224,"altitude":15,"angle":198,"satellites":33,"speed":3,"hex_longitude":"2d0b5340","hex_latitude":"070609c0","is_valid_coordinates":true} 
[2026-11-05 16:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232647424001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39523156641185792,"note":"Value kept but may cause issues"} 
[2026-11-05 16:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816207093882867712,"note":"Value kept but may cause issues"} 
[2026-11-05 16:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793877532000,"timestamp_ms":1793877532000,"timestamp_seconds":1793877532,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab6edd60"} 
[2026-11-05 16:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 16:49:08] 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-05 16:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":230369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":230369,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":230369,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232647424001,"66":14428,"165":206,"94":10240,"24":3,"16":39523156641185792,"45":816207093882867712},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 16:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232647424001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:49:08] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 16:49:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39523156641185792,"km_value":39523156641185.79,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":816207093882867712,"description":"Unknown IO ID 45"} 
[2026-11-05 16:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232647424001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":816207093882867712}} 
[2026-11-05 16:49:09] 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":64054,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:49:09] local.INFO: GPS data processed {"connection_id":230369,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:49:09] local.INFO: Acknowledgment sent {"connection_id":230369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:49:09] local.INFO: TCP Data received {"connection_id":231705,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab6da4e0012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab6da4e0012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:49:09] local.INFO: Processing buffer {"connection_id":231705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab6da4e0012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:49:09] local.INFO: Packet analysis {"connection_id":231705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab6d"} 
[2026-11-05 16:49:09] local.INFO: Extracted packet for processing {"connection_id":231705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab6d"} 
[2026-11-05 16:49:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232550656001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793877452000,"timestamp_ms":1793877452000,"timestamp_seconds":1793877452,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab6da4e0"} 
[2026-11-05 16:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:49:09] 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-05 16:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232550656001,"66":25299,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232550656001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:49:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:49:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232550656001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":231705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:49:09] local.INFO: GPS data processed {"connection_id":231705,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:49:09] local.INFO: Acknowledgment sent {"connection_id":231705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:49:31] local.INFO: TCP Data received {"connection_id":233602,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233602,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:49:31] local.INFO: Processing buffer {"connection_id":233602,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:49:31] local.INFO: IMEI packet received {"connection_id":233602,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":233602,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:49:36] local.INFO: TCP Data received {"connection_id":233602,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233602,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:49:36] local.INFO: Processing buffer {"connection_id":233602,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:49:36] local.INFO: IMEI packet received {"connection_id":233602,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":233602,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:49:37] local.INFO: TCP Data received {"connection_id":233602,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab6f0858012d0b51c0070605f8000f00d821..."} 
[2026-11-05 16:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab6f0858012d0b51c0070605f8000f00d821..."} 
[2026-11-05 16:49:37] local.INFO: Processing buffer {"connection_id":233602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab6f0858012d0b51c0070605f8000f00d821..."} 
[2026-11-05 16:49:37] local.INFO: Packet analysis {"connection_id":233602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab6f"} 
[2026-11-05 16:49:37] local.INFO: Extracted packet for processing {"connection_id":233602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab6f"} 
[2026-11-05 16:49:37] local.INFO: GPS Element Parsed {"raw_longitude":755716544,"raw_latitude":117835256,"longitude_deg":75.5716544,"latitude_deg":11.7835256,"altitude":15,"angle":216,"satellites":33,"speed":3,"hex_longitude":"2d0b51c0","hex_latitude":"070605f8","is_valid_coordinates":true} 
[2026-11-05 16:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232648192001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39523212475760640,"note":"Value kept but may cause issues"} 
[2026-11-05 16:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816066356394442752,"note":"Value kept but may cause issues"} 
[2026-11-05 16:49:37] 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-05 16:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793877543000,"timestamp_ms":1793877543000,"timestamp_seconds":1793877543,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab6f0858"} 
[2026-11-05 16:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 16:49:37] 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-05 16:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":233602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":233602,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":233602,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232648192001,"66":14537,"165":206,"94":10240,"24":3,"16":39523212475760640,"45":816066356394442752},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 16:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232648192001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:49:37] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 16:49:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39523212475760640,"km_value":39523212475760.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":816066356394442752,"description":"Unknown IO ID 45"} 
[2026-11-05 16:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232648192001,"power":14537,"unknown_165":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":816066356394442752}} 
[2026-11-05 16:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":233602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64056,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:49:37] local.INFO: GPS data processed {"connection_id":233602,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:49:37] local.INFO: Acknowledgment sent {"connection_id":233602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:49:40] local.INFO: TCP Data received {"connection_id":231705,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab6da4e0012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab6da4e0012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:49:40] local.INFO: Processing buffer {"connection_id":231705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab6da4e0012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:49:40] local.INFO: Packet analysis {"connection_id":231705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab6d"} 
[2026-11-05 16:49:40] local.INFO: Extracted packet for processing {"connection_id":231705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab6d"} 
[2026-11-05 16:49:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232550656001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793877452000,"timestamp_ms":1793877452000,"timestamp_seconds":1793877452,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab6da4e0"} 
[2026-11-05 16:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:49: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-05 16:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232550656001,"66":25299,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232550656001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:49:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:49:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232550656001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":231705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:49:40] local.INFO: GPS data processed {"connection_id":231705,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:49:40] local.INFO: Acknowledgment sent {"connection_id":231705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:49:41] local.INFO: TCP Data received {"connection_id":231706,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231706,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:49:41] local.INFO: Processing buffer {"connection_id":231706,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:49:41] local.INFO: IMEI packet received {"connection_id":231706,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 16:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":231706,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:50:03] local.INFO: TCP Data received {"connection_id":233603,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:50:03] local.INFO: Processing buffer {"connection_id":233603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:50:03] local.INFO: IMEI packet received {"connection_id":233603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":233603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:50:05] local.INFO: TCP Data received {"connection_id":233604,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:50:05] local.INFO: Processing buffer {"connection_id":233604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:50:05] local.INFO: IMEI packet received {"connection_id":233604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 16:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":233604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:50:08] local.INFO: TCP Data received {"connection_id":233603,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:50:08] local.INFO: Processing buffer {"connection_id":233603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:50:08] local.INFO: IMEI packet received {"connection_id":233603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":233603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:50:09] local.INFO: TCP Data received {"connection_id":233602,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab6f0c40012d0b518007060598000f00c321..."} 
[2026-11-05 16:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab6f0c40012d0b518007060598000f00c321..."} 
[2026-11-05 16:50:09] local.INFO: Processing buffer {"connection_id":233602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab6f0c40012d0b518007060598000f00c321..."} 
[2026-11-05 16:50:09] local.INFO: Packet analysis {"connection_id":233602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab6f"} 
[2026-11-05 16:50:09] local.INFO: Extracted packet for processing {"connection_id":233602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab6f"} 
[2026-11-05 16:50:09] local.INFO: GPS Element Parsed {"raw_longitude":755716480,"raw_latitude":117835160,"longitude_deg":75.571648,"latitude_deg":11.783516,"altitude":15,"angle":195,"satellites":33,"speed":4,"hex_longitude":"2d0b5180","hex_latitude":"07060598","is_valid_coordinates":true} 
[2026-11-05 16:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232651008001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39523216770727936,"note":"Value kept but may cause issues"} 
[2026-11-05 16:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815644143929128960,"note":"Value kept but may cause issues"} 
[2026-11-05 16:50:09] 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-05 16:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793877544000,"timestamp_ms":1793877544000,"timestamp_seconds":1793877544,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab6f0c40"} 
[2026-11-05 16:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:50: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-05 16:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-05 16:50:09] 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-05 16:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233602,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233602,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232651008001,"66":14396,"165":206,"94":10240,"24":4,"16":39523216770727936,"45":815644143929128960},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-05 16:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232651008001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:50:09] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-05 16:50:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39523216770727936,"km_value":39523216770727.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":815644143929128960,"description":"Unknown IO ID 45"} 
[2026-11-05 16:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232651008001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":815644143929128960}} 
[2026-11-05 16:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":233602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64058,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:50:09] local.INFO: GPS data processed {"connection_id":233602,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:50:09] local.INFO: Acknowledgment sent {"connection_id":233602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:50:09] local.INFO: TCP Data received {"connection_id":233603,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab6da4e0012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab6da4e0012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:50:09] local.INFO: Processing buffer {"connection_id":233603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab6da4e0012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:50:09] local.INFO: Packet analysis {"connection_id":233603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab6d"} 
[2026-11-05 16:50:09] local.INFO: Extracted packet for processing {"connection_id":233603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab6d"} 
[2026-11-05 16:50:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232550656001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793877452000,"timestamp_ms":1793877452000,"timestamp_seconds":1793877452,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab6da4e0"} 
[2026-11-05 16:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:50:09] local.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-05 16:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232550656001,"66":25299,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232550656001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:50:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:50:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232550656001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":233603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:50:09] local.INFO: GPS data processed {"connection_id":233603,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:50:09] local.INFO: Acknowledgment sent {"connection_id":233603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:50:32] local.INFO: TCP Data received {"connection_id":231707,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231707,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:50:32] local.INFO: Processing buffer {"connection_id":231707,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:50:32] local.INFO: IMEI packet received {"connection_id":231707,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":231707,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:50:32] local.INFO: TCP Data received {"connection_id":231707,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231707,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:50:32] local.INFO: Processing buffer {"connection_id":231707,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:50:32] local.INFO: IMEI packet received {"connection_id":231707,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":231707,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:50:33] local.INFO: TCP Data received {"connection_id":231707,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231707,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:50:33] local.INFO: Processing buffer {"connection_id":231707,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:50:33] local.INFO: IMEI packet received {"connection_id":231707,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":231707,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:50:34] local.INFO: TCP Data received {"connection_id":231707,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231707,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:50:34] local.INFO: Processing buffer {"connection_id":231707,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:50:34] local.INFO: IMEI packet received {"connection_id":231707,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":231707,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:50:35] local.INFO: TCP Data received {"connection_id":231707,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab705c30012d0bda000705a950000d007922..."} 
[2026-11-05 16:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab705c30012d0bda000705a950000d007922..."} 
[2026-11-05 16:50:35] local.INFO: Processing buffer {"connection_id":231707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab705c30012d0bda000705a950000d007922..."} 
[2026-11-05 16:50:35] local.INFO: Packet analysis {"connection_id":231707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab70"} 
[2026-11-05 16:50:35] local.INFO: Extracted packet for processing {"connection_id":231707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab70"} 
[2026-11-05 16:50:35] local.INFO: GPS Element Parsed {"raw_longitude":755751424,"raw_latitude":117811536,"longitude_deg":75.5751424,"latitude_deg":11.7811536,"altitude":13,"angle":121,"satellites":34,"speed":22,"hex_longitude":"2d0bda00","hex_latitude":"0705a950","is_valid_coordinates":true} 
[2026-11-05 16:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232671744001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39525368549343232,"note":"Value kept but may cause issues"} 
[2026-11-05 16:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":849491509873371136,"note":"Value kept but may cause issues"} 
[2026-11-05 16:50:35] 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-05 16:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1793877630000,"timestamp_ms":1793877630000,"timestamp_seconds":1793877630,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab705c30"} 
[2026-11-05 16:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-05 16:50:35] 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-05 16:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":231707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":231707,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":231707,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232671744001,"66":14439,"164":206,"94":10240,"24":22,"16":39525368549343232,"45":849491509873371136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-05 16:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232671744001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:50:35] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-05 16:50:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39525368549343232,"km_value":39525368549343.234,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":849491509873371136,"description":"Unknown IO ID 45"} 
[2026-11-05 16:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232671744001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":849491509873371136}} 
[2026-11-05 16:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":231707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64060,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:50:35] local.INFO: GPS data processed {"connection_id":231707,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:50:35] local.INFO: Acknowledgment sent {"connection_id":231707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:50:40] local.INFO: TCP Data received {"connection_id":233603,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab6da4e0012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab6da4e0012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:50:40] local.INFO: Processing buffer {"connection_id":233603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab6da4e0012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:50:40] local.INFO: Packet analysis {"connection_id":233603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab6d"} 
[2026-11-05 16:50:40] local.INFO: Extracted packet for processing {"connection_id":233603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab6d"} 
[2026-11-05 16:50:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232550656001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793877452000,"timestamp_ms":1793877452000,"timestamp_seconds":1793877452,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab6da4e0"} 
[2026-11-05 16:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16: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-05 16:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:50: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-05 16:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232550656001,"66":25299,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232550656001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:50:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:50:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232550656001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":233603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:50:40] local.INFO: GPS data processed {"connection_id":233603,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:50:40] local.INFO: Acknowledgment sent {"connection_id":233603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:51:03] local.INFO: TCP Data received {"connection_id":233605,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:51:03] local.INFO: Processing buffer {"connection_id":233605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:51:03] local.INFO: IMEI packet received {"connection_id":233605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":233605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:51:07] local.INFO: TCP Data received {"connection_id":231707,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab706400012d0bdd400705a810000e006621..."} 
[2026-11-05 16:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab706400012d0bdd400705a810000e006621..."} 
[2026-11-05 16:51:07] local.INFO: Processing buffer {"connection_id":231707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab706400012d0bdd400705a810000e006621..."} 
[2026-11-05 16:51:07] local.INFO: Packet analysis {"connection_id":231707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab70"} 
[2026-11-05 16:51:07] local.INFO: Extracted packet for processing {"connection_id":231707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab70"} 
[2026-11-05 16:51:07] local.INFO: GPS Element Parsed {"raw_longitude":755752256,"raw_latitude":117811216,"longitude_deg":75.5752256,"latitude_deg":11.7811216,"altitude":14,"angle":102,"satellites":33,"speed":13,"hex_longitude":"2d0bdd40","hex_latitude":"0705a810","is_valid_coordinates":true} 
[2026-11-05 16:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232673280001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39525411499016192,"note":"Value kept but may cause issues"} 
[2026-11-05 16:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":853995109499883520,"note":"Value kept but may cause issues"} 
[2026-11-05 16:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1793877632000,"timestamp_ms":1793877632000,"timestamp_seconds":1793877632,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab706400"} 
[2026-11-05 16:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-05 16:51:07] 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-05 16:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":231707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":231707,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":231707,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232673280001,"66":14591,"164":206,"94":10240,"24":13,"16":39525411499016192,"45":853995109499883520},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-05 16:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232673280001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:51:07] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-05 16:51:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39525411499016192,"km_value":39525411499016.195,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":853995109499883520,"description":"Unknown IO ID 45"} 
[2026-11-05 16:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232673280001,"power":14591,"unknown_164":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":853995109499883520}} 
[2026-11-05 16:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":231707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64062,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:51:07] local.INFO: GPS data processed {"connection_id":231707,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:51:07] local.INFO: Acknowledgment sent {"connection_id":231707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:51:13] local.INFO: TCP Data received {"connection_id":233605,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:51:13] local.INFO: Processing buffer {"connection_id":233605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:51:13] local.INFO: IMEI packet received {"connection_id":233605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":233605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:51:15] local.INFO: TCP Data received {"connection_id":233605,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab6da4e0012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab6da4e0012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:51:15] local.INFO: Processing buffer {"connection_id":233605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab6da4e0012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:51:15] local.INFO: Packet analysis {"connection_id":233605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab6d"} 
[2026-11-05 16:51:15] local.INFO: Extracted packet for processing {"connection_id":233605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab6d"} 
[2026-11-05 16:51:15] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232550656001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793877452000,"timestamp_ms":1793877452000,"timestamp_seconds":1793877452,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab6da4e0"} 
[2026-11-05 16: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-05 16:51: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-05 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:51: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-05 16:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232550656001,"66":25299,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232550656001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:51:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:51:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232550656001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":233605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:51:15] local.INFO: GPS data processed {"connection_id":233605,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:51:15] local.INFO: Acknowledgment sent {"connection_id":233605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:51:31] local.INFO: TCP Data received {"connection_id":233606,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233606,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:51:31] local.INFO: Processing buffer {"connection_id":233606,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:51:31] local.INFO: IMEI packet received {"connection_id":233606,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":233606,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:51:37] local.INFO: TCP Data received {"connection_id":233606,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233606,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:51:37] local.INFO: Processing buffer {"connection_id":233606,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:51:37] local.INFO: IMEI packet received {"connection_id":233606,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":233606,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:51:37] local.INFO: TCP Data received {"connection_id":233606,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab710fe0012d0bdb800705f8a00014000b22..."} 
[2026-11-05 16:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab710fe0012d0bdb800705f8a00014000b22..."} 
[2026-11-05 16:51:37] local.INFO: Processing buffer {"connection_id":233606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab710fe0012d0bdb800705f8a00014000b22..."} 
[2026-11-05 16:51:37] local.INFO: Packet analysis {"connection_id":233606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab71"} 
[2026-11-05 16:51:37] local.INFO: Extracted packet for processing {"connection_id":233606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab71"} 
[2026-11-05 16:51:37] local.INFO: GPS Element Parsed {"raw_longitude":755751808,"raw_latitude":117831840,"longitude_deg":75.5751808,"latitude_deg":11.783184,"altitude":20,"angle":11,"satellites":34,"speed":15,"hex_longitude":"2d0bdb80","hex_latitude":"0705f8a0","is_valid_coordinates":true} 
[2026-11-05 16:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232684032001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39526463766003712,"note":"Value kept but may cause issues"} 
[2026-11-05 16:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":853854372016443392,"note":"Value kept but may cause issues"} 
[2026-11-05 16:51: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-05 16:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793877676000,"timestamp_ms":1793877676000,"timestamp_seconds":1793877676,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab710fe0"} 
[2026-11-05 16:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-05 16:51: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-05 16:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":233606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":233606,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":233606,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232684032001,"66":14450,"164":206,"94":10240,"24":15,"16":39526463766003712,"45":853854372016443392},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-05 16:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232684032001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:51:37] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-05 16:51:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39526463766003712,"km_value":39526463766003.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":853854372016443392,"description":"Unknown IO ID 45"} 
[2026-11-05 16:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232684032001,"power":14450,"unknown_164":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":853854372016443392}} 
[2026-11-05 16:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":233606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64064,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:51:38] local.INFO: GPS data processed {"connection_id":233606,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:51:38] local.INFO: Acknowledgment sent {"connection_id":233606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:51:46] local.INFO: TCP Data received {"connection_id":233605,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab6da4e0012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab6da4e0012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:51:46] local.INFO: Processing buffer {"connection_id":233605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab6da4e0012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:51:46] local.INFO: Packet analysis {"connection_id":233605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab6d"} 
[2026-11-05 16:51:46] local.INFO: Extracted packet for processing {"connection_id":233605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab6d"} 
[2026-11-05 16:51:46] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232550656001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793877452000,"timestamp_ms":1793877452000,"timestamp_seconds":1793877452,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab6da4e0"} 
[2026-11-05 16: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-05 16: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-05 16:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":233605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":233605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":233605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232550656001,"66":25299,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232550656001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:51:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:51:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232550656001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":233605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:51:46] local.INFO: GPS data processed {"connection_id":233605,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:51:46] local.INFO: Acknowledgment sent {"connection_id":233605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:52:03] local.INFO: TCP Data received {"connection_id":231708,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:52:03] local.INFO: Processing buffer {"connection_id":231708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:52:03] local.INFO: IMEI packet received {"connection_id":231708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":231708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:52:08] local.INFO: TCP Data received {"connection_id":231708,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:52:08] local.INFO: Processing buffer {"connection_id":231708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:52:08] local.INFO: IMEI packet received {"connection_id":231708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":231708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:52:09] local.INFO: TCP Data received {"connection_id":231708,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab6da4e0012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab6da4e0012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:52:09] local.INFO: Processing buffer {"connection_id":231708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab6da4e0012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:52:09] local.INFO: Packet analysis {"connection_id":231708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab6d"} 
[2026-11-05 16:52:09] local.INFO: Extracted packet for processing {"connection_id":231708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab6d"} 
[2026-11-05 16:52:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232550656001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793877452000,"timestamp_ms":1793877452000,"timestamp_seconds":1793877452,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab6da4e0"} 
[2026-11-05 16:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16:52: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-05 16:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:52:09] 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-05 16:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232550656001,"66":25299,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232550656001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:52:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:52:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232550656001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":231708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:52:09] local.INFO: GPS data processed {"connection_id":231708,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:52:09] local.INFO: Acknowledgment sent {"connection_id":231708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:52:12] local.INFO: TCP Data received {"connection_id":233606,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7117b0012d0bdb800705fbc80015016323..."} 
[2026-11-05 16:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7117b0012d0bdb800705fbc80015016323..."} 
[2026-11-05 16:52:12] local.INFO: Processing buffer {"connection_id":233606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7117b0012d0bdb800705fbc80015016323..."} 
[2026-11-05 16:52:12] local.INFO: Packet analysis {"connection_id":233606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab71"} 
[2026-11-05 16:52:12] local.INFO: Extracted packet for processing {"connection_id":233606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab71"} 
[2026-11-05 16:52:12] local.INFO: GPS Element Parsed {"raw_longitude":755751808,"raw_latitude":117832648,"longitude_deg":75.5751808,"latitude_deg":11.7832648,"altitude":21,"angle":355,"satellites":35,"speed":16,"hex_longitude":"2d0bdb80","hex_latitude":"0705fbc8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232685056001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39526502420709376,"note":"Value kept but may cause issues"} 
[2026-11-05 16:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":854417321970147328,"note":"Value kept but may cause issues"} 
[2026-11-05 16:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793877678000,"timestamp_ms":1793877678000,"timestamp_seconds":1793877678,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7117b0"} 
[2026-11-05 16: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-05 16:52:12] 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-05 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-05 16:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":233606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":233606,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":233606,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232685056001,"66":14396,"164":206,"94":10240,"24":16,"16":39526502420709376,"45":854417321970147328},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-05 16:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232685056001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:52:12] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-05 16:52:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39526502420709376,"km_value":39526502420709.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":854417321970147328,"description":"Unknown IO ID 45"} 
[2026-11-05 16:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232685056001,"power":14396,"unknown_164":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":854417321970147328}} 
[2026-11-05 16:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":233606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64067,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:52:13] local.INFO: GPS data processed {"connection_id":233606,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:52:13] local.INFO: Acknowledgment sent {"connection_id":233606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:52:40] local.INFO: TCP Data received {"connection_id":231708,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab6da4e0012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab6da4e0012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:52:40] local.INFO: Processing buffer {"connection_id":231708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab6da4e0012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:52:40] local.INFO: Packet analysis {"connection_id":231708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab6d"} 
[2026-11-05 16:52:40] local.INFO: Extracted packet for processing {"connection_id":231708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab6d"} 
[2026-11-05 16:52:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232550656001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793877452000,"timestamp_ms":1793877452000,"timestamp_seconds":1793877452,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab6da4e0"} 
[2026-11-05 16:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:52: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-05 16:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232550656001,"66":25299,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232550656001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:52:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:52:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232550656001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":231708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:52:40] local.INFO: GPS data processed {"connection_id":231708,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:52:40] local.INFO: Acknowledgment sent {"connection_id":231708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:53:03] local.INFO: TCP Data received {"connection_id":230371,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:53:03] local.INFO: Processing buffer {"connection_id":230371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:53:03] local.INFO: IMEI packet received {"connection_id":230371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":230371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:53:08] local.INFO: TCP Data received {"connection_id":230371,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:53:08] local.INFO: Processing buffer {"connection_id":230371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:53:08] local.INFO: IMEI packet received {"connection_id":230371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":230371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:53:09] local.INFO: TCP Data received {"connection_id":230371,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab6da4e0012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab6da4e0012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:53:09] local.INFO: Processing buffer {"connection_id":230371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab6da4e0012d7fa60005afe2e80000011027..."} 
[2026-11-05 16:53:09] local.INFO: Packet analysis {"connection_id":230371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab6d"} 
[2026-11-05 16:53:09] local.INFO: Extracted packet for processing {"connection_id":230371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab6d"} 
[2026-11-05 16:53:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 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-05 16:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232550656001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793877452000,"timestamp_ms":1793877452000,"timestamp_seconds":1793877452,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab6da4e0"} 
[2026-11-05 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-05 16:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 16:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 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-05 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-05 16:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232550656001,"66":25299,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232550656001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:53:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:53:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232550656001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:53:09] 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":64069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:53:09] local.INFO: GPS data processed {"connection_id":230371,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:53:09] local.INFO: Acknowledgment sent {"connection_id":230371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:53:40] local.INFO: TCP Data received {"connection_id":230371,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab723ca8012d7fa60005afe2e80002011029..."} 
[2026-11-05 16:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab723ca8012d7fa60005afe2e80002011029..."} 
[2026-11-05 16:53:40] local.INFO: Processing buffer {"connection_id":230371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab723ca8012d7fa60005afe2e80002011029..."} 
[2026-11-05 16:53:40] local.INFO: Packet analysis {"connection_id":230371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab72"} 
[2026-11-05 16:53:40] local.INFO: Extracted packet for processing {"connection_id":230371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab72"} 
[2026-11-05 16:53:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 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-05 16:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232627712001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793877753000,"timestamp_ms":1793877753000,"timestamp_seconds":1793877753,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab723ca8"} 
[2026-11-05 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-05 16:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 16:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 16:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232627712001,"66":25191,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232627712001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:53:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:53:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232627712001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:53:40] 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":64070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:53:40] local.INFO: GPS data processed {"connection_id":230371,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:53:40] local.INFO: Acknowledgment sent {"connection_id":230371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:53:53] local.INFO: TCP Data received {"connection_id":229847,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229847,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:53:53] local.INFO: Processing buffer {"connection_id":229847,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:53:53] local.INFO: IMEI packet received {"connection_id":229847,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":229847,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:53:56] local.INFO: TCP Data received {"connection_id":229847,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229847,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:53:56] local.INFO: Processing buffer {"connection_id":229847,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:53:56] local.INFO: IMEI packet received {"connection_id":229847,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":229847,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:54:01] local.INFO: TCP Data received {"connection_id":229847,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229847,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:54:01] local.INFO: Processing buffer {"connection_id":229847,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:54:01] local.INFO: IMEI packet received {"connection_id":229847,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":229847,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:54:02] local.INFO: TCP Data received {"connection_id":229847,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab731f38012d0bdb4007060bd8002000c522..."} 
[2026-11-05 16:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab731f38012d0bdb4007060bd8002000c522..."} 
[2026-11-05 16:54:02] local.INFO: Processing buffer {"connection_id":229847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab731f38012d0bdb4007060bd8002000c522..."} 
[2026-11-05 16:54:02] local.INFO: Packet analysis {"connection_id":229847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab73"} 
[2026-11-05 16:54:02] local.INFO: Extracted packet for processing {"connection_id":229847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab73"} 
[2026-11-05 16:54:02] local.INFO: GPS Element Parsed {"raw_longitude":755751744,"raw_latitude":117836760,"longitude_deg":75.5751744,"latitude_deg":11.783676,"altitude":32,"angle":197,"satellites":34,"speed":4,"hex_longitude":"2d0bdb40","hex_latitude":"07060bd8","is_valid_coordinates":true} 
[2026-11-05 16:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232718080001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39527507443056640,"note":"Value kept but may cause issues"} 
[2026-11-05 16:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":854417321971445760,"note":"Value kept but may cause issues"} 
[2026-11-05 16:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1793877811000,"timestamp_ms":1793877811000,"timestamp_seconds":1793877811,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab731f38"} 
[2026-11-05 16:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 16:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 16:54: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-05 16:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":229847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":229847,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":229847,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232718080001,"66":14439,"164":206,"94":10240,"24":4,"16":39527507443056640,"45":854417321971445760},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-05 16:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232718080001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:54:02] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-05 16:54:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39527507443056640,"km_value":39527507443056.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":854417321971445760,"description":"Unknown IO ID 45"} 
[2026-11-05 16:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232718080001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":854417321971445760}} 
[2026-11-05 16:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":229847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64071,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:54:02] local.INFO: GPS data processed {"connection_id":229847,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:54:02] local.INFO: Acknowledgment sent {"connection_id":229847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:54:03] local.INFO: TCP Data received {"connection_id":230373,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:54:03] local.INFO: Processing buffer {"connection_id":230373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:54:03] local.INFO: IMEI packet received {"connection_id":230373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":230373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:54:08] local.INFO: TCP Data received {"connection_id":230373,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:54:08] local.INFO: Processing buffer {"connection_id":230373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:54:08] local.INFO: IMEI packet received {"connection_id":230373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":230373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:54:09] local.INFO: TCP Data received {"connection_id":230373,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab723ca8012d7fa60005afe2e80002011029..."} 
[2026-11-05 16:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab723ca8012d7fa60005afe2e80002011029..."} 
[2026-11-05 16:54:09] local.INFO: Processing buffer {"connection_id":230373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab723ca8012d7fa60005afe2e80002011029..."} 
[2026-11-05 16:54:09] local.INFO: Packet analysis {"connection_id":230373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab72"} 
[2026-11-05 16:54:09] local.INFO: Extracted packet for processing {"connection_id":230373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab72"} 
[2026-11-05 16:54:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232627712001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793877753000,"timestamp_ms":1793877753000,"timestamp_seconds":1793877753,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab723ca8"} 
[2026-11-05 16:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 16:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:54:09] 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-05 16:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232627712001,"66":25191,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232627712001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:54:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:54:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232627712001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:54:09] 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":64072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:54:09] local.INFO: GPS data processed {"connection_id":230373,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:54:09] local.INFO: Acknowledgment sent {"connection_id":230373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:54:40] local.INFO: TCP Data received {"connection_id":230373,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab723ca8012d7fa60005afe2e80002011029..."} 
[2026-11-05 16:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab723ca8012d7fa60005afe2e80002011029..."} 
[2026-11-05 16:54:40] local.INFO: Processing buffer {"connection_id":230373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab723ca8012d7fa60005afe2e80002011029..."} 
[2026-11-05 16:54:40] local.INFO: Packet analysis {"connection_id":230373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab72"} 
[2026-11-05 16:54:40] local.INFO: Extracted packet for processing {"connection_id":230373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab72"} 
[2026-11-05 16:54:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232627712001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793877753000,"timestamp_ms":1793877753000,"timestamp_seconds":1793877753,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab723ca8"} 
[2026-11-05 16:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 16:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232627712001,"66":25191,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232627712001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:54:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:54:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232627712001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:54:40] 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":64073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:54:40] local.INFO: GPS data processed {"connection_id":230373,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:54:40] local.INFO: Acknowledgment sent {"connection_id":230373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:54:50] local.INFO: TCP Data received {"connection_id":229848,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229848,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:54:50] local.INFO: Processing buffer {"connection_id":229848,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:54:50] local.INFO: IMEI packet received {"connection_id":229848,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":229848,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:54:51] local.INFO: TCP Data received {"connection_id":229848,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229848,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:54:51] local.INFO: Processing buffer {"connection_id":229848,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:54:51] local.INFO: IMEI packet received {"connection_id":229848,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":229848,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:55:03] local.INFO: TCP Data received {"connection_id":231709,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:55:03] local.INFO: Processing buffer {"connection_id":231709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:55:03] local.INFO: IMEI packet received {"connection_id":231709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":231709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:55:08] local.INFO: TCP Data received {"connection_id":231709,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:55:08] local.INFO: Processing buffer {"connection_id":231709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:55:08] local.INFO: IMEI packet received {"connection_id":231709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":231709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:55:09] local.INFO: TCP Data received {"connection_id":231709,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab723ca8012d7fa60005afe2e80002011029..."} 
[2026-11-05 16:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab723ca8012d7fa60005afe2e80002011029..."} 
[2026-11-05 16:55:09] local.INFO: Processing buffer {"connection_id":231709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab723ca8012d7fa60005afe2e80002011029..."} 
[2026-11-05 16:55:09] local.INFO: Packet analysis {"connection_id":231709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab72"} 
[2026-11-05 16:55:09] local.INFO: Extracted packet for processing {"connection_id":231709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab72"} 
[2026-11-05 16:55:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:55: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-05 16:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232627712001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793877753000,"timestamp_ms":1793877753000,"timestamp_seconds":1793877753,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab723ca8"} 
[2026-11-05 16:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 16:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16:55: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-05 16:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232627712001,"66":25191,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232627712001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:55:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:55:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232627712001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":231709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:55:09] local.INFO: GPS data processed {"connection_id":231709,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:55:09] local.INFO: Acknowledgment sent {"connection_id":231709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:55:17] local.INFO: TCP Data received {"connection_id":229848,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab732320012d0bdb4007060b38002000ba23..."} 
[2026-11-05 16:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab732320012d0bdb4007060b38002000ba23..."} 
[2026-11-05 16:55:17] local.INFO: Processing buffer {"connection_id":229848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab732320012d0bdb4007060b38002000ba23..."} 
[2026-11-05 16:55:17] local.INFO: Packet analysis {"connection_id":229848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab73"} 
[2026-11-05 16:55:17] local.INFO: Extracted packet for processing {"connection_id":229848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab73"} 
[2026-11-05 16:55:17] local.INFO: GPS Element Parsed {"raw_longitude":755751744,"raw_latitude":117836600,"longitude_deg":75.5751744,"latitude_deg":11.78366,"altitude":32,"angle":186,"satellites":35,"speed":8,"hex_longitude":"2d0bdb40","hex_latitude":"07060b38","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232719616001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39527516032991232,"note":"Value kept but may cause issues"} 
[2026-11-05 16:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":854346953227229184,"note":"Value kept but may cause issues"} 
[2026-11-05 16:55:17] 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-05 16:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793877812000,"timestamp_ms":1793877812000,"timestamp_seconds":1793877812,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab732320"} 
[2026-11-05 16: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-05 16:55:17] 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-05 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-05 16:55:17] 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-05 16: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-05 16: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-05 16:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229848,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229848,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 16:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 16:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 16:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232719616001,"66":14407,"164":206,"94":10240,"24":8,"16":39527516032991232,"45":854346953227229184},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-05 16:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 16:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 16:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232719616001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:55:17] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-05 16:55:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-05 16:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39527516032991232,"km_value":39527516032991.234,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":854346953227229184,"description":"Unknown IO ID 45"} 
[2026-11-05 16:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232719616001,"power":14407,"unknown_164":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":854346953227229184}} 
[2026-11-05 16:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":229848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64075,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:55:17] local.INFO: GPS data processed {"connection_id":229848,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:55:17] local.INFO: Acknowledgment sent {"connection_id":229848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:55:31] local.INFO: TCP Data received {"connection_id":230374,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230374,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:55:31] local.INFO: Processing buffer {"connection_id":230374,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:55:31] local.INFO: IMEI packet received {"connection_id":230374,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 16:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":230374,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:55:41] local.INFO: TCP Data received {"connection_id":231709,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab723ca8012d7fa60005afe2e80002011029..."} 
[2026-11-05 16:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab723ca8012d7fa60005afe2e80002011029..."} 
[2026-11-05 16:55:41] local.INFO: Processing buffer {"connection_id":231709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab723ca8012d7fa60005afe2e80002011029..."} 
[2026-11-05 16:55:41] local.INFO: Packet analysis {"connection_id":231709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab72"} 
[2026-11-05 16:55:41] local.INFO: Extracted packet for processing {"connection_id":231709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab72"} 
[2026-11-05 16:55:41] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232627712001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793877753000,"timestamp_ms":1793877753000,"timestamp_seconds":1793877753,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab723ca8"} 
[2026-11-05 16: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-05 16: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-05 16:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 16:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:55: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-05 16:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232627712001,"66":25191,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232627712001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:55:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:55:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232627712001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":231709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:55:41] local.INFO: GPS data processed {"connection_id":231709,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:55:41] local.INFO: Acknowledgment sent {"connection_id":231709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:56:08] local.INFO: TCP Data received {"connection_id":229849,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:56:08] local.INFO: Processing buffer {"connection_id":229849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:56:08] local.INFO: IMEI packet received {"connection_id":229849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":229849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:56:11] local.INFO: TCP Data received {"connection_id":233608,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233608,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:56:11] local.INFO: Processing buffer {"connection_id":233608,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:56:11] local.INFO: IMEI packet received {"connection_id":233608,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 16:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":233608,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:56:13] local.INFO: TCP Data received {"connection_id":229849,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:56:13] local.INFO: Processing buffer {"connection_id":229849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:56:13] local.INFO: IMEI packet received {"connection_id":229849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":229849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:56:15] local.INFO: TCP Data received {"connection_id":229849,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab723ca8012d7fa60005afe2e80002011029..."} 
[2026-11-05 16:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab723ca8012d7fa60005afe2e80002011029..."} 
[2026-11-05 16:56:15] local.INFO: Processing buffer {"connection_id":229849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab723ca8012d7fa60005afe2e80002011029..."} 
[2026-11-05 16:56:15] local.INFO: Packet analysis {"connection_id":229849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab72"} 
[2026-11-05 16:56:15] local.INFO: Extracted packet for processing {"connection_id":229849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab72"} 
[2026-11-05 16:56:15] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232627712001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793877753000,"timestamp_ms":1793877753000,"timestamp_seconds":1793877753,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab723ca8"} 
[2026-11-05 16: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-05 16:56: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-05 16: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 16:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232627712001,"66":25191,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232627712001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:56:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:56:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232627712001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":229849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:56:15] local.INFO: GPS data processed {"connection_id":229849,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:56:15] local.INFO: Acknowledgment sent {"connection_id":229849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:56:18] local.INFO: TCP Data received {"connection_id":229849,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab723ca8012d7fa60005afe2e80002011029..."} 
[2026-11-05 16:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab723ca8012d7fa60005afe2e80002011029..."} 
[2026-11-05 16:56:18] local.INFO: Processing buffer {"connection_id":229849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab723ca8012d7fa60005afe2e80002011029..."} 
[2026-11-05 16:56:18] local.INFO: Packet analysis {"connection_id":229849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab72"} 
[2026-11-05 16:56:18] local.INFO: Extracted packet for processing {"connection_id":229849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab72"} 
[2026-11-05 16:56:18] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232627712001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793877753000,"timestamp_ms":1793877753000,"timestamp_seconds":1793877753,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab723ca8"} 
[2026-11-05 16:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:56: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-05 16:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 16:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:56:18] 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-05 16:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232627712001,"66":25191,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232627712001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:56:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:56:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232627712001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":229849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:56:18] local.INFO: GPS data processed {"connection_id":229849,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:56:18] local.INFO: Acknowledgment sent {"connection_id":229849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:56:26] local.INFO: TCP Data received {"connection_id":229850,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229850,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:56:26] local.INFO: Processing buffer {"connection_id":229850,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:56:26] local.INFO: IMEI packet received {"connection_id":229850,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 16:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":229850,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:56:29] local.INFO: TCP Data received {"connection_id":229850,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229850,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:56:29] local.INFO: Processing buffer {"connection_id":229850,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:56:29] local.INFO: IMEI packet received {"connection_id":229850,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":229850,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:56:30] local.INFO: TCP Data received {"connection_id":229850,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229850,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:56:30] local.INFO: Processing buffer {"connection_id":229850,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:56:30] local.INFO: IMEI packet received {"connection_id":229850,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":229850,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:56:31] local.INFO: TCP Data received {"connection_id":229850,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229850,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:56:31] local.INFO: Processing buffer {"connection_id":229850,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 16:56:31] local.INFO: IMEI packet received {"connection_id":229850,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 16:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":229850,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:57:03] local.INFO: TCP Data received {"connection_id":231710,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:57:03] local.INFO: Processing buffer {"connection_id":231710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:57:03] local.INFO: IMEI packet received {"connection_id":231710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":231710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:57:08] local.INFO: TCP Data received {"connection_id":231710,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:57:08] local.INFO: Processing buffer {"connection_id":231710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:57:08] local.INFO: IMEI packet received {"connection_id":231710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":231710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:57:09] local.INFO: TCP Data received {"connection_id":231710,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab723ca8012d7fa60005afe2e80002011029..."} 
[2026-11-05 16:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab723ca8012d7fa60005afe2e80002011029..."} 
[2026-11-05 16:57:09] local.INFO: Processing buffer {"connection_id":231710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab723ca8012d7fa60005afe2e80002011029..."} 
[2026-11-05 16:57:09] local.INFO: Packet analysis {"connection_id":231710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab72"} 
[2026-11-05 16:57:09] local.INFO: Extracted packet for processing {"connection_id":231710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab72"} 
[2026-11-05 16:57:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232627712001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793877753000,"timestamp_ms":1793877753000,"timestamp_seconds":1793877753,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab723ca8"} 
[2026-11-05 16:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 16:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:57:09] local.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-05 16:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232627712001,"66":25191,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232627712001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:57:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:57:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232627712001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":231710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:57:09] local.INFO: GPS data processed {"connection_id":231710,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:57:09] local.INFO: Acknowledgment sent {"connection_id":231710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:57:40] local.INFO: TCP Data received {"connection_id":231710,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab723ca8012d7fa60005afe2e80002011029..."} 
[2026-11-05 16:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab723ca8012d7fa60005afe2e80002011029..."} 
[2026-11-05 16:57:40] local.INFO: Processing buffer {"connection_id":231710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab723ca8012d7fa60005afe2e80002011029..."} 
[2026-11-05 16:57:40] local.INFO: Packet analysis {"connection_id":231710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab72"} 
[2026-11-05 16:57:40] local.INFO: Extracted packet for processing {"connection_id":231710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab72"} 
[2026-11-05 16:57:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232627712001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793877753000,"timestamp_ms":1793877753000,"timestamp_seconds":1793877753,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab723ca8"} 
[2026-11-05 16:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 16:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232627712001,"66":25191,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232627712001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:57:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:57:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232627712001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":231710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:57:40] local.INFO: GPS data processed {"connection_id":231710,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:57:40] local.INFO: Acknowledgment sent {"connection_id":231710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:58:03] local.INFO: TCP Data received {"connection_id":230375,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:58:03] local.INFO: Processing buffer {"connection_id":230375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:58:03] local.INFO: IMEI packet received {"connection_id":230375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":230375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:58:08] local.INFO: TCP Data received {"connection_id":230375,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:58:08] local.INFO: Processing buffer {"connection_id":230375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:58:08] local.INFO: IMEI packet received {"connection_id":230375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":230375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:58:09] local.INFO: TCP Data received {"connection_id":230375,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab723ca8012d7fa60005afe2e80002011029..."} 
[2026-11-05 16:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab723ca8012d7fa60005afe2e80002011029..."} 
[2026-11-05 16:58:09] local.INFO: Processing buffer {"connection_id":230375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab723ca8012d7fa60005afe2e80002011029..."} 
[2026-11-05 16:58:09] local.INFO: Packet analysis {"connection_id":230375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab72"} 
[2026-11-05 16:58:09] local.INFO: Extracted packet for processing {"connection_id":230375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab72"} 
[2026-11-05 16:58:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232627712001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793877753000,"timestamp_ms":1793877753000,"timestamp_seconds":1793877753,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab723ca8"} 
[2026-11-05 16:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 16:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 16:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:58:09] local.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-05 16:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232627712001,"66":25191,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232627712001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:58:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:58:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232627712001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:58:09] 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":64081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:58:09] local.INFO: GPS data processed {"connection_id":230375,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:58:09] local.INFO: Acknowledgment sent {"connection_id":230375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:58:40] local.INFO: TCP Data received {"connection_id":230375,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab76d470012d7fa60005afe2e80002011028..."} 
[2026-11-05 16:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab76d470012d7fa60005afe2e80002011028..."} 
[2026-11-05 16:58:40] local.INFO: Processing buffer {"connection_id":230375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab76d470012d7fa60005afe2e80002011028..."} 
[2026-11-05 16:58:40] local.INFO: Packet analysis {"connection_id":230375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab76"} 
[2026-11-05 16:58:40] local.INFO: Extracted packet for processing {"connection_id":230375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab76"} 
[2026-11-05 16:58:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 16:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232704768001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793878054000,"timestamp_ms":1793878054000,"timestamp_seconds":1793878054,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab76d470"} 
[2026-11-05 16:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 16:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-05 16:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 16:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 16:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 16:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232704768001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232704768001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:58:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:58:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232704768001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:58:40] 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":64082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:58:40] local.INFO: GPS data processed {"connection_id":230375,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:58:40] local.INFO: Acknowledgment sent {"connection_id":230375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:59:03] local.INFO: TCP Data received {"connection_id":231711,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:59:03] local.INFO: Processing buffer {"connection_id":231711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:59:03] local.INFO: IMEI packet received {"connection_id":231711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 16:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":231711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 16:59:08] local.INFO: TCP Data received {"connection_id":231711,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:59:08] local.INFO: Processing buffer {"connection_id":231711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 16:59:08] local.INFO: IMEI packet received {"connection_id":231711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 16:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":231711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 16:59:09] local.INFO: TCP Data received {"connection_id":231711,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab76d470012d7fa60005afe2e80002011028..."} 
[2026-11-05 16:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab76d470012d7fa60005afe2e80002011028..."} 
[2026-11-05 16:59:09] local.INFO: Processing buffer {"connection_id":231711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab76d470012d7fa60005afe2e80002011028..."} 
[2026-11-05 16:59:09] local.INFO: Packet analysis {"connection_id":231711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab76"} 
[2026-11-05 16:59:09] local.INFO: Extracted packet for processing {"connection_id":231711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab76"} 
[2026-11-05 16:59:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232704768001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793878054000,"timestamp_ms":1793878054000,"timestamp_seconds":1793878054,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab76d470"} 
[2026-11-05 16: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-05 16:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 16: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-05 16:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:59:09] 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-05 16:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232704768001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232704768001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:59:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:59:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232704768001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":231711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:59:09] local.INFO: GPS data processed {"connection_id":231711,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:59:09] local.INFO: Acknowledgment sent {"connection_id":231711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:59:41] local.INFO: TCP Data received {"connection_id":231711,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab76d470012d7fa60005afe2e80002011028..."} 
[2026-11-05 16:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab76d470012d7fa60005afe2e80002011028..."} 
[2026-11-05 16:59:41] local.INFO: Processing buffer {"connection_id":231711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab76d470012d7fa60005afe2e80002011028..."} 
[2026-11-05 16:59:41] local.INFO: Packet analysis {"connection_id":231711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab76"} 
[2026-11-05 16:59:41] local.INFO: Extracted packet for processing {"connection_id":231711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab76"} 
[2026-11-05 16:59:41] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 16: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-05 16:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232704768001,"note":"Value kept but may cause issues"} 
[2026-11-05 16:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 16:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 16:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 16:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793878054000,"timestamp_ms":1793878054000,"timestamp_seconds":1793878054,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab76d470"} 
[2026-11-05 16: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-05 16: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-05 16:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-05 16:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 16: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-05 16: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-05 16:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 16:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 16:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 16:59: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-05 16:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 16:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 16:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232704768001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 16:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 16:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 16:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232704768001,"description":"Unknown IO ID 0"} 
[2026-11-05 16:59:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 16:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 16:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 16:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 16:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232704768001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 16:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":231711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 16:59:41] local.INFO: GPS data processed {"connection_id":231711,"processed":1,"errors":0,"total":1} 
[2026-11-05 16:59:41] local.INFO: Acknowledgment sent {"connection_id":231711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 16:59:56] local.INFO: TCP Data received {"connection_id":233610,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233610,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:59:56] local.INFO: Processing buffer {"connection_id":233610,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 16:59:56] local.INFO: IMEI packet received {"connection_id":233610,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 16:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":233610,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:00:08] local.INFO: TCP Data received {"connection_id":229851,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:00:08] local.INFO: Processing buffer {"connection_id":229851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:00:08] local.INFO: IMEI packet received {"connection_id":229851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":229851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:00:13] local.INFO: TCP Data received {"connection_id":229851,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:00:13] local.INFO: Processing buffer {"connection_id":229851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:00:13] local.INFO: IMEI packet received {"connection_id":229851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":229851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:00:14] local.INFO: TCP Data received {"connection_id":229851,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab76d470012d7fa60005afe2e80002011028..."} 
[2026-11-05 17:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab76d470012d7fa60005afe2e80002011028..."} 
[2026-11-05 17:00:14] local.INFO: Processing buffer {"connection_id":229851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab76d470012d7fa60005afe2e80002011028..."} 
[2026-11-05 17:00:14] local.INFO: Packet analysis {"connection_id":229851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab76"} 
[2026-11-05 17:00:14] local.INFO: Extracted packet for processing {"connection_id":229851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab76"} 
[2026-11-05 17:00:14] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232704768001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 17:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 17:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793878054000,"timestamp_ms":1793878054000,"timestamp_seconds":1793878054,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab76d470"} 
[2026-11-05 17: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-05 17:00: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-05 17: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-05 17:00:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17: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-05 17: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-05 17:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232704768001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232704768001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:00:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:00:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 17:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232704768001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 17:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":229851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:00:14] local.INFO: GPS data processed {"connection_id":229851,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:00:14] local.INFO: Acknowledgment sent {"connection_id":229851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:00:19] local.INFO: TCP Data received {"connection_id":229851,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab76d470012d7fa60005afe2e80002011028..."} 
[2026-11-05 17:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab76d470012d7fa60005afe2e80002011028..."} 
[2026-11-05 17:00:19] local.INFO: Processing buffer {"connection_id":229851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab76d470012d7fa60005afe2e80002011028..."} 
[2026-11-05 17:00:19] local.INFO: Packet analysis {"connection_id":229851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab76"} 
[2026-11-05 17:00:19] local.INFO: Extracted packet for processing {"connection_id":229851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab76"} 
[2026-11-05 17:00:19] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232704768001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 17:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 17:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793878054000,"timestamp_ms":1793878054000,"timestamp_seconds":1793878054,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab76d470"} 
[2026-11-05 17: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-05 17:00: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-05 17: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-05 17:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17: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-05 17: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-05 17:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:00:19] local.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-05 17:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232704768001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232704768001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:00:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:00:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 17:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232704768001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 17:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":229851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:00:19] local.INFO: GPS data processed {"connection_id":229851,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:00:19] local.INFO: Acknowledgment sent {"connection_id":229851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:01:03] local.INFO: TCP Data received {"connection_id":229853,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:01:03] local.INFO: Processing buffer {"connection_id":229853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:01:03] local.INFO: IMEI packet received {"connection_id":229853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":229853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:01:08] local.INFO: TCP Data received {"connection_id":229853,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:01:08] local.INFO: Processing buffer {"connection_id":229853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:01:08] local.INFO: IMEI packet received {"connection_id":229853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":229853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:01:09] local.INFO: TCP Data received {"connection_id":229853,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab76d470012d7fa60005afe2e80002011028..."} 
[2026-11-05 17:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab76d470012d7fa60005afe2e80002011028..."} 
[2026-11-05 17:01:09] local.INFO: Processing buffer {"connection_id":229853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab76d470012d7fa60005afe2e80002011028..."} 
[2026-11-05 17:01:09] local.INFO: Packet analysis {"connection_id":229853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab76"} 
[2026-11-05 17:01:09] local.INFO: Extracted packet for processing {"connection_id":229853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab76"} 
[2026-11-05 17:01:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 17:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232704768001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 17:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 17:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793878054000,"timestamp_ms":1793878054000,"timestamp_seconds":1793878054,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab76d470"} 
[2026-11-05 17:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 17:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-05 17:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:01:09] 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-05 17:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232704768001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232704768001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:01:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:01:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 17:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232704768001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 17:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":229853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:01:09] local.INFO: GPS data processed {"connection_id":229853,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:01:09] local.INFO: Acknowledgment sent {"connection_id":229853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:01:36] local.INFO: TCP Data received {"connection_id":231713,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231713,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:01:36] local.INFO: Processing buffer {"connection_id":231713,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:01:36] local.INFO: IMEI packet received {"connection_id":231713,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 17:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":231713,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:01:37] local.INFO: TCP Data received {"connection_id":231713,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab794570012d0c21800702ada0001c010d22..."} 
[2026-11-05 17:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab794570012d0c21800702ada0001c010d22..."} 
[2026-11-05 17:01:37] local.INFO: Processing buffer {"connection_id":231713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab794570012d0c21800702ada0001c010d22..."} 
[2026-11-05 17:01:37] local.INFO: Packet analysis {"connection_id":231713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab79"} 
[2026-11-05 17:01:37] local.INFO: Extracted packet for processing {"connection_id":231713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab79"} 
[2026-11-05 17:01:37] local.INFO: GPS Element Parsed {"raw_longitude":755769728,"raw_latitude":117616032,"longitude_deg":75.5769728,"latitude_deg":11.7616032,"altitude":28,"angle":269,"satellites":34,"speed":8,"hex_longitude":"2d0c2180","hex_latitude":"0702ada0","is_valid_coordinates":true} 
[2026-11-05 17:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232822528001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39540577028538368,"note":"Value kept but may cause issues"} 
[2026-11-05 17:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874402045261357056,"note":"Value kept but may cause issues"} 
[2026-11-05 17:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793878214000,"timestamp_ms":1793878214000,"timestamp_seconds":1793878214,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab794570"} 
[2026-11-05 17:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 17:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 17:01:37] 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-05 17:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":231713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":231713,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 17:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":231713,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 17:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 17:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 17:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232822528001,"66":14559,"37":206,"94":11008,"24":8,"16":39540577028538368,"45":874402045261357056},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 17:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 17:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 17:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232822528001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:01:37] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 17:01:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 17:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39540577028538368,"km_value":39540577028538.37,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":874402045261357056,"description":"Unknown IO ID 45"} 
[2026-11-05 17:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232822528001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":874402045261357056}} 
[2026-11-05 17:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":231713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64088,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:01:37] local.INFO: GPS data processed {"connection_id":231713,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:01:37] local.INFO: Acknowledgment sent {"connection_id":231713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:01:41] local.INFO: TCP Data received {"connection_id":229853,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab76d470012d7fa60005afe2e80002011028..."} 
[2026-11-05 17:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab76d470012d7fa60005afe2e80002011028..."} 
[2026-11-05 17:01:41] local.INFO: Processing buffer {"connection_id":229853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab76d470012d7fa60005afe2e80002011028..."} 
[2026-11-05 17:01:41] local.INFO: Packet analysis {"connection_id":229853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab76"} 
[2026-11-05 17:01:41] local.INFO: Extracted packet for processing {"connection_id":229853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab76"} 
[2026-11-05 17:01:41] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232704768001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 17:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 17:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793878054000,"timestamp_ms":1793878054000,"timestamp_seconds":1793878054,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab76d470"} 
[2026-11-05 17: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-05 17: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-05 17:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-05 17:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17: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-05 17: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-05 17:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:01: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-05 17:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232704768001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232704768001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:01:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:01:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 17:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232704768001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 17:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":229853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:01:41] local.INFO: GPS data processed {"connection_id":229853,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:01:41] local.INFO: Acknowledgment sent {"connection_id":229853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:02:03] local.INFO: TCP Data received {"connection_id":230379,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:02:03] local.INFO: Processing buffer {"connection_id":230379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:02:03] local.INFO: IMEI packet received {"connection_id":230379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":230379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:02:08] local.INFO: TCP Data received {"connection_id":230379,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:02:08] local.INFO: Processing buffer {"connection_id":230379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:02:08] local.INFO: IMEI packet received {"connection_id":230379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":230379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:02:08] local.INFO: TCP Data received {"connection_id":231713,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7960c8012d0c18c00702ad28001c00fe21..."} 
[2026-11-05 17:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7960c8012d0c18c00702ad28001c00fe21..."} 
[2026-11-05 17:02:08] local.INFO: Processing buffer {"connection_id":231713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7960c8012d0c18c00702ad28001c00fe21..."} 
[2026-11-05 17:02:08] local.INFO: Packet analysis {"connection_id":231713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab79"} 
[2026-11-05 17:02:08] local.INFO: Extracted packet for processing {"connection_id":231713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab79"} 
[2026-11-05 17:02:08] local.INFO: GPS Element Parsed {"raw_longitude":755767488,"raw_latitude":117615912,"longitude_deg":75.5767488,"latitude_deg":11.7615912,"altitude":28,"angle":254,"satellites":33,"speed":11,"hex_longitude":"2d0c18c0","hex_latitude":"0702ad28","is_valid_coordinates":true} 
[2026-11-05 17:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232822784001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39540680107753472,"note":"Value kept but may cause issues"} 
[2026-11-05 17:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874120570284646400,"note":"Value kept but may cause issues"} 
[2026-11-05 17:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793878221000,"timestamp_ms":1793878221000,"timestamp_seconds":1793878221,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7960c8"} 
[2026-11-05 17:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 17:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-05 17:02:08] 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-05 17:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":231713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":231713,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 17:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":231713,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 17:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 17:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 17:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232822784001,"66":14407,"37":206,"94":11008,"24":11,"16":39540680107753472,"45":874120570284646400},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 17:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 17:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 17:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232822784001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:02:08] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 17:02:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 17:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39540680107753472,"km_value":39540680107753.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":874120570284646400,"description":"Unknown IO ID 45"} 
[2026-11-05 17:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232822784001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":874120570284646400}} 
[2026-11-05 17:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":231713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64090,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:02:08] local.INFO: GPS data processed {"connection_id":231713,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:02:08] local.INFO: Acknowledgment sent {"connection_id":231713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:02:09] local.INFO: TCP Data received {"connection_id":230379,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab76d470012d7fa60005afe2e80002011028..."} 
[2026-11-05 17:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab76d470012d7fa60005afe2e80002011028..."} 
[2026-11-05 17:02:09] local.INFO: Processing buffer {"connection_id":230379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab76d470012d7fa60005afe2e80002011028..."} 
[2026-11-05 17:02:09] local.INFO: Packet analysis {"connection_id":230379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab76"} 
[2026-11-05 17:02:09] local.INFO: Extracted packet for processing {"connection_id":230379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab76"} 
[2026-11-05 17:02:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 17:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232704768001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 17:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 17:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793878054000,"timestamp_ms":1793878054000,"timestamp_seconds":1793878054,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab76d470"} 
[2026-11-05 17:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 17:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-05 17:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232704768001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232704768001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:02:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:02:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 17:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232704768001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 17:02:09] 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":64091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:02:09] local.INFO: GPS data processed {"connection_id":230379,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:02:09] local.INFO: Acknowledgment sent {"connection_id":230379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:02:30] local.INFO: TCP Data received {"connection_id":229854,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229854,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:02:30] local.INFO: Processing buffer {"connection_id":229854,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:02:30] local.INFO: IMEI packet received {"connection_id":229854,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 17:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":229854,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:02:31] local.INFO: TCP Data received {"connection_id":229854,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229854,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:02:31] local.INFO: Processing buffer {"connection_id":229854,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:02:31] local.INFO: IMEI packet received {"connection_id":229854,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 17:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":229854,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:02:37] local.INFO: TCP Data received {"connection_id":229854,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229854,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:02:37] local.INFO: Processing buffer {"connection_id":229854,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:02:37] local.INFO: IMEI packet received {"connection_id":229854,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 17:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":229854,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:02:38] local.INFO: TCP Data received {"connection_id":229854,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7b1e18012d0bbb8007029df0000f012c21..."} 
[2026-11-05 17:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7b1e18012d0bbb8007029df0000f012c21..."} 
[2026-11-05 17:02:38] local.INFO: Processing buffer {"connection_id":229854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7b1e18012d0bbb8007029df0000f012c21..."} 
[2026-11-05 17:02:38] local.INFO: Packet analysis {"connection_id":229854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab7b"} 
[2026-11-05 17:02:38] local.INFO: Extracted packet for processing {"connection_id":229854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab7b"} 
[2026-11-05 17:02:38] local.INFO: GPS Element Parsed {"raw_longitude":755743616,"raw_latitude":117612016,"longitude_deg":75.5743616,"latitude_deg":11.7612016,"altitude":15,"angle":300,"satellites":33,"speed":8,"hex_longitude":"2d0bbb80","hex_latitude":"07029df0","is_valid_coordinates":true} 
[2026-11-05 17:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232849920001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39541899878465536,"note":"Value kept but may cause issues"} 
[2026-11-05 17:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":848365609914816512,"note":"Value kept but may cause issues"} 
[2026-11-05 17:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1793878335000,"timestamp_ms":1793878335000,"timestamp_seconds":1793878335,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7b1e18"} 
[2026-11-05 17:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 17:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-05 17:02:38] 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-05 17:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":229854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":229854,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 17:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":229854,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 17:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 17:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 17:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232849920001,"66":14450,"37":206,"94":11008,"24":8,"16":39541899878465536,"45":848365609914816512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 17:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 17:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 17:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232849920001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:02:38] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 17:02:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 17:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39541899878465536,"km_value":39541899878465.54,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":848365609914816512,"description":"Unknown IO ID 45"} 
[2026-11-05 17:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232849920001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":848365609914816512}} 
[2026-11-05 17:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":229854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64092,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:02:38] local.INFO: GPS data processed {"connection_id":229854,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:02:38] local.INFO: Acknowledgment sent {"connection_id":229854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:02:40] local.INFO: TCP Data received {"connection_id":230379,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab76d470012d7fa60005afe2e80002011028..."} 
[2026-11-05 17:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab76d470012d7fa60005afe2e80002011028..."} 
[2026-11-05 17:02:40] local.INFO: Processing buffer {"connection_id":230379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab76d470012d7fa60005afe2e80002011028..."} 
[2026-11-05 17:02:40] local.INFO: Packet analysis {"connection_id":230379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab76"} 
[2026-11-05 17:02:40] local.INFO: Extracted packet for processing {"connection_id":230379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab76"} 
[2026-11-05 17:02:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 17:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232704768001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 17:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 17:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793878054000,"timestamp_ms":1793878054000,"timestamp_seconds":1793878054,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab76d470"} 
[2026-11-05 17:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 17:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-05 17:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232704768001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232704768001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:02:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:02:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 17:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232704768001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 17:02:40] 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":64093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:02:40] local.INFO: GPS data processed {"connection_id":230379,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:02:40] local.INFO: Acknowledgment sent {"connection_id":230379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:03:03] local.INFO: TCP Data received {"connection_id":231714,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:03:03] local.INFO: Processing buffer {"connection_id":231714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:03:03] local.INFO: IMEI packet received {"connection_id":231714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":231714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:03:08] local.INFO: TCP Data received {"connection_id":231714,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:03:08] local.INFO: Processing buffer {"connection_id":231714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:03:08] local.INFO: IMEI packet received {"connection_id":231714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":231714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:03:09] local.INFO: TCP Data received {"connection_id":231714,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab76d470012d7fa60005afe2e80002011028..."} 
[2026-11-05 17:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab76d470012d7fa60005afe2e80002011028..."} 
[2026-11-05 17:03:09] local.INFO: Processing buffer {"connection_id":231714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab76d470012d7fa60005afe2e80002011028..."} 
[2026-11-05 17:03:09] local.INFO: Packet analysis {"connection_id":231714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab76"} 
[2026-11-05 17:03:09] local.INFO: Extracted packet for processing {"connection_id":231714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab76"} 
[2026-11-05 17:03:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 17:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232704768001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 17:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 17:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793878054000,"timestamp_ms":1793878054000,"timestamp_seconds":1793878054,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab76d470"} 
[2026-11-05 17:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 17:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-05 17:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:03:09] 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-05 17:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232704768001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232704768001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:03:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:03:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 17:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232704768001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 17:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":231714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:03:09] local.INFO: GPS data processed {"connection_id":231714,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:03:09] local.INFO: Acknowledgment sent {"connection_id":231714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:03:10] local.INFO: TCP Data received {"connection_id":229854,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7b31a0012d0bb4800702a2980010013720..."} 
[2026-11-05 17:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7b31a0012d0bb4800702a2980010013720..."} 
[2026-11-05 17:03:10] local.INFO: Processing buffer {"connection_id":229854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7b31a0012d0bb4800702a2980010013720..."} 
[2026-11-05 17:03:10] local.INFO: Packet analysis {"connection_id":229854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab7b"} 
[2026-11-05 17:03:10] local.INFO: Extracted packet for processing {"connection_id":229854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab7b"} 
[2026-11-05 17:03:10] local.INFO: GPS Element Parsed {"raw_longitude":755741824,"raw_latitude":117613208,"longitude_deg":75.5741824,"latitude_deg":11.7613208,"altitude":16,"angle":311,"satellites":32,"speed":22,"hex_longitude":"2d0bb480","hex_latitude":"0702a298","is_valid_coordinates":true} 
[2026-11-05 17:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232853760001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39542002957680640,"note":"Value kept but may cause issues"} 
[2026-11-05 17:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":845410122659131392,"note":"Value kept but may cause issues"} 
[2026-11-05 17:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793878340000,"timestamp_ms":1793878340000,"timestamp_seconds":1793878340,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7b31a0"} 
[2026-11-05 17:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 17:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-05 17:03:10] 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-05 17:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229854,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 17:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229854,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 17:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 17:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 17:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232853760001,"66":14396,"37":206,"94":11008,"24":22,"16":39542002957680640,"45":845410122659131392},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-05 17:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 17:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 17:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232853760001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:03:10] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-05 17:03:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 17:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39542002957680640,"km_value":39542002957680.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":845410122659131392,"description":"Unknown IO ID 45"} 
[2026-11-05 17:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232853760001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":845410122659131392}} 
[2026-11-05 17:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":229854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64095,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:03:11] local.INFO: GPS data processed {"connection_id":229854,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:03:11] local.INFO: Acknowledgment sent {"connection_id":229854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:03:35] local.INFO: TCP Data received {"connection_id":229855,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229855,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:03:35] local.INFO: Processing buffer {"connection_id":229855,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:03:35] local.INFO: IMEI packet received {"connection_id":229855,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 17:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":229855,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:03:36] local.INFO: TCP Data received {"connection_id":229855,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229855,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:03:36] local.INFO: Processing buffer {"connection_id":229855,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:03:36] local.INFO: IMEI packet received {"connection_id":229855,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 17:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":229855,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:03:39] local.INFO: TCP Data received {"connection_id":229855,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229855,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:03:39] local.INFO: Processing buffer {"connection_id":229855,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:03:39] local.INFO: IMEI packet received {"connection_id":229855,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 17:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":229855,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:03:40] local.INFO: TCP Data received {"connection_id":231714,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:03:40] local.INFO: Processing buffer {"connection_id":231714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:03:40] local.INFO: Packet analysis {"connection_id":231714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab7b"} 
[2026-11-05 17:03:40] local.INFO: Extracted packet for processing {"connection_id":231714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab7b"} 
[2026-11-05 17:03:40] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 17:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232781824001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 17:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 17:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793878355000,"timestamp_ms":1793878355000,"timestamp_seconds":1793878355,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7b6c38"} 
[2026-11-05 17:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 17:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 17:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232781824001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232781824001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:03:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:03:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 17:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232781824001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 17:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":231714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:03:40] local.INFO: GPS data processed {"connection_id":231714,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:03:40] local.INFO: Acknowledgment sent {"connection_id":231714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:03:41] local.INFO: TCP Data received {"connection_id":229855,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7c4ae0012d0b4d0007029c780010012e21..."} 
[2026-11-05 17:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7c4ae0012d0b4d0007029c780010012e21..."} 
[2026-11-05 17:03:41] local.INFO: Processing buffer {"connection_id":229855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7c4ae0012d0b4d0007029c780010012e21..."} 
[2026-11-05 17:03:41] local.INFO: Packet analysis {"connection_id":229855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab7c"} 
[2026-11-05 17:03:41] local.INFO: Extracted packet for processing {"connection_id":229855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab7c"} 
[2026-11-05 17:03:41] local.INFO: GPS Element Parsed {"raw_longitude":755715328,"raw_latitude":117611640,"longitude_deg":75.5715328,"latitude_deg":11.761164,"altitude":16,"angle":302,"satellites":33,"speed":11,"hex_longitude":"2d0b4d00","hex_latitude":"07029c78","is_valid_coordinates":true} 
[2026-11-05 17:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232872960001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39543368757280768,"note":"Value kept but may cause issues"} 
[2026-11-05 17:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814870087685871616,"note":"Value kept but may cause issues"} 
[2026-11-05 17:03: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-05 17:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793878412000,"timestamp_ms":1793878412000,"timestamp_seconds":1793878412,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7c4ae0"} 
[2026-11-05 17:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 17:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-05 17:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229855,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 17:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229855,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 17:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 17:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 17:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232872960001,"66":14515,"17":206,"94":11008,"24":11,"16":39543368757280768,"45":814870087685871616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 17:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 17:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 17:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232872960001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:03:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 17:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39543368757280768,"km_value":39543368757280.766,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":814870087685871616,"description":"Unknown IO ID 45"} 
[2026-11-05 17:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232872960001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":814870087685871616}} 
[2026-11-05 17:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":229855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64097,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:03:41] local.INFO: GPS data processed {"connection_id":229855,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:03:41] local.INFO: Acknowledgment sent {"connection_id":229855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:04:08] local.INFO: TCP Data received {"connection_id":230380,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:04:08] local.INFO: Processing buffer {"connection_id":230380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:04:08] local.INFO: IMEI packet received {"connection_id":230380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":230380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:04:13] local.INFO: TCP Data received {"connection_id":230380,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:04:13] local.INFO: Processing buffer {"connection_id":230380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:04:13] local.INFO: IMEI packet received {"connection_id":230380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":230380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:04:14] local.INFO: TCP Data received {"connection_id":230380,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:04:14] local.INFO: Processing buffer {"connection_id":230380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:04:14] local.INFO: Packet analysis {"connection_id":230380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab7b"} 
[2026-11-05 17:04:14] local.INFO: Extracted packet for processing {"connection_id":230380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab7b"} 
[2026-11-05 17:04:14] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 17:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232781824001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 17:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 17:04:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793878355000,"timestamp_ms":1793878355000,"timestamp_seconds":1793878355,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7b6c38"} 
[2026-11-05 17:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:04: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-05 17:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 17:04:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232781824001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232781824001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:04:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:04:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 17:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232781824001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 17:04:14] 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":64098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:04:14] local.INFO: GPS data processed {"connection_id":230380,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:04:14] local.INFO: Acknowledgment sent {"connection_id":230380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:04:18] local.INFO: TCP Data received {"connection_id":230380,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:04:18] local.INFO: Processing buffer {"connection_id":230380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:04:18] local.INFO: Packet analysis {"connection_id":230380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab7b"} 
[2026-11-05 17:04:18] local.INFO: Extracted packet for processing {"connection_id":230380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab7b"} 
[2026-11-05 17:04:18] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232781824001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 17:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 17:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793878355000,"timestamp_ms":1793878355000,"timestamp_seconds":1793878355,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7b6c38"} 
[2026-11-05 17: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-05 17:04: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-05 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 17:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17: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-05 17: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-05 17:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232781824001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232781824001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:04:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:04:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 17:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232781824001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 17:04:18] 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":64099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:04:18] local.INFO: GPS data processed {"connection_id":230380,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:04:18] local.INFO: Acknowledgment sent {"connection_id":230380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:04:24] local.INFO: TCP Data received {"connection_id":229855,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7c52b0012d0b4b4007029e180010014021..."} 
[2026-11-05 17:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7c52b0012d0b4b4007029e180010014021..."} 
[2026-11-05 17:04:24] local.INFO: Processing buffer {"connection_id":229855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7c52b0012d0b4b4007029e180010014021..."} 
[2026-11-05 17:04:24] local.INFO: Packet analysis {"connection_id":229855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab7c"} 
[2026-11-05 17:04:24] local.INFO: Extracted packet for processing {"connection_id":229855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab7c"} 
[2026-11-05 17:04:24] local.INFO: GPS Element Parsed {"raw_longitude":755714880,"raw_latitude":117612056,"longitude_deg":75.571488,"latitude_deg":11.7612056,"altitude":16,"angle":320,"satellites":33,"speed":12,"hex_longitude":"2d0b4b40","hex_latitude":"07029e18","is_valid_coordinates":true} 
[2026-11-05 17:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232873472001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39543398822051840,"note":"Value kept but may cause issues"} 
[2026-11-05 17:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814307137732507648,"note":"Value kept but may cause issues"} 
[2026-11-05 17:04:24] 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-05 17:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793878414000,"timestamp_ms":1793878414000,"timestamp_seconds":1793878414,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7c52b0"} 
[2026-11-05 17:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 17:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-05 17:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":229855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":229855,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 17:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":229855,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 17:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 17:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 17:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232873472001,"66":14352,"17":206,"94":11008,"24":12,"16":39543398822051840,"45":814307137732507648},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 17:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 17:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 17:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232873472001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:04:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 17:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39543398822051840,"km_value":39543398822051.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":814307137732507648,"description":"Unknown IO ID 45"} 
[2026-11-05 17:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232873472001,"power":14352,"axis_x":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":814307137732507648}} 
[2026-11-05 17:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":229855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64100,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:04:24] local.INFO: GPS data processed {"connection_id":229855,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:04:24] local.INFO: Acknowledgment sent {"connection_id":229855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:04:31] local.INFO: TCP Data received {"connection_id":231715,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231715,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:04:31] local.INFO: Processing buffer {"connection_id":231715,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:04:31] local.INFO: IMEI packet received {"connection_id":231715,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 17:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":231715,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:04:33] local.INFO: TCP Data received {"connection_id":231715,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231715,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:04:33] local.INFO: Processing buffer {"connection_id":231715,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:04:33] local.INFO: IMEI packet received {"connection_id":231715,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 17:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":231715,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:04:34] local.INFO: TCP Data received {"connection_id":231715,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231715,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:04:34] local.INFO: Processing buffer {"connection_id":231715,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:04:34] local.INFO: IMEI packet received {"connection_id":231715,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 17:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":231715,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:04:36] local.INFO: TCP Data received {"connection_id":231715,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231715,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:04:36] local.INFO: Processing buffer {"connection_id":231715,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:04:36] local.INFO: IMEI packet received {"connection_id":231715,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 17:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":231715,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:04:37] local.INFO: TCP Data received {"connection_id":231715,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7cf6c0012d0b23800702ba70000f012b22..."} 
[2026-11-05 17:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7cf6c0012d0b23800702ba70000f012b22..."} 
[2026-11-05 17:04:37] local.INFO: Processing buffer {"connection_id":231715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7cf6c0012d0b23800702ba70000f012b22..."} 
[2026-11-05 17:04:37] local.INFO: Packet analysis {"connection_id":231715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab7c"} 
[2026-11-05 17:04:37] local.INFO: Extracted packet for processing {"connection_id":231715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab7c"} 
[2026-11-05 17:04:37] local.INFO: GPS Element Parsed {"raw_longitude":755704704,"raw_latitude":117619312,"longitude_deg":75.5704704,"latitude_deg":11.7619312,"altitude":15,"angle":299,"satellites":34,"speed":10,"hex_longitude":"2d0b2380","hex_latitude":"0702ba70","is_valid_coordinates":true} 
[2026-11-05 17:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232884480001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39544055952048128,"note":"Value kept but may cause issues"} 
[2026-11-05 17:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802907401177651200,"note":"Value kept but may cause issues"} 
[2026-11-05 17:04:37] 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-05 17:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793878456000,"timestamp_ms":1793878456000,"timestamp_seconds":1793878456,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7cf6c0"} 
[2026-11-05 17:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 17:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-05 17:04: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-05 17:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":231715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":231715,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 17:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":231715,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 17:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 17:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 17:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232884480001,"66":14396,"17":206,"94":11008,"24":10,"16":39544055952048128,"45":802907401177651200},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 17:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 17:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 17:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232884480001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:04:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 17:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39544055952048128,"km_value":39544055952048.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":802907401177651200,"description":"Unknown IO ID 45"} 
[2026-11-05 17:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232884480001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":802907401177651200}} 
[2026-11-05 17:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":231715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64101,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:04:37] local.INFO: GPS data processed {"connection_id":231715,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:04:37] local.INFO: Acknowledgment sent {"connection_id":231715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:04:38] local.INFO: TCP Data received {"connection_id":231715,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7cfaa8012d0b22800702bad0000f011d21..."} 
[2026-11-05 17:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7cfaa8012d0b22800702bad0000f011d21..."} 
[2026-11-05 17:04:38] local.INFO: Processing buffer {"connection_id":231715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7cfaa8012d0b22800702bad0000f011d21..."} 
[2026-11-05 17:04:38] local.INFO: Packet analysis {"connection_id":231715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab7c"} 
[2026-11-05 17:04:38] local.INFO: Extracted packet for processing {"connection_id":231715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab7c"} 
[2026-11-05 17:04:38] local.INFO: GPS Element Parsed {"raw_longitude":755704448,"raw_latitude":117619408,"longitude_deg":75.5704448,"latitude_deg":11.7619408,"altitude":15,"angle":285,"satellites":33,"speed":13,"hex_longitude":"2d0b2280","hex_latitude":"0702bad0","is_valid_coordinates":true} 
[2026-11-05 17:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232884736001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39544073131917312,"note":"Value kept but may cause issues"} 
[2026-11-05 17:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802625926200979456,"note":"Value kept but may cause issues"} 
[2026-11-05 17:04: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-05 17:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1793878457000,"timestamp_ms":1793878457000,"timestamp_seconds":1793878457,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7cfaa8"} 
[2026-11-05 17:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 17:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-05 17:04:38] 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-05 17:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":231715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":231715,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 17:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":231715,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 17:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 17:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 17:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232884736001,"66":14396,"17":206,"94":11008,"24":13,"16":39544073131917312,"45":802625926200979456},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 17:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 17:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 17:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232884736001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:04:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 17:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39544073131917312,"km_value":39544073131917.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":802625926200979456,"description":"Unknown IO ID 45"} 
[2026-11-05 17:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232884736001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":802625926200979456}} 
[2026-11-05 17:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":231715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64102,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:04:38] local.INFO: GPS data processed {"connection_id":231715,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:04:38] local.INFO: Acknowledgment sent {"connection_id":231715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:05:03] local.INFO: TCP Data received {"connection_id":233611,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:05:03] local.INFO: Processing buffer {"connection_id":233611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:05:03] local.INFO: IMEI packet received {"connection_id":233611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":233611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:05:08] local.INFO: TCP Data received {"connection_id":233611,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:05:08] local.INFO: Processing buffer {"connection_id":233611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:05:08] local.INFO: IMEI packet received {"connection_id":233611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":233611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:05:09] local.INFO: TCP Data received {"connection_id":233611,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:05:09] local.INFO: Processing buffer {"connection_id":233611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:05:09] local.INFO: Packet analysis {"connection_id":233611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab7b"} 
[2026-11-05 17:05:09] local.INFO: Extracted packet for processing {"connection_id":233611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab7b"} 
[2026-11-05 17:05:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 17:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232781824001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 17:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 17:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793878355000,"timestamp_ms":1793878355000,"timestamp_seconds":1793878355,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7b6c38"} 
[2026-11-05 17:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 17:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 17:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 17:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:05:09] 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-05 17:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232781824001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232781824001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:05:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:05:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 17:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232781824001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 17:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":233611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:05:09] local.INFO: GPS data processed {"connection_id":233611,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:05:09] local.INFO: Acknowledgment sent {"connection_id":233611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:05:13] local.INFO: TCP Data received {"connection_id":233611,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:05:13] local.INFO: Processing buffer {"connection_id":233611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:05:13] local.INFO: Packet analysis {"connection_id":233611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab7b"} 
[2026-11-05 17:05:13] local.INFO: Extracted packet for processing {"connection_id":233611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab7b"} 
[2026-11-05 17:05:13] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 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-05 17:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232781824001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 17:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 17:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793878355000,"timestamp_ms":1793878355000,"timestamp_seconds":1793878355,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7b6c38"} 
[2026-11-05 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-05 17:05: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-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 17:05:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 17:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":233611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":233611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":233611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232781824001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232781824001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:05:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:05:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 17:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232781824001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 17:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":233611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:05:13] local.INFO: GPS data processed {"connection_id":233611,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:05:13] local.INFO: Acknowledgment sent {"connection_id":233611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:05:15] local.INFO: TCP Data received {"connection_id":231715,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7d3540012d0b03000702c228000b010b22..."} 
[2026-11-05 17:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7d3540012d0b03000702c228000b010b22..."} 
[2026-11-05 17:05:15] local.INFO: Processing buffer {"connection_id":231715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7d3540012d0b03000702c228000b010b22..."} 
[2026-11-05 17:05:15] local.INFO: Packet analysis {"connection_id":231715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab7d"} 
[2026-11-05 17:05:15] local.INFO: Extracted packet for processing {"connection_id":231715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab7d"} 
[2026-11-05 17:05:15] local.INFO: GPS Element Parsed {"raw_longitude":755696384,"raw_latitude":117621288,"longitude_deg":75.5696384,"latitude_deg":11.7621288,"altitude":11,"angle":267,"satellites":34,"speed":8,"hex_longitude":"2d0b0300","hex_latitude":"0702c228","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232884992001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39544463973941248,"note":"Value kept but may cause issues"} 
[2026-11-05 17:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802344451224293376,"note":"Value kept but may cause issues"} 
[2026-11-05 17:05:15] 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-05 17:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793878472000,"timestamp_ms":1793878472000,"timestamp_seconds":1793878472,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7d3540"} 
[2026-11-05 17: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-05 17:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 17: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-05 17:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17: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-05 17: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-05 17:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":231715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":231715,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 17:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":231715,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 17:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 17:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 17:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232884992001,"66":14407,"17":206,"94":11008,"24":8,"16":39544463973941248,"45":802344451224293376},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 17:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 17:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 17:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232884992001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:05:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 17:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39544463973941248,"km_value":39544463973941.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":802344451224293376,"description":"Unknown IO ID 45"} 
[2026-11-05 17:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232884992001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":802344451224293376}} 
[2026-11-05 17:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":231715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64105,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:05:15] local.INFO: GPS data processed {"connection_id":231715,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:05:15] local.INFO: Acknowledgment sent {"connection_id":231715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:05:26] local.INFO: TCP Data received {"connection_id":229856,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:05:26] local.INFO: Processing buffer {"connection_id":229856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:05:26] local.INFO: IMEI packet received {"connection_id":229856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 17:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":229856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:05:31] local.INFO: TCP Data received {"connection_id":231716,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231716,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:05:31] local.INFO: Processing buffer {"connection_id":231716,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:05:31] local.INFO: IMEI packet received {"connection_id":231716,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 17:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":231716,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:05:36] local.INFO: TCP Data received {"connection_id":231716,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231716,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:05:36] local.INFO: Processing buffer {"connection_id":231716,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:05:36] local.INFO: IMEI packet received {"connection_id":231716,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 17:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":231716,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:05:40] local.INFO: TCP Data received {"connection_id":231716,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7dd180012d0b13c007029ed8000e00351f..."} 
[2026-11-05 17:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7dd180012d0b13c007029ed8000e00351f..."} 
[2026-11-05 17:05:40] local.INFO: Processing buffer {"connection_id":231716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7dd180012d0b13c007029ed8000e00351f..."} 
[2026-11-05 17:05:40] local.INFO: Packet analysis {"connection_id":231716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab7d"} 
[2026-11-05 17:05:40] local.INFO: Extracted packet for processing {"connection_id":231716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab7d"} 
[2026-11-05 17:05:40] local.INFO: GPS Element Parsed {"raw_longitude":755700672,"raw_latitude":117612248,"longitude_deg":75.5700672,"latitude_deg":11.7612248,"altitude":14,"angle":53,"satellites":31,"speed":3,"hex_longitude":"2d0b13c0","hex_latitude":"07029ed8","is_valid_coordinates":true} 
[2026-11-05 17:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232894720001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39545022319689728,"note":"Value kept but may cause issues"} 
[2026-11-05 17:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797418639130226688,"note":"Value kept but may cause issues"} 
[2026-11-05 17:05:40] 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-05 17:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793878512000,"timestamp_ms":1793878512000,"timestamp_seconds":1793878512,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7dd180"} 
[2026-11-05 17:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 17:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-05 17:05:40] 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-05 17:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 17:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 17:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.12","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 17:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 17:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232894720001,"66":14450,"17":206,"94":11008,"24":3,"16":39545022319689728,"45":797418639130226688},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 17:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 17:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 17:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232894720001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:05:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 17:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39545022319689728,"km_value":39545022319689.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":797418639130226688,"description":"Unknown IO ID 45"} 
[2026-11-05 17:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232894720001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":797418639130226688}} 
[2026-11-05 17:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":231716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64106,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:05:40] local.INFO: GPS data processed {"connection_id":231716,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:05:40] local.INFO: Acknowledgment sent {"connection_id":231716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:05:46] local.INFO: TCP Data received {"connection_id":233611,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:05:46] local.INFO: Processing buffer {"connection_id":233611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:05:46] local.INFO: Packet analysis {"connection_id":233611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab7b"} 
[2026-11-05 17:05:46] local.INFO: Extracted packet for processing {"connection_id":233611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab7b"} 
[2026-11-05 17:05:46] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 17:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232781824001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 17:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 17:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793878355000,"timestamp_ms":1793878355000,"timestamp_seconds":1793878355,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7b6c38"} 
[2026-11-05 17:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:05: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-05 17:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 17:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":233611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":233611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":233611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232781824001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232781824001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:05:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:05:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 17:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232781824001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 17:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":233611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:05:46] local.INFO: GPS data processed {"connection_id":233611,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:05:46] local.INFO: Acknowledgment sent {"connection_id":233611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:06:03] local.INFO: TCP Data received {"connection_id":233612,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:06:03] local.INFO: Processing buffer {"connection_id":233612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:06:03] local.INFO: IMEI packet received {"connection_id":233612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":233612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:06:08] local.INFO: TCP Data received {"connection_id":233612,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:06:08] local.INFO: Processing buffer {"connection_id":233612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:06:08] local.INFO: IMEI packet received {"connection_id":233612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":233612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:06:09] local.INFO: TCP Data received {"connection_id":233612,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:06:09] local.INFO: Processing buffer {"connection_id":233612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:06:09] local.INFO: Packet analysis {"connection_id":233612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab7b"} 
[2026-11-05 17:06:09] local.INFO: Extracted packet for processing {"connection_id":233612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab7b"} 
[2026-11-05 17:06:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 17:06: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-05 17:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232781824001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 17:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 17:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793878355000,"timestamp_ms":1793878355000,"timestamp_seconds":1793878355,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7b6c38"} 
[2026-11-05 17:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 17:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 17:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 17:06: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-05 17:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:06:09] 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-05 17:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232781824001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232781824001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:06:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:06:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 17:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232781824001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 17:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":233612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:06:09] local.INFO: GPS data processed {"connection_id":233612,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:06:09] local.INFO: Acknowledgment sent {"connection_id":233612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:06:12] local.INFO: TCP Data received {"connection_id":231716,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7dd950012d0b140007029ee8000e00401e..."} 
[2026-11-05 17:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7dd950012d0b140007029ee8000e00401e..."} 
[2026-11-05 17:06:12] local.INFO: Processing buffer {"connection_id":231716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7dd950012d0b140007029ee8000e00401e..."} 
[2026-11-05 17:06:12] local.INFO: Packet analysis {"connection_id":231716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab7d"} 
[2026-11-05 17:06:12] local.INFO: Extracted packet for processing {"connection_id":231716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab7d"} 
[2026-11-05 17:06:12] local.INFO: GPS Element Parsed {"raw_longitude":755700736,"raw_latitude":117612264,"longitude_deg":75.5700736,"latitude_deg":11.7612264,"altitude":14,"angle":64,"satellites":30,"speed":1,"hex_longitude":"2d0b1400","hex_latitude":"07029ee8","is_valid_coordinates":true} 
[2026-11-05 17:06: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-05 17:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232899072001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39545026614657024,"note":"Value kept but may cause issues"} 
[2026-11-05 17:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798192695315978240,"note":"Value kept but may cause issues"} 
[2026-11-05 17:06:12] 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-05 17:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793878514000,"timestamp_ms":1793878514000,"timestamp_seconds":1793878514,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7dd950"} 
[2026-11-05 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-05 17:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-05 17:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 17:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 17:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 17:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.12","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 17:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 17:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232899072001,"66":13906,"17":206,"94":11008,"24":1,"16":39545026614657024,"45":798192695315978240},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 17:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 17:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 17:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232899072001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:06:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 17:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39545026614657024,"km_value":39545026614657.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":798192695315978240,"description":"Unknown IO ID 45"} 
[2026-11-05 17:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232899072001,"power":13906,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":798192695315978240}} 
[2026-11-05 17:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":231716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64109,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:06:13] local.INFO: GPS data processed {"connection_id":231716,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:06:13] local.INFO: Acknowledgment sent {"connection_id":231716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:06:36] local.INFO: TCP Data received {"connection_id":229857,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229857,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:06:36] local.INFO: Processing buffer {"connection_id":229857,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:06:36] local.INFO: IMEI packet received {"connection_id":229857,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 17:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":229857,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:06:41] local.INFO: TCP Data received {"connection_id":233612,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:06:41] local.INFO: Processing buffer {"connection_id":233612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:06:41] local.INFO: Packet analysis {"connection_id":233612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab7b"} 
[2026-11-05 17:06:41] local.INFO: Extracted packet for processing {"connection_id":233612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab7b"} 
[2026-11-05 17:06:41] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232781824001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 17:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 17:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793878355000,"timestamp_ms":1793878355000,"timestamp_seconds":1793878355,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7b6c38"} 
[2026-11-05 17: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-05 17:06: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-05 17:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 17:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17: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-05 17: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-05 17:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:06: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-05 17:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232781824001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232781824001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:06:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:06:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 17:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232781824001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 17:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":233612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:06:41] local.INFO: GPS data processed {"connection_id":233612,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:06:41] local.INFO: Acknowledgment sent {"connection_id":233612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:06:41] local.INFO: TCP Data received {"connection_id":229857,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229857,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:06:41] local.INFO: Processing buffer {"connection_id":229857,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:06:41] local.INFO: IMEI packet received {"connection_id":229857,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 17:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":229857,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:06:43] local.INFO: TCP Data received {"connection_id":229857,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7dd950012d0b140007029ee8000e00401e..."} 
[2026-11-05 17:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7dd950012d0b140007029ee8000e00401e..."} 
[2026-11-05 17:06:43] local.INFO: Processing buffer {"connection_id":229857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7dd950012d0b140007029ee8000e00401e..."} 
[2026-11-05 17:06:43] local.INFO: Packet analysis {"connection_id":229857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab7d"} 
[2026-11-05 17:06:43] local.INFO: Extracted packet for processing {"connection_id":229857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab7d"} 
[2026-11-05 17:06:43] local.INFO: GPS Element Parsed {"raw_longitude":755700736,"raw_latitude":117612264,"longitude_deg":75.5700736,"latitude_deg":11.7612264,"altitude":14,"angle":64,"satellites":30,"speed":1,"hex_longitude":"2d0b1400","hex_latitude":"07029ee8","is_valid_coordinates":true} 
[2026-11-05 17:06:43] 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-05 17:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232899584001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39545026614657024,"note":"Value kept but may cause issues"} 
[2026-11-05 17:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798263064060160000,"note":"Value kept but may cause issues"} 
[2026-11-05 17:06:43] 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-05 17:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793878514000,"timestamp_ms":1793878514000,"timestamp_seconds":1793878514,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7dd950"} 
[2026-11-05 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-05 17:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-05 17:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 17:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229857,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 17:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229857,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 17:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.12","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 17:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 17:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232899584001,"66":13906,"17":206,"94":11008,"24":1,"16":39545026614657024,"45":798263064060160000},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 17:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 17:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 17:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232899584001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:06:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 17:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39545026614657024,"km_value":39545026614657.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":798263064060160000,"description":"Unknown IO ID 45"} 
[2026-11-05 17:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232899584001,"power":13906,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":798263064060160000}} 
[2026-11-05 17:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":229857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64111,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:06:43] local.INFO: GPS data processed {"connection_id":229857,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:06:43] local.INFO: Acknowledgment sent {"connection_id":229857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:07:03] local.INFO: TCP Data received {"connection_id":233613,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:07:03] local.INFO: Processing buffer {"connection_id":233613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:07:03] local.INFO: IMEI packet received {"connection_id":233613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":233613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:07:08] local.INFO: TCP Data received {"connection_id":233613,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:07:08] local.INFO: Processing buffer {"connection_id":233613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:07:08] local.INFO: IMEI packet received {"connection_id":233613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":233613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:07:09] local.INFO: TCP Data received {"connection_id":233613,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:07:09] local.INFO: Processing buffer {"connection_id":233613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:07:09] local.INFO: Packet analysis {"connection_id":233613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab7b"} 
[2026-11-05 17:07:09] local.INFO: Extracted packet for processing {"connection_id":233613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab7b"} 
[2026-11-05 17:07:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 17:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232781824001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 17:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 17:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793878355000,"timestamp_ms":1793878355000,"timestamp_seconds":1793878355,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7b6c38"} 
[2026-11-05 17:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 17:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 17:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 17:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232781824001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232781824001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:07:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 17:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232781824001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 17:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":233613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:07:09] local.INFO: GPS data processed {"connection_id":233613,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:07:09] local.INFO: Acknowledgment sent {"connection_id":233613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:07:15] local.INFO: TCP Data received {"connection_id":229857,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7dd950012d0b140007029ee8000e00401e..."} 
[2026-11-05 17:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7dd950012d0b140007029ee8000e00401e..."} 
[2026-11-05 17:07:15] local.INFO: Processing buffer {"connection_id":229857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7dd950012d0b140007029ee8000e00401e..."} 
[2026-11-05 17:07:15] local.INFO: Packet analysis {"connection_id":229857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab7d"} 
[2026-11-05 17:07:15] local.INFO: Extracted packet for processing {"connection_id":229857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab7d"} 
[2026-11-05 17:07:15] local.INFO: GPS Element Parsed {"raw_longitude":755700736,"raw_latitude":117612264,"longitude_deg":75.5700736,"latitude_deg":11.7612264,"altitude":14,"angle":64,"satellites":30,"speed":1,"hex_longitude":"2d0b1400","hex_latitude":"07029ee8","is_valid_coordinates":true} 
[2026-11-05 17:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232899584001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39545026614657024,"note":"Value kept but may cause issues"} 
[2026-11-05 17:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798263064060160000,"note":"Value kept but may cause issues"} 
[2026-11-05 17:07:15] 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-05 17:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793878514000,"timestamp_ms":1793878514000,"timestamp_seconds":1793878514,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7dd950"} 
[2026-11-05 17: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-05 17:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-05 17:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17: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-05 17: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-05 17:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229857,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 17:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229857,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 17:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.12","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 17:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 17:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232899584001,"66":13906,"17":206,"94":11008,"24":1,"16":39545026614657024,"45":798263064060160000},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-05 17:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 17:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 17:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232899584001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:07:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 17:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39545026614657024,"km_value":39545026614657.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":798263064060160000,"description":"Unknown IO ID 45"} 
[2026-11-05 17:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232899584001,"power":13906,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":798263064060160000}} 
[2026-11-05 17:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":229857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64113,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:07:15] local.INFO: GPS data processed {"connection_id":229857,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:07:15] local.INFO: Acknowledgment sent {"connection_id":229857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:07:36] local.INFO: TCP Data received {"connection_id":233614,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233614,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:07:36] local.INFO: Processing buffer {"connection_id":233614,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:07:36] local.INFO: IMEI packet received {"connection_id":233614,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-05 17:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":233614,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:07:41] local.INFO: TCP Data received {"connection_id":233613,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:07:41] local.INFO: Processing buffer {"connection_id":233613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:07:41] local.INFO: Packet analysis {"connection_id":233613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab7b"} 
[2026-11-05 17:07:41] local.INFO: Extracted packet for processing {"connection_id":233613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab7b"} 
[2026-11-05 17:07:41] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232781824001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 17:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 17:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793878355000,"timestamp_ms":1793878355000,"timestamp_seconds":1793878355,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7b6c38"} 
[2026-11-05 17: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-05 17:07: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-05 17:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 17:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17: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-05 17: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-05 17:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:07: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-05 17:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232781824001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232781824001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:07:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 17:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232781824001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 17:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":233613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:07:41] local.INFO: GPS data processed {"connection_id":233613,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:07:41] local.INFO: Acknowledgment sent {"connection_id":233613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:07:42] local.INFO: TCP Data received {"connection_id":233614,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233614,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:07:42] local.INFO: Processing buffer {"connection_id":233614,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-05 17:07:42] local.INFO: IMEI packet received {"connection_id":233614,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-05 17:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":233614,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:07:44] local.INFO: TCP Data received {"connection_id":233614,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7dd950012d0b140007029ee8000e00401e..."} 
[2026-11-05 17:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7dd950012d0b140007029ee8000e00401e..."} 
[2026-11-05 17:07:44] local.INFO: Processing buffer {"connection_id":233614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7dd950012d0b140007029ee8000e00401e..."} 
[2026-11-05 17:07:44] local.INFO: Packet analysis {"connection_id":233614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab7d"} 
[2026-11-05 17:07:44] local.INFO: Extracted packet for processing {"connection_id":233614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab7d"} 
[2026-11-05 17:07:44] local.INFO: GPS Element Parsed {"raw_longitude":755700736,"raw_latitude":117612264,"longitude_deg":75.5700736,"latitude_deg":11.7612264,"altitude":14,"angle":64,"satellites":30,"speed":1,"hex_longitude":"2d0b1400","hex_latitude":"07029ee8","is_valid_coordinates":true} 
[2026-11-05 17:07:44] 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-05 17:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232899584001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39545026614657024,"note":"Value kept but may cause issues"} 
[2026-11-05 17:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798263064060160000,"note":"Value kept but may cause issues"} 
[2026-11-05 17:07:44] 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-05 17:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793878514000,"timestamp_ms":1793878514000,"timestamp_seconds":1793878514,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7dd950"} 
[2026-11-05 17: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-05 17:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-05 17:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17: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-05 17: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-05 17:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":233614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":233614,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 17:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":233614,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 17:07:44] 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-05 17:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 17:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 17:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232899584001,"66":13906,"17":206,"94":11008,"24":1,"16":39545026614657024,"45":798263064060160000},"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-05 17:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 17:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 17:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232899584001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:07:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 17:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39545026614657024,"km_value":39545026614657.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":798263064060160000,"description":"Unknown IO ID 45"} 
[2026-11-05 17:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232899584001,"power":13906,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":798263064060160000}} 
[2026-11-05 17:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":233614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64115,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:07:44] local.INFO: GPS data processed {"connection_id":233614,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:07:44] local.INFO: Acknowledgment sent {"connection_id":233614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:07:47] local.INFO: TCP Data received {"connection_id":233614,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7dd950012d0b140007029ee8000e00401e..."} 
[2026-11-05 17:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7dd950012d0b140007029ee8000e00401e..."} 
[2026-11-05 17:07:47] local.INFO: Processing buffer {"connection_id":233614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7dd950012d0b140007029ee8000e00401e..."} 
[2026-11-05 17:07:47] local.INFO: Packet analysis {"connection_id":233614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab7d"} 
[2026-11-05 17:07:47] local.INFO: Extracted packet for processing {"connection_id":233614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab7d"} 
[2026-11-05 17:07:47] local.INFO: GPS Element Parsed {"raw_longitude":755700736,"raw_latitude":117612264,"longitude_deg":75.5700736,"latitude_deg":11.7612264,"altitude":14,"angle":64,"satellites":30,"speed":1,"hex_longitude":"2d0b1400","hex_latitude":"07029ee8","is_valid_coordinates":true} 
[2026-11-05 17:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232899584001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39545026614657024,"note":"Value kept but may cause issues"} 
[2026-11-05 17:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798263064060160000,"note":"Value kept but may cause issues"} 
[2026-11-05 17:07: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-05 17:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793878514000,"timestamp_ms":1793878514000,"timestamp_seconds":1793878514,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7dd950"} 
[2026-11-05 17: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-05 17:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-05 17:07:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17: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-05 17: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-05 17:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":233614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":233614,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 17:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":233614,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-05 17:07:47] 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-05 17:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-05 17:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-05 17:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232899584001,"66":13906,"17":206,"94":11008,"24":1,"16":39545026614657024,"45":798263064060160000},"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-05 17:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-05 17:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-05 17:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232899584001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:07:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-05 17:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39545026614657024,"km_value":39545026614657.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":798263064060160000,"description":"Unknown IO ID 45"} 
[2026-11-05 17:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232899584001,"power":13906,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":798263064060160000}} 
[2026-11-05 17:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":233614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64116,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:07:47] local.INFO: GPS data processed {"connection_id":233614,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:07:47] local.INFO: Acknowledgment sent {"connection_id":233614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:08:09] local.INFO: TCP Data received {"connection_id":229858,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:08:09] local.INFO: Processing buffer {"connection_id":229858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:08:09] local.INFO: IMEI packet received {"connection_id":229858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":229858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:08:13] local.INFO: TCP Data received {"connection_id":229858,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:08:13] local.INFO: Processing buffer {"connection_id":229858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:08:13] local.INFO: IMEI packet received {"connection_id":229858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":229858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:08:14] local.INFO: TCP Data received {"connection_id":229858,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:08:14] local.INFO: Processing buffer {"connection_id":229858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7b6c38012d7fa60005afe2e8000201102a..."} 
[2026-11-05 17:08:14] local.INFO: Packet analysis {"connection_id":229858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab7b"} 
[2026-11-05 17:08:14] local.INFO: Extracted packet for processing {"connection_id":229858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab7b"} 
[2026-11-05 17:08:14] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":2,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232781824001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 17:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 17:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793878355000,"timestamp_ms":1793878355000,"timestamp_seconds":1793878355,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7b6c38"} 
[2026-11-05 17: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-05 17:08: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-05 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 17:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17: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-05 17: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-05 17:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232781824001,"66":25321,"27":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232781824001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:08:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:08:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 17:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232781824001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 17:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":229858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:08:14] local.INFO: GPS data processed {"connection_id":229858,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:08:14] local.INFO: Acknowledgment sent {"connection_id":229858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:08:14] local.INFO: TCP Data received {"connection_id":229858,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:08:14] local.INFO: Processing buffer {"connection_id":229858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:08:14] local.INFO: Packet analysis {"connection_id":229858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab80"} 
[2026-11-05 17:08:14] local.INFO: Extracted packet for processing {"connection_id":229858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab80"} 
[2026-11-05 17:08:14] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232858880001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 17:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 17:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793878656000,"timestamp_ms":1793878656000,"timestamp_seconds":1793878656,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab800400"} 
[2026-11-05 17: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-05 17:08: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-05 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 17:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17: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-05 17: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-05 17:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232858880001,"66":25288,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 17:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232858880001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:08:14] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 17:08:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 17:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232858880001,"power":25288,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 17:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":229858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:08:14] local.INFO: GPS data processed {"connection_id":229858,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:08:14] local.INFO: Acknowledgment sent {"connection_id":229858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:08:45] local.INFO: TCP Data received {"connection_id":229858,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:08:45] local.INFO: Processing buffer {"connection_id":229858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:08:45] local.INFO: Packet analysis {"connection_id":229858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab80"} 
[2026-11-05 17:08:45] local.INFO: Extracted packet for processing {"connection_id":229858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab80"} 
[2026-11-05 17:08:45] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232858880001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 17:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 17:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793878656000,"timestamp_ms":1793878656000,"timestamp_seconds":1793878656,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab800400"} 
[2026-11-05 17: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-05 17:08: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-05 17:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 17:08: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-05 17: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-05 17: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-05 17:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:08:45] 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-05 17:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232858880001,"66":25288,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 17:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232858880001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:08:45] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 17:08:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 17:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232858880001,"power":25288,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 17:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":229858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:08:45] local.INFO: GPS data processed {"connection_id":229858,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:08:45] local.INFO: Acknowledgment sent {"connection_id":229858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:09:03] local.INFO: TCP Data received {"connection_id":231717,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:09:03] local.INFO: Processing buffer {"connection_id":231717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:09:03] local.INFO: IMEI packet received {"connection_id":231717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":231717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:09:08] local.INFO: TCP Data received {"connection_id":231717,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:09:08] local.INFO: Processing buffer {"connection_id":231717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:09:08] local.INFO: IMEI packet received {"connection_id":231717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":231717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:09:09] local.INFO: TCP Data received {"connection_id":231717,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:09:09] local.INFO: Processing buffer {"connection_id":231717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:09:09] local.INFO: Packet analysis {"connection_id":231717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab80"} 
[2026-11-05 17:09:09] local.INFO: Extracted packet for processing {"connection_id":231717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab80"} 
[2026-11-05 17:09:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 17:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232858880001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 17:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 17:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793878656000,"timestamp_ms":1793878656000,"timestamp_seconds":1793878656,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab800400"} 
[2026-11-05 17:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 17:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 17:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 17:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:09:09] 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-05 17:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232858880001,"66":25288,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 17:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232858880001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:09:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 17:09:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 17:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232858880001,"power":25288,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 17:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":231717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:09:09] local.INFO: GPS data processed {"connection_id":231717,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:09:09] local.INFO: Acknowledgment sent {"connection_id":231717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:09:41] local.INFO: TCP Data received {"connection_id":231717,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:09:41] local.INFO: Processing buffer {"connection_id":231717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:09:41] local.INFO: Packet analysis {"connection_id":231717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab80"} 
[2026-11-05 17:09:41] local.INFO: Extracted packet for processing {"connection_id":231717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab80"} 
[2026-11-05 17:09:41] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232858880001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 17:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 17:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793878656000,"timestamp_ms":1793878656000,"timestamp_seconds":1793878656,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab800400"} 
[2026-11-05 17: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-05 17:09: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-05 17:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 17:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17: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-05 17: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-05 17:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:09: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-05 17:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232858880001,"66":25288,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 17:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232858880001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:09:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 17:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 17:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232858880001,"power":25288,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 17:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":231717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:09:41] local.INFO: GPS data processed {"connection_id":231717,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:09:41] local.INFO: Acknowledgment sent {"connection_id":231717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:10:03] local.INFO: TCP Data received {"connection_id":230382,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:10:03] local.INFO: Processing buffer {"connection_id":230382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:10:03] local.INFO: IMEI packet received {"connection_id":230382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":230382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:10:08] local.INFO: TCP Data received {"connection_id":230382,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:10:08] local.INFO: Processing buffer {"connection_id":230382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:10:08] local.INFO: IMEI packet received {"connection_id":230382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":230382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:10:09] local.INFO: TCP Data received {"connection_id":230382,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:10:09] local.INFO: Processing buffer {"connection_id":230382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:10:09] local.INFO: Packet analysis {"connection_id":230382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab80"} 
[2026-11-05 17:10:09] local.INFO: Extracted packet for processing {"connection_id":230382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab80"} 
[2026-11-05 17:10:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 17:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232858880001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 17:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 17:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793878656000,"timestamp_ms":1793878656000,"timestamp_seconds":1793878656,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab800400"} 
[2026-11-05 17:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 17:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 17:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 17:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:10:09] 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-05 17:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232858880001,"66":25288,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 17:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232858880001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:10:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 17:10:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 17:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232858880001,"power":25288,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 17:10:09] 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":64122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:10:09] local.INFO: GPS data processed {"connection_id":230382,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:10:09] local.INFO: Acknowledgment sent {"connection_id":230382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:11:01] local.INFO: TCP Data received {"connection_id":230381,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230381,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:11:01] local.INFO: Processing buffer {"connection_id":230381,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:11:01] local.INFO: IMEI packet received {"connection_id":230381,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 17:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":230381,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:11:03] local.INFO: TCP Data received {"connection_id":233615,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:11:03] local.INFO: Processing buffer {"connection_id":233615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:11:03] local.INFO: IMEI packet received {"connection_id":233615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":233615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:11:09] local.INFO: TCP Data received {"connection_id":233615,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:11:09] local.INFO: Processing buffer {"connection_id":233615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:11:09] local.INFO: IMEI packet received {"connection_id":233615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":233615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:11:10] local.INFO: TCP Data received {"connection_id":233615,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:11:10] local.INFO: Processing buffer {"connection_id":233615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:11:10] local.INFO: Packet analysis {"connection_id":233615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab80"} 
[2026-11-05 17:11:10] local.INFO: Extracted packet for processing {"connection_id":233615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab80"} 
[2026-11-05 17:11:10] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 17:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232858880001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 17:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 17:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793878656000,"timestamp_ms":1793878656000,"timestamp_seconds":1793878656,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab800400"} 
[2026-11-05 17:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 17:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 17:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:11:10] local.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-05 17:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232858880001,"66":25288,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 17:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232858880001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:11:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 17:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 17:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232858880001,"power":25288,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 17:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":233615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:11:10] local.INFO: GPS data processed {"connection_id":233615,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:11:10] local.INFO: Acknowledgment sent {"connection_id":233615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:11:13] local.INFO: TCP Data received {"connection_id":233615,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:11:13] local.INFO: Processing buffer {"connection_id":233615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:11:13] local.INFO: Packet analysis {"connection_id":233615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab80"} 
[2026-11-05 17:11:13] local.INFO: Extracted packet for processing {"connection_id":233615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab80"} 
[2026-11-05 17:11:13] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232858880001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 17:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 17:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793878656000,"timestamp_ms":1793878656000,"timestamp_seconds":1793878656,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab800400"} 
[2026-11-05 17: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-05 17:11: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-05 17:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 17:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17: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-05 17: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-05 17:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":233615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":233615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":233615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232858880001,"66":25288,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 17:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232858880001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:11:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 17:11:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 17:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232858880001,"power":25288,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 17:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":233615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:11:13] local.INFO: GPS data processed {"connection_id":233615,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:11:13] local.INFO: Acknowledgment sent {"connection_id":233615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:11:44] local.INFO: TCP Data received {"connection_id":233615,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:11:44] local.INFO: Processing buffer {"connection_id":233615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:11:44] local.INFO: Packet analysis {"connection_id":233615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab80"} 
[2026-11-05 17:11:44] local.INFO: Extracted packet for processing {"connection_id":233615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab80"} 
[2026-11-05 17:11:44] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232858880001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 17:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 17:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793878656000,"timestamp_ms":1793878656000,"timestamp_seconds":1793878656,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab800400"} 
[2026-11-05 17: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-05 17: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-05 17: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":233,"data_length":795,"current_offset":136} 
[2026-11-05 17:11: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-05 17: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-05 17: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-05 17:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":233615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":233615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":233615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232858880001,"66":25288,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 17:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232858880001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:11:44] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 17:11:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 17:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232858880001,"power":25288,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 17:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":233615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:11:44] local.INFO: GPS data processed {"connection_id":233615,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:11:44] local.INFO: Acknowledgment sent {"connection_id":233615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:12:04] local.INFO: TCP Data received {"connection_id":230383,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:12:04] local.INFO: Processing buffer {"connection_id":230383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:12:04] local.INFO: IMEI packet received {"connection_id":230383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":230383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:12:08] local.INFO: TCP Data received {"connection_id":230383,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:12:08] local.INFO: Processing buffer {"connection_id":230383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:12:08] local.INFO: IMEI packet received {"connection_id":230383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":230383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:12:09] local.INFO: TCP Data received {"connection_id":230383,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:12:09] local.INFO: Processing buffer {"connection_id":230383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:12:09] local.INFO: Packet analysis {"connection_id":230383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab80"} 
[2026-11-05 17:12:09] local.INFO: Extracted packet for processing {"connection_id":230383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab80"} 
[2026-11-05 17:12:09] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 17:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232858880001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 17:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 17:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793878656000,"timestamp_ms":1793878656000,"timestamp_seconds":1793878656,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab800400"} 
[2026-11-05 17:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 17:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 17:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 17:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:12:09] local.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-05 17:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232858880001,"66":25288,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 17:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232858880001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:12:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 17:12:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 17:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232858880001,"power":25288,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 17:12:09] 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":64126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:12:09] local.INFO: GPS data processed {"connection_id":230383,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:12:09] local.INFO: Acknowledgment sent {"connection_id":230383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:12:13] local.INFO: TCP Data received {"connection_id":230383,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:12:13] local.INFO: Processing buffer {"connection_id":230383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:12:13] local.INFO: Packet analysis {"connection_id":230383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab80"} 
[2026-11-05 17:12:13] local.INFO: Extracted packet for processing {"connection_id":230383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab80"} 
[2026-11-05 17:12:13] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 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-05 17:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232858880001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 17:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 17:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793878656000,"timestamp_ms":1793878656000,"timestamp_seconds":1793878656,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab800400"} 
[2026-11-05 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-05 17:12: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-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 17:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 17:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232858880001,"66":25288,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 17:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232858880001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:12:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 17:12:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 17:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232858880001,"power":25288,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 17:12:13] 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":64127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:12:13] local.INFO: GPS data processed {"connection_id":230383,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:12:13] local.INFO: Acknowledgment sent {"connection_id":230383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:12:44] local.INFO: TCP Data received {"connection_id":230383,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:12:44] local.INFO: Processing buffer {"connection_id":230383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab800400012d7fa60005afe2e80000011025..."} 
[2026-11-05 17:12:44] local.INFO: Packet analysis {"connection_id":230383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab80"} 
[2026-11-05 17:12:44] local.INFO: Extracted packet for processing {"connection_id":230383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab80"} 
[2026-11-05 17:12:44] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232858880001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 17:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 17:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793878656000,"timestamp_ms":1793878656000,"timestamp_seconds":1793878656,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab800400"} 
[2026-11-05 17: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-05 17:12: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-05 17: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":233,"data_length":795,"current_offset":136} 
[2026-11-05 17:12: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-05 17: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-05 17: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-05 17:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232858880001,"66":25288,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 17:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232858880001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:12:44] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 17:12:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 17:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232858880001,"power":25288,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 17:12:44] 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":64128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:12:44] local.INFO: GPS data processed {"connection_id":230383,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:12:44] local.INFO: Acknowledgment sent {"connection_id":230383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:13:03] local.INFO: TCP Data received {"connection_id":233616,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:13:03] local.INFO: Processing buffer {"connection_id":233616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:13:03] local.INFO: IMEI packet received {"connection_id":233616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":233616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:13:14] local.INFO: TCP Data received {"connection_id":233616,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:13:14] local.INFO: Processing buffer {"connection_id":233616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:13:14] local.INFO: IMEI packet received {"connection_id":233616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":233616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:13:16] local.INFO: TCP Data received {"connection_id":233616,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab845190012d7fa60005afe2e80000011023..."} 
[2026-11-05 17:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab845190012d7fa60005afe2e80000011023..."} 
[2026-11-05 17:13:16] local.INFO: Processing buffer {"connection_id":233616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab845190012d7fa60005afe2e80000011023..."} 
[2026-11-05 17:13:16] local.INFO: Packet analysis {"connection_id":233616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab84"} 
[2026-11-05 17:13:16] local.INFO: Extracted packet for processing {"connection_id":233616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab84"} 
[2026-11-05 17:13:16] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":95412968,"longitude_deg":76.3340288,"latitude_deg":9.5412968,"altitude":0,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05afe2e8","is_valid_coordinates":true} 
[2026-11-05 17:13: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-05 17:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459232935936001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 17:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 17:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793878938000,"timestamp_ms":1793878938000,"timestamp_seconds":1793878938,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab845190"} 
[2026-11-05 17:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:13: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-05 17:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-11-05 17:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":233616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":233616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":233616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:13: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-05 17:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459232935936001,"66":25321,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 17:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459232935936001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:13:16] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 17:13:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 17:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459232935936001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 17:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":233616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:13:16] local.INFO: GPS data processed {"connection_id":233616,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:13:16] local.INFO: Acknowledgment sent {"connection_id":233616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:13:47] local.INFO: TCP Data received {"connection_id":233616,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab845d48012d7fa90005afe7380000000c23..."} 
[2026-11-05 17:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab845d48012d7fa90005afe7380000000c23..."} 
[2026-11-05 17:13:47] local.INFO: Processing buffer {"connection_id":233616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab845d48012d7fa90005afe7380000000c23..."} 
[2026-11-05 17:13:47] local.INFO: Packet analysis {"connection_id":233616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab84"} 
[2026-11-05 17:13:47] local.INFO: Extracted packet for processing {"connection_id":233616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab84"} 
[2026-11-05 17:13:47] local.INFO: GPS Element Parsed {"raw_longitude":763341056,"raw_latitude":95414072,"longitude_deg":76.3341056,"latitude_deg":9.5414072,"altitude":0,"angle":12,"satellites":35,"speed":0,"hex_longitude":"2d7fa900","hex_latitude":"05afe738","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233008128001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292187715403776,"note":"Value kept but may cause issues"} 
[2026-11-05 17:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198039313376536576,"note":"Value kept but may cause issues"} 
[2026-11-05 17:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793878941000,"timestamp_ms":1793878941000,"timestamp_seconds":1793878941,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab845d48"} 
[2026-11-05 17: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-05 17:13: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-05 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-05 17:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17: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-05 17: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-05 17:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":233616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":233616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":233616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233008128001,"66":25147,"199":206,"85":12544,"24":0,"16":40292187715403776,"45":9198039313376536576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 17:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233008128001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:13:47] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 17:13:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292187715403776,"km_value":40292187715403.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198039313376536576,"description":"Unknown IO ID 45"} 
[2026-11-05 17:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233008128001,"power":25147,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198039313376536576}} 
[2026-11-05 17:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":233616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:13:47] local.INFO: GPS data processed {"connection_id":233616,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:13:47] local.INFO: Acknowledgment sent {"connection_id":233616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:14:18] local.INFO: TCP Data received {"connection_id":231718,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:14:18] local.INFO: Processing buffer {"connection_id":231718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:14:18] local.INFO: IMEI packet received {"connection_id":231718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":231718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:14:23] local.INFO: TCP Data received {"connection_id":231718,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:14:23] local.INFO: Processing buffer {"connection_id":231718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:14:23] local.INFO: IMEI packet received {"connection_id":231718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":231718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:14:23] local.INFO: TCP Data received {"connection_id":231718,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab84af50012d7fa90005afe428000000141f..."} 
[2026-11-05 17:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab84af50012d7fa90005afe428000000141f..."} 
[2026-11-05 17:14:23] local.INFO: Processing buffer {"connection_id":231718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab84af50012d7fa90005afe428000000141f..."} 
[2026-11-05 17:14:23] local.INFO: Packet analysis {"connection_id":231718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab84"} 
[2026-11-05 17:14:23] local.INFO: Extracted packet for processing {"connection_id":231718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab84"} 
[2026-11-05 17:14:23] local.INFO: GPS Element Parsed {"raw_longitude":763341056,"raw_latitude":95413288,"longitude_deg":76.3341056,"latitude_deg":9.5413288,"altitude":0,"angle":20,"satellites":31,"speed":0,"hex_longitude":"2d7fa900","hex_latitude":"05afe428","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233008896001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198883738306951168,"note":"Value kept but may cause issues"} 
[2026-11-05 17:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793878962000,"timestamp_ms":1793878962000,"timestamp_seconds":1793878962,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab84af50"} 
[2026-11-05 17: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-05 17:14: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-05 17: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-11-05 17:14:23] 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-05 17: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-05 17: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-05 17:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":231718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":231718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":231718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:14:23] local.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-05 17:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233008896001,"66":27843,"27":206,"85":12544,"24":0,"16":40292230665076736,"45":9198883738306951168},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233008896001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:14:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:14:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198883738306951168,"description":"Unknown IO ID 45"} 
[2026-11-05 17:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233008896001,"power":27843,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198883738306951168}} 
[2026-11-05 17:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":231718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:14:23] local.INFO: GPS data processed {"connection_id":231718,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:14:23] local.INFO: Acknowledgment sent {"connection_id":231718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:15:08] local.INFO: TCP Data received {"connection_id":230384,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:15:08] local.INFO: Processing buffer {"connection_id":230384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:15:08] local.INFO: IMEI packet received {"connection_id":230384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":230384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:15:13] local.INFO: TCP Data received {"connection_id":230384,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:15:13] local.INFO: Processing buffer {"connection_id":230384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:15:13] local.INFO: IMEI packet received {"connection_id":230384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":230384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:15:14] local.INFO: TCP Data received {"connection_id":230384,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab850158012d7fa90005afe4280000001427..."} 
[2026-11-05 17:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab850158012d7fa90005afe4280000001427..."} 
[2026-11-05 17:15:14] local.INFO: Processing buffer {"connection_id":230384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab850158012d7fa90005afe4280000001427..."} 
[2026-11-05 17:15:14] local.INFO: Packet analysis {"connection_id":230384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab85"} 
[2026-11-05 17:15:14] local.INFO: Extracted packet for processing {"connection_id":230384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab85"} 
[2026-11-05 17:15:14] local.INFO: GPS Element Parsed {"raw_longitude":763341056,"raw_latitude":95413288,"longitude_deg":76.3341056,"latitude_deg":9.5413288,"altitude":0,"angle":20,"satellites":39,"speed":0,"hex_longitude":"2d7fa900","hex_latitude":"05afe428","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233014272001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198883738306750464,"note":"Value kept but may cause issues"} 
[2026-11-05 17:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793878983000,"timestamp_ms":1793878983000,"timestamp_seconds":1793878983,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab850158"} 
[2026-11-05 17: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-05 17:15: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-05 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-05 17:15:14] 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-05 17: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-05 17: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-05 17:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233014272001,"66":27995,"27":206,"85":12544,"24":0,"16":40292230665076736,"45":9198883738306750464},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233014272001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:15:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:15:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198883738306750464,"description":"Unknown IO ID 45"} 
[2026-11-05 17:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233014272001,"power":27995,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198883738306750464}} 
[2026-11-05 17:15:14] 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":64132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:15:14] local.INFO: GPS data processed {"connection_id":230384,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:15:14] local.INFO: Acknowledgment sent {"connection_id":230384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:15:45] local.INFO: TCP Data received {"connection_id":230384,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab850d10012d7fa90005afe4280000001423..."} 
[2026-11-05 17:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab850d10012d7fa90005afe4280000001423..."} 
[2026-11-05 17:15:45] local.INFO: Processing buffer {"connection_id":230384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab850d10012d7fa90005afe4280000001423..."} 
[2026-11-05 17:15:45] local.INFO: Packet analysis {"connection_id":230384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab85"} 
[2026-11-05 17:15:45] local.INFO: Extracted packet for processing {"connection_id":230384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab85"} 
[2026-11-05 17:15:45] local.INFO: GPS Element Parsed {"raw_longitude":763341056,"raw_latitude":95413288,"longitude_deg":76.3341056,"latitude_deg":9.5413288,"altitude":0,"angle":20,"satellites":35,"speed":0,"hex_longitude":"2d7fa900","hex_latitude":"05afe428","is_valid_coordinates":true} 
[2026-11-05 17:15: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-05 17:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233019648001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198883738306750464,"note":"Value kept but may cause issues"} 
[2026-11-05 17:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793878986000,"timestamp_ms":1793878986000,"timestamp_seconds":1793878986,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab850d10"} 
[2026-11-05 17: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-05 17:15: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-05 17: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-05 17:15: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-05 17: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-05 17: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-05 17:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:15: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-05 17:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233019648001,"66":27995,"27":206,"85":12544,"24":0,"16":40292230665076736,"45":9198883738306750464},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233019648001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:15:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:15:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198883738306750464,"description":"Unknown IO ID 45"} 
[2026-11-05 17:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233019648001,"power":27995,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198883738306750464}} 
[2026-11-05 17:15:45] 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":64133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:15:45] local.INFO: GPS data processed {"connection_id":230384,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:15:45] local.INFO: Acknowledgment sent {"connection_id":230384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:16:03] local.INFO: TCP Data received {"connection_id":231719,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:16:03] local.INFO: Processing buffer {"connection_id":231719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:16:03] local.INFO: IMEI packet received {"connection_id":231719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":231719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:16:08] local.INFO: TCP Data received {"connection_id":231719,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:16:08] local.INFO: Processing buffer {"connection_id":231719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:16:08] local.INFO: IMEI packet received {"connection_id":231719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":231719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:16:10] local.INFO: TCP Data received {"connection_id":231719,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab8514e0012d7fa94005afe380000000ef23..."} 
[2026-11-05 17:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab8514e0012d7fa94005afe380000000ef23..."} 
[2026-11-05 17:16:10] local.INFO: Processing buffer {"connection_id":231719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab8514e0012d7fa94005afe380000000ef23..."} 
[2026-11-05 17:16:10] local.INFO: Packet analysis {"connection_id":231719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab85"} 
[2026-11-05 17:16:10] local.INFO: Extracted packet for processing {"connection_id":231719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab85"} 
[2026-11-05 17:16:10] local.INFO: GPS Element Parsed {"raw_longitude":763341120,"raw_latitude":95413120,"longitude_deg":76.334112,"latitude_deg":9.541312,"altitude":0,"angle":239,"satellites":35,"speed":2,"hex_longitude":"2d7fa940","hex_latitude":"05afe380","is_valid_coordinates":true} 
[2026-11-05 17:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233020416001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198883738306750464,"note":"Value kept but may cause issues"} 
[2026-11-05 17:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793878988000,"timestamp_ms":1793878988000,"timestamp_seconds":1793878988,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab8514e0"} 
[2026-11-05 17:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-05 17:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:16:10] local.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-05 17:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233020416001,"66":26832,"27":206,"85":12544,"24":2,"16":40292230665076736,"45":9198883738306750464},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233020416001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:16:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198883738306750464,"description":"Unknown IO ID 45"} 
[2026-11-05 17:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233020416001,"power":26832,"unknown_27":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9198883738306750464}} 
[2026-11-05 17:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":231719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:16:10] local.INFO: GPS data processed {"connection_id":231719,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:16:10] local.INFO: Acknowledgment sent {"connection_id":231719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:16:36] local.INFO: TCP Data received {"connection_id":229859,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229859,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:16:36] local.INFO: Processing buffer {"connection_id":229859,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:16:36] local.INFO: IMEI packet received {"connection_id":229859,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 17:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":229859,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:16:42] local.INFO: TCP Data received {"connection_id":231719,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab851cb0012d7fa8c005afe2b8000000de26..."} 
[2026-11-05 17:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab851cb0012d7fa8c005afe2b8000000de26..."} 
[2026-11-05 17:16:42] local.INFO: Processing buffer {"connection_id":231719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab851cb0012d7fa8c005afe2b8000000de26..."} 
[2026-11-05 17:16:42] local.INFO: Packet analysis {"connection_id":231719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab85"} 
[2026-11-05 17:16:42] local.INFO: Extracted packet for processing {"connection_id":231719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab85"} 
[2026-11-05 17:16:42] local.INFO: GPS Element Parsed {"raw_longitude":763340992,"raw_latitude":95412920,"longitude_deg":76.3340992,"latitude_deg":9.541292,"altitude":0,"angle":222,"satellites":38,"speed":4,"hex_longitude":"2d7fa8c0","hex_latitude":"05afe2b8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233020928001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107050885120,"note":"Value kept but may cause issues"} 
[2026-11-05 17:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793878990000,"timestamp_ms":1793878990000,"timestamp_seconds":1793878990,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab851cb0"} 
[2026-11-05 17: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-05 17:16: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-05 17: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":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-11-05 17:16:42] 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-05 17: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-05 17: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-05 17:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233020928001,"66":26593,"27":206,"85":12544,"24":4,"16":40292230665076736,"45":9198954107050885120},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233020928001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:16:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:16:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107050885120,"description":"Unknown IO ID 45"} 
[2026-11-05 17:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233020928001,"power":26593,"unknown_27":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9198954107050885120}} 
[2026-11-05 17:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":231719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:16:42] local.INFO: GPS data processed {"connection_id":231719,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:16:42] local.INFO: Acknowledgment sent {"connection_id":231719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:17:08] local.INFO: TCP Data received {"connection_id":229860,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:17:08] local.INFO: Processing buffer {"connection_id":229860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:17:08] local.INFO: IMEI packet received {"connection_id":229860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":229860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:17:13] local.INFO: TCP Data received {"connection_id":229860,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:17:13] local.INFO: Processing buffer {"connection_id":229860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:17:13] local.INFO: IMEI packet received {"connection_id":229860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":229860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:17:14] local.INFO: TCP Data received {"connection_id":229860,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab852098012d7fa88005afe1c0000000be27..."} 
[2026-11-05 17:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab852098012d7fa88005afe1c0000000be27..."} 
[2026-11-05 17:17:14] local.INFO: Processing buffer {"connection_id":229860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab852098012d7fa88005afe1c0000000be27..."} 
[2026-11-05 17:17:14] local.INFO: Packet analysis {"connection_id":229860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab85"} 
[2026-11-05 17:17:14] local.INFO: Extracted packet for processing {"connection_id":229860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab85"} 
[2026-11-05 17:17:14] local.INFO: GPS Element Parsed {"raw_longitude":763340928,"raw_latitude":95412672,"longitude_deg":76.3340928,"latitude_deg":9.5412672,"altitude":0,"angle":190,"satellites":39,"speed":0,"hex_longitude":"2d7fa880","hex_latitude":"05afe1c0","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233021440001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198813369562478592,"note":"Value kept but may cause issues"} 
[2026-11-05 17:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793878991000,"timestamp_ms":1793878991000,"timestamp_seconds":1793878991,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab852098"} 
[2026-11-05 17: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-05 17:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 17: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":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-11-05 17:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17: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-05 17: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-05 17:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233021440001,"66":26593,"27":206,"85":12544,"24":0,"16":40292230665076736,"45":9198813369562478592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233021440001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:17:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:17:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198813369562478592,"description":"Unknown IO ID 45"} 
[2026-11-05 17:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233021440001,"power":26593,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198813369562478592}} 
[2026-11-05 17:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":229860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:17:14] local.INFO: GPS data processed {"connection_id":229860,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:17:14] local.INFO: Acknowledgment sent {"connection_id":229860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:17:18] local.INFO: TCP Data received {"connection_id":229860,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab852098012d7fa88005afe1c0000000be27..."} 
[2026-11-05 17:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab852098012d7fa88005afe1c0000000be27..."} 
[2026-11-05 17:17:18] local.INFO: Processing buffer {"connection_id":229860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab852098012d7fa88005afe1c0000000be27..."} 
[2026-11-05 17:17:18] local.INFO: Packet analysis {"connection_id":229860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab85"} 
[2026-11-05 17:17:18] local.INFO: Extracted packet for processing {"connection_id":229860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab85"} 
[2026-11-05 17:17:18] local.INFO: GPS Element Parsed {"raw_longitude":763340928,"raw_latitude":95412672,"longitude_deg":76.3340928,"latitude_deg":9.5412672,"altitude":0,"angle":190,"satellites":39,"speed":0,"hex_longitude":"2d7fa880","hex_latitude":"05afe1c0","is_valid_coordinates":true} 
[2026-11-05 17:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233021440001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198813369562478592,"note":"Value kept but may cause issues"} 
[2026-11-05 17:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793878991000,"timestamp_ms":1793878991000,"timestamp_seconds":1793878991,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab852098"} 
[2026-11-05 17:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:17: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-05 17:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-11-05 17:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:17:18] local.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-05 17:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233021440001,"66":26593,"27":206,"85":12544,"24":0,"16":40292230665076736,"45":9198813369562478592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233021440001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:17:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:17:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198813369562478592,"description":"Unknown IO ID 45"} 
[2026-11-05 17:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233021440001,"power":26593,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198813369562478592}} 
[2026-11-05 17:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":229860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:17:18] local.INFO: GPS data processed {"connection_id":229860,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:17:18] local.INFO: Acknowledgment sent {"connection_id":229860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:18:03] local.INFO: TCP Data received {"connection_id":230385,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:18:03] local.INFO: Processing buffer {"connection_id":230385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:18:03] local.INFO: IMEI packet received {"connection_id":230385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":230385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:18:08] local.INFO: TCP Data received {"connection_id":230385,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:18:08] local.INFO: Processing buffer {"connection_id":230385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:18:08] local.INFO: IMEI packet received {"connection_id":230385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":230385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:18:12] local.INFO: TCP Data received {"connection_id":230385,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab852098012d7fa88005afe1c0000000be27..."} 
[2026-11-05 17:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab852098012d7fa88005afe1c0000000be27..."} 
[2026-11-05 17:18:12] local.INFO: Processing buffer {"connection_id":230385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab852098012d7fa88005afe1c0000000be27..."} 
[2026-11-05 17:18:12] local.INFO: Packet analysis {"connection_id":230385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab85"} 
[2026-11-05 17:18:12] local.INFO: Extracted packet for processing {"connection_id":230385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab85"} 
[2026-11-05 17:18:12] local.INFO: GPS Element Parsed {"raw_longitude":763340928,"raw_latitude":95412672,"longitude_deg":76.3340928,"latitude_deg":9.5412672,"altitude":0,"angle":190,"satellites":39,"speed":0,"hex_longitude":"2d7fa880","hex_latitude":"05afe1c0","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233021440001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198813369562478592,"note":"Value kept but may cause issues"} 
[2026-11-05 17:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793878991000,"timestamp_ms":1793878991000,"timestamp_seconds":1793878991,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab852098"} 
[2026-11-05 17: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-05 17:18: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-05 17: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":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-11-05 17:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17: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-05 17: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-05 17:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233021440001,"66":26593,"27":206,"85":12544,"24":0,"16":40292230665076736,"45":9198813369562478592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233021440001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:18:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:18:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198813369562478592,"description":"Unknown IO ID 45"} 
[2026-11-05 17:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233021440001,"power":26593,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198813369562478592}} 
[2026-11-05 17:18:12] 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":64138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:18:12] local.INFO: GPS data processed {"connection_id":230385,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:18:12] local.INFO: Acknowledgment sent {"connection_id":230385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:18:44] local.INFO: TCP Data received {"connection_id":230385,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab852098012d7fa88005afe1c0000000be27..."} 
[2026-11-05 17:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab852098012d7fa88005afe1c0000000be27..."} 
[2026-11-05 17:18:44] local.INFO: Processing buffer {"connection_id":230385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab852098012d7fa88005afe1c0000000be27..."} 
[2026-11-05 17:18:44] local.INFO: Packet analysis {"connection_id":230385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab85"} 
[2026-11-05 17:18:44] local.INFO: Extracted packet for processing {"connection_id":230385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab85"} 
[2026-11-05 17:18:44] local.INFO: GPS Element Parsed {"raw_longitude":763340928,"raw_latitude":95412672,"longitude_deg":76.3340928,"latitude_deg":9.5412672,"altitude":0,"angle":190,"satellites":39,"speed":0,"hex_longitude":"2d7fa880","hex_latitude":"05afe1c0","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233021440001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198813369562478592,"note":"Value kept but may cause issues"} 
[2026-11-05 17:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793878991000,"timestamp_ms":1793878991000,"timestamp_seconds":1793878991,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab852098"} 
[2026-11-05 17: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-05 17:18: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-05 17: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":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-11-05 17:18:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17: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-05 17: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-05 17:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233021440001,"66":26593,"27":206,"85":12544,"24":0,"16":40292230665076736,"45":9198813369562478592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233021440001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:18:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:18:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198813369562478592,"description":"Unknown IO ID 45"} 
[2026-11-05 17:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233021440001,"power":26593,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198813369562478592}} 
[2026-11-05 17:18:44] 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":64139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:18:44] local.INFO: GPS data processed {"connection_id":230385,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:18:44] local.INFO: Acknowledgment sent {"connection_id":230385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:19:03] local.INFO: TCP Data received {"connection_id":229861,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:19:03] local.INFO: Processing buffer {"connection_id":229861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:19:03] local.INFO: IMEI packet received {"connection_id":229861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":229861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:19:08] local.INFO: TCP Data received {"connection_id":229861,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:19:08] local.INFO: Processing buffer {"connection_id":229861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:19:08] local.INFO: IMEI packet received {"connection_id":229861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":229861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:19:12] local.INFO: TCP Data received {"connection_id":229861,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab89b860012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab89b860012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:19:12] local.INFO: Processing buffer {"connection_id":229861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab89b860012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:19:12] local.INFO: Packet analysis {"connection_id":229861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab89"} 
[2026-11-05 17:19:12] local.INFO: Extracted packet for processing {"connection_id":229861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab89"} 
[2026-11-05 17:19:12] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":41,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233021696001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818237440,"note":"Value kept but may cause issues"} 
[2026-11-05 17:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793879292000,"timestamp_ms":1793879292000,"timestamp_seconds":1793879292,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab89b860"} 
[2026-11-05 17: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-05 17:19: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-05 17: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":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-11-05 17:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17: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-05 17: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-05 17:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233021696001,"66":25756,"27":206,"85":12544,"24":0,"16":40292230665076736,"45":9198743000818237440},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233021696001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:19:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:19:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818237440,"description":"Unknown IO ID 45"} 
[2026-11-05 17:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233021696001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818237440}} 
[2026-11-05 17:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":229861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:19:12] local.INFO: GPS data processed {"connection_id":229861,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:19:12] local.INFO: Acknowledgment sent {"connection_id":229861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:19:44] local.INFO: TCP Data received {"connection_id":229861,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab89b860012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab89b860012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:19:44] local.INFO: Processing buffer {"connection_id":229861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab89b860012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:19:44] local.INFO: Packet analysis {"connection_id":229861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab89"} 
[2026-11-05 17:19:44] local.INFO: Extracted packet for processing {"connection_id":229861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab89"} 
[2026-11-05 17:19:44] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":41,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 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-05 17:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233021696001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818237440,"note":"Value kept but may cause issues"} 
[2026-11-05 17:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793879292000,"timestamp_ms":1793879292000,"timestamp_seconds":1793879292,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab89b860"} 
[2026-11-05 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-05 17:19: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-05 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":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-11-05 17:19:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 17:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233021696001,"66":25756,"27":206,"85":12544,"24":0,"16":40292230665076736,"45":9198743000818237440},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233021696001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:19:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:19:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818237440,"description":"Unknown IO ID 45"} 
[2026-11-05 17:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233021696001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818237440}} 
[2026-11-05 17:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":229861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:19:44] local.INFO: GPS data processed {"connection_id":229861,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:19:44] local.INFO: Acknowledgment sent {"connection_id":229861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:20:03] local.INFO: TCP Data received {"connection_id":231720,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:20:03] local.INFO: Processing buffer {"connection_id":231720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:20:03] local.INFO: IMEI packet received {"connection_id":231720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":231720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:20:08] local.INFO: TCP Data received {"connection_id":231720,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:20:08] local.INFO: Processing buffer {"connection_id":231720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:20:08] local.INFO: IMEI packet received {"connection_id":231720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":231720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:20:09] local.INFO: TCP Data received {"connection_id":231720,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab89b860012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab89b860012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:20:09] local.INFO: Processing buffer {"connection_id":231720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab89b860012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:20:09] local.INFO: Packet analysis {"connection_id":231720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab89"} 
[2026-11-05 17:20:09] local.INFO: Extracted packet for processing {"connection_id":231720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab89"} 
[2026-11-05 17:20:09] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":41,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233021696001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818237440,"note":"Value kept but may cause issues"} 
[2026-11-05 17:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793879292000,"timestamp_ms":1793879292000,"timestamp_seconds":1793879292,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab89b860"} 
[2026-11-05 17:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:20: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-05 17:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-11-05 17:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:20:09] 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-05 17:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233021696001,"66":25756,"27":206,"85":12544,"24":0,"16":40292230665076736,"45":9198743000818237440},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233021696001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:20:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:20:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818237440,"description":"Unknown IO ID 45"} 
[2026-11-05 17:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233021696001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818237440}} 
[2026-11-05 17:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":231720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:20:09] local.INFO: GPS data processed {"connection_id":231720,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:20:09] local.INFO: Acknowledgment sent {"connection_id":231720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:20:40] local.INFO: TCP Data received {"connection_id":231720,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab89b860012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab89b860012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:20:40] local.INFO: Processing buffer {"connection_id":231720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab89b860012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:20:40] local.INFO: Packet analysis {"connection_id":231720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab89"} 
[2026-11-05 17:20:40] local.INFO: Extracted packet for processing {"connection_id":231720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab89"} 
[2026-11-05 17:20:40] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":41,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233021696001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818237440,"note":"Value kept but may cause issues"} 
[2026-11-05 17:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793879292000,"timestamp_ms":1793879292000,"timestamp_seconds":1793879292,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab89b860"} 
[2026-11-05 17: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-05 17:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17: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":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-11-05 17:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17: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-05 17: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-05 17:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233021696001,"66":25756,"27":206,"85":12544,"24":0,"16":40292230665076736,"45":9198743000818237440},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233021696001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:20:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:20:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818237440,"description":"Unknown IO ID 45"} 
[2026-11-05 17:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233021696001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818237440}} 
[2026-11-05 17:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":231720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:20:40] local.INFO: GPS data processed {"connection_id":231720,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:20:40] local.INFO: Acknowledgment sent {"connection_id":231720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:21:03] local.INFO: TCP Data received {"connection_id":233617,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:21:03] local.INFO: Processing buffer {"connection_id":233617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:21:03] local.INFO: IMEI packet received {"connection_id":233617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":233617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:21:08] local.INFO: TCP Data received {"connection_id":233617,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:21:08] local.INFO: Processing buffer {"connection_id":233617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:21:08] local.INFO: IMEI packet received {"connection_id":233617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":233617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:21:09] local.INFO: TCP Data received {"connection_id":233617,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab89b860012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab89b860012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:21:09] local.INFO: Processing buffer {"connection_id":233617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab89b860012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:21:09] local.INFO: Packet analysis {"connection_id":233617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab89"} 
[2026-11-05 17:21:09] local.INFO: Extracted packet for processing {"connection_id":233617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab89"} 
[2026-11-05 17:21:09] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":41,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233021696001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818237440,"note":"Value kept but may cause issues"} 
[2026-11-05 17:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793879292000,"timestamp_ms":1793879292000,"timestamp_seconds":1793879292,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab89b860"} 
[2026-11-05 17:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:21: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-05 17:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-11-05 17:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:21:09] 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-05 17:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233021696001,"66":25756,"27":206,"85":12544,"24":0,"16":40292230665076736,"45":9198743000818237440},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233021696001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:21:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:21:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818237440,"description":"Unknown IO ID 45"} 
[2026-11-05 17:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233021696001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818237440}} 
[2026-11-05 17:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":233617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:21:09] local.INFO: GPS data processed {"connection_id":233617,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:21:09] local.INFO: Acknowledgment sent {"connection_id":233617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:21:40] local.INFO: TCP Data received {"connection_id":233617,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab89b860012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab89b860012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:21:40] local.INFO: Processing buffer {"connection_id":233617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab89b860012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:21:40] local.INFO: Packet analysis {"connection_id":233617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab89"} 
[2026-11-05 17:21:40] local.INFO: Extracted packet for processing {"connection_id":233617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab89"} 
[2026-11-05 17:21:40] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":41,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233021696001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818237440,"note":"Value kept but may cause issues"} 
[2026-11-05 17:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793879292000,"timestamp_ms":1793879292000,"timestamp_seconds":1793879292,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab89b860"} 
[2026-11-05 17:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-11-05 17:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233021696001,"66":25756,"27":206,"85":12544,"24":0,"16":40292230665076736,"45":9198743000818237440},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233021696001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:21:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:21:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818237440,"description":"Unknown IO ID 45"} 
[2026-11-05 17:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233021696001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818237440}} 
[2026-11-05 17:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":233617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:21:40] local.INFO: GPS data processed {"connection_id":233617,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:21:40] local.INFO: Acknowledgment sent {"connection_id":233617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:22:08] local.INFO: TCP Data received {"connection_id":231721,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:22:08] local.INFO: Processing buffer {"connection_id":231721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:22:08] local.INFO: IMEI packet received {"connection_id":231721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":231721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:22:11] local.INFO: TCP Data received {"connection_id":230386,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230386,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:22:11] local.INFO: Processing buffer {"connection_id":230386,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:22:11] local.INFO: IMEI packet received {"connection_id":230386,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 17:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":230386,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:22:13] local.INFO: TCP Data received {"connection_id":231721,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:22:13] local.INFO: Processing buffer {"connection_id":231721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:22:13] local.INFO: IMEI packet received {"connection_id":231721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":231721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:22:14] local.INFO: TCP Data received {"connection_id":231721,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab89b860012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab89b860012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:22:14] local.INFO: Processing buffer {"connection_id":231721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab89b860012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:22:14] local.INFO: Packet analysis {"connection_id":231721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab89"} 
[2026-11-05 17:22:14] local.INFO: Extracted packet for processing {"connection_id":231721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab89"} 
[2026-11-05 17:22:14] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":41,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233021696001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818237440,"note":"Value kept but may cause issues"} 
[2026-11-05 17:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793879292000,"timestamp_ms":1793879292000,"timestamp_seconds":1793879292,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab89b860"} 
[2026-11-05 17:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 17:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-11-05 17:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":231721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":231721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":231721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233021696001,"66":25756,"27":206,"85":12544,"24":0,"16":40292230665076736,"45":9198743000818237440},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233021696001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:22:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:22:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818237440,"description":"Unknown IO ID 45"} 
[2026-11-05 17:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233021696001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818237440}} 
[2026-11-05 17:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":231721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:22:14] local.INFO: GPS data processed {"connection_id":231721,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:22:14] local.INFO: Acknowledgment sent {"connection_id":231721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:22:45] local.INFO: TCP Data received {"connection_id":231721,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab89b860012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab89b860012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:22:45] local.INFO: Processing buffer {"connection_id":231721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab89b860012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:22:45] local.INFO: Packet analysis {"connection_id":231721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab89"} 
[2026-11-05 17:22:45] local.INFO: Extracted packet for processing {"connection_id":231721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab89"} 
[2026-11-05 17:22:45] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":41,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233021696001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818237440,"note":"Value kept but may cause issues"} 
[2026-11-05 17:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793879292000,"timestamp_ms":1793879292000,"timestamp_seconds":1793879292,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab89b860"} 
[2026-11-05 17: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-05 17:22: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-05 17: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":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-11-05 17:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17: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-05 17: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-05 17:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":231721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":231721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":231721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:22:45] 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-05 17:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233021696001,"66":25756,"27":206,"85":12544,"24":0,"16":40292230665076736,"45":9198743000818237440},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233021696001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:22:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:22:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818237440,"description":"Unknown IO ID 45"} 
[2026-11-05 17:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233021696001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818237440}} 
[2026-11-05 17:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":231721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:22:45] local.INFO: GPS data processed {"connection_id":231721,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:22:45] local.INFO: Acknowledgment sent {"connection_id":231721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:23:08] local.INFO: TCP Data received {"connection_id":233618,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:23:08] local.INFO: Processing buffer {"connection_id":233618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:23:08] local.INFO: IMEI packet received {"connection_id":233618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":233618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:23:13] local.INFO: TCP Data received {"connection_id":233618,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:23:13] local.INFO: Processing buffer {"connection_id":233618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:23:13] local.INFO: IMEI packet received {"connection_id":233618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":233618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:23:16] local.INFO: TCP Data received {"connection_id":233618,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab89b860012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab89b860012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:23:16] local.INFO: Processing buffer {"connection_id":233618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab89b860012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:23:16] local.INFO: Packet analysis {"connection_id":233618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab89"} 
[2026-11-05 17:23:16] local.INFO: Extracted packet for processing {"connection_id":233618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab89"} 
[2026-11-05 17:23:16] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":41,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233021696001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818237440,"note":"Value kept but may cause issues"} 
[2026-11-05 17:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793879292000,"timestamp_ms":1793879292000,"timestamp_seconds":1793879292,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab89b860"} 
[2026-11-05 17: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-05 17:23: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-05 17: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":225,"data_length":795,"current_offset":136} 
[2026-11-05 17:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17: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-05 17: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-05 17:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":233618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":233618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":233618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:23:16] 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-05 17:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233021696001,"66":25756,"27":206,"85":12544,"24":0,"16":40292230665076736,"45":9198743000818237440},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233021696001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:23:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:23:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818237440,"description":"Unknown IO ID 45"} 
[2026-11-05 17:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233021696001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818237440}} 
[2026-11-05 17:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":233618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:23:16] local.INFO: GPS data processed {"connection_id":233618,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:23:16] local.INFO: Acknowledgment sent {"connection_id":233618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:23:20] local.INFO: TCP Data received {"connection_id":233618,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab89b860012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab89b860012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:23:20] local.INFO: Processing buffer {"connection_id":233618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab89b860012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:23:20] local.INFO: Packet analysis {"connection_id":233618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab89"} 
[2026-11-05 17:23:20] local.INFO: Extracted packet for processing {"connection_id":233618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab89"} 
[2026-11-05 17:23:20] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":41,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233021696001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818237440,"note":"Value kept but may cause issues"} 
[2026-11-05 17:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793879292000,"timestamp_ms":1793879292000,"timestamp_seconds":1793879292,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab89b860"} 
[2026-11-05 17:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-11-05 17:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:23: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-05 17:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":233618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":233618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":233618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:23:20] 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-05 17:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233021696001,"66":25756,"27":206,"85":12544,"24":0,"16":40292230665076736,"45":9198743000818237440},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233021696001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:23:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:23:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818237440,"description":"Unknown IO ID 45"} 
[2026-11-05 17:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233021696001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818237440}} 
[2026-11-05 17:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":233618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:23:20] local.INFO: GPS data processed {"connection_id":233618,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:23:20] local.INFO: Acknowledgment sent {"connection_id":233618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:24:03] local.INFO: TCP Data received {"connection_id":229862,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:24:03] local.INFO: Processing buffer {"connection_id":229862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:24:03] local.INFO: IMEI packet received {"connection_id":229862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":229862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:24:08] local.INFO: TCP Data received {"connection_id":229862,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:24:08] local.INFO: Processing buffer {"connection_id":229862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:24:08] local.INFO: IMEI packet received {"connection_id":229862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":229862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:24:09] local.INFO: TCP Data received {"connection_id":229862,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab8e5028012d7f9fc005afd7d8000500be2c..."} 
[2026-11-05 17:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab8e5028012d7f9fc005afd7d8000500be2c..."} 
[2026-11-05 17:24:09] local.INFO: Processing buffer {"connection_id":229862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab8e5028012d7f9fc005afd7d8000500be2c..."} 
[2026-11-05 17:24:09] local.INFO: Packet analysis {"connection_id":229862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab8e"} 
[2026-11-05 17:24:09] local.INFO: Extracted packet for processing {"connection_id":229862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab8e"} 
[2026-11-05 17:24:09] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":44,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233098752001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094771369984,"note":"Value kept but may cause issues"} 
[2026-11-05 17:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793879593000,"timestamp_ms":1793879593000,"timestamp_seconds":1793879593,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab8e5028"} 
[2026-11-05 17:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 17:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:24:09] 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-05 17:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233098752001,"66":25582,"27":206,"85":12544,"24":0,"16":40292230665076736,"45":9196280094771369984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233098752001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:24:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:24:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094771369984,"description":"Unknown IO ID 45"} 
[2026-11-05 17:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233098752001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196280094771369984}} 
[2026-11-05 17:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":229862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:24:09] local.INFO: GPS data processed {"connection_id":229862,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:24:09] local.INFO: Acknowledgment sent {"connection_id":229862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:24:41] local.INFO: TCP Data received {"connection_id":229862,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab8e5028012d7f9fc005afd7d8000500be2c..."} 
[2026-11-05 17:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab8e5028012d7f9fc005afd7d8000500be2c..."} 
[2026-11-05 17:24:41] local.INFO: Processing buffer {"connection_id":229862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab8e5028012d7f9fc005afd7d8000500be2c..."} 
[2026-11-05 17:24:41] local.INFO: Packet analysis {"connection_id":229862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab8e"} 
[2026-11-05 17:24:41] local.INFO: Extracted packet for processing {"connection_id":229862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab8e"} 
[2026-11-05 17:24:41] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":44,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233098752001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094771369984,"note":"Value kept but may cause issues"} 
[2026-11-05 17:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793879593000,"timestamp_ms":1793879593000,"timestamp_seconds":1793879593,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab8e5028"} 
[2026-11-05 17:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:24: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-05 17:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 17:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17: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-05 17:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233098752001,"66":25582,"27":206,"85":12544,"24":0,"16":40292230665076736,"45":9196280094771369984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233098752001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:24:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:24:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094771369984,"description":"Unknown IO ID 45"} 
[2026-11-05 17:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233098752001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196280094771369984}} 
[2026-11-05 17:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":229862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:24:41] local.INFO: GPS data processed {"connection_id":229862,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:24:41] local.INFO: Acknowledgment sent {"connection_id":229862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:25:03] local.INFO: TCP Data received {"connection_id":231722,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:25:03] local.INFO: Processing buffer {"connection_id":231722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:25:03] local.INFO: IMEI packet received {"connection_id":231722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":231722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:25:08] local.INFO: TCP Data received {"connection_id":231722,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:25:08] local.INFO: Processing buffer {"connection_id":231722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:25:08] local.INFO: IMEI packet received {"connection_id":231722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":231722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:25:09] local.INFO: TCP Data received {"connection_id":231722,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab8e5028012d7f9fc005afd7d8000500be2c..."} 
[2026-11-05 17:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab8e5028012d7f9fc005afd7d8000500be2c..."} 
[2026-11-05 17:25:09] local.INFO: Processing buffer {"connection_id":231722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab8e5028012d7f9fc005afd7d8000500be2c..."} 
[2026-11-05 17:25:09] local.INFO: Packet analysis {"connection_id":231722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab8e"} 
[2026-11-05 17:25:09] local.INFO: Extracted packet for processing {"connection_id":231722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab8e"} 
[2026-11-05 17:25:09] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":44,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233098752001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094771369984,"note":"Value kept but may cause issues"} 
[2026-11-05 17:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793879593000,"timestamp_ms":1793879593000,"timestamp_seconds":1793879593,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab8e5028"} 
[2026-11-05 17:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 17:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:25:09] 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-05 17:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233098752001,"66":25582,"27":206,"85":12544,"24":0,"16":40292230665076736,"45":9196280094771369984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233098752001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:25:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:25:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094771369984,"description":"Unknown IO ID 45"} 
[2026-11-05 17:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233098752001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196280094771369984}} 
[2026-11-05 17:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":231722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:25:09] local.INFO: GPS data processed {"connection_id":231722,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:25:09] local.INFO: Acknowledgment sent {"connection_id":231722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:25:40] local.INFO: TCP Data received {"connection_id":231722,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab8e5028012d7f9fc005afd7d8000500be2c..."} 
[2026-11-05 17:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab8e5028012d7f9fc005afd7d8000500be2c..."} 
[2026-11-05 17:25:40] local.INFO: Processing buffer {"connection_id":231722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab8e5028012d7f9fc005afd7d8000500be2c..."} 
[2026-11-05 17:25:40] local.INFO: Packet analysis {"connection_id":231722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab8e"} 
[2026-11-05 17:25:40] local.INFO: Extracted packet for processing {"connection_id":231722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab8e"} 
[2026-11-05 17:25:40] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":44,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233098752001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094771369984,"note":"Value kept but may cause issues"} 
[2026-11-05 17:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793879593000,"timestamp_ms":1793879593000,"timestamp_seconds":1793879593,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab8e5028"} 
[2026-11-05 17:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 17:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:25:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233098752001,"66":25582,"27":206,"85":12544,"24":0,"16":40292230665076736,"45":9196280094771369984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233098752001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:25:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:25:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094771369984,"description":"Unknown IO ID 45"} 
[2026-11-05 17:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233098752001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196280094771369984}} 
[2026-11-05 17:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":231722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:25:40] local.INFO: GPS data processed {"connection_id":231722,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:25:40] local.INFO: Acknowledgment sent {"connection_id":231722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:26:03] local.INFO: TCP Data received {"connection_id":233619,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:26:03] local.INFO: Processing buffer {"connection_id":233619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:26:03] local.INFO: IMEI packet received {"connection_id":233619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":233619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:26:09] local.INFO: TCP Data received {"connection_id":233619,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:26:09] local.INFO: Processing buffer {"connection_id":233619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:26:09] local.INFO: IMEI packet received {"connection_id":233619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":233619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:26:10] local.INFO: TCP Data received {"connection_id":233619,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab8e5028012d7f9fc005afd7d8000500be2c..."} 
[2026-11-05 17:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab8e5028012d7f9fc005afd7d8000500be2c..."} 
[2026-11-05 17:26:10] local.INFO: Processing buffer {"connection_id":233619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab8e5028012d7f9fc005afd7d8000500be2c..."} 
[2026-11-05 17:26:10] local.INFO: Packet analysis {"connection_id":233619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab8e"} 
[2026-11-05 17:26:10] local.INFO: Extracted packet for processing {"connection_id":233619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab8e"} 
[2026-11-05 17:26:10] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":44,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233098752001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094771369984,"note":"Value kept but may cause issues"} 
[2026-11-05 17:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793879593000,"timestamp_ms":1793879593000,"timestamp_seconds":1793879593,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab8e5028"} 
[2026-11-05 17:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 17:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 17:26:10] 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-05 17:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233098752001,"66":25582,"27":206,"85":12544,"24":0,"16":40292230665076736,"45":9196280094771369984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233098752001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:26:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094771369984,"description":"Unknown IO ID 45"} 
[2026-11-05 17:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233098752001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196280094771369984}} 
[2026-11-05 17:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":233619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:26:10] local.INFO: GPS data processed {"connection_id":233619,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:26:10] local.INFO: Acknowledgment sent {"connection_id":233619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:26:45] local.INFO: TCP Data received {"connection_id":233619,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab8e5028012d7f9fc005afd7d8000500be2c..."} 
[2026-11-05 17:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab8e5028012d7f9fc005afd7d8000500be2c..."} 
[2026-11-05 17:26:45] local.INFO: Processing buffer {"connection_id":233619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab8e5028012d7f9fc005afd7d8000500be2c..."} 
[2026-11-05 17:26:45] local.INFO: Packet analysis {"connection_id":233619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab8e"} 
[2026-11-05 17:26:45] local.INFO: Extracted packet for processing {"connection_id":233619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab8e"} 
[2026-11-05 17:26:45] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":44,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233098752001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094771369984,"note":"Value kept but may cause issues"} 
[2026-11-05 17:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793879593000,"timestamp_ms":1793879593000,"timestamp_seconds":1793879593,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab8e5028"} 
[2026-11-05 17: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-05 17:26: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-05 17: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":156,"data_length":795,"current_offset":136} 
[2026-11-05 17:26: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-05 17: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-05 17: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-05 17:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":233619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":233619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":233619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233098752001,"66":25582,"27":206,"85":12544,"24":0,"16":40292230665076736,"45":9196280094771369984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233098752001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:26:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:26:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094771369984,"description":"Unknown IO ID 45"} 
[2026-11-05 17:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233098752001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196280094771369984}} 
[2026-11-05 17:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":233619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:26:45] local.INFO: GPS data processed {"connection_id":233619,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:26:45] local.INFO: Acknowledgment sent {"connection_id":233619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:27:13] local.INFO: TCP Data received {"connection_id":233620,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:27:13] local.INFO: Processing buffer {"connection_id":233620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:27:13] local.INFO: IMEI packet received {"connection_id":233620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":233620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:27:18] local.INFO: TCP Data received {"connection_id":233620,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:27:18] local.INFO: Processing buffer {"connection_id":233620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:27:18] local.INFO: IMEI packet received {"connection_id":233620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":233620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:27:19] local.INFO: TCP Data received {"connection_id":233620,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab8e5028012d7f9fc005afd7d8000500be2c..."} 
[2026-11-05 17:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab8e5028012d7f9fc005afd7d8000500be2c..."} 
[2026-11-05 17:27:19] local.INFO: Processing buffer {"connection_id":233620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab8e5028012d7f9fc005afd7d8000500be2c..."} 
[2026-11-05 17:27:19] local.INFO: Packet analysis {"connection_id":233620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab8e"} 
[2026-11-05 17:27:19] local.INFO: Extracted packet for processing {"connection_id":233620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab8e"} 
[2026-11-05 17:27:19] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":44,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233098752001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094771369984,"note":"Value kept but may cause issues"} 
[2026-11-05 17:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793879593000,"timestamp_ms":1793879593000,"timestamp_seconds":1793879593,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab8e5028"} 
[2026-11-05 17:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:27: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-05 17:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 17:27: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-05 17:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":233620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":233620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":233620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:27:19] 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-05 17:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233098752001,"66":25582,"27":206,"85":12544,"24":0,"16":40292230665076736,"45":9196280094771369984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233098752001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:27:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:27:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094771369984,"description":"Unknown IO ID 45"} 
[2026-11-05 17:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233098752001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196280094771369984}} 
[2026-11-05 17:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":233620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:27:19] local.INFO: GPS data processed {"connection_id":233620,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:27:19] local.INFO: Acknowledgment sent {"connection_id":233620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:27:23] local.INFO: TCP Data received {"connection_id":233620,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab8e5028012d7f9fc005afd7d8000500be2c..."} 
[2026-11-05 17:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab8e5028012d7f9fc005afd7d8000500be2c..."} 
[2026-11-05 17:27:23] local.INFO: Processing buffer {"connection_id":233620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab8e5028012d7f9fc005afd7d8000500be2c..."} 
[2026-11-05 17:27:23] local.INFO: Packet analysis {"connection_id":233620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab8e"} 
[2026-11-05 17:27:23] local.INFO: Extracted packet for processing {"connection_id":233620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab8e"} 
[2026-11-05 17:27:23] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":44,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233098752001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094771369984,"note":"Value kept but may cause issues"} 
[2026-11-05 17:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793879593000,"timestamp_ms":1793879593000,"timestamp_seconds":1793879593,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab8e5028"} 
[2026-11-05 17:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 17:27: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-05 17:27:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":233620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":233620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":233620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:27:23] 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-05 17:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233098752001,"66":25582,"27":206,"85":12544,"24":0,"16":40292230665076736,"45":9196280094771369984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233098752001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:27:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:27:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094771369984,"description":"Unknown IO ID 45"} 
[2026-11-05 17:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233098752001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196280094771369984}} 
[2026-11-05 17:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":233620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:27:23] local.INFO: GPS data processed {"connection_id":233620,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:27:23] local.INFO: Acknowledgment sent {"connection_id":233620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:27:51] local.INFO: TCP Data received {"connection_id":230387,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230387,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:27:51] local.INFO: Processing buffer {"connection_id":230387,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:27:51] local.INFO: IMEI packet received {"connection_id":230387,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 17:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":230387,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:28:03] local.INFO: TCP Data received {"connection_id":229863,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:28:03] local.INFO: Processing buffer {"connection_id":229863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:28:03] local.INFO: IMEI packet received {"connection_id":229863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":229863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:28:08] local.INFO: TCP Data received {"connection_id":229863,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:28:08] local.INFO: Processing buffer {"connection_id":229863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:28:08] local.INFO: IMEI packet received {"connection_id":229863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":229863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:28:09] local.INFO: TCP Data received {"connection_id":229863,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab8e5028012d7f9fc005afd7d8000500be2c..."} 
[2026-11-05 17:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab8e5028012d7f9fc005afd7d8000500be2c..."} 
[2026-11-05 17:28:09] local.INFO: Processing buffer {"connection_id":229863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab8e5028012d7f9fc005afd7d8000500be2c..."} 
[2026-11-05 17:28:09] local.INFO: Packet analysis {"connection_id":229863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab8e"} 
[2026-11-05 17:28:09] local.INFO: Extracted packet for processing {"connection_id":229863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab8e"} 
[2026-11-05 17:28:09] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":44,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233098752001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094771369984,"note":"Value kept but may cause issues"} 
[2026-11-05 17:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793879593000,"timestamp_ms":1793879593000,"timestamp_seconds":1793879593,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab8e5028"} 
[2026-11-05 17:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 17:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233098752001,"66":25582,"27":206,"85":12544,"24":0,"16":40292230665076736,"45":9196280094771369984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233098752001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:28:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:28:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094771369984,"description":"Unknown IO ID 45"} 
[2026-11-05 17:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233098752001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196280094771369984}} 
[2026-11-05 17:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":229863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:28:09] local.INFO: GPS data processed {"connection_id":229863,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:28:09] local.INFO: Acknowledgment sent {"connection_id":229863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:28:40] local.INFO: TCP Data received {"connection_id":229863,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab8e5028012d7f9fc005afd7d8000500be2c..."} 
[2026-11-05 17:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab8e5028012d7f9fc005afd7d8000500be2c..."} 
[2026-11-05 17:28:40] local.INFO: Processing buffer {"connection_id":229863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab8e5028012d7f9fc005afd7d8000500be2c..."} 
[2026-11-05 17:28:40] local.INFO: Packet analysis {"connection_id":229863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab8e"} 
[2026-11-05 17:28:40] local.INFO: Extracted packet for processing {"connection_id":229863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab8e"} 
[2026-11-05 17:28:40] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":44,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233098752001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094771369984,"note":"Value kept but may cause issues"} 
[2026-11-05 17:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793879593000,"timestamp_ms":1793879593000,"timestamp_seconds":1793879593,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab8e5028"} 
[2026-11-05 17:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 17:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233098752001,"66":25582,"27":206,"85":12544,"24":0,"16":40292230665076736,"45":9196280094771369984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 17:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233098752001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:28:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 17:28:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094771369984,"description":"Unknown IO ID 45"} 
[2026-11-05 17:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233098752001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196280094771369984}} 
[2026-11-05 17:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":229863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:28:40] local.INFO: GPS data processed {"connection_id":229863,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:28:40] local.INFO: Acknowledgment sent {"connection_id":229863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:29:03] local.INFO: TCP Data received {"connection_id":231723,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:29:03] local.INFO: Processing buffer {"connection_id":231723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:29:03] local.INFO: IMEI packet received {"connection_id":231723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":231723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:29:08] local.INFO: TCP Data received {"connection_id":231723,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:29:08] local.INFO: Processing buffer {"connection_id":231723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:29:08] local.INFO: IMEI packet received {"connection_id":231723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":231723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:29:09] local.INFO: TCP Data received {"connection_id":231723,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab92e7f0012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab92e7f0012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:29:09] local.INFO: Processing buffer {"connection_id":231723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab92e7f0012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:29:09] local.INFO: Packet analysis {"connection_id":231723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab92"} 
[2026-11-05 17:29:09] local.INFO: Extracted packet for processing {"connection_id":231723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab92"} 
[2026-11-05 17:29:09] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":41,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233175808001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094771369984,"note":"Value kept but may cause issues"} 
[2026-11-05 17:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793879894000,"timestamp_ms":1793879894000,"timestamp_seconds":1793879894,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab92e7f0"} 
[2026-11-05 17:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 17:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 17:29:09] 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-05 17:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:29:09] 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-05 17:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233175808001,"66":25473,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9196280094771369984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233175808001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:29:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:29:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094771369984,"description":"Unknown IO ID 45"} 
[2026-11-05 17:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233175808001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196280094771369984}} 
[2026-11-05 17:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":231723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:29:09] local.INFO: GPS data processed {"connection_id":231723,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:29:09] local.INFO: Acknowledgment sent {"connection_id":231723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:29:40] local.INFO: TCP Data received {"connection_id":231723,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab92e7f0012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab92e7f0012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:29:40] local.INFO: Processing buffer {"connection_id":231723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab92e7f0012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:29:40] local.INFO: Packet analysis {"connection_id":231723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab92"} 
[2026-11-05 17:29:40] local.INFO: Extracted packet for processing {"connection_id":231723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab92"} 
[2026-11-05 17:29:40] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":41,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233175808001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094771369984,"note":"Value kept but may cause issues"} 
[2026-11-05 17:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793879894000,"timestamp_ms":1793879894000,"timestamp_seconds":1793879894,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab92e7f0"} 
[2026-11-05 17: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-05 17:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 17: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 17:29:40] 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-05 17: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-05 17: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-05 17:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233175808001,"66":25473,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9196280094771369984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233175808001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:29:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094771369984,"description":"Unknown IO ID 45"} 
[2026-11-05 17:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233175808001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196280094771369984}} 
[2026-11-05 17:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":231723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:29:40] local.INFO: GPS data processed {"connection_id":231723,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:29:40] local.INFO: Acknowledgment sent {"connection_id":231723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:30:04] local.INFO: TCP Data received {"connection_id":229864,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:30:04] local.INFO: Processing buffer {"connection_id":229864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:30:04] local.INFO: IMEI packet received {"connection_id":229864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":229864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:30:08] local.INFO: TCP Data received {"connection_id":229864,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:30:08] local.INFO: Processing buffer {"connection_id":229864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:30:08] local.INFO: IMEI packet received {"connection_id":229864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":229864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:30:09] local.INFO: TCP Data received {"connection_id":229864,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab92e7f0012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab92e7f0012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:30:09] local.INFO: Processing buffer {"connection_id":229864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab92e7f0012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:30:09] local.INFO: Packet analysis {"connection_id":229864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab92"} 
[2026-11-05 17:30:09] local.INFO: Extracted packet for processing {"connection_id":229864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab92"} 
[2026-11-05 17:30:09] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":41,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233175808001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094771369984,"note":"Value kept but may cause issues"} 
[2026-11-05 17:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793879894000,"timestamp_ms":1793879894000,"timestamp_seconds":1793879894,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab92e7f0"} 
[2026-11-05 17: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-05 17:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 17: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 17:30:09] 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-05 17: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-05 17: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-05 17:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:30:09] 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-05 17:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233175808001,"66":25473,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9196280094771369984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233175808001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:30:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:30:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094771369984,"description":"Unknown IO ID 45"} 
[2026-11-05 17:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233175808001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196280094771369984}} 
[2026-11-05 17:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":229864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:30:09] local.INFO: GPS data processed {"connection_id":229864,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:30:09] local.INFO: Acknowledgment sent {"connection_id":229864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:30:40] local.INFO: TCP Data received {"connection_id":229864,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab92e7f0012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab92e7f0012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:30:40] local.INFO: Processing buffer {"connection_id":229864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab92e7f0012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:30:40] local.INFO: Packet analysis {"connection_id":229864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab92"} 
[2026-11-05 17:30:40] local.INFO: Extracted packet for processing {"connection_id":229864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab92"} 
[2026-11-05 17:30:40] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":41,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233175808001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094771369984,"note":"Value kept but may cause issues"} 
[2026-11-05 17:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793879894000,"timestamp_ms":1793879894000,"timestamp_seconds":1793879894,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab92e7f0"} 
[2026-11-05 17:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 17:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 17:30:40] 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-05 17:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233175808001,"66":25473,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9196280094771369984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233175808001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:30:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:30:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094771369984,"description":"Unknown IO ID 45"} 
[2026-11-05 17:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233175808001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196280094771369984}} 
[2026-11-05 17:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":229864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:30:40] local.INFO: GPS data processed {"connection_id":229864,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:30:40] local.INFO: Acknowledgment sent {"connection_id":229864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:31:03] local.INFO: TCP Data received {"connection_id":233622,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:31:03] local.INFO: Processing buffer {"connection_id":233622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:31:03] local.INFO: IMEI packet received {"connection_id":233622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":233622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:31:08] local.INFO: TCP Data received {"connection_id":233622,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:31:08] local.INFO: Processing buffer {"connection_id":233622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:31:08] local.INFO: IMEI packet received {"connection_id":233622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":233622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:31:09] local.INFO: TCP Data received {"connection_id":233622,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab92e7f0012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab92e7f0012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:31:09] local.INFO: Processing buffer {"connection_id":233622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab92e7f0012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:31:09] local.INFO: Packet analysis {"connection_id":233622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab92"} 
[2026-11-05 17:31:09] local.INFO: Extracted packet for processing {"connection_id":233622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab92"} 
[2026-11-05 17:31:09] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":41,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233175808001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094771369984,"note":"Value kept but may cause issues"} 
[2026-11-05 17:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793879894000,"timestamp_ms":1793879894000,"timestamp_seconds":1793879894,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab92e7f0"} 
[2026-11-05 17:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 17:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 17:31:09] 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-05 17:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233175808001,"66":25473,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9196280094771369984},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233175808001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:31:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:31:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094771369984,"description":"Unknown IO ID 45"} 
[2026-11-05 17:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233175808001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196280094771369984}} 
[2026-11-05 17:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":233622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:31:09] local.INFO: GPS data processed {"connection_id":233622,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:31:09] local.INFO: Acknowledgment sent {"connection_id":233622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:31:40] local.INFO: TCP Data received {"connection_id":233622,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab92e7f0012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab92e7f0012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:31:40] local.INFO: Processing buffer {"connection_id":233622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab92e7f0012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:31:40] local.INFO: Packet analysis {"connection_id":233622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab92"} 
[2026-11-05 17:31:40] local.INFO: Extracted packet for processing {"connection_id":233622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab92"} 
[2026-11-05 17:31:40] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":41,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233175808001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094771369984,"note":"Value kept but may cause issues"} 
[2026-11-05 17:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793879894000,"timestamp_ms":1793879894000,"timestamp_seconds":1793879894,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab92e7f0"} 
[2026-11-05 17:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 17:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 17:31:40] 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-05 17:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233175808001,"66":25473,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9196280094771369984},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233175808001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:31:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:31:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094771369984,"description":"Unknown IO ID 45"} 
[2026-11-05 17:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233175808001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196280094771369984}} 
[2026-11-05 17:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":233622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:31:40] local.INFO: GPS data processed {"connection_id":233622,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:31:40] local.INFO: Acknowledgment sent {"connection_id":233622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:32:08] local.INFO: TCP Data received {"connection_id":231724,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:32:08] local.INFO: Processing buffer {"connection_id":231724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:32:08] local.INFO: IMEI packet received {"connection_id":231724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":231724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:32:13] local.INFO: TCP Data received {"connection_id":231724,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:32:13] local.INFO: Processing buffer {"connection_id":231724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:32:13] local.INFO: IMEI packet received {"connection_id":231724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":231724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:32:14] local.INFO: TCP Data received {"connection_id":231724,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab92e7f0012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab92e7f0012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:32:14] local.INFO: Processing buffer {"connection_id":231724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab92e7f0012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:32:14] local.INFO: Packet analysis {"connection_id":231724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab92"} 
[2026-11-05 17:32:14] local.INFO: Extracted packet for processing {"connection_id":231724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab92"} 
[2026-11-05 17:32:14] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":41,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233175808001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094771369984,"note":"Value kept but may cause issues"} 
[2026-11-05 17:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793879894000,"timestamp_ms":1793879894000,"timestamp_seconds":1793879894,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab92e7f0"} 
[2026-11-05 17: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-05 17:32: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-05 17: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 17:32: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-05 17: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-05 17: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-05 17:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":231724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":231724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":231724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233175808001,"66":25473,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9196280094771369984},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233175808001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:32:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:32:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094771369984,"description":"Unknown IO ID 45"} 
[2026-11-05 17:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233175808001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196280094771369984}} 
[2026-11-05 17:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":231724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:32:14] local.INFO: GPS data processed {"connection_id":231724,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:32:14] local.INFO: Acknowledgment sent {"connection_id":231724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:32:18] local.INFO: TCP Data received {"connection_id":231724,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab92e7f0012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab92e7f0012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:32:18] local.INFO: Processing buffer {"connection_id":231724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab92e7f0012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:32:18] local.INFO: Packet analysis {"connection_id":231724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab92"} 
[2026-11-05 17:32:18] local.INFO: Extracted packet for processing {"connection_id":231724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab92"} 
[2026-11-05 17:32:18] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":41,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233175808001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094771369984,"note":"Value kept but may cause issues"} 
[2026-11-05 17:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793879894000,"timestamp_ms":1793879894000,"timestamp_seconds":1793879894,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab92e7f0"} 
[2026-11-05 17: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-05 17:32: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-05 17: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 17:32: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-05 17: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-05 17: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-05 17:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":231724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":231724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":231724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:32:18] local.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-05 17:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233175808001,"66":25473,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9196280094771369984},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233175808001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:32:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:32:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094771369984,"description":"Unknown IO ID 45"} 
[2026-11-05 17:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233175808001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196280094771369984}} 
[2026-11-05 17:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":231724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:32:18] local.INFO: GPS data processed {"connection_id":231724,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:32:18] local.INFO: Acknowledgment sent {"connection_id":231724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:33:03] local.INFO: TCP Data received {"connection_id":229865,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:33:03] local.INFO: Processing buffer {"connection_id":229865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:33:03] local.INFO: IMEI packet received {"connection_id":229865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":229865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:33:08] local.INFO: TCP Data received {"connection_id":229865,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:33:08] local.INFO: Processing buffer {"connection_id":229865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:33:08] local.INFO: IMEI packet received {"connection_id":229865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":229865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:33:09] local.INFO: TCP Data received {"connection_id":229865,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab92e7f0012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab92e7f0012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:33:09] local.INFO: Processing buffer {"connection_id":229865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab92e7f0012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:33:09] local.INFO: Packet analysis {"connection_id":229865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab92"} 
[2026-11-05 17:33:09] local.INFO: Extracted packet for processing {"connection_id":229865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab92"} 
[2026-11-05 17:33:09] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":41,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233175808001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094771369984,"note":"Value kept but may cause issues"} 
[2026-11-05 17:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793879894000,"timestamp_ms":1793879894000,"timestamp_seconds":1793879894,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab92e7f0"} 
[2026-11-05 17:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 17:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 17:33:09] 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-05 17:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233175808001,"66":25473,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9196280094771369984},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233175808001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:33:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:33:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094771369984,"description":"Unknown IO ID 45"} 
[2026-11-05 17:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233175808001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196280094771369984}} 
[2026-11-05 17:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":229865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:33:09] local.INFO: GPS data processed {"connection_id":229865,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:33:09] local.INFO: Acknowledgment sent {"connection_id":229865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:33:26] local.INFO: TCP Data received {"connection_id":233621,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:33:26] local.INFO: Processing buffer {"connection_id":233621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:33:26] local.INFO: IMEI packet received {"connection_id":233621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 17:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":233621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:33:43] local.INFO: TCP Data received {"connection_id":229865,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab92e7f0012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab92e7f0012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:33:43] local.INFO: Processing buffer {"connection_id":229865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab92e7f0012d7f9fc005afd7d8000500be29..."} 
[2026-11-05 17:33:43] local.INFO: Packet analysis {"connection_id":229865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab92"} 
[2026-11-05 17:33:43] local.INFO: Extracted packet for processing {"connection_id":229865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab92"} 
[2026-11-05 17:33:43] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":41,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 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-05 17:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233175808001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094771369984,"note":"Value kept but may cause issues"} 
[2026-11-05 17:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793879894000,"timestamp_ms":1793879894000,"timestamp_seconds":1793879894,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab92e7f0"} 
[2026-11-05 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-05 17: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-05 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 17:33: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-05 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-05 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-05 17:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:33:43] local.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-05 17:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233175808001,"66":25473,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9196280094771369984},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233175808001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:33:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:33:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094771369984,"description":"Unknown IO ID 45"} 
[2026-11-05 17:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233175808001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196280094771369984}} 
[2026-11-05 17:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":229865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:33:43] local.INFO: GPS data processed {"connection_id":229865,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:33:43] local.INFO: Acknowledgment sent {"connection_id":229865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:34:03] local.INFO: TCP Data received {"connection_id":231725,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:34:03] local.INFO: Processing buffer {"connection_id":231725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:34:03] local.INFO: IMEI packet received {"connection_id":231725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":231725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:34:08] local.INFO: TCP Data received {"connection_id":231725,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:34:08] local.INFO: Processing buffer {"connection_id":231725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:34:08] local.INFO: IMEI packet received {"connection_id":231725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":231725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:34:09] local.INFO: TCP Data received {"connection_id":231725,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab977fb8012d7f9fc005afd7d8000500be2a..."} 
[2026-11-05 17:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab977fb8012d7f9fc005afd7d8000500be2a..."} 
[2026-11-05 17:34:09] local.INFO: Processing buffer {"connection_id":231725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab977fb8012d7f9fc005afd7d8000500be2a..."} 
[2026-11-05 17:34:09] local.INFO: Packet analysis {"connection_id":231725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab97"} 
[2026-11-05 17:34:09] local.INFO: Extracted packet for processing {"connection_id":231725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab97"} 
[2026-11-05 17:34:09] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":42,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233252864001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094771369984,"note":"Value kept but may cause issues"} 
[2026-11-05 17:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793880195000,"timestamp_ms":1793880195000,"timestamp_seconds":1793880195,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab977fb8"} 
[2026-11-05 17:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 17:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 17:34:09] 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-05 17:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:34:09] 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-05 17:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233252864001,"66":25441,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9196280094771369984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233252864001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:34:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:34:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094771369984,"description":"Unknown IO ID 45"} 
[2026-11-05 17:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233252864001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196280094771369984}} 
[2026-11-05 17:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":231725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:34:09] local.INFO: GPS data processed {"connection_id":231725,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:34:09] local.INFO: Acknowledgment sent {"connection_id":231725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:34:40] local.INFO: TCP Data received {"connection_id":231725,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab977fb8012d7f9fc005afd7d8000500be2a..."} 
[2026-11-05 17:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab977fb8012d7f9fc005afd7d8000500be2a..."} 
[2026-11-05 17:34:40] local.INFO: Processing buffer {"connection_id":231725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab977fb8012d7f9fc005afd7d8000500be2a..."} 
[2026-11-05 17:34:40] local.INFO: Packet analysis {"connection_id":231725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab97"} 
[2026-11-05 17:34:40] local.INFO: Extracted packet for processing {"connection_id":231725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab97"} 
[2026-11-05 17:34:40] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":42,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233252864001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094771369984,"note":"Value kept but may cause issues"} 
[2026-11-05 17:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793880195000,"timestamp_ms":1793880195000,"timestamp_seconds":1793880195,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab977fb8"} 
[2026-11-05 17:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:34: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-05 17:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 17:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:34: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-05 17:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233252864001,"66":25441,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9196280094771369984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233252864001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:34:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:34:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094771369984,"description":"Unknown IO ID 45"} 
[2026-11-05 17:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233252864001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196280094771369984}} 
[2026-11-05 17:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":231725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:34:40] local.INFO: GPS data processed {"connection_id":231725,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:34:40] local.INFO: Acknowledgment sent {"connection_id":231725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:35:03] local.INFO: TCP Data received {"connection_id":233623,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:35:03] local.INFO: Processing buffer {"connection_id":233623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:35:03] local.INFO: IMEI packet received {"connection_id":233623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":233623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:35:08] local.INFO: TCP Data received {"connection_id":233623,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:35:08] local.INFO: Processing buffer {"connection_id":233623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:35:08] local.INFO: IMEI packet received {"connection_id":233623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":233623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:35:09] local.INFO: TCP Data received {"connection_id":233623,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab977fb8012d7f9fc005afd7d8000500be2a..."} 
[2026-11-05 17:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab977fb8012d7f9fc005afd7d8000500be2a..."} 
[2026-11-05 17:35:09] local.INFO: Processing buffer {"connection_id":233623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab977fb8012d7f9fc005afd7d8000500be2a..."} 
[2026-11-05 17:35:09] local.INFO: Packet analysis {"connection_id":233623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab97"} 
[2026-11-05 17:35:09] local.INFO: Extracted packet for processing {"connection_id":233623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab97"} 
[2026-11-05 17:35:09] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":42,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233252864001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094771369984,"note":"Value kept but may cause issues"} 
[2026-11-05 17:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793880195000,"timestamp_ms":1793880195000,"timestamp_seconds":1793880195,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab977fb8"} 
[2026-11-05 17:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 17:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 17:35:09] 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-05 17:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:35:09] 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-05 17:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233252864001,"66":25441,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9196280094771369984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233252864001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:35:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:35:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094771369984,"description":"Unknown IO ID 45"} 
[2026-11-05 17:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233252864001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196280094771369984}} 
[2026-11-05 17:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":233623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:35:09] local.INFO: GPS data processed {"connection_id":233623,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:35:09] local.INFO: Acknowledgment sent {"connection_id":233623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:35:40] local.INFO: TCP Data received {"connection_id":233623,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab977fb8012d7f9fc005afd7d8000500be2a..."} 
[2026-11-05 17:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab977fb8012d7f9fc005afd7d8000500be2a..."} 
[2026-11-05 17:35:40] local.INFO: Processing buffer {"connection_id":233623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab977fb8012d7f9fc005afd7d8000500be2a..."} 
[2026-11-05 17:35:40] local.INFO: Packet analysis {"connection_id":233623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab97"} 
[2026-11-05 17:35:40] local.INFO: Extracted packet for processing {"connection_id":233623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab97"} 
[2026-11-05 17:35:40] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":42,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233252864001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094771369984,"note":"Value kept but may cause issues"} 
[2026-11-05 17:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793880195000,"timestamp_ms":1793880195000,"timestamp_seconds":1793880195,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab977fb8"} 
[2026-11-05 17:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:35: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-05 17:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 17:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:35: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-05 17:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233252864001,"66":25441,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9196280094771369984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233252864001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:35:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:35:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094771369984,"description":"Unknown IO ID 45"} 
[2026-11-05 17:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233252864001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196280094771369984}} 
[2026-11-05 17:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":233623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:35:40] local.INFO: GPS data processed {"connection_id":233623,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:35:40] local.INFO: Acknowledgment sent {"connection_id":233623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:36:08] local.INFO: TCP Data received {"connection_id":230388,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:36:08] local.INFO: Processing buffer {"connection_id":230388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:36:08] local.INFO: IMEI packet received {"connection_id":230388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":230388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:36:13] local.INFO: TCP Data received {"connection_id":230388,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:36:13] local.INFO: Processing buffer {"connection_id":230388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:36:13] local.INFO: IMEI packet received {"connection_id":230388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":230388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:36:14] local.INFO: TCP Data received {"connection_id":230388,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab977fb8012d7f9fc005afd7d8000500be2a..."} 
[2026-11-05 17:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab977fb8012d7f9fc005afd7d8000500be2a..."} 
[2026-11-05 17:36:14] local.INFO: Processing buffer {"connection_id":230388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab977fb8012d7f9fc005afd7d8000500be2a..."} 
[2026-11-05 17:36:14] local.INFO: Packet analysis {"connection_id":230388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab97"} 
[2026-11-05 17:36:14] local.INFO: Extracted packet for processing {"connection_id":230388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab97"} 
[2026-11-05 17:36:14] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":42,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233252864001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094771369984,"note":"Value kept but may cause issues"} 
[2026-11-05 17:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793880195000,"timestamp_ms":1793880195000,"timestamp_seconds":1793880195,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab977fb8"} 
[2026-11-05 17: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-05 17:36: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-05 17: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 17:36:14] 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-05 17: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-05 17: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-05 17:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233252864001,"66":25441,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9196280094771369984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233252864001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:36:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:36:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094771369984,"description":"Unknown IO ID 45"} 
[2026-11-05 17:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233252864001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196280094771369984}} 
[2026-11-05 17:36:14] 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":64174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:36:14] local.INFO: GPS data processed {"connection_id":230388,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:36:14] local.INFO: Acknowledgment sent {"connection_id":230388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:36:18] local.INFO: TCP Data received {"connection_id":230388,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab977fb8012d7f9fc005afd7d8000500be2a..."} 
[2026-11-05 17:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab977fb8012d7f9fc005afd7d8000500be2a..."} 
[2026-11-05 17:36:18] local.INFO: Processing buffer {"connection_id":230388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab977fb8012d7f9fc005afd7d8000500be2a..."} 
[2026-11-05 17:36:18] local.INFO: Packet analysis {"connection_id":230388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab97"} 
[2026-11-05 17:36:18] local.INFO: Extracted packet for processing {"connection_id":230388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab97"} 
[2026-11-05 17:36:18] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":42,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233252864001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094771369984,"note":"Value kept but may cause issues"} 
[2026-11-05 17:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793880195000,"timestamp_ms":1793880195000,"timestamp_seconds":1793880195,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab977fb8"} 
[2026-11-05 17:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:36: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-05 17:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-05 17:36:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233252864001,"66":25441,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9196280094771369984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233252864001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:36:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:36:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094771369984,"description":"Unknown IO ID 45"} 
[2026-11-05 17:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233252864001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196280094771369984}} 
[2026-11-05 17:36:18] 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":64175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:36:18] local.INFO: GPS data processed {"connection_id":230388,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:36:18] local.INFO: Acknowledgment sent {"connection_id":230388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:37:03] local.INFO: TCP Data received {"connection_id":231727,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:37:03] local.INFO: Processing buffer {"connection_id":231727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:37:03] local.INFO: IMEI packet received {"connection_id":231727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":231727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:37:08] local.INFO: TCP Data received {"connection_id":231727,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:37:08] local.INFO: Processing buffer {"connection_id":231727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:37:08] local.INFO: IMEI packet received {"connection_id":231727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":231727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:37:09] local.INFO: TCP Data received {"connection_id":231727,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab9a3320012d7f9fc005afd7d8000500be2d..."} 
[2026-11-05 17:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab9a3320012d7f9fc005afd7d8000500be2d..."} 
[2026-11-05 17:37:09] local.INFO: Processing buffer {"connection_id":231727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab9a3320012d7f9fc005afd7d8000500be2d..."} 
[2026-11-05 17:37:09] local.INFO: Packet analysis {"connection_id":231727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab9a"} 
[2026-11-05 17:37:09] local.INFO: Extracted packet for processing {"connection_id":231727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab9a"} 
[2026-11-05 17:37:09] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410136,"longitude_deg":76.3338688,"latitude_deg":9.5410136,"altitude":5,"angle":190,"satellites":45,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-11-05 17:37: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-05 17:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233329920001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094771369984,"note":"Value kept but may cause issues"} 
[2026-11-05 17:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793880372000,"timestamp_ms":1793880372000,"timestamp_seconds":1793880372,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab9a3320"} 
[2026-11-05 17: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-05 17:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 17: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 17:37:09] 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-05 17: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-05 17: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-05 17:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:37:09] 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-05 17:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233329920001,"66":25288,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9196280094771369984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233329920001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:37:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:37:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094771369984,"description":"Unknown IO ID 45"} 
[2026-11-05 17:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233329920001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196280094771369984}} 
[2026-11-05 17:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":231727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:37:09] local.INFO: GPS data processed {"connection_id":231727,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:37:09] local.INFO: Acknowledgment sent {"connection_id":231727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:37:39] local.INFO: TCP Data received {"connection_id":231727,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab9a42c0012d7f9dc005afd678000500cd2d..."} 
[2026-11-05 17:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab9a42c0012d7f9dc005afd678000500cd2d..."} 
[2026-11-05 17:37:39] local.INFO: Processing buffer {"connection_id":231727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab9a42c0012d7f9dc005afd678000500cd2d..."} 
[2026-11-05 17:37:39] local.INFO: Packet analysis {"connection_id":231727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab9a"} 
[2026-11-05 17:37:39] local.INFO: Extracted packet for processing {"connection_id":231727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab9a"} 
[2026-11-05 17:37:39] local.INFO: GPS Element Parsed {"raw_longitude":763338176,"raw_latitude":95409784,"longitude_deg":76.3338176,"latitude_deg":9.5409784,"altitude":5,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d7f9dc0","hex_latitude":"05afd678","is_valid_coordinates":true} 
[2026-11-05 17:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233375232001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094771369984,"note":"Value kept but may cause issues"} 
[2026-11-05 17:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793880376000,"timestamp_ms":1793880376000,"timestamp_seconds":1793880376,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab9a42c0"} 
[2026-11-05 17:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 17:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-11-05 17:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":231727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":231727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":231727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:37:39] 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-05 17:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233375232001,"66":27713,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9196280094771369984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233375232001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:37:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:37:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094771369984,"description":"Unknown IO ID 45"} 
[2026-11-05 17:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233375232001,"power":27713,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196280094771369984}} 
[2026-11-05 17:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":231727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:37:39] local.INFO: GPS data processed {"connection_id":231727,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:37:39] local.INFO: Acknowledgment sent {"connection_id":231727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:38:03] local.INFO: TCP Data received {"connection_id":229866,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:38:03] local.INFO: Processing buffer {"connection_id":229866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:38:03] local.INFO: IMEI packet received {"connection_id":229866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":229866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:38:08] local.INFO: TCP Data received {"connection_id":229866,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:38:08] local.INFO: Processing buffer {"connection_id":229866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:38:08] local.INFO: IMEI packet received {"connection_id":229866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":229866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:38:09] local.INFO: TCP Data received {"connection_id":229866,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab9a94c8012d7f9dc005afd678000500cd2d..."} 
[2026-11-05 17:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab9a94c8012d7f9dc005afd678000500cd2d..."} 
[2026-11-05 17:38:09] local.INFO: Processing buffer {"connection_id":229866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab9a94c8012d7f9dc005afd678000500cd2d..."} 
[2026-11-05 17:38:09] local.INFO: Packet analysis {"connection_id":229866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab9a"} 
[2026-11-05 17:38:09] local.INFO: Extracted packet for processing {"connection_id":229866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab9a"} 
[2026-11-05 17:38:09] local.INFO: GPS Element Parsed {"raw_longitude":763338176,"raw_latitude":95409784,"longitude_deg":76.3338176,"latitude_deg":9.5409784,"altitude":5,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d7f9dc0","hex_latitude":"05afd678","is_valid_coordinates":true} 
[2026-11-05 17:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233376256001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195717144817858560,"note":"Value kept but may cause issues"} 
[2026-11-05 17:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793880397000,"timestamp_ms":1793880397000,"timestamp_seconds":1793880397,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab9a94c8"} 
[2026-11-05 17:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:38:09] 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-05 17:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-05 17:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:38:09] 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-05 17:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233376256001,"66":27800,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195717144817858560},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233376256001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:38:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:38:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195717144817858560,"description":"Unknown IO ID 45"} 
[2026-11-05 17:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233376256001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195717144817858560}} 
[2026-11-05 17:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":229866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:38:09] local.INFO: GPS data processed {"connection_id":229866,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:38:09] local.INFO: Acknowledgment sent {"connection_id":229866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:38:41] local.INFO: TCP Data received {"connection_id":229866,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab9a9c98012d7f9dc005afd678000500cd2d..."} 
[2026-11-05 17:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab9a9c98012d7f9dc005afd678000500cd2d..."} 
[2026-11-05 17:38:41] local.INFO: Processing buffer {"connection_id":229866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab9a9c98012d7f9dc005afd678000500cd2d..."} 
[2026-11-05 17:38:41] local.INFO: Packet analysis {"connection_id":229866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab9a"} 
[2026-11-05 17:38:41] local.INFO: Extracted packet for processing {"connection_id":229866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab9a"} 
[2026-11-05 17:38:41] local.INFO: GPS Element Parsed {"raw_longitude":763338176,"raw_latitude":95409784,"longitude_deg":76.3338176,"latitude_deg":9.5409784,"altitude":5,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d7f9dc0","hex_latitude":"05afd678","is_valid_coordinates":true} 
[2026-11-05 17:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233381632001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195717144817858560,"note":"Value kept but may cause issues"} 
[2026-11-05 17:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793880399000,"timestamp_ms":1793880399000,"timestamp_seconds":1793880399,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab9a9c98"} 
[2026-11-05 17: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-05 17:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17: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-05 17: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-05 17: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-05 17:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:38: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-05 17:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233381632001,"66":27865,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195717144817858560},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233381632001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:38:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:38:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195717144817858560,"description":"Unknown IO ID 45"} 
[2026-11-05 17:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233381632001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195717144817858560}} 
[2026-11-05 17:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":229866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:38:41] local.INFO: GPS data processed {"connection_id":229866,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:38:41] local.INFO: Acknowledgment sent {"connection_id":229866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:39:01] local.INFO: TCP Data received {"connection_id":231726,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231726,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:39:01] local.INFO: Processing buffer {"connection_id":231726,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:39:01] local.INFO: IMEI packet received {"connection_id":231726,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 17:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":231726,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:39:03] local.INFO: TCP Data received {"connection_id":230389,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:39:03] local.INFO: Processing buffer {"connection_id":230389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:39:03] local.INFO: IMEI packet received {"connection_id":230389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":230389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:39:08] local.INFO: TCP Data received {"connection_id":230389,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:39:08] local.INFO: Processing buffer {"connection_id":230389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:39:08] local.INFO: IMEI packet received {"connection_id":230389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":230389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:39:09] local.INFO: TCP Data received {"connection_id":230389,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab9a9c98012d7f9dc005afd678000500cd2d..."} 
[2026-11-05 17:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab9a9c98012d7f9dc005afd678000500cd2d..."} 
[2026-11-05 17:39:09] local.INFO: Processing buffer {"connection_id":230389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab9a9c98012d7f9dc005afd678000500cd2d..."} 
[2026-11-05 17:39:09] local.INFO: Packet analysis {"connection_id":230389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab9a"} 
[2026-11-05 17:39:09] local.INFO: Extracted packet for processing {"connection_id":230389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab9a"} 
[2026-11-05 17:39:09] local.INFO: GPS Element Parsed {"raw_longitude":763338176,"raw_latitude":95409784,"longitude_deg":76.3338176,"latitude_deg":9.5409784,"altitude":5,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d7f9dc0","hex_latitude":"05afd678","is_valid_coordinates":true} 
[2026-11-05 17:39: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-05 17:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233381632001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195717144817858560,"note":"Value kept but may cause issues"} 
[2026-11-05 17:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793880399000,"timestamp_ms":1793880399000,"timestamp_seconds":1793880399,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab9a9c98"} 
[2026-11-05 17:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 17:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-05 17:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:39:09] 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-05 17:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233381632001,"66":27865,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195717144817858560},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233381632001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:39:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:39:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195717144817858560,"description":"Unknown IO ID 45"} 
[2026-11-05 17:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233381632001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195717144817858560}} 
[2026-11-05 17:39:09] 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":64180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:39:09] local.INFO: GPS data processed {"connection_id":230389,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:39:09] local.INFO: Acknowledgment sent {"connection_id":230389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:39:35] local.INFO: TCP Data received {"connection_id":233624,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:39:35] local.INFO: Processing buffer {"connection_id":233624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:39:35] local.INFO: IMEI packet received {"connection_id":233624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 17:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":233624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:39:45] local.INFO: TCP Data received {"connection_id":230389,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab9a9c98012d7f9dc005afd678000500cd2d..."} 
[2026-11-05 17:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab9a9c98012d7f9dc005afd678000500cd2d..."} 
[2026-11-05 17:39:45] local.INFO: Processing buffer {"connection_id":230389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab9a9c98012d7f9dc005afd678000500cd2d..."} 
[2026-11-05 17:39:45] local.INFO: Packet analysis {"connection_id":230389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab9a"} 
[2026-11-05 17:39:45] local.INFO: Extracted packet for processing {"connection_id":230389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab9a"} 
[2026-11-05 17:39:45] local.INFO: GPS Element Parsed {"raw_longitude":763338176,"raw_latitude":95409784,"longitude_deg":76.3338176,"latitude_deg":9.5409784,"altitude":5,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d7f9dc0","hex_latitude":"05afd678","is_valid_coordinates":true} 
[2026-11-05 17:39: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-05 17:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233381632001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195717144817858560,"note":"Value kept but may cause issues"} 
[2026-11-05 17:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793880399000,"timestamp_ms":1793880399000,"timestamp_seconds":1793880399,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab9a9c98"} 
[2026-11-05 17:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:39:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 17:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-05 17:39: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-05 17:39:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233381632001,"66":27865,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195717144817858560},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233381632001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:39:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:39:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195717144817858560,"description":"Unknown IO ID 45"} 
[2026-11-05 17:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233381632001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195717144817858560}} 
[2026-11-05 17:39:45] 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":64181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:39:45] local.INFO: GPS data processed {"connection_id":230389,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:39:45] local.INFO: Acknowledgment sent {"connection_id":230389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:40:03] local.INFO: TCP Data received {"connection_id":230390,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:40:03] local.INFO: Processing buffer {"connection_id":230390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:40:03] local.INFO: IMEI packet received {"connection_id":230390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":230390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:40:08] local.INFO: TCP Data received {"connection_id":230390,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:40:08] local.INFO: Processing buffer {"connection_id":230390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:40:08] local.INFO: IMEI packet received {"connection_id":230390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":230390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:40:09] local.INFO: TCP Data received {"connection_id":230390,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab9a9c98012d7f9dc005afd678000500cd2d..."} 
[2026-11-05 17:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab9a9c98012d7f9dc005afd678000500cd2d..."} 
[2026-11-05 17:40:09] local.INFO: Processing buffer {"connection_id":230390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab9a9c98012d7f9dc005afd678000500cd2d..."} 
[2026-11-05 17:40:09] local.INFO: Packet analysis {"connection_id":230390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab9a"} 
[2026-11-05 17:40:09] local.INFO: Extracted packet for processing {"connection_id":230390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab9a"} 
[2026-11-05 17:40:09] local.INFO: GPS Element Parsed {"raw_longitude":763338176,"raw_latitude":95409784,"longitude_deg":76.3338176,"latitude_deg":9.5409784,"altitude":5,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d7f9dc0","hex_latitude":"05afd678","is_valid_coordinates":true} 
[2026-11-05 17:40: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-05 17:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233381632001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195717144817858560,"note":"Value kept but may cause issues"} 
[2026-11-05 17:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793880399000,"timestamp_ms":1793880399000,"timestamp_seconds":1793880399,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab9a9c98"} 
[2026-11-05 17:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 17:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-05 17:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:40:09] 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-05 17:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233381632001,"66":27865,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195717144817858560},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233381632001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:40:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:40:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195717144817858560,"description":"Unknown IO ID 45"} 
[2026-11-05 17:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233381632001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195717144817858560}} 
[2026-11-05 17:40:09] 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":64182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:40:09] local.INFO: GPS data processed {"connection_id":230390,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:40:09] local.INFO: Acknowledgment sent {"connection_id":230390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:40:40] local.INFO: TCP Data received {"connection_id":230390,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab9a9c98012d7f9dc005afd678000500cd2d..."} 
[2026-11-05 17:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab9a9c98012d7f9dc005afd678000500cd2d..."} 
[2026-11-05 17:40:40] local.INFO: Processing buffer {"connection_id":230390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab9a9c98012d7f9dc005afd678000500cd2d..."} 
[2026-11-05 17:40:40] local.INFO: Packet analysis {"connection_id":230390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab9a"} 
[2026-11-05 17:40:40] local.INFO: Extracted packet for processing {"connection_id":230390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab9a"} 
[2026-11-05 17:40:40] local.INFO: GPS Element Parsed {"raw_longitude":763338176,"raw_latitude":95409784,"longitude_deg":76.3338176,"latitude_deg":9.5409784,"altitude":5,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d7f9dc0","hex_latitude":"05afd678","is_valid_coordinates":true} 
[2026-11-05 17:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-05 17:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233381632001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195717144817858560,"note":"Value kept but may cause issues"} 
[2026-11-05 17:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793880399000,"timestamp_ms":1793880399000,"timestamp_seconds":1793880399,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab9a9c98"} 
[2026-11-05 17:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:40: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-05 17:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-05 17:40: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-05 17:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233381632001,"66":27865,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195717144817858560},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233381632001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:40:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:40:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195717144817858560,"description":"Unknown IO ID 45"} 
[2026-11-05 17:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233381632001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195717144817858560}} 
[2026-11-05 17:40:40] 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":64183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:40:40] local.INFO: GPS data processed {"connection_id":230390,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:40:40] local.INFO: Acknowledgment sent {"connection_id":230390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:41:08] local.INFO: TCP Data received {"connection_id":229867,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:41:08] local.INFO: Processing buffer {"connection_id":229867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:41:08] local.INFO: IMEI packet received {"connection_id":229867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":229867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:41:13] local.INFO: TCP Data received {"connection_id":229867,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:41:13] local.INFO: Processing buffer {"connection_id":229867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:41:13] local.INFO: IMEI packet received {"connection_id":229867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":229867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:41:14] local.INFO: TCP Data received {"connection_id":229867,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab9a9c98012d7f9dc005afd678000500cd2d..."} 
[2026-11-05 17:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab9a9c98012d7f9dc005afd678000500cd2d..."} 
[2026-11-05 17:41:14] local.INFO: Processing buffer {"connection_id":229867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab9a9c98012d7f9dc005afd678000500cd2d..."} 
[2026-11-05 17:41:14] local.INFO: Packet analysis {"connection_id":229867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab9a"} 
[2026-11-05 17:41:14] local.INFO: Extracted packet for processing {"connection_id":229867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab9a"} 
[2026-11-05 17:41:14] local.INFO: GPS Element Parsed {"raw_longitude":763338176,"raw_latitude":95409784,"longitude_deg":76.3338176,"latitude_deg":9.5409784,"altitude":5,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d7f9dc0","hex_latitude":"05afd678","is_valid_coordinates":true} 
[2026-11-05 17:41: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-05 17:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233381632001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195717144817858560,"note":"Value kept but may cause issues"} 
[2026-11-05 17:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793880399000,"timestamp_ms":1793880399000,"timestamp_seconds":1793880399,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab9a9c98"} 
[2026-11-05 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-05 17:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 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":152,"data_length":795,"current_offset":136} 
[2026-11-05 17:41: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-05 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-05 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-05 17:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233381632001,"66":27865,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195717144817858560},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233381632001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:41:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:41:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195717144817858560,"description":"Unknown IO ID 45"} 
[2026-11-05 17:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233381632001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195717144817858560}} 
[2026-11-05 17:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":229867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:41:14] local.INFO: GPS data processed {"connection_id":229867,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:41:14] local.INFO: Acknowledgment sent {"connection_id":229867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:41:19] local.INFO: TCP Data received {"connection_id":229867,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab9a9c98012d7f9dc005afd678000500cd2d..."} 
[2026-11-05 17:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab9a9c98012d7f9dc005afd678000500cd2d..."} 
[2026-11-05 17:41:19] local.INFO: Processing buffer {"connection_id":229867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab9a9c98012d7f9dc005afd678000500cd2d..."} 
[2026-11-05 17:41:19] local.INFO: Packet analysis {"connection_id":229867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab9a"} 
[2026-11-05 17:41:19] local.INFO: Extracted packet for processing {"connection_id":229867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab9a"} 
[2026-11-05 17:41:19] local.INFO: GPS Element Parsed {"raw_longitude":763338176,"raw_latitude":95409784,"longitude_deg":76.3338176,"latitude_deg":9.5409784,"altitude":5,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d7f9dc0","hex_latitude":"05afd678","is_valid_coordinates":true} 
[2026-11-05 17:41: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-05 17:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233381632001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195717144817858560,"note":"Value kept but may cause issues"} 
[2026-11-05 17:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793880399000,"timestamp_ms":1793880399000,"timestamp_seconds":1793880399,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab9a9c98"} 
[2026-11-05 17: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-05 17:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-05 17:41: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-05 17: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-05 17: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-05 17:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:41:19] 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-05 17:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233381632001,"66":27865,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195717144817858560},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233381632001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:41:19] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:41:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195717144817858560,"description":"Unknown IO ID 45"} 
[2026-11-05 17:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233381632001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195717144817858560}} 
[2026-11-05 17:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":229867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:41:19] local.INFO: GPS data processed {"connection_id":229867,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:41:19] local.INFO: Acknowledgment sent {"connection_id":229867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:42:03] local.INFO: TCP Data received {"connection_id":233625,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:42:03] local.INFO: Processing buffer {"connection_id":233625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:42:03] local.INFO: IMEI packet received {"connection_id":233625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":233625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:42:08] local.INFO: TCP Data received {"connection_id":233625,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:42:08] local.INFO: Processing buffer {"connection_id":233625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:42:08] local.INFO: IMEI packet received {"connection_id":233625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":233625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:42:09] local.INFO: TCP Data received {"connection_id":233625,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab9a9c98012d7f9dc005afd678000500cd2d..."} 
[2026-11-05 17:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab9a9c98012d7f9dc005afd678000500cd2d..."} 
[2026-11-05 17:42:09] local.INFO: Processing buffer {"connection_id":233625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab9a9c98012d7f9dc005afd678000500cd2d..."} 
[2026-11-05 17:42:09] local.INFO: Packet analysis {"connection_id":233625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab9a"} 
[2026-11-05 17:42:09] local.INFO: Extracted packet for processing {"connection_id":233625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab9a"} 
[2026-11-05 17:42:09] local.INFO: GPS Element Parsed {"raw_longitude":763338176,"raw_latitude":95409784,"longitude_deg":76.3338176,"latitude_deg":9.5409784,"altitude":5,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d7f9dc0","hex_latitude":"05afd678","is_valid_coordinates":true} 
[2026-11-05 17:42: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-05 17:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233381632001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195717144817858560,"note":"Value kept but may cause issues"} 
[2026-11-05 17:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793880399000,"timestamp_ms":1793880399000,"timestamp_seconds":1793880399,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab9a9c98"} 
[2026-11-05 17:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 17:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-05 17:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:42: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-05 17:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:42:09] 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-05 17:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233381632001,"66":27865,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195717144817858560},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233381632001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:42:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:42:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195717144817858560,"description":"Unknown IO ID 45"} 
[2026-11-05 17:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233381632001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195717144817858560}} 
[2026-11-05 17:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":233625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:42:09] local.INFO: GPS data processed {"connection_id":233625,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:42:09] local.INFO: Acknowledgment sent {"connection_id":233625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:42:39] local.INFO: TCP Data received {"connection_id":233625,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:42:39] local.INFO: Processing buffer {"connection_id":233625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:42:39] local.INFO: Packet analysis {"connection_id":233625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab9f"} 
[2026-11-05 17:42:39] local.INFO: Extracted packet for processing {"connection_id":233625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab9f"} 
[2026-11-05 17:42:39] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233382144001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195717144817858560,"note":"Value kept but may cause issues"} 
[2026-11-05 17:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793880701000,"timestamp_ms":1793880701000,"timestamp_seconds":1793880701,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab9f3848"} 
[2026-11-05 17:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 17:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":233625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":233625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":233625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233382144001,"66":25680,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195717144817858560},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233382144001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:42:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:42:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195717144817858560,"description":"Unknown IO ID 45"} 
[2026-11-05 17:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233382144001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195717144817858560}} 
[2026-11-05 17:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":233625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:42:39] local.INFO: GPS data processed {"connection_id":233625,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:42:39] local.INFO: Acknowledgment sent {"connection_id":233625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:43:03] local.INFO: TCP Data received {"connection_id":230391,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:43:03] local.INFO: Processing buffer {"connection_id":230391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:43:03] local.INFO: IMEI packet received {"connection_id":230391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":230391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:43:08] local.INFO: TCP Data received {"connection_id":230391,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:43:08] local.INFO: Processing buffer {"connection_id":230391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:43:08] local.INFO: IMEI packet received {"connection_id":230391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":230391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:43:09] local.INFO: TCP Data received {"connection_id":230391,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:43:09] local.INFO: Processing buffer {"connection_id":230391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:43:09] local.INFO: Packet analysis {"connection_id":230391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab9f"} 
[2026-11-05 17:43:09] local.INFO: Extracted packet for processing {"connection_id":230391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab9f"} 
[2026-11-05 17:43:09] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233382144001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195717144817858560,"note":"Value kept but may cause issues"} 
[2026-11-05 17:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793880701000,"timestamp_ms":1793880701000,"timestamp_seconds":1793880701,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab9f3848"} 
[2026-11-05 17:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:43: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-05 17:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 17:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:43:09] 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-05 17:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233382144001,"66":25680,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195717144817858560},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233382144001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:43:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:43:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195717144817858560,"description":"Unknown IO ID 45"} 
[2026-11-05 17:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233382144001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195717144817858560}} 
[2026-11-05 17:43:09] 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":64188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:43:09] local.INFO: GPS data processed {"connection_id":230391,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:43:09] local.INFO: Acknowledgment sent {"connection_id":230391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:43:40] local.INFO: TCP Data received {"connection_id":230391,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:43:40] local.INFO: Processing buffer {"connection_id":230391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:43:40] local.INFO: Packet analysis {"connection_id":230391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab9f"} 
[2026-11-05 17:43:40] local.INFO: Extracted packet for processing {"connection_id":230391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab9f"} 
[2026-11-05 17:43:40] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233382144001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195717144817858560,"note":"Value kept but may cause issues"} 
[2026-11-05 17:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793880701000,"timestamp_ms":1793880701000,"timestamp_seconds":1793880701,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab9f3848"} 
[2026-11-05 17:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 17:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233382144001,"66":25680,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195717144817858560},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233382144001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:43:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:43:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195717144817858560,"description":"Unknown IO ID 45"} 
[2026-11-05 17:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233382144001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195717144817858560}} 
[2026-11-05 17:43:40] 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":64189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:43:40] local.INFO: GPS data processed {"connection_id":230391,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:43:40] local.INFO: Acknowledgment sent {"connection_id":230391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:44:03] local.INFO: TCP Data received {"connection_id":229868,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:44:03] local.INFO: Processing buffer {"connection_id":229868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:44:03] local.INFO: IMEI packet received {"connection_id":229868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":229868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:44:08] local.INFO: TCP Data received {"connection_id":229868,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:44:08] local.INFO: Processing buffer {"connection_id":229868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:44:08] local.INFO: IMEI packet received {"connection_id":229868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":229868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:44:09] local.INFO: TCP Data received {"connection_id":229868,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:44:09] local.INFO: Processing buffer {"connection_id":229868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:44:09] local.INFO: Packet analysis {"connection_id":229868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab9f"} 
[2026-11-05 17:44:09] local.INFO: Extracted packet for processing {"connection_id":229868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab9f"} 
[2026-11-05 17:44:09] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17:44: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-05 17:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233382144001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195717144817858560,"note":"Value kept but may cause issues"} 
[2026-11-05 17:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793880701000,"timestamp_ms":1793880701000,"timestamp_seconds":1793880701,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab9f3848"} 
[2026-11-05 17:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:44: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-05 17:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 17:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:44: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-05 17:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:44:09] 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-05 17:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233382144001,"66":25680,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195717144817858560},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233382144001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:44:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:44:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195717144817858560,"description":"Unknown IO ID 45"} 
[2026-11-05 17:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233382144001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195717144817858560}} 
[2026-11-05 17:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":229868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:44:09] local.INFO: GPS data processed {"connection_id":229868,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:44:09] local.INFO: Acknowledgment sent {"connection_id":229868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:44:40] local.INFO: TCP Data received {"connection_id":233626,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233626,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:44:40] local.INFO: Processing buffer {"connection_id":233626,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:44:40] local.INFO: IMEI packet received {"connection_id":233626,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 17:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":233626,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:44:40] local.INFO: TCP Data received {"connection_id":229868,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:44:40] local.INFO: Processing buffer {"connection_id":229868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:44:40] local.INFO: Packet analysis {"connection_id":229868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab9f"} 
[2026-11-05 17:44:40] local.INFO: Extracted packet for processing {"connection_id":229868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab9f"} 
[2026-11-05 17:44:40] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233382144001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195717144817858560,"note":"Value kept but may cause issues"} 
[2026-11-05 17:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793880701000,"timestamp_ms":1793880701000,"timestamp_seconds":1793880701,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab9f3848"} 
[2026-11-05 17:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 17:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233382144001,"66":25680,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195717144817858560},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233382144001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:44:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:44:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195717144817858560,"description":"Unknown IO ID 45"} 
[2026-11-05 17:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233382144001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195717144817858560}} 
[2026-11-05 17:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":229868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:44:40] local.INFO: GPS data processed {"connection_id":229868,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:44:40] local.INFO: Acknowledgment sent {"connection_id":229868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:45:03] local.INFO: TCP Data received {"connection_id":229869,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:45:03] local.INFO: Processing buffer {"connection_id":229869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:45:03] local.INFO: IMEI packet received {"connection_id":229869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":229869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:45:08] local.INFO: TCP Data received {"connection_id":229869,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:45:08] local.INFO: Processing buffer {"connection_id":229869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:45:08] local.INFO: IMEI packet received {"connection_id":229869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":229869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:45:09] local.INFO: TCP Data received {"connection_id":229869,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:45:09] local.INFO: Processing buffer {"connection_id":229869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:45:09] local.INFO: Packet analysis {"connection_id":229869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab9f"} 
[2026-11-05 17:45:09] local.INFO: Extracted packet for processing {"connection_id":229869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab9f"} 
[2026-11-05 17:45:09] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233382144001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195717144817858560,"note":"Value kept but may cause issues"} 
[2026-11-05 17:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793880701000,"timestamp_ms":1793880701000,"timestamp_seconds":1793880701,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab9f3848"} 
[2026-11-05 17:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:45: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-05 17:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 17:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17: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-05 17:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:45:09] 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-05 17:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233382144001,"66":25680,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195717144817858560},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233382144001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:45:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:45:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195717144817858560,"description":"Unknown IO ID 45"} 
[2026-11-05 17:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233382144001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195717144817858560}} 
[2026-11-05 17:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":229869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:45:09] local.INFO: GPS data processed {"connection_id":229869,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:45:09] local.INFO: Acknowledgment sent {"connection_id":229869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:45:40] local.INFO: TCP Data received {"connection_id":229869,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:45:40] local.INFO: Processing buffer {"connection_id":229869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:45:40] local.INFO: Packet analysis {"connection_id":229869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab9f"} 
[2026-11-05 17:45:40] local.INFO: Extracted packet for processing {"connection_id":229869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab9f"} 
[2026-11-05 17:45:40] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233382144001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195717144817858560,"note":"Value kept but may cause issues"} 
[2026-11-05 17:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793880701000,"timestamp_ms":1793880701000,"timestamp_seconds":1793880701,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab9f3848"} 
[2026-11-05 17:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 17:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233382144001,"66":25680,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195717144817858560},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233382144001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:45:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:45:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195717144817858560,"description":"Unknown IO ID 45"} 
[2026-11-05 17:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233382144001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195717144817858560}} 
[2026-11-05 17:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":229869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:45:40] local.INFO: GPS data processed {"connection_id":229869,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:45:40] local.INFO: Acknowledgment sent {"connection_id":229869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:46:03] local.INFO: TCP Data received {"connection_id":229870,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:46:03] local.INFO: Processing buffer {"connection_id":229870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:46:03] local.INFO: IMEI packet received {"connection_id":229870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":229870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:46:08] local.INFO: TCP Data received {"connection_id":229870,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:46:08] local.INFO: Processing buffer {"connection_id":229870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:46:08] local.INFO: IMEI packet received {"connection_id":229870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":229870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:46:09] local.INFO: TCP Data received {"connection_id":229870,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:46:09] local.INFO: Processing buffer {"connection_id":229870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:46:09] local.INFO: Packet analysis {"connection_id":229870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab9f"} 
[2026-11-05 17:46:09] local.INFO: Extracted packet for processing {"connection_id":229870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab9f"} 
[2026-11-05 17:46:09] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233382144001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195717144817858560,"note":"Value kept but may cause issues"} 
[2026-11-05 17:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793880701000,"timestamp_ms":1793880701000,"timestamp_seconds":1793880701,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab9f3848"} 
[2026-11-05 17:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:46: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-05 17:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 17:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:46:09] 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-05 17:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233382144001,"66":25680,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195717144817858560},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233382144001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:46:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:46:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195717144817858560,"description":"Unknown IO ID 45"} 
[2026-11-05 17:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233382144001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195717144817858560}} 
[2026-11-05 17:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":229870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:46:09] local.INFO: GPS data processed {"connection_id":229870,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:46:09] local.INFO: Acknowledgment sent {"connection_id":229870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:46:40] local.INFO: TCP Data received {"connection_id":229870,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:46:40] local.INFO: Processing buffer {"connection_id":229870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:46:40] local.INFO: Packet analysis {"connection_id":229870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab9f"} 
[2026-11-05 17:46:40] local.INFO: Extracted packet for processing {"connection_id":229870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab9f"} 
[2026-11-05 17:46:40] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233382144001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195717144817858560,"note":"Value kept but may cause issues"} 
[2026-11-05 17:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793880701000,"timestamp_ms":1793880701000,"timestamp_seconds":1793880701,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab9f3848"} 
[2026-11-05 17: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-05 17:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17: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":217,"data_length":795,"current_offset":136} 
[2026-11-05 17:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17: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-05 17: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-05 17:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233382144001,"66":25680,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195717144817858560},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233382144001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:46:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:46:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195717144817858560,"description":"Unknown IO ID 45"} 
[2026-11-05 17:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233382144001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195717144817858560}} 
[2026-11-05 17:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":229870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:46:40] local.INFO: GPS data processed {"connection_id":229870,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:46:40] local.INFO: Acknowledgment sent {"connection_id":229870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:47:08] local.INFO: TCP Data received {"connection_id":230392,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:47:08] local.INFO: Processing buffer {"connection_id":230392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:47:08] local.INFO: IMEI packet received {"connection_id":230392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":230392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:47:13] local.INFO: TCP Data received {"connection_id":230392,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:47:13] local.INFO: Processing buffer {"connection_id":230392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:47:13] local.INFO: IMEI packet received {"connection_id":230392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":230392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:47:14] local.INFO: TCP Data received {"connection_id":230392,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:47:14] local.INFO: Processing buffer {"connection_id":230392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:47:14] local.INFO: Packet analysis {"connection_id":230392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab9f"} 
[2026-11-05 17:47:14] local.INFO: Extracted packet for processing {"connection_id":230392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab9f"} 
[2026-11-05 17:47:14] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233382144001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195717144817858560,"note":"Value kept but may cause issues"} 
[2026-11-05 17:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793880701000,"timestamp_ms":1793880701000,"timestamp_seconds":1793880701,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab9f3848"} 
[2026-11-05 17: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-05 17:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 17: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":217,"data_length":795,"current_offset":136} 
[2026-11-05 17:47: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-05 17: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-05 17: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-05 17:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233382144001,"66":25680,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195717144817858560},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233382144001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:47:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:47:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195717144817858560,"description":"Unknown IO ID 45"} 
[2026-11-05 17:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233382144001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195717144817858560}} 
[2026-11-05 17:47:14] 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":64196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:47:14] local.INFO: GPS data processed {"connection_id":230392,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:47:14] local.INFO: Acknowledgment sent {"connection_id":230392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:47:18] local.INFO: TCP Data received {"connection_id":230392,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:47:18] local.INFO: Processing buffer {"connection_id":230392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab9f3848012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:47:18] local.INFO: Packet analysis {"connection_id":230392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab9f"} 
[2026-11-05 17:47:18] local.INFO: Extracted packet for processing {"connection_id":230392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab9f"} 
[2026-11-05 17:47:18] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233382144001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195717144817858560,"note":"Value kept but may cause issues"} 
[2026-11-05 17:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793880701000,"timestamp_ms":1793880701000,"timestamp_seconds":1793880701,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab9f3848"} 
[2026-11-05 17:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:47: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-05 17:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-05 17:47: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-05 17:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233382144001,"66":25680,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195717144817858560},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233382144001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:47:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:47:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195717144817858560,"description":"Unknown IO ID 45"} 
[2026-11-05 17:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233382144001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195717144817858560}} 
[2026-11-05 17:47:18] 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":64197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:47:18] local.INFO: GPS data processed {"connection_id":230392,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:47:18] local.INFO: Acknowledgment sent {"connection_id":230392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:48:03] local.INFO: TCP Data received {"connection_id":231729,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:48:03] local.INFO: Processing buffer {"connection_id":231729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:48:03] local.INFO: IMEI packet received {"connection_id":231729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":231729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:48:08] local.INFO: TCP Data received {"connection_id":231729,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:48:08] local.INFO: Processing buffer {"connection_id":231729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:48:08] local.INFO: IMEI packet received {"connection_id":231729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":231729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:48:09] local.INFO: TCP Data received {"connection_id":231729,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1aba3d010012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aba3d010012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:48:09] local.INFO: Processing buffer {"connection_id":231729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aba3d010012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:48:09] local.INFO: Packet analysis {"connection_id":231729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aba3"} 
[2026-11-05 17:48:09] local.INFO: Extracted packet for processing {"connection_id":231729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aba3"} 
[2026-11-05 17:48:09] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233459456001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840914432,"note":"Value kept but may cause issues"} 
[2026-11-05 17:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793881002000,"timestamp_ms":1793881002000,"timestamp_seconds":1793881002,"priority":1,"record_length":96,"hex_timestamp":"000001a1aba3d010"} 
[2026-11-05 17:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-05 17:48:09] 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-05 17:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:48:09] 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-05 17:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233459456001,"66":25495,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195435669840914432},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233459456001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:48:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:48:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840914432,"description":"Unknown IO ID 45"} 
[2026-11-05 17:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233459456001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840914432}} 
[2026-11-05 17:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":231729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:48:09] local.INFO: GPS data processed {"connection_id":231729,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:48:09] local.INFO: Acknowledgment sent {"connection_id":231729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:48:40] local.INFO: TCP Data received {"connection_id":231729,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1aba3d010012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aba3d010012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:48:40] local.INFO: Processing buffer {"connection_id":231729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aba3d010012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:48:40] local.INFO: Packet analysis {"connection_id":231729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aba3"} 
[2026-11-05 17:48:40] local.INFO: Extracted packet for processing {"connection_id":231729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aba3"} 
[2026-11-05 17:48:40] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233459456001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840914432,"note":"Value kept but may cause issues"} 
[2026-11-05 17:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793881002000,"timestamp_ms":1793881002000,"timestamp_seconds":1793881002,"priority":1,"record_length":96,"hex_timestamp":"000001a1aba3d010"} 
[2026-11-05 17:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-05 17:48:40] 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-05 17:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:48: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-05 17:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233459456001,"66":25495,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195435669840914432},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233459456001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:48:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:48:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840914432,"description":"Unknown IO ID 45"} 
[2026-11-05 17:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233459456001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840914432}} 
[2026-11-05 17:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":231729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:48:40] local.INFO: GPS data processed {"connection_id":231729,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:48:40] local.INFO: Acknowledgment sent {"connection_id":231729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:49:03] local.INFO: TCP Data received {"connection_id":230393,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:49:03] local.INFO: Processing buffer {"connection_id":230393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:49:03] local.INFO: IMEI packet received {"connection_id":230393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":230393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:49:08] local.INFO: TCP Data received {"connection_id":230393,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:49:08] local.INFO: Processing buffer {"connection_id":230393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:49:08] local.INFO: IMEI packet received {"connection_id":230393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":230393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:49:09] local.INFO: TCP Data received {"connection_id":230393,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1aba3d010012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aba3d010012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:49:09] local.INFO: Processing buffer {"connection_id":230393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aba3d010012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:49:09] local.INFO: Packet analysis {"connection_id":230393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aba3"} 
[2026-11-05 17:49:09] local.INFO: Extracted packet for processing {"connection_id":230393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aba3"} 
[2026-11-05 17:49:09] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233459456001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840914432,"note":"Value kept but may cause issues"} 
[2026-11-05 17:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793881002000,"timestamp_ms":1793881002000,"timestamp_seconds":1793881002,"priority":1,"record_length":96,"hex_timestamp":"000001a1aba3d010"} 
[2026-11-05 17:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-05 17:49:09] 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-05 17:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:49:09] 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-05 17:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233459456001,"66":25495,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195435669840914432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233459456001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:49:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:49:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840914432,"description":"Unknown IO ID 45"} 
[2026-11-05 17:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233459456001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840914432}} 
[2026-11-05 17:49:09] 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":64200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:49:09] local.INFO: GPS data processed {"connection_id":230393,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:49:09] local.INFO: Acknowledgment sent {"connection_id":230393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:49:40] local.INFO: TCP Data received {"connection_id":230393,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1aba3d010012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aba3d010012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:49:40] local.INFO: Processing buffer {"connection_id":230393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aba3d010012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:49:40] local.INFO: Packet analysis {"connection_id":230393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aba3"} 
[2026-11-05 17:49:40] local.INFO: Extracted packet for processing {"connection_id":230393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aba3"} 
[2026-11-05 17:49:40] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233459456001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840914432,"note":"Value kept but may cause issues"} 
[2026-11-05 17:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793881002000,"timestamp_ms":1793881002000,"timestamp_seconds":1793881002,"priority":1,"record_length":96,"hex_timestamp":"000001a1aba3d010"} 
[2026-11-05 17:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-05 17:49:40] 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-05 17:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233459456001,"66":25495,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195435669840914432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233459456001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:49:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:49:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840914432,"description":"Unknown IO ID 45"} 
[2026-11-05 17:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233459456001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840914432}} 
[2026-11-05 17:49:40] 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":64201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:49:40] local.INFO: GPS data processed {"connection_id":230393,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:49:40] local.INFO: Acknowledgment sent {"connection_id":230393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:50:03] local.INFO: TCP Data received {"connection_id":229872,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:50:03] local.INFO: Processing buffer {"connection_id":229872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:50:03] local.INFO: IMEI packet received {"connection_id":229872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":229872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:50:08] local.INFO: TCP Data received {"connection_id":229872,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:50:08] local.INFO: Processing buffer {"connection_id":229872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:50:08] local.INFO: IMEI packet received {"connection_id":229872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":229872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:50:09] local.INFO: TCP Data received {"connection_id":229872,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aba3d010012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aba3d010012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:50:09] local.INFO: Processing buffer {"connection_id":229872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aba3d010012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:50:09] local.INFO: Packet analysis {"connection_id":229872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aba3"} 
[2026-11-05 17:50:09] local.INFO: Extracted packet for processing {"connection_id":229872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aba3"} 
[2026-11-05 17:50:09] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233459456001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840914432,"note":"Value kept but may cause issues"} 
[2026-11-05 17:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793881002000,"timestamp_ms":1793881002000,"timestamp_seconds":1793881002,"priority":1,"record_length":96,"hex_timestamp":"000001a1aba3d010"} 
[2026-11-05 17:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-05 17:50:09] 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-05 17:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:50:09] local.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-05 17:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233459456001,"66":25495,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195435669840914432},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233459456001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:50:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:50:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840914432,"description":"Unknown IO ID 45"} 
[2026-11-05 17:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233459456001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840914432}} 
[2026-11-05 17:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":229872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:50:09] local.INFO: GPS data processed {"connection_id":229872,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:50:09] local.INFO: Acknowledgment sent {"connection_id":229872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:50:15] local.INFO: TCP Data received {"connection_id":229871,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:50:15] local.INFO: Processing buffer {"connection_id":229871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:50:15] local.INFO: IMEI packet received {"connection_id":229871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 17:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":229871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:50:40] local.INFO: TCP Data received {"connection_id":229872,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1aba3d010012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aba3d010012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:50:40] local.INFO: Processing buffer {"connection_id":229872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aba3d010012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:50:40] local.INFO: Packet analysis {"connection_id":229872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aba3"} 
[2026-11-05 17:50:40] local.INFO: Extracted packet for processing {"connection_id":229872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aba3"} 
[2026-11-05 17:50:40] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233459456001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840914432,"note":"Value kept but may cause issues"} 
[2026-11-05 17:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793881002000,"timestamp_ms":1793881002000,"timestamp_seconds":1793881002,"priority":1,"record_length":96,"hex_timestamp":"000001a1aba3d010"} 
[2026-11-05 17:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-05 17:50:40] 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-05 17:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233459456001,"66":25495,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195435669840914432},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233459456001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:50:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:50:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840914432,"description":"Unknown IO ID 45"} 
[2026-11-05 17:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233459456001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840914432}} 
[2026-11-05 17:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":229872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:50:40] local.INFO: GPS data processed {"connection_id":229872,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:50:40] local.INFO: Acknowledgment sent {"connection_id":229872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:51:03] local.INFO: TCP Data received {"connection_id":231730,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:51:03] local.INFO: Processing buffer {"connection_id":231730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:51:03] local.INFO: IMEI packet received {"connection_id":231730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":231730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:51:08] local.INFO: TCP Data received {"connection_id":231730,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:51:08] local.INFO: Processing buffer {"connection_id":231730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:51:08] local.INFO: IMEI packet received {"connection_id":231730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":231730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:51:09] local.INFO: TCP Data received {"connection_id":231730,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1aba3d010012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aba3d010012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:51:09] local.INFO: Processing buffer {"connection_id":231730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aba3d010012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:51:09] local.INFO: Packet analysis {"connection_id":231730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aba3"} 
[2026-11-05 17:51:09] local.INFO: Extracted packet for processing {"connection_id":231730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aba3"} 
[2026-11-05 17:51:09] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17:51: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-05 17:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233459456001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840914432,"note":"Value kept but may cause issues"} 
[2026-11-05 17:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793881002000,"timestamp_ms":1793881002000,"timestamp_seconds":1793881002,"priority":1,"record_length":96,"hex_timestamp":"000001a1aba3d010"} 
[2026-11-05 17:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-05 17:51:09] 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-05 17:51: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-05 17:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:51:09] 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-05 17:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233459456001,"66":25495,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195435669840914432},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233459456001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:51:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:51:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840914432,"description":"Unknown IO ID 45"} 
[2026-11-05 17:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233459456001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840914432}} 
[2026-11-05 17:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":231730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:51:09] local.INFO: GPS data processed {"connection_id":231730,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:51:09] local.INFO: Acknowledgment sent {"connection_id":231730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:51:40] local.INFO: TCP Data received {"connection_id":231730,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1aba3d010012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aba3d010012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:51:40] local.INFO: Processing buffer {"connection_id":231730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aba3d010012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:51:40] local.INFO: Packet analysis {"connection_id":231730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aba3"} 
[2026-11-05 17:51:40] local.INFO: Extracted packet for processing {"connection_id":231730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aba3"} 
[2026-11-05 17:51:40] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233459456001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840914432,"note":"Value kept but may cause issues"} 
[2026-11-05 17:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793881002000,"timestamp_ms":1793881002000,"timestamp_seconds":1793881002,"priority":1,"record_length":96,"hex_timestamp":"000001a1aba3d010"} 
[2026-11-05 17: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-05 17:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-05 17:51:40] 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-05 17: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-05 17: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-05 17:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:51: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-05 17:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233459456001,"66":25495,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195435669840914432},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233459456001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:51:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:51:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840914432,"description":"Unknown IO ID 45"} 
[2026-11-05 17:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233459456001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840914432}} 
[2026-11-05 17:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":231730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:51:40] local.INFO: GPS data processed {"connection_id":231730,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:51:40] local.INFO: Acknowledgment sent {"connection_id":231730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:52:08] local.INFO: TCP Data received {"connection_id":229873,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:52:08] local.INFO: Processing buffer {"connection_id":229873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:52:08] local.INFO: IMEI packet received {"connection_id":229873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":229873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:52:13] local.INFO: TCP Data received {"connection_id":229873,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:52:13] local.INFO: Processing buffer {"connection_id":229873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:52:13] local.INFO: IMEI packet received {"connection_id":229873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":229873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:52:14] local.INFO: TCP Data received {"connection_id":229873,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aba3d010012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aba3d010012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:52:14] local.INFO: Processing buffer {"connection_id":229873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aba3d010012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:52:14] local.INFO: Packet analysis {"connection_id":229873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aba3"} 
[2026-11-05 17:52:14] local.INFO: Extracted packet for processing {"connection_id":229873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aba3"} 
[2026-11-05 17:52:14] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 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-05 17:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233459456001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840914432,"note":"Value kept but may cause issues"} 
[2026-11-05 17:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793881002000,"timestamp_ms":1793881002000,"timestamp_seconds":1793881002,"priority":1,"record_length":96,"hex_timestamp":"000001a1aba3d010"} 
[2026-11-05 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-05 17:52: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-05 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-05 17:52: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-05 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-05 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-05 17:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233459456001,"66":25495,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195435669840914432},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233459456001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:52:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:52:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840914432,"description":"Unknown IO ID 45"} 
[2026-11-05 17:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233459456001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840914432}} 
[2026-11-05 17:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":229873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:52:14] local.INFO: GPS data processed {"connection_id":229873,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:52:14] local.INFO: Acknowledgment sent {"connection_id":229873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:52:18] local.INFO: TCP Data received {"connection_id":229873,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1aba3d010012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aba3d010012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:52:18] local.INFO: Processing buffer {"connection_id":229873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aba3d010012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 17:52:18] local.INFO: Packet analysis {"connection_id":229873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aba3"} 
[2026-11-05 17:52:18] local.INFO: Extracted packet for processing {"connection_id":229873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aba3"} 
[2026-11-05 17:52:18] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233459456001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840914432,"note":"Value kept but may cause issues"} 
[2026-11-05 17:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793881002000,"timestamp_ms":1793881002000,"timestamp_seconds":1793881002,"priority":1,"record_length":96,"hex_timestamp":"000001a1aba3d010"} 
[2026-11-05 17: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-05 17:52: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-05 17: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-05 17:52: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-05 17: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-05 17: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-05 17:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:52:18] 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-05 17:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233459456001,"66":25495,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195435669840914432},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233459456001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:52:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:52:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840914432,"description":"Unknown IO ID 45"} 
[2026-11-05 17:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233459456001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840914432}} 
[2026-11-05 17:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":229873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:52:18] local.INFO: GPS data processed {"connection_id":229873,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:52:18] local.INFO: Acknowledgment sent {"connection_id":229873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:53:03] local.INFO: TCP Data received {"connection_id":233627,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:53:03] local.INFO: Processing buffer {"connection_id":233627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:53:03] local.INFO: IMEI packet received {"connection_id":233627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":233627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:53:08] local.INFO: TCP Data received {"connection_id":233627,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:53:08] local.INFO: Processing buffer {"connection_id":233627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:53:08] local.INFO: IMEI packet received {"connection_id":233627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":233627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:53:09] local.INFO: TCP Data received {"connection_id":233627,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aba867d8012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aba867d8012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:53:09] local.INFO: Processing buffer {"connection_id":233627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aba867d8012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:53:09] local.INFO: Packet analysis {"connection_id":233627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aba8"} 
[2026-11-05 17:53:09] local.INFO: Extracted packet for processing {"connection_id":233627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aba8"} 
[2026-11-05 17:53:09] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233536512001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840914432,"note":"Value kept but may cause issues"} 
[2026-11-05 17:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793881303000,"timestamp_ms":1793881303000,"timestamp_seconds":1793881303,"priority":1,"record_length":96,"hex_timestamp":"000001a1aba867d8"} 
[2026-11-05 17: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-05 17:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 17:53:09] 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-05 17: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-05 17: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-05 17:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:53:09] local.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-05 17:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233536512001,"66":25462,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195435669840914432},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233536512001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:53:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:53:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840914432,"description":"Unknown IO ID 45"} 
[2026-11-05 17:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233536512001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840914432}} 
[2026-11-05 17:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":233627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:53:09] local.INFO: GPS data processed {"connection_id":233627,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:53:09] local.INFO: Acknowledgment sent {"connection_id":233627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:53:40] local.INFO: TCP Data received {"connection_id":233627,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1aba867d8012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aba867d8012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:53:40] local.INFO: Processing buffer {"connection_id":233627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aba867d8012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:53:40] local.INFO: Packet analysis {"connection_id":233627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aba8"} 
[2026-11-05 17:53:40] local.INFO: Extracted packet for processing {"connection_id":233627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aba8"} 
[2026-11-05 17:53:40] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233536512001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840914432,"note":"Value kept but may cause issues"} 
[2026-11-05 17:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793881303000,"timestamp_ms":1793881303000,"timestamp_seconds":1793881303,"priority":1,"record_length":96,"hex_timestamp":"000001a1aba867d8"} 
[2026-11-05 17:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 17:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233536512001,"66":25462,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195435669840914432},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233536512001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:53:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:53:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840914432,"description":"Unknown IO ID 45"} 
[2026-11-05 17:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233536512001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840914432}} 
[2026-11-05 17:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":233627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:53:40] local.INFO: GPS data processed {"connection_id":233627,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:53:40] local.INFO: Acknowledgment sent {"connection_id":233627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:54:03] local.INFO: TCP Data received {"connection_id":233628,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:54:03] local.INFO: Processing buffer {"connection_id":233628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:54:03] local.INFO: IMEI packet received {"connection_id":233628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":233628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:54:08] local.INFO: TCP Data received {"connection_id":233628,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:54:08] local.INFO: Processing buffer {"connection_id":233628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:54:08] local.INFO: IMEI packet received {"connection_id":233628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":233628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:54:09] local.INFO: TCP Data received {"connection_id":233628,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1aba867d8012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aba867d8012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:54:09] local.INFO: Processing buffer {"connection_id":233628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aba867d8012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:54:09] local.INFO: Packet analysis {"connection_id":233628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aba8"} 
[2026-11-05 17:54:09] local.INFO: Extracted packet for processing {"connection_id":233628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aba8"} 
[2026-11-05 17:54:09] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233536512001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840914432,"note":"Value kept but may cause issues"} 
[2026-11-05 17:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793881303000,"timestamp_ms":1793881303000,"timestamp_seconds":1793881303,"priority":1,"record_length":96,"hex_timestamp":"000001a1aba867d8"} 
[2026-11-05 17:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 17:54:09] 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-05 17:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:54:09] local.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-05 17:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233536512001,"66":25462,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195435669840914432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233536512001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:54:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:54:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840914432,"description":"Unknown IO ID 45"} 
[2026-11-05 17:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233536512001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840914432}} 
[2026-11-05 17:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":233628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:54:09] local.INFO: GPS data processed {"connection_id":233628,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:54:09] local.INFO: Acknowledgment sent {"connection_id":233628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:54:40] local.INFO: TCP Data received {"connection_id":233628,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1aba867d8012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aba867d8012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:54:40] local.INFO: Processing buffer {"connection_id":233628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aba867d8012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:54:40] local.INFO: Packet analysis {"connection_id":233628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aba8"} 
[2026-11-05 17:54:40] local.INFO: Extracted packet for processing {"connection_id":233628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aba8"} 
[2026-11-05 17:54:40] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233536512001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840914432,"note":"Value kept but may cause issues"} 
[2026-11-05 17:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793881303000,"timestamp_ms":1793881303000,"timestamp_seconds":1793881303,"priority":1,"record_length":96,"hex_timestamp":"000001a1aba867d8"} 
[2026-11-05 17:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 17:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233536512001,"66":25462,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195435669840914432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233536512001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:54:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:54:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840914432,"description":"Unknown IO ID 45"} 
[2026-11-05 17:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233536512001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840914432}} 
[2026-11-05 17:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":233628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:54:40] local.INFO: GPS data processed {"connection_id":233628,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:54:40] local.INFO: Acknowledgment sent {"connection_id":233628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:55:03] local.INFO: TCP Data received {"connection_id":230394,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:55:03] local.INFO: Processing buffer {"connection_id":230394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:55:03] local.INFO: IMEI packet received {"connection_id":230394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":230394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:55:08] local.INFO: TCP Data received {"connection_id":230394,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:55:08] local.INFO: Processing buffer {"connection_id":230394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:55:08] local.INFO: IMEI packet received {"connection_id":230394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":230394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:55:09] local.INFO: TCP Data received {"connection_id":230394,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1aba867d8012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aba867d8012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:55:09] local.INFO: Processing buffer {"connection_id":230394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aba867d8012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:55:09] local.INFO: Packet analysis {"connection_id":230394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aba8"} 
[2026-11-05 17:55:09] local.INFO: Extracted packet for processing {"connection_id":230394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aba8"} 
[2026-11-05 17:55:09] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17:55: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-05 17:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233536512001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840914432,"note":"Value kept but may cause issues"} 
[2026-11-05 17:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793881303000,"timestamp_ms":1793881303000,"timestamp_seconds":1793881303,"priority":1,"record_length":96,"hex_timestamp":"000001a1aba867d8"} 
[2026-11-05 17:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17:55: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":151,"data_length":795,"current_offset":136} 
[2026-11-05 17:55:09] 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-05 17:55: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-05 17:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:55:09] local.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-05 17:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233536512001,"66":25462,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195435669840914432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233536512001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:55:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:55:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840914432,"description":"Unknown IO ID 45"} 
[2026-11-05 17:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233536512001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840914432}} 
[2026-11-05 17:55:09] 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":64212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:55:09] local.INFO: GPS data processed {"connection_id":230394,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:55:09] local.INFO: Acknowledgment sent {"connection_id":230394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:55:40] local.INFO: TCP Data received {"connection_id":230394,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1aba867d8012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aba867d8012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:55:40] local.INFO: Processing buffer {"connection_id":230394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aba867d8012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:55:40] local.INFO: Packet analysis {"connection_id":230394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aba8"} 
[2026-11-05 17:55:40] local.INFO: Extracted packet for processing {"connection_id":230394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aba8"} 
[2026-11-05 17:55:40] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233536512001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840914432,"note":"Value kept but may cause issues"} 
[2026-11-05 17:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793881303000,"timestamp_ms":1793881303000,"timestamp_seconds":1793881303,"priority":1,"record_length":96,"hex_timestamp":"000001a1aba867d8"} 
[2026-11-05 17:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 17:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:55: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-05 17:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233536512001,"66":25462,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195435669840914432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233536512001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:55:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:55:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840914432,"description":"Unknown IO ID 45"} 
[2026-11-05 17:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233536512001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840914432}} 
[2026-11-05 17:55:40] 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":64213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:55:40] local.INFO: GPS data processed {"connection_id":230394,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:55:40] local.INFO: Acknowledgment sent {"connection_id":230394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:56:03] local.INFO: TCP Data received {"connection_id":229874,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:56:03] local.INFO: Processing buffer {"connection_id":229874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:56:03] local.INFO: IMEI packet received {"connection_id":229874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":229874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:56:08] local.INFO: TCP Data received {"connection_id":229874,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:56:08] local.INFO: Processing buffer {"connection_id":229874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:56:08] local.INFO: IMEI packet received {"connection_id":229874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":229874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:56:09] local.INFO: TCP Data received {"connection_id":229874,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1aba867d8012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aba867d8012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:56:09] local.INFO: Processing buffer {"connection_id":229874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aba867d8012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:56:09] local.INFO: Packet analysis {"connection_id":229874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aba8"} 
[2026-11-05 17:56:09] local.INFO: Extracted packet for processing {"connection_id":229874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aba8"} 
[2026-11-05 17:56:09] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233536512001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840914432,"note":"Value kept but may cause issues"} 
[2026-11-05 17:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793881303000,"timestamp_ms":1793881303000,"timestamp_seconds":1793881303,"priority":1,"record_length":96,"hex_timestamp":"000001a1aba867d8"} 
[2026-11-05 17:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 17:56:09] 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-05 17:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:56:09] 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-05 17:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233536512001,"66":25462,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195435669840914432},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233536512001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:56:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:56:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840914432,"description":"Unknown IO ID 45"} 
[2026-11-05 17:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233536512001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840914432}} 
[2026-11-05 17:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":229874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:56:09] local.INFO: GPS data processed {"connection_id":229874,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:56:09] local.INFO: Acknowledgment sent {"connection_id":229874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:56:21] local.INFO: TCP Data received {"connection_id":233630,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233630,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:56:21] local.INFO: Processing buffer {"connection_id":233630,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 17:56:21] local.INFO: IMEI packet received {"connection_id":233630,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 17:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":233630,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:56:40] local.INFO: TCP Data received {"connection_id":229874,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1aba867d8012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aba867d8012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:56:40] local.INFO: Processing buffer {"connection_id":229874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aba867d8012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:56:40] local.INFO: Packet analysis {"connection_id":229874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aba8"} 
[2026-11-05 17:56:40] local.INFO: Extracted packet for processing {"connection_id":229874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aba8"} 
[2026-11-05 17:56:40] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233536512001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840914432,"note":"Value kept but may cause issues"} 
[2026-11-05 17:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793881303000,"timestamp_ms":1793881303000,"timestamp_seconds":1793881303,"priority":1,"record_length":96,"hex_timestamp":"000001a1aba867d8"} 
[2026-11-05 17:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 17:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233536512001,"66":25462,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195435669840914432},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233536512001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:56:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:56:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840914432,"description":"Unknown IO ID 45"} 
[2026-11-05 17:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233536512001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840914432}} 
[2026-11-05 17:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":229874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:56:40] local.INFO: GPS data processed {"connection_id":229874,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:56:40] local.INFO: Acknowledgment sent {"connection_id":229874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:57:08] local.INFO: TCP Data received {"connection_id":233631,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:57:08] local.INFO: Processing buffer {"connection_id":233631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:57:08] local.INFO: IMEI packet received {"connection_id":233631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":233631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:57:16] local.INFO: TCP Data received {"connection_id":233631,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:57:16] local.INFO: Processing buffer {"connection_id":233631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:57:16] local.INFO: IMEI packet received {"connection_id":233631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":233631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:57:17] local.INFO: TCP Data received {"connection_id":233631,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1aba867d8012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aba867d8012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:57:17] local.INFO: Processing buffer {"connection_id":233631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aba867d8012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:57:17] local.INFO: Packet analysis {"connection_id":233631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aba8"} 
[2026-11-05 17:57:17] local.INFO: Extracted packet for processing {"connection_id":233631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aba8"} 
[2026-11-05 17:57:17] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233536512001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840914432,"note":"Value kept but may cause issues"} 
[2026-11-05 17:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793881303000,"timestamp_ms":1793881303000,"timestamp_seconds":1793881303,"priority":1,"record_length":96,"hex_timestamp":"000001a1aba867d8"} 
[2026-11-05 17: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-05 17:57: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-05 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 17:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17: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-05 17: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-05 17:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":233631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":233631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":233631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:57: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-05 17:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233536512001,"66":25462,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195435669840914432},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233536512001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:57:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:57:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840914432,"description":"Unknown IO ID 45"} 
[2026-11-05 17:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233536512001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840914432}} 
[2026-11-05 17:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":233631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:57:17] local.INFO: GPS data processed {"connection_id":233631,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:57:17] local.INFO: Acknowledgment sent {"connection_id":233631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:57:31] local.INFO: TCP Data received {"connection_id":233631,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1aba867d8012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aba867d8012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:57:31] local.INFO: Processing buffer {"connection_id":233631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aba867d8012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:57:31] local.INFO: Packet analysis {"connection_id":233631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aba8"} 
[2026-11-05 17:57:31] local.INFO: Extracted packet for processing {"connection_id":233631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aba8"} 
[2026-11-05 17:57:31] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233536512001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840914432,"note":"Value kept but may cause issues"} 
[2026-11-05 17:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793881303000,"timestamp_ms":1793881303000,"timestamp_seconds":1793881303,"priority":1,"record_length":96,"hex_timestamp":"000001a1aba867d8"} 
[2026-11-05 17:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 17:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 17:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":233631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":233631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":233631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233536512001,"66":25462,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195435669840914432},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233536512001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:57:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:57:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840914432,"description":"Unknown IO ID 45"} 
[2026-11-05 17:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233536512001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840914432}} 
[2026-11-05 17:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":233631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:57:31] local.INFO: GPS data processed {"connection_id":233631,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:57:31] local.INFO: Acknowledgment sent {"connection_id":233631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:58:03] local.INFO: TCP Data received {"connection_id":230395,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:58:03] local.INFO: Processing buffer {"connection_id":230395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:58:03] local.INFO: IMEI packet received {"connection_id":230395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":230395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:58:08] local.INFO: TCP Data received {"connection_id":230395,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:58:08] local.INFO: Processing buffer {"connection_id":230395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:58:08] local.INFO: IMEI packet received {"connection_id":230395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":230395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:58:09] local.INFO: TCP Data received {"connection_id":230395,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1abacffa0012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abacffa0012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:58:09] local.INFO: Processing buffer {"connection_id":230395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abacffa0012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:58:09] local.INFO: Packet analysis {"connection_id":230395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abac"} 
[2026-11-05 17:58:09] local.INFO: Extracted packet for processing {"connection_id":230395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abac"} 
[2026-11-05 17:58:09] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233613568001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840914432,"note":"Value kept but may cause issues"} 
[2026-11-05 17:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793881604000,"timestamp_ms":1793881604000,"timestamp_seconds":1793881604,"priority":1,"record_length":96,"hex_timestamp":"000001a1abacffa0"} 
[2026-11-05 17:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 17:58:09] 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-05 17:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:58:09] 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-05 17:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233613568001,"66":25441,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195435669840914432},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233613568001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:58:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:58:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840914432,"description":"Unknown IO ID 45"} 
[2026-11-05 17:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233613568001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840914432}} 
[2026-11-05 17:58:09] 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":64218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:58:09] local.INFO: GPS data processed {"connection_id":230395,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:58:09] local.INFO: Acknowledgment sent {"connection_id":230395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:58:40] local.INFO: TCP Data received {"connection_id":230395,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1abacffa0012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abacffa0012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:58:40] local.INFO: Processing buffer {"connection_id":230395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abacffa0012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:58:40] local.INFO: Packet analysis {"connection_id":230395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abac"} 
[2026-11-05 17:58:40] local.INFO: Extracted packet for processing {"connection_id":230395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abac"} 
[2026-11-05 17:58:40] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 17:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233613568001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840914432,"note":"Value kept but may cause issues"} 
[2026-11-05 17:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793881604000,"timestamp_ms":1793881604000,"timestamp_seconds":1793881604,"priority":1,"record_length":96,"hex_timestamp":"000001a1abacffa0"} 
[2026-11-05 17:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 17:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 17:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 17:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 17:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 17:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 17:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233613568001,"66":25441,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195435669840914432},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233613568001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:58:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:58:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840914432,"description":"Unknown IO ID 45"} 
[2026-11-05 17:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233613568001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840914432}} 
[2026-11-05 17:58:40] 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":64219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:58:40] local.INFO: GPS data processed {"connection_id":230395,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:58:40] local.INFO: Acknowledgment sent {"connection_id":230395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:59:03] local.INFO: TCP Data received {"connection_id":229875,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:59:03] local.INFO: Processing buffer {"connection_id":229875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:59:03] local.INFO: IMEI packet received {"connection_id":229875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 17:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":229875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 17:59:08] local.INFO: TCP Data received {"connection_id":229875,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:59:08] local.INFO: Processing buffer {"connection_id":229875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 17:59:08] local.INFO: IMEI packet received {"connection_id":229875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 17:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":229875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 17:59:09] local.INFO: TCP Data received {"connection_id":229875,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1abacffa0012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abacffa0012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:59:09] local.INFO: Processing buffer {"connection_id":229875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abacffa0012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:59:09] local.INFO: Packet analysis {"connection_id":229875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abac"} 
[2026-11-05 17:59:09] local.INFO: Extracted packet for processing {"connection_id":229875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abac"} 
[2026-11-05 17:59:09] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233613568001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840914432,"note":"Value kept but may cause issues"} 
[2026-11-05 17:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793881604000,"timestamp_ms":1793881604000,"timestamp_seconds":1793881604,"priority":1,"record_length":96,"hex_timestamp":"000001a1abacffa0"} 
[2026-11-05 17: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-05 17:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 17: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":118,"data_length":795,"current_offset":136} 
[2026-11-05 17:59:09] 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-05 17: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-05 17: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-05 17:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:59:09] 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-05 17:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233613568001,"66":25441,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195435669840914432},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233613568001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:59:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:59:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840914432,"description":"Unknown IO ID 45"} 
[2026-11-05 17:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233613568001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840914432}} 
[2026-11-05 17:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":229875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:59:09] local.INFO: GPS data processed {"connection_id":229875,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:59:09] local.INFO: Acknowledgment sent {"connection_id":229875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 17:59:43] local.INFO: TCP Data received {"connection_id":229875,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1abacffa0012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abacffa0012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:59:43] local.INFO: Processing buffer {"connection_id":229875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abacffa0012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 17:59:43] local.INFO: Packet analysis {"connection_id":229875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abac"} 
[2026-11-05 17:59:43] local.INFO: Extracted packet for processing {"connection_id":229875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abac"} 
[2026-11-05 17:59:43] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 17: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-05 17:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233613568001,"note":"Value kept but may cause issues"} 
[2026-11-05 17:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 17:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840914432,"note":"Value kept but may cause issues"} 
[2026-11-05 17:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 17:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793881604000,"timestamp_ms":1793881604000,"timestamp_seconds":1793881604,"priority":1,"record_length":96,"hex_timestamp":"000001a1abacffa0"} 
[2026-11-05 17: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-05 17:59: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-05 17: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 17:59: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-05 17: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-05 17: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-05 17:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 17:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 17:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 17:59:43] 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-05 17:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 17:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 17:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233613568001,"66":25441,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195435669840914432},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 17:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 17:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 17:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233613568001,"description":"Unknown IO ID 0"} 
[2026-11-05 17:59:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 17:59:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 17:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 17:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840914432,"description":"Unknown IO ID 45"} 
[2026-11-05 17:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233613568001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840914432}} 
[2026-11-05 17:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":229875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 17:59:43] local.INFO: GPS data processed {"connection_id":229875,"processed":1,"errors":0,"total":1} 
[2026-11-05 17:59:43] local.INFO: Acknowledgment sent {"connection_id":229875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:00:03] local.INFO: TCP Data received {"connection_id":230396,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:00:03] local.INFO: Processing buffer {"connection_id":230396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:00:03] local.INFO: IMEI packet received {"connection_id":230396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":230396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:00:08] local.INFO: TCP Data received {"connection_id":230396,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:00:08] local.INFO: Processing buffer {"connection_id":230396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:00:08] local.INFO: IMEI packet received {"connection_id":230396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":230396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:00:09] local.INFO: TCP Data received {"connection_id":230396,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1abacffa0012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 18:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abacffa0012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 18:00:09] local.INFO: Processing buffer {"connection_id":230396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abacffa0012d7f9cc005afd2e8000700cd2d..."} 
[2026-11-05 18:00:09] local.INFO: Packet analysis {"connection_id":230396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abac"} 
[2026-11-05 18:00:09] local.INFO: Extracted packet for processing {"connection_id":230396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abac"} 
[2026-11-05 18:00:09] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 18:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233613568001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 18:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840914432,"note":"Value kept but may cause issues"} 
[2026-11-05 18:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793881604000,"timestamp_ms":1793881604000,"timestamp_seconds":1793881604,"priority":1,"record_length":96,"hex_timestamp":"000001a1abacffa0"} 
[2026-11-05 18:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 18:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 18:00:09] 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-05 18:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:00:09] local.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-05 18:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233613568001,"66":25441,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195435669840914432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233613568001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:00:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:00:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840914432,"description":"Unknown IO ID 45"} 
[2026-11-05 18:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233613568001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840914432}} 
[2026-11-05 18:00:09] 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":64222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:00:09] local.INFO: GPS data processed {"connection_id":230396,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:00:09] local.INFO: Acknowledgment sent {"connection_id":230396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:00:39] local.INFO: TCP Data received {"connection_id":230396,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1abaf93c8012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 18:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abaf93c8012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 18:00:39] local.INFO: Processing buffer {"connection_id":230396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abaf93c8012d7f9cc005afd2e8000700cd2c..."} 
[2026-11-05 18:00:39] local.INFO: Packet analysis {"connection_id":230396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abaf"} 
[2026-11-05 18:00:39] local.INFO: Extracted packet for processing {"connection_id":230396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abaf"} 
[2026-11-05 18:00:39] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408872,"longitude_deg":76.333792,"latitude_deg":9.5408872,"altitude":7,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd2e8","is_valid_coordinates":true} 
[2026-11-05 18:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233690624001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 18:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840914432,"note":"Value kept but may cause issues"} 
[2026-11-05 18:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793881773000,"timestamp_ms":1793881773000,"timestamp_seconds":1793881773,"priority":1,"record_length":96,"hex_timestamp":"000001a1abaf93c8"} 
[2026-11-05 18:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 18:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 18:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:00:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":230396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":230396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":230396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233690624001,"66":25343,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195435669840914432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233690624001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:00:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:00:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840914432,"description":"Unknown IO ID 45"} 
[2026-11-05 18:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233690624001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840914432}} 
[2026-11-05 18:00:39] 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":64223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:00:39] local.INFO: GPS data processed {"connection_id":230396,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:00:39] local.INFO: Acknowledgment sent {"connection_id":230396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:01:10] local.INFO: TCP Data received {"connection_id":229877,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:01:10] local.INFO: Processing buffer {"connection_id":229877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:01:10] local.INFO: IMEI packet received {"connection_id":229877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":229877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:01:13] local.INFO: TCP Data received {"connection_id":229877,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:01:13] local.INFO: Processing buffer {"connection_id":229877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:01:13] local.INFO: IMEI packet received {"connection_id":229877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":229877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:01:13] local.INFO: TCP Data received {"connection_id":229877,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1abaf9f80012d7f9cc005afd100000700bf2d..."} 
[2026-11-05 18:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abaf9f80012d7f9cc005afd100000700bf2d..."} 
[2026-11-05 18:01:13] local.INFO: Processing buffer {"connection_id":229877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abaf9f80012d7f9cc005afd100000700bf2d..."} 
[2026-11-05 18:01:13] local.INFO: Packet analysis {"connection_id":229877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abaf"} 
[2026-11-05 18:01:13] local.INFO: Extracted packet for processing {"connection_id":229877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abaf"} 
[2026-11-05 18:01:13] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408384,"longitude_deg":76.333792,"latitude_deg":9.5408384,"altitude":7,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd100","is_valid_coordinates":true} 
[2026-11-05 18:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233733888001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 18:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840914432,"note":"Value kept but may cause issues"} 
[2026-11-05 18:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793881776000,"timestamp_ms":1793881776000,"timestamp_seconds":1793881776,"priority":1,"record_length":96,"hex_timestamp":"000001a1abaf9f80"} 
[2026-11-05 18:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:01:13] 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-05 18:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-05 18:01: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-05 18:01:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233733888001,"66":25212,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195435669840914432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233733888001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:01:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:01:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840914432,"description":"Unknown IO ID 45"} 
[2026-11-05 18:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233733888001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840914432}} 
[2026-11-05 18:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":229877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:01:13] local.INFO: GPS data processed {"connection_id":229877,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:01:13] local.INFO: Acknowledgment sent {"connection_id":229877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:01:17] local.INFO: TCP Data received {"connection_id":229877,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1abaff188012d7f9cc005afd100000700bf2c..."} 
[2026-11-05 18:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abaff188012d7f9cc005afd100000700bf2c..."} 
[2026-11-05 18:01:17] local.INFO: Processing buffer {"connection_id":229877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abaff188012d7f9cc005afd100000700bf2c..."} 
[2026-11-05 18:01:17] local.INFO: Packet analysis {"connection_id":229877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abaf"} 
[2026-11-05 18:01:17] local.INFO: Extracted packet for processing {"connection_id":229877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abaf"} 
[2026-11-05 18:01:17] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408384,"longitude_deg":76.333792,"latitude_deg":9.5408384,"altitude":7,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd100","is_valid_coordinates":true} 
[2026-11-05 18: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-05 18:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233734656001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 18:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840789504,"note":"Value kept but may cause issues"} 
[2026-11-05 18:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793881797000,"timestamp_ms":1793881797000,"timestamp_seconds":1793881797,"priority":1,"record_length":96,"hex_timestamp":"000001a1abaff188"} 
[2026-11-05 18: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-05 18:01: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-05 18: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-05 18:01:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18: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-05 18: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-05 18:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233734656001,"66":25125,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195435669840789504},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233734656001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:01:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:01:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840789504,"description":"Unknown IO ID 45"} 
[2026-11-05 18:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233734656001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840789504}} 
[2026-11-05 18:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":229877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:01:17] local.INFO: GPS data processed {"connection_id":229877,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:01:17] local.INFO: Acknowledgment sent {"connection_id":229877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:01:40] local.INFO: TCP Data received {"connection_id":233632,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233632,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:01:40] local.INFO: Processing buffer {"connection_id":233632,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:01:40] local.INFO: IMEI packet received {"connection_id":233632,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 18:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":233632,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:01:48] local.INFO: TCP Data received {"connection_id":229877,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1abb04390012d7f9cc005afd100000700bf2c..."} 
[2026-11-05 18:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abb04390012d7f9cc005afd100000700bf2c..."} 
[2026-11-05 18:01:48] local.INFO: Processing buffer {"connection_id":229877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abb04390012d7f9cc005afd100000700bf2c..."} 
[2026-11-05 18:01:48] local.INFO: Packet analysis {"connection_id":229877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abb0"} 
[2026-11-05 18:01:48] local.INFO: Extracted packet for processing {"connection_id":229877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abb0"} 
[2026-11-05 18:01:48] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408384,"longitude_deg":76.333792,"latitude_deg":9.5408384,"altitude":7,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd100","is_valid_coordinates":true} 
[2026-11-05 18: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-05 18:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233740032001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 18:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840789504,"note":"Value kept but may cause issues"} 
[2026-11-05 18:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793881818000,"timestamp_ms":1793881818000,"timestamp_seconds":1793881818,"priority":1,"record_length":96,"hex_timestamp":"000001a1abb04390"} 
[2026-11-05 18: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-05 18:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 18: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-11-05 18:01:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18: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-05 18: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-05 18:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233740032001,"66":25060,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195435669840789504},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233740032001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:01:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:01:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840789504,"description":"Unknown IO ID 45"} 
[2026-11-05 18:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233740032001,"power":25060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840789504}} 
[2026-11-05 18:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":229877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:01:48] local.INFO: GPS data processed {"connection_id":229877,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:01:48] local.INFO: Acknowledgment sent {"connection_id":229877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:02:00] local.INFO: TCP Data received {"connection_id":229878,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:02:00] local.INFO: Processing buffer {"connection_id":229878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:02:00] local.INFO: IMEI packet received {"connection_id":229878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":229878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:02:03] local.INFO: TCP Data received {"connection_id":229878,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:02:03] local.INFO: Processing buffer {"connection_id":229878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:02:03] local.INFO: IMEI packet received {"connection_id":229878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":229878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:02:04] local.INFO: TCP Data received {"connection_id":229878,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:02:04] local.INFO: Processing buffer {"connection_id":229878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:02:04] local.INFO: IMEI packet received {"connection_id":229878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":229878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:02:04] local.INFO: TCP Data received {"connection_id":229878,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1abb09598012d7f9cc005afd100000700bf2c..."} 
[2026-11-05 18:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abb09598012d7f9cc005afd100000700bf2c..."} 
[2026-11-05 18:02:04] local.INFO: Processing buffer {"connection_id":229878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abb09598012d7f9cc005afd100000700bf2c..."} 
[2026-11-05 18:02:04] local.INFO: Packet analysis {"connection_id":229878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abb0"} 
[2026-11-05 18:02:04] local.INFO: Extracted packet for processing {"connection_id":229878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abb0"} 
[2026-11-05 18:02:04] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408384,"longitude_deg":76.333792,"latitude_deg":9.5408384,"altitude":7,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd100","is_valid_coordinates":true} 
[2026-11-05 18:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233745408001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 18:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840789504,"note":"Value kept but may cause issues"} 
[2026-11-05 18:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793881839000,"timestamp_ms":1793881839000,"timestamp_seconds":1793881839,"priority":1,"record_length":96,"hex_timestamp":"000001a1abb09598"} 
[2026-11-05 18:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 18:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-05 18:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":229878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":229878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":229878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233745408001,"66":27843,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195435669840789504},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233745408001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:02:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:02:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840789504,"description":"Unknown IO ID 45"} 
[2026-11-05 18:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233745408001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840789504}} 
[2026-11-05 18:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":229878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:02:04] local.INFO: GPS data processed {"connection_id":229878,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:02:04] local.INFO: Acknowledgment sent {"connection_id":229878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:02:05] local.INFO: TCP Data received {"connection_id":229878,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1abb0e7a0012d7f9cc005afd100000700bf2e..."} 
[2026-11-05 18:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abb0e7a0012d7f9cc005afd100000700bf2e..."} 
[2026-11-05 18:02:05] local.INFO: Processing buffer {"connection_id":229878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abb0e7a0012d7f9cc005afd100000700bf2e..."} 
[2026-11-05 18:02:05] local.INFO: Packet analysis {"connection_id":229878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abb0"} 
[2026-11-05 18:02:05] local.INFO: Extracted packet for processing {"connection_id":229878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abb0"} 
[2026-11-05 18:02:05] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408384,"longitude_deg":76.333792,"latitude_deg":9.5408384,"altitude":7,"angle":191,"satellites":46,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd100","is_valid_coordinates":true} 
[2026-11-05 18:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233750784001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292230665076736,"note":"Value kept but may cause issues"} 
[2026-11-05 18:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840789504,"note":"Value kept but may cause issues"} 
[2026-11-05 18:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793881860000,"timestamp_ms":1793881860000,"timestamp_seconds":1793881860,"priority":1,"record_length":96,"hex_timestamp":"000001a1abb0e7a0"} 
[2026-11-05 18:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:02: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-05 18:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-05 18:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":229878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":229878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":229878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233750784001,"66":27745,"250":206,"85":12544,"24":0,"16":40292230665076736,"45":9195435669840789504},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233750784001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:02:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:02:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292230665076736,"km_value":40292230665076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840789504,"description":"Unknown IO ID 45"} 
[2026-11-05 18:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233750784001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840789504}} 
[2026-11-05 18:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":229878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:02:05] local.INFO: GPS data processed {"connection_id":229878,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:02:05] local.INFO: Acknowledgment sent {"connection_id":229878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:02:36] local.INFO: TCP Data received {"connection_id":229878,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1abb131d8012d7f9dc005afd0a80008009f2e..."} 
[2026-11-05 18:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abb131d8012d7f9dc005afd0a80008009f2e..."} 
[2026-11-05 18:02:36] local.INFO: Processing buffer {"connection_id":229878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abb131d8012d7f9dc005afd0a80008009f2e..."} 
[2026-11-05 18:02:36] local.INFO: Packet analysis {"connection_id":229878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abb1"} 
[2026-11-05 18:02:36] local.INFO: Extracted packet for processing {"connection_id":229878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abb1"} 
[2026-11-05 18:02:36] local.INFO: GPS Element Parsed {"raw_longitude":763338176,"raw_latitude":95408296,"longitude_deg":76.3338176,"latitude_deg":9.5408296,"altitude":8,"angle":159,"satellites":46,"speed":4,"hex_longitude":"2d7f9dc0","hex_latitude":"05afd0a8","is_valid_coordinates":true} 
[2026-11-05 18: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-05 18:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233756160001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292243549978624,"note":"Value kept but may cause issues"} 
[2026-11-05 18:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840789504,"note":"Value kept but may cause issues"} 
[2026-11-05 18:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1793881879000,"timestamp_ms":1793881879000,"timestamp_seconds":1793881879,"priority":1,"record_length":96,"hex_timestamp":"000001a1abb131d8"} 
[2026-11-05 18: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-05 18:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 18:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 18:02: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-05 18: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-05 18: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-05 18:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":229878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":229878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":229878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:02:36] local.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-05 18:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233756160001,"66":28017,"250":206,"85":12544,"24":4,"16":40292243549978624,"45":9195435669840789504},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233756160001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:02:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:02:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292243549978624,"km_value":40292243549978.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840789504,"description":"Unknown IO ID 45"} 
[2026-11-05 18:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233756160001,"power":28017,"unknown_250":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9195435669840789504}} 
[2026-11-05 18:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":229878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:02:36] local.INFO: GPS data processed {"connection_id":229878,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:02:36] local.INFO: Acknowledgment sent {"connection_id":229878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:03:03] local.INFO: TCP Data received {"connection_id":230397,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:03:03] local.INFO: Processing buffer {"connection_id":230397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:03:03] local.INFO: IMEI packet received {"connection_id":230397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":230397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:03:08] local.INFO: TCP Data received {"connection_id":230397,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:03:08] local.INFO: Processing buffer {"connection_id":230397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:03:08] local.INFO: IMEI packet received {"connection_id":230397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":230397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:03:09] local.INFO: TCP Data received {"connection_id":230397,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1abb135c0012d7f9e0005afd030000800892e..."} 
[2026-11-05 18:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abb135c0012d7f9e0005afd030000800892e..."} 
[2026-11-05 18:03:09] local.INFO: Processing buffer {"connection_id":230397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abb135c0012d7f9e0005afd030000800892e..."} 
[2026-11-05 18:03:09] local.INFO: Packet analysis {"connection_id":230397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abb1"} 
[2026-11-05 18:03:09] local.INFO: Extracted packet for processing {"connection_id":230397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abb1"} 
[2026-11-05 18:03:09] local.INFO: GPS Element Parsed {"raw_longitude":763338240,"raw_latitude":95408176,"longitude_deg":76.333824,"latitude_deg":9.5408176,"altitude":8,"angle":137,"satellites":46,"speed":6,"hex_longitude":"2d7f9e00","hex_latitude":"05afd030","is_valid_coordinates":true} 
[2026-11-05 18:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233761024001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292252139913216,"note":"Value kept but may cause issues"} 
[2026-11-05 18:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195717144817477632,"note":"Value kept but may cause issues"} 
[2026-11-05 18:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793881880000,"timestamp_ms":1793881880000,"timestamp_seconds":1793881880,"priority":1,"record_length":96,"hex_timestamp":"000001a1abb135c0"} 
[2026-11-05 18:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 18:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-11-05 18:03:09] 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-05 18:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233761024001,"66":27680,"250":206,"85":12544,"24":6,"16":40292252139913216,"45":9195717144817477632},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233761024001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:03:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:03:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292252139913216,"km_value":40292252139913.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195717144817477632,"description":"Unknown IO ID 45"} 
[2026-11-05 18:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233761024001,"power":27680,"unknown_250":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9195717144817477632}} 
[2026-11-05 18:03:09] 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":64230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:03:09] local.INFO: GPS data processed {"connection_id":230397,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:03:09] local.INFO: Acknowledgment sent {"connection_id":230397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:03:40] local.INFO: TCP Data received {"connection_id":230397,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1abb13d90012d7f9f4005afcf48000800792e..."} 
[2026-11-05 18:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abb13d90012d7f9f4005afcf48000800792e..."} 
[2026-11-05 18:03:40] local.INFO: Processing buffer {"connection_id":230397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abb13d90012d7f9f4005afcf48000800792e..."} 
[2026-11-05 18:03:40] local.INFO: Packet analysis {"connection_id":230397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abb1"} 
[2026-11-05 18:03:40] local.INFO: Extracted packet for processing {"connection_id":230397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abb1"} 
[2026-11-05 18:03:40] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95407944,"longitude_deg":76.333856,"latitude_deg":9.5407944,"altitude":8,"angle":121,"satellites":46,"speed":8,"hex_longitude":"2d7f9f40","hex_latitude":"05afcf48","is_valid_coordinates":true} 
[2026-11-05 18:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233761280001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292269319782400,"note":"Value kept but may cause issues"} 
[2026-11-05 18:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195787513561624576,"note":"Value kept but may cause issues"} 
[2026-11-05 18:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793881882000,"timestamp_ms":1793881882000,"timestamp_seconds":1793881882,"priority":1,"record_length":96,"hex_timestamp":"000001a1abb13d90"} 
[2026-11-05 18:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:03: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-05 18:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-05 18:03:40] 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-05 18:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233761280001,"66":27974,"250":206,"85":12544,"24":8,"16":40292269319782400,"45":9195787513561624576},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233761280001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:03:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:03:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292269319782400,"km_value":40292269319782.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195787513561624576,"description":"Unknown IO ID 45"} 
[2026-11-05 18:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233761280001,"power":27974,"unknown_250":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":9195787513561624576}} 
[2026-11-05 18:03:40] 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":64231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:03:40] local.INFO: GPS data processed {"connection_id":230397,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:03:40] local.INFO: Acknowledgment sent {"connection_id":230397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:04:03] local.INFO: TCP Data received {"connection_id":233633,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:04:03] local.INFO: Processing buffer {"connection_id":233633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:04:03] local.INFO: IMEI packet received {"connection_id":233633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":233633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:04:08] local.INFO: TCP Data received {"connection_id":233633,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:04:08] local.INFO: Processing buffer {"connection_id":233633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:04:08] local.INFO: IMEI packet received {"connection_id":233633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":233633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:04:09] local.INFO: TCP Data received {"connection_id":233633,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a1abb14d30012d7fa18005afcdc0000800852e..."} 
[2026-11-05 18:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abb14d30012d7fa18005afcdc0000800852e..."} 
[2026-11-05 18:04:09] local.INFO: Processing buffer {"connection_id":233633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abb14d30012d7fa18005afcdc0000800852e..."} 
[2026-11-05 18:04:09] local.INFO: Packet analysis {"connection_id":233633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abb1"} 
[2026-11-05 18:04:09] local.INFO: Extracted packet for processing {"connection_id":233633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abb1"} 
[2026-11-05 18:04:09] local.INFO: GPS Element Parsed {"raw_longitude":763339136,"raw_latitude":95407552,"longitude_deg":76.3339136,"latitude_deg":9.5407552,"altitude":8,"angle":133,"satellites":46,"speed":7,"hex_longitude":"2d7fa180","hex_latitude":"05afcdc0","is_valid_coordinates":true} 
[2026-11-05 18:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233761792001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292303679520768,"note":"Value kept but may cause issues"} 
[2026-11-05 18:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282453504,"note":"Value kept but may cause issues"} 
[2026-11-05 18:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793881886000,"timestamp_ms":1793881886000,"timestamp_seconds":1793881886,"priority":1,"record_length":96,"hex_timestamp":"000001a1abb14d30"} 
[2026-11-05 18:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 18:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-05 18:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:04:09] local.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-05 18:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233761792001,"66":27365,"250":206,"85":12544,"24":7,"16":40292303679520768,"45":9196139357282453504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233761792001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:04:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:04:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292303679520768,"km_value":40292303679520.766,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282453504,"description":"Unknown IO ID 45"} 
[2026-11-05 18:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233761792001,"power":27365,"unknown_250":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9196139357282453504}} 
[2026-11-05 18:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":233633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:04:09] local.INFO: GPS data processed {"connection_id":233633,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:04:09] local.INFO: Acknowledgment sent {"connection_id":233633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:04:40] local.INFO: TCP Data received {"connection_id":233633,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a1abb15118012d7fa24005afcd28000800922e..."} 
[2026-11-05 18:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abb15118012d7fa24005afcd28000800922e..."} 
[2026-11-05 18:04:40] local.INFO: Processing buffer {"connection_id":233633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abb15118012d7fa24005afcd28000800922e..."} 
[2026-11-05 18:04:40] local.INFO: Packet analysis {"connection_id":233633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abb1"} 
[2026-11-05 18:04:40] local.INFO: Extracted packet for processing {"connection_id":233633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abb1"} 
[2026-11-05 18:04:40] local.INFO: GPS Element Parsed {"raw_longitude":763339328,"raw_latitude":95407400,"longitude_deg":76.3339328,"latitude_deg":9.54074,"altitude":8,"angle":146,"satellites":46,"speed":7,"hex_longitude":"2d7fa240","hex_latitude":"05afcd28","is_valid_coordinates":true} 
[2026-11-05 18:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233762816001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292316564422656,"note":"Value kept but may cause issues"} 
[2026-11-05 18:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196772675979952128,"note":"Value kept but may cause issues"} 
[2026-11-05 18:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793881887000,"timestamp_ms":1793881887000,"timestamp_seconds":1793881887,"priority":1,"record_length":96,"hex_timestamp":"000001a1abb15118"} 
[2026-11-05 18:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:04: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-05 18:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 18:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233762816001,"66":27365,"250":206,"85":12544,"24":7,"16":40292316564422656,"45":9196772675979952128},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233762816001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:04:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:04:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292316564422656,"km_value":40292316564422.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196772675979952128,"description":"Unknown IO ID 45"} 
[2026-11-05 18:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233762816001,"power":27365,"unknown_250":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9196772675979952128}} 
[2026-11-05 18:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":233633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:04:40] local.INFO: GPS data processed {"connection_id":233633,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:04:40] local.INFO: Acknowledgment sent {"connection_id":233633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:05:02] local.INFO: TCP Data received {"connection_id":231732,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:05:02] local.INFO: Processing buffer {"connection_id":231732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:05:02] local.INFO: IMEI packet received {"connection_id":231732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":231732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:05:08] local.INFO: TCP Data received {"connection_id":231732,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:05:08] local.INFO: Processing buffer {"connection_id":231732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:05:08] local.INFO: IMEI packet received {"connection_id":231732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":231732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:05:09] local.INFO: TCP Data received {"connection_id":231732,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1abb158e8012d7fa2c005afcbf0000800a22e..."} 
[2026-11-05 18:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abb158e8012d7fa2c005afcbf0000800a22e..."} 
[2026-11-05 18:05:09] local.INFO: Processing buffer {"connection_id":231732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abb158e8012d7fa2c005afcbf0000800a22e..."} 
[2026-11-05 18:05:09] local.INFO: Packet analysis {"connection_id":231732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abb1"} 
[2026-11-05 18:05:09] local.INFO: Extracted packet for processing {"connection_id":231732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abb1"} 
[2026-11-05 18:05:09] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95407088,"longitude_deg":76.3339456,"latitude_deg":9.5407088,"altitude":8,"angle":162,"satellites":46,"speed":6,"hex_longitude":"2d7fa2c0","hex_latitude":"05afcbf0","is_valid_coordinates":true} 
[2026-11-05 18:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233763072001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292333744291840,"note":"Value kept but may cause issues"} 
[2026-11-05 18:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196983782212446208,"note":"Value kept but may cause issues"} 
[2026-11-05 18:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793881889000,"timestamp_ms":1793881889000,"timestamp_seconds":1793881889,"priority":1,"record_length":96,"hex_timestamp":"000001a1abb158e8"} 
[2026-11-05 18:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 18:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 18:05:09] 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-05 18:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:05:09] 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-05 18:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233763072001,"66":28006,"250":206,"85":12544,"24":6,"16":40292333744291840,"45":9196983782212446208},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233763072001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:05:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:05:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292333744291840,"km_value":40292333744291.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196983782212446208,"description":"Unknown IO ID 45"} 
[2026-11-05 18:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233763072001,"power":28006,"unknown_250":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9196983782212446208}} 
[2026-11-05 18:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":231732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:05:09] local.INFO: GPS data processed {"connection_id":231732,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:05:09] local.INFO: Acknowledgment sent {"connection_id":231732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:05:40] local.INFO: TCP Data received {"connection_id":231732,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1abb164a0012d7fa34005afca60000800b32e..."} 
[2026-11-05 18:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abb164a0012d7fa34005afca60000800b32e..."} 
[2026-11-05 18:05:40] local.INFO: Processing buffer {"connection_id":231732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abb164a0012d7fa34005afca60000800b32e..."} 
[2026-11-05 18:05:40] local.INFO: Packet analysis {"connection_id":231732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abb1"} 
[2026-11-05 18:05:40] local.INFO: Extracted packet for processing {"connection_id":231732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abb1"} 
[2026-11-05 18:05:40] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":95406688,"longitude_deg":76.3339584,"latitude_deg":9.5406688,"altitude":8,"angle":179,"satellites":46,"speed":5,"hex_longitude":"2d7fa340","hex_latitude":"05afca60","is_valid_coordinates":true} 
[2026-11-05 18:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233763584001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292355219128320,"note":"Value kept but may cause issues"} 
[2026-11-05 18:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700721664,"note":"Value kept but may cause issues"} 
[2026-11-05 18:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793881892000,"timestamp_ms":1793881892000,"timestamp_seconds":1793881892,"priority":1,"record_length":96,"hex_timestamp":"000001a1abb164a0"} 
[2026-11-05 18:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:05: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-05 18:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-05 18:05:40] 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-05 18:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:05: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-05 18:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233763584001,"66":27767,"250":206,"85":12544,"24":5,"16":40292355219128320,"45":9197124519700721664},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233763584001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:05:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:05:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292355219128320,"km_value":40292355219128.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700721664,"description":"Unknown IO ID 45"} 
[2026-11-05 18:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233763584001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":5,"odometer":null,"unknown_45":9197124519700721664}} 
[2026-11-05 18:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":231732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:05:40] local.INFO: GPS data processed {"connection_id":231732,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:05:40] local.INFO: Acknowledgment sent {"connection_id":231732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:06:02] local.INFO: TCP Data received {"connection_id":230398,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:06:02] local.INFO: Processing buffer {"connection_id":230398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:06:02] local.INFO: IMEI packet received {"connection_id":230398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":230398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:06:08] local.INFO: TCP Data received {"connection_id":230398,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:06:08] local.INFO: Processing buffer {"connection_id":230398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:06:08] local.INFO: IMEI packet received {"connection_id":230398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":230398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:06:09] local.INFO: TCP Data received {"connection_id":230398,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1abb16888012d7fa30005afc9d8000800c12e..."} 
[2026-11-05 18:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abb16888012d7fa30005afc9d8000800c12e..."} 
[2026-11-05 18:06:09] local.INFO: Processing buffer {"connection_id":230398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abb16888012d7fa30005afc9d8000800c12e..."} 
[2026-11-05 18:06:09] local.INFO: Packet analysis {"connection_id":230398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abb1"} 
[2026-11-05 18:06:09] local.INFO: Extracted packet for processing {"connection_id":230398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abb1"} 
[2026-11-05 18:06:09] local.INFO: GPS Element Parsed {"raw_longitude":763339520,"raw_latitude":95406552,"longitude_deg":76.333952,"latitude_deg":9.5406552,"altitude":8,"angle":193,"satellites":46,"speed":4,"hex_longitude":"2d7fa300","hex_latitude":"05afc9d8","is_valid_coordinates":true} 
[2026-11-05 18:06: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-05 18:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233764352001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292359514095616,"note":"Value kept but may cause issues"} 
[2026-11-05 18:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257188974592,"note":"Value kept but may cause issues"} 
[2026-11-05 18:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793881893000,"timestamp_ms":1793881893000,"timestamp_seconds":1793881893,"priority":1,"record_length":96,"hex_timestamp":"000001a1abb16888"} 
[2026-11-05 18:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 18:06: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-05 18:06: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-05 18:06: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-05 18:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:06:09] local.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-05 18:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233764352001,"66":27767,"250":206,"85":12544,"24":4,"16":40292359514095616,"45":9197265257188974592},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233764352001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:06:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:06:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292359514095616,"km_value":40292359514095.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257188974592,"description":"Unknown IO ID 45"} 
[2026-11-05 18:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233764352001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9197265257188974592}} 
[2026-11-05 18:06:09] 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":64236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:06:09] local.INFO: GPS data processed {"connection_id":230398,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:06:09] local.INFO: Acknowledgment sent {"connection_id":230398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:06:40] local.INFO: TCP Data received {"connection_id":230398,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1abb1a708012d7fa28005afc728000901662e..."} 
[2026-11-05 18:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abb1a708012d7fa28005afc728000901662e..."} 
[2026-11-05 18:06:40] local.INFO: Processing buffer {"connection_id":230398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abb1a708012d7fa28005afc728000901662e..."} 
[2026-11-05 18:06:40] local.INFO: Packet analysis {"connection_id":230398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abb1"} 
[2026-11-05 18:06:40] local.INFO: Extracted packet for processing {"connection_id":230398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abb1"} 
[2026-11-05 18:06:40] local.INFO: GPS Element Parsed {"raw_longitude":763339392,"raw_latitude":95405864,"longitude_deg":76.3339392,"latitude_deg":9.5405864,"altitude":9,"angle":358,"satellites":46,"speed":1,"hex_longitude":"2d7fa280","hex_latitude":"05afc728","is_valid_coordinates":true} 
[2026-11-05 18:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233764608001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197194888444762112,"note":"Value kept but may cause issues"} 
[2026-11-05 18:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793881909000,"timestamp_ms":1793881909000,"timestamp_seconds":1793881909,"priority":1,"record_length":96,"hex_timestamp":"000001a1abb1a708"} 
[2026-11-05 18:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:06: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-05 18:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-05 18:06: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-05 18:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233764608001,"66":27974,"250":206,"85":12544,"24":1,"16":40292415348670464,"45":9197194888444762112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233764608001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:06:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:06:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197194888444762112,"description":"Unknown IO ID 45"} 
[2026-11-05 18:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233764608001,"power":27974,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9197194888444762112}} 
[2026-11-05 18:06:40] 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":64237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:06:40] local.INFO: GPS data processed {"connection_id":230398,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:06:40] local.INFO: Acknowledgment sent {"connection_id":230398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:07:08] local.INFO: TCP Data received {"connection_id":230399,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:07:08] local.INFO: Processing buffer {"connection_id":230399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:07:08] local.INFO: IMEI packet received {"connection_id":230399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":230399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:07:13] local.INFO: TCP Data received {"connection_id":230399,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:07:13] local.INFO: Processing buffer {"connection_id":230399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:07:13] local.INFO: IMEI packet received {"connection_id":230399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":230399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:07:14] local.INFO: TCP Data received {"connection_id":230399,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1abb1aaf0012d7fa28005afc758000900042e..."} 
[2026-11-05 18:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abb1aaf0012d7fa28005afc758000900042e..."} 
[2026-11-05 18:07:14] local.INFO: Processing buffer {"connection_id":230399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abb1aaf0012d7fa28005afc758000900042e..."} 
[2026-11-05 18:07:14] local.INFO: Packet analysis {"connection_id":230399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abb1"} 
[2026-11-05 18:07:14] local.INFO: Extracted packet for processing {"connection_id":230399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abb1"} 
[2026-11-05 18:07:14] local.INFO: GPS Element Parsed {"raw_longitude":763339392,"raw_latitude":95405912,"longitude_deg":76.3339392,"latitude_deg":9.5405912,"altitude":9,"angle":4,"satellites":46,"speed":1,"hex_longitude":"2d7fa280","hex_latitude":"05afc758","is_valid_coordinates":true} 
[2026-11-05 18:07: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-05 18:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233768704001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197054150956230656,"note":"Value kept but may cause issues"} 
[2026-11-05 18:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793881910000,"timestamp_ms":1793881910000,"timestamp_seconds":1793881910,"priority":1,"record_length":96,"hex_timestamp":"000001a1abb1aaf0"} 
[2026-11-05 18: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-05 18:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 18: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-05 18:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18: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-05 18: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-05 18:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233768704001,"66":27713,"250":206,"85":12544,"24":1,"16":40292415348670464,"45":9197054150956230656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233768704001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:07:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:07:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197054150956230656,"description":"Unknown IO ID 45"} 
[2026-11-05 18:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233768704001,"power":27713,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9197054150956230656}} 
[2026-11-05 18:07:14] 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":64238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:07:14] local.INFO: GPS data processed {"connection_id":230399,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:07:14] local.INFO: Acknowledgment sent {"connection_id":230399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:07:18] local.INFO: TCP Data received {"connection_id":230399,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1abb1aed8012d7fa28005afc788000900162e..."} 
[2026-11-05 18:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abb1aed8012d7fa28005afc788000900162e..."} 
[2026-11-05 18:07:18] local.INFO: Processing buffer {"connection_id":230399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abb1aed8012d7fa28005afc788000900162e..."} 
[2026-11-05 18:07:18] local.INFO: Packet analysis {"connection_id":230399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abb1"} 
[2026-11-05 18:07:18] local.INFO: Extracted packet for processing {"connection_id":230399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abb1"} 
[2026-11-05 18:07:18] local.INFO: GPS Element Parsed {"raw_longitude":763339392,"raw_latitude":95405960,"longitude_deg":76.3339392,"latitude_deg":9.540596,"altitude":9,"angle":22,"satellites":46,"speed":1,"hex_longitude":"2d7fa280","hex_latitude":"05afc788","is_valid_coordinates":true} 
[2026-11-05 18: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-05 18:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233768960001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197054150956242944,"note":"Value kept but may cause issues"} 
[2026-11-05 18:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793881911000,"timestamp_ms":1793881911000,"timestamp_seconds":1793881911,"priority":1,"record_length":96,"hex_timestamp":"000001a1abb1aed8"} 
[2026-11-05 18: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-05 18:07: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-05 18: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":65,"data_length":795,"current_offset":136} 
[2026-11-05 18:07: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-05 18: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-05 18: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-05 18:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233768960001,"66":27713,"250":206,"85":12544,"24":1,"16":40292415348670464,"45":9197054150956242944},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233768960001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:07:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:07:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197054150956242944,"description":"Unknown IO ID 45"} 
[2026-11-05 18:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233768960001,"power":27713,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9197054150956242944}} 
[2026-11-05 18:07:18] local.INFO: TCP Data received {"connection_id":231731,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231731,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:07:18] local.INFO: Processing buffer {"connection_id":231731,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:07:18] local.INFO: IMEI packet received {"connection_id":231731,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 18:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":231731,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:07:18] 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":64239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:07:18] local.INFO: GPS data processed {"connection_id":230399,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:07:18] local.INFO: Acknowledgment sent {"connection_id":230399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:08:03] local.INFO: TCP Data received {"connection_id":231733,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:08:03] local.INFO: Processing buffer {"connection_id":231733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:08:03] local.INFO: IMEI packet received {"connection_id":231733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":231733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:08:08] local.INFO: TCP Data received {"connection_id":231733,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:08:08] local.INFO: Processing buffer {"connection_id":231733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:08:08] local.INFO: IMEI packet received {"connection_id":231733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":231733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:08:09] local.INFO: TCP Data received {"connection_id":231733,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1abb65640012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abb65640012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:08:09] local.INFO: Processing buffer {"connection_id":231733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abb65640012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:08:09] local.INFO: Packet analysis {"connection_id":231733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abb6"} 
[2026-11-05 18:08:09] local.INFO: Extracted packet for processing {"connection_id":231733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abb6"} 
[2026-11-05 18:08:09] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 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-05 18:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233769216001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197054150956255232,"note":"Value kept but may cause issues"} 
[2026-11-05 18:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793882216000,"timestamp_ms":1793882216000,"timestamp_seconds":1793882216,"priority":1,"record_length":96,"hex_timestamp":"000001a1abb65640"} 
[2026-11-05 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-05 18:08: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-05 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":65,"data_length":795,"current_offset":136} 
[2026-11-05 18:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 18:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:08:09] 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-05 18:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233769216001,"66":25973,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197054150956255232},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233769216001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:08:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:08:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197054150956255232,"description":"Unknown IO ID 45"} 
[2026-11-05 18:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233769216001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197054150956255232}} 
[2026-11-05 18:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":231733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:08:09] local.INFO: GPS data processed {"connection_id":231733,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:08:09] local.INFO: Acknowledgment sent {"connection_id":231733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:08:40] local.INFO: TCP Data received {"connection_id":231733,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1abb65640012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abb65640012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:08:40] local.INFO: Processing buffer {"connection_id":231733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abb65640012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:08:40] local.INFO: Packet analysis {"connection_id":231733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abb6"} 
[2026-11-05 18:08:40] local.INFO: Extracted packet for processing {"connection_id":231733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abb6"} 
[2026-11-05 18:08:40] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233769216001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197054150956255232,"note":"Value kept but may cause issues"} 
[2026-11-05 18:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793882216000,"timestamp_ms":1793882216000,"timestamp_seconds":1793882216,"priority":1,"record_length":96,"hex_timestamp":"000001a1abb65640"} 
[2026-11-05 18:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 18:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-05 18:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233769216001,"66":25973,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197054150956255232},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233769216001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:08:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:08:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197054150956255232,"description":"Unknown IO ID 45"} 
[2026-11-05 18:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233769216001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197054150956255232}} 
[2026-11-05 18:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":231733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:08:40] local.INFO: GPS data processed {"connection_id":231733,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:08:40] local.INFO: Acknowledgment sent {"connection_id":231733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:09:03] local.INFO: TCP Data received {"connection_id":230400,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:09:03] local.INFO: Processing buffer {"connection_id":230400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:09:03] local.INFO: IMEI packet received {"connection_id":230400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":230400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:09:08] local.INFO: TCP Data received {"connection_id":230400,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:09:08] local.INFO: Processing buffer {"connection_id":230400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:09:08] local.INFO: IMEI packet received {"connection_id":230400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":230400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:09:09] local.INFO: TCP Data received {"connection_id":230400,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1abb65640012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abb65640012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:09:09] local.INFO: Processing buffer {"connection_id":230400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abb65640012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:09:09] local.INFO: Packet analysis {"connection_id":230400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abb6"} 
[2026-11-05 18:09:09] local.INFO: Extracted packet for processing {"connection_id":230400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abb6"} 
[2026-11-05 18:09:09] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233769216001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197054150956255232,"note":"Value kept but may cause issues"} 
[2026-11-05 18:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793882216000,"timestamp_ms":1793882216000,"timestamp_seconds":1793882216,"priority":1,"record_length":96,"hex_timestamp":"000001a1abb65640"} 
[2026-11-05 18:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:09: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-05 18:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-05 18:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:09:09] 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-05 18:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233769216001,"66":25973,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197054150956255232},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233769216001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:09:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:09:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197054150956255232,"description":"Unknown IO ID 45"} 
[2026-11-05 18:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233769216001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197054150956255232}} 
[2026-11-05 18:09:09] 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":64242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:09:09] local.INFO: GPS data processed {"connection_id":230400,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:09:09] local.INFO: Acknowledgment sent {"connection_id":230400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:09:39] local.INFO: TCP Data received {"connection_id":230400,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1abb65640012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abb65640012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:09:39] local.INFO: Processing buffer {"connection_id":230400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abb65640012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:09:39] local.INFO: Packet analysis {"connection_id":230400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abb6"} 
[2026-11-05 18:09:39] local.INFO: Extracted packet for processing {"connection_id":230400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abb6"} 
[2026-11-05 18:09:39] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233769216001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197054150956255232,"note":"Value kept but may cause issues"} 
[2026-11-05 18:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793882216000,"timestamp_ms":1793882216000,"timestamp_seconds":1793882216,"priority":1,"record_length":96,"hex_timestamp":"000001a1abb65640"} 
[2026-11-05 18:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 18:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-05 18:09:39] 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-05 18:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":230400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":230400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":230400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233769216001,"66":25973,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197054150956255232},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233769216001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:09:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:09:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197054150956255232,"description":"Unknown IO ID 45"} 
[2026-11-05 18:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233769216001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197054150956255232}} 
[2026-11-05 18:09:39] 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":64243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:09:39] local.INFO: GPS data processed {"connection_id":230400,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:09:39] local.INFO: Acknowledgment sent {"connection_id":230400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:10:08] local.INFO: TCP Data received {"connection_id":231734,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:10:08] local.INFO: Processing buffer {"connection_id":231734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:10:08] local.INFO: IMEI packet received {"connection_id":231734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":231734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:10:13] local.INFO: TCP Data received {"connection_id":231734,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:10:13] local.INFO: Processing buffer {"connection_id":231734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:10:13] local.INFO: IMEI packet received {"connection_id":231734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":231734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:10:14] local.INFO: TCP Data received {"connection_id":231734,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1abb65640012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abb65640012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:10:14] local.INFO: Processing buffer {"connection_id":231734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abb65640012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:10:14] local.INFO: Packet analysis {"connection_id":231734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abb6"} 
[2026-11-05 18:10:14] local.INFO: Extracted packet for processing {"connection_id":231734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abb6"} 
[2026-11-05 18:10:14] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 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-05 18:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233769216001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197054150956255232,"note":"Value kept but may cause issues"} 
[2026-11-05 18:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793882216000,"timestamp_ms":1793882216000,"timestamp_seconds":1793882216,"priority":1,"record_length":96,"hex_timestamp":"000001a1abb65640"} 
[2026-11-05 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-05 18:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-05 18:10: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-05 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-05 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-05 18:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":231734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":231734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":231734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233769216001,"66":25973,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197054150956255232},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233769216001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:10:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:10:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197054150956255232,"description":"Unknown IO ID 45"} 
[2026-11-05 18:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233769216001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197054150956255232}} 
[2026-11-05 18:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":231734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:10:14] local.INFO: GPS data processed {"connection_id":231734,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:10:14] local.INFO: Acknowledgment sent {"connection_id":231734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:10:45] local.INFO: TCP Data received {"connection_id":231734,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1abb65640012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abb65640012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:10:45] local.INFO: Processing buffer {"connection_id":231734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abb65640012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:10:45] local.INFO: Packet analysis {"connection_id":231734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abb6"} 
[2026-11-05 18:10:45] local.INFO: Extracted packet for processing {"connection_id":231734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abb6"} 
[2026-11-05 18:10:45] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233769216001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197054150956255232,"note":"Value kept but may cause issues"} 
[2026-11-05 18:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793882216000,"timestamp_ms":1793882216000,"timestamp_seconds":1793882216,"priority":1,"record_length":96,"hex_timestamp":"000001a1abb65640"} 
[2026-11-05 18:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:10: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-05 18:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-05 18:10: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-05 18:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":231734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":231734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":231734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233769216001,"66":25973,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197054150956255232},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233769216001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:10:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:10:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197054150956255232,"description":"Unknown IO ID 45"} 
[2026-11-05 18:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233769216001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197054150956255232}} 
[2026-11-05 18:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":231734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:10:45] local.INFO: GPS data processed {"connection_id":231734,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:10:45] local.INFO: Acknowledgment sent {"connection_id":231734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:11:03] local.INFO: TCP Data received {"connection_id":230401,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:11:03] local.INFO: Processing buffer {"connection_id":230401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:11:03] local.INFO: IMEI packet received {"connection_id":230401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":230401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:11:08] local.INFO: TCP Data received {"connection_id":230401,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:11:08] local.INFO: Processing buffer {"connection_id":230401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:11:08] local.INFO: IMEI packet received {"connection_id":230401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":230401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:11:09] local.INFO: TCP Data received {"connection_id":230401,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1abb65640012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abb65640012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:11:09] local.INFO: Processing buffer {"connection_id":230401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abb65640012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:11:09] local.INFO: Packet analysis {"connection_id":230401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abb6"} 
[2026-11-05 18:11:09] local.INFO: Extracted packet for processing {"connection_id":230401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abb6"} 
[2026-11-05 18:11:09] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233769216001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197054150956255232,"note":"Value kept but may cause issues"} 
[2026-11-05 18:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793882216000,"timestamp_ms":1793882216000,"timestamp_seconds":1793882216,"priority":1,"record_length":96,"hex_timestamp":"000001a1abb65640"} 
[2026-11-05 18:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:11: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-05 18:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-05 18:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:11:09] local.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-05 18:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233769216001,"66":25973,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197054150956255232},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233769216001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:11:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:11:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197054150956255232,"description":"Unknown IO ID 45"} 
[2026-11-05 18:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233769216001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197054150956255232}} 
[2026-11-05 18:11:09] 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":64246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:11:09] local.INFO: GPS data processed {"connection_id":230401,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:11:09] local.INFO: Acknowledgment sent {"connection_id":230401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:11:40] local.INFO: TCP Data received {"connection_id":230401,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1abb65640012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abb65640012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:11:40] local.INFO: Processing buffer {"connection_id":230401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abb65640012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:11:40] local.INFO: Packet analysis {"connection_id":230401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abb6"} 
[2026-11-05 18:11:40] local.INFO: Extracted packet for processing {"connection_id":230401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abb6"} 
[2026-11-05 18:11:40] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233769216001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197054150956255232,"note":"Value kept but may cause issues"} 
[2026-11-05 18:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793882216000,"timestamp_ms":1793882216000,"timestamp_seconds":1793882216,"priority":1,"record_length":96,"hex_timestamp":"000001a1abb65640"} 
[2026-11-05 18:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 18:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-05 18:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:11: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-05 18:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233769216001,"66":25973,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197054150956255232},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233769216001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:11:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:11:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197054150956255232,"description":"Unknown IO ID 45"} 
[2026-11-05 18:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233769216001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197054150956255232}} 
[2026-11-05 18:11:40] 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":64247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:11:40] local.INFO: GPS data processed {"connection_id":230401,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:11:40] local.INFO: Acknowledgment sent {"connection_id":230401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:12:02] local.INFO: TCP Data received {"connection_id":233635,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:12:02] local.INFO: Processing buffer {"connection_id":233635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:12:02] local.INFO: IMEI packet received {"connection_id":233635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":233635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:12:08] local.INFO: TCP Data received {"connection_id":233635,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:12:08] local.INFO: Processing buffer {"connection_id":233635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:12:08] local.INFO: IMEI packet received {"connection_id":233635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":233635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:12:09] local.INFO: TCP Data received {"connection_id":233635,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1abb65640012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abb65640012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:12:09] local.INFO: Processing buffer {"connection_id":233635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abb65640012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:12:09] local.INFO: Packet analysis {"connection_id":233635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abb6"} 
[2026-11-05 18:12:09] local.INFO: Extracted packet for processing {"connection_id":233635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abb6"} 
[2026-11-05 18:12:09] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233769216001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197054150956255232,"note":"Value kept but may cause issues"} 
[2026-11-05 18:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793882216000,"timestamp_ms":1793882216000,"timestamp_seconds":1793882216,"priority":1,"record_length":96,"hex_timestamp":"000001a1abb65640"} 
[2026-11-05 18:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:12: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-05 18:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-05 18:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:12:09] local.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-05 18:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233769216001,"66":25973,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197054150956255232},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233769216001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:12:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:12:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197054150956255232,"description":"Unknown IO ID 45"} 
[2026-11-05 18:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233769216001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197054150956255232}} 
[2026-11-05 18:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":233635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:12:09] local.INFO: GPS data processed {"connection_id":233635,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:12:09] local.INFO: Acknowledgment sent {"connection_id":233635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:12:43] local.INFO: TCP Data received {"connection_id":233635,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:12:43] local.INFO: Processing buffer {"connection_id":233635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:12:43] local.INFO: Packet analysis {"connection_id":233635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abba"} 
[2026-11-05 18:12:43] local.INFO: Extracted packet for processing {"connection_id":233635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abba"} 
[2026-11-05 18:12:43] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233847296001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793882517000,"timestamp_ms":1793882517000,"timestamp_seconds":1793882517,"priority":1,"record_length":96,"hex_timestamp":"000001a1abbaee08"} 
[2026-11-05 18:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:12: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-05 18:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-11-05 18:12: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-05 18:12:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":233635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":233635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":233635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:12:43] local.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-05 18:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233847296001,"66":25702,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233847296001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:12:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:12:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233847296001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":233635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:12:43] local.INFO: GPS data processed {"connection_id":233635,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:12:43] local.INFO: Acknowledgment sent {"connection_id":233635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:12:46] local.INFO: TCP Data received {"connection_id":233634,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:12:46] local.INFO: Processing buffer {"connection_id":233634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:12:46] local.INFO: IMEI packet received {"connection_id":233634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 18:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":233634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:13:08] local.INFO: TCP Data received {"connection_id":230402,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:13:08] local.INFO: Processing buffer {"connection_id":230402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:13:08] local.INFO: IMEI packet received {"connection_id":230402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":230402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:13:13] local.INFO: TCP Data received {"connection_id":230402,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:13:13] local.INFO: Processing buffer {"connection_id":230402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:13:13] local.INFO: IMEI packet received {"connection_id":230402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":230402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:13:13] local.INFO: TCP Data received {"connection_id":230402,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:13:13] local.INFO: Processing buffer {"connection_id":230402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:13:13] local.INFO: Packet analysis {"connection_id":230402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abba"} 
[2026-11-05 18:13:13] local.INFO: Extracted packet for processing {"connection_id":230402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abba"} 
[2026-11-05 18:13:13] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18: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-05 18:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233847296001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793882517000,"timestamp_ms":1793882517000,"timestamp_seconds":1793882517,"priority":1,"record_length":96,"hex_timestamp":"000001a1abbaee08"} 
[2026-11-05 18: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-05 18: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-05 18: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-11-05 18:13:13] 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-05 18: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-05 18: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-05 18:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233847296001,"66":25702,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233847296001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:13:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:13:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233847296001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:13:14] 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":64250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:13:14] local.INFO: GPS data processed {"connection_id":230402,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:13:14] local.INFO: Acknowledgment sent {"connection_id":230402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:13:18] local.INFO: TCP Data received {"connection_id":230402,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:13:18] local.INFO: Processing buffer {"connection_id":230402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:13:18] local.INFO: Packet analysis {"connection_id":230402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abba"} 
[2026-11-05 18:13:18] local.INFO: Extracted packet for processing {"connection_id":230402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abba"} 
[2026-11-05 18:13:18] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233847296001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793882517000,"timestamp_ms":1793882517000,"timestamp_seconds":1793882517,"priority":1,"record_length":96,"hex_timestamp":"000001a1abbaee08"} 
[2026-11-05 18:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:13: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-05 18:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-11-05 18:13:18] 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-05 18:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233847296001,"66":25702,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233847296001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:13:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:13:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233847296001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:13:18] 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":64251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:13:18] local.INFO: GPS data processed {"connection_id":230402,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:13:18] local.INFO: Acknowledgment sent {"connection_id":230402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:14:03] local.INFO: TCP Data received {"connection_id":230403,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:14:03] local.INFO: Processing buffer {"connection_id":230403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:14:03] local.INFO: IMEI packet received {"connection_id":230403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":230403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:14:08] local.INFO: TCP Data received {"connection_id":230403,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:14:08] local.INFO: Processing buffer {"connection_id":230403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:14:08] local.INFO: IMEI packet received {"connection_id":230403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":230403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:14:09] local.INFO: TCP Data received {"connection_id":230403,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:14:09] local.INFO: Processing buffer {"connection_id":230403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:14:09] local.INFO: Packet analysis {"connection_id":230403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abba"} 
[2026-11-05 18:14:09] local.INFO: Extracted packet for processing {"connection_id":230403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abba"} 
[2026-11-05 18:14:09] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233847296001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793882517000,"timestamp_ms":1793882517000,"timestamp_seconds":1793882517,"priority":1,"record_length":96,"hex_timestamp":"000001a1abbaee08"} 
[2026-11-05 18:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:14: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-05 18:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-11-05 18:14:09] 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-05 18:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:14:09] local.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-05 18:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233847296001,"66":25702,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233847296001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:14:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:14:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233847296001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:14:09] 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":64252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:14:09] local.INFO: GPS data processed {"connection_id":230403,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:14:09] local.INFO: Acknowledgment sent {"connection_id":230403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:14:40] local.INFO: TCP Data received {"connection_id":230403,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:14:40] local.INFO: Processing buffer {"connection_id":230403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:14:40] local.INFO: Packet analysis {"connection_id":230403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abba"} 
[2026-11-05 18:14:40] local.INFO: Extracted packet for processing {"connection_id":230403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abba"} 
[2026-11-05 18:14:40] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233847296001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793882517000,"timestamp_ms":1793882517000,"timestamp_seconds":1793882517,"priority":1,"record_length":96,"hex_timestamp":"000001a1abbaee08"} 
[2026-11-05 18:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 18:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-11-05 18:14:40] 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-05 18:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:14: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-05 18:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233847296001,"66":25702,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233847296001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:14:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:14:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233847296001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:14:40] 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":64253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:14:40] local.INFO: GPS data processed {"connection_id":230403,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:14:40] local.INFO: Acknowledgment sent {"connection_id":230403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:15:05] local.INFO: TCP Data received {"connection_id":229879,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:15:05] local.INFO: Processing buffer {"connection_id":229879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:15:05] local.INFO: IMEI packet received {"connection_id":229879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":229879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:15:07] local.INFO: TCP Data received {"connection_id":229879,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:15:07] local.INFO: Processing buffer {"connection_id":229879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:15:07] local.INFO: IMEI packet received {"connection_id":229879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":229879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:15:09] local.INFO: TCP Data received {"connection_id":229879,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:15:09] local.INFO: Processing buffer {"connection_id":229879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:15:09] local.INFO: Packet analysis {"connection_id":229879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abba"} 
[2026-11-05 18:15:09] local.INFO: Extracted packet for processing {"connection_id":229879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abba"} 
[2026-11-05 18:15:09] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233847296001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793882517000,"timestamp_ms":1793882517000,"timestamp_seconds":1793882517,"priority":1,"record_length":96,"hex_timestamp":"000001a1abbaee08"} 
[2026-11-05 18:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:15: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-05 18:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-11-05 18:15:09] 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-05 18:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:15:09] 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-05 18:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233847296001,"66":25702,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233847296001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:15:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:15:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233847296001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":229879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:15:09] local.INFO: GPS data processed {"connection_id":229879,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:15:09] local.INFO: Acknowledgment sent {"connection_id":229879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:15:13] local.INFO: TCP Data received {"connection_id":229879,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:15:13] local.INFO: Processing buffer {"connection_id":229879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:15:13] local.INFO: Packet analysis {"connection_id":229879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abba"} 
[2026-11-05 18:15:13] local.INFO: Extracted packet for processing {"connection_id":229879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abba"} 
[2026-11-05 18:15:13] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18: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-05 18:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233847296001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793882517000,"timestamp_ms":1793882517000,"timestamp_seconds":1793882517,"priority":1,"record_length":96,"hex_timestamp":"000001a1abbaee08"} 
[2026-11-05 18: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-05 18: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-05 18: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-11-05 18:15:13] 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-05 18: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-05 18: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-05 18:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:15: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-05 18:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233847296001,"66":25702,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233847296001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:15:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:15:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233847296001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":229879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:15:13] local.INFO: GPS data processed {"connection_id":229879,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:15:13] local.INFO: Acknowledgment sent {"connection_id":229879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:15:44] local.INFO: TCP Data received {"connection_id":229879,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:15:44] local.INFO: Processing buffer {"connection_id":229879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:15:44] local.INFO: Packet analysis {"connection_id":229879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abba"} 
[2026-11-05 18:15:44] local.INFO: Extracted packet for processing {"connection_id":229879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abba"} 
[2026-11-05 18:15:44] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18: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-05 18:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233847296001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793882517000,"timestamp_ms":1793882517000,"timestamp_seconds":1793882517,"priority":1,"record_length":96,"hex_timestamp":"000001a1abbaee08"} 
[2026-11-05 18: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-05 18:15: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-05 18: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-11-05 18:15: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-05 18: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-05 18: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-05 18:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233847296001,"66":25702,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233847296001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:15:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:15:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233847296001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":229879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:15:44] local.INFO: GPS data processed {"connection_id":229879,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:15:44] local.INFO: Acknowledgment sent {"connection_id":229879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:16:03] local.INFO: TCP Data received {"connection_id":231735,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:16:03] local.INFO: Processing buffer {"connection_id":231735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:16:03] local.INFO: IMEI packet received {"connection_id":231735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":231735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:16:08] local.INFO: TCP Data received {"connection_id":231735,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:16:08] local.INFO: Processing buffer {"connection_id":231735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:16:08] local.INFO: IMEI packet received {"connection_id":231735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":231735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:16:09] local.INFO: TCP Data received {"connection_id":231735,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:16:09] local.INFO: Processing buffer {"connection_id":231735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:16:09] local.INFO: Packet analysis {"connection_id":231735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abba"} 
[2026-11-05 18:16:09] local.INFO: Extracted packet for processing {"connection_id":231735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abba"} 
[2026-11-05 18:16:09] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233847296001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793882517000,"timestamp_ms":1793882517000,"timestamp_seconds":1793882517,"priority":1,"record_length":96,"hex_timestamp":"000001a1abbaee08"} 
[2026-11-05 18:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:16: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-05 18:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-11-05 18:16:09] 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-05 18:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:16:09] 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-05 18:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233847296001,"66":25702,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233847296001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:16:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:16:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233847296001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":231735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:16:09] local.INFO: GPS data processed {"connection_id":231735,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:16:09] local.INFO: Acknowledgment sent {"connection_id":231735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:16:40] local.INFO: TCP Data received {"connection_id":231735,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:16:40] local.INFO: Processing buffer {"connection_id":231735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:16:40] local.INFO: Packet analysis {"connection_id":231735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abba"} 
[2026-11-05 18:16:40] local.INFO: Extracted packet for processing {"connection_id":231735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abba"} 
[2026-11-05 18:16:40] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233847296001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793882517000,"timestamp_ms":1793882517000,"timestamp_seconds":1793882517,"priority":1,"record_length":96,"hex_timestamp":"000001a1abbaee08"} 
[2026-11-05 18:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 18:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-11-05 18:16:40] 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-05 18:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233847296001,"66":25702,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233847296001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:16:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:16:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233847296001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":231735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:16:40] local.INFO: GPS data processed {"connection_id":231735,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:16:40] local.INFO: Acknowledgment sent {"connection_id":231735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:17:02] local.INFO: TCP Data received {"connection_id":230404,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:17:02] local.INFO: Processing buffer {"connection_id":230404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:17:02] local.INFO: IMEI packet received {"connection_id":230404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":230404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:17:08] local.INFO: TCP Data received {"connection_id":230404,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:17:08] local.INFO: Processing buffer {"connection_id":230404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:17:08] local.INFO: IMEI packet received {"connection_id":230404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":230404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:17:09] local.INFO: TCP Data received {"connection_id":230404,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:17:09] local.INFO: Processing buffer {"connection_id":230404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abbaee08012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:17:09] local.INFO: Packet analysis {"connection_id":230404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abba"} 
[2026-11-05 18:17:09] local.INFO: Extracted packet for processing {"connection_id":230404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abba"} 
[2026-11-05 18:17:09] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233847296001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793882517000,"timestamp_ms":1793882517000,"timestamp_seconds":1793882517,"priority":1,"record_length":96,"hex_timestamp":"000001a1abbaee08"} 
[2026-11-05 18:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:17: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-05 18:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-11-05 18:17:09] 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-05 18:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:17:09] 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-05 18:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233847296001,"66":25702,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233847296001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:17:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:17:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233847296001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:17:09] 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":64259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:17:09] local.INFO: GPS data processed {"connection_id":230404,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:17:09] local.INFO: Acknowledgment sent {"connection_id":230404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:17:40] local.INFO: TCP Data received {"connection_id":230404,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1abbf85d0012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abbf85d0012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:17:40] local.INFO: Processing buffer {"connection_id":230404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abbf85d0012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:17:40] local.INFO: Packet analysis {"connection_id":230404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abbf"} 
[2026-11-05 18:17:40] local.INFO: Extracted packet for processing {"connection_id":230404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abbf"} 
[2026-11-05 18:17:40] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233924352001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793882818000,"timestamp_ms":1793882818000,"timestamp_seconds":1793882818,"priority":1,"record_length":96,"hex_timestamp":"000001a1abbf85d0"} 
[2026-11-05 18:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 18:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-05 18:17:40] 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-05 18:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233924352001,"66":25582,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233924352001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:17:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:17:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233924352001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:17:40] 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":64260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:17:40] local.INFO: GPS data processed {"connection_id":230404,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:17:40] local.INFO: Acknowledgment sent {"connection_id":230404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:18:08] local.INFO: TCP Data received {"connection_id":229880,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:18:08] local.INFO: Processing buffer {"connection_id":229880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:18:08] local.INFO: IMEI packet received {"connection_id":229880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":229880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:18:13] local.INFO: TCP Data received {"connection_id":229880,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:18:13] local.INFO: Processing buffer {"connection_id":229880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:18:13] local.INFO: IMEI packet received {"connection_id":229880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":229880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:18:13] local.INFO: TCP Data received {"connection_id":229880,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1abbf85d0012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abbf85d0012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:18:13] local.INFO: Processing buffer {"connection_id":229880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abbf85d0012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:18:13] local.INFO: Packet analysis {"connection_id":229880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abbf"} 
[2026-11-05 18:18:13] local.INFO: Extracted packet for processing {"connection_id":229880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abbf"} 
[2026-11-05 18:18:13] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233924352001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793882818000,"timestamp_ms":1793882818000,"timestamp_seconds":1793882818,"priority":1,"record_length":96,"hex_timestamp":"000001a1abbf85d0"} 
[2026-11-05 18:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:18: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-05 18:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-05 18:18: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-05 18:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233924352001,"66":25582,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233924352001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:18:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:18:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233924352001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":229880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:18:13] local.INFO: GPS data processed {"connection_id":229880,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:18:13] local.INFO: Acknowledgment sent {"connection_id":229880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:18:18] local.INFO: TCP Data received {"connection_id":229880,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1abbf85d0012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abbf85d0012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:18:18] local.INFO: Processing buffer {"connection_id":229880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abbf85d0012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:18:18] local.INFO: Packet analysis {"connection_id":229880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abbf"} 
[2026-11-05 18:18:18] local.INFO: Extracted packet for processing {"connection_id":229880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abbf"} 
[2026-11-05 18:18:18] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18: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-05 18:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233924352001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793882818000,"timestamp_ms":1793882818000,"timestamp_seconds":1793882818,"priority":1,"record_length":96,"hex_timestamp":"000001a1abbf85d0"} 
[2026-11-05 18: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-05 18:18: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-05 18: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-05 18:18: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-05 18: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-05 18: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-05 18:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233924352001,"66":25582,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233924352001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:18:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:18:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233924352001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":229880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:18:18] local.INFO: GPS data processed {"connection_id":229880,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:18:18] local.INFO: Acknowledgment sent {"connection_id":229880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:18:21] local.INFO: TCP Data received {"connection_id":233636,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233636,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:18:21] local.INFO: Processing buffer {"connection_id":233636,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:18:21] local.INFO: IMEI packet received {"connection_id":233636,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 18:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":233636,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:19:03] local.INFO: TCP Data received {"connection_id":231736,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:19:03] local.INFO: Processing buffer {"connection_id":231736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:19:03] local.INFO: IMEI packet received {"connection_id":231736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":231736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:19:08] local.INFO: TCP Data received {"connection_id":231736,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:19:08] local.INFO: Processing buffer {"connection_id":231736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:19:08] local.INFO: IMEI packet received {"connection_id":231736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":231736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:19:09] local.INFO: TCP Data received {"connection_id":231736,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1abbf85d0012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abbf85d0012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:19:09] local.INFO: Processing buffer {"connection_id":231736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abbf85d0012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:19:09] local.INFO: Packet analysis {"connection_id":231736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abbf"} 
[2026-11-05 18:19:09] local.INFO: Extracted packet for processing {"connection_id":231736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abbf"} 
[2026-11-05 18:19:09] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233924352001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793882818000,"timestamp_ms":1793882818000,"timestamp_seconds":1793882818,"priority":1,"record_length":96,"hex_timestamp":"000001a1abbf85d0"} 
[2026-11-05 18:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 18:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-05 18:19:09] 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-05 18:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:19:09] 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-05 18:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233924352001,"66":25582,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233924352001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:19:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:19:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233924352001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":231736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:19:09] local.INFO: GPS data processed {"connection_id":231736,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:19:09] local.INFO: Acknowledgment sent {"connection_id":231736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:19:40] local.INFO: TCP Data received {"connection_id":231736,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1abbf85d0012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abbf85d0012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:19:40] local.INFO: Processing buffer {"connection_id":231736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abbf85d0012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:19:40] local.INFO: Packet analysis {"connection_id":231736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abbf"} 
[2026-11-05 18:19:40] local.INFO: Extracted packet for processing {"connection_id":231736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abbf"} 
[2026-11-05 18:19:40] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233924352001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793882818000,"timestamp_ms":1793882818000,"timestamp_seconds":1793882818,"priority":1,"record_length":96,"hex_timestamp":"000001a1abbf85d0"} 
[2026-11-05 18:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 18:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-05 18:19:40] 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-05 18:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233924352001,"66":25582,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233924352001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:19:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:19:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233924352001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":231736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:19:40] local.INFO: GPS data processed {"connection_id":231736,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:19:40] local.INFO: Acknowledgment sent {"connection_id":231736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:20:03] local.INFO: TCP Data received {"connection_id":229882,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:20:03] local.INFO: Processing buffer {"connection_id":229882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:20:03] local.INFO: IMEI packet received {"connection_id":229882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":229882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:20:08] local.INFO: TCP Data received {"connection_id":229882,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:20:08] local.INFO: Processing buffer {"connection_id":229882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:20:08] local.INFO: IMEI packet received {"connection_id":229882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":229882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:20:09] local.INFO: TCP Data received {"connection_id":229882,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1abbf85d0012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abbf85d0012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:20:09] local.INFO: Processing buffer {"connection_id":229882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abbf85d0012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:20:09] local.INFO: Packet analysis {"connection_id":229882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abbf"} 
[2026-11-05 18:20:09] local.INFO: Extracted packet for processing {"connection_id":229882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abbf"} 
[2026-11-05 18:20:09] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233924352001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793882818000,"timestamp_ms":1793882818000,"timestamp_seconds":1793882818,"priority":1,"record_length":96,"hex_timestamp":"000001a1abbf85d0"} 
[2026-11-05 18:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 18:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-05 18:20:09] 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-05 18:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:20:09] 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-05 18:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233924352001,"66":25582,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233924352001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:20:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:20:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233924352001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":229882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:20:09] local.INFO: GPS data processed {"connection_id":229882,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:20:09] local.INFO: Acknowledgment sent {"connection_id":229882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:20:40] local.INFO: TCP Data received {"connection_id":229882,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1abbf85d0012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abbf85d0012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:20:40] local.INFO: Processing buffer {"connection_id":229882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abbf85d0012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:20:40] local.INFO: Packet analysis {"connection_id":229882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abbf"} 
[2026-11-05 18:20:40] local.INFO: Extracted packet for processing {"connection_id":229882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abbf"} 
[2026-11-05 18:20:40] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233924352001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793882818000,"timestamp_ms":1793882818000,"timestamp_seconds":1793882818,"priority":1,"record_length":96,"hex_timestamp":"000001a1abbf85d0"} 
[2026-11-05 18:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 18:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-05 18:20:40] 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-05 18:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233924352001,"66":25582,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233924352001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:20:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:20:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233924352001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":229882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:20:40] local.INFO: GPS data processed {"connection_id":229882,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:20:40] local.INFO: Acknowledgment sent {"connection_id":229882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:21:04] local.INFO: TCP Data received {"connection_id":233637,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:21:04] local.INFO: Processing buffer {"connection_id":233637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:21:04] local.INFO: IMEI packet received {"connection_id":233637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":233637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:21:08] local.INFO: TCP Data received {"connection_id":233637,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:21:08] local.INFO: Processing buffer {"connection_id":233637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:21:08] local.INFO: IMEI packet received {"connection_id":233637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":233637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:21:09] local.INFO: TCP Data received {"connection_id":233637,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1abbf85d0012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abbf85d0012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:21:09] local.INFO: Processing buffer {"connection_id":233637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abbf85d0012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:21:09] local.INFO: Packet analysis {"connection_id":233637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abbf"} 
[2026-11-05 18:21:09] local.INFO: Extracted packet for processing {"connection_id":233637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abbf"} 
[2026-11-05 18:21:09] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233924352001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793882818000,"timestamp_ms":1793882818000,"timestamp_seconds":1793882818,"priority":1,"record_length":96,"hex_timestamp":"000001a1abbf85d0"} 
[2026-11-05 18:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 18:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-05 18:21:09] 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-05 18:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:21:09] 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-05 18:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233924352001,"66":25582,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233924352001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:21:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:21:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233924352001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":233637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:21:09] local.INFO: GPS data processed {"connection_id":233637,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:21:09] local.INFO: Acknowledgment sent {"connection_id":233637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:21:40] local.INFO: TCP Data received {"connection_id":233637,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1abbf85d0012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abbf85d0012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:21:40] local.INFO: Processing buffer {"connection_id":233637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abbf85d0012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:21:40] local.INFO: Packet analysis {"connection_id":233637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abbf"} 
[2026-11-05 18:21:40] local.INFO: Extracted packet for processing {"connection_id":233637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abbf"} 
[2026-11-05 18:21:40] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233924352001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793882818000,"timestamp_ms":1793882818000,"timestamp_seconds":1793882818,"priority":1,"record_length":96,"hex_timestamp":"000001a1abbf85d0"} 
[2026-11-05 18:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 18:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-05 18:21:40] 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-05 18:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:21: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-05 18:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233924352001,"66":25582,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233924352001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:21:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:21:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233924352001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":233637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:21:40] local.INFO: GPS data processed {"connection_id":233637,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:21:40] local.INFO: Acknowledgment sent {"connection_id":233637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:22:02] local.INFO: TCP Data received {"connection_id":233638,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:22:02] local.INFO: Processing buffer {"connection_id":233638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:22:02] local.INFO: IMEI packet received {"connection_id":233638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":233638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:22:08] local.INFO: TCP Data received {"connection_id":233638,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:22:08] local.INFO: Processing buffer {"connection_id":233638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:22:08] local.INFO: IMEI packet received {"connection_id":233638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":233638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:22:30] local.INFO: TCP Data received {"connection_id":233638,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a1abbf85d0012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abbf85d0012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:22:30] local.INFO: Processing buffer {"connection_id":233638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abbf85d0012d7fa40005afc848000a001d2d..."} 
[2026-11-05 18:22:30] local.INFO: Packet analysis {"connection_id":233638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abbf"} 
[2026-11-05 18:22:30] local.INFO: Extracted packet for processing {"connection_id":233638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abbf"} 
[2026-11-05 18:22:30] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459233924352001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793882818000,"timestamp_ms":1793882818000,"timestamp_seconds":1793882818,"priority":1,"record_length":96,"hex_timestamp":"000001a1abbf85d0"} 
[2026-11-05 18:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 18:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-05 18:22:30] 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-05 18:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":233638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":233638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":233638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459233924352001,"66":25582,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459233924352001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:22:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:22:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459233924352001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":233638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:22:30] local.INFO: GPS data processed {"connection_id":233638,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:22:30] local.INFO: Acknowledgment sent {"connection_id":233638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:23:08] local.INFO: TCP Data received {"connection_id":233639,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:23:08] local.INFO: Processing buffer {"connection_id":233639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:23:08] local.INFO: IMEI packet received {"connection_id":233639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":233639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:23:13] local.INFO: TCP Data received {"connection_id":233639,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:23:13] local.INFO: Processing buffer {"connection_id":233639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:23:13] local.INFO: IMEI packet received {"connection_id":233639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":233639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:23:14] local.INFO: TCP Data received {"connection_id":233639,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1abc41d98012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abc41d98012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:23:14] local.INFO: Processing buffer {"connection_id":233639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abc41d98012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:23:14] local.INFO: Packet analysis {"connection_id":233639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abc4"} 
[2026-11-05 18:23:14] local.INFO: Extracted packet for processing {"connection_id":233639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abc4"} 
[2026-11-05 18:23:14] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18: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-05 18:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234001408001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793883119000,"timestamp_ms":1793883119000,"timestamp_seconds":1793883119,"priority":1,"record_length":96,"hex_timestamp":"000001a1abc41d98"} 
[2026-11-05 18: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-05 18:23: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-05 18: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 18:23: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-05 18: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-05 18: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-05 18:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":233639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":233639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":233639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234001408001,"66":25538,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234001408001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:23:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:23:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234001408001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":233639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:23:14] local.INFO: GPS data processed {"connection_id":233639,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:23:14] local.INFO: Acknowledgment sent {"connection_id":233639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:23:21] local.INFO: TCP Data received {"connection_id":233639,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1abc41d98012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abc41d98012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:23:21] local.INFO: Processing buffer {"connection_id":233639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abc41d98012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:23:21] local.INFO: Packet analysis {"connection_id":233639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abc4"} 
[2026-11-05 18:23:21] local.INFO: Extracted packet for processing {"connection_id":233639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abc4"} 
[2026-11-05 18:23:21] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18: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-05 18:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234001408001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793883119000,"timestamp_ms":1793883119000,"timestamp_seconds":1793883119,"priority":1,"record_length":96,"hex_timestamp":"000001a1abc41d98"} 
[2026-11-05 18: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-05 18:23: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-05 18: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":238,"data_length":795,"current_offset":136} 
[2026-11-05 18:23:21] 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-05 18: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-05 18: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-05 18:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":233639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":233639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":233639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234001408001,"66":25538,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234001408001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:23:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:23:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234001408001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":233639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:23:21] local.INFO: GPS data processed {"connection_id":233639,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:23:21] local.INFO: Acknowledgment sent {"connection_id":233639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:23:56] local.INFO: TCP Data received {"connection_id":229881,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229881,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:23:56] local.INFO: Processing buffer {"connection_id":229881,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:23:56] local.INFO: IMEI packet received {"connection_id":229881,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 18:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":229881,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:24:03] local.INFO: TCP Data received {"connection_id":233640,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:24:03] local.INFO: Processing buffer {"connection_id":233640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:24:03] local.INFO: IMEI packet received {"connection_id":233640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":233640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:24:08] local.INFO: TCP Data received {"connection_id":233640,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:24:08] local.INFO: Processing buffer {"connection_id":233640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:24:08] local.INFO: IMEI packet received {"connection_id":233640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":233640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:24:09] local.INFO: TCP Data received {"connection_id":233640,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1abc41d98012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abc41d98012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:24:09] local.INFO: Processing buffer {"connection_id":233640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abc41d98012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:24:09] local.INFO: Packet analysis {"connection_id":233640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abc4"} 
[2026-11-05 18:24:09] local.INFO: Extracted packet for processing {"connection_id":233640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abc4"} 
[2026-11-05 18:24:09] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234001408001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793883119000,"timestamp_ms":1793883119000,"timestamp_seconds":1793883119,"priority":1,"record_length":96,"hex_timestamp":"000001a1abc41d98"} 
[2026-11-05 18:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 18:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 18:24:09] 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-05 18:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234001408001,"66":25538,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234001408001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:24:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:24:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234001408001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":233640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:24:09] local.INFO: GPS data processed {"connection_id":233640,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:24:09] local.INFO: Acknowledgment sent {"connection_id":233640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:24:36] local.INFO: TCP Data received {"connection_id":231737,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231737,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:24:36] local.INFO: Processing buffer {"connection_id":231737,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:24:36] local.INFO: IMEI packet received {"connection_id":231737,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 18:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":231737,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:24:40] local.INFO: TCP Data received {"connection_id":233640,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1abc41d98012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abc41d98012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:24:40] local.INFO: Processing buffer {"connection_id":233640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abc41d98012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:24:40] local.INFO: Packet analysis {"connection_id":233640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abc4"} 
[2026-11-05 18:24:40] local.INFO: Extracted packet for processing {"connection_id":233640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abc4"} 
[2026-11-05 18:24:40] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234001408001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793883119000,"timestamp_ms":1793883119000,"timestamp_seconds":1793883119,"priority":1,"record_length":96,"hex_timestamp":"000001a1abc41d98"} 
[2026-11-05 18:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 18:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 18:24:40] 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-05 18:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:24: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-05 18:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234001408001,"66":25538,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234001408001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:24:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:24:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234001408001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":233640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:24:40] local.INFO: GPS data processed {"connection_id":233640,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:24:40] local.INFO: Acknowledgment sent {"connection_id":233640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:25:03] local.INFO: TCP Data received {"connection_id":230405,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:25:03] local.INFO: Processing buffer {"connection_id":230405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:25:03] local.INFO: IMEI packet received {"connection_id":230405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":230405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:25:08] local.INFO: TCP Data received {"connection_id":230405,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:25:08] local.INFO: Processing buffer {"connection_id":230405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:25:08] local.INFO: IMEI packet received {"connection_id":230405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":230405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:25:08] local.INFO: TCP Data received {"connection_id":230405,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1abc41d98012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abc41d98012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:25:08] local.INFO: Processing buffer {"connection_id":230405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abc41d98012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:25:08] local.INFO: Packet analysis {"connection_id":230405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abc4"} 
[2026-11-05 18:25:08] local.INFO: Extracted packet for processing {"connection_id":230405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abc4"} 
[2026-11-05 18:25:08] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234001408001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793883119000,"timestamp_ms":1793883119000,"timestamp_seconds":1793883119,"priority":1,"record_length":96,"hex_timestamp":"000001a1abc41d98"} 
[2026-11-05 18:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 18:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 18:25:08] 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-05 18:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":230405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":230405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":230405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234001408001,"66":25538,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234001408001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:25:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:25:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234001408001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:25:08] 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":64274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:25:08] local.INFO: GPS data processed {"connection_id":230405,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:25:08] local.INFO: Acknowledgment sent {"connection_id":230405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:25:13] local.INFO: TCP Data received {"connection_id":230405,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1abc41d98012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abc41d98012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:25:13] local.INFO: Processing buffer {"connection_id":230405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abc41d98012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:25:13] local.INFO: Packet analysis {"connection_id":230405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abc4"} 
[2026-11-05 18:25:13] local.INFO: Extracted packet for processing {"connection_id":230405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abc4"} 
[2026-11-05 18:25:13] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18: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-05 18:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234001408001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793883119000,"timestamp_ms":1793883119000,"timestamp_seconds":1793883119,"priority":1,"record_length":96,"hex_timestamp":"000001a1abc41d98"} 
[2026-11-05 18: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-05 18:25: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-05 18: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":238,"data_length":795,"current_offset":136} 
[2026-11-05 18:25: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-05 18: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-05 18: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-05 18:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18: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-05 18:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234001408001,"66":25538,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234001408001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:25:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:25:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234001408001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:25:13] 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":64275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:25:13] local.INFO: GPS data processed {"connection_id":230405,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:25:13] local.INFO: Acknowledgment sent {"connection_id":230405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:25:44] local.INFO: TCP Data received {"connection_id":230405,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1abc41d98012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abc41d98012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:25:44] local.INFO: Processing buffer {"connection_id":230405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abc41d98012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:25:44] local.INFO: Packet analysis {"connection_id":230405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abc4"} 
[2026-11-05 18:25:44] local.INFO: Extracted packet for processing {"connection_id":230405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abc4"} 
[2026-11-05 18:25:44] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234001408001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793883119000,"timestamp_ms":1793883119000,"timestamp_seconds":1793883119,"priority":1,"record_length":96,"hex_timestamp":"000001a1abc41d98"} 
[2026-11-05 18:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:25: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-05 18:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 18:25: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-05 18:25:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234001408001,"66":25538,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234001408001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:25:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:25:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234001408001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:25:44] 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":64276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:25:44] local.INFO: GPS data processed {"connection_id":230405,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:25:44] local.INFO: Acknowledgment sent {"connection_id":230405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:26:03] local.INFO: TCP Data received {"connection_id":230407,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:26:03] local.INFO: Processing buffer {"connection_id":230407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:26:03] local.INFO: IMEI packet received {"connection_id":230407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":230407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:26:08] local.INFO: TCP Data received {"connection_id":230407,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:26:08] local.INFO: Processing buffer {"connection_id":230407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:26:08] local.INFO: IMEI packet received {"connection_id":230407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":230407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:26:11] local.INFO: TCP Data received {"connection_id":230407,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1abc41d98012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abc41d98012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:26:11] local.INFO: Processing buffer {"connection_id":230407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abc41d98012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:26:11] local.INFO: Packet analysis {"connection_id":230407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abc4"} 
[2026-11-05 18:26:11] local.INFO: Extracted packet for processing {"connection_id":230407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abc4"} 
[2026-11-05 18:26:11] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234001408001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793883119000,"timestamp_ms":1793883119000,"timestamp_seconds":1793883119,"priority":1,"record_length":96,"hex_timestamp":"000001a1abc41d98"} 
[2026-11-05 18:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:26: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-05 18:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 18:26:11] 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-05 18:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":230407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":230407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":230407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:26: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-05 18:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234001408001,"66":25538,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234001408001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:26:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:26:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234001408001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:26:11] 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":64277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:26:11] local.INFO: GPS data processed {"connection_id":230407,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:26:11] local.INFO: Acknowledgment sent {"connection_id":230407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:26:42] local.INFO: TCP Data received {"connection_id":230407,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1abc41d98012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abc41d98012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:26:42] local.INFO: Processing buffer {"connection_id":230407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abc41d98012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:26:42] local.INFO: Packet analysis {"connection_id":230407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abc4"} 
[2026-11-05 18:26:42] local.INFO: Extracted packet for processing {"connection_id":230407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abc4"} 
[2026-11-05 18:26:42] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18: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-05 18:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234001408001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793883119000,"timestamp_ms":1793883119000,"timestamp_seconds":1793883119,"priority":1,"record_length":96,"hex_timestamp":"000001a1abc41d98"} 
[2026-11-05 18: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-05 18: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-05 18: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 18:26:42] 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-05 18: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-05 18: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-05 18:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234001408001,"66":25538,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234001408001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:26:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:26:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234001408001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:26:42] 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":64278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:26:42] local.INFO: GPS data processed {"connection_id":230407,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:26:42] local.INFO: Acknowledgment sent {"connection_id":230407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:27:02] local.INFO: TCP Data received {"connection_id":233641,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:27:02] local.INFO: Processing buffer {"connection_id":233641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:27:02] local.INFO: IMEI packet received {"connection_id":233641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":233641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:27:08] local.INFO: TCP Data received {"connection_id":233641,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:27:08] local.INFO: Processing buffer {"connection_id":233641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:27:08] local.INFO: IMEI packet received {"connection_id":233641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":233641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:27:09] local.INFO: TCP Data received {"connection_id":233641,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1abc41d98012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abc41d98012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:27:09] local.INFO: Processing buffer {"connection_id":233641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abc41d98012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:27:09] local.INFO: Packet analysis {"connection_id":233641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abc4"} 
[2026-11-05 18:27:09] local.INFO: Extracted packet for processing {"connection_id":233641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abc4"} 
[2026-11-05 18:27:09] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:27: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-05 18:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234001408001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793883119000,"timestamp_ms":1793883119000,"timestamp_seconds":1793883119,"priority":1,"record_length":96,"hex_timestamp":"000001a1abc41d98"} 
[2026-11-05 18:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 18:27: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":238,"data_length":795,"current_offset":136} 
[2026-11-05 18:27:09] 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-05 18:27: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-05 18:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234001408001,"66":25538,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234001408001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:27:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:27:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234001408001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":233641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:27:09] local.INFO: GPS data processed {"connection_id":233641,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:27:09] local.INFO: Acknowledgment sent {"connection_id":233641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:27:40] local.INFO: TCP Data received {"connection_id":233641,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1abc8b560012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abc8b560012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:27:40] local.INFO: Processing buffer {"connection_id":233641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abc8b560012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:27:40] local.INFO: Packet analysis {"connection_id":233641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abc8"} 
[2026-11-05 18:27:40] local.INFO: Extracted packet for processing {"connection_id":233641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abc8"} 
[2026-11-05 18:27:40] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234078464001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793883420000,"timestamp_ms":1793883420000,"timestamp_seconds":1793883420,"priority":1,"record_length":96,"hex_timestamp":"000001a1abc8b560"} 
[2026-11-05 18:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 18:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-05 18:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:27: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-05 18:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234078464001,"66":25462,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234078464001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:27:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:27:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234078464001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":233641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:27:40] local.INFO: GPS data processed {"connection_id":233641,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:27:40] local.INFO: Acknowledgment sent {"connection_id":233641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:28:08] local.INFO: TCP Data received {"connection_id":229883,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:28:08] local.INFO: Processing buffer {"connection_id":229883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:28:08] local.INFO: IMEI packet received {"connection_id":229883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":229883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:28:16] local.INFO: TCP Data received {"connection_id":229883,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:28:16] local.INFO: Processing buffer {"connection_id":229883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:28:16] local.INFO: IMEI packet received {"connection_id":229883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":229883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:28:19] local.INFO: TCP Data received {"connection_id":229883,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1abc8b560012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abc8b560012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:28:19] local.INFO: Processing buffer {"connection_id":229883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abc8b560012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:28:19] local.INFO: Packet analysis {"connection_id":229883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abc8"} 
[2026-11-05 18:28:19] local.INFO: Extracted packet for processing {"connection_id":229883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abc8"} 
[2026-11-05 18:28:19] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18: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-05 18:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234078464001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793883420000,"timestamp_ms":1793883420000,"timestamp_seconds":1793883420,"priority":1,"record_length":96,"hex_timestamp":"000001a1abc8b560"} 
[2026-11-05 18: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-05 18:28: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-05 18: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-05 18:28:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18: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-05 18: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-05 18:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:28:19] 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-05 18:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234078464001,"66":25462,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234078464001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:28:19] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:28:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234078464001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":229883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:28:19] local.INFO: GPS data processed {"connection_id":229883,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:28:19] local.INFO: Acknowledgment sent {"connection_id":229883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:28:20] local.INFO: TCP Data received {"connection_id":229883,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1abc8b560012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abc8b560012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:28:20] local.INFO: Processing buffer {"connection_id":229883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abc8b560012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:28:20] local.INFO: Packet analysis {"connection_id":229883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abc8"} 
[2026-11-05 18:28:20] local.INFO: Extracted packet for processing {"connection_id":229883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abc8"} 
[2026-11-05 18:28:20] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18: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-05 18:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234078464001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793883420000,"timestamp_ms":1793883420000,"timestamp_seconds":1793883420,"priority":1,"record_length":96,"hex_timestamp":"000001a1abc8b560"} 
[2026-11-05 18: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-05 18:28: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-05 18: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-05 18:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18: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-05 18: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-05 18:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:28:20] 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-05 18:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234078464001,"66":25462,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234078464001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:28:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:28:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234078464001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":229883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:28:20] local.INFO: GPS data processed {"connection_id":229883,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:28:20] local.INFO: Acknowledgment sent {"connection_id":229883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:29:03] local.INFO: TCP Data received {"connection_id":231738,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:29:03] local.INFO: Processing buffer {"connection_id":231738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:29:03] local.INFO: IMEI packet received {"connection_id":231738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":231738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:29:08] local.INFO: TCP Data received {"connection_id":231738,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:29:08] local.INFO: Processing buffer {"connection_id":231738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:29:08] local.INFO: IMEI packet received {"connection_id":231738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":231738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:29:09] local.INFO: TCP Data received {"connection_id":231738,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1abc8b560012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abc8b560012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:29:09] local.INFO: Processing buffer {"connection_id":231738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abc8b560012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:29:09] local.INFO: Packet analysis {"connection_id":231738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abc8"} 
[2026-11-05 18:29:09] local.INFO: Extracted packet for processing {"connection_id":231738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abc8"} 
[2026-11-05 18:29:09] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234078464001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793883420000,"timestamp_ms":1793883420000,"timestamp_seconds":1793883420,"priority":1,"record_length":96,"hex_timestamp":"000001a1abc8b560"} 
[2026-11-05 18:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 18:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-05 18:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234078464001,"66":25462,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234078464001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:29:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:29:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234078464001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":231738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:29:09] local.INFO: GPS data processed {"connection_id":231738,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:29:09] local.INFO: Acknowledgment sent {"connection_id":231738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:29:40] local.INFO: TCP Data received {"connection_id":231738,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1abc8b560012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abc8b560012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:29:40] local.INFO: Processing buffer {"connection_id":231738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abc8b560012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:29:40] local.INFO: Packet analysis {"connection_id":231738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abc8"} 
[2026-11-05 18:29:40] local.INFO: Extracted packet for processing {"connection_id":231738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abc8"} 
[2026-11-05 18:29:40] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234078464001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793883420000,"timestamp_ms":1793883420000,"timestamp_seconds":1793883420,"priority":1,"record_length":96,"hex_timestamp":"000001a1abc8b560"} 
[2026-11-05 18:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 18:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-05 18:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234078464001,"66":25462,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234078464001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:29:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234078464001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":231738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:29:40] local.INFO: GPS data processed {"connection_id":231738,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:29:40] local.INFO: Acknowledgment sent {"connection_id":231738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:30:03] local.INFO: TCP Data received {"connection_id":231739,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:30:03] local.INFO: Processing buffer {"connection_id":231739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:30:03] local.INFO: IMEI packet received {"connection_id":231739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":231739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:30:06] local.INFO: TCP Data received {"connection_id":229884,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229884,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:30:06] local.INFO: Processing buffer {"connection_id":229884,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:30:06] local.INFO: IMEI packet received {"connection_id":229884,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 18:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":229884,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:30:08] local.INFO: TCP Data received {"connection_id":231739,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:30:08] local.INFO: Processing buffer {"connection_id":231739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:30:08] local.INFO: IMEI packet received {"connection_id":231739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":231739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:30:09] local.INFO: TCP Data received {"connection_id":231739,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1abc8b560012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abc8b560012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:30:09] local.INFO: Processing buffer {"connection_id":231739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abc8b560012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:30:09] local.INFO: Packet analysis {"connection_id":231739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abc8"} 
[2026-11-05 18:30:09] local.INFO: Extracted packet for processing {"connection_id":231739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abc8"} 
[2026-11-05 18:30:09] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18: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-05 18:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234078464001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793883420000,"timestamp_ms":1793883420000,"timestamp_seconds":1793883420,"priority":1,"record_length":96,"hex_timestamp":"000001a1abc8b560"} 
[2026-11-05 18: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-05 18:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 18: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-05 18:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18: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-05 18: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-05 18:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:30:09] local.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-05 18:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234078464001,"66":25462,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234078464001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:30:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:30:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234078464001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":231739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:30:09] local.INFO: GPS data processed {"connection_id":231739,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:30:09] local.INFO: Acknowledgment sent {"connection_id":231739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:30:40] local.INFO: TCP Data received {"connection_id":231739,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1abc8b560012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abc8b560012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:30:40] local.INFO: Processing buffer {"connection_id":231739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abc8b560012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:30:40] local.INFO: Packet analysis {"connection_id":231739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abc8"} 
[2026-11-05 18:30:40] local.INFO: Extracted packet for processing {"connection_id":231739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abc8"} 
[2026-11-05 18:30:40] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234078464001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793883420000,"timestamp_ms":1793883420000,"timestamp_seconds":1793883420,"priority":1,"record_length":96,"hex_timestamp":"000001a1abc8b560"} 
[2026-11-05 18:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 18:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-05 18:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234078464001,"66":25462,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234078464001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:30:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:30:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234078464001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":231739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:30:40] local.INFO: GPS data processed {"connection_id":231739,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:30:40] local.INFO: Acknowledgment sent {"connection_id":231739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:31:02] local.INFO: TCP Data received {"connection_id":229885,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:31:02] local.INFO: Processing buffer {"connection_id":229885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:31:02] local.INFO: IMEI packet received {"connection_id":229885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":229885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:31:08] local.INFO: TCP Data received {"connection_id":229885,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:31:08] local.INFO: Processing buffer {"connection_id":229885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:31:08] local.INFO: IMEI packet received {"connection_id":229885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":229885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:31:08] local.INFO: TCP Data received {"connection_id":229885,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1abc8b560012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abc8b560012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:31:09] local.INFO: Processing buffer {"connection_id":229885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abc8b560012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:31:09] local.INFO: Packet analysis {"connection_id":229885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abc8"} 
[2026-11-05 18:31:09] local.INFO: Extracted packet for processing {"connection_id":229885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abc8"} 
[2026-11-05 18:31:09] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234078464001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793883420000,"timestamp_ms":1793883420000,"timestamp_seconds":1793883420,"priority":1,"record_length":96,"hex_timestamp":"000001a1abc8b560"} 
[2026-11-05 18:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 18:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-05 18:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:31:09] 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-05 18:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234078464001,"66":25462,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234078464001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:31:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:31:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234078464001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":229885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:31:09] local.INFO: GPS data processed {"connection_id":229885,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:31:09] local.INFO: Acknowledgment sent {"connection_id":229885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:31:40] local.INFO: TCP Data received {"connection_id":229885,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1abc8b560012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abc8b560012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:31:40] local.INFO: Processing buffer {"connection_id":229885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abc8b560012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:31:40] local.INFO: Packet analysis {"connection_id":229885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abc8"} 
[2026-11-05 18:31:40] local.INFO: Extracted packet for processing {"connection_id":229885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abc8"} 
[2026-11-05 18:31:40] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234078464001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793883420000,"timestamp_ms":1793883420000,"timestamp_seconds":1793883420,"priority":1,"record_length":96,"hex_timestamp":"000001a1abc8b560"} 
[2026-11-05 18:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 18:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-05 18:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234078464001,"66":25462,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234078464001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:31:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:31:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234078464001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":229885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:31:40] local.INFO: GPS data processed {"connection_id":229885,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:31:40] local.INFO: Acknowledgment sent {"connection_id":229885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:32:02] local.INFO: TCP Data received {"connection_id":233642,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:32:02] local.INFO: Processing buffer {"connection_id":233642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:32:02] local.INFO: IMEI packet received {"connection_id":233642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":233642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:32:08] local.INFO: TCP Data received {"connection_id":233642,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:32:08] local.INFO: Processing buffer {"connection_id":233642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:32:08] local.INFO: IMEI packet received {"connection_id":233642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":233642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:32:09] local.INFO: TCP Data received {"connection_id":233642,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1abc8b560012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abc8b560012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:32:09] local.INFO: Processing buffer {"connection_id":233642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abc8b560012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:32:09] local.INFO: Packet analysis {"connection_id":233642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abc8"} 
[2026-11-05 18:32:09] local.INFO: Extracted packet for processing {"connection_id":233642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abc8"} 
[2026-11-05 18:32:09] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18: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-05 18:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234078464001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793883420000,"timestamp_ms":1793883420000,"timestamp_seconds":1793883420,"priority":1,"record_length":96,"hex_timestamp":"000001a1abc8b560"} 
[2026-11-05 18: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-05 18:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 18: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-05 18:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18: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-05 18: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-05 18:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234078464001,"66":25462,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234078464001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:32:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:32:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234078464001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":233642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:32:09] local.INFO: GPS data processed {"connection_id":233642,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:32:09] local.INFO: Acknowledgment sent {"connection_id":233642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:32:40] local.INFO: TCP Data received {"connection_id":233642,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:32:40] local.INFO: Processing buffer {"connection_id":233642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:32:40] local.INFO: Packet analysis {"connection_id":233642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abcd"} 
[2026-11-05 18:32:40] local.INFO: Extracted packet for processing {"connection_id":233642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abcd"} 
[2026-11-05 18:32:40] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234155520001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793883721000,"timestamp_ms":1793883721000,"timestamp_seconds":1793883721,"priority":1,"record_length":96,"hex_timestamp":"000001a1abcd4d28"} 
[2026-11-05 18:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 18:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 18:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:32: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-05 18:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234155520001,"66":25430,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234155520001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:32:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:32:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234155520001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":233642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:32:40] local.INFO: GPS data processed {"connection_id":233642,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:32:40] local.INFO: Acknowledgment sent {"connection_id":233642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:33:08] local.INFO: TCP Data received {"connection_id":230408,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:33:08] local.INFO: Processing buffer {"connection_id":230408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:33:08] local.INFO: IMEI packet received {"connection_id":230408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":230408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:33:13] local.INFO: TCP Data received {"connection_id":230408,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:33:13] local.INFO: Processing buffer {"connection_id":230408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:33:13] local.INFO: IMEI packet received {"connection_id":230408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":230408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:33:14] local.INFO: TCP Data received {"connection_id":230408,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:33:14] local.INFO: Processing buffer {"connection_id":230408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:33:14] local.INFO: Packet analysis {"connection_id":230408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abcd"} 
[2026-11-05 18:33:14] local.INFO: Extracted packet for processing {"connection_id":230408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abcd"} 
[2026-11-05 18:33:14] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234155520001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793883721000,"timestamp_ms":1793883721000,"timestamp_seconds":1793883721,"priority":1,"record_length":96,"hex_timestamp":"000001a1abcd4d28"} 
[2026-11-05 18:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:33: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-05 18:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 18:33:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234155520001,"66":25430,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234155520001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:33:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:33:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234155520001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:33:14] 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":64291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:33:14] local.INFO: GPS data processed {"connection_id":230408,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:33:14] local.INFO: Acknowledgment sent {"connection_id":230408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:33:18] local.INFO: TCP Data received {"connection_id":230408,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:33:18] local.INFO: Processing buffer {"connection_id":230408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:33:18] local.INFO: Packet analysis {"connection_id":230408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abcd"} 
[2026-11-05 18:33:18] local.INFO: Extracted packet for processing {"connection_id":230408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abcd"} 
[2026-11-05 18:33:18] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234155520001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793883721000,"timestamp_ms":1793883721000,"timestamp_seconds":1793883721,"priority":1,"record_length":96,"hex_timestamp":"000001a1abcd4d28"} 
[2026-11-05 18:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:33: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-05 18:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 18:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234155520001,"66":25430,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234155520001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:33:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:33:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234155520001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:33:18] 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":64292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:33:18] local.INFO: GPS data processed {"connection_id":230408,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:33:18] local.INFO: Acknowledgment sent {"connection_id":230408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:34:03] local.INFO: TCP Data received {"connection_id":231740,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:34:03] local.INFO: Processing buffer {"connection_id":231740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:34:03] local.INFO: IMEI packet received {"connection_id":231740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":231740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:34:08] local.INFO: TCP Data received {"connection_id":231740,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:34:08] local.INFO: Processing buffer {"connection_id":231740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:34:08] local.INFO: IMEI packet received {"connection_id":231740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":231740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:34:09] local.INFO: TCP Data received {"connection_id":231740,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:34:09] local.INFO: Processing buffer {"connection_id":231740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:34:09] local.INFO: Packet analysis {"connection_id":231740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abcd"} 
[2026-11-05 18:34:09] local.INFO: Extracted packet for processing {"connection_id":231740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abcd"} 
[2026-11-05 18:34:09] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234155520001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793883721000,"timestamp_ms":1793883721000,"timestamp_seconds":1793883721,"priority":1,"record_length":96,"hex_timestamp":"000001a1abcd4d28"} 
[2026-11-05 18:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 18:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 18:34:09] 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-05 18:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:34:09] local.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-05 18:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234155520001,"66":25430,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234155520001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:34:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:34:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234155520001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":231740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:34:09] local.INFO: GPS data processed {"connection_id":231740,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:34:09] local.INFO: Acknowledgment sent {"connection_id":231740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:34:40] local.INFO: TCP Data received {"connection_id":231740,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:34:40] local.INFO: Processing buffer {"connection_id":231740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:34:40] local.INFO: Packet analysis {"connection_id":231740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abcd"} 
[2026-11-05 18:34:40] local.INFO: Extracted packet for processing {"connection_id":231740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abcd"} 
[2026-11-05 18:34:40] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234155520001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793883721000,"timestamp_ms":1793883721000,"timestamp_seconds":1793883721,"priority":1,"record_length":96,"hex_timestamp":"000001a1abcd4d28"} 
[2026-11-05 18:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 18:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 18:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234155520001,"66":25430,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234155520001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:34:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:34:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234155520001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":231740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:34:40] local.INFO: GPS data processed {"connection_id":231740,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:34:40] local.INFO: Acknowledgment sent {"connection_id":231740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:35:03] local.INFO: TCP Data received {"connection_id":231741,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:35:03] local.INFO: Processing buffer {"connection_id":231741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:35:03] local.INFO: IMEI packet received {"connection_id":231741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":231741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:35:08] local.INFO: TCP Data received {"connection_id":231741,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:35:08] local.INFO: Processing buffer {"connection_id":231741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:35:08] local.INFO: IMEI packet received {"connection_id":231741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":231741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:35:09] local.INFO: TCP Data received {"connection_id":231741,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:35:09] local.INFO: Processing buffer {"connection_id":231741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:35:09] local.INFO: Packet analysis {"connection_id":231741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abcd"} 
[2026-11-05 18:35:09] local.INFO: Extracted packet for processing {"connection_id":231741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abcd"} 
[2026-11-05 18:35:09] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234155520001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793883721000,"timestamp_ms":1793883721000,"timestamp_seconds":1793883721,"priority":1,"record_length":96,"hex_timestamp":"000001a1abcd4d28"} 
[2026-11-05 18:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 18:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 18:35:09] 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-05 18:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:35:09] 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-05 18:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234155520001,"66":25430,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234155520001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:35:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:35:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234155520001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":231741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:35:09] local.INFO: GPS data processed {"connection_id":231741,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:35:09] local.INFO: Acknowledgment sent {"connection_id":231741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:35:40] local.INFO: TCP Data received {"connection_id":231741,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:35:40] local.INFO: Processing buffer {"connection_id":231741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:35:40] local.INFO: Packet analysis {"connection_id":231741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abcd"} 
[2026-11-05 18:35:40] local.INFO: Extracted packet for processing {"connection_id":231741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abcd"} 
[2026-11-05 18:35:40] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234155520001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793883721000,"timestamp_ms":1793883721000,"timestamp_seconds":1793883721,"priority":1,"record_length":96,"hex_timestamp":"000001a1abcd4d28"} 
[2026-11-05 18:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 18:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 18:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234155520001,"66":25430,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234155520001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:35:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:35:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234155520001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":231741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:35:40] local.INFO: GPS data processed {"connection_id":231741,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:35:40] local.INFO: Acknowledgment sent {"connection_id":231741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:36:03] local.INFO: TCP Data received {"connection_id":231742,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:36:03] local.INFO: Processing buffer {"connection_id":231742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:36:03] local.INFO: IMEI packet received {"connection_id":231742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":231742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:36:08] local.INFO: TCP Data received {"connection_id":231742,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:36:08] local.INFO: Processing buffer {"connection_id":231742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:36:08] local.INFO: IMEI packet received {"connection_id":231742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":231742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:36:08] local.INFO: TCP Data received {"connection_id":231742,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:36:08] local.INFO: Processing buffer {"connection_id":231742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:36:08] local.INFO: Packet analysis {"connection_id":231742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abcd"} 
[2026-11-05 18:36:08] local.INFO: Extracted packet for processing {"connection_id":231742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abcd"} 
[2026-11-05 18:36:08] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18: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-05 18:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234155520001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793883721000,"timestamp_ms":1793883721000,"timestamp_seconds":1793883721,"priority":1,"record_length":96,"hex_timestamp":"000001a1abcd4d28"} 
[2026-11-05 18: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-05 18:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 18: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 18:36:08] 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-05 18: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-05 18: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-05 18:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":231742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":231742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":231742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:36:08] 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-05 18:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234155520001,"66":25430,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234155520001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:36:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:36:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234155520001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":231742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:36:08] local.INFO: GPS data processed {"connection_id":231742,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:36:08] local.INFO: Acknowledgment sent {"connection_id":231742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:36:39] local.INFO: TCP Data received {"connection_id":231742,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:36:39] local.INFO: Processing buffer {"connection_id":231742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:36:39] local.INFO: Packet analysis {"connection_id":231742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abcd"} 
[2026-11-05 18:36:39] local.INFO: Extracted packet for processing {"connection_id":231742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abcd"} 
[2026-11-05 18:36:39] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234155520001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793883721000,"timestamp_ms":1793883721000,"timestamp_seconds":1793883721,"priority":1,"record_length":96,"hex_timestamp":"000001a1abcd4d28"} 
[2026-11-05 18:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 18:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 18:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":231742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":231742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":231742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234155520001,"66":25430,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234155520001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:36:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:36:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234155520001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":231742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:36:39] local.INFO: GPS data processed {"connection_id":231742,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:36:39] local.INFO: Acknowledgment sent {"connection_id":231742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:37:02] local.INFO: TCP Data received {"connection_id":229886,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:37:02] local.INFO: Processing buffer {"connection_id":229886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:37:02] local.INFO: IMEI packet received {"connection_id":229886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":229886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:37:08] local.INFO: TCP Data received {"connection_id":229886,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:37:08] local.INFO: Processing buffer {"connection_id":229886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:37:08] local.INFO: IMEI packet received {"connection_id":229886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":229886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:37:09] local.INFO: TCP Data received {"connection_id":229886,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:37:09] local.INFO: Processing buffer {"connection_id":229886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:37:09] local.INFO: Packet analysis {"connection_id":229886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abcd"} 
[2026-11-05 18:37:09] local.INFO: Extracted packet for processing {"connection_id":229886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abcd"} 
[2026-11-05 18:37:09] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18: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-05 18:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234155520001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793883721000,"timestamp_ms":1793883721000,"timestamp_seconds":1793883721,"priority":1,"record_length":96,"hex_timestamp":"000001a1abcd4d28"} 
[2026-11-05 18: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-05 18:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 18: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 18:37:09] 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-05 18: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-05 18: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-05 18:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:37:09] 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-05 18:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234155520001,"66":25430,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234155520001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:37:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:37:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234155520001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":229886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:37:09] local.INFO: GPS data processed {"connection_id":229886,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:37:09] local.INFO: Acknowledgment sent {"connection_id":229886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:37:36] local.INFO: TCP Data received {"connection_id":233643,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233643,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:37:36] local.INFO: Processing buffer {"connection_id":233643,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:37:36] local.INFO: IMEI packet received {"connection_id":233643,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 18:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":233643,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:37:40] local.INFO: TCP Data received {"connection_id":229886,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:37:40] local.INFO: Processing buffer {"connection_id":229886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abcd4d28012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:37:40] local.INFO: Packet analysis {"connection_id":229886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abcd"} 
[2026-11-05 18:37:40] local.INFO: Extracted packet for processing {"connection_id":229886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abcd"} 
[2026-11-05 18:37:40] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234155520001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793883721000,"timestamp_ms":1793883721000,"timestamp_seconds":1793883721,"priority":1,"record_length":96,"hex_timestamp":"000001a1abcd4d28"} 
[2026-11-05 18:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 18:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 18:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234155520001,"66":25430,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234155520001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:37:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:37:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234155520001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":229886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:37:40] local.INFO: GPS data processed {"connection_id":229886,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:37:40] local.INFO: Acknowledgment sent {"connection_id":229886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:38:08] local.INFO: TCP Data received {"connection_id":229887,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:38:08] local.INFO: Processing buffer {"connection_id":229887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:38:08] local.INFO: IMEI packet received {"connection_id":229887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":229887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:38:13] local.INFO: TCP Data received {"connection_id":229887,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:38:13] local.INFO: Processing buffer {"connection_id":229887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:38:13] local.INFO: IMEI packet received {"connection_id":229887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":229887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:38:13] local.INFO: TCP Data received {"connection_id":229887,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1abd1e4f0012d7fa40005afc848000a001d2c..."} 
[2026-11-05 18:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abd1e4f0012d7fa40005afc848000a001d2c..."} 
[2026-11-05 18:38:13] local.INFO: Processing buffer {"connection_id":229887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abd1e4f0012d7fa40005afc848000a001d2c..."} 
[2026-11-05 18:38:13] local.INFO: Packet analysis {"connection_id":229887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abd1"} 
[2026-11-05 18:38:13] local.INFO: Extracted packet for processing {"connection_id":229887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abd1"} 
[2026-11-05 18:38:13] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18: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-05 18:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234232576001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793884022000,"timestamp_ms":1793884022000,"timestamp_seconds":1793884022,"priority":1,"record_length":96,"hex_timestamp":"000001a1abd1e4f0"} 
[2026-11-05 18: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-05 18:38: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-05 18: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":86,"data_length":795,"current_offset":136} 
[2026-11-05 18:38: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-05 18: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-05 18: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-05 18:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234232576001,"66":25397,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234232576001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:38:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:38:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234232576001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":229887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:38:13] local.INFO: GPS data processed {"connection_id":229887,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:38:13] local.INFO: Acknowledgment sent {"connection_id":229887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:38:18] local.INFO: TCP Data received {"connection_id":229887,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1abd1e4f0012d7fa40005afc848000a001d2c..."} 
[2026-11-05 18:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abd1e4f0012d7fa40005afc848000a001d2c..."} 
[2026-11-05 18:38:18] local.INFO: Processing buffer {"connection_id":229887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abd1e4f0012d7fa40005afc848000a001d2c..."} 
[2026-11-05 18:38:18] local.INFO: Packet analysis {"connection_id":229887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abd1"} 
[2026-11-05 18:38:18] local.INFO: Extracted packet for processing {"connection_id":229887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abd1"} 
[2026-11-05 18:38:18] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234232576001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793884022000,"timestamp_ms":1793884022000,"timestamp_seconds":1793884022,"priority":1,"record_length":96,"hex_timestamp":"000001a1abd1e4f0"} 
[2026-11-05 18:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:38: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-05 18:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 18:38: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-05 18:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234232576001,"66":25397,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234232576001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:38:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:38:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234232576001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":229887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:38:18] local.INFO: GPS data processed {"connection_id":229887,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:38:18] local.INFO: Acknowledgment sent {"connection_id":229887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:39:03] local.INFO: TCP Data received {"connection_id":230409,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:39:03] local.INFO: Processing buffer {"connection_id":230409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:39:03] local.INFO: IMEI packet received {"connection_id":230409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":230409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:39:08] local.INFO: TCP Data received {"connection_id":230409,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:39:08] local.INFO: Processing buffer {"connection_id":230409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:39:08] local.INFO: IMEI packet received {"connection_id":230409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":230409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:39:08] local.INFO: TCP Data received {"connection_id":230409,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1abd1e4f0012d7fa40005afc848000a001d2c..."} 
[2026-11-05 18:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abd1e4f0012d7fa40005afc848000a001d2c..."} 
[2026-11-05 18:39:08] local.INFO: Processing buffer {"connection_id":230409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abd1e4f0012d7fa40005afc848000a001d2c..."} 
[2026-11-05 18:39:08] local.INFO: Packet analysis {"connection_id":230409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abd1"} 
[2026-11-05 18:39:08] local.INFO: Extracted packet for processing {"connection_id":230409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abd1"} 
[2026-11-05 18:39:08] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234232576001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793884022000,"timestamp_ms":1793884022000,"timestamp_seconds":1793884022,"priority":1,"record_length":96,"hex_timestamp":"000001a1abd1e4f0"} 
[2026-11-05 18:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 18:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 18:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":230409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":230409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":230409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:39:08] local.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-05 18:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234232576001,"66":25397,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234232576001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:39:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:39:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234232576001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:39:08] 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":64303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:39:08] local.INFO: GPS data processed {"connection_id":230409,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:39:08] local.INFO: Acknowledgment sent {"connection_id":230409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:39:39] local.INFO: TCP Data received {"connection_id":230409,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1abd1e4f0012d7fa40005afc848000a001d2c..."} 
[2026-11-05 18:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abd1e4f0012d7fa40005afc848000a001d2c..."} 
[2026-11-05 18:39:39] local.INFO: Processing buffer {"connection_id":230409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abd1e4f0012d7fa40005afc848000a001d2c..."} 
[2026-11-05 18:39:39] local.INFO: Packet analysis {"connection_id":230409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abd1"} 
[2026-11-05 18:39:39] local.INFO: Extracted packet for processing {"connection_id":230409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abd1"} 
[2026-11-05 18:39:39] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234232576001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793884022000,"timestamp_ms":1793884022000,"timestamp_seconds":1793884022,"priority":1,"record_length":96,"hex_timestamp":"000001a1abd1e4f0"} 
[2026-11-05 18:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 18:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 18:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":230409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":230409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":230409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234232576001,"66":25397,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234232576001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:39:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:39:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234232576001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:39:39] 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":64304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:39:39] local.INFO: GPS data processed {"connection_id":230409,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:39:39] local.INFO: Acknowledgment sent {"connection_id":230409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:40:03] local.INFO: TCP Data received {"connection_id":231743,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:40:03] local.INFO: Processing buffer {"connection_id":231743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:40:03] local.INFO: IMEI packet received {"connection_id":231743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":231743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:40:08] local.INFO: TCP Data received {"connection_id":231743,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:40:08] local.INFO: Processing buffer {"connection_id":231743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:40:08] local.INFO: IMEI packet received {"connection_id":231743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":231743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:40:09] local.INFO: TCP Data received {"connection_id":231743,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1abd1e4f0012d7fa40005afc848000a001d2c..."} 
[2026-11-05 18:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abd1e4f0012d7fa40005afc848000a001d2c..."} 
[2026-11-05 18:40:09] local.INFO: Processing buffer {"connection_id":231743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abd1e4f0012d7fa40005afc848000a001d2c..."} 
[2026-11-05 18:40:09] local.INFO: Packet analysis {"connection_id":231743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abd1"} 
[2026-11-05 18:40:09] local.INFO: Extracted packet for processing {"connection_id":231743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abd1"} 
[2026-11-05 18:40:09] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234232576001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793884022000,"timestamp_ms":1793884022000,"timestamp_seconds":1793884022,"priority":1,"record_length":96,"hex_timestamp":"000001a1abd1e4f0"} 
[2026-11-05 18:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 18:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 18:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 18:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:40:09] 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-05 18:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234232576001,"66":25397,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234232576001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:40:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:40:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234232576001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":231743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:40:09] local.INFO: GPS data processed {"connection_id":231743,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:40:09] local.INFO: Acknowledgment sent {"connection_id":231743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:40:39] local.INFO: TCP Data received {"connection_id":231743,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1abd1e4f0012d7fa40005afc848000a001d2c..."} 
[2026-11-05 18:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abd1e4f0012d7fa40005afc848000a001d2c..."} 
[2026-11-05 18:40:39] local.INFO: Processing buffer {"connection_id":231743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abd1e4f0012d7fa40005afc848000a001d2c..."} 
[2026-11-05 18:40:39] local.INFO: Packet analysis {"connection_id":231743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abd1"} 
[2026-11-05 18:40:39] local.INFO: Extracted packet for processing {"connection_id":231743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abd1"} 
[2026-11-05 18:40:39] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234232576001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793884022000,"timestamp_ms":1793884022000,"timestamp_seconds":1793884022,"priority":1,"record_length":96,"hex_timestamp":"000001a1abd1e4f0"} 
[2026-11-05 18:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 18:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 18:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":231743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":231743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":231743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234232576001,"66":25397,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234232576001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:40:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:40:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234232576001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":231743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:40:39] local.INFO: GPS data processed {"connection_id":231743,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:40:39] local.INFO: Acknowledgment sent {"connection_id":231743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:41:02] local.INFO: TCP Data received {"connection_id":229889,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:41:02] local.INFO: Processing buffer {"connection_id":229889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:41:02] local.INFO: IMEI packet received {"connection_id":229889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":229889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:41:08] local.INFO: TCP Data received {"connection_id":229889,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:41:08] local.INFO: Processing buffer {"connection_id":229889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:41:08] local.INFO: IMEI packet received {"connection_id":229889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":229889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:41:09] local.INFO: TCP Data received {"connection_id":229889,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1abd1e4f0012d7fa40005afc848000a001d2c..."} 
[2026-11-05 18:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abd1e4f0012d7fa40005afc848000a001d2c..."} 
[2026-11-05 18:41:09] local.INFO: Processing buffer {"connection_id":229889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abd1e4f0012d7fa40005afc848000a001d2c..."} 
[2026-11-05 18:41:09] local.INFO: Packet analysis {"connection_id":229889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abd1"} 
[2026-11-05 18:41:09] local.INFO: Extracted packet for processing {"connection_id":229889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abd1"} 
[2026-11-05 18:41:09] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234232576001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793884022000,"timestamp_ms":1793884022000,"timestamp_seconds":1793884022,"priority":1,"record_length":96,"hex_timestamp":"000001a1abd1e4f0"} 
[2026-11-05 18:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 18:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 18:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 18:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:41:09] 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-05 18:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234232576001,"66":25397,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234232576001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:41:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:41:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234232576001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":229889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:41:09] local.INFO: GPS data processed {"connection_id":229889,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:41:09] local.INFO: Acknowledgment sent {"connection_id":229889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:41:40] local.INFO: TCP Data received {"connection_id":229889,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1abd1e4f0012d7fa40005afc848000a001d2c..."} 
[2026-11-05 18:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abd1e4f0012d7fa40005afc848000a001d2c..."} 
[2026-11-05 18:41:40] local.INFO: Processing buffer {"connection_id":229889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abd1e4f0012d7fa40005afc848000a001d2c..."} 
[2026-11-05 18:41:40] local.INFO: Packet analysis {"connection_id":229889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abd1"} 
[2026-11-05 18:41:40] local.INFO: Extracted packet for processing {"connection_id":229889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abd1"} 
[2026-11-05 18:41:40] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234232576001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793884022000,"timestamp_ms":1793884022000,"timestamp_seconds":1793884022,"priority":1,"record_length":96,"hex_timestamp":"000001a1abd1e4f0"} 
[2026-11-05 18:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 18:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 18:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234232576001,"66":25397,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234232576001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:41:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:41:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234232576001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":229889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:41:40] local.INFO: GPS data processed {"connection_id":229889,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:41:40] local.INFO: Acknowledgment sent {"connection_id":229889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:42:02] local.INFO: TCP Data received {"connection_id":233644,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:42:02] local.INFO: Processing buffer {"connection_id":233644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:42:02] local.INFO: IMEI packet received {"connection_id":233644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":233644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:42:08] local.INFO: TCP Data received {"connection_id":233644,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:42:08] local.INFO: Processing buffer {"connection_id":233644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:42:08] local.INFO: IMEI packet received {"connection_id":233644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":233644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:42:08] local.INFO: TCP Data received {"connection_id":233644,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1abd1e4f0012d7fa40005afc848000a001d2c..."} 
[2026-11-05 18:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abd1e4f0012d7fa40005afc848000a001d2c..."} 
[2026-11-05 18:42:08] local.INFO: Processing buffer {"connection_id":233644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abd1e4f0012d7fa40005afc848000a001d2c..."} 
[2026-11-05 18:42:08] local.INFO: Packet analysis {"connection_id":233644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abd1"} 
[2026-11-05 18:42:08] local.INFO: Extracted packet for processing {"connection_id":233644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abd1"} 
[2026-11-05 18:42:08] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234232576001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793884022000,"timestamp_ms":1793884022000,"timestamp_seconds":1793884022,"priority":1,"record_length":96,"hex_timestamp":"000001a1abd1e4f0"} 
[2026-11-05 18:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 18:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 18:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":233644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":233644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":233644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:42: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-05 18:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234232576001,"66":25397,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234232576001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:42:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:42:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234232576001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":233644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:42:08] local.INFO: GPS data processed {"connection_id":233644,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:42:08] local.INFO: Acknowledgment sent {"connection_id":233644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:42:39] local.INFO: TCP Data received {"connection_id":233644,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1abd1e4f0012d7fa40005afc848000a001d2c..."} 
[2026-11-05 18:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abd1e4f0012d7fa40005afc848000a001d2c..."} 
[2026-11-05 18:42:39] local.INFO: Processing buffer {"connection_id":233644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abd1e4f0012d7fa40005afc848000a001d2c..."} 
[2026-11-05 18:42:39] local.INFO: Packet analysis {"connection_id":233644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abd1"} 
[2026-11-05 18:42:39] local.INFO: Extracted packet for processing {"connection_id":233644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abd1"} 
[2026-11-05 18:42:39] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234232576001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793884022000,"timestamp_ms":1793884022000,"timestamp_seconds":1793884022,"priority":1,"record_length":96,"hex_timestamp":"000001a1abd1e4f0"} 
[2026-11-05 18:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 18:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-05 18:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":233644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":233644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":233644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:42: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-05 18:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234232576001,"66":25397,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234232576001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:42:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:42:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234232576001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":233644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:42:40] local.INFO: GPS data processed {"connection_id":233644,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:42:40] local.INFO: Acknowledgment sent {"connection_id":233644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:43:06] local.INFO: TCP Data received {"connection_id":229888,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229888,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:43:06] local.INFO: Processing buffer {"connection_id":229888,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:43:06] local.INFO: IMEI packet received {"connection_id":229888,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 18:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":229888,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:43:08] local.INFO: TCP Data received {"connection_id":230410,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:43:08] local.INFO: Processing buffer {"connection_id":230410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:43:08] local.INFO: IMEI packet received {"connection_id":230410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":230410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:43:13] local.INFO: TCP Data received {"connection_id":230410,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:43:13] local.INFO: Processing buffer {"connection_id":230410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:43:13] local.INFO: IMEI packet received {"connection_id":230410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":230410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:43:13] local.INFO: TCP Data received {"connection_id":230410,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1abd67cb8012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abd67cb8012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:43:13] local.INFO: Processing buffer {"connection_id":230410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abd67cb8012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:43:13] local.INFO: Packet analysis {"connection_id":230410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abd6"} 
[2026-11-05 18:43:13] local.INFO: Extracted packet for processing {"connection_id":230410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abd6"} 
[2026-11-05 18:43:13] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18: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-05 18:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234309632001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793884323000,"timestamp_ms":1793884323000,"timestamp_seconds":1793884323,"priority":1,"record_length":96,"hex_timestamp":"000001a1abd67cb8"} 
[2026-11-05 18: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-05 18: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-05 18: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-05 18: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-05 18: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-05 18: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-05 18:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:43:13] 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-05 18:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234309632001,"66":25299,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234309632001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:43:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:43:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234309632001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:43:14] 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":64311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:43:14] local.INFO: GPS data processed {"connection_id":230410,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:43:14] local.INFO: Acknowledgment sent {"connection_id":230410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:43:45] local.INFO: TCP Data received {"connection_id":230410,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1abd67cb8012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abd67cb8012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:43:45] local.INFO: Processing buffer {"connection_id":230410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abd67cb8012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:43:45] local.INFO: Packet analysis {"connection_id":230410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abd6"} 
[2026-11-05 18:43:45] local.INFO: Extracted packet for processing {"connection_id":230410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abd6"} 
[2026-11-05 18:43:45] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234309632001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793884323000,"timestamp_ms":1793884323000,"timestamp_seconds":1793884323,"priority":1,"record_length":96,"hex_timestamp":"000001a1abd67cb8"} 
[2026-11-05 18:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18: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-05 18:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-05 18: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-05 18:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:43:45] 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-05 18:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234309632001,"66":25299,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234309632001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:43:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:43:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234309632001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:43:45] 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":64312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:43:45] local.INFO: GPS data processed {"connection_id":230410,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:43:45] local.INFO: Acknowledgment sent {"connection_id":230410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:44:03] local.INFO: TCP Data received {"connection_id":229890,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:44:03] local.INFO: Processing buffer {"connection_id":229890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:44:03] local.INFO: IMEI packet received {"connection_id":229890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":229890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:44:08] local.INFO: TCP Data received {"connection_id":229890,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:44:08] local.INFO: Processing buffer {"connection_id":229890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:44:08] local.INFO: IMEI packet received {"connection_id":229890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":229890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:44:09] local.INFO: TCP Data received {"connection_id":229890,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abd79210012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abd79210012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:44:09] local.INFO: Processing buffer {"connection_id":229890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abd79210012d7fa40005afc848000a001d2e..."} 
[2026-11-05 18:44:09] local.INFO: Packet analysis {"connection_id":229890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abd7"} 
[2026-11-05 18:44:09] local.INFO: Extracted packet for processing {"connection_id":229890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abd7"} 
[2026-11-05 18:44:09] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95406152,"longitude_deg":76.3339776,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:44: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-05 18:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234386688001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793884394000,"timestamp_ms":1793884394000,"timestamp_seconds":1793884394,"priority":1,"record_length":96,"hex_timestamp":"000001a1abd79210"} 
[2026-11-05 18:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 18:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-05 18:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-05 18:44: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-05 18:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:44:09] local.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-05 18:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234386688001,"66":25375,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234386688001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:44:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:44:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234386688001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":229890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:44:09] local.INFO: GPS data processed {"connection_id":229890,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:44:09] local.INFO: Acknowledgment sent {"connection_id":229890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:44:40] local.INFO: TCP Data received {"connection_id":229890,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abd7e800012d7fa30005afc848000a001d2e..."} 
[2026-11-05 18:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abd7e800012d7fa30005afc848000a001d2e..."} 
[2026-11-05 18:44:40] local.INFO: Processing buffer {"connection_id":229890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abd7e800012d7fa30005afc848000a001d2e..."} 
[2026-11-05 18:44:40] local.INFO: Packet analysis {"connection_id":229890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abd7"} 
[2026-11-05 18:44:40] local.INFO: Extracted packet for processing {"connection_id":229890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abd7"} 
[2026-11-05 18:44:40] local.INFO: GPS Element Parsed {"raw_longitude":763339520,"raw_latitude":95406152,"longitude_deg":76.333952,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":46,"speed":0,"hex_longitude":"2d7fa300","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234404864001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421370368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793884416000,"timestamp_ms":1793884416000,"timestamp_seconds":1793884416,"priority":1,"record_length":96,"hex_timestamp":"000001a1abd7e800"} 
[2026-11-05 18:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:44: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-05 18:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-05 18:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:44: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-05 18:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234404864001,"66":27397,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197476363421370368},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234404864001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:44:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:44:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421370368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234404864001,"power":27397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197476363421370368}} 
[2026-11-05 18:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":229890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:44:40] local.INFO: GPS data processed {"connection_id":229890,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:44:40] local.INFO: Acknowledgment sent {"connection_id":229890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:45:02] local.INFO: TCP Data received {"connection_id":229892,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:45:02] local.INFO: Processing buffer {"connection_id":229892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:45:02] local.INFO: IMEI packet received {"connection_id":229892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":229892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:45:07] local.INFO: TCP Data received {"connection_id":229892,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:45:07] local.INFO: Processing buffer {"connection_id":229892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:45:07] local.INFO: IMEI packet received {"connection_id":229892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":229892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:45:09] local.INFO: TCP Data received {"connection_id":229892,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abd83a08012d7fa30005afc848000a001d2d..."} 
[2026-11-05 18:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abd83a08012d7fa30005afc848000a001d2d..."} 
[2026-11-05 18:45:09] local.INFO: Processing buffer {"connection_id":229892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abd83a08012d7fa30005afc848000a001d2d..."} 
[2026-11-05 18:45:09] local.INFO: Packet analysis {"connection_id":229892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abd8"} 
[2026-11-05 18:45:09] local.INFO: Extracted packet for processing {"connection_id":229892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abd8"} 
[2026-11-05 18:45:09] local.INFO: GPS Element Parsed {"raw_longitude":763339520,"raw_latitude":95406152,"longitude_deg":76.333952,"latitude_deg":9.5406152,"altitude":10,"angle":29,"satellites":45,"speed":0,"hex_longitude":"2d7fa300","hex_latitude":"05afc848","is_valid_coordinates":true} 
[2026-11-05 18: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-05 18:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234410496001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292415348670464,"note":"Value kept but may cause issues"} 
[2026-11-05 18:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197194888444659712,"note":"Value kept but may cause issues"} 
[2026-11-05 18:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793884437000,"timestamp_ms":1793884437000,"timestamp_seconds":1793884437,"priority":1,"record_length":96,"hex_timestamp":"000001a1abd83a08"} 
[2026-11-05 18: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-05 18:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 18: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":5,"data_length":795,"current_offset":136} 
[2026-11-05 18:45:09] 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-05 18: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-05 18: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-05 18:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:45:09] local.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-05 18:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234410496001,"66":27843,"250":206,"85":12544,"24":0,"16":40292415348670464,"45":9197194888444659712},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234410496001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:45:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:45:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292415348670464,"km_value":40292415348670.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197194888444659712,"description":"Unknown IO ID 45"} 
[2026-11-05 18:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234410496001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197194888444659712}} 
[2026-11-05 18:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":229892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:45:09] local.INFO: GPS data processed {"connection_id":229892,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:45:09] local.INFO: Acknowledgment sent {"connection_id":229892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:45:39] local.INFO: TCP Data received {"connection_id":229892,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abd84d90012d7fa30005afc768000c00d52c..."} 
[2026-11-05 18:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abd84d90012d7fa30005afc768000c00d52c..."} 
[2026-11-05 18:45:39] local.INFO: Processing buffer {"connection_id":229892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abd84d90012d7fa30005afc768000c00d52c..."} 
[2026-11-05 18:45:39] local.INFO: Packet analysis {"connection_id":229892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abd8"} 
[2026-11-05 18:45:39] local.INFO: Extracted packet for processing {"connection_id":229892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abd8"} 
[2026-11-05 18:45:39] local.INFO: GPS Element Parsed {"raw_longitude":763339520,"raw_latitude":95405928,"longitude_deg":76.333952,"latitude_deg":9.5405928,"altitude":12,"angle":213,"satellites":44,"speed":5,"hex_longitude":"2d7fa300","hex_latitude":"05afc768","is_valid_coordinates":true} 
[2026-11-05 18:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234415872001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292428233572352,"note":"Value kept but may cause issues"} 
[2026-11-05 18:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197194888444659712,"note":"Value kept but may cause issues"} 
[2026-11-05 18:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793884442000,"timestamp_ms":1793884442000,"timestamp_seconds":1793884442,"priority":1,"record_length":96,"hex_timestamp":"000001a1abd84d90"} 
[2026-11-05 18:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 18:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-05 18:45: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-05 18:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":229892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":229892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":229892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:45: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-05 18:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234415872001,"66":27745,"250":206,"85":12544,"24":5,"16":40292428233572352,"45":9197194888444659712},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234415872001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:45:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:45:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292428233572352,"km_value":40292428233572.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197194888444659712,"description":"Unknown IO ID 45"} 
[2026-11-05 18:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234415872001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":5,"odometer":null,"unknown_45":9197194888444659712}} 
[2026-11-05 18:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":229892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:45:40] local.INFO: GPS data processed {"connection_id":229892,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:45:40] local.INFO: Acknowledgment sent {"connection_id":229892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:46:02] local.INFO: TCP Data received {"connection_id":230411,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:46:02] local.INFO: Processing buffer {"connection_id":230411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:46:02] local.INFO: IMEI packet received {"connection_id":230411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":230411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:46:07] local.INFO: TCP Data received {"connection_id":230411,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:46:07] local.INFO: Processing buffer {"connection_id":230411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:46:07] local.INFO: IMEI packet received {"connection_id":230411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":230411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:46:08] local.INFO: TCP Data received {"connection_id":230411,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abd85178012d7fa2c005afc6b0000c00c82e..."} 
[2026-11-05 18:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abd85178012d7fa2c005afc6b0000c00c82e..."} 
[2026-11-05 18:46:08] local.INFO: Processing buffer {"connection_id":230411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abd85178012d7fa2c005afc6b0000c00c82e..."} 
[2026-11-05 18:46:08] local.INFO: Packet analysis {"connection_id":230411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abd8"} 
[2026-11-05 18:46:08] local.INFO: Extracted packet for processing {"connection_id":230411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abd8"} 
[2026-11-05 18:46:08] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95405744,"longitude_deg":76.3339456,"latitude_deg":9.5405744,"altitude":12,"angle":200,"satellites":46,"speed":8,"hex_longitude":"2d7fa2c0","hex_latitude":"05afc6b0","is_valid_coordinates":true} 
[2026-11-05 18:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234417152001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292436823506944,"note":"Value kept but may cause issues"} 
[2026-11-05 18:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197194888444602368,"note":"Value kept but may cause issues"} 
[2026-11-05 18:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793884443000,"timestamp_ms":1793884443000,"timestamp_seconds":1793884443,"priority":1,"record_length":96,"hex_timestamp":"000001a1abd85178"} 
[2026-11-05 18:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 18:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 18:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":230411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":230411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":230411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:46:08] local.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-05 18:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234417152001,"66":27745,"250":206,"85":12544,"24":8,"16":40292436823506944,"45":9197194888444602368},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234417152001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:46:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:46:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292436823506944,"km_value":40292436823506.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197194888444602368,"description":"Unknown IO ID 45"} 
[2026-11-05 18:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234417152001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":9197194888444602368}} 
[2026-11-05 18:46:08] 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":64317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:46:08] local.INFO: GPS data processed {"connection_id":230411,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:46:08] local.INFO: Acknowledgment sent {"connection_id":230411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:46:39] local.INFO: TCP Data received {"connection_id":230411,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abd86118012d7fa18005afc2c0000c00bb2c..."} 
[2026-11-05 18:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abd86118012d7fa18005afc2c0000c00bb2c..."} 
[2026-11-05 18:46:39] local.INFO: Processing buffer {"connection_id":230411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abd86118012d7fa18005afc2c0000c00bb2c..."} 
[2026-11-05 18:46:39] local.INFO: Packet analysis {"connection_id":230411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abd8"} 
[2026-11-05 18:46:39] local.INFO: Extracted packet for processing {"connection_id":230411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abd8"} 
[2026-11-05 18:46:39] local.INFO: GPS Element Parsed {"raw_longitude":763339136,"raw_latitude":95404736,"longitude_deg":76.3339136,"latitude_deg":9.5404736,"altitude":12,"angle":187,"satellites":44,"speed":9,"hex_longitude":"2d7fa180","hex_latitude":"05afc2c0","is_valid_coordinates":true} 
[2026-11-05 18:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234417408001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292488363114496,"note":"Value kept but may cause issues"} 
[2026-11-05 18:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700377600,"note":"Value kept but may cause issues"} 
[2026-11-05 18:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793884447000,"timestamp_ms":1793884447000,"timestamp_seconds":1793884447,"priority":1,"record_length":96,"hex_timestamp":"000001a1abd86118"} 
[2026-11-05 18:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 18:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-05 18:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":230411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":230411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":230411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:46: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-05 18:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234417408001,"66":27745,"250":206,"85":12544,"24":9,"16":40292488363114496,"45":9197124519700377600},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234417408001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:46:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:46:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292488363114496,"km_value":40292488363114.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700377600,"description":"Unknown IO ID 45"} 
[2026-11-05 18:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234417408001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":9,"odometer":null,"unknown_45":9197124519700377600}} 
[2026-11-05 18:46:39] 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":64318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:46:39] local.INFO: GPS data processed {"connection_id":230411,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:46:39] local.INFO: Acknowledgment sent {"connection_id":230411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:47:06] local.INFO: TCP Data received {"connection_id":233645,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:47:06] local.INFO: Processing buffer {"connection_id":233645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:47:06] local.INFO: IMEI packet received {"connection_id":233645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":233645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:47:07] local.INFO: TCP Data received {"connection_id":233645,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:47:07] local.INFO: Processing buffer {"connection_id":233645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:47:07] local.INFO: IMEI packet received {"connection_id":233645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":233645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:47:12] local.INFO: TCP Data received {"connection_id":233645,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:47:12] local.INFO: Processing buffer {"connection_id":233645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:47:12] local.INFO: IMEI packet received {"connection_id":233645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":233645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:47:13] local.INFO: TCP Data received {"connection_id":233645,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abda31f0012d7f950005afb768000900f62d..."} 
[2026-11-05 18:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abda31f0012d7f950005afb768000900f62d..."} 
[2026-11-05 18:47:13] local.INFO: Processing buffer {"connection_id":233645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abda31f0012d7f950005afb768000900f62d..."} 
[2026-11-05 18:47:13] local.INFO: Packet analysis {"connection_id":233645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abda"} 
[2026-11-05 18:47:13] local.INFO: Extracted packet for processing {"connection_id":233645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abda"} 
[2026-11-05 18:47:13] local.INFO: GPS Element Parsed {"raw_longitude":763335936,"raw_latitude":95401832,"longitude_deg":76.3335936,"latitude_deg":9.5401832,"altitude":9,"angle":246,"satellites":45,"speed":6,"hex_longitude":"2d7f9500","hex_latitude":"05afb768","is_valid_coordinates":true} 
[2026-11-05 18: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-05 18:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234446848001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292754651086848,"note":"Value kept but may cause issues"} 
[2026-11-05 18:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776071645184,"note":"Value kept but may cause issues"} 
[2026-11-05 18:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793884566000,"timestamp_ms":1793884566000,"timestamp_seconds":1793884566,"priority":1,"record_length":96,"hex_timestamp":"000001a1abda31f0"} 
[2026-11-05 18: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-05 18:47: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-05 18: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 18:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18: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-05 18: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-05 18:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":233645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":233645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":233645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234446848001,"66":27376,"250":206,"85":12544,"24":6,"16":40292754651086848,"45":9195646776071645184},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234446848001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:47:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:47:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292754651086848,"km_value":40292754651086.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776071645184,"description":"Unknown IO ID 45"} 
[2026-11-05 18:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234446848001,"power":27376,"unknown_250":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9195646776071645184}} 
[2026-11-05 18:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":233645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:47:13] local.INFO: GPS data processed {"connection_id":233645,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:47:13] local.INFO: Acknowledgment sent {"connection_id":233645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:47:16] local.INFO: TCP Data received {"connection_id":233645,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abda3da8012d7f938005afb7380008010a2d..."} 
[2026-11-05 18:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abda3da8012d7f938005afb7380008010a2d..."} 
[2026-11-05 18:47:16] local.INFO: Processing buffer {"connection_id":233645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abda3da8012d7f938005afb7380008010a2d..."} 
[2026-11-05 18:47:16] local.INFO: Packet analysis {"connection_id":233645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abda"} 
[2026-11-05 18:47:16] local.INFO: Extracted packet for processing {"connection_id":233645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abda"} 
[2026-11-05 18:47:16] local.INFO: GPS Element Parsed {"raw_longitude":763335552,"raw_latitude":95401784,"longitude_deg":76.3335552,"latitude_deg":9.5401784,"altitude":8,"angle":266,"satellites":45,"speed":6,"hex_longitude":"2d7f9380","hex_latitude":"05afb738","is_valid_coordinates":true} 
[2026-11-05 18: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-05 18:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234448896001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40292776125923328,"note":"Value kept but may cause issues"} 
[2026-11-05 18:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193254238769604608,"note":"Value kept but may cause issues"} 
[2026-11-05 18:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793884569000,"timestamp_ms":1793884569000,"timestamp_seconds":1793884569,"priority":1,"record_length":96,"hex_timestamp":"000001a1abda3da8"} 
[2026-11-05 18: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-05 18:47: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-05 18: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 18:47:16] 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-05 18: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-05 18: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-05 18:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":233645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":233645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":233645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:47: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-05 18:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234448896001,"66":27397,"250":206,"85":12544,"24":6,"16":40292776125923328,"45":9193254238769604608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234448896001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:47:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:47:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40292776125923328,"km_value":40292776125923.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193254238769604608,"description":"Unknown IO ID 45"} 
[2026-11-05 18:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234448896001,"power":27397,"unknown_250":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9193254238769604608}} 
[2026-11-05 18:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":233645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:47:16] local.INFO: GPS data processed {"connection_id":233645,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:47:16] local.INFO: Acknowledgment sent {"connection_id":233645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:47:47] local.INFO: TCP Data received {"connection_id":233645,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abda87e0012d7f778005afb810000901152f..."} 
[2026-11-05 18:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abda87e0012d7f778005afb810000901152f..."} 
[2026-11-05 18:47:47] local.INFO: Processing buffer {"connection_id":233645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abda87e0012d7f778005afb810000901152f..."} 
[2026-11-05 18:47:47] local.INFO: Packet analysis {"connection_id":233645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abda"} 
[2026-11-05 18:47:47] local.INFO: Extracted packet for processing {"connection_id":233645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abda"} 
[2026-11-05 18:47:47] local.INFO: GPS Element Parsed {"raw_longitude":763328384,"raw_latitude":95402000,"longitude_deg":76.3328384,"latitude_deg":9.5402,"altitude":9,"angle":277,"satellites":47,"speed":19,"hex_longitude":"2d7f7780","hex_latitude":"05afb810","is_valid_coordinates":true} 
[2026-11-05 18: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-05 18:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234449664001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40293119723307008,"note":"Value kept but may cause issues"} 
[2026-11-05 18:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192832026304526336,"note":"Value kept but may cause issues"} 
[2026-11-05 18:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793884588000,"timestamp_ms":1793884588000,"timestamp_seconds":1793884588,"priority":1,"record_length":96,"hex_timestamp":"000001a1abda87e0"} 
[2026-11-05 18: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-05 18:47: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-05 18: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":5,"data_length":795,"current_offset":136} 
[2026-11-05 18:47:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18: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-05 18: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-05 18:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":233645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":233645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":233645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234449664001,"66":27365,"250":206,"85":12544,"24":19,"16":40293119723307008,"45":9192832026304526336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234449664001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:47:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:47:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40293119723307008,"km_value":40293119723307.01,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192832026304526336,"description":"Unknown IO ID 45"} 
[2026-11-05 18:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234449664001,"power":27365,"unknown_250":206,"unknown_85":12544,"ignition":19,"odometer":null,"unknown_45":9192832026304526336}} 
[2026-11-05 18:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":233645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:47:47] local.INFO: GPS data processed {"connection_id":233645,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:47:47] local.INFO: Acknowledgment sent {"connection_id":233645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:48:03] local.INFO: TCP Data received {"connection_id":230412,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:48:03] local.INFO: Processing buffer {"connection_id":230412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:48:03] local.INFO: IMEI packet received {"connection_id":230412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":230412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:48:07] local.INFO: TCP Data received {"connection_id":230412,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:48:07] local.INFO: Processing buffer {"connection_id":230412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:48:07] local.INFO: IMEI packet received {"connection_id":230412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":230412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:48:07] local.INFO: TCP Data received {"connection_id":230412,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abdaaef0012d7f648005afb9900008010a2e..."} 
[2026-11-05 18:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abdaaef0012d7f648005afb9900008010a2e..."} 
[2026-11-05 18:48:07] local.INFO: Processing buffer {"connection_id":230412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abdaaef0012d7f648005afb9900008010a2e..."} 
[2026-11-05 18:48:07] local.INFO: Packet analysis {"connection_id":230412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abda"} 
[2026-11-05 18:48:07] local.INFO: Extracted packet for processing {"connection_id":230412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abda"} 
[2026-11-05 18:48:07] local.INFO: GPS Element Parsed {"raw_longitude":763323520,"raw_latitude":95402384,"longitude_deg":76.332352,"latitude_deg":9.5402384,"altitude":8,"angle":266,"satellites":46,"speed":18,"hex_longitude":"2d7f6480","hex_latitude":"05afb990","is_valid_coordinates":true} 
[2026-11-05 18:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234454528001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40293351651540992,"note":"Value kept but may cause issues"} 
[2026-11-05 18:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9184950726956683264,"note":"Value kept but may cause issues"} 
[2026-11-05 18:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1793884598000,"timestamp_ms":1793884598000,"timestamp_seconds":1793884598,"priority":1,"record_length":96,"hex_timestamp":"000001a1abdaaef0"} 
[2026-11-05 18:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 18:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 18:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":230412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":230412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":230412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234454528001,"66":27463,"250":206,"85":12544,"24":18,"16":40293351651540992,"45":9184950726956683264},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234454528001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:48:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:48:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40293351651540992,"km_value":40293351651540.99,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9184950726956683264,"description":"Unknown IO ID 45"} 
[2026-11-05 18:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234454528001,"power":27463,"unknown_250":206,"unknown_85":12544,"ignition":18,"odometer":null,"unknown_45":9184950726956683264}} 
[2026-11-05 18:48:07] 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":64322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:48:07] local.INFO: GPS data processed {"connection_id":230412,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:48:07] local.INFO: Acknowledgment sent {"connection_id":230412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:48:08] local.INFO: TCP Data received {"connection_id":230412,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abdafd10012d7f414005afb828000701122d..."} 
[2026-11-05 18:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abdafd10012d7f414005afb828000701122d..."} 
[2026-11-05 18:48:08] local.INFO: Processing buffer {"connection_id":230412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abdafd10012d7f414005afb828000701122d..."} 
[2026-11-05 18:48:08] local.INFO: Packet analysis {"connection_id":230412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abda"} 
[2026-11-05 18:48:08] local.INFO: Extracted packet for processing {"connection_id":230412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abda"} 
[2026-11-05 18:48:08] local.INFO: GPS Element Parsed {"raw_longitude":763314496,"raw_latitude":95402024,"longitude_deg":76.3314496,"latitude_deg":9.5402024,"altitude":7,"angle":274,"satellites":45,"speed":11,"hex_longitude":"2d7f4140","hex_latitude":"05afb828","is_valid_coordinates":true} 
[2026-11-05 18:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234457088001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40293785443237888,"note":"Value kept but may cause issues"} 
[2026-11-05 18:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9179602702399279104,"note":"Value kept but may cause issues"} 
[2026-11-05 18:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793884618000,"timestamp_ms":1793884618000,"timestamp_seconds":1793884618,"priority":1,"record_length":96,"hex_timestamp":"000001a1abdafd10"} 
[2026-11-05 18:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 18:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 18:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":230412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":230412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":230412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:48:08] local.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-05 18:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234457088001,"66":27365,"250":206,"85":12544,"24":11,"16":40293785443237888,"45":9179602702399279104},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234457088001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:48:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:48:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40293785443237888,"km_value":40293785443237.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9179602702399279104,"description":"Unknown IO ID 45"} 
[2026-11-05 18:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234457088001,"power":27365,"unknown_250":206,"unknown_85":12544,"ignition":11,"odometer":null,"unknown_45":9179602702399279104}} 
[2026-11-05 18:48:08] 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":64323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:48:08] local.INFO: GPS data processed {"connection_id":230412,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:48:08] local.INFO: Acknowledgment sent {"connection_id":230412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:48:39] local.INFO: TCP Data received {"connection_id":230412,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abdb2fd8012d7f3b4005afb708000900cd2e..."} 
[2026-11-05 18:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abdb2fd8012d7f3b4005afb708000900cd2e..."} 
[2026-11-05 18:48:39] local.INFO: Processing buffer {"connection_id":230412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abdb2fd8012d7f3b4005afb708000900cd2e..."} 
[2026-11-05 18:48:39] local.INFO: Packet analysis {"connection_id":230412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abdb"} 
[2026-11-05 18:48:39] local.INFO: Extracted packet for processing {"connection_id":230412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abdb"} 
[2026-11-05 18:48:39] local.INFO: GPS Element Parsed {"raw_longitude":763312960,"raw_latitude":95401736,"longitude_deg":76.331296,"latitude_deg":9.5401736,"altitude":9,"angle":205,"satellites":46,"speed":8,"hex_longitude":"2d7f3b40","hex_latitude":"05afb708","is_valid_coordinates":true} 
[2026-11-05 18:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234462208001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40293862752649216,"note":"Value kept but may cause issues"} 
[2026-11-05 18:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9169680709470136320,"note":"Value kept but may cause issues"} 
[2026-11-05 18:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793884631000,"timestamp_ms":1793884631000,"timestamp_seconds":1793884631,"priority":1,"record_length":96,"hex_timestamp":"000001a1abdb2fd8"} 
[2026-11-05 18:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 18:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 18:48:39] 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-05 18:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":230412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":230412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":230412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:48: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-05 18:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234462208001,"66":27376,"250":206,"85":12544,"24":8,"16":40293862752649216,"45":9169680709470136320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-11-05 18:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234462208001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:48:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-05 18:48:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40293862752649216,"km_value":40293862752649.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9169680709470136320,"description":"Unknown IO ID 45"} 
[2026-11-05 18:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234462208001,"power":27376,"unknown_250":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":9169680709470136320}} 
[2026-11-05 18:48:39] 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":64324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:48:39] local.INFO: GPS data processed {"connection_id":230412,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:48:39] local.INFO: Acknowledgment sent {"connection_id":230412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:48:41] local.INFO: TCP Data received {"connection_id":229891,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:48:41] local.INFO: Processing buffer {"connection_id":229891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:48:41] local.INFO: IMEI packet received {"connection_id":229891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 18:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":229891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:49:02] local.INFO: TCP Data received {"connection_id":231744,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:49:02] local.INFO: Processing buffer {"connection_id":231744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:49:02] local.INFO: IMEI packet received {"connection_id":231744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":231744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:49:07] local.INFO: TCP Data received {"connection_id":231744,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:49:07] local.INFO: Processing buffer {"connection_id":231744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:49:07] local.INFO: IMEI packet received {"connection_id":231744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":231744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:49:07] local.INFO: TCP Data received {"connection_id":231744,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abdc2dc0012d7f2f4005af55f0000601182f..."} 
[2026-11-05 18:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abdc2dc0012d7f2f4005af55f0000601182f..."} 
[2026-11-05 18:49:07] local.INFO: Processing buffer {"connection_id":231744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abdc2dc0012d7f2f4005af55f0000601182f..."} 
[2026-11-05 18:49:07] local.INFO: Packet analysis {"connection_id":231744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abdc"} 
[2026-11-05 18:49:07] local.INFO: Extracted packet for processing {"connection_id":231744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abdc"} 
[2026-11-05 18:49:07] local.INFO: GPS Element Parsed {"raw_longitude":763309888,"raw_latitude":95376880,"longitude_deg":76.3309888,"latitude_deg":9.537688,"altitude":6,"angle":280,"satellites":47,"speed":14,"hex_longitude":"2d7f2f40","hex_latitude":"05af55f0","is_valid_coordinates":true} 
[2026-11-05 18:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234481920001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40295112588132352,"note":"Value kept but may cause issues"} 
[2026-11-05 18:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9164895634859626496,"note":"Value kept but may cause issues"} 
[2026-11-05 18:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1793884696000,"timestamp_ms":1793884696000,"timestamp_seconds":1793884696,"priority":1,"record_length":96,"hex_timestamp":"000001a1abdc2dc0"} 
[2026-11-05 18:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 18:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 18:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":231744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":231744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":231744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234481920001,"66":27050,"28":206,"85":12544,"24":14,"16":40295112588132352,"45":9164895634859626496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 18:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234481920001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:49:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 18:49:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40295112588132352,"km_value":40295112588132.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9164895634859626496,"description":"Unknown IO ID 45"} 
[2026-11-05 18:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234481920001,"power":27050,"unknown_28":206,"unknown_85":12544,"ignition":14,"odometer":null,"unknown_45":9164895634859626496}} 
[2026-11-05 18:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":231744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:49:07] local.INFO: GPS data processed {"connection_id":231744,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:49:07] local.INFO: Acknowledgment sent {"connection_id":231744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:49:38] local.INFO: TCP Data received {"connection_id":231744,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abdc31a8012d7f2dc005af56700006012d2e..."} 
[2026-11-05 18:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abdc31a8012d7f2dc005af56700006012d2e..."} 
[2026-11-05 18:49:38] local.INFO: Processing buffer {"connection_id":231744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abdc31a8012d7f2dc005af56700006012d2e..."} 
[2026-11-05 18:49:38] local.INFO: Packet analysis {"connection_id":231744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abdc"} 
[2026-11-05 18:49:38] local.INFO: Extracted packet for processing {"connection_id":231744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abdc"} 
[2026-11-05 18:49:38] local.INFO: GPS Element Parsed {"raw_longitude":763309504,"raw_latitude":95377008,"longitude_deg":76.3309504,"latitude_deg":9.5377008,"altitude":6,"angle":301,"satellites":46,"speed":15,"hex_longitude":"2d7f2dc0","hex_latitude":"05af5670","is_valid_coordinates":true} 
[2026-11-05 18:49: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-05 18:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234482176001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40295134062968832,"note":"Value kept but may cause issues"} 
[2026-11-05 18:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9164614159882907648,"note":"Value kept but may cause issues"} 
[2026-11-05 18:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1793884697000,"timestamp_ms":1793884697000,"timestamp_seconds":1793884697,"priority":1,"record_length":96,"hex_timestamp":"000001a1abdc31a8"} 
[2026-11-05 18:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 18:49: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-11-05 18:49:38] 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-05 18:49: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-05 18:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":231744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":231744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":231744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:49:38] local.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-05 18:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234482176001,"66":27050,"28":206,"85":12544,"24":15,"16":40295134062968832,"45":9164614159882907648},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 18:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234482176001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:49:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 18:49:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40295134062968832,"km_value":40295134062968.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9164614159882907648,"description":"Unknown IO ID 45"} 
[2026-11-05 18:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234482176001,"power":27050,"unknown_28":206,"unknown_85":12544,"ignition":15,"odometer":null,"unknown_45":9164614159882907648}} 
[2026-11-05 18:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":231744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:49:38] local.INFO: GPS data processed {"connection_id":231744,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:49:38] local.INFO: Acknowledgment sent {"connection_id":231744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:50:02] local.INFO: TCP Data received {"connection_id":233647,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:50:02] local.INFO: Processing buffer {"connection_id":233647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:50:02] local.INFO: IMEI packet received {"connection_id":233647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":233647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:50:07] local.INFO: TCP Data received {"connection_id":233647,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:50:07] local.INFO: Processing buffer {"connection_id":233647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:50:07] local.INFO: IMEI packet received {"connection_id":233647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":233647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:50:08] local.INFO: TCP Data received {"connection_id":233647,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abdc3590012d7f2cc005af5770000501412f..."} 
[2026-11-05 18:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abdc3590012d7f2cc005af5770000501412f..."} 
[2026-11-05 18:50:08] local.INFO: Processing buffer {"connection_id":233647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abdc3590012d7f2cc005af5770000501412f..."} 
[2026-11-05 18:50:08] local.INFO: Packet analysis {"connection_id":233647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abdc"} 
[2026-11-05 18:50:08] local.INFO: Extracted packet for processing {"connection_id":233647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abdc"} 
[2026-11-05 18:50:08] local.INFO: GPS Element Parsed {"raw_longitude":763309248,"raw_latitude":95377264,"longitude_deg":76.3309248,"latitude_deg":9.5377264,"altitude":5,"angle":321,"satellites":47,"speed":15,"hex_longitude":"2d7f2cc0","hex_latitude":"05af5770","is_valid_coordinates":true} 
[2026-11-05 18:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234482432001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40295151242838016,"note":"Value kept but may cause issues"} 
[2026-11-05 18:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9164191947417874432,"note":"Value kept but may cause issues"} 
[2026-11-05 18:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793884698000,"timestamp_ms":1793884698000,"timestamp_seconds":1793884698,"priority":1,"record_length":96,"hex_timestamp":"000001a1abdc3590"} 
[2026-11-05 18:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 18:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-11-05 18:50:08] 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-05 18:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":233647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":233647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":233647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:50:08] local.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-05 18:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234482432001,"66":27343,"28":206,"85":12544,"24":15,"16":40295151242838016,"45":9164191947417874432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-11-05 18:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234482432001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:50:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-05 18:50:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40295151242838016,"km_value":40295151242838.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9164191947417874432,"description":"Unknown IO ID 45"} 
[2026-11-05 18:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234482432001,"power":27343,"unknown_28":206,"unknown_85":12544,"ignition":15,"odometer":null,"unknown_45":9164191947417874432}} 
[2026-11-05 18:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":233647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:50:08] local.INFO: GPS data processed {"connection_id":233647,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:50:08] local.INFO: Acknowledgment sent {"connection_id":233647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:50:40] local.INFO: TCP Data received {"connection_id":233647,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abdd8d50012d7e93c005af75f00008015e2b..."} 
[2026-11-05 18:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abdd8d50012d7e93c005af75f00008015e2b..."} 
[2026-11-05 18:50:40] local.INFO: Processing buffer {"connection_id":233647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abdd8d50012d7e93c005af75f00008015e2b..."} 
[2026-11-05 18:50:40] local.INFO: Packet analysis {"connection_id":233647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abdd"} 
[2026-11-05 18:50:40] local.INFO: Extracted packet for processing {"connection_id":233647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abdd"} 
[2026-11-05 18:50:40] local.INFO: GPS Element Parsed {"raw_longitude":763270080,"raw_latitude":95385072,"longitude_deg":76.327008,"latitude_deg":9.5385072,"altitude":8,"angle":350,"satellites":43,"speed":13,"hex_longitude":"2d7e93c0","hex_latitude":"05af75f0","is_valid_coordinates":true} 
[2026-11-05 18: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-05 18:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234504960001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40297294431518720,"note":"Value kept but may cause issues"} 
[2026-11-05 18:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9120985538494777344,"note":"Value kept but may cause issues"} 
[2026-11-05 18:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793884786000,"timestamp_ms":1793884786000,"timestamp_seconds":1793884786,"priority":1,"record_length":96,"hex_timestamp":"000001a1abdd8d50"} 
[2026-11-05 18: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-05 18:50: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-05 18: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 18:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18: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-05 18: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-05 18:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18: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-05 18:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234504960001,"66":27376,"27":206,"85":12544,"24":13,"16":40297294431518720,"45":9120985538494777344},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 18:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234504960001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:50:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 18:50:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40297294431518720,"km_value":40297294431518.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9120985538494777344,"description":"Unknown IO ID 45"} 
[2026-11-05 18:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234504960001,"power":27376,"unknown_27":206,"unknown_85":12544,"ignition":13,"odometer":null,"unknown_45":9120985538494777344}} 
[2026-11-05 18:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":233647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:50:40] local.INFO: GPS data processed {"connection_id":233647,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:50:40] local.INFO: Acknowledgment sent {"connection_id":233647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:51:03] local.INFO: TCP Data received {"connection_id":230413,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:51:03] local.INFO: Processing buffer {"connection_id":230413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:51:03] local.INFO: IMEI packet received {"connection_id":230413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":230413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:51:05] local.INFO: TCP Data received {"connection_id":230413,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:51:05] local.INFO: Processing buffer {"connection_id":230413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:51:05] local.INFO: IMEI packet received {"connection_id":230413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":230413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:51:07] local.INFO: TCP Data received {"connection_id":230413,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:51:07] local.INFO: Processing buffer {"connection_id":230413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:51:07] local.INFO: IMEI packet received {"connection_id":230413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":230413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:51:10] local.INFO: TCP Data received {"connection_id":230413,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abdd9138012d7e93c005af7768000900092b..."} 
[2026-11-05 18:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abdd9138012d7e93c005af7768000900092b..."} 
[2026-11-05 18:51:10] local.INFO: Processing buffer {"connection_id":230413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abdd9138012d7e93c005af7768000900092b..."} 
[2026-11-05 18:51:10] local.INFO: Packet analysis {"connection_id":230413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abdd"} 
[2026-11-05 18:51:10] local.INFO: Extracted packet for processing {"connection_id":230413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abdd"} 
[2026-11-05 18:51:10] local.INFO: GPS Element Parsed {"raw_longitude":763270080,"raw_latitude":95385448,"longitude_deg":76.327008,"latitude_deg":9.5385448,"altitude":9,"angle":9,"satellites":43,"speed":14,"hex_longitude":"2d7e93c0","hex_latitude":"05af7768","is_valid_coordinates":true} 
[2026-11-05 18:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234505216001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40297315906355200,"note":"Value kept but may cause issues"} 
[2026-11-05 18:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9120844801006497792,"note":"Value kept but may cause issues"} 
[2026-11-05 18:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793884787000,"timestamp_ms":1793884787000,"timestamp_seconds":1793884787,"priority":1,"record_length":96,"hex_timestamp":"000001a1abdd9138"} 
[2026-11-05 18:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 18:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 18:51:10] 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-05 18:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234505216001,"66":27376,"27":206,"85":12544,"24":14,"16":40297315906355200,"45":9120844801006497792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 18:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234505216001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:51:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 18:51:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40297315906355200,"km_value":40297315906355.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9120844801006497792,"description":"Unknown IO ID 45"} 
[2026-11-05 18:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234505216001,"power":27376,"unknown_27":206,"unknown_85":12544,"ignition":14,"odometer":null,"unknown_45":9120844801006497792}} 
[2026-11-05 18:51:10] 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":64329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:51:10] local.INFO: GPS data processed {"connection_id":230413,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:51:10] local.INFO: Acknowledgment sent {"connection_id":230413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:51:15] local.INFO: TCP Data received {"connection_id":230413,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abdda0d8012d7e94c005af7e68000a01662c..."} 
[2026-11-05 18:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abdda0d8012d7e94c005af7e68000a01662c..."} 
[2026-11-05 18:51:15] local.INFO: Processing buffer {"connection_id":230413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abdda0d8012d7e94c005af7e68000a01662c..."} 
[2026-11-05 18:51:15] local.INFO: Packet analysis {"connection_id":230413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abdd"} 
[2026-11-05 18:51:15] local.INFO: Extracted packet for processing {"connection_id":230413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abdd"} 
[2026-11-05 18:51:15] local.INFO: GPS Element Parsed {"raw_longitude":763270336,"raw_latitude":95387240,"longitude_deg":76.3270336,"latitude_deg":9.538724,"altitude":10,"angle":358,"satellites":44,"speed":21,"hex_longitude":"2d7e94c0","hex_latitude":"05af7e68","is_valid_coordinates":true} 
[2026-11-05 18: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-05 18:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234505472001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40297401805701120,"note":"Value kept but may cause issues"} 
[2026-11-05 18:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9120844801006594048,"note":"Value kept but may cause issues"} 
[2026-11-05 18:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793884791000,"timestamp_ms":1793884791000,"timestamp_seconds":1793884791,"priority":1,"record_length":96,"hex_timestamp":"000001a1abdda0d8"} 
[2026-11-05 18: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-05 18:51: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-05 18: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 18:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18: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-05 18: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-05 18:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234505472001,"66":27397,"27":206,"85":12544,"24":21,"16":40297401805701120,"45":9120844801006594048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-11-05 18:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234505472001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:51:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-11-05 18:51:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40297401805701120,"km_value":40297401805701.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9120844801006594048,"description":"Unknown IO ID 45"} 
[2026-11-05 18:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234505472001,"power":27397,"unknown_27":206,"unknown_85":12544,"ignition":21,"odometer":null,"unknown_45":9120844801006594048}} 
[2026-11-05 18:51:15] 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":64330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:51:15] local.INFO: GPS data processed {"connection_id":230413,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:51:15] local.INFO: Acknowledgment sent {"connection_id":230413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:51:46] local.INFO: TCP Data received {"connection_id":230413,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abddd3a0012d7e954005afa3e8000b00012a..."} 
[2026-11-05 18:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abddd3a0012d7e954005afa3e8000b00012a..."} 
[2026-11-05 18:51:46] local.INFO: Processing buffer {"connection_id":230413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abddd3a0012d7e954005afa3e8000b00012a..."} 
[2026-11-05 18:51:46] local.INFO: Packet analysis {"connection_id":230413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abdd"} 
[2026-11-05 18:51:46] local.INFO: Extracted packet for processing {"connection_id":230413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abdd"} 
[2026-11-05 18:51:46] local.INFO: GPS Element Parsed {"raw_longitude":763270464,"raw_latitude":95396840,"longitude_deg":76.3270464,"latitude_deg":9.539684,"altitude":11,"angle":1,"satellites":42,"speed":32,"hex_longitude":"2d7e9540","hex_latitude":"05afa3e8","is_valid_coordinates":true} 
[2026-11-05 18:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234506496001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40297869957136384,"note":"Value kept but may cause issues"} 
[2026-11-05 18:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121126275983763456,"note":"Value kept but may cause issues"} 
[2026-11-05 18:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793884804000,"timestamp_ms":1793884804000,"timestamp_seconds":1793884804,"priority":1,"record_length":96,"hex_timestamp":"000001a1abddd3a0"} 
[2026-11-05 18:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:51: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-05 18:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 18:51:46] 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-05 18:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:51: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-05 18:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234506496001,"66":27365,"92":206,"85":12544,"24":32,"16":40297869957136384,"45":9121126275983763456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-11-05 18:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234506496001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:51:46] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-11-05 18:51:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40297869957136384,"km_value":40297869957136.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121126275983763456,"description":"Unknown IO ID 45"} 
[2026-11-05 18:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234506496001,"power":27365,"unknown_92":206,"unknown_85":12544,"ignition":32,"odometer":null,"unknown_45":9121126275983763456}} 
[2026-11-05 18:51:46] 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":64331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:51:46] local.INFO: GPS data processed {"connection_id":230413,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:51:46] local.INFO: Acknowledgment sent {"connection_id":230413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:52:02] local.INFO: TCP Data received {"connection_id":229893,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:52:02] local.INFO: Processing buffer {"connection_id":229893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:52:02] local.INFO: IMEI packet received {"connection_id":229893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":229893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:52:07] local.INFO: TCP Data received {"connection_id":229893,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:52:07] local.INFO: Processing buffer {"connection_id":229893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:52:07] local.INFO: IMEI packet received {"connection_id":229893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":229893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:52:09] local.INFO: TCP Data received {"connection_id":229893,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abde0280012d7e974005afc7f8000b00022b..."} 
[2026-11-05 18:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abde0280012d7e974005afc7f8000b00022b..."} 
[2026-11-05 18:52:09] local.INFO: Processing buffer {"connection_id":229893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abde0280012d7e974005afc7f8000b00022b..."} 
[2026-11-05 18:52:09] local.INFO: Packet analysis {"connection_id":229893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abde"} 
[2026-11-05 18:52:09] local.INFO: Extracted packet for processing {"connection_id":229893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abde"} 
[2026-11-05 18:52:09] local.INFO: GPS Element Parsed {"raw_longitude":763270976,"raw_latitude":95406072,"longitude_deg":76.3270976,"latitude_deg":9.5406072,"altitude":11,"angle":2,"satellites":43,"speed":31,"hex_longitude":"2d7e9740","hex_latitude":"05afc7f8","is_valid_coordinates":true} 
[2026-11-05 18:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234509824001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40298316633735168,"note":"Value kept but may cause issues"} 
[2026-11-05 18:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121267013474576384,"note":"Value kept but may cause issues"} 
[2026-11-05 18:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793884816000,"timestamp_ms":1793884816000,"timestamp_seconds":1793884816,"priority":1,"record_length":96,"hex_timestamp":"000001a1abde0280"} 
[2026-11-05 18:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 18:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 18:52:09] 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-05 18:52: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-05 18:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:52:09] local.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-05 18:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234509824001,"66":26604,"92":206,"85":12544,"24":31,"16":40298316633735168,"45":9121267013474576384},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-11-05 18:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234509824001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:52:09] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-11-05 18:52:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40298316633735168,"km_value":40298316633735.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121267013474576384,"description":"Unknown IO ID 45"} 
[2026-11-05 18:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234509824001,"power":26604,"unknown_92":206,"unknown_85":12544,"ignition":31,"odometer":null,"unknown_45":9121267013474576384}} 
[2026-11-05 18:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":229893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:52:09] local.INFO: GPS data processed {"connection_id":229893,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:52:09] local.INFO: Acknowledgment sent {"connection_id":229893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:52:40] local.INFO: TCP Data received {"connection_id":229893,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abde2d78012d7e994005afeb00000800012e..."} 
[2026-11-05 18:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abde2d78012d7e994005afeb00000800012e..."} 
[2026-11-05 18:52:40] local.INFO: Processing buffer {"connection_id":229893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abde2d78012d7e994005afeb00000800012e..."} 
[2026-11-05 18:52:40] local.INFO: Packet analysis {"connection_id":229893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abde"} 
[2026-11-05 18:52:40] local.INFO: Extracted packet for processing {"connection_id":229893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abde"} 
[2026-11-05 18:52:40] local.INFO: GPS Element Parsed {"raw_longitude":763271488,"raw_latitude":95415040,"longitude_deg":76.3271488,"latitude_deg":9.541504,"altitude":8,"angle":1,"satellites":46,"speed":30,"hex_longitude":"2d7e9940","hex_latitude":"05afeb00","is_valid_coordinates":true} 
[2026-11-05 18:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234512896001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40298750425432064,"note":"Value kept but may cause issues"} 
[2026-11-05 18:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121829963430361088,"note":"Value kept but may cause issues"} 
[2026-11-05 18:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793884827000,"timestamp_ms":1793884827000,"timestamp_seconds":1793884827,"priority":1,"record_length":96,"hex_timestamp":"000001a1abde2d78"} 
[2026-11-05 18:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 18:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-11-05 18:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234512896001,"66":27397,"92":206,"85":12544,"24":30,"16":40298750425432064,"45":9121829963430361088},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-11-05 18:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234512896001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:52:40] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-11-05 18:52:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40298750425432064,"km_value":40298750425432.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121829963430361088,"description":"Unknown IO ID 45"} 
[2026-11-05 18:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234512896001,"power":27397,"unknown_92":206,"unknown_85":12544,"ignition":30,"odometer":null,"unknown_45":9121829963430361088}} 
[2026-11-05 18:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":229893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:52:40] local.INFO: GPS data processed {"connection_id":229893,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:52:40] local.INFO: Acknowledgment sent {"connection_id":229893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:53:07] local.INFO: TCP Data received {"connection_id":231745,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:53:07] local.INFO: Processing buffer {"connection_id":231745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:53:07] local.INFO: IMEI packet received {"connection_id":231745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":231745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:53:13] local.INFO: TCP Data received {"connection_id":231745,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:53:13] local.INFO: Processing buffer {"connection_id":231745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:53:13] local.INFO: IMEI packet received {"connection_id":231745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":231745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:53:14] local.INFO: TCP Data received {"connection_id":231745,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abdfc3b8012d7ea30005b11fc0000700022e..."} 
[2026-11-05 18:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abdfc3b8012d7ea30005b11fc0000700022e..."} 
[2026-11-05 18:53:14] local.INFO: Processing buffer {"connection_id":231745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abdfc3b8012d7ea30005b11fc0000700022e..."} 
[2026-11-05 18:53:14] local.INFO: Packet analysis {"connection_id":231745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abdf"} 
[2026-11-05 18:53:14] local.INFO: Extracted packet for processing {"connection_id":231745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abdf"} 
[2026-11-05 18:53:14] local.INFO: GPS Element Parsed {"raw_longitude":763273984,"raw_latitude":95494080,"longitude_deg":76.3273984,"latitude_deg":9.549408,"altitude":7,"angle":2,"satellites":46,"speed":45,"hex_longitude":"2d7ea300","hex_latitude":"05b11fc0","is_valid_coordinates":true} 
[2026-11-05 18: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-05 18:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234540032001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40302590126194688,"note":"Value kept but may cause issues"} 
[2026-11-05 18:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124855819450009600,"note":"Value kept but may cause issues"} 
[2026-11-05 18:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793884931000,"timestamp_ms":1793884931000,"timestamp_seconds":1793884931,"priority":1,"record_length":96,"hex_timestamp":"000001a1abdfc3b8"} 
[2026-11-05 18: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-05 18: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-05 18: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 18:53:14] 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-05 18: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-05 18: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-05 18:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":231745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":231745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":231745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234540032001,"66":27343,"92":206,"85":12544,"24":45,"16":40302590126194688,"45":9124855819450009600},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-11-05 18:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234540032001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:53:14] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-11-05 18:53:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40302590126194688,"km_value":40302590126194.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124855819450009600,"description":"Unknown IO ID 45"} 
[2026-11-05 18:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234540032001,"power":27343,"unknown_92":206,"unknown_85":12544,"ignition":45,"odometer":null,"unknown_45":9124855819450009600}} 
[2026-11-05 18:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":231745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:53:14] local.INFO: GPS data processed {"connection_id":231745,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:53:14] local.INFO: Acknowledgment sent {"connection_id":231745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:53:45] local.INFO: TCP Data received {"connection_id":231745,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abdfe2f8012d7ea40005b14510000800002e..."} 
[2026-11-05 18:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abdfe2f8012d7ea40005b14510000800002e..."} 
[2026-11-05 18:53:45] local.INFO: Processing buffer {"connection_id":231745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abdfe2f8012d7ea40005b14510000800002e..."} 
[2026-11-05 18:53:45] local.INFO: Packet analysis {"connection_id":231745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abdf"} 
[2026-11-05 18:53:45] local.INFO: Extracted packet for processing {"connection_id":231745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abdf"} 
[2026-11-05 18:53:45] local.INFO: GPS Element Parsed {"raw_longitude":763274240,"raw_latitude":95503632,"longitude_deg":76.327424,"latitude_deg":9.5503632,"altitude":8,"angle":0,"satellites":46,"speed":48,"hex_longitude":"2d7ea400","hex_latitude":"05b14510","is_valid_coordinates":true} 
[2026-11-05 18:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234542336001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40303053982662656,"note":"Value kept but may cause issues"} 
[2026-11-05 18:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125137294429241344,"note":"Value kept but may cause issues"} 
[2026-11-05 18:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793884939000,"timestamp_ms":1793884939000,"timestamp_seconds":1793884939,"priority":1,"record_length":96,"hex_timestamp":"000001a1abdfe2f8"} 
[2026-11-05 18:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18: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-05 18:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 18:53: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-05 18:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":231745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":231745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":231745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:53: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-05 18:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234542336001,"66":26984,"92":206,"85":12544,"24":48,"16":40303053982662656,"45":9125137294429241344},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-11-05 18:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234542336001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:53:45] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-11-05 18:53:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40303053982662656,"km_value":40303053982662.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125137294429241344,"description":"Unknown IO ID 45"} 
[2026-11-05 18:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234542336001,"power":26984,"unknown_92":206,"unknown_85":12544,"ignition":48,"odometer":null,"unknown_45":9125137294429241344}} 
[2026-11-05 18:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":231745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:53:45] local.INFO: GPS data processed {"connection_id":231745,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:53:45] local.INFO: Acknowledgment sent {"connection_id":231745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:54:02] local.INFO: TCP Data received {"connection_id":230414,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:54:02] local.INFO: Processing buffer {"connection_id":230414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:54:02] local.INFO: IMEI packet received {"connection_id":230414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":230414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:54:02] local.INFO: TCP Data received {"connection_id":230414,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:54:02] local.INFO: Processing buffer {"connection_id":230414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:54:02] local.INFO: IMEI packet received {"connection_id":230414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":230414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:54:09] local.INFO: TCP Data received {"connection_id":230414,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:54:09] local.INFO: Processing buffer {"connection_id":230414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:54:09] local.INFO: IMEI packet received {"connection_id":230414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":230414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:54:10] local.INFO: TCP Data received {"connection_id":230414,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abe00238012d7ea54005b16978000a00032d..."} 
[2026-11-05 18:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abe00238012d7ea54005b16978000a00032d..."} 
[2026-11-05 18:54:10] local.INFO: Processing buffer {"connection_id":230414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abe00238012d7ea54005b16978000a00032d..."} 
[2026-11-05 18:54:10] local.INFO: Packet analysis {"connection_id":230414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abe0"} 
[2026-11-05 18:54:10] local.INFO: Extracted packet for processing {"connection_id":230414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abe0"} 
[2026-11-05 18:54:10] local.INFO: GPS Element Parsed {"raw_longitude":763274560,"raw_latitude":95512952,"longitude_deg":76.327456,"latitude_deg":9.5512952,"altitude":10,"angle":3,"satellites":45,"speed":44,"hex_longitude":"2d7ea540","hex_latitude":"05b16978","is_valid_coordinates":true} 
[2026-11-05 18:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234544384001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40303509249196032,"note":"Value kept but may cause issues"} 
[2026-11-05 18:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125418769408397312,"note":"Value kept but may cause issues"} 
[2026-11-05 18:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793884947000,"timestamp_ms":1793884947000,"timestamp_seconds":1793884947,"priority":1,"record_length":96,"hex_timestamp":"000001a1abe00238"} 
[2026-11-05 18:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:54: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-05 18:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-05 18:54:10] 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-05 18:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:54: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-05 18:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234544384001,"66":27463,"92":206,"85":12544,"24":44,"16":40303509249196032,"45":9125418769408397312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-11-05 18:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234544384001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:54:10] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-11-05 18:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40303509249196032,"km_value":40303509249196.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125418769408397312,"description":"Unknown IO ID 45"} 
[2026-11-05 18:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234544384001,"power":27463,"unknown_92":206,"unknown_85":12544,"ignition":44,"odometer":null,"unknown_45":9125418769408397312}} 
[2026-11-05 18:54:10] 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":64336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:54:10] local.INFO: GPS data processed {"connection_id":230414,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:54:10] local.INFO: Acknowledgment sent {"connection_id":230414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:54:16] local.INFO: TCP Data received {"connection_id":233646,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233646,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:54:16] local.INFO: Processing buffer {"connection_id":233646,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:54:16] local.INFO: IMEI packet received {"connection_id":233646,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 18:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":233646,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:54:41] local.INFO: TCP Data received {"connection_id":233648,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233648,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:54:41] local.INFO: Processing buffer {"connection_id":233648,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 18:54:41] local.INFO: IMEI packet received {"connection_id":233648,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 18:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":233648,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:54:43] local.INFO: TCP Data received {"connection_id":230414,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abe02560012d7ea88005b18e20000b00062e..."} 
[2026-11-05 18:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abe02560012d7ea88005b18e20000b00062e..."} 
[2026-11-05 18:54:43] local.INFO: Processing buffer {"connection_id":230414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abe02560012d7ea88005b18e20000b00062e..."} 
[2026-11-05 18:54:43] local.INFO: Packet analysis {"connection_id":230414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abe0"} 
[2026-11-05 18:54:43] local.INFO: Extracted packet for processing {"connection_id":230414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abe0"} 
[2026-11-05 18:54:43] local.INFO: GPS Element Parsed {"raw_longitude":763275392,"raw_latitude":95522336,"longitude_deg":76.3275392,"latitude_deg":9.5522336,"altitude":11,"angle":6,"satellites":46,"speed":35,"hex_longitude":"2d7ea880","hex_latitude":"05b18e20","is_valid_coordinates":true} 
[2026-11-05 18: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-05 18:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234546432001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40303964515729408,"note":"Value kept but may cause issues"} 
[2026-11-05 18:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125770613131671552,"note":"Value kept but may cause issues"} 
[2026-11-05 18:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793884956000,"timestamp_ms":1793884956000,"timestamp_seconds":1793884956,"priority":1,"record_length":96,"hex_timestamp":"000001a1abe02560"} 
[2026-11-05 18: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-05 18:54: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-05 18: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 18:54:43] 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-05 18: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-05 18: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-05 18:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":230414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":230414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":230414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:54: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-05 18:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234546432001,"66":27365,"58":206,"85":12544,"24":35,"16":40303964515729408,"45":9125770613131671552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-11-05 18:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234546432001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:54:43] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-05 18:54:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40303964515729408,"km_value":40303964515729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125770613131671552,"description":"Unknown IO ID 45"} 
[2026-11-05 18:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234546432001,"power":27365,"unknown_58":206,"unknown_85":12544,"ignition":35,"odometer":null,"unknown_45":9125770613131671552}} 
[2026-11-05 18:54:43] 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":64337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:54:43] local.INFO: GPS data processed {"connection_id":230414,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:54:43] local.INFO: Acknowledgment sent {"connection_id":230414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:55:12] local.INFO: TCP Data received {"connection_id":231746,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:55:12] local.INFO: Processing buffer {"connection_id":231746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:55:12] local.INFO: IMEI packet received {"connection_id":231746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":231746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:55:13] local.INFO: TCP Data received {"connection_id":231746,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:55:13] local.INFO: Processing buffer {"connection_id":231746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:55:13] local.INFO: IMEI packet received {"connection_id":231746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":231746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:55:18] local.INFO: TCP Data received {"connection_id":231746,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:55:18] local.INFO: Processing buffer {"connection_id":231746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:55:18] local.INFO: IMEI packet received {"connection_id":231746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":231746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:55:19] local.INFO: TCP Data received {"connection_id":231746,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abe17938012d7eb74005b323f8000701652e..."} 
[2026-11-05 18:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abe17938012d7eb74005b323f8000701652e..."} 
[2026-11-05 18:55:19] local.INFO: Processing buffer {"connection_id":231746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abe17938012d7eb74005b323f8000701652e..."} 
[2026-11-05 18:55:19] local.INFO: Packet analysis {"connection_id":231746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abe1"} 
[2026-11-05 18:55:19] local.INFO: Extracted packet for processing {"connection_id":231746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abe1"} 
[2026-11-05 18:55:19] local.INFO: GPS Element Parsed {"raw_longitude":763279168,"raw_latitude":95626232,"longitude_deg":76.3279168,"latitude_deg":9.5626232,"altitude":7,"angle":357,"satellites":46,"speed":48,"hex_longitude":"2d7eb740","hex_latitude":"05b323f8","is_valid_coordinates":true} 
[2026-11-05 18: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-05 18:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234568960001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40309015397269504,"note":"Value kept but may cause issues"} 
[2026-11-05 18:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131259375203975168,"note":"Value kept but may cause issues"} 
[2026-11-05 18:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793885043000,"timestamp_ms":1793885043000,"timestamp_seconds":1793885043,"priority":1,"record_length":96,"hex_timestamp":"000001a1abe17938"} 
[2026-11-05 18: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-05 18:55: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-05 18: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 18:55:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18: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-05 18: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-05 18:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":231746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":231746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":231746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:55:19] local.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-05 18:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234568960001,"66":27300,"58":206,"85":12544,"24":48,"16":40309015397269504,"45":9131259375203975168},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-11-05 18:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234568960001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:55:19] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-05 18:55:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40309015397269504,"km_value":40309015397269.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131259375203975168,"description":"Unknown IO ID 45"} 
[2026-11-05 18:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234568960001,"power":27300,"unknown_58":206,"unknown_85":12544,"ignition":48,"odometer":null,"unknown_45":9131259375203975168}} 
[2026-11-05 18:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":231746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:55:19] local.INFO: GPS data processed {"connection_id":231746,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:55:19] local.INFO: Acknowledgment sent {"connection_id":231746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:56:02] local.INFO: TCP Data received {"connection_id":230415,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:56:02] local.INFO: Processing buffer {"connection_id":230415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:56:02] local.INFO: IMEI packet received {"connection_id":230415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":230415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:56:07] local.INFO: TCP Data received {"connection_id":230415,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:56:07] local.INFO: Processing buffer {"connection_id":230415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:56:07] local.INFO: IMEI packet received {"connection_id":230415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":230415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:56:08] local.INFO: TCP Data received {"connection_id":230415,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abe19878012d7eb6c005b34898000600002e..."} 
[2026-11-05 18:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abe19878012d7eb6c005b34898000600002e..."} 
[2026-11-05 18:56:08] local.INFO: Processing buffer {"connection_id":230415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abe19878012d7eb6c005b34898000600002e..."} 
[2026-11-05 18:56:08] local.INFO: Packet analysis {"connection_id":230415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abe1"} 
[2026-11-05 18:56:08] local.INFO: Extracted packet for processing {"connection_id":230415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abe1"} 
[2026-11-05 18:56:08] local.INFO: GPS Element Parsed {"raw_longitude":763279040,"raw_latitude":95635608,"longitude_deg":76.327904,"latitude_deg":9.5635608,"altitude":6,"angle":0,"satellites":46,"speed":45,"hex_longitude":"2d7eb6c0","hex_latitude":"05b34898","is_valid_coordinates":true} 
[2026-11-05 18:56: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-05 18:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234571008001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40309466368835584,"note":"Value kept but may cause issues"} 
[2026-11-05 18:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130837162741463040,"note":"Value kept but may cause issues"} 
[2026-11-05 18:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793885051000,"timestamp_ms":1793885051000,"timestamp_seconds":1793885051,"priority":1,"record_length":96,"hex_timestamp":"000001a1abe19878"} 
[2026-11-05 18:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 18:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 18:56:08] 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-05 18:56: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-05 18:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":230415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":230415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":230415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:56:08] local.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-05 18:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234571008001,"66":27365,"58":206,"85":12544,"24":45,"16":40309466368835584,"45":9130837162741463040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-11-05 18:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234571008001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:56:08] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-05 18:56:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40309466368835584,"km_value":40309466368835.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130837162741463040,"description":"Unknown IO ID 45"} 
[2026-11-05 18:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234571008001,"power":27365,"unknown_58":206,"unknown_85":12544,"ignition":45,"odometer":null,"unknown_45":9130837162741463040}} 
[2026-11-05 18:56:08] 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":64339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:56:08] local.INFO: GPS data processed {"connection_id":230415,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:56:08] local.INFO: Acknowledgment sent {"connection_id":230415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:56:39] local.INFO: TCP Data received {"connection_id":230415,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abe2e868012d7ea6c005b4e588000701652d..."} 
[2026-11-05 18:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abe2e868012d7ea6c005b4e588000701652d..."} 
[2026-11-05 18:56:39] local.INFO: Processing buffer {"connection_id":230415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abe2e868012d7ea6c005b4e588000701652d..."} 
[2026-11-05 18:56:39] local.INFO: Packet analysis {"connection_id":230415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abe2"} 
[2026-11-05 18:56:39] local.INFO: Extracted packet for processing {"connection_id":230415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abe2"} 
[2026-11-05 18:56:39] local.INFO: GPS Element Parsed {"raw_longitude":763274944,"raw_latitude":95741320,"longitude_deg":76.3274944,"latitude_deg":9.574132,"altitude":7,"angle":357,"satellites":45,"speed":52,"hex_longitude":"2d7ea6c0","hex_latitude":"05b4e588","is_valid_coordinates":true} 
[2026-11-05 18:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234593280001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40314598854754304,"note":"Value kept but may cause issues"} 
[2026-11-05 18:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126615038117881856,"note":"Value kept but may cause issues"} 
[2026-11-05 18:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793885137000,"timestamp_ms":1793885137000,"timestamp_seconds":1793885137,"priority":1,"record_length":96,"hex_timestamp":"000001a1abe2e868"} 
[2026-11-05 18:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 18:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 18:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":230415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":230415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":230415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18: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-05 18:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234593280001,"66":27365,"122":206,"85":12544,"24":52,"16":40314598854754304,"45":9126615038117881856},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-11-05 18:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234593280001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:56:39] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-11-05 18:56:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40314598854754304,"km_value":40314598854754.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126615038117881856,"description":"Unknown IO ID 45"} 
[2026-11-05 18:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234593280001,"power":27365,"unknown_122":206,"unknown_85":12544,"ignition":52,"odometer":null,"unknown_45":9126615038117881856}} 
[2026-11-05 18:56:39] 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":64340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:56:39] local.INFO: GPS data processed {"connection_id":230415,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:56:39] local.INFO: Acknowledgment sent {"connection_id":230415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:57:02] local.INFO: TCP Data received {"connection_id":231747,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:57:02] local.INFO: Processing buffer {"connection_id":231747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:57:02] local.INFO: IMEI packet received {"connection_id":231747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":231747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:57:07] local.INFO: TCP Data received {"connection_id":231747,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:57:07] local.INFO: Processing buffer {"connection_id":231747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:57:07] local.INFO: IMEI packet received {"connection_id":231747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":231747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:57:08] local.INFO: TCP Data received {"connection_id":231747,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abe303c0012d7ea5c005b50890000701672e..."} 
[2026-11-05 18:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abe303c0012d7ea5c005b50890000701672e..."} 
[2026-11-05 18:57:08] local.INFO: Processing buffer {"connection_id":231747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abe303c0012d7ea5c005b50890000701672e..."} 
[2026-11-05 18:57:08] local.INFO: Packet analysis {"connection_id":231747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abe3"} 
[2026-11-05 18:57:08] local.INFO: Extracted packet for processing {"connection_id":231747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abe3"} 
[2026-11-05 18:57:08] local.INFO: GPS Element Parsed {"raw_longitude":763274688,"raw_latitude":95750288,"longitude_deg":76.3274688,"latitude_deg":9.5750288,"altitude":7,"angle":359,"satellites":46,"speed":48,"hex_longitude":"2d7ea5c0","hex_latitude":"05b50890","is_valid_coordinates":true} 
[2026-11-05 18:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234595072001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40315032646451200,"note":"Value kept but may cause issues"} 
[2026-11-05 18:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126192825655199744,"note":"Value kept but may cause issues"} 
[2026-11-05 18:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793885144000,"timestamp_ms":1793885144000,"timestamp_seconds":1793885144,"priority":1,"record_length":96,"hex_timestamp":"000001a1abe303c0"} 
[2026-11-05 18:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 18:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 18:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":231747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":231747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":231747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:57:08] local.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-05 18:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234595072001,"66":27365,"122":206,"85":12544,"24":48,"16":40315032646451200,"45":9126192825655199744},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-11-05 18:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234595072001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:57:08] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-11-05 18:57:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40315032646451200,"km_value":40315032646451.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126192825655199744,"description":"Unknown IO ID 45"} 
[2026-11-05 18:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234595072001,"power":27365,"unknown_122":206,"unknown_85":12544,"ignition":48,"odometer":null,"unknown_45":9126192825655199744}} 
[2026-11-05 18:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":231747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:57:08] local.INFO: GPS data processed {"connection_id":231747,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:57:08] local.INFO: Acknowledgment sent {"connection_id":231747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:57:39] local.INFO: TCP Data received {"connection_id":231747,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abe326e8012d7ea64005b52dd0000701672d..."} 
[2026-11-05 18:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abe326e8012d7ea64005b52dd0000701672d..."} 
[2026-11-05 18:57:39] local.INFO: Processing buffer {"connection_id":231747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abe326e8012d7ea64005b52dd0000701672d..."} 
[2026-11-05 18:57:39] local.INFO: Packet analysis {"connection_id":231747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abe3"} 
[2026-11-05 18:57:39] local.INFO: Extracted packet for processing {"connection_id":231747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abe3"} 
[2026-11-05 18:57:39] local.INFO: GPS Element Parsed {"raw_longitude":763274816,"raw_latitude":95759824,"longitude_deg":76.3274816,"latitude_deg":9.5759824,"altitude":7,"angle":359,"satellites":45,"speed":44,"hex_longitude":"2d7ea640","hex_latitude":"05b52dd0","is_valid_coordinates":true} 
[2026-11-05 18:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234596864001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40315496502919168,"note":"Value kept but may cause issues"} 
[2026-11-05 18:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125911350680784896,"note":"Value kept but may cause issues"} 
[2026-11-05 18:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793885153000,"timestamp_ms":1793885153000,"timestamp_seconds":1793885153,"priority":1,"record_length":96,"hex_timestamp":"000001a1abe326e8"} 
[2026-11-05 18:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 18:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 18:57:39] 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-05 18:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":231747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":231747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":231747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:57: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-05 18:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234596864001,"66":27071,"122":206,"85":12544,"24":44,"16":40315496502919168,"45":9125911350680784896},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-11-05 18:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234596864001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:57:39] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-11-05 18:57:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40315496502919168,"km_value":40315496502919.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125911350680784896,"description":"Unknown IO ID 45"} 
[2026-11-05 18:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234596864001,"power":27071,"unknown_122":206,"unknown_85":12544,"ignition":44,"odometer":null,"unknown_45":9125911350680784896}} 
[2026-11-05 18:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":231747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:57:39] local.INFO: GPS data processed {"connection_id":231747,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:57:39] local.INFO: Acknowledgment sent {"connection_id":231747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:58:05] local.INFO: TCP Data received {"connection_id":230416,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:58:05] local.INFO: Processing buffer {"connection_id":230416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:58:05] local.INFO: IMEI packet received {"connection_id":230416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":230416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:58:07] local.INFO: TCP Data received {"connection_id":230416,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:58:07] local.INFO: Processing buffer {"connection_id":230416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:58:07] local.INFO: IMEI packet received {"connection_id":230416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":230416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:58:12] local.INFO: TCP Data received {"connection_id":230416,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:58:12] local.INFO: Processing buffer {"connection_id":230416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:58:12] local.INFO: IMEI packet received {"connection_id":230416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":230416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:58:13] local.INFO: TCP Data received {"connection_id":230416,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abe34a10012d7ea64005b55468000600002d..."} 
[2026-11-05 18:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abe34a10012d7ea64005b55468000600002d..."} 
[2026-11-05 18:58:13] local.INFO: Processing buffer {"connection_id":230416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abe34a10012d7ea64005b55468000600002d..."} 
[2026-11-05 18:58:13] local.INFO: Packet analysis {"connection_id":230416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abe3"} 
[2026-11-05 18:58:13] local.INFO: Extracted packet for processing {"connection_id":230416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abe3"} 
[2026-11-05 18:58:13] local.INFO: GPS Element Parsed {"raw_longitude":763274816,"raw_latitude":95769704,"longitude_deg":76.3274816,"latitude_deg":9.5769704,"altitude":6,"angle":0,"satellites":45,"speed":40,"hex_longitude":"2d7ea640","hex_latitude":"05b55468","is_valid_coordinates":true} 
[2026-11-05 18: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-05 18:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234599168001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40315973244289024,"note":"Value kept but may cause issues"} 
[2026-11-05 18:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126052088171581440,"note":"Value kept but may cause issues"} 
[2026-11-05 18:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793885162000,"timestamp_ms":1793885162000,"timestamp_seconds":1793885162,"priority":1,"record_length":96,"hex_timestamp":"000001a1abe34a10"} 
[2026-11-05 18: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-05 18: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-05 18: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-11-05 18:58:13] 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-05 18: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-05 18: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-05 18:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 18:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234599168001,"66":27517,"122":206,"85":12544,"24":40,"16":40315973244289024,"45":9126052088171581440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-11-05 18:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234599168001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:58:13] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-11-05 18:58:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40315973244289024,"km_value":40315973244289.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126052088171581440,"description":"Unknown IO ID 45"} 
[2026-11-05 18:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234599168001,"power":27517,"unknown_122":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":9126052088171581440}} 
[2026-11-05 18:58:13] 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":64343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:58:13] local.INFO: GPS data processed {"connection_id":230416,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:58:13] local.INFO: Acknowledgment sent {"connection_id":230416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:58:16] local.INFO: TCP Data received {"connection_id":230416,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abe36950012d7ea8c005b570280006000c2e..."} 
[2026-11-05 18:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abe36950012d7ea8c005b570280006000c2e..."} 
[2026-11-05 18:58:16] local.INFO: Processing buffer {"connection_id":230416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abe36950012d7ea8c005b570280006000c2e..."} 
[2026-11-05 18:58:16] local.INFO: Packet analysis {"connection_id":230416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abe3"} 
[2026-11-05 18:58:16] local.INFO: Extracted packet for processing {"connection_id":230416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abe3"} 
[2026-11-05 18:58:16] local.INFO: GPS Element Parsed {"raw_longitude":763275456,"raw_latitude":95776808,"longitude_deg":76.3275456,"latitude_deg":9.5776808,"altitude":6,"angle":12,"satellites":46,"speed":30,"hex_longitude":"2d7ea8c0","hex_latitude":"05b57028","is_valid_coordinates":true} 
[2026-11-05 18: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-05 18:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234601472001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40316321136640000,"note":"Value kept but may cause issues"} 
[2026-11-05 18:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126052088174110720,"note":"Value kept but may cause issues"} 
[2026-11-05 18:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793885170000,"timestamp_ms":1793885170000,"timestamp_seconds":1793885170,"priority":1,"record_length":96,"hex_timestamp":"000001a1abe36950"} 
[2026-11-05 18: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-05 18:58: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-05 18: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-05 18:58: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-05 18: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-05 18: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-05 18:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:58: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-05 18:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234601472001,"66":27332,"122":206,"85":12544,"24":30,"16":40316321136640000,"45":9126052088174110720},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-11-05 18:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234601472001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:58:16] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-11-05 18:58:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40316321136640000,"km_value":40316321136640,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126052088174110720,"description":"Unknown IO ID 45"} 
[2026-11-05 18:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234601472001,"power":27332,"unknown_122":206,"unknown_85":12544,"ignition":30,"odometer":null,"unknown_45":9126052088174110720}} 
[2026-11-05 18:58:16] 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":64344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:58:16] local.INFO: GPS data processed {"connection_id":230416,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:58:16] local.INFO: Acknowledgment sent {"connection_id":230416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:58:50] local.INFO: TCP Data received {"connection_id":230416,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abe39448012d7ead4005b59468000600042e..."} 
[2026-11-05 18:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abe39448012d7ead4005b59468000600042e..."} 
[2026-11-05 18:58:50] local.INFO: Processing buffer {"connection_id":230416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abe39448012d7ead4005b59468000600042e..."} 
[2026-11-05 18:58:50] local.INFO: Packet analysis {"connection_id":230416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abe3"} 
[2026-11-05 18:58:50] local.INFO: Extracted packet for processing {"connection_id":230416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abe3"} 
[2026-11-05 18:58:50] local.INFO: GPS Element Parsed {"raw_longitude":763276608,"raw_latitude":95786088,"longitude_deg":76.3276608,"latitude_deg":9.5786088,"altitude":6,"angle":4,"satellites":46,"speed":31,"hex_longitude":"2d7ead40","hex_latitude":"05b59468","is_valid_coordinates":true} 
[2026-11-05 18:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234603520001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40316776403173376,"note":"Value kept but may cause issues"} 
[2026-11-05 18:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126755775617705984,"note":"Value kept but may cause issues"} 
[2026-11-05 18:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793885181000,"timestamp_ms":1793885181000,"timestamp_seconds":1793885181,"priority":1,"record_length":96,"hex_timestamp":"000001a1abe39448"} 
[2026-11-05 18:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:58: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-05 18:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 18:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":230416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":230416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":230416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:58: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-05 18:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234603520001,"66":27397,"122":206,"85":12544,"24":31,"16":40316776403173376,"45":9126755775617705984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-11-05 18:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234603520001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:58:50] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-11-05 18:58:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40316776403173376,"km_value":40316776403173.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126755775617705984,"description":"Unknown IO ID 45"} 
[2026-11-05 18:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234603520001,"power":27397,"unknown_122":206,"unknown_85":12544,"ignition":31,"odometer":null,"unknown_45":9126755775617705984}} 
[2026-11-05 18:58: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":64345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:58:50] local.INFO: GPS data processed {"connection_id":230416,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:58:50] local.INFO: Acknowledgment sent {"connection_id":230416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:59:02] local.INFO: TCP Data received {"connection_id":230417,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:59:02] local.INFO: Processing buffer {"connection_id":230417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:59:02] local.INFO: IMEI packet received {"connection_id":230417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 18:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":230417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 18:59:07] local.INFO: TCP Data received {"connection_id":230417,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:59:07] local.INFO: Processing buffer {"connection_id":230417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 18:59:07] local.INFO: IMEI packet received {"connection_id":230417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 18:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":230417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 18:59:08] local.INFO: TCP Data received {"connection_id":230417,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abe3e650012d7eaec005b5b6c0000801662f..."} 
[2026-11-05 18:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abe3e650012d7eaec005b5b6c0000801662f..."} 
[2026-11-05 18:59:08] local.INFO: Processing buffer {"connection_id":230417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abe3e650012d7eaec005b5b6c0000801662f..."} 
[2026-11-05 18:59:08] local.INFO: Packet analysis {"connection_id":230417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abe3"} 
[2026-11-05 18:59:08] local.INFO: Extracted packet for processing {"connection_id":230417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abe3"} 
[2026-11-05 18:59:08] local.INFO: GPS Element Parsed {"raw_longitude":763276992,"raw_latitude":95794880,"longitude_deg":76.3276992,"latitude_deg":9.579488,"altitude":8,"angle":358,"satellites":47,"speed":13,"hex_longitude":"2d7eaec0","hex_latitude":"05b5b6c0","is_valid_coordinates":true} 
[2026-11-05 18:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234606336001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40317201604935680,"note":"Value kept but may cause issues"} 
[2026-11-05 18:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128022413015279616,"note":"Value kept but may cause issues"} 
[2026-11-05 18:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793885202000,"timestamp_ms":1793885202000,"timestamp_seconds":1793885202,"priority":1,"record_length":96,"hex_timestamp":"000001a1abe3e650"} 
[2026-11-05 18:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 18:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 18:59:08] 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-05 18:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":230417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":230417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":230417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:59:08] local.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-05 18:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234606336001,"66":27397,"122":206,"85":12544,"24":13,"16":40317201604935680,"45":9128022413015279616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-11-05 18:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234606336001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:59:08] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-11-05 18:59:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40317201604935680,"km_value":40317201604935.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128022413015279616,"description":"Unknown IO ID 45"} 
[2026-11-05 18:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234606336001,"power":27397,"unknown_122":206,"unknown_85":12544,"ignition":13,"odometer":null,"unknown_45":9128022413015279616}} 
[2026-11-05 18:59:08] 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":64346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:59:08] local.INFO: GPS data processed {"connection_id":230417,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:59:08] local.INFO: Acknowledgment sent {"connection_id":230417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 18:59:40] local.INFO: TCP Data received {"connection_id":230417,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abe43858012d7eaec005b5d638000901642f..."} 
[2026-11-05 18:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abe43858012d7eaec005b5d638000901642f..."} 
[2026-11-05 18:59:40] local.INFO: Processing buffer {"connection_id":230417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abe43858012d7eaec005b5d638000901642f..."} 
[2026-11-05 18:59:40] local.INFO: Packet analysis {"connection_id":230417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abe4"} 
[2026-11-05 18:59:40] local.INFO: Extracted packet for processing {"connection_id":230417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abe4"} 
[2026-11-05 18:59:40] local.INFO: GPS Element Parsed {"raw_longitude":763276992,"raw_latitude":95802936,"longitude_deg":76.3276992,"latitude_deg":9.5802936,"altitude":9,"angle":356,"satellites":47,"speed":17,"hex_longitude":"2d7eaec0","hex_latitude":"05b5d638","is_valid_coordinates":true} 
[2026-11-05 18:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 18:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234611712001,"note":"Value kept but may cause issues"} 
[2026-11-05 18:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40317596741926912,"note":"Value kept but may cause issues"} 
[2026-11-05 18:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128444625482596352,"note":"Value kept but may cause issues"} 
[2026-11-05 18:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 18:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793885223000,"timestamp_ms":1793885223000,"timestamp_seconds":1793885223,"priority":1,"record_length":96,"hex_timestamp":"000001a1abe43858"} 
[2026-11-05 18:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 18:59: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-05 18:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 18:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 18:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 18:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 18:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 18:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 18:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 18:59: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-05 18:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 18:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 18:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234611712001,"66":27463,"122":206,"85":12544,"24":17,"16":40317596741926912,"45":9128444625482596352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-11-05 18:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 18:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 18:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234611712001,"description":"Unknown IO ID 0"} 
[2026-11-05 18:59:40] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-11-05 18:59:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 18:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40317596741926912,"km_value":40317596741926.914,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 18:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128444625482596352,"description":"Unknown IO ID 45"} 
[2026-11-05 18:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234611712001,"power":27463,"unknown_122":206,"unknown_85":12544,"ignition":17,"odometer":null,"unknown_45":9128444625482596352}} 
[2026-11-05 18:59:40] 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":64347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 18:59:40] local.INFO: GPS data processed {"connection_id":230417,"processed":1,"errors":0,"total":1} 
[2026-11-05 18:59:40] local.INFO: Acknowledgment sent {"connection_id":230417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:00:01] local.INFO: TCP Data received {"connection_id":230418,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:00:01] local.INFO: Processing buffer {"connection_id":230418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:00:01] local.INFO: IMEI packet received {"connection_id":230418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 19:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":230418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:00:02] local.INFO: TCP Data received {"connection_id":229894,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:00:02] local.INFO: Processing buffer {"connection_id":229894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:00:02] local.INFO: IMEI packet received {"connection_id":229894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":229894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:00:07] local.INFO: TCP Data received {"connection_id":229894,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:00:07] local.INFO: Processing buffer {"connection_id":229894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:00:07] local.INFO: IMEI packet received {"connection_id":229894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":229894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:00:07] local.INFO: TCP Data received {"connection_id":229894,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:00:07] local.INFO: Processing buffer {"connection_id":229894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:00:07] local.INFO: IMEI packet received {"connection_id":229894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":229894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:00:08] local.INFO: TCP Data received {"connection_id":229894,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abe60548012d7eaf0005b74cd8000a00002e..."} 
[2026-11-05 19:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abe60548012d7eaf0005b74cd8000a00002e..."} 
[2026-11-05 19:00:08] local.INFO: Processing buffer {"connection_id":229894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abe60548012d7eaf0005b74cd8000a00002e..."} 
[2026-11-05 19:00:08] local.INFO: Packet analysis {"connection_id":229894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abe6"} 
[2026-11-05 19:00:08] local.INFO: Extracted packet for processing {"connection_id":229894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abe6"} 
[2026-11-05 19:00:08] local.INFO: GPS Element Parsed {"raw_longitude":763277056,"raw_latitude":95898840,"longitude_deg":76.3277056,"latitude_deg":9.589884,"altitude":10,"angle":0,"satellites":46,"speed":40,"hex_longitude":"2d7eaf00","hex_latitude":"05b74cd8","is_valid_coordinates":true} 
[2026-11-05 19:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234644992001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40322265371377664,"note":"Value kept but may cause issues"} 
[2026-11-05 19:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128374256762746880,"note":"Value kept but may cause issues"} 
[2026-11-05 19:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793885341000,"timestamp_ms":1793885341000,"timestamp_seconds":1793885341,"priority":1,"record_length":96,"hex_timestamp":"000001a1abe60548"} 
[2026-11-05 19:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 19:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":229894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":229894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":229894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:00:08] local.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-05 19:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234644992001,"66":27332,"121":206,"85":12544,"24":40,"16":40322265371377664,"45":9128374256762746880},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-11-05 19:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234644992001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:00:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-11-05 19:00:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 19:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40322265371377664,"km_value":40322265371377.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128374256762746880,"description":"Unknown IO ID 45"} 
[2026-11-05 19:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234644992001,"power":27332,"unknown_121":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":9128374256762746880}} 
[2026-11-05 19:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":229894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:00:08] local.INFO: GPS data processed {"connection_id":229894,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:00:08] local.INFO: Acknowledgment sent {"connection_id":229894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:00:13] local.INFO: TCP Data received {"connection_id":229894,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abe62c58012d7eb00005b77058000b00012e..."} 
[2026-11-05 19:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abe62c58012d7eb00005b77058000b00012e..."} 
[2026-11-05 19:00:13] local.INFO: Processing buffer {"connection_id":229894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abe62c58012d7eb00005b77058000b00012e..."} 
[2026-11-05 19:00:13] local.INFO: Packet analysis {"connection_id":229894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abe6"} 
[2026-11-05 19:00:13] local.INFO: Extracted packet for processing {"connection_id":229894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abe6"} 
[2026-11-05 19:00:13] local.INFO: GPS Element Parsed {"raw_longitude":763277312,"raw_latitude":95907928,"longitude_deg":76.3277312,"latitude_deg":9.5907928,"altitude":11,"angle":1,"satellites":46,"speed":35,"hex_longitude":"2d7eb000","hex_latitude":"05b77058","is_valid_coordinates":true} 
[2026-11-05 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-05 19:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234647296001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40322703458041856,"note":"Value kept but may cause issues"} 
[2026-11-05 19:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128514994253387776,"note":"Value kept but may cause issues"} 
[2026-11-05 19:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793885351000,"timestamp_ms":1793885351000,"timestamp_seconds":1793885351,"priority":1,"record_length":96,"hex_timestamp":"000001a1abe62c58"} 
[2026-11-05 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-05 19:00: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-05 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 19:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 19:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234647296001,"66":27234,"121":206,"85":12544,"24":35,"16":40322703458041856,"45":9128514994253387776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-11-05 19:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234647296001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:00:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-11-05 19:00:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 19:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40322703458041856,"km_value":40322703458041.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128514994253387776,"description":"Unknown IO ID 45"} 
[2026-11-05 19:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234647296001,"power":27234,"unknown_121":206,"unknown_85":12544,"ignition":35,"odometer":null,"unknown_45":9128514994253387776}} 
[2026-11-05 19:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":229894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:00:13] local.INFO: GPS data processed {"connection_id":229894,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:00:13] local.INFO: Acknowledgment sent {"connection_id":229894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:00:45] local.INFO: TCP Data received {"connection_id":229894,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abe64f80012d7eb0c005b792f8000900012d..."} 
[2026-11-05 19:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abe64f80012d7eb0c005b792f8000900012d..."} 
[2026-11-05 19:00:45] local.INFO: Processing buffer {"connection_id":229894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abe64f80012d7eb0c005b792f8000900012d..."} 
[2026-11-05 19:00:45] local.INFO: Packet analysis {"connection_id":229894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abe6"} 
[2026-11-05 19:00:45] local.INFO: Extracted packet for processing {"connection_id":229894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abe6"} 
[2026-11-05 19:00:45] local.INFO: GPS Element Parsed {"raw_longitude":763277504,"raw_latitude":95916792,"longitude_deg":76.3277504,"latitude_deg":9.5916792,"altitude":9,"angle":1,"satellites":45,"speed":41,"hex_longitude":"2d7eb0c0","hex_latitude":"05b792f8","is_valid_coordinates":true} 
[2026-11-05 19:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234649856001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40323132954771456,"note":"Value kept but may cause issues"} 
[2026-11-05 19:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128796469232424960,"note":"Value kept but may cause issues"} 
[2026-11-05 19:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793885360000,"timestamp_ms":1793885360000,"timestamp_seconds":1793885360,"priority":1,"record_length":96,"hex_timestamp":"000001a1abe64f80"} 
[2026-11-05 19:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:00: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-05 19:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 19:00:45] 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-05 19:00:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:00: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-05 19:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234649856001,"66":27267,"121":206,"85":12544,"24":41,"16":40323132954771456,"45":9128796469232424960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-11-05 19:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234649856001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:00:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-11-05 19:00:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 19:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40323132954771456,"km_value":40323132954771.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128796469232424960,"description":"Unknown IO ID 45"} 
[2026-11-05 19:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234649856001,"power":27267,"unknown_121":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":9128796469232424960}} 
[2026-11-05 19:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":229894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:00:45] local.INFO: GPS data processed {"connection_id":229894,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:00:45] local.INFO: Acknowledgment sent {"connection_id":229894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:01:02] local.INFO: TCP Data received {"connection_id":233649,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:01:02] local.INFO: Processing buffer {"connection_id":233649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:01:02] local.INFO: IMEI packet received {"connection_id":233649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":233649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:01:09] local.INFO: TCP Data received {"connection_id":233649,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:01:09] local.INFO: Processing buffer {"connection_id":233649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:01:09] local.INFO: IMEI packet received {"connection_id":233649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":233649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:01:13] local.INFO: TCP Data received {"connection_id":233649,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abe672a8012d7eb20005b7b8c8000500002d..."} 
[2026-11-05 19:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abe672a8012d7eb20005b7b8c8000500002d..."} 
[2026-11-05 19:01:13] local.INFO: Processing buffer {"connection_id":233649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abe672a8012d7eb20005b7b8c8000500002d..."} 
[2026-11-05 19:01:13] local.INFO: Packet analysis {"connection_id":233649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abe6"} 
[2026-11-05 19:01:13] local.INFO: Extracted packet for processing {"connection_id":233649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abe6"} 
[2026-11-05 19:01:13] local.INFO: GPS Element Parsed {"raw_longitude":763277824,"raw_latitude":95926472,"longitude_deg":76.3277824,"latitude_deg":9.5926472,"altitude":5,"angle":0,"satellites":45,"speed":40,"hex_longitude":"2d7eb200","hex_latitude":"05b7b8c8","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234652160001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40323605401174016,"note":"Value kept but may cause issues"} 
[2026-11-05 19:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129007575467227136,"note":"Value kept but may cause issues"} 
[2026-11-05 19:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793885369000,"timestamp_ms":1793885369000,"timestamp_seconds":1793885369,"priority":1,"record_length":96,"hex_timestamp":"000001a1abe672a8"} 
[2026-11-05 19: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-05 19:01: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-05 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 19:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19: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-05 19: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-05 19:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":233649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":233649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":233649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234652160001,"66":27267,"121":206,"85":12544,"24":40,"16":40323605401174016,"45":9129007575467227136},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-11-05 19:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234652160001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:01:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-11-05 19:01:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 19:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40323605401174016,"km_value":40323605401174.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129007575467227136,"description":"Unknown IO ID 45"} 
[2026-11-05 19:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234652160001,"power":27267,"unknown_121":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":9129007575467227136}} 
[2026-11-05 19:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":233649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:01:13] local.INFO: GPS data processed {"connection_id":233649,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:01:13] local.INFO: Acknowledgment sent {"connection_id":233649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:01:45] local.INFO: TCP Data received {"connection_id":233649,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abe695d0012d7eb34005b7df88000500022e..."} 
[2026-11-05 19:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abe695d0012d7eb34005b7df88000500022e..."} 
[2026-11-05 19:01:45] local.INFO: Processing buffer {"connection_id":233649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abe695d0012d7eb34005b7df88000500022e..."} 
[2026-11-05 19:01:45] local.INFO: Packet analysis {"connection_id":233649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abe6"} 
[2026-11-05 19:01:45] local.INFO: Extracted packet for processing {"connection_id":233649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abe6"} 
[2026-11-05 19:01:45] local.INFO: GPS Element Parsed {"raw_longitude":763278144,"raw_latitude":95936392,"longitude_deg":76.3278144,"latitude_deg":9.5936392,"altitude":5,"angle":2,"satellites":46,"speed":45,"hex_longitude":"2d7eb340","hex_latitude":"05b7df88","is_valid_coordinates":true} 
[2026-11-05 19:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234654464001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40324086437511168,"note":"Value kept but may cause issues"} 
[2026-11-05 19:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129359419190593536,"note":"Value kept but may cause issues"} 
[2026-11-05 19:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793885378000,"timestamp_ms":1793885378000,"timestamp_seconds":1793885378,"priority":1,"record_length":96,"hex_timestamp":"000001a1abe695d0"} 
[2026-11-05 19:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:01: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-05 19:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 19:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":233649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":233649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":233649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:01: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-05 19:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234654464001,"66":27267,"121":206,"85":12544,"24":45,"16":40324086437511168,"45":9129359419190593536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-11-05 19:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234654464001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:01:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-11-05 19:01:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 19:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40324086437511168,"km_value":40324086437511.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129359419190593536,"description":"Unknown IO ID 45"} 
[2026-11-05 19:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234654464001,"power":27267,"unknown_121":206,"unknown_85":12544,"ignition":45,"odometer":null,"unknown_45":9129359419190593536}} 
[2026-11-05 19:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":233649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:01:45] local.INFO: GPS data processed {"connection_id":233649,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:01:45] local.INFO: Acknowledgment sent {"connection_id":233649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:02:08] local.INFO: TCP Data received {"connection_id":229895,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:02:08] local.INFO: Processing buffer {"connection_id":229895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:02:08] local.INFO: IMEI packet received {"connection_id":229895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":229895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:02:08] local.INFO: TCP Data received {"connection_id":229895,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:02:08] local.INFO: Processing buffer {"connection_id":229895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:02:08] local.INFO: IMEI packet received {"connection_id":229895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":229895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:02:09] local.INFO: TCP Data received {"connection_id":229895,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abe6b510012d7eb54005b802c8000500032e..."} 
[2026-11-05 19:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abe6b510012d7eb54005b802c8000500032e..."} 
[2026-11-05 19:02:09] local.INFO: Processing buffer {"connection_id":229895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abe6b510012d7eb54005b802c8000500032e..."} 
[2026-11-05 19:02:09] local.INFO: Packet analysis {"connection_id":229895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abe6"} 
[2026-11-05 19:02:09] local.INFO: Extracted packet for processing {"connection_id":229895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abe6"} 
[2026-11-05 19:02:09] local.INFO: GPS Element Parsed {"raw_longitude":763278656,"raw_latitude":95945416,"longitude_deg":76.3278656,"latitude_deg":9.5945416,"altitude":5,"angle":3,"satellites":46,"speed":40,"hex_longitude":"2d7eb540","hex_latitude":"05b802c8","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234656768001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40324524524175360,"note":"Value kept but may cause issues"} 
[2026-11-05 19:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129711262914021376,"note":"Value kept but may cause issues"} 
[2026-11-05 19:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793885386000,"timestamp_ms":1793885386000,"timestamp_seconds":1793885386,"priority":1,"record_length":96,"hex_timestamp":"000001a1abe6b510"} 
[2026-11-05 19: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-05 19: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-05 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 19:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19: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-05 19: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-05 19:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:02:09] local.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-05 19:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234656768001,"66":27267,"121":206,"85":12544,"24":40,"16":40324524524175360,"45":9129711262914021376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-11-05 19:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234656768001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:02:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-11-05 19:02:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 19:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40324524524175360,"km_value":40324524524175.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129711262914021376,"description":"Unknown IO ID 45"} 
[2026-11-05 19:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234656768001,"power":27267,"unknown_121":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":9129711262914021376}} 
[2026-11-05 19:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":229895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:02:09] local.INFO: GPS data processed {"connection_id":229895,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:02:09] local.INFO: Acknowledgment sent {"connection_id":229895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:02:13] local.INFO: TCP Data received {"connection_id":229895,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abe6d838012d7eb70005b82678000700022e..."} 
[2026-11-05 19:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abe6d838012d7eb70005b82678000700022e..."} 
[2026-11-05 19:02:13] local.INFO: Processing buffer {"connection_id":229895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abe6d838012d7eb70005b82678000700022e..."} 
[2026-11-05 19:02:13] local.INFO: Packet analysis {"connection_id":229895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abe6"} 
[2026-11-05 19:02:13] local.INFO: Extracted packet for processing {"connection_id":229895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abe6"} 
[2026-11-05 19:02:13] local.INFO: GPS Element Parsed {"raw_longitude":763279104,"raw_latitude":95954552,"longitude_deg":76.3279104,"latitude_deg":9.5954552,"altitude":7,"angle":2,"satellites":46,"speed":38,"hex_longitude":"2d7eb700","hex_latitude":"05b82678","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234658816001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40324966905806848,"note":"Value kept but may cause issues"} 
[2026-11-05 19:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130274212869752832,"note":"Value kept but may cause issues"} 
[2026-11-05 19:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793885395000,"timestamp_ms":1793885395000,"timestamp_seconds":1793885395,"priority":1,"record_length":96,"hex_timestamp":"000001a1abe6d838"} 
[2026-11-05 19: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-05 19:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 19:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19: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-05 19: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-05 19:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234658816001,"66":27245,"121":206,"85":12544,"24":38,"16":40324966905806848,"45":9130274212869752832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-11-05 19:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234658816001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:02:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-11-05 19:02:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 19:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40324966905806848,"km_value":40324966905806.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130274212869752832,"description":"Unknown IO ID 45"} 
[2026-11-05 19:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234658816001,"power":27245,"unknown_121":206,"unknown_85":12544,"ignition":38,"odometer":null,"unknown_45":9130274212869752832}} 
[2026-11-05 19:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":229895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:02:13] local.INFO: GPS data processed {"connection_id":229895,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:02:13] local.INFO: Acknowledgment sent {"connection_id":229895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:02:43] local.INFO: TCP Data received {"connection_id":229895,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abe6fb60012d7eb84005b84928000700022e..."} 
[2026-11-05 19:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abe6fb60012d7eb84005b84928000700022e..."} 
[2026-11-05 19:02:43] local.INFO: Processing buffer {"connection_id":229895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abe6fb60012d7eb84005b84928000700022e..."} 
[2026-11-05 19:02:43] local.INFO: Packet analysis {"connection_id":229895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abe6"} 
[2026-11-05 19:02:43] local.INFO: Extracted packet for processing {"connection_id":229895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abe6"} 
[2026-11-05 19:02:43] local.INFO: GPS Element Parsed {"raw_longitude":763279424,"raw_latitude":95963432,"longitude_deg":76.3279424,"latitude_deg":9.5963432,"altitude":7,"angle":2,"satellites":46,"speed":41,"hex_longitude":"2d7eb840","hex_latitude":"05b84928","is_valid_coordinates":true} 
[2026-11-05 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-05 19:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234661120001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40325400697503744,"note":"Value kept but may cause issues"} 
[2026-11-05 19:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130766794081335296,"note":"Value kept but may cause issues"} 
[2026-11-05 19:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793885404000,"timestamp_ms":1793885404000,"timestamp_seconds":1793885404,"priority":1,"record_length":96,"hex_timestamp":"000001a1abe6fb60"} 
[2026-11-05 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-05 19:02: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-05 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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-11-05 19:02:43] 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-05 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-05 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-05 19:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:02: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-05 19:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234661120001,"66":27267,"121":206,"85":12544,"24":41,"16":40325400697503744,"45":9130766794081335296},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-11-05 19:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234661120001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:02:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-11-05 19:02:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 19:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40325400697503744,"km_value":40325400697503.74,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130766794081335296,"description":"Unknown IO ID 45"} 
[2026-11-05 19:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234661120001,"power":27267,"unknown_121":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":9130766794081335296}} 
[2026-11-05 19:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":229895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:02:43] local.INFO: GPS data processed {"connection_id":229895,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:02:43] local.INFO: Acknowledgment sent {"connection_id":229895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:03:02] local.INFO: TCP Data received {"connection_id":233650,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:03:02] local.INFO: Processing buffer {"connection_id":233650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:03:02] local.INFO: IMEI packet received {"connection_id":233650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":233650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:03:07] local.INFO: TCP Data received {"connection_id":233650,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:03:07] local.INFO: Processing buffer {"connection_id":233650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:03:07] local.INFO: IMEI packet received {"connection_id":233650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":233650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:03:08] local.INFO: TCP Data received {"connection_id":233650,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abe71e88012d7eb88005b86c18000700012e..."} 
[2026-11-05 19:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abe71e88012d7eb88005b86c18000700012e..."} 
[2026-11-05 19:03:08] local.INFO: Processing buffer {"connection_id":233650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abe71e88012d7eb88005b86c18000700012e..."} 
[2026-11-05 19:03:08] local.INFO: Packet analysis {"connection_id":233650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abe7"} 
[2026-11-05 19:03:08] local.INFO: Extracted packet for processing {"connection_id":233650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abe7"} 
[2026-11-05 19:03:08] local.INFO: GPS Element Parsed {"raw_longitude":763279488,"raw_latitude":95972376,"longitude_deg":76.3279488,"latitude_deg":9.5972376,"altitude":7,"angle":1,"satellites":46,"speed":38,"hex_longitude":"2d7eb880","hex_latitude":"05b86c18","is_valid_coordinates":true} 
[2026-11-05 19:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234663424001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40325834489200640,"note":"Value kept but may cause issues"} 
[2026-11-05 19:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131118637804496896,"note":"Value kept but may cause issues"} 
[2026-11-05 19:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793885413000,"timestamp_ms":1793885413000,"timestamp_seconds":1793885413,"priority":1,"record_length":96,"hex_timestamp":"000001a1abe71e88"} 
[2026-11-05 19:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:03: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-05 19:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 19:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":233650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":233650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":233650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:03:08] local.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-05 19:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234663424001,"66":27310,"121":206,"85":12544,"24":38,"16":40325834489200640,"45":9131118637804496896},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-11-05 19:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234663424001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:03:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-11-05 19:03:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 19:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40325834489200640,"km_value":40325834489200.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131118637804496896,"description":"Unknown IO ID 45"} 
[2026-11-05 19:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234663424001,"power":27310,"unknown_121":206,"unknown_85":12544,"ignition":38,"odometer":null,"unknown_45":9131118637804496896}} 
[2026-11-05 19:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":233650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:03:08] local.INFO: GPS data processed {"connection_id":233650,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:03:08] local.INFO: Acknowledgment sent {"connection_id":233650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:03:41] local.INFO: TCP Data received {"connection_id":233650,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abe906d0012d7eecc005b9f460000600082a..."} 
[2026-11-05 19:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abe906d0012d7eecc005b9f460000600082a..."} 
[2026-11-05 19:03:41] local.INFO: Processing buffer {"connection_id":233650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abe906d0012d7eecc005b9f460000600082a..."} 
[2026-11-05 19:03:41] local.INFO: Packet analysis {"connection_id":233650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abe9"} 
[2026-11-05 19:03:41] local.INFO: Extracted packet for processing {"connection_id":233650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abe9"} 
[2026-11-05 19:03:41] local.INFO: GPS Element Parsed {"raw_longitude":763292864,"raw_latitude":96072800,"longitude_deg":76.3292864,"latitude_deg":9.60728,"altitude":6,"angle":8,"satellites":42,"speed":27,"hex_longitude":"2d7eecc0","hex_latitude":"05b9f460","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234694400001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40330752226754560,"note":"Value kept but may cause issues"} 
[2026-11-05 19:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9144207224247267328,"note":"Value kept but may cause issues"} 
[2026-11-05 19:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793885538000,"timestamp_ms":1793885538000,"timestamp_seconds":1793885538,"priority":1,"record_length":96,"hex_timestamp":"000001a1abe906d0"} 
[2026-11-05 19: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-05 19:03: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-05 19: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-05 19:03:41] 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-05 19: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-05 19: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-05 19:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234694400001,"66":27484,"127":206,"85":12544,"24":27,"16":40330752226754560,"45":9144207224247267328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-11-05 19:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234694400001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:03:41] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-11-05 19:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 19:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40330752226754560,"km_value":40330752226754.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9144207224247267328,"description":"Unknown IO ID 45"} 
[2026-11-05 19:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234694400001,"power":27484,"unknown_127":206,"unknown_85":12544,"ignition":27,"odometer":null,"unknown_45":9144207224247267328}} 
[2026-11-05 19:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":233650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:03:41] local.INFO: GPS data processed {"connection_id":233650,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:03:41] local.INFO: Acknowledgment sent {"connection_id":233650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:04:02] local.INFO: TCP Data received {"connection_id":233651,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:04:02] local.INFO: Processing buffer {"connection_id":233651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:04:02] local.INFO: IMEI packet received {"connection_id":233651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":233651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:04:07] local.INFO: TCP Data received {"connection_id":233651,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:04:07] local.INFO: Processing buffer {"connection_id":233651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:04:07] local.INFO: IMEI packet received {"connection_id":233651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":233651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:04:07] local.INFO: TCP Data received {"connection_id":233651,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abe93998012d7ef24005ba17e00007000629..."} 
[2026-11-05 19:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abe93998012d7ef24005ba17e00007000629..."} 
[2026-11-05 19:04:08] local.INFO: Processing buffer {"connection_id":233651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abe93998012d7ef24005ba17e00007000629..."} 
[2026-11-05 19:04:08] local.INFO: Packet analysis {"connection_id":233651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abe9"} 
[2026-11-05 19:04:08] local.INFO: Extracted packet for processing {"connection_id":233651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abe9"} 
[2026-11-05 19:04:08] local.INFO: GPS Element Parsed {"raw_longitude":763294272,"raw_latitude":96081888,"longitude_deg":76.3294272,"latitude_deg":9.6081888,"altitude":7,"angle":6,"satellites":41,"speed":22,"hex_longitude":"2d7ef240","hex_latitude":"05ba17e0","is_valid_coordinates":true} 
[2026-11-05 19:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234697728001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40331198903353344,"note":"Value kept but may cause issues"} 
[2026-11-05 19:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9145896074109804544,"note":"Value kept but may cause issues"} 
[2026-11-05 19:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793885551000,"timestamp_ms":1793885551000,"timestamp_seconds":1793885551,"priority":1,"record_length":96,"hex_timestamp":"000001a1abe93998"} 
[2026-11-05 19:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:04: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-05 19:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 19:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":233651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":233651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":233651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:04:08] local.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-05 19:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234697728001,"66":27397,"127":206,"85":12544,"24":22,"16":40331198903353344,"45":9145896074109804544},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-11-05 19:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234697728001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:04:08] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-11-05 19:04:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 19:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40331198903353344,"km_value":40331198903353.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9145896074109804544,"description":"Unknown IO ID 45"} 
[2026-11-05 19:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234697728001,"power":27397,"unknown_127":206,"unknown_85":12544,"ignition":22,"odometer":null,"unknown_45":9145896074109804544}} 
[2026-11-05 19:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":233651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:04:08] local.INFO: GPS data processed {"connection_id":233651,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:04:08] local.INFO: Acknowledgment sent {"connection_id":233651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:04:41] local.INFO: TCP Data received {"connection_id":233651,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abe97fe8012d7ef88005ba3b90000800092c..."} 
[2026-11-05 19:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abe97fe8012d7ef88005ba3b90000800092c..."} 
[2026-11-05 19:04:41] local.INFO: Processing buffer {"connection_id":233651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abe97fe8012d7ef88005ba3b90000800092c..."} 
[2026-11-05 19:04:41] local.INFO: Packet analysis {"connection_id":233651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abe9"} 
[2026-11-05 19:04:41] local.INFO: Extracted packet for processing {"connection_id":233651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abe9"} 
[2026-11-05 19:04:41] local.INFO: GPS Element Parsed {"raw_longitude":763295872,"raw_latitude":96091024,"longitude_deg":76.3295872,"latitude_deg":9.6091024,"altitude":8,"angle":9,"satellites":44,"speed":18,"hex_longitude":"2d7ef880","hex_latitude":"05ba3b90","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234701056001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40331649874919424,"note":"Value kept but may cause issues"} 
[2026-11-05 19:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9147444186484039680,"note":"Value kept but may cause issues"} 
[2026-11-05 19:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793885569000,"timestamp_ms":1793885569000,"timestamp_seconds":1793885569,"priority":1,"record_length":96,"hex_timestamp":"000001a1abe97fe8"} 
[2026-11-05 19: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-05 19:04: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-05 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 19:04:41] 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-05 19: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-05 19: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-05 19:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19: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-05 19:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234701056001,"66":27343,"127":206,"85":12544,"24":18,"16":40331649874919424,"45":9147444186484039680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-11-05 19:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234701056001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:04:41] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-11-05 19:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 19:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40331649874919424,"km_value":40331649874919.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9147444186484039680,"description":"Unknown IO ID 45"} 
[2026-11-05 19:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234701056001,"power":27343,"unknown_127":206,"unknown_85":12544,"ignition":18,"odometer":null,"unknown_45":9147444186484039680}} 
[2026-11-05 19:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":233651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:04:41] local.INFO: GPS data processed {"connection_id":233651,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:04:41] local.INFO: Acknowledgment sent {"connection_id":233651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:05:02] local.INFO: TCP Data received {"connection_id":229896,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:05:02] local.INFO: Processing buffer {"connection_id":229896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:05:02] local.INFO: IMEI packet received {"connection_id":229896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":229896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:05:02] local.INFO: TCP Data received {"connection_id":229896,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:05:02] local.INFO: Processing buffer {"connection_id":229896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:05:02] local.INFO: IMEI packet received {"connection_id":229896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":229896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:05:07] local.INFO: TCP Data received {"connection_id":229896,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:05:07] local.INFO: Processing buffer {"connection_id":229896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:05:07] local.INFO: IMEI packet received {"connection_id":229896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":229896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:05:08] local.INFO: TCP Data received {"connection_id":229896,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abe9be68012d7efd0005ba5ea0000700082b..."} 
[2026-11-05 19:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abe9be68012d7efd0005ba5ea0000700082b..."} 
[2026-11-05 19:05:08] local.INFO: Processing buffer {"connection_id":229896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abe9be68012d7efd0005ba5ea0000700082b..."} 
[2026-11-05 19:05:08] local.INFO: Packet analysis {"connection_id":229896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abe9"} 
[2026-11-05 19:05:08] local.INFO: Extracted packet for processing {"connection_id":229896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abe9"} 
[2026-11-05 19:05:08] local.INFO: GPS Element Parsed {"raw_longitude":763297024,"raw_latitude":96100000,"longitude_deg":76.3297024,"latitude_deg":9.61,"altitude":7,"angle":8,"satellites":43,"speed":26,"hex_longitude":"2d7efd00","hex_latitude":"05ba5ea0","is_valid_coordinates":true} 
[2026-11-05 19:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234705664001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40332087961583616,"note":"Value kept but may cause issues"} 
[2026-11-05 19:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9149203405090820096,"note":"Value kept but may cause issues"} 
[2026-11-05 19:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793885585000,"timestamp_ms":1793885585000,"timestamp_seconds":1793885585,"priority":1,"record_length":96,"hex_timestamp":"000001a1abe9be68"} 
[2026-11-05 19:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:05: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-05 19:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 19:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":229896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":229896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":229896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:05:08] local.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-05 19:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234705664001,"66":27169,"128":206,"85":12544,"24":26,"16":40332087961583616,"45":9149203405090820096},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,85,24,16,45]} 
[2026-11-05 19:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234705664001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:05:08] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-11-05 19:05:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 19:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40332087961583616,"km_value":40332087961583.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9149203405090820096,"description":"Unknown IO ID 45"} 
[2026-11-05 19:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234705664001,"power":27169,"unknown_128":206,"unknown_85":12544,"ignition":26,"odometer":null,"unknown_45":9149203405090820096}} 
[2026-11-05 19:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":229896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:05:08] local.INFO: GPS data processed {"connection_id":229896,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:05:08] local.INFO: Acknowledgment sent {"connection_id":229896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:05:36] local.INFO: TCP Data received {"connection_id":231748,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:05:36] local.INFO: Processing buffer {"connection_id":231748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:05:36] local.INFO: IMEI packet received {"connection_id":231748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 19:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":231748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:05:39] local.INFO: TCP Data received {"connection_id":229896,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abe9ed48012d7f028005ba82100006000727..."} 
[2026-11-05 19:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abe9ed48012d7f028005ba82100006000727..."} 
[2026-11-05 19:05:39] local.INFO: Processing buffer {"connection_id":229896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abe9ed48012d7f028005ba82100006000727..."} 
[2026-11-05 19:05:39] local.INFO: Packet analysis {"connection_id":229896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abe9"} 
[2026-11-05 19:05:39] local.INFO: Extracted packet for processing {"connection_id":229896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abe9"} 
[2026-11-05 19:05:39] local.INFO: GPS Element Parsed {"raw_longitude":763298432,"raw_latitude":96109072,"longitude_deg":76.3298432,"latitude_deg":9.6109072,"altitude":6,"angle":7,"satellites":39,"speed":30,"hex_longitude":"2d7f0280","hex_latitude":"05ba8210","is_valid_coordinates":true} 
[2026-11-05 19:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234709760001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40332534638182400,"note":"Value kept but may cause issues"} 
[2026-11-05 19:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150470042488315904,"note":"Value kept but may cause issues"} 
[2026-11-05 19:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793885597000,"timestamp_ms":1793885597000,"timestamp_seconds":1793885597,"priority":1,"record_length":96,"hex_timestamp":"000001a1abe9ed48"} 
[2026-11-05 19:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:05: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-05 19:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-11-05 19:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":229896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":229896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":229896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:05: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-05 19:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234709760001,"66":27321,"120":206,"85":12544,"24":30,"16":40332534638182400,"45":9150470042488315904},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-11-05 19:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234709760001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:05:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-11-05 19:05:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 19:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40332534638182400,"km_value":40332534638182.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150470042488315904,"description":"Unknown IO ID 45"} 
[2026-11-05 19:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234709760001,"power":27321,"unknown_120":206,"unknown_85":12544,"ignition":30,"odometer":null,"unknown_45":9150470042488315904}} 
[2026-11-05 19:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":229896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:05:39] local.INFO: GPS data processed {"connection_id":229896,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:05:39] local.INFO: Acknowledgment sent {"connection_id":229896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:06:01] local.INFO: TCP Data received {"connection_id":231749,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:06:01] local.INFO: Processing buffer {"connection_id":231749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:06:01] local.INFO: IMEI packet received {"connection_id":231749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":231749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:06:02] local.INFO: TCP Data received {"connection_id":231749,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:06:02] local.INFO: Processing buffer {"connection_id":231749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:06:02] local.INFO: IMEI packet received {"connection_id":231749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":231749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:06:07] local.INFO: TCP Data received {"connection_id":231749,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:06:07] local.INFO: Processing buffer {"connection_id":231749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:06:07] local.INFO: IMEI packet received {"connection_id":231749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":231749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:06:08] local.INFO: TCP Data received {"connection_id":231749,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abea1c28012d7f078005baa5380007000a2e..."} 
[2026-11-05 19:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abea1c28012d7f078005baa5380007000a2e..."} 
[2026-11-05 19:06:08] local.INFO: Processing buffer {"connection_id":231749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abea1c28012d7f078005baa5380007000a2e..."} 
[2026-11-05 19:06:08] local.INFO: Packet analysis {"connection_id":231749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abea"} 
[2026-11-05 19:06:08] local.INFO: Extracted packet for processing {"connection_id":231749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abea"} 
[2026-11-05 19:06:08] local.INFO: GPS Element Parsed {"raw_longitude":763299712,"raw_latitude":96118072,"longitude_deg":76.3299712,"latitude_deg":9.6118072,"altitude":7,"angle":10,"satellites":46,"speed":24,"hex_longitude":"2d7f0780","hex_latitude":"05baa538","is_valid_coordinates":true} 
[2026-11-05 19:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234712832001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40332972724846592,"note":"Value kept but may cause issues"} 
[2026-11-05 19:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9152018154862546944,"note":"Value kept but may cause issues"} 
[2026-11-05 19:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793885609000,"timestamp_ms":1793885609000,"timestamp_seconds":1793885609,"priority":1,"record_length":96,"hex_timestamp":"000001a1abea1c28"} 
[2026-11-05 19:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:06: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-05 19:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 19:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":231749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":231749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":231749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:06:08] local.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-05 19:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234712832001,"66":27245,"120":206,"85":12544,"24":24,"16":40332972724846592,"45":9152018154862546944},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-11-05 19:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234712832001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:06:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-11-05 19:06:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 19:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40332972724846592,"km_value":40332972724846.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9152018154862546944,"description":"Unknown IO ID 45"} 
[2026-11-05 19:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234712832001,"power":27245,"unknown_120":206,"unknown_85":12544,"ignition":24,"odometer":null,"unknown_45":9152018154862546944}} 
[2026-11-05 19:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":231749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:06:08] local.INFO: GPS data processed {"connection_id":231749,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:06:08] local.INFO: Acknowledgment sent {"connection_id":231749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:06:39] local.INFO: TCP Data received {"connection_id":231749,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abec0858012d7f4b4005bc14000008000a2e..."} 
[2026-11-05 19:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abec0858012d7f4b4005bc14000008000a2e..."} 
[2026-11-05 19:06:39] local.INFO: Processing buffer {"connection_id":231749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abec0858012d7f4b4005bc14000008000a2e..."} 
[2026-11-05 19:06:39] local.INFO: Packet analysis {"connection_id":231749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abec"} 
[2026-11-05 19:06:39] local.INFO: Extracted packet for processing {"connection_id":231749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abec"} 
[2026-11-05 19:06:39] local.INFO: GPS Element Parsed {"raw_longitude":763317056,"raw_latitude":96211968,"longitude_deg":76.3317056,"latitude_deg":9.6211968,"altitude":8,"angle":10,"satellites":46,"speed":36,"hex_longitude":"2d7f4b40","hex_latitude":"05bc1400","is_valid_coordinates":true} 
[2026-11-05 19:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234745344001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40337611289526272,"note":"Value kept but may cause issues"} 
[2026-11-05 19:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9170525134605228032,"note":"Value kept but may cause issues"} 
[2026-11-05 19:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793885735000,"timestamp_ms":1793885735000,"timestamp_seconds":1793885735,"priority":1,"record_length":96,"hex_timestamp":"000001a1abec0858"} 
[2026-11-05 19:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:06: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-05 19:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 19:06:39] 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-05 19:06:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":231749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":231749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":231749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234745344001,"66":27463,"120":206,"85":12544,"24":36,"16":40337611289526272,"45":9170525134605228032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-11-05 19:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234745344001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:06:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-11-05 19:06:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 19:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40337611289526272,"km_value":40337611289526.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9170525134605228032,"description":"Unknown IO ID 45"} 
[2026-11-05 19:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234745344001,"power":27463,"unknown_120":206,"unknown_85":12544,"ignition":36,"odometer":null,"unknown_45":9170525134605228032}} 
[2026-11-05 19:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":231749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:06:39] local.INFO: GPS data processed {"connection_id":231749,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:06:39] local.INFO: Acknowledgment sent {"connection_id":231749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:07:02] local.INFO: TCP Data received {"connection_id":233652,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:07:02] local.INFO: Processing buffer {"connection_id":233652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:07:02] local.INFO: IMEI packet received {"connection_id":233652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":233652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:07:08] local.INFO: TCP Data received {"connection_id":233652,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:07:08] local.INFO: Processing buffer {"connection_id":233652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:07:08] local.INFO: IMEI packet received {"connection_id":233652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":233652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:07:09] local.INFO: TCP Data received {"connection_id":233652,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abec2f68012d7f51c005bc3858000800092e..."} 
[2026-11-05 19:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abec2f68012d7f51c005bc3858000800092e..."} 
[2026-11-05 19:07:09] local.INFO: Processing buffer {"connection_id":233652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abec2f68012d7f51c005bc3858000800092e..."} 
[2026-11-05 19:07:09] local.INFO: Packet analysis {"connection_id":233652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abec"} 
[2026-11-05 19:07:09] local.INFO: Extracted packet for processing {"connection_id":233652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abec"} 
[2026-11-05 19:07:09] local.INFO: GPS Element Parsed {"raw_longitude":763318720,"raw_latitude":96221272,"longitude_deg":76.331872,"latitude_deg":9.6221272,"altitude":8,"angle":9,"satellites":46,"speed":38,"hex_longitude":"2d7f51c0","hex_latitude":"05bc3858","is_valid_coordinates":true} 
[2026-11-05 19:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234748160001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40338066556059648,"note":"Value kept but may cause issues"} 
[2026-11-05 19:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9172495459444588544,"note":"Value kept but may cause issues"} 
[2026-11-05 19:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793885745000,"timestamp_ms":1793885745000,"timestamp_seconds":1793885745,"priority":1,"record_length":96,"hex_timestamp":"000001a1abec2f68"} 
[2026-11-05 19:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 19:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:07:09] local.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-05 19:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234748160001,"66":27463,"121":206,"85":12544,"24":38,"16":40338066556059648,"45":9172495459444588544},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-11-05 19:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234748160001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:07:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-11-05 19:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 19:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40338066556059648,"km_value":40338066556059.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9172495459444588544,"description":"Unknown IO ID 45"} 
[2026-11-05 19:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234748160001,"power":27463,"unknown_121":206,"unknown_85":12544,"ignition":38,"odometer":null,"unknown_45":9172495459444588544}} 
[2026-11-05 19:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":233652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:07:09] local.INFO: GPS data processed {"connection_id":233652,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:07:09] local.INFO: Acknowledgment sent {"connection_id":233652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:07:39] local.INFO: TCP Data received {"connection_id":233652,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abec5290012d7f574005bc5b100008000a2e..."} 
[2026-11-05 19:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abec5290012d7f574005bc5b100008000a2e..."} 
[2026-11-05 19:07:39] local.INFO: Processing buffer {"connection_id":233652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abec5290012d7f574005bc5b100008000a2e..."} 
[2026-11-05 19:07:39] local.INFO: Packet analysis {"connection_id":233652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abec"} 
[2026-11-05 19:07:39] local.INFO: Extracted packet for processing {"connection_id":233652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abec"} 
[2026-11-05 19:07:39] local.INFO: GPS Element Parsed {"raw_longitude":763320128,"raw_latitude":96230160,"longitude_deg":76.3320128,"latitude_deg":9.623016,"altitude":8,"angle":10,"satellites":46,"speed":40,"hex_longitude":"2d7f5740","hex_latitude":"05bc5b10","is_valid_coordinates":true} 
[2026-11-05 19:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234750720001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40338504642723840,"note":"Value kept but may cause issues"} 
[2026-11-05 19:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9174325046795589632,"note":"Value kept but may cause issues"} 
[2026-11-05 19:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793885754000,"timestamp_ms":1793885754000,"timestamp_seconds":1793885754,"priority":1,"record_length":96,"hex_timestamp":"000001a1abec5290"} 
[2026-11-05 19:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:07: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-05 19:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 19:07:39] 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-05 19:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":233652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":233652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":233652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234750720001,"66":27376,"121":206,"85":12544,"24":40,"16":40338504642723840,"45":9174325046795589632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-11-05 19:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234750720001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:07:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-11-05 19:07:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 19:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40338504642723840,"km_value":40338504642723.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9174325046795589632,"description":"Unknown IO ID 45"} 
[2026-11-05 19:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234750720001,"power":27376,"unknown_121":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":9174325046795589632}} 
[2026-11-05 19:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":233652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:07:39] local.INFO: GPS data processed {"connection_id":233652,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:07:39] local.INFO: Acknowledgment sent {"connection_id":233652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:08:02] local.INFO: TCP Data received {"connection_id":230419,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:08:02] local.INFO: Processing buffer {"connection_id":230419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:08:02] local.INFO: IMEI packet received {"connection_id":230419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":230419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:08:07] local.INFO: TCP Data received {"connection_id":230419,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:08:07] local.INFO: Processing buffer {"connection_id":230419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:08:07] local.INFO: IMEI packet received {"connection_id":230419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":230419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:08:16] local.INFO: TCP Data received {"connection_id":230419,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abec75b8012d7f5dc005bc7f30000800092c..."} 
[2026-11-05 19:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abec75b8012d7f5dc005bc7f30000800092c..."} 
[2026-11-05 19:08:16] local.INFO: Processing buffer {"connection_id":230419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abec75b8012d7f5dc005bc7f30000800092c..."} 
[2026-11-05 19:08:16] local.INFO: Packet analysis {"connection_id":230419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abec"} 
[2026-11-05 19:08:16] local.INFO: Extracted packet for processing {"connection_id":230419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abec"} 
[2026-11-05 19:08:16] local.INFO: GPS Element Parsed {"raw_longitude":763321792,"raw_latitude":96239408,"longitude_deg":76.3321792,"latitude_deg":9.6239408,"altitude":8,"angle":9,"satellites":44,"speed":42,"hex_longitude":"2d7f5dc0","hex_latitude":"05bc7f30","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234753024001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40338959909257216,"note":"Value kept but may cause issues"} 
[2026-11-05 19:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9175873159169773568,"note":"Value kept but may cause issues"} 
[2026-11-05 19:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793885763000,"timestamp_ms":1793885763000,"timestamp_seconds":1793885763,"priority":1,"record_length":96,"hex_timestamp":"000001a1abec75b8"} 
[2026-11-05 19: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-05 19:08: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-05 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 19:08:16] 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-05 19: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-05 19: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-05 19:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:08: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-05 19:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234753024001,"66":27376,"121":206,"85":12544,"24":42,"16":40338959909257216,"45":9175873159169773568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-11-05 19:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234753024001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:08:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-11-05 19:08:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-11-05 19:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40338959909257216,"km_value":40338959909257.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9175873159169773568,"description":"Unknown IO ID 45"} 
[2026-11-05 19:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234753024001,"power":27376,"unknown_121":206,"unknown_85":12544,"ignition":42,"odometer":null,"unknown_45":9175873159169773568}} 
[2026-11-05 19:08:16] 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":64366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:08:16] local.INFO: GPS data processed {"connection_id":230419,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:08:16] local.INFO: Acknowledgment sent {"connection_id":230419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:08:47] local.INFO: TCP Data received {"connection_id":230419,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abee0bf8012d7fa4c005be0a08000700082e..."} 
[2026-11-05 19:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abee0bf8012d7fa4c005be0a08000700082e..."} 
[2026-11-05 19:08:47] local.INFO: Processing buffer {"connection_id":230419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abee0bf8012d7fa4c005be0a08000700082e..."} 
[2026-11-05 19:08:47] local.INFO: Packet analysis {"connection_id":230419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abee"} 
[2026-11-05 19:08:47] local.INFO: Extracted packet for processing {"connection_id":230419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abee"} 
[2026-11-05 19:08:47] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":96340488,"longitude_deg":76.3339968,"latitude_deg":9.6340488,"altitude":7,"angle":8,"satellites":46,"speed":46,"hex_longitude":"2d7fa4c0","hex_latitude":"05be0a08","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234779904001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40343937776353280,"note":"Value kept but may cause issues"} 
[2026-11-05 19:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196068988774656000,"note":"Value kept but may cause issues"} 
[2026-11-05 19:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793885867000,"timestamp_ms":1793885867000,"timestamp_seconds":1793885867,"priority":1,"record_length":96,"hex_timestamp":"000001a1abee0bf8"} 
[2026-11-05 19: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-05 19:08: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-05 19: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-11-05 19:08:47] 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-05 19: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-05 19: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-05 19:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234779904001,"66":27397,"179":206,"85":12288,"24":46,"16":40343937776353280,"45":9196068988774656000},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-11-05 19:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234779904001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:08:47] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-05 19:08:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40343937776353280,"km_value":40343937776353.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196068988774656000,"description":"Unknown IO ID 45"} 
[2026-11-05 19:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234779904001,"power":27397,"unknown_179":206,"unknown_85":12288,"ignition":46,"odometer":null,"unknown_45":9196068988774656000}} 
[2026-11-05 19:08:47] 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":64367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:08:47] local.INFO: GPS data processed {"connection_id":230419,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:08:47] local.INFO: Acknowledgment sent {"connection_id":230419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:09:02] local.INFO: TCP Data received {"connection_id":231750,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:09:02] local.INFO: Processing buffer {"connection_id":231750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:09:02] local.INFO: IMEI packet received {"connection_id":231750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":231750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:09:07] local.INFO: TCP Data received {"connection_id":231750,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:09:07] local.INFO: Processing buffer {"connection_id":231750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:09:07] local.INFO: IMEI packet received {"connection_id":231750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":231750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:09:08] local.INFO: TCP Data received {"connection_id":231750,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abee2b38012d7fab8005be2e800007000b2f..."} 
[2026-11-05 19:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abee2b38012d7fab8005be2e800007000b2f..."} 
[2026-11-05 19:09:08] local.INFO: Processing buffer {"connection_id":231750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abee2b38012d7fab8005be2e800007000b2f..."} 
[2026-11-05 19:09:08] local.INFO: Packet analysis {"connection_id":231750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abee"} 
[2026-11-05 19:09:08] local.INFO: Extracted packet for processing {"connection_id":231750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abee"} 
[2026-11-05 19:09:08] local.INFO: GPS Element Parsed {"raw_longitude":763341696,"raw_latitude":96349824,"longitude_deg":76.3341696,"latitude_deg":9.6349824,"altitude":7,"angle":11,"satellites":47,"speed":46,"hex_longitude":"2d7fab80","hex_latitude":"05be2e80","is_valid_coordinates":true} 
[2026-11-05 19:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234781952001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40344397337853952,"note":"Value kept but may cause issues"} 
[2026-11-05 19:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469893093376,"note":"Value kept but may cause issues"} 
[2026-11-05 19:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793885875000,"timestamp_ms":1793885875000,"timestamp_seconds":1793885875,"priority":1,"record_length":96,"hex_timestamp":"000001a1abee2b38"} 
[2026-11-05 19:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:09: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-05 19:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 19:09:08] 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-05 19:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":231750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":231750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":231750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:09:08] local.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-05 19:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234781952001,"66":27321,"179":206,"85":12288,"24":46,"16":40344397337853952,"45":9197687469893093376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-11-05 19:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234781952001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:09:08] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-05 19:09:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40344397337853952,"km_value":40344397337853.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469893093376,"description":"Unknown IO ID 45"} 
[2026-11-05 19:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234781952001,"power":27321,"unknown_179":206,"unknown_85":12288,"ignition":46,"odometer":null,"unknown_45":9197687469893093376}} 
[2026-11-05 19:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":231750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:09:08] local.INFO: GPS data processed {"connection_id":231750,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:09:08] local.INFO: Acknowledgment sent {"connection_id":231750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:09:39] local.INFO: TCP Data received {"connection_id":231750,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abee4a78012d7fb20005be51e00009000a2e..."} 
[2026-11-05 19:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abee4a78012d7fb20005be51e00009000a2e..."} 
[2026-11-05 19:09:39] local.INFO: Processing buffer {"connection_id":231750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abee4a78012d7fb20005be51e00009000a2e..."} 
[2026-11-05 19:09:39] local.INFO: Packet analysis {"connection_id":231750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abee"} 
[2026-11-05 19:09:39] local.INFO: Extracted packet for processing {"connection_id":231750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abee"} 
[2026-11-05 19:09:39] local.INFO: GPS Element Parsed {"raw_longitude":763343360,"raw_latitude":96358880,"longitude_deg":76.334336,"latitude_deg":9.635888,"altitude":9,"angle":10,"satellites":46,"speed":45,"hex_longitude":"2d7fb200","hex_latitude":"05be51e0","is_valid_coordinates":true} 
[2026-11-05 19:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234784000001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40344844014452736,"note":"Value kept but may cause issues"} 
[2026-11-05 19:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199587425988280320,"note":"Value kept but may cause issues"} 
[2026-11-05 19:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793885883000,"timestamp_ms":1793885883000,"timestamp_seconds":1793885883,"priority":1,"record_length":96,"hex_timestamp":"000001a1abee4a78"} 
[2026-11-05 19:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:09: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-05 19:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 19:09:39] 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-05 19:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":231750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":231750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":231750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234784000001,"66":27397,"179":206,"85":12288,"24":45,"16":40344844014452736,"45":9199587425988280320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-11-05 19:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234784000001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:09:39] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-05 19:09:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40344844014452736,"km_value":40344844014452.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199587425988280320,"description":"Unknown IO ID 45"} 
[2026-11-05 19:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234784000001,"power":27397,"unknown_179":206,"unknown_85":12288,"ignition":45,"odometer":null,"unknown_45":9199587425988280320}} 
[2026-11-05 19:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":231750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:09:39] local.INFO: GPS data processed {"connection_id":231750,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:09:39] local.INFO: Acknowledgment sent {"connection_id":231750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:10:12] local.INFO: TCP Data received {"connection_id":233653,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:10:12] local.INFO: Processing buffer {"connection_id":233653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:10:12] local.INFO: IMEI packet received {"connection_id":233653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":233653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:10:14] local.INFO: TCP Data received {"connection_id":233653,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:10:14] local.INFO: Processing buffer {"connection_id":233653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:10:14] local.INFO: IMEI packet received {"connection_id":233653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":233653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:10:18] local.INFO: TCP Data received {"connection_id":233653,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:10:18] local.INFO: Processing buffer {"connection_id":233653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:10:18] local.INFO: IMEI packet received {"connection_id":233653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":233653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:10:19] local.INFO: TCP Data received {"connection_id":233653,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abee6da0012d7fb94005be7738000b000a2e..."} 
[2026-11-05 19:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abee6da0012d7fb94005be7738000b000a2e..."} 
[2026-11-05 19:10:19] local.INFO: Processing buffer {"connection_id":233653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abee6da0012d7fb94005be7738000b000a2e..."} 
[2026-11-05 19:10:19] local.INFO: Packet analysis {"connection_id":233653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abee"} 
[2026-11-05 19:10:19] local.INFO: Extracted packet for processing {"connection_id":233653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abee"} 
[2026-11-05 19:10:19] local.INFO: GPS Element Parsed {"raw_longitude":763345216,"raw_latitude":96368440,"longitude_deg":76.3345216,"latitude_deg":9.636844,"altitude":11,"angle":10,"satellites":46,"speed":40,"hex_longitude":"2d7fb940","hex_latitude":"05be7738","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234786048001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40345316460855296,"note":"Value kept but may cause issues"} 
[2026-11-05 19:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201417013339217920,"note":"Value kept but may cause issues"} 
[2026-11-05 19:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793885892000,"timestamp_ms":1793885892000,"timestamp_seconds":1793885892,"priority":1,"record_length":96,"hex_timestamp":"000001a1abee6da0"} 
[2026-11-05 19: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-05 19:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 19:10:19] 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-05 19: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-05 19: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-05 19:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":233653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":233653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":233653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:10:19] local.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-05 19:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234786048001,"66":27343,"179":206,"85":12288,"24":40,"16":40345316460855296,"45":9201417013339217920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-11-05 19:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234786048001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:10:19] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-05 19:10:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40345316460855296,"km_value":40345316460855.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201417013339217920,"description":"Unknown IO ID 45"} 
[2026-11-05 19:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234786048001,"power":27343,"unknown_179":206,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":9201417013339217920}} 
[2026-11-05 19:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":233653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:10:19] local.INFO: GPS data processed {"connection_id":233653,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:10:19] local.INFO: Acknowledgment sent {"connection_id":233653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:11:10] local.INFO: TCP Data received {"connection_id":230420,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:11:10] local.INFO: Processing buffer {"connection_id":230420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:11:10] local.INFO: IMEI packet received {"connection_id":230420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":230420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:11:12] local.INFO: TCP Data received {"connection_id":231751,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231751,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:11:12] local.INFO: Processing buffer {"connection_id":231751,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:11:12] local.INFO: IMEI packet received {"connection_id":231751,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 19:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":231751,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:11:14] local.INFO: TCP Data received {"connection_id":230420,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:11:14] local.INFO: Processing buffer {"connection_id":230420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:11:14] local.INFO: IMEI packet received {"connection_id":230420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":230420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:11:17] local.INFO: TCP Data received {"connection_id":230420,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:11:17] local.INFO: Processing buffer {"connection_id":230420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:11:17] local.INFO: IMEI packet received {"connection_id":230420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":230420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:11:18] local.INFO: TCP Data received {"connection_id":230420,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abeff058012d8000c005c02f70000800092e..."} 
[2026-11-05 19:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abeff058012d8000c005c02f70000800092e..."} 
[2026-11-05 19:11:18] local.INFO: Processing buffer {"connection_id":230420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abeff058012d8000c005c02f70000800092e..."} 
[2026-11-05 19:11:18] local.INFO: Packet analysis {"connection_id":230420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abef"} 
[2026-11-05 19:11:18] local.INFO: Extracted packet for processing {"connection_id":230420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abef"} 
[2026-11-05 19:11:18] local.INFO: GPS Element Parsed {"raw_longitude":763363520,"raw_latitude":96481136,"longitude_deg":76.336352,"latitude_deg":9.6481136,"altitude":8,"angle":9,"satellites":46,"speed":43,"hex_longitude":"2d8000c0","hex_latitude":"05c02f70","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234811648001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40350852673699840,"note":"Value kept but may cause issues"} 
[2026-11-05 19:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9221683211691292672,"note":"Value kept but may cause issues"} 
[2026-11-05 19:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793885991000,"timestamp_ms":1793885991000,"timestamp_seconds":1793885991,"priority":1,"record_length":96,"hex_timestamp":"000001a1abeff058"} 
[2026-11-05 19: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-05 19:11: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-05 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 19:11:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19: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-05 19: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-05 19:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234811648001,"66":27332,"225":206,"85":12288,"24":43,"16":40350852673699840,"45":9221683211691292672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-11-05 19:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234811648001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:11:18] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-11-05 19:11:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40350852673699840,"km_value":40350852673699.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9221683211691292672,"description":"Unknown IO ID 45"} 
[2026-11-05 19:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234811648001,"power":27332,"unknown_225":206,"unknown_85":12288,"ignition":43,"odometer":null,"unknown_45":9221683211691292672}} 
[2026-11-05 19:11:18] 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":64371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:11:18] local.INFO: GPS data processed {"connection_id":230420,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:11:18] local.INFO: Acknowledgment sent {"connection_id":230420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:12:03] local.INFO: TCP Data received {"connection_id":229897,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:12:03] local.INFO: Processing buffer {"connection_id":229897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:12:03] local.INFO: IMEI packet received {"connection_id":229897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":229897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:12:06] local.INFO: TCP Data received {"connection_id":229897,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:12:06] local.INFO: Processing buffer {"connection_id":229897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:12:06] local.INFO: IMEI packet received {"connection_id":229897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":229897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:12:07] local.INFO: TCP Data received {"connection_id":229897,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abf01380012d80080005c05500000800082e..."} 
[2026-11-05 19:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abf01380012d80080005c05500000800082e..."} 
[2026-11-05 19:12:07] local.INFO: Processing buffer {"connection_id":229897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abf01380012d80080005c05500000800082e..."} 
[2026-11-05 19:12:07] local.INFO: Packet analysis {"connection_id":229897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abf0"} 
[2026-11-05 19:12:07] local.INFO: Extracted packet for processing {"connection_id":229897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abf0"} 
[2026-11-05 19:12:07] local.INFO: GPS Element Parsed {"raw_longitude":763365376,"raw_latitude":96490752,"longitude_deg":76.3365376,"latitude_deg":9.6490752,"altitude":8,"angle":8,"satellites":46,"speed":45,"hex_longitude":"2d800800","hex_latitude":"05c05500","is_valid_coordinates":true} 
[2026-11-05 19:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234813696001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40351329415069696,"note":"Value kept but may cause issues"} 
[2026-11-05 19:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9223160905923072000,"note":"Value kept but may cause issues"} 
[2026-11-05 19:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1793886000000,"timestamp_ms":1793886000000,"timestamp_seconds":1793886000,"priority":1,"record_length":96,"hex_timestamp":"000001a1abf01380"} 
[2026-11-05 19:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 19:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":229897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":229897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":229897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234813696001,"66":27267,"225":206,"85":12288,"24":45,"16":40351329415069696,"45":-9223160905923072000},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-11-05 19:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234813696001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:12:07] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-11-05 19:12:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40351329415069696,"km_value":40351329415069.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9223160905923072000,"description":"Unknown IO ID 45"} 
[2026-11-05 19:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234813696001,"power":27267,"unknown_225":206,"unknown_85":12288,"ignition":45,"odometer":null,"unknown_45":-9223160905923072000}} 
[2026-11-05 19:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":229897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:12:07] local.INFO: GPS data processed {"connection_id":229897,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:12:07] local.INFO: Acknowledgment sent {"connection_id":229897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:12:39] local.INFO: TCP Data received {"connection_id":229897,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abf18e68012d8046c005c20a90000600072d..."} 
[2026-11-05 19:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abf18e68012d8046c005c20a90000600072d..."} 
[2026-11-05 19:12:39] local.INFO: Processing buffer {"connection_id":229897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abf18e68012d8046c005c20a90000600072d..."} 
[2026-11-05 19:12:39] local.INFO: Packet analysis {"connection_id":229897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abf1"} 
[2026-11-05 19:12:39] local.INFO: Extracted packet for processing {"connection_id":229897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abf1"} 
[2026-11-05 19:12:39] local.INFO: GPS Element Parsed {"raw_longitude":763381440,"raw_latitude":96602768,"longitude_deg":76.338144,"latitude_deg":9.6602768,"altitude":6,"angle":7,"satellites":45,"speed":47,"hex_longitude":"2d8046c0","hex_latitude":"05c20a90","is_valid_coordinates":true} 
[2026-11-05 19:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234838784001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40356814088306688,"note":"Value kept but may cause issues"} 
[2026-11-05 19:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9204794663663906816,"note":"Value kept but may cause issues"} 
[2026-11-05 19:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793886097000,"timestamp_ms":1793886097000,"timestamp_seconds":1793886097,"priority":1,"record_length":96,"hex_timestamp":"000001a1abf18e68"} 
[2026-11-05 19:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:12: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-05 19:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 19:12:39] 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-05 19:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":229897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":229897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":229897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:12: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-05 19:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234838784001,"66":27343,"234":206,"85":12288,"24":47,"16":40356814088306688,"45":-9204794663663906816},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-11-05 19:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234838784001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:12:39] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-11-05 19:12:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40356814088306688,"km_value":40356814088306.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9204794663663906816,"description":"Unknown IO ID 45"} 
[2026-11-05 19:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234838784001,"power":27343,"unknown_234":206,"unknown_85":12288,"ignition":47,"odometer":null,"unknown_45":-9204794663663906816}} 
[2026-11-05 19:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":229897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:12:39] local.INFO: GPS data processed {"connection_id":229897,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:12:39] local.INFO: Acknowledgment sent {"connection_id":229897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:13:02] local.INFO: TCP Data received {"connection_id":233654,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:13:02] local.INFO: Processing buffer {"connection_id":233654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:13:02] local.INFO: IMEI packet received {"connection_id":233654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":233654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:13:03] local.INFO: TCP Data received {"connection_id":233654,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:13:03] local.INFO: Processing buffer {"connection_id":233654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:13:03] local.INFO: IMEI packet received {"connection_id":233654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":233654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:13:07] local.INFO: TCP Data received {"connection_id":233654,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:13:07] local.INFO: Processing buffer {"connection_id":233654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:13:07] local.INFO: IMEI packet received {"connection_id":233654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":233654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:13:09] local.INFO: TCP Data received {"connection_id":233654,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abf1ada8012d804c0005c22ee0000700082d..."} 
[2026-11-05 19:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abf1ada8012d804c0005c22ee0000700082d..."} 
[2026-11-05 19:13:09] local.INFO: Processing buffer {"connection_id":233654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abf1ada8012d804c0005c22ee0000700082d..."} 
[2026-11-05 19:13:09] local.INFO: Packet analysis {"connection_id":233654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abf1"} 
[2026-11-05 19:13:09] local.INFO: Extracted packet for processing {"connection_id":233654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abf1"} 
[2026-11-05 19:13:09] local.INFO: GPS Element Parsed {"raw_longitude":763382784,"raw_latitude":96612064,"longitude_deg":76.3382784,"latitude_deg":9.6612064,"altitude":7,"angle":8,"satellites":45,"speed":45,"hex_longitude":"2d804c00","hex_latitude":"05c22ee0","is_valid_coordinates":true} 
[2026-11-05 19:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234840832001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40357269354840064,"note":"Value kept but may cause issues"} 
[2026-11-05 19:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9203457657522188288,"note":"Value kept but may cause issues"} 
[2026-11-05 19:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793886105000,"timestamp_ms":1793886105000,"timestamp_seconds":1793886105,"priority":1,"record_length":96,"hex_timestamp":"000001a1abf1ada8"} 
[2026-11-05 19:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 19:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:13:09] local.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-05 19:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234840832001,"66":26832,"234":206,"85":12288,"24":45,"16":40357269354840064,"45":-9203457657522188288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-11-05 19:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234840832001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:13:09] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-11-05 19:13:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40357269354840064,"km_value":40357269354840.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9203457657522188288,"description":"Unknown IO ID 45"} 
[2026-11-05 19:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234840832001,"power":26832,"unknown_234":206,"unknown_85":12288,"ignition":45,"odometer":null,"unknown_45":-9203457657522188288}} 
[2026-11-05 19:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":233654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:13:09] local.INFO: GPS data processed {"connection_id":233654,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:13:09] local.INFO: Acknowledgment sent {"connection_id":233654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:13:40] local.INFO: TCP Data received {"connection_id":233654,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abf1cce8012d80518005c25360000700092e..."} 
[2026-11-05 19:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abf1cce8012d80518005c25360000700092e..."} 
[2026-11-05 19:13:40] local.INFO: Processing buffer {"connection_id":233654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abf1cce8012d80518005c25360000700092e..."} 
[2026-11-05 19:13:40] local.INFO: Packet analysis {"connection_id":233654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abf1"} 
[2026-11-05 19:13:40] local.INFO: Extracted packet for processing {"connection_id":233654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abf1"} 
[2026-11-05 19:13:40] local.INFO: GPS Element Parsed {"raw_longitude":763384192,"raw_latitude":96621408,"longitude_deg":76.3384192,"latitude_deg":9.6621408,"altitude":7,"angle":9,"satellites":46,"speed":47,"hex_longitude":"2d805180","hex_latitude":"05c25360","is_valid_coordinates":true} 
[2026-11-05 19:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234842880001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40357728916340736,"note":"Value kept but may cause issues"} 
[2026-11-05 19:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9201979913892077568,"note":"Value kept but may cause issues"} 
[2026-11-05 19:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793886113000,"timestamp_ms":1793886113000,"timestamp_seconds":1793886113,"priority":1,"record_length":96,"hex_timestamp":"000001a1abf1cce8"} 
[2026-11-05 19:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:13: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-05 19:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-11-05 19:13:40] 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-05 19:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:13: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-05 19:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234842880001,"66":27245,"234":206,"85":12288,"24":47,"16":40357728916340736,"45":-9201979913892077568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-11-05 19:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234842880001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:13:40] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-11-05 19:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40357728916340736,"km_value":40357728916340.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9201979913892077568,"description":"Unknown IO ID 45"} 
[2026-11-05 19:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234842880001,"power":27245,"unknown_234":206,"unknown_85":12288,"ignition":47,"odometer":null,"unknown_45":-9201979913892077568}} 
[2026-11-05 19:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":233654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:13:40] local.INFO: GPS data processed {"connection_id":233654,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:13:40] local.INFO: Acknowledgment sent {"connection_id":233654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:14:07] local.INFO: TCP Data received {"connection_id":231752,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:14:07] local.INFO: Processing buffer {"connection_id":231752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:14:07] local.INFO: IMEI packet received {"connection_id":231752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":231752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:14:17] local.INFO: TCP Data received {"connection_id":231752,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:14:17] local.INFO: Processing buffer {"connection_id":231752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:14:17] local.INFO: IMEI packet received {"connection_id":231752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":231752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:14:18] local.INFO: TCP Data received {"connection_id":231752,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abf1ec28012d80568005c27910000700062e..."} 
[2026-11-05 19:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abf1ec28012d80568005c27910000700062e..."} 
[2026-11-05 19:14:18] local.INFO: Processing buffer {"connection_id":231752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abf1ec28012d80568005c27910000700062e..."} 
[2026-11-05 19:14:18] local.INFO: Packet analysis {"connection_id":231752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abf1"} 
[2026-11-05 19:14:18] local.INFO: Extracted packet for processing {"connection_id":231752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abf1"} 
[2026-11-05 19:14:18] local.INFO: GPS Element Parsed {"raw_longitude":763385472,"raw_latitude":96631056,"longitude_deg":76.3385472,"latitude_deg":9.6631056,"altitude":7,"angle":6,"satellites":46,"speed":48,"hex_longitude":"2d805680","hex_latitude":"05c27910","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234844928001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40358201362743296,"note":"Value kept but may cause issues"} 
[2026-11-05 19:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9200431801517776896,"note":"Value kept but may cause issues"} 
[2026-11-05 19:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793886121000,"timestamp_ms":1793886121000,"timestamp_seconds":1793886121,"priority":1,"record_length":96,"hex_timestamp":"000001a1abf1ec28"} 
[2026-11-05 19:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:14: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-05 19:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-11-05 19:14:18] 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-05 19:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":231752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":231752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":231752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234844928001,"66":27376,"234":206,"85":12288,"24":48,"16":40358201362743296,"45":-9200431801517776896},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-11-05 19:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234844928001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:14:18] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-11-05 19:14:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40358201362743296,"km_value":40358201362743.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9200431801517776896,"description":"Unknown IO ID 45"} 
[2026-11-05 19:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234844928001,"power":27376,"unknown_234":206,"unknown_85":12288,"ignition":48,"odometer":null,"unknown_45":-9200431801517776896}} 
[2026-11-05 19:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":231752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:14:18] local.INFO: GPS data processed {"connection_id":231752,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:14:18] local.INFO: Acknowledgment sent {"connection_id":231752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:14:19] local.INFO: TCP Data received {"connection_id":231752,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abf20b68012d805b8005c29ed0000700072d..."} 
[2026-11-05 19:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abf20b68012d805b8005c29ed0000700072d..."} 
[2026-11-05 19:14:19] local.INFO: Processing buffer {"connection_id":231752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abf20b68012d805b8005c29ed0000700072d..."} 
[2026-11-05 19:14:19] local.INFO: Packet analysis {"connection_id":231752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abf2"} 
[2026-11-05 19:14:19] local.INFO: Extracted packet for processing {"connection_id":231752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abf2"} 
[2026-11-05 19:14:19] local.INFO: GPS Element Parsed {"raw_longitude":763386752,"raw_latitude":96640720,"longitude_deg":76.3386752,"latitude_deg":9.664072,"altitude":7,"angle":7,"satellites":45,"speed":48,"hex_longitude":"2d805b80","hex_latitude":"05c29ed0","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234846976001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40358673809145856,"note":"Value kept but may cause issues"} 
[2026-11-05 19:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9199024426631753728,"note":"Value kept but may cause issues"} 
[2026-11-05 19:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793886129000,"timestamp_ms":1793886129000,"timestamp_seconds":1793886129,"priority":1,"record_length":96,"hex_timestamp":"000001a1abf20b68"} 
[2026-11-05 19: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-05 19:14: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-05 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 19:14:19] 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-05 19: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-05 19: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-05 19:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":231752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":231752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":231752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:14:19] local.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-05 19:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234846976001,"66":27332,"234":206,"85":12288,"24":48,"16":40358673809145856,"45":-9199024426631753728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-11-05 19:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234846976001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:14:19] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-11-05 19:14:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40358673809145856,"km_value":40358673809145.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9199024426631753728,"description":"Unknown IO ID 45"} 
[2026-11-05 19:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234846976001,"power":27332,"unknown_234":206,"unknown_85":12288,"ignition":48,"odometer":null,"unknown_45":-9199024426631753728}} 
[2026-11-05 19:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":231752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:14:19] local.INFO: GPS data processed {"connection_id":231752,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:14:19] local.INFO: Acknowledgment sent {"connection_id":231752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:15:02] local.INFO: TCP Data received {"connection_id":230421,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:15:02] local.INFO: Processing buffer {"connection_id":230421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:15:02] local.INFO: IMEI packet received {"connection_id":230421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":230421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:15:07] local.INFO: TCP Data received {"connection_id":230421,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:15:07] local.INFO: Processing buffer {"connection_id":230421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:15:07] local.INFO: IMEI packet received {"connection_id":230421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":230421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:15:08] local.INFO: TCP Data received {"connection_id":230421,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abf22aa8012d80604005c2c450000600072e..."} 
[2026-11-05 19:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abf22aa8012d80604005c2c450000600072e..."} 
[2026-11-05 19:15:08] local.INFO: Processing buffer {"connection_id":230421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abf22aa8012d80604005c2c450000600072e..."} 
[2026-11-05 19:15:08] local.INFO: Packet analysis {"connection_id":230421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abf2"} 
[2026-11-05 19:15:08] local.INFO: Extracted packet for processing {"connection_id":230421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abf2"} 
[2026-11-05 19:15:08] local.INFO: GPS Element Parsed {"raw_longitude":763387968,"raw_latitude":96650320,"longitude_deg":76.3387968,"latitude_deg":9.665032,"altitude":6,"angle":7,"satellites":46,"speed":46,"hex_longitude":"2d806040","hex_latitude":"05c2c450","is_valid_coordinates":true} 
[2026-11-05 19:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234849024001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40359141960581120,"note":"Value kept but may cause issues"} 
[2026-11-05 19:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9197617051745726464,"note":"Value kept but may cause issues"} 
[2026-11-05 19:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793886137000,"timestamp_ms":1793886137000,"timestamp_seconds":1793886137,"priority":1,"record_length":96,"hex_timestamp":"000001a1abf22aa8"} 
[2026-11-05 19:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:15: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-05 19:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 19:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":230421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":230421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":230421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:15:08] local.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-05 19:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234849024001,"66":27137,"234":206,"85":12288,"24":46,"16":40359141960581120,"45":-9197617051745726464},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-11-05 19:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234849024001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:15:08] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-11-05 19:15:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40359141960581120,"km_value":40359141960581.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9197617051745726464,"description":"Unknown IO ID 45"} 
[2026-11-05 19:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234849024001,"power":27137,"unknown_234":206,"unknown_85":12288,"ignition":46,"odometer":null,"unknown_45":-9197617051745726464}} 
[2026-11-05 19:15:08] 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":64378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:15:08] local.INFO: GPS data processed {"connection_id":230421,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:15:08] local.INFO: Acknowledgment sent {"connection_id":230421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:15:13] local.INFO: TCP Data received {"connection_id":230421,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abf249e8012d80658005c2e830000700082d..."} 
[2026-11-05 19:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abf249e8012d80658005c2e830000700082d..."} 
[2026-11-05 19:15:13] local.INFO: Processing buffer {"connection_id":230421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abf249e8012d80658005c2e830000700082d..."} 
[2026-11-05 19:15:13] local.INFO: Packet analysis {"connection_id":230421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abf2"} 
[2026-11-05 19:15:13] local.INFO: Extracted packet for processing {"connection_id":230421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abf2"} 
[2026-11-05 19:15:13] local.INFO: GPS Element Parsed {"raw_longitude":763389312,"raw_latitude":96659504,"longitude_deg":76.3389312,"latitude_deg":9.6659504,"altitude":7,"angle":8,"satellites":45,"speed":45,"hex_longitude":"2d806580","hex_latitude":"05c2e830","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234851072001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40359592932147200,"note":"Value kept but may cause issues"} 
[2026-11-05 19:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196280045603893248,"note":"Value kept but may cause issues"} 
[2026-11-05 19:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793886145000,"timestamp_ms":1793886145000,"timestamp_seconds":1793886145,"priority":1,"record_length":96,"hex_timestamp":"000001a1abf249e8"} 
[2026-11-05 19: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-05 19:15: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-05 19: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":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-11-05 19:15:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19: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-05 19: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-05 19:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234851072001,"66":27343,"157":206,"85":12288,"24":45,"16":40359592932147200,"45":-9196280045603893248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-11-05 19:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234851072001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:15:13] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-11-05 19:15:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40359592932147200,"km_value":40359592932147.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196280045603893248,"description":"Unknown IO ID 45"} 
[2026-11-05 19:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234851072001,"power":27343,"unknown_157":206,"unknown_85":12288,"ignition":45,"odometer":null,"unknown_45":-9196280045603893248}} 
[2026-11-05 19:15:13] 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":64379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:15:13] local.INFO: GPS data processed {"connection_id":230421,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:15:13] local.INFO: Acknowledgment sent {"connection_id":230421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:15:44] local.INFO: TCP Data received {"connection_id":230421,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abf26d10012d806bc005c30c280007000a2f..."} 
[2026-11-05 19:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abf26d10012d806bc005c30c280007000a2f..."} 
[2026-11-05 19:15:44] local.INFO: Processing buffer {"connection_id":230421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abf26d10012d806bc005c30c280007000a2f..."} 
[2026-11-05 19:15:44] local.INFO: Packet analysis {"connection_id":230421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abf2"} 
[2026-11-05 19:15:44] local.INFO: Extracted packet for processing {"connection_id":230421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abf2"} 
[2026-11-05 19:15:44] local.INFO: GPS Element Parsed {"raw_longitude":763390912,"raw_latitude":96668712,"longitude_deg":76.3390912,"latitude_deg":9.6668712,"altitude":7,"angle":10,"satellites":47,"speed":41,"hex_longitude":"2d806bc0","hex_latitude":"05c30c28","is_valid_coordinates":true} 
[2026-11-05 19:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234853120001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40360043903713280,"note":"Value kept but may cause issues"} 
[2026-11-05 19:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194802301973811200,"note":"Value kept but may cause issues"} 
[2026-11-05 19:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793886154000,"timestamp_ms":1793886154000,"timestamp_seconds":1793886154,"priority":1,"record_length":96,"hex_timestamp":"000001a1abf26d10"} 
[2026-11-05 19:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:15: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-05 19:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 19:15:44] 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-05 19:15:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234853120001,"66":27343,"157":206,"85":12288,"24":41,"16":40360043903713280,"45":-9194802301973811200},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-11-05 19:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234853120001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:15:44] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-11-05 19:15:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40360043903713280,"km_value":40360043903713.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194802301973811200,"description":"Unknown IO ID 45"} 
[2026-11-05 19:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234853120001,"power":27343,"unknown_157":206,"unknown_85":12288,"ignition":41,"odometer":null,"unknown_45":-9194802301973811200}} 
[2026-11-05 19:15:44] 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":64380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:15:44] local.INFO: GPS data processed {"connection_id":230421,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:15:44] local.INFO: Acknowledgment sent {"connection_id":230421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:15:59] local.INFO: TCP Data received {"connection_id":229898,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:15:59] local.INFO: Processing buffer {"connection_id":229898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:15:59] local.INFO: IMEI packet received {"connection_id":229898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":229898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:16:02] local.INFO: TCP Data received {"connection_id":229898,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:16:02] local.INFO: Processing buffer {"connection_id":229898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:16:02] local.INFO: IMEI packet received {"connection_id":229898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":229898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:16:07] local.INFO: TCP Data received {"connection_id":229898,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:16:07] local.INFO: Processing buffer {"connection_id":229898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:16:07] local.INFO: IMEI packet received {"connection_id":229898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":229898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:16:08] local.INFO: TCP Data received {"connection_id":229898,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abf29038012d80720005c33038000700092f..."} 
[2026-11-05 19:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abf29038012d80720005c33038000700092f..."} 
[2026-11-05 19:16:08] local.INFO: Processing buffer {"connection_id":229898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abf29038012d80720005c33038000700092f..."} 
[2026-11-05 19:16:08] local.INFO: Packet analysis {"connection_id":229898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abf2"} 
[2026-11-05 19:16:08] local.INFO: Extracted packet for processing {"connection_id":229898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abf2"} 
[2026-11-05 19:16:08] local.INFO: GPS Element Parsed {"raw_longitude":763392512,"raw_latitude":96677944,"longitude_deg":76.3392512,"latitude_deg":9.6677944,"altitude":7,"angle":9,"satellites":47,"speed":39,"hex_longitude":"2d807200","hex_latitude":"05c33038","is_valid_coordinates":true} 
[2026-11-05 19:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234855424001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40360499170246656,"note":"Value kept but may cause issues"} 
[2026-11-05 19:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193043083367012352,"note":"Value kept but may cause issues"} 
[2026-11-05 19:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793886163000,"timestamp_ms":1793886163000,"timestamp_seconds":1793886163,"priority":1,"record_length":96,"hex_timestamp":"000001a1abf29038"} 
[2026-11-05 19:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 19:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":229898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":229898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":229898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:16:08] local.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-05 19:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234855424001,"66":27376,"157":206,"85":12288,"24":39,"16":40360499170246656,"45":-9193043083367012352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-11-05 19:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234855424001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:16:08] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-11-05 19:16:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40360499170246656,"km_value":40360499170246.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193043083367012352,"description":"Unknown IO ID 45"} 
[2026-11-05 19:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234855424001,"power":27376,"unknown_157":206,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":-9193043083367012352}} 
[2026-11-05 19:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":229898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:16:08] local.INFO: GPS data processed {"connection_id":229898,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:16:08] local.INFO: Acknowledgment sent {"connection_id":229898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:16:40] local.INFO: TCP Data received {"connection_id":229898,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abf2b748012d80758005c351e0000701662c..."} 
[2026-11-05 19:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abf2b748012d80758005c351e0000701662c..."} 
[2026-11-05 19:16:40] local.INFO: Processing buffer {"connection_id":229898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abf2b748012d80758005c351e0000701662c..."} 
[2026-11-05 19:16:40] local.INFO: Packet analysis {"connection_id":229898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abf2"} 
[2026-11-05 19:16:40] local.INFO: Extracted packet for processing {"connection_id":229898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abf2"} 
[2026-11-05 19:16:40] local.INFO: GPS Element Parsed {"raw_longitude":763393408,"raw_latitude":96686560,"longitude_deg":76.3393408,"latitude_deg":9.668656,"altitude":7,"angle":358,"satellites":44,"speed":29,"hex_longitude":"2d807580","hex_latitude":"05c351e0","is_valid_coordinates":true} 
[2026-11-05 19:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234857728001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40360920077041664,"note":"Value kept but may cause issues"} 
[2026-11-05 19:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9191283864760207360,"note":"Value kept but may cause issues"} 
[2026-11-05 19:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793886173000,"timestamp_ms":1793886173000,"timestamp_seconds":1793886173,"priority":1,"record_length":96,"hex_timestamp":"000001a1abf2b748"} 
[2026-11-05 19:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:16: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-05 19:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 19:16:40] 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-05 19:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:16: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-05 19:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234857728001,"66":27267,"157":206,"85":12288,"24":29,"16":40360920077041664,"45":-9191283864760207360},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-11-05 19:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234857728001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:16:40] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-11-05 19:16:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40360920077041664,"km_value":40360920077041.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9191283864760207360,"description":"Unknown IO ID 45"} 
[2026-11-05 19:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234857728001,"power":27267,"unknown_157":206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":-9191283864760207360}} 
[2026-11-05 19:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":229898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:16:40] local.INFO: GPS data processed {"connection_id":229898,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:16:40] local.INFO: Acknowledgment sent {"connection_id":229898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:16:46] local.INFO: TCP Data received {"connection_id":233655,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:16:46] local.INFO: Processing buffer {"connection_id":233655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:16:46] local.INFO: IMEI packet received {"connection_id":233655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 19:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":233655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:17:03] local.INFO: TCP Data received {"connection_id":229899,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:17:03] local.INFO: Processing buffer {"connection_id":229899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:17:03] local.INFO: IMEI packet received {"connection_id":229899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":229899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:17:03] local.INFO: TCP Data received {"connection_id":229899,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:17:03] local.INFO: Processing buffer {"connection_id":229899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:17:03] local.INFO: IMEI packet received {"connection_id":229899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":229899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:17:07] local.INFO: TCP Data received {"connection_id":229899,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:17:07] local.INFO: Processing buffer {"connection_id":229899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:17:07] local.INFO: IMEI packet received {"connection_id":229899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":229899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:17:08] local.INFO: TCP Data received {"connection_id":229899,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abf2cad0012d8075c005c36078000700092d..."} 
[2026-11-05 19:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abf2cad0012d8075c005c36078000700092d..."} 
[2026-11-05 19:17:08] local.INFO: Processing buffer {"connection_id":229899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abf2cad0012d8075c005c36078000700092d..."} 
[2026-11-05 19:17:08] local.INFO: Packet analysis {"connection_id":229899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abf2"} 
[2026-11-05 19:17:08] local.INFO: Extracted packet for processing {"connection_id":229899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abf2"} 
[2026-11-05 19:17:08] local.INFO: GPS Element Parsed {"raw_longitude":763393472,"raw_latitude":96690296,"longitude_deg":76.3393472,"latitude_deg":9.6690296,"altitude":7,"angle":9,"satellites":45,"speed":31,"hex_longitude":"2d8075c0","hex_latitude":"05c36078","is_valid_coordinates":true} 
[2026-11-05 19:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234860288001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40361100465668096,"note":"Value kept but may cause issues"} 
[2026-11-05 19:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190298702339514368,"note":"Value kept but may cause issues"} 
[2026-11-05 19:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793886178000,"timestamp_ms":1793886178000,"timestamp_seconds":1793886178,"priority":1,"record_length":96,"hex_timestamp":"000001a1abf2cad0"} 
[2026-11-05 19:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:17: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-05 19:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 19:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":229899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":229899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":229899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:17:08] local.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-05 19:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234860288001,"66":27343,"234":206,"85":12288,"24":31,"16":40361100465668096,"45":-9190298702339514368},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-11-05 19:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234860288001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:17:08] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-11-05 19:17:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40361100465668096,"km_value":40361100465668.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190298702339514368,"description":"Unknown IO ID 45"} 
[2026-11-05 19:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234860288001,"power":27343,"unknown_234":206,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":-9190298702339514368}} 
[2026-11-05 19:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":229899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:17:08] local.INFO: GPS data processed {"connection_id":229899,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:17:08] local.INFO: Acknowledgment sent {"connection_id":229899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:17:41] local.INFO: TCP Data received {"connection_id":229899,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abf2f9b0012d807b8005c38340000800092d..."} 
[2026-11-05 19:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abf2f9b0012d807b8005c38340000800092d..."} 
[2026-11-05 19:17:41] local.INFO: Processing buffer {"connection_id":229899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abf2f9b0012d807b8005c38340000800092d..."} 
[2026-11-05 19:17:41] local.INFO: Packet analysis {"connection_id":229899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abf2"} 
[2026-11-05 19:17:41] local.INFO: Extracted packet for processing {"connection_id":229899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abf2"} 
[2026-11-05 19:17:41] local.INFO: GPS Element Parsed {"raw_longitude":763394944,"raw_latitude":96699200,"longitude_deg":76.3394944,"latitude_deg":9.66992,"altitude":8,"angle":9,"satellites":45,"speed":25,"hex_longitude":"2d807b80","hex_latitude":"05c38340","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234861568001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40361538552332288,"note":"Value kept but may cause issues"} 
[2026-11-05 19:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190228333594380288,"note":"Value kept but may cause issues"} 
[2026-11-05 19:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793886190000,"timestamp_ms":1793886190000,"timestamp_seconds":1793886190,"priority":1,"record_length":96,"hex_timestamp":"000001a1abf2f9b0"} 
[2026-11-05 19: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-05 19:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 19:17:41] 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-05 19: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-05 19: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-05 19:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234861568001,"66":26832,"234":206,"85":12288,"24":25,"16":40361538552332288,"45":-9190228333594380288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-11-05 19:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234861568001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:17:41] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-11-05 19:17:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40361538552332288,"km_value":40361538552332.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190228333594380288,"description":"Unknown IO ID 45"} 
[2026-11-05 19:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234861568001,"power":26832,"unknown_234":206,"unknown_85":12288,"ignition":25,"odometer":null,"unknown_45":-9190228333594380288}} 
[2026-11-05 19:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":229899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:17:41] local.INFO: GPS data processed {"connection_id":229899,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:17:41] local.INFO: Acknowledgment sent {"connection_id":229899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:18:03] local.INFO: TCP Data received {"connection_id":230422,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:18:03] local.INFO: Processing buffer {"connection_id":230422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:18:03] local.INFO: IMEI packet received {"connection_id":230422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":230422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:18:06] local.INFO: TCP Data received {"connection_id":230422,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:18:06] local.INFO: Processing buffer {"connection_id":230422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:18:06] local.INFO: IMEI packet received {"connection_id":230422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":230422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:18:07] local.INFO: TCP Data received {"connection_id":230422,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abf64570012d80868005c43378000601532e..."} 
[2026-11-05 19:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abf64570012d80868005c43378000601532e..."} 
[2026-11-05 19:18:07] local.INFO: Processing buffer {"connection_id":230422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abf64570012d80868005c43378000601532e..."} 
[2026-11-05 19:18:07] local.INFO: Packet analysis {"connection_id":230422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abf6"} 
[2026-11-05 19:18:07] local.INFO: Extracted packet for processing {"connection_id":230422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abf6"} 
[2026-11-05 19:18:07] local.INFO: GPS Element Parsed {"raw_longitude":763397760,"raw_latitude":96744312,"longitude_deg":76.339776,"latitude_deg":9.6744312,"altitude":6,"angle":339,"satellites":46,"speed":0,"hex_longitude":"2d808680","hex_latitude":"05c43378","is_valid_coordinates":true} 
[2026-11-05 19:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234914560001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40363793410162688,"note":"Value kept but may cause issues"} 
[2026-11-05 19:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9185513627720667136,"note":"Value kept but may cause issues"} 
[2026-11-05 19:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1793886406000,"timestamp_ms":1793886406000,"timestamp_seconds":1793886406,"priority":1,"record_length":96,"hex_timestamp":"000001a1abf64570"} 
[2026-11-05 19:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-05 19:18:07] 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-05 19:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":230422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":230422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":230422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234914560001,"66":27376,"156":206,"85":12288,"24":0,"16":40363793410162688,"45":-9185513627720667136},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-11-05 19:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234914560001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:18:07] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-11-05 19:18:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40363793410162688,"km_value":40363793410162.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9185513627720667136,"description":"Unknown IO ID 45"} 
[2026-11-05 19:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234914560001,"power":27376,"unknown_156":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9185513627720667136}} 
[2026-11-05 19:18:07] 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":64385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:18:07] local.INFO: GPS data processed {"connection_id":230422,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:18:07] local.INFO: Acknowledgment sent {"connection_id":230422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:18:39] local.INFO: TCP Data received {"connection_id":230422,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abf69778012d80834005c43b48000801502c..."} 
[2026-11-05 19:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abf69778012d80834005c43b48000801502c..."} 
[2026-11-05 19:18:39] local.INFO: Processing buffer {"connection_id":230422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abf69778012d80834005c43b48000801502c..."} 
[2026-11-05 19:18:39] local.INFO: Packet analysis {"connection_id":230422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abf6"} 
[2026-11-05 19:18:39] local.INFO: Extracted packet for processing {"connection_id":230422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abf6"} 
[2026-11-05 19:18:39] local.INFO: GPS Element Parsed {"raw_longitude":763396928,"raw_latitude":96746312,"longitude_deg":76.3396928,"latitude_deg":9.6746312,"altitude":8,"angle":336,"satellites":44,"speed":9,"hex_longitude":"2d808340","hex_latitude":"05c43b48","is_valid_coordinates":true} 
[2026-11-05 19:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234919936001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40363900784345088,"note":"Value kept but may cause issues"} 
[2026-11-05 19:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9185513627720648704,"note":"Value kept but may cause issues"} 
[2026-11-05 19:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793886427000,"timestamp_ms":1793886427000,"timestamp_seconds":1793886427,"priority":1,"record_length":96,"hex_timestamp":"000001a1abf69778"} 
[2026-11-05 19:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:18: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-05 19:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 19:18:39] 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-05 19:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":230422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":230422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":230422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:18: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-05 19:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234919936001,"66":27343,"235":206,"85":12288,"24":9,"16":40363900784345088,"45":-9185513627720648704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-11-05 19:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234919936001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:18:39] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-05 19:18:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40363900784345088,"km_value":40363900784345.086,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9185513627720648704,"description":"Unknown IO ID 45"} 
[2026-11-05 19:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234919936001,"power":27343,"unknown_235":206,"unknown_85":12288,"ignition":9,"odometer":null,"unknown_45":-9185513627720648704}} 
[2026-11-05 19:18: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":64386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:18:39] local.INFO: GPS data processed {"connection_id":230422,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:18:39] local.INFO: Acknowledgment sent {"connection_id":230422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:19:03] local.INFO: TCP Data received {"connection_id":229900,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:19:03] local.INFO: Processing buffer {"connection_id":229900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:19:03] local.INFO: IMEI packet received {"connection_id":229900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":229900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:19:08] local.INFO: TCP Data received {"connection_id":229900,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:19:08] local.INFO: Processing buffer {"connection_id":229900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:19:08] local.INFO: IMEI packet received {"connection_id":229900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":229900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:19:09] local.INFO: TCP Data received {"connection_id":229900,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abf6e980012d807b8005c44af8000701482c..."} 
[2026-11-05 19:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abf6e980012d807b8005c44af8000701482c..."} 
[2026-11-05 19:19:09] local.INFO: Processing buffer {"connection_id":229900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abf6e980012d807b8005c44af8000701482c..."} 
[2026-11-05 19:19:09] local.INFO: Packet analysis {"connection_id":229900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abf6"} 
[2026-11-05 19:19:09] local.INFO: Extracted packet for processing {"connection_id":229900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abf6"} 
[2026-11-05 19:19:09] local.INFO: GPS Element Parsed {"raw_longitude":763394944,"raw_latitude":96750328,"longitude_deg":76.3394944,"latitude_deg":9.6750328,"altitude":7,"angle":328,"satellites":44,"speed":10,"hex_longitude":"2d807b80","hex_latitude":"05c44af8","is_valid_coordinates":true} 
[2026-11-05 19:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234925312001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40364115532709888,"note":"Value kept but may cause issues"} 
[2026-11-05 19:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9186428421394446336,"note":"Value kept but may cause issues"} 
[2026-11-05 19:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793886448000,"timestamp_ms":1793886448000,"timestamp_seconds":1793886448,"priority":1,"record_length":96,"hex_timestamp":"000001a1abf6e980"} 
[2026-11-05 19:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 19:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:19:09] local.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-05 19:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234925312001,"66":27484,"235":206,"85":12288,"24":10,"16":40364115532709888,"45":-9186428421394446336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-11-05 19:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234925312001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:19:09] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-05 19:19:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40364115532709888,"km_value":40364115532709.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9186428421394446336,"description":"Unknown IO ID 45"} 
[2026-11-05 19:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234925312001,"power":27484,"unknown_235":206,"unknown_85":12288,"ignition":10,"odometer":null,"unknown_45":-9186428421394446336}} 
[2026-11-05 19:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":229900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:19:09] local.INFO: GPS data processed {"connection_id":229900,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:19:09] local.INFO: Acknowledgment sent {"connection_id":229900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:19:48] local.INFO: TCP Data received {"connection_id":229900,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abf73b88012d80708005c45cc8000601462c..."} 
[2026-11-05 19:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abf73b88012d80708005c45cc8000601462c..."} 
[2026-11-05 19:19:48] local.INFO: Processing buffer {"connection_id":229900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abf73b88012d80708005c45cc8000601462c..."} 
[2026-11-05 19:19:48] local.INFO: Packet analysis {"connection_id":229900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abf7"} 
[2026-11-05 19:19:48] local.INFO: Extracted packet for processing {"connection_id":229900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abf7"} 
[2026-11-05 19:19:48] local.INFO: GPS Element Parsed {"raw_longitude":763392128,"raw_latitude":96754888,"longitude_deg":76.3392128,"latitude_deg":9.6754888,"altitude":6,"angle":326,"satellites":44,"speed":9,"hex_longitude":"2d807080","hex_latitude":"05c45cc8","is_valid_coordinates":true} 
[2026-11-05 19:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234930688001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40364377525714944,"note":"Value kept but may cause issues"} 
[2026-11-05 19:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9188609852462925824,"note":"Value kept but may cause issues"} 
[2026-11-05 19:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793886469000,"timestamp_ms":1793886469000,"timestamp_seconds":1793886469,"priority":1,"record_length":96,"hex_timestamp":"000001a1abf73b88"} 
[2026-11-05 19:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:19: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-05 19:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 19:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234930688001,"66":27365,"235":206,"85":12288,"24":9,"16":40364377525714944,"45":-9188609852462925824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-11-05 19:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234930688001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:19:48] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-05 19:19:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40364377525714944,"km_value":40364377525714.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9188609852462925824,"description":"Unknown IO ID 45"} 
[2026-11-05 19:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234930688001,"power":27365,"unknown_235":206,"unknown_85":12288,"ignition":9,"odometer":null,"unknown_45":-9188609852462925824}} 
[2026-11-05 19:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":229900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:19:48] local.INFO: GPS data processed {"connection_id":229900,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:19:48] local.INFO: Acknowledgment sent {"connection_id":229900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:20:02] local.INFO: TCP Data received {"connection_id":233656,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:20:02] local.INFO: Processing buffer {"connection_id":233656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:20:02] local.INFO: IMEI packet received {"connection_id":233656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":233656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:20:08] local.INFO: TCP Data received {"connection_id":233656,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:20:08] local.INFO: Processing buffer {"connection_id":233656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:20:08] local.INFO: IMEI packet received {"connection_id":233656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":233656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:20:09] local.INFO: TCP Data received {"connection_id":233656,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abf78d90012d80684005c467f8000501442c..."} 
[2026-11-05 19:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abf78d90012d80684005c467f8000501442c..."} 
[2026-11-05 19:20:09] local.INFO: Processing buffer {"connection_id":233656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abf78d90012d80684005c467f8000501442c..."} 
[2026-11-05 19:20:09] local.INFO: Packet analysis {"connection_id":233656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abf7"} 
[2026-11-05 19:20:09] local.INFO: Extracted packet for processing {"connection_id":233656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abf7"} 
[2026-11-05 19:20:09] local.INFO: GPS Element Parsed {"raw_longitude":763390016,"raw_latitude":96757752,"longitude_deg":76.3390016,"latitude_deg":9.6757752,"altitude":5,"angle":324,"satellites":44,"speed":5,"hex_longitude":"2d806840","hex_latitude":"05c467f8","is_valid_coordinates":true} 
[2026-11-05 19:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234936064001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40364549324406784,"note":"Value kept but may cause issues"} 
[2026-11-05 19:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9191706077205575680,"note":"Value kept but may cause issues"} 
[2026-11-05 19:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793886490000,"timestamp_ms":1793886490000,"timestamp_seconds":1793886490,"priority":1,"record_length":96,"hex_timestamp":"000001a1abf78d90"} 
[2026-11-05 19:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 19:20:09] 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-05 19:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:20:09] local.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-05 19:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234936064001,"66":27365,"235":206,"85":12288,"24":5,"16":40364549324406784,"45":-9191706077205575680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-11-05 19:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234936064001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:20:09] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-05 19:20:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40364549324406784,"km_value":40364549324406.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9191706077205575680,"description":"Unknown IO ID 45"} 
[2026-11-05 19:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234936064001,"power":27365,"unknown_235":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":-9191706077205575680}} 
[2026-11-05 19:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":233656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:20:09] local.INFO: GPS data processed {"connection_id":233656,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:20:09] local.INFO: Acknowledgment sent {"connection_id":233656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:20:41] local.INFO: TCP Data received {"connection_id":233656,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abf7df98012d8061c005c470d0000601462b..."} 
[2026-11-05 19:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abf7df98012d8061c005c470d0000601462b..."} 
[2026-11-05 19:20:41] local.INFO: Processing buffer {"connection_id":233656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abf7df98012d8061c005c470d0000601462b..."} 
[2026-11-05 19:20:41] local.INFO: Packet analysis {"connection_id":233656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abf7"} 
[2026-11-05 19:20:41] local.INFO: Extracted packet for processing {"connection_id":233656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abf7"} 
[2026-11-05 19:20:41] local.INFO: GPS Element Parsed {"raw_longitude":763388352,"raw_latitude":96760016,"longitude_deg":76.3388352,"latitude_deg":9.6760016,"altitude":6,"angle":326,"satellites":43,"speed":5,"hex_longitude":"2d8061c0","hex_latitude":"05c470d0","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234941440001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40364686763360256,"note":"Value kept but may cause issues"} 
[2026-11-05 19:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194028245762705408,"note":"Value kept but may cause issues"} 
[2026-11-05 19:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793886511000,"timestamp_ms":1793886511000,"timestamp_seconds":1793886511,"priority":1,"record_length":96,"hex_timestamp":"000001a1abf7df98"} 
[2026-11-05 19: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-05 19:20: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-05 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 19:20:41] 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-05 19: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-05 19: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-05 19:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:20: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-05 19:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234941440001,"66":27234,"235":206,"85":12288,"24":5,"16":40364686763360256,"45":-9194028245762705408},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-11-05 19:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234941440001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:20:41] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-05 19:20:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40364686763360256,"km_value":40364686763360.26,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194028245762705408,"description":"Unknown IO ID 45"} 
[2026-11-05 19:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234941440001,"power":27234,"unknown_235":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":-9194028245762705408}} 
[2026-11-05 19:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":233656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:20:41] local.INFO: GPS data processed {"connection_id":233656,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:20:41] local.INFO: Acknowledgment sent {"connection_id":233656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:21:02] local.INFO: TCP Data received {"connection_id":229901,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:21:02] local.INFO: Processing buffer {"connection_id":229901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:21:02] local.INFO: IMEI packet received {"connection_id":229901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":229901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:21:04] local.INFO: TCP Data received {"connection_id":229901,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:21:04] local.INFO: Processing buffer {"connection_id":229901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:21:04] local.INFO: IMEI packet received {"connection_id":229901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":229901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:21:07] local.INFO: TCP Data received {"connection_id":229901,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:21:07] local.INFO: Processing buffer {"connection_id":229901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:21:07] local.INFO: IMEI packet received {"connection_id":229901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":229901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:21:09] local.INFO: TCP Data received {"connection_id":229901,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abf831a0012d80588005c47f98000601482d..."} 
[2026-11-05 19:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abf831a0012d80588005c47f98000601482d..."} 
[2026-11-05 19:21:09] local.INFO: Processing buffer {"connection_id":229901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abf831a0012d80588005c47f98000601482d..."} 
[2026-11-05 19:21:09] local.INFO: Packet analysis {"connection_id":229901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abf8"} 
[2026-11-05 19:21:09] local.INFO: Extracted packet for processing {"connection_id":229901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abf8"} 
[2026-11-05 19:21:09] local.INFO: GPS Element Parsed {"raw_longitude":763385984,"raw_latitude":96763800,"longitude_deg":76.3385984,"latitude_deg":9.67638,"altitude":6,"angle":328,"satellites":45,"speed":10,"hex_longitude":"2d805880","hex_latitude":"05c47f98","is_valid_coordinates":true} 
[2026-11-05 19:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234946816001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40364905806692352,"note":"Value kept but may cause issues"} 
[2026-11-05 19:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9195857833110745088,"note":"Value kept but may cause issues"} 
[2026-11-05 19:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793886532000,"timestamp_ms":1793886532000,"timestamp_seconds":1793886532,"priority":1,"record_length":96,"hex_timestamp":"000001a1abf831a0"} 
[2026-11-05 19:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 19:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:21:09] local.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-05 19:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234946816001,"66":27332,"235":206,"85":12288,"24":10,"16":40364905806692352,"45":-9195857833110745088},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-11-05 19:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234946816001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:21:09] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-05 19:21:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40364905806692352,"km_value":40364905806692.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9195857833110745088,"description":"Unknown IO ID 45"} 
[2026-11-05 19:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234946816001,"power":27332,"unknown_235":206,"unknown_85":12288,"ignition":10,"odometer":null,"unknown_45":-9195857833110745088}} 
[2026-11-05 19:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":229901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:21:09] local.INFO: GPS data processed {"connection_id":229901,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:21:09] local.INFO: Acknowledgment sent {"connection_id":229901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:21:40] local.INFO: TCP Data received {"connection_id":229901,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abf883a8012d80530005c489500007014e2e..."} 
[2026-11-05 19:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abf883a8012d80530005c489500007014e2e..."} 
[2026-11-05 19:21:40] local.INFO: Processing buffer {"connection_id":229901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abf883a8012d80530005c489500007014e2e..."} 
[2026-11-05 19:21:40] local.INFO: Packet analysis {"connection_id":229901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abf8"} 
[2026-11-05 19:21:40] local.INFO: Extracted packet for processing {"connection_id":229901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abf8"} 
[2026-11-05 19:21:40] local.INFO: GPS Element Parsed {"raw_longitude":763384576,"raw_latitude":96766288,"longitude_deg":76.3384576,"latitude_deg":9.6766288,"altitude":7,"angle":334,"satellites":46,"speed":6,"hex_longitude":"2d805300","hex_latitude":"05c48950","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234952192001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40365047540613120,"note":"Value kept but may cause issues"} 
[2026-11-05 19:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9198461476644349952,"note":"Value kept but may cause issues"} 
[2026-11-05 19:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793886553000,"timestamp_ms":1793886553000,"timestamp_seconds":1793886553,"priority":1,"record_length":96,"hex_timestamp":"000001a1abf883a8"} 
[2026-11-05 19: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-05 19:21: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-05 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 19:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19: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-05 19: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-05 19:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19: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-05 19:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234952192001,"66":27397,"235":206,"85":12288,"24":6,"16":40365047540613120,"45":-9198461476644349952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-11-05 19:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234952192001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:21:40] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-05 19:21:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40365047540613120,"km_value":40365047540613.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9198461476644349952,"description":"Unknown IO ID 45"} 
[2026-11-05 19:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234952192001,"power":27397,"unknown_235":206,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":-9198461476644349952}} 
[2026-11-05 19:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":229901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:21:40] local.INFO: GPS data processed {"connection_id":229901,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:21:40] local.INFO: Acknowledgment sent {"connection_id":229901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:22:02] local.INFO: TCP Data received {"connection_id":231754,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:22:02] local.INFO: Processing buffer {"connection_id":231754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:22:02] local.INFO: IMEI packet received {"connection_id":231754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":231754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:22:07] local.INFO: TCP Data received {"connection_id":231754,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:22:07] local.INFO: Processing buffer {"connection_id":231754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:22:07] local.INFO: IMEI packet received {"connection_id":231754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":231754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:22:07] local.INFO: TCP Data received {"connection_id":231754,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:22:07] local.INFO: Processing buffer {"connection_id":231754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:22:07] local.INFO: IMEI packet received {"connection_id":231754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":231754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:22:08] local.INFO: TCP Data received {"connection_id":231754,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abf8cde0012d803f4005c4a968000801472e..."} 
[2026-11-05 19:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abf8cde0012d803f4005c4a968000801472e..."} 
[2026-11-05 19:22:08] local.INFO: Processing buffer {"connection_id":231754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abf8cde0012d803f4005c4a968000801472e..."} 
[2026-11-05 19:22:08] local.INFO: Packet analysis {"connection_id":231754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abf8"} 
[2026-11-05 19:22:08] local.INFO: Extracted packet for processing {"connection_id":231754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abf8"} 
[2026-11-05 19:22:08] local.INFO: GPS Element Parsed {"raw_longitude":763379520,"raw_latitude":96774504,"longitude_deg":76.337952,"latitude_deg":9.6774504,"altitude":8,"angle":327,"satellites":46,"speed":31,"hex_longitude":"2d803f40","hex_latitude":"05c4a968","is_valid_coordinates":true} 
[2026-11-05 19:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234957568001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40365515692048384,"note":"Value kept but may cause issues"} 
[2026-11-05 19:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9200009589015621632,"note":"Value kept but may cause issues"} 
[2026-11-05 19:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793886572000,"timestamp_ms":1793886572000,"timestamp_seconds":1793886572,"priority":1,"record_length":96,"hex_timestamp":"000001a1abf8cde0"} 
[2026-11-05 19:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 19:22:08] 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-05 19:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":231754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":231754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":231754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:22:08] local.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-05 19:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234957568001,"66":27397,"235":206,"85":12288,"24":31,"16":40365515692048384,"45":-9200009589015621632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-11-05 19:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234957568001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:22:08] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-05 19:22:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40365515692048384,"km_value":40365515692048.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9200009589015621632,"description":"Unknown IO ID 45"} 
[2026-11-05 19:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234957568001,"power":27397,"unknown_235":206,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":-9200009589015621632}} 
[2026-11-05 19:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":231754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:22:08] local.INFO: GPS data processed {"connection_id":231754,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:22:08] local.INFO: Acknowledgment sent {"connection_id":231754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:22:13] local.INFO: TCP Data received {"connection_id":231754,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abf8f8d8012d802b8005c4c620000901452f..."} 
[2026-11-05 19:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abf8f8d8012d802b8005c4c620000901452f..."} 
[2026-11-05 19:22:13] local.INFO: Processing buffer {"connection_id":231754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abf8f8d8012d802b8005c4c620000901452f..."} 
[2026-11-05 19:22:13] local.INFO: Packet analysis {"connection_id":231754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abf8"} 
[2026-11-05 19:22:13] local.INFO: Extracted packet for processing {"connection_id":231754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abf8"} 
[2026-11-05 19:22:13] local.INFO: GPS Element Parsed {"raw_longitude":763374464,"raw_latitude":96781856,"longitude_deg":76.3374464,"latitude_deg":9.6781856,"altitude":9,"angle":325,"satellites":47,"speed":29,"hex_longitude":"2d802b80","hex_latitude":"05c4c620","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234962432001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40365945188777984,"note":"Value kept but may cause issues"} 
[2026-11-05 19:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9205568719803553792,"note":"Value kept but may cause issues"} 
[2026-11-05 19:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793886583000,"timestamp_ms":1793886583000,"timestamp_seconds":1793886583,"priority":1,"record_length":96,"hex_timestamp":"000001a1abf8f8d8"} 
[2026-11-05 19: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-05 19: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-05 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 19:22:13] 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-05 19: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-05 19: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-05 19:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":231754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":231754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":231754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234962432001,"66":27321,"235":206,"85":12288,"24":29,"16":40365945188777984,"45":-9205568719803553792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-11-05 19:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234962432001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:22:13] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-05 19:22:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40365945188777984,"km_value":40365945188777.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9205568719803553792,"description":"Unknown IO ID 45"} 
[2026-11-05 19:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234962432001,"power":27321,"unknown_235":206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":-9205568719803553792}} 
[2026-11-05 19:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":231754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:22:13] local.INFO: GPS data processed {"connection_id":231754,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:22:13] local.INFO: Acknowledgment sent {"connection_id":231754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:22:21] local.INFO: TCP Data received {"connection_id":231753,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231753,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:22:21] local.INFO: Processing buffer {"connection_id":231753,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:22:21] local.INFO: IMEI packet received {"connection_id":231753,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 19:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":231753,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:22:44] local.INFO: TCP Data received {"connection_id":231754,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abf92ba0012d80178005c4e030000a01392f..."} 
[2026-11-05 19:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abf92ba0012d80178005c4e030000a01392f..."} 
[2026-11-05 19:22:44] local.INFO: Processing buffer {"connection_id":231754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abf92ba0012d80178005c4e030000a01392f..."} 
[2026-11-05 19:22:44] local.INFO: Packet analysis {"connection_id":231754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abf9"} 
[2026-11-05 19:22:44] local.INFO: Extracted packet for processing {"connection_id":231754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abf9"} 
[2026-11-05 19:22:44] local.INFO: GPS Element Parsed {"raw_longitude":763369344,"raw_latitude":96788528,"longitude_deg":76.3369344,"latitude_deg":9.6788528,"altitude":10,"angle":313,"satellites":47,"speed":15,"hex_longitude":"2d801780","hex_latitude":"05c4e030","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234965248001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40366348915703808,"note":"Value kept but may cause issues"} 
[2026-11-05 19:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9211127850591707136,"note":"Value kept but may cause issues"} 
[2026-11-05 19:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793886596000,"timestamp_ms":1793886596000,"timestamp_seconds":1793886596,"priority":1,"record_length":96,"hex_timestamp":"000001a1abf92ba0"} 
[2026-11-05 19: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-05 19:22: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-05 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 19:22:44] 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-05 19: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-05 19: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-05 19:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":231754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":231754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":231754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234965248001,"66":27332,"235":206,"85":12288,"24":15,"16":40366348915703808,"45":-9211127850591707136},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-11-05 19:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234965248001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:22:44] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-05 19:22:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40366348915703808,"km_value":40366348915703.805,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9211127850591707136,"description":"Unknown IO ID 45"} 
[2026-11-05 19:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234965248001,"power":27332,"unknown_235":206,"unknown_85":12288,"ignition":15,"odometer":null,"unknown_45":-9211127850591707136}} 
[2026-11-05 19:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":231754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:22:44] local.INFO: GPS data processed {"connection_id":231754,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:22:44] local.INFO: Acknowledgment sent {"connection_id":231754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:23:02] local.INFO: TCP Data received {"connection_id":229902,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:23:02] local.INFO: Processing buffer {"connection_id":229902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:23:02] local.INFO: IMEI packet received {"connection_id":229902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":229902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:23:07] local.INFO: TCP Data received {"connection_id":229902,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:23:07] local.INFO: Processing buffer {"connection_id":229902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:23:07] local.INFO: IMEI packet received {"connection_id":229902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":229902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:23:08] local.INFO: TCP Data received {"connection_id":229902,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abf94ec8012d80120005c4e4400009012d2f..."} 
[2026-11-05 19:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abf94ec8012d80120005c4e4400009012d2f..."} 
[2026-11-05 19:23:08] local.INFO: Processing buffer {"connection_id":229902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abf94ec8012d80120005c4e4400009012d2f..."} 
[2026-11-05 19:23:08] local.INFO: Packet analysis {"connection_id":229902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abf9"} 
[2026-11-05 19:23:08] local.INFO: Extracted packet for processing {"connection_id":229902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abf9"} 
[2026-11-05 19:23:08] local.INFO: GPS Element Parsed {"raw_longitude":763367936,"raw_latitude":96789568,"longitude_deg":76.3367936,"latitude_deg":9.6789568,"altitude":9,"angle":301,"satellites":47,"speed":5,"hex_longitude":"2d801200","hex_latitude":"05c4e440","is_valid_coordinates":true} 
[2026-11-05 19:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234968576001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40366439110017024,"note":"Value kept but may cause issues"} 
[2026-11-05 19:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9216757350124212224,"note":"Value kept but may cause issues"} 
[2026-11-05 19:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793886605000,"timestamp_ms":1793886605000,"timestamp_seconds":1793886605,"priority":1,"record_length":96,"hex_timestamp":"000001a1abf94ec8"} 
[2026-11-05 19:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 19:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":229902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":229902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":229902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:23:08] local.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-05 19:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234968576001,"66":27321,"235":206,"85":12288,"24":5,"16":40366439110017024,"45":-9216757350124212224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-11-05 19:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234968576001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:23:08] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-05 19:23:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40366439110017024,"km_value":40366439110017.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9216757350124212224,"description":"Unknown IO ID 45"} 
[2026-11-05 19:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234968576001,"power":27321,"unknown_235":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":-9216757350124212224}} 
[2026-11-05 19:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":229902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:23:08] local.INFO: GPS data processed {"connection_id":229902,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:23:08] local.INFO: Acknowledgment sent {"connection_id":229902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:23:40] local.INFO: TCP Data received {"connection_id":229902,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abf95698012d80110005c4e500000901382e..."} 
[2026-11-05 19:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abf95698012d80110005c4e500000901382e..."} 
[2026-11-05 19:23:40] local.INFO: Processing buffer {"connection_id":229902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abf95698012d80110005c4e500000901382e..."} 
[2026-11-05 19:23:40] local.INFO: Packet analysis {"connection_id":229902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abf9"} 
[2026-11-05 19:23:40] local.INFO: Extracted packet for processing {"connection_id":229902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abf9"} 
[2026-11-05 19:23:40] local.INFO: GPS Element Parsed {"raw_longitude":763367680,"raw_latitude":96789760,"longitude_deg":76.336768,"latitude_deg":9.678976,"altitude":9,"angle":312,"satellites":46,"speed":6,"hex_longitude":"2d801100","hex_latitude":"05c4e500","is_valid_coordinates":true} 
[2026-11-05 19:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459234970880001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40366451994918912,"note":"Value kept but may cause issues"} 
[2026-11-05 19:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9218305462495854592,"note":"Value kept but may cause issues"} 
[2026-11-05 19:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793886607000,"timestamp_ms":1793886607000,"timestamp_seconds":1793886607,"priority":1,"record_length":96,"hex_timestamp":"000001a1abf95698"} 
[2026-11-05 19:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:23: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-05 19:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 19:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459234970880001,"66":27365,"235":206,"85":12288,"24":6,"16":40366451994918912,"45":-9218305462495854592},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-11-05 19:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459234970880001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:23:40] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-05 19:23:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40366451994918912,"km_value":40366451994918.914,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9218305462495854592,"description":"Unknown IO ID 45"} 
[2026-11-05 19:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459234970880001,"power":27365,"unknown_235":206,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":-9218305462495854592}} 
[2026-11-05 19:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":229902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:23:40] local.INFO: GPS data processed {"connection_id":229902,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:23:40] local.INFO: Acknowledgment sent {"connection_id":229902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:24:07] local.INFO: TCP Data received {"connection_id":231755,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:24:07] local.INFO: Processing buffer {"connection_id":231755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:24:07] local.INFO: IMEI packet received {"connection_id":231755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":231755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:24:13] local.INFO: TCP Data received {"connection_id":231755,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:24:13] local.INFO: Processing buffer {"connection_id":231755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:24:13] local.INFO: IMEI packet received {"connection_id":231755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":231755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:24:14] local.INFO: TCP Data received {"connection_id":231755,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abfbdf08012d7fc00005c55610000b01442e..."} 
[2026-11-05 19:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abfbdf08012d7fc00005c55610000b01442e..."} 
[2026-11-05 19:24:14] local.INFO: Processing buffer {"connection_id":231755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abfbdf08012d7fc00005c55610000b01442e..."} 
[2026-11-05 19:24:14] local.INFO: Packet analysis {"connection_id":231755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abfb"} 
[2026-11-05 19:24:14] local.INFO: Extracted packet for processing {"connection_id":231755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abfb"} 
[2026-11-05 19:24:14] local.INFO: GPS Element Parsed {"raw_longitude":763346944,"raw_latitude":96818704,"longitude_deg":76.3346944,"latitude_deg":9.6818704,"altitude":11,"angle":324,"satellites":46,"speed":5,"hex_longitude":"2d7fc000","hex_latitude":"05c55610","is_valid_coordinates":true} 
[2026-11-05 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-05 19:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235008512001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40368187161706496,"note":"Value kept but may cause issues"} 
[2026-11-05 19:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9205568769363300352,"note":"Value kept but may cause issues"} 
[2026-11-05 19:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793886773000,"timestamp_ms":1793886773000,"timestamp_seconds":1793886773,"priority":1,"record_length":96,"hex_timestamp":"000001a1abfbdf08"} 
[2026-11-05 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-05 19:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-05 19:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 19:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":231755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":231755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":231755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:24: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-05 19:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235008512001,"66":27397,"98":206,"85":12288,"24":5,"16":40368187161706496,"45":9205568769363300352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-11-05 19:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235008512001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:24:14] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-11-05 19:24:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40368187161706496,"km_value":40368187161706.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9205568769363300352,"description":"Unknown IO ID 45"} 
[2026-11-05 19:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235008512001,"power":27397,"unknown_98":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":9205568769363300352}} 
[2026-11-05 19:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":231755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:24:14] local.INFO: GPS data processed {"connection_id":231755,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:24:14] local.INFO: Acknowledgment sent {"connection_id":231755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:24:45] local.INFO: TCP Data received {"connection_id":231755,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abfc3110012d7fbc0005c55b10000c01442f..."} 
[2026-11-05 19:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abfc3110012d7fbc0005c55b10000c01442f..."} 
[2026-11-05 19:24:45] local.INFO: Processing buffer {"connection_id":231755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abfc3110012d7fbc0005c55b10000c01442f..."} 
[2026-11-05 19:24:45] local.INFO: Packet analysis {"connection_id":231755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abfc"} 
[2026-11-05 19:24:45] local.INFO: Extracted packet for processing {"connection_id":231755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abfc"} 
[2026-11-05 19:24:45] local.INFO: GPS Element Parsed {"raw_longitude":763345920,"raw_latitude":96819984,"longitude_deg":76.334592,"latitude_deg":9.6819984,"altitude":12,"angle":324,"satellites":47,"speed":1,"hex_longitude":"2d7fbc00","hex_latitude":"05c55b10","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235013888001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40368273061052416,"note":"Value kept but may cause issues"} 
[2026-11-05 19:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9205357663130882048,"note":"Value kept but may cause issues"} 
[2026-11-05 19:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793886794000,"timestamp_ms":1793886794000,"timestamp_seconds":1793886794,"priority":1,"record_length":96,"hex_timestamp":"000001a1abfc3110"} 
[2026-11-05 19: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-05 19:24: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-05 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 19:24:45] 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-05 19: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-05 19: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-05 19:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":231755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":231755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":231755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:24: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-05 19:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235013888001,"66":27321,"98":206,"85":12288,"24":1,"16":40368273061052416,"45":9205357663130882048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-11-05 19:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235013888001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:24:45] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-11-05 19:24:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40368273061052416,"km_value":40368273061052.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9205357663130882048,"description":"Unknown IO ID 45"} 
[2026-11-05 19:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235013888001,"power":27321,"unknown_98":206,"unknown_85":12288,"ignition":1,"odometer":null,"unknown_45":9205357663130882048}} 
[2026-11-05 19:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":231755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:24:45] local.INFO: GPS data processed {"connection_id":231755,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:24:45] local.INFO: Acknowledgment sent {"connection_id":231755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:25:02] local.INFO: TCP Data received {"connection_id":230423,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:25:02] local.INFO: Processing buffer {"connection_id":230423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:25:02] local.INFO: IMEI packet received {"connection_id":230423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":230423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:25:07] local.INFO: TCP Data received {"connection_id":230423,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:25:07] local.INFO: Processing buffer {"connection_id":230423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:25:07] local.INFO: IMEI packet received {"connection_id":230423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":230423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:25:09] local.INFO: TCP Data received {"connection_id":230423,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abfc8318012d7fb28005c567b8000a01422f..."} 
[2026-11-05 19:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abfc8318012d7fb28005c567b8000a01422f..."} 
[2026-11-05 19:25:09] local.INFO: Processing buffer {"connection_id":230423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abfc8318012d7fb28005c567b8000a01422f..."} 
[2026-11-05 19:25:09] local.INFO: Packet analysis {"connection_id":230423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abfc"} 
[2026-11-05 19:25:09] local.INFO: Extracted packet for processing {"connection_id":230423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abfc"} 
[2026-11-05 19:25:09] local.INFO: GPS Element Parsed {"raw_longitude":763343488,"raw_latitude":96823224,"longitude_deg":76.3343488,"latitude_deg":9.6823224,"altitude":10,"angle":322,"satellites":47,"speed":10,"hex_longitude":"2d7fb280","hex_latitude":"05c567b8","is_valid_coordinates":true} 
[2026-11-05 19:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235019264001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40368470629548032,"note":"Value kept but may cause issues"} 
[2026-11-05 19:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9204231763224367104,"note":"Value kept but may cause issues"} 
[2026-11-05 19:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793886815000,"timestamp_ms":1793886815000,"timestamp_seconds":1793886815,"priority":1,"record_length":96,"hex_timestamp":"000001a1abfc8318"} 
[2026-11-05 19:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 19:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:25:09] local.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-05 19:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235019264001,"66":27321,"98":206,"85":12288,"24":10,"16":40368470629548032,"45":9204231763224367104},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-11-05 19:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235019264001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:25:09] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-11-05 19:25:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40368470629548032,"km_value":40368470629548.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9204231763224367104,"description":"Unknown IO ID 45"} 
[2026-11-05 19:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235019264001,"power":27321,"unknown_98":206,"unknown_85":12288,"ignition":10,"odometer":null,"unknown_45":9204231763224367104}} 
[2026-11-05 19:25:09] 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":64400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:25:09] local.INFO: GPS data processed {"connection_id":230423,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:25:09] local.INFO: Acknowledgment sent {"connection_id":230423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:25:13] local.INFO: TCP Data received {"connection_id":230423,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abfcd520012d7fa2c005c57d70000b01442f..."} 
[2026-11-05 19:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abfcd520012d7fa2c005c57d70000b01442f..."} 
[2026-11-05 19:25:13] local.INFO: Processing buffer {"connection_id":230423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abfcd520012d7fa2c005c57d70000b01442f..."} 
[2026-11-05 19:25:13] local.INFO: Packet analysis {"connection_id":230423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abfc"} 
[2026-11-05 19:25:13] local.INFO: Extracted packet for processing {"connection_id":230423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abfc"} 
[2026-11-05 19:25:13] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":96828784,"longitude_deg":76.3339456,"latitude_deg":9.6828784,"altitude":11,"angle":324,"satellites":47,"speed":12,"hex_longitude":"2d7fa2c0","hex_latitude":"05c57d70","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235024640001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40368801342029824,"note":"Value kept but may cause issues"} 
[2026-11-05 19:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201557750946445312,"note":"Value kept but may cause issues"} 
[2026-11-05 19:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793886836000,"timestamp_ms":1793886836000,"timestamp_seconds":1793886836,"priority":1,"record_length":96,"hex_timestamp":"000001a1abfcd520"} 
[2026-11-05 19: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-05 19:25: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-05 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 19:25:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19: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-05 19: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-05 19:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235024640001,"66":27365,"98":206,"85":12288,"24":12,"16":40368801342029824,"45":9201557750946445312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-11-05 19:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235024640001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:25:13] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-11-05 19:25:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40368801342029824,"km_value":40368801342029.82,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201557750946445312,"description":"Unknown IO ID 45"} 
[2026-11-05 19:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235024640001,"power":27365,"unknown_98":206,"unknown_85":12288,"ignition":12,"odometer":null,"unknown_45":9201557750946445312}} 
[2026-11-05 19:25:13] 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":64401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:25:13] local.INFO: GPS data processed {"connection_id":230423,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:25:13] local.INFO: Acknowledgment sent {"connection_id":230423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:25:44] local.INFO: TCP Data received {"connection_id":230423,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abfd2728012d7f9cc005c58590000a01432f..."} 
[2026-11-05 19:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abfd2728012d7f9cc005c58590000a01432f..."} 
[2026-11-05 19:25:44] local.INFO: Processing buffer {"connection_id":230423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abfd2728012d7f9cc005c58590000a01432f..."} 
[2026-11-05 19:25:44] local.INFO: Packet analysis {"connection_id":230423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abfd"} 
[2026-11-05 19:25:44] local.INFO: Extracted packet for processing {"connection_id":230423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abfd"} 
[2026-11-05 19:25:44] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":96830864,"longitude_deg":76.333792,"latitude_deg":9.6830864,"altitude":10,"angle":323,"satellites":47,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05c58590","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235030016001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40368930191048704,"note":"Value kept but may cause issues"} 
[2026-11-05 19:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124520064675840,"note":"Value kept but may cause issues"} 
[2026-11-05 19:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793886857000,"timestamp_ms":1793886857000,"timestamp_seconds":1793886857,"priority":1,"record_length":96,"hex_timestamp":"000001a1abfd2728"} 
[2026-11-05 19: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-05 19:25: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-05 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 19:25: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-05 19: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-05 19: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-05 19:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235030016001,"66":27343,"98":206,"85":12288,"24":0,"16":40368930191048704,"45":9197124520064675840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-11-05 19:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235030016001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:25:44] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-11-05 19:25:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40368930191048704,"km_value":40368930191048.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124520064675840,"description":"Unknown IO ID 45"} 
[2026-11-05 19:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235030016001,"power":27343,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9197124520064675840}} 
[2026-11-05 19:25:44] 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":64402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:25:44] local.INFO: GPS data processed {"connection_id":230423,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:25:44] local.INFO: Acknowledgment sent {"connection_id":230423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:26:02] local.INFO: TCP Data received {"connection_id":229904,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:26:02] local.INFO: Processing buffer {"connection_id":229904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:26:02] local.INFO: IMEI packet received {"connection_id":229904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":229904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:26:04] local.INFO: TCP Data received {"connection_id":229904,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:26:04] local.INFO: Processing buffer {"connection_id":229904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:26:04] local.INFO: IMEI packet received {"connection_id":229904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":229904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:26:05] local.INFO: TCP Data received {"connection_id":229904,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abfd7930012d7f964005c58e68000901432e..."} 
[2026-11-05 19:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abfd7930012d7f964005c58e68000901432e..."} 
[2026-11-05 19:26:05] local.INFO: Processing buffer {"connection_id":229904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abfd7930012d7f964005c58e68000901432e..."} 
[2026-11-05 19:26:05] local.INFO: Packet analysis {"connection_id":229904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abfd"} 
[2026-11-05 19:26:05] local.INFO: Extracted packet for processing {"connection_id":229904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abfd"} 
[2026-11-05 19:26:05] local.INFO: GPS Element Parsed {"raw_longitude":763336256,"raw_latitude":96833128,"longitude_deg":76.3336256,"latitude_deg":9.6833128,"altitude":9,"angle":323,"satellites":46,"speed":16,"hex_longitude":"2d7f9640","hex_latitude":"05c58e68","is_valid_coordinates":true} 
[2026-11-05 19:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235035392001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40369067630002176,"note":"Value kept but may cause issues"} 
[2026-11-05 19:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435670204944384,"note":"Value kept but may cause issues"} 
[2026-11-05 19:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793886878000,"timestamp_ms":1793886878000,"timestamp_seconds":1793886878,"priority":1,"record_length":96,"hex_timestamp":"000001a1abfd7930"} 
[2026-11-05 19:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:26: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-05 19:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 19:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":229904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":229904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":229904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235035392001,"66":27245,"89":206,"85":12288,"24":16,"16":40369067630002176,"45":9195435670204944384},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-11-05 19:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235035392001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:26:05] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-11-05 19:26:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40369067630002176,"km_value":40369067630002.18,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435670204944384,"description":"Unknown IO ID 45"} 
[2026-11-05 19:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235035392001,"power":27245,"unknown_89":206,"unknown_85":12288,"ignition":16,"odometer":null,"unknown_45":9195435670204944384}} 
[2026-11-05 19:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":229904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:26:05] local.INFO: GPS data processed {"connection_id":229904,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:26:05] local.INFO: Acknowledgment sent {"connection_id":229904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:26:37] local.INFO: TCP Data received {"connection_id":229904,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abfdcb38012d7f894005c5a0800008014530..."} 
[2026-11-05 19:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abfdcb38012d7f894005c5a0800008014530..."} 
[2026-11-05 19:26:37] local.INFO: Processing buffer {"connection_id":229904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abfdcb38012d7f894005c5a0800008014530..."} 
[2026-11-05 19:26:37] local.INFO: Packet analysis {"connection_id":229904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abfd"} 
[2026-11-05 19:26:37] local.INFO: Extracted packet for processing {"connection_id":229904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abfd"} 
[2026-11-05 19:26:37] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":96837760,"longitude_deg":76.3332928,"latitude_deg":9.683776,"altitude":8,"angle":325,"satellites":48,"speed":17,"hex_longitude":"2d7f8940","hex_latitude":"05c5a080","is_valid_coordinates":true} 
[2026-11-05 19:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235040768001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40369342507909120,"note":"Value kept but may cause issues"} 
[2026-11-05 19:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193606082856904704,"note":"Value kept but may cause issues"} 
[2026-11-05 19:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793886899000,"timestamp_ms":1793886899000,"timestamp_seconds":1793886899,"priority":1,"record_length":96,"hex_timestamp":"000001a1abfdcb38"} 
[2026-11-05 19:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:26: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-05 19:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-11-05 19:26:37] 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-05 19:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":229904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":229904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":229904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235040768001,"66":27365,"89":206,"85":12288,"24":17,"16":40369342507909120,"45":9193606082856904704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-11-05 19:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235040768001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:26:37] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-11-05 19:26:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40369342507909120,"km_value":40369342507909.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193606082856904704,"description":"Unknown IO ID 45"} 
[2026-11-05 19:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235040768001,"power":27365,"unknown_89":206,"unknown_85":12288,"ignition":17,"odometer":null,"unknown_45":9193606082856904704}} 
[2026-11-05 19:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":229904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:26:37] local.INFO: GPS data processed {"connection_id":229904,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:26:37] local.INFO: Acknowledgment sent {"connection_id":229904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:27:02] local.INFO: TCP Data received {"connection_id":233657,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:27:02] local.INFO: Processing buffer {"connection_id":233657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:27:02] local.INFO: IMEI packet received {"connection_id":233657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":233657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:27:02] local.INFO: TCP Data received {"connection_id":233657,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:27:02] local.INFO: Processing buffer {"connection_id":233657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:27:02] local.INFO: IMEI packet received {"connection_id":233657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":233657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:27:05] local.INFO: TCP Data received {"connection_id":233657,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:27:05] local.INFO: Processing buffer {"connection_id":233657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:27:05] local.INFO: IMEI packet received {"connection_id":233657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":233657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:27:07] local.INFO: TCP Data received {"connection_id":233657,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abfe05d0012d7f738005c5bdb0000801432f..."} 
[2026-11-05 19:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abfe05d0012d7f738005c5bdb0000801432f..."} 
[2026-11-05 19:27:07] local.INFO: Processing buffer {"connection_id":233657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abfe05d0012d7f738005c5bdb0000801432f..."} 
[2026-11-05 19:27:07] local.INFO: Packet analysis {"connection_id":233657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abfe"} 
[2026-11-05 19:27:07] local.INFO: Extracted packet for processing {"connection_id":233657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abfe"} 
[2026-11-05 19:27:07] local.INFO: GPS Element Parsed {"raw_longitude":763327360,"raw_latitude":96845232,"longitude_deg":76.332736,"latitude_deg":9.6845232,"altitude":8,"angle":323,"satellites":47,"speed":29,"hex_longitude":"2d7f7380","hex_latitude":"05c5bdb0","is_valid_coordinates":true} 
[2026-11-05 19:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235046144001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40369793479475200,"note":"Value kept but may cause issues"} 
[2026-11-05 19:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946908160851968,"note":"Value kept but may cause issues"} 
[2026-11-05 19:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1793886914000,"timestamp_ms":1793886914000,"timestamp_seconds":1793886914,"priority":1,"record_length":96,"hex_timestamp":"000001a1abfe05d0"} 
[2026-11-05 19:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 19:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":233657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":233657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":233657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235046144001,"66":27365,"100":206,"85":12288,"24":29,"16":40369793479475200,"45":9189946908160851968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-11-05 19:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235046144001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:27:07] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-11-05 19:27:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40369793479475200,"km_value":40369793479475.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946908160851968,"description":"Unknown IO ID 45"} 
[2026-11-05 19:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235046144001,"power":27365,"unknown_100":206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":9189946908160851968}} 
[2026-11-05 19:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":233657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:27:07] local.INFO: GPS data processed {"connection_id":233657,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:27:07] local.INFO: Acknowledgment sent {"connection_id":233657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:27:37] local.INFO: TCP Data received {"connection_id":233657,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abfe3898012d7f5d4005c5db18000701442e..."} 
[2026-11-05 19:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abfe3898012d7f5d4005c5db18000701442e..."} 
[2026-11-05 19:27:37] local.INFO: Processing buffer {"connection_id":233657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abfe3898012d7f5d4005c5db18000701442e..."} 
[2026-11-05 19:27:37] local.INFO: Packet analysis {"connection_id":233657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abfe"} 
[2026-11-05 19:27:37] local.INFO: Extracted packet for processing {"connection_id":233657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abfe"} 
[2026-11-05 19:27:37] local.INFO: GPS Element Parsed {"raw_longitude":763321664,"raw_latitude":96852760,"longitude_deg":76.3321664,"latitude_deg":9.685276,"altitude":7,"angle":324,"satellites":46,"speed":21,"hex_longitude":"2d7f5d40","hex_latitude":"05c5db18","is_valid_coordinates":true} 
[2026-11-05 19:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235049984001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40370248746008576,"note":"Value kept but may cause issues"} 
[2026-11-05 19:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9183824827419308032,"note":"Value kept but may cause issues"} 
[2026-11-05 19:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793886927000,"timestamp_ms":1793886927000,"timestamp_seconds":1793886927,"priority":1,"record_length":96,"hex_timestamp":"000001a1abfe3898"} 
[2026-11-05 19:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:27: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-05 19:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 19:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":233657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":233657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":233657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235049984001,"66":27571,"100":206,"85":12288,"24":21,"16":40370248746008576,"45":9183824827419308032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-11-05 19:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235049984001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:27:37] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-11-05 19:27:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40370248746008576,"km_value":40370248746008.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9183824827419308032,"description":"Unknown IO ID 45"} 
[2026-11-05 19:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235049984001,"power":27571,"unknown_100":206,"unknown_85":12288,"ignition":21,"odometer":null,"unknown_45":9183824827419308032}} 
[2026-11-05 19:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":233657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:27:37] local.INFO: GPS data processed {"connection_id":233657,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:27:37] local.INFO: Acknowledgment sent {"connection_id":233657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:27:56] local.INFO: TCP Data received {"connection_id":229905,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229905,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:27:56] local.INFO: Processing buffer {"connection_id":229905,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:27:56] local.INFO: IMEI packet received {"connection_id":229905,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 19:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":229905,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:28:02] local.INFO: TCP Data received {"connection_id":231756,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:28:02] local.INFO: Processing buffer {"connection_id":231756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:28:02] local.INFO: IMEI packet received {"connection_id":231756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":231756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:28:03] local.INFO: TCP Data received {"connection_id":231756,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:28:03] local.INFO: Processing buffer {"connection_id":231756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:28:03] local.INFO: IMEI packet received {"connection_id":231756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":231756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:28:07] local.INFO: TCP Data received {"connection_id":231756,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:28:07] local.INFO: Processing buffer {"connection_id":231756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:28:07] local.INFO: IMEI packet received {"connection_id":231756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":231756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:28:13] local.INFO: TCP Data received {"connection_id":231756,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1abfe82d0012d7f478005c5f8b0000601422d..."} 
[2026-11-05 19:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1abfe82d0012d7f478005c5f8b0000601422d..."} 
[2026-11-05 19:28:13] local.INFO: Processing buffer {"connection_id":231756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1abfe82d0012d7f478005c5f8b0000601422d..."} 
[2026-11-05 19:28:13] local.INFO: Packet analysis {"connection_id":231756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1abfe"} 
[2026-11-05 19:28:13] local.INFO: Extracted packet for processing {"connection_id":231756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1abfe"} 
[2026-11-05 19:28:13] local.INFO: GPS Element Parsed {"raw_longitude":763316096,"raw_latitude":96860336,"longitude_deg":76.3316096,"latitude_deg":9.6860336,"altitude":6,"angle":322,"satellites":45,"speed":23,"hex_longitude":"2d7f4780","hex_latitude":"05c5f8b0","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235053312001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40370704012541952,"note":"Value kept but may cause issues"} 
[2026-11-05 19:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9177562009189423104,"note":"Value kept but may cause issues"} 
[2026-11-05 19:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793886946000,"timestamp_ms":1793886946000,"timestamp_seconds":1793886946,"priority":1,"record_length":96,"hex_timestamp":"000001a1abfe82d0"} 
[2026-11-05 19: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-05 19: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-05 19: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-05 19:28: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-05 19: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-05 19: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-05 19:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":231756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":231756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":231756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235053312001,"66":27484,"89":206,"85":12288,"24":23,"16":40370704012541952,"45":9177562009189423104},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-11-05 19:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235053312001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:28:13] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-11-05 19:28:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40370704012541952,"km_value":40370704012541.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9177562009189423104,"description":"Unknown IO ID 45"} 
[2026-11-05 19:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235053312001,"power":27484,"unknown_89":206,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":9177562009189423104}} 
[2026-11-05 19:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":231756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:28:13] local.INFO: GPS data processed {"connection_id":231756,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:28:13] local.INFO: Acknowledgment sent {"connection_id":231756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:28:46] local.INFO: TCP Data received {"connection_id":231756,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac004020012d7e79c005c6c218000901412f..."} 
[2026-11-05 19:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac004020012d7e79c005c6c218000901412f..."} 
[2026-11-05 19:28:46] local.INFO: Processing buffer {"connection_id":231756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac004020012d7e79c005c6c218000901412f..."} 
[2026-11-05 19:28:46] local.INFO: Packet analysis {"connection_id":231756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac00"} 
[2026-11-05 19:28:46] local.INFO: Extracted packet for processing {"connection_id":231756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac00"} 
[2026-11-05 19:28:46] local.INFO: GPS Element Parsed {"raw_longitude":763263424,"raw_latitude":96911896,"longitude_deg":76.3263424,"latitude_deg":9.6911896,"altitude":9,"angle":321,"satellites":47,"speed":18,"hex_longitude":"2d7e79c0","hex_latitude":"05c6c218","is_valid_coordinates":true} 
[2026-11-05 19:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235086592001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:28:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-05 19:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40374307490103296,"note":"Value kept but may cause issues"} 
[2026-11-05 19:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114933826886156288,"note":"Value kept but may cause issues"} 
[2026-11-05 19:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-05 19:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793887060000,"timestamp_ms":1793887060000,"timestamp_seconds":1793887060,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac004020"} 
[2026-11-05 19:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:28: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-05 19:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 19:28:46] 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-05 19:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":231756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":231756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":231756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:28: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-05 19:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235086592001,"66":27376,"200":0,"85":12288,"24":18,"16":40374307490103296,"45":9114933826886156288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-11-05 19:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235086592001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:28:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40374307490103296,"km_value":40374307490103.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114933826886156288,"description":"Unknown IO ID 45"} 
[2026-11-05 19:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235086592001,"power":27376,"gsm_signal":0,"unknown_85":12288,"ignition":18,"odometer":null,"unknown_45":9114933826886156288}} 
[2026-11-05 19:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":231756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:28:46] local.INFO: GPS data processed {"connection_id":231756,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:28:46] local.INFO: Acknowledgment sent {"connection_id":231756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:29:02] local.INFO: TCP Data received {"connection_id":229906,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:29:02] local.INFO: Processing buffer {"connection_id":229906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:29:02] local.INFO: IMEI packet received {"connection_id":229906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":229906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:29:03] local.INFO: TCP Data received {"connection_id":229906,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:29:03] local.INFO: Processing buffer {"connection_id":229906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:29:03] local.INFO: IMEI packet received {"connection_id":229906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":229906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:29:07] local.INFO: TCP Data received {"connection_id":229906,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:29:07] local.INFO: Processing buffer {"connection_id":229906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:29:07] local.INFO: IMEI packet received {"connection_id":229906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":229906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:29:08] local.INFO: TCP Data received {"connection_id":229906,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac004fc0012d7e754005c6c758000901352f..."} 
[2026-11-05 19:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac004fc0012d7e754005c6c758000901352f..."} 
[2026-11-05 19:29:08] local.INFO: Processing buffer {"connection_id":229906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac004fc0012d7e754005c6c758000901352f..."} 
[2026-11-05 19:29:08] local.INFO: Packet analysis {"connection_id":229906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac00"} 
[2026-11-05 19:29:08] local.INFO: Extracted packet for processing {"connection_id":229906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac00"} 
[2026-11-05 19:29:08] local.INFO: GPS Element Parsed {"raw_longitude":763262272,"raw_latitude":96913240,"longitude_deg":76.3262272,"latitude_deg":9.691324,"altitude":9,"angle":309,"satellites":47,"speed":20,"hex_longitude":"2d7e7540","hex_latitude":"05c6c758","is_valid_coordinates":true} 
[2026-11-05 19:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235087360001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:29:08] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-05 19:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40374393389449216,"note":"Value kept but may cause issues"} 
[2026-11-05 19:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9113526452002887680,"note":"Value kept but may cause issues"} 
[2026-11-05 19:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-05 19:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793887064000,"timestamp_ms":1793887064000,"timestamp_seconds":1793887064,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac004fc0"} 
[2026-11-05 19:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 19:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":229906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":229906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":229906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:29:08] local.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-05 19:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235087360001,"66":27376,"200":0,"85":12288,"24":20,"16":40374393389449216,"45":9113526452002887680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-11-05 19:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235087360001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:29:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40374393389449216,"km_value":40374393389449.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9113526452002887680,"description":"Unknown IO ID 45"} 
[2026-11-05 19:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235087360001,"power":27376,"gsm_signal":0,"unknown_85":12288,"ignition":20,"odometer":null,"unknown_45":9113526452002887680}} 
[2026-11-05 19:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":229906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:29:08] local.INFO: GPS data processed {"connection_id":229906,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:29:08] local.INFO: Acknowledgment sent {"connection_id":229906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:29:39] local.INFO: TCP Data received {"connection_id":229906,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac008288012d7e568005c6dd58000a013130..."} 
[2026-11-05 19:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac008288012d7e568005c6dd58000a013130..."} 
[2026-11-05 19:29:39] local.INFO: Processing buffer {"connection_id":229906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac008288012d7e568005c6dd58000a013130..."} 
[2026-11-05 19:29:39] local.INFO: Packet analysis {"connection_id":229906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac00"} 
[2026-11-05 19:29:39] local.INFO: Extracted packet for processing {"connection_id":229906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac00"} 
[2026-11-05 19:29:39] local.INFO: GPS Element Parsed {"raw_longitude":763254400,"raw_latitude":96918872,"longitude_deg":76.32544,"latitude_deg":9.6918872,"altitude":10,"angle":305,"satellites":48,"speed":28,"hex_longitude":"2d7e5680","hex_latitude":"05c6dd58","is_valid_coordinates":true} 
[2026-11-05 19:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235088384001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:29:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-05 19:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40374857245917184,"note":"Value kept but may cause issues"} 
[2026-11-05 19:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112259814608033792,"note":"Value kept but may cause issues"} 
[2026-11-05 19:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-05 19:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793887077000,"timestamp_ms":1793887077000,"timestamp_seconds":1793887077,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac008288"} 
[2026-11-05 19:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:29: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-05 19:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 19:29:39] 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-05 19:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":229906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":229906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":229906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:29: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-05 19:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235088384001,"66":27332,"200":0,"85":12288,"24":28,"16":40374857245917184,"45":9112259814608033792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-11-05 19:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235088384001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:29:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40374857245917184,"km_value":40374857245917.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112259814608033792,"description":"Unknown IO ID 45"} 
[2026-11-05 19:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235088384001,"power":27332,"gsm_signal":0,"unknown_85":12288,"ignition":28,"odometer":null,"unknown_45":9112259814608033792}} 
[2026-11-05 19:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":229906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:29:39] local.INFO: GPS data processed {"connection_id":229906,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:29:39] local.INFO: Acknowledgment sent {"connection_id":229906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:30:01] local.INFO: TCP Data received {"connection_id":233658,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:30:01] local.INFO: Processing buffer {"connection_id":233658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:30:01] local.INFO: IMEI packet received {"connection_id":233658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":233658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:30:03] local.INFO: TCP Data received {"connection_id":233658,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:30:03] local.INFO: Processing buffer {"connection_id":233658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:30:03] local.INFO: IMEI packet received {"connection_id":233658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":233658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:30:08] local.INFO: TCP Data received {"connection_id":233658,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:30:08] local.INFO: Processing buffer {"connection_id":233658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:30:08] local.INFO: IMEI packet received {"connection_id":233658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":233658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:30:09] local.INFO: TCP Data received {"connection_id":233658,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac00ad80012d7e39c005c6f1e8000a01332c..."} 
[2026-11-05 19:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac00ad80012d7e39c005c6f1e8000a01332c..."} 
[2026-11-05 19:30:09] local.INFO: Processing buffer {"connection_id":233658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac00ad80012d7e39c005c6f1e8000a01332c..."} 
[2026-11-05 19:30:09] local.INFO: Packet analysis {"connection_id":233658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac00"} 
[2026-11-05 19:30:09] local.INFO: Extracted packet for processing {"connection_id":233658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac00"} 
[2026-11-05 19:30:09] local.INFO: GPS Element Parsed {"raw_longitude":763247040,"raw_latitude":96924136,"longitude_deg":76.324704,"latitude_deg":9.6924136,"altitude":10,"angle":307,"satellites":44,"speed":39,"hex_longitude":"2d7e39c0","hex_latitude":"05c6f1e8","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235091712001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:30:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-05 19:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40375291037614080,"note":"Value kept but may cause issues"} 
[2026-11-05 19:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103604459075622912,"note":"Value kept but may cause issues"} 
[2026-11-05 19:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-05 19:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793887088000,"timestamp_ms":1793887088000,"timestamp_seconds":1793887088,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac00ad80"} 
[2026-11-05 19: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-05 19:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 19:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19: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-05 19: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-05 19:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:30:09] local.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-05 19:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235091712001,"66":27300,"200":0,"85":12288,"24":39,"16":40375291037614080,"45":9103604459075622912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-11-05 19:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235091712001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:30:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40375291037614080,"km_value":40375291037614.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103604459075622912,"description":"Unknown IO ID 45"} 
[2026-11-05 19:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235091712001,"power":27300,"gsm_signal":0,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":9103604459075622912}} 
[2026-11-05 19:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":233658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:30:09] local.INFO: GPS data processed {"connection_id":233658,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:30:09] local.INFO: Acknowledgment sent {"connection_id":233658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:30:40] local.INFO: TCP Data received {"connection_id":233658,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac022480012d7d20c005c833900008015f2c..."} 
[2026-11-05 19:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac022480012d7d20c005c833900008015f2c..."} 
[2026-11-05 19:30:40] local.INFO: Processing buffer {"connection_id":233658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac022480012d7d20c005c833900008015f2c..."} 
[2026-11-05 19:30:40] local.INFO: Packet analysis {"connection_id":233658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac02"} 
[2026-11-05 19:30:40] local.INFO: Extracted packet for processing {"connection_id":233658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac02"} 
[2026-11-05 19:30:40] local.INFO: GPS Element Parsed {"raw_longitude":763175104,"raw_latitude":97006480,"longitude_deg":76.3175104,"latitude_deg":9.700648,"altitude":8,"angle":351,"satellites":44,"speed":53,"hex_longitude":"2d7d20c0","hex_latitude":"05c83390","is_valid_coordinates":true} 
[2026-11-05 19:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235117312001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40380797185687552,"note":"Value kept but may cause issues"} 
[2026-11-05 19:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018387909896417280,"note":"Value kept but may cause issues"} 
[2026-11-05 19:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793887184000,"timestamp_ms":1793887184000,"timestamp_seconds":1793887184,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac022480"} 
[2026-11-05 19:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:30: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-05 19:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 19:30:40] 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-05 19:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235117312001,"66":27484,"199":206,"85":12288,"24":53,"16":40380797185687552,"45":9018387909896417280},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-11-05 19:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235117312001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:30:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-11-05 19:30:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-11-05 19:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40380797185687552,"km_value":40380797185687.555,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018387909896417280,"description":"Unknown IO ID 45"} 
[2026-11-05 19:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235117312001,"power":27484,"trip_odometer":0.206,"unknown_85":12288,"ignition":53,"odometer":null,"unknown_45":9018387909896417280}} 
[2026-11-05 19:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":233658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:30:40] local.INFO: GPS data processed {"connection_id":233658,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:30:40] local.INFO: Acknowledgment sent {"connection_id":233658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:31:05] local.INFO: TCP Data received {"connection_id":231758,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:31:05] local.INFO: Processing buffer {"connection_id":231758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:31:05] local.INFO: IMEI packet received {"connection_id":231758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":231758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:31:06] local.INFO: TCP Data received {"connection_id":231758,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:31:06] local.INFO: Processing buffer {"connection_id":231758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:31:06] local.INFO: IMEI packet received {"connection_id":231758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":231758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:31:07] local.INFO: TCP Data received {"connection_id":231758,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac023fd8012d7d1bc005c857600008015f2d..."} 
[2026-11-05 19:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac023fd8012d7d1bc005c857600008015f2d..."} 
[2026-11-05 19:31:07] local.INFO: Processing buffer {"connection_id":231758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac023fd8012d7d1bc005c857600008015f2d..."} 
[2026-11-05 19:31:07] local.INFO: Packet analysis {"connection_id":231758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac02"} 
[2026-11-05 19:31:07] local.INFO: Extracted packet for processing {"connection_id":231758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac02"} 
[2026-11-05 19:31:07] local.INFO: GPS Element Parsed {"raw_longitude":763173824,"raw_latitude":97015648,"longitude_deg":76.3173824,"latitude_deg":9.7015648,"altitude":8,"angle":351,"satellites":45,"speed":51,"hex_longitude":"2d7d1bc0","hex_latitude":"05c85760","is_valid_coordinates":true} 
[2026-11-05 19:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235119104001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40381248157253632,"note":"Value kept but may cause issues"} 
[2026-11-05 19:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016417585061924864,"note":"Value kept but may cause issues"} 
[2026-11-05 19:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1793887191000,"timestamp_ms":1793887191000,"timestamp_seconds":1793887191,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac023fd8"} 
[2026-11-05 19:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 19:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":231758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":231758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":231758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235119104001,"66":27463,"131":206,"85":15104,"24":51,"16":40381248157253632,"45":9016417585061924864},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-11-05 19:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235119104001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:31:07] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-11-05 19:31:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40381248157253632,"km_value":40381248157253.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016417585061924864,"description":"Unknown IO ID 45"} 
[2026-11-05 19:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235119104001,"power":27463,"unknown_131":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9016417585061924864}} 
[2026-11-05 19:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":231758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:31:07] local.INFO: GPS data processed {"connection_id":231758,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:31:07] local.INFO: Acknowledgment sent {"connection_id":231758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:31:08] local.INFO: TCP Data received {"connection_id":231758,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac025f18012d7d160005c87e68000a01602c..."} 
[2026-11-05 19:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac025f18012d7d160005c87e68000a01602c..."} 
[2026-11-05 19:31:08] local.INFO: Processing buffer {"connection_id":231758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac025f18012d7d160005c87e68000a01602c..."} 
[2026-11-05 19:31:08] local.INFO: Packet analysis {"connection_id":231758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac02"} 
[2026-11-05 19:31:08] local.INFO: Extracted packet for processing {"connection_id":231758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac02"} 
[2026-11-05 19:31:08] local.INFO: GPS Element Parsed {"raw_longitude":763172352,"raw_latitude":97025640,"longitude_deg":76.3172352,"latitude_deg":9.702564,"altitude":10,"angle":352,"satellites":44,"speed":49,"hex_longitude":"2d7d1600","hex_latitude":"05c87e68","is_valid_coordinates":true} 
[2026-11-05 19:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235120896001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40381737783525376,"note":"Value kept but may cause issues"} 
[2026-11-05 19:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015010210180718592,"note":"Value kept but may cause issues"} 
[2026-11-05 19:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793887199000,"timestamp_ms":1793887199000,"timestamp_seconds":1793887199,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac025f18"} 
[2026-11-05 19:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 19:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:31: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-05 19:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":231758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":231758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":231758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:31:08] local.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-05 19:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235120896001,"66":27463,"131":206,"85":15104,"24":49,"16":40381737783525376,"45":9015010210180718592},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-11-05 19:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235120896001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:31:08] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-11-05 19:31:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40381737783525376,"km_value":40381737783525.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015010210180718592,"description":"Unknown IO ID 45"} 
[2026-11-05 19:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235120896001,"power":27463,"unknown_131":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9015010210180718592}} 
[2026-11-05 19:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":231758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:31:08] local.INFO: GPS data processed {"connection_id":231758,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:31:08] local.INFO: Acknowledgment sent {"connection_id":231758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:31:39] local.INFO: TCP Data received {"connection_id":231758,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac027e58012d7d110005c8a518000c01612d..."} 
[2026-11-05 19:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac027e58012d7d110005c8a518000c01612d..."} 
[2026-11-05 19:31:39] local.INFO: Processing buffer {"connection_id":231758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac027e58012d7d110005c8a518000c01612d..."} 
[2026-11-05 19:31:39] local.INFO: Packet analysis {"connection_id":231758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac02"} 
[2026-11-05 19:31:39] local.INFO: Extracted packet for processing {"connection_id":231758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac02"} 
[2026-11-05 19:31:39] local.INFO: GPS Element Parsed {"raw_longitude":763171072,"raw_latitude":97035544,"longitude_deg":76.3171072,"latitude_deg":9.7035544,"altitude":12,"angle":353,"satellites":45,"speed":48,"hex_longitude":"2d7d1100","hex_latitude":"05c8a518","is_valid_coordinates":true} 
[2026-11-05 19:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235122944001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40382218819862528,"note":"Value kept but may cause issues"} 
[2026-11-05 19:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013391729067190272,"note":"Value kept but may cause issues"} 
[2026-11-05 19:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793887207000,"timestamp_ms":1793887207000,"timestamp_seconds":1793887207,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac027e58"} 
[2026-11-05 19:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:31: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-05 19:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 19:31:39] 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-05 19:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":231758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":231758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":231758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235122944001,"66":27300,"131":206,"85":15104,"24":48,"16":40382218819862528,"45":9013391729067190272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-11-05 19:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235122944001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:31:39] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-11-05 19:31:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40382218819862528,"km_value":40382218819862.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013391729067190272,"description":"Unknown IO ID 45"} 
[2026-11-05 19:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235122944001,"power":27300,"unknown_131":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9013391729067190272}} 
[2026-11-05 19:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":231758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:31:39] local.INFO: GPS data processed {"connection_id":231758,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:31:39] local.INFO: Acknowledgment sent {"connection_id":231758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:32:03] local.INFO: TCP Data received {"connection_id":229907,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:32:03] local.INFO: Processing buffer {"connection_id":229907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:32:03] local.INFO: IMEI packet received {"connection_id":229907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":229907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:32:08] local.INFO: TCP Data received {"connection_id":229907,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:32:08] local.INFO: Processing buffer {"connection_id":229907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:32:08] local.INFO: IMEI packet received {"connection_id":229907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":229907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:32:08] local.INFO: TCP Data received {"connection_id":229907,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac029d98012d7d0f0005c8ca28000b01652d..."} 
[2026-11-05 19:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac029d98012d7d0f0005c8ca28000b01652d..."} 
[2026-11-05 19:32:08] local.INFO: Processing buffer {"connection_id":229907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac029d98012d7d0f0005c8ca28000b01652d..."} 
[2026-11-05 19:32:08] local.INFO: Packet analysis {"connection_id":229907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac02"} 
[2026-11-05 19:32:08] local.INFO: Extracted packet for processing {"connection_id":229907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac02"} 
[2026-11-05 19:32:08] local.INFO: GPS Element Parsed {"raw_longitude":763170560,"raw_latitude":97045032,"longitude_deg":76.317056,"latitude_deg":9.7045032,"altitude":11,"angle":357,"satellites":45,"speed":50,"hex_longitude":"2d7d0f00","hex_latitude":"05c8ca28","is_valid_coordinates":true} 
[2026-11-05 19:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235124992001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40382682676330496,"note":"Value kept but may cause issues"} 
[2026-11-05 19:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011984354186172416,"note":"Value kept but may cause issues"} 
[2026-11-05 19:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793887215000,"timestamp_ms":1793887215000,"timestamp_seconds":1793887215,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac029d98"} 
[2026-11-05 19:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 19:32:08] 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-05 19:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":229907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":229907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":229907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:32:08] local.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-05 19:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235124992001,"66":27484,"131":206,"85":15104,"24":50,"16":40382682676330496,"45":9011984354186172416},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-11-05 19:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235124992001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:32:08] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-11-05 19:32:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40382682676330496,"km_value":40382682676330.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011984354186172416,"description":"Unknown IO ID 45"} 
[2026-11-05 19:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235124992001,"power":27484,"unknown_131":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9011984354186172416}} 
[2026-11-05 19:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":229907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:32:08] local.INFO: GPS data processed {"connection_id":229907,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:32:08] local.INFO: Acknowledgment sent {"connection_id":229907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:32:39] local.INFO: TCP Data received {"connection_id":229907,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac03f940012d7d208005ca83b8000600042d..."} 
[2026-11-05 19:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac03f940012d7d208005ca83b8000600042d..."} 
[2026-11-05 19:32:39] local.INFO: Processing buffer {"connection_id":229907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac03f940012d7d208005ca83b8000600042d..."} 
[2026-11-05 19:32:39] local.INFO: Packet analysis {"connection_id":229907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac03"} 
[2026-11-05 19:32:39] local.INFO: Extracted packet for processing {"connection_id":229907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac03"} 
[2026-11-05 19:32:39] local.INFO: GPS Element Parsed {"raw_longitude":763175040,"raw_latitude":97158072,"longitude_deg":76.317504,"latitude_deg":9.7158072,"altitude":6,"angle":4,"satellites":45,"speed":54,"hex_longitude":"2d7d2080","hex_latitude":"05ca83b8","is_valid_coordinates":true} 
[2026-11-05 19:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235148032001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40388180234469376,"note":"Value kept but may cause issues"} 
[2026-11-05 19:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015291685191415808,"note":"Value kept but may cause issues"} 
[2026-11-05 19:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793887304000,"timestamp_ms":1793887304000,"timestamp_seconds":1793887304,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac03f940"} 
[2026-11-05 19:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:32: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-05 19:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 19:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":229907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":229907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":229907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235148032001,"66":27365,"131":206,"85":15104,"24":54,"16":40388180234469376,"45":9015291685191415808},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-11-05 19:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235148032001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:32:39] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-11-05 19:32:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40388180234469376,"km_value":40388180234469.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015291685191415808,"description":"Unknown IO ID 45"} 
[2026-11-05 19:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235148032001,"power":27365,"unknown_131":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":9015291685191415808}} 
[2026-11-05 19:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":229907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:32:39] local.INFO: GPS data processed {"connection_id":229907,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:32:39] local.INFO: Acknowledgment sent {"connection_id":229907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:33:02] local.INFO: TCP Data received {"connection_id":230424,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:33:02] local.INFO: Processing buffer {"connection_id":230424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:33:02] local.INFO: IMEI packet received {"connection_id":230424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":230424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:33:08] local.INFO: TCP Data received {"connection_id":230424,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:33:08] local.INFO: Processing buffer {"connection_id":230424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:33:08] local.INFO: IMEI packet received {"connection_id":230424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":230424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:33:09] local.INFO: TCP Data received {"connection_id":230424,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac041498012d7d240005caa9a8000600052d..."} 
[2026-11-05 19:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac041498012d7d240005caa9a8000600052d..."} 
[2026-11-05 19:33:09] local.INFO: Processing buffer {"connection_id":230424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac041498012d7d240005caa9a8000600052d..."} 
[2026-11-05 19:33:09] local.INFO: Packet analysis {"connection_id":230424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac04"} 
[2026-11-05 19:33:09] local.INFO: Extracted packet for processing {"connection_id":230424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac04"} 
[2026-11-05 19:33:09] local.INFO: GPS Element Parsed {"raw_longitude":763175936,"raw_latitude":97167784,"longitude_deg":76.3175936,"latitude_deg":9.7167784,"altitude":6,"angle":5,"satellites":45,"speed":55,"hex_longitude":"2d7d2400","hex_latitude":"05caa9a8","is_valid_coordinates":true} 
[2026-11-05 19:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235149824001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40388656975839232,"note":"Value kept but may cause issues"} 
[2026-11-05 19:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016347216356554752,"note":"Value kept but may cause issues"} 
[2026-11-05 19:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793887311000,"timestamp_ms":1793887311000,"timestamp_seconds":1793887311,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac041498"} 
[2026-11-05 19:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 19:33:09] 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-05 19:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:33:09] local.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-05 19:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235149824001,"66":27463,"131":206,"85":15104,"24":55,"16":40388656975839232,"45":9016347216356554752},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-11-05 19:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235149824001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:33:09] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-11-05 19:33:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40388656975839232,"km_value":40388656975839.234,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016347216356554752,"description":"Unknown IO ID 45"} 
[2026-11-05 19:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235149824001,"power":27463,"unknown_131":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":9016347216356554752}} 
[2026-11-05 19:33:09] 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":64418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:33:09] local.INFO: GPS data processed {"connection_id":230424,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:33:09] local.INFO: Acknowledgment sent {"connection_id":230424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:33:31] local.INFO: TCP Data received {"connection_id":231757,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231757,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:33:31] local.INFO: Processing buffer {"connection_id":231757,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:33:31] local.INFO: IMEI packet received {"connection_id":231757,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 19:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":231757,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:33:39] local.INFO: TCP Data received {"connection_id":230424,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac042ff0012d7d270005cacfc0000600042d..."} 
[2026-11-05 19:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac042ff0012d7d270005cacfc0000600042d..."} 
[2026-11-05 19:33:39] local.INFO: Processing buffer {"connection_id":230424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac042ff0012d7d270005cacfc0000600042d..."} 
[2026-11-05 19:33:39] local.INFO: Packet analysis {"connection_id":230424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac04"} 
[2026-11-05 19:33:39] local.INFO: Extracted packet for processing {"connection_id":230424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac04"} 
[2026-11-05 19:33:39] local.INFO: GPS Element Parsed {"raw_longitude":763176704,"raw_latitude":97177536,"longitude_deg":76.3176704,"latitude_deg":9.7177536,"altitude":6,"angle":4,"satellites":45,"speed":54,"hex_longitude":"2d7d2700","hex_latitude":"05cacfc0","is_valid_coordinates":true} 
[2026-11-05 19:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235151616001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40389129422241792,"note":"Value kept but may cause issues"} 
[2026-11-05 19:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017332378777528320,"note":"Value kept but may cause issues"} 
[2026-11-05 19:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793887318000,"timestamp_ms":1793887318000,"timestamp_seconds":1793887318,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac042ff0"} 
[2026-11-05 19:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:33: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-05 19:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 19:33:39] 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-05 19:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":230424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":230424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":230424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:33: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-05 19:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235151616001,"66":27376,"131":206,"85":15104,"24":54,"16":40389129422241792,"45":9017332378777528320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-11-05 19:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235151616001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:33:39] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-11-05 19:33:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40389129422241792,"km_value":40389129422241.79,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017332378777528320,"description":"Unknown IO ID 45"} 
[2026-11-05 19:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235151616001,"power":27376,"unknown_131":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":9017332378777528320}} 
[2026-11-05 19:33:39] 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":64419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:33:39] local.INFO: GPS data processed {"connection_id":230424,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:33:39] local.INFO: Acknowledgment sent {"connection_id":230424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:34:08] local.INFO: TCP Data received {"connection_id":229908,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:34:08] local.INFO: Processing buffer {"connection_id":229908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:34:08] local.INFO: IMEI packet received {"connection_id":229908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":229908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:34:12] local.INFO: TCP Data received {"connection_id":229908,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:34:12] local.INFO: Processing buffer {"connection_id":229908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:34:12] local.INFO: IMEI packet received {"connection_id":229908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":229908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:34:13] local.INFO: TCP Data received {"connection_id":229908,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac044b48012d7d2a0005caf490000700032e..."} 
[2026-11-05 19:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac044b48012d7d2a0005caf490000700032e..."} 
[2026-11-05 19:34:13] local.INFO: Processing buffer {"connection_id":229908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac044b48012d7d2a0005caf490000700032e..."} 
[2026-11-05 19:34:13] local.INFO: Packet analysis {"connection_id":229908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac04"} 
[2026-11-05 19:34:13] local.INFO: Extracted packet for processing {"connection_id":229908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac04"} 
[2026-11-05 19:34:13] local.INFO: GPS Element Parsed {"raw_longitude":763177472,"raw_latitude":97186960,"longitude_deg":76.3177472,"latitude_deg":9.718696,"altitude":7,"angle":3,"satellites":46,"speed":53,"hex_longitude":"2d7d2a00","hex_latitude":"05caf490","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235153408001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40389588983742464,"note":"Value kept but may cause issues"} 
[2026-11-05 19:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018176803710156800,"note":"Value kept but may cause issues"} 
[2026-11-05 19:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793887325000,"timestamp_ms":1793887325000,"timestamp_seconds":1793887325,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac044b48"} 
[2026-11-05 19: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-05 19:34: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-05 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 19:34:13] 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-05 19: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-05 19: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-05 19:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235153408001,"66":27463,"131":206,"85":15104,"24":53,"16":40389588983742464,"45":9018176803710156800},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-11-05 19:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235153408001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:34:13] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-11-05 19:34:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40389588983742464,"km_value":40389588983742.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018176803710156800,"description":"Unknown IO ID 45"} 
[2026-11-05 19:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235153408001,"power":27463,"unknown_131":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9018176803710156800}} 
[2026-11-05 19:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":229908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:34:13] local.INFO: GPS data processed {"connection_id":229908,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:34:13] local.INFO: Acknowledgment sent {"connection_id":229908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:34:44] local.INFO: TCP Data received {"connection_id":229908,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac05ed40012d7d570005cc85a0000700042e..."} 
[2026-11-05 19:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac05ed40012d7d570005cc85a0000700042e..."} 
[2026-11-05 19:34:44] local.INFO: Processing buffer {"connection_id":229908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac05ed40012d7d570005cc85a0000700042e..."} 
[2026-11-05 19:34:44] local.INFO: Packet analysis {"connection_id":229908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac05"} 
[2026-11-05 19:34:44] local.INFO: Extracted packet for processing {"connection_id":229908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac05"} 
[2026-11-05 19:34:44] local.INFO: GPS Element Parsed {"raw_longitude":763188992,"raw_latitude":97289632,"longitude_deg":76.3188992,"latitude_deg":9.7289632,"altitude":7,"angle":4,"satellites":46,"speed":53,"hex_longitude":"2d7d5700","hex_latitude":"05cc85a0","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235180544001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40394605505544192,"note":"Value kept but may cause issues"} 
[2026-11-05 19:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030420965223245824,"note":"Value kept but may cause issues"} 
[2026-11-05 19:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793887432000,"timestamp_ms":1793887432000,"timestamp_seconds":1793887432,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac05ed40"} 
[2026-11-05 19: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-05 19: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-05 19: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-11-05 19:34:44] 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-05 19: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-05 19: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-05 19:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235180544001,"66":27343,"236":206,"85":15104,"24":53,"16":40394605505544192,"45":9030420965223245824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-11-05 19:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235180544001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:34:44] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-11-05 19:34:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40394605505544192,"km_value":40394605505544.195,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030420965223245824,"description":"Unknown IO ID 45"} 
[2026-11-05 19:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235180544001,"power":27343,"unknown_236":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9030420965223245824}} 
[2026-11-05 19:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":229908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:34:44] local.INFO: GPS data processed {"connection_id":229908,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:34:44] local.INFO: Acknowledgment sent {"connection_id":229908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:35:04] local.INFO: TCP Data received {"connection_id":233659,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:35:04] local.INFO: Processing buffer {"connection_id":233659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:35:04] local.INFO: IMEI packet received {"connection_id":233659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":233659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:35:07] local.INFO: TCP Data received {"connection_id":233659,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:35:07] local.INFO: Processing buffer {"connection_id":233659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:35:07] local.INFO: IMEI packet received {"connection_id":233659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":233659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:35:12] local.INFO: TCP Data received {"connection_id":233659,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:35:12] local.INFO: Processing buffer {"connection_id":233659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:35:12] local.INFO: IMEI packet received {"connection_id":233659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":233659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:35:25] local.INFO: TCP Data received {"connection_id":233659,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac060898012d7d574005ccabe8000701652c..."} 
[2026-11-05 19:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac060898012d7d574005ccabe8000701652c..."} 
[2026-11-05 19:35:25] local.INFO: Processing buffer {"connection_id":233659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac060898012d7d574005ccabe8000701652c..."} 
[2026-11-05 19:35:25] local.INFO: Packet analysis {"connection_id":233659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac06"} 
[2026-11-05 19:35:25] local.INFO: Extracted packet for processing {"connection_id":233659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac06"} 
[2026-11-05 19:35:25] local.INFO: GPS Element Parsed {"raw_longitude":763189056,"raw_latitude":97299432,"longitude_deg":76.3189056,"latitude_deg":9.7299432,"altitude":7,"angle":357,"satellites":44,"speed":57,"hex_longitude":"2d7d5740","hex_latitude":"05ccabe8","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235182592001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40395077951946752,"note":"Value kept but may cause issues"} 
[2026-11-05 19:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031687602620964864,"note":"Value kept but may cause issues"} 
[2026-11-05 19:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793887439000,"timestamp_ms":1793887439000,"timestamp_seconds":1793887439,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac060898"} 
[2026-11-05 19: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-05 19:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 19:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19: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-05 19: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-05 19:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":233659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":233659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":233659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235182592001,"66":27300,"236":206,"85":15104,"24":57,"16":40395077951946752,"45":9031687602620964864},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-11-05 19:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235182592001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:35:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-11-05 19:35:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40395077951946752,"km_value":40395077951946.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031687602620964864,"description":"Unknown IO ID 45"} 
[2026-11-05 19:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235182592001,"power":27300,"unknown_236":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":9031687602620964864}} 
[2026-11-05 19:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":233659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:35:25] local.INFO: GPS data processed {"connection_id":233659,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:35:25] local.INFO: Acknowledgment sent {"connection_id":233659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:35:27] local.INFO: TCP Data received {"connection_id":233659,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac0623f0012d7d550005ccd3b8000701632c..."} 
[2026-11-05 19:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac0623f0012d7d550005ccd3b8000701632c..."} 
[2026-11-05 19:35:27] local.INFO: Processing buffer {"connection_id":233659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac0623f0012d7d550005ccd3b8000701632c..."} 
[2026-11-05 19:35:27] local.INFO: Packet analysis {"connection_id":233659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac06"} 
[2026-11-05 19:35:27] local.INFO: Extracted packet for processing {"connection_id":233659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac06"} 
[2026-11-05 19:35:27] local.INFO: GPS Element Parsed {"raw_longitude":763188480,"raw_latitude":97309624,"longitude_deg":76.318848,"latitude_deg":9.7309624,"altitude":7,"angle":355,"satellites":44,"speed":57,"hex_longitude":"2d7d5500","hex_latitude":"05ccd3b8","is_valid_coordinates":true} 
[2026-11-05 19:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235184384001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40395571873185792,"note":"Value kept but may cause issues"} 
[2026-11-05 19:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031757971367651328,"note":"Value kept but may cause issues"} 
[2026-11-05 19:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793887446000,"timestamp_ms":1793887446000,"timestamp_seconds":1793887446,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac0623f0"} 
[2026-11-05 19:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:35: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-05 19:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 19:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":233659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":233659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":233659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235184384001,"66":27343,"236":206,"85":15104,"24":57,"16":40395571873185792,"45":9031757971367651328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-11-05 19:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235184384001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:35:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-11-05 19:35:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40395571873185792,"km_value":40395571873185.79,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031757971367651328,"description":"Unknown IO ID 45"} 
[2026-11-05 19:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235184384001,"power":27343,"unknown_236":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":9031757971367651328}} 
[2026-11-05 19:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":233659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:35:27] local.INFO: GPS data processed {"connection_id":233659,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:35:27] local.INFO: Acknowledgment sent {"connection_id":233659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:36:02] local.INFO: TCP Data received {"connection_id":231760,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:36:02] local.INFO: Processing buffer {"connection_id":231760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:36:02] local.INFO: IMEI packet received {"connection_id":231760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":231760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:36:05] local.INFO: TCP Data received {"connection_id":231760,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:36:05] local.INFO: Processing buffer {"connection_id":231760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:36:05] local.INFO: IMEI packet received {"connection_id":231760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":231760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:36:07] local.INFO: TCP Data received {"connection_id":231760,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac063f48012d7d51c005ccf9d8000701642b..."} 
[2026-11-05 19:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac063f48012d7d51c005ccf9d8000701642b..."} 
[2026-11-05 19:36:07] local.INFO: Processing buffer {"connection_id":231760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac063f48012d7d51c005ccf9d8000701642b..."} 
[2026-11-05 19:36:07] local.INFO: Packet analysis {"connection_id":231760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac06"} 
[2026-11-05 19:36:07] local.INFO: Extracted packet for processing {"connection_id":231760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac06"} 
[2026-11-05 19:36:07] local.INFO: GPS Element Parsed {"raw_longitude":763187648,"raw_latitude":97319384,"longitude_deg":76.3187648,"latitude_deg":9.7319384,"altitude":7,"angle":356,"satellites":43,"speed":55,"hex_longitude":"2d7d51c0","hex_latitude":"05ccf9d8","is_valid_coordinates":true} 
[2026-11-05 19:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235186176001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40396048614555648,"note":"Value kept but may cause issues"} 
[2026-11-05 19:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031124652672661504,"note":"Value kept but may cause issues"} 
[2026-11-05 19:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1793887453000,"timestamp_ms":1793887453000,"timestamp_seconds":1793887453,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac063f48"} 
[2026-11-05 19:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 19:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":231760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":231760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":231760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235186176001,"66":27234,"236":206,"85":15104,"24":55,"16":40396048614555648,"45":9031124652672661504},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-11-05 19:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235186176001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:36:07] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-11-05 19:36:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40396048614555648,"km_value":40396048614555.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031124652672661504,"description":"Unknown IO ID 45"} 
[2026-11-05 19:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235186176001,"power":27234,"unknown_236":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":9031124652672661504}} 
[2026-11-05 19:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":231760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:36:07] local.INFO: GPS data processed {"connection_id":231760,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:36:07] local.INFO: Acknowledgment sent {"connection_id":231760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:36:39] local.INFO: TCP Data received {"connection_id":231760,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac079af0012d7d4d4005ceb9d8000d01672d..."} 
[2026-11-05 19:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac079af0012d7d4d4005ceb9d8000d01672d..."} 
[2026-11-05 19:36:39] local.INFO: Processing buffer {"connection_id":231760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac079af0012d7d4d4005ceb9d8000d01672d..."} 
[2026-11-05 19:36:39] local.INFO: Packet analysis {"connection_id":231760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac07"} 
[2026-11-05 19:36:39] local.INFO: Extracted packet for processing {"connection_id":231760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac07"} 
[2026-11-05 19:36:39] local.INFO: GPS Element Parsed {"raw_longitude":763186496,"raw_latitude":97434072,"longitude_deg":76.3186496,"latitude_deg":9.7434072,"altitude":13,"angle":359,"satellites":45,"speed":51,"hex_longitude":"2d7d4d40","hex_latitude":"05ceb9d8","is_valid_coordinates":true} 
[2026-11-05 19:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235208960001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40401623482105856,"note":"Value kept but may cause issues"} 
[2026-11-05 19:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028521009167544320,"note":"Value kept but may cause issues"} 
[2026-11-05 19:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793887542000,"timestamp_ms":1793887542000,"timestamp_seconds":1793887542,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac079af0"} 
[2026-11-05 19:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-11-05 19:36:39] 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-05 19:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":231760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":231760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":231760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:36: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-05 19:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235208960001,"66":27267,"235":206,"85":15104,"24":51,"16":40401623482105856,"45":9028521009167544320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-11-05 19:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235208960001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:36:39] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-05 19:36:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40401623482105856,"km_value":40401623482105.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028521009167544320,"description":"Unknown IO ID 45"} 
[2026-11-05 19:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235208960001,"power":27267,"unknown_235":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9028521009167544320}} 
[2026-11-05 19:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":231760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:36:39] local.INFO: GPS data processed {"connection_id":231760,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:36:39] local.INFO: Acknowledgment sent {"connection_id":231760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:37:01] local.INFO: TCP Data received {"connection_id":233660,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:37:01] local.INFO: Processing buffer {"connection_id":233660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:37:01] local.INFO: IMEI packet received {"connection_id":233660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":233660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:37:02] local.INFO: TCP Data received {"connection_id":233660,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:37:02] local.INFO: Processing buffer {"connection_id":233660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:37:02] local.INFO: IMEI packet received {"connection_id":233660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":233660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:37:07] local.INFO: TCP Data received {"connection_id":233660,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:37:07] local.INFO: Processing buffer {"connection_id":233660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:37:07] local.INFO: IMEI packet received {"connection_id":233660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":233660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:37:08] local.INFO: TCP Data received {"connection_id":233660,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac07b648012d7d4c0005cedf00000d01672d..."} 
[2026-11-05 19:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac07b648012d7d4c0005cedf00000d01672d..."} 
[2026-11-05 19:37:08] local.INFO: Processing buffer {"connection_id":233660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac07b648012d7d4c0005cedf00000d01672d..."} 
[2026-11-05 19:37:08] local.INFO: Packet analysis {"connection_id":233660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac07"} 
[2026-11-05 19:37:08] local.INFO: Extracted packet for processing {"connection_id":233660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac07"} 
[2026-11-05 19:37:08] local.INFO: GPS Element Parsed {"raw_longitude":763186176,"raw_latitude":97443584,"longitude_deg":76.3186176,"latitude_deg":9.7443584,"altitude":13,"angle":359,"satellites":45,"speed":57,"hex_longitude":"2d7d4c00","hex_latitude":"05cedf00","is_valid_coordinates":true} 
[2026-11-05 19:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235210752001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40402083043606528,"note":"Value kept but may cause issues"} 
[2026-11-05 19:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028943221635012608,"note":"Value kept but may cause issues"} 
[2026-11-05 19:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793887549000,"timestamp_ms":1793887549000,"timestamp_seconds":1793887549,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac07b648"} 
[2026-11-05 19:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:37: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-05 19:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 19:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":233660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":233660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":233660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:37:08] local.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-05 19:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235210752001,"66":27343,"235":206,"85":15104,"24":57,"16":40402083043606528,"45":9028943221635012608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-11-05 19:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235210752001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:37:08] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-05 19:37:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40402083043606528,"km_value":40402083043606.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028943221635012608,"description":"Unknown IO ID 45"} 
[2026-11-05 19:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235210752001,"power":27343,"unknown_235":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":9028943221635012608}} 
[2026-11-05 19:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":233660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:37:08] local.INFO: GPS data processed {"connection_id":233660,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:37:08] local.INFO: Acknowledgment sent {"connection_id":233660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:37:41] local.INFO: TCP Data received {"connection_id":233660,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac07d1a0012d7d4bc005cf06f8000a00002d..."} 
[2026-11-05 19:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac07d1a0012d7d4bc005cf06f8000a00002d..."} 
[2026-11-05 19:37:41] local.INFO: Processing buffer {"connection_id":233660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac07d1a0012d7d4bc005cf06f8000a00002d..."} 
[2026-11-05 19:37:41] local.INFO: Packet analysis {"connection_id":233660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac07"} 
[2026-11-05 19:37:41] local.INFO: Extracted packet for processing {"connection_id":233660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac07"} 
[2026-11-05 19:37:41] local.INFO: GPS Element Parsed {"raw_longitude":763186112,"raw_latitude":97453816,"longitude_deg":76.3186112,"latitude_deg":9.7453816,"altitude":10,"angle":0,"satellites":45,"speed":57,"hex_longitude":"2d7d4bc0","hex_latitude":"05cf06f8","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235212544001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40402581259812864,"note":"Value kept but may cause issues"} 
[2026-11-05 19:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028591377916559360,"note":"Value kept but may cause issues"} 
[2026-11-05 19:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793887556000,"timestamp_ms":1793887556000,"timestamp_seconds":1793887556,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac07d1a0"} 
[2026-11-05 19: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-05 19:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 19:37:41] 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-05 19: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-05 19: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-05 19:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19: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-05 19:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235212544001,"66":27397,"198":206,"85":15104,"24":57,"16":40402581259812864,"45":9028591377916559360},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-11-05 19:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235212544001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:37:41] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-11-05 19:37:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40402581259812864,"km_value":40402581259812.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028591377916559360,"description":"Unknown IO ID 45"} 
[2026-11-05 19:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235212544001,"power":27397,"unknown_198":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":9028591377916559360}} 
[2026-11-05 19:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":233660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:37:41] local.INFO: GPS data processed {"connection_id":233660,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:37:41] local.INFO: Acknowledgment sent {"connection_id":233660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:38:12] local.INFO: TCP Data received {"connection_id":230425,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:38:12] local.INFO: Processing buffer {"connection_id":230425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:38:12] local.INFO: IMEI packet received {"connection_id":230425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":230425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:38:23] local.INFO: TCP Data received {"connection_id":230425,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:38:23] local.INFO: Processing buffer {"connection_id":230425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:38:23] local.INFO: IMEI packet received {"connection_id":230425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":230425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:38:24] local.INFO: TCP Data received {"connection_id":230425,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac0911f0012d7d4c0005d02ff80006001c2d..."} 
[2026-11-05 19:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac0911f0012d7d4c0005d02ff80006001c2d..."} 
[2026-11-05 19:38:24] local.INFO: Processing buffer {"connection_id":230425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac0911f0012d7d4c0005d02ff80006001c2d..."} 
[2026-11-05 19:38:24] local.INFO: Packet analysis {"connection_id":230425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac09"} 
[2026-11-05 19:38:24] local.INFO: Extracted packet for processing {"connection_id":230425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac09"} 
[2026-11-05 19:38:24] local.INFO: GPS Element Parsed {"raw_longitude":763186176,"raw_latitude":97529848,"longitude_deg":76.3186176,"latitude_deg":9.7529848,"altitude":6,"angle":28,"satellites":45,"speed":10,"hex_longitude":"2d7d4c00","hex_latitude":"05d02ff8","is_valid_coordinates":true} 
[2026-11-05 19:38: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-05 19:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235235072001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40406283521622016,"note":"Value kept but may cause issues"} 
[2026-11-05 19:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028450640450242560,"note":"Value kept but may cause issues"} 
[2026-11-05 19:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793887638000,"timestamp_ms":1793887638000,"timestamp_seconds":1793887638,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac0911f0"} 
[2026-11-05 19:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:38: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-05 19:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 19:38:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:38: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-05 19:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":230425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":230425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":230425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235235072001,"66":27484,"198":206,"85":15104,"24":10,"16":40406283521622016,"45":9028450640450242560},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-11-05 19:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235235072001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:38:24] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-11-05 19:38:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40406283521622016,"km_value":40406283521622.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028450640450242560,"description":"Unknown IO ID 45"} 
[2026-11-05 19:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235235072001,"power":27484,"unknown_198":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9028450640450242560}} 
[2026-11-05 19:38:24] 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":64428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:38:24] local.INFO: GPS data processed {"connection_id":230425,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:38:24] local.INFO: Acknowledgment sent {"connection_id":230425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:38:25] local.INFO: TCP Data received {"connection_id":230425,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac0915d8012d7d4c4005d031080006000c2e..."} 
[2026-11-05 19:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac0915d8012d7d4c4005d031080006000c2e..."} 
[2026-11-05 19:38:25] local.INFO: Processing buffer {"connection_id":230425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac0915d8012d7d4c4005d031080006000c2e..."} 
[2026-11-05 19:38:25] local.INFO: Packet analysis {"connection_id":230425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac09"} 
[2026-11-05 19:38:25] local.INFO: Extracted packet for processing {"connection_id":230425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac09"} 
[2026-11-05 19:38:25] local.INFO: GPS Element Parsed {"raw_longitude":763186240,"raw_latitude":97530120,"longitude_deg":76.318624,"latitude_deg":9.753012,"altitude":6,"angle":12,"satellites":46,"speed":13,"hex_longitude":"2d7d4c40","hex_latitude":"05d03108","is_valid_coordinates":true} 
[2026-11-05 19:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235235328001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40406296406523904,"note":"Value kept but may cause issues"} 
[2026-11-05 19:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028591377938642944,"note":"Value kept but may cause issues"} 
[2026-11-05 19:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793887639000,"timestamp_ms":1793887639000,"timestamp_seconds":1793887639,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac0915d8"} 
[2026-11-05 19:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:38: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-05 19:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 19:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":230425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":230425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":230425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235235328001,"66":27484,"198":206,"85":15104,"24":13,"16":40406296406523904,"45":9028591377938642944},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-11-05 19:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235235328001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:38:25] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-11-05 19:38:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40406296406523904,"km_value":40406296406523.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028591377938642944,"description":"Unknown IO ID 45"} 
[2026-11-05 19:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235235328001,"power":27484,"unknown_198":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9028591377938642944}} 
[2026-11-05 19:38:25] 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":64429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:38:25] local.INFO: GPS data processed {"connection_id":230425,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:38:25] local.INFO: Acknowledgment sent {"connection_id":230425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:39:02] local.INFO: TCP Data received {"connection_id":230426,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:39:02] local.INFO: Processing buffer {"connection_id":230426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:39:02] local.INFO: IMEI packet received {"connection_id":230426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":230426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:39:06] local.INFO: TCP Data received {"connection_id":231759,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231759,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:39:06] local.INFO: Processing buffer {"connection_id":231759,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:39:06] local.INFO: IMEI packet received {"connection_id":231759,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 19:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":231759,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:39:08] local.INFO: TCP Data received {"connection_id":230426,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:39:08] local.INFO: Processing buffer {"connection_id":230426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:39:08] local.INFO: IMEI packet received {"connection_id":230426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":230426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:39:17] local.INFO: TCP Data received {"connection_id":230426,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac0919c0012d7d4cc005d03270000601662e..."} 
[2026-11-05 19:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac0919c0012d7d4cc005d03270000601662e..."} 
[2026-11-05 19:39:17] local.INFO: Processing buffer {"connection_id":230426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac0919c0012d7d4cc005d03270000601662e..."} 
[2026-11-05 19:39:17] local.INFO: Packet analysis {"connection_id":230426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac09"} 
[2026-11-05 19:39:17] local.INFO: Extracted packet for processing {"connection_id":230426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac09"} 
[2026-11-05 19:39:17] local.INFO: GPS Element Parsed {"raw_longitude":763186368,"raw_latitude":97530480,"longitude_deg":76.3186368,"latitude_deg":9.753048,"altitude":6,"angle":358,"satellites":46,"speed":16,"hex_longitude":"2d7d4cc0","hex_latitude":"05d03270","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235235584001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40406313586393088,"note":"Value kept but may cause issues"} 
[2026-11-05 19:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028661746682890240,"note":"Value kept but may cause issues"} 
[2026-11-05 19:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793887640000,"timestamp_ms":1793887640000,"timestamp_seconds":1793887640,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac0919c0"} 
[2026-11-05 19: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-05 19:39: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-05 19: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 19:39: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-05 19: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-05 19: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-05 19:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:39: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-05 19:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235235584001,"66":27343,"198":206,"85":15104,"24":16,"16":40406313586393088,"45":9028661746682890240},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-11-05 19:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235235584001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:39:17] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-11-05 19:39:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40406313586393088,"km_value":40406313586393.086,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028661746682890240,"description":"Unknown IO ID 45"} 
[2026-11-05 19:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235235584001,"power":27343,"unknown_198":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9028661746682890240}} 
[2026-11-05 19:39:17] 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":64430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:39:17] local.INFO: GPS data processed {"connection_id":230426,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:39:17] local.INFO: Acknowledgment sent {"connection_id":230426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:39:36] local.INFO: TCP Data received {"connection_id":233661,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233661,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:39:36] local.INFO: Processing buffer {"connection_id":233661,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:39:36] local.INFO: IMEI packet received {"connection_id":233661,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 19:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":233661,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:40:00] local.INFO: TCP Data received {"connection_id":229909,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:40:00] local.INFO: Processing buffer {"connection_id":229909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:40:00] local.INFO: IMEI packet received {"connection_id":229909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":229909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:40:02] local.INFO: TCP Data received {"connection_id":229909,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:40:02] local.INFO: Processing buffer {"connection_id":229909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:40:02] local.INFO: IMEI packet received {"connection_id":229909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":229909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:40:07] local.INFO: TCP Data received {"connection_id":229909,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:40:07] local.INFO: Processing buffer {"connection_id":229909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:40:07] local.INFO: IMEI packet received {"connection_id":229909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":229909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:40:08] local.INFO: TCP Data received {"connection_id":229909,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac094c88012d7d484005d05718000601622d..."} 
[2026-11-05 19:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac094c88012d7d484005d05718000601622d..."} 
[2026-11-05 19:40:08] local.INFO: Processing buffer {"connection_id":229909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac094c88012d7d484005d05718000601622d..."} 
[2026-11-05 19:40:08] local.INFO: Packet analysis {"connection_id":229909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac09"} 
[2026-11-05 19:40:08] local.INFO: Extracted packet for processing {"connection_id":229909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac09"} 
[2026-11-05 19:40:08] local.INFO: GPS Element Parsed {"raw_longitude":763185216,"raw_latitude":97539864,"longitude_deg":76.3185216,"latitude_deg":9.7539864,"altitude":6,"angle":354,"satellites":45,"speed":40,"hex_longitude":"2d7d4840","hex_latitude":"05d05718","is_valid_coordinates":true} 
[2026-11-05 19:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235235840001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40406773147893760,"note":"Value kept but may cause issues"} 
[2026-11-05 19:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028802484171337728,"note":"Value kept but may cause issues"} 
[2026-11-05 19:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793887653000,"timestamp_ms":1793887653000,"timestamp_seconds":1793887653,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac094c88"} 
[2026-11-05 19:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:40: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-05 19:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 19:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":229909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":229909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":229909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:40:08] local.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-05 19:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235235840001,"66":27376,"198":206,"85":15104,"24":40,"16":40406773147893760,"45":9028802484171337728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-11-05 19:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235235840001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:40:08] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-11-05 19:40:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40406773147893760,"km_value":40406773147893.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028802484171337728,"description":"Unknown IO ID 45"} 
[2026-11-05 19:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235235840001,"power":27376,"unknown_198":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9028802484171337728}} 
[2026-11-05 19:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":229909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:40:08] local.INFO: GPS data processed {"connection_id":229909,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:40:08] local.INFO: Acknowledgment sent {"connection_id":229909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:40:39] local.INFO: TCP Data received {"connection_id":229909,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac096fb0012d7d448005d07d78000601622d..."} 
[2026-11-05 19:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac096fb0012d7d448005d07d78000601622d..."} 
[2026-11-05 19:40:39] local.INFO: Processing buffer {"connection_id":229909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac096fb0012d7d448005d07d78000601622d..."} 
[2026-11-05 19:40:39] local.INFO: Packet analysis {"connection_id":229909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac09"} 
[2026-11-05 19:40:39] local.INFO: Extracted packet for processing {"connection_id":229909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac09"} 
[2026-11-05 19:40:39] local.INFO: GPS Element Parsed {"raw_longitude":763184256,"raw_latitude":97549688,"longitude_deg":76.3184256,"latitude_deg":9.7549688,"altitude":6,"angle":354,"satellites":45,"speed":43,"hex_longitude":"2d7d4480","hex_latitude":"05d07d78","is_valid_coordinates":true} 
[2026-11-05 19:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235239168001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40407249889263616,"note":"Value kept but may cause issues"} 
[2026-11-05 19:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027535846778542080,"note":"Value kept but may cause issues"} 
[2026-11-05 19:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793887662000,"timestamp_ms":1793887662000,"timestamp_seconds":1793887662,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac096fb0"} 
[2026-11-05 19:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:40: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-05 19:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 19:40:39] 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-05 19:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":229909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":229909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":229909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:40: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-05 19:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235239168001,"66":27397,"198":206,"85":15104,"24":43,"16":40407249889263616,"45":9027535846778542080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-11-05 19:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235239168001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:40:39] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-11-05 19:40:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40407249889263616,"km_value":40407249889263.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027535846778542080,"description":"Unknown IO ID 45"} 
[2026-11-05 19:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235239168001,"power":27397,"unknown_198":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9027535846778542080}} 
[2026-11-05 19:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":229909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:40:39] local.INFO: GPS data processed {"connection_id":229909,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:40:39] local.INFO: Acknowledgment sent {"connection_id":229909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:41:02] local.INFO: TCP Data received {"connection_id":230427,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:41:02] local.INFO: Processing buffer {"connection_id":230427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:41:02] local.INFO: IMEI packet received {"connection_id":230427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":230427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:41:05] local.INFO: TCP Data received {"connection_id":230427,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:41:05] local.INFO: Processing buffer {"connection_id":230427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:41:05] local.INFO: IMEI packet received {"connection_id":230427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":230427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:41:07] local.INFO: TCP Data received {"connection_id":230427,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:41:07] local.INFO: Processing buffer {"connection_id":230427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:41:07] local.INFO: IMEI packet received {"connection_id":230427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":230427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:41:08] local.INFO: TCP Data received {"connection_id":230427,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac0b5028012d7d288005d1b420000801632f..."} 
[2026-11-05 19:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac0b5028012d7d288005d1b420000801632f..."} 
[2026-11-05 19:41:08] local.INFO: Processing buffer {"connection_id":230427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac0b5028012d7d288005d1b420000801632f..."} 
[2026-11-05 19:41:08] local.INFO: Packet analysis {"connection_id":230427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac0b"} 
[2026-11-05 19:41:08] local.INFO: Extracted packet for processing {"connection_id":230427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac0b"} 
[2026-11-05 19:41:08] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":97629216,"longitude_deg":76.3177088,"latitude_deg":9.7629216,"altitude":8,"angle":355,"satellites":47,"speed":8,"hex_longitude":"2d7d2880","hex_latitude":"05d1b420","is_valid_coordinates":true} 
[2026-11-05 19:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235272192001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40411149719568384,"note":"Value kept but may cause issues"} 
[2026-11-05 19:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016290631680,"note":"Value kept but may cause issues"} 
[2026-11-05 19:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793887785000,"timestamp_ms":1793887785000,"timestamp_seconds":1793887785,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac0b5028"} 
[2026-11-05 19:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:41: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-05 19:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 19:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":230427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":230427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":230427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:41:08] local.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-05 19:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235272192001,"66":27397,"23":206,"85":15104,"24":8,"16":40411149719568384,"45":9018599016290631680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-11-05 19:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235272192001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:41:08] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-11-05 19:41:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40411149719568384,"km_value":40411149719568.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016290631680,"description":"Unknown IO ID 45"} 
[2026-11-05 19:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235272192001,"power":27397,"unknown_23":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9018599016290631680}} 
[2026-11-05 19:41:08] 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":64433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:41:08] local.INFO: GPS data processed {"connection_id":230427,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:41:08] local.INFO: Acknowledgment sent {"connection_id":230427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:41:13] local.INFO: TCP Data received {"connection_id":230427,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac0ba230012d7d280005d1bc40000901652e..."} 
[2026-11-05 19:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac0ba230012d7d280005d1bc40000901652e..."} 
[2026-11-05 19:41:13] local.INFO: Processing buffer {"connection_id":230427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac0ba230012d7d280005d1bc40000901652e..."} 
[2026-11-05 19:41:13] local.INFO: Packet analysis {"connection_id":230427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac0b"} 
[2026-11-05 19:41:13] local.INFO: Extracted packet for processing {"connection_id":230427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac0b"} 
[2026-11-05 19:41:13] local.INFO: GPS Element Parsed {"raw_longitude":763176960,"raw_latitude":97631296,"longitude_deg":76.317696,"latitude_deg":9.7631296,"altitude":9,"angle":357,"satellites":46,"speed":0,"hex_longitude":"2d7d2800","hex_latitude":"05d1bc40","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235272960001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40411248503816192,"note":"Value kept but may cause issues"} 
[2026-11-05 19:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016290852864,"note":"Value kept but may cause issues"} 
[2026-11-05 19:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793887806000,"timestamp_ms":1793887806000,"timestamp_seconds":1793887806,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac0ba230"} 
[2026-11-05 19: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-05 19:41: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-05 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 19:41:13] 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-05 19: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-05 19: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-05 19:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235272960001,"66":27604,"23":206,"85":15104,"24":0,"16":40411248503816192,"45":9018599016290852864},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-11-05 19:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235272960001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:41:13] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-11-05 19:41:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40411248503816192,"km_value":40411248503816.195,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016290852864,"description":"Unknown IO ID 45"} 
[2026-11-05 19:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235272960001,"power":27604,"unknown_23":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9018599016290852864}} 
[2026-11-05 19:41:13] 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":64434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:41:13] local.INFO: GPS data processed {"connection_id":230427,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:41:13] local.INFO: Acknowledgment sent {"connection_id":230427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:41:44] local.INFO: TCP Data received {"connection_id":230427,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac0bf438012d7d280005d1bc40000901652d..."} 
[2026-11-05 19:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac0bf438012d7d280005d1bc40000901652d..."} 
[2026-11-05 19:41:44] local.INFO: Processing buffer {"connection_id":230427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac0bf438012d7d280005d1bc40000901652d..."} 
[2026-11-05 19:41:44] local.INFO: Packet analysis {"connection_id":230427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac0b"} 
[2026-11-05 19:41:44] local.INFO: Extracted packet for processing {"connection_id":230427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac0b"} 
[2026-11-05 19:41:44] local.INFO: GPS Element Parsed {"raw_longitude":763176960,"raw_latitude":97631296,"longitude_deg":76.317696,"latitude_deg":9.7631296,"altitude":9,"angle":357,"satellites":45,"speed":0,"hex_longitude":"2d7d2800","hex_latitude":"05d1bc40","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235278336001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40411248503816192,"note":"Value kept but may cause issues"} 
[2026-11-05 19:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018458278803030016,"note":"Value kept but may cause issues"} 
[2026-11-05 19:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793887827000,"timestamp_ms":1793887827000,"timestamp_seconds":1793887827,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac0bf438"} 
[2026-11-05 19: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-05 19:41: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-05 19: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-05 19:41:44] 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-05 19: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-05 19: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-05 19:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235278336001,"66":27376,"23":206,"85":15104,"24":0,"16":40411248503816192,"45":9018458278803030016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-11-05 19:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235278336001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:41:44] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-11-05 19:41:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40411248503816192,"km_value":40411248503816.195,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018458278803030016,"description":"Unknown IO ID 45"} 
[2026-11-05 19:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235278336001,"power":27376,"unknown_23":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9018458278803030016}} 
[2026-11-05 19:41:44] 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":64435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:41:44] local.INFO: GPS data processed {"connection_id":230427,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:41:44] local.INFO: Acknowledgment sent {"connection_id":230427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:42:02] local.INFO: TCP Data received {"connection_id":231761,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:42:02] local.INFO: Processing buffer {"connection_id":231761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:42:02] local.INFO: IMEI packet received {"connection_id":231761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":231761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:42:07] local.INFO: TCP Data received {"connection_id":231761,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:42:07] local.INFO: Processing buffer {"connection_id":231761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:42:07] local.INFO: IMEI packet received {"connection_id":231761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":231761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:42:08] local.INFO: TCP Data received {"connection_id":231761,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac0c4640012d7d280005d1bec8000801652f..."} 
[2026-11-05 19:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac0c4640012d7d280005d1bec8000801652f..."} 
[2026-11-05 19:42:08] local.INFO: Processing buffer {"connection_id":231761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac0c4640012d7d280005d1bec8000801652f..."} 
[2026-11-05 19:42:08] local.INFO: Packet analysis {"connection_id":231761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac0c"} 
[2026-11-05 19:42:08] local.INFO: Extracted packet for processing {"connection_id":231761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac0c"} 
[2026-11-05 19:42:08] local.INFO: GPS Element Parsed {"raw_longitude":763176960,"raw_latitude":97631944,"longitude_deg":76.317696,"latitude_deg":9.7631944,"altitude":8,"angle":357,"satellites":47,"speed":5,"hex_longitude":"2d7d2800","hex_latitude":"05d1bec8","is_valid_coordinates":true} 
[2026-11-05 19:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235283712001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40411282863554560,"note":"Value kept but may cause issues"} 
[2026-11-05 19:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018458278803030016,"note":"Value kept but may cause issues"} 
[2026-11-05 19:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793887848000,"timestamp_ms":1793887848000,"timestamp_seconds":1793887848,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac0c4640"} 
[2026-11-05 19:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:42: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-05 19:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 19:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":231761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":231761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":231761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:42:08] local.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-05 19:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235283712001,"66":27604,"23":206,"85":15104,"24":5,"16":40411282863554560,"45":9018458278803030016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-11-05 19:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235283712001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:42:08] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-11-05 19:42:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40411282863554560,"km_value":40411282863554.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018458278803030016,"description":"Unknown IO ID 45"} 
[2026-11-05 19:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235283712001,"power":27604,"unknown_23":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9018458278803030016}} 
[2026-11-05 19:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":231761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:42:08] local.INFO: GPS data processed {"connection_id":231761,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:42:08] local.INFO: Acknowledgment sent {"connection_id":231761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:42:47] local.INFO: TCP Data received {"connection_id":231761,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac0c9848012d7d264005d1d2f0000701632f..."} 
[2026-11-05 19:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac0c9848012d7d264005d1d2f0000701632f..."} 
[2026-11-05 19:42:47] local.INFO: Processing buffer {"connection_id":231761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac0c9848012d7d264005d1d2f0000701632f..."} 
[2026-11-05 19:42:47] local.INFO: Packet analysis {"connection_id":231761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac0c"} 
[2026-11-05 19:42:47] local.INFO: Extracted packet for processing {"connection_id":231761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac0c"} 
[2026-11-05 19:42:47] local.INFO: GPS Element Parsed {"raw_longitude":763176512,"raw_latitude":97637104,"longitude_deg":76.3176512,"latitude_deg":9.7637104,"altitude":7,"angle":355,"satellites":47,"speed":10,"hex_longitude":"2d7d2640","hex_latitude":"05d1d2f0","is_valid_coordinates":true} 
[2026-11-05 19:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235289088001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40411531971657728,"note":"Value kept but may cause issues"} 
[2026-11-05 19:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018458278803195904,"note":"Value kept but may cause issues"} 
[2026-11-05 19:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793887869000,"timestamp_ms":1793887869000,"timestamp_seconds":1793887869,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac0c9848"} 
[2026-11-05 19:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:42: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-05 19:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-05 19:42:47] 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-05 19:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":231761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":231761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":231761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235289088001,"66":27365,"23":206,"85":15104,"24":10,"16":40411531971657728,"45":9018458278803195904},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-11-05 19:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235289088001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:42:47] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-11-05 19:42:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40411531971657728,"km_value":40411531971657.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018458278803195904,"description":"Unknown IO ID 45"} 
[2026-11-05 19:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235289088001,"power":27365,"unknown_23":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9018458278803195904}} 
[2026-11-05 19:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":231761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:42:47] local.INFO: GPS data processed {"connection_id":231761,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:42:47] local.INFO: Acknowledgment sent {"connection_id":231761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:43:02] local.INFO: TCP Data received {"connection_id":233663,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:43:02] local.INFO: Processing buffer {"connection_id":233663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:43:02] local.INFO: IMEI packet received {"connection_id":233663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":233663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:43:07] local.INFO: TCP Data received {"connection_id":233663,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:43:07] local.INFO: Processing buffer {"connection_id":233663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:43:07] local.INFO: IMEI packet received {"connection_id":233663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":233663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:43:08] local.INFO: TCP Data received {"connection_id":233663,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac0cea50012d7d254005d1dfa8000601652c..."} 
[2026-11-05 19:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac0cea50012d7d254005d1dfa8000601652c..."} 
[2026-11-05 19:43:08] local.INFO: Processing buffer {"connection_id":233663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac0cea50012d7d254005d1dfa8000601652c..."} 
[2026-11-05 19:43:08] local.INFO: Packet analysis {"connection_id":233663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac0c"} 
[2026-11-05 19:43:08] local.INFO: Extracted packet for processing {"connection_id":233663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac0c"} 
[2026-11-05 19:43:08] local.INFO: GPS Element Parsed {"raw_longitude":763176256,"raw_latitude":97640360,"longitude_deg":76.3176256,"latitude_deg":9.764036,"altitude":6,"angle":357,"satellites":44,"speed":8,"hex_longitude":"2d7d2540","hex_latitude":"05d1dfa8","is_valid_coordinates":true} 
[2026-11-05 19:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235294464001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40411695180414976,"note":"Value kept but may cause issues"} 
[2026-11-05 19:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017965697595273216,"note":"Value kept but may cause issues"} 
[2026-11-05 19:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793887890000,"timestamp_ms":1793887890000,"timestamp_seconds":1793887890,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac0cea50"} 
[2026-11-05 19:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 19:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":233663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":233663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":233663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:43:08] local.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-05 19:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235294464001,"66":27376,"23":206,"85":15104,"24":8,"16":40411695180414976,"45":9017965697595273216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-11-05 19:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235294464001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:43:08] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-11-05 19:43:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40411695180414976,"km_value":40411695180414.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017965697595273216,"description":"Unknown IO ID 45"} 
[2026-11-05 19:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235294464001,"power":27376,"unknown_23":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9017965697595273216}} 
[2026-11-05 19:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":233663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:43:08] local.INFO: GPS data processed {"connection_id":233663,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:43:08] local.INFO: Acknowledgment sent {"connection_id":233663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:44:13] local.INFO: TCP Data received {"connection_id":231762,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:44:13] local.INFO: Processing buffer {"connection_id":231762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:44:13] local.INFO: IMEI packet received {"connection_id":231762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":231762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:44:17] local.INFO: TCP Data received {"connection_id":231762,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:44:17] local.INFO: Processing buffer {"connection_id":231762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:44:17] local.INFO: IMEI packet received {"connection_id":231762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":231762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:44:21] local.INFO: TCP Data received {"connection_id":231762,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac0e6d08012d7d29c005d23158000200032b..."} 
[2026-11-05 19:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac0e6d08012d7d29c005d23158000200032b..."} 
[2026-11-05 19:44:21] local.INFO: Processing buffer {"connection_id":231762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac0e6d08012d7d29c005d23158000200032b..."} 
[2026-11-05 19:44:21] local.INFO: Packet analysis {"connection_id":231762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac0e"} 
[2026-11-05 19:44:21] local.INFO: Extracted packet for processing {"connection_id":231762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac0e"} 
[2026-11-05 19:44:21] local.INFO: GPS Element Parsed {"raw_longitude":763177408,"raw_latitude":97661272,"longitude_deg":76.3177408,"latitude_deg":9.7661272,"altitude":2,"angle":3,"satellites":43,"speed":10,"hex_longitude":"2d7d29c0","hex_latitude":"05d23158","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235323904001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40412725972566016,"note":"Value kept but may cause issues"} 
[2026-11-05 19:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018880491275350016,"note":"Value kept but may cause issues"} 
[2026-11-05 19:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793887989000,"timestamp_ms":1793887989000,"timestamp_seconds":1793887989,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac0e6d08"} 
[2026-11-05 19: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-05 19:44: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-05 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 19:44:21] 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-05 19: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-05 19: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-05 19:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":231762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":231762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":231762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:44:21] local.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-05 19:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235323904001,"66":27484,"23":206,"85":15104,"24":10,"16":40412725972566016,"45":9018880491275350016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-11-05 19:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235323904001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:44:21] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-11-05 19:44:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40412725972566016,"km_value":40412725972566.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018880491275350016,"description":"Unknown IO ID 45"} 
[2026-11-05 19:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235323904001,"power":27484,"unknown_23":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9018880491275350016}} 
[2026-11-05 19:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":231762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:44:21] local.INFO: GPS data processed {"connection_id":231762,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:44:21] local.INFO: Acknowledgment sent {"connection_id":231762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:45:02] local.INFO: TCP Data received {"connection_id":230429,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:45:02] local.INFO: Processing buffer {"connection_id":230429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:45:02] local.INFO: IMEI packet received {"connection_id":230429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":230429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:45:04] local.INFO: TCP Data received {"connection_id":230429,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:45:04] local.INFO: Processing buffer {"connection_id":230429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:45:04] local.INFO: IMEI packet received {"connection_id":230429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":230429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:45:06] local.INFO: TCP Data received {"connection_id":230428,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:45:06] local.INFO: Processing buffer {"connection_id":230428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:45:06] local.INFO: IMEI packet received {"connection_id":230428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 19:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":230428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:45:07] local.INFO: TCP Data received {"connection_id":230429,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:45:07] local.INFO: Processing buffer {"connection_id":230429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:45:07] local.INFO: IMEI packet received {"connection_id":230429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":230429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:45:08] local.INFO: TCP Data received {"connection_id":230429,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac0e7ca8012d7d2a4005d23658000100112b..."} 
[2026-11-05 19:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac0e7ca8012d7d2a4005d23658000100112b..."} 
[2026-11-05 19:45:08] local.INFO: Processing buffer {"connection_id":230429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac0e7ca8012d7d2a4005d23658000100112b..."} 
[2026-11-05 19:45:08] local.INFO: Packet analysis {"connection_id":230429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac0e"} 
[2026-11-05 19:45:08] local.INFO: Extracted packet for processing {"connection_id":230429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac0e"} 
[2026-11-05 19:45:08] local.INFO: GPS Element Parsed {"raw_longitude":763177536,"raw_latitude":97662552,"longitude_deg":76.3177536,"latitude_deg":9.7662552,"altitude":1,"angle":17,"satellites":43,"speed":11,"hex_longitude":"2d7d2a40","hex_latitude":"05d23658","is_valid_coordinates":true} 
[2026-11-05 19:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235325184001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40412790397075456,"note":"Value kept but may cause issues"} 
[2026-11-05 19:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018950860019947520,"note":"Value kept but may cause issues"} 
[2026-11-05 19:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793887993000,"timestamp_ms":1793887993000,"timestamp_seconds":1793887993,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac0e7ca8"} 
[2026-11-05 19:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 19:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":230429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":230429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":230429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:45:08] local.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-05 19:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235325184001,"66":27397,"23":206,"85":15104,"24":11,"16":40412790397075456,"45":9018950860019947520},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-11-05 19:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235325184001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:45:08] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-11-05 19:45:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40412790397075456,"km_value":40412790397075.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018950860019947520,"description":"Unknown IO ID 45"} 
[2026-11-05 19:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235325184001,"power":27397,"unknown_23":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9018950860019947520}} 
[2026-11-05 19:45:08] 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":64440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:45:08] local.INFO: GPS data processed {"connection_id":230429,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:45:08] local.INFO: Acknowledgment sent {"connection_id":230429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:45:39] local.INFO: TCP Data received {"connection_id":230429,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac0ea7a0012d7d2bc005d24030000200052d..."} 
[2026-11-05 19:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac0ea7a0012d7d2bc005d24030000200052d..."} 
[2026-11-05 19:45:39] local.INFO: Processing buffer {"connection_id":230429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac0ea7a0012d7d2bc005d24030000200052d..."} 
[2026-11-05 19:45:39] local.INFO: Packet analysis {"connection_id":230429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac0e"} 
[2026-11-05 19:45:39] local.INFO: Extracted packet for processing {"connection_id":230429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac0e"} 
[2026-11-05 19:45:39] local.INFO: GPS Element Parsed {"raw_longitude":763177920,"raw_latitude":97665072,"longitude_deg":76.317792,"latitude_deg":9.7665072,"altitude":2,"angle":5,"satellites":45,"speed":6,"hex_longitude":"2d7d2bc0","hex_latitude":"05d24030","is_valid_coordinates":true} 
[2026-11-05 19:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235326208001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40412914951127040,"note":"Value kept but may cause issues"} 
[2026-11-05 19:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019091597508630528,"note":"Value kept but may cause issues"} 
[2026-11-05 19:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793888004000,"timestamp_ms":1793888004000,"timestamp_seconds":1793888004,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac0ea7a0"} 
[2026-11-05 19:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 19:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":230429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":230429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":230429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:45: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-05 19:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235326208001,"66":27484,"23":206,"85":15104,"24":6,"16":40412914951127040,"45":9019091597508630528},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-11-05 19:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235326208001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:45:39] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-11-05 19:45:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40412914951127040,"km_value":40412914951127.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019091597508630528,"description":"Unknown IO ID 45"} 
[2026-11-05 19:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235326208001,"power":27484,"unknown_23":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9019091597508630528}} 
[2026-11-05 19:45:39] 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":64441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:45:39] local.INFO: GPS data processed {"connection_id":230429,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:45:39] local.INFO: Acknowledgment sent {"connection_id":230429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:46:03] local.INFO: TCP Data received {"connection_id":229910,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:46:03] local.INFO: Processing buffer {"connection_id":229910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:46:03] local.INFO: IMEI packet received {"connection_id":229910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":229910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:46:07] local.INFO: TCP Data received {"connection_id":229910,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:46:07] local.INFO: Processing buffer {"connection_id":229910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:46:07] local.INFO: IMEI packet received {"connection_id":229910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":229910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:46:08] local.INFO: TCP Data received {"connection_id":229910,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac0ef9a8012d7d310005d253a0000200082d..."} 
[2026-11-05 19:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac0ef9a8012d7d310005d253a0000200082d..."} 
[2026-11-05 19:46:08] local.INFO: Processing buffer {"connection_id":229910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac0ef9a8012d7d310005d253a0000200082d..."} 
[2026-11-05 19:46:08] local.INFO: Packet analysis {"connection_id":229910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac0e"} 
[2026-11-05 19:46:08] local.INFO: Extracted packet for processing {"connection_id":229910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac0e"} 
[2026-11-05 19:46:08] local.INFO: GPS Element Parsed {"raw_longitude":763179264,"raw_latitude":97670048,"longitude_deg":76.3179264,"latitude_deg":9.7670048,"altitude":2,"angle":8,"satellites":45,"speed":9,"hex_longitude":"2d7d3100","hex_latitude":"05d253a0","is_valid_coordinates":true} 
[2026-11-05 19:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235329024001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40413168354197504,"note":"Value kept but may cause issues"} 
[2026-11-05 19:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019513809974341632,"note":"Value kept but may cause issues"} 
[2026-11-05 19:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793888025000,"timestamp_ms":1793888025000,"timestamp_seconds":1793888025,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac0ef9a8"} 
[2026-11-05 19:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:46: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-05 19:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 19:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":229910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":229910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":229910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:46:08] local.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-05 19:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235329024001,"66":27571,"197":206,"85":15104,"24":9,"16":40413168354197504,"45":9019513809974341632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-11-05 19:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235329024001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:46:08] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-11-05 19:46:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40413168354197504,"km_value":40413168354197.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019513809974341632,"description":"Unknown IO ID 45"} 
[2026-11-05 19:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235329024001,"power":27571,"unknown_197":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9019513809974341632}} 
[2026-11-05 19:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":229910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:46:08] local.INFO: GPS data processed {"connection_id":229910,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:46:08] local.INFO: Acknowledgment sent {"connection_id":229910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:46:30] local.INFO: TCP Data received {"connection_id":233663,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac0d3c58012d7d240005d1f648000501652b..."} 
[2026-11-05 19:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac0d3c58012d7d240005d1f648000501652b..."} 
[2026-11-05 19:46:30] local.INFO: Processing buffer {"connection_id":233663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac0d3c58012d7d240005d1f648000501652b..."} 
[2026-11-05 19:46:30] local.INFO: Packet analysis {"connection_id":233663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac0d"} 
[2026-11-05 19:46:30] local.INFO: Extracted packet for processing {"connection_id":233663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac0d"} 
[2026-11-05 19:46:30] local.INFO: GPS Element Parsed {"raw_longitude":763175936,"raw_latitude":97646152,"longitude_deg":76.3175936,"latitude_deg":9.7646152,"altitude":5,"angle":357,"satellites":43,"speed":12,"hex_longitude":"2d7d2400","hex_latitude":"05d1f648","is_valid_coordinates":true} 
[2026-11-05 19:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235299840001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40411978648256512,"note":"Value kept but may cause issues"} 
[2026-11-05 19:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017684222619396096,"note":"Value kept but may cause issues"} 
[2026-11-05 19:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793887911000,"timestamp_ms":1793887911000,"timestamp_seconds":1793887911,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac0d3c58"} 
[2026-11-05 19:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 19:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":233663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":233663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":233663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235299840001,"66":27365,"23":206,"85":15104,"24":12,"16":40411978648256512,"45":9017684222619396096},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-11-05 19:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235299840001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:46:30] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-11-05 19:46:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40411978648256512,"km_value":40411978648256.516,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017684222619396096,"description":"Unknown IO ID 45"} 
[2026-11-05 19:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235299840001,"power":27365,"unknown_23":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9017684222619396096}} 
[2026-11-05 19:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":233663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:46:30] local.INFO: GPS data processed {"connection_id":233663,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:46:30] local.INFO: Acknowledgment sent {"connection_id":233663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:47:02] local.INFO: TCP Data received {"connection_id":231763,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:47:02] local.INFO: Processing buffer {"connection_id":231763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:47:02] local.INFO: IMEI packet received {"connection_id":231763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":231763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:47:08] local.INFO: TCP Data received {"connection_id":231763,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:47:08] local.INFO: Processing buffer {"connection_id":231763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:47:08] local.INFO: IMEI packet received {"connection_id":231763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":231763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:47:09] local.INFO: TCP Data received {"connection_id":231763,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac10eda8012d7d3a4005d304880001016426..."} 
[2026-11-05 19:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac10eda8012d7d3a4005d304880001016426..."} 
[2026-11-05 19:47:09] local.INFO: Processing buffer {"connection_id":231763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac10eda8012d7d3a4005d304880001016426..."} 
[2026-11-05 19:47:09] local.INFO: Packet analysis {"connection_id":231763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac10"} 
[2026-11-05 19:47:09] local.INFO: Extracted packet for processing {"connection_id":231763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac10"} 
[2026-11-05 19:47:09] local.INFO: GPS Element Parsed {"raw_longitude":763181632,"raw_latitude":97715336,"longitude_deg":76.3181632,"latitude_deg":9.7715336,"altitude":1,"angle":356,"satellites":38,"speed":46,"hex_longitude":"2d7d3a40","hex_latitude":"05d30488","is_valid_coordinates":true} 
[2026-11-05 19:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235364864001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40415397442224128,"note":"Value kept but may cause issues"} 
[2026-11-05 19:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023806303379613696,"note":"Value kept but may cause issues"} 
[2026-11-05 19:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793888153000,"timestamp_ms":1793888153000,"timestamp_seconds":1793888153,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac10eda8"} 
[2026-11-05 19: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-05 19:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-11-05 19:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19: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-05 19: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-05 19:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:47:09] local.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-05 19:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235364864001,"66":27365,"82":206,"85":15104,"24":46,"16":40415397442224128,"45":9023806303379613696},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-11-05 19:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235364864001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:47:09] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-11-05 19:47:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40415397442224128,"km_value":40415397442224.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023806303379613696,"description":"Unknown IO ID 45"} 
[2026-11-05 19:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235364864001,"power":27365,"unknown_82":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9023806303379613696}} 
[2026-11-05 19:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":231763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:47:09] local.INFO: GPS data processed {"connection_id":231763,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:47:09] local.INFO: Acknowledgment sent {"connection_id":231763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:47:40] local.INFO: TCP Data received {"connection_id":231763,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac1110d0012d7d38c005d32f100000016527..."} 
[2026-11-05 19:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac1110d0012d7d38c005d32f100000016527..."} 
[2026-11-05 19:47:40] local.INFO: Processing buffer {"connection_id":231763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac1110d0012d7d38c005d32f100000016527..."} 
[2026-11-05 19:47:40] local.INFO: Packet analysis {"connection_id":231763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac11"} 
[2026-11-05 19:47:40] local.INFO: Extracted packet for processing {"connection_id":231763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac11"} 
[2026-11-05 19:47:40] local.INFO: GPS Element Parsed {"raw_longitude":763181248,"raw_latitude":97726224,"longitude_deg":76.3181248,"latitude_deg":9.7726224,"altitude":0,"angle":357,"satellites":39,"speed":51,"hex_longitude":"2d7d38c0","hex_latitude":"05d32f10","is_valid_coordinates":true} 
[2026-11-05 19:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235367168001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40415921428234240,"note":"Value kept but may cause issues"} 
[2026-11-05 19:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023595197149513728,"note":"Value kept but may cause issues"} 
[2026-11-05 19:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793888162000,"timestamp_ms":1793888162000,"timestamp_seconds":1793888162,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac1110d0"} 
[2026-11-05 19:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:47: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-05 19:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 19:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:47: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-05 19:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235367168001,"66":27376,"81":206,"85":15104,"24":51,"16":40415921428234240,"45":9023595197149513728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-11-05 19:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235367168001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:47:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-11-05 19:47:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40415921428234240,"km_value":40415921428234.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023595197149513728,"description":"Unknown IO ID 45"} 
[2026-11-05 19:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235367168001,"power":27376,"unknown_81":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9023595197149513728}} 
[2026-11-05 19:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":231763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:47:40] local.INFO: GPS data processed {"connection_id":231763,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:47:40] local.INFO: Acknowledgment sent {"connection_id":231763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:48:04] local.INFO: TCP Data received {"connection_id":231764,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:48:04] local.INFO: Processing buffer {"connection_id":231764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:48:04] local.INFO: IMEI packet received {"connection_id":231764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":231764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:48:08] local.INFO: TCP Data received {"connection_id":231764,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:48:08] local.INFO: Processing buffer {"connection_id":231764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:48:08] local.INFO: IMEI packet received {"connection_id":231764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":231764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:48:27] local.INFO: TCP Data received {"connection_id":231764,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:48:27] local.INFO: Processing buffer {"connection_id":231764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:48:27] local.INFO: IMEI packet received {"connection_id":231764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":231764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:48:29] local.INFO: TCP Data received {"connection_id":231764,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac124180012d7d2dc005d4d230000f016326..."} 
[2026-11-05 19:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac124180012d7d2dc005d4d230000f016326..."} 
[2026-11-05 19:48:29] local.INFO: Processing buffer {"connection_id":231764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac124180012d7d2dc005d4d230000f016326..."} 
[2026-11-05 19:48:29] local.INFO: Packet analysis {"connection_id":231764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac12"} 
[2026-11-05 19:48:29] local.INFO: Extracted packet for processing {"connection_id":231764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac12"} 
[2026-11-05 19:48:29] local.INFO: GPS Element Parsed {"raw_longitude":763178432,"raw_latitude":97833520,"longitude_deg":76.3178432,"latitude_deg":9.783352,"altitude":15,"angle":355,"satellites":38,"speed":55,"hex_longitude":"2d7d2dc0","hex_latitude":"05d4d230","is_valid_coordinates":true} 
[2026-11-05 19:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235387648001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40421148403433472,"note":"Value kept but may cause issues"} 
[2026-11-05 19:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021273028619419648,"note":"Value kept but may cause issues"} 
[2026-11-05 19:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793888240000,"timestamp_ms":1793888240000,"timestamp_seconds":1793888240,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac124180"} 
[2026-11-05 19:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 19:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:48:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":231764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":231764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":231764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235387648001,"66":27365,"254":206,"85":15104,"24":55,"16":40421148403433472,"45":9021273028619419648},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-11-05 19:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235387648001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:48:29] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-11-05 19:48:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40421148403433472,"km_value":40421148403433.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021273028619419648,"description":"Unknown IO ID 45"} 
[2026-11-05 19:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235387648001,"power":27365,"unknown_254":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":9021273028619419648}} 
[2026-11-05 19:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":231764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:48:29] local.INFO: GPS data processed {"connection_id":231764,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:48:29] local.INFO: Acknowledgment sent {"connection_id":231764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:48:34] local.INFO: TCP Data received {"connection_id":231764,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac125cd8012d7d2b4005d4f7e80013016521..."} 
[2026-11-05 19:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac125cd8012d7d2b4005d4f7e80013016521..."} 
[2026-11-05 19:48:34] local.INFO: Processing buffer {"connection_id":231764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac125cd8012d7d2b4005d4f7e80013016521..."} 
[2026-11-05 19:48:34] local.INFO: Packet analysis {"connection_id":231764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac12"} 
[2026-11-05 19:48:34] local.INFO: Extracted packet for processing {"connection_id":231764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac12"} 
[2026-11-05 19:48:34] local.INFO: GPS Element Parsed {"raw_longitude":763177792,"raw_latitude":97843176,"longitude_deg":76.3177792,"latitude_deg":9.7843176,"altitude":19,"angle":357,"satellites":33,"speed":54,"hex_longitude":"2d7d2b40","hex_latitude":"05d4f7e8","is_valid_coordinates":true} 
[2026-11-05 19:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235389440001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40421616554868736,"note":"Value kept but may cause issues"} 
[2026-11-05 19:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020076759970885632,"note":"Value kept but may cause issues"} 
[2026-11-05 19:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793888247000,"timestamp_ms":1793888247000,"timestamp_seconds":1793888247,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac125cd8"} 
[2026-11-05 19:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:48: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-05 19:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 19:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":231764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":231764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":231764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235389440001,"66":27463,"254":206,"85":15104,"24":54,"16":40421616554868736,"45":9020076759970885632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-11-05 19:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235389440001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:48:34] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-11-05 19:48:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40421616554868736,"km_value":40421616554868.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020076759970885632,"description":"Unknown IO ID 45"} 
[2026-11-05 19:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235389440001,"power":27463,"unknown_254":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":9020076759970885632}} 
[2026-11-05 19:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":231764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:48:34] local.INFO: GPS data processed {"connection_id":231764,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:48:34] local.INFO: Acknowledgment sent {"connection_id":231764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:49:02] local.INFO: TCP Data received {"connection_id":233664,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:49:02] local.INFO: Processing buffer {"connection_id":233664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:49:02] local.INFO: IMEI packet received {"connection_id":233664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":233664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:49:05] local.INFO: TCP Data received {"connection_id":233664,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:49:05] local.INFO: Processing buffer {"connection_id":233664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:49:05] local.INFO: IMEI packet received {"connection_id":233664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":233664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:49:08] local.INFO: TCP Data received {"connection_id":233664,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:49:08] local.INFO: Processing buffer {"connection_id":233664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:49:08] local.INFO: IMEI packet received {"connection_id":233664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":233664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:49:09] local.INFO: TCP Data received {"connection_id":233664,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac127830012d7d2a0005d51c580017016625..."} 
[2026-11-05 19:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac127830012d7d2a0005d51c580017016625..."} 
[2026-11-05 19:49:09] local.INFO: Processing buffer {"connection_id":233664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac127830012d7d2a0005d51c580017016625..."} 
[2026-11-05 19:49:09] local.INFO: Packet analysis {"connection_id":233664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac12"} 
[2026-11-05 19:49:09] local.INFO: Extracted packet for processing {"connection_id":233664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac12"} 
[2026-11-05 19:49:09] local.INFO: GPS Element Parsed {"raw_longitude":763177472,"raw_latitude":97852504,"longitude_deg":76.3177472,"latitude_deg":9.7852504,"altitude":23,"angle":358,"satellites":37,"speed":53,"hex_longitude":"2d7d2a00","hex_latitude":"05d51c58","is_valid_coordinates":true} 
[2026-11-05 19:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235391232001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40422071821402112,"note":"Value kept but may cause issues"} 
[2026-11-05 19:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019373072531580928,"note":"Value kept but may cause issues"} 
[2026-11-05 19:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793888254000,"timestamp_ms":1793888254000,"timestamp_seconds":1793888254,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac127830"} 
[2026-11-05 19:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 19:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:49:09] local.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-05 19:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235391232001,"66":27365,"254":206,"85":15104,"24":53,"16":40422071821402112,"45":9019373072531580928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-11-05 19:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235391232001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:49:09] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-11-05 19:49:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40422071821402112,"km_value":40422071821402.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019373072531580928,"description":"Unknown IO ID 45"} 
[2026-11-05 19:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235391232001,"power":27365,"unknown_254":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9019373072531580928}} 
[2026-11-05 19:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":233664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:49:09] local.INFO: GPS data processed {"connection_id":233664,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:49:09] local.INFO: Acknowledgment sent {"connection_id":233664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:49:12] local.INFO: TCP Data received {"connection_id":233664,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac129388012d7d294005d54290001c016524..."} 
[2026-11-05 19:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac129388012d7d294005d54290001c016524..."} 
[2026-11-05 19:49:12] local.INFO: Processing buffer {"connection_id":233664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac129388012d7d294005d54290001c016524..."} 
[2026-11-05 19:49:12] local.INFO: Packet analysis {"connection_id":233664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac12"} 
[2026-11-05 19:49:12] local.INFO: Extracted packet for processing {"connection_id":233664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac12"} 
[2026-11-05 19:49:12] local.INFO: GPS Element Parsed {"raw_longitude":763177280,"raw_latitude":97862288,"longitude_deg":76.317728,"latitude_deg":9.7862288,"altitude":28,"angle":357,"satellites":36,"speed":56,"hex_longitude":"2d7d2940","hex_latitude":"05d54290","is_valid_coordinates":true} 
[2026-11-05 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-05 19:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235393024001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40422544267804672,"note":"Value kept but may cause issues"} 
[2026-11-05 19:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019021228813080576,"note":"Value kept but may cause issues"} 
[2026-11-05 19:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793888261000,"timestamp_ms":1793888261000,"timestamp_seconds":1793888261,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac129388"} 
[2026-11-05 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-05 19:49: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-05 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 19:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 19:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":233664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":233664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":233664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:49: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-05 19:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235393024001,"66":27463,"253":206,"85":15104,"24":56,"16":40422544267804672,"45":9019021228813080576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-11-05 19:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235393024001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:49:12] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-11-05 19:49:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40422544267804672,"km_value":40422544267804.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019021228813080576,"description":"Unknown IO ID 45"} 
[2026-11-05 19:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235393024001,"power":27463,"unknown_253":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":9019021228813080576}} 
[2026-11-05 19:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":233664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:49:12] local.INFO: GPS data processed {"connection_id":233664,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:49:12] local.INFO: Acknowledgment sent {"connection_id":233664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:49:44] local.INFO: TCP Data received {"connection_id":233664,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac12aee0012d7d270005d56b380020016023..."} 
[2026-11-05 19:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac12aee0012d7d270005d56b380020016023..."} 
[2026-11-05 19:49:44] local.INFO: Processing buffer {"connection_id":233664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac12aee0012d7d270005d56b380020016023..."} 
[2026-11-05 19:49:44] local.INFO: Packet analysis {"connection_id":233664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac12"} 
[2026-11-05 19:49:44] local.INFO: Extracted packet for processing {"connection_id":233664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac12"} 
[2026-11-05 19:49:44] local.INFO: GPS Element Parsed {"raw_longitude":763176704,"raw_latitude":97872696,"longitude_deg":76.3176704,"latitude_deg":9.7872696,"altitude":32,"angle":352,"satellites":35,"speed":60,"hex_longitude":"2d7d2700","hex_latitude":"05d56b38","is_valid_coordinates":true} 
[2026-11-05 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-05 19:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235394816001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40423051073945600,"note":"Value kept but may cause issues"} 
[2026-11-05 19:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018810122583052288,"note":"Value kept but may cause issues"} 
[2026-11-05 19:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793888268000,"timestamp_ms":1793888268000,"timestamp_seconds":1793888268,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac12aee0"} 
[2026-11-05 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-05 19:49: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-05 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 19:49: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-05 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-05 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-05 19:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":233664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":233664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":233664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235394816001,"66":27463,"253":206,"85":15104,"24":60,"16":40423051073945600,"45":9018810122583052288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-11-05 19:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235394816001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:49:44] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-11-05 19:49:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40423051073945600,"km_value":40423051073945.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018810122583052288,"description":"Unknown IO ID 45"} 
[2026-11-05 19:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235394816001,"power":27463,"unknown_253":206,"unknown_85":15104,"ignition":60,"odometer":null,"unknown_45":9018810122583052288}} 
[2026-11-05 19:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":233664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:49:44] local.INFO: GPS data processed {"connection_id":233664,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:49:44] local.INFO: Acknowledgment sent {"connection_id":233664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:50:01] local.INFO: TCP Data received {"connection_id":230430,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:50:01] local.INFO: Processing buffer {"connection_id":230430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:50:01] local.INFO: IMEI packet received {"connection_id":230430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":230430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:50:02] local.INFO: TCP Data received {"connection_id":230430,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:50:02] local.INFO: Processing buffer {"connection_id":230430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:50:02] local.INFO: IMEI packet received {"connection_id":230430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":230430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:50:07] local.INFO: TCP Data received {"connection_id":230430,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:50:07] local.INFO: Processing buffer {"connection_id":230430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:50:07] local.INFO: IMEI packet received {"connection_id":230430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":230430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:50:08] local.INFO: TCP Data received {"connection_id":230430,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:50:09] local.INFO: Processing buffer {"connection_id":230430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:50:09] local.INFO: IMEI packet received {"connection_id":230430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":230430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:50:15] local.INFO: TCP Data received {"connection_id":230430,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac13dba8012d7cd0c005d6fcb00009015628..."} 
[2026-11-05 19:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac13dba8012d7cd0c005d6fcb00009015628..."} 
[2026-11-05 19:50:15] local.INFO: Processing buffer {"connection_id":230430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac13dba8012d7cd0c005d6fcb00009015628..."} 
[2026-11-05 19:50:15] local.INFO: Packet analysis {"connection_id":230430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac13"} 
[2026-11-05 19:50:15] local.INFO: Extracted packet for processing {"connection_id":230430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac13"} 
[2026-11-05 19:50:15] local.INFO: GPS Element Parsed {"raw_longitude":763154624,"raw_latitude":97975472,"longitude_deg":76.3154624,"latitude_deg":9.7975472,"altitude":9,"angle":342,"satellites":40,"speed":53,"hex_longitude":"2d7cd0c0","hex_latitude":"05d6fcb0","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235414528001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40428170674962432,"note":"Value kept but may cause issues"} 
[2026-11-05 19:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8996925443170525184,"note":"Value kept but may cause issues"} 
[2026-11-05 19:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793888345000,"timestamp_ms":1793888345000,"timestamp_seconds":1793888345,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac13dba8"} 
[2026-11-05 19: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-05 19:50: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-05 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 19:50:15] 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-05 19: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-05 19: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-05 19:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235414528001,"66":27397,"30":206,"85":15104,"24":53,"16":40428170674962432,"45":8996925443170525184},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-11-05 19:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235414528001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:50:15] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-11-05 19:50:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40428170674962432,"km_value":40428170674962.43,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8996925443170525184,"description":"Unknown IO ID 45"} 
[2026-11-05 19:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235414528001,"power":27397,"unknown_30":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8996925443170525184}} 
[2026-11-05 19:50:15] 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":64451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:50:15] local.INFO: GPS data processed {"connection_id":230430,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:50:15] local.INFO: Acknowledgment sent {"connection_id":230430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:50:21] local.INFO: TCP Data received {"connection_id":230430,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac13fae8012d7cc54005d720b80008015628..."} 
[2026-11-05 19:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac13fae8012d7cc54005d720b80008015628..."} 
[2026-11-05 19:50:21] local.INFO: Processing buffer {"connection_id":230430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac13fae8012d7cc54005d720b80008015628..."} 
[2026-11-05 19:50:21] local.INFO: Packet analysis {"connection_id":230430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac13"} 
[2026-11-05 19:50:21] local.INFO: Extracted packet for processing {"connection_id":230430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac13"} 
[2026-11-05 19:50:21] local.INFO: GPS Element Parsed {"raw_longitude":763151680,"raw_latitude":97984696,"longitude_deg":76.315168,"latitude_deg":9.7984696,"altitude":8,"angle":342,"satellites":40,"speed":34,"hex_longitude":"2d7cc540","hex_latitude":"05d720b8","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235416320001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40428638826397696,"note":"Value kept but may cause issues"} 
[2026-11-05 19:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993899587173134336,"note":"Value kept but may cause issues"} 
[2026-11-05 19:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793888353000,"timestamp_ms":1793888353000,"timestamp_seconds":1793888353,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac13fae8"} 
[2026-11-05 19: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-05 19:50: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-05 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 19:50:21] 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-05 19: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-05 19: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-05 19:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:50:21] local.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-05 19:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235416320001,"66":27397,"30":206,"85":15104,"24":34,"16":40428638826397696,"45":8993899587173134336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-11-05 19:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235416320001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:50:21] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-11-05 19:50:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40428638826397696,"km_value":40428638826397.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993899587173134336,"description":"Unknown IO ID 45"} 
[2026-11-05 19:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235416320001,"power":27397,"unknown_30":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8993899587173134336}} 
[2026-11-05 19:50: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":64452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:50:21] local.INFO: GPS data processed {"connection_id":230430,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:50:21] local.INFO: Acknowledgment sent {"connection_id":230430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:50:41] local.INFO: TCP Data received {"connection_id":231765,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231765,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:50:41] local.INFO: Processing buffer {"connection_id":231765,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:50:41] local.INFO: IMEI packet received {"connection_id":231765,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 19:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":231765,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:51:02] local.INFO: TCP Data received {"connection_id":233665,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:51:02] local.INFO: Processing buffer {"connection_id":233665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:51:02] local.INFO: IMEI packet received {"connection_id":233665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":233665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:51:06] local.INFO: TCP Data received {"connection_id":233665,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:51:06] local.INFO: Processing buffer {"connection_id":233665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:51:06] local.INFO: IMEI packet received {"connection_id":233665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":233665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:51:14] local.INFO: TCP Data received {"connection_id":233665,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:51:14] local.INFO: Processing buffer {"connection_id":233665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:51:14] local.INFO: IMEI packet received {"connection_id":233665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":233665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:51:15] local.INFO: TCP Data received {"connection_id":233665,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac1421f8012d7cbe4005d733f00006016227..."} 
[2026-11-05 19:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac1421f8012d7cbe4005d733f00006016227..."} 
[2026-11-05 19:51:15] local.INFO: Processing buffer {"connection_id":233665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac1421f8012d7cbe4005d733f00006016227..."} 
[2026-11-05 19:51:15] local.INFO: Packet analysis {"connection_id":233665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac14"} 
[2026-11-05 19:51:15] local.INFO: Extracted packet for processing {"connection_id":233665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac14"} 
[2026-11-05 19:51:15] local.INFO: GPS Element Parsed {"raw_longitude":763149888,"raw_latitude":97989616,"longitude_deg":76.3149888,"latitude_deg":9.7989616,"altitude":6,"angle":354,"satellites":39,"speed":21,"hex_longitude":"2d7cbe40","hex_latitude":"05d733f0","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235418368001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40428896524435456,"note":"Value kept but may cause issues"} 
[2026-11-05 19:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8990662624943323136,"note":"Value kept but may cause issues"} 
[2026-11-05 19:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793888363000,"timestamp_ms":1793888363000,"timestamp_seconds":1793888363,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac1421f8"} 
[2026-11-05 19: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-05 19:51: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-05 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 19:51:15] 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-05 19: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-05 19: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-05 19:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":233665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":233665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":233665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235418368001,"66":27463,"7":206,"85":15104,"24":21,"16":40428896524435456,"45":8990662624943323136},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-11-05 19:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235418368001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:51:15] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-11-05 19:51:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40428896524435456,"km_value":40428896524435.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8990662624943323136,"description":"Unknown IO ID 45"} 
[2026-11-05 19:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235418368001,"power":27463,"unknown_7":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8990662624943323136}} 
[2026-11-05 19:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":233665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:51:15] local.INFO: GPS data processed {"connection_id":233665,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:51:15] local.INFO: Acknowledgment sent {"connection_id":233665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:51:16] local.INFO: TCP Data received {"connection_id":233665,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac143198012d7cbc0005d73dc00005015627..."} 
[2026-11-05 19:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac143198012d7cbc0005d73dc00005015627..."} 
[2026-11-05 19:51:16] local.INFO: Processing buffer {"connection_id":233665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac143198012d7cbc0005d73dc00005015627..."} 
[2026-11-05 19:51:16] local.INFO: Packet analysis {"connection_id":233665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac14"} 
[2026-11-05 19:51:16] local.INFO: Extracted packet for processing {"connection_id":233665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac14"} 
[2026-11-05 19:51:16] local.INFO: GPS Element Parsed {"raw_longitude":763149312,"raw_latitude":97992128,"longitude_deg":76.3149312,"latitude_deg":9.7992128,"altitude":5,"angle":342,"satellites":39,"speed":30,"hex_longitude":"2d7cbc00","hex_latitude":"05d73dc0","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235420928001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40429021078487040,"note":"Value kept but may cause issues"} 
[2026-11-05 19:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8988692300107608064,"note":"Value kept but may cause issues"} 
[2026-11-05 19:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793888367000,"timestamp_ms":1793888367000,"timestamp_seconds":1793888367,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac143198"} 
[2026-11-05 19: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-05 19:51: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-05 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 19:51: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-05 19: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-05 19: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-05 19:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":233665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":233665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":233665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:51: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-05 19:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235420928001,"66":27397,"7":206,"85":15104,"24":30,"16":40429021078487040,"45":8988692300107608064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-11-05 19:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235420928001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:51:16] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-11-05 19:51:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40429021078487040,"km_value":40429021078487.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8988692300107608064,"description":"Unknown IO ID 45"} 
[2026-11-05 19:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235420928001,"power":27397,"unknown_7":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8988692300107608064}} 
[2026-11-05 19:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":233665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:51:16] local.INFO: GPS data processed {"connection_id":233665,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:51:16] local.INFO: Acknowledgment sent {"connection_id":233665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:51:46] local.INFO: TCP Data received {"connection_id":233665,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac1458a8012d7cb1c005d762f00004015826..."} 
[2026-11-05 19:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac1458a8012d7cb1c005d762f00004015826..."} 
[2026-11-05 19:51:46] local.INFO: Processing buffer {"connection_id":233665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac1458a8012d7cb1c005d762f00004015826..."} 
[2026-11-05 19:51:46] local.INFO: Packet analysis {"connection_id":233665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac14"} 
[2026-11-05 19:51:46] local.INFO: Extracted packet for processing {"connection_id":233665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac14"} 
[2026-11-05 19:51:46] local.INFO: GPS Element Parsed {"raw_longitude":763146688,"raw_latitude":98001648,"longitude_deg":76.3146688,"latitude_deg":9.8001648,"altitude":4,"angle":344,"satellites":38,"speed":44,"hex_longitude":"2d7cb1c0","hex_latitude":"05d762f0","is_valid_coordinates":true} 
[2026-11-05 19:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235421952001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40429502114824192,"note":"Value kept but may cause issues"} 
[2026-11-05 19:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8988058981410652160,"note":"Value kept but may cause issues"} 
[2026-11-05 19:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793888377000,"timestamp_ms":1793888377000,"timestamp_seconds":1793888377,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac1458a8"} 
[2026-11-05 19:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:51: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-05 19:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 19:51:46] 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-05 19:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":233665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":233665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":233665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:51: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-05 19:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235421952001,"66":27365,"195":206,"85":15104,"24":44,"16":40429502114824192,"45":8988058981410652160},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-11-05 19:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235421952001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:51:46] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-11-05 19:51:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40429502114824192,"km_value":40429502114824.195,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8988058981410652160,"description":"Unknown IO ID 45"} 
[2026-11-05 19:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235421952001,"power":27365,"unknown_195":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8988058981410652160}} 
[2026-11-05 19:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":233665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:51:46] local.INFO: GPS data processed {"connection_id":233665,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:51:46] local.INFO: Acknowledgment sent {"connection_id":233665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:52:02] local.INFO: TCP Data received {"connection_id":231766,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:52:02] local.INFO: Processing buffer {"connection_id":231766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:52:02] local.INFO: IMEI packet received {"connection_id":231766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":231766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:52:05] local.INFO: TCP Data received {"connection_id":231766,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:52:05] local.INFO: Processing buffer {"connection_id":231766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:52:05] local.INFO: IMEI packet received {"connection_id":231766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":231766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:52:07] local.INFO: TCP Data received {"connection_id":231766,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:52:07] local.INFO: Processing buffer {"connection_id":231766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:52:07] local.INFO: IMEI packet received {"connection_id":231766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":231766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:52:09] local.INFO: TCP Data received {"connection_id":231766,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac15cbc0012d7c8ec005d8f3480006016128..."} 
[2026-11-05 19:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac15cbc0012d7c8ec005d8f3480006016128..."} 
[2026-11-05 19:52:09] local.INFO: Processing buffer {"connection_id":231766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac15cbc0012d7c8ec005d8f3480006016128..."} 
[2026-11-05 19:52:09] local.INFO: Packet analysis {"connection_id":231766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac15"} 
[2026-11-05 19:52:09] local.INFO: Extracted packet for processing {"connection_id":231766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac15"} 
[2026-11-05 19:52:09] local.INFO: GPS Element Parsed {"raw_longitude":763137728,"raw_latitude":98104136,"longitude_deg":76.3137728,"latitude_deg":9.8104136,"altitude":6,"angle":353,"satellites":40,"speed":50,"hex_longitude":"2d7c8ec0","hex_latitude":"05d8f348","is_valid_coordinates":true} 
[2026-11-05 19:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235446784001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40434497161789440,"note":"Value kept but may cause issues"} 
[2026-11-05 19:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976377769903470592,"note":"Value kept but may cause issues"} 
[2026-11-05 19:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793888472000,"timestamp_ms":1793888472000,"timestamp_seconds":1793888472,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac15cbc0"} 
[2026-11-05 19:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 19:52:09] 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-05 19:52: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-05 19:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:52:09] local.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-05 19:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235446784001,"66":27332,"244":206,"85":15104,"24":50,"16":40434497161789440,"45":8976377769903470592},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-11-05 19:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235446784001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:52:09] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-11-05 19:52:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40434497161789440,"km_value":40434497161789.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976377769903470592,"description":"Unknown IO ID 45"} 
[2026-11-05 19:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235446784001,"power":27332,"unknown_244":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8976377769903470592}} 
[2026-11-05 19:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":231766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:52:09] local.INFO: GPS data processed {"connection_id":231766,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:52:09] local.INFO: Acknowledgment sent {"connection_id":231766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:52:41] local.INFO: TCP Data received {"connection_id":231766,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac15e718012d7c8b4005d918280009016224..."} 
[2026-11-05 19:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac15e718012d7c8b4005d918280009016224..."} 
[2026-11-05 19:52:41] local.INFO: Processing buffer {"connection_id":231766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac15e718012d7c8b4005d918280009016224..."} 
[2026-11-05 19:52:41] local.INFO: Packet analysis {"connection_id":231766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac15"} 
[2026-11-05 19:52:41] local.INFO: Extracted packet for processing {"connection_id":231766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac15"} 
[2026-11-05 19:52:41] local.INFO: GPS Element Parsed {"raw_longitude":763136832,"raw_latitude":98113576,"longitude_deg":76.3136832,"latitude_deg":9.8113576,"altitude":9,"angle":354,"satellites":36,"speed":54,"hex_longitude":"2d7c8b40","hex_latitude":"05d91828","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235448832001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40434956723290112,"note":"Value kept but may cause issues"} 
[2026-11-05 19:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975322238743169024,"note":"Value kept but may cause issues"} 
[2026-11-05 19:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793888479000,"timestamp_ms":1793888479000,"timestamp_seconds":1793888479,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac15e718"} 
[2026-11-05 19: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-05 19:52: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-05 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 19:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19: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-05 19: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-05 19:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:52: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-05 19:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235448832001,"66":27310,"245":206,"85":15104,"24":54,"16":40434956723290112,"45":8975322238743169024},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-11-05 19:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235448832001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:52:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40434956723290112,"km_value":40434956723290.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975322238743169024,"description":"Unknown IO ID 45"} 
[2026-11-05 19:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235448832001,"power":27310,"geofence_id":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8975322238743169024}} 
[2026-11-05 19:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":231766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:52:41] local.INFO: GPS data processed {"connection_id":231766,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:52:41] local.INFO: Acknowledgment sent {"connection_id":231766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:53:02] local.INFO: TCP Data received {"connection_id":233666,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:53:02] local.INFO: Processing buffer {"connection_id":233666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:53:02] local.INFO: IMEI packet received {"connection_id":233666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":233666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:53:07] local.INFO: TCP Data received {"connection_id":233666,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:53:07] local.INFO: Processing buffer {"connection_id":233666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:53:07] local.INFO: IMEI packet received {"connection_id":233666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":233666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:53:08] local.INFO: TCP Data received {"connection_id":233666,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:53:08] local.INFO: Processing buffer {"connection_id":233666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:53:08] local.INFO: IMEI packet received {"connection_id":233666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":233666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:53:09] local.INFO: TCP Data received {"connection_id":233666,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac160658012d7c874005d93d480008016227..."} 
[2026-11-05 19:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac160658012d7c874005d93d480008016227..."} 
[2026-11-05 19:53:09] local.INFO: Processing buffer {"connection_id":233666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac160658012d7c874005d93d480008016227..."} 
[2026-11-05 19:53:09] local.INFO: Packet analysis {"connection_id":233666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac16"} 
[2026-11-05 19:53:09] local.INFO: Extracted packet for processing {"connection_id":233666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac16"} 
[2026-11-05 19:53:09] local.INFO: GPS Element Parsed {"raw_longitude":763135808,"raw_latitude":98123080,"longitude_deg":76.3135808,"latitude_deg":9.812308,"altitude":8,"angle":354,"satellites":39,"speed":47,"hex_longitude":"2d7c8740","hex_latitude":"05d93d48","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235450624001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40435420579758080,"note":"Value kept but may cause issues"} 
[2026-11-05 19:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974337076327098368,"note":"Value kept but may cause issues"} 
[2026-11-05 19:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793888487000,"timestamp_ms":1793888487000,"timestamp_seconds":1793888487,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac160658"} 
[2026-11-05 19: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-05 19:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-11-05 19:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19: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-05 19: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-05 19:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:53:09] local.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-05 19:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235450624001,"66":27484,"245":206,"85":15104,"24":47,"16":40435420579758080,"45":8974337076327098368},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-11-05 19:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235450624001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:53:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40435420579758080,"km_value":40435420579758.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974337076327098368,"description":"Unknown IO ID 45"} 
[2026-11-05 19:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235450624001,"power":27484,"geofence_id":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8974337076327098368}} 
[2026-11-05 19:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":233666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:53:09] local.INFO: GPS data processed {"connection_id":233666,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:53:09] local.INFO: Acknowledgment sent {"connection_id":233666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:53:13] local.INFO: TCP Data received {"connection_id":233666,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac162598012d7c83c005d961f00007016226..."} 
[2026-11-05 19:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac162598012d7c83c005d961f00007016226..."} 
[2026-11-05 19:53:13] local.INFO: Processing buffer {"connection_id":233666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac162598012d7c83c005d961f00007016226..."} 
[2026-11-05 19:53:13] local.INFO: Packet analysis {"connection_id":233666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac16"} 
[2026-11-05 19:53:13] local.INFO: Extracted packet for processing {"connection_id":233666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac16"} 
[2026-11-05 19:53:13] local.INFO: GPS Element Parsed {"raw_longitude":763134912,"raw_latitude":98132464,"longitude_deg":76.3134912,"latitude_deg":9.8132464,"altitude":7,"angle":354,"satellites":38,"speed":41,"hex_longitude":"2d7c83c0","hex_latitude":"05d961f0","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235452672001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40435875846291456,"note":"Value kept but may cause issues"} 
[2026-11-05 19:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973211176422688768,"note":"Value kept but may cause issues"} 
[2026-11-05 19:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793888495000,"timestamp_ms":1793888495000,"timestamp_seconds":1793888495,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac162598"} 
[2026-11-05 19: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-05 19: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-05 19: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 19:53: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-05 19: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-05 19: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-05 19:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":233666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":233666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":233666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235452672001,"66":27376,"245":206,"85":15104,"24":41,"16":40435875846291456,"45":8973211176422688768},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-11-05 19:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235452672001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:53:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40435875846291456,"km_value":40435875846291.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973211176422688768,"description":"Unknown IO ID 45"} 
[2026-11-05 19:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235452672001,"power":27376,"geofence_id":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8973211176422688768}} 
[2026-11-05 19:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":233666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:53:13] local.INFO: GPS data processed {"connection_id":233666,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:53:13] local.INFO: Acknowledgment sent {"connection_id":233666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:53:44] local.INFO: TCP Data received {"connection_id":233666,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac1648c0012d7c804005d986e80006016221..."} 
[2026-11-05 19:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac1648c0012d7c804005d986e80006016221..."} 
[2026-11-05 19:53:44] local.INFO: Processing buffer {"connection_id":233666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac1648c0012d7c804005d986e80006016221..."} 
[2026-11-05 19:53:44] local.INFO: Packet analysis {"connection_id":233666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac16"} 
[2026-11-05 19:53:44] local.INFO: Extracted packet for processing {"connection_id":233666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac16"} 
[2026-11-05 19:53:44] local.INFO: GPS Element Parsed {"raw_longitude":763134016,"raw_latitude":98141928,"longitude_deg":76.3134016,"latitude_deg":9.8141928,"altitude":6,"angle":354,"satellites":33,"speed":41,"hex_longitude":"2d7c8040","hex_latitude":"05d986e8","is_valid_coordinates":true} 
[2026-11-05 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-05 19:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235454720001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40436339702759424,"note":"Value kept but may cause issues"} 
[2026-11-05 19:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972226014006603776,"note":"Value kept but may cause issues"} 
[2026-11-05 19:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793888504000,"timestamp_ms":1793888504000,"timestamp_seconds":1793888504,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac1648c0"} 
[2026-11-05 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-05 19:53: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-05 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 19:53: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-05 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-05 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-05 19:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":233666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":233666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":233666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235454720001,"66":27343,"245":206,"85":15104,"24":41,"16":40436339702759424,"45":8972226014006603776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-11-05 19:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235454720001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:53:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40436339702759424,"km_value":40436339702759.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972226014006603776,"description":"Unknown IO ID 45"} 
[2026-11-05 19:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235454720001,"power":27343,"geofence_id":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8972226014006603776}} 
[2026-11-05 19:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":233666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:53:45] local.INFO: GPS data processed {"connection_id":233666,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:53:45] local.INFO: Acknowledgment sent {"connection_id":233666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:54:07] local.INFO: TCP Data received {"connection_id":230431,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:54:07] local.INFO: Processing buffer {"connection_id":230431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:54:07] local.INFO: IMEI packet received {"connection_id":230431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":230431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:54:08] local.INFO: TCP Data received {"connection_id":230431,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:54:08] local.INFO: Processing buffer {"connection_id":230431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:54:08] local.INFO: IMEI packet received {"connection_id":230431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":230431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:54:13] local.INFO: TCP Data received {"connection_id":230431,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:54:13] local.INFO: Processing buffer {"connection_id":230431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:54:13] local.INFO: IMEI packet received {"connection_id":230431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":230431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:54:16] local.INFO: TCP Data received {"connection_id":230431,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac17a468012d7c20c005db06c80000015a29..."} 
[2026-11-05 19:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac17a468012d7c20c005db06c80000015a29..."} 
[2026-11-05 19:54:16] local.INFO: Processing buffer {"connection_id":230431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac17a468012d7c20c005db06c80000015a29..."} 
[2026-11-05 19:54:16] local.INFO: Packet analysis {"connection_id":230431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac17"} 
[2026-11-05 19:54:16] local.INFO: Extracted packet for processing {"connection_id":230431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac17"} 
[2026-11-05 19:54:16] local.INFO: GPS Element Parsed {"raw_longitude":763109568,"raw_latitude":98240200,"longitude_deg":76.3109568,"latitude_deg":9.82402,"altitude":0,"angle":346,"satellites":41,"speed":35,"hex_longitude":"2d7c20c0","hex_latitude":"05db06c8","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235476224001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40441266030247936,"note":"Value kept but may cause issues"} 
[2026-11-05 19:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946682159895377920,"note":"Value kept but may cause issues"} 
[2026-11-05 19:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793888593000,"timestamp_ms":1793888593000,"timestamp_seconds":1793888593,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac17a468"} 
[2026-11-05 19: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-05 19:54: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-05 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 19:54: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-05 19: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-05 19: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-05 19:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:54: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-05 19:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235476224001,"66":27321,"160":206,"85":15104,"24":35,"16":40441266030247936,"45":8946682159895377920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-11-05 19:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235476224001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:54:16] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-11-05 19:54:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40441266030247936,"km_value":40441266030247.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946682159895377920,"description":"Unknown IO ID 45"} 
[2026-11-05 19:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235476224001,"power":27321,"unknown_160":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8946682159895377920}} 
[2026-11-05 19:54: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":64461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:54:16] local.INFO: GPS data processed {"connection_id":230431,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:54:16] local.INFO: Acknowledgment sent {"connection_id":230431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:54:48] local.INFO: TCP Data received {"connection_id":230431,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac17c790012d7c180005db2a200000015927..."} 
[2026-11-05 19:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac17c790012d7c180005db2a200000015927..."} 
[2026-11-05 19:54:48] local.INFO: Processing buffer {"connection_id":230431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac17c790012d7c180005db2a200000015927..."} 
[2026-11-05 19:54:48] local.INFO: Packet analysis {"connection_id":230431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac17"} 
[2026-11-05 19:54:48] local.INFO: Extracted packet for processing {"connection_id":230431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac17"} 
[2026-11-05 19:54:48] local.INFO: GPS Element Parsed {"raw_longitude":763107328,"raw_latitude":98249248,"longitude_deg":76.3107328,"latitude_deg":9.8249248,"altitude":0,"angle":345,"satellites":39,"speed":46,"hex_longitude":"2d7c1800","hex_latitude":"05db2a20","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235479808001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40441717001814016,"note":"Value kept but may cause issues"} 
[2026-11-05 19:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944359991339829248,"note":"Value kept but may cause issues"} 
[2026-11-05 19:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793888602000,"timestamp_ms":1793888602000,"timestamp_seconds":1793888602,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac17c790"} 
[2026-11-05 19: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-05 19:54: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-05 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 19:54:48] 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-05 19: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-05 19: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-05 19:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235479808001,"66":27397,"162":206,"85":15104,"24":46,"16":40441717001814016,"45":8944359991339829248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-11-05 19:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235479808001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:54:48] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-11-05 19:54:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40441717001814016,"km_value":40441717001814.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944359991339829248,"description":"Unknown IO ID 45"} 
[2026-11-05 19:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235479808001,"power":27397,"unknown_162":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8944359991339829248}} 
[2026-11-05 19:54: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":64462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:54:48] local.INFO: GPS data processed {"connection_id":230431,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:54:48] local.INFO: Acknowledgment sent {"connection_id":230431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:55:00] local.INFO: TCP Data received {"connection_id":233667,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:55:00] local.INFO: Processing buffer {"connection_id":233667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:55:00] local.INFO: IMEI packet received {"connection_id":233667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":233667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:55:03] local.INFO: TCP Data received {"connection_id":233667,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:55:03] local.INFO: Processing buffer {"connection_id":233667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:55:03] local.INFO: IMEI packet received {"connection_id":233667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":233667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:55:07] local.INFO: TCP Data received {"connection_id":233667,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:55:07] local.INFO: Processing buffer {"connection_id":233667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:55:07] local.INFO: IMEI packet received {"connection_id":233667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":233667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:55:08] local.INFO: TCP Data received {"connection_id":233667,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac17e6d0012d7c0f4005db4ff80002015b24..."} 
[2026-11-05 19:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac17e6d0012d7c0f4005db4ff80002015b24..."} 
[2026-11-05 19:55:08] local.INFO: Processing buffer {"connection_id":233667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac17e6d0012d7c0f4005db4ff80002015b24..."} 
[2026-11-05 19:55:08] local.INFO: Packet analysis {"connection_id":233667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac17"} 
[2026-11-05 19:55:08] local.INFO: Extracted packet for processing {"connection_id":233667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac17"} 
[2026-11-05 19:55:08] local.INFO: GPS Element Parsed {"raw_longitude":763105088,"raw_latitude":98258936,"longitude_deg":76.3105088,"latitude_deg":9.8258936,"altitude":2,"angle":347,"satellites":36,"speed":50,"hex_longitude":"2d7c0f40","hex_latitude":"05db4ff8","is_valid_coordinates":true} 
[2026-11-05 19:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235482112001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40442198038151168,"note":"Value kept but may cause issues"} 
[2026-11-05 19:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941897085295927296,"note":"Value kept but may cause issues"} 
[2026-11-05 19:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793888610000,"timestamp_ms":1793888610000,"timestamp_seconds":1793888610,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac17e6d0"} 
[2026-11-05 19:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 19:55:08] 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-05 19:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":233667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":233667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":233667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:55:08] local.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-05 19:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235482112001,"66":27365,"162":206,"85":15104,"24":50,"16":40442198038151168,"45":8941897085295927296},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-11-05 19:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235482112001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:55:08] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-11-05 19:55:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40442198038151168,"km_value":40442198038151.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941897085295927296,"description":"Unknown IO ID 45"} 
[2026-11-05 19:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235482112001,"power":27365,"unknown_162":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8941897085295927296}} 
[2026-11-05 19:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":233667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:55:08] local.INFO: GPS data processed {"connection_id":233667,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:55:08] local.INFO: Acknowledgment sent {"connection_id":233667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:55:39] local.INFO: TCP Data received {"connection_id":233667,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac180610012d7c070005db73800004015b25..."} 
[2026-11-05 19:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac180610012d7c070005db73800004015b25..."} 
[2026-11-05 19:55:39] local.INFO: Processing buffer {"connection_id":233667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac180610012d7c070005db73800004015b25..."} 
[2026-11-05 19:55:39] local.INFO: Packet analysis {"connection_id":233667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac18"} 
[2026-11-05 19:55:39] local.INFO: Extracted packet for processing {"connection_id":233667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac18"} 
[2026-11-05 19:55:39] local.INFO: GPS Element Parsed {"raw_longitude":763102976,"raw_latitude":98268032,"longitude_deg":76.3102976,"latitude_deg":9.8268032,"altitude":4,"angle":347,"satellites":37,"speed":46,"hex_longitude":"2d7c0700","hex_latitude":"05db7380","is_valid_coordinates":true} 
[2026-11-05 19:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235484160001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40442649009717248,"note":"Value kept but may cause issues"} 
[2026-11-05 19:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939434179252189184,"note":"Value kept but may cause issues"} 
[2026-11-05 19:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793888618000,"timestamp_ms":1793888618000,"timestamp_seconds":1793888618,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac180610"} 
[2026-11-05 19:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:55: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-05 19:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 19:55:39] 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-05 19:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":233667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":233667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":233667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:55: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-05 19:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235484160001,"66":27463,"162":206,"85":15104,"24":46,"16":40442649009717248,"45":8939434179252189184},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-11-05 19:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235484160001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:55:39] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-11-05 19:55:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40442649009717248,"km_value":40442649009717.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939434179252189184,"description":"Unknown IO ID 45"} 
[2026-11-05 19:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235484160001,"power":27463,"unknown_162":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8939434179252189184}} 
[2026-11-05 19:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":233667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:55:39] local.INFO: GPS data processed {"connection_id":233667,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:55:39] local.INFO: Acknowledgment sent {"connection_id":233667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:56:02] local.INFO: TCP Data received {"connection_id":230432,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:56:02] local.INFO: Processing buffer {"connection_id":230432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:56:02] local.INFO: IMEI packet received {"connection_id":230432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":230432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:56:04] local.INFO: TCP Data received {"connection_id":230432,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:56:04] local.INFO: Processing buffer {"connection_id":230432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:56:04] local.INFO: IMEI packet received {"connection_id":230432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":230432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:56:07] local.INFO: TCP Data received {"connection_id":230432,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:56:07] local.INFO: Processing buffer {"connection_id":230432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:56:07] local.INFO: IMEI packet received {"connection_id":230432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":230432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:56:08] local.INFO: TCP Data received {"connection_id":230432,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac194278012d7be08005dd0f08001e016326..."} 
[2026-11-05 19:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac194278012d7be08005dd0f08001e016326..."} 
[2026-11-05 19:56:08] local.INFO: Processing buffer {"connection_id":230432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac194278012d7be08005dd0f08001e016326..."} 
[2026-11-05 19:56:08] local.INFO: Packet analysis {"connection_id":230432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac19"} 
[2026-11-05 19:56:08] local.INFO: Extracted packet for processing {"connection_id":230432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac19"} 
[2026-11-05 19:56:08] local.INFO: GPS Element Parsed {"raw_longitude":763093120,"raw_latitude":98373384,"longitude_deg":76.309312,"latitude_deg":9.8373384,"altitude":30,"angle":355,"satellites":38,"speed":58,"hex_longitude":"2d7be080","hex_latitude":"05dd0f08","is_valid_coordinates":true} 
[2026-11-05 19:56: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-05 19:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235505152001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926838174071093248,"note":"Value kept but may cause issues"} 
[2026-11-05 19:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40447794380537856,"note":"Value kept but may cause issues"} 
[2026-11-05 19:56:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 19:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793888699000,"timestamp_ms":1793888699000,"timestamp_seconds":1793888699,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac194278"} 
[2026-11-05 19:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:56: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-05 19:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 19:56:08] 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-05 19:56: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-05 19:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":230432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":230432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":230432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:56:08] local.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-05 19:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235505152001,"66":27332,"45":8926838174071093248,"85":15104,"24":58,"16":40447794380537856},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-11-05 19:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235505152001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926838174071093248,"description":"Unknown IO ID 45"} 
[2026-11-05 19:56:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40447794380537856,"km_value":40447794380537.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:56:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459235505152001,"power":27332,"unknown_45":8926838174071093248,"unknown_85":15104,"ignition":58,"odometer":null}} 
[2026-11-05 19:56:08] 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":64465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:56:08] local.INFO: GPS data processed {"connection_id":230432,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:56:08] local.INFO: Acknowledgment sent {"connection_id":230432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:56:16] local.INFO: TCP Data received {"connection_id":231767,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:56:16] local.INFO: Processing buffer {"connection_id":231767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 19:56:16] local.INFO: IMEI packet received {"connection_id":231767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 19:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":231767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:56:39] local.INFO: TCP Data received {"connection_id":230432,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac195dd0012d7bdc8005dd35c80020016123..."} 
[2026-11-05 19:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac195dd0012d7bdc8005dd35c80020016123..."} 
[2026-11-05 19:56:39] local.INFO: Processing buffer {"connection_id":230432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac195dd0012d7bdc8005dd35c80020016123..."} 
[2026-11-05 19:56:39] local.INFO: Packet analysis {"connection_id":230432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac19"} 
[2026-11-05 19:56:39] local.INFO: Extracted packet for processing {"connection_id":230432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac19"} 
[2026-11-05 19:56:39] local.INFO: GPS Element Parsed {"raw_longitude":763092096,"raw_latitude":98383304,"longitude_deg":76.3092096,"latitude_deg":9.8383304,"altitude":32,"angle":353,"satellites":35,"speed":55,"hex_longitude":"2d7bdc80","hex_latitude":"05dd35c8","is_valid_coordinates":true} 
[2026-11-05 19:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235506944001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926275224120264704,"note":"Value kept but may cause issues"} 
[2026-11-05 19:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40448279711842304,"note":"Value kept but may cause issues"} 
[2026-11-05 19:56:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 19:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793888706000,"timestamp_ms":1793888706000,"timestamp_seconds":1793888706,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac195dd0"} 
[2026-11-05 19:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:56: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-05 19:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 19:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":230432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":230432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":230432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19: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-05 19:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235506944001,"66":27343,"45":8926275224120264704,"85":15104,"24":55,"16":40448279711842304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-11-05 19:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235506944001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926275224120264704,"description":"Unknown IO ID 45"} 
[2026-11-05 19:56:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40448279711842304,"km_value":40448279711842.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:56:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459235506944001,"power":27343,"unknown_45":8926275224120264704,"unknown_85":15104,"ignition":55,"odometer":null}} 
[2026-11-05 19:56:39] 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":64466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:56:39] local.INFO: GPS data processed {"connection_id":230432,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:56:39] local.INFO: Acknowledgment sent {"connection_id":230432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:57:02] local.INFO: TCP Data received {"connection_id":229911,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:57:02] local.INFO: Processing buffer {"connection_id":229911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:57:02] local.INFO: IMEI packet received {"connection_id":229911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":229911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:57:04] local.INFO: TCP Data received {"connection_id":229911,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:57:04] local.INFO: Processing buffer {"connection_id":229911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:57:04] local.INFO: IMEI packet received {"connection_id":229911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":229911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:57:07] local.INFO: TCP Data received {"connection_id":229911,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:57:07] local.INFO: Processing buffer {"connection_id":229911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:57:07] local.INFO: IMEI packet received {"connection_id":229911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":229911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:57:08] local.INFO: TCP Data received {"connection_id":229911,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac197928012d7bd78005dd5d38001f015f24..."} 
[2026-11-05 19:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac197928012d7bd78005dd5d38001f015f24..."} 
[2026-11-05 19:57:08] local.INFO: Processing buffer {"connection_id":229911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac197928012d7bd78005dd5d38001f015f24..."} 
[2026-11-05 19:57:08] local.INFO: Packet analysis {"connection_id":229911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac19"} 
[2026-11-05 19:57:08] local.INFO: Extracted packet for processing {"connection_id":229911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac19"} 
[2026-11-05 19:57:08] local.INFO: GPS Element Parsed {"raw_longitude":763090816,"raw_latitude":98393400,"longitude_deg":76.3090816,"latitude_deg":9.83934,"altitude":31,"angle":351,"satellites":36,"speed":57,"hex_longitude":"2d7bd780","hex_latitude":"05dd5d38","is_valid_coordinates":true} 
[2026-11-05 19:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235508736001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925149324215961600,"note":"Value kept but may cause issues"} 
[2026-11-05 19:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40448773633081344,"note":"Value kept but may cause issues"} 
[2026-11-05 19:57:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 19:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793888713000,"timestamp_ms":1793888713000,"timestamp_seconds":1793888713,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac197928"} 
[2026-11-05 19:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 19:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":229911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":229911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":229911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:57:08] local.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-05 19:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235508736001,"66":27332,"45":8925149324215961600,"85":15104,"24":57,"16":40448773633081344},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-11-05 19:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235508736001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925149324215961600,"description":"Unknown IO ID 45"} 
[2026-11-05 19:57:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40448773633081344,"km_value":40448773633081.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:57:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459235508736001,"power":27332,"unknown_45":8925149324215961600,"unknown_85":15104,"ignition":57,"odometer":null}} 
[2026-11-05 19:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":229911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:57:08] local.INFO: GPS data processed {"connection_id":229911,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:57:08] local.INFO: Acknowledgment sent {"connection_id":229911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:57:39] local.INFO: TCP Data received {"connection_id":229911,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac1ad0e8012d7b95c005df1ec80004016324..."} 
[2026-11-05 19:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac1ad0e8012d7b95c005df1ec80004016324..."} 
[2026-11-05 19:57:39] local.INFO: Processing buffer {"connection_id":229911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac1ad0e8012d7b95c005df1ec80004016324..."} 
[2026-11-05 19:57:39] local.INFO: Packet analysis {"connection_id":229911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac1a"} 
[2026-11-05 19:57:39] local.INFO: Extracted packet for processing {"connection_id":229911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac1a"} 
[2026-11-05 19:57:39] local.INFO: GPS Element Parsed {"raw_longitude":763073984,"raw_latitude":98508488,"longitude_deg":76.3073984,"latitude_deg":9.8508488,"altitude":4,"angle":355,"satellites":36,"speed":52,"hex_longitude":"2d7b95c0","hex_latitude":"05df1ec8","is_valid_coordinates":true} 
[2026-11-05 19:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235531264001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40454421515075584,"note":"Value kept but may cause issues"} 
[2026-11-05 19:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905938657085173760,"note":"Value kept but may cause issues"} 
[2026-11-05 19:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793888801000,"timestamp_ms":1793888801000,"timestamp_seconds":1793888801,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac1ad0e8"} 
[2026-11-05 19:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 19:57:39] 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-05 19:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":229911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":229911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":229911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:57: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-05 19:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235531264001,"66":27343,"103":206,"85":15104,"24":52,"16":40454421515075584,"45":8905938657085173760},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-11-05 19:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235531264001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:57:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-11-05 19:57:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40454421515075584,"km_value":40454421515075.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905938657085173760,"description":"Unknown IO ID 45"} 
[2026-11-05 19:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235531264001,"power":27343,"unknown_103":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8905938657085173760}} 
[2026-11-05 19:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":229911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:57:39] local.INFO: GPS data processed {"connection_id":229911,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:57:39] local.INFO: Acknowledgment sent {"connection_id":229911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:58:02] local.INFO: TCP Data received {"connection_id":233668,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:58:02] local.INFO: Processing buffer {"connection_id":233668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:58:02] local.INFO: IMEI packet received {"connection_id":233668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":233668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:58:07] local.INFO: TCP Data received {"connection_id":233668,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:58:07] local.INFO: Processing buffer {"connection_id":233668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:58:07] local.INFO: IMEI packet received {"connection_id":233668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":233668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:58:08] local.INFO: TCP Data received {"connection_id":233668,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac1aec40012d7b934005df42280006016329..."} 
[2026-11-05 19:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac1aec40012d7b934005df42280006016329..."} 
[2026-11-05 19:58:08] local.INFO: Processing buffer {"connection_id":233668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac1aec40012d7b934005df42280006016329..."} 
[2026-11-05 19:58:08] local.INFO: Packet analysis {"connection_id":233668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac1a"} 
[2026-11-05 19:58:08] local.INFO: Extracted packet for processing {"connection_id":233668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac1a"} 
[2026-11-05 19:58:08] local.INFO: GPS Element Parsed {"raw_longitude":763073344,"raw_latitude":98517544,"longitude_deg":76.3073344,"latitude_deg":9.8517544,"altitude":6,"angle":355,"satellites":41,"speed":50,"hex_longitude":"2d7b9340","hex_latitude":"05df4228","is_valid_coordinates":true} 
[2026-11-05 19:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235533056001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40454859601739776,"note":"Value kept but may cause issues"} 
[2026-11-05 19:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905234969645729792,"note":"Value kept but may cause issues"} 
[2026-11-05 19:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793888808000,"timestamp_ms":1793888808000,"timestamp_seconds":1793888808,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac1aec40"} 
[2026-11-05 19:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 19:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":233668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":233668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":233668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:58:08] local.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-05 19:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235533056001,"66":27376,"103":206,"85":15104,"24":50,"16":40454859601739776,"45":8905234969645729792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-11-05 19:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235533056001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:58:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-11-05 19:58:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40454859601739776,"km_value":40454859601739.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905234969645729792,"description":"Unknown IO ID 45"} 
[2026-11-05 19:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235533056001,"power":27376,"unknown_103":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8905234969645729792}} 
[2026-11-05 19:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":233668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:58:08] local.INFO: GPS data processed {"connection_id":233668,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:58:08] local.INFO: Acknowledgment sent {"connection_id":233668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:58:39] local.INFO: TCP Data received {"connection_id":233668,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac1b0f68012d7b8f0005df66d80008015f25..."} 
[2026-11-05 19:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac1b0f68012d7b8f0005df66d80008015f25..."} 
[2026-11-05 19:58:39] local.INFO: Processing buffer {"connection_id":233668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac1b0f68012d7b8f0005df66d80008015f25..."} 
[2026-11-05 19:58:39] local.INFO: Packet analysis {"connection_id":233668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac1b"} 
[2026-11-05 19:58:39] local.INFO: Extracted packet for processing {"connection_id":233668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac1b"} 
[2026-11-05 19:58:39] local.INFO: GPS Element Parsed {"raw_longitude":763072256,"raw_latitude":98526936,"longitude_deg":76.3072256,"latitude_deg":9.8526936,"altitude":8,"angle":351,"satellites":37,"speed":41,"hex_longitude":"2d7b8f00","hex_latitude":"05df66d8","is_valid_coordinates":true} 
[2026-11-05 19:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235534848001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40455319163240448,"note":"Value kept but may cause issues"} 
[2026-11-05 19:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904531282206271488,"note":"Value kept but may cause issues"} 
[2026-11-05 19:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793888817000,"timestamp_ms":1793888817000,"timestamp_seconds":1793888817,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac1b0f68"} 
[2026-11-05 19:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 19:58:39] 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-05 19:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":233668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":233668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":233668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 19:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235534848001,"66":27343,"103":206,"85":15104,"24":41,"16":40455319163240448,"45":8904531282206271488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-11-05 19:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235534848001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:58:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-11-05 19:58:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40455319163240448,"km_value":40455319163240.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904531282206271488,"description":"Unknown IO ID 45"} 
[2026-11-05 19:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235534848001,"power":27343,"unknown_103":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8904531282206271488}} 
[2026-11-05 19:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":233668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:58:39] local.INFO: GPS data processed {"connection_id":233668,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:58:39] local.INFO: Acknowledgment sent {"connection_id":233668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:59:02] local.INFO: TCP Data received {"connection_id":233669,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:59:02] local.INFO: Processing buffer {"connection_id":233669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:59:02] local.INFO: IMEI packet received {"connection_id":233669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 19:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":233669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 19:59:07] local.INFO: TCP Data received {"connection_id":233669,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:59:07] local.INFO: Processing buffer {"connection_id":233669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:59:07] local.INFO: IMEI packet received {"connection_id":233669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":233669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:59:07] local.INFO: TCP Data received {"connection_id":233669,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:59:07] local.INFO: Processing buffer {"connection_id":233669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 19:59:07] local.INFO: IMEI packet received {"connection_id":233669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 19:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":233669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 19:59:08] local.INFO: TCP Data received {"connection_id":233669,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac1b3290012d7b89c005df8be00007015f26..."} 
[2026-11-05 19:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac1b3290012d7b89c005df8be00007015f26..."} 
[2026-11-05 19:59:08] local.INFO: Processing buffer {"connection_id":233669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac1b3290012d7b89c005df8be00007015f26..."} 
[2026-11-05 19:59:08] local.INFO: Packet analysis {"connection_id":233669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac1b"} 
[2026-11-05 19:59:08] local.INFO: Extracted packet for processing {"connection_id":233669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac1b"} 
[2026-11-05 19:59:08] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":98536416,"longitude_deg":76.3070912,"latitude_deg":9.8536416,"altitude":7,"angle":351,"satellites":38,"speed":44,"hex_longitude":"2d7b89c0","hex_latitude":"05df8be0","is_valid_coordinates":true} 
[2026-11-05 19:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 19:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235537152001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40455783019708416,"note":"Value kept but may cause issues"} 
[2026-11-05 19:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903335013557655552,"note":"Value kept but may cause issues"} 
[2026-11-05 19:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793888826000,"timestamp_ms":1793888826000,"timestamp_seconds":1793888826,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac1b3290"} 
[2026-11-05 19:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 19:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 19:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 19:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 19:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 19:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 19:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":233669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":233669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":233669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:59:08] local.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-05 19:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235537152001,"66":27300,"103":206,"85":15104,"24":44,"16":40455783019708416,"45":8903335013557655552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-11-05 19:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235537152001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:59:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-11-05 19:59:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40455783019708416,"km_value":40455783019708.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903335013557655552,"description":"Unknown IO ID 45"} 
[2026-11-05 19:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235537152001,"power":27300,"unknown_103":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8903335013557655552}} 
[2026-11-05 19:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":233669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:59:08] local.INFO: GPS data processed {"connection_id":233669,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:59:08] local.INFO: Acknowledgment sent {"connection_id":233669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 19:59:43] local.INFO: TCP Data received {"connection_id":233669,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac1c9220012d7b508005e11fa80000015e28..."} 
[2026-11-05 19:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac1c9220012d7b508005e11fa80000015e28..."} 
[2026-11-05 19:59:43] local.INFO: Processing buffer {"connection_id":233669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac1c9220012d7b508005e11fa80000015e28..."} 
[2026-11-05 19:59:43] local.INFO: Packet analysis {"connection_id":233669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac1c"} 
[2026-11-05 19:59:43] local.INFO: Extracted packet for processing {"connection_id":233669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac1c"} 
[2026-11-05 19:59:43] local.INFO: GPS Element Parsed {"raw_longitude":763056256,"raw_latitude":98639784,"longitude_deg":76.3056256,"latitude_deg":9.8639784,"altitude":0,"angle":350,"satellites":40,"speed":54,"hex_longitude":"2d7b5080","hex_latitude":"05e11fa8","is_valid_coordinates":true} 
[2026-11-05 19: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-05 19:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235560704001,"note":"Value kept but may cause issues"} 
[2026-11-05 19:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40460846786150400,"note":"Value kept but may cause issues"} 
[2026-11-05 19:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887572414888243200,"note":"Value kept but may cause issues"} 
[2026-11-05 19:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 19:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793888916000,"timestamp_ms":1793888916000,"timestamp_seconds":1793888916,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac1c9220"} 
[2026-11-05 19: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-05 19:59: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-05 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 19:59:43] 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-05 19: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-05 19: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-05 19:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 19:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":233669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 19:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":233669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":233669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 19:59: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-05 19:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 19:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 19:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235560704001,"66":27463,"216":206,"85":15104,"24":54,"16":40460846786150400,"45":8887572414888243200},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-11-05 19:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 19:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 19:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235560704001,"description":"Unknown IO ID 0"} 
[2026-11-05 19:59:43] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-11-05 19:59:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 19:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40460846786150400,"km_value":40460846786150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 19:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887572414888243200,"description":"Unknown IO ID 45"} 
[2026-11-05 19:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235560704001,"power":27463,"unknown_216":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8887572414888243200}} 
[2026-11-05 19:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":233669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 19:59:43] local.INFO: GPS data processed {"connection_id":233669,"processed":1,"errors":0,"total":1} 
[2026-11-05 19:59:43] local.INFO: Acknowledgment sent {"connection_id":233669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:00:04] local.INFO: TCP Data received {"connection_id":229913,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:00:04] local.INFO: Processing buffer {"connection_id":229913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:00:04] local.INFO: IMEI packet received {"connection_id":229913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":229913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:00:07] local.INFO: TCP Data received {"connection_id":229913,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:00:07] local.INFO: Processing buffer {"connection_id":229913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:00:07] local.INFO: IMEI packet received {"connection_id":229913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":229913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:00:12] local.INFO: TCP Data received {"connection_id":229913,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:00:12] local.INFO: Processing buffer {"connection_id":229913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:00:12] local.INFO: IMEI packet received {"connection_id":229913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":229913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:00:13] local.INFO: TCP Data received {"connection_id":229913,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac1cad78012d7b4ac005e142e00000015d27..."} 
[2026-11-05 20:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac1cad78012d7b4ac005e142e00000015d27..."} 
[2026-11-05 20:00:13] local.INFO: Processing buffer {"connection_id":229913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac1cad78012d7b4ac005e142e00000015d27..."} 
[2026-11-05 20:00:13] local.INFO: Packet analysis {"connection_id":229913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac1c"} 
[2026-11-05 20:00:13] local.INFO: Extracted packet for processing {"connection_id":229913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac1c"} 
[2026-11-05 20:00:13] local.INFO: GPS Element Parsed {"raw_longitude":763054784,"raw_latitude":98648800,"longitude_deg":76.3054784,"latitude_deg":9.86488,"altitude":0,"angle":349,"satellites":39,"speed":45,"hex_longitude":"2d7b4ac0","hex_latitude":"05e142e0","is_valid_coordinates":true} 
[2026-11-05 20: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-05 20:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235562496001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40461289167781888,"note":"Value kept but may cause issues"} 
[2026-11-05 20:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885742827542128640,"note":"Value kept but may cause issues"} 
[2026-11-05 20:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793888923000,"timestamp_ms":1793888923000,"timestamp_seconds":1793888923,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac1cad78"} 
[2026-11-05 20: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-05 20:00: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-05 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 20:00: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-05 20: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-05 20: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-05 20:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 20:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235562496001,"66":27376,"216":206,"85":15104,"24":45,"16":40461289167781888,"45":8885742827542128640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-11-05 20:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235562496001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:00:13] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-11-05 20:00:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 20:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40461289167781888,"km_value":40461289167781.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885742827542128640,"description":"Unknown IO ID 45"} 
[2026-11-05 20:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235562496001,"power":27376,"unknown_216":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8885742827542128640}} 
[2026-11-05 20:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":229913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:00:13] local.INFO: GPS data processed {"connection_id":229913,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:00:13] local.INFO: Acknowledgment sent {"connection_id":229913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:00:16] local.INFO: TCP Data received {"connection_id":229913,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac1cd488012d7b444005e168200000015e26..."} 
[2026-11-05 20:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac1cd488012d7b444005e168200000015e26..."} 
[2026-11-05 20:00:16] local.INFO: Processing buffer {"connection_id":229913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac1cd488012d7b444005e168200000015e26..."} 
[2026-11-05 20:00:16] local.INFO: Packet analysis {"connection_id":229913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac1c"} 
[2026-11-05 20:00:16] local.INFO: Extracted packet for processing {"connection_id":229913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac1c"} 
[2026-11-05 20:00:16] local.INFO: GPS Element Parsed {"raw_longitude":763053120,"raw_latitude":98658336,"longitude_deg":76.305312,"latitude_deg":9.8658336,"altitude":0,"angle":350,"satellites":38,"speed":34,"hex_longitude":"2d7b4440","hex_latitude":"05e16820","is_valid_coordinates":true} 
[2026-11-05 20: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-05 20:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235564288001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40461757319217152,"note":"Value kept but may cause issues"} 
[2026-11-05 20:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884124346428350464,"note":"Value kept but may cause issues"} 
[2026-11-05 20:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793888933000,"timestamp_ms":1793888933000,"timestamp_seconds":1793888933,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac1cd488"} 
[2026-11-05 20: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-05 20:00: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-05 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 20:00:16] 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-05 20: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-05 20: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-05 20:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:00: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-05 20:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235564288001,"66":27365,"216":206,"85":15104,"24":34,"16":40461757319217152,"45":8884124346428350464},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-11-05 20:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235564288001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:00:16] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-11-05 20:00:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 20:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40461757319217152,"km_value":40461757319217.15,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884124346428350464,"description":"Unknown IO ID 45"} 
[2026-11-05 20:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235564288001,"power":27365,"unknown_216":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8884124346428350464}} 
[2026-11-05 20:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":229913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:00:16] local.INFO: GPS data processed {"connection_id":229913,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:00:16] local.INFO: Acknowledgment sent {"connection_id":229913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:00:47] local.INFO: TCP Data received {"connection_id":229913,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac1d0368012d7b3f0005e18da0000001612b..."} 
[2026-11-05 20:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac1d0368012d7b3f0005e18da0000001612b..."} 
[2026-11-05 20:00:47] local.INFO: Processing buffer {"connection_id":229913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac1d0368012d7b3f0005e18da0000001612b..."} 
[2026-11-05 20:00:47] local.INFO: Packet analysis {"connection_id":229913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac1d"} 
[2026-11-05 20:00:47] local.INFO: Extracted packet for processing {"connection_id":229913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac1d"} 
[2026-11-05 20:00:47] local.INFO: GPS Element Parsed {"raw_longitude":763051776,"raw_latitude":98667936,"longitude_deg":76.3051776,"latitude_deg":9.8667936,"altitude":0,"angle":353,"satellites":43,"speed":34,"hex_longitude":"2d7b3f00","hex_latitude":"05e18da0","is_valid_coordinates":true} 
[2026-11-05 20: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-05 20:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235566848001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40462229765619712,"note":"Value kept but may cause issues"} 
[2026-11-05 20:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882294759082172416,"note":"Value kept but may cause issues"} 
[2026-11-05 20:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793888945000,"timestamp_ms":1793888945000,"timestamp_seconds":1793888945,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac1d0368"} 
[2026-11-05 20: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-05 20: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-05 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 20:00:47] 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-05 20: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-05 20: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-05 20:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 20:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235566848001,"66":27397,"216":206,"85":15104,"24":34,"16":40462229765619712,"45":8882294759082172416},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-11-05 20:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235566848001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:00:47] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-11-05 20:00:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 20:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40462229765619712,"km_value":40462229765619.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882294759082172416,"description":"Unknown IO ID 45"} 
[2026-11-05 20:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235566848001,"power":27397,"unknown_216":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8882294759082172416}} 
[2026-11-05 20:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":229913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:00:47] local.INFO: GPS data processed {"connection_id":229913,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:00:47] local.INFO: Acknowledgment sent {"connection_id":229913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:01:02] local.INFO: TCP Data received {"connection_id":230433,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:01:02] local.INFO: Processing buffer {"connection_id":230433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:01:02] local.INFO: IMEI packet received {"connection_id":230433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":230433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:01:07] local.INFO: TCP Data received {"connection_id":230433,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:01:07] local.INFO: Processing buffer {"connection_id":230433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:01:07] local.INFO: IMEI packet received {"connection_id":230433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":230433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:01:09] local.INFO: TCP Data received {"connection_id":230433,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac1d2e60012d7b3b0005e1b1f00000016227..."} 
[2026-11-05 20:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac1d2e60012d7b3b0005e1b1f00000016227..."} 
[2026-11-05 20:01:09] local.INFO: Processing buffer {"connection_id":230433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac1d2e60012d7b3b0005e1b1f00000016227..."} 
[2026-11-05 20:01:09] local.INFO: Packet analysis {"connection_id":230433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac1d"} 
[2026-11-05 20:01:09] local.INFO: Extracted packet for processing {"connection_id":230433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac1d"} 
[2026-11-05 20:01:09] local.INFO: GPS Element Parsed {"raw_longitude":763050752,"raw_latitude":98677232,"longitude_deg":76.3050752,"latitude_deg":9.8677232,"altitude":0,"angle":354,"satellites":39,"speed":35,"hex_longitude":"2d7b3b00","hex_latitude":"05e1b1f0","is_valid_coordinates":true} 
[2026-11-05 20:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235569920001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40462680737185792,"note":"Value kept but may cause issues"} 
[2026-11-05 20:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880817015456899072,"note":"Value kept but may cause issues"} 
[2026-11-05 20:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793888956000,"timestamp_ms":1793888956000,"timestamp_seconds":1793888956,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac1d2e60"} 
[2026-11-05 20:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 20:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 20:01:09] 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-05 20:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:01:09] local.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-05 20:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235569920001,"66":27376,"216":206,"85":15104,"24":35,"16":40462680737185792,"45":8880817015456899072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-11-05 20:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235569920001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:01:09] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-11-05 20:01:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 20:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40462680737185792,"km_value":40462680737185.79,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880817015456899072,"description":"Unknown IO ID 45"} 
[2026-11-05 20:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235569920001,"power":27376,"unknown_216":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8880817015456899072}} 
[2026-11-05 20:01:09] 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":64476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:01:09] local.INFO: GPS data processed {"connection_id":230433,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:01:09] local.INFO: Acknowledgment sent {"connection_id":230433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:01:40] local.INFO: TCP Data received {"connection_id":230433,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac1d5570012d7b37c005e1d8d00000016224..."} 
[2026-11-05 20:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac1d5570012d7b37c005e1d8d00000016224..."} 
[2026-11-05 20:01:40] local.INFO: Processing buffer {"connection_id":230433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac1d5570012d7b37c005e1d8d00000016224..."} 
[2026-11-05 20:01:40] local.INFO: Packet analysis {"connection_id":230433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac1d"} 
[2026-11-05 20:01:40] local.INFO: Extracted packet for processing {"connection_id":230433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac1d"} 
[2026-11-05 20:01:40] local.INFO: GPS Element Parsed {"raw_longitude":763049920,"raw_latitude":98687184,"longitude_deg":76.304992,"latitude_deg":9.8687184,"altitude":0,"angle":354,"satellites":36,"speed":40,"hex_longitude":"2d7b37c0","hex_latitude":"05e1d8d0","is_valid_coordinates":true} 
[2026-11-05 20:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235572736001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40463166068490240,"note":"Value kept but may cause issues"} 
[2026-11-05 20:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879691115552436224,"note":"Value kept but may cause issues"} 
[2026-11-05 20:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793888966000,"timestamp_ms":1793888966000,"timestamp_seconds":1793888966,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac1d5570"} 
[2026-11-05 20:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:01: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-05 20:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 20:01:40] 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-05 20:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:01: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-05 20:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235572736001,"66":27376,"216":206,"85":15104,"24":40,"16":40463166068490240,"45":8879691115552436224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-11-05 20:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235572736001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:01:40] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-11-05 20:01:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 20:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40463166068490240,"km_value":40463166068490.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879691115552436224,"description":"Unknown IO ID 45"} 
[2026-11-05 20:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235572736001,"power":27376,"unknown_216":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8879691115552436224}} 
[2026-11-05 20:01:40] 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":64477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:01:40] local.INFO: GPS data processed {"connection_id":230433,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:01:40] local.INFO: Acknowledgment sent {"connection_id":230433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:01:51] local.INFO: TCP Data received {"connection_id":229912,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:01:51] local.INFO: Processing buffer {"connection_id":229912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:01:51] local.INFO: IMEI packet received {"connection_id":229912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 20:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":229912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:02:01] local.INFO: TCP Data received {"connection_id":231768,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:02:01] local.INFO: Processing buffer {"connection_id":231768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:02:01] local.INFO: IMEI packet received {"connection_id":231768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":231768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:02:02] local.INFO: TCP Data received {"connection_id":231768,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:02:02] local.INFO: Processing buffer {"connection_id":231768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:02:02] local.INFO: IMEI packet received {"connection_id":231768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":231768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:02:05] local.INFO: TCP Data received {"connection_id":231768,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:02:05] local.INFO: Processing buffer {"connection_id":231768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:02:05] local.INFO: IMEI packet received {"connection_id":231768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":231768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:02:12] local.INFO: TCP Data received {"connection_id":231768,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac1d8068012d7b340005e1fc48000001602a..."} 
[2026-11-05 20:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac1d8068012d7b340005e1fc48000001602a..."} 
[2026-11-05 20:02:12] local.INFO: Processing buffer {"connection_id":231768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac1d8068012d7b340005e1fc48000001602a..."} 
[2026-11-05 20:02:12] local.INFO: Packet analysis {"connection_id":231768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac1d"} 
[2026-11-05 20:02:12] local.INFO: Extracted packet for processing {"connection_id":231768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac1d"} 
[2026-11-05 20:02:12] local.INFO: GPS Element Parsed {"raw_longitude":763048960,"raw_latitude":98696264,"longitude_deg":76.304896,"latitude_deg":9.8696264,"altitude":0,"angle":352,"satellites":42,"speed":17,"hex_longitude":"2d7b3400","hex_latitude":"05e1fc48","is_valid_coordinates":true} 
[2026-11-05 20: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-05 20:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235575296001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40463608450121728,"note":"Value kept but may cause issues"} 
[2026-11-05 20:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878776321880674304,"note":"Value kept but may cause issues"} 
[2026-11-05 20:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793888977000,"timestamp_ms":1793888977000,"timestamp_seconds":1793888977,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac1d8068"} 
[2026-11-05 20: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-05 20:02: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-05 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 20:02:12] 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-05 20: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-05 20: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-05 20:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:02: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-05 20:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235575296001,"66":27484,"207":206,"85":15104,"24":17,"16":40463608450121728,"45":8878776321880674304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-11-05 20:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235575296001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:02:12] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-11-05 20:02:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 20:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40463608450121728,"km_value":40463608450121.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878776321880674304,"description":"Unknown IO ID 45"} 
[2026-11-05 20:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235575296001,"power":27484,"unknown_207":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8878776321880674304}} 
[2026-11-05 20:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":231768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:02:12] local.INFO: GPS data processed {"connection_id":231768,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:02:12] local.INFO: Acknowledgment sent {"connection_id":231768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:02:49] local.INFO: TCP Data received {"connection_id":231768,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac1f35e8012d7b064005e34e700001014f22..."} 
[2026-11-05 20:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac1f35e8012d7b064005e34e700001014f22..."} 
[2026-11-05 20:02:49] local.INFO: Processing buffer {"connection_id":231768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac1f35e8012d7b064005e34e700001014f22..."} 
[2026-11-05 20:02:49] local.INFO: Packet analysis {"connection_id":231768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac1f"} 
[2026-11-05 20:02:49] local.INFO: Extracted packet for processing {"connection_id":231768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac1f"} 
[2026-11-05 20:02:49] local.INFO: GPS Element Parsed {"raw_longitude":763037248,"raw_latitude":98782832,"longitude_deg":76.3037248,"latitude_deg":9.8782832,"altitude":1,"angle":335,"satellites":34,"speed":28,"hex_longitude":"2d7b0640","hex_latitude":"05e34e70","is_valid_coordinates":true} 
[2026-11-05 20: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-05 20:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235606272001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40467851877810176,"note":"Value kept but may cause issues"} 
[2026-11-05 20:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865476629255225344,"note":"Value kept but may cause issues"} 
[2026-11-05 20:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793889089000,"timestamp_ms":1793889089000,"timestamp_seconds":1793889089,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac1f35e8"} 
[2026-11-05 20: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-05 20:02: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-05 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 20:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20: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-05 20: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-05 20:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":231768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":231768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":231768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 20:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235606272001,"66":27300,"208":206,"85":15104,"24":28,"16":40467851877810176,"45":8865476629255225344},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-11-05 20:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235606272001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:02:49] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-11-05 20:02:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-11-05 20:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40467851877810176,"km_value":40467851877810.18,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865476629255225344,"description":"Unknown IO ID 45"} 
[2026-11-05 20:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235606272001,"power":27300,"unknown_208":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8865476629255225344}} 
[2026-11-05 20:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":231768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:02:49] local.INFO: GPS data processed {"connection_id":231768,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:02:49] local.INFO: Acknowledgment sent {"connection_id":231768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:03:04] local.INFO: TCP Data received {"connection_id":231769,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:03:04] local.INFO: Processing buffer {"connection_id":231769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:03:04] local.INFO: IMEI packet received {"connection_id":231769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":231769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:03:17] local.INFO: TCP Data received {"connection_id":231769,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:03:17] local.INFO: Processing buffer {"connection_id":231769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:03:17] local.INFO: IMEI packet received {"connection_id":231769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":231769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:03:18] local.INFO: TCP Data received {"connection_id":231769,"ip":"42.106.6.14","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 20:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231769,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 20:03:18] local.INFO: Processing buffer {"connection_id":231769,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 20:03:18] local.INFO: IMEI packet received {"connection_id":231769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":231769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:07:25] local.INFO: TCP Data received {"connection_id":229915,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229915,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:07:25] local.INFO: Processing buffer {"connection_id":229915,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:07:25] local.INFO: IMEI packet received {"connection_id":229915,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 20:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":229915,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:08:22] local.INFO: TCP Data received {"connection_id":229918,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:08:22] local.INFO: Processing buffer {"connection_id":229918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:08:22] local.INFO: IMEI packet received {"connection_id":229918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":229918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:08:24] local.INFO: TCP Data received {"connection_id":229918,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac243728012d79bc0005e6a770000801632d..."} 
[2026-11-05 20:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac243728012d79bc0005e6a770000801632d..."} 
[2026-11-05 20:08:24] local.INFO: Processing buffer {"connection_id":229918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac243728012d79bc0005e6a770000801632d..."} 
[2026-11-05 20:08:24] local.INFO: Packet analysis {"connection_id":229918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac24"} 
[2026-11-05 20:08:24] local.INFO: Extracted packet for processing {"connection_id":229918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac24"} 
[2026-11-05 20:08:24] local.INFO: GPS Element Parsed {"raw_longitude":762952704,"raw_latitude":99002224,"longitude_deg":76.2952704,"latitude_deg":9.9002224,"altitude":8,"angle":355,"satellites":45,"speed":25,"hex_longitude":"2d79bc00","hex_latitude":"05e6a770","is_valid_coordinates":true} 
[2026-11-05 20: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-05 20:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235686912001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40479710282514432,"note":"Value kept but may cause issues"} 
[2026-11-05 20:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8772800993227403264,"note":"Value kept but may cause issues"} 
[2026-11-05 20:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793889417000,"timestamp_ms":1793889417000,"timestamp_seconds":1793889417,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac243728"} 
[2026-11-05 20: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-05 20:08: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-05 20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 20:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20: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-05 20: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-05 20:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":229918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":229918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":229918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 20:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235686912001,"66":27376,"31":206,"87":13824,"24":25,"16":40479710282514432,"45":8772800993227403264},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-11-05 20:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235686912001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:08:24] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-11-05 20:08:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 20:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40479710282514432,"km_value":40479710282514.43,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8772800993227403264,"description":"Unknown IO ID 45"} 
[2026-11-05 20:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235686912001,"power":27376,"unknown_31":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8772800993227403264}} 
[2026-11-05 20:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":229918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:08:24] local.INFO: GPS data processed {"connection_id":229918,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:08:24] local.INFO: Acknowledgment sent {"connection_id":229918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:09:07] local.INFO: TCP Data received {"connection_id":233670,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:09:07] local.INFO: Processing buffer {"connection_id":233670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:09:07] local.INFO: IMEI packet received {"connection_id":233670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":233670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:09:11] local.INFO: TCP Data received {"connection_id":233670,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:09:11] local.INFO: Processing buffer {"connection_id":233670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:09:11] local.INFO: IMEI packet received {"connection_id":233670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":233670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:09:12] local.INFO: TCP Data received {"connection_id":233670,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac2469f0012d79b88005e6ca580007015f2a..."} 
[2026-11-05 20:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac2469f0012d79b88005e6ca580007015f2a..."} 
[2026-11-05 20:09:12] local.INFO: Processing buffer {"connection_id":233670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac2469f0012d79b88005e6ca580007015f2a..."} 
[2026-11-05 20:09:12] local.INFO: Packet analysis {"connection_id":233670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac24"} 
[2026-11-05 20:09:12] local.INFO: Extracted packet for processing {"connection_id":233670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac24"} 
[2026-11-05 20:09:12] local.INFO: GPS Element Parsed {"raw_longitude":762951808,"raw_latitude":99011160,"longitude_deg":76.2951808,"latitude_deg":9.901116,"altitude":7,"angle":351,"satellites":42,"speed":23,"hex_longitude":"2d79b880","hex_latitude":"05e6ca58","is_valid_coordinates":true} 
[2026-11-05 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-05 20:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235690752001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40480144074211328,"note":"Value kept but may cause issues"} 
[2026-11-05 20:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771886199555452928,"note":"Value kept but may cause issues"} 
[2026-11-05 20:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793889430000,"timestamp_ms":1793889430000,"timestamp_seconds":1793889430,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac2469f0"} 
[2026-11-05 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-05 20: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-05 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 20:09:12] 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-05 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-05 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-05 20:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":233670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":233670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":233670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20: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-05 20:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235690752001,"66":27343,"31":206,"87":13824,"24":23,"16":40480144074211328,"45":8771886199555452928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-11-05 20:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235690752001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:09:12] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-11-05 20:09:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 20:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40480144074211328,"km_value":40480144074211.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771886199555452928,"description":"Unknown IO ID 45"} 
[2026-11-05 20:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235690752001,"power":27343,"unknown_31":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8771886199555452928}} 
[2026-11-05 20:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":233670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:09:12] local.INFO: GPS data processed {"connection_id":233670,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:09:12] local.INFO: Acknowledgment sent {"connection_id":233670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:09:13] local.INFO: TCP Data received {"connection_id":233670,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac249cb8012d79b64005e6ee50000801642e..."} 
[2026-11-05 20:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac249cb8012d79b64005e6ee50000801642e..."} 
[2026-11-05 20:09:13] local.INFO: Processing buffer {"connection_id":233670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac249cb8012d79b64005e6ee50000801642e..."} 
[2026-11-05 20:09:13] local.INFO: Packet analysis {"connection_id":233670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac24"} 
[2026-11-05 20:09:13] local.INFO: Extracted packet for processing {"connection_id":233670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac24"} 
[2026-11-05 20:09:13] local.INFO: GPS Element Parsed {"raw_longitude":762951232,"raw_latitude":99020368,"longitude_deg":76.2951232,"latitude_deg":9.9020368,"altitude":8,"angle":356,"satellites":46,"speed":31,"hex_longitude":"2d79b640","hex_latitude":"05e6ee50","is_valid_coordinates":true} 
[2026-11-05 20: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-05 20:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235694080001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40480595045777408,"note":"Value kept but may cause issues"} 
[2026-11-05 20:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770901037139253248,"note":"Value kept but may cause issues"} 
[2026-11-05 20:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793889443000,"timestamp_ms":1793889443000,"timestamp_seconds":1793889443,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac249cb8"} 
[2026-11-05 20: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-05 20: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-05 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 20:09: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-05 20: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-05 20: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-05 20:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":233670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":233670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":233670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 20:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235694080001,"66":27321,"31":206,"87":13824,"24":31,"16":40480595045777408,"45":8770901037139253248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-11-05 20:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235694080001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:09:13] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-11-05 20:09:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 20:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40480595045777408,"km_value":40480595045777.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770901037139253248,"description":"Unknown IO ID 45"} 
[2026-11-05 20:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235694080001,"power":27321,"unknown_31":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8770901037139253248}} 
[2026-11-05 20:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":233670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:09:13] local.INFO: GPS data processed {"connection_id":233670,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:09:13] local.INFO: Acknowledgment sent {"connection_id":233670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:09:18] local.INFO: TCP Data received {"connection_id":233670,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac24cb98012d79b34005e71120000601652f..."} 
[2026-11-05 20:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac24cb98012d79b34005e71120000601652f..."} 
[2026-11-05 20:09:18] local.INFO: Processing buffer {"connection_id":233670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac24cb98012d79b34005e71120000601652f..."} 
[2026-11-05 20:09:18] local.INFO: Packet analysis {"connection_id":233670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac24"} 
[2026-11-05 20:09:18] local.INFO: Extracted packet for processing {"connection_id":233670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac24"} 
[2026-11-05 20:09:18] local.INFO: GPS Element Parsed {"raw_longitude":762950464,"raw_latitude":99029280,"longitude_deg":76.2950464,"latitude_deg":9.902928,"altitude":6,"angle":357,"satellites":47,"speed":28,"hex_longitude":"2d79b340","hex_latitude":"05e71120","is_valid_coordinates":true} 
[2026-11-05 20: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-05 20:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235697408001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40481028837474304,"note":"Value kept but may cause issues"} 
[2026-11-05 20:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770267718444011520,"note":"Value kept but may cause issues"} 
[2026-11-05 20:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793889455000,"timestamp_ms":1793889455000,"timestamp_seconds":1793889455,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac24cb98"} 
[2026-11-05 20: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-05 20:09: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-05 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 20:09: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-05 20: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-05 20: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-05 20:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":233670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":233670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":233670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 20:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235697408001,"66":27332,"31":206,"87":13824,"24":28,"16":40481028837474304,"45":8770267718444011520},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-11-05 20:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235697408001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:09:18] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-11-05 20:09:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 20:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40481028837474304,"km_value":40481028837474.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770267718444011520,"description":"Unknown IO ID 45"} 
[2026-11-05 20:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235697408001,"power":27332,"unknown_31":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8770267718444011520}} 
[2026-11-05 20:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":233670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:09:18] local.INFO: GPS data processed {"connection_id":233670,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:09:18] local.INFO: Acknowledgment sent {"connection_id":233670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:10:03] local.INFO: TCP Data received {"connection_id":230435,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:10:03] local.INFO: Processing buffer {"connection_id":230435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:10:03] local.INFO: IMEI packet received {"connection_id":230435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":230435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:10:03] local.INFO: TCP Data received {"connection_id":230435,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:10:03] local.INFO: Processing buffer {"connection_id":230435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:10:03] local.INFO: IMEI packet received {"connection_id":230435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":230435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:10:08] local.INFO: TCP Data received {"connection_id":230435,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:10:08] local.INFO: Processing buffer {"connection_id":230435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:10:08] local.INFO: IMEI packet received {"connection_id":230435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":230435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:10:08] local.INFO: TCP Data received {"connection_id":230435,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac250248012d79b2c005e73420000301662f..."} 
[2026-11-05 20:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac250248012d79b2c005e73420000301662f..."} 
[2026-11-05 20:10:08] local.INFO: Processing buffer {"connection_id":230435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac250248012d79b2c005e73420000301662f..."} 
[2026-11-05 20:10:08] local.INFO: Packet analysis {"connection_id":230435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac25"} 
[2026-11-05 20:10:08] local.INFO: Extracted packet for processing {"connection_id":230435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac25"} 
[2026-11-05 20:10:08] local.INFO: GPS Element Parsed {"raw_longitude":762950336,"raw_latitude":99038240,"longitude_deg":76.2950336,"latitude_deg":9.903824,"altitude":3,"angle":358,"satellites":47,"speed":26,"hex_longitude":"2d79b2c0","hex_latitude":"05e73420","is_valid_coordinates":true} 
[2026-11-05 20:10: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-05 20:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235700480001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40481462629171200,"note":"Value kept but may cause issues"} 
[2026-11-05 20:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769423293516161024,"note":"Value kept but may cause issues"} 
[2026-11-05 20:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793889469000,"timestamp_ms":1793889469000,"timestamp_seconds":1793889469,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac250248"} 
[2026-11-05 20:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:10: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-05 20:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 20:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":230435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":230435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":230435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:10:08] local.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-05 20:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235700480001,"66":27397,"31":206,"87":13824,"24":26,"16":40481462629171200,"45":8769423293516161024},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-11-05 20:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235700480001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:10:08] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-11-05 20:10:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 20:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40481462629171200,"km_value":40481462629171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769423293516161024,"description":"Unknown IO ID 45"} 
[2026-11-05 20:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235700480001,"power":27397,"unknown_31":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8769423293516161024}} 
[2026-11-05 20:10:08] 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":64484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:10:08] local.INFO: GPS data processed {"connection_id":230435,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:10:08] local.INFO: Acknowledgment sent {"connection_id":230435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:10:13] local.INFO: TCP Data received {"connection_id":230435,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac253128012d79b44005e759d8000400052d..."} 
[2026-11-05 20:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac253128012d79b44005e759d8000400052d..."} 
[2026-11-05 20:10:13] local.INFO: Processing buffer {"connection_id":230435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac253128012d79b44005e759d8000400052d..."} 
[2026-11-05 20:10:13] local.INFO: Packet analysis {"connection_id":230435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac25"} 
[2026-11-05 20:10:13] local.INFO: Extracted packet for processing {"connection_id":230435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac25"} 
[2026-11-05 20:10:13] local.INFO: GPS Element Parsed {"raw_longitude":762950720,"raw_latitude":99047896,"longitude_deg":76.295072,"latitude_deg":9.9047896,"altitude":4,"angle":5,"satellites":45,"speed":35,"hex_longitude":"2d79b440","hex_latitude":"05e759d8","is_valid_coordinates":true} 
[2026-11-05 20: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-05 20:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235704064001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40481930780606464,"note":"Value kept but may cause issues"} 
[2026-11-05 20:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769282556030099456,"note":"Value kept but may cause issues"} 
[2026-11-05 20:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793889481000,"timestamp_ms":1793889481000,"timestamp_seconds":1793889481,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac253128"} 
[2026-11-05 20: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-05 20:10: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-05 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 20:10:13] 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-05 20: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-05 20: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-05 20:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 20:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235704064001,"66":27397,"31":206,"87":13824,"24":35,"16":40481930780606464,"45":8769282556030099456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-11-05 20:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235704064001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:10:13] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-11-05 20:10:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 20:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40481930780606464,"km_value":40481930780606.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769282556030099456,"description":"Unknown IO ID 45"} 
[2026-11-05 20:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235704064001,"power":27397,"unknown_31":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8769282556030099456}} 
[2026-11-05 20:10:13] 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":64485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:10:13] local.INFO: GPS data processed {"connection_id":230435,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:10:13] local.INFO: Acknowledgment sent {"connection_id":230435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:10:47] local.INFO: TCP Data received {"connection_id":230435,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac26daf0012d79840005e86fa8000901482d..."} 
[2026-11-05 20:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac26daf0012d79840005e86fa8000901482d..."} 
[2026-11-05 20:10:47] local.INFO: Processing buffer {"connection_id":230435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac26daf0012d79840005e86fa8000901482d..."} 
[2026-11-05 20:10:47] local.INFO: Packet analysis {"connection_id":230435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac26"} 
[2026-11-05 20:10:47] local.INFO: Extracted packet for processing {"connection_id":230435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac26"} 
[2026-11-05 20:10:47] local.INFO: GPS Element Parsed {"raw_longitude":762938368,"raw_latitude":99119016,"longitude_deg":76.2938368,"latitude_deg":9.9119016,"altitude":9,"angle":328,"satellites":45,"speed":26,"hex_longitude":"2d798400","hex_latitude":"05e86fa8","is_valid_coordinates":true} 
[2026-11-05 20: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-05 20:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235732480001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40485495603462144,"note":"Value kept but may cause issues"} 
[2026-11-05 20:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8758093925725411328,"note":"Value kept but may cause issues"} 
[2026-11-05 20:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793889590000,"timestamp_ms":1793889590000,"timestamp_seconds":1793889590,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac26daf0"} 
[2026-11-05 20: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-05 20:10: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-05 20: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-05 20:10:47] 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-05 20: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-05 20: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-05 20:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 20:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235732480001,"66":27463,"142":206,"87":13824,"24":26,"16":40485495603462144,"45":8758093925725411328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,87,24,16,45]} 
[2026-11-05 20:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235732480001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:10:47] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-05 20:10:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 20:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40485495603462144,"km_value":40485495603462.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8758093925725411328,"description":"Unknown IO ID 45"} 
[2026-11-05 20:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235732480001,"power":27463,"unknown_142":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8758093925725411328}} 
[2026-11-05 20:10:47] 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":64486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:10:47] local.INFO: GPS data processed {"connection_id":230435,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:10:47] local.INFO: Acknowledgment sent {"connection_id":230435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:11:02] local.INFO: TCP Data received {"connection_id":231771,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:11:02] local.INFO: Processing buffer {"connection_id":231771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:11:02] local.INFO: IMEI packet received {"connection_id":231771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":231771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:11:09] local.INFO: TCP Data received {"connection_id":231771,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:11:09] local.INFO: Processing buffer {"connection_id":231771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:11:09] local.INFO: IMEI packet received {"connection_id":231771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":231771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:11:11] local.INFO: TCP Data received {"connection_id":231771,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac26ea90012d797d4005e87808000901372d..."} 
[2026-11-05 20:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac26ea90012d797d4005e87808000901372d..."} 
[2026-11-05 20:11:11] local.INFO: Processing buffer {"connection_id":231771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac26ea90012d797d4005e87808000901372d..."} 
[2026-11-05 20:11:11] local.INFO: Packet analysis {"connection_id":231771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac26"} 
[2026-11-05 20:11:11] local.INFO: Extracted packet for processing {"connection_id":231771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac26"} 
[2026-11-05 20:11:11] local.INFO: GPS Element Parsed {"raw_longitude":762936640,"raw_latitude":99121160,"longitude_deg":76.293664,"latitude_deg":9.912116,"altitude":9,"angle":311,"satellites":45,"speed":28,"hex_longitude":"2d797d40","hex_latitude":"05e87808","is_valid_coordinates":true} 
[2026-11-05 20:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235735040001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40485628747448320,"note":"Value kept but may cause issues"} 
[2026-11-05 20:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8756123600889554944,"note":"Value kept but may cause issues"} 
[2026-11-05 20:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793889594000,"timestamp_ms":1793889594000,"timestamp_seconds":1793889594,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac26ea90"} 
[2026-11-05 20:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:11: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-05 20:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 20:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 20:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235735040001,"66":27463,"142":206,"87":13824,"24":28,"16":40485628747448320,"45":8756123600889554944},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,87,24,16,45]} 
[2026-11-05 20:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235735040001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:11:11] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-05 20:11:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 20:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40485628747448320,"km_value":40485628747448.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8756123600889554944,"description":"Unknown IO ID 45"} 
[2026-11-05 20:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235735040001,"power":27463,"unknown_142":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8756123600889554944}} 
[2026-11-05 20:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":231771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:11:11] local.INFO: GPS data processed {"connection_id":231771,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:11:11] local.INFO: Acknowledgment sent {"connection_id":231771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:11:42] local.INFO: TCP Data received {"connection_id":231771,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac26f648012d79770005e87cc0000901292d..."} 
[2026-11-05 20:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac26f648012d79770005e87cc0000901292d..."} 
[2026-11-05 20:11:42] local.INFO: Processing buffer {"connection_id":231771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac26f648012d79770005e87cc0000901292d..."} 
[2026-11-05 20:11:42] local.INFO: Packet analysis {"connection_id":231771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac26"} 
[2026-11-05 20:11:42] local.INFO: Extracted packet for processing {"connection_id":231771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac26"} 
[2026-11-05 20:11:42] local.INFO: GPS Element Parsed {"raw_longitude":762935040,"raw_latitude":99122368,"longitude_deg":76.293504,"latitude_deg":9.9122368,"altitude":9,"angle":297,"satellites":45,"speed":25,"hex_longitude":"2d797700","hex_latitude":"05e87cc0","is_valid_coordinates":true} 
[2026-11-05 20:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235736064001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40485727531696128,"note":"Value kept but may cause issues"} 
[2026-11-05 20:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8754223644797306880,"note":"Value kept but may cause issues"} 
[2026-11-05 20:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793889597000,"timestamp_ms":1793889597000,"timestamp_seconds":1793889597,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac26f648"} 
[2026-11-05 20:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:11: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-05 20:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 20:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":231771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":231771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":231771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:11: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-05 20:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235736064001,"66":27267,"142":206,"87":13824,"24":25,"16":40485727531696128,"45":8754223644797306880},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,87,24,16,45]} 
[2026-11-05 20:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235736064001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:11:42] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-05 20:11:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 20:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40485727531696128,"km_value":40485727531696.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8754223644797306880,"description":"Unknown IO ID 45"} 
[2026-11-05 20:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235736064001,"power":27267,"unknown_142":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8754223644797306880}} 
[2026-11-05 20:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":231771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:11:42] local.INFO: GPS data processed {"connection_id":231771,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:11:42] local.INFO: Acknowledgment sent {"connection_id":231771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:12:02] local.INFO: TCP Data received {"connection_id":233671,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:12:02] local.INFO: Processing buffer {"connection_id":233671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:12:02] local.INFO: IMEI packet received {"connection_id":233671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":233671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:12:03] local.INFO: TCP Data received {"connection_id":233671,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:12:03] local.INFO: Processing buffer {"connection_id":233671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:12:03] local.INFO: IMEI packet received {"connection_id":233671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":233671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:12:07] local.INFO: TCP Data received {"connection_id":233671,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:12:07] local.INFO: Processing buffer {"connection_id":233671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:12:07] local.INFO: IMEI packet received {"connection_id":233671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":233671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:12:09] local.INFO: TCP Data received {"connection_id":233671,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac271970012d79630005e883a80007011d2c..."} 
[2026-11-05 20:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac271970012d79630005e883a80007011d2c..."} 
[2026-11-05 20:12:09] local.INFO: Processing buffer {"connection_id":233671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac271970012d79630005e883a80007011d2c..."} 
[2026-11-05 20:12:09] local.INFO: Packet analysis {"connection_id":233671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac27"} 
[2026-11-05 20:12:09] local.INFO: Extracted packet for processing {"connection_id":233671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac27"} 
[2026-11-05 20:12:09] local.INFO: GPS Element Parsed {"raw_longitude":762929920,"raw_latitude":99124136,"longitude_deg":76.292992,"latitude_deg":9.9124136,"altitude":7,"angle":285,"satellites":44,"speed":8,"hex_longitude":"2d796300","hex_latitude":"05e883a8","is_valid_coordinates":true} 
[2026-11-05 20:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235736832001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40485985229733888,"note":"Value kept but may cause issues"} 
[2026-11-05 20:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8752464426193174528,"note":"Value kept but may cause issues"} 
[2026-11-05 20:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793889606000,"timestamp_ms":1793889606000,"timestamp_seconds":1793889606,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac271970"} 
[2026-11-05 20:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 20:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 20:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":233671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":233671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":233671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:12:09] local.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-05 20:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235736832001,"66":27441,"142":206,"87":13824,"24":8,"16":40485985229733888,"45":8752464426193174528},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,87,24,16,45]} 
[2026-11-05 20:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235736832001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:12:09] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-05 20:12:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 20:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40485985229733888,"km_value":40485985229733.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8752464426193174528,"description":"Unknown IO ID 45"} 
[2026-11-05 20:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235736832001,"power":27441,"unknown_142":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8752464426193174528}} 
[2026-11-05 20:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":233671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:12:09] local.INFO: GPS data processed {"connection_id":233671,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:12:09] local.INFO: Acknowledgment sent {"connection_id":233671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:12:41] local.INFO: TCP Data received {"connection_id":233671,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac276b78012d79594005e886f0000401202e..."} 
[2026-11-05 20:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac276b78012d79594005e886f0000401202e..."} 
[2026-11-05 20:12:41] local.INFO: Processing buffer {"connection_id":233671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac276b78012d79594005e886f0000401202e..."} 
[2026-11-05 20:12:41] local.INFO: Packet analysis {"connection_id":233671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac27"} 
[2026-11-05 20:12:41] local.INFO: Extracted packet for processing {"connection_id":233671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac27"} 
[2026-11-05 20:12:41] local.INFO: GPS Element Parsed {"raw_longitude":762927424,"raw_latitude":99124976,"longitude_deg":76.2927424,"latitude_deg":9.9124976,"altitude":4,"angle":288,"satellites":46,"speed":9,"hex_longitude":"2d795940","hex_latitude":"05e886f0","is_valid_coordinates":true} 
[2026-11-05 20: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-05 20:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235739136001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40486114078752768,"note":"Value kept but may cause issues"} 
[2026-11-05 20:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8746834926659414016,"note":"Value kept but may cause issues"} 
[2026-11-05 20:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793889627000,"timestamp_ms":1793889627000,"timestamp_seconds":1793889627,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac276b78"} 
[2026-11-05 20: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-05 20:12: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-05 20: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":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-11-05 20:12:41] 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-05 20: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-05 20: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-05 20:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:12: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-05 20:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235739136001,"66":27332,"142":206,"87":13824,"24":9,"16":40486114078752768,"45":8746834926659414016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,87,24,16,45]} 
[2026-11-05 20:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235739136001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:12:41] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-05 20:12:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 20:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40486114078752768,"km_value":40486114078752.766,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8746834926659414016,"description":"Unknown IO ID 45"} 
[2026-11-05 20:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235739136001,"power":27332,"unknown_142":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8746834926659414016}} 
[2026-11-05 20:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":233671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:12:41] local.INFO: GPS data processed {"connection_id":233671,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:12:41] local.INFO: Acknowledgment sent {"connection_id":233671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:13:01] local.INFO: TCP Data received {"connection_id":231770,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231770,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:13:01] local.INFO: Processing buffer {"connection_id":231770,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:13:01] local.INFO: IMEI packet received {"connection_id":231770,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 20:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":231770,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:13:06] local.INFO: TCP Data received {"connection_id":233672,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:13:06] local.INFO: Processing buffer {"connection_id":233672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:13:06] local.INFO: IMEI packet received {"connection_id":233672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":233672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:13:07] local.INFO: TCP Data received {"connection_id":233672,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:13:07] local.INFO: Processing buffer {"connection_id":233672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:13:07] local.INFO: IMEI packet received {"connection_id":233672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":233672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:13:09] local.INFO: TCP Data received {"connection_id":233672,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:13:09] local.INFO: Processing buffer {"connection_id":233672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:13:09] local.INFO: IMEI packet received {"connection_id":233672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":233672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:13:10] local.INFO: TCP Data received {"connection_id":233672,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac27b998012d79358005e892280006011827..."} 
[2026-11-05 20:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac27b998012d79358005e892280006011827..."} 
[2026-11-05 20:13:10] local.INFO: Processing buffer {"connection_id":233672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac27b998012d79358005e892280006011827..."} 
[2026-11-05 20:13:10] local.INFO: Packet analysis {"connection_id":233672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac27"} 
[2026-11-05 20:13:10] local.INFO: Extracted packet for processing {"connection_id":233672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac27"} 
[2026-11-05 20:13:10] local.INFO: GPS Element Parsed {"raw_longitude":762918272,"raw_latitude":99127848,"longitude_deg":76.2918272,"latitude_deg":9.9127848,"altitude":6,"angle":280,"satellites":39,"speed":30,"hex_longitude":"2d793580","hex_latitude":"05e89228","is_valid_coordinates":true} 
[2026-11-05 20:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235744512001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40486573640253440,"note":"Value kept but may cause issues"} 
[2026-11-05 20:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8744090545636700160,"note":"Value kept but may cause issues"} 
[2026-11-05 20:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793889647000,"timestamp_ms":1793889647000,"timestamp_seconds":1793889647,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac27b998"} 
[2026-11-05 20:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 20:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 20:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:13: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-05 20:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235744512001,"66":27441,"142":206,"87":13824,"24":30,"16":40486573640253440,"45":8744090545636700160},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,87,24,16,45]} 
[2026-11-05 20:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235744512001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:13:10] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-05 20:13:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 20:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40486573640253440,"km_value":40486573640253.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8744090545636700160,"description":"Unknown IO ID 45"} 
[2026-11-05 20:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235744512001,"power":27441,"unknown_142":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8744090545636700160}} 
[2026-11-05 20:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":233672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:13:10] local.INFO: GPS data processed {"connection_id":233672,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:13:10] local.INFO: Acknowledgment sent {"connection_id":233672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:13:41] local.INFO: TCP Data received {"connection_id":233672,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac2953c0012d77f3c005e89b28000801242c..."} 
[2026-11-05 20:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac2953c0012d77f3c005e89b28000801242c..."} 
[2026-11-05 20:13:41] local.INFO: Processing buffer {"connection_id":233672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac2953c0012d77f3c005e89b28000801242c..."} 
[2026-11-05 20:13:41] local.INFO: Packet analysis {"connection_id":233672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac29"} 
[2026-11-05 20:13:41] local.INFO: Extracted packet for processing {"connection_id":233672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac29"} 
[2026-11-05 20:13:41] local.INFO: GPS Element Parsed {"raw_longitude":762835904,"raw_latitude":99130152,"longitude_deg":76.2835904,"latitude_deg":9.9130152,"altitude":8,"angle":292,"satellites":44,"speed":43,"hex_longitude":"2d77f3c0","hex_latitude":"05e89b28","is_valid_coordinates":true} 
[2026-11-05 20: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-05 20:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235775744001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40490563664871424,"note":"Value kept but may cause issues"} 
[2026-11-05 20:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8646840941184249856,"note":"Value kept but may cause issues"} 
[2026-11-05 20:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793889752000,"timestamp_ms":1793889752000,"timestamp_seconds":1793889752,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac2953c0"} 
[2026-11-05 20: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-05 20:13: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-05 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 20:13:41] 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-05 20: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-05 20: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-05 20:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":233672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":233672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":233672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:13: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-05 20:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235775744001,"66":27397,"109":206,"87":12288,"24":43,"16":40490563664871424,"45":8646840941184249856},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-11-05 20:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235775744001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:13:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-11-05 20:13:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-11-05 20:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40490563664871424,"km_value":40490563664871.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8646840941184249856,"description":"Unknown IO ID 45"} 
[2026-11-05 20:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235775744001,"power":27397,"unknown_109":206,"unknown_87":12288,"ignition":43,"odometer":null,"unknown_45":8646840941184249856}} 
[2026-11-05 20:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":233672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:13:41] local.INFO: GPS data processed {"connection_id":233672,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:13:41] local.INFO: Acknowledgment sent {"connection_id":233672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:14:02] local.INFO: TCP Data received {"connection_id":233673,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:14:02] local.INFO: Processing buffer {"connection_id":233673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:14:02] local.INFO: IMEI packet received {"connection_id":233673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":233673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:14:07] local.INFO: TCP Data received {"connection_id":233673,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:14:07] local.INFO: Processing buffer {"connection_id":233673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:14:07] local.INFO: IMEI packet received {"connection_id":233673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":233673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:14:08] local.INFO: TCP Data received {"connection_id":233673,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac297ad0012d77d10005e8aa18000601212c..."} 
[2026-11-05 20:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac297ad0012d77d10005e8aa18000601212c..."} 
[2026-11-05 20:14:08] local.INFO: Processing buffer {"connection_id":233673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac297ad0012d77d10005e8aa18000601212c..."} 
[2026-11-05 20:14:08] local.INFO: Packet analysis {"connection_id":233673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac29"} 
[2026-11-05 20:14:08] local.INFO: Extracted packet for processing {"connection_id":233673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac29"} 
[2026-11-05 20:14:08] local.INFO: GPS Element Parsed {"raw_longitude":762827008,"raw_latitude":99133976,"longitude_deg":76.2827008,"latitude_deg":9.9133976,"altitude":6,"angle":289,"satellites":44,"speed":35,"hex_longitude":"2d77d100","hex_latitude":"05e8aa18","is_valid_coordinates":true} 
[2026-11-05 20:14: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-05 20:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235776512001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40491031816306688,"note":"Value kept but may cause issues"} 
[2026-11-05 20:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8643463241463965696,"note":"Value kept but may cause issues"} 
[2026-11-05 20:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793889762000,"timestamp_ms":1793889762000,"timestamp_seconds":1793889762,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac297ad0"} 
[2026-11-05 20:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:14: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-05 20:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 20:14:08] 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-05 20:14: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-05 20:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":233673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":233673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":233673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:14:08] local.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-05 20:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235776512001,"66":27365,"129":206,"87":12288,"24":35,"16":40491031816306688,"45":8643463241463965696},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-11-05 20:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235776512001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:14:08] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-11-05 20:14:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-11-05 20:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40491031816306688,"km_value":40491031816306.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8643463241463965696,"description":"Unknown IO ID 45"} 
[2026-11-05 20:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235776512001,"power":27365,"unknown_129":206,"unknown_87":12288,"ignition":35,"odometer":null,"unknown_45":8643463241463965696}} 
[2026-11-05 20:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":233673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:14:08] local.INFO: GPS data processed {"connection_id":233673,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:14:08] local.INFO: Acknowledgment sent {"connection_id":233673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:14:39] local.INFO: TCP Data received {"connection_id":233673,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac29a5c8012d77af0005e8b3d00005011d2d..."} 
[2026-11-05 20:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac29a5c8012d77af0005e8b3d00005011d2d..."} 
[2026-11-05 20:14:39] local.INFO: Processing buffer {"connection_id":233673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac29a5c8012d77af0005e8b3d00005011d2d..."} 
[2026-11-05 20:14:39] local.INFO: Packet analysis {"connection_id":233673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac29"} 
[2026-11-05 20:14:39] local.INFO: Extracted packet for processing {"connection_id":233673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac29"} 
[2026-11-05 20:14:39] local.INFO: GPS Element Parsed {"raw_longitude":762818304,"raw_latitude":99136464,"longitude_deg":76.2818304,"latitude_deg":9.9136464,"altitude":5,"angle":285,"satellites":45,"speed":27,"hex_longitude":"2d77af00","hex_latitude":"05e8b3d0","is_valid_coordinates":true} 
[2026-11-05 20:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235779072001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40491461313036288,"note":"Value kept but may cause issues"} 
[2026-11-05 20:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8633681986024249344,"note":"Value kept but may cause issues"} 
[2026-11-05 20:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793889773000,"timestamp_ms":1793889773000,"timestamp_seconds":1793889773,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac29a5c8"} 
[2026-11-05 20:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:14: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-05 20:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 20:14:39] 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-05 20:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":233673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":233673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":233673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:14: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-05 20:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235779072001,"66":27376,"129":206,"87":12288,"24":27,"16":40491461313036288,"45":8633681986024249344},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-11-05 20:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235779072001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:14:39] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-11-05 20:14:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-11-05 20:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40491461313036288,"km_value":40491461313036.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8633681986024249344,"description":"Unknown IO ID 45"} 
[2026-11-05 20:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235779072001,"power":27376,"unknown_129":206,"unknown_87":12288,"ignition":27,"odometer":null,"unknown_45":8633681986024249344}} 
[2026-11-05 20:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":233673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:14:39] local.INFO: GPS data processed {"connection_id":233673,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:14:39] local.INFO: Acknowledgment sent {"connection_id":233673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:15:02] local.INFO: TCP Data received {"connection_id":229919,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:15:02] local.INFO: Processing buffer {"connection_id":229919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:15:02] local.INFO: IMEI packet received {"connection_id":229919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":229919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:15:07] local.INFO: TCP Data received {"connection_id":229919,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:15:07] local.INFO: Processing buffer {"connection_id":229919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:15:07] local.INFO: IMEI packet received {"connection_id":229919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":229919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:15:08] local.INFO: TCP Data received {"connection_id":229919,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac29d4a8012d778b4005e8bbc0000601162f..."} 
[2026-11-05 20:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac29d4a8012d778b4005e8bbc0000601162f..."} 
[2026-11-05 20:15:08] local.INFO: Processing buffer {"connection_id":229919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac29d4a8012d778b4005e8bbc0000601162f..."} 
[2026-11-05 20:15:08] local.INFO: Packet analysis {"connection_id":229919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac29"} 
[2026-11-05 20:15:08] local.INFO: Extracted packet for processing {"connection_id":229919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac29"} 
[2026-11-05 20:15:08] local.INFO: GPS Element Parsed {"raw_longitude":762809152,"raw_latitude":99138496,"longitude_deg":76.2809152,"latitude_deg":9.9138496,"altitude":6,"angle":278,"satellites":47,"speed":33,"hex_longitude":"2d778b40","hex_latitude":"05e8bbc0","is_valid_coordinates":true} 
[2026-11-05 20:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235781888001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40491912284602368,"note":"Value kept but may cause issues"} 
[2026-11-05 20:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8624111836816723968,"note":"Value kept but may cause issues"} 
[2026-11-05 20:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793889785000,"timestamp_ms":1793889785000,"timestamp_seconds":1793889785,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac29d4a8"} 
[2026-11-05 20:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 20:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 20:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":229919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":229919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":229919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:15:08] local.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-05 20:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235781888001,"66":27321,"129":206,"87":12288,"24":33,"16":40491912284602368,"45":8624111836816723968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-11-05 20:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235781888001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:15:08] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-11-05 20:15:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-11-05 20:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40491912284602368,"km_value":40491912284602.37,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8624111836816723968,"description":"Unknown IO ID 45"} 
[2026-11-05 20:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235781888001,"power":27321,"unknown_129":206,"unknown_87":12288,"ignition":33,"odometer":null,"unknown_45":8624111836816723968}} 
[2026-11-05 20:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":229919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:15:08] local.INFO: GPS data processed {"connection_id":229919,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:15:08] local.INFO: Acknowledgment sent {"connection_id":229919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:15:40] local.INFO: TCP Data received {"connection_id":229919,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac2a0770012d77660005e8bed00006010d2e..."} 
[2026-11-05 20:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac2a0770012d77660005e8bed00006010d2e..."} 
[2026-11-05 20:15:40] local.INFO: Processing buffer {"connection_id":229919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac2a0770012d77660005e8bed00006010d2e..."} 
[2026-11-05 20:15:40] local.INFO: Packet analysis {"connection_id":229919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac2a"} 
[2026-11-05 20:15:40] local.INFO: Extracted packet for processing {"connection_id":229919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac2a"} 
[2026-11-05 20:15:40] local.INFO: GPS Element Parsed {"raw_longitude":762799616,"raw_latitude":99139280,"longitude_deg":76.2799616,"latitude_deg":9.913928,"altitude":6,"angle":269,"satellites":46,"speed":30,"hex_longitude":"2d776600","hex_latitude":"05e8bed0","is_valid_coordinates":true} 
[2026-11-05 20:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235784960001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40492367551135744,"note":"Value kept but may cause issues"} 
[2026-11-05 20:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8614049106399838208,"note":"Value kept but may cause issues"} 
[2026-11-05 20:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793889798000,"timestamp_ms":1793889798000,"timestamp_seconds":1793889798,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac2a0770"} 
[2026-11-05 20:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:15: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-05 20:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 20:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:15: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-05 20:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235784960001,"66":27397,"129":206,"87":12288,"24":30,"16":40492367551135744,"45":8614049106399838208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-11-05 20:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235784960001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:15:40] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-11-05 20:15:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-11-05 20:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40492367551135744,"km_value":40492367551135.74,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8614049106399838208,"description":"Unknown IO ID 45"} 
[2026-11-05 20:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235784960001,"power":27397,"unknown_129":206,"unknown_87":12288,"ignition":30,"odometer":null,"unknown_45":8614049106399838208}} 
[2026-11-05 20:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":229919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:15:40] local.INFO: GPS data processed {"connection_id":229919,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:15:40] local.INFO: Acknowledgment sent {"connection_id":229919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:16:02] local.INFO: TCP Data received {"connection_id":230437,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:16:02] local.INFO: Processing buffer {"connection_id":230437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:16:02] local.INFO: IMEI packet received {"connection_id":230437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":230437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:16:04] local.INFO: TCP Data received {"connection_id":230437,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:16:04] local.INFO: Processing buffer {"connection_id":230437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:16:04] local.INFO: IMEI packet received {"connection_id":230437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":230437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:16:07] local.INFO: TCP Data received {"connection_id":230437,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:16:07] local.INFO: Processing buffer {"connection_id":230437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:16:07] local.INFO: IMEI packet received {"connection_id":230437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":230437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:16:08] local.INFO: TCP Data received {"connection_id":230437,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac2a3e20012d77414005e8bd00000701112d..."} 
[2026-11-05 20:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac2a3e20012d77414005e8bd00000701112d..."} 
[2026-11-05 20:16:08] local.INFO: Processing buffer {"connection_id":230437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac2a3e20012d77414005e8bd00000701112d..."} 
[2026-11-05 20:16:08] local.INFO: Packet analysis {"connection_id":230437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac2a"} 
[2026-11-05 20:16:08] local.INFO: Extracted packet for processing {"connection_id":230437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac2a"} 
[2026-11-05 20:16:08] local.INFO: GPS Element Parsed {"raw_longitude":762790208,"raw_latitude":99138816,"longitude_deg":76.2790208,"latitude_deg":9.9138816,"altitude":7,"angle":273,"satellites":45,"speed":16,"hex_longitude":"2d774140","hex_latitude":"05e8bd00","is_valid_coordinates":true} 
[2026-11-05 20:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235788288001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40492818522701824,"note":"Value kept but may cause issues"} 
[2026-11-05 20:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8603564163517566976,"note":"Value kept but may cause issues"} 
[2026-11-05 20:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793889812000,"timestamp_ms":1793889812000,"timestamp_seconds":1793889812,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac2a3e20"} 
[2026-11-05 20:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:16: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-05 20:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 20:16:08] 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-05 20:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":230437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":230437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":230437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:16:08] local.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-05 20:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235788288001,"66":27376,"129":206,"87":12288,"24":16,"16":40492818522701824,"45":8603564163517566976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-11-05 20:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235788288001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:16:08] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-11-05 20:16:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-11-05 20:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40492818522701824,"km_value":40492818522701.82,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8603564163517566976,"description":"Unknown IO ID 45"} 
[2026-11-05 20:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235788288001,"power":27376,"unknown_129":206,"unknown_87":12288,"ignition":16,"odometer":null,"unknown_45":8603564163517566976}} 
[2026-11-05 20:16:08] 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":64497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:16:08] local.INFO: GPS data processed {"connection_id":230437,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:16:08] local.INFO: Acknowledgment sent {"connection_id":230437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:16:39] local.INFO: TCP Data received {"connection_id":230437,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac2bfb70012d76b04005e94310000a015230..."} 
[2026-11-05 20:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac2bfb70012d76b04005e94310000a015230..."} 
[2026-11-05 20:16:39] local.INFO: Processing buffer {"connection_id":230437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac2bfb70012d76b04005e94310000a015230..."} 
[2026-11-05 20:16:39] local.INFO: Packet analysis {"connection_id":230437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac2b"} 
[2026-11-05 20:16:39] local.INFO: Extracted packet for processing {"connection_id":230437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac2b"} 
[2026-11-05 20:16:39] local.INFO: GPS Element Parsed {"raw_longitude":762753088,"raw_latitude":99173136,"longitude_deg":76.2753088,"latitude_deg":9.9173136,"altitude":10,"angle":338,"satellites":48,"speed":30,"hex_longitude":"2d76b040","hex_latitude":"05e94310","is_valid_coordinates":true} 
[2026-11-05 20:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235816704001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40495794935037952,"note":"Value kept but may cause issues"} 
[2026-11-05 20:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8556135629948301312,"note":"Value kept but may cause issues"} 
[2026-11-05 20:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793889926000,"timestamp_ms":1793889926000,"timestamp_seconds":1793889926,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac2bfb70"} 
[2026-11-05 20:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:16: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-05 20:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-11-05 20:16:39] 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-05 20:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":230437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":230437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":230437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:16: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-05 20:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235816704001,"66":27463,"100":206,"87":12288,"24":30,"16":40495794935037952,"45":8556135629948301312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-11-05 20:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235816704001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:16:39] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-11-05 20:16:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-11-05 20:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40495794935037952,"km_value":40495794935037.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8556135629948301312,"description":"Unknown IO ID 45"} 
[2026-11-05 20:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235816704001,"power":27463,"unknown_100":206,"unknown_87":12288,"ignition":30,"odometer":null,"unknown_45":8556135629948301312}} 
[2026-11-05 20:16:39] 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":64498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:16:39] local.INFO: GPS data processed {"connection_id":230437,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:16:39] local.INFO: Acknowledgment sent {"connection_id":230437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:17:02] local.INFO: TCP Data received {"connection_id":231772,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:17:02] local.INFO: Processing buffer {"connection_id":231772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:17:02] local.INFO: IMEI packet received {"connection_id":231772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":231772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:17:03] local.INFO: TCP Data received {"connection_id":231772,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:17:03] local.INFO: Processing buffer {"connection_id":231772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:17:03] local.INFO: IMEI packet received {"connection_id":231772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":231772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:17:07] local.INFO: TCP Data received {"connection_id":231772,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:17:07] local.INFO: Processing buffer {"connection_id":231772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:17:07] local.INFO: IMEI packet received {"connection_id":231772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":231772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:17:09] local.INFO: TCP Data received {"connection_id":231772,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac2c2e38012d76a30005e965f0000a01522c..."} 
[2026-11-05 20:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac2c2e38012d76a30005e965f0000a01522c..."} 
[2026-11-05 20:17:09] local.INFO: Processing buffer {"connection_id":231772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac2c2e38012d76a30005e965f0000a01522c..."} 
[2026-11-05 20:17:09] local.INFO: Packet analysis {"connection_id":231772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac2c"} 
[2026-11-05 20:17:09] local.INFO: Extracted packet for processing {"connection_id":231772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac2c"} 
[2026-11-05 20:17:09] local.INFO: GPS Element Parsed {"raw_longitude":762749696,"raw_latitude":99182064,"longitude_deg":76.2749696,"latitude_deg":9.9182064,"altitude":10,"angle":338,"satellites":44,"speed":27,"hex_longitude":"2d76a300","hex_latitude":"05e965f0","is_valid_coordinates":true} 
[2026-11-05 20:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235821056001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40496258791505920,"note":"Value kept but may cause issues"} 
[2026-11-05 20:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8552406086509072384,"note":"Value kept but may cause issues"} 
[2026-11-05 20:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793889939000,"timestamp_ms":1793889939000,"timestamp_seconds":1793889939,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac2c2e38"} 
[2026-11-05 20:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 20:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 20:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:17:09] local.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-05 20:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235821056001,"66":27397,"100":206,"87":12288,"24":27,"16":40496258791505920,"45":8552406086509072384},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-11-05 20:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235821056001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:17:09] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-11-05 20:17:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-11-05 20:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40496258791505920,"km_value":40496258791505.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8552406086509072384,"description":"Unknown IO ID 45"} 
[2026-11-05 20:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235821056001,"power":27397,"unknown_100":206,"unknown_87":12288,"ignition":27,"odometer":null,"unknown_45":8552406086509072384}} 
[2026-11-05 20:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":231772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:17:09] local.INFO: GPS data processed {"connection_id":231772,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:17:09] local.INFO: Acknowledgment sent {"connection_id":231772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:17:41] local.INFO: TCP Data received {"connection_id":231772,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac2c68d0012d76960005e98720000a01522f..."} 
[2026-11-05 20:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac2c68d0012d76960005e98720000a01522f..."} 
[2026-11-05 20:17:41] local.INFO: Processing buffer {"connection_id":231772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac2c68d0012d76960005e98720000a01522f..."} 
[2026-11-05 20:17:41] local.INFO: Packet analysis {"connection_id":231772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac2c"} 
[2026-11-05 20:17:41] local.INFO: Extracted packet for processing {"connection_id":231772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac2c"} 
[2026-11-05 20:17:41] local.INFO: GPS Element Parsed {"raw_longitude":762746368,"raw_latitude":99190560,"longitude_deg":76.2746368,"latitude_deg":9.919056,"altitude":10,"angle":338,"satellites":47,"speed":23,"hex_longitude":"2d769600","hex_latitude":"05e98720","is_valid_coordinates":true} 
[2026-11-05 20:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235824384001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40496701173137408,"note":"Value kept but may cause issues"} 
[2026-11-05 20:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8548676543069941760,"note":"Value kept but may cause issues"} 
[2026-11-05 20:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793889954000,"timestamp_ms":1793889954000,"timestamp_seconds":1793889954,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac2c68d0"} 
[2026-11-05 20:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:17: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-05 20:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 20:17:41] 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-05 20:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":231772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":231772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":231772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 20:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235824384001,"66":27517,"101":206,"87":12288,"24":23,"16":40496701173137408,"45":8548676543069941760},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,87,24,16,45]} 
[2026-11-05 20:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235824384001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:17:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-11-05 20:17:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-11-05 20:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40496701173137408,"km_value":40496701173137.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8548676543069941760,"description":"Unknown IO ID 45"} 
[2026-11-05 20:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235824384001,"power":27517,"unknown_101":206,"unknown_87":12288,"ignition":23,"odometer":null,"unknown_45":8548676543069941760}} 
[2026-11-05 20:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":231772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:17:41] local.INFO: GPS data processed {"connection_id":231772,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:17:41] local.INFO: Acknowledgment sent {"connection_id":231772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:18:05] local.INFO: TCP Data received {"connection_id":229920,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:18:05] local.INFO: Processing buffer {"connection_id":229920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:18:05] local.INFO: IMEI packet received {"connection_id":229920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":229920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:18:07] local.INFO: TCP Data received {"connection_id":229920,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:18:07] local.INFO: Processing buffer {"connection_id":229920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:18:07] local.INFO: IMEI packet received {"connection_id":229920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":229920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:18:12] local.INFO: TCP Data received {"connection_id":229920,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:18:12] local.INFO: Processing buffer {"connection_id":229920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:18:12] local.INFO: IMEI packet received {"connection_id":229920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":229920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:18:13] local.INFO: TCP Data received {"connection_id":229920,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac2caf20012d76880005e9a8a0000901502f..."} 
[2026-11-05 20:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac2caf20012d76880005e9a8a0000901502f..."} 
[2026-11-05 20:18:13] local.INFO: Processing buffer {"connection_id":229920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac2caf20012d76880005e9a8a0000901502f..."} 
[2026-11-05 20:18:13] local.INFO: Packet analysis {"connection_id":229920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac2c"} 
[2026-11-05 20:18:13] local.INFO: Extracted packet for processing {"connection_id":229920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac2c"} 
[2026-11-05 20:18:13] local.INFO: GPS Element Parsed {"raw_longitude":762742784,"raw_latitude":99199136,"longitude_deg":76.2742784,"latitude_deg":9.9199136,"altitude":9,"angle":336,"satellites":47,"speed":20,"hex_longitude":"2d768800","hex_latitude":"05e9a8a0","is_valid_coordinates":true} 
[2026-11-05 20: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-05 20:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235828224001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40497152144703488,"note":"Value kept but may cause issues"} 
[2026-11-05 20:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8545017368374878208,"note":"Value kept but may cause issues"} 
[2026-11-05 20:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793889972000,"timestamp_ms":1793889972000,"timestamp_seconds":1793889972,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac2caf20"} 
[2026-11-05 20: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-05 20:18: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-05 20: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-05 20:18: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-05 20: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-05 20: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-05 20:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 20:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235828224001,"66":27310,"103":206,"87":12288,"24":20,"16":40497152144703488,"45":8545017368374878208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,87,24,16,45]} 
[2026-11-05 20:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235828224001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:18:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-11-05 20:18:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-11-05 20:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40497152144703488,"km_value":40497152144703.484,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8545017368374878208,"description":"Unknown IO ID 45"} 
[2026-11-05 20:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235828224001,"power":27310,"unknown_103":206,"unknown_87":12288,"ignition":20,"odometer":null,"unknown_45":8545017368374878208}} 
[2026-11-05 20:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":229920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:18:13] local.INFO: GPS data processed {"connection_id":229920,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:18:13] local.INFO: Acknowledgment sent {"connection_id":229920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:18:18] local.INFO: TCP Data received {"connection_id":229920,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac2ce1e8012d7677c005e9c9380009014e2c..."} 
[2026-11-05 20:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac2ce1e8012d7677c005e9c9380009014e2c..."} 
[2026-11-05 20:18:18] local.INFO: Processing buffer {"connection_id":229920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac2ce1e8012d7677c005e9c9380009014e2c..."} 
[2026-11-05 20:18:18] local.INFO: Packet analysis {"connection_id":229920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac2c"} 
[2026-11-05 20:18:18] local.INFO: Extracted packet for processing {"connection_id":229920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac2c"} 
[2026-11-05 20:18:18] local.INFO: GPS Element Parsed {"raw_longitude":762738624,"raw_latitude":99207480,"longitude_deg":76.2738624,"latitude_deg":9.920748,"altitude":9,"angle":334,"satellites":44,"speed":30,"hex_longitude":"2d7677c0","hex_latitude":"05e9c938","is_valid_coordinates":true} 
[2026-11-05 20: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-05 20:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235832832001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40497603116269568,"note":"Value kept but may cause issues"} 
[2026-11-05 20:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8541076718703124480,"note":"Value kept but may cause issues"} 
[2026-11-05 20:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793889985000,"timestamp_ms":1793889985000,"timestamp_seconds":1793889985,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac2ce1e8"} 
[2026-11-05 20: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-05 20: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-05 20: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-11-05 20:18:18] 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-05 20: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-05 20: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-05 20:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 20:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235832832001,"66":27463,"103":206,"87":12288,"24":30,"16":40497603116269568,"45":8541076718703124480},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,87,24,16,45]} 
[2026-11-05 20:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235832832001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:18:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-11-05 20:18:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-11-05 20:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40497603116269568,"km_value":40497603116269.57,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8541076718703124480,"description":"Unknown IO ID 45"} 
[2026-11-05 20:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235832832001,"power":27463,"unknown_103":206,"unknown_87":12288,"ignition":30,"odometer":null,"unknown_45":8541076718703124480}} 
[2026-11-05 20:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":229920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:18:18] local.INFO: GPS data processed {"connection_id":229920,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:18:18] local.INFO: Acknowledgment sent {"connection_id":229920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:18:37] local.INFO: TCP Data received {"connection_id":230436,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:18:37] local.INFO: Processing buffer {"connection_id":230436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:18:37] local.INFO: IMEI packet received {"connection_id":230436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 20:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":230436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:19:02] local.INFO: TCP Data received {"connection_id":231773,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:19:02] local.INFO: Processing buffer {"connection_id":231773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:19:02] local.INFO: IMEI packet received {"connection_id":231773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":231773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:19:04] local.INFO: TCP Data received {"connection_id":231773,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:19:04] local.INFO: Processing buffer {"connection_id":231773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:19:04] local.INFO: IMEI packet received {"connection_id":231773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":231773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:19:05] local.INFO: TCP Data received {"connection_id":231773,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac2d2450012d766a4005e9eab0000a015430..."} 
[2026-11-05 20:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac2d2450012d766a4005e9eab0000a015430..."} 
[2026-11-05 20:19:05] local.INFO: Processing buffer {"connection_id":231773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac2d2450012d766a4005e9eab0000a015430..."} 
[2026-11-05 20:19:05] local.INFO: Packet analysis {"connection_id":231773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac2d"} 
[2026-11-05 20:19:05] local.INFO: Extracted packet for processing {"connection_id":231773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac2d"} 
[2026-11-05 20:19:05] local.INFO: GPS Element Parsed {"raw_longitude":762735168,"raw_latitude":99216048,"longitude_deg":76.2735168,"latitude_deg":9.9216048,"altitude":10,"angle":340,"satellites":48,"speed":29,"hex_longitude":"2d766a40","hex_latitude":"05e9eab0","is_valid_coordinates":true} 
[2026-11-05 20:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235836160001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40498049792868352,"note":"Value kept but may cause issues"} 
[2026-11-05 20:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8536502750333712384,"note":"Value kept but may cause issues"} 
[2026-11-05 20:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793890002000,"timestamp_ms":1793890002000,"timestamp_seconds":1793890002,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac2d2450"} 
[2026-11-05 20:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 20:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 20:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":231773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":231773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":231773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 20:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235836160001,"66":27365,"103":206,"87":12288,"24":29,"16":40498049792868352,"45":8536502750333712384},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,87,24,16,45]} 
[2026-11-05 20:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235836160001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:19:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-11-05 20:19:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-11-05 20:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40498049792868352,"km_value":40498049792868.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8536502750333712384,"description":"Unknown IO ID 45"} 
[2026-11-05 20:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235836160001,"power":27365,"unknown_103":206,"unknown_87":12288,"ignition":29,"odometer":null,"unknown_45":8536502750333712384}} 
[2026-11-05 20:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":231773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:19:05] local.INFO: GPS data processed {"connection_id":231773,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:19:05] local.INFO: Acknowledgment sent {"connection_id":231773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:19:36] local.INFO: TCP Data received {"connection_id":231773,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac2eed58012d75e2c005eb00a8000901522b..."} 
[2026-11-05 20:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac2eed58012d75e2c005eb00a8000901522b..."} 
[2026-11-05 20:19:36] local.INFO: Processing buffer {"connection_id":231773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac2eed58012d75e2c005eb00a8000901522b..."} 
[2026-11-05 20:19:36] local.INFO: Packet analysis {"connection_id":231773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac2e"} 
[2026-11-05 20:19:36] local.INFO: Extracted packet for processing {"connection_id":231773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac2e"} 
[2026-11-05 20:19:36] local.INFO: GPS Element Parsed {"raw_longitude":762700480,"raw_latitude":99287208,"longitude_deg":76.270048,"latitude_deg":9.9287208,"altitude":9,"angle":338,"satellites":43,"speed":28,"hex_longitude":"2d75e2c0","hex_latitude":"05eb00a8","is_valid_coordinates":true} 
[2026-11-05 20:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235869952001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40501962508075008,"note":"Value kept but may cause issues"} 
[2026-11-05 20:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8495337035009884160,"note":"Value kept but may cause issues"} 
[2026-11-05 20:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1793890119000,"timestamp_ms":1793890119000,"timestamp_seconds":1793890119,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac2eed58"} 
[2026-11-05 20:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 20:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 20:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":231773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":231773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":231773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 20:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235869952001,"66":27463,"192":206,"87":12288,"24":28,"16":40501962508075008,"45":8495337035009884160},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-11-05 20:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235869952001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:19:36] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-11-05 20:19:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-11-05 20:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40501962508075008,"km_value":40501962508075.01,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8495337035009884160,"description":"Unknown IO ID 45"} 
[2026-11-05 20:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235869952001,"power":27463,"unknown_192":206,"unknown_87":12288,"ignition":28,"odometer":null,"unknown_45":8495337035009884160}} 
[2026-11-05 20:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":231773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:19:36] local.INFO: GPS data processed {"connection_id":231773,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:19:36] local.INFO: Acknowledgment sent {"connection_id":231773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:20:02] local.INFO: TCP Data received {"connection_id":231774,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:20:02] local.INFO: Processing buffer {"connection_id":231774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:20:02] local.INFO: IMEI packet received {"connection_id":231774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":231774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:20:04] local.INFO: TCP Data received {"connection_id":231774,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:20:04] local.INFO: Processing buffer {"connection_id":231774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:20:04] local.INFO: IMEI packet received {"connection_id":231774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":231774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:20:07] local.INFO: TCP Data received {"connection_id":231774,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:20:07] local.INFO: Processing buffer {"connection_id":231774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:20:07] local.INFO: IMEI packet received {"connection_id":231774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":231774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:20:09] local.INFO: TCP Data received {"connection_id":231774,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac2f2020012d75d34005eb21700008014b2d..."} 
[2026-11-05 20:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac2f2020012d75d34005eb21700008014b2d..."} 
[2026-11-05 20:20:09] local.INFO: Processing buffer {"connection_id":231774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac2f2020012d75d34005eb21700008014b2d..."} 
[2026-11-05 20:20:09] local.INFO: Packet analysis {"connection_id":231774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac2f"} 
[2026-11-05 20:20:09] local.INFO: Extracted packet for processing {"connection_id":231774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac2f"} 
[2026-11-05 20:20:09] local.INFO: GPS Element Parsed {"raw_longitude":762696512,"raw_latitude":99295600,"longitude_deg":76.2696512,"latitude_deg":9.92956,"altitude":8,"angle":331,"satellites":45,"speed":28,"hex_longitude":"2d75d340","hex_latitude":"05eb2170","is_valid_coordinates":true} 
[2026-11-05 20:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235870464001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40502413479641088,"note":"Value kept but may cause issues"} 
[2026-11-05 20:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8494562978824235008,"note":"Value kept but may cause issues"} 
[2026-11-05 20:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793890132000,"timestamp_ms":1793890132000,"timestamp_seconds":1793890132,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac2f2020"} 
[2026-11-05 20:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 20:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 20:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:20:09] local.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-05 20:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235870464001,"66":27267,"192":206,"87":12288,"24":28,"16":40502413479641088,"45":8494562978824235008},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-11-05 20:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235870464001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:20:09] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-11-05 20:20:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-11-05 20:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40502413479641088,"km_value":40502413479641.086,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8494562978824235008,"description":"Unknown IO ID 45"} 
[2026-11-05 20:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235870464001,"power":27267,"unknown_192":206,"unknown_87":12288,"ignition":28,"odometer":null,"unknown_45":8494562978824235008}} 
[2026-11-05 20:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":231774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:20:09] local.INFO: GPS data processed {"connection_id":231774,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:20:09] local.INFO: Acknowledgment sent {"connection_id":231774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:20:10] local.INFO: TCP Data received {"connection_id":231774,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac2f2fc0012d75cd4005eb29d8000901392d..."} 
[2026-11-05 20:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac2f2fc0012d75cd4005eb29d8000901392d..."} 
[2026-11-05 20:20:10] local.INFO: Processing buffer {"connection_id":231774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac2f2fc0012d75cd4005eb29d8000901392d..."} 
[2026-11-05 20:20:10] local.INFO: Packet analysis {"connection_id":231774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac2f"} 
[2026-11-05 20:20:10] local.INFO: Extracted packet for processing {"connection_id":231774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac2f"} 
[2026-11-05 20:20:10] local.INFO: GPS Element Parsed {"raw_longitude":762694976,"raw_latitude":99297752,"longitude_deg":76.2694976,"latitude_deg":9.9297752,"altitude":9,"angle":313,"satellites":45,"speed":27,"hex_longitude":"2d75cd40","hex_latitude":"05eb29d8","is_valid_coordinates":true} 
[2026-11-05 20:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235873792001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40502542328659968,"note":"Value kept but may cause issues"} 
[2026-11-05 20:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8490200116687368192,"note":"Value kept but may cause issues"} 
[2026-11-05 20:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793890136000,"timestamp_ms":1793890136000,"timestamp_seconds":1793890136,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac2f2fc0"} 
[2026-11-05 20:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:20: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-05 20:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 20:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":231774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":231774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":231774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:20: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-05 20:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235873792001,"66":27484,"193":206,"87":12288,"24":27,"16":40502542328659968,"45":8490200116687368192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,87,24,16,45]} 
[2026-11-05 20:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235873792001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:20:10] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-11-05 20:20:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-11-05 20:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40502542328659968,"km_value":40502542328659.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8490200116687368192,"description":"Unknown IO ID 45"} 
[2026-11-05 20:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235873792001,"power":27484,"unknown_193":206,"unknown_87":12288,"ignition":27,"odometer":null,"unknown_45":8490200116687368192}} 
[2026-11-05 20:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":231774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:20:10] local.INFO: GPS data processed {"connection_id":231774,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:20:10] local.INFO: Acknowledgment sent {"connection_id":231774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:20:46] local.INFO: TCP Data received {"connection_id":231774,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac2fef28012d757dc005eb66c80008003c2f..."} 
[2026-11-05 20:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac2fef28012d757dc005eb66c80008003c2f..."} 
[2026-11-05 20:20:46] local.INFO: Processing buffer {"connection_id":231774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac2fef28012d757dc005eb66c80008003c2f..."} 
[2026-11-05 20:20:46] local.INFO: Packet analysis {"connection_id":231774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac2f"} 
[2026-11-05 20:20:46] local.INFO: Extracted packet for processing {"connection_id":231774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac2f"} 
[2026-11-05 20:20:46] local.INFO: GPS Element Parsed {"raw_longitude":762674624,"raw_latitude":99313352,"longitude_deg":76.2674624,"latitude_deg":9.9313352,"altitude":8,"angle":60,"satellites":47,"speed":15,"hex_longitude":"2d757dc0","hex_latitude":"05eb66c8","is_valid_coordinates":true} 
[2026-11-05 20: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-05 20:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235887104001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40503878063489024,"note":"Value kept but may cause issues"} 
[2026-11-05 20:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8465782162462208000,"note":"Value kept but may cause issues"} 
[2026-11-05 20:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793890185000,"timestamp_ms":1793890185000,"timestamp_seconds":1793890185,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac2fef28"} 
[2026-11-05 20: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-05 20:20: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-05 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 20:20:46] 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-05 20: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-05 20: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-05 20:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":231774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":231774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":231774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:20: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-05 20:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235887104001,"66":27484,"193":206,"87":12288,"24":15,"16":40503878063489024,"45":8465782162462208000},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,87,24,16,45]} 
[2026-11-05 20:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235887104001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:20:46] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-11-05 20:20:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-11-05 20:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40503878063489024,"km_value":40503878063489.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8465782162462208000,"description":"Unknown IO ID 45"} 
[2026-11-05 20:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235887104001,"power":27484,"unknown_193":206,"unknown_87":12288,"ignition":15,"odometer":null,"unknown_45":8465782162462208000}} 
[2026-11-05 20:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":231774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:20:46] local.INFO: GPS data processed {"connection_id":231774,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:20:46] local.INFO: Acknowledgment sent {"connection_id":231774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:21:02] local.INFO: TCP Data received {"connection_id":229921,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:21:02] local.INFO: Processing buffer {"connection_id":229921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:21:02] local.INFO: IMEI packet received {"connection_id":229921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":229921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:21:07] local.INFO: TCP Data received {"connection_id":229921,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:21:07] local.INFO: Processing buffer {"connection_id":229921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:21:07] local.INFO: IMEI packet received {"connection_id":229921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":229921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:21:08] local.INFO: TCP Data received {"connection_id":229921,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac2ff310012d757f4005eb6780000800472e..."} 
[2026-11-05 20:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac2ff310012d757f4005eb6780000800472e..."} 
[2026-11-05 20:21:08] local.INFO: Processing buffer {"connection_id":229921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac2ff310012d757f4005eb6780000800472e..."} 
[2026-11-05 20:21:08] local.INFO: Packet analysis {"connection_id":229921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac2f"} 
[2026-11-05 20:21:08] local.INFO: Extracted packet for processing {"connection_id":229921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac2f"} 
[2026-11-05 20:21:08] local.INFO: GPS Element Parsed {"raw_longitude":762675008,"raw_latitude":99313536,"longitude_deg":76.2675008,"latitude_deg":9.9313536,"altitude":8,"angle":71,"satellites":46,"speed":17,"hex_longitude":"2d757f40","hex_latitude":"05eb6780","is_valid_coordinates":true} 
[2026-11-05 20:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235887360001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40503899538325504,"note":"Value kept but may cause issues"} 
[2026-11-05 20:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8466134006183151616,"note":"Value kept but may cause issues"} 
[2026-11-05 20:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793890186000,"timestamp_ms":1793890186000,"timestamp_seconds":1793890186,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac2ff310"} 
[2026-11-05 20:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:21: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-05 20:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 20:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":229921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":229921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":229921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:21:08] local.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-05 20:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235887360001,"66":27484,"193":206,"87":12288,"24":17,"16":40503899538325504,"45":8466134006183151616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,87,24,16,45]} 
[2026-11-05 20:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235887360001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:21:08] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-11-05 20:21:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-11-05 20:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40503899538325504,"km_value":40503899538325.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8466134006183151616,"description":"Unknown IO ID 45"} 
[2026-11-05 20:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235887360001,"power":27484,"unknown_193":206,"unknown_87":12288,"ignition":17,"odometer":null,"unknown_45":8466134006183151616}} 
[2026-11-05 20:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":229921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:21:08] local.INFO: GPS data processed {"connection_id":229921,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:21:08] local.INFO: Acknowledgment sent {"connection_id":229921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:21:40] local.INFO: TCP Data received {"connection_id":229921,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac3002b0012d7586c005eb6ae00009003b2f..."} 
[2026-11-05 20:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac3002b0012d7586c005eb6ae00009003b2f..."} 
[2026-11-05 20:21:40] local.INFO: Processing buffer {"connection_id":229921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac3002b0012d7586c005eb6ae00009003b2f..."} 
[2026-11-05 20:21:40] local.INFO: Packet analysis {"connection_id":229921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac30"} 
[2026-11-05 20:21:40] local.INFO: Extracted packet for processing {"connection_id":229921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac30"} 
[2026-11-05 20:21:40] local.INFO: GPS Element Parsed {"raw_longitude":762676928,"raw_latitude":99314400,"longitude_deg":76.2676928,"latitude_deg":9.93144,"altitude":9,"angle":59,"satellites":47,"speed":20,"hex_longitude":"2d7586c0","hex_latitude":"05eb6ae0","is_valid_coordinates":true} 
[2026-11-05 20: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-05 20:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235887616001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40503998322573312,"note":"Value kept but may cause issues"} 
[2026-11-05 20:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8466556218648264704,"note":"Value kept but may cause issues"} 
[2026-11-05 20:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793890190000,"timestamp_ms":1793890190000,"timestamp_seconds":1793890190,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac3002b0"} 
[2026-11-05 20: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-05 20:21: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-05 20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 20:21:40] 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-05 20: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-05 20: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-05 20:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20: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-05 20:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235887616001,"66":27484,"193":206,"87":12288,"24":20,"16":40503998322573312,"45":8466556218648264704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,87,24,16,45]} 
[2026-11-05 20:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235887616001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:21:40] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-11-05 20:21:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-11-05 20:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40503998322573312,"km_value":40503998322573.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8466556218648264704,"description":"Unknown IO ID 45"} 
[2026-11-05 20:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235887616001,"power":27484,"unknown_193":206,"unknown_87":12288,"ignition":20,"odometer":null,"unknown_45":8466556218648264704}} 
[2026-11-05 20:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":229921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:21:40] local.INFO: GPS data processed {"connection_id":229921,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:21:40] local.INFO: Acknowledgment sent {"connection_id":229921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:22:02] local.INFO: TCP Data received {"connection_id":230438,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:22:02] local.INFO: Processing buffer {"connection_id":230438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:22:02] local.INFO: IMEI packet received {"connection_id":230438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":230438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:22:08] local.INFO: TCP Data received {"connection_id":230438,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:22:08] local.INFO: Processing buffer {"connection_id":230438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:22:08] local.INFO: IMEI packet received {"connection_id":230438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":230438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:22:09] local.INFO: TCP Data received {"connection_id":230438,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac303d48012d75a24005eb7bd0000d002f2b..."} 
[2026-11-05 20:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac303d48012d75a24005eb7bd0000d002f2b..."} 
[2026-11-05 20:22:09] local.INFO: Processing buffer {"connection_id":230438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac303d48012d75a24005eb7bd0000d002f2b..."} 
[2026-11-05 20:22:09] local.INFO: Packet analysis {"connection_id":230438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac30"} 
[2026-11-05 20:22:09] local.INFO: Extracted packet for processing {"connection_id":230438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac30"} 
[2026-11-05 20:22:09] local.INFO: GPS Element Parsed {"raw_longitude":762683968,"raw_latitude":99318736,"longitude_deg":76.2683968,"latitude_deg":9.9318736,"altitude":13,"angle":47,"satellites":43,"speed":20,"hex_longitude":"2d75a240","hex_latitude":"05eb7bd0","is_valid_coordinates":true} 
[2026-11-05 20:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235888640001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40504397754531840,"note":"Value kept but may cause issues"} 
[2026-11-05 20:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8468667280973815808,"note":"Value kept but may cause issues"} 
[2026-11-05 20:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793890205000,"timestamp_ms":1793890205000,"timestamp_seconds":1793890205,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac303d48"} 
[2026-11-05 20:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:22: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-05 20:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 20:22:09] 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-05 20:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:22:09] local.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-05 20:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235888640001,"66":27463,"193":206,"87":12288,"24":20,"16":40504397754531840,"45":8468667280973815808},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,87,24,16,45]} 
[2026-11-05 20:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235888640001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:22:09] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-11-05 20:22:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-11-05 20:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40504397754531840,"km_value":40504397754531.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8468667280973815808,"description":"Unknown IO ID 45"} 
[2026-11-05 20:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235888640001,"power":27463,"unknown_193":206,"unknown_87":12288,"ignition":20,"odometer":null,"unknown_45":8468667280973815808}} 
[2026-11-05 20:22:09] 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":64510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:22:09] local.INFO: GPS data processed {"connection_id":230438,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:22:09] local.INFO: Acknowledgment sent {"connection_id":230438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:22:40] local.INFO: TCP Data received {"connection_id":230438,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac3077e0012d75bb0005eb9808000f00282d..."} 
[2026-11-05 20:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac3077e0012d75bb0005eb9808000f00282d..."} 
[2026-11-05 20:22:40] local.INFO: Processing buffer {"connection_id":230438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac3077e0012d75bb0005eb9808000f00282d..."} 
[2026-11-05 20:22:40] local.INFO: Packet analysis {"connection_id":230438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac30"} 
[2026-11-05 20:22:40] local.INFO: Extracted packet for processing {"connection_id":230438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac30"} 
[2026-11-05 20:22:40] local.INFO: GPS Element Parsed {"raw_longitude":762690304,"raw_latitude":99325960,"longitude_deg":76.2690304,"latitude_deg":9.932596,"altitude":15,"angle":40,"satellites":45,"speed":30,"hex_longitude":"2d75bb00","hex_latitude":"05eb9808","is_valid_coordinates":true} 
[2026-11-05 20: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-05 20:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235892480001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40504861610999808,"note":"Value kept but may cause issues"} 
[2026-11-05 20:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8476407842834468864,"note":"Value kept but may cause issues"} 
[2026-11-05 20:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793890220000,"timestamp_ms":1793890220000,"timestamp_seconds":1793890220,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac3077e0"} 
[2026-11-05 20: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-05 20:22: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-05 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 20:22: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-05 20: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-05 20: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-05 20:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20: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-05 20:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235892480001,"66":27332,"77":206,"87":12288,"24":30,"16":40504861610999808,"45":8476407842834468864},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,87,24,16,45]} 
[2026-11-05 20:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235892480001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:22:40] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-11-05 20:22:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-11-05 20:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40504861610999808,"km_value":40504861610999.805,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8476407842834468864,"description":"Unknown IO ID 45"} 
[2026-11-05 20:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235892480001,"power":27332,"unknown_77":206,"unknown_87":12288,"ignition":30,"odometer":null,"unknown_45":8476407842834468864}} 
[2026-11-05 20:22: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":64511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:22:40] local.INFO: GPS data processed {"connection_id":230438,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:22:40] local.INFO: Acknowledgment sent {"connection_id":230438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:23:02] local.INFO: TCP Data received {"connection_id":233675,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:23:02] local.INFO: Processing buffer {"connection_id":233675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:23:02] local.INFO: IMEI packet received {"connection_id":233675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":233675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:23:03] local.INFO: TCP Data received {"connection_id":233675,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:23:03] local.INFO: Processing buffer {"connection_id":233675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:23:03] local.INFO: IMEI packet received {"connection_id":233675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":233675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:23:07] local.INFO: TCP Data received {"connection_id":233675,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:23:07] local.INFO: Processing buffer {"connection_id":233675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:23:07] local.INFO: IMEI packet received {"connection_id":233675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":233675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:23:08] local.INFO: TCP Data received {"connection_id":233675,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac325088012d76508005ec53c8000b00442e..."} 
[2026-11-05 20:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac325088012d76508005ec53c8000b00442e..."} 
[2026-11-05 20:23:08] local.INFO: Processing buffer {"connection_id":233675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac325088012d76508005ec53c8000b00442e..."} 
[2026-11-05 20:23:08] local.INFO: Packet analysis {"connection_id":233675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac32"} 
[2026-11-05 20:23:08] local.INFO: Extracted packet for processing {"connection_id":233675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac32"} 
[2026-11-05 20:23:08] local.INFO: GPS Element Parsed {"raw_longitude":762728576,"raw_latitude":99374024,"longitude_deg":76.2728576,"latitude_deg":9.9374024,"altitude":11,"angle":68,"satellites":46,"speed":18,"hex_longitude":"2d765080","hex_latitude":"05ec53c8","is_valid_coordinates":true} 
[2026-11-05 20:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235927040001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40507838023335936,"note":"Value kept but may cause issues"} 
[2026-11-05 20:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8525032645075333120,"note":"Value kept but may cause issues"} 
[2026-11-05 20:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793890341000,"timestamp_ms":1793890341000,"timestamp_seconds":1793890341,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac325088"} 
[2026-11-05 20:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:23: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-05 20:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 20:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":233675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":233675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":233675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:23:08] local.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-05 20:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235927040001,"66":27484,"140":206,"87":12288,"24":18,"16":40507838023335936,"45":8525032645075333120},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,87,24,16,45]} 
[2026-11-05 20:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235927040001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:23:08] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-11-05 20:23:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-11-05 20:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40507838023335936,"km_value":40507838023335.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8525032645075333120,"description":"Unknown IO ID 45"} 
[2026-11-05 20:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235927040001,"power":27484,"unknown_140":206,"unknown_87":12288,"ignition":18,"odometer":null,"unknown_45":8525032645075333120}} 
[2026-11-05 20:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":233675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:23:08] local.INFO: GPS data processed {"connection_id":233675,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:23:08] local.INFO: Acknowledgment sent {"connection_id":233675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:23:40] local.INFO: TCP Data received {"connection_id":233675,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac325470012d76524005ec5420000b00562f..."} 
[2026-11-05 20:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac325470012d76524005ec5420000b00562f..."} 
[2026-11-05 20:23:40] local.INFO: Processing buffer {"connection_id":233675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac325470012d76524005ec5420000b00562f..."} 
[2026-11-05 20:23:40] local.INFO: Packet analysis {"connection_id":233675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac32"} 
[2026-11-05 20:23:40] local.INFO: Extracted packet for processing {"connection_id":233675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac32"} 
[2026-11-05 20:23:40] local.INFO: GPS Element Parsed {"raw_longitude":762729024,"raw_latitude":99374112,"longitude_deg":76.2729024,"latitude_deg":9.9374112,"altitude":11,"angle":86,"satellites":47,"speed":18,"hex_longitude":"2d765240","hex_latitude":"05ec5420","is_valid_coordinates":true} 
[2026-11-05 20:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235927296001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40507863793139712,"note":"Value kept but may cause issues"} 
[2026-11-05 20:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8525454857540454400,"note":"Value kept but may cause issues"} 
[2026-11-05 20:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793890342000,"timestamp_ms":1793890342000,"timestamp_seconds":1793890342,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac325470"} 
[2026-11-05 20:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:23: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-05 20:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 20:23:40] 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-05 20:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":233675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":233675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":233675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 20:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235927296001,"66":27376,"140":206,"87":12288,"24":18,"16":40507863793139712,"45":8525454857540454400},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,87,24,16,45]} 
[2026-11-05 20:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235927296001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:23:40] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-11-05 20:23:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-11-05 20:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40507863793139712,"km_value":40507863793139.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8525454857540454400,"description":"Unknown IO ID 45"} 
[2026-11-05 20:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235927296001,"power":27376,"unknown_140":206,"unknown_87":12288,"ignition":18,"odometer":null,"unknown_45":8525454857540454400}} 
[2026-11-05 20:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":233675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:23:40] local.INFO: GPS data processed {"connection_id":233675,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:23:40] local.INFO: Acknowledgment sent {"connection_id":233675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:24:02] local.INFO: TCP Data received {"connection_id":229922,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:24:02] local.INFO: Processing buffer {"connection_id":229922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:24:02] local.INFO: IMEI packet received {"connection_id":229922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":229922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:24:07] local.INFO: TCP Data received {"connection_id":229922,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:24:07] local.INFO: Processing buffer {"connection_id":229922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:24:07] local.INFO: IMEI packet received {"connection_id":229922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":229922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:24:08] local.INFO: TCP Data received {"connection_id":229922,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac325858012d76540005ec53f0000b00632f..."} 
[2026-11-05 20:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac325858012d76540005ec53f0000b00632f..."} 
[2026-11-05 20:24:08] local.INFO: Processing buffer {"connection_id":229922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac325858012d76540005ec53f0000b00632f..."} 
[2026-11-05 20:24:08] local.INFO: Packet analysis {"connection_id":229922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac32"} 
[2026-11-05 20:24:08] local.INFO: Extracted packet for processing {"connection_id":229922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac32"} 
[2026-11-05 20:24:08] local.INFO: GPS Element Parsed {"raw_longitude":762729472,"raw_latitude":99374064,"longitude_deg":76.2729472,"latitude_deg":9.9374064,"altitude":11,"angle":99,"satellites":47,"speed":18,"hex_longitude":"2d765400","hex_latitude":"05ec53f0","is_valid_coordinates":true} 
[2026-11-05 20:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235927552001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40507885267976192,"note":"Value kept but may cause issues"} 
[2026-11-05 20:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8525947438749720576,"note":"Value kept but may cause issues"} 
[2026-11-05 20:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793890343000,"timestamp_ms":1793890343000,"timestamp_seconds":1793890343,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac325858"} 
[2026-11-05 20:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:24: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-05 20:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 20:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":229922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":229922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":229922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:24:08] local.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-05 20:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235927552001,"66":27321,"140":206,"87":12288,"24":18,"16":40507885267976192,"45":8525947438749720576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,87,24,16,45]} 
[2026-11-05 20:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235927552001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:24:08] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-11-05 20:24:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-11-05 20:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40507885267976192,"km_value":40507885267976.195,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8525947438749720576,"description":"Unknown IO ID 45"} 
[2026-11-05 20:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235927552001,"power":27321,"unknown_140":206,"unknown_87":12288,"ignition":18,"odometer":null,"unknown_45":8525947438749720576}} 
[2026-11-05 20:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":229922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:24:08] local.INFO: GPS data processed {"connection_id":229922,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:24:08] local.INFO: Acknowledgment sent {"connection_id":229922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:24:11] local.INFO: TCP Data received {"connection_id":233674,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:24:11] local.INFO: Processing buffer {"connection_id":233674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:24:11] local.INFO: IMEI packet received {"connection_id":233674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 20:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":233674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:24:36] local.INFO: TCP Data received {"connection_id":231775,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:24:36] local.INFO: Processing buffer {"connection_id":231775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:24:36] local.INFO: IMEI packet received {"connection_id":231775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 20:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":231775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:24:43] local.INFO: TCP Data received {"connection_id":229922,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac328b20012d76740005ec49600008006f2f..."} 
[2026-11-05 20:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac328b20012d76740005ec49600008006f2f..."} 
[2026-11-05 20:24:43] local.INFO: Processing buffer {"connection_id":229922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac328b20012d76740005ec49600008006f2f..."} 
[2026-11-05 20:24:43] local.INFO: Packet analysis {"connection_id":229922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac32"} 
[2026-11-05 20:24:43] local.INFO: Extracted packet for processing {"connection_id":229922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac32"} 
[2026-11-05 20:24:43] local.INFO: GPS Element Parsed {"raw_longitude":762737664,"raw_latitude":99371360,"longitude_deg":76.2737664,"latitude_deg":9.937136,"altitude":8,"angle":111,"satellites":47,"speed":29,"hex_longitude":"2d767400","hex_latitude":"05ec4960","is_valid_coordinates":true} 
[2026-11-05 20: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-05 20:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235927808001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40508293289869312,"note":"Value kept but may cause issues"} 
[2026-11-05 20:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8526440019958951936,"note":"Value kept but may cause issues"} 
[2026-11-05 20:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793890356000,"timestamp_ms":1793890356000,"timestamp_seconds":1793890356,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac328b20"} 
[2026-11-05 20: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-05 20:24: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-05 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 20:24:43] 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-05 20: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-05 20: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-05 20:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 20:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235927808001,"66":27267,"140":206,"87":12288,"24":29,"16":40508293289869312,"45":8526440019958951936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,87,24,16,45]} 
[2026-11-05 20:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235927808001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:24:43] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-11-05 20:24:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-11-05 20:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40508293289869312,"km_value":40508293289869.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8526440019958951936,"description":"Unknown IO ID 45"} 
[2026-11-05 20:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235927808001,"power":27267,"unknown_140":206,"unknown_87":12288,"ignition":29,"odometer":null,"unknown_45":8526440019958951936}} 
[2026-11-05 20:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":229922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:24:43] local.INFO: GPS data processed {"connection_id":229922,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:24:43] local.INFO: Acknowledgment sent {"connection_id":229922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:25:02] local.INFO: TCP Data received {"connection_id":233676,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:25:02] local.INFO: Processing buffer {"connection_id":233676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:25:02] local.INFO: IMEI packet received {"connection_id":233676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":233676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:25:09] local.INFO: TCP Data received {"connection_id":233676,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:25:09] local.INFO: Processing buffer {"connection_id":233676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:25:09] local.INFO: IMEI packet received {"connection_id":233676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":233676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:25:10] local.INFO: TCP Data received {"connection_id":233676,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac33b018012d77264005ec39b00006004130..."} 
[2026-11-05 20:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac33b018012d77264005ec39b00006004130..."} 
[2026-11-05 20:25:10] local.INFO: Processing buffer {"connection_id":233676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac33b018012d77264005ec39b00006004130..."} 
[2026-11-05 20:25:10] local.INFO: Packet analysis {"connection_id":233676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac33"} 
[2026-11-05 20:25:10] local.INFO: Extracted packet for processing {"connection_id":233676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac33"} 
[2026-11-05 20:25:10] local.INFO: GPS Element Parsed {"raw_longitude":762783296,"raw_latitude":99367344,"longitude_deg":76.2783296,"latitude_deg":9.9367344,"altitude":6,"angle":65,"satellites":48,"speed":25,"hex_longitude":"2d772640","hex_latitude":"05ec39b0","is_valid_coordinates":true} 
[2026-11-05 20:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235948544001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40510591097372672,"note":"Value kept but may cause issues"} 
[2026-11-05 20:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8579146209345835008,"note":"Value kept but may cause issues"} 
[2026-11-05 20:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793890431000,"timestamp_ms":1793890431000,"timestamp_seconds":1793890431,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac33b018"} 
[2026-11-05 20:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 20:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 20:25:10] 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-05 20:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":233676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":233676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":233676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:25: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-05 20:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235948544001,"66":27365,"140":206,"87":12288,"24":25,"16":40510591097372672,"45":8579146209345835008},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,87,24,16,45]} 
[2026-11-05 20:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235948544001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:25:10] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-11-05 20:25:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-11-05 20:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40510591097372672,"km_value":40510591097372.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8579146209345835008,"description":"Unknown IO ID 45"} 
[2026-11-05 20:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235948544001,"power":27365,"unknown_140":206,"unknown_87":12288,"ignition":25,"odometer":null,"unknown_45":8579146209345835008}} 
[2026-11-05 20:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":233676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:25:10] local.INFO: GPS data processed {"connection_id":233676,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:25:10] local.INFO: Acknowledgment sent {"connection_id":233676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:25:45] local.INFO: TCP Data received {"connection_id":233676,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac33d728012d773b4005ec4588000700352f..."} 
[2026-11-05 20:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac33d728012d773b4005ec4588000700352f..."} 
[2026-11-05 20:25:45] local.INFO: Processing buffer {"connection_id":233676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac33d728012d773b4005ec4588000700352f..."} 
[2026-11-05 20:25:45] local.INFO: Packet analysis {"connection_id":233676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac33"} 
[2026-11-05 20:25:45] local.INFO: Extracted packet for processing {"connection_id":233676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac33"} 
[2026-11-05 20:25:45] local.INFO: GPS Element Parsed {"raw_longitude":762788672,"raw_latitude":99370376,"longitude_deg":76.2788672,"latitude_deg":9.9370376,"altitude":7,"angle":53,"satellites":47,"speed":26,"hex_longitude":"2d773b40","hex_latitude":"05ec4588","is_valid_coordinates":true} 
[2026-11-05 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-05 20:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235950336001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40510891745083392,"note":"Value kept but may cause issues"} 
[2026-11-05 20:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8585620133810647040,"note":"Value kept but may cause issues"} 
[2026-11-05 20:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793890441000,"timestamp_ms":1793890441000,"timestamp_seconds":1793890441,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac33d728"} 
[2026-11-05 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-05 20:25: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-05 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 20:25:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 20:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":233676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":233676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":233676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:25: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-05 20:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235950336001,"66":27484,"140":206,"87":12288,"24":26,"16":40510891745083392,"45":8585620133810647040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,87,24,16,45]} 
[2026-11-05 20:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235950336001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:25:45] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-11-05 20:25:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-11-05 20:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40510891745083392,"km_value":40510891745083.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8585620133810647040,"description":"Unknown IO ID 45"} 
[2026-11-05 20:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235950336001,"power":27484,"unknown_140":206,"unknown_87":12288,"ignition":26,"odometer":null,"unknown_45":8585620133810647040}} 
[2026-11-05 20:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":233676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:25:45] local.INFO: GPS data processed {"connection_id":233676,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:25:45] local.INFO: Acknowledgment sent {"connection_id":233676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:26:02] local.INFO: TCP Data received {"connection_id":230439,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:26:02] local.INFO: Processing buffer {"connection_id":230439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:26:02] local.INFO: IMEI packet received {"connection_id":230439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":230439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:26:12] local.INFO: TCP Data received {"connection_id":230439,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:26:12] local.INFO: Processing buffer {"connection_id":230439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:26:12] local.INFO: IMEI packet received {"connection_id":230439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":230439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:26:14] local.INFO: TCP Data received {"connection_id":230439,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:26:14] local.INFO: Processing buffer {"connection_id":230439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:26:14] local.INFO: IMEI packet received {"connection_id":230439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":230439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:26:17] local.INFO: TCP Data received {"connection_id":230439,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac33f280012d77494005ec51580008002a30..."} 
[2026-11-05 20:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac33f280012d77494005ec51580008002a30..."} 
[2026-11-05 20:26:17] local.INFO: Processing buffer {"connection_id":230439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac33f280012d77494005ec51580008002a30..."} 
[2026-11-05 20:26:17] local.INFO: Packet analysis {"connection_id":230439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac33"} 
[2026-11-05 20:26:17] local.INFO: Extracted packet for processing {"connection_id":230439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac33"} 
[2026-11-05 20:26:17] local.INFO: GPS Element Parsed {"raw_longitude":762792256,"raw_latitude":99373400,"longitude_deg":76.2792256,"latitude_deg":9.93734,"altitude":8,"angle":42,"satellites":48,"speed":27,"hex_longitude":"2d774940","hex_latitude":"05ec5158","is_valid_coordinates":true} 
[2026-11-05 20:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235952896001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40511115083382784,"note":"Value kept but may cause issues"} 
[2026-11-05 20:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8591531108322347008,"note":"Value kept but may cause issues"} 
[2026-11-05 20:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793890448000,"timestamp_ms":1793890448000,"timestamp_seconds":1793890448,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac33f280"} 
[2026-11-05 20:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:26: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-05 20:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 20:26: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-05 20:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:26: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-05 20:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235952896001,"66":27463,"102":206,"87":13824,"24":27,"16":40511115083382784,"45":8591531108322347008},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-11-05 20:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235952896001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:26:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-11-05 20:26:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 20:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40511115083382784,"km_value":40511115083382.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8591531108322347008,"description":"Unknown IO ID 45"} 
[2026-11-05 20:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235952896001,"power":27463,"unknown_102":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8591531108322347008}} 
[2026-11-05 20:26:17] 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":64518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:26:17] local.INFO: GPS data processed {"connection_id":230439,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:26:17] local.INFO: Acknowledgment sent {"connection_id":230439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:26:24] local.INFO: TCP Data received {"connection_id":230439,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac342930012d775e4005ec6c600009001f2e..."} 
[2026-11-05 20:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac342930012d775e4005ec6c600009001f2e..."} 
[2026-11-05 20:26:24] local.INFO: Processing buffer {"connection_id":230439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac342930012d775e4005ec6c600009001f2e..."} 
[2026-11-05 20:26:24] local.INFO: Packet analysis {"connection_id":230439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac34"} 
[2026-11-05 20:26:24] local.INFO: Extracted packet for processing {"connection_id":230439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac34"} 
[2026-11-05 20:26:24] local.INFO: GPS Element Parsed {"raw_longitude":762797632,"raw_latitude":99380320,"longitude_deg":76.2797632,"latitude_deg":9.938032,"altitude":9,"angle":31,"satellites":46,"speed":21,"hex_longitude":"2d775e40","hex_latitude":"05ec6c60","is_valid_coordinates":true} 
[2026-11-05 20: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-05 20:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235954688001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40511540285145088,"note":"Value kept but may cause issues"} 
[2026-11-05 20:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8595471757997070336,"note":"Value kept but may cause issues"} 
[2026-11-05 20:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793890462000,"timestamp_ms":1793890462000,"timestamp_seconds":1793890462,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac342930"} 
[2026-11-05 20: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-05 20: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-05 20: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":71,"data_length":795,"current_offset":136} 
[2026-11-05 20:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20: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-05 20: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-05 20:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":230439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":230439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":230439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 20:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235954688001,"66":27484,"102":206,"87":13824,"24":21,"16":40511540285145088,"45":8595471757997070336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-11-05 20:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235954688001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:26:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-11-05 20:26:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 20:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40511540285145088,"km_value":40511540285145.086,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8595471757997070336,"description":"Unknown IO ID 45"} 
[2026-11-05 20:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235954688001,"power":27484,"unknown_102":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8595471757997070336}} 
[2026-11-05 20:26:24] 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":64519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:26:24] local.INFO: GPS data processed {"connection_id":230439,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:26:24] local.INFO: Acknowledgment sent {"connection_id":230439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:27:07] local.INFO: TCP Data received {"connection_id":231776,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:27:07] local.INFO: Processing buffer {"connection_id":231776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:27:07] local.INFO: IMEI packet received {"connection_id":231776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":231776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:27:12] local.INFO: TCP Data received {"connection_id":231776,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:27:12] local.INFO: Processing buffer {"connection_id":231776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:27:12] local.INFO: IMEI packet received {"connection_id":231776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":231776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:27:24] local.INFO: TCP Data received {"connection_id":231776,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac345810012d776f8005ec8ce00009001b2e..."} 
[2026-11-05 20:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac345810012d776f8005ec8ce00009001b2e..."} 
[2026-11-05 20:27:24] local.INFO: Processing buffer {"connection_id":231776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac345810012d776f8005ec8ce00009001b2e..."} 
[2026-11-05 20:27:24] local.INFO: Packet analysis {"connection_id":231776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac34"} 
[2026-11-05 20:27:24] local.INFO: Extracted packet for processing {"connection_id":231776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac34"} 
[2026-11-05 20:27:24] local.INFO: GPS Element Parsed {"raw_longitude":762802048,"raw_latitude":99388640,"longitude_deg":76.2802048,"latitude_deg":9.938864,"altitude":9,"angle":27,"satellites":46,"speed":38,"hex_longitude":"2d776f80","hex_latitude":"05ec8ce0","is_valid_coordinates":true} 
[2026-11-05 20: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-05 20:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235958272001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40511995551678464,"note":"Value kept but may cause issues"} 
[2026-11-05 20:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8601382732509765632,"note":"Value kept but may cause issues"} 
[2026-11-05 20:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793890474000,"timestamp_ms":1793890474000,"timestamp_seconds":1793890474,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac345810"} 
[2026-11-05 20: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-05 20:27: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-05 20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 20:27:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20: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-05 20: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-05 20:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":231776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":231776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":231776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 20:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235958272001,"66":27484,"102":206,"87":13824,"24":38,"16":40511995551678464,"45":8601382732509765632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-11-05 20:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235958272001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:27:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-11-05 20:27:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 20:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40511995551678464,"km_value":40511995551678.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8601382732509765632,"description":"Unknown IO ID 45"} 
[2026-11-05 20:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235958272001,"power":27484,"unknown_102":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8601382732509765632}} 
[2026-11-05 20:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":231776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:27:24] local.INFO: GPS data processed {"connection_id":231776,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:27:24] local.INFO: Acknowledgment sent {"connection_id":231776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:27:34] local.INFO: TCP Data received {"connection_id":231776,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac347b38012d77808005ecac20000a001c2f..."} 
[2026-11-05 20:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac347b38012d77808005ecac20000a001c2f..."} 
[2026-11-05 20:27:34] local.INFO: Processing buffer {"connection_id":231776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac347b38012d77808005ecac20000a001c2f..."} 
[2026-11-05 20:27:34] local.INFO: Packet analysis {"connection_id":231776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac34"} 
[2026-11-05 20:27:34] local.INFO: Extracted packet for processing {"connection_id":231776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac34"} 
[2026-11-05 20:27:34] local.INFO: GPS Element Parsed {"raw_longitude":762806400,"raw_latitude":99396640,"longitude_deg":76.28064,"latitude_deg":9.939664,"altitude":10,"angle":28,"satellites":47,"speed":41,"hex_longitude":"2d778080","hex_latitude":"05ecac20","is_valid_coordinates":true} 
[2026-11-05 20:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235961344001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40512433638342656,"note":"Value kept but may cause issues"} 
[2026-11-05 20:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8606238175860154368,"note":"Value kept but may cause issues"} 
[2026-11-05 20:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793890483000,"timestamp_ms":1793890483000,"timestamp_seconds":1793890483,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac347b38"} 
[2026-11-05 20:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:27: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-05 20:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 20:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":231776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":231776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":231776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 20:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235961344001,"66":27365,"102":206,"87":13824,"24":41,"16":40512433638342656,"45":8606238175860154368},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-11-05 20:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235961344001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:27:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-11-05 20:27:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 20:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40512433638342656,"km_value":40512433638342.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8606238175860154368,"description":"Unknown IO ID 45"} 
[2026-11-05 20:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235961344001,"power":27365,"unknown_102":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":8606238175860154368}} 
[2026-11-05 20:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":231776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:27:34] local.INFO: GPS data processed {"connection_id":231776,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:27:34] local.INFO: Acknowledgment sent {"connection_id":231776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:28:01] local.INFO: TCP Data received {"connection_id":233677,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:28:01] local.INFO: Processing buffer {"connection_id":233677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:28:01] local.INFO: IMEI packet received {"connection_id":233677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":233677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:28:02] local.INFO: TCP Data received {"connection_id":233677,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:28:02] local.INFO: Processing buffer {"connection_id":233677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:28:02] local.INFO: IMEI packet received {"connection_id":233677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":233677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:28:07] local.INFO: TCP Data received {"connection_id":233677,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:28:07] local.INFO: Processing buffer {"connection_id":233677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:28:07] local.INFO: IMEI packet received {"connection_id":233677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":233677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:28:08] local.INFO: TCP Data received {"connection_id":233677,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac349e60012d77924005eccc18000a001d2f..."} 
[2026-11-05 20:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac349e60012d77924005eccc18000a001d2f..."} 
[2026-11-05 20:28:08] local.INFO: Processing buffer {"connection_id":233677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac349e60012d77924005eccc18000a001d2f..."} 
[2026-11-05 20:28:08] local.INFO: Packet analysis {"connection_id":233677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac34"} 
[2026-11-05 20:28:08] local.INFO: Extracted packet for processing {"connection_id":233677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac34"} 
[2026-11-05 20:28:08] local.INFO: GPS Element Parsed {"raw_longitude":762810944,"raw_latitude":99404824,"longitude_deg":76.2810944,"latitude_deg":9.9404824,"altitude":10,"angle":29,"satellites":47,"speed":36,"hex_longitude":"2d779240","hex_latitude":"05eccc18","is_valid_coordinates":true} 
[2026-11-05 20:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459235963648001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40512888904876032,"note":"Value kept but may cause issues"} 
[2026-11-05 20:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8611023250466283520,"note":"Value kept but may cause issues"} 
[2026-11-05 20:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793890492000,"timestamp_ms":1793890492000,"timestamp_seconds":1793890492,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac349e60"} 
[2026-11-05 20:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:28: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-05 20:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 20:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":233677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":233677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":233677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:28:08] local.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-05 20:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459235963648001,"66":27376,"102":206,"87":13824,"24":36,"16":40512888904876032,"45":8611023250466283520},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-11-05 20:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459235963648001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:28:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-11-05 20:28:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 20:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40512888904876032,"km_value":40512888904876.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8611023250466283520,"description":"Unknown IO ID 45"} 
[2026-11-05 20:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459235963648001,"power":27376,"unknown_102":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8611023250466283520}} 
[2026-11-05 20:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":233677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:28:08] local.INFO: GPS data processed {"connection_id":233677,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:28:08] local.INFO: Acknowledgment sent {"connection_id":233677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:28:39] local.INFO: TCP Data received {"connection_id":233677,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac36ec38012d78a94005edbe080010003f31..."} 
[2026-11-05 20:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac36ec38012d78a94005edbe080010003f31..."} 
[2026-11-05 20:28:39] local.INFO: Processing buffer {"connection_id":233677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac36ec38012d78a94005edbe080010003f31..."} 
[2026-11-05 20:28:39] local.INFO: Packet analysis {"connection_id":233677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac36"} 
[2026-11-05 20:28:39] local.INFO: Extracted packet for processing {"connection_id":233677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac36"} 
[2026-11-05 20:28:39] local.INFO: GPS Element Parsed {"raw_longitude":762882368,"raw_latitude":99466760,"longitude_deg":76.2882368,"latitude_deg":9.946676,"altitude":16,"angle":63,"satellites":49,"speed":28,"hex_longitude":"2d78a940","hex_latitude":"05edbe08","is_valid_coordinates":true} 
[2026-11-05 20:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236001024001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40517600483999744,"note":"Value kept but may cause issues"} 
[2026-11-05 20:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8684417850660347904,"note":"Value kept but may cause issues"} 
[2026-11-05 20:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793890643000,"timestamp_ms":1793890643000,"timestamp_seconds":1793890643,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac36ec38"} 
[2026-11-05 20:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:28: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-05 20:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 20:28:39] 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-05 20:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":233677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":233677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":233677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 20:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236001024001,"66":27365,"38":206,"87":13824,"24":28,"16":40517600483999744,"45":8684417850660347904},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-11-05 20:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236001024001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:28:39] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-11-05 20:28:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 20:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40517600483999744,"km_value":40517600483999.74,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8684417850660347904,"description":"Unknown IO ID 45"} 
[2026-11-05 20:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236001024001,"power":27365,"unknown_38":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8684417850660347904}} 
[2026-11-05 20:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":233677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:28:39] local.INFO: GPS data processed {"connection_id":233677,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:28:39] local.INFO: Acknowledgment sent {"connection_id":233677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:29:00] local.INFO: TCP Data received {"connection_id":233678,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:29:00] local.INFO: Processing buffer {"connection_id":233678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:29:00] local.INFO: IMEI packet received {"connection_id":233678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":233678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:29:05] local.INFO: TCP Data received {"connection_id":233678,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:29:05] local.INFO: Processing buffer {"connection_id":233678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:29:05] local.INFO: IMEI packet received {"connection_id":233678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":233678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:29:07] local.INFO: TCP Data received {"connection_id":233678,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:29:07] local.INFO: Processing buffer {"connection_id":233678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:29:07] local.INFO: IMEI packet received {"connection_id":233678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":233678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:29:51] local.INFO: TCP Data received {"connection_id":231777,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:29:51] local.INFO: Processing buffer {"connection_id":231777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:29:51] local.INFO: IMEI packet received {"connection_id":231777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 20:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":231777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:29:53] local.INFO: TCP Data received {"connection_id":233678,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac3722e8012d78cb0005edcf00000f003f31..."} 
[2026-11-05 20:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac3722e8012d78cb0005edcf00000f003f31..."} 
[2026-11-05 20:29:53] local.INFO: Processing buffer {"connection_id":233678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac3722e8012d78cb0005edcf00000f003f31..."} 
[2026-11-05 20:29:53] local.INFO: Packet analysis {"connection_id":233678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac37"} 
[2026-11-05 20:29:53] local.INFO: Extracted packet for processing {"connection_id":233678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac37"} 
[2026-11-05 20:29:53] local.INFO: GPS Element Parsed {"raw_longitude":762891008,"raw_latitude":99471104,"longitude_deg":76.2891008,"latitude_deg":9.9471104,"altitude":15,"angle":63,"satellites":49,"speed":29,"hex_longitude":"2d78cb00","hex_latitude":"05edcf00","is_valid_coordinates":true} 
[2026-11-05 20:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236004608001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40518064340467712,"note":"Value kept but may cause issues"} 
[2026-11-05 20:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8694550949823121408,"note":"Value kept but may cause issues"} 
[2026-11-05 20:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793890657000,"timestamp_ms":1793890657000,"timestamp_seconds":1793890657,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac3722e8"} 
[2026-11-05 20:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 20:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 20:29:53] 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-05 20:29:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":233678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":233678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":233678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:29: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-05 20:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236004608001,"66":27463,"38":206,"87":13824,"24":29,"16":40518064340467712,"45":8694550949823121408},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-11-05 20:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236004608001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:29:53] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-11-05 20:29:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 20:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40518064340467712,"km_value":40518064340467.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8694550949823121408,"description":"Unknown IO ID 45"} 
[2026-11-05 20:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236004608001,"power":27463,"unknown_38":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8694550949823121408}} 
[2026-11-05 20:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":233678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:29:53] local.INFO: GPS data processed {"connection_id":233678,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:29:53] local.INFO: Acknowledgment sent {"connection_id":233678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:30:02] local.INFO: TCP Data received {"connection_id":230440,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:30:02] local.INFO: Processing buffer {"connection_id":230440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:30:02] local.INFO: IMEI packet received {"connection_id":230440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":230440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:30:07] local.INFO: TCP Data received {"connection_id":230440,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:30:07] local.INFO: Processing buffer {"connection_id":230440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:30:07] local.INFO: IMEI packet received {"connection_id":230440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":230440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:30:08] local.INFO: TCP Data received {"connection_id":230440,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac37b758012d79190005edfcd00009002931..."} 
[2026-11-05 20:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac37b758012d79190005edfcd00009002931..."} 
[2026-11-05 20:30:08] local.INFO: Processing buffer {"connection_id":230440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac37b758012d79190005edfcd00009002931..."} 
[2026-11-05 20:30:08] local.INFO: Packet analysis {"connection_id":230440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac37"} 
[2026-11-05 20:30:08] local.INFO: Extracted packet for processing {"connection_id":230440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac37"} 
[2026-11-05 20:30:08] local.INFO: GPS Element Parsed {"raw_longitude":762910976,"raw_latitude":99482832,"longitude_deg":76.2910976,"latitude_deg":9.9482832,"altitude":9,"angle":41,"satellites":49,"speed":18,"hex_longitude":"2d791900","hex_latitude":"05edfcd0","is_valid_coordinates":true} 
[2026-11-05 20:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236015104001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40519181031964672,"note":"Value kept but may cause issues"} 
[2026-11-05 20:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8722346603776671744,"note":"Value kept but may cause issues"} 
[2026-11-05 20:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793890695000,"timestamp_ms":1793890695000,"timestamp_seconds":1793890695,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac37b758"} 
[2026-11-05 20:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 20:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 20:30:08] 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-05 20:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":230440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":230440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":230440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:30:08] local.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-05 20:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236015104001,"66":27300,"38":206,"87":13824,"24":18,"16":40519181031964672,"45":8722346603776671744},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-11-05 20:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236015104001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:30:08] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-11-05 20:30:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 20:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40519181031964672,"km_value":40519181031964.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8722346603776671744,"description":"Unknown IO ID 45"} 
[2026-11-05 20:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236015104001,"power":27300,"unknown_38":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8722346603776671744}} 
[2026-11-05 20:30:08] 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":64525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:30:08] local.INFO: GPS data processed {"connection_id":230440,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:30:08] local.INFO: Acknowledgment sent {"connection_id":230440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:30:40] local.INFO: TCP Data received {"connection_id":230440,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac37d2b0012d7921c005ee0930000a001e30..."} 
[2026-11-05 20:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac37d2b0012d7921c005ee0930000a001e30..."} 
[2026-11-05 20:30:40] local.INFO: Processing buffer {"connection_id":230440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac37d2b0012d7921c005ee0930000a001e30..."} 
[2026-11-05 20:30:40] local.INFO: Packet analysis {"connection_id":230440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac37"} 
[2026-11-05 20:30:40] local.INFO: Extracted packet for processing {"connection_id":230440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac37"} 
[2026-11-05 20:30:40] local.INFO: GPS Element Parsed {"raw_longitude":762913216,"raw_latitude":99486000,"longitude_deg":76.2913216,"latitude_deg":9.9486,"altitude":10,"angle":30,"satellites":48,"speed":19,"hex_longitude":"2d7921c0","hex_latitude":"05ee0930","is_valid_coordinates":true} 
[2026-11-05 20:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236017920001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40519365715558400,"note":"Value kept but may cause issues"} 
[2026-11-05 20:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8726005778474651648,"note":"Value kept but may cause issues"} 
[2026-11-05 20:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793890702000,"timestamp_ms":1793890702000,"timestamp_seconds":1793890702,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac37d2b0"} 
[2026-11-05 20:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:30: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-05 20:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 20:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 20:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236017920001,"66":27397,"38":206,"87":13824,"24":19,"16":40519365715558400,"45":8726005778474651648},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-11-05 20:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236017920001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:30:40] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-11-05 20:30:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 20:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40519365715558400,"km_value":40519365715558.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8726005778474651648,"description":"Unknown IO ID 45"} 
[2026-11-05 20:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236017920001,"power":27397,"unknown_38":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8726005778474651648}} 
[2026-11-05 20:30:40] 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":64526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:30:40] local.INFO: GPS data processed {"connection_id":230440,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:30:40] local.INFO: Acknowledgment sent {"connection_id":230440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:31:07] local.INFO: TCP Data received {"connection_id":231778,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:31:07] local.INFO: Processing buffer {"connection_id":231778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:31:07] local.INFO: IMEI packet received {"connection_id":231778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":231778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:31:09] local.INFO: TCP Data received {"connection_id":231778,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:31:09] local.INFO: Processing buffer {"connection_id":231778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:31:09] local.INFO: IMEI packet received {"connection_id":231778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":231778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:31:12] local.INFO: TCP Data received {"connection_id":231778,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:31:12] local.INFO: Processing buffer {"connection_id":231778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:31:12] local.INFO: IMEI packet received {"connection_id":231778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":231778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:31:13] local.INFO: TCP Data received {"connection_id":231778,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac381ce8012d79330005ee2780000a00242f..."} 
[2026-11-05 20:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac381ce8012d79330005ee2780000a00242f..."} 
[2026-11-05 20:31:13] local.INFO: Processing buffer {"connection_id":231778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac381ce8012d79330005ee2780000a00242f..."} 
[2026-11-05 20:31:13] local.INFO: Packet analysis {"connection_id":231778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac38"} 
[2026-11-05 20:31:13] local.INFO: Extracted packet for processing {"connection_id":231778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac38"} 
[2026-11-05 20:31:13] local.INFO: GPS Element Parsed {"raw_longitude":762917632,"raw_latitude":99493760,"longitude_deg":76.2917632,"latitude_deg":9.949376,"altitude":10,"angle":36,"satellites":47,"speed":20,"hex_longitude":"2d793300","hex_latitude":"05ee2780","is_valid_coordinates":true} 
[2026-11-05 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-05 20:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236019712001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40519799507255296,"note":"Value kept but may cause issues"} 
[2026-11-05 20:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8728468684521680896,"note":"Value kept but may cause issues"} 
[2026-11-05 20:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793890721000,"timestamp_ms":1793890721000,"timestamp_seconds":1793890721,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac381ce8"} 
[2026-11-05 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-05 20: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-05 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 20:31:13] 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-05 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-05 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-05 20:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":231778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":231778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":231778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 20:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236019712001,"66":27365,"38":206,"87":13824,"24":20,"16":40519799507255296,"45":8728468684521680896},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-11-05 20:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236019712001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:31:13] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-11-05 20:31:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-11-05 20:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40519799507255296,"km_value":40519799507255.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8728468684521680896,"description":"Unknown IO ID 45"} 
[2026-11-05 20:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236019712001,"power":27365,"unknown_38":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8728468684521680896}} 
[2026-11-05 20:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":231778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:31:13] local.INFO: GPS data processed {"connection_id":231778,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:31:13] local.INFO: Acknowledgment sent {"connection_id":231778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:31:52] local.INFO: TCP Data received {"connection_id":231778,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac3a0148012d7956c005eee898000a014f2f..."} 
[2026-11-05 20:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac3a0148012d7956c005eee898000a014f2f..."} 
[2026-11-05 20:31:52] local.INFO: Processing buffer {"connection_id":231778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac3a0148012d7956c005eee898000a014f2f..."} 
[2026-11-05 20:31:52] local.INFO: Packet analysis {"connection_id":231778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac3a"} 
[2026-11-05 20:31:52] local.INFO: Extracted packet for processing {"connection_id":231778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac3a"} 
[2026-11-05 20:31:52] local.INFO: GPS Element Parsed {"raw_longitude":762926784,"raw_latitude":99543192,"longitude_deg":76.2926784,"latitude_deg":9.9543192,"altitude":10,"angle":335,"satellites":47,"speed":12,"hex_longitude":"2d7956c0","hex_latitude":"05eee898","is_valid_coordinates":true} 
[2026-11-05 20: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-05 20:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236053248001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40522436617175040,"note":"Value kept but may cause issues"} 
[2026-11-05 20:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8744160914487218176,"note":"Value kept but may cause issues"} 
[2026-11-05 20:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793890845000,"timestamp_ms":1793890845000,"timestamp_seconds":1793890845,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac3a0148"} 
[2026-11-05 20: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-05 20:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 20:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20: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-05 20: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-05 20:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":231778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":231778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":231778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 20:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236053248001,"66":27376,"49":206,"87":11776,"24":12,"16":40522436617175040,"45":8744160914487218176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,87,24,16,45]} 
[2026-11-05 20:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236053248001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:31:52] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 20:31:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-11-05 20:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40522436617175040,"km_value":40522436617175.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8744160914487218176,"description":"Unknown IO ID 45"} 
[2026-11-05 20:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236053248001,"power":27376,"unknown_49":206,"unknown_87":11776,"ignition":12,"odometer":null,"unknown_45":8744160914487218176}} 
[2026-11-05 20:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":231778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:31:52] local.INFO: GPS data processed {"connection_id":231778,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:31:52] local.INFO: Acknowledgment sent {"connection_id":231778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:32:02] local.INFO: TCP Data received {"connection_id":230441,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:32:02] local.INFO: Processing buffer {"connection_id":230441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:32:02] local.INFO: IMEI packet received {"connection_id":230441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":230441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:32:03] local.INFO: TCP Data received {"connection_id":230441,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:32:03] local.INFO: Processing buffer {"connection_id":230441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:32:03] local.INFO: IMEI packet received {"connection_id":230441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":230441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:32:07] local.INFO: TCP Data received {"connection_id":230441,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:32:07] local.INFO: Processing buffer {"connection_id":230441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:32:07] local.INFO: IMEI packet received {"connection_id":230441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":230441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:32:08] local.INFO: TCP Data received {"connection_id":230441,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac3a14d0012d7954c005eeeed0000b015d2e..."} 
[2026-11-05 20:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac3a14d0012d7954c005eeeed0000b015d2e..."} 
[2026-11-05 20:32:08] local.INFO: Processing buffer {"connection_id":230441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac3a14d0012d7954c005eeeed0000b015d2e..."} 
[2026-11-05 20:32:08] local.INFO: Packet analysis {"connection_id":230441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac3a"} 
[2026-11-05 20:32:08] local.INFO: Extracted packet for processing {"connection_id":230441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac3a"} 
[2026-11-05 20:32:08] local.INFO: GPS Element Parsed {"raw_longitude":762926272,"raw_latitude":99544784,"longitude_deg":76.2926272,"latitude_deg":9.9544784,"altitude":11,"angle":349,"satellites":46,"speed":17,"hex_longitude":"2d7954c0","hex_latitude":"05eeeed0","is_valid_coordinates":true} 
[2026-11-05 20:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236056320001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40522522516520960,"note":"Value kept but may cause issues"} 
[2026-11-05 20:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8743386858301986816,"note":"Value kept but may cause issues"} 
[2026-11-05 20:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793890850000,"timestamp_ms":1793890850000,"timestamp_seconds":1793890850,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac3a14d0"} 
[2026-11-05 20:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 20:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 20:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":230441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":230441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":230441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:32:08] local.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-05 20:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236056320001,"66":27321,"49":206,"87":11776,"24":17,"16":40522522516520960,"45":8743386858301986816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,87,24,16,45]} 
[2026-11-05 20:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236056320001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:32:08] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-11-05 20:32:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-11-05 20:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40522522516520960,"km_value":40522522516520.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8743386858301986816,"description":"Unknown IO ID 45"} 
[2026-11-05 20:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236056320001,"power":27321,"unknown_49":206,"unknown_87":11776,"ignition":17,"odometer":null,"unknown_45":8743386858301986816}} 
[2026-11-05 20:32:08] 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":64529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:32:08] local.INFO: GPS data processed {"connection_id":230441,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:32:08] local.INFO: Acknowledgment sent {"connection_id":230441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:32:39] local.INFO: TCP Data received {"connection_id":230441,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac3a4798012d794b8005ef11e0000d01552e..."} 
[2026-11-05 20:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac3a4798012d794b8005ef11e0000d01552e..."} 
[2026-11-05 20:32:39] local.INFO: Processing buffer {"connection_id":230441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac3a4798012d794b8005ef11e0000d01552e..."} 
[2026-11-05 20:32:39] local.INFO: Packet analysis {"connection_id":230441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac3a"} 
[2026-11-05 20:32:39] local.INFO: Extracted packet for processing {"connection_id":230441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac3a"} 
[2026-11-05 20:32:39] local.INFO: GPS Element Parsed {"raw_longitude":762923904,"raw_latitude":99553760,"longitude_deg":76.2923904,"latitude_deg":9.955376,"altitude":13,"angle":341,"satellites":46,"speed":33,"hex_longitude":"2d794b80","hex_latitude":"05ef11e0","is_valid_coordinates":true} 
[2026-11-05 20:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236057600001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40522969193119744,"note":"Value kept but may cause issues"} 
[2026-11-05 20:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8742823908348973056,"note":"Value kept but may cause issues"} 
[2026-11-05 20:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793890863000,"timestamp_ms":1793890863000,"timestamp_seconds":1793890863,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac3a4798"} 
[2026-11-05 20:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 20:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 20:32:39] 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-05 20:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":230441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":230441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":230441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 20:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236057600001,"66":27484,"204":206,"87":11776,"24":33,"16":40522969193119744,"45":8742823908348973056},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,87,24,16,45]} 
[2026-11-05 20:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236057600001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:32:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-11-05 20:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40522969193119744,"km_value":40522969193119.74,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8742823908348973056,"description":"Unknown IO ID 45"} 
[2026-11-05 20:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236057600001,"power":27484,"lac":206,"unknown_87":11776,"ignition":33,"odometer":null,"unknown_45":8742823908348973056}} 
[2026-11-05 20:32:39] 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":64530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:32:39] local.INFO: GPS data processed {"connection_id":230441,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:32:39] local.INFO: Acknowledgment sent {"connection_id":230441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:33:11] local.INFO: TCP Data received {"connection_id":229924,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:33:11] local.INFO: Processing buffer {"connection_id":229924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:33:11] local.INFO: IMEI packet received {"connection_id":229924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":229924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:33:12] local.INFO: TCP Data received {"connection_id":229924,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:33:12] local.INFO: Processing buffer {"connection_id":229924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:33:12] local.INFO: IMEI packet received {"connection_id":229924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":229924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:33:13] local.INFO: TCP Data received {"connection_id":229924,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:33:13] local.INFO: Processing buffer {"connection_id":229924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:33:13] local.INFO: IMEI packet received {"connection_id":229924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":229924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:33:18] local.INFO: TCP Data received {"connection_id":229924,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:33:18] local.INFO: Processing buffer {"connection_id":229924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:33:18] local.INFO: IMEI packet received {"connection_id":229924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":229924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:33:18] local.INFO: TCP Data received {"connection_id":229924,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac3b7848012d78b54005f00838000c015f2e..."} 
[2026-11-05 20:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac3b7848012d78b54005f00838000c015f2e..."} 
[2026-11-05 20:33:18] local.INFO: Processing buffer {"connection_id":229924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac3b7848012d78b54005f00838000c015f2e..."} 
[2026-11-05 20:33:18] local.INFO: Packet analysis {"connection_id":229924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac3b"} 
[2026-11-05 20:33:18] local.INFO: Extracted packet for processing {"connection_id":229924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac3b"} 
[2026-11-05 20:33:18] local.INFO: GPS Element Parsed {"raw_longitude":762885440,"raw_latitude":99616824,"longitude_deg":76.288544,"latitude_deg":9.9616824,"altitude":12,"angle":351,"satellites":46,"speed":30,"hex_longitude":"2d78b540","hex_latitude":"05f00838","is_valid_coordinates":true} 
[2026-11-05 20:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236078080001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40526778829111296,"note":"Value kept but may cause issues"} 
[2026-11-05 20:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8699758236928364544,"note":"Value kept but may cause issues"} 
[2026-11-05 20:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793890941000,"timestamp_ms":1793890941000,"timestamp_seconds":1793890941,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac3b7848"} 
[2026-11-05 20:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:33: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-05 20:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 20:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 20:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236078080001,"66":27397,"59":206,"87":11776,"24":30,"16":40526778829111296,"45":8699758236928364544},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,87,24,16,45]} 
[2026-11-05 20:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236078080001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:33:18] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-11-05 20:33:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-11-05 20:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40526778829111296,"km_value":40526778829111.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8699758236928364544,"description":"Unknown IO ID 45"} 
[2026-11-05 20:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236078080001,"power":27397,"unknown_59":206,"unknown_87":11776,"ignition":30,"odometer":null,"unknown_45":8699758236928364544}} 
[2026-11-05 20:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":229924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:33:18] local.INFO: GPS data processed {"connection_id":229924,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:33:18] local.INFO: Acknowledgment sent {"connection_id":229924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:34:02] local.INFO: TCP Data received {"connection_id":233679,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:34:02] local.INFO: Processing buffer {"connection_id":233679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:34:02] local.INFO: IMEI packet received {"connection_id":233679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":233679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:34:04] local.INFO: TCP Data received {"connection_id":233679,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:34:04] local.INFO: Processing buffer {"connection_id":233679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:34:04] local.INFO: IMEI packet received {"connection_id":233679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":233679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:34:07] local.INFO: TCP Data received {"connection_id":233679,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:34:07] local.INFO: Processing buffer {"connection_id":233679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:34:07] local.INFO: IMEI packet received {"connection_id":233679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":233679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:34:08] local.INFO: TCP Data received {"connection_id":233679,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac3ba340012d78af0005f02d68000b01552d..."} 
[2026-11-05 20:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac3ba340012d78af0005f02d68000b01552d..."} 
[2026-11-05 20:34:08] local.INFO: Processing buffer {"connection_id":233679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac3ba340012d78af0005f02d68000b01552d..."} 
[2026-11-05 20:34:08] local.INFO: Packet analysis {"connection_id":233679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac3b"} 
[2026-11-05 20:34:08] local.INFO: Extracted packet for processing {"connection_id":233679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac3b"} 
[2026-11-05 20:34:08] local.INFO: GPS Element Parsed {"raw_longitude":762883840,"raw_latitude":99626344,"longitude_deg":76.288384,"latitude_deg":9.9626344,"altitude":11,"angle":341,"satellites":45,"speed":40,"hex_longitude":"2d78af00","hex_latitude":"05f02d68","is_valid_coordinates":true} 
[2026-11-05 20:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236080896001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40527246980546560,"note":"Value kept but may cause issues"} 
[2026-11-05 20:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8697928649582065664,"note":"Value kept but may cause issues"} 
[2026-11-05 20:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793890952000,"timestamp_ms":1793890952000,"timestamp_seconds":1793890952,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac3ba340"} 
[2026-11-05 20:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 20:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 20:34:08] 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-05 20:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":233679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":233679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":233679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:34:08] local.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-05 20:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236080896001,"66":27343,"59":206,"87":11776,"24":40,"16":40527246980546560,"45":8697928649582065664},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,87,24,16,45]} 
[2026-11-05 20:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236080896001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:34:08] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-11-05 20:34:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-11-05 20:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40527246980546560,"km_value":40527246980546.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8697928649582065664,"description":"Unknown IO ID 45"} 
[2026-11-05 20:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236080896001,"power":27343,"unknown_59":206,"unknown_87":11776,"ignition":40,"odometer":null,"unknown_45":8697928649582065664}} 
[2026-11-05 20:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":233679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:34:08] local.INFO: GPS data processed {"connection_id":233679,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:34:08] local.INFO: Acknowledgment sent {"connection_id":233679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:34:39] local.INFO: TCP Data received {"connection_id":233679,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac3bab10012d78ab0005f03488000b01452d..."} 
[2026-11-05 20:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac3bab10012d78ab0005f03488000b01452d..."} 
[2026-11-05 20:34:39] local.INFO: Processing buffer {"connection_id":233679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac3bab10012d78ab0005f03488000b01452d..."} 
[2026-11-05 20:34:39] local.INFO: Packet analysis {"connection_id":233679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac3b"} 
[2026-11-05 20:34:39] local.INFO: Extracted packet for processing {"connection_id":233679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac3b"} 
[2026-11-05 20:34:39] local.INFO: GPS Element Parsed {"raw_longitude":762882816,"raw_latitude":99628168,"longitude_deg":76.2882816,"latitude_deg":9.9628168,"altitude":11,"angle":325,"satellites":45,"speed":41,"hex_longitude":"2d78ab00","hex_latitude":"05f03488","is_valid_coordinates":true} 
[2026-11-05 20:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236083712001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40527345764794368,"note":"Value kept but may cause issues"} 
[2026-11-05 20:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8696169430980061184,"note":"Value kept but may cause issues"} 
[2026-11-05 20:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793890954000,"timestamp_ms":1793890954000,"timestamp_seconds":1793890954,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac3bab10"} 
[2026-11-05 20:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 20:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 20:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":233679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":233679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":233679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 20:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236083712001,"66":27376,"59":206,"87":11776,"24":41,"16":40527345764794368,"45":8696169430980061184},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,87,24,16,45]} 
[2026-11-05 20:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236083712001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:34:39] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-11-05 20:34:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-11-05 20:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40527345764794368,"km_value":40527345764794.37,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8696169430980061184,"description":"Unknown IO ID 45"} 
[2026-11-05 20:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236083712001,"power":27376,"unknown_59":206,"unknown_87":11776,"ignition":41,"odometer":null,"unknown_45":8696169430980061184}} 
[2026-11-05 20:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":233679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:34:39] local.INFO: GPS data processed {"connection_id":233679,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:34:39] local.INFO: Acknowledgment sent {"connection_id":233679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:35:02] local.INFO: TCP Data received {"connection_id":230443,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:35:02] local.INFO: Processing buffer {"connection_id":230443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:35:02] local.INFO: IMEI packet received {"connection_id":230443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":230443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:35:11] local.INFO: TCP Data received {"connection_id":230443,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:35:11] local.INFO: Processing buffer {"connection_id":230443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:35:11] local.INFO: IMEI packet received {"connection_id":230443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":230443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:35:12] local.INFO: TCP Data received {"connection_id":230443,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac3bce38012d78964005f05440000a01482a..."} 
[2026-11-05 20:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac3bce38012d78964005f05440000a01482a..."} 
[2026-11-05 20:35:12] local.INFO: Processing buffer {"connection_id":230443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac3bce38012d78964005f05440000a01482a..."} 
[2026-11-05 20:35:12] local.INFO: Packet analysis {"connection_id":230443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac3b"} 
[2026-11-05 20:35:12] local.INFO: Extracted packet for processing {"connection_id":230443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac3b"} 
[2026-11-05 20:35:12] local.INFO: GPS Element Parsed {"raw_longitude":762877504,"raw_latitude":99636288,"longitude_deg":76.2877504,"latitude_deg":9.9636288,"altitude":10,"angle":328,"satellites":42,"speed":42,"hex_longitude":"2d789640","hex_latitude":"05f05440","is_valid_coordinates":true} 
[2026-11-05 20: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-05 20:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236084224001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40527818211196928,"note":"Value kept but may cause issues"} 
[2026-11-05 20:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8695043531073685504,"note":"Value kept but may cause issues"} 
[2026-11-05 20:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793890963000,"timestamp_ms":1793890963000,"timestamp_seconds":1793890963,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac3bce38"} 
[2026-11-05 20: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-05 20:35: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-05 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 20:35:12] 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-05 20: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-05 20: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-05 20:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:35: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-05 20:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236084224001,"66":27517,"60":206,"87":11776,"24":42,"16":40527818211196928,"45":8695043531073685504},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,87,24,16,45]} 
[2026-11-05 20:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236084224001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:35:12] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-11-05 20:35:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-11-05 20:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40527818211196928,"km_value":40527818211196.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8695043531073685504,"description":"Unknown IO ID 45"} 
[2026-11-05 20:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236084224001,"power":27517,"unknown_60":206,"unknown_87":11776,"ignition":42,"odometer":null,"unknown_45":8695043531073685504}} 
[2026-11-05 20:35:12] 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":64534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:35:12] local.INFO: GPS data processed {"connection_id":230443,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:35:12] local.INFO: Acknowledgment sent {"connection_id":230443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:35:36] local.INFO: TCP Data received {"connection_id":230442,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:35:36] local.INFO: Processing buffer {"connection_id":230442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:35:36] local.INFO: IMEI packet received {"connection_id":230442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 20:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":230442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:35:44] local.INFO: TCP Data received {"connection_id":230443,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac3bf160012d78838005f07338000c01472b..."} 
[2026-11-05 20:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac3bf160012d78838005f07338000c01472b..."} 
[2026-11-05 20:35:44] local.INFO: Processing buffer {"connection_id":230443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac3bf160012d78838005f07338000c01472b..."} 
[2026-11-05 20:35:44] local.INFO: Packet analysis {"connection_id":230443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac3b"} 
[2026-11-05 20:35:44] local.INFO: Extracted packet for processing {"connection_id":230443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac3b"} 
[2026-11-05 20:35:44] local.INFO: GPS Element Parsed {"raw_longitude":762872704,"raw_latitude":99644216,"longitude_deg":76.2872704,"latitude_deg":9.9644216,"altitude":12,"angle":327,"satellites":43,"speed":43,"hex_longitude":"2d788380","hex_latitude":"05f07338","is_valid_coordinates":true} 
[2026-11-05 20: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-05 20:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236086528001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40528264887795712,"note":"Value kept but may cause issues"} 
[2026-11-05 20:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8689202925309018112,"note":"Value kept but may cause issues"} 
[2026-11-05 20:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793890972000,"timestamp_ms":1793890972000,"timestamp_seconds":1793890972,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac3bf160"} 
[2026-11-05 20: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-05 20:35: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-05 20: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-05 20:35:44] 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-05 20: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-05 20: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-05 20:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 20:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236086528001,"66":27484,"60":206,"87":11776,"24":43,"16":40528264887795712,"45":8689202925309018112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,87,24,16,45]} 
[2026-11-05 20:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236086528001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:35:44] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-11-05 20:35:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-11-05 20:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40528264887795712,"km_value":40528264887795.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8689202925309018112,"description":"Unknown IO ID 45"} 
[2026-11-05 20:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236086528001,"power":27484,"unknown_60":206,"unknown_87":11776,"ignition":43,"odometer":null,"unknown_45":8689202925309018112}} 
[2026-11-05 20:35:44] 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":64535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:35:44] local.INFO: GPS data processed {"connection_id":230443,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:35:44] local.INFO: Acknowledgment sent {"connection_id":230443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:36:02] local.INFO: TCP Data received {"connection_id":231779,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:36:02] local.INFO: Processing buffer {"connection_id":231779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:36:02] local.INFO: IMEI packet received {"connection_id":231779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":231779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:36:05] local.INFO: TCP Data received {"connection_id":231779,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:36:05] local.INFO: Processing buffer {"connection_id":231779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:36:05] local.INFO: IMEI packet received {"connection_id":231779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":231779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:36:08] local.INFO: TCP Data received {"connection_id":231779,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:36:08] local.INFO: Processing buffer {"connection_id":231779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:36:08] local.INFO: IMEI packet received {"connection_id":231779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":231779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:36:09] local.INFO: TCP Data received {"connection_id":231779,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac3c10a0012d786e4005f08f48000d01442c..."} 
[2026-11-05 20:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac3c10a0012d786e4005f08f48000d01442c..."} 
[2026-11-05 20:36:09] local.INFO: Processing buffer {"connection_id":231779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac3c10a0012d786e4005f08f48000d01442c..."} 
[2026-11-05 20:36:09] local.INFO: Packet analysis {"connection_id":231779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac3c"} 
[2026-11-05 20:36:09] local.INFO: Extracted packet for processing {"connection_id":231779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac3c"} 
[2026-11-05 20:36:09] local.INFO: GPS Element Parsed {"raw_longitude":762867264,"raw_latitude":99651400,"longitude_deg":76.2867264,"latitude_deg":9.96514,"altitude":13,"angle":324,"satellites":44,"speed":44,"hex_longitude":"2d786e40","hex_latitude":"05f08f48","is_valid_coordinates":true} 
[2026-11-05 20:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236088832001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40528698679492608,"note":"Value kept but may cause issues"} 
[2026-11-05 20:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8683925269497722880,"note":"Value kept but may cause issues"} 
[2026-11-05 20:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793890980000,"timestamp_ms":1793890980000,"timestamp_seconds":1793890980,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac3c10a0"} 
[2026-11-05 20:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:36: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-05 20:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 20:36:09] 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-05 20:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":231779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":231779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":231779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:36:09] local.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-05 20:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236088832001,"66":27300,"60":206,"87":11776,"24":44,"16":40528698679492608,"45":8683925269497722880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,87,24,16,45]} 
[2026-11-05 20:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236088832001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:36:09] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-11-05 20:36:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-11-05 20:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40528698679492608,"km_value":40528698679492.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8683925269497722880,"description":"Unknown IO ID 45"} 
[2026-11-05 20:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236088832001,"power":27300,"unknown_60":206,"unknown_87":11776,"ignition":44,"odometer":null,"unknown_45":8683925269497722880}} 
[2026-11-05 20:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":231779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:36:09] local.INFO: GPS data processed {"connection_id":231779,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:36:09] local.INFO: Acknowledgment sent {"connection_id":231779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:36:44] local.INFO: TCP Data received {"connection_id":231779,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac3c1c58012d78684005f09a48000d01562c..."} 
[2026-11-05 20:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac3c1c58012d78684005f09a48000d01562c..."} 
[2026-11-05 20:36:44] local.INFO: Processing buffer {"connection_id":231779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac3c1c58012d78684005f09a48000d01562c..."} 
[2026-11-05 20:36:44] local.INFO: Packet analysis {"connection_id":231779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac3c"} 
[2026-11-05 20:36:44] local.INFO: Extracted packet for processing {"connection_id":231779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac3c"} 
[2026-11-05 20:36:44] local.INFO: GPS Element Parsed {"raw_longitude":762865728,"raw_latitude":99654216,"longitude_deg":76.2865728,"latitude_deg":9.9654216,"altitude":13,"angle":342,"satellites":44,"speed":42,"hex_longitude":"2d786840","hex_latitude":"05f09a48","is_valid_coordinates":true} 
[2026-11-05 20: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-05 20:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236090880001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40528853298315264,"note":"Value kept but may cause issues"} 
[2026-11-05 20:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8677943926244460544,"note":"Value kept but may cause issues"} 
[2026-11-05 20:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793890983000,"timestamp_ms":1793890983000,"timestamp_seconds":1793890983,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac3c1c58"} 
[2026-11-05 20: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-05 20:36: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-05 20: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 20:36:44] 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-05 20: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-05 20: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-05 20:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":231779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":231779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":231779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 20:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236090880001,"66":27484,"60":206,"87":11776,"24":42,"16":40528853298315264,"45":8677943926244460544},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,87,24,16,45]} 
[2026-11-05 20:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236090880001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:36:44] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-11-05 20:36:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-11-05 20:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40528853298315264,"km_value":40528853298315.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8677943926244460544,"description":"Unknown IO ID 45"} 
[2026-11-05 20:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236090880001,"power":27484,"unknown_60":206,"unknown_87":11776,"ignition":42,"odometer":null,"unknown_45":8677943926244460544}} 
[2026-11-05 20:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":231779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:36:44] local.INFO: GPS data processed {"connection_id":231779,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:36:44] local.INFO: Acknowledgment sent {"connection_id":231779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:37:04] local.INFO: TCP Data received {"connection_id":230444,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:37:04] local.INFO: Processing buffer {"connection_id":230444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:37:04] local.INFO: IMEI packet received {"connection_id":230444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":230444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:37:06] local.INFO: TCP Data received {"connection_id":230444,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:37:06] local.INFO: Processing buffer {"connection_id":230444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:37:06] local.INFO: IMEI packet received {"connection_id":230444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":230444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:37:07] local.INFO: TCP Data received {"connection_id":230444,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:37:07] local.INFO: Processing buffer {"connection_id":230444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:37:07] local.INFO: IMEI packet received {"connection_id":230444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":230444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:37:08] local.INFO: TCP Data received {"connection_id":230444,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:37:08] local.INFO: Processing buffer {"connection_id":230444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:37:08] local.INFO: IMEI packet received {"connection_id":230444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":230444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:41:01] local.INFO: TCP Data received {"connection_id":233680,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233680,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:41:01] local.INFO: Processing buffer {"connection_id":233680,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:41:01] local.INFO: IMEI packet received {"connection_id":233680,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 20:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":233680,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:46:32] local.INFO: TCP Data received {"connection_id":229925,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:46:32] local.INFO: Processing buffer {"connection_id":229925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:46:32] local.INFO: IMEI packet received {"connection_id":229925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":229925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:46:36] local.INFO: TCP Data received {"connection_id":233682,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233682,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:46:36] local.INFO: Processing buffer {"connection_id":233682,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:46:36] local.INFO: IMEI packet received {"connection_id":233682,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 20:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":233682,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:46:37] local.INFO: TCP Data received {"connection_id":229925,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:46:37] local.INFO: Processing buffer {"connection_id":229925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:46:37] local.INFO: IMEI packet received {"connection_id":229925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":229925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:46:38] local.INFO: TCP Data received {"connection_id":229925,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7190c80100000000000000000000000000..."} 
[2026-11-05 20:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7190c80100000000000000000000000000..."} 
[2026-11-05 20:46:38] local.INFO: Processing buffer {"connection_id":229925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7190c80100000000000000000000000000..."} 
[2026-11-05 20:46:38] local.INFO: Packet analysis {"connection_id":229925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab71"} 
[2026-11-05 20:46:38] local.INFO: Extracted packet for processing {"connection_id":229925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab71"} 
[2026-11-05 20:46: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-05 20:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 20:46:38] 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-05 20:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1793877709000,"timestamp_ms":1793877709000,"timestamp_seconds":1793877709,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7190c8"} 
[2026-11-05 20:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 20:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-11-05 20:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":229925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":229925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":229925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:46:38] 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-05 20:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":229925,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 20:46:38] local.INFO: GPS data processed {"connection_id":229925,"processed":0,"errors":0,"total":1} 
[2026-11-05 20:46:38] local.INFO: Acknowledgment sent {"connection_id":229925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:47:09] local.INFO: TCP Data received {"connection_id":229925,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7190c80100000000000000000000000000..."} 
[2026-11-05 20:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7190c80100000000000000000000000000..."} 
[2026-11-05 20:47:09] local.INFO: Processing buffer {"connection_id":229925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7190c80100000000000000000000000000..."} 
[2026-11-05 20:47:09] local.INFO: Packet analysis {"connection_id":229925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab71"} 
[2026-11-05 20:47:09] local.INFO: Extracted packet for processing {"connection_id":229925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab71"} 
[2026-11-05 20:47: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-05 20:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 20:47:09] 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-05 20:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793877709000,"timestamp_ms":1793877709000,"timestamp_seconds":1793877709,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7190c8"} 
[2026-11-05 20: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-05 20:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 20: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-11-05 20:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20: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-05 20: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-05 20:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:47:09] 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-05 20:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":229925,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 20:47:09] local.INFO: GPS data processed {"connection_id":229925,"processed":0,"errors":0,"total":1} 
[2026-11-05 20:47:09] local.INFO: Acknowledgment sent {"connection_id":229925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:47:41] local.INFO: TCP Data received {"connection_id":229925,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7190c80100000000000000000000000000..."} 
[2026-11-05 20:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7190c80100000000000000000000000000..."} 
[2026-11-05 20:47:41] local.INFO: Processing buffer {"connection_id":229925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7190c80100000000000000000000000000..."} 
[2026-11-05 20:47:41] local.INFO: Packet analysis {"connection_id":229925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab71"} 
[2026-11-05 20:47:41] local.INFO: Extracted packet for processing {"connection_id":229925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab71"} 
[2026-11-05 20:47:41] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-11-05 20:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 20:47:41] 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-05 20:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793877709000,"timestamp_ms":1793877709000,"timestamp_seconds":1793877709,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7190c8"} 
[2026-11-05 20: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-05 20:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 20: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-11-05 20:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20: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-05 20: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-05 20:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:47:41] 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-05 20:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":229925,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 20:47:41] local.INFO: GPS data processed {"connection_id":229925,"processed":0,"errors":0,"total":1} 
[2026-11-05 20:47:41] local.INFO: Acknowledgment sent {"connection_id":229925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:48:12] local.INFO: TCP Data received {"connection_id":229925,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7190c80100000000000000000000000000..."} 
[2026-11-05 20:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7190c80100000000000000000000000000..."} 
[2026-11-05 20:48:12] local.INFO: Processing buffer {"connection_id":229925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7190c80100000000000000000000000000..."} 
[2026-11-05 20:48:12] local.INFO: Packet analysis {"connection_id":229925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab71"} 
[2026-11-05 20:48:12] local.INFO: Extracted packet for processing {"connection_id":229925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab71"} 
[2026-11-05 20:48:12] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-11-05 20:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 20:48:12] 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-05 20:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793877709000,"timestamp_ms":1793877709000,"timestamp_seconds":1793877709,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7190c8"} 
[2026-11-05 20: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-05 20:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 20: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-11-05 20:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20: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-05 20: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-05 20:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:48:12] 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-05 20:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":229925,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 20:48:12] local.INFO: GPS data processed {"connection_id":229925,"processed":0,"errors":0,"total":1} 
[2026-11-05 20:48:12] local.INFO: Acknowledgment sent {"connection_id":229925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:48:44] local.INFO: TCP Data received {"connection_id":229925,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7190c80100000000000000000000000000..."} 
[2026-11-05 20:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7190c80100000000000000000000000000..."} 
[2026-11-05 20:48:44] local.INFO: Processing buffer {"connection_id":229925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7190c80100000000000000000000000000..."} 
[2026-11-05 20:48:44] local.INFO: Packet analysis {"connection_id":229925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab71"} 
[2026-11-05 20:48:44] local.INFO: Extracted packet for processing {"connection_id":229925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab71"} 
[2026-11-05 20:48:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-11-05 20:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 20:48:44] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-11-05 20:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793877709000,"timestamp_ms":1793877709000,"timestamp_seconds":1793877709,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7190c8"} 
[2026-11-05 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-05 20:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-11-05 20:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 20:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:48: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-05 20:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":229925,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 20:48:44] local.INFO: GPS data processed {"connection_id":229925,"processed":0,"errors":0,"total":1} 
[2026-11-05 20:48:44] local.INFO: Acknowledgment sent {"connection_id":229925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:49:15] local.INFO: TCP Data received {"connection_id":229925,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7190c80100000000000000000000000000..."} 
[2026-11-05 20:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7190c80100000000000000000000000000..."} 
[2026-11-05 20:49:15] local.INFO: Processing buffer {"connection_id":229925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7190c80100000000000000000000000000..."} 
[2026-11-05 20:49:15] local.INFO: Packet analysis {"connection_id":229925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab71"} 
[2026-11-05 20:49:15] local.INFO: Extracted packet for processing {"connection_id":229925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab71"} 
[2026-11-05 20: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-05 20:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 20:49:15] 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-05 20:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793877709000,"timestamp_ms":1793877709000,"timestamp_seconds":1793877709,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7190c8"} 
[2026-11-05 20: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-05 20:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 20: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-11-05 20:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20: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-05 20: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-05 20:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:49:15] 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-05 20:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":229925,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 20:49:15] local.INFO: GPS data processed {"connection_id":229925,"processed":0,"errors":0,"total":1} 
[2026-11-05 20:49:15] local.INFO: Acknowledgment sent {"connection_id":229925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:49:46] local.INFO: TCP Data received {"connection_id":229925,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7190c80100000000000000000000000000..."} 
[2026-11-05 20:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7190c80100000000000000000000000000..."} 
[2026-11-05 20:49:46] local.INFO: Processing buffer {"connection_id":229925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7190c80100000000000000000000000000..."} 
[2026-11-05 20:49:46] local.INFO: Packet analysis {"connection_id":229925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab71"} 
[2026-11-05 20:49:46] local.INFO: Extracted packet for processing {"connection_id":229925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab71"} 
[2026-11-05 20: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-05 20:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 20:49:46] 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-05 20:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793877709000,"timestamp_ms":1793877709000,"timestamp_seconds":1793877709,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7190c8"} 
[2026-11-05 20: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-05 20:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 20: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-11-05 20:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20: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-05 20: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-05 20:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:49:46] 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-05 20:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":229925,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 20:49:46] local.INFO: GPS data processed {"connection_id":229925,"processed":0,"errors":0,"total":1} 
[2026-11-05 20:49:46] local.INFO: Acknowledgment sent {"connection_id":229925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:50:18] local.INFO: TCP Data received {"connection_id":229925,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7190c80100000000000000000000000000..."} 
[2026-11-05 20:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7190c80100000000000000000000000000..."} 
[2026-11-05 20:50:18] local.INFO: Processing buffer {"connection_id":229925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7190c80100000000000000000000000000..."} 
[2026-11-05 20:50:18] local.INFO: Packet analysis {"connection_id":229925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab71"} 
[2026-11-05 20:50:18] local.INFO: Extracted packet for processing {"connection_id":229925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab71"} 
[2026-11-05 20:50:18] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-11-05 20:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 20:50:18] 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-05 20:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793877709000,"timestamp_ms":1793877709000,"timestamp_seconds":1793877709,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7190c8"} 
[2026-11-05 20: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-05 20:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 20: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-11-05 20:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20: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-05 20: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-05 20:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:50: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-05 20:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":229925,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 20:50:18] local.INFO: GPS data processed {"connection_id":229925,"processed":0,"errors":0,"total":1} 
[2026-11-05 20:50:18] local.INFO: Acknowledgment sent {"connection_id":229925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:50:49] local.INFO: TCP Data received {"connection_id":229925,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1ab7190c80100000000000000000000000000..."} 
[2026-11-05 20:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ab7190c80100000000000000000000000000..."} 
[2026-11-05 20:50:49] local.INFO: Processing buffer {"connection_id":229925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ab7190c80100000000000000000000000000..."} 
[2026-11-05 20:50:49] local.INFO: Packet analysis {"connection_id":229925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ab71"} 
[2026-11-05 20:50:49] local.INFO: Extracted packet for processing {"connection_id":229925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ab71"} 
[2026-11-05 20:50: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-05 20:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 20:50:49] 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-05 20:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793877709000,"timestamp_ms":1793877709000,"timestamp_seconds":1793877709,"priority":1,"record_length":96,"hex_timestamp":"000001a1ab7190c8"} 
[2026-11-05 20:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 20:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-11-05 20:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:50:49] 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-05 20:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":229925,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-05 20:50:49] local.INFO: GPS data processed {"connection_id":229925,"processed":0,"errors":0,"total":1} 
[2026-11-05 20:50:49] local.INFO: Acknowledgment sent {"connection_id":229925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:51:20] local.INFO: TCP Data received {"connection_id":229925,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac4c3d40012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 20:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac4c3d40012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 20:51:20] local.INFO: Processing buffer {"connection_id":229925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac4c3d40012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 20:51:20] local.INFO: Packet analysis {"connection_id":229925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac4c"} 
[2026-11-05 20:51:20] local.INFO: Extracted packet for processing {"connection_id":229925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac4c"} 
[2026-11-05 20:51:20] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788456,"longitude_deg":76.2817472,"latitude_deg":9.9788456,"altitude":13,"angle":62,"satellites":42,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-11-05 20: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-05 20:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 20:51:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,190,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 20:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793892040000,"timestamp_ms":1793892040000,"timestamp_seconds":1793892040,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac4c3d40"} 
[2026-11-05 20: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-05 20:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 20: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-11-05 20:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20: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-05 20: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-05 20:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:51:20] 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-05 20:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25908,"190":206,"87":13568,"24":0,"16":40536923541864448},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16]} 
[2026-11-05 20:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 20:51:20] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-11-05 20:51:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 20:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:51:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25908,"unknown_190":206,"unknown_87":13568,"ignition":0,"odometer":null}} 
[2026-11-05 20:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":229925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:51:20] local.INFO: GPS data processed {"connection_id":229925,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:51:20] local.INFO: Acknowledgment sent {"connection_id":229925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:51:51] local.INFO: TCP Data received {"connection_id":229925,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac4c3d40012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 20:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac4c3d40012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 20:51:51] local.INFO: Processing buffer {"connection_id":229925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac4c3d40012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 20:51:51] local.INFO: Packet analysis {"connection_id":229925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac4c"} 
[2026-11-05 20:51:51] local.INFO: Extracted packet for processing {"connection_id":229925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac4c"} 
[2026-11-05 20:51:51] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788456,"longitude_deg":76.2817472,"latitude_deg":9.9788456,"altitude":13,"angle":62,"satellites":42,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-11-05 20: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-05 20:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 20:51:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,190,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 20:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793892040000,"timestamp_ms":1793892040000,"timestamp_seconds":1793892040,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac4c3d40"} 
[2026-11-05 20: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-05 20:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 20: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-11-05 20:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20: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-05 20: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-05 20:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":229925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":229925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":229925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:51:51] 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-05 20:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25908,"190":206,"87":13568,"24":0,"16":40536923541864448},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16]} 
[2026-11-05 20:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 20:51:51] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-11-05 20:51:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 20:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:51:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25908,"unknown_190":206,"unknown_87":13568,"ignition":0,"odometer":null}} 
[2026-11-05 20:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":229925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:51:51] local.INFO: GPS data processed {"connection_id":229925,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:51:51] local.INFO: Acknowledgment sent {"connection_id":229925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:52:11] local.INFO: TCP Data received {"connection_id":230445,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230445,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:52:11] local.INFO: Processing buffer {"connection_id":230445,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:52:11] local.INFO: IMEI packet received {"connection_id":230445,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 20:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":230445,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:52:22] local.INFO: TCP Data received {"connection_id":229925,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac4c3d40012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 20:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac4c3d40012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 20:52:22] local.INFO: Processing buffer {"connection_id":229925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac4c3d40012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 20:52:22] local.INFO: Packet analysis {"connection_id":229925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac4c"} 
[2026-11-05 20:52:22] local.INFO: Extracted packet for processing {"connection_id":229925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac4c"} 
[2026-11-05 20:52:22] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788456,"longitude_deg":76.2817472,"latitude_deg":9.9788456,"altitude":13,"angle":62,"satellites":42,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-11-05 20: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-05 20:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 20:52:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,190,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 20:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793892040000,"timestamp_ms":1793892040000,"timestamp_seconds":1793892040,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac4c3d40"} 
[2026-11-05 20: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-05 20:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 20: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-11-05 20:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20: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-05 20: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-05 20:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":229925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":229925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":229925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:52: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-05 20:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25908,"190":206,"87":13568,"24":0,"16":40536923541864448},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16]} 
[2026-11-05 20:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 20:52:22] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-11-05 20:52:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 20:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:52:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25908,"unknown_190":206,"unknown_87":13568,"ignition":0,"odometer":null}} 
[2026-11-05 20:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":229925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:52:22] local.INFO: GPS data processed {"connection_id":229925,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:52:22] local.INFO: Acknowledgment sent {"connection_id":229925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:52:52] local.INFO: TCP Data received {"connection_id":233683,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:52:52] local.INFO: Processing buffer {"connection_id":233683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:52:52] local.INFO: IMEI packet received {"connection_id":233683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":233683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:52:58] local.INFO: TCP Data received {"connection_id":233683,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:52:58] local.INFO: Processing buffer {"connection_id":233683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:52:58] local.INFO: IMEI packet received {"connection_id":233683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":233683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:52:59] local.INFO: TCP Data received {"connection_id":233683,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac4c3d40012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 20:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac4c3d40012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 20:52:59] local.INFO: Processing buffer {"connection_id":233683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac4c3d40012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 20:52:59] local.INFO: Packet analysis {"connection_id":233683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac4c"} 
[2026-11-05 20:52:59] local.INFO: Extracted packet for processing {"connection_id":233683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac4c"} 
[2026-11-05 20:52:59] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788456,"longitude_deg":76.2817472,"latitude_deg":9.9788456,"altitude":13,"angle":62,"satellites":42,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-11-05 20:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 20:52:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,190,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 20:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793892040000,"timestamp_ms":1793892040000,"timestamp_seconds":1793892040,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac4c3d40"} 
[2026-11-05 20:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 20:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-11-05 20:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":233683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":233683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":233683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:52:59] 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-05 20:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25908,"190":206,"87":13568,"24":0,"16":40536923541864448},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16]} 
[2026-11-05 20:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 20:52:59] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-11-05 20:52:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 20:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:52:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25908,"unknown_190":206,"unknown_87":13568,"ignition":0,"odometer":null}} 
[2026-11-05 20:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":233683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:52:59] local.INFO: GPS data processed {"connection_id":233683,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:52:59] local.INFO: Acknowledgment sent {"connection_id":233683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:53:30] local.INFO: TCP Data received {"connection_id":233683,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac4c3d40012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 20:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac4c3d40012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 20:53:30] local.INFO: Processing buffer {"connection_id":233683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac4c3d40012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 20:53:30] local.INFO: Packet analysis {"connection_id":233683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac4c"} 
[2026-11-05 20:53:30] local.INFO: Extracted packet for processing {"connection_id":233683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac4c"} 
[2026-11-05 20:53:30] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788456,"longitude_deg":76.2817472,"latitude_deg":9.9788456,"altitude":13,"angle":62,"satellites":42,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-11-05 20:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 20:53:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,190,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 20:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793892040000,"timestamp_ms":1793892040000,"timestamp_seconds":1793892040,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac4c3d40"} 
[2026-11-05 20:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 20:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-11-05 20:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":233683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":233683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":233683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:53:30] 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-05 20:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25908,"190":206,"87":13568,"24":0,"16":40536923541864448},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16]} 
[2026-11-05 20:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 20:53:30] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-11-05 20:53:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 20:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:53:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25908,"unknown_190":206,"unknown_87":13568,"ignition":0,"odometer":null}} 
[2026-11-05 20:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":233683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:53:30] local.INFO: GPS data processed {"connection_id":233683,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:53:30] local.INFO: Acknowledgment sent {"connection_id":233683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:53:57] local.INFO: TCP Data received {"connection_id":231781,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:53:57] local.INFO: Processing buffer {"connection_id":231781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:53:57] local.INFO: IMEI packet received {"connection_id":231781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":231781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:54:02] local.INFO: TCP Data received {"connection_id":231781,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:54:02] local.INFO: Processing buffer {"connection_id":231781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:54:02] local.INFO: IMEI packet received {"connection_id":231781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":231781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:54:03] local.INFO: TCP Data received {"connection_id":231781,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac4c3d40012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 20:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac4c3d40012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 20:54:03] local.INFO: Processing buffer {"connection_id":231781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac4c3d40012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 20:54:03] local.INFO: Packet analysis {"connection_id":231781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac4c"} 
[2026-11-05 20:54:03] local.INFO: Extracted packet for processing {"connection_id":231781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac4c"} 
[2026-11-05 20:54:03] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788456,"longitude_deg":76.2817472,"latitude_deg":9.9788456,"altitude":13,"angle":62,"satellites":42,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-11-05 20:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 20:54:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,190,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 20:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1793892040000,"timestamp_ms":1793892040000,"timestamp_seconds":1793892040,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac4c3d40"} 
[2026-11-05 20:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 20:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-11-05 20:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":231781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":231781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":231781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:54:03] 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-05 20:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25908,"190":206,"87":13568,"24":0,"16":40536923541864448},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16]} 
[2026-11-05 20:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 20:54:03] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-11-05 20:54:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 20:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:54:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25908,"unknown_190":206,"unknown_87":13568,"ignition":0,"odometer":null}} 
[2026-11-05 20:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":231781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:54:03] local.INFO: GPS data processed {"connection_id":231781,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:54:03] local.INFO: Acknowledgment sent {"connection_id":231781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:54:08] local.INFO: TCP Data received {"connection_id":231781,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac4c3d40012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 20:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac4c3d40012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 20:54:08] local.INFO: Processing buffer {"connection_id":231781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac4c3d40012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 20:54:08] local.INFO: Packet analysis {"connection_id":231781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac4c"} 
[2026-11-05 20:54:08] local.INFO: Extracted packet for processing {"connection_id":231781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac4c"} 
[2026-11-05 20:54:08] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788456,"longitude_deg":76.2817472,"latitude_deg":9.9788456,"altitude":13,"angle":62,"satellites":42,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-11-05 20:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 20:54:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,190,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 20:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793892040000,"timestamp_ms":1793892040000,"timestamp_seconds":1793892040,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac4c3d40"} 
[2026-11-05 20:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 20:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-11-05 20:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":231781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":231781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":231781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:54:08] 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-05 20:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25908,"190":206,"87":13568,"24":0,"16":40536923541864448},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16]} 
[2026-11-05 20:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 20:54:08] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-11-05 20:54:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 20:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:54:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25908,"unknown_190":206,"unknown_87":13568,"ignition":0,"odometer":null}} 
[2026-11-05 20:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":231781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:54:08] local.INFO: GPS data processed {"connection_id":231781,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:54:08] local.INFO: Acknowledgment sent {"connection_id":231781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:54:52] local.INFO: TCP Data received {"connection_id":233684,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:54:52] local.INFO: Processing buffer {"connection_id":233684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:54:52] local.INFO: IMEI packet received {"connection_id":233684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":233684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:54:57] local.INFO: TCP Data received {"connection_id":233684,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:54:57] local.INFO: Processing buffer {"connection_id":233684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:54:57] local.INFO: IMEI packet received {"connection_id":233684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":233684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:54:58] local.INFO: TCP Data received {"connection_id":233684,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac4c3d40012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 20:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac4c3d40012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 20:54:58] local.INFO: Processing buffer {"connection_id":233684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac4c3d40012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 20:54:58] local.INFO: Packet analysis {"connection_id":233684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac4c"} 
[2026-11-05 20:54:58] local.INFO: Extracted packet for processing {"connection_id":233684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac4c"} 
[2026-11-05 20:54:58] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788456,"longitude_deg":76.2817472,"latitude_deg":9.9788456,"altitude":13,"angle":62,"satellites":42,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-11-05 20:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 20:54:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,190,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 20:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793892040000,"timestamp_ms":1793892040000,"timestamp_seconds":1793892040,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac4c3d40"} 
[2026-11-05 20:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 20:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-11-05 20:54:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20:54:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":233684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":233684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":233684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:54:58] 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-05 20:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25908,"190":206,"87":13568,"24":0,"16":40536923541864448},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16]} 
[2026-11-05 20:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 20:54:58] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-11-05 20:54:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 20:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:54:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25908,"unknown_190":206,"unknown_87":13568,"ignition":0,"odometer":null}} 
[2026-11-05 20:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":233684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:54:58] local.INFO: GPS data processed {"connection_id":233684,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:54:58] local.INFO: Acknowledgment sent {"connection_id":233684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:55:29] local.INFO: TCP Data received {"connection_id":233684,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac4c3d40012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 20:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac4c3d40012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 20:55:29] local.INFO: Processing buffer {"connection_id":233684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac4c3d40012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 20:55:29] local.INFO: Packet analysis {"connection_id":233684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac4c"} 
[2026-11-05 20:55:29] local.INFO: Extracted packet for processing {"connection_id":233684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac4c"} 
[2026-11-05 20:55:29] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788456,"longitude_deg":76.2817472,"latitude_deg":9.9788456,"altitude":13,"angle":62,"satellites":42,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-11-05 20:55:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 20:55:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,190,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 20:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793892040000,"timestamp_ms":1793892040000,"timestamp_seconds":1793892040,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac4c3d40"} 
[2026-11-05 20:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:55:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 20:55:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-11-05 20:55:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20:55:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":233684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":233684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":233684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:55:29] 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-05 20:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25908,"190":206,"87":13568,"24":0,"16":40536923541864448},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16]} 
[2026-11-05 20:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 20:55:29] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-11-05 20:55:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 20:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:55:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25908,"unknown_190":206,"unknown_87":13568,"ignition":0,"odometer":null}} 
[2026-11-05 20:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":233684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:55:29] local.INFO: GPS data processed {"connection_id":233684,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:55:29] local.INFO: Acknowledgment sent {"connection_id":233684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:55:52] local.INFO: TCP Data received {"connection_id":233685,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:55:52] local.INFO: Processing buffer {"connection_id":233685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:55:52] local.INFO: IMEI packet received {"connection_id":233685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":233685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:55:57] local.INFO: TCP Data received {"connection_id":233685,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:55:57] local.INFO: Processing buffer {"connection_id":233685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:55:57] local.INFO: IMEI packet received {"connection_id":233685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":233685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:55:58] local.INFO: TCP Data received {"connection_id":233685,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac4c3d40012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 20:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac4c3d40012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 20:55:58] local.INFO: Processing buffer {"connection_id":233685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac4c3d40012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 20:55:58] local.INFO: Packet analysis {"connection_id":233685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac4c"} 
[2026-11-05 20:55:58] local.INFO: Extracted packet for processing {"connection_id":233685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac4c"} 
[2026-11-05 20:55:58] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788456,"longitude_deg":76.2817472,"latitude_deg":9.9788456,"altitude":13,"angle":62,"satellites":42,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-11-05 20: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-05 20:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 20:55:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,190,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 20:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793892040000,"timestamp_ms":1793892040000,"timestamp_seconds":1793892040,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac4c3d40"} 
[2026-11-05 20: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-05 20:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 20:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-11-05 20:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 20: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-05 20: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-05 20:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":233685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":233685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":233685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:55:58] 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-05 20:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25908,"190":206,"87":13568,"24":0,"16":40536923541864448},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16]} 
[2026-11-05 20:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-05 20:55:58] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-11-05 20:55:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 20:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:55:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25908,"unknown_190":206,"unknown_87":13568,"ignition":0,"odometer":null}} 
[2026-11-05 20:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":233685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:55:58] local.INFO: GPS data processed {"connection_id":233685,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:55:58] local.INFO: Acknowledgment sent {"connection_id":233685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:56:29] local.INFO: TCP Data received {"connection_id":233685,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac50d508012d77abc005f2a6a8000d003e2c..."} 
[2026-11-05 20:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac50d508012d77abc005f2a6a8000d003e2c..."} 
[2026-11-05 20:56:29] local.INFO: Processing buffer {"connection_id":233685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac50d508012d77abc005f2a6a8000d003e2c..."} 
[2026-11-05 20:56:29] local.INFO: Packet analysis {"connection_id":233685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac50"} 
[2026-11-05 20:56:29] local.INFO: Extracted packet for processing {"connection_id":233685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac50"} 
[2026-11-05 20:56:29] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788456,"longitude_deg":76.2817472,"latitude_deg":9.9788456,"altitude":13,"angle":62,"satellites":44,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-11-05 20: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-05 20:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236362240001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 20:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043309324288,"note":"Value kept but may cause issues"} 
[2026-11-05 20:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793892341000,"timestamp_ms":1793892341000,"timestamp_seconds":1793892341,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac50d508"} 
[2026-11-05 20: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-05 20:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 20: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-11-05 20:56:29] 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-05 20: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-05 20: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-05 20:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":233685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":233685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":233685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:56:29] 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-05 20:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236362240001,"66":25756,"190":206,"87":13568,"24":0,"16":40536923541864448,"45":8623197043309324288},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16,45]} 
[2026-11-05 20:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236362240001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:56:29] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-11-05 20:56:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 20:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043309324288,"description":"Unknown IO ID 45"} 
[2026-11-05 20:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236362240001,"power":25756,"unknown_190":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8623197043309324288}} 
[2026-11-05 20:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":233685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:56:29] local.INFO: GPS data processed {"connection_id":233685,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:56:29] local.INFO: Acknowledgment sent {"connection_id":233685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:56:52] local.INFO: TCP Data received {"connection_id":229927,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:56:52] local.INFO: Processing buffer {"connection_id":229927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:56:52] local.INFO: IMEI packet received {"connection_id":229927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":229927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:56:57] local.INFO: TCP Data received {"connection_id":229927,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:56:57] local.INFO: Processing buffer {"connection_id":229927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:56:57] local.INFO: IMEI packet received {"connection_id":229927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":229927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:56:58] local.INFO: TCP Data received {"connection_id":229927,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac50d508012d77abc005f2a6a8000d003e2c..."} 
[2026-11-05 20:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac50d508012d77abc005f2a6a8000d003e2c..."} 
[2026-11-05 20:56:58] local.INFO: Processing buffer {"connection_id":229927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac50d508012d77abc005f2a6a8000d003e2c..."} 
[2026-11-05 20:56:58] local.INFO: Packet analysis {"connection_id":229927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac50"} 
[2026-11-05 20:56:58] local.INFO: Extracted packet for processing {"connection_id":229927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac50"} 
[2026-11-05 20:56:58] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788456,"longitude_deg":76.2817472,"latitude_deg":9.9788456,"altitude":13,"angle":62,"satellites":44,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-11-05 20:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236362240001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 20:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043309324288,"note":"Value kept but may cause issues"} 
[2026-11-05 20:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793892341000,"timestamp_ms":1793892341000,"timestamp_seconds":1793892341,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac50d508"} 
[2026-11-05 20:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 20:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-11-05 20:56:58] 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-05 20:56:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":229927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":229927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":229927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:56:58] 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-05 20:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236362240001,"66":25756,"190":206,"87":13568,"24":0,"16":40536923541864448,"45":8623197043309324288},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16,45]} 
[2026-11-05 20:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236362240001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:56:58] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-11-05 20:56:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 20:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043309324288,"description":"Unknown IO ID 45"} 
[2026-11-05 20:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236362240001,"power":25756,"unknown_190":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8623197043309324288}} 
[2026-11-05 20:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":229927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:56:58] local.INFO: GPS data processed {"connection_id":229927,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:56:58] local.INFO: Acknowledgment sent {"connection_id":229927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:57:29] local.INFO: TCP Data received {"connection_id":229927,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac50d508012d77abc005f2a6a8000d003e2c..."} 
[2026-11-05 20:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac50d508012d77abc005f2a6a8000d003e2c..."} 
[2026-11-05 20:57:29] local.INFO: Processing buffer {"connection_id":229927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac50d508012d77abc005f2a6a8000d003e2c..."} 
[2026-11-05 20:57:29] local.INFO: Packet analysis {"connection_id":229927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac50"} 
[2026-11-05 20:57:29] local.INFO: Extracted packet for processing {"connection_id":229927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac50"} 
[2026-11-05 20:57:29] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788456,"longitude_deg":76.2817472,"latitude_deg":9.9788456,"altitude":13,"angle":62,"satellites":44,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-11-05 20: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-05 20:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236362240001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 20:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043309324288,"note":"Value kept but may cause issues"} 
[2026-11-05 20:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793892341000,"timestamp_ms":1793892341000,"timestamp_seconds":1793892341,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac50d508"} 
[2026-11-05 20:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:57:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 20:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-11-05 20:57:29] 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-05 20:57:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":229927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":229927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":229927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:57:29] 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-05 20:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236362240001,"66":25756,"190":206,"87":13568,"24":0,"16":40536923541864448,"45":8623197043309324288},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16,45]} 
[2026-11-05 20:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236362240001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:57:29] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-11-05 20:57:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 20:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043309324288,"description":"Unknown IO ID 45"} 
[2026-11-05 20:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236362240001,"power":25756,"unknown_190":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8623197043309324288}} 
[2026-11-05 20:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":229927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:57:30] local.INFO: GPS data processed {"connection_id":229927,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:57:30] local.INFO: Acknowledgment sent {"connection_id":229927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:57:46] local.INFO: TCP Data received {"connection_id":229926,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229926,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:57:46] local.INFO: Processing buffer {"connection_id":229926,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 20:57:46] local.INFO: IMEI packet received {"connection_id":229926,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 20:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":229926,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:57:52] local.INFO: TCP Data received {"connection_id":231782,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:57:52] local.INFO: Processing buffer {"connection_id":231782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:57:52] local.INFO: IMEI packet received {"connection_id":231782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":231782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:57:57] local.INFO: TCP Data received {"connection_id":231782,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:57:57] local.INFO: Processing buffer {"connection_id":231782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:57:57] local.INFO: IMEI packet received {"connection_id":231782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":231782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:57:58] local.INFO: TCP Data received {"connection_id":231782,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac50d508012d77abc005f2a6a8000d003e2c..."} 
[2026-11-05 20:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac50d508012d77abc005f2a6a8000d003e2c..."} 
[2026-11-05 20:57:58] local.INFO: Processing buffer {"connection_id":231782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac50d508012d77abc005f2a6a8000d003e2c..."} 
[2026-11-05 20:57:58] local.INFO: Packet analysis {"connection_id":231782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac50"} 
[2026-11-05 20:57:58] local.INFO: Extracted packet for processing {"connection_id":231782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac50"} 
[2026-11-05 20:57:58] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788456,"longitude_deg":76.2817472,"latitude_deg":9.9788456,"altitude":13,"angle":62,"satellites":44,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-11-05 20:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236362240001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 20:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043309324288,"note":"Value kept but may cause issues"} 
[2026-11-05 20:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793892341000,"timestamp_ms":1793892341000,"timestamp_seconds":1793892341,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac50d508"} 
[2026-11-05 20:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 20:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-11-05 20:57:58] 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-05 20:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":231782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":231782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":231782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:57:58] 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-05 20:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236362240001,"66":25756,"190":206,"87":13568,"24":0,"16":40536923541864448,"45":8623197043309324288},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16,45]} 
[2026-11-05 20:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236362240001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:57:58] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-11-05 20:57:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 20:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043309324288,"description":"Unknown IO ID 45"} 
[2026-11-05 20:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236362240001,"power":25756,"unknown_190":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8623197043309324288}} 
[2026-11-05 20:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":231782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:57:58] local.INFO: GPS data processed {"connection_id":231782,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:57:58] local.INFO: Acknowledgment sent {"connection_id":231782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:58:29] local.INFO: TCP Data received {"connection_id":231782,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac50d508012d77abc005f2a6a8000d003e2c..."} 
[2026-11-05 20:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac50d508012d77abc005f2a6a8000d003e2c..."} 
[2026-11-05 20:58:29] local.INFO: Processing buffer {"connection_id":231782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac50d508012d77abc005f2a6a8000d003e2c..."} 
[2026-11-05 20:58:29] local.INFO: Packet analysis {"connection_id":231782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac50"} 
[2026-11-05 20:58:29] local.INFO: Extracted packet for processing {"connection_id":231782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac50"} 
[2026-11-05 20:58:29] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788456,"longitude_deg":76.2817472,"latitude_deg":9.9788456,"altitude":13,"angle":62,"satellites":44,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-11-05 20:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236362240001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 20:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043309324288,"note":"Value kept but may cause issues"} 
[2026-11-05 20:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793892341000,"timestamp_ms":1793892341000,"timestamp_seconds":1793892341,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac50d508"} 
[2026-11-05 20:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 20:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-11-05 20:58:29] 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-05 20:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":231782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":231782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":231782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:58:29] 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-05 20:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236362240001,"66":25756,"190":206,"87":13568,"24":0,"16":40536923541864448,"45":8623197043309324288},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16,45]} 
[2026-11-05 20:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236362240001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:58:29] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-11-05 20:58:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 20:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043309324288,"description":"Unknown IO ID 45"} 
[2026-11-05 20:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236362240001,"power":25756,"unknown_190":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8623197043309324288}} 
[2026-11-05 20:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":231782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:58:29] local.INFO: GPS data processed {"connection_id":231782,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:58:29] local.INFO: Acknowledgment sent {"connection_id":231782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:58:52] local.INFO: TCP Data received {"connection_id":229928,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:58:52] local.INFO: Processing buffer {"connection_id":229928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:58:52] local.INFO: IMEI packet received {"connection_id":229928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":229928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 20:58:57] local.INFO: TCP Data received {"connection_id":229928,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:58:57] local.INFO: Processing buffer {"connection_id":229928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:58:57] local.INFO: IMEI packet received {"connection_id":229928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 20:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":229928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 20:58:58] local.INFO: TCP Data received {"connection_id":229928,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac50d508012d77abc005f2a6a8000d003e2c..."} 
[2026-11-05 20:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac50d508012d77abc005f2a6a8000d003e2c..."} 
[2026-11-05 20:58:58] local.INFO: Processing buffer {"connection_id":229928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac50d508012d77abc005f2a6a8000d003e2c..."} 
[2026-11-05 20:58:58] local.INFO: Packet analysis {"connection_id":229928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac50"} 
[2026-11-05 20:58:58] local.INFO: Extracted packet for processing {"connection_id":229928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac50"} 
[2026-11-05 20:58:58] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788456,"longitude_deg":76.2817472,"latitude_deg":9.9788456,"altitude":13,"angle":62,"satellites":44,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-11-05 20:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236362240001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 20:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043309324288,"note":"Value kept but may cause issues"} 
[2026-11-05 20:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793892341000,"timestamp_ms":1793892341000,"timestamp_seconds":1793892341,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac50d508"} 
[2026-11-05 20:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 20:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-11-05 20:58:58] 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-05 20:58:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":229928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":229928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":229928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:58:58] 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-05 20:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236362240001,"66":25756,"190":206,"87":13568,"24":0,"16":40536923541864448,"45":8623197043309324288},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16,45]} 
[2026-11-05 20:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236362240001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:58:58] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-11-05 20:58:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 20:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043309324288,"description":"Unknown IO ID 45"} 
[2026-11-05 20:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236362240001,"power":25756,"unknown_190":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8623197043309324288}} 
[2026-11-05 20:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":229928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:58:58] local.INFO: GPS data processed {"connection_id":229928,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:58:58] local.INFO: Acknowledgment sent {"connection_id":229928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:59:29] local.INFO: TCP Data received {"connection_id":229928,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac50d508012d77abc005f2a6a8000d003e2c..."} 
[2026-11-05 20:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac50d508012d77abc005f2a6a8000d003e2c..."} 
[2026-11-05 20:59:29] local.INFO: Processing buffer {"connection_id":229928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac50d508012d77abc005f2a6a8000d003e2c..."} 
[2026-11-05 20:59:29] local.INFO: Packet analysis {"connection_id":229928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac50"} 
[2026-11-05 20:59:29] local.INFO: Extracted packet for processing {"connection_id":229928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac50"} 
[2026-11-05 20:59:29] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788456,"longitude_deg":76.2817472,"latitude_deg":9.9788456,"altitude":13,"angle":62,"satellites":44,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-11-05 20:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 20:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236362240001,"note":"Value kept but may cause issues"} 
[2026-11-05 20:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 20:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043309324288,"note":"Value kept but may cause issues"} 
[2026-11-05 20:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 20:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793892341000,"timestamp_ms":1793892341000,"timestamp_seconds":1793892341,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac50d508"} 
[2026-11-05 20:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 20:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 20:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-11-05 20:59:29] 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-05 20:59:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 20:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 20:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 20:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":229928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 20:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":229928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":229928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 20:59:29] 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-05 20:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 20:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 20:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236362240001,"66":25756,"190":206,"87":13568,"24":0,"16":40536923541864448,"45":8623197043309324288},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16,45]} 
[2026-11-05 20:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 20:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 20:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236362240001,"description":"Unknown IO ID 0"} 
[2026-11-05 20:59:29] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-11-05 20:59:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 20:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 20:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043309324288,"description":"Unknown IO ID 45"} 
[2026-11-05 20:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236362240001,"power":25756,"unknown_190":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8623197043309324288}} 
[2026-11-05 20:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":229928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 20:59:29] local.INFO: GPS data processed {"connection_id":229928,"processed":1,"errors":0,"total":1} 
[2026-11-05 20:59:29] local.INFO: Acknowledgment sent {"connection_id":229928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 20:59:57] local.INFO: TCP Data received {"connection_id":230447,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:59:57] local.INFO: Processing buffer {"connection_id":230447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 20:59:57] local.INFO: IMEI packet received {"connection_id":230447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 20:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":230447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:00:02] local.INFO: TCP Data received {"connection_id":230447,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:00:02] local.INFO: Processing buffer {"connection_id":230447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:00:02] local.INFO: IMEI packet received {"connection_id":230447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":230447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:00:03] local.INFO: TCP Data received {"connection_id":230447,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac50d508012d77abc005f2a6a8000d003e2c..."} 
[2026-11-05 21:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac50d508012d77abc005f2a6a8000d003e2c..."} 
[2026-11-05 21:00:03] local.INFO: Processing buffer {"connection_id":230447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac50d508012d77abc005f2a6a8000d003e2c..."} 
[2026-11-05 21:00:03] local.INFO: Packet analysis {"connection_id":230447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac50"} 
[2026-11-05 21:00:03] local.INFO: Extracted packet for processing {"connection_id":230447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac50"} 
[2026-11-05 21:00:03] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788456,"longitude_deg":76.2817472,"latitude_deg":9.9788456,"altitude":13,"angle":62,"satellites":44,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-11-05 21:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236362240001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 21:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043309324288,"note":"Value kept but may cause issues"} 
[2026-11-05 21:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1793892341000,"timestamp_ms":1793892341000,"timestamp_seconds":1793892341,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac50d508"} 
[2026-11-05 21:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-11-05 21:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":230447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":230447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":230447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:00:03] 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-05 21:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236362240001,"66":25756,"190":206,"87":13568,"24":0,"16":40536923541864448,"45":8623197043309324288},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16,45]} 
[2026-11-05 21:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236362240001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:00:03] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-11-05 21:00:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 21:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043309324288,"description":"Unknown IO ID 45"} 
[2026-11-05 21:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236362240001,"power":25756,"unknown_190":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8623197043309324288}} 
[2026-11-05 21:00:03] 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":64555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:00:03] local.INFO: GPS data processed {"connection_id":230447,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:00:03] local.INFO: Acknowledgment sent {"connection_id":230447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:00:08] local.INFO: TCP Data received {"connection_id":230447,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac50d508012d77abc005f2a6a8000d003e2c..."} 
[2026-11-05 21:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac50d508012d77abc005f2a6a8000d003e2c..."} 
[2026-11-05 21:00:08] local.INFO: Processing buffer {"connection_id":230447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac50d508012d77abc005f2a6a8000d003e2c..."} 
[2026-11-05 21:00:08] local.INFO: Packet analysis {"connection_id":230447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac50"} 
[2026-11-05 21:00:08] local.INFO: Extracted packet for processing {"connection_id":230447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac50"} 
[2026-11-05 21:00:08] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788456,"longitude_deg":76.2817472,"latitude_deg":9.9788456,"altitude":13,"angle":62,"satellites":44,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-11-05 21:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236362240001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 21:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043309324288,"note":"Value kept but may cause issues"} 
[2026-11-05 21:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793892341000,"timestamp_ms":1793892341000,"timestamp_seconds":1793892341,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac50d508"} 
[2026-11-05 21:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-05 21:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-11-05 21:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":230447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":230447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":230447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:00:08] 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-05 21:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236362240001,"66":25756,"190":206,"87":13568,"24":0,"16":40536923541864448,"45":8623197043309324288},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16,45]} 
[2026-11-05 21:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236362240001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:00:08] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-11-05 21:00:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 21:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043309324288,"description":"Unknown IO ID 45"} 
[2026-11-05 21:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236362240001,"power":25756,"unknown_190":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8623197043309324288}} 
[2026-11-05 21:00:08] 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":64556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:00:08] local.INFO: GPS data processed {"connection_id":230447,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:00:08] local.INFO: Acknowledgment sent {"connection_id":230447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:00:52] local.INFO: TCP Data received {"connection_id":229929,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:00:52] local.INFO: Processing buffer {"connection_id":229929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:00:52] local.INFO: IMEI packet received {"connection_id":229929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":229929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:00:57] local.INFO: TCP Data received {"connection_id":229929,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:00:57] local.INFO: Processing buffer {"connection_id":229929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:00:57] local.INFO: IMEI packet received {"connection_id":229929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":229929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:00:58] local.INFO: TCP Data received {"connection_id":229929,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac50d508012d77abc005f2a6a8000d003e2c..."} 
[2026-11-05 21:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac50d508012d77abc005f2a6a8000d003e2c..."} 
[2026-11-05 21:00:58] local.INFO: Processing buffer {"connection_id":229929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac50d508012d77abc005f2a6a8000d003e2c..."} 
[2026-11-05 21:00:58] local.INFO: Packet analysis {"connection_id":229929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac50"} 
[2026-11-05 21:00:58] local.INFO: Extracted packet for processing {"connection_id":229929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac50"} 
[2026-11-05 21:00:58] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788456,"longitude_deg":76.2817472,"latitude_deg":9.9788456,"altitude":13,"angle":62,"satellites":44,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-11-05 21:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236362240001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 21:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043309324288,"note":"Value kept but may cause issues"} 
[2026-11-05 21:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793892341000,"timestamp_ms":1793892341000,"timestamp_seconds":1793892341,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac50d508"} 
[2026-11-05 21:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-11-05 21:00:58] 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-05 21:00:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":229929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":229929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":229929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:00:58] 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-05 21:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236362240001,"66":25756,"190":206,"87":13568,"24":0,"16":40536923541864448,"45":8623197043309324288},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16,45]} 
[2026-11-05 21:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236362240001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:00:58] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-11-05 21:00:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 21:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043309324288,"description":"Unknown IO ID 45"} 
[2026-11-05 21:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236362240001,"power":25756,"unknown_190":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8623197043309324288}} 
[2026-11-05 21:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":229929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:00:58] local.INFO: GPS data processed {"connection_id":229929,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:00:58] local.INFO: Acknowledgment sent {"connection_id":229929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:01:29] local.INFO: TCP Data received {"connection_id":229929,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac556cd0012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 21:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac556cd0012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 21:01:29] local.INFO: Processing buffer {"connection_id":229929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac556cd0012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 21:01:29] local.INFO: Packet analysis {"connection_id":229929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac55"} 
[2026-11-05 21:01:29] local.INFO: Extracted packet for processing {"connection_id":229929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac55"} 
[2026-11-05 21:01:29] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788456,"longitude_deg":76.2817472,"latitude_deg":9.9788456,"altitude":13,"angle":62,"satellites":42,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-11-05 21:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236439296001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 21:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043309324288,"note":"Value kept but may cause issues"} 
[2026-11-05 21:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793892642000,"timestamp_ms":1793892642000,"timestamp_seconds":1793892642,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac556cd0"} 
[2026-11-05 21:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:01:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 21:01:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:01:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":229929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":229929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":229929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:01:29] 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-05 21:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236439296001,"66":25680,"190":206,"87":13568,"24":0,"16":40536923541864448,"45":8623197043309324288},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16,45]} 
[2026-11-05 21:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236439296001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:01:29] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-11-05 21:01:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 21:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043309324288,"description":"Unknown IO ID 45"} 
[2026-11-05 21:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236439296001,"power":25680,"unknown_190":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8623197043309324288}} 
[2026-11-05 21:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":229929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:01:29] local.INFO: GPS data processed {"connection_id":229929,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:01:29] local.INFO: Acknowledgment sent {"connection_id":229929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:01:52] local.INFO: TCP Data received {"connection_id":231783,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:01:52] local.INFO: Processing buffer {"connection_id":231783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:01:52] local.INFO: IMEI packet received {"connection_id":231783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":231783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:01:57] local.INFO: TCP Data received {"connection_id":231783,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:01:57] local.INFO: Processing buffer {"connection_id":231783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:01:57] local.INFO: IMEI packet received {"connection_id":231783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":231783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:01:58] local.INFO: TCP Data received {"connection_id":231783,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac556cd0012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 21:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac556cd0012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 21:01:58] local.INFO: Processing buffer {"connection_id":231783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac556cd0012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 21:01:58] local.INFO: Packet analysis {"connection_id":231783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac55"} 
[2026-11-05 21:01:58] local.INFO: Extracted packet for processing {"connection_id":231783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac55"} 
[2026-11-05 21:01:58] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788456,"longitude_deg":76.2817472,"latitude_deg":9.9788456,"altitude":13,"angle":62,"satellites":42,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-11-05 21:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236439296001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 21:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043309324288,"note":"Value kept but may cause issues"} 
[2026-11-05 21:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793892642000,"timestamp_ms":1793892642000,"timestamp_seconds":1793892642,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac556cd0"} 
[2026-11-05 21:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 21:01:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:01:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":231783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":231783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":231783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:01:58] 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-05 21:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236439296001,"66":25680,"190":206,"87":13568,"24":0,"16":40536923541864448,"45":8623197043309324288},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16,45]} 
[2026-11-05 21:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236439296001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:01:58] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-11-05 21:01:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 21:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043309324288,"description":"Unknown IO ID 45"} 
[2026-11-05 21:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236439296001,"power":25680,"unknown_190":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8623197043309324288}} 
[2026-11-05 21:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":231783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:01:58] local.INFO: GPS data processed {"connection_id":231783,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:01:58] local.INFO: Acknowledgment sent {"connection_id":231783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:02:29] local.INFO: TCP Data received {"connection_id":231783,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac556cd0012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 21:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac556cd0012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 21:02:29] local.INFO: Processing buffer {"connection_id":231783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac556cd0012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 21:02:29] local.INFO: Packet analysis {"connection_id":231783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac55"} 
[2026-11-05 21:02:29] local.INFO: Extracted packet for processing {"connection_id":231783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac55"} 
[2026-11-05 21:02:29] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788456,"longitude_deg":76.2817472,"latitude_deg":9.9788456,"altitude":13,"angle":62,"satellites":42,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-11-05 21:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236439296001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 21:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043309324288,"note":"Value kept but may cause issues"} 
[2026-11-05 21:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793892642000,"timestamp_ms":1793892642000,"timestamp_seconds":1793892642,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac556cd0"} 
[2026-11-05 21:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 21:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:02:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":231783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":231783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":231783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:02:29] 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-05 21:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236439296001,"66":25680,"190":206,"87":13568,"24":0,"16":40536923541864448,"45":8623197043309324288},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16,45]} 
[2026-11-05 21:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236439296001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:02:29] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-11-05 21:02:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 21:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043309324288,"description":"Unknown IO ID 45"} 
[2026-11-05 21:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236439296001,"power":25680,"unknown_190":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8623197043309324288}} 
[2026-11-05 21:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":231783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:02:29] local.INFO: GPS data processed {"connection_id":231783,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:02:29] local.INFO: Acknowledgment sent {"connection_id":231783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:02:52] local.INFO: TCP Data received {"connection_id":233686,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:02:52] local.INFO: Processing buffer {"connection_id":233686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:02:52] local.INFO: IMEI packet received {"connection_id":233686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":233686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:02:57] local.INFO: TCP Data received {"connection_id":233686,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:02:57] local.INFO: Processing buffer {"connection_id":233686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:02:57] local.INFO: IMEI packet received {"connection_id":233686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":233686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:02:58] local.INFO: TCP Data received {"connection_id":233686,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac556cd0012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 21:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac556cd0012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 21:02:58] local.INFO: Processing buffer {"connection_id":233686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac556cd0012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 21:02:58] local.INFO: Packet analysis {"connection_id":233686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac55"} 
[2026-11-05 21:02:58] local.INFO: Extracted packet for processing {"connection_id":233686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac55"} 
[2026-11-05 21:02:58] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788456,"longitude_deg":76.2817472,"latitude_deg":9.9788456,"altitude":13,"angle":62,"satellites":42,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-11-05 21:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236439296001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 21:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043309324288,"note":"Value kept but may cause issues"} 
[2026-11-05 21:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793892642000,"timestamp_ms":1793892642000,"timestamp_seconds":1793892642,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac556cd0"} 
[2026-11-05 21:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 21:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":233686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":233686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":233686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:02:58] 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-05 21:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236439296001,"66":25680,"190":206,"87":13568,"24":0,"16":40536923541864448,"45":8623197043309324288},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16,45]} 
[2026-11-05 21:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236439296001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:02:58] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-11-05 21:02:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 21:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043309324288,"description":"Unknown IO ID 45"} 
[2026-11-05 21:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236439296001,"power":25680,"unknown_190":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8623197043309324288}} 
[2026-11-05 21:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":233686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:02:58] local.INFO: GPS data processed {"connection_id":233686,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:02:58] local.INFO: Acknowledgment sent {"connection_id":233686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:03:20] local.INFO: TCP Data received {"connection_id":230446,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:03:20] local.INFO: Processing buffer {"connection_id":230446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:03:20] local.INFO: IMEI packet received {"connection_id":230446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 21:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":230446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:03:29] local.INFO: TCP Data received {"connection_id":233686,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac556cd0012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 21:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac556cd0012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 21:03:29] local.INFO: Processing buffer {"connection_id":233686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac556cd0012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 21:03:29] local.INFO: Packet analysis {"connection_id":233686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac55"} 
[2026-11-05 21:03:29] local.INFO: Extracted packet for processing {"connection_id":233686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac55"} 
[2026-11-05 21:03:29] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788456,"longitude_deg":76.2817472,"latitude_deg":9.9788456,"altitude":13,"angle":62,"satellites":42,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-11-05 21:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236439296001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 21:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043309324288,"note":"Value kept but may cause issues"} 
[2026-11-05 21:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793892642000,"timestamp_ms":1793892642000,"timestamp_seconds":1793892642,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac556cd0"} 
[2026-11-05 21:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 21:03:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":233686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":233686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":233686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:03:29] 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-05 21:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236439296001,"66":25680,"190":206,"87":13568,"24":0,"16":40536923541864448,"45":8623197043309324288},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16,45]} 
[2026-11-05 21:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236439296001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:03:29] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-11-05 21:03:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 21:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043309324288,"description":"Unknown IO ID 45"} 
[2026-11-05 21:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236439296001,"power":25680,"unknown_190":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8623197043309324288}} 
[2026-11-05 21:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":233686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:03:29] local.INFO: GPS data processed {"connection_id":233686,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:03:29] local.INFO: Acknowledgment sent {"connection_id":233686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:03:57] local.INFO: TCP Data received {"connection_id":230448,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:03:57] local.INFO: Processing buffer {"connection_id":230448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:03:57] local.INFO: IMEI packet received {"connection_id":230448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":230448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:04:02] local.INFO: TCP Data received {"connection_id":230448,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:04:02] local.INFO: Processing buffer {"connection_id":230448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:04:02] local.INFO: IMEI packet received {"connection_id":230448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":230448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:04:03] local.INFO: TCP Data received {"connection_id":230448,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac556cd0012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 21:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac556cd0012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 21:04:03] local.INFO: Processing buffer {"connection_id":230448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac556cd0012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 21:04:03] local.INFO: Packet analysis {"connection_id":230448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac55"} 
[2026-11-05 21:04:03] local.INFO: Extracted packet for processing {"connection_id":230448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac55"} 
[2026-11-05 21:04:03] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788456,"longitude_deg":76.2817472,"latitude_deg":9.9788456,"altitude":13,"angle":62,"satellites":42,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-11-05 21:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236439296001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 21:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043309324288,"note":"Value kept but may cause issues"} 
[2026-11-05 21:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1793892642000,"timestamp_ms":1793892642000,"timestamp_seconds":1793892642,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac556cd0"} 
[2026-11-05 21:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 21:04:03] 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-05 21:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":230448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":230448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":230448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:04:03] 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-05 21:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236439296001,"66":25680,"190":206,"87":13568,"24":0,"16":40536923541864448,"45":8623197043309324288},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16,45]} 
[2026-11-05 21:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236439296001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:04:03] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-11-05 21:04:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 21:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043309324288,"description":"Unknown IO ID 45"} 
[2026-11-05 21:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236439296001,"power":25680,"unknown_190":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8623197043309324288}} 
[2026-11-05 21:04:03] 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":64563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:04:03] local.INFO: GPS data processed {"connection_id":230448,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:04:03] local.INFO: Acknowledgment sent {"connection_id":230448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:04:07] local.INFO: TCP Data received {"connection_id":230448,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac556cd0012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 21:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac556cd0012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 21:04:07] local.INFO: Processing buffer {"connection_id":230448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac556cd0012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 21:04:07] local.INFO: Packet analysis {"connection_id":230448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac55"} 
[2026-11-05 21:04:07] local.INFO: Extracted packet for processing {"connection_id":230448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac55"} 
[2026-11-05 21:04:07] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788456,"longitude_deg":76.2817472,"latitude_deg":9.9788456,"altitude":13,"angle":62,"satellites":42,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-11-05 21:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236439296001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 21:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043309324288,"note":"Value kept but may cause issues"} 
[2026-11-05 21:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1793892642000,"timestamp_ms":1793892642000,"timestamp_seconds":1793892642,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac556cd0"} 
[2026-11-05 21:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 21:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":230448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":230448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":230448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:04:07] 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-05 21:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236439296001,"66":25680,"190":206,"87":13568,"24":0,"16":40536923541864448,"45":8623197043309324288},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16,45]} 
[2026-11-05 21:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236439296001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:04:07] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-11-05 21:04:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 21:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043309324288,"description":"Unknown IO ID 45"} 
[2026-11-05 21:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236439296001,"power":25680,"unknown_190":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8623197043309324288}} 
[2026-11-05 21:04:07] 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":64564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:04:07] local.INFO: GPS data processed {"connection_id":230448,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:04:07] local.INFO: Acknowledgment sent {"connection_id":230448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:04:52] local.INFO: TCP Data received {"connection_id":229931,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:04:52] local.INFO: Processing buffer {"connection_id":229931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:04:52] local.INFO: IMEI packet received {"connection_id":229931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":229931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:04:57] local.INFO: TCP Data received {"connection_id":229931,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:04:57] local.INFO: Processing buffer {"connection_id":229931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:04:57] local.INFO: IMEI packet received {"connection_id":229931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":229931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:04:58] local.INFO: TCP Data received {"connection_id":229931,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac556cd0012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 21:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac556cd0012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 21:04:58] local.INFO: Processing buffer {"connection_id":229931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac556cd0012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 21:04:58] local.INFO: Packet analysis {"connection_id":229931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac55"} 
[2026-11-05 21:04:58] local.INFO: Extracted packet for processing {"connection_id":229931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac55"} 
[2026-11-05 21:04:58] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788456,"longitude_deg":76.2817472,"latitude_deg":9.9788456,"altitude":13,"angle":62,"satellites":42,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-11-05 21:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236439296001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 21:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043309324288,"note":"Value kept but may cause issues"} 
[2026-11-05 21:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793892642000,"timestamp_ms":1793892642000,"timestamp_seconds":1793892642,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac556cd0"} 
[2026-11-05 21:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 21:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":229931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":229931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":229931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:04:58] 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-05 21:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236439296001,"66":25680,"190":206,"87":13568,"24":0,"16":40536923541864448,"45":8623197043309324288},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16,45]} 
[2026-11-05 21:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236439296001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:04:58] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-11-05 21:04:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 21:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043309324288,"description":"Unknown IO ID 45"} 
[2026-11-05 21:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236439296001,"power":25680,"unknown_190":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8623197043309324288}} 
[2026-11-05 21:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":229931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:04:58] local.INFO: GPS data processed {"connection_id":229931,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:04:58] local.INFO: Acknowledgment sent {"connection_id":229931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:05:29] local.INFO: TCP Data received {"connection_id":229931,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac556cd0012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 21:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac556cd0012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 21:05:29] local.INFO: Processing buffer {"connection_id":229931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac556cd0012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 21:05:29] local.INFO: Packet analysis {"connection_id":229931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac55"} 
[2026-11-05 21:05:29] local.INFO: Extracted packet for processing {"connection_id":229931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac55"} 
[2026-11-05 21:05:29] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788456,"longitude_deg":76.2817472,"latitude_deg":9.9788456,"altitude":13,"angle":62,"satellites":42,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-11-05 21:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236439296001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 21:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043309324288,"note":"Value kept but may cause issues"} 
[2026-11-05 21:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793892642000,"timestamp_ms":1793892642000,"timestamp_seconds":1793892642,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac556cd0"} 
[2026-11-05 21:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 21:05:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:05:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":229931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":229931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":229931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:05:29] 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-05 21:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236439296001,"66":25680,"190":206,"87":13568,"24":0,"16":40536923541864448,"45":8623197043309324288},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16,45]} 
[2026-11-05 21:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236439296001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:05:29] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-11-05 21:05:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 21:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043309324288,"description":"Unknown IO ID 45"} 
[2026-11-05 21:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236439296001,"power":25680,"unknown_190":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8623197043309324288}} 
[2026-11-05 21:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":229931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:05:29] local.INFO: GPS data processed {"connection_id":229931,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:05:29] local.INFO: Acknowledgment sent {"connection_id":229931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:05:53] local.INFO: TCP Data received {"connection_id":230449,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:05:53] local.INFO: Processing buffer {"connection_id":230449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:05:53] local.INFO: IMEI packet received {"connection_id":230449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":230449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:05:57] local.INFO: TCP Data received {"connection_id":230449,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:05:57] local.INFO: Processing buffer {"connection_id":230449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:05:57] local.INFO: IMEI packet received {"connection_id":230449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":230449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:05:58] local.INFO: TCP Data received {"connection_id":230449,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac556cd0012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 21:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac556cd0012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 21:05:58] local.INFO: Processing buffer {"connection_id":230449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac556cd0012d77abc005f2a6a8000d003e2a..."} 
[2026-11-05 21:05:58] local.INFO: Packet analysis {"connection_id":230449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac55"} 
[2026-11-05 21:05:58] local.INFO: Extracted packet for processing {"connection_id":230449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac55"} 
[2026-11-05 21:05:58] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788456,"longitude_deg":76.2817472,"latitude_deg":9.9788456,"altitude":13,"angle":62,"satellites":42,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-11-05 21:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236439296001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 21:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043309324288,"note":"Value kept but may cause issues"} 
[2026-11-05 21:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793892642000,"timestamp_ms":1793892642000,"timestamp_seconds":1793892642,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac556cd0"} 
[2026-11-05 21:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-05 21:05:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":230449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":230449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":230449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:05:58] 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-05 21:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236439296001,"66":25680,"190":206,"87":13568,"24":0,"16":40536923541864448,"45":8623197043309324288},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16,45]} 
[2026-11-05 21:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236439296001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:05:58] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-11-05 21:05:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 21:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043309324288,"description":"Unknown IO ID 45"} 
[2026-11-05 21:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236439296001,"power":25680,"unknown_190":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8623197043309324288}} 
[2026-11-05 21:05:58] 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":64567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:05:58] local.INFO: GPS data processed {"connection_id":230449,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:05:58] local.INFO: Acknowledgment sent {"connection_id":230449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:06:29] local.INFO: TCP Data received {"connection_id":230449,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac5a0498012d77abc005f2a6a8000d003e2d..."} 
[2026-11-05 21:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac5a0498012d77abc005f2a6a8000d003e2d..."} 
[2026-11-05 21:06:29] local.INFO: Processing buffer {"connection_id":230449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac5a0498012d77abc005f2a6a8000d003e2d..."} 
[2026-11-05 21:06:29] local.INFO: Packet analysis {"connection_id":230449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac5a"} 
[2026-11-05 21:06:29] local.INFO: Extracted packet for processing {"connection_id":230449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac5a"} 
[2026-11-05 21:06:29] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788456,"longitude_deg":76.2817472,"latitude_deg":9.9788456,"altitude":13,"angle":62,"satellites":45,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-11-05 21:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236516352001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 21:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043309324288,"note":"Value kept but may cause issues"} 
[2026-11-05 21:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793892943000,"timestamp_ms":1793892943000,"timestamp_seconds":1793892943,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac5a0498"} 
[2026-11-05 21:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-05 21:06:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:06:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":230449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":230449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":230449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:06:29] 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-05 21:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236516352001,"66":25615,"190":206,"87":13568,"24":0,"16":40536923541864448,"45":8623197043309324288},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16,45]} 
[2026-11-05 21:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236516352001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:06:29] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-11-05 21:06:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 21:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043309324288,"description":"Unknown IO ID 45"} 
[2026-11-05 21:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236516352001,"power":25615,"unknown_190":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8623197043309324288}} 
[2026-11-05 21:06:29] 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":64568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:06:29] local.INFO: GPS data processed {"connection_id":230449,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:06:29] local.INFO: Acknowledgment sent {"connection_id":230449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:06:52] local.INFO: TCP Data received {"connection_id":233687,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:06:52] local.INFO: Processing buffer {"connection_id":233687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:06:52] local.INFO: IMEI packet received {"connection_id":233687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":233687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:06:57] local.INFO: TCP Data received {"connection_id":233687,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:06:57] local.INFO: Processing buffer {"connection_id":233687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:06:57] local.INFO: IMEI packet received {"connection_id":233687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":233687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:06:58] local.INFO: TCP Data received {"connection_id":233687,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac5a9138012d77abc005f2a6a8000d003e24..."} 
[2026-11-05 21:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac5a9138012d77abc005f2a6a8000d003e24..."} 
[2026-11-05 21:06:58] local.INFO: Processing buffer {"connection_id":233687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac5a9138012d77abc005f2a6a8000d003e24..."} 
[2026-11-05 21:06:58] local.INFO: Packet analysis {"connection_id":233687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac5a"} 
[2026-11-05 21:06:58] local.INFO: Extracted packet for processing {"connection_id":233687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac5a"} 
[2026-11-05 21:06:58] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788456,"longitude_deg":76.2817472,"latitude_deg":9.9788456,"altitude":13,"angle":62,"satellites":36,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-11-05 21:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236593408001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 21:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043309324288,"note":"Value kept but may cause issues"} 
[2026-11-05 21:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793892979000,"timestamp_ms":1793892979000,"timestamp_seconds":1793892979,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac5a9138"} 
[2026-11-05 21:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-05 21:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:06:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":233687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":233687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":233687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:06:58] 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-05 21:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236593408001,"66":25495,"190":206,"87":13568,"24":0,"16":40536923541864448,"45":8623197043309324288},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16,45]} 
[2026-11-05 21:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236593408001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:06:58] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-11-05 21:06:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 21:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043309324288,"description":"Unknown IO ID 45"} 
[2026-11-05 21:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236593408001,"power":25495,"unknown_190":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8623197043309324288}} 
[2026-11-05 21:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":233687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:06:58] local.INFO: GPS data processed {"connection_id":233687,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:06:58] local.INFO: Acknowledgment sent {"connection_id":233687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:08:56] local.INFO: TCP Data received {"connection_id":229930,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:08:56] local.INFO: Processing buffer {"connection_id":229930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:08:56] local.INFO: IMEI packet received {"connection_id":229930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 21:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":229930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:09:36] local.INFO: TCP Data received {"connection_id":231784,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231784,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:09:36] local.INFO: Processing buffer {"connection_id":231784,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:09:36] local.INFO: IMEI packet received {"connection_id":231784,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 21:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":231784,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:14:52] local.INFO: TCP Data received {"connection_id":233688,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:14:52] local.INFO: Processing buffer {"connection_id":233688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:14:52] local.INFO: IMEI packet received {"connection_id":233688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 21:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":233688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:20:26] local.INFO: TCP Data received {"connection_id":233689,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:20:26] local.INFO: Processing buffer {"connection_id":233689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:20:26] local.INFO: IMEI packet received {"connection_id":233689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 21:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":233689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:22:47] local.INFO: TCP Data received {"connection_id":229933,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:22:47] local.INFO: Processing buffer {"connection_id":229933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:22:47] local.INFO: IMEI packet received {"connection_id":229933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":229933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:22:52] local.INFO: TCP Data received {"connection_id":229933,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:22:52] local.INFO: Processing buffer {"connection_id":229933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:22:52] local.INFO: IMEI packet received {"connection_id":229933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":229933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:22:52] local.INFO: TCP Data received {"connection_id":229933,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac5b48d0012d77ac0005f2a6a0000d003e2e..."} 
[2026-11-05 21:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac5b48d0012d77ac0005f2a6a0000d003e2e..."} 
[2026-11-05 21:22:52] local.INFO: Processing buffer {"connection_id":229933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac5b48d0012d77ac0005f2a6a0000d003e2e..."} 
[2026-11-05 21:22:52] local.INFO: Packet analysis {"connection_id":229933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac5b"} 
[2026-11-05 21:22:52] local.INFO: Extracted packet for processing {"connection_id":229933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac5b"} 
[2026-11-05 21:22:52] local.INFO: GPS Element Parsed {"raw_longitude":762817536,"raw_latitude":99788448,"longitude_deg":76.2817536,"latitude_deg":9.9788448,"altitude":13,"angle":62,"satellites":46,"speed":0,"hex_longitude":"2d77ac00","hex_latitude":"05f2a6a0","is_valid_coordinates":true} 
[2026-11-05 21: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-05 21:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236609280001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536923541864448,"note":"Value kept but may cause issues"} 
[2026-11-05 21:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623267412053499904,"note":"Value kept but may cause issues"} 
[2026-11-05 21:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793893026000,"timestamp_ms":1793893026000,"timestamp_seconds":1793893026,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac5b48d0"} 
[2026-11-05 21: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-05 21:22: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-05 21:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 21:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21: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-05 21: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-05 21:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":229933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":229933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":229933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236609280001,"66":27397,"96":206,"87":13568,"24":0,"16":40536923541864448,"45":8623267412053499904},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-11-05 21:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236609280001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:22:52] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-11-05 21:22:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 21:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536923541864448,"km_value":40536923541864.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623267412053499904,"description":"Unknown IO ID 45"} 
[2026-11-05 21:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236609280001,"power":27397,"unknown_96":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8623267412053499904}} 
[2026-11-05 21:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":229933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:22:52] local.INFO: GPS data processed {"connection_id":229933,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:22:52] local.INFO: Acknowledgment sent {"connection_id":229933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:23:24] local.INFO: TCP Data received {"connection_id":229933,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac5b5488012d77ab8005f2a6e80015005b2e..."} 
[2026-11-05 21:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac5b5488012d77ab8005f2a6e80015005b2e..."} 
[2026-11-05 21:23:24] local.INFO: Processing buffer {"connection_id":229933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac5b5488012d77ab8005f2a6e80015005b2e..."} 
[2026-11-05 21:23:24] local.INFO: Packet analysis {"connection_id":229933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac5b"} 
[2026-11-05 21:23:24] local.INFO: Extracted packet for processing {"connection_id":229933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac5b"} 
[2026-11-05 21:23:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788520,"longitude_deg":76.2817408,"latitude_deg":9.978852,"altitude":21,"angle":91,"satellites":46,"speed":3,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6e8","is_valid_coordinates":true} 
[2026-11-05 21:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236614656001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536932131799040,"note":"Value kept but may cause issues"} 
[2026-11-05 21:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623267412053499904,"note":"Value kept but may cause issues"} 
[2026-11-05 21:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793893029000,"timestamp_ms":1793893029000,"timestamp_seconds":1793893029,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac5b5488"} 
[2026-11-05 21:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 21:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 21:23:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:23:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":229933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":229933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":229933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236614656001,"66":27376,"96":206,"87":13568,"24":3,"16":40536932131799040,"45":8623267412053499904},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-11-05 21:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236614656001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:23:24] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-11-05 21:23:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 21:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536932131799040,"km_value":40536932131799.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623267412053499904,"description":"Unknown IO ID 45"} 
[2026-11-05 21:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236614656001,"power":27376,"unknown_96":206,"unknown_87":13568,"ignition":3,"odometer":null,"unknown_45":8623267412053499904}} 
[2026-11-05 21:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":229933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:23:24] local.INFO: GPS data processed {"connection_id":229933,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:23:24] local.INFO: Acknowledgment sent {"connection_id":229933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:23:52] local.INFO: TCP Data received {"connection_id":230450,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:23:52] local.INFO: Processing buffer {"connection_id":230450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:23:52] local.INFO: IMEI packet received {"connection_id":230450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":230450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:23:57] local.INFO: TCP Data received {"connection_id":230450,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:23:57] local.INFO: Processing buffer {"connection_id":230450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:23:57] local.INFO: IMEI packet received {"connection_id":230450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":230450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:23:58] local.INFO: TCP Data received {"connection_id":230450,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac5ba690012d77ac4005f2a6f8001500592a..."} 
[2026-11-05 21:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac5ba690012d77ac4005f2a6f8001500592a..."} 
[2026-11-05 21:23:58] local.INFO: Processing buffer {"connection_id":230450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac5ba690012d77ac4005f2a6f8001500592a..."} 
[2026-11-05 21:23:58] local.INFO: Packet analysis {"connection_id":230450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac5b"} 
[2026-11-05 21:23:58] local.INFO: Extracted packet for processing {"connection_id":230450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac5b"} 
[2026-11-05 21:23:58] local.INFO: GPS Element Parsed {"raw_longitude":762817600,"raw_latitude":99788536,"longitude_deg":76.28176,"latitude_deg":9.9788536,"altitude":21,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d77ac40","hex_latitude":"05f2a6f8","is_valid_coordinates":true} 
[2026-11-05 21:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236615424001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536940721733632,"note":"Value kept but may cause issues"} 
[2026-11-05 21:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565163008,"note":"Value kept but may cause issues"} 
[2026-11-05 21:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793893050000,"timestamp_ms":1793893050000,"timestamp_seconds":1793893050,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac5ba690"} 
[2026-11-05 21:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 21:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 21:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":230450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":230450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":230450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236615424001,"66":27539,"96":206,"87":13568,"24":0,"16":40536940721733632,"45":8623126674565163008},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-11-05 21:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236615424001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:23:58] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-11-05 21:23:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 21:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536940721733632,"km_value":40536940721733.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565163008,"description":"Unknown IO ID 45"} 
[2026-11-05 21:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236615424001,"power":27539,"unknown_96":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8623126674565163008}} 
[2026-11-05 21:23:58] 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":64572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:23:58] local.INFO: GPS data processed {"connection_id":230450,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:23:58] local.INFO: Acknowledgment sent {"connection_id":230450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:24:29] local.INFO: TCP Data received {"connection_id":230450,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac5bc9b8012d77adc005f2a770001500422b..."} 
[2026-11-05 21:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac5bc9b8012d77adc005f2a770001500422b..."} 
[2026-11-05 21:24:29] local.INFO: Processing buffer {"connection_id":230450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac5bc9b8012d77adc005f2a770001500422b..."} 
[2026-11-05 21:24:29] local.INFO: Packet analysis {"connection_id":230450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac5b"} 
[2026-11-05 21:24:29] local.INFO: Extracted packet for processing {"connection_id":230450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac5b"} 
[2026-11-05 21:24:29] local.INFO: GPS Element Parsed {"raw_longitude":762817984,"raw_latitude":99788656,"longitude_deg":76.2817984,"latitude_deg":9.9788656,"altitude":21,"angle":66,"satellites":43,"speed":0,"hex_longitude":"2d77adc0","hex_latitude":"05f2a770","is_valid_coordinates":true} 
[2026-11-05 21:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236620800001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536962196570112,"note":"Value kept but may cause issues"} 
[2026-11-05 21:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623337780797700096,"note":"Value kept but may cause issues"} 
[2026-11-05 21:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793893059000,"timestamp_ms":1793893059000,"timestamp_seconds":1793893059,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac5bc9b8"} 
[2026-11-05 21:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 21:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-05 21:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":230450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":230450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":230450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236620800001,"66":27332,"96":206,"87":13568,"24":0,"16":40536962196570112,"45":8623337780797700096},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-11-05 21:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236620800001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:24:29] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-11-05 21:24:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 21:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536962196570112,"km_value":40536962196570.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623337780797700096,"description":"Unknown IO ID 45"} 
[2026-11-05 21:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236620800001,"power":27332,"unknown_96":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8623337780797700096}} 
[2026-11-05 21:24:29] 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":64573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:24:29] local.INFO: GPS data processed {"connection_id":230450,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:24:29] local.INFO: Acknowledgment sent {"connection_id":230450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:24:57] local.INFO: TCP Data received {"connection_id":233690,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:24:57] local.INFO: Processing buffer {"connection_id":233690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:24:57] local.INFO: IMEI packet received {"connection_id":233690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":233690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:25:02] local.INFO: TCP Data received {"connection_id":233690,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:25:02] local.INFO: Processing buffer {"connection_id":233690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:25:02] local.INFO: IMEI packet received {"connection_id":233690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":233690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:25:03] local.INFO: TCP Data received {"connection_id":233690,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac5bd958012d77ad0005f2a760001501022b..."} 
[2026-11-05 21:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac5bd958012d77ad0005f2a760001501022b..."} 
[2026-11-05 21:25:03] local.INFO: Processing buffer {"connection_id":233690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac5bd958012d77ad0005f2a760001501022b..."} 
[2026-11-05 21:25:03] local.INFO: Packet analysis {"connection_id":233690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac5b"} 
[2026-11-05 21:25:03] local.INFO: Extracted packet for processing {"connection_id":233690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac5b"} 
[2026-11-05 21:25:03] local.INFO: GPS Element Parsed {"raw_longitude":762817792,"raw_latitude":99788640,"longitude_deg":76.2817792,"latitude_deg":9.978864,"altitude":21,"angle":258,"satellites":43,"speed":2,"hex_longitude":"2d77ad00","hex_latitude":"05f2a760","is_valid_coordinates":true} 
[2026-11-05 21:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236623104001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40536975081472000,"note":"Value kept but may cause issues"} 
[2026-11-05 21:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623759993262796800,"note":"Value kept but may cause issues"} 
[2026-11-05 21:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1793893063000,"timestamp_ms":1793893063000,"timestamp_seconds":1793893063,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac5bd958"} 
[2026-11-05 21:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 21:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 21:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":233690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":233690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":233690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236623104001,"66":27463,"96":206,"87":13568,"24":2,"16":40536975081472000,"45":8623759993262796800},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-11-05 21:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236623104001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:25:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-11-05 21:25:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 21:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40536975081472000,"km_value":40536975081472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623759993262796800,"description":"Unknown IO ID 45"} 
[2026-11-05 21:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236623104001,"power":27463,"unknown_96":206,"unknown_87":13568,"ignition":2,"odometer":null,"unknown_45":8623759993262796800}} 
[2026-11-05 21:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":233690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:25:03] local.INFO: GPS data processed {"connection_id":233690,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:25:03] local.INFO: Acknowledgment sent {"connection_id":233690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:25:34] local.INFO: TCP Data received {"connection_id":233690,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac5c2778012d77a8c005f2a648001601112d..."} 
[2026-11-05 21:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac5c2778012d77a8c005f2a648001601112d..."} 
[2026-11-05 21:25:34] local.INFO: Processing buffer {"connection_id":233690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac5c2778012d77a8c005f2a648001601112d..."} 
[2026-11-05 21:25:34] local.INFO: Packet analysis {"connection_id":233690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac5c"} 
[2026-11-05 21:25:34] local.INFO: Extracted packet for processing {"connection_id":233690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac5c"} 
[2026-11-05 21:25:34] local.INFO: GPS Element Parsed {"raw_longitude":762816704,"raw_latitude":99788360,"longitude_deg":76.2816704,"latitude_deg":9.978836,"altitude":22,"angle":273,"satellites":45,"speed":2,"hex_longitude":"2d77a8c0","hex_latitude":"05f2a648","is_valid_coordinates":true} 
[2026-11-05 21:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236624128001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537030916046848,"note":"Value kept but may cause issues"} 
[2026-11-05 21:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623548887030259712,"note":"Value kept but may cause issues"} 
[2026-11-05 21:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793893083000,"timestamp_ms":1793893083000,"timestamp_seconds":1793893083,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac5c2778"} 
[2026-11-05 21:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:25: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-05 21:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 21:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":233690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":233690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":233690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236624128001,"66":28028,"96":206,"87":13568,"24":2,"16":40537030916046848,"45":8623548887030259712},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-11-05 21:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236624128001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:25:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-11-05 21:25:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 21:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537030916046848,"km_value":40537030916046.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623548887030259712,"description":"Unknown IO ID 45"} 
[2026-11-05 21:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236624128001,"power":28028,"unknown_96":206,"unknown_87":13568,"ignition":2,"odometer":null,"unknown_45":8623548887030259712}} 
[2026-11-05 21:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":233690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:25:34] local.INFO: GPS data processed {"connection_id":233690,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:25:34] local.INFO: Acknowledgment sent {"connection_id":233690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:25:53] local.INFO: TCP Data received {"connection_id":231786,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:25:53] local.INFO: Processing buffer {"connection_id":231786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:25:53] local.INFO: IMEI packet received {"connection_id":231786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":231786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:25:57] local.INFO: TCP Data received {"connection_id":231786,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:25:57] local.INFO: Processing buffer {"connection_id":231786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:25:57] local.INFO: IMEI packet received {"connection_id":231786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":231786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:25:58] local.INFO: TCP Data received {"connection_id":231786,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac5c5e28012d77a54005f2a5c0001601052e..."} 
[2026-11-05 21:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac5c5e28012d77a54005f2a5c0001601052e..."} 
[2026-11-05 21:25:58] local.INFO: Processing buffer {"connection_id":231786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac5c5e28012d77a54005f2a5c0001601052e..."} 
[2026-11-05 21:25:58] local.INFO: Packet analysis {"connection_id":231786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac5c"} 
[2026-11-05 21:25:58] local.INFO: Extracted packet for processing {"connection_id":231786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac5c"} 
[2026-11-05 21:25:58] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99788224,"longitude_deg":76.2815808,"latitude_deg":9.9788224,"altitude":22,"angle":261,"satellites":46,"speed":3,"hex_longitude":"2d77a540","hex_latitude":"05f2a5c0","is_valid_coordinates":true} 
[2026-11-05 21:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236629248001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537078160687104,"note":"Value kept but may cause issues"} 
[2026-11-05 21:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622352618379167744,"note":"Value kept but may cause issues"} 
[2026-11-05 21:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793893097000,"timestamp_ms":1793893097000,"timestamp_seconds":1793893097,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac5c5e28"} 
[2026-11-05 21:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:25: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-05 21:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-05 21:25:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:25:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":231786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":231786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":231786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236629248001,"66":27984,"96":206,"87":13568,"24":3,"16":40537078160687104,"45":8622352618379167744},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-11-05 21:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236629248001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:25:58] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-11-05 21:25:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 21:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537078160687104,"km_value":40537078160687.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622352618379167744,"description":"Unknown IO ID 45"} 
[2026-11-05 21:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236629248001,"power":27984,"unknown_96":206,"unknown_87":13568,"ignition":3,"odometer":null,"unknown_45":8622352618379167744}} 
[2026-11-05 21:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":231786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:25:58] local.INFO: GPS data processed {"connection_id":231786,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:25:58] local.INFO: Acknowledgment sent {"connection_id":231786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:26:01] local.INFO: TCP Data received {"connection_id":231785,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:26:01] local.INFO: Processing buffer {"connection_id":231785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:26:01] local.INFO: IMEI packet received {"connection_id":231785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 21:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":231785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:26:30] local.INFO: TCP Data received {"connection_id":231786,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac5c7598012d77a34005f2a5a00016011230..."} 
[2026-11-05 21:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac5c7598012d77a34005f2a5a00016011230..."} 
[2026-11-05 21:26:30] local.INFO: Processing buffer {"connection_id":231786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac5c7598012d77a34005f2a5a00016011230..."} 
[2026-11-05 21:26:30] local.INFO: Packet analysis {"connection_id":231786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac5c"} 
[2026-11-05 21:26:30] local.INFO: Extracted packet for processing {"connection_id":231786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac5c"} 
[2026-11-05 21:26:30] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788192,"longitude_deg":76.2815296,"latitude_deg":9.9788192,"altitude":22,"angle":274,"satellites":48,"speed":2,"hex_longitude":"2d77a340","hex_latitude":"05f2a5a0","is_valid_coordinates":true} 
[2026-11-05 21:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236632832001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455960645632,"note":"Value kept but may cause issues"} 
[2026-11-05 21:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793893103000,"timestamp_ms":1793893103000,"timestamp_seconds":1793893103,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac5c7598"} 
[2026-11-05 21:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 21:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-05 21:26:30] 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-05 21:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":231786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":231786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":231786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236632832001,"66":27876,"96":206,"87":13568,"24":2,"16":40537099635523584,"45":8621367455960645632},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-11-05 21:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236632832001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:26:30] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-11-05 21:26:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 21:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455960645632,"description":"Unknown IO ID 45"} 
[2026-11-05 21:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236632832001,"power":27876,"unknown_96":206,"unknown_87":13568,"ignition":2,"odometer":null,"unknown_45":8621367455960645632}} 
[2026-11-05 21:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":231786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:26:30] local.INFO: GPS data processed {"connection_id":231786,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:26:30] local.INFO: Acknowledgment sent {"connection_id":231786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:26:52] local.INFO: TCP Data received {"connection_id":233691,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:26:52] local.INFO: Processing buffer {"connection_id":233691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:26:52] local.INFO: IMEI packet received {"connection_id":233691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":233691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:26:57] local.INFO: TCP Data received {"connection_id":233691,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:26:57] local.INFO: Processing buffer {"connection_id":233691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:26:57] local.INFO: IMEI packet received {"connection_id":233691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":233691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:26:58] local.INFO: TCP Data received {"connection_id":233691,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac5c7598012d77a34005f2a5a00016011230..."} 
[2026-11-05 21:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac5c7598012d77a34005f2a5a00016011230..."} 
[2026-11-05 21:26:58] local.INFO: Processing buffer {"connection_id":233691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac5c7598012d77a34005f2a5a00016011230..."} 
[2026-11-05 21:26:58] local.INFO: Packet analysis {"connection_id":233691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac5c"} 
[2026-11-05 21:26:58] local.INFO: Extracted packet for processing {"connection_id":233691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac5c"} 
[2026-11-05 21:26:58] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788192,"longitude_deg":76.2815296,"latitude_deg":9.9788192,"altitude":22,"angle":274,"satellites":48,"speed":2,"hex_longitude":"2d77a340","hex_latitude":"05f2a5a0","is_valid_coordinates":true} 
[2026-11-05 21:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236634368001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007216128,"note":"Value kept but may cause issues"} 
[2026-11-05 21:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793893103000,"timestamp_ms":1793893103000,"timestamp_seconds":1793893103,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac5c7598"} 
[2026-11-05 21:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 21:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-05 21:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:26:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":233691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":233691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":233691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236634368001,"66":27876,"96":206,"87":13568,"24":2,"16":40537099635523584,"45":8620804506007216128},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-11-05 21:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236634368001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:26:58] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-11-05 21:26:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 21:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007216128,"description":"Unknown IO ID 45"} 
[2026-11-05 21:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236634368001,"power":27876,"unknown_96":206,"unknown_87":13568,"ignition":2,"odometer":null,"unknown_45":8620804506007216128}} 
[2026-11-05 21:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":233691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:26:58] local.INFO: GPS data processed {"connection_id":233691,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:26:58] local.INFO: Acknowledgment sent {"connection_id":233691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:27:35] local.INFO: TCP Data received {"connection_id":233691,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac5c7d68012d77a2c005f2a590001701052e..."} 
[2026-11-05 21:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac5c7d68012d77a2c005f2a590001701052e..."} 
[2026-11-05 21:27:35] local.INFO: Processing buffer {"connection_id":233691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac5c7d68012d77a2c005f2a590001701052e..."} 
[2026-11-05 21:27:35] local.INFO: Packet analysis {"connection_id":233691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac5c"} 
[2026-11-05 21:27:35] local.INFO: Extracted packet for processing {"connection_id":233691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac5c"} 
[2026-11-05 21:27:35] local.INFO: GPS Element Parsed {"raw_longitude":762815168,"raw_latitude":99788176,"longitude_deg":76.2815168,"latitude_deg":9.9788176,"altitude":23,"angle":261,"satellites":46,"speed":0,"hex_longitude":"2d77a2c0","hex_latitude":"05f2a590","is_valid_coordinates":true} 
[2026-11-05 21:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236634368001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007216128,"note":"Value kept but may cause issues"} 
[2026-11-05 21:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1793893105000,"timestamp_ms":1793893105000,"timestamp_seconds":1793893105,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac5c7d68"} 
[2026-11-05 21:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-05 21:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":233691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":233691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":233691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236634368001,"66":27713,"96":206,"87":13568,"24":0,"16":40537099635523584,"45":8620804506007216128},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-11-05 21:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236634368001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:27:35] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-11-05 21:27:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-11-05 21:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007216128,"description":"Unknown IO ID 45"} 
[2026-11-05 21:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236634368001,"power":27713,"unknown_96":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8620804506007216128}} 
[2026-11-05 21:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":233691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:27:35] local.INFO: GPS data processed {"connection_id":233691,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:27:35] local.INFO: Acknowledgment sent {"connection_id":233691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:27:52] local.INFO: TCP Data received {"connection_id":230451,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:27:52] local.INFO: Processing buffer {"connection_id":230451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:27:52] local.INFO: IMEI packet received {"connection_id":230451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":230451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:27:57] local.INFO: TCP Data received {"connection_id":230451,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:27:57] local.INFO: Processing buffer {"connection_id":230451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:27:57] local.INFO: IMEI packet received {"connection_id":230451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":230451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:27:58] local.INFO: TCP Data received {"connection_id":230451,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac6606d0012d77a30005f2a5a8001701052e..."} 
[2026-11-05 21:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac6606d0012d77a30005f2a5a8001701052e..."} 
[2026-11-05 21:27:58] local.INFO: Processing buffer {"connection_id":230451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac6606d0012d77a30005f2a5a8001701052e..."} 
[2026-11-05 21:27:58] local.INFO: Packet analysis {"connection_id":230451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac66"} 
[2026-11-05 21:27:58] local.INFO: Extracted packet for processing {"connection_id":230451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac66"} 
[2026-11-05 21:27:58] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":46,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236634880001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620663768518856704,"note":"Value kept but may cause issues"} 
[2026-11-05 21:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793893730000,"timestamp_ms":1793893730000,"timestamp_seconds":1793893730,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac6606d0"} 
[2026-11-05 21:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-05 21:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":230451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":230451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":230451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236634880001,"66":25875,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620663768518856704},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236634880001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:27:58] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:27:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620663768518856704,"description":"Unknown IO ID 45"} 
[2026-11-05 21:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236634880001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620663768518856704}} 
[2026-11-05 21:27:58] 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":64580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:27:58] local.INFO: GPS data processed {"connection_id":230451,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:27:58] local.INFO: Acknowledgment sent {"connection_id":230451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:28:29] local.INFO: TCP Data received {"connection_id":230451,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac6a9e98012d77a30005f2a5a8001701052f..."} 
[2026-11-05 21:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac6a9e98012d77a30005f2a5a8001701052f..."} 
[2026-11-05 21:28:29] local.INFO: Processing buffer {"connection_id":230451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac6a9e98012d77a30005f2a5a8001701052f..."} 
[2026-11-05 21:28:29] local.INFO: Packet analysis {"connection_id":230451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac6a"} 
[2026-11-05 21:28:29] local.INFO: Extracted packet for processing {"connection_id":230451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac6a"} 
[2026-11-05 21:28:29] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":47,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236794880001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793894031000,"timestamp_ms":1793894031000,"timestamp_seconds":1793894031,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac6a9e98"} 
[2026-11-05 21:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-11-05 21:28:29] 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-05 21:28:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":230451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":230451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":230451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236794880001,"66":25734,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236794880001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:28:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:28:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236794880001,"power":25734,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:28:29] 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":64581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:28:29] local.INFO: GPS data processed {"connection_id":230451,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:28:29] local.INFO: Acknowledgment sent {"connection_id":230451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:28:52] local.INFO: TCP Data received {"connection_id":231787,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:28:52] local.INFO: Processing buffer {"connection_id":231787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:28:52] local.INFO: IMEI packet received {"connection_id":231787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":231787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:28:57] local.INFO: TCP Data received {"connection_id":231787,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:28:57] local.INFO: Processing buffer {"connection_id":231787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:28:57] local.INFO: IMEI packet received {"connection_id":231787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":231787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:28:58] local.INFO: TCP Data received {"connection_id":231787,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac6a9e98012d77a30005f2a5a8001701052f..."} 
[2026-11-05 21:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac6a9e98012d77a30005f2a5a8001701052f..."} 
[2026-11-05 21:28:58] local.INFO: Processing buffer {"connection_id":231787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac6a9e98012d77a30005f2a5a8001701052f..."} 
[2026-11-05 21:28:58] local.INFO: Packet analysis {"connection_id":231787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac6a"} 
[2026-11-05 21:28:58] local.INFO: Extracted packet for processing {"connection_id":231787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac6a"} 
[2026-11-05 21:28:58] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":47,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236794880001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793894031000,"timestamp_ms":1793894031000,"timestamp_seconds":1793894031,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac6a9e98"} 
[2026-11-05 21:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-11-05 21:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":231787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":231787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":231787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236794880001,"66":25734,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236794880001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:28:58] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:28:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236794880001,"power":25734,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":231787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:28:58] local.INFO: GPS data processed {"connection_id":231787,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:28:58] local.INFO: Acknowledgment sent {"connection_id":231787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:29:29] local.INFO: TCP Data received {"connection_id":231787,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac6a9e98012d77a30005f2a5a8001701052f..."} 
[2026-11-05 21:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac6a9e98012d77a30005f2a5a8001701052f..."} 
[2026-11-05 21:29:29] local.INFO: Processing buffer {"connection_id":231787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac6a9e98012d77a30005f2a5a8001701052f..."} 
[2026-11-05 21:29:29] local.INFO: Packet analysis {"connection_id":231787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac6a"} 
[2026-11-05 21:29:29] local.INFO: Extracted packet for processing {"connection_id":231787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac6a"} 
[2026-11-05 21:29:29] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":47,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236794880001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793894031000,"timestamp_ms":1793894031000,"timestamp_seconds":1793894031,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac6a9e98"} 
[2026-11-05 21:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-11-05 21:29:29] 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-05 21:29:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":231787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":231787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":231787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236794880001,"66":25734,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236794880001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:29:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:29:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236794880001,"power":25734,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":231787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:29:29] local.INFO: GPS data processed {"connection_id":231787,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:29:29] local.INFO: Acknowledgment sent {"connection_id":231787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:29:52] local.INFO: TCP Data received {"connection_id":230452,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:29:52] local.INFO: Processing buffer {"connection_id":230452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:29:52] local.INFO: IMEI packet received {"connection_id":230452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":230452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:29:57] local.INFO: TCP Data received {"connection_id":230452,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:29:57] local.INFO: Processing buffer {"connection_id":230452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:29:57] local.INFO: IMEI packet received {"connection_id":230452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":230452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:29:58] local.INFO: TCP Data received {"connection_id":230452,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac6f3660012d77a30005f2a5a8001701052d..."} 
[2026-11-05 21:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac6f3660012d77a30005f2a5a8001701052d..."} 
[2026-11-05 21:29:58] local.INFO: Processing buffer {"connection_id":230452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac6f3660012d77a30005f2a5a8001701052d..."} 
[2026-11-05 21:29:58] local.INFO: Packet analysis {"connection_id":230452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac6f"} 
[2026-11-05 21:29:58] local.INFO: Extracted packet for processing {"connection_id":230452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac6f"} 
[2026-11-05 21:29:58] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":45,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236871936001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793894332000,"timestamp_ms":1793894332000,"timestamp_seconds":1793894332,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac6f3660"} 
[2026-11-05 21:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 21:29:58] 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-05 21:29:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":230452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":230452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":230452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236871936001,"66":25680,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236871936001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:29:58] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:29:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236871936001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:29:58] 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":64584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:29:58] local.INFO: GPS data processed {"connection_id":230452,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:29:58] local.INFO: Acknowledgment sent {"connection_id":230452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:30:29] local.INFO: TCP Data received {"connection_id":230452,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac6f3660012d77a30005f2a5a8001701052d..."} 
[2026-11-05 21:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac6f3660012d77a30005f2a5a8001701052d..."} 
[2026-11-05 21:30:29] local.INFO: Processing buffer {"connection_id":230452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac6f3660012d77a30005f2a5a8001701052d..."} 
[2026-11-05 21:30:29] local.INFO: Packet analysis {"connection_id":230452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac6f"} 
[2026-11-05 21:30:29] local.INFO: Extracted packet for processing {"connection_id":230452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac6f"} 
[2026-11-05 21:30:29] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":45,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21: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-05 21:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236871936001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793894332000,"timestamp_ms":1793894332000,"timestamp_seconds":1793894332,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac6f3660"} 
[2026-11-05 21: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-05 21:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 21:30:29] 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-05 21: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-05 21: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-05 21:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":230452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":230452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":230452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236871936001,"66":25680,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236871936001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:30:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:30:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236871936001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:30:29] 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":64585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:30:29] local.INFO: GPS data processed {"connection_id":230452,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:30:29] local.INFO: Acknowledgment sent {"connection_id":230452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:30:52] local.INFO: TCP Data received {"connection_id":229934,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:30:52] local.INFO: Processing buffer {"connection_id":229934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:30:52] local.INFO: IMEI packet received {"connection_id":229934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":229934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:30:57] local.INFO: TCP Data received {"connection_id":229934,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:30:57] local.INFO: Processing buffer {"connection_id":229934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:30:57] local.INFO: IMEI packet received {"connection_id":229934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":229934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:30:58] local.INFO: TCP Data received {"connection_id":229934,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac6f3660012d77a30005f2a5a8001701052d..."} 
[2026-11-05 21:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac6f3660012d77a30005f2a5a8001701052d..."} 
[2026-11-05 21:30:58] local.INFO: Processing buffer {"connection_id":229934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac6f3660012d77a30005f2a5a8001701052d..."} 
[2026-11-05 21:30:58] local.INFO: Packet analysis {"connection_id":229934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac6f"} 
[2026-11-05 21:30:58] local.INFO: Extracted packet for processing {"connection_id":229934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac6f"} 
[2026-11-05 21:30:58] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":45,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21: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-05 21:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236871936001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793894332000,"timestamp_ms":1793894332000,"timestamp_seconds":1793894332,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac6f3660"} 
[2026-11-05 21: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-05 21:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 21:30:58] 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-05 21: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-05 21: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-05 21:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":229934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":229934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":229934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236871936001,"66":25680,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236871936001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:30:58] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:30:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236871936001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":229934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:30:58] local.INFO: GPS data processed {"connection_id":229934,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:30:58] local.INFO: Acknowledgment sent {"connection_id":229934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:31:29] local.INFO: TCP Data received {"connection_id":229934,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac6f3660012d77a30005f2a5a8001701052d..."} 
[2026-11-05 21:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac6f3660012d77a30005f2a5a8001701052d..."} 
[2026-11-05 21:31:29] local.INFO: Processing buffer {"connection_id":229934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac6f3660012d77a30005f2a5a8001701052d..."} 
[2026-11-05 21:31:29] local.INFO: Packet analysis {"connection_id":229934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac6f"} 
[2026-11-05 21:31:29] local.INFO: Extracted packet for processing {"connection_id":229934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac6f"} 
[2026-11-05 21:31:29] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":45,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236871936001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793894332000,"timestamp_ms":1793894332000,"timestamp_seconds":1793894332,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac6f3660"} 
[2026-11-05 21:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 21:31:29] 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-05 21:31:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":229934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":229934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":229934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236871936001,"66":25680,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236871936001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:31:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:31:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236871936001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":229934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:31:29] local.INFO: GPS data processed {"connection_id":229934,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:31:29] local.INFO: Acknowledgment sent {"connection_id":229934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:31:52] local.INFO: TCP Data received {"connection_id":233692,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:31:52] local.INFO: Processing buffer {"connection_id":233692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:31:52] local.INFO: IMEI packet received {"connection_id":233692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":233692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:31:57] local.INFO: TCP Data received {"connection_id":233692,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:31:57] local.INFO: Processing buffer {"connection_id":233692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:31:57] local.INFO: IMEI packet received {"connection_id":233692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":233692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:32:03] local.INFO: TCP Data received {"connection_id":233692,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac6f3660012d77a30005f2a5a8001701052d..."} 
[2026-11-05 21:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac6f3660012d77a30005f2a5a8001701052d..."} 
[2026-11-05 21:32:03] local.INFO: Processing buffer {"connection_id":233692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac6f3660012d77a30005f2a5a8001701052d..."} 
[2026-11-05 21:32:03] local.INFO: Packet analysis {"connection_id":233692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac6f"} 
[2026-11-05 21:32:03] local.INFO: Extracted packet for processing {"connection_id":233692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac6f"} 
[2026-11-05 21:32:03] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":45,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236871936001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1793894332000,"timestamp_ms":1793894332000,"timestamp_seconds":1793894332,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac6f3660"} 
[2026-11-05 21:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 21:32:03] 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-05 21:32:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":233692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":233692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":233692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236871936001,"66":25680,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236871936001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:32:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:32:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236871936001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":233692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:32:03] local.INFO: GPS data processed {"connection_id":233692,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:32:03] local.INFO: Acknowledgment sent {"connection_id":233692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:32:35] local.INFO: TCP Data received {"connection_id":233692,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac6f3660012d77a30005f2a5a8001701052d..."} 
[2026-11-05 21:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac6f3660012d77a30005f2a5a8001701052d..."} 
[2026-11-05 21:32:35] local.INFO: Processing buffer {"connection_id":233692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac6f3660012d77a30005f2a5a8001701052d..."} 
[2026-11-05 21:32:35] local.INFO: Packet analysis {"connection_id":233692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac6f"} 
[2026-11-05 21:32:35] local.INFO: Extracted packet for processing {"connection_id":233692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac6f"} 
[2026-11-05 21:32:35] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":45,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236871936001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1793894332000,"timestamp_ms":1793894332000,"timestamp_seconds":1793894332,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac6f3660"} 
[2026-11-05 21:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 21:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":233692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":233692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":233692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236871936001,"66":25680,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236871936001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:32:35] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:32:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236871936001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":233692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:32:35] local.INFO: GPS data processed {"connection_id":233692,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:32:35] local.INFO: Acknowledgment sent {"connection_id":233692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:32:36] local.INFO: TCP Data received {"connection_id":229935,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229935,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:32:36] local.INFO: Processing buffer {"connection_id":229935,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:32:36] local.INFO: IMEI packet received {"connection_id":229935,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 21:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":229935,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:32:52] local.INFO: TCP Data received {"connection_id":229936,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:32:52] local.INFO: Processing buffer {"connection_id":229936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:32:52] local.INFO: IMEI packet received {"connection_id":229936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":229936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:32:57] local.INFO: TCP Data received {"connection_id":229936,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:32:57] local.INFO: Processing buffer {"connection_id":229936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:32:57] local.INFO: IMEI packet received {"connection_id":229936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":229936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:32:58] local.INFO: TCP Data received {"connection_id":229936,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac6f3660012d77a30005f2a5a8001701052d..."} 
[2026-11-05 21:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac6f3660012d77a30005f2a5a8001701052d..."} 
[2026-11-05 21:32:58] local.INFO: Processing buffer {"connection_id":229936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac6f3660012d77a30005f2a5a8001701052d..."} 
[2026-11-05 21:32:58] local.INFO: Packet analysis {"connection_id":229936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac6f"} 
[2026-11-05 21:32:58] local.INFO: Extracted packet for processing {"connection_id":229936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac6f"} 
[2026-11-05 21:32:58] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":45,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236871936001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:32:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793894332000,"timestamp_ms":1793894332000,"timestamp_seconds":1793894332,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac6f3660"} 
[2026-11-05 21:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 21:32:58] 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-05 21:32:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":229936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":229936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":229936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236871936001,"66":25680,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236871936001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:32:58] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:32:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236871936001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":229936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:32:58] local.INFO: GPS data processed {"connection_id":229936,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:32:58] local.INFO: Acknowledgment sent {"connection_id":229936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:33:29] local.INFO: TCP Data received {"connection_id":229936,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac6f3660012d77a30005f2a5a8001701052d..."} 
[2026-11-05 21:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac6f3660012d77a30005f2a5a8001701052d..."} 
[2026-11-05 21:33:29] local.INFO: Processing buffer {"connection_id":229936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac6f3660012d77a30005f2a5a8001701052d..."} 
[2026-11-05 21:33:29] local.INFO: Packet analysis {"connection_id":229936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac6f"} 
[2026-11-05 21:33:29] local.INFO: Extracted packet for processing {"connection_id":229936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac6f"} 
[2026-11-05 21:33:29] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":45,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236871936001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:33:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:33:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793894332000,"timestamp_ms":1793894332000,"timestamp_seconds":1793894332,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac6f3660"} 
[2026-11-05 21:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 21:33:29] 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-05 21:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":229936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":229936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":229936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:33:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236871936001,"66":25680,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236871936001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:33:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:33:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236871936001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":229936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:33:29] local.INFO: GPS data processed {"connection_id":229936,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:33:29] local.INFO: Acknowledgment sent {"connection_id":229936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:33:52] local.INFO: TCP Data received {"connection_id":230453,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:33:52] local.INFO: Processing buffer {"connection_id":230453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:33:52] local.INFO: IMEI packet received {"connection_id":230453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":230453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:33:57] local.INFO: TCP Data received {"connection_id":230453,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:33:57] local.INFO: Processing buffer {"connection_id":230453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:33:57] local.INFO: IMEI packet received {"connection_id":230453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":230453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:33:58] local.INFO: TCP Data received {"connection_id":230453,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac6f3660012d77a30005f2a5a8001701052d..."} 
[2026-11-05 21:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac6f3660012d77a30005f2a5a8001701052d..."} 
[2026-11-05 21:33:58] local.INFO: Processing buffer {"connection_id":230453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac6f3660012d77a30005f2a5a8001701052d..."} 
[2026-11-05 21:33:58] local.INFO: Packet analysis {"connection_id":230453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac6f"} 
[2026-11-05 21:33:58] local.INFO: Extracted packet for processing {"connection_id":230453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac6f"} 
[2026-11-05 21:33:58] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":45,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236871936001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793894332000,"timestamp_ms":1793894332000,"timestamp_seconds":1793894332,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac6f3660"} 
[2026-11-05 21:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 21:33:58] 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-05 21:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":230453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":230453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":230453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236871936001,"66":25680,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236871936001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:33:58] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:33:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236871936001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:33:58] 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":64592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:33:58] local.INFO: GPS data processed {"connection_id":230453,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:33:58] local.INFO: Acknowledgment sent {"connection_id":230453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:34:30] local.INFO: TCP Data received {"connection_id":230453,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac6f3660012d77a30005f2a5a8001701052d..."} 
[2026-11-05 21:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac6f3660012d77a30005f2a5a8001701052d..."} 
[2026-11-05 21:34:30] local.INFO: Processing buffer {"connection_id":230453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac6f3660012d77a30005f2a5a8001701052d..."} 
[2026-11-05 21:34:30] local.INFO: Packet analysis {"connection_id":230453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac6f"} 
[2026-11-05 21:34:30] local.INFO: Extracted packet for processing {"connection_id":230453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac6f"} 
[2026-11-05 21:34:30] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":45,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236871936001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793894332000,"timestamp_ms":1793894332000,"timestamp_seconds":1793894332,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac6f3660"} 
[2026-11-05 21:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-05 21:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":230453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":230453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":230453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236871936001,"66":25680,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236871936001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:34:30] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:34:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236871936001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:34:30] 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":64593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:34:30] local.INFO: GPS data processed {"connection_id":230453,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:34:30] local.INFO: Acknowledgment sent {"connection_id":230453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:34:58] local.INFO: TCP Data received {"connection_id":231789,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:34:58] local.INFO: Processing buffer {"connection_id":231789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:34:58] local.INFO: IMEI packet received {"connection_id":231789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":231789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:35:02] local.INFO: TCP Data received {"connection_id":231789,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:35:02] local.INFO: Processing buffer {"connection_id":231789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:35:02] local.INFO: IMEI packet received {"connection_id":231789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":231789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:35:03] local.INFO: TCP Data received {"connection_id":231789,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac73ce28012d77a30005f2a5a80017010527..."} 
[2026-11-05 21:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac73ce28012d77a30005f2a5a80017010527..."} 
[2026-11-05 21:35:03] local.INFO: Processing buffer {"connection_id":231789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac73ce28012d77a30005f2a5a80017010527..."} 
[2026-11-05 21:35:03] local.INFO: Packet analysis {"connection_id":231789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac73"} 
[2026-11-05 21:35:03] local.INFO: Extracted packet for processing {"connection_id":231789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac73"} 
[2026-11-05 21:35:03] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236948992001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1793894633000,"timestamp_ms":1793894633000,"timestamp_seconds":1793894633,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac73ce28"} 
[2026-11-05 21:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-05 21:35:03] 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-05 21:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":231789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":231789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":231789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236948992001,"66":25549,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236948992001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:35:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:35:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236948992001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":231789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:35:03] local.INFO: GPS data processed {"connection_id":231789,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:35:03] local.INFO: Acknowledgment sent {"connection_id":231789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:35:34] local.INFO: TCP Data received {"connection_id":231789,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac73ce28012d77a30005f2a5a80017010527..."} 
[2026-11-05 21:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac73ce28012d77a30005f2a5a80017010527..."} 
[2026-11-05 21:35:34] local.INFO: Processing buffer {"connection_id":231789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac73ce28012d77a30005f2a5a80017010527..."} 
[2026-11-05 21:35:34] local.INFO: Packet analysis {"connection_id":231789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac73"} 
[2026-11-05 21:35:34] local.INFO: Extracted packet for processing {"connection_id":231789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac73"} 
[2026-11-05 21:35:34] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236948992001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793894633000,"timestamp_ms":1793894633000,"timestamp_seconds":1793894633,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac73ce28"} 
[2026-11-05 21:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-05 21:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":231789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":231789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":231789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236948992001,"66":25549,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236948992001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:35:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:35:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236948992001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":231789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:35:34] local.INFO: GPS data processed {"connection_id":231789,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:35:34] local.INFO: Acknowledgment sent {"connection_id":231789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:35:52] local.INFO: TCP Data received {"connection_id":231790,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:35:52] local.INFO: Processing buffer {"connection_id":231790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:35:52] local.INFO: IMEI packet received {"connection_id":231790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":231790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:35:57] local.INFO: TCP Data received {"connection_id":231790,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:35:57] local.INFO: Processing buffer {"connection_id":231790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:35:57] local.INFO: IMEI packet received {"connection_id":231790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":231790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:35:58] local.INFO: TCP Data received {"connection_id":231790,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac73ce28012d77a30005f2a5a80017010527..."} 
[2026-11-05 21:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac73ce28012d77a30005f2a5a80017010527..."} 
[2026-11-05 21:35:58] local.INFO: Processing buffer {"connection_id":231790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac73ce28012d77a30005f2a5a80017010527..."} 
[2026-11-05 21:35:58] local.INFO: Packet analysis {"connection_id":231790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac73"} 
[2026-11-05 21:35:58] local.INFO: Extracted packet for processing {"connection_id":231790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac73"} 
[2026-11-05 21:35:58] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236948992001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793894633000,"timestamp_ms":1793894633000,"timestamp_seconds":1793894633,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac73ce28"} 
[2026-11-05 21:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-05 21:35:58] 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-05 21:35:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":231790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":231790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":231790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236948992001,"66":25549,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236948992001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:35:58] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:35:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236948992001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":231790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:35:58] local.INFO: GPS data processed {"connection_id":231790,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:35:58] local.INFO: Acknowledgment sent {"connection_id":231790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:36:29] local.INFO: TCP Data received {"connection_id":231790,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac73ce28012d77a30005f2a5a80017010527..."} 
[2026-11-05 21:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac73ce28012d77a30005f2a5a80017010527..."} 
[2026-11-05 21:36:29] local.INFO: Processing buffer {"connection_id":231790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac73ce28012d77a30005f2a5a80017010527..."} 
[2026-11-05 21:36:29] local.INFO: Packet analysis {"connection_id":231790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac73"} 
[2026-11-05 21:36:29] local.INFO: Extracted packet for processing {"connection_id":231790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac73"} 
[2026-11-05 21:36:29] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236948992001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793894633000,"timestamp_ms":1793894633000,"timestamp_seconds":1793894633,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac73ce28"} 
[2026-11-05 21:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-05 21:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":231790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":231790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":231790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236948992001,"66":25549,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236948992001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:36:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:36:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236948992001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":231790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:36:29] local.INFO: GPS data processed {"connection_id":231790,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:36:29] local.INFO: Acknowledgment sent {"connection_id":231790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:36:52] local.INFO: TCP Data received {"connection_id":233694,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:36:52] local.INFO: Processing buffer {"connection_id":233694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:36:52] local.INFO: IMEI packet received {"connection_id":233694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":233694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:36:57] local.INFO: TCP Data received {"connection_id":233694,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:36:57] local.INFO: Processing buffer {"connection_id":233694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:36:57] local.INFO: IMEI packet received {"connection_id":233694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":233694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:37:03] local.INFO: TCP Data received {"connection_id":233694,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac73ce28012d77a30005f2a5a80017010527..."} 
[2026-11-05 21:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac73ce28012d77a30005f2a5a80017010527..."} 
[2026-11-05 21:37:03] local.INFO: Processing buffer {"connection_id":233694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac73ce28012d77a30005f2a5a80017010527..."} 
[2026-11-05 21:37:03] local.INFO: Packet analysis {"connection_id":233694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac73"} 
[2026-11-05 21:37:03] local.INFO: Extracted packet for processing {"connection_id":233694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac73"} 
[2026-11-05 21:37:03] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236948992001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1793894633000,"timestamp_ms":1793894633000,"timestamp_seconds":1793894633,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac73ce28"} 
[2026-11-05 21:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-05 21:37:03] 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-05 21:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":233694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":233694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":233694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236948992001,"66":25549,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236948992001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:37:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:37:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236948992001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":233694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:37:03] local.INFO: GPS data processed {"connection_id":233694,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:37:03] local.INFO: Acknowledgment sent {"connection_id":233694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:37:34] local.INFO: TCP Data received {"connection_id":233694,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac73ce28012d77a30005f2a5a80017010527..."} 
[2026-11-05 21:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac73ce28012d77a30005f2a5a80017010527..."} 
[2026-11-05 21:37:34] local.INFO: Processing buffer {"connection_id":233694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac73ce28012d77a30005f2a5a80017010527..."} 
[2026-11-05 21:37:34] local.INFO: Packet analysis {"connection_id":233694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac73"} 
[2026-11-05 21:37:34] local.INFO: Extracted packet for processing {"connection_id":233694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac73"} 
[2026-11-05 21:37:34] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236948992001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793894633000,"timestamp_ms":1793894633000,"timestamp_seconds":1793894633,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac73ce28"} 
[2026-11-05 21:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-05 21:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":233694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":233694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":233694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236948992001,"66":25549,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236948992001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:37:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:37:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236948992001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":233694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:37:34] local.INFO: GPS data processed {"connection_id":233694,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:37:34] local.INFO: Acknowledgment sent {"connection_id":233694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:37:57] local.INFO: TCP Data received {"connection_id":229937,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:37:57] local.INFO: Processing buffer {"connection_id":229937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:37:57] local.INFO: IMEI packet received {"connection_id":229937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":229937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:38:02] local.INFO: TCP Data received {"connection_id":229937,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:38:02] local.INFO: Processing buffer {"connection_id":229937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:38:02] local.INFO: IMEI packet received {"connection_id":229937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":229937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:38:03] local.INFO: TCP Data received {"connection_id":229937,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac73ce28012d77a30005f2a5a80017010527..."} 
[2026-11-05 21:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac73ce28012d77a30005f2a5a80017010527..."} 
[2026-11-05 21:38:03] local.INFO: Processing buffer {"connection_id":229937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac73ce28012d77a30005f2a5a80017010527..."} 
[2026-11-05 21:38:03] local.INFO: Packet analysis {"connection_id":229937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac73"} 
[2026-11-05 21:38:03] local.INFO: Extracted packet for processing {"connection_id":229937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac73"} 
[2026-11-05 21:38:03] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236948992001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1793894633000,"timestamp_ms":1793894633000,"timestamp_seconds":1793894633,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac73ce28"} 
[2026-11-05 21:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-05 21:38:03] 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-05 21:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":229937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":229937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":229937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236948992001,"66":25549,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236948992001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:38:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:38:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236948992001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":229937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:38:03] local.INFO: GPS data processed {"connection_id":229937,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:38:03] local.INFO: Acknowledgment sent {"connection_id":229937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:38:06] local.INFO: TCP Data received {"connection_id":233693,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233693,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:38:06] local.INFO: Processing buffer {"connection_id":233693,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:38:06] local.INFO: IMEI packet received {"connection_id":233693,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 21:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":233693,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:38:08] local.INFO: TCP Data received {"connection_id":229937,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac73ce28012d77a30005f2a5a80017010527..."} 
[2026-11-05 21:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac73ce28012d77a30005f2a5a80017010527..."} 
[2026-11-05 21:38:08] local.INFO: Processing buffer {"connection_id":229937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac73ce28012d77a30005f2a5a80017010527..."} 
[2026-11-05 21:38:08] local.INFO: Packet analysis {"connection_id":229937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac73"} 
[2026-11-05 21:38:08] local.INFO: Extracted packet for processing {"connection_id":229937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac73"} 
[2026-11-05 21:38:08] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236948992001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793894633000,"timestamp_ms":1793894633000,"timestamp_seconds":1793894633,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac73ce28"} 
[2026-11-05 21:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-05 21:38:08] 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-05 21:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":229937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":229937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":229937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236948992001,"66":25549,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236948992001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:38:08] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:38:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236948992001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":229937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:38:08] local.INFO: GPS data processed {"connection_id":229937,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:38:08] local.INFO: Acknowledgment sent {"connection_id":229937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:38:52] local.INFO: TCP Data received {"connection_id":229938,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:38:52] local.INFO: Processing buffer {"connection_id":229938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:38:52] local.INFO: IMEI packet received {"connection_id":229938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":229938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:38:57] local.INFO: TCP Data received {"connection_id":229938,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:38:57] local.INFO: Processing buffer {"connection_id":229938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:38:57] local.INFO: IMEI packet received {"connection_id":229938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":229938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:38:58] local.INFO: TCP Data received {"connection_id":229938,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac73ce28012d77a30005f2a5a80017010527..."} 
[2026-11-05 21:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac73ce28012d77a30005f2a5a80017010527..."} 
[2026-11-05 21:38:58] local.INFO: Processing buffer {"connection_id":229938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac73ce28012d77a30005f2a5a80017010527..."} 
[2026-11-05 21:38:58] local.INFO: Packet analysis {"connection_id":229938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac73"} 
[2026-11-05 21:38:58] local.INFO: Extracted packet for processing {"connection_id":229938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac73"} 
[2026-11-05 21:38:58] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236948992001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793894633000,"timestamp_ms":1793894633000,"timestamp_seconds":1793894633,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac73ce28"} 
[2026-11-05 21:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-05 21:38:58] 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-05 21:38:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":229938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":229938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":229938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236948992001,"66":25549,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236948992001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:38:58] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:38:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236948992001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":229938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:38:58] local.INFO: GPS data processed {"connection_id":229938,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:38:58] local.INFO: Acknowledgment sent {"connection_id":229938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:39:03] local.INFO: TCP Data received {"connection_id":229938,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac73ce28012d77a30005f2a5a80017010527..."} 
[2026-11-05 21:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac73ce28012d77a30005f2a5a80017010527..."} 
[2026-11-05 21:39:03] local.INFO: Processing buffer {"connection_id":229938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac73ce28012d77a30005f2a5a80017010527..."} 
[2026-11-05 21:39:03] local.INFO: Packet analysis {"connection_id":229938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac73"} 
[2026-11-05 21:39:03] local.INFO: Extracted packet for processing {"connection_id":229938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac73"} 
[2026-11-05 21:39:03] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459236948992001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1793894633000,"timestamp_ms":1793894633000,"timestamp_seconds":1793894633,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac73ce28"} 
[2026-11-05 21:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-05 21:39:03] 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-05 21:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":229938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":229938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":229938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459236948992001,"66":25549,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":459236948992001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:39:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:39:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459236948992001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":229938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:39:03] local.INFO: GPS data processed {"connection_id":229938,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:39:03] local.INFO: Acknowledgment sent {"connection_id":229938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:39:34] local.INFO: TCP Data received {"connection_id":229938,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:39:34] local.INFO: Processing buffer {"connection_id":229938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:39:34] local.INFO: Packet analysis {"connection_id":229938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac78"} 
[2026-11-05 21:39:34] local.INFO: Extracted packet for processing {"connection_id":229938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac78"} 
[2026-11-05 21:39:34] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237026048001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793894934000,"timestamp_ms":1793894934000,"timestamp_seconds":1793894934,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac7865f0"} 
[2026-11-05 21:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-05 21:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":229938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":229938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":229938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237026048001,"66":25582,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237026048001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:39:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:39:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237026048001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":229938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:39:34] local.INFO: GPS data processed {"connection_id":229938,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:39:34] local.INFO: Acknowledgment sent {"connection_id":229938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:39:52] local.INFO: TCP Data received {"connection_id":229939,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:39:52] local.INFO: Processing buffer {"connection_id":229939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:39:52] local.INFO: IMEI packet received {"connection_id":229939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":229939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:39:57] local.INFO: TCP Data received {"connection_id":229939,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:39:57] local.INFO: Processing buffer {"connection_id":229939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:39:57] local.INFO: IMEI packet received {"connection_id":229939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":229939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:39:58] local.INFO: TCP Data received {"connection_id":229939,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:39:58] local.INFO: Processing buffer {"connection_id":229939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:39:58] local.INFO: Packet analysis {"connection_id":229939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac78"} 
[2026-11-05 21:39:58] local.INFO: Extracted packet for processing {"connection_id":229939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac78"} 
[2026-11-05 21:39:58] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21: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-05 21:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237026048001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793894934000,"timestamp_ms":1793894934000,"timestamp_seconds":1793894934,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac7865f0"} 
[2026-11-05 21: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-05 21:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-05 21:39:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21: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-05 21: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-05 21:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":229939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":229939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":229939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237026048001,"66":25582,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237026048001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:39:58] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:39:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237026048001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":229939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:39:58] local.INFO: GPS data processed {"connection_id":229939,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:39:58] local.INFO: Acknowledgment sent {"connection_id":229939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:40:29] local.INFO: TCP Data received {"connection_id":229939,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:40:29] local.INFO: Processing buffer {"connection_id":229939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:40:29] local.INFO: Packet analysis {"connection_id":229939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac78"} 
[2026-11-05 21:40:29] local.INFO: Extracted packet for processing {"connection_id":229939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac78"} 
[2026-11-05 21:40:29] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21: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-05 21:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237026048001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793894934000,"timestamp_ms":1793894934000,"timestamp_seconds":1793894934,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac7865f0"} 
[2026-11-05 21: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-05 21:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-05 21:40:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21: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-05 21: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-05 21:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":229939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":229939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":229939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237026048001,"66":25582,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237026048001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:40:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:40:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237026048001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":229939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:40:29] local.INFO: GPS data processed {"connection_id":229939,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:40:29] local.INFO: Acknowledgment sent {"connection_id":229939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:40:52] local.INFO: TCP Data received {"connection_id":233696,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:40:52] local.INFO: Processing buffer {"connection_id":233696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:40:52] local.INFO: IMEI packet received {"connection_id":233696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":233696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:40:57] local.INFO: TCP Data received {"connection_id":233696,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:40:57] local.INFO: Processing buffer {"connection_id":233696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:40:57] local.INFO: IMEI packet received {"connection_id":233696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":233696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:40:57] local.INFO: TCP Data received {"connection_id":233696,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:40:57] local.INFO: Processing buffer {"connection_id":233696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:40:57] local.INFO: Packet analysis {"connection_id":233696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac78"} 
[2026-11-05 21:40:57] local.INFO: Extracted packet for processing {"connection_id":233696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac78"} 
[2026-11-05 21:40:57] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237026048001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1793894934000,"timestamp_ms":1793894934000,"timestamp_seconds":1793894934,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac7865f0"} 
[2026-11-05 21:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-05 21:40:57] 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-05 21:40:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":233696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":233696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":233696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237026048001,"66":25582,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237026048001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:40:57] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:40:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237026048001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":233696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:40:57] local.INFO: GPS data processed {"connection_id":233696,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:40:57] local.INFO: Acknowledgment sent {"connection_id":233696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:41:29] local.INFO: TCP Data received {"connection_id":233696,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:41:29] local.INFO: Processing buffer {"connection_id":233696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:41:29] local.INFO: Packet analysis {"connection_id":233696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac78"} 
[2026-11-05 21:41:29] local.INFO: Extracted packet for processing {"connection_id":233696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac78"} 
[2026-11-05 21:41:29] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237026048001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793894934000,"timestamp_ms":1793894934000,"timestamp_seconds":1793894934,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac7865f0"} 
[2026-11-05 21:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-05 21:41:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:41:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":233696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":233696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":233696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237026048001,"66":25582,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237026048001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:41:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:41:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237026048001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":233696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:41:29] local.INFO: GPS data processed {"connection_id":233696,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:41:29] local.INFO: Acknowledgment sent {"connection_id":233696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:41:52] local.INFO: TCP Data received {"connection_id":230454,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:41:52] local.INFO: Processing buffer {"connection_id":230454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:41:52] local.INFO: IMEI packet received {"connection_id":230454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":230454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:41:57] local.INFO: TCP Data received {"connection_id":230454,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:41:57] local.INFO: Processing buffer {"connection_id":230454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:41:57] local.INFO: IMEI packet received {"connection_id":230454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":230454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:41:57] local.INFO: TCP Data received {"connection_id":230454,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:41:57] local.INFO: Processing buffer {"connection_id":230454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:41:57] local.INFO: Packet analysis {"connection_id":230454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac78"} 
[2026-11-05 21:41:57] local.INFO: Extracted packet for processing {"connection_id":230454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac78"} 
[2026-11-05 21:41:57] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237026048001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1793894934000,"timestamp_ms":1793894934000,"timestamp_seconds":1793894934,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac7865f0"} 
[2026-11-05 21:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-05 21:41:57] 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-05 21:41:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":230454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":230454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":230454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237026048001,"66":25582,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237026048001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:41:57] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:41:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237026048001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:41:57] 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":64609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:41:57] local.INFO: GPS data processed {"connection_id":230454,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:41:57] local.INFO: Acknowledgment sent {"connection_id":230454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:42:29] local.INFO: TCP Data received {"connection_id":230454,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:42:29] local.INFO: Processing buffer {"connection_id":230454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:42:29] local.INFO: Packet analysis {"connection_id":230454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac78"} 
[2026-11-05 21:42:29] local.INFO: Extracted packet for processing {"connection_id":230454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac78"} 
[2026-11-05 21:42:29] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237026048001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:42:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:42:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793894934000,"timestamp_ms":1793894934000,"timestamp_seconds":1793894934,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac7865f0"} 
[2026-11-05 21:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:42:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-05 21:42:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:42:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":230454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":230454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":230454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:42:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237026048001,"66":25582,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237026048001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:42:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:42:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:42:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237026048001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:42:29] 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":64610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:42:29] local.INFO: GPS data processed {"connection_id":230454,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:42:29] local.INFO: Acknowledgment sent {"connection_id":230454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:42:57] local.INFO: TCP Data received {"connection_id":231791,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:42:57] local.INFO: Processing buffer {"connection_id":231791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:42:57] local.INFO: IMEI packet received {"connection_id":231791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":231791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:43:02] local.INFO: TCP Data received {"connection_id":231791,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:43:02] local.INFO: Processing buffer {"connection_id":231791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:43:02] local.INFO: IMEI packet received {"connection_id":231791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":231791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:43:03] local.INFO: TCP Data received {"connection_id":231791,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:43:03] local.INFO: Processing buffer {"connection_id":231791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:43:03] local.INFO: Packet analysis {"connection_id":231791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac78"} 
[2026-11-05 21:43:03] local.INFO: Extracted packet for processing {"connection_id":231791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac78"} 
[2026-11-05 21:43:03] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237026048001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1793894934000,"timestamp_ms":1793894934000,"timestamp_seconds":1793894934,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac7865f0"} 
[2026-11-05 21:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-05 21:43:03] 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-05 21:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":231791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":231791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":231791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237026048001,"66":25582,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237026048001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:43:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:43:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237026048001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":231791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:43:03] local.INFO: GPS data processed {"connection_id":231791,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:43:03] local.INFO: Acknowledgment sent {"connection_id":231791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:43:34] local.INFO: TCP Data received {"connection_id":231791,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:43:34] local.INFO: Processing buffer {"connection_id":231791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:43:34] local.INFO: Packet analysis {"connection_id":231791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac78"} 
[2026-11-05 21:43:34] local.INFO: Extracted packet for processing {"connection_id":231791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac78"} 
[2026-11-05 21:43:34] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237026048001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793894934000,"timestamp_ms":1793894934000,"timestamp_seconds":1793894934,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac7865f0"} 
[2026-11-05 21:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-05 21:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":231791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":231791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":231791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237026048001,"66":25582,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237026048001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:43:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:43:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237026048001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":231791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:43:34] local.INFO: GPS data processed {"connection_id":231791,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:43:34] local.INFO: Acknowledgment sent {"connection_id":231791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:43:44] local.INFO: TCP Data received {"connection_id":233697,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233697,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:43:44] local.INFO: Processing buffer {"connection_id":233697,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:43:44] local.INFO: IMEI packet received {"connection_id":233697,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 21:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":233697,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:43:52] local.INFO: TCP Data received {"connection_id":229940,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:43:52] local.INFO: Processing buffer {"connection_id":229940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:43:52] local.INFO: IMEI packet received {"connection_id":229940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":229940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:43:57] local.INFO: TCP Data received {"connection_id":229940,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:43:57] local.INFO: Processing buffer {"connection_id":229940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:43:57] local.INFO: IMEI packet received {"connection_id":229940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":229940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:43:58] local.INFO: TCP Data received {"connection_id":229940,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:43:58] local.INFO: Processing buffer {"connection_id":229940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:43:58] local.INFO: Packet analysis {"connection_id":229940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac78"} 
[2026-11-05 21:43:58] local.INFO: Extracted packet for processing {"connection_id":229940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac78"} 
[2026-11-05 21:43:58] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237026048001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793894934000,"timestamp_ms":1793894934000,"timestamp_seconds":1793894934,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac7865f0"} 
[2026-11-05 21:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-05 21:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":229940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":229940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":229940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237026048001,"66":25582,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237026048001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:43:58] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:43:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237026048001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":229940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:43:58] local.INFO: GPS data processed {"connection_id":229940,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:43:58] local.INFO: Acknowledgment sent {"connection_id":229940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:44:29] local.INFO: TCP Data received {"connection_id":229940,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:44:29] local.INFO: Processing buffer {"connection_id":229940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac7865f0012d77a30005f2a5a8001701052b..."} 
[2026-11-05 21:44:29] local.INFO: Packet analysis {"connection_id":229940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac78"} 
[2026-11-05 21:44:29] local.INFO: Extracted packet for processing {"connection_id":229940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac78"} 
[2026-11-05 21:44:29] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237026048001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793894934000,"timestamp_ms":1793894934000,"timestamp_seconds":1793894934,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac7865f0"} 
[2026-11-05 21:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:44:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-05 21:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:44:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":229940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":229940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":229940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237026048001,"66":25582,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237026048001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:44:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:44:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237026048001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":229940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:44:29] local.INFO: GPS data processed {"connection_id":229940,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:44:29] local.INFO: Acknowledgment sent {"connection_id":229940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:44:52] local.INFO: TCP Data received {"connection_id":233698,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:44:52] local.INFO: Processing buffer {"connection_id":233698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:44:52] local.INFO: IMEI packet received {"connection_id":233698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":233698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:44:57] local.INFO: TCP Data received {"connection_id":233698,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:44:57] local.INFO: Processing buffer {"connection_id":233698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:44:57] local.INFO: IMEI packet received {"connection_id":233698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":233698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:44:58] local.INFO: TCP Data received {"connection_id":233698,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac7cfdb8012d77a30005f2a5a8001701052c..."} 
[2026-11-05 21:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac7cfdb8012d77a30005f2a5a8001701052c..."} 
[2026-11-05 21:44:58] local.INFO: Processing buffer {"connection_id":233698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac7cfdb8012d77a30005f2a5a8001701052c..."} 
[2026-11-05 21:44:58] local.INFO: Packet analysis {"connection_id":233698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac7c"} 
[2026-11-05 21:44:58] local.INFO: Extracted packet for processing {"connection_id":233698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac7c"} 
[2026-11-05 21:44:58] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237103104001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793895235000,"timestamp_ms":1793895235000,"timestamp_seconds":1793895235,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac7cfdb8"} 
[2026-11-05 21:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 21:44:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:44:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":233698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":233698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":233698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237103104001,"66":25495,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237103104001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:44:58] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:44:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237103104001,"power":25495,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":233698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:44:58] local.INFO: GPS data processed {"connection_id":233698,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:44:58] local.INFO: Acknowledgment sent {"connection_id":233698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:45:29] local.INFO: TCP Data received {"connection_id":233698,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac7cfdb8012d77a30005f2a5a8001701052c..."} 
[2026-11-05 21:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac7cfdb8012d77a30005f2a5a8001701052c..."} 
[2026-11-05 21:45:29] local.INFO: Processing buffer {"connection_id":233698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac7cfdb8012d77a30005f2a5a8001701052c..."} 
[2026-11-05 21:45:29] local.INFO: Packet analysis {"connection_id":233698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac7c"} 
[2026-11-05 21:45:29] local.INFO: Extracted packet for processing {"connection_id":233698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac7c"} 
[2026-11-05 21:45:29] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237103104001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793895235000,"timestamp_ms":1793895235000,"timestamp_seconds":1793895235,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac7cfdb8"} 
[2026-11-05 21:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 21:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:45:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":233698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":233698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":233698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237103104001,"66":25495,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237103104001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:45:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:45:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237103104001,"power":25495,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":233698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:45:29] local.INFO: GPS data processed {"connection_id":233698,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:45:29] local.INFO: Acknowledgment sent {"connection_id":233698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:45:52] local.INFO: TCP Data received {"connection_id":231793,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:45:52] local.INFO: Processing buffer {"connection_id":231793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:45:52] local.INFO: IMEI packet received {"connection_id":231793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":231793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:45:57] local.INFO: TCP Data received {"connection_id":231793,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:45:57] local.INFO: Processing buffer {"connection_id":231793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:45:57] local.INFO: IMEI packet received {"connection_id":231793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":231793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:45:58] local.INFO: TCP Data received {"connection_id":231793,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac7cfdb8012d77a30005f2a5a8001701052c..."} 
[2026-11-05 21:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac7cfdb8012d77a30005f2a5a8001701052c..."} 
[2026-11-05 21:45:58] local.INFO: Processing buffer {"connection_id":231793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac7cfdb8012d77a30005f2a5a8001701052c..."} 
[2026-11-05 21:45:58] local.INFO: Packet analysis {"connection_id":231793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac7c"} 
[2026-11-05 21:45:58] local.INFO: Extracted packet for processing {"connection_id":231793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac7c"} 
[2026-11-05 21:45:58] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237103104001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793895235000,"timestamp_ms":1793895235000,"timestamp_seconds":1793895235,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac7cfdb8"} 
[2026-11-05 21:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 21:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":231793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":231793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":231793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237103104001,"66":25495,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237103104001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:45:58] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:45:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237103104001,"power":25495,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":231793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:45:58] local.INFO: GPS data processed {"connection_id":231793,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:45:58] local.INFO: Acknowledgment sent {"connection_id":231793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:46:29] local.INFO: TCP Data received {"connection_id":231793,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac7cfdb8012d77a30005f2a5a8001701052c..."} 
[2026-11-05 21:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac7cfdb8012d77a30005f2a5a8001701052c..."} 
[2026-11-05 21:46:29] local.INFO: Processing buffer {"connection_id":231793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac7cfdb8012d77a30005f2a5a8001701052c..."} 
[2026-11-05 21:46:29] local.INFO: Packet analysis {"connection_id":231793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac7c"} 
[2026-11-05 21:46:29] local.INFO: Extracted packet for processing {"connection_id":231793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac7c"} 
[2026-11-05 21:46:29] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237103104001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793895235000,"timestamp_ms":1793895235000,"timestamp_seconds":1793895235,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac7cfdb8"} 
[2026-11-05 21:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 21:46:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:46:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":231793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":231793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":231793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:46:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237103104001,"66":25495,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237103104001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:46:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:46:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237103104001,"power":25495,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":231793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:46:29] local.INFO: GPS data processed {"connection_id":231793,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:46:29] local.INFO: Acknowledgment sent {"connection_id":231793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:46:52] local.INFO: TCP Data received {"connection_id":229941,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:46:52] local.INFO: Processing buffer {"connection_id":229941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:46:52] local.INFO: IMEI packet received {"connection_id":229941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":229941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:46:57] local.INFO: TCP Data received {"connection_id":229941,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:46:57] local.INFO: Processing buffer {"connection_id":229941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:46:57] local.INFO: IMEI packet received {"connection_id":229941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":229941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:46:58] local.INFO: TCP Data received {"connection_id":229941,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac7cfdb8012d77a30005f2a5a8001701052c..."} 
[2026-11-05 21:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac7cfdb8012d77a30005f2a5a8001701052c..."} 
[2026-11-05 21:46:58] local.INFO: Processing buffer {"connection_id":229941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac7cfdb8012d77a30005f2a5a8001701052c..."} 
[2026-11-05 21:46:58] local.INFO: Packet analysis {"connection_id":229941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac7c"} 
[2026-11-05 21:46:58] local.INFO: Extracted packet for processing {"connection_id":229941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac7c"} 
[2026-11-05 21:46:58] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237103104001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793895235000,"timestamp_ms":1793895235000,"timestamp_seconds":1793895235,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac7cfdb8"} 
[2026-11-05 21:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 21:46:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":229941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":229941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":229941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237103104001,"66":25495,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237103104001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:46:58] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:46:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237103104001,"power":25495,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":229941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:46:58] local.INFO: GPS data processed {"connection_id":229941,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:46:58] local.INFO: Acknowledgment sent {"connection_id":229941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:47:29] local.INFO: TCP Data received {"connection_id":229941,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac7cfdb8012d77a30005f2a5a8001701052c..."} 
[2026-11-05 21:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac7cfdb8012d77a30005f2a5a8001701052c..."} 
[2026-11-05 21:47:29] local.INFO: Processing buffer {"connection_id":229941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac7cfdb8012d77a30005f2a5a8001701052c..."} 
[2026-11-05 21:47:29] local.INFO: Packet analysis {"connection_id":229941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac7c"} 
[2026-11-05 21:47:29] local.INFO: Extracted packet for processing {"connection_id":229941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac7c"} 
[2026-11-05 21:47:29] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237103104001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793895235000,"timestamp_ms":1793895235000,"timestamp_seconds":1793895235,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac7cfdb8"} 
[2026-11-05 21:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-05 21:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:47:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":229941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":229941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":229941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237103104001,"66":25495,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237103104001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:47:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:47:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237103104001,"power":25495,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":229941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:47:29] local.INFO: GPS data processed {"connection_id":229941,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:47:29] local.INFO: Acknowledgment sent {"connection_id":229941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:47:57] local.INFO: TCP Data received {"connection_id":231794,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:47:57] local.INFO: Processing buffer {"connection_id":231794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:47:57] local.INFO: IMEI packet received {"connection_id":231794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":231794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:48:02] local.INFO: TCP Data received {"connection_id":231794,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:48:02] local.INFO: Processing buffer {"connection_id":231794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:48:02] local.INFO: IMEI packet received {"connection_id":231794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":231794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:48:03] local.INFO: TCP Data received {"connection_id":231794,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac7fb120012d77a30005f2a5a8001701052e..."} 
[2026-11-05 21:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac7fb120012d77a30005f2a5a8001701052e..."} 
[2026-11-05 21:48:03] local.INFO: Processing buffer {"connection_id":231794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac7fb120012d77a30005f2a5a8001701052e..."} 
[2026-11-05 21:48:03] local.INFO: Packet analysis {"connection_id":231794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac7f"} 
[2026-11-05 21:48:03] local.INFO: Extracted packet for processing {"connection_id":231794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac7f"} 
[2026-11-05 21:48:03] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788200,"longitude_deg":76.2815232,"latitude_deg":9.97882,"altitude":23,"angle":261,"satellites":46,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237180160001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1793895412000,"timestamp_ms":1793895412000,"timestamp_seconds":1793895412,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac7fb120"} 
[2026-11-05 21:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-05 21:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-05 21:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":231794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":231794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":231794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237180160001,"66":25462,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237180160001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:48:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:48:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237180160001,"power":25462,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":231794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:48:03] local.INFO: GPS data processed {"connection_id":231794,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:48:03] local.INFO: Acknowledgment sent {"connection_id":231794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:48:34] local.INFO: TCP Data received {"connection_id":231794,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac800af8012d77a24005f2a5a8001701012e..."} 
[2026-11-05 21:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac800af8012d77a24005f2a5a8001701012e..."} 
[2026-11-05 21:48:34] local.INFO: Processing buffer {"connection_id":231794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac800af8012d77a24005f2a5a8001701012e..."} 
[2026-11-05 21:48:34] local.INFO: Packet analysis {"connection_id":231794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac80"} 
[2026-11-05 21:48:34] local.INFO: Extracted packet for processing {"connection_id":231794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac80"} 
[2026-11-05 21:48:34] local.INFO: GPS Element Parsed {"raw_longitude":762815040,"raw_latitude":99788200,"longitude_deg":76.281504,"latitude_deg":9.97882,"altitude":23,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d77a240","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-11-05 21:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237225472001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40537099635523584,"note":"Value kept but may cause issues"} 
[2026-11-05 21:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263040512,"note":"Value kept but may cause issues"} 
[2026-11-05 21:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793895435000,"timestamp_ms":1793895435000,"timestamp_seconds":1793895435,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac800af8"} 
[2026-11-05 21:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:48: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-05 21:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-05 21:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":231794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":231794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":231794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237225472001,"66":26767,"133":206,"9":24832,"24":0,"16":40537099635523584,"45":8620734137263040512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-11-05 21:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237225472001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:48:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-05 21:48:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40537099635523584,"km_value":40537099635523.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263040512,"description":"Unknown IO ID 45"} 
[2026-11-05 21:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237225472001,"power":26767,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263040512}} 
[2026-11-05 21:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":231794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:48:34] local.INFO: GPS data processed {"connection_id":231794,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:48:34] local.INFO: Acknowledgment sent {"connection_id":231794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:49:30] local.INFO: TCP Data received {"connection_id":231792,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231792,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:49:30] local.INFO: Processing buffer {"connection_id":231792,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:49:30] local.INFO: IMEI packet received {"connection_id":231792,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 21:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":231792,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:49:41] local.INFO: TCP Data received {"connection_id":233699,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233699,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:49:41] local.INFO: Processing buffer {"connection_id":233699,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:49:41] local.INFO: IMEI packet received {"connection_id":233699,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 21:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":233699,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:50:02] local.INFO: TCP Data received {"connection_id":229942,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:50:02] local.INFO: Processing buffer {"connection_id":229942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:50:02] local.INFO: IMEI packet received {"connection_id":229942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":229942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:50:36] local.INFO: TCP Data received {"connection_id":229942,"ip":"117.224.67.80","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 21:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229942,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 21:50:36] local.INFO: Processing buffer {"connection_id":229942,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 21:50:36] local.INFO: IMEI packet received {"connection_id":229942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":229942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:55:01] local.INFO: TCP Data received {"connection_id":231795,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231795,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:55:01] local.INFO: Processing buffer {"connection_id":231795,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 21:55:01] local.INFO: IMEI packet received {"connection_id":231795,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 21:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":231795,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:55:17] local.INFO: TCP Data received {"connection_id":233703,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:55:17] local.INFO: Processing buffer {"connection_id":233703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:55:17] local.INFO: IMEI packet received {"connection_id":233703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":233703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:55:18] local.INFO: TCP Data received {"connection_id":233703,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac85f2b0012d78d40005f4b068000900292d..."} 
[2026-11-05 21:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac85f2b0012d78d40005f4b068000900292d..."} 
[2026-11-05 21:55:18] local.INFO: Processing buffer {"connection_id":233703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac85f2b0012d78d40005f4b068000900292d..."} 
[2026-11-05 21:55:18] local.INFO: Packet analysis {"connection_id":233703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac85"} 
[2026-11-05 21:55:18] local.INFO: Extracted packet for processing {"connection_id":233703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac85"} 
[2026-11-05 21:55:18] local.INFO: GPS Element Parsed {"raw_longitude":762893312,"raw_latitude":99922024,"longitude_deg":76.2893312,"latitude_deg":9.9922024,"altitude":9,"angle":41,"satellites":45,"speed":0,"hex_longitude":"2d78d400","hex_latitude":"05f4b068","is_valid_coordinates":true} 
[2026-11-05 21: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-05 21:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237325056001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40546071822204928,"note":"Value kept but may cause issues"} 
[2026-11-05 21:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8706584005194047488,"note":"Value kept but may cause issues"} 
[2026-11-05 21:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793895822000,"timestamp_ms":1793895822000,"timestamp_seconds":1793895822,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac85f2b0"} 
[2026-11-05 21: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-05 21:55: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-05 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 21:55: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-05 21: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-05 21: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-05 21:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":233703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":233703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":233703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237325056001,"66":26767,"52":206,"9":24832,"24":0,"16":40546071822204928,"45":8706584005194047488},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,9,24,16,45]} 
[2026-11-05 21:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237325056001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:55:18] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-11-05 21:55:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-11-05 21:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40546071822204928,"km_value":40546071822204.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8706584005194047488,"description":"Unknown IO ID 45"} 
[2026-11-05 21:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237325056001,"power":26767,"unknown_52":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8706584005194047488}} 
[2026-11-05 21:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":233703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:55:18] local.INFO: GPS data processed {"connection_id":233703,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:55:18] local.INFO: Acknowledgment sent {"connection_id":233703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:57:22] local.INFO: TCP Data received {"connection_id":231796,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:57:22] local.INFO: Processing buffer {"connection_id":231796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:57:22] local.INFO: IMEI packet received {"connection_id":231796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":231796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:57:23] local.INFO: TCP Data received {"connection_id":231796,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:57:23] local.INFO: Processing buffer {"connection_id":231796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:57:23] local.INFO: IMEI packet received {"connection_id":231796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":231796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:57:27] local.INFO: TCP Data received {"connection_id":231796,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:57:27] local.INFO: Processing buffer {"connection_id":231796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:57:27] local.INFO: IMEI packet received {"connection_id":231796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":231796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:57:28] local.INFO: TCP Data received {"connection_id":231796,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac87dee0012d79c9c005f584600012003325..."} 
[2026-11-05 21:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac87dee0012d79c9c005f584600012003325..."} 
[2026-11-05 21:57:28] local.INFO: Processing buffer {"connection_id":231796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac87dee0012d79c9c005f584600012003325..."} 
[2026-11-05 21:57:28] local.INFO: Packet analysis {"connection_id":231796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac87"} 
[2026-11-05 21:57:28] local.INFO: Extracted packet for processing {"connection_id":231796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac87"} 
[2026-11-05 21:57:28] local.INFO: GPS Element Parsed {"raw_longitude":762956224,"raw_latitude":99976288,"longitude_deg":76.2956224,"latitude_deg":9.9976288,"altitude":18,"angle":51,"satellites":37,"speed":14,"hex_longitude":"2d79c9c0","hex_latitude":"05f58460","is_valid_coordinates":true} 
[2026-11-05 21: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-05 21:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237359360001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40550091911593984,"note":"Value kept but may cause issues"} 
[2026-11-05 21:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8767734443896881152,"note":"Value kept but may cause issues"} 
[2026-11-05 21:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1793895948000,"timestamp_ms":1793895948000,"timestamp_seconds":1793895948,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac87dee0"} 
[2026-11-05 21: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-05 21:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 21:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 21:57:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21: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-05 21: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-05 21:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":231796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":231796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":231796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237359360001,"66":27343,"204":206,"8":64768,"24":14,"16":40550091911593984,"45":8767734443896881152},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,8,24,16,45]} 
[2026-11-05 21:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237359360001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:57:28] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-11-05 21:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40550091911593984,"km_value":40550091911593.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8767734443896881152,"description":"Unknown IO ID 45"} 
[2026-11-05 21:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237359360001,"power":27343,"lac":206,"unknown_8":64768,"ignition":14,"odometer":null,"unknown_45":8767734443896881152}} 
[2026-11-05 21:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":231796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:57:28] local.INFO: GPS data processed {"connection_id":231796,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:57:28] local.INFO: Acknowledgment sent {"connection_id":231796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:57:52] local.INFO: TCP Data received {"connection_id":229944,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:57:52] local.INFO: Processing buffer {"connection_id":229944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:57:52] local.INFO: IMEI packet received {"connection_id":229944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":229944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:57:52] local.INFO: TCP Data received {"connection_id":229944,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:57:52] local.INFO: Processing buffer {"connection_id":229944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:57:52] local.INFO: IMEI packet received {"connection_id":229944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":229944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:57:57] local.INFO: TCP Data received {"connection_id":229944,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:57:57] local.INFO: Processing buffer {"connection_id":229944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:57:57] local.INFO: IMEI packet received {"connection_id":229944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":229944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:57:57] local.INFO: TCP Data received {"connection_id":229944,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac881978012d79e54005f59b580010002f2c..."} 
[2026-11-05 21:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac881978012d79e54005f59b580010002f2c..."} 
[2026-11-05 21:57:57] local.INFO: Processing buffer {"connection_id":229944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac881978012d79e54005f59b580010002f2c..."} 
[2026-11-05 21:57:57] local.INFO: Packet analysis {"connection_id":229944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac88"} 
[2026-11-05 21:57:57] local.INFO: Extracted packet for processing {"connection_id":229944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac88"} 
[2026-11-05 21:57:57] local.INFO: GPS Element Parsed {"raw_longitude":762963264,"raw_latitude":99982168,"longitude_deg":76.2963264,"latitude_deg":9.9982168,"altitude":16,"angle":47,"satellites":44,"speed":25,"hex_longitude":"2d79e540","hex_latitude":"05f59b58","is_valid_coordinates":true} 
[2026-11-05 21:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237362688001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40550529998258176,"note":"Value kept but may cause issues"} 
[2026-11-05 21:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8775756480734584832,"note":"Value kept but may cause issues"} 
[2026-11-05 21:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1793895963000,"timestamp_ms":1793895963000,"timestamp_seconds":1793895963,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac881978"} 
[2026-11-05 21:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:57: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-05 21:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 21:57:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:57:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":229944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":229944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":229944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237362688001,"66":27213,"204":206,"8":64768,"24":25,"16":40550529998258176,"45":8775756480734584832},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,8,24,16,45]} 
[2026-11-05 21:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237362688001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:57:57] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-11-05 21:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40550529998258176,"km_value":40550529998258.18,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8775756480734584832,"description":"Unknown IO ID 45"} 
[2026-11-05 21:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237362688001,"power":27213,"lac":206,"unknown_8":64768,"ignition":25,"odometer":null,"unknown_45":8775756480734584832}} 
[2026-11-05 21:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":229944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:57:57] local.INFO: GPS data processed {"connection_id":229944,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:57:57] local.INFO: Acknowledgment sent {"connection_id":229944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:58:28] local.INFO: TCP Data received {"connection_id":229944,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac8857f8012d7a014005f5b4300011002f2a..."} 
[2026-11-05 21:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac8857f8012d7a014005f5b4300011002f2a..."} 
[2026-11-05 21:58:28] local.INFO: Processing buffer {"connection_id":229944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac8857f8012d7a014005f5b4300011002f2a..."} 
[2026-11-05 21:58:28] local.INFO: Packet analysis {"connection_id":229944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac88"} 
[2026-11-05 21:58:28] local.INFO: Extracted packet for processing {"connection_id":229944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac88"} 
[2026-11-05 21:58:28] local.INFO: GPS Element Parsed {"raw_longitude":762970432,"raw_latitude":99988528,"longitude_deg":76.2970432,"latitude_deg":9.9988528,"altitude":17,"angle":47,"satellites":42,"speed":28,"hex_longitude":"2d7a0140","hex_latitude":"05f5b430","is_valid_coordinates":true} 
[2026-11-05 21:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237366528001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40550993854726144,"note":"Value kept but may cause issues"} 
[2026-11-05 21:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783497042595633152,"note":"Value kept but may cause issues"} 
[2026-11-05 21:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1793895979000,"timestamp_ms":1793895979000,"timestamp_seconds":1793895979,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac8857f8"} 
[2026-11-05 21:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 21:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-11-05 21:58:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:58:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":229944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":229944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":229944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237366528001,"66":27517,"204":206,"8":64768,"24":28,"16":40550993854726144,"45":8783497042595633152},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,8,24,16,45]} 
[2026-11-05 21:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237366528001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:58:28] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-11-05 21:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40550993854726144,"km_value":40550993854726.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783497042595633152,"description":"Unknown IO ID 45"} 
[2026-11-05 21:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237366528001,"power":27517,"lac":206,"unknown_8":64768,"ignition":28,"odometer":null,"unknown_45":8783497042595633152}} 
[2026-11-05 21:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":229944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:58:28] local.INFO: GPS data processed {"connection_id":229944,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:58:28] local.INFO: Acknowledgment sent {"connection_id":229944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:59:11] local.INFO: TCP Data received {"connection_id":229945,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:59:11] local.INFO: Processing buffer {"connection_id":229945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:59:11] local.INFO: IMEI packet received {"connection_id":229945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":229945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:59:12] local.INFO: TCP Data received {"connection_id":229945,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:59:12] local.INFO: Processing buffer {"connection_id":229945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:59:12] local.INFO: IMEI packet received {"connection_id":229945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":229945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:59:17] local.INFO: TCP Data received {"connection_id":229945,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:59:17] local.INFO: Processing buffer {"connection_id":229945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:59:17] local.INFO: IMEI packet received {"connection_id":229945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":229945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:59:18] local.INFO: TCP Data received {"connection_id":229945,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac888ea8012d7a1d0005f5cbb8000f00342d..."} 
[2026-11-05 21:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac888ea8012d7a1d0005f5cbb8000f00342d..."} 
[2026-11-05 21:59:18] local.INFO: Processing buffer {"connection_id":229945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac888ea8012d7a1d0005f5cbb8000f00342d..."} 
[2026-11-05 21:59:18] local.INFO: Packet analysis {"connection_id":229945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac88"} 
[2026-11-05 21:59:18] local.INFO: Extracted packet for processing {"connection_id":229945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac88"} 
[2026-11-05 21:59:18] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":99994552,"longitude_deg":76.2977536,"latitude_deg":9.9994552,"altitude":15,"angle":52,"satellites":45,"speed":26,"hex_longitude":"2d7a1d00","hex_latitude":"05f5cbb8","is_valid_coordinates":true} 
[2026-11-05 21: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-05 21:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237370624001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40551440531324928,"note":"Value kept but may cause issues"} 
[2026-11-05 21:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791378341945159680,"note":"Value kept but may cause issues"} 
[2026-11-05 21:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793895993000,"timestamp_ms":1793895993000,"timestamp_seconds":1793895993,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac888ea8"} 
[2026-11-05 21: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-05 21: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-05 21: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-05 21:59:18] 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-05 21: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-05 21: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-05 21:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237370624001,"66":27213,"64":206,"8":64768,"24":26,"16":40551440531324928,"45":8791378341945159680},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,8,24,16,45]} 
[2026-11-05 21:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237370624001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:59:18] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-11-05 21:59:18] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-11-05 21:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40551440531324928,"km_value":40551440531324.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791378341945159680,"description":"Unknown IO ID 45"} 
[2026-11-05 21:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237370624001,"power":27213,"unknown_64":206,"unknown_8":64768,"ignition":26,"odometer":null,"unknown_45":8791378341945159680}} 
[2026-11-05 21:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":229945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:59:18] local.INFO: GPS data processed {"connection_id":229945,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:59:18] local.INFO: Acknowledgment sent {"connection_id":229945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 21:59:49] local.INFO: TCP Data received {"connection_id":230456,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:59:49] local.INFO: Processing buffer {"connection_id":230456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:59:49] local.INFO: IMEI packet received {"connection_id":230456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 21:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":230456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 21:59:52] local.INFO: TCP Data received {"connection_id":230456,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:59:52] local.INFO: Processing buffer {"connection_id":230456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:59:52] local.INFO: IMEI packet received {"connection_id":230456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":230456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:59:57] local.INFO: TCP Data received {"connection_id":230456,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:59:57] local.INFO: Processing buffer {"connection_id":230456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 21:59:57] local.INFO: IMEI packet received {"connection_id":230456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 21:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":230456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 21:59:58] local.INFO: TCP Data received {"connection_id":230456,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac8a8e60012d7b278005f65bc0000a001d28..."} 
[2026-11-05 21:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac8a8e60012d7b278005f65bc0000a001d28..."} 
[2026-11-05 21:59:58] local.INFO: Processing buffer {"connection_id":230456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac8a8e60012d7b278005f65bc0000a001d28..."} 
[2026-11-05 21:59:58] local.INFO: Packet analysis {"connection_id":230456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac8a"} 
[2026-11-05 21:59:58] local.INFO: Extracted packet for processing {"connection_id":230456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac8a"} 
[2026-11-05 21:59:58] local.INFO: GPS Element Parsed {"raw_longitude":763045760,"raw_latitude":100031424,"longitude_deg":76.304576,"latitude_deg":10.0031424,"altitude":10,"angle":29,"satellites":40,"speed":35,"hex_longitude":"2d7b2780","hex_latitude":"05f65bc0","is_valid_coordinates":true} 
[2026-11-05 21:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 21:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237404928001,"note":"Value kept but may cause issues"} 
[2026-11-05 21:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40555271642152960,"note":"Value kept but may cause issues"} 
[2026-11-05 21:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868150641852151808,"note":"Value kept but may cause issues"} 
[2026-11-05 21:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 21:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793896124000,"timestamp_ms":1793896124000,"timestamp_seconds":1793896124,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac8a8e60"} 
[2026-11-05 21:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 21:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 21:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-11-05 21:59:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1272,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 21:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 21:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 21:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 21:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":230456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 21:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":230456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":230456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 21:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 21:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 21:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 21:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237404928001,"66":27397,"62":206,"8":64768,"24":35,"16":40555271642152960,"45":8868150641852151808},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,8,24,16,45]} 
[2026-11-05 21:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 21:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 21:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237404928001,"description":"Unknown IO ID 0"} 
[2026-11-05 21:59:58] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-11-05 21:59:58] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-11-05 21:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40555271642152960,"km_value":40555271642152.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 21:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868150641852151808,"description":"Unknown IO ID 45"} 
[2026-11-05 21:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237404928001,"power":27397,"unknown_62":206,"unknown_8":64768,"ignition":35,"odometer":null,"unknown_45":8868150641852151808}} 
[2026-11-05 21:59:58] 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":64628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 21:59:58] local.INFO: GPS data processed {"connection_id":230456,"processed":1,"errors":0,"total":1} 
[2026-11-05 21:59:58] local.INFO: Acknowledgment sent {"connection_id":230456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:00:29] local.INFO: TCP Data received {"connection_id":230456,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac8ab958012d7b368005f67e10000a00122e..."} 
[2026-11-05 22:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac8ab958012d7b368005f67e10000a00122e..."} 
[2026-11-05 22:00:29] local.INFO: Processing buffer {"connection_id":230456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac8ab958012d7b368005f67e10000a00122e..."} 
[2026-11-05 22:00:29] local.INFO: Packet analysis {"connection_id":230456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac8a"} 
[2026-11-05 22:00:29] local.INFO: Extracted packet for processing {"connection_id":230456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac8a"} 
[2026-11-05 22:00:29] local.INFO: GPS Element Parsed {"raw_longitude":763049600,"raw_latitude":100040208,"longitude_deg":76.30496,"latitude_deg":10.0040208,"altitude":10,"angle":18,"satellites":46,"speed":30,"hex_longitude":"2d7b3680","hex_latitude":"05f67e10","is_valid_coordinates":true} 
[2026-11-05 22:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237407744001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40555735498620928,"note":"Value kept but may cause issues"} 
[2026-11-05 22:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874202353853251584,"note":"Value kept but may cause issues"} 
[2026-11-05 22:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793896135000,"timestamp_ms":1793896135000,"timestamp_seconds":1793896135,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac8ab958"} 
[2026-11-05 22:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 22:00:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:00:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":230456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":230456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":230456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237407744001,"66":27517,"62":206,"8":64768,"24":30,"16":40555735498620928,"45":8874202353853251584},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,8,24,16,45]} 
[2026-11-05 22:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237407744001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:00:29] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-11-05 22:00:29] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-11-05 22:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40555735498620928,"km_value":40555735498620.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874202353853251584,"description":"Unknown IO ID 45"} 
[2026-11-05 22:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237407744001,"power":27517,"unknown_62":206,"unknown_8":64768,"ignition":30,"odometer":null,"unknown_45":8874202353853251584}} 
[2026-11-05 22:00:29] 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":64629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:00:29] local.INFO: GPS data processed {"connection_id":230456,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:00:29] local.INFO: Acknowledgment sent {"connection_id":230456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:00:36] local.INFO: TCP Data received {"connection_id":230455,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:00:36] local.INFO: Processing buffer {"connection_id":230455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:00:36] local.INFO: IMEI packet received {"connection_id":230455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 22:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":230455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:01:57] local.INFO: TCP Data received {"connection_id":230457,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:01:57] local.INFO: Processing buffer {"connection_id":230457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:01:57] local.INFO: IMEI packet received {"connection_id":230457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":230457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:02:02] local.INFO: TCP Data received {"connection_id":230457,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:02:02] local.INFO: Processing buffer {"connection_id":230457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:02:02] local.INFO: IMEI packet received {"connection_id":230457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":230457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:02:03] local.INFO: TCP Data received {"connection_id":230457,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac8c3828012d7aecc005f797f0000701562b..."} 
[2026-11-05 22:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac8c3828012d7aecc005f797f0000701562b..."} 
[2026-11-05 22:02:03] local.INFO: Processing buffer {"connection_id":230457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac8c3828012d7aecc005f797f0000701562b..."} 
[2026-11-05 22:02:03] local.INFO: Packet analysis {"connection_id":230457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac8c"} 
[2026-11-05 22:02:03] local.INFO: Extracted packet for processing {"connection_id":230457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac8c"} 
[2026-11-05 22:02:03] local.INFO: GPS Element Parsed {"raw_longitude":763030720,"raw_latitude":100112368,"longitude_deg":76.303072,"latitude_deg":10.0112368,"altitude":7,"angle":342,"satellites":43,"speed":36,"hex_longitude":"2d7aecc0","hex_latitude":"05f797f0","is_valid_coordinates":true} 
[2026-11-05 22:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237432320001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40559399105724416,"note":"Value kept but may cause issues"} 
[2026-11-05 22:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860480448757065728,"note":"Value kept but may cause issues"} 
[2026-11-05 22:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1793896233000,"timestamp_ms":1793896233000,"timestamp_seconds":1793896233,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac8c3828"} 
[2026-11-05 22:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 22:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":230457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":230457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":230457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237432320001,"66":27376,"143":206,"8":65024,"24":36,"16":40559399105724416,"45":8860480448757065728},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,8,24,16,45]} 
[2026-11-05 22:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237432320001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:02:03] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-11-05 22:02:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-11-05 22:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40559399105724416,"km_value":40559399105724.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860480448757065728,"description":"Unknown IO ID 45"} 
[2026-11-05 22:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237432320001,"power":27376,"unknown_143":206,"unknown_8":65024,"ignition":36,"odometer":null,"unknown_45":8860480448757065728}} 
[2026-11-05 22:02:03] 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":64630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:02:03] local.INFO: GPS data processed {"connection_id":230457,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:02:03] local.INFO: Acknowledgment sent {"connection_id":230457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:02:34] local.INFO: TCP Data received {"connection_id":230457,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac8c5b50012d7ae28005f7bce00009015928..."} 
[2026-11-05 22:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac8c5b50012d7ae28005f7bce00009015928..."} 
[2026-11-05 22:02:34] local.INFO: Processing buffer {"connection_id":230457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac8c5b50012d7ae28005f7bce00009015928..."} 
[2026-11-05 22:02:34] local.INFO: Packet analysis {"connection_id":230457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac8c"} 
[2026-11-05 22:02:34] local.INFO: Extracted packet for processing {"connection_id":230457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac8c"} 
[2026-11-05 22:02:34] local.INFO: GPS Element Parsed {"raw_longitude":763028096,"raw_latitude":100121824,"longitude_deg":76.3028096,"latitude_deg":10.0121824,"altitude":9,"angle":345,"satellites":40,"speed":43,"hex_longitude":"2d7ae280","hex_latitude":"05f7bce0","is_valid_coordinates":true} 
[2026-11-05 22:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237435648001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40559875847094272,"note":"Value kept but may cause issues"} 
[2026-11-05 22:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857665698992222208,"note":"Value kept but may cause issues"} 
[2026-11-05 22:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793896242000,"timestamp_ms":1793896242000,"timestamp_seconds":1793896242,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac8c5b50"} 
[2026-11-05 22:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:02: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-05 22:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 22:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":230457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":230457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":230457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237435648001,"66":27332,"143":206,"8":65024,"24":43,"16":40559875847094272,"45":8857665698992222208},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,8,24,16,45]} 
[2026-11-05 22:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237435648001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:02:34] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-11-05 22:02:34] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-11-05 22:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40559875847094272,"km_value":40559875847094.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857665698992222208,"description":"Unknown IO ID 45"} 
[2026-11-05 22:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237435648001,"power":27332,"unknown_143":206,"unknown_8":65024,"ignition":43,"odometer":null,"unknown_45":8857665698992222208}} 
[2026-11-05 22:02:34] 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":64631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:02:34] local.INFO: GPS data processed {"connection_id":230457,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:02:34] local.INFO: Acknowledgment sent {"connection_id":230457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:02:57] local.INFO: TCP Data received {"connection_id":229946,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:02:57] local.INFO: Processing buffer {"connection_id":229946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:02:57] local.INFO: IMEI packet received {"connection_id":229946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":229946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:03:00] local.INFO: TCP Data received {"connection_id":229946,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:03:00] local.INFO: Processing buffer {"connection_id":229946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:03:00] local.INFO: IMEI packet received {"connection_id":229946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":229946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:03:00] local.INFO: TCP Data received {"connection_id":229946,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac8d6cc0012d7b330005f8cf300017002629..."} 
[2026-11-05 22:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac8d6cc0012d7b330005f8cf300017002629..."} 
[2026-11-05 22:03:00] local.INFO: Processing buffer {"connection_id":229946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac8d6cc0012d7b330005f8cf300017002629..."} 
[2026-11-05 22:03:00] local.INFO: Packet analysis {"connection_id":229946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac8d"} 
[2026-11-05 22:03:00] local.INFO: Extracted packet for processing {"connection_id":229946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac8d"} 
[2026-11-05 22:03:00] local.INFO: GPS Element Parsed {"raw_longitude":763048704,"raw_latitude":100192048,"longitude_deg":76.3048704,"latitude_deg":10.0192048,"altitude":23,"angle":38,"satellites":41,"speed":41,"hex_longitude":"2d7b3300","hex_latitude":"05f8cf30","is_valid_coordinates":true} 
[2026-11-05 22:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237453824001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40563749907595264,"note":"Value kept but may cause issues"} 
[2026-11-05 22:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870543179195498496,"note":"Value kept but may cause issues"} 
[2026-11-05 22:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793896312000,"timestamp_ms":1793896312000,"timestamp_seconds":1793896312,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac8d6cc0"} 
[2026-11-05 22:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 22:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":229946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":229946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":229946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237453824001,"66":27376,"30":206,"8":65024,"24":41,"16":40563749907595264,"45":8870543179195498496},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,8,24,16,45]} 
[2026-11-05 22:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237453824001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:03:00] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-11-05 22:03:00] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-11-05 22:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40563749907595264,"km_value":40563749907595.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870543179195498496,"description":"Unknown IO ID 45"} 
[2026-11-05 22:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237453824001,"power":27376,"unknown_30":206,"unknown_8":65024,"ignition":41,"odometer":null,"unknown_45":8870543179195498496}} 
[2026-11-05 22:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":229946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:03:00] local.INFO: GPS data processed {"connection_id":229946,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:03:00] local.INFO: Acknowledgment sent {"connection_id":229946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:03:02] local.INFO: TCP Data received {"connection_id":229946,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac8d93d0012d7b470005f8eef0001500202a..."} 
[2026-11-05 22:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac8d93d0012d7b470005f8eef0001500202a..."} 
[2026-11-05 22:03:02] local.INFO: Processing buffer {"connection_id":229946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac8d93d0012d7b470005f8eef0001500202a..."} 
[2026-11-05 22:03:02] local.INFO: Packet analysis {"connection_id":229946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac8d"} 
[2026-11-05 22:03:02] local.INFO: Extracted packet for processing {"connection_id":229946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac8d"} 
[2026-11-05 22:03:02] local.INFO: GPS Element Parsed {"raw_longitude":763053824,"raw_latitude":100200176,"longitude_deg":76.3053824,"latitude_deg":10.0200176,"altitude":21,"angle":32,"satellites":42,"speed":40,"hex_longitude":"2d7b4700","hex_latitude":"05f8eef0","is_valid_coordinates":true} 
[2026-11-05 22:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237455872001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40564213764063232,"note":"Value kept but may cause issues"} 
[2026-11-05 22:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877439316126543872,"note":"Value kept but may cause issues"} 
[2026-11-05 22:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1793896322000,"timestamp_ms":1793896322000,"timestamp_seconds":1793896322,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac8d93d0"} 
[2026-11-05 22:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 22:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":229946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":229946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":229946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237455872001,"66":26832,"30":206,"8":65024,"24":40,"16":40564213764063232,"45":8877439316126543872},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,8,24,16,45]} 
[2026-11-05 22:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237455872001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:03:02] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-11-05 22:03:02] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-11-05 22:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40564213764063232,"km_value":40564213764063.234,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877439316126543872,"description":"Unknown IO ID 45"} 
[2026-11-05 22:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237455872001,"power":26832,"unknown_30":206,"unknown_8":65024,"ignition":40,"odometer":null,"unknown_45":8877439316126543872}} 
[2026-11-05 22:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":229946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:03:02] local.INFO: GPS data processed {"connection_id":229946,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:03:02] local.INFO: Acknowledgment sent {"connection_id":229946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:03:33] local.INFO: TCP Data received {"connection_id":229946,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac8dbae0012d7b5a0005f90f400014001f23..."} 
[2026-11-05 22:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac8dbae0012d7b5a0005f90f400014001f23..."} 
[2026-11-05 22:03:33] local.INFO: Processing buffer {"connection_id":229946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac8dbae0012d7b5a0005f90f400014001f23..."} 
[2026-11-05 22:03:33] local.INFO: Packet analysis {"connection_id":229946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac8d"} 
[2026-11-05 22:03:33] local.INFO: Extracted packet for processing {"connection_id":229946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac8d"} 
[2026-11-05 22:03:33] local.INFO: GPS Element Parsed {"raw_longitude":763058688,"raw_latitude":100208448,"longitude_deg":76.3058688,"latitude_deg":10.0208448,"altitude":20,"angle":31,"satellites":35,"speed":36,"hex_longitude":"2d7b5a00","hex_latitude":"05f90f40","is_valid_coordinates":true} 
[2026-11-05 22:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237458432001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40564677620531200,"note":"Value kept but may cause issues"} 
[2026-11-05 22:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883068815662837760,"note":"Value kept but may cause issues"} 
[2026-11-05 22:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1793896332000,"timestamp_ms":1793896332000,"timestamp_seconds":1793896332,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac8dbae0"} 
[2026-11-05 22:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-11-05 22:03:33] 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-05 22:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":229946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":229946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":229946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237458432001,"66":27463,"30":206,"8":65024,"24":36,"16":40564677620531200,"45":8883068815662837760},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,8,24,16,45]} 
[2026-11-05 22:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237458432001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:03:33] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-11-05 22:03:33] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-11-05 22:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40564677620531200,"km_value":40564677620531.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883068815662837760,"description":"Unknown IO ID 45"} 
[2026-11-05 22:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237458432001,"power":27463,"unknown_30":206,"unknown_8":65024,"ignition":36,"odometer":null,"unknown_45":8883068815662837760}} 
[2026-11-05 22:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":229946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:03:33] local.INFO: GPS data processed {"connection_id":229946,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:03:33] local.INFO: Acknowledgment sent {"connection_id":229946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:03:52] local.INFO: TCP Data received {"connection_id":233704,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:03:52] local.INFO: Processing buffer {"connection_id":233704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:03:52] local.INFO: IMEI packet received {"connection_id":233704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":233704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:03:52] local.INFO: TCP Data received {"connection_id":233704,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:03:52] local.INFO: Processing buffer {"connection_id":233704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:03:52] local.INFO: IMEI packet received {"connection_id":233704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":233704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:03:57] local.INFO: TCP Data received {"connection_id":233704,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:03:57] local.INFO: Processing buffer {"connection_id":233704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:03:57] local.INFO: IMEI packet received {"connection_id":233704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":233704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:03:58] local.INFO: TCP Data received {"connection_id":233704,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac8de1f0012d7b6b4005f930680010001a29..."} 
[2026-11-05 22:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac8de1f0012d7b6b4005f930680010001a29..."} 
[2026-11-05 22:03:58] local.INFO: Processing buffer {"connection_id":233704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac8de1f0012d7b6b4005f930680010001a29..."} 
[2026-11-05 22:03:58] local.INFO: Packet analysis {"connection_id":233704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac8d"} 
[2026-11-05 22:03:58] local.INFO: Extracted packet for processing {"connection_id":233704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac8d"} 
[2026-11-05 22:03:58] local.INFO: GPS Element Parsed {"raw_longitude":763063104,"raw_latitude":100216936,"longitude_deg":76.3063104,"latitude_deg":10.0216936,"altitude":16,"angle":26,"satellites":41,"speed":35,"hex_longitude":"2d7b6b40","hex_latitude":"05f93068","is_valid_coordinates":true} 
[2026-11-05 22:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237460992001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40565141476999168,"note":"Value kept but may cause issues"} 
[2026-11-05 22:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888416840222457856,"note":"Value kept but may cause issues"} 
[2026-11-05 22:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793896342000,"timestamp_ms":1793896342000,"timestamp_seconds":1793896342,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac8de1f0"} 
[2026-11-05 22:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 22:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:03:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":233704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":233704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":233704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237460992001,"66":27321,"30":206,"8":65024,"24":35,"16":40565141476999168,"45":8888416840222457856},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,8,24,16,45]} 
[2026-11-05 22:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237460992001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:03:58] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-11-05 22:03:58] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-11-05 22:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40565141476999168,"km_value":40565141476999.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888416840222457856,"description":"Unknown IO ID 45"} 
[2026-11-05 22:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237460992001,"power":27321,"unknown_30":206,"unknown_8":65024,"ignition":35,"odometer":null,"unknown_45":8888416840222457856}} 
[2026-11-05 22:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":233704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:03:58] local.INFO: GPS data processed {"connection_id":233704,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:03:58] local.INFO: Acknowledgment sent {"connection_id":233704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:04:30] local.INFO: TCP Data received {"connection_id":233704,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac8e0ce8012d7b7d8005f95050000d001a2a..."} 
[2026-11-05 22:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac8e0ce8012d7b7d8005f95050000d001a2a..."} 
[2026-11-05 22:04:30] local.INFO: Processing buffer {"connection_id":233704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac8e0ce8012d7b7d8005f95050000d001a2a..."} 
[2026-11-05 22:04:30] local.INFO: Packet analysis {"connection_id":233704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac8e"} 
[2026-11-05 22:04:30] local.INFO: Extracted packet for processing {"connection_id":233704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac8e"} 
[2026-11-05 22:04:30] local.INFO: GPS Element Parsed {"raw_longitude":763067776,"raw_latitude":100225104,"longitude_deg":76.3067776,"latitude_deg":10.0225104,"altitude":13,"angle":26,"satellites":42,"speed":31,"hex_longitude":"2d7b7d80","hex_latitude":"05f95050","is_valid_coordinates":true} 
[2026-11-05 22:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237463552001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40565596743532544,"note":"Value kept but may cause issues"} 
[2026-11-05 22:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893272283572889600,"note":"Value kept but may cause issues"} 
[2026-11-05 22:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793896353000,"timestamp_ms":1793896353000,"timestamp_seconds":1793896353,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac8e0ce8"} 
[2026-11-05 22:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 22:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:04:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":233704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":233704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":233704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237463552001,"66":27517,"30":206,"8":65024,"24":31,"16":40565596743532544,"45":8893272283572889600},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,8,24,16,45]} 
[2026-11-05 22:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237463552001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:04:30] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-11-05 22:04:30] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-11-05 22:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40565596743532544,"km_value":40565596743532.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893272283572889600,"description":"Unknown IO ID 45"} 
[2026-11-05 22:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237463552001,"power":27517,"unknown_30":206,"unknown_8":65024,"ignition":31,"odometer":null,"unknown_45":8893272283572889600}} 
[2026-11-05 22:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":233704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:04:30] local.INFO: GPS data processed {"connection_id":233704,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:04:30] local.INFO: Acknowledgment sent {"connection_id":233704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:04:52] local.INFO: TCP Data received {"connection_id":231797,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:04:52] local.INFO: Processing buffer {"connection_id":231797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:04:52] local.INFO: IMEI packet received {"connection_id":231797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":231797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:04:57] local.INFO: TCP Data received {"connection_id":231797,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:04:57] local.INFO: Processing buffer {"connection_id":231797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:04:57] local.INFO: IMEI packet received {"connection_id":231797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":231797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:04:59] local.INFO: TCP Data received {"connection_id":231797,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:04:59] local.INFO: Processing buffer {"connection_id":231797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:04:59] local.INFO: IMEI packet received {"connection_id":231797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":231797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:05:00] local.INFO: TCP Data received {"connection_id":231797,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac8e37e0012d7b8e0005f971a0000c001c2c..."} 
[2026-11-05 22:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac8e37e0012d7b8e0005f971a0000c001c2c..."} 
[2026-11-05 22:05:00] local.INFO: Processing buffer {"connection_id":231797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac8e37e0012d7b8e0005f971a0000c001c2c..."} 
[2026-11-05 22:05:00] local.INFO: Packet analysis {"connection_id":231797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac8e"} 
[2026-11-05 22:05:00] local.INFO: Extracted packet for processing {"connection_id":231797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac8e"} 
[2026-11-05 22:05:00] local.INFO: GPS Element Parsed {"raw_longitude":763072000,"raw_latitude":100233632,"longitude_deg":76.3072,"latitude_deg":10.0233632,"altitude":12,"angle":28,"satellites":44,"speed":34,"hex_longitude":"2d7b8e00","hex_latitude":"05f971a0","is_valid_coordinates":true} 
[2026-11-05 22:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237466368001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40566056305033216,"note":"Value kept but may cause issues"} 
[2026-11-05 22:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898409201899950080,"note":"Value kept but may cause issues"} 
[2026-11-05 22:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793896364000,"timestamp_ms":1793896364000,"timestamp_seconds":1793896364,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac8e37e0"} 
[2026-11-05 22:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-05 22:05:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":231797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":231797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":231797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237466368001,"66":27321,"30":206,"8":65024,"24":34,"16":40566056305033216,"45":8898409201899950080},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,8,24,16,45]} 
[2026-11-05 22:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237466368001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:05:00] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-11-05 22:05:00] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-11-05 22:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40566056305033216,"km_value":40566056305033.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898409201899950080,"description":"Unknown IO ID 45"} 
[2026-11-05 22:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237466368001,"power":27321,"unknown_30":206,"unknown_8":65024,"ignition":34,"odometer":null,"unknown_45":8898409201899950080}} 
[2026-11-05 22:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":231797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:05:00] local.INFO: GPS data processed {"connection_id":231797,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:05:00] local.INFO: Acknowledgment sent {"connection_id":231797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:05:02] local.INFO: TCP Data received {"connection_id":231797,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac8e62d8012d7b9f8005f99150000a001a29..."} 
[2026-11-05 22:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac8e62d8012d7b9f8005f99150000a001a29..."} 
[2026-11-05 22:05:02] local.INFO: Processing buffer {"connection_id":231797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac8e62d8012d7b9f8005f99150000a001a29..."} 
[2026-11-05 22:05:02] local.INFO: Packet analysis {"connection_id":231797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac8e"} 
[2026-11-05 22:05:02] local.INFO: Extracted packet for processing {"connection_id":231797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac8e"} 
[2026-11-05 22:05:02] local.INFO: GPS Element Parsed {"raw_longitude":763076480,"raw_latitude":100241744,"longitude_deg":76.307648,"latitude_deg":10.0241744,"altitude":10,"angle":26,"satellites":41,"speed":25,"hex_longitude":"2d7b9f80","hex_latitude":"05f99150","is_valid_coordinates":true} 
[2026-11-05 22:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237469184001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40566502981632000,"note":"Value kept but may cause issues"} 
[2026-11-05 22:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903053539017859072,"note":"Value kept but may cause issues"} 
[2026-11-05 22:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1793896375000,"timestamp_ms":1793896375000,"timestamp_seconds":1793896375,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac8e62d8"} 
[2026-11-05 22:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 22:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:05:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":231797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":231797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":231797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237469184001,"66":27517,"30":206,"8":65024,"24":25,"16":40566502981632000,"45":8903053539017859072},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,8,24,16,45]} 
[2026-11-05 22:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237469184001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:05:02] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-11-05 22:05:02] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-11-05 22:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40566502981632000,"km_value":40566502981632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903053539017859072,"description":"Unknown IO ID 45"} 
[2026-11-05 22:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237469184001,"power":27517,"unknown_30":206,"unknown_8":65024,"ignition":25,"odometer":null,"unknown_45":8903053539017859072}} 
[2026-11-05 22:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":231797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:05:02] local.INFO: GPS data processed {"connection_id":231797,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:05:02] local.INFO: Acknowledgment sent {"connection_id":231797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:05:48] local.INFO: TCP Data received {"connection_id":231797,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac8e6e90012d7ba24005f997d8000c000329..."} 
[2026-11-05 22:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac8e6e90012d7ba24005f997d8000c000329..."} 
[2026-11-05 22:05:48] local.INFO: Processing buffer {"connection_id":231797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac8e6e90012d7ba24005f997d8000c000329..."} 
[2026-11-05 22:05:48] local.INFO: Packet analysis {"connection_id":231797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac8e"} 
[2026-11-05 22:05:48] local.INFO: Extracted packet for processing {"connection_id":231797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac8e"} 
[2026-11-05 22:05:48] local.INFO: GPS Element Parsed {"raw_longitude":763077184,"raw_latitude":100243416,"longitude_deg":76.3077184,"latitude_deg":10.0243416,"altitude":12,"angle":3,"satellites":41,"speed":21,"hex_longitude":"2d7ba240","hex_latitude":"05f997d8","is_valid_coordinates":true} 
[2026-11-05 22:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237472000001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40566593175945216,"note":"Value kept but may cause issues"} 
[2026-11-05 22:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907979351112372224,"note":"Value kept but may cause issues"} 
[2026-11-05 22:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793896378000,"timestamp_ms":1793896378000,"timestamp_seconds":1793896378,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac8e6e90"} 
[2026-11-05 22:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:05: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-05 22:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-05 22:05:48] 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-05 22:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":231797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":231797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":231797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237472000001,"66":27517,"30":206,"8":65024,"24":21,"16":40566593175945216,"45":8907979351112372224},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,8,24,16,45]} 
[2026-11-05 22:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237472000001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:05:48] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-11-05 22:05:48] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-11-05 22:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40566593175945216,"km_value":40566593175945.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907979351112372224,"description":"Unknown IO ID 45"} 
[2026-11-05 22:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237472000001,"power":27517,"unknown_30":206,"unknown_8":65024,"ignition":21,"odometer":null,"unknown_45":8907979351112372224}} 
[2026-11-05 22:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":231797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:05:48] local.INFO: GPS data processed {"connection_id":231797,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:05:48] local.INFO: Acknowledgment sent {"connection_id":231797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:06:02] local.INFO: TCP Data received {"connection_id":230459,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:06:02] local.INFO: Processing buffer {"connection_id":230459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:06:02] local.INFO: IMEI packet received {"connection_id":230459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":230459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:06:07] local.INFO: TCP Data received {"connection_id":230459,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:06:07] local.INFO: Processing buffer {"connection_id":230459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:06:07] local.INFO: IMEI packet received {"connection_id":230459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":230459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:06:09] local.INFO: TCP Data received {"connection_id":230459,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac8e7278012d7ba24005f99a20000d015f2b..."} 
[2026-11-05 22:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac8e7278012d7ba24005f99a20000d015f2b..."} 
[2026-11-05 22:06:09] local.INFO: Processing buffer {"connection_id":230459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac8e7278012d7ba24005f99a20000d015f2b..."} 
[2026-11-05 22:06:09] local.INFO: Packet analysis {"connection_id":230459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac8e"} 
[2026-11-05 22:06:09] local.INFO: Extracted packet for processing {"connection_id":230459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac8e"} 
[2026-11-05 22:06:09] local.INFO: GPS Element Parsed {"raw_longitude":763077184,"raw_latitude":100244000,"longitude_deg":76.3077184,"latitude_deg":10.0244,"altitude":13,"angle":351,"satellites":43,"speed":22,"hex_longitude":"2d7ba240","hex_latitude":"05f99a20","is_valid_coordinates":true} 
[2026-11-05 22:06: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-05 22:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237472768001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40566618945748992,"note":"Value kept but may cause issues"} 
[2026-11-05 22:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908753407298754560,"note":"Value kept but may cause issues"} 
[2026-11-05 22:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793896379000,"timestamp_ms":1793896379000,"timestamp_seconds":1793896379,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac8e7278"} 
[2026-11-05 22:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:06: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-05 22:06: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-05 22:06: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-05 22:06: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-05 22:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237472768001,"66":27332,"30":206,"8":65024,"24":22,"16":40566618945748992,"45":8908753407298754560},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,8,24,16,45]} 
[2026-11-05 22:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237472768001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:06:09] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-11-05 22:06:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-11-05 22:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40566618945748992,"km_value":40566618945748.99,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908753407298754560,"description":"Unknown IO ID 45"} 
[2026-11-05 22:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237472768001,"power":27332,"unknown_30":206,"unknown_8":65024,"ignition":22,"odometer":null,"unknown_45":8908753407298754560}} 
[2026-11-05 22:06:09] 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":64640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:06:09] local.INFO: GPS data processed {"connection_id":230459,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:06:09] local.INFO: Acknowledgment sent {"connection_id":230459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:06:11] local.INFO: TCP Data received {"connection_id":230458,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230458,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:06:11] local.INFO: Processing buffer {"connection_id":230458,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:06:11] local.INFO: IMEI packet received {"connection_id":230458,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 22:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":230458,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:06:52] local.INFO: TCP Data received {"connection_id":230460,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:06:52] local.INFO: Processing buffer {"connection_id":230460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:06:52] local.INFO: IMEI packet received {"connection_id":230460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":230460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:06:56] local.INFO: TCP Data received {"connection_id":230460,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:06:56] local.INFO: Processing buffer {"connection_id":230460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:06:56] local.INFO: IMEI packet received {"connection_id":230460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":230460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:06:57] local.INFO: TCP Data received {"connection_id":230460,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac90dba8012d7b39c005fa6f58000901592b..."} 
[2026-11-05 22:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac90dba8012d7b39c005fa6f58000901592b..."} 
[2026-11-05 22:06:57] local.INFO: Processing buffer {"connection_id":230460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac90dba8012d7b39c005fa6f58000901592b..."} 
[2026-11-05 22:06:57] local.INFO: Packet analysis {"connection_id":230460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac90"} 
[2026-11-05 22:06:57] local.INFO: Extracted packet for processing {"connection_id":230460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac90"} 
[2026-11-05 22:06:57] local.INFO: GPS Element Parsed {"raw_longitude":763050432,"raw_latitude":100298584,"longitude_deg":76.3050432,"latitude_deg":10.0298584,"altitude":9,"angle":345,"satellites":43,"speed":28,"hex_longitude":"2d7b39c0","hex_latitude":"05fa6f58","is_valid_coordinates":true} 
[2026-11-05 22:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237508608001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40569638307758080,"note":"Value kept but may cause issues"} 
[2026-11-05 22:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881942915778824192,"note":"Value kept but may cause issues"} 
[2026-11-05 22:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1793896537000,"timestamp_ms":1793896537000,"timestamp_seconds":1793896537,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac90dba8"} 
[2026-11-05 22:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:06: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-05 22:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 22:06:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:06:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":230460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":230460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":230460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237508608001,"66":27397,"188":206,"8":65024,"24":28,"16":40569638307758080,"45":8881942915778824192},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,8,24,16,45]} 
[2026-11-05 22:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237508608001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:06:57] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-11-05 22:06:57] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-11-05 22:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40569638307758080,"km_value":40569638307758.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881942915778824192,"description":"Unknown IO ID 45"} 
[2026-11-05 22:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237508608001,"power":27397,"unknown_188":206,"unknown_8":65024,"ignition":28,"odometer":null,"unknown_45":8881942915778824192}} 
[2026-11-05 22:06:57] 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":64641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:06:57] local.INFO: GPS data processed {"connection_id":230460,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:06:57] local.INFO: Acknowledgment sent {"connection_id":230460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:07:31] local.INFO: TCP Data received {"connection_id":230460,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac90fed0012d7b358005fa8788000b000227..."} 
[2026-11-05 22:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac90fed0012d7b358005fa8788000b000227..."} 
[2026-11-05 22:07:31] local.INFO: Processing buffer {"connection_id":230460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac90fed0012d7b358005fa8788000b000227..."} 
[2026-11-05 22:07:31] local.INFO: Packet analysis {"connection_id":230460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac90"} 
[2026-11-05 22:07:31] local.INFO: Extracted packet for processing {"connection_id":230460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac90"} 
[2026-11-05 22:07:31] local.INFO: GPS Element Parsed {"raw_longitude":763049344,"raw_latitude":100304776,"longitude_deg":76.3049344,"latitude_deg":10.0304776,"altitude":11,"angle":2,"satellites":39,"speed":24,"hex_longitude":"2d7b3580","hex_latitude":"05fa8788","is_valid_coordinates":true} 
[2026-11-05 22: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-05 22:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237513472001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40569943250436096,"note":"Value kept but may cause issues"} 
[2026-11-05 22:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879339272246614016,"note":"Value kept but may cause issues"} 
[2026-11-05 22:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793896546000,"timestamp_ms":1793896546000,"timestamp_seconds":1793896546,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac90fed0"} 
[2026-11-05 22: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-05 22:07: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-05 22: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 22:07: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-05 22: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-05 22: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-05 22:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":230460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":230460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":230460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237513472001,"66":27463,"188":206,"8":65024,"24":24,"16":40569943250436096,"45":8879339272246614016},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,8,24,16,45]} 
[2026-11-05 22:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237513472001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:07:31] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-11-05 22:07:31] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-11-05 22:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40569943250436096,"km_value":40569943250436.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879339272246614016,"description":"Unknown IO ID 45"} 
[2026-11-05 22:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237513472001,"power":27463,"unknown_188":206,"unknown_8":65024,"ignition":24,"odometer":null,"unknown_45":8879339272246614016}} 
[2026-11-05 22:07:31] 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":64642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:07:31] local.INFO: GPS data processed {"connection_id":230460,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:07:31] local.INFO: Acknowledgment sent {"connection_id":230460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:07:56] local.INFO: TCP Data received {"connection_id":230461,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:07:56] local.INFO: Processing buffer {"connection_id":230461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:07:56] local.INFO: IMEI packet received {"connection_id":230461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":230461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:07:57] local.INFO: TCP Data received {"connection_id":230461,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:07:57] local.INFO: Processing buffer {"connection_id":230461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:07:57] local.INFO: IMEI packet received {"connection_id":230461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":230461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:08:02] local.INFO: TCP Data received {"connection_id":230461,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:08:02] local.INFO: Processing buffer {"connection_id":230461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:08:02] local.INFO: IMEI packet received {"connection_id":230461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":230461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:08:03] local.INFO: TCP Data received {"connection_id":230461,"ip":"117.224.67.80","data_length":93,"data_hex":"00000000000000518e01000001a1ac9121f8012d7b368005fa97e0000a015d2a..."} 
[2026-11-05 22:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230461,"packet_length":93,"packet_hex":"00000000000000518e01000001a1ac9121f8012d7b368005fa97e0000a015d2a..."} 
[2026-11-05 22:08:03] local.INFO: Processing buffer {"connection_id":230461,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1ac9121f8012d7b368005fa97e0000a015d2a..."} 
[2026-11-05 22:08:03] local.INFO: Packet analysis {"connection_id":230461,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1ac91"} 
[2026-11-05 22:08:03] local.INFO: Extracted packet for processing {"connection_id":230461,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1ac91"} 
[2026-11-05 22:08:03] local.INFO: GPS Element Parsed {"raw_longitude":763049600,"raw_latitude":100308960,"longitude_deg":76.30496,"latitude_deg":10.030896,"altitude":10,"angle":349,"satellites":42,"speed":22,"hex_longitude":"2d7b3680","hex_latitude":"05fa97e0","is_valid_coordinates":true} 
[2026-11-05 22:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-05 22:08:03] 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-05 22:08:03] 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-05 22:08:03] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:08:03] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-05 22:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":230461,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-05 22:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":230461,"device_imei":"862567074773115","avl_records_count":0} 
[2026-11-05 22:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":230461,"device_imei":"862567074773115","avl_records_count":0} 
[2026-11-05 22:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-05 22:08:03] local.WARNING: DEBUG: No valid data to process  
[2026-11-05 22:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":230461,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-05 22:08:03] local.ERROR: GPS data processing failed {"connection_id":230461,"error":"No valid data to process"} 
[2026-11-05 22:08:03] local.INFO: Acknowledgment sent {"connection_id":230461,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-05 22:08:35] local.INFO: TCP Data received {"connection_id":230461,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac9150d8012d7b2cc005fab980000c015729..."} 
[2026-11-05 22:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac9150d8012d7b2cc005fab980000c015729..."} 
[2026-11-05 22:08:35] local.INFO: Processing buffer {"connection_id":230461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac9150d8012d7b2cc005fab980000c015729..."} 
[2026-11-05 22:08:35] local.INFO: Packet analysis {"connection_id":230461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac91"} 
[2026-11-05 22:08:35] local.INFO: Extracted packet for processing {"connection_id":230461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac91"} 
[2026-11-05 22:08:35] local.INFO: GPS Element Parsed {"raw_longitude":763047104,"raw_latitude":100317568,"longitude_deg":76.3047104,"latitude_deg":10.0317568,"altitude":12,"angle":343,"satellites":41,"speed":30,"hex_longitude":"2d7b2cc0","hex_latitude":"05fab980","is_valid_coordinates":true} 
[2026-11-05 22:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237518080001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40570583200563200,"note":"Value kept but may cause issues"} 
[2026-11-05 22:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878424478574960640,"note":"Value kept but may cause issues"} 
[2026-11-05 22:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1793896567000,"timestamp_ms":1793896567000,"timestamp_seconds":1793896567,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac9150d8"} 
[2026-11-05 22:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-05 22:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":230461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":230461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":230461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237518080001,"66":27517,"188":206,"8":65024,"24":30,"16":40570583200563200,"45":8878424478574960640},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,8,24,16,45]} 
[2026-11-05 22:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237518080001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:08:35] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-11-05 22:08:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-11-05 22:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40570583200563200,"km_value":40570583200563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878424478574960640,"description":"Unknown IO ID 45"} 
[2026-11-05 22:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237518080001,"power":27517,"unknown_188":206,"unknown_8":65024,"ignition":30,"odometer":null,"unknown_45":8878424478574960640}} 
[2026-11-05 22:08:35] 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":64643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:08:35] local.INFO: GPS data processed {"connection_id":230461,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:08:35] local.INFO: Acknowledgment sent {"connection_id":230461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:08:52] local.INFO: TCP Data received {"connection_id":229947,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:08:52] local.INFO: Processing buffer {"connection_id":229947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:08:52] local.INFO: IMEI packet received {"connection_id":229947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":229947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:08:53] local.INFO: TCP Data received {"connection_id":229947,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:08:53] local.INFO: Processing buffer {"connection_id":229947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:08:53] local.INFO: IMEI packet received {"connection_id":229947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":229947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:08:57] local.INFO: TCP Data received {"connection_id":229947,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:08:57] local.INFO: Processing buffer {"connection_id":229947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:08:57] local.INFO: IMEI packet received {"connection_id":229947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":229947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:09:01] local.INFO: TCP Data received {"connection_id":229947,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac917bd0012d7b208005fadbc0000c015329..."} 
[2026-11-05 22:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac917bd0012d7b208005fadbc0000c015329..."} 
[2026-11-05 22:09:01] local.INFO: Processing buffer {"connection_id":229947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac917bd0012d7b208005fadbc0000c015329..."} 
[2026-11-05 22:09:01] local.INFO: Packet analysis {"connection_id":229947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac91"} 
[2026-11-05 22:09:01] local.INFO: Extracted packet for processing {"connection_id":229947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac91"} 
[2026-11-05 22:09:01] local.INFO: GPS Element Parsed {"raw_longitude":763043968,"raw_latitude":100326336,"longitude_deg":76.3043968,"latitude_deg":10.0326336,"altitude":12,"angle":339,"satellites":41,"speed":36,"hex_longitude":"2d7b2080","hex_latitude":"05fadbc0","is_valid_coordinates":true} 
[2026-11-05 22:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237521152001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40571034172129280,"note":"Value kept but may cause issues"} 
[2026-11-05 22:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875680097554235392,"note":"Value kept but may cause issues"} 
[2026-11-05 22:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1793896578000,"timestamp_ms":1793896578000,"timestamp_seconds":1793896578,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac917bd0"} 
[2026-11-05 22:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:09: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-05 22:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-05 22:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":229947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":229947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":229947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237521152001,"66":27463,"188":206,"8":65024,"24":36,"16":40571034172129280,"45":8875680097554235392},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,8,24,16,45]} 
[2026-11-05 22:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237521152001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:09:01] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-11-05 22:09:01] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-11-05 22:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40571034172129280,"km_value":40571034172129.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875680097554235392,"description":"Unknown IO ID 45"} 
[2026-11-05 22:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237521152001,"power":27463,"unknown_188":206,"unknown_8":65024,"ignition":36,"odometer":null,"unknown_45":8875680097554235392}} 
[2026-11-05 22:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":229947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:09:01] local.INFO: GPS data processed {"connection_id":229947,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:09:01] local.INFO: Acknowledgment sent {"connection_id":229947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:09:37] local.INFO: TCP Data received {"connection_id":229947,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac938b28012d7a6dc005fc39000008013d2d..."} 
[2026-11-05 22:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac938b28012d7a6dc005fc39000008013d2d..."} 
[2026-11-05 22:09:37] local.INFO: Processing buffer {"connection_id":229947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac938b28012d7a6dc005fc39000008013d2d..."} 
[2026-11-05 22:09:37] local.INFO: Packet analysis {"connection_id":229947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac93"} 
[2026-11-05 22:09:37] local.INFO: Extracted packet for processing {"connection_id":229947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac93"} 
[2026-11-05 22:09:37] local.INFO: GPS Element Parsed {"raw_longitude":762998208,"raw_latitude":100415744,"longitude_deg":76.2998208,"latitude_deg":10.0415744,"altitude":8,"angle":317,"satellites":45,"speed":25,"hex_longitude":"2d7a6dc0","hex_latitude":"05fc3900","is_valid_coordinates":true} 
[2026-11-05 22: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-05 22:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237556224001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40575896075108352,"note":"Value kept but may cause issues"} 
[2026-11-05 22:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8825859026700058624,"note":"Value kept but may cause issues"} 
[2026-11-05 22:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793896713000,"timestamp_ms":1793896713000,"timestamp_seconds":1793896713,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac938b28"} 
[2026-11-05 22: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-05 22:09: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-05 22:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 22:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22: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-05 22: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-05 22:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":229947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":229947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":229947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237556224001,"66":27463,"188":206,"8":65024,"24":25,"16":40575896075108352,"45":8825859026700058624},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,8,24,16,45]} 
[2026-11-05 22:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237556224001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:09:37] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-11-05 22:09:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-11-05 22:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40575896075108352,"km_value":40575896075108.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8825859026700058624,"description":"Unknown IO ID 45"} 
[2026-11-05 22:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237556224001,"power":27463,"unknown_188":206,"unknown_8":65024,"ignition":25,"odometer":null,"unknown_45":8825859026700058624}} 
[2026-11-05 22:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":229947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:09:37] local.INFO: GPS data processed {"connection_id":229947,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:09:37] local.INFO: Acknowledgment sent {"connection_id":229947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:09:52] local.INFO: TCP Data received {"connection_id":230462,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:09:52] local.INFO: Processing buffer {"connection_id":230462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:09:52] local.INFO: IMEI packet received {"connection_id":230462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":230462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:09:54] local.INFO: TCP Data received {"connection_id":230462,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:09:54] local.INFO: Processing buffer {"connection_id":230462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:09:54] local.INFO: IMEI packet received {"connection_id":230462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":230462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:09:57] local.INFO: TCP Data received {"connection_id":230462,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:09:57] local.INFO: Processing buffer {"connection_id":230462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:09:57] local.INFO: IMEI packet received {"connection_id":230462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":230462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:09:58] local.INFO: TCP Data received {"connection_id":230462,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac939ac8012d7a678005fc41000008014830..."} 
[2026-11-05 22:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac939ac8012d7a678005fc41000008014830..."} 
[2026-11-05 22:09:58] local.INFO: Processing buffer {"connection_id":230462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac939ac8012d7a678005fc41000008014830..."} 
[2026-11-05 22:09:58] local.INFO: Packet analysis {"connection_id":230462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac93"} 
[2026-11-05 22:09:58] local.INFO: Extracted packet for processing {"connection_id":230462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac93"} 
[2026-11-05 22:09:58] local.INFO: GPS Element Parsed {"raw_longitude":762996608,"raw_latitude":100417792,"longitude_deg":76.2996608,"latitude_deg":10.0417792,"altitude":8,"angle":328,"satellites":48,"speed":24,"hex_longitude":"2d7a6780","hex_latitude":"05fc4100","is_valid_coordinates":true} 
[2026-11-05 22:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237558528001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40576020629159936,"note":"Value kept but may cause issues"} 
[2026-11-05 22:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8821918377027633152,"note":"Value kept but may cause issues"} 
[2026-11-05 22:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793896717000,"timestamp_ms":1793896717000,"timestamp_seconds":1793896717,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac939ac8"} 
[2026-11-05 22:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:09: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-05 22:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 22:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:09:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":230462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":230462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":230462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237558528001,"66":27397,"188":206,"8":65024,"24":24,"16":40576020629159936,"45":8821918377027633152},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,8,24,16,45]} 
[2026-11-05 22:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237558528001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:09:58] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-11-05 22:09:58] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-11-05 22:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40576020629159936,"km_value":40576020629159.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8821918377027633152,"description":"Unknown IO ID 45"} 
[2026-11-05 22:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237558528001,"power":27397,"unknown_188":206,"unknown_8":65024,"ignition":24,"odometer":null,"unknown_45":8821918377027633152}} 
[2026-11-05 22:09:58] 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":64646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:09:58] local.INFO: GPS data processed {"connection_id":230462,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:09:58] local.INFO: Acknowledgment sent {"connection_id":230462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:10:30] local.INFO: TCP Data received {"connection_id":230462,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac93d560012d7a564005fc61c80009014b2f..."} 
[2026-11-05 22:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac93d560012d7a564005fc61c80009014b2f..."} 
[2026-11-05 22:10:30] local.INFO: Processing buffer {"connection_id":230462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac93d560012d7a564005fc61c80009014b2f..."} 
[2026-11-05 22:10:30] local.INFO: Packet analysis {"connection_id":230462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac93"} 
[2026-11-05 22:10:30] local.INFO: Extracted packet for processing {"connection_id":230462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac93"} 
[2026-11-05 22:10:30] local.INFO: GPS Element Parsed {"raw_longitude":762992192,"raw_latitude":100426184,"longitude_deg":76.2992192,"latitude_deg":10.0426184,"altitude":9,"angle":331,"satellites":47,"speed":25,"hex_longitude":"2d7a5640","hex_latitude":"05fc61c8","is_valid_coordinates":true} 
[2026-11-05 22:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237559552001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40576480190660608,"note":"Value kept but may cause issues"} 
[2026-11-05 22:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820159158423715840,"note":"Value kept but may cause issues"} 
[2026-11-05 22:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793896732000,"timestamp_ms":1793896732000,"timestamp_seconds":1793896732,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac93d560"} 
[2026-11-05 22:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 22:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:10:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":230462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":230462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":230462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237559552001,"66":27463,"188":206,"8":65024,"24":25,"16":40576480190660608,"45":8820159158423715840},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,8,24,16,45]} 
[2026-11-05 22:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237559552001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:10:30] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-11-05 22:10:30] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-11-05 22:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40576480190660608,"km_value":40576480190660.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820159158423715840,"description":"Unknown IO ID 45"} 
[2026-11-05 22:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237559552001,"power":27463,"unknown_188":206,"unknown_8":65024,"ignition":25,"odometer":null,"unknown_45":8820159158423715840}} 
[2026-11-05 22:10:30] 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":64647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:10:30] local.INFO: GPS data processed {"connection_id":230462,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:10:30] local.INFO: Acknowledgment sent {"connection_id":230462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:10:57] local.INFO: TCP Data received {"connection_id":231799,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:10:57] local.INFO: Processing buffer {"connection_id":231799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:10:57] local.INFO: IMEI packet received {"connection_id":231799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":231799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:10:58] local.INFO: TCP Data received {"connection_id":231799,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:10:58] local.INFO: Processing buffer {"connection_id":231799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:10:58] local.INFO: IMEI packet received {"connection_id":231799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":231799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:11:02] local.INFO: TCP Data received {"connection_id":231799,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:11:02] local.INFO: Processing buffer {"connection_id":231799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:11:02] local.INFO: IMEI packet received {"connection_id":231799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":231799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:11:03] local.INFO: TCP Data received {"connection_id":231799,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac9417c8012d7a454005fc80c00008014f2a..."} 
[2026-11-05 22:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac9417c8012d7a454005fc80c00008014f2a..."} 
[2026-11-05 22:11:03] local.INFO: Processing buffer {"connection_id":231799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac9417c8012d7a454005fc80c00008014f2a..."} 
[2026-11-05 22:11:03] local.INFO: Packet analysis {"connection_id":231799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac94"} 
[2026-11-05 22:11:03] local.INFO: Extracted packet for processing {"connection_id":231799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac94"} 
[2026-11-05 22:11:03] local.INFO: GPS Element Parsed {"raw_longitude":762987840,"raw_latitude":100434112,"longitude_deg":76.298784,"latitude_deg":10.0434112,"altitude":8,"angle":335,"satellites":42,"speed":23,"hex_longitude":"2d7a4540","hex_latitude":"05fc80c0","is_valid_coordinates":true} 
[2026-11-05 22:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237563392001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40576918277324800,"note":"Value kept but may cause issues"} 
[2026-11-05 22:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815303715077605376,"note":"Value kept but may cause issues"} 
[2026-11-05 22:11:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,8,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 22:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1793896749000,"timestamp_ms":1793896749000,"timestamp_seconds":1793896749,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac9417c8"} 
[2026-11-05 22:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 22:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":231799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":231799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":231799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237563392001,"66":206,"8":65024,"24":23,"16":40576918277324800,"45":8815303715077605376},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,24,16,45]} 
[2026-11-05 22:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237563392001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:11:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-11-05 22:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40576918277324800,"km_value":40576918277324.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815303715077605376,"description":"Unknown IO ID 45"} 
[2026-11-05 22:11:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459237563392001,"power":206,"unknown_8":65024,"ignition":23,"odometer":null,"unknown_45":8815303715077605376}} 
[2026-11-05 22:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":231799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:11:03] local.INFO: GPS data processed {"connection_id":231799,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:11:03] local.INFO: Acknowledgment sent {"connection_id":231799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:11:08] local.INFO: TCP Data received {"connection_id":231799,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac943320012d7a3e0005fc8f480007014330..."} 
[2026-11-05 22:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac943320012d7a3e0005fc8f480007014330..."} 
[2026-11-05 22:11:08] local.INFO: Processing buffer {"connection_id":231799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac943320012d7a3e0005fc8f480007014330..."} 
[2026-11-05 22:11:08] local.INFO: Packet analysis {"connection_id":231799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac94"} 
[2026-11-05 22:11:08] local.INFO: Extracted packet for processing {"connection_id":231799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac94"} 
[2026-11-05 22:11:08] local.INFO: GPS Element Parsed {"raw_longitude":762985984,"raw_latitude":100437832,"longitude_deg":76.2985984,"latitude_deg":10.0437832,"altitude":7,"angle":323,"satellites":48,"speed":24,"hex_longitude":"2d7a3e00","hex_latitude":"05fc8f48","is_valid_coordinates":true} 
[2026-11-05 22:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237567744001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40577120140787712,"note":"Value kept but may cause issues"} 
[2026-11-05 22:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8810518640475553792,"note":"Value kept but may cause issues"} 
[2026-11-05 22:11:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,8,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 22:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793896756000,"timestamp_ms":1793896756000,"timestamp_seconds":1793896756,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac943320"} 
[2026-11-05 22:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 22:11:08] 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-05 22:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":231799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":231799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":231799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237567744001,"66":206,"8":65024,"24":24,"16":40577120140787712,"45":8810518640475553792},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,24,16,45]} 
[2026-11-05 22:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237567744001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:11:08] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-11-05 22:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40577120140787712,"km_value":40577120140787.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8810518640475553792,"description":"Unknown IO ID 45"} 
[2026-11-05 22:11:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459237567744001,"power":206,"unknown_8":65024,"ignition":24,"odometer":null,"unknown_45":8810518640475553792}} 
[2026-11-05 22:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":231799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:11:08] local.INFO: GPS data processed {"connection_id":231799,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:11:08] local.INFO: Acknowledgment sent {"connection_id":231799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:11:46] local.INFO: TCP Data received {"connection_id":231798,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:11:46] local.INFO: Processing buffer {"connection_id":231798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:11:46] local.INFO: IMEI packet received {"connection_id":231798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 22:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":231798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:11:57] local.INFO: TCP Data received {"connection_id":229948,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:11:57] local.INFO: Processing buffer {"connection_id":229948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:11:57] local.INFO: IMEI packet received {"connection_id":229948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":229948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:11:58] local.INFO: TCP Data received {"connection_id":229948,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:11:58] local.INFO: Processing buffer {"connection_id":229948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:11:58] local.INFO: IMEI packet received {"connection_id":229948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":229948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:12:02] local.INFO: TCP Data received {"connection_id":229948,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:12:02] local.INFO: Processing buffer {"connection_id":229948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:12:02] local.INFO: IMEI packet received {"connection_id":229948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":229948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:12:03] local.INFO: TCP Data received {"connection_id":229948,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac946db8012d7a298005fcadb0000801452e..."} 
[2026-11-05 22:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac946db8012d7a298005fcadb0000801452e..."} 
[2026-11-05 22:12:03] local.INFO: Processing buffer {"connection_id":229948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac946db8012d7a298005fcadb0000801452e..."} 
[2026-11-05 22:12:03] local.INFO: Packet analysis {"connection_id":229948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac94"} 
[2026-11-05 22:12:03] local.INFO: Extracted packet for processing {"connection_id":229948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac94"} 
[2026-11-05 22:12:03] local.INFO: GPS Element Parsed {"raw_longitude":762980736,"raw_latitude":100445616,"longitude_deg":76.2980736,"latitude_deg":10.0445616,"altitude":8,"angle":325,"satellites":46,"speed":26,"hex_longitude":"2d7a2980","hex_latitude":"05fcadb0","is_valid_coordinates":true} 
[2026-11-05 22:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237569536001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40577571112353792,"note":"Value kept but may cause issues"} 
[2026-11-05 22:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808477946895353856,"note":"Value kept but may cause issues"} 
[2026-11-05 22:12:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,8,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 22:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1793896771000,"timestamp_ms":1793896771000,"timestamp_seconds":1793896771,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac946db8"} 
[2026-11-05 22:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 22:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":229948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":229948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":229948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237569536001,"66":206,"8":65024,"24":26,"16":40577571112353792,"45":8808477946895353856},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,24,16,45]} 
[2026-11-05 22:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237569536001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:12:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-11-05 22:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40577571112353792,"km_value":40577571112353.79,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808477946895353856,"description":"Unknown IO ID 45"} 
[2026-11-05 22:12:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459237569536001,"power":206,"unknown_8":65024,"ignition":26,"odometer":null,"unknown_45":8808477946895353856}} 
[2026-11-05 22:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":229948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:12:04] local.INFO: GPS data processed {"connection_id":229948,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:12:04] local.INFO: Acknowledgment sent {"connection_id":229948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:12:39] local.INFO: TCP Data received {"connection_id":229948,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac94a080012d7a154005fcca00000801432e..."} 
[2026-11-05 22:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac94a080012d7a154005fcca00000801432e..."} 
[2026-11-05 22:12:39] local.INFO: Processing buffer {"connection_id":229948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac94a080012d7a154005fcca00000801432e..."} 
[2026-11-05 22:12:39] local.INFO: Packet analysis {"connection_id":229948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac94"} 
[2026-11-05 22:12:39] local.INFO: Extracted packet for processing {"connection_id":229948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac94"} 
[2026-11-05 22:12:39] local.INFO: GPS Element Parsed {"raw_longitude":762975552,"raw_latitude":100452864,"longitude_deg":76.2975552,"latitude_deg":10.0452864,"altitude":8,"angle":323,"satellites":46,"speed":26,"hex_longitude":"2d7a1540","hex_latitude":"05fcca00","is_valid_coordinates":true} 
[2026-11-05 22:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237573376001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40578000609083392,"note":"Value kept but may cause issues"} 
[2026-11-05 22:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802707709874778112,"note":"Value kept but may cause issues"} 
[2026-11-05 22:12:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,8,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-05 22:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793896784000,"timestamp_ms":1793896784000,"timestamp_seconds":1793896784,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac94a080"} 
[2026-11-05 22:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 22:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":229948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":229948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":229948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237573376001,"66":206,"8":65024,"24":26,"16":40578000609083392,"45":8802707709874778112},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,24,16,45]} 
[2026-11-05 22:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237573376001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:12:39] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-11-05 22:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40578000609083392,"km_value":40578000609083.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802707709874778112,"description":"Unknown IO ID 45"} 
[2026-11-05 22:12:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459237573376001,"power":206,"unknown_8":65024,"ignition":26,"odometer":null,"unknown_45":8802707709874778112}} 
[2026-11-05 22:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":229948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:12:39] local.INFO: GPS data processed {"connection_id":229948,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:12:39] local.INFO: Acknowledgment sent {"connection_id":229948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:13:56] local.INFO: TCP Data received {"connection_id":233705,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:13:57] local.INFO: Processing buffer {"connection_id":233705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:13:57] local.INFO: IMEI packet received {"connection_id":233705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":233705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:14:02] local.INFO: TCP Data received {"connection_id":233705,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:14:02] local.INFO: Processing buffer {"connection_id":233705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:14:02] local.INFO: IMEI packet received {"connection_id":233705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":233705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:14:04] local.INFO: TCP Data received {"connection_id":233705,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac969098012d794d0005fe1ed8000801512d..."} 
[2026-11-05 22:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac969098012d794d0005fe1ed8000801512d..."} 
[2026-11-05 22:14:04] local.INFO: Processing buffer {"connection_id":233705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac969098012d794d0005fe1ed8000801512d..."} 
[2026-11-05 22:14:04] local.INFO: Packet analysis {"connection_id":233705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac96"} 
[2026-11-05 22:14:04] local.INFO: Extracted packet for processing {"connection_id":233705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac96"} 
[2026-11-05 22:14:04] local.INFO: GPS Element Parsed {"raw_longitude":762924288,"raw_latitude":100540120,"longitude_deg":76.2924288,"latitude_deg":10.054012,"altitude":8,"angle":337,"satellites":45,"speed":32,"hex_longitude":"2d794d00","hex_latitude":"05fe1ed8","is_valid_coordinates":true} 
[2026-11-05 22:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237606400001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40582926936571904,"note":"Value kept but may cause issues"} 
[2026-11-05 22:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8744723864694282240,"note":"Value kept but may cause issues"} 
[2026-11-05 22:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793896911000,"timestamp_ms":1793896911000,"timestamp_seconds":1793896911,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac969098"} 
[2026-11-05 22:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-05 22:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":233705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":233705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":233705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237606400001,"66":27484,"225":206,"8":65280,"24":32,"16":40582926936571904,"45":8744723864694282240},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,8,24,16,45]} 
[2026-11-05 22:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237606400001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:14:04] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-11-05 22:14:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-05 22:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40582926936571904,"km_value":40582926936571.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8744723864694282240,"description":"Unknown IO ID 45"} 
[2026-11-05 22:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237606400001,"power":27484,"unknown_225":206,"unknown_8":65280,"ignition":32,"odometer":null,"unknown_45":8744723864694282240}} 
[2026-11-05 22:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":233705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:14:04] local.INFO: GPS data processed {"connection_id":233705,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:14:04] local.INFO: Acknowledgment sent {"connection_id":233705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:14:37] local.INFO: TCP Data received {"connection_id":233705,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac985d88012d78a88005ff40200006000231..."} 
[2026-11-05 22:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac985d88012d78a88005ff40200006000231..."} 
[2026-11-05 22:14:37] local.INFO: Processing buffer {"connection_id":233705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac985d88012d78a88005ff40200006000231..."} 
[2026-11-05 22:14:37] local.INFO: Packet analysis {"connection_id":233705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac98"} 
[2026-11-05 22:14:37] local.INFO: Extracted packet for processing {"connection_id":233705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac98"} 
[2026-11-05 22:14:37] local.INFO: GPS Element Parsed {"raw_longitude":762882176,"raw_latitude":100614176,"longitude_deg":76.2882176,"latitude_deg":10.0614176,"altitude":6,"angle":2,"satellites":49,"speed":17,"hex_longitude":"2d78a880","hex_latitude":"05ff4020","is_valid_coordinates":true} 
[2026-11-05 22:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237639168001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40587105939750912,"note":"Value kept but may cause issues"} 
[2026-11-05 22:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8694410212628398080,"note":"Value kept but may cause issues"} 
[2026-11-05 22:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793897029000,"timestamp_ms":1793897029000,"timestamp_seconds":1793897029,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac985d88"} 
[2026-11-05 22:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:14: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-05 22:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 22:14:37] 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-05 22:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":233705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":233705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":233705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237639168001,"66":27397,"211":206,"8":65280,"24":17,"16":40587105939750912,"45":8694410212628398080},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,8,24,16,45]} 
[2026-11-05 22:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237639168001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:14:37] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-11-05 22:14:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-05 22:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40587105939750912,"km_value":40587105939750.914,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8694410212628398080,"description":"Unknown IO ID 45"} 
[2026-11-05 22:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237639168001,"power":27397,"unknown_211":206,"unknown_8":65280,"ignition":17,"odometer":null,"unknown_45":8694410212628398080}} 
[2026-11-05 22:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":233705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:14:37] local.INFO: GPS data processed {"connection_id":233705,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:14:37] local.INFO: Acknowledgment sent {"connection_id":233705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:15:12] local.INFO: TCP Data received {"connection_id":230463,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:15:12] local.INFO: Processing buffer {"connection_id":230463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:15:12] local.INFO: IMEI packet received {"connection_id":230463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":230463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:17:21] local.INFO: TCP Data received {"connection_id":231801,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:17:21] local.INFO: Processing buffer {"connection_id":231801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:17:21] local.INFO: IMEI packet received {"connection_id":231801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 22:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":231801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:20:26] local.INFO: TCP Data received {"connection_id":231805,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:20:27] local.INFO: Processing buffer {"connection_id":231805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:20:27] local.INFO: IMEI packet received {"connection_id":231805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":231805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:20:28] local.INFO: TCP Data received {"connection_id":231805,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac9cc670012d765e0006021e200007013730..."} 
[2026-11-05 22:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac9cc670012d765e0006021e200007013730..."} 
[2026-11-05 22:20:28] local.INFO: Processing buffer {"connection_id":231805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac9cc670012d765e0006021e200007013730..."} 
[2026-11-05 22:20:28] local.INFO: Packet analysis {"connection_id":231805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac9c"} 
[2026-11-05 22:20:28] local.INFO: Extracted packet for processing {"connection_id":231805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac9c"} 
[2026-11-05 22:20:28] local.INFO: GPS Element Parsed {"raw_longitude":762732032,"raw_latitude":100802080,"longitude_deg":76.2732032,"latitude_deg":10.080208,"altitude":7,"angle":311,"satellites":48,"speed":9,"hex_longitude":"2d765e00","hex_latitude":"06021e20","is_valid_coordinates":true} 
[2026-11-05 22:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237711872001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40599136143147008,"note":"Value kept but may cause issues"} 
[2026-11-05 22:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8530310301253994496,"note":"Value kept but may cause issues"} 
[2026-11-05 22:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1793897318000,"timestamp_ms":1793897318000,"timestamp_seconds":1793897318,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac9cc670"} 
[2026-11-05 22:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 22:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":231805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":231805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":231805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237711872001,"66":27343,"163":206,"8":65280,"24":9,"16":40599136143147008,"45":8530310301253994496},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-11-05 22:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237711872001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:20:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-05 22:20:28] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-05 22:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40599136143147008,"km_value":40599136143147.01,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8530310301253994496,"description":"Unknown IO ID 45"} 
[2026-11-05 22:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237711872001,"power":27343,"unknown_163":206,"unknown_8":65280,"ignition":9,"odometer":null,"unknown_45":8530310301253994496}} 
[2026-11-05 22:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":231805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:20:28] local.INFO: GPS data processed {"connection_id":231805,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:20:28] local.INFO: Acknowledgment sent {"connection_id":231805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:20:52] local.INFO: TCP Data received {"connection_id":233708,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:20:52] local.INFO: Processing buffer {"connection_id":233708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:20:52] local.INFO: IMEI packet received {"connection_id":233708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":233708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:20:54] local.INFO: TCP Data received {"connection_id":233708,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:20:54] local.INFO: Processing buffer {"connection_id":233708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:20:54] local.INFO: IMEI packet received {"connection_id":233708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":233708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:20:54] local.INFO: TCP Data received {"connection_id":233708,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac9de398012d75f20006026a800005013d2f..."} 
[2026-11-05 22:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac9de398012d75f20006026a800005013d2f..."} 
[2026-11-05 22:20:54] local.INFO: Processing buffer {"connection_id":233708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac9de398012d75f20006026a800005013d2f..."} 
[2026-11-05 22:20:54] local.INFO: Packet analysis {"connection_id":233708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac9d"} 
[2026-11-05 22:20:54] local.INFO: Extracted packet for processing {"connection_id":233708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac9d"} 
[2026-11-05 22:20:54] local.INFO: GPS Element Parsed {"raw_longitude":762704384,"raw_latitude":100821632,"longitude_deg":76.2704384,"latitude_deg":10.0821632,"altitude":5,"angle":317,"satellites":47,"speed":28,"hex_longitude":"2d75f200","hex_latitude":"06026a80","is_valid_coordinates":true} 
[2026-11-05 22:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237728768001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40600815475359744,"note":"Value kept but may cause issues"} 
[2026-11-05 22:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8506666403213922304,"note":"Value kept but may cause issues"} 
[2026-11-05 22:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793897391000,"timestamp_ms":1793897391000,"timestamp_seconds":1793897391,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac9de398"} 
[2026-11-05 22:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:20: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-05 22:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 22:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":233708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":233708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":233708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237728768001,"66":27115,"63":206,"8":65280,"24":28,"16":40600815475359744,"45":8506666403213922304},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-11-05 22:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237728768001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:20:54] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-11-05 22:20:54] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-05 22:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40600815475359744,"km_value":40600815475359.74,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8506666403213922304,"description":"Unknown IO ID 45"} 
[2026-11-05 22:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237728768001,"power":27115,"unknown_63":206,"unknown_8":65280,"ignition":28,"odometer":null,"unknown_45":8506666403213922304}} 
[2026-11-05 22:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":233708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:20:54] local.INFO: GPS data processed {"connection_id":233708,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:20:54] local.INFO: Acknowledgment sent {"connection_id":233708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:21:26] local.INFO: TCP Data received {"connection_id":233708,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac9e0e90012d75dc40060285c8000401432d..."} 
[2026-11-05 22:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac9e0e90012d75dc40060285c8000401432d..."} 
[2026-11-05 22:21:26] local.INFO: Processing buffer {"connection_id":233708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac9e0e90012d75dc40060285c8000401432d..."} 
[2026-11-05 22:21:26] local.INFO: Packet analysis {"connection_id":233708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac9e"} 
[2026-11-05 22:21:26] local.INFO: Extracted packet for processing {"connection_id":233708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac9e"} 
[2026-11-05 22:21:26] local.INFO: GPS Element Parsed {"raw_longitude":762698816,"raw_latitude":100828616,"longitude_deg":76.2698816,"latitude_deg":10.0828616,"altitude":4,"angle":323,"satellites":45,"speed":34,"hex_longitude":"2d75dc40","hex_latitude":"060285c8","is_valid_coordinates":true} 
[2026-11-05 22: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-05 22:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237732096001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40601249267056640,"note":"Value kept but may cause issues"} 
[2026-11-05 22:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8498855472611885056,"note":"Value kept but may cause issues"} 
[2026-11-05 22:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793897402000,"timestamp_ms":1793897402000,"timestamp_seconds":1793897402,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac9e0e90"} 
[2026-11-05 22: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-05 22:21: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-05 22: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-11-05 22:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22: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-05 22: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-05 22:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":233708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":233708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":233708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237732096001,"66":27365,"63":206,"8":65280,"24":34,"16":40601249267056640,"45":8498855472611885056},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-11-05 22:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237732096001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:21:26] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-11-05 22:21:26] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-05 22:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40601249267056640,"km_value":40601249267056.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8498855472611885056,"description":"Unknown IO ID 45"} 
[2026-11-05 22:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237732096001,"power":27365,"unknown_63":206,"unknown_8":65280,"ignition":34,"odometer":null,"unknown_45":8498855472611885056}} 
[2026-11-05 22:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":233708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:21:26] local.INFO: GPS data processed {"connection_id":233708,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:21:26] local.INFO: Acknowledgment sent {"connection_id":233708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:21:51] local.INFO: TCP Data received {"connection_id":229949,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:21:51] local.INFO: Processing buffer {"connection_id":229949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:21:51] local.INFO: IMEI packet received {"connection_id":229949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":229949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:21:57] local.INFO: TCP Data received {"connection_id":229949,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:21:57] local.INFO: Processing buffer {"connection_id":229949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:21:57] local.INFO: IMEI packet received {"connection_id":229949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":229949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:21:58] local.INFO: TCP Data received {"connection_id":229949,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac9e4540012d75c8800602a4d00004014d2d..."} 
[2026-11-05 22:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac9e4540012d75c8800602a4d00004014d2d..."} 
[2026-11-05 22:21:58] local.INFO: Processing buffer {"connection_id":229949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac9e4540012d75c8800602a4d00004014d2d..."} 
[2026-11-05 22:21:58] local.INFO: Packet analysis {"connection_id":229949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac9e"} 
[2026-11-05 22:21:58] local.INFO: Extracted packet for processing {"connection_id":229949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac9e"} 
[2026-11-05 22:21:58] local.INFO: GPS Element Parsed {"raw_longitude":762693760,"raw_latitude":100836560,"longitude_deg":76.269376,"latitude_deg":10.083656,"altitude":4,"angle":333,"satellites":45,"speed":21,"hex_longitude":"2d75c880","hex_latitude":"0602a4d0","is_valid_coordinates":true} 
[2026-11-05 22:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237734912001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40601700238622720,"note":"Value kept but may cause issues"} 
[2026-11-05 22:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8492733391870216192,"note":"Value kept but may cause issues"} 
[2026-11-05 22:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793897416000,"timestamp_ms":1793897416000,"timestamp_seconds":1793897416,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac9e4540"} 
[2026-11-05 22:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:21: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-05 22:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 22:21:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":229949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":229949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":229949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237734912001,"66":27397,"63":206,"8":65280,"24":21,"16":40601700238622720,"45":8492733391870216192},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-11-05 22:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237734912001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:21:58] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-11-05 22:21:58] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-05 22:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40601700238622720,"km_value":40601700238622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8492733391870216192,"description":"Unknown IO ID 45"} 
[2026-11-05 22:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237734912001,"power":27397,"unknown_63":206,"unknown_8":65280,"ignition":21,"odometer":null,"unknown_45":8492733391870216192}} 
[2026-11-05 22:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":229949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:21:58] local.INFO: GPS data processed {"connection_id":229949,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:21:58] local.INFO: Acknowledgment sent {"connection_id":229949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:22:52] local.INFO: TCP Data received {"connection_id":229950,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:22:52] local.INFO: Processing buffer {"connection_id":229950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:22:52] local.INFO: IMEI packet received {"connection_id":229950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":229950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:22:53] local.INFO: TCP Data received {"connection_id":229950,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:22:53] local.INFO: Processing buffer {"connection_id":229950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:22:53] local.INFO: IMEI packet received {"connection_id":229950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":229950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:22:55] local.INFO: TCP Data received {"connection_id":233707,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233707,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:22:55] local.INFO: Processing buffer {"connection_id":233707,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:22:55] local.INFO: IMEI packet received {"connection_id":233707,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 22:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":233707,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:22:57] local.INFO: TCP Data received {"connection_id":229950,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:22:57] local.INFO: Processing buffer {"connection_id":229950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:22:57] local.INFO: IMEI packet received {"connection_id":229950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":229950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:22:59] local.INFO: TCP Data received {"connection_id":229950,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac9e87a8012d75b9000602c660000401532f..."} 
[2026-11-05 22:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac9e87a8012d75b9000602c660000401532f..."} 
[2026-11-05 22:22:59] local.INFO: Processing buffer {"connection_id":229950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac9e87a8012d75b9000602c660000401532f..."} 
[2026-11-05 22:22:59] local.INFO: Packet analysis {"connection_id":229950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac9e"} 
[2026-11-05 22:22:59] local.INFO: Extracted packet for processing {"connection_id":229950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac9e"} 
[2026-11-05 22:22:59] local.INFO: GPS Element Parsed {"raw_longitude":762689792,"raw_latitude":100845152,"longitude_deg":76.2689792,"latitude_deg":10.0845152,"altitude":4,"angle":339,"satellites":47,"speed":30,"hex_longitude":"2d75b900","hex_latitude":"0602c660","is_valid_coordinates":true} 
[2026-11-05 22:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237738496001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40602159800123392,"note":"Value kept but may cause issues"} 
[2026-11-05 22:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8487174261082214400,"note":"Value kept but may cause issues"} 
[2026-11-05 22:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793897433000,"timestamp_ms":1793897433000,"timestamp_seconds":1793897433,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac9e87a8"} 
[2026-11-05 22:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 22:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":229950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":229950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":229950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237738496001,"66":27484,"63":206,"8":65280,"24":30,"16":40602159800123392,"45":8487174261082214400},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-11-05 22:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237738496001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:22:59] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-11-05 22:22:59] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-05 22:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40602159800123392,"km_value":40602159800123.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8487174261082214400,"description":"Unknown IO ID 45"} 
[2026-11-05 22:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237738496001,"power":27484,"unknown_63":206,"unknown_8":65280,"ignition":30,"odometer":null,"unknown_45":8487174261082214400}} 
[2026-11-05 22:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":229950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:22:59] local.INFO: GPS data processed {"connection_id":229950,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:22:59] local.INFO: Acknowledgment sent {"connection_id":229950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:23:30] local.INFO: TCP Data received {"connection_id":229950,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ac9eb2a0012d75ad800602e8800005015630..."} 
[2026-11-05 22:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ac9eb2a0012d75ad800602e8800005015630..."} 
[2026-11-05 22:23:30] local.INFO: Processing buffer {"connection_id":229950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ac9eb2a0012d75ad800602e8800005015630..."} 
[2026-11-05 22:23:30] local.INFO: Packet analysis {"connection_id":229950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ac9e"} 
[2026-11-05 22:23:30] local.INFO: Extracted packet for processing {"connection_id":229950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ac9e"} 
[2026-11-05 22:23:30] local.INFO: GPS Element Parsed {"raw_longitude":762686848,"raw_latitude":100853888,"longitude_deg":76.2686848,"latitude_deg":10.0853888,"altitude":5,"angle":342,"satellites":48,"speed":34,"hex_longitude":"2d75ad80","hex_latitude":"0602e880","is_valid_coordinates":true} 
[2026-11-05 22:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237742848001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40602606476722176,"note":"Value kept but may cause issues"} 
[2026-11-05 22:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8482811398945398784,"note":"Value kept but may cause issues"} 
[2026-11-05 22:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793897444000,"timestamp_ms":1793897444000,"timestamp_seconds":1793897444,"priority":1,"record_length":96,"hex_timestamp":"000001a1ac9eb2a0"} 
[2026-11-05 22:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 22:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":229950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":229950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":229950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237742848001,"66":27397,"63":206,"8":65280,"24":34,"16":40602606476722176,"45":8482811398945398784},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-11-05 22:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237742848001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:23:30] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-11-05 22:23:30] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-05 22:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40602606476722176,"km_value":40602606476722.18,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8482811398945398784,"description":"Unknown IO ID 45"} 
[2026-11-05 22:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237742848001,"power":27397,"unknown_63":206,"unknown_8":65280,"ignition":34,"odometer":null,"unknown_45":8482811398945398784}} 
[2026-11-05 22:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":229950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:23:30] local.INFO: GPS data processed {"connection_id":229950,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:23:30] local.INFO: Acknowledgment sent {"connection_id":229950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:23:58] local.INFO: TCP Data received {"connection_id":231806,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:23:58] local.INFO: Processing buffer {"connection_id":231806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:23:58] local.INFO: IMEI packet received {"connection_id":231806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":231806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:23:59] local.INFO: TCP Data received {"connection_id":231806,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:23:59] local.INFO: Processing buffer {"connection_id":231806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:23:59] local.INFO: IMEI packet received {"connection_id":231806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":231806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:24:01] local.INFO: TCP Data received {"connection_id":231806,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:24:01] local.INFO: Processing buffer {"connection_id":231806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:24:01] local.INFO: IMEI packet received {"connection_id":231806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":231806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:24:02] local.INFO: TCP Data received {"connection_id":231806,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1aca08760012d753840060469880006015231..."} 
[2026-11-05 22:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aca08760012d753840060469880006015231..."} 
[2026-11-05 22:24:02] local.INFO: Processing buffer {"connection_id":231806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aca08760012d753840060469880006015231..."} 
[2026-11-05 22:24:02] local.INFO: Packet analysis {"connection_id":231806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aca0"} 
[2026-11-05 22:24:02] local.INFO: Extracted packet for processing {"connection_id":231806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aca0"} 
[2026-11-05 22:24:02] local.INFO: GPS Element Parsed {"raw_longitude":762656832,"raw_latitude":100952456,"longitude_deg":76.2656832,"latitude_deg":10.0952456,"altitude":6,"angle":338,"satellites":49,"speed":32,"hex_longitude":"2d753840","hex_latitude":"06046988","is_valid_coordinates":true} 
[2026-11-05 22:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237773824001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40607605818654720,"note":"Value kept but may cause issues"} 
[2026-11-05 22:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8450301039160567808,"note":"Value kept but may cause issues"} 
[2026-11-05 22:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1793897564000,"timestamp_ms":1793897564000,"timestamp_seconds":1793897564,"priority":1,"record_length":96,"hex_timestamp":"000001a1aca08760"} 
[2026-11-05 22:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 22:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":231806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":231806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":231806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237773824001,"66":27463,"23":206,"8":65280,"24":32,"16":40607605818654720,"45":8450301039160567808},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,8,24,16,45]} 
[2026-11-05 22:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237773824001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:24:02] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-11-05 22:24:02] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-05 22:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40607605818654720,"km_value":40607605818654.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8450301039160567808,"description":"Unknown IO ID 45"} 
[2026-11-05 22:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237773824001,"power":27463,"unknown_23":206,"unknown_8":65280,"ignition":32,"odometer":null,"unknown_45":8450301039160567808}} 
[2026-11-05 22:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":231806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:24:02] local.INFO: GPS data processed {"connection_id":231806,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:24:02] local.INFO: Acknowledgment sent {"connection_id":231806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:24:08] local.INFO: TCP Data received {"connection_id":231806,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1aca0ba28012d752b0006048b800006015130..."} 
[2026-11-05 22:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aca0ba28012d752b0006048b800006015130..."} 
[2026-11-05 22:24:08] local.INFO: Processing buffer {"connection_id":231806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aca0ba28012d752b0006048b800006015130..."} 
[2026-11-05 22:24:08] local.INFO: Packet analysis {"connection_id":231806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aca0"} 
[2026-11-05 22:24:08] local.INFO: Extracted packet for processing {"connection_id":231806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aca0"} 
[2026-11-05 22:24:08] local.INFO: GPS Element Parsed {"raw_longitude":762653440,"raw_latitude":100961152,"longitude_deg":76.265344,"latitude_deg":10.0961152,"altitude":6,"angle":337,"satellites":48,"speed":27,"hex_longitude":"2d752b00","hex_latitude":"06048b80","is_valid_coordinates":true} 
[2026-11-05 22:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237776384001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40608061085188096,"note":"Value kept but may cause issues"} 
[2026-11-05 22:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8446571495721371648,"note":"Value kept but may cause issues"} 
[2026-11-05 22:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793897577000,"timestamp_ms":1793897577000,"timestamp_seconds":1793897577,"priority":1,"record_length":96,"hex_timestamp":"000001a1aca0ba28"} 
[2026-11-05 22:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 22:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":231806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":231806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":231806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237776384001,"66":27463,"23":206,"8":65280,"24":27,"16":40608061085188096,"45":8446571495721371648},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,8,24,16,45]} 
[2026-11-05 22:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237776384001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:24:08] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-11-05 22:24:08] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-05 22:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40608061085188096,"km_value":40608061085188.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8446571495721371648,"description":"Unknown IO ID 45"} 
[2026-11-05 22:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237776384001,"power":27463,"unknown_23":206,"unknown_8":65280,"ignition":27,"odometer":null,"unknown_45":8446571495721371648}} 
[2026-11-05 22:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":231806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:24:08] local.INFO: GPS data processed {"connection_id":231806,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:24:08] local.INFO: Acknowledgment sent {"connection_id":231806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:24:52] local.INFO: TCP Data received {"connection_id":233709,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:24:52] local.INFO: Processing buffer {"connection_id":233709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:24:52] local.INFO: IMEI packet received {"connection_id":233709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":233709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:24:57] local.INFO: TCP Data received {"connection_id":233709,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:24:57] local.INFO: Processing buffer {"connection_id":233709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:24:57] local.INFO: IMEI packet received {"connection_id":233709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":233709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:25:04] local.INFO: TCP Data received {"connection_id":233709,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1aca0e520012d751e800604abe00006015331..."} 
[2026-11-05 22:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aca0e520012d751e800604abe00006015331..."} 
[2026-11-05 22:25:04] local.INFO: Processing buffer {"connection_id":233709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aca0e520012d751e800604abe00006015331..."} 
[2026-11-05 22:25:04] local.INFO: Packet analysis {"connection_id":233709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aca0"} 
[2026-11-05 22:25:04] local.INFO: Extracted packet for processing {"connection_id":233709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aca0"} 
[2026-11-05 22:25:04] local.INFO: GPS Element Parsed {"raw_longitude":762650240,"raw_latitude":100969440,"longitude_deg":76.265024,"latitude_deg":10.096944,"altitude":6,"angle":339,"satellites":49,"speed":33,"hex_longitude":"2d751e80","hex_latitude":"0604abe0","is_valid_coordinates":true} 
[2026-11-05 22:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237779712001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40608490581917696,"note":"Value kept but may cause issues"} 
[2026-11-05 22:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8442841952282181632,"note":"Value kept but may cause issues"} 
[2026-11-05 22:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793897588000,"timestamp_ms":1793897588000,"timestamp_seconds":1793897588,"priority":1,"record_length":96,"hex_timestamp":"000001a1aca0e520"} 
[2026-11-05 22:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 22:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":233709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":233709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":233709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237779712001,"66":27484,"23":206,"8":65280,"24":33,"16":40608490581917696,"45":8442841952282181632},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,8,24,16,45]} 
[2026-11-05 22:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237779712001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:25:04] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-11-05 22:25:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-05 22:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40608490581917696,"km_value":40608490581917.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8442841952282181632,"description":"Unknown IO ID 45"} 
[2026-11-05 22:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237779712001,"power":27484,"unknown_23":206,"unknown_8":65280,"ignition":33,"odometer":null,"unknown_45":8442841952282181632}} 
[2026-11-05 22:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":233709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:25:04] local.INFO: GPS data processed {"connection_id":233709,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:25:04] local.INFO: Acknowledgment sent {"connection_id":233709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:25:36] local.INFO: TCP Data received {"connection_id":233709,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1aca11018012d7510c00604ce58000501522c..."} 
[2026-11-05 22:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aca11018012d7510c00604ce58000501522c..."} 
[2026-11-05 22:25:36] local.INFO: Processing buffer {"connection_id":233709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aca11018012d7510c00604ce58000501522c..."} 
[2026-11-05 22:25:36] local.INFO: Packet analysis {"connection_id":233709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aca1"} 
[2026-11-05 22:25:36] local.INFO: Extracted packet for processing {"connection_id":233709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aca1"} 
[2026-11-05 22:25:36] local.INFO: GPS Element Parsed {"raw_longitude":762646720,"raw_latitude":100978264,"longitude_deg":76.264672,"latitude_deg":10.0978264,"altitude":5,"angle":338,"satellites":44,"speed":34,"hex_longitude":"2d7510c0","hex_latitude":"0604ce58","is_valid_coordinates":true} 
[2026-11-05 22:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237782528001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40608950143418368,"note":"Value kept but may cause issues"} 
[2026-11-05 22:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8439323515075420160,"note":"Value kept but may cause issues"} 
[2026-11-05 22:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1793897599000,"timestamp_ms":1793897599000,"timestamp_seconds":1793897599,"priority":1,"record_length":96,"hex_timestamp":"000001a1aca11018"} 
[2026-11-05 22:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:25: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-05 22:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 22:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":233709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":233709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":233709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237782528001,"66":27484,"23":206,"8":65280,"24":34,"16":40608950143418368,"45":8439323515075420160},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,8,24,16,45]} 
[2026-11-05 22:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237782528001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:25:36] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-11-05 22:25:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-05 22:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40608950143418368,"km_value":40608950143418.37,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8439323515075420160,"description":"Unknown IO ID 45"} 
[2026-11-05 22:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237782528001,"power":27484,"unknown_23":206,"unknown_8":65280,"ignition":34,"odometer":null,"unknown_45":8439323515075420160}} 
[2026-11-05 22:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":233709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:25:36] local.INFO: GPS data processed {"connection_id":233709,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:25:36] local.INFO: Acknowledgment sent {"connection_id":233709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:25:52] local.INFO: TCP Data received {"connection_id":231807,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:25:52] local.INFO: Processing buffer {"connection_id":231807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:25:52] local.INFO: IMEI packet received {"connection_id":231807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":231807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:25:53] local.INFO: TCP Data received {"connection_id":231807,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:25:53] local.INFO: Processing buffer {"connection_id":231807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:25:53] local.INFO: IMEI packet received {"connection_id":231807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":231807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:25:54] local.INFO: TCP Data received {"connection_id":231807,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:25:54] local.INFO: Processing buffer {"connection_id":231807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:25:54] local.INFO: IMEI packet received {"connection_id":231807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":231807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:25:56] local.INFO: TCP Data received {"connection_id":231807,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:25:56] local.INFO: Processing buffer {"connection_id":231807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:25:56] local.INFO: IMEI packet received {"connection_id":231807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":231807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:28:30] local.INFO: TCP Data received {"connection_id":229951,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229951,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:28:30] local.INFO: Processing buffer {"connection_id":229951,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:28:30] local.INFO: IMEI packet received {"connection_id":229951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 22:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":229951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:30:57] local.INFO: TCP Data received {"connection_id":230466,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:30:57] local.INFO: Processing buffer {"connection_id":230466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:30:57] local.INFO: IMEI packet received {"connection_id":230466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":230466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:30:59] local.INFO: TCP Data received {"connection_id":230466,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1aca6e830012d7314800608d3f00004011f2e..."} 
[2026-11-05 22:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aca6e830012d7314800608d3f00004011f2e..."} 
[2026-11-05 22:30:59] local.INFO: Processing buffer {"connection_id":230466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aca6e830012d7314800608d3f00004011f2e..."} 
[2026-11-05 22:30:59] local.INFO: Packet analysis {"connection_id":230466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aca6"} 
[2026-11-05 22:30:59] local.INFO: Extracted packet for processing {"connection_id":230466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aca6"} 
[2026-11-05 22:30:59] local.INFO: GPS Element Parsed {"raw_longitude":762516608,"raw_latitude":101241840,"longitude_deg":76.2516608,"latitude_deg":10.124184,"altitude":4,"angle":287,"satellites":46,"speed":36,"hex_longitude":"2d731480","hex_latitude":"0608d3f0","is_valid_coordinates":true} 
[2026-11-05 22:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237880576001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40623862269870080,"note":"Value kept but may cause issues"} 
[2026-11-05 22:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8301541514044372992,"note":"Value kept but may cause issues"} 
[2026-11-05 22:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793897982000,"timestamp_ms":1793897982000,"timestamp_seconds":1793897982,"priority":1,"record_length":96,"hex_timestamp":"000001a1aca6e830"} 
[2026-11-05 22:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 22:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":230466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":230466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":230466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237880576001,"66":27517,"233":206,"8":65280,"24":36,"16":40623862269870080,"45":8301541514044372992},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,8,24,16,45]} 
[2026-11-05 22:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237880576001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:30:59] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-11-05 22:30:59] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-05 22:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40623862269870080,"km_value":40623862269870.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8301541514044372992,"description":"Unknown IO ID 45"} 
[2026-11-05 22:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237880576001,"power":27517,"unknown_233":206,"unknown_8":65280,"ignition":36,"odometer":null,"unknown_45":8301541514044372992}} 
[2026-11-05 22:30:59] 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":64664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:30:59] local.INFO: GPS data processed {"connection_id":230466,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:30:59] local.INFO: Acknowledgment sent {"connection_id":230466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:31:30] local.INFO: TCP Data received {"connection_id":230466,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1aca70f40012d72f0400608dd00000801182c..."} 
[2026-11-05 22:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aca70f40012d72f0400608dd00000801182c..."} 
[2026-11-05 22:31:30] local.INFO: Processing buffer {"connection_id":230466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aca70f40012d72f0400608dd00000801182c..."} 
[2026-11-05 22:31:30] local.INFO: Packet analysis {"connection_id":230466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aca7"} 
[2026-11-05 22:31:30] local.INFO: Extracted packet for processing {"connection_id":230466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aca7"} 
[2026-11-05 22:31:30] local.INFO: GPS Element Parsed {"raw_longitude":762507328,"raw_latitude":101244160,"longitude_deg":76.2507328,"latitude_deg":10.124416,"altitude":8,"angle":280,"satellites":44,"speed":37,"hex_longitude":"2d72f040","hex_latitude":"0608dd00","is_valid_coordinates":true} 
[2026-11-05 22:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237883392001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40624317536403456,"note":"Value kept but may cause issues"} 
[2026-11-05 22:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8292393577302192128,"note":"Value kept but may cause issues"} 
[2026-11-05 22:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793897992000,"timestamp_ms":1793897992000,"timestamp_seconds":1793897992,"priority":1,"record_length":96,"hex_timestamp":"000001a1aca70f40"} 
[2026-11-05 22:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-05 22:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":230466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":230466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":230466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237883392001,"66":27463,"233":206,"8":65280,"24":37,"16":40624317536403456,"45":8292393577302192128},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,8,24,16,45]} 
[2026-11-05 22:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237883392001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:31:30] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-11-05 22:31:30] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-05 22:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40624317536403456,"km_value":40624317536403.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8292393577302192128,"description":"Unknown IO ID 45"} 
[2026-11-05 22:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237883392001,"power":27463,"unknown_233":206,"unknown_8":65280,"ignition":37,"odometer":null,"unknown_45":8292393577302192128}} 
[2026-11-05 22:31:30] 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":64665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:31:30] local.INFO: GPS data processed {"connection_id":230466,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:31:30] local.INFO: Acknowledgment sent {"connection_id":230466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:31:51] local.INFO: TCP Data received {"connection_id":231811,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:31:51] local.INFO: Processing buffer {"connection_id":231811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:31:51] local.INFO: IMEI packet received {"connection_id":231811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":231811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:31:57] local.INFO: TCP Data received {"connection_id":231811,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:31:57] local.INFO: Processing buffer {"connection_id":231811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:31:57] local.INFO: IMEI packet received {"connection_id":231811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":231811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:31:58] local.INFO: TCP Data received {"connection_id":231811,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1aca71ee0012d72e1c00608de500009010c2b..."} 
[2026-11-05 22:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aca71ee0012d72e1c00608de500009010c2b..."} 
[2026-11-05 22:31:58] local.INFO: Processing buffer {"connection_id":231811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aca71ee0012d72e1c00608de500009010c2b..."} 
[2026-11-05 22:31:58] local.INFO: Packet analysis {"connection_id":231811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aca7"} 
[2026-11-05 22:31:58] local.INFO: Extracted packet for processing {"connection_id":231811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aca7"} 
[2026-11-05 22:31:58] local.INFO: GPS Element Parsed {"raw_longitude":762503616,"raw_latitude":101244496,"longitude_deg":76.2503616,"latitude_deg":10.1244496,"altitude":9,"angle":268,"satellites":43,"speed":37,"hex_longitude":"2d72e1c0","hex_latitude":"0608de50","is_valid_coordinates":true} 
[2026-11-05 22:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237885952001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40624497925029888,"note":"Value kept but may cause issues"} 
[2026-11-05 22:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8282190109397024768,"note":"Value kept but may cause issues"} 
[2026-11-05 22:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793897996000,"timestamp_ms":1793897996000,"timestamp_seconds":1793897996,"priority":1,"record_length":96,"hex_timestamp":"000001a1aca71ee0"} 
[2026-11-05 22:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 22:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":231811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":231811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":231811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237885952001,"66":27484,"233":206,"8":65280,"24":37,"16":40624497925029888,"45":8282190109397024768},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,8,24,16,45]} 
[2026-11-05 22:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237885952001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:31:58] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-11-05 22:31:58] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-05 22:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40624497925029888,"km_value":40624497925029.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8282190109397024768,"description":"Unknown IO ID 45"} 
[2026-11-05 22:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237885952001,"power":27484,"unknown_233":206,"unknown_8":65280,"ignition":37,"odometer":null,"unknown_45":8282190109397024768}} 
[2026-11-05 22:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":231811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:31:58] local.INFO: GPS data processed {"connection_id":231811,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:31:58] local.INFO: Acknowledgment sent {"connection_id":231811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:32:30] local.INFO: TCP Data received {"connection_id":231811,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1aca74208012d72c2400608d938000b01012e..."} 
[2026-11-05 22:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aca74208012d72c2400608d938000b01012e..."} 
[2026-11-05 22:32:30] local.INFO: Processing buffer {"connection_id":231811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aca74208012d72c2400608d938000b01012e..."} 
[2026-11-05 22:32:30] local.INFO: Packet analysis {"connection_id":231811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aca7"} 
[2026-11-05 22:32:30] local.INFO: Extracted packet for processing {"connection_id":231811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aca7"} 
[2026-11-05 22:32:30] local.INFO: GPS Element Parsed {"raw_longitude":762495552,"raw_latitude":101243192,"longitude_deg":76.2495552,"latitude_deg":10.1243192,"altitude":11,"angle":257,"satellites":46,"speed":33,"hex_longitude":"2d72c240","hex_latitude":"0608d938","is_valid_coordinates":true} 
[2026-11-05 22:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237886976001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40624888767053824,"note":"Value kept but may cause issues"} 
[2026-11-05 22:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8278108722234806272,"note":"Value kept but may cause issues"} 
[2026-11-05 22:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793898005000,"timestamp_ms":1793898005000,"timestamp_seconds":1793898005,"priority":1,"record_length":96,"hex_timestamp":"000001a1aca74208"} 
[2026-11-05 22:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 22:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":231811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":231811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":231811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237886976001,"66":27397,"233":206,"8":65280,"24":33,"16":40624888767053824,"45":8278108722234806272},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,8,24,16,45]} 
[2026-11-05 22:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237886976001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:32:30] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-11-05 22:32:30] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-05 22:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40624888767053824,"km_value":40624888767053.82,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8278108722234806272,"description":"Unknown IO ID 45"} 
[2026-11-05 22:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237886976001,"power":27397,"unknown_233":206,"unknown_8":65280,"ignition":33,"odometer":null,"unknown_45":8278108722234806272}} 
[2026-11-05 22:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":231811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:32:30] local.INFO: GPS data processed {"connection_id":231811,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:32:30] local.INFO: Acknowledgment sent {"connection_id":231811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:32:57] local.INFO: TCP Data received {"connection_id":230467,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:32:57] local.INFO: Processing buffer {"connection_id":230467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:32:57] local.INFO: IMEI packet received {"connection_id":230467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":230467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:33:02] local.INFO: TCP Data received {"connection_id":230467,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:33:02] local.INFO: Processing buffer {"connection_id":230467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:33:02] local.INFO: IMEI packet received {"connection_id":230467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":230467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:33:03] local.INFO: TCP Data received {"connection_id":230467,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1aca895e0012d71f8400608e488000801542e..."} 
[2026-11-05 22:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aca895e0012d71f8400608e488000801542e..."} 
[2026-11-05 22:33:03] local.INFO: Processing buffer {"connection_id":230467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aca895e0012d71f8400608e488000801542e..."} 
[2026-11-05 22:33:03] local.INFO: Packet analysis {"connection_id":230467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aca8"} 
[2026-11-05 22:33:03] local.INFO: Extracted packet for processing {"connection_id":230467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aca8"} 
[2026-11-05 22:33:03] local.INFO: GPS Element Parsed {"raw_longitude":762443840,"raw_latitude":101246088,"longitude_deg":76.244384,"latitude_deg":10.1246088,"altitude":8,"angle":340,"satellites":46,"speed":21,"hex_longitude":"2d71f840","hex_latitude":"0608e488","is_valid_coordinates":true} 
[2026-11-05 22:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237908480001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40627899539128320,"note":"Value kept but may cause issues"} 
[2026-11-05 22:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8217661970984781824,"note":"Value kept but may cause issues"} 
[2026-11-05 22:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1793898092000,"timestamp_ms":1793898092000,"timestamp_seconds":1793898092,"priority":1,"record_length":96,"hex_timestamp":"000001a1aca895e0"} 
[2026-11-05 22:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-11-05 22:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":230467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":230467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":230467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237908480001,"66":27343,"233":206,"8":65280,"24":21,"16":40627899539128320,"45":8217661970984781824},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,8,24,16,45]} 
[2026-11-05 22:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237908480001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:33:03] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-11-05 22:33:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-05 22:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40627899539128320,"km_value":40627899539128.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8217661970984781824,"description":"Unknown IO ID 45"} 
[2026-11-05 22:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237908480001,"power":27343,"unknown_233":206,"unknown_8":65280,"ignition":21,"odometer":null,"unknown_45":8217661970984781824}} 
[2026-11-05 22:33:03] 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":64668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:33:03] local.INFO: GPS data processed {"connection_id":230467,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:33:03] local.INFO: Acknowledgment sent {"connection_id":230467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:33:08] local.INFO: TCP Data received {"connection_id":230467,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1aca8e400012d71eb8006090698000701532f..."} 
[2026-11-05 22:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aca8e400012d71eb8006090698000701532f..."} 
[2026-11-05 22:33:08] local.INFO: Processing buffer {"connection_id":230467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aca8e400012d71eb8006090698000701532f..."} 
[2026-11-05 22:33:08] local.INFO: Packet analysis {"connection_id":230467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1aca8"} 
[2026-11-05 22:33:08] local.INFO: Extracted packet for processing {"connection_id":230467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1aca8"} 
[2026-11-05 22:33:08] local.INFO: GPS Element Parsed {"raw_longitude":762440576,"raw_latitude":101254808,"longitude_deg":76.2440576,"latitude_deg":10.1254808,"altitude":7,"angle":339,"satellites":47,"speed":23,"hex_longitude":"2d71eb80","hex_latitude":"06090698","is_valid_coordinates":true} 
[2026-11-05 22:33: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-05 22:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237911552001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40628350510694400,"note":"Value kept but may cause issues"} 
[2026-11-05 22:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8212384315173275648,"note":"Value kept but may cause issues"} 
[2026-11-05 22:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793898112000,"timestamp_ms":1793898112000,"timestamp_seconds":1793898112,"priority":1,"record_length":96,"hex_timestamp":"000001a1aca8e400"} 
[2026-11-05 22:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 22:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:33: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-05 22:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":230467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":230467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":230467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237911552001,"66":27267,"233":206,"8":65280,"24":23,"16":40628350510694400,"45":8212384315173275648},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,8,24,16,45]} 
[2026-11-05 22:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237911552001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:33:08] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-11-05 22:33:08] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-05 22:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40628350510694400,"km_value":40628350510694.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8212384315173275648,"description":"Unknown IO ID 45"} 
[2026-11-05 22:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237911552001,"power":27267,"unknown_233":206,"unknown_8":65280,"ignition":23,"odometer":null,"unknown_45":8212384315173275648}} 
[2026-11-05 22:33:08] 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":64669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:33:08] local.INFO: GPS data processed {"connection_id":230467,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:33:08] local.INFO: Acknowledgment sent {"connection_id":230467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:33:50] local.INFO: TCP Data received {"connection_id":230468,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:33:50] local.INFO: Processing buffer {"connection_id":230468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:33:50] local.INFO: IMEI packet received {"connection_id":230468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":230468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:33:50] local.INFO: TCP Data received {"connection_id":230468,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:33:50] local.INFO: Processing buffer {"connection_id":230468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:33:50] local.INFO: IMEI packet received {"connection_id":230468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":230468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:33:52] local.INFO: TCP Data received {"connection_id":230468,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:33:52] local.INFO: Processing buffer {"connection_id":230468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:33:52] local.INFO: IMEI packet received {"connection_id":230468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":230468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:33:52] local.INFO: TCP Data received {"connection_id":230468,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:33:52] local.INFO: Processing buffer {"connection_id":230468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:33:52] local.INFO: IMEI packet received {"connection_id":230468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":230468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:34:05] local.INFO: TCP Data received {"connection_id":230465,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:34:05] local.INFO: Processing buffer {"connection_id":230465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:34:05] local.INFO: IMEI packet received {"connection_id":230465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 22:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":230465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:34:40] local.INFO: TCP Data received {"connection_id":231812,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:34:40] local.INFO: Processing buffer {"connection_id":231812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:34:40] local.INFO: IMEI packet received {"connection_id":231812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 22:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":231812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:38:53] local.INFO: TCP Data received {"connection_id":230469,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:38:53] local.INFO: Processing buffer {"connection_id":230469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:38:53] local.INFO: IMEI packet received {"connection_id":230469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":230469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:38:57] local.INFO: TCP Data received {"connection_id":230469,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:38:57] local.INFO: Processing buffer {"connection_id":230469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:38:57] local.INFO: IMEI packet received {"connection_id":230469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":230469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:38:59] local.INFO: TCP Data received {"connection_id":230469,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acadaaa8012d708100060acbd8000701242e..."} 
[2026-11-05 22:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acadaaa8012d708100060acbd8000701242e..."} 
[2026-11-05 22:38:59] local.INFO: Processing buffer {"connection_id":230469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acadaaa8012d708100060acbd8000701242e..."} 
[2026-11-05 22:38:59] local.INFO: Packet analysis {"connection_id":230469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acad"} 
[2026-11-05 22:38:59] local.INFO: Extracted packet for processing {"connection_id":230469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acad"} 
[2026-11-05 22:38:59] local.INFO: GPS Element Parsed {"raw_longitude":762347776,"raw_latitude":101370840,"longitude_deg":76.2347776,"latitude_deg":10.137084,"altitude":7,"angle":292,"satellites":46,"speed":35,"hex_longitude":"2d708100","hex_latitude":"060acbd8","is_valid_coordinates":true} 
[2026-11-05 22:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237994240001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40635785099083776,"note":"Value kept but may cause issues"} 
[2026-11-05 22:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8116260610657495040,"note":"Value kept but may cause issues"} 
[2026-11-05 22:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793898425000,"timestamp_ms":1793898425000,"timestamp_seconds":1793898425,"priority":1,"record_length":96,"hex_timestamp":"000001a1acadaaa8"} 
[2026-11-05 22:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 22:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":230469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":230469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":230469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237994240001,"66":27376,"29":206,"8":65280,"24":35,"16":40635785099083776,"45":8116260610657495040},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,8,24,16,45]} 
[2026-11-05 22:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237994240001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:38:59] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-11-05 22:38:59] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-05 22:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40635785099083776,"km_value":40635785099083.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8116260610657495040,"description":"Unknown IO ID 45"} 
[2026-11-05 22:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237994240001,"power":27376,"unknown_29":206,"unknown_8":65280,"ignition":35,"odometer":null,"unknown_45":8116260610657495040}} 
[2026-11-05 22:38:59] 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":64670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:38:59] local.INFO: GPS data processed {"connection_id":230469,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:38:59] local.INFO: Acknowledgment sent {"connection_id":230469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:39:44] local.INFO: TCP Data received {"connection_id":230469,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acadd1b8012d705e00060ad948000601222b..."} 
[2026-11-05 22:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acadd1b8012d705e00060ad948000601222b..."} 
[2026-11-05 22:39:44] local.INFO: Processing buffer {"connection_id":230469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acadd1b8012d705e00060ad948000601222b..."} 
[2026-11-05 22:39:44] local.INFO: Packet analysis {"connection_id":230469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acad"} 
[2026-11-05 22:39:44] local.INFO: Extracted packet for processing {"connection_id":230469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acad"} 
[2026-11-05 22:39:44] local.INFO: GPS Element Parsed {"raw_longitude":762338816,"raw_latitude":101374280,"longitude_deg":76.2338816,"latitude_deg":10.137428,"altitude":6,"angle":290,"satellites":43,"speed":36,"hex_longitude":"2d705e00","hex_latitude":"060ad948","is_valid_coordinates":true} 
[2026-11-05 22:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459237996800001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40636244660584448,"note":"Value kept but may cause issues"} 
[2026-11-05 22:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8106760830194538496,"note":"Value kept but may cause issues"} 
[2026-11-05 22:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793898435000,"timestamp_ms":1793898435000,"timestamp_seconds":1793898435,"priority":1,"record_length":96,"hex_timestamp":"000001a1acadd1b8"} 
[2026-11-05 22:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22: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-05 22:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 22:39: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-05 22:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459237996800001,"66":27332,"189":206,"8":65280,"24":36,"16":40636244660584448,"45":8106760830194538496},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,8,24,16,45]} 
[2026-11-05 22:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459237996800001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:39:44] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-11-05 22:39:44] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-05 22:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40636244660584448,"km_value":40636244660584.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8106760830194538496,"description":"Unknown IO ID 45"} 
[2026-11-05 22:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459237996800001,"power":27332,"unknown_189":206,"unknown_8":65280,"ignition":36,"odometer":null,"unknown_45":8106760830194538496}} 
[2026-11-05 22:39:44] 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":64671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:39:44] local.INFO: GPS data processed {"connection_id":230469,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:39:44] local.INFO: Acknowledgment sent {"connection_id":230469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:39:55] local.INFO: TCP Data received {"connection_id":230470,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:39:55] local.INFO: Processing buffer {"connection_id":230470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:39:55] local.INFO: IMEI packet received {"connection_id":230470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 22:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":230470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:40:07] local.INFO: TCP Data received {"connection_id":233711,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:40:07] local.INFO: Processing buffer {"connection_id":233711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:40:07] local.INFO: IMEI packet received {"connection_id":233711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":233711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:40:08] local.INFO: TCP Data received {"connection_id":233711,"ip":"117.224.67.80","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 22:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233711,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 22:40:08] local.INFO: Processing buffer {"connection_id":233711,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 22:40:08] local.INFO: IMEI packet received {"connection_id":233711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":233711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:40:12] local.INFO: TCP Data received {"connection_id":233711,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:40:12] local.INFO: Processing buffer {"connection_id":233711,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 22:40:12] local.INFO: IMEI packet received {"connection_id":233711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":233711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:40:15] local.INFO: TCP Data received {"connection_id":233711,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acaf3918012d6fb040060b5430000501522f..."} 
[2026-11-05 22:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acaf3918012d6fb040060b5430000501522f..."} 
[2026-11-05 22:40:15] local.INFO: Processing buffer {"connection_id":233711,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1ac..."} 
[2026-11-05 22:40:15] local.INFO: IMEI packet received {"connection_id":233711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":233711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:40:16] local.INFO: TCP Data received {"connection_id":233711,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acaf6be0012d6fa400060b75c0000601552e..."} 
[2026-11-05 22:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acaf6be0012d6fa400060b75c0000601552e..."} 
[2026-11-05 22:40:16] local.INFO: Processing buffer {"connection_id":233711,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1acaf3918012d6fb040060b5430000501522f..."} 
[2026-11-05 22:40:16] local.INFO: Packet analysis {"connection_id":233711,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1acaf"} 
[2026-11-05 22:40:16] local.INFO: Extracted packet for processing {"connection_id":233711,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acaf"} 
[2026-11-05 22:40:16] local.INFO: GPS Element Parsed {"raw_longitude":762294336,"raw_latitude":101405744,"longitude_deg":76.2294336,"latitude_deg":10.1405744,"altitude":5,"angle":338,"satellites":47,"speed":27,"hex_longitude":"2d6fb040","hex_latitude":"060b5430","is_valid_coordinates":true} 
[2026-11-05 22:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238019328001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40639143763509248,"note":"Value kept but may cause issues"} 
[2026-11-05 22:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8051591734765920256,"note":"Value kept but may cause issues"} 
[2026-11-05 22:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793898527000,"timestamp_ms":1793898527000,"timestamp_seconds":1793898527,"priority":1,"record_length":96,"hex_timestamp":"000001a1acaf3918"} 
[2026-11-05 22:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:40: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-05 22:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-11-05 22:40:16] 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-05 22:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":233711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":233711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":233711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238019328001,"66":27376,"30":206,"8":65280,"24":27,"16":40639143763509248,"45":8051591734765920256},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,8,24,16,45]} 
[2026-11-05 22:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238019328001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:40:16] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-11-05 22:40:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-05 22:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40639143763509248,"km_value":40639143763509.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8051591734765920256,"description":"Unknown IO ID 45"} 
[2026-11-05 22:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238019328001,"power":27376,"unknown_30":206,"unknown_8":65280,"ignition":27,"odometer":null,"unknown_45":8051591734765920256}} 
[2026-11-05 22:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":233711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:40:16] local.INFO: GPS data processed {"connection_id":233711,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:40:16] local.INFO: Acknowledgment sent {"connection_id":233711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:40:16] local.INFO: Packet analysis {"connection_id":233711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acaf"} 
[2026-11-05 22:40:16] local.INFO: Extracted packet for processing {"connection_id":233711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acaf"} 
[2026-11-05 22:40:16] local.INFO: GPS Element Parsed {"raw_longitude":762291200,"raw_latitude":101414336,"longitude_deg":76.22912,"latitude_deg":10.1414336,"altitude":6,"angle":341,"satellites":46,"speed":29,"hex_longitude":"2d6fa400","hex_latitude":"060b75c0","is_valid_coordinates":true} 
[2026-11-05 22:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238022912001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40639586145140736,"note":"Value kept but may cause issues"} 
[2026-11-05 22:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8048002928815124480,"note":"Value kept but may cause issues"} 
[2026-11-05 22:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793898540000,"timestamp_ms":1793898540000,"timestamp_seconds":1793898540,"priority":1,"record_length":96,"hex_timestamp":"000001a1acaf6be0"} 
[2026-11-05 22:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:40: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-05 22:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 22:40:16] 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-05 22:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":233711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":233711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":233711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238022912001,"66":27376,"30":206,"8":65280,"24":29,"16":40639586145140736,"45":8048002928815124480},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,8,24,16,45]} 
[2026-11-05 22:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238022912001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:40:16] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-11-05 22:40:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-05 22:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40639586145140736,"km_value":40639586145140.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8048002928815124480,"description":"Unknown IO ID 45"} 
[2026-11-05 22:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238022912001,"power":27376,"unknown_30":206,"unknown_8":65280,"ignition":29,"odometer":null,"unknown_45":8048002928815124480}} 
[2026-11-05 22:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":233711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:40:16] local.INFO: GPS data processed {"connection_id":233711,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:40:16] local.INFO: Acknowledgment sent {"connection_id":233711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:40:17] local.INFO: TCP Data received {"connection_id":233711,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acaf96d8012d6f9680060b96400004014b2d..."} 
[2026-11-05 22:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acaf96d8012d6f9680060b96400004014b2d..."} 
[2026-11-05 22:40:17] local.INFO: Processing buffer {"connection_id":233711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acaf96d8012d6f9680060b96400004014b2d..."} 
[2026-11-05 22:40:17] local.INFO: Packet analysis {"connection_id":233711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acaf"} 
[2026-11-05 22:40:17] local.INFO: Extracted packet for processing {"connection_id":233711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acaf"} 
[2026-11-05 22:40:17] local.INFO: GPS Element Parsed {"raw_longitude":762287744,"raw_latitude":101422656,"longitude_deg":76.2287744,"latitude_deg":10.1422656,"altitude":4,"angle":331,"satellites":45,"speed":34,"hex_longitude":"2d6f9680","hex_latitude":"060b9640","is_valid_coordinates":true} 
[2026-11-05 22: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-05 22:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238026240001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40640019936837632,"note":"Value kept but may cause issues"} 
[2026-11-05 22:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8044554860352618496,"note":"Value kept but may cause issues"} 
[2026-11-05 22:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793898551000,"timestamp_ms":1793898551000,"timestamp_seconds":1793898551,"priority":1,"record_length":96,"hex_timestamp":"000001a1acaf96d8"} 
[2026-11-05 22: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-05 22:40: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-05 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 22:40:17] 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-05 22: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-05 22: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-05 22:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":233711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":233711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":233711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238026240001,"66":27397,"30":206,"8":65280,"24":34,"16":40640019936837632,"45":8044554860352618496},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,8,24,16,45]} 
[2026-11-05 22:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238026240001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:40:17] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-11-05 22:40:17] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-05 22:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40640019936837632,"km_value":40640019936837.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8044554860352618496,"description":"Unknown IO ID 45"} 
[2026-11-05 22:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238026240001,"power":27397,"unknown_30":206,"unknown_8":65280,"ignition":34,"odometer":null,"unknown_45":8044554860352618496}} 
[2026-11-05 22:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":233711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:40:17] local.INFO: GPS data processed {"connection_id":233711,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:40:17] local.INFO: Acknowledgment sent {"connection_id":233711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:40:52] local.INFO: TCP Data received {"connection_id":230471,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:40:52] local.INFO: Processing buffer {"connection_id":230471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:40:52] local.INFO: IMEI packet received {"connection_id":230471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":230471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:40:57] local.INFO: TCP Data received {"connection_id":230471,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:40:57] local.INFO: Processing buffer {"connection_id":230471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:40:57] local.INFO: IMEI packet received {"connection_id":230471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":230471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:40:58] local.INFO: TCP Data received {"connection_id":230471,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acafbde8012d6f8580060bb7880005014c2e..."} 
[2026-11-05 22:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acafbde8012d6f8580060bb7880005014c2e..."} 
[2026-11-05 22:40:58] local.INFO: Processing buffer {"connection_id":230471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acafbde8012d6f8580060bb7880005014c2e..."} 
[2026-11-05 22:40:58] local.INFO: Packet analysis {"connection_id":230471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acaf"} 
[2026-11-05 22:40:58] local.INFO: Extracted packet for processing {"connection_id":230471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acaf"} 
[2026-11-05 22:40:58] local.INFO: GPS Element Parsed {"raw_longitude":762283392,"raw_latitude":101431176,"longitude_deg":76.2283392,"latitude_deg":10.1431176,"altitude":5,"angle":332,"satellites":46,"speed":43,"hex_longitude":"2d6f8580","hex_latitude":"060bb788","is_valid_coordinates":true} 
[2026-11-05 22:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238029056001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40640483793305600,"note":"Value kept but may cause issues"} 
[2026-11-05 22:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8040754948169154560,"note":"Value kept but may cause issues"} 
[2026-11-05 22:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793898561000,"timestamp_ms":1793898561000,"timestamp_seconds":1793898561,"priority":1,"record_length":96,"hex_timestamp":"000001a1acafbde8"} 
[2026-11-05 22:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 22:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":230471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":230471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":230471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238029056001,"66":27484,"30":206,"8":65280,"24":43,"16":40640483793305600,"45":8040754948169154560},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,8,24,16,45]} 
[2026-11-05 22:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238029056001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:40:58] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-11-05 22:40:58] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-05 22:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40640483793305600,"km_value":40640483793305.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8040754948169154560,"description":"Unknown IO ID 45"} 
[2026-11-05 22:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238029056001,"power":27484,"unknown_30":206,"unknown_8":65280,"ignition":43,"odometer":null,"unknown_45":8040754948169154560}} 
[2026-11-05 22:40:58] 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":64675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:40:58] local.INFO: GPS data processed {"connection_id":230471,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:40:58] local.INFO: Acknowledgment sent {"connection_id":230471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:41:29] local.INFO: TCP Data received {"connection_id":230471,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acafdd28012d6f7140060bd6300007013f2c..."} 
[2026-11-05 22:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acafdd28012d6f7140060bd6300007013f2c..."} 
[2026-11-05 22:41:29] local.INFO: Processing buffer {"connection_id":230471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acafdd28012d6f7140060bd6300007013f2c..."} 
[2026-11-05 22:41:29] local.INFO: Packet analysis {"connection_id":230471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acaf"} 
[2026-11-05 22:41:29] local.INFO: Extracted packet for processing {"connection_id":230471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acaf"} 
[2026-11-05 22:41:29] local.INFO: GPS Element Parsed {"raw_longitude":762278208,"raw_latitude":101439024,"longitude_deg":76.2278208,"latitude_deg":10.1439024,"altitude":7,"angle":319,"satellites":44,"speed":46,"hex_longitude":"2d6f7140","hex_latitude":"060bd630","is_valid_coordinates":true} 
[2026-11-05 22:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238031616001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40640939059838976,"note":"Value kept but may cause issues"} 
[2026-11-05 22:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8035969873567254528,"note":"Value kept but may cause issues"} 
[2026-11-05 22:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793898569000,"timestamp_ms":1793898569000,"timestamp_seconds":1793898569,"priority":1,"record_length":96,"hex_timestamp":"000001a1acafdd28"} 
[2026-11-05 22:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 22:41:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:41:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":230471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":230471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":230471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238031616001,"66":27463,"30":206,"8":65280,"24":46,"16":40640939059838976,"45":8035969873567254528},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,8,24,16,45]} 
[2026-11-05 22:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238031616001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:41:29] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-11-05 22:41:29] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-05 22:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40640939059838976,"km_value":40640939059838.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8035969873567254528,"description":"Unknown IO ID 45"} 
[2026-11-05 22:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238031616001,"power":27463,"unknown_30":206,"unknown_8":65280,"ignition":46,"odometer":null,"unknown_45":8035969873567254528}} 
[2026-11-05 22:41:29] 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":64676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:41:29] local.INFO: GPS data processed {"connection_id":230471,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:41:29] local.INFO: Acknowledgment sent {"connection_id":230471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:41:51] local.INFO: TCP Data received {"connection_id":229954,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:41:51] local.INFO: Processing buffer {"connection_id":229954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:41:51] local.INFO: IMEI packet received {"connection_id":229954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":229954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:41:57] local.INFO: TCP Data received {"connection_id":229954,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:41:57] local.INFO: Processing buffer {"connection_id":229954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:41:57] local.INFO: IMEI packet received {"connection_id":229954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":229954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:41:58] local.INFO: TCP Data received {"connection_id":229954,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acb15810012d6ecc80060cd8380006013330..."} 
[2026-11-05 22:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acb15810012d6ecc80060cd8380006013330..."} 
[2026-11-05 22:41:58] local.INFO: Processing buffer {"connection_id":229954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acb15810012d6ecc80060cd8380006013330..."} 
[2026-11-05 22:41:58] local.INFO: Packet analysis {"connection_id":229954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acb1"} 
[2026-11-05 22:41:58] local.INFO: Extracted packet for processing {"connection_id":229954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acb1"} 
[2026-11-05 22:41:58] local.INFO: GPS Element Parsed {"raw_longitude":762236032,"raw_latitude":101505080,"longitude_deg":76.2236032,"latitude_deg":10.150508,"altitude":6,"angle":307,"satellites":48,"speed":8,"hex_longitude":"2d6ecc80","hex_latitude":"060cd838","is_valid_coordinates":true} 
[2026-11-05 22:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238057984001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40644748695830528,"note":"Value kept but may cause issues"} 
[2026-11-05 22:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7984108109127172096,"note":"Value kept but may cause issues"} 
[2026-11-05 22:41:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793898666000,"timestamp_ms":1793898666000,"timestamp_seconds":1793898666,"priority":1,"record_length":96,"hex_timestamp":"000001a1acb15810"} 
[2026-11-05 22:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:41:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 22:41:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:41:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":229954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":229954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":229954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:41:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238057984001,"66":27365,"242":206,"8":65280,"24":8,"16":40644748695830528,"45":7984108109127172096},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,8,24,16,45]} 
[2026-11-05 22:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238057984001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:41:58] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-11-05 22:41:58] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-05 22:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40644748695830528,"km_value":40644748695830.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7984108109127172096,"description":"Unknown IO ID 45"} 
[2026-11-05 22:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238057984001,"power":27365,"unknown_242":206,"unknown_8":65280,"ignition":8,"odometer":null,"unknown_45":7984108109127172096}} 
[2026-11-05 22:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":229954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:41:58] local.INFO: GPS data processed {"connection_id":229954,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:41:58] local.INFO: Acknowledgment sent {"connection_id":229954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:42:29] local.INFO: TCP Data received {"connection_id":229954,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acb15fe0012d6ecac0060cd9380006011c31..."} 
[2026-11-05 22:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acb15fe0012d6ecac0060cd9380006011c31..."} 
[2026-11-05 22:42:29] local.INFO: Processing buffer {"connection_id":229954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acb15fe0012d6ecac0060cd9380006011c31..."} 
[2026-11-05 22:42:29] local.INFO: Packet analysis {"connection_id":229954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acb1"} 
[2026-11-05 22:42:29] local.INFO: Extracted packet for processing {"connection_id":229954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acb1"} 
[2026-11-05 22:42:29] local.INFO: GPS Element Parsed {"raw_longitude":762235584,"raw_latitude":101505336,"longitude_deg":76.2235584,"latitude_deg":10.1505336,"altitude":6,"angle":284,"satellites":49,"speed":11,"hex_longitude":"2d6ecac0","hex_latitude":"060cd938","is_valid_coordinates":true} 
[2026-11-05 22:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238058496001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40644774465634304,"note":"Value kept but may cause issues"} 
[2026-11-05 22:42:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7983897002894702592,"note":"Value kept but may cause issues"} 
[2026-11-05 22:42:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793898668000,"timestamp_ms":1793898668000,"timestamp_seconds":1793898668,"priority":1,"record_length":96,"hex_timestamp":"000001a1acb15fe0"} 
[2026-11-05 22:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:42:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 22:42:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:42:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":229954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":229954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":229954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:42:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238058496001,"66":27365,"242":206,"8":65280,"24":11,"16":40644774465634304,"45":7983897002894702592},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,8,24,16,45]} 
[2026-11-05 22:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238058496001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:42:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-11-05 22:42:29] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-05 22:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40644774465634304,"km_value":40644774465634.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:42:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7983897002894702592,"description":"Unknown IO ID 45"} 
[2026-11-05 22:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238058496001,"power":27365,"unknown_242":206,"unknown_8":65280,"ignition":11,"odometer":null,"unknown_45":7983897002894702592}} 
[2026-11-05 22:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":229954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:42:29] local.INFO: GPS data processed {"connection_id":229954,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:42:29] local.INFO: Acknowledgment sent {"connection_id":229954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:42:51] local.INFO: TCP Data received {"connection_id":233712,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:42:51] local.INFO: Processing buffer {"connection_id":233712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:42:51] local.INFO: IMEI packet received {"connection_id":233712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":233712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:42:57] local.INFO: TCP Data received {"connection_id":233712,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:42:57] local.INFO: Processing buffer {"connection_id":233712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:42:57] local.INFO: IMEI packet received {"connection_id":233712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":233712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:42:58] local.INFO: TCP Data received {"connection_id":233712,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acb163c8012d6ec980060cd9700007010c30..."} 
[2026-11-05 22:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acb163c8012d6ec980060cd9700007010c30..."} 
[2026-11-05 22:42:58] local.INFO: Processing buffer {"connection_id":233712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acb163c8012d6ec980060cd9700007010c30..."} 
[2026-11-05 22:42:58] local.INFO: Packet analysis {"connection_id":233712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acb1"} 
[2026-11-05 22:42:58] local.INFO: Extracted packet for processing {"connection_id":233712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acb1"} 
[2026-11-05 22:42:58] local.INFO: GPS Element Parsed {"raw_longitude":762235264,"raw_latitude":101505392,"longitude_deg":76.2235264,"latitude_deg":10.1505392,"altitude":7,"angle":268,"satellites":48,"speed":12,"hex_longitude":"2d6ec980","hex_latitude":"060cd970","is_valid_coordinates":true} 
[2026-11-05 22: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-05 22:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238059008001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40644787350536192,"note":"Value kept but may cause issues"} 
[2026-11-05 22:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7983404421685524480,"note":"Value kept but may cause issues"} 
[2026-11-05 22:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793898669000,"timestamp_ms":1793898669000,"timestamp_seconds":1793898669,"priority":1,"record_length":96,"hex_timestamp":"000001a1acb163c8"} 
[2026-11-05 22: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-05 22:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 22:42:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22: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-05 22: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-05 22:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":233712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":233712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":233712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238059008001,"66":27441,"242":206,"8":65280,"24":12,"16":40644787350536192,"45":7983404421685524480},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,8,24,16,45]} 
[2026-11-05 22:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238059008001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:42:58] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-11-05 22:42:58] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-05 22:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40644787350536192,"km_value":40644787350536.195,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7983404421685524480,"description":"Unknown IO ID 45"} 
[2026-11-05 22:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238059008001,"power":27441,"unknown_242":206,"unknown_8":65280,"ignition":12,"odometer":null,"unknown_45":7983404421685524480}} 
[2026-11-05 22:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":233712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:42:58] local.INFO: GPS data processed {"connection_id":233712,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:42:58] local.INFO: Acknowledgment sent {"connection_id":233712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:43:30] local.INFO: TCP Data received {"connection_id":233712,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acb259e0012d6e5b80060cc9200008010330..."} 
[2026-11-05 22:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acb259e0012d6e5b80060cc9200008010330..."} 
[2026-11-05 22:43:30] local.INFO: Processing buffer {"connection_id":233712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acb259e0012d6e5b80060cc9200008010330..."} 
[2026-11-05 22:43:30] local.INFO: Packet analysis {"connection_id":233712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acb2"} 
[2026-11-05 22:43:30] local.INFO: Extracted packet for processing {"connection_id":233712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acb2"} 
[2026-11-05 22:43:30] local.INFO: GPS Element Parsed {"raw_longitude":762207104,"raw_latitude":101501216,"longitude_deg":76.2207104,"latitude_deg":10.1501216,"altitude":8,"angle":259,"satellites":48,"speed":16,"hex_longitude":"2d6e5b80","hex_latitude":"060cc920","is_valid_coordinates":true} 
[2026-11-05 22:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238070784001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40646208984711168,"note":"Value kept but may cause issues"} 
[2026-11-05 22:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7961519742245992448,"note":"Value kept but may cause issues"} 
[2026-11-05 22:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793898732000,"timestamp_ms":1793898732000,"timestamp_seconds":1793898732,"priority":1,"record_length":96,"hex_timestamp":"000001a1acb259e0"} 
[2026-11-05 22:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-05 22:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":233712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":233712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":233712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238070784001,"66":27517,"242":206,"8":65280,"24":16,"16":40646208984711168,"45":7961519742245992448},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,8,24,16,45]} 
[2026-11-05 22:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238070784001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:43:30] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-11-05 22:43:30] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-05 22:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40646208984711168,"km_value":40646208984711.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":7961519742245992448,"description":"Unknown IO ID 45"} 
[2026-11-05 22:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238070784001,"power":27517,"unknown_242":206,"unknown_8":65280,"ignition":16,"odometer":null,"unknown_45":7961519742245992448}} 
[2026-11-05 22:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":233712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:43:30] local.INFO: GPS data processed {"connection_id":233712,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:43:30] local.INFO: Acknowledgment sent {"connection_id":233712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:43:51] local.INFO: TCP Data received {"connection_id":230472,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:43:51] local.INFO: Processing buffer {"connection_id":230472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:43:51] local.INFO: IMEI packet received {"connection_id":230472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":230472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:43:55] local.INFO: TCP Data received {"connection_id":230472,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:43:55] local.INFO: Processing buffer {"connection_id":230472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:43:55] local.INFO: IMEI packet received {"connection_id":230472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":230472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:44:01] local.INFO: TCP Data received {"connection_id":230472,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:44:01] local.INFO: Processing buffer {"connection_id":230472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:44:01] local.INFO: IMEI packet received {"connection_id":230472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":230472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:44:02] local.INFO: TCP Data received {"connection_id":230472,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acb29090012d6e4240060cc218000700f731..."} 
[2026-11-05 22:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acb29090012d6e4240060cc218000700f731..."} 
[2026-11-05 22:44:02] local.INFO: Processing buffer {"connection_id":230472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acb29090012d6e4240060cc218000700f731..."} 
[2026-11-05 22:44:02] local.INFO: Packet analysis {"connection_id":230472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acb2"} 
[2026-11-05 22:44:02] local.INFO: Extracted packet for processing {"connection_id":230472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acb2"} 
[2026-11-05 22:44:02] local.INFO: GPS Element Parsed {"raw_longitude":762200640,"raw_latitude":101499416,"longitude_deg":76.220064,"latitude_deg":10.1499416,"altitude":7,"angle":247,"satellites":49,"speed":10,"hex_longitude":"2d6e4240","hex_latitude":"060cc218","is_valid_coordinates":true} 
[2026-11-05 22:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238075392001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40646531107258368,"note":"Value kept but may cause issues"} 
[2026-11-05 22:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7952090330525409280,"note":"Value kept but may cause issues"} 
[2026-11-05 22:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1793898746000,"timestamp_ms":1793898746000,"timestamp_seconds":1793898746,"priority":1,"record_length":96,"hex_timestamp":"000001a1acb29090"} 
[2026-11-05 22:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-05 22:44:02] 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-05 22:44:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":230472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":230472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":230472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238075392001,"66":26930,"242":206,"8":65280,"24":10,"16":40646531107258368,"45":7952090330525409280},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,8,24,16,45]} 
[2026-11-05 22:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238075392001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:44:02] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-11-05 22:44:02] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-05 22:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40646531107258368,"km_value":40646531107258.37,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7952090330525409280,"description":"Unknown IO ID 45"} 
[2026-11-05 22:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238075392001,"power":26930,"unknown_242":206,"unknown_8":65280,"ignition":10,"odometer":null,"unknown_45":7952090330525409280}} 
[2026-11-05 22:44:02] 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":64681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:44:02] local.INFO: GPS data processed {"connection_id":230472,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:44:02] local.INFO: Acknowledgment sent {"connection_id":230472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:44:08] local.INFO: TCP Data received {"connection_id":230472,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acb2e298012d6e2240060cb610000900fb30..."} 
[2026-11-05 22:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acb2e298012d6e2240060cb610000900fb30..."} 
[2026-11-05 22:44:08] local.INFO: Processing buffer {"connection_id":230472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acb2e298012d6e2240060cb610000900fb30..."} 
[2026-11-05 22:44:08] local.INFO: Packet analysis {"connection_id":230472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acb2"} 
[2026-11-05 22:44:08] local.INFO: Extracted packet for processing {"connection_id":230472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acb2"} 
[2026-11-05 22:44:08] local.INFO: GPS Element Parsed {"raw_longitude":762192448,"raw_latitude":101496336,"longitude_deg":76.2192448,"latitude_deg":10.1496336,"altitude":9,"angle":251,"satellites":48,"speed":18,"hex_longitude":"2d6e2240","hex_latitude":"060cb610","is_valid_coordinates":true} 
[2026-11-05 22:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238078976001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40646947719086080,"note":"Value kept but may cause issues"} 
[2026-11-05 22:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7944983087363004416,"note":"Value kept but may cause issues"} 
[2026-11-05 22:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793898767000,"timestamp_ms":1793898767000,"timestamp_seconds":1793898767,"priority":1,"record_length":96,"hex_timestamp":"000001a1acb2e298"} 
[2026-11-05 22:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-11-05 22:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":230472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":230472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":230472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238078976001,"66":27571,"242":206,"8":65280,"24":18,"16":40646947719086080,"45":7944983087363004416},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,8,24,16,45]} 
[2026-11-05 22:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238078976001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:44:08] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-11-05 22:44:08] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-05 22:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40646947719086080,"km_value":40646947719086.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7944983087363004416,"description":"Unknown IO ID 45"} 
[2026-11-05 22:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238078976001,"power":27571,"unknown_242":206,"unknown_8":65280,"ignition":18,"odometer":null,"unknown_45":7944983087363004416}} 
[2026-11-05 22:44:08] 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":64682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:44:08] local.INFO: GPS data processed {"connection_id":230472,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:44:08] local.INFO: Acknowledgment sent {"connection_id":230472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:45:02] local.INFO: TCP Data received {"connection_id":231816,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:45:02] local.INFO: Processing buffer {"connection_id":231816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:45:02] local.INFO: IMEI packet received {"connection_id":231816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":231816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:45:30] local.INFO: TCP Data received {"connection_id":230473,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:45:30] local.INFO: Processing buffer {"connection_id":230473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:45:30] local.INFO: IMEI packet received {"connection_id":230473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 22:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":230473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:45:50] local.INFO: TCP Data received {"connection_id":231816,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:45:50] local.INFO: Processing buffer {"connection_id":231816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:45:50] local.INFO: IMEI packet received {"connection_id":231816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":231816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:45:56] local.INFO: TCP Data received {"connection_id":231816,"ip":"117.224.67.80","data_length":1360,"data_hex":"000000000000030f8e0a000001a1acb3dc98012d6dc400060cc7380005010f2d..."} 
[2026-11-05 22:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231816,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a1acb3dc98012d6dc400060cc7380005010f2d..."} 
[2026-11-05 22:45:56] local.INFO: Processing buffer {"connection_id":231816,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a1acb3dc98012d6dc400060cc7380005010f2d..."} 
[2026-11-05 22:45:56] local.INFO: Packet analysis {"connection_id":231816,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a1acb3"} 
[2026-11-05 22:45:56] local.INFO: Extracted packet for processing {"connection_id":231816,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a1acb3"} 
[2026-11-05 22:45:56] local.INFO: GPS Element Parsed {"raw_longitude":762168320,"raw_latitude":101500728,"longitude_deg":76.216832,"latitude_deg":10.1500728,"altitude":5,"angle":271,"satellites":45,"speed":24,"hex_longitude":"2d6dc400","hex_latitude":"060cc738","is_valid_coordinates":true} 
[2026-11-05 22:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238100224001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40648279158947840,"note":"Value kept but may cause issues"} 
[2026-11-05 22:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7910854246437132288,"note":"Value kept but may cause issues"} 
[2026-11-05 22:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793898831000,"timestamp_ms":1793898831000,"timestamp_seconds":1793898831,"priority":1,"record_length":96,"hex_timestamp":"000001a1acb3dc98"} 
[2026-11-05 22:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 22:45:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":231816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":231816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":231816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238100224001,"66":27365,"110":206,"19":43264,"24":24,"16":40648279158947840,"45":7910854246437132288},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,19,24,16,45]} 
[2026-11-05 22:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238100224001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:45:56] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-11-05 22:45:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40648279158947840,"km_value":40648279158947.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":7910854246437132288,"description":"Unknown IO ID 45"} 
[2026-11-05 22:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238100224001,"power":27365,"unknown_110":206,"unknown_19":43264,"ignition":24,"odometer":null,"unknown_45":7910854246437132288}} 
[2026-11-05 22:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":231816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:45:56] local.INFO: GPS data processed {"connection_id":231816,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:45:56] local.INFO: Acknowledgment sent {"connection_id":231816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:45:56] local.INFO: Packet analysis {"connection_id":231816,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a1acb3"} 
[2026-11-05 22:45:56] local.INFO: Incomplete packet, waiting for more data {"connection_id":231816,"needed":795,"available":565} 
[2026-11-05 22:45:57] local.INFO: TCP Data received {"connection_id":233713,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:45:57] local.INFO: Processing buffer {"connection_id":233713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:45:57] local.INFO: IMEI packet received {"connection_id":233713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":233713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:45:58] local.INFO: TCP Data received {"connection_id":233713,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:45:58] local.INFO: Processing buffer {"connection_id":233713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:45:58] local.INFO: IMEI packet received {"connection_id":233713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":233713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:46:02] local.INFO: TCP Data received {"connection_id":233713,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:46:02] local.INFO: Processing buffer {"connection_id":233713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:46:02] local.INFO: IMEI packet received {"connection_id":233713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":233713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:46:02] local.INFO: TCP Data received {"connection_id":233713,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acb40790012d6daf00060ccbc8000701262b..."} 
[2026-11-05 22:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acb40790012d6daf00060ccbc8000701262b..."} 
[2026-11-05 22:46:02] local.INFO: Processing buffer {"connection_id":233713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acb40790012d6daf00060ccbc8000701262b..."} 
[2026-11-05 22:46:02] local.INFO: Packet analysis {"connection_id":233713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acb4"} 
[2026-11-05 22:46:02] local.INFO: Extracted packet for processing {"connection_id":233713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acb4"} 
[2026-11-05 22:46:02] local.INFO: GPS Element Parsed {"raw_longitude":762162944,"raw_latitude":101501896,"longitude_deg":76.2162944,"latitude_deg":10.1501896,"altitude":7,"angle":294,"satellites":43,"speed":15,"hex_longitude":"2d6daf00","hex_latitude":"060ccbc8","is_valid_coordinates":true} 
[2026-11-05 22:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238101760001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40648545446920192,"note":"Value kept but may cause issues"} 
[2026-11-05 22:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7906632121786568704,"note":"Value kept but may cause issues"} 
[2026-11-05 22:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1793898842000,"timestamp_ms":1793898842000,"timestamp_seconds":1793898842,"priority":1,"record_length":96,"hex_timestamp":"000001a1acb40790"} 
[2026-11-05 22:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 22:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":233713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":233713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":233713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238101760001,"66":27463,"110":206,"19":43264,"24":15,"16":40648545446920192,"45":7906632121786568704},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,19,24,16,45]} 
[2026-11-05 22:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238101760001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:46:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-11-05 22:46:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40648545446920192,"km_value":40648545446920.195,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7906632121786568704,"description":"Unknown IO ID 45"} 
[2026-11-05 22:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238101760001,"power":27463,"unknown_110":206,"unknown_19":43264,"ignition":15,"odometer":null,"unknown_45":7906632121786568704}} 
[2026-11-05 22:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":233713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:46:03] local.INFO: GPS data processed {"connection_id":233713,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:46:03] local.INFO: Acknowledgment sent {"connection_id":233713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:46:34] local.INFO: TCP Data received {"connection_id":233713,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acb547e0012d6d52c0060d59600007015530..."} 
[2026-11-05 22:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acb547e0012d6d52c0060d59600007015530..."} 
[2026-11-05 22:46:34] local.INFO: Processing buffer {"connection_id":233713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acb547e0012d6d52c0060d59600007015530..."} 
[2026-11-05 22:46:34] local.INFO: Packet analysis {"connection_id":233713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acb5"} 
[2026-11-05 22:46:34] local.INFO: Extracted packet for processing {"connection_id":233713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acb5"} 
[2026-11-05 22:46:34] local.INFO: GPS Element Parsed {"raw_longitude":762139328,"raw_latitude":101538144,"longitude_deg":76.2139328,"latitude_deg":10.1538144,"altitude":7,"angle":341,"satellites":48,"speed":16,"hex_longitude":"2d6d52c0","hex_latitude":"060d5960","is_valid_coordinates":true} 
[2026-11-05 22:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238123520001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40650804599717888,"note":"Value kept but may cause issues"} 
[2026-11-05 22:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7878343886636312576,"note":"Value kept but may cause issues"} 
[2026-11-05 22:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793898924000,"timestamp_ms":1793898924000,"timestamp_seconds":1793898924,"priority":1,"record_length":96,"hex_timestamp":"000001a1acb547e0"} 
[2026-11-05 22:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:46: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-05 22:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 22:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":233713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":233713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":233713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238123520001,"66":27300,"61":206,"19":43264,"24":16,"16":40650804599717888,"45":7878343886636312576},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,19,24,16,45]} 
[2026-11-05 22:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238123520001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:46:34] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-11-05 22:46:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40650804599717888,"km_value":40650804599717.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7878343886636312576,"description":"Unknown IO ID 45"} 
[2026-11-05 22:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238123520001,"power":27300,"unknown_61":206,"unknown_19":43264,"ignition":16,"odometer":null,"unknown_45":7878343886636312576}} 
[2026-11-05 22:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":233713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:46:34] local.INFO: GPS data processed {"connection_id":233713,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:46:34] local.INFO: Acknowledgment sent {"connection_id":233713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:46:57] local.INFO: TCP Data received {"connection_id":230474,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:46:57] local.INFO: Processing buffer {"connection_id":230474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:46:57] local.INFO: IMEI packet received {"connection_id":230474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":230474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:47:03] local.INFO: TCP Data received {"connection_id":230474,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:47:03] local.INFO: Processing buffer {"connection_id":230474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:47:03] local.INFO: IMEI packet received {"connection_id":230474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":230474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:47:04] local.INFO: TCP Data received {"connection_id":230474,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acb58a48012d6d4700060d7c400009015c2f..."} 
[2026-11-05 22:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acb58a48012d6d4700060d7c400009015c2f..."} 
[2026-11-05 22:47:04] local.INFO: Processing buffer {"connection_id":230474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acb58a48012d6d4700060d7c400009015c2f..."} 
[2026-11-05 22:47:04] local.INFO: Packet analysis {"connection_id":230474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acb5"} 
[2026-11-05 22:47:04] local.INFO: Extracted packet for processing {"connection_id":230474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acb5"} 
[2026-11-05 22:47:04] local.INFO: GPS Element Parsed {"raw_longitude":762136320,"raw_latitude":101547072,"longitude_deg":76.213632,"latitude_deg":10.1547072,"altitude":9,"angle":348,"satellites":47,"speed":24,"hex_longitude":"2d6d4700","hex_latitude":"060d7c40","is_valid_coordinates":true} 
[2026-11-05 22:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238124544001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40651264161218560,"note":"Value kept but may cause issues"} 
[2026-11-05 22:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7877569830450716672,"note":"Value kept but may cause issues"} 
[2026-11-05 22:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793898941000,"timestamp_ms":1793898941000,"timestamp_seconds":1793898941,"priority":1,"record_length":96,"hex_timestamp":"000001a1acb58a48"} 
[2026-11-05 22:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 22:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":230474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":230474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":230474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238124544001,"66":27376,"61":206,"19":43264,"24":24,"16":40651264161218560,"45":7877569830450716672},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,19,24,16,45]} 
[2026-11-05 22:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238124544001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:47:04] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-11-05 22:47:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40651264161218560,"km_value":40651264161218.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7877569830450716672,"description":"Unknown IO ID 45"} 
[2026-11-05 22:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238124544001,"power":27376,"unknown_61":206,"unknown_19":43264,"ignition":24,"odometer":null,"unknown_45":7877569830450716672}} 
[2026-11-05 22:47:04] 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":64686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:47:04] local.INFO: GPS data processed {"connection_id":230474,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:47:04] local.INFO: Acknowledgment sent {"connection_id":230474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:47:35] local.INFO: TCP Data received {"connection_id":230474,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acb5c0f8012d6d42c0060d9f980009016130..."} 
[2026-11-05 22:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acb5c0f8012d6d42c0060d9f980009016130..."} 
[2026-11-05 22:47:35] local.INFO: Processing buffer {"connection_id":230474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acb5c0f8012d6d42c0060d9f980009016130..."} 
[2026-11-05 22:47:35] local.INFO: Packet analysis {"connection_id":230474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acb5"} 
[2026-11-05 22:47:35] local.INFO: Extracted packet for processing {"connection_id":230474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acb5"} 
[2026-11-05 22:47:35] local.INFO: GPS Element Parsed {"raw_longitude":762135232,"raw_latitude":101556120,"longitude_deg":76.2135232,"latitude_deg":10.155612,"altitude":9,"angle":353,"satellites":48,"speed":27,"hex_longitude":"2d6d42c0","hex_latitude":"060d9f98","is_valid_coordinates":true} 
[2026-11-05 22:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238128896001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40651706542850048,"note":"Value kept but may cause issues"} 
[2026-11-05 22:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7874262499476652032,"note":"Value kept but may cause issues"} 
[2026-11-05 22:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1793898955000,"timestamp_ms":1793898955000,"timestamp_seconds":1793898955,"priority":1,"record_length":96,"hex_timestamp":"000001a1acb5c0f8"} 
[2026-11-05 22:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 22:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":230474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":230474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":230474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238128896001,"66":27376,"61":206,"19":43264,"24":27,"16":40651706542850048,"45":7874262499476652032},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,19,24,16,45]} 
[2026-11-05 22:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238128896001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:47:35] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-11-05 22:47:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40651706542850048,"km_value":40651706542850.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7874262499476652032,"description":"Unknown IO ID 45"} 
[2026-11-05 22:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238128896001,"power":27376,"unknown_61":206,"unknown_19":43264,"ignition":27,"odometer":null,"unknown_45":7874262499476652032}} 
[2026-11-05 22:47:35] 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":64687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:47:35] local.INFO: GPS data processed {"connection_id":230474,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:47:35] local.INFO: Acknowledgment sent {"connection_id":230474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:47:50] local.INFO: TCP Data received {"connection_id":229955,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:47:50] local.INFO: Processing buffer {"connection_id":229955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:47:50] local.INFO: IMEI packet received {"connection_id":229955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":229955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:47:51] local.INFO: TCP Data received {"connection_id":229955,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:47:51] local.INFO: Processing buffer {"connection_id":229955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:47:51] local.INFO: IMEI packet received {"connection_id":229955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":229955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:47:56] local.INFO: TCP Data received {"connection_id":229955,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:47:56] local.INFO: Processing buffer {"connection_id":229955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:47:56] local.INFO: IMEI packet received {"connection_id":229955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":229955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:47:58] local.INFO: TCP Data received {"connection_id":229955,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acb5e038012d6d4200060db688000a000531..."} 
[2026-11-05 22:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acb5e038012d6d4200060db688000a000531..."} 
[2026-11-05 22:47:58] local.INFO: Processing buffer {"connection_id":229955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acb5e038012d6d4200060db688000a000531..."} 
[2026-11-05 22:47:58] local.INFO: Packet analysis {"connection_id":229955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acb5"} 
[2026-11-05 22:47:58] local.INFO: Extracted packet for processing {"connection_id":229955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acb5"} 
[2026-11-05 22:47:58] local.INFO: GPS Element Parsed {"raw_longitude":762135040,"raw_latitude":101561992,"longitude_deg":76.213504,"latitude_deg":10.1561992,"altitude":10,"angle":5,"satellites":49,"speed":30,"hex_longitude":"2d6d4200","hex_latitude":"060db688","is_valid_coordinates":true} 
[2026-11-05 22:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238132480001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40651994305658880,"note":"Value kept but may cause issues"} 
[2026-11-05 22:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7873066230827948032,"note":"Value kept but may cause issues"} 
[2026-11-05 22:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793898963000,"timestamp_ms":1793898963000,"timestamp_seconds":1793898963,"priority":1,"record_length":96,"hex_timestamp":"000001a1acb5e038"} 
[2026-11-05 22:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 22:47:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:47:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":229955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":229955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":229955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238132480001,"66":27517,"61":206,"19":43264,"24":30,"16":40651994305658880,"45":7873066230827948032},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,19,24,16,45]} 
[2026-11-05 22:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238132480001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:47:58] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-11-05 22:47:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40651994305658880,"km_value":40651994305658.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7873066230827948032,"description":"Unknown IO ID 45"} 
[2026-11-05 22:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238132480001,"power":27517,"unknown_61":206,"unknown_19":43264,"ignition":30,"odometer":null,"unknown_45":7873066230827948032}} 
[2026-11-05 22:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":229955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:47:58] local.INFO: GPS data processed {"connection_id":229955,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:47:58] local.INFO: Acknowledgment sent {"connection_id":229955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:48:31] local.INFO: TCP Data received {"connection_id":229955,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acb60360012d6d4440060dd180000a016030..."} 
[2026-11-05 22:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acb60360012d6d4440060dd180000a016030..."} 
[2026-11-05 22:48:31] local.INFO: Processing buffer {"connection_id":229955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acb60360012d6d4440060dd180000a016030..."} 
[2026-11-05 22:48:31] local.INFO: Packet analysis {"connection_id":229955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acb6"} 
[2026-11-05 22:48:31] local.INFO: Extracted packet for processing {"connection_id":229955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acb6"} 
[2026-11-05 22:48:31] local.INFO: GPS Element Parsed {"raw_longitude":762135616,"raw_latitude":101568896,"longitude_deg":76.2135616,"latitude_deg":10.1568896,"altitude":10,"angle":352,"satellites":48,"speed":30,"hex_longitude":"2d6d4440","hex_latitude":"060dd180","is_valid_coordinates":true} 
[2026-11-05 22:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238134528001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40652329313107968,"note":"Value kept but may cause issues"} 
[2026-11-05 22:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7872855124596918272,"note":"Value kept but may cause issues"} 
[2026-11-05 22:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793898972000,"timestamp_ms":1793898972000,"timestamp_seconds":1793898972,"priority":1,"record_length":96,"hex_timestamp":"000001a1acb60360"} 
[2026-11-05 22:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:48: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-05 22:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-05 22:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":229955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":229955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":229955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238134528001,"66":27463,"61":206,"19":43264,"24":30,"16":40652329313107968,"45":7872855124596918272},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,19,24,16,45]} 
[2026-11-05 22:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238134528001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:48:31] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-11-05 22:48:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40652329313107968,"km_value":40652329313107.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7872855124596918272,"description":"Unknown IO ID 45"} 
[2026-11-05 22:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238134528001,"power":27463,"unknown_61":206,"unknown_19":43264,"ignition":30,"odometer":null,"unknown_45":7872855124596918272}} 
[2026-11-05 22:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":229955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:48:31] local.INFO: GPS data processed {"connection_id":229955,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:48:31] local.INFO: Acknowledgment sent {"connection_id":229955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:48:51] local.INFO: TCP Data received {"connection_id":230475,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:48:51] local.INFO: Processing buffer {"connection_id":230475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:48:51] local.INFO: IMEI packet received {"connection_id":230475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":230475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:48:57] local.INFO: TCP Data received {"connection_id":230475,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:48:57] local.INFO: Processing buffer {"connection_id":230475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:48:57] local.INFO: IMEI packet received {"connection_id":230475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":230475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:48:58] local.INFO: TCP Data received {"connection_id":230475,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acb641e0012d6d3dc0060df5300008015e2f..."} 
[2026-11-05 22:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acb641e0012d6d3dc0060df5300008015e2f..."} 
[2026-11-05 22:48:58] local.INFO: Processing buffer {"connection_id":230475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acb641e0012d6d3dc0060df5300008015e2f..."} 
[2026-11-05 22:48:58] local.INFO: Packet analysis {"connection_id":230475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acb6"} 
[2026-11-05 22:48:58] local.INFO: Extracted packet for processing {"connection_id":230475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acb6"} 
[2026-11-05 22:48:58] local.INFO: GPS Element Parsed {"raw_longitude":762133952,"raw_latitude":101578032,"longitude_deg":76.2133952,"latitude_deg":10.1578032,"altitude":8,"angle":350,"satellites":47,"speed":25,"hex_longitude":"2d6d3dc0","hex_latitude":"060df530","is_valid_coordinates":true} 
[2026-11-05 22:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238136832001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40652784579641344,"note":"Value kept but may cause issues"} 
[2026-11-05 22:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7873488443296284672,"note":"Value kept but may cause issues"} 
[2026-11-05 22:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793898988000,"timestamp_ms":1793898988000,"timestamp_seconds":1793898988,"priority":1,"record_length":96,"hex_timestamp":"000001a1acb641e0"} 
[2026-11-05 22:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 22:48:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:48:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":230475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":230475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":230475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238136832001,"66":27571,"59":206,"19":43264,"24":25,"16":40652784579641344,"45":7873488443296284672},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-11-05 22:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238136832001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:48:58] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-11-05 22:48:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40652784579641344,"km_value":40652784579641.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7873488443296284672,"description":"Unknown IO ID 45"} 
[2026-11-05 22:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238136832001,"power":27571,"unknown_59":206,"unknown_19":43264,"ignition":25,"odometer":null,"unknown_45":7873488443296284672}} 
[2026-11-05 22:48: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":64690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:48:58] local.INFO: GPS data processed {"connection_id":230475,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:48:58] local.INFO: Acknowledgment sent {"connection_id":230475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:49:37] local.INFO: TCP Data received {"connection_id":230475,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acb668f0012d6d3900060e1068000500002f..."} 
[2026-11-05 22:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acb668f0012d6d3900060e1068000500002f..."} 
[2026-11-05 22:49:37] local.INFO: Processing buffer {"connection_id":230475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acb668f0012d6d3900060e1068000500002f..."} 
[2026-11-05 22:49:37] local.INFO: Packet analysis {"connection_id":230475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acb6"} 
[2026-11-05 22:49:37] local.INFO: Extracted packet for processing {"connection_id":230475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acb6"} 
[2026-11-05 22:49:37] local.INFO: GPS Element Parsed {"raw_longitude":762132736,"raw_latitude":101585000,"longitude_deg":76.2132736,"latitude_deg":10.1585,"altitude":5,"angle":0,"satellites":47,"speed":29,"hex_longitude":"2d6d3900","hex_latitude":"060e1068","is_valid_coordinates":true} 
[2026-11-05 22:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238140928001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40653123882057728,"note":"Value kept but may cause issues"} 
[2026-11-05 22:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7871658855950004224,"note":"Value kept but may cause issues"} 
[2026-11-05 22:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793898998000,"timestamp_ms":1793898998000,"timestamp_seconds":1793898998,"priority":1,"record_length":96,"hex_timestamp":"000001a1acb668f0"} 
[2026-11-05 22:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:49: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-05 22:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-05 22:49:37] 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-05 22:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":230475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":230475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":230475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238140928001,"66":27571,"59":206,"19":43264,"24":29,"16":40653123882057728,"45":7871658855950004224},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-11-05 22:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238140928001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:49:37] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-11-05 22:49:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40653123882057728,"km_value":40653123882057.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7871658855950004224,"description":"Unknown IO ID 45"} 
[2026-11-05 22:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238140928001,"power":27571,"unknown_59":206,"unknown_19":43264,"ignition":29,"odometer":null,"unknown_45":7871658855950004224}} 
[2026-11-05 22:49:37] 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":64691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:49:37] local.INFO: GPS data processed {"connection_id":230475,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:49:37] local.INFO: Acknowledgment sent {"connection_id":230475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:49:52] local.INFO: TCP Data received {"connection_id":231817,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:49:52] local.INFO: Processing buffer {"connection_id":231817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:49:52] local.INFO: IMEI packet received {"connection_id":231817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":231817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:49:57] local.INFO: TCP Data received {"connection_id":231817,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:49:57] local.INFO: Processing buffer {"connection_id":231817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:49:57] local.INFO: IMEI packet received {"connection_id":231817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":231817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:49:59] local.INFO: TCP Data received {"connection_id":231817,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acb674a8012d6d39c0060e19200006000d30..."} 
[2026-11-05 22:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acb674a8012d6d39c0060e19200006000d30..."} 
[2026-11-05 22:49:59] local.INFO: Processing buffer {"connection_id":231817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acb674a8012d6d39c0060e19200006000d30..."} 
[2026-11-05 22:49:59] local.INFO: Packet analysis {"connection_id":231817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acb6"} 
[2026-11-05 22:49:59] local.INFO: Extracted packet for processing {"connection_id":231817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acb6"} 
[2026-11-05 22:49:59] local.INFO: GPS Element Parsed {"raw_longitude":762132928,"raw_latitude":101587232,"longitude_deg":76.2132928,"latitude_deg":10.1587232,"altitude":6,"angle":13,"satellites":48,"speed":30,"hex_longitude":"2d6d39c0","hex_latitude":"060e1920","is_valid_coordinates":true} 
[2026-11-05 22:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238143488001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40653235551207424,"note":"Value kept but may cause issues"} 
[2026-11-05 22:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7870321849812412416,"note":"Value kept but may cause issues"} 
[2026-11-05 22:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793899001000,"timestamp_ms":1793899001000,"timestamp_seconds":1793899001,"priority":1,"record_length":96,"hex_timestamp":"000001a1acb674a8"} 
[2026-11-05 22:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-05 22:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":231817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":231817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":231817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238143488001,"66":27484,"59":206,"19":43264,"24":30,"16":40653235551207424,"45":7870321849812412416},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-11-05 22:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238143488001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:49:59] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-11-05 22:49:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40653235551207424,"km_value":40653235551207.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7870321849812412416,"description":"Unknown IO ID 45"} 
[2026-11-05 22:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238143488001,"power":27484,"unknown_59":206,"unknown_19":43264,"ignition":30,"odometer":null,"unknown_45":7870321849812412416}} 
[2026-11-05 22:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":231817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:49:59] local.INFO: GPS data processed {"connection_id":231817,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:49:59] local.INFO: Acknowledgment sent {"connection_id":231817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:50:31] local.INFO: TCP Data received {"connection_id":231817,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acb67890012d6d3b00060e1bc8000600192f..."} 
[2026-11-05 22:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acb67890012d6d3b00060e1bc8000600192f..."} 
[2026-11-05 22:50:31] local.INFO: Processing buffer {"connection_id":231817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acb67890012d6d3b00060e1bc8000600192f..."} 
[2026-11-05 22:50:31] local.INFO: Packet analysis {"connection_id":231817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acb6"} 
[2026-11-05 22:50:31] local.INFO: Extracted packet for processing {"connection_id":231817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acb6"} 
[2026-11-05 22:50:31] local.INFO: GPS Element Parsed {"raw_longitude":762133248,"raw_latitude":101587912,"longitude_deg":76.2133248,"latitude_deg":10.1587912,"altitude":6,"angle":25,"satellites":47,"speed":28,"hex_longitude":"2d6d3b00","hex_latitude":"060e1bc8","is_valid_coordinates":true} 
[2026-11-05 22:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238144256001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40653269910945792,"note":"Value kept but may cause issues"} 
[2026-11-05 22:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7870532956045516800,"note":"Value kept but may cause issues"} 
[2026-11-05 22:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793899002000,"timestamp_ms":1793899002000,"timestamp_seconds":1793899002,"priority":1,"record_length":96,"hex_timestamp":"000001a1acb67890"} 
[2026-11-05 22:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:50: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-05 22:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 22:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":231817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":231817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":231817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238144256001,"66":27484,"59":206,"19":43264,"24":28,"16":40653269910945792,"45":7870532956045516800},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-11-05 22:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238144256001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:50:31] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-11-05 22:50:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40653269910945792,"km_value":40653269910945.79,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7870532956045516800,"description":"Unknown IO ID 45"} 
[2026-11-05 22:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238144256001,"power":27484,"unknown_59":206,"unknown_19":43264,"ignition":28,"odometer":null,"unknown_45":7870532956045516800}} 
[2026-11-05 22:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":231817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:50:31] local.INFO: GPS data processed {"connection_id":231817,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:50:31] local.INFO: Acknowledgment sent {"connection_id":231817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:50:56] local.INFO: TCP Data received {"connection_id":231818,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:50:56] local.INFO: Processing buffer {"connection_id":231818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:50:56] local.INFO: IMEI packet received {"connection_id":231818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":231818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:51:02] local.INFO: TCP Data received {"connection_id":231818,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:51:02] local.INFO: Processing buffer {"connection_id":231818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:51:02] local.INFO: IMEI packet received {"connection_id":231818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":231818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:51:03] local.INFO: TCP Data received {"connection_id":231818,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acb69bb8012d6d4580060e31300006000b2e..."} 
[2026-11-05 22:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acb69bb8012d6d4580060e31300006000b2e..."} 
[2026-11-05 22:51:03] local.INFO: Processing buffer {"connection_id":231818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acb69bb8012d6d4580060e31300006000b2e..."} 
[2026-11-05 22:51:03] local.INFO: Packet analysis {"connection_id":231818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acb6"} 
[2026-11-05 22:51:03] local.INFO: Extracted packet for processing {"connection_id":231818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acb6"} 
[2026-11-05 22:51:03] local.INFO: GPS Element Parsed {"raw_longitude":762135936,"raw_latitude":101593392,"longitude_deg":76.2135936,"latitude_deg":10.1593392,"altitude":6,"angle":11,"satellites":46,"speed":14,"hex_longitude":"2d6d4580","hex_latitude":"060e3130","is_valid_coordinates":true} 
[2026-11-05 22:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238144512001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40653566263689216,"note":"Value kept but may cause issues"} 
[2026-11-05 22:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7870884799766579200,"note":"Value kept but may cause issues"} 
[2026-11-05 22:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1793899011000,"timestamp_ms":1793899011000,"timestamp_seconds":1793899011,"priority":1,"record_length":96,"hex_timestamp":"000001a1acb69bb8"} 
[2026-11-05 22:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 22:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":231818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":231818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":231818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238144512001,"66":27397,"59":206,"19":43264,"24":14,"16":40653566263689216,"45":7870884799766579200},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-11-05 22:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238144512001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:51:03] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-11-05 22:51:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40653566263689216,"km_value":40653566263689.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7870884799766579200,"description":"Unknown IO ID 45"} 
[2026-11-05 22:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238144512001,"power":27397,"unknown_59":206,"unknown_19":43264,"ignition":14,"odometer":null,"unknown_45":7870884799766579200}} 
[2026-11-05 22:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":231818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:51:03] local.INFO: GPS data processed {"connection_id":231818,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:51:03] local.INFO: Acknowledgment sent {"connection_id":231818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:51:05] local.INFO: TCP Data received {"connection_id":233714,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:51:05] local.INFO: Processing buffer {"connection_id":233714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:51:05] local.INFO: IMEI packet received {"connection_id":233714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 22:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":233714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:51:35] local.INFO: TCP Data received {"connection_id":231818,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acb99958012d6d5f00060e7d30000900132e..."} 
[2026-11-05 22:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acb99958012d6d5f00060e7d30000900132e..."} 
[2026-11-05 22:51:35] local.INFO: Processing buffer {"connection_id":231818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acb99958012d6d5f00060e7d30000900132e..."} 
[2026-11-05 22:51:35] local.INFO: Packet analysis {"connection_id":231818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acb9"} 
[2026-11-05 22:51:35] local.INFO: Extracted packet for processing {"connection_id":231818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acb9"} 
[2026-11-05 22:51:35] local.INFO: GPS Element Parsed {"raw_longitude":762142464,"raw_latitude":101612848,"longitude_deg":76.2142464,"latitude_deg":10.1612848,"altitude":9,"angle":19,"satellites":46,"speed":0,"hex_longitude":"2d6d5f00","hex_latitude":"060e7d30","is_valid_coordinates":true} 
[2026-11-05 22:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238191616001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40654588465905664,"note":"Value kept but may cause issues"} 
[2026-11-05 22:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7880877161446129664,"note":"Value kept but may cause issues"} 
[2026-11-05 22:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1793899207000,"timestamp_ms":1793899207000,"timestamp_seconds":1793899207,"priority":1,"record_length":96,"hex_timestamp":"000001a1acb99958"} 
[2026-11-05 22:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 22:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":231818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":231818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":231818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238191616001,"66":27484,"59":206,"19":43264,"24":0,"16":40654588465905664,"45":7880877161446129664},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-11-05 22:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238191616001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:51:35] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-11-05 22:51:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40654588465905664,"km_value":40654588465905.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7880877161446129664,"description":"Unknown IO ID 45"} 
[2026-11-05 22:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238191616001,"power":27484,"unknown_59":206,"unknown_19":43264,"ignition":0,"odometer":null,"unknown_45":7880877161446129664}} 
[2026-11-05 22:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":231818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:51:35] local.INFO: GPS data processed {"connection_id":231818,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:51:35] local.INFO: Acknowledgment sent {"connection_id":231818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:51:52] local.INFO: TCP Data received {"connection_id":229956,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:51:52] local.INFO: Processing buffer {"connection_id":229956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:51:52] local.INFO: IMEI packet received {"connection_id":229956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":229956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:51:57] local.INFO: TCP Data received {"connection_id":229956,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:51:57] local.INFO: Processing buffer {"connection_id":229956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:51:57] local.INFO: IMEI packet received {"connection_id":229956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":229956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:51:58] local.INFO: TCP Data received {"connection_id":229956,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acb9eb60012d6d62c0060e86b00009000c2f..."} 
[2026-11-05 22:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acb9eb60012d6d62c0060e86b00009000c2f..."} 
[2026-11-05 22:51:58] local.INFO: Processing buffer {"connection_id":229956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acb9eb60012d6d62c0060e86b00009000c2f..."} 
[2026-11-05 22:51:58] local.INFO: Packet analysis {"connection_id":229956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acb9"} 
[2026-11-05 22:51:58] local.INFO: Extracted packet for processing {"connection_id":229956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acb9"} 
[2026-11-05 22:51:58] local.INFO: GPS Element Parsed {"raw_longitude":762143424,"raw_latitude":101615280,"longitude_deg":76.2143424,"latitude_deg":10.161528,"altitude":9,"angle":12,"satellites":47,"speed":11,"hex_longitude":"2d6d62c0","hex_latitude":"060e86b0","is_valid_coordinates":true} 
[2026-11-05 22:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238196992001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40654717314924544,"note":"Value kept but may cause issues"} 
[2026-11-05 22:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7881017898934546432,"note":"Value kept but may cause issues"} 
[2026-11-05 22:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793899228000,"timestamp_ms":1793899228000,"timestamp_seconds":1793899228,"priority":1,"record_length":96,"hex_timestamp":"000001a1acb9eb60"} 
[2026-11-05 22:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:51:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 22:51:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:51:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":229956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":229956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":229956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238196992001,"66":27332,"59":206,"19":43264,"24":11,"16":40654717314924544,"45":7881017898934546432},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-11-05 22:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238196992001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:51:58] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-11-05 22:51:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40654717314924544,"km_value":40654717314924.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7881017898934546432,"description":"Unknown IO ID 45"} 
[2026-11-05 22:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238196992001,"power":27332,"unknown_59":206,"unknown_19":43264,"ignition":11,"odometer":null,"unknown_45":7881017898934546432}} 
[2026-11-05 22:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":229956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:51:58] local.INFO: GPS data processed {"connection_id":229956,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:51:58] local.INFO: Acknowledgment sent {"connection_id":229956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:52:30] local.INFO: TCP Data received {"connection_id":229956,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acba1270012d6d6440060e9168000701662e..."} 
[2026-11-05 22:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acba1270012d6d6440060e9168000701662e..."} 
[2026-11-05 22:52:30] local.INFO: Processing buffer {"connection_id":229956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acba1270012d6d6440060e9168000701662e..."} 
[2026-11-05 22:52:30] local.INFO: Packet analysis {"connection_id":229956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acba"} 
[2026-11-05 22:52:30] local.INFO: Extracted packet for processing {"connection_id":229956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acba"} 
[2026-11-05 22:52:30] local.INFO: GPS Element Parsed {"raw_longitude":762143808,"raw_latitude":101618024,"longitude_deg":76.2143808,"latitude_deg":10.1618024,"altitude":7,"angle":358,"satellites":46,"speed":9,"hex_longitude":"2d6d6440","hex_latitude":"060e9168","is_valid_coordinates":true} 
[2026-11-05 22:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238202368001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40654850458910720,"note":"Value kept but may cause issues"} 
[2026-11-05 22:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7882073430097833984,"note":"Value kept but may cause issues"} 
[2026-11-05 22:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793899238000,"timestamp_ms":1793899238000,"timestamp_seconds":1793899238,"priority":1,"record_length":96,"hex_timestamp":"000001a1acba1270"} 
[2026-11-05 22:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 22:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":229956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":229956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":229956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238202368001,"66":27550,"59":206,"19":43264,"24":9,"16":40654850458910720,"45":7882073430097833984},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-11-05 22:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238202368001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:52:30] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-11-05 22:52:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40654850458910720,"km_value":40654850458910.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":7882073430097833984,"description":"Unknown IO ID 45"} 
[2026-11-05 22:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238202368001,"power":27550,"unknown_59":206,"unknown_19":43264,"ignition":9,"odometer":null,"unknown_45":7882073430097833984}} 
[2026-11-05 22:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":229956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:52:30] local.INFO: GPS data processed {"connection_id":229956,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:52:30] local.INFO: Acknowledgment sent {"connection_id":229956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:52:51] local.INFO: TCP Data received {"connection_id":231819,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:52:51] local.INFO: Processing buffer {"connection_id":231819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:52:51] local.INFO: IMEI packet received {"connection_id":231819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":231819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:52:56] local.INFO: TCP Data received {"connection_id":231819,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:52:56] local.INFO: Processing buffer {"connection_id":231819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:52:56] local.INFO: IMEI packet received {"connection_id":231819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":231819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:52:57] local.INFO: TCP Data received {"connection_id":231819,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acba6478012d6d6380060e9520000701642e..."} 
[2026-11-05 22:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acba6478012d6d6380060e9520000701642e..."} 
[2026-11-05 22:52:57] local.INFO: Processing buffer {"connection_id":231819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acba6478012d6d6380060e9520000701642e..."} 
[2026-11-05 22:52:57] local.INFO: Packet analysis {"connection_id":231819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acba"} 
[2026-11-05 22:52:57] local.INFO: Extracted packet for processing {"connection_id":231819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acba"} 
[2026-11-05 22:52:57] local.INFO: GPS Element Parsed {"raw_longitude":762143616,"raw_latitude":101618976,"longitude_deg":76.2143616,"latitude_deg":10.1618976,"altitude":7,"angle":356,"satellites":46,"speed":0,"hex_longitude":"2d6d6380","hex_latitude":"060e9520","is_valid_coordinates":true} 
[2026-11-05 22:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238204928001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40654901998518272,"note":"Value kept but may cause issues"} 
[2026-11-05 22:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7882495642563602432,"note":"Value kept but may cause issues"} 
[2026-11-05 22:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1793899259000,"timestamp_ms":1793899259000,"timestamp_seconds":1793899259,"priority":1,"record_length":96,"hex_timestamp":"000001a1acba6478"} 
[2026-11-05 22:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-05 22:52:57] 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-05 22:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":231819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":231819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":231819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238204928001,"66":27463,"59":206,"19":43264,"24":0,"16":40654901998518272,"45":7882495642563602432},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-11-05 22:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238204928001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:52:57] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-11-05 22:52:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40654901998518272,"km_value":40654901998518.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":7882495642563602432,"description":"Unknown IO ID 45"} 
[2026-11-05 22:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238204928001,"power":27463,"unknown_59":206,"unknown_19":43264,"ignition":0,"odometer":null,"unknown_45":7882495642563602432}} 
[2026-11-05 22:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":231819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:52:57] local.INFO: GPS data processed {"connection_id":231819,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:52:57] local.INFO: Acknowledgment sent {"connection_id":231819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:53:28] local.INFO: TCP Data received {"connection_id":231819,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acbab680012d6d6380060e9520000701642e..."} 
[2026-11-05 22:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acbab680012d6d6380060e9520000701642e..."} 
[2026-11-05 22:53:28] local.INFO: Processing buffer {"connection_id":231819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acbab680012d6d6380060e9520000701642e..."} 
[2026-11-05 22:53:28] local.INFO: Packet analysis {"connection_id":231819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acba"} 
[2026-11-05 22:53:28] local.INFO: Extracted packet for processing {"connection_id":231819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acba"} 
[2026-11-05 22:53:28] local.INFO: GPS Element Parsed {"raw_longitude":762143616,"raw_latitude":101618976,"longitude_deg":76.2143616,"latitude_deg":10.1618976,"altitude":7,"angle":356,"satellites":46,"speed":0,"hex_longitude":"2d6d6380","hex_latitude":"060e9520","is_valid_coordinates":true} 
[2026-11-05 22:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238210304001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40654901998518272,"note":"Value kept but may cause issues"} 
[2026-11-05 22:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7882284536331313152,"note":"Value kept but may cause issues"} 
[2026-11-05 22:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1793899280000,"timestamp_ms":1793899280000,"timestamp_seconds":1793899280,"priority":1,"record_length":96,"hex_timestamp":"000001a1acbab680"} 
[2026-11-05 22:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 22:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":231819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":231819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":231819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238210304001,"66":27517,"59":206,"19":43264,"24":0,"16":40654901998518272,"45":7882284536331313152},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-11-05 22:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238210304001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:53:28] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-11-05 22:53:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40654901998518272,"km_value":40654901998518.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7882284536331313152,"description":"Unknown IO ID 45"} 
[2026-11-05 22:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238210304001,"power":27517,"unknown_59":206,"unknown_19":43264,"ignition":0,"odometer":null,"unknown_45":7882284536331313152}} 
[2026-11-05 22:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":231819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:53:28] local.INFO: GPS data processed {"connection_id":231819,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:53:28] local.INFO: Acknowledgment sent {"connection_id":231819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:53:51] local.INFO: TCP Data received {"connection_id":229957,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:53:51] local.INFO: Processing buffer {"connection_id":229957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:53:51] local.INFO: IMEI packet received {"connection_id":229957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":229957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:53:57] local.INFO: TCP Data received {"connection_id":229957,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:53:57] local.INFO: Processing buffer {"connection_id":229957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:53:57] local.INFO: IMEI packet received {"connection_id":229957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":229957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:54:03] local.INFO: TCP Data received {"connection_id":229957,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acbb0888012d6d6380060e9520000701642f..."} 
[2026-11-05 22:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acbb0888012d6d6380060e9520000701642f..."} 
[2026-11-05 22:54:03] local.INFO: Processing buffer {"connection_id":229957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acbb0888012d6d6380060e9520000701642f..."} 
[2026-11-05 22:54:03] local.INFO: Packet analysis {"connection_id":229957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acbb"} 
[2026-11-05 22:54:03] local.INFO: Extracted packet for processing {"connection_id":229957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acbb"} 
[2026-11-05 22:54:03] local.INFO: GPS Element Parsed {"raw_longitude":762143616,"raw_latitude":101618976,"longitude_deg":76.2143616,"latitude_deg":10.1618976,"altitude":7,"angle":356,"satellites":47,"speed":0,"hex_longitude":"2d6d6380","hex_latitude":"060e9520","is_valid_coordinates":true} 
[2026-11-05 22:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238215680001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40654901998518272,"note":"Value kept but may cause issues"} 
[2026-11-05 22:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7882284536331313152,"note":"Value kept but may cause issues"} 
[2026-11-05 22:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1793899301000,"timestamp_ms":1793899301000,"timestamp_seconds":1793899301,"priority":1,"record_length":96,"hex_timestamp":"000001a1acbb0888"} 
[2026-11-05 22:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-05 22:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":229957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":229957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":229957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238215680001,"66":27343,"59":206,"19":43264,"24":0,"16":40654901998518272,"45":7882284536331313152},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-11-05 22:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238215680001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:54:03] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-11-05 22:54:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40654901998518272,"km_value":40654901998518.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7882284536331313152,"description":"Unknown IO ID 45"} 
[2026-11-05 22:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238215680001,"power":27343,"unknown_59":206,"unknown_19":43264,"ignition":0,"odometer":null,"unknown_45":7882284536331313152}} 
[2026-11-05 22:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":229957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:54:03] local.INFO: GPS data processed {"connection_id":229957,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:54:03] local.INFO: Acknowledgment sent {"connection_id":229957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:54:35] local.INFO: TCP Data received {"connection_id":229957,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acbb5a90012d6d6380060e9520000701642c..."} 
[2026-11-05 22:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acbb5a90012d6d6380060e9520000701642c..."} 
[2026-11-05 22:54:35] local.INFO: Processing buffer {"connection_id":229957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acbb5a90012d6d6380060e9520000701642c..."} 
[2026-11-05 22:54:35] local.INFO: Packet analysis {"connection_id":229957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acbb"} 
[2026-11-05 22:54:35] local.INFO: Extracted packet for processing {"connection_id":229957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acbb"} 
[2026-11-05 22:54:35] local.INFO: GPS Element Parsed {"raw_longitude":762143616,"raw_latitude":101618976,"longitude_deg":76.2143616,"latitude_deg":10.1618976,"altitude":7,"angle":356,"satellites":44,"speed":0,"hex_longitude":"2d6d6380","hex_latitude":"060e9520","is_valid_coordinates":true} 
[2026-11-05 22:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238221056001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40654901998518272,"note":"Value kept but may cause issues"} 
[2026-11-05 22:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7882284536331313152,"note":"Value kept but may cause issues"} 
[2026-11-05 22:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1793899322000,"timestamp_ms":1793899322000,"timestamp_seconds":1793899322,"priority":1,"record_length":96,"hex_timestamp":"000001a1acbb5a90"} 
[2026-11-05 22:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 22:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":229957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":229957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":229957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238221056001,"66":27604,"59":206,"19":43264,"24":0,"16":40654901998518272,"45":7882284536331313152},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-11-05 22:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238221056001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:54:35] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-11-05 22:54:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40654901998518272,"km_value":40654901998518.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7882284536331313152,"description":"Unknown IO ID 45"} 
[2026-11-05 22:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238221056001,"power":27604,"unknown_59":206,"unknown_19":43264,"ignition":0,"odometer":null,"unknown_45":7882284536331313152}} 
[2026-11-05 22:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":229957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:54:35] local.INFO: GPS data processed {"connection_id":229957,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:54:35] local.INFO: Acknowledgment sent {"connection_id":229957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:54:56] local.INFO: TCP Data received {"connection_id":230476,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:54:56] local.INFO: Processing buffer {"connection_id":230476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:54:56] local.INFO: IMEI packet received {"connection_id":230476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":230476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:54:57] local.INFO: TCP Data received {"connection_id":230476,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:54:57] local.INFO: Processing buffer {"connection_id":230476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:54:57] local.INFO: IMEI packet received {"connection_id":230476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":230476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:55:02] local.INFO: TCP Data received {"connection_id":230476,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:55:02] local.INFO: Processing buffer {"connection_id":230476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:55:02] local.INFO: IMEI packet received {"connection_id":230476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":230476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:55:04] local.INFO: TCP Data received {"connection_id":230476,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acbbac98012d6d63c0060e9930000901642f..."} 
[2026-11-05 22:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acbbac98012d6d63c0060e9930000901642f..."} 
[2026-11-05 22:55:04] local.INFO: Processing buffer {"connection_id":230476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acbbac98012d6d63c0060e9930000901642f..."} 
[2026-11-05 22:55:04] local.INFO: Packet analysis {"connection_id":230476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acbb"} 
[2026-11-05 22:55:04] local.INFO: Extracted packet for processing {"connection_id":230476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acbb"} 
[2026-11-05 22:55:04] local.INFO: GPS Element Parsed {"raw_longitude":762143680,"raw_latitude":101620016,"longitude_deg":76.214368,"latitude_deg":10.1620016,"altitude":9,"angle":356,"satellites":47,"speed":0,"hex_longitude":"2d6d63c0","hex_latitude":"060e9930","is_valid_coordinates":true} 
[2026-11-05 22: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-05 22:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238226432001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40654953538125824,"note":"Value kept but may cause issues"} 
[2026-11-05 22:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7882284536331313152,"note":"Value kept but may cause issues"} 
[2026-11-05 22:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793899343000,"timestamp_ms":1793899343000,"timestamp_seconds":1793899343,"priority":1,"record_length":96,"hex_timestamp":"000001a1acbbac98"} 
[2026-11-05 22: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-05 22:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-05 22:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22: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-05 22: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-05 22:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":230476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":230476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":230476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238226432001,"66":27180,"59":206,"19":43264,"24":0,"16":40654953538125824,"45":7882284536331313152},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-11-05 22:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238226432001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:55:04] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-11-05 22:55:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40654953538125824,"km_value":40654953538125.82,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7882284536331313152,"description":"Unknown IO ID 45"} 
[2026-11-05 22:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238226432001,"power":27180,"unknown_59":206,"unknown_19":43264,"ignition":0,"odometer":null,"unknown_45":7882284536331313152}} 
[2026-11-05 22:55:04] 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":64702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:55:04] local.INFO: GPS data processed {"connection_id":230476,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:55:04] local.INFO: Acknowledgment sent {"connection_id":230476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:55:06] local.INFO: TCP Data received {"connection_id":230476,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acbbfea0012d6d63c0060e9bb00009016431..."} 
[2026-11-05 22:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acbbfea0012d6d63c0060e9bb00009016431..."} 
[2026-11-05 22:55:06] local.INFO: Processing buffer {"connection_id":230476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acbbfea0012d6d63c0060e9bb00009016431..."} 
[2026-11-05 22:55:06] local.INFO: Packet analysis {"connection_id":230476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acbb"} 
[2026-11-05 22:55:06] local.INFO: Extracted packet for processing {"connection_id":230476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acbb"} 
[2026-11-05 22:55:06] local.INFO: GPS Element Parsed {"raw_longitude":762143680,"raw_latitude":101620656,"longitude_deg":76.214368,"latitude_deg":10.1620656,"altitude":9,"angle":356,"satellites":49,"speed":2,"hex_longitude":"2d6d63c0","hex_latitude":"060e9bb0","is_valid_coordinates":true} 
[2026-11-05 22:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238231808001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40654987897864192,"note":"Value kept but may cause issues"} 
[2026-11-05 22:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7882354905075757056,"note":"Value kept but may cause issues"} 
[2026-11-05 22:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1793899364000,"timestamp_ms":1793899364000,"timestamp_seconds":1793899364,"priority":1,"record_length":96,"hex_timestamp":"000001a1acbbfea0"} 
[2026-11-05 22:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-11-05 22:55:06] 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-05 22:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":230476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":230476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":230476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238231808001,"66":27310,"59":206,"19":43264,"24":2,"16":40654987897864192,"45":7882354905075757056},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-11-05 22:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238231808001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:55:06] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-11-05 22:55:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40654987897864192,"km_value":40654987897864.195,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7882354905075757056,"description":"Unknown IO ID 45"} 
[2026-11-05 22:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238231808001,"power":27310,"unknown_59":206,"unknown_19":43264,"ignition":2,"odometer":null,"unknown_45":7882354905075757056}} 
[2026-11-05 22:55:06] 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":64703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:55:06] local.INFO: GPS data processed {"connection_id":230476,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:55:06] local.INFO: Acknowledgment sent {"connection_id":230476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:55:08] local.INFO: TCP Data received {"connection_id":230476,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acbc50a8012d6d6380060ea2180009016233..."} 
[2026-11-05 22:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acbc50a8012d6d6380060ea2180009016233..."} 
[2026-11-05 22:55:08] local.INFO: Processing buffer {"connection_id":230476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acbc50a8012d6d6380060ea2180009016233..."} 
[2026-11-05 22:55:08] local.INFO: Packet analysis {"connection_id":230476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acbc"} 
[2026-11-05 22:55:08] local.INFO: Extracted packet for processing {"connection_id":230476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acbc"} 
[2026-11-05 22:55:08] local.INFO: GPS Element Parsed {"raw_longitude":762143616,"raw_latitude":101622296,"longitude_deg":76.2143616,"latitude_deg":10.1622296,"altitude":9,"angle":354,"satellites":51,"speed":5,"hex_longitude":"2d6d6380","hex_latitude":"060ea218","is_valid_coordinates":true} 
[2026-11-05 22:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238237184001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40655065207275520,"note":"Value kept but may cause issues"} 
[2026-11-05 22:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7882354905075920896,"note":"Value kept but may cause issues"} 
[2026-11-05 22:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793899385000,"timestamp_ms":1793899385000,"timestamp_seconds":1793899385,"priority":1,"record_length":96,"hex_timestamp":"000001a1acbc50a8"} 
[2026-11-05 22:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-11-05 22:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":230476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":230476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":230476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238237184001,"66":27397,"59":206,"19":43264,"24":5,"16":40655065207275520,"45":7882354905075920896},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-11-05 22:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238237184001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:55:08] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-11-05 22:55:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40655065207275520,"km_value":40655065207275.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7882354905075920896,"description":"Unknown IO ID 45"} 
[2026-11-05 22:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238237184001,"power":27397,"unknown_59":206,"unknown_19":43264,"ignition":5,"odometer":null,"unknown_45":7882354905075920896}} 
[2026-11-05 22:55:09] 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":64704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:55:09] local.INFO: GPS data processed {"connection_id":230476,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:55:09] local.INFO: Acknowledgment sent {"connection_id":230476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:55:52] local.INFO: TCP Data received {"connection_id":233715,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:55:52] local.INFO: Processing buffer {"connection_id":233715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:55:52] local.INFO: IMEI packet received {"connection_id":233715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":233715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:55:57] local.INFO: TCP Data received {"connection_id":233715,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:55:57] local.INFO: Processing buffer {"connection_id":233715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:55:57] local.INFO: IMEI packet received {"connection_id":233715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":233715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:56:03] local.INFO: TCP Data received {"connection_id":233715,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acbdead0012d6d23c0060fb1280006015b32..."} 
[2026-11-05 22:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acbdead0012d6d23c0060fb1280006015b32..."} 
[2026-11-05 22:56:03] local.INFO: Processing buffer {"connection_id":233715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acbdead0012d6d23c0060fb1280006015b32..."} 
[2026-11-05 22:56:03] local.INFO: Packet analysis {"connection_id":233715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acbd"} 
[2026-11-05 22:56:03] local.INFO: Extracted packet for processing {"connection_id":233715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acbd"} 
[2026-11-05 22:56:03] local.INFO: GPS Element Parsed {"raw_longitude":762127296,"raw_latitude":101691688,"longitude_deg":76.2127296,"latitude_deg":10.1691688,"altitude":6,"angle":347,"satellites":50,"speed":32,"hex_longitude":"2d6d23c0","hex_latitude":"060fb128","is_valid_coordinates":true} 
[2026-11-05 22:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238267136001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40658552720719872,"note":"Value kept but may cause issues"} 
[2026-11-05 22:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7864551612815192064,"note":"Value kept but may cause issues"} 
[2026-11-05 22:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1793899490000,"timestamp_ms":1793899490000,"timestamp_seconds":1793899490,"priority":1,"record_length":96,"hex_timestamp":"000001a1acbdead0"} 
[2026-11-05 22:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 22:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":233715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":233715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":233715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238267136001,"66":27376,"246":206,"19":43264,"24":32,"16":40658552720719872,"45":7864551612815192064},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-11-05 22:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238267136001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:56:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40658552720719872,"km_value":40658552720719.875,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7864551612815192064,"description":"Unknown IO ID 45"} 
[2026-11-05 22:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238267136001,"power":27376,"main_input_voltage":206,"unknown_19":43264,"ignition":32,"odometer":null,"unknown_45":7864551612815192064}} 
[2026-11-05 22:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":233715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:56:03] local.INFO: GPS data processed {"connection_id":233715,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:56:03] local.INFO: Acknowledgment sent {"connection_id":233715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:56:05] local.INFO: TCP Data received {"connection_id":233715,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acbdf688012d6d2080060fba380007014e31..."} 
[2026-11-05 22:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acbdf688012d6d2080060fba380007014e31..."} 
[2026-11-05 22:56:05] local.INFO: Processing buffer {"connection_id":233715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acbdf688012d6d2080060fba380007014e31..."} 
[2026-11-05 22:56:05] local.INFO: Packet analysis {"connection_id":233715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acbd"} 
[2026-11-05 22:56:05] local.INFO: Extracted packet for processing {"connection_id":233715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acbd"} 
[2026-11-05 22:56:05] local.INFO: GPS Element Parsed {"raw_longitude":762126464,"raw_latitude":101694008,"longitude_deg":76.2126464,"latitude_deg":10.1694008,"altitude":7,"angle":334,"satellites":49,"speed":31,"hex_longitude":"2d6d2080","hex_latitude":"060fba38","is_valid_coordinates":true} 
[2026-11-05 22:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238269440001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40658672979804160,"note":"Value kept but may cause issues"} 
[2026-11-05 22:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7864340506584623104,"note":"Value kept but may cause issues"} 
[2026-11-05 22:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793899493000,"timestamp_ms":1793899493000,"timestamp_seconds":1793899493,"priority":1,"record_length":96,"hex_timestamp":"000001a1acbdf688"} 
[2026-11-05 22:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:56: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-05 22:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 22:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":233715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":233715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":233715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238269440001,"66":27463,"246":206,"19":43264,"24":31,"16":40658672979804160,"45":7864340506584623104},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-11-05 22:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238269440001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:56:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40658672979804160,"km_value":40658672979804.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7864340506584623104,"description":"Unknown IO ID 45"} 
[2026-11-05 22:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238269440001,"power":27463,"main_input_voltage":206,"unknown_19":43264,"ignition":31,"odometer":null,"unknown_45":7864340506584623104}} 
[2026-11-05 22:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":233715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:56:05] local.INFO: GPS data processed {"connection_id":233715,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:56:05] local.INFO: Acknowledgment sent {"connection_id":233715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:56:37] local.INFO: TCP Data received {"connection_id":233715,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acbe0628012d6d1a80060fc4f00007014332..."} 
[2026-11-05 22:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acbe0628012d6d1a80060fc4f00007014332..."} 
[2026-11-05 22:56:37] local.INFO: Processing buffer {"connection_id":233715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acbe0628012d6d1a80060fc4f00007014332..."} 
[2026-11-05 22:56:37] local.INFO: Packet analysis {"connection_id":233715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acbe"} 
[2026-11-05 22:56:37] local.INFO: Extracted packet for processing {"connection_id":233715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acbe"} 
[2026-11-05 22:56:37] local.INFO: GPS Element Parsed {"raw_longitude":762124928,"raw_latitude":101696752,"longitude_deg":76.2124928,"latitude_deg":10.1696752,"altitude":7,"angle":323,"satellites":50,"speed":30,"hex_longitude":"2d6d1a80","hex_latitude":"060fc4f0","is_valid_coordinates":true} 
[2026-11-05 22:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238270208001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40658827598626816,"note":"Value kept but may cause issues"} 
[2026-11-05 22:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7863425712910907392,"note":"Value kept but may cause issues"} 
[2026-11-05 22:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793899497000,"timestamp_ms":1793899497000,"timestamp_seconds":1793899497,"priority":1,"record_length":96,"hex_timestamp":"000001a1acbe0628"} 
[2026-11-05 22:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:56: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-05 22:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 22:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":233715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":233715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":233715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238270208001,"66":27365,"246":206,"19":43264,"24":30,"16":40658827598626816,"45":7863425712910907392},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-11-05 22:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238270208001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:56:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40658827598626816,"km_value":40658827598626.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7863425712910907392,"description":"Unknown IO ID 45"} 
[2026-11-05 22:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238270208001,"power":27365,"main_input_voltage":206,"unknown_19":43264,"ignition":30,"odometer":null,"unknown_45":7863425712910907392}} 
[2026-11-05 22:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":233715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:56:37] local.INFO: GPS data processed {"connection_id":233715,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:56:37] local.INFO: Acknowledgment sent {"connection_id":233715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:56:51] local.INFO: TCP Data received {"connection_id":230477,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:56:51] local.INFO: Processing buffer {"connection_id":230477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:56:51] local.INFO: IMEI packet received {"connection_id":230477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":230477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:56:52] local.INFO: TCP Data received {"connection_id":230477,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:56:52] local.INFO: Processing buffer {"connection_id":230477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:56:52] local.INFO: IMEI packet received {"connection_id":230477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":230477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:56:55] local.INFO: TCP Data received {"connection_id":229958,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229958,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:56:55] local.INFO: Processing buffer {"connection_id":229958,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 22:56:55] local.INFO: IMEI packet received {"connection_id":229958,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 22:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":229958,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:56:57] local.INFO: TCP Data received {"connection_id":230477,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:56:57] local.INFO: Processing buffer {"connection_id":230477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:56:57] local.INFO: IMEI packet received {"connection_id":230477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":230477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:56:59] local.INFO: TCP Data received {"connection_id":230477,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acbe2568012d6d0f80060fd3f00006014f30..."} 
[2026-11-05 22:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acbe2568012d6d0f80060fd3f00006014f30..."} 
[2026-11-05 22:56:59] local.INFO: Processing buffer {"connection_id":230477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acbe2568012d6d0f80060fd3f00006014f30..."} 
[2026-11-05 22:56:59] local.INFO: Packet analysis {"connection_id":230477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acbe"} 
[2026-11-05 22:56:59] local.INFO: Extracted packet for processing {"connection_id":230477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acbe"} 
[2026-11-05 22:56:59] local.INFO: GPS Element Parsed {"raw_longitude":762122112,"raw_latitude":101700592,"longitude_deg":76.2122112,"latitude_deg":10.1700592,"altitude":6,"angle":335,"satellites":48,"speed":16,"hex_longitude":"2d6d0f80","hex_latitude":"060fd3f0","is_valid_coordinates":true} 
[2026-11-05 22:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238271232001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40659055231893504,"note":"Value kept but may cause issues"} 
[2026-11-05 22:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7861736863051345920,"note":"Value kept but may cause issues"} 
[2026-11-05 22:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793899505000,"timestamp_ms":1793899505000,"timestamp_seconds":1793899505,"priority":1,"record_length":96,"hex_timestamp":"000001a1acbe2568"} 
[2026-11-05 22:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 22:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":230477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":230477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":230477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238271232001,"66":27539,"246":206,"19":43264,"24":16,"16":40659055231893504,"45":7861736863051345920},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-11-05 22:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238271232001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:56:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40659055231893504,"km_value":40659055231893.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7861736863051345920,"description":"Unknown IO ID 45"} 
[2026-11-05 22:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238271232001,"power":27539,"main_input_voltage":206,"unknown_19":43264,"ignition":16,"odometer":null,"unknown_45":7861736863051345920}} 
[2026-11-05 22:56:59] 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":64708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:56:59] local.INFO: GPS data processed {"connection_id":230477,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:56:59] local.INFO: Acknowledgment sent {"connection_id":230477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:57:31] local.INFO: TCP Data received {"connection_id":230477,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acbe3120012d6d0e00060fd8880006015b30..."} 
[2026-11-05 22:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acbe3120012d6d0e00060fd8880006015b30..."} 
[2026-11-05 22:57:31] local.INFO: Processing buffer {"connection_id":230477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acbe3120012d6d0e00060fd8880006015b30..."} 
[2026-11-05 22:57:31] local.INFO: Packet analysis {"connection_id":230477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acbe"} 
[2026-11-05 22:57:31] local.INFO: Extracted packet for processing {"connection_id":230477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acbe"} 
[2026-11-05 22:57:31] local.INFO: GPS Element Parsed {"raw_longitude":762121728,"raw_latitude":101701768,"longitude_deg":76.2121728,"latitude_deg":10.1701768,"altitude":6,"angle":347,"satellites":48,"speed":14,"hex_longitude":"2d6d0e00","hex_latitude":"060fd888","is_valid_coordinates":true} 
[2026-11-05 22:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238273280001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40659115361435648,"note":"Value kept but may cause issues"} 
[2026-11-05 22:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7858640638308511744,"note":"Value kept but may cause issues"} 
[2026-11-05 22:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793899508000,"timestamp_ms":1793899508000,"timestamp_seconds":1793899508,"priority":1,"record_length":96,"hex_timestamp":"000001a1acbe3120"} 
[2026-11-05 22:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:57: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-05 22:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-05 22:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":230477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":230477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":230477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238273280001,"66":27463,"246":206,"19":43264,"24":14,"16":40659115361435648,"45":7858640638308511744},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-11-05 22:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238273280001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:57:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40659115361435648,"km_value":40659115361435.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7858640638308511744,"description":"Unknown IO ID 45"} 
[2026-11-05 22:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238273280001,"power":27463,"main_input_voltage":206,"unknown_19":43264,"ignition":14,"odometer":null,"unknown_45":7858640638308511744}} 
[2026-11-05 22:57:31] 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":64709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:57:31] local.INFO: GPS data processed {"connection_id":230477,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:57:31] local.INFO: Acknowledgment sent {"connection_id":230477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:57:52] local.INFO: TCP Data received {"connection_id":229959,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:57:52] local.INFO: Processing buffer {"connection_id":229959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:57:52] local.INFO: IMEI packet received {"connection_id":229959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":229959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:57:54] local.INFO: TCP Data received {"connection_id":229959,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:57:54] local.INFO: Processing buffer {"connection_id":229959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:57:54] local.INFO: IMEI packet received {"connection_id":229959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":229959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:57:56] local.INFO: TCP Data received {"connection_id":229959,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:57:56] local.INFO: Processing buffer {"connection_id":229959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:57:56] local.INFO: IMEI packet received {"connection_id":229959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":229959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:57:58] local.INFO: TCP Data received {"connection_id":229959,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acbe6bb8012d6d0a80060ffd68000501622f..."} 
[2026-11-05 22:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acbe6bb8012d6d0a80060ffd68000501622f..."} 
[2026-11-05 22:57:58] local.INFO: Processing buffer {"connection_id":229959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acbe6bb8012d6d0a80060ffd68000501622f..."} 
[2026-11-05 22:57:58] local.INFO: Packet analysis {"connection_id":229959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acbe"} 
[2026-11-05 22:57:58] local.INFO: Extracted packet for processing {"connection_id":229959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acbe"} 
[2026-11-05 22:57:58] local.INFO: GPS Element Parsed {"raw_longitude":762120832,"raw_latitude":101711208,"longitude_deg":76.2120832,"latitude_deg":10.1711208,"altitude":5,"angle":354,"satellites":47,"speed":38,"hex_longitude":"2d6d0a80","hex_latitude":"060ffd68","is_valid_coordinates":true} 
[2026-11-05 22:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238274048001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40659579217903616,"note":"Value kept but may cause issues"} 
[2026-11-05 22:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7858218425843746816,"note":"Value kept but may cause issues"} 
[2026-11-05 22:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793899523000,"timestamp_ms":1793899523000,"timestamp_seconds":1793899523,"priority":1,"record_length":96,"hex_timestamp":"000001a1acbe6bb8"} 
[2026-11-05 22:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 22:57:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":229959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":229959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":229959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238274048001,"66":27267,"246":206,"19":43264,"24":38,"16":40659579217903616,"45":7858218425843746816},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-11-05 22:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238274048001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:57:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40659579217903616,"km_value":40659579217903.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7858218425843746816,"description":"Unknown IO ID 45"} 
[2026-11-05 22:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238274048001,"power":27267,"main_input_voltage":206,"unknown_19":43264,"ignition":38,"odometer":null,"unknown_45":7858218425843746816}} 
[2026-11-05 22:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":229959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:57:58] local.INFO: GPS data processed {"connection_id":229959,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:57:58] local.INFO: Acknowledgment sent {"connection_id":229959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:58:03] local.INFO: TCP Data received {"connection_id":229959,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acbe8af8012d6d08c006101a50000500072e..."} 
[2026-11-05 22:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acbe8af8012d6d08c006101a50000500072e..."} 
[2026-11-05 22:58:03] local.INFO: Processing buffer {"connection_id":229959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acbe8af8012d6d08c006101a50000500072e..."} 
[2026-11-05 22:58:03] local.INFO: Packet analysis {"connection_id":229959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acbe"} 
[2026-11-05 22:58:03] local.INFO: Extracted packet for processing {"connection_id":229959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acbe"} 
[2026-11-05 22:58:03] local.INFO: GPS Element Parsed {"raw_longitude":762120384,"raw_latitude":101718608,"longitude_deg":76.2120384,"latitude_deg":10.1718608,"altitude":5,"angle":7,"satellites":46,"speed":33,"hex_longitude":"2d6d08c0","hex_latitude":"06101a50","is_valid_coordinates":true} 
[2026-11-05 22:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238277888001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40659935700189184,"note":"Value kept but may cause issues"} 
[2026-11-05 22:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7857233263427676160,"note":"Value kept but may cause issues"} 
[2026-11-05 22:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1793899531000,"timestamp_ms":1793899531000,"timestamp_seconds":1793899531,"priority":1,"record_length":96,"hex_timestamp":"000001a1acbe8af8"} 
[2026-11-05 22:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:58: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-05 22:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 22:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":229959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":229959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":229959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238277888001,"66":27343,"246":206,"19":43264,"24":33,"16":40659935700189184,"45":7857233263427676160},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-11-05 22:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238277888001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:58:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40659935700189184,"km_value":40659935700189.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7857233263427676160,"description":"Unknown IO ID 45"} 
[2026-11-05 22:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238277888001,"power":27343,"main_input_voltage":206,"unknown_19":43264,"ignition":33,"odometer":null,"unknown_45":7857233263427676160}} 
[2026-11-05 22:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":229959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:58:03] local.INFO: GPS data processed {"connection_id":229959,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:58:03] local.INFO: Acknowledgment sent {"connection_id":229959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:58:37] local.INFO: TCP Data received {"connection_id":229959,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acbedd00012d6d0c40061033080007016631..."} 
[2026-11-05 22:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acbedd00012d6d0c40061033080007016631..."} 
[2026-11-05 22:58:37] local.INFO: Processing buffer {"connection_id":229959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acbedd00012d6d0c40061033080007016631..."} 
[2026-11-05 22:58:37] local.INFO: Packet analysis {"connection_id":229959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acbe"} 
[2026-11-05 22:58:37] local.INFO: Extracted packet for processing {"connection_id":229959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acbe"} 
[2026-11-05 22:58:37] local.INFO: GPS Element Parsed {"raw_longitude":762121280,"raw_latitude":101724936,"longitude_deg":76.212128,"latitude_deg":10.1724936,"altitude":7,"angle":358,"satellites":49,"speed":0,"hex_longitude":"2d6d0c40","hex_latitude":"06103308","is_valid_coordinates":true} 
[2026-11-05 22:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238279936001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40660253527769088,"note":"Value kept but may cause issues"} 
[2026-11-05 22:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7856740682220326912,"note":"Value kept but may cause issues"} 
[2026-11-05 22:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793899552000,"timestamp_ms":1793899552000,"timestamp_seconds":1793899552,"priority":1,"record_length":96,"hex_timestamp":"000001a1acbedd00"} 
[2026-11-05 22:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 22:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":229959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":229959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":229959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238279936001,"66":27517,"246":206,"19":43264,"24":0,"16":40660253527769088,"45":7856740682220326912},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-11-05 22:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238279936001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:58:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40660253527769088,"km_value":40660253527769.086,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7856740682220326912,"description":"Unknown IO ID 45"} 
[2026-11-05 22:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238279936001,"power":27517,"main_input_voltage":206,"unknown_19":43264,"ignition":0,"odometer":null,"unknown_45":7856740682220326912}} 
[2026-11-05 22:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":229959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:58:37] local.INFO: GPS data processed {"connection_id":229959,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:58:37] local.INFO: Acknowledgment sent {"connection_id":229959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:58:52] local.INFO: TCP Data received {"connection_id":231821,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:58:52] local.INFO: Processing buffer {"connection_id":231821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:58:52] local.INFO: IMEI packet received {"connection_id":231821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":231821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:58:56] local.INFO: TCP Data received {"connection_id":231821,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:58:56] local.INFO: Processing buffer {"connection_id":231821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:58:56] local.INFO: IMEI packet received {"connection_id":231821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":231821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:58:57] local.INFO: TCP Data received {"connection_id":231821,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:58:57] local.INFO: Processing buffer {"connection_id":231821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:58:57] local.INFO: IMEI packet received {"connection_id":231821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":231821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 22:59:00] local.INFO: TCP Data received {"connection_id":231821,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acbf2f08012d6d0c40061033080007016630..."} 
[2026-11-05 22:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acbf2f08012d6d0c40061033080007016630..."} 
[2026-11-05 22:59:00] local.INFO: Processing buffer {"connection_id":231821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acbf2f08012d6d0c40061033080007016630..."} 
[2026-11-05 22:59:00] local.INFO: Packet analysis {"connection_id":231821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acbf"} 
[2026-11-05 22:59:00] local.INFO: Extracted packet for processing {"connection_id":231821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acbf"} 
[2026-11-05 22:59:00] local.INFO: GPS Element Parsed {"raw_longitude":762121280,"raw_latitude":101724936,"longitude_deg":76.212128,"latitude_deg":10.1724936,"altitude":7,"angle":358,"satellites":48,"speed":0,"hex_longitude":"2d6d0c40","hex_latitude":"06103308","is_valid_coordinates":true} 
[2026-11-05 22:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238285312001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40660253527769088,"note":"Value kept but may cause issues"} 
[2026-11-05 22:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7857725844640434176,"note":"Value kept but may cause issues"} 
[2026-11-05 22:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793899573000,"timestamp_ms":1793899573000,"timestamp_seconds":1793899573,"priority":1,"record_length":96,"hex_timestamp":"000001a1acbf2f08"} 
[2026-11-05 22:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-05 22:59:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":231821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":231821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":231821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238285312001,"66":27517,"246":206,"19":43264,"24":0,"16":40660253527769088,"45":7857725844640434176},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-11-05 22:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238285312001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:59:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40660253527769088,"km_value":40660253527769.086,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7857725844640434176,"description":"Unknown IO ID 45"} 
[2026-11-05 22:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238285312001,"power":27517,"main_input_voltage":206,"unknown_19":43264,"ignition":0,"odometer":null,"unknown_45":7857725844640434176}} 
[2026-11-05 22:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":231821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:59:00] local.INFO: GPS data processed {"connection_id":231821,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:59:00] local.INFO: Acknowledgment sent {"connection_id":231821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:59:04] local.INFO: TCP Data received {"connection_id":231821,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acbf8110012d6d0c40061033080007016631..."} 
[2026-11-05 22:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acbf8110012d6d0c40061033080007016631..."} 
[2026-11-05 22:59:04] local.INFO: Processing buffer {"connection_id":231821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acbf8110012d6d0c40061033080007016631..."} 
[2026-11-05 22:59:04] local.INFO: Packet analysis {"connection_id":231821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acbf"} 
[2026-11-05 22:59:04] local.INFO: Extracted packet for processing {"connection_id":231821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acbf"} 
[2026-11-05 22:59:04] local.INFO: GPS Element Parsed {"raw_longitude":762121280,"raw_latitude":101724936,"longitude_deg":76.212128,"latitude_deg":10.1724936,"altitude":7,"angle":358,"satellites":49,"speed":0,"hex_longitude":"2d6d0c40","hex_latitude":"06103308","is_valid_coordinates":true} 
[2026-11-05 22:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238290688001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40660253527769088,"note":"Value kept but may cause issues"} 
[2026-11-05 22:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7857725844640434176,"note":"Value kept but may cause issues"} 
[2026-11-05 22:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793899594000,"timestamp_ms":1793899594000,"timestamp_seconds":1793899594,"priority":1,"record_length":96,"hex_timestamp":"000001a1acbf8110"} 
[2026-11-05 22:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 22:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-05 22:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":231821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":231821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":231821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238290688001,"66":27539,"246":206,"19":43264,"24":0,"16":40660253527769088,"45":7857725844640434176},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-11-05 22:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238290688001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:59:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40660253527769088,"km_value":40660253527769.086,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7857725844640434176,"description":"Unknown IO ID 45"} 
[2026-11-05 22:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238290688001,"power":27539,"main_input_voltage":206,"unknown_19":43264,"ignition":0,"odometer":null,"unknown_45":7857725844640434176}} 
[2026-11-05 22:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":231821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:59:04] local.INFO: GPS data processed {"connection_id":231821,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:59:04] local.INFO: Acknowledgment sent {"connection_id":231821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:59:37] local.INFO: TCP Data received {"connection_id":231821,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acbfd318012d6d0c40061033080007016631..."} 
[2026-11-05 22:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acbfd318012d6d0c40061033080007016631..."} 
[2026-11-05 22:59:37] local.INFO: Processing buffer {"connection_id":231821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acbfd318012d6d0c40061033080007016631..."} 
[2026-11-05 22:59:37] local.INFO: Packet analysis {"connection_id":231821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acbf"} 
[2026-11-05 22:59:37] local.INFO: Extracted packet for processing {"connection_id":231821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acbf"} 
[2026-11-05 22:59:37] local.INFO: GPS Element Parsed {"raw_longitude":762121280,"raw_latitude":101724936,"longitude_deg":76.212128,"latitude_deg":10.1724936,"altitude":7,"angle":358,"satellites":49,"speed":0,"hex_longitude":"2d6d0c40","hex_latitude":"06103308","is_valid_coordinates":true} 
[2026-11-05 22:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 22:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238296064001,"note":"Value kept but may cause issues"} 
[2026-11-05 22:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40660253527769088,"note":"Value kept but may cause issues"} 
[2026-11-05 22:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7857725844640434176,"note":"Value kept but may cause issues"} 
[2026-11-05 22:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 22:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793899615000,"timestamp_ms":1793899615000,"timestamp_seconds":1793899615,"priority":1,"record_length":96,"hex_timestamp":"000001a1acbfd318"} 
[2026-11-05 22:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 22:59: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-05 22:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-05 22:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 22:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 22:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 22:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 22:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":231821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 22:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":231821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":231821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 22:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 22:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 22:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 22:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238296064001,"66":27484,"246":206,"19":43264,"24":0,"16":40660253527769088,"45":7857725844640434176},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-11-05 22:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 22:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 22:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238296064001,"description":"Unknown IO ID 0"} 
[2026-11-05 22:59:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 22:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40660253527769088,"km_value":40660253527769.086,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 22:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7857725844640434176,"description":"Unknown IO ID 45"} 
[2026-11-05 22:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238296064001,"power":27484,"main_input_voltage":206,"unknown_19":43264,"ignition":0,"odometer":null,"unknown_45":7857725844640434176}} 
[2026-11-05 22:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":231821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 22:59:37] local.INFO: GPS data processed {"connection_id":231821,"processed":1,"errors":0,"total":1} 
[2026-11-05 22:59:37] local.INFO: Acknowledgment sent {"connection_id":231821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 22:59:54] local.INFO: TCP Data received {"connection_id":233716,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:59:54] local.INFO: Processing buffer {"connection_id":233716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:59:54] local.INFO: IMEI packet received {"connection_id":233716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 22:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":233716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 22:59:57] local.INFO: TCP Data received {"connection_id":233716,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:59:57] local.INFO: Processing buffer {"connection_id":233716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 22:59:57] local.INFO: IMEI packet received {"connection_id":233716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 22:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":233716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:00:03] local.INFO: TCP Data received {"connection_id":233716,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:00:03] local.INFO: Processing buffer {"connection_id":233716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:00:03] local.INFO: IMEI packet received {"connection_id":233716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":233716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:00:06] local.INFO: TCP Data received {"connection_id":233716,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acc02520012d6d0bc006103c800009015f31..."} 
[2026-11-05 23:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acc02520012d6d0bc006103c800009015f31..."} 
[2026-11-05 23:00:06] local.INFO: Processing buffer {"connection_id":233716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acc02520012d6d0bc006103c800009015f31..."} 
[2026-11-05 23:00:06] local.INFO: Packet analysis {"connection_id":233716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acc0"} 
[2026-11-05 23:00:06] local.INFO: Extracted packet for processing {"connection_id":233716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acc0"} 
[2026-11-05 23:00:06] local.INFO: GPS Element Parsed {"raw_longitude":762121152,"raw_latitude":101727360,"longitude_deg":76.2121152,"latitude_deg":10.172736,"altitude":9,"angle":351,"satellites":49,"speed":2,"hex_longitude":"2d6d0bc0","hex_latitude":"06103c80","is_valid_coordinates":true} 
[2026-11-05 23:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238301440001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40660378081820672,"note":"Value kept but may cause issues"} 
[2026-11-05 23:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7857725844640434176,"note":"Value kept but may cause issues"} 
[2026-11-05 23:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1793899636000,"timestamp_ms":1793899636000,"timestamp_seconds":1793899636,"priority":1,"record_length":96,"hex_timestamp":"000001a1acc02520"} 
[2026-11-05 23:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 23:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":233716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":233716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":233716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238301440001,"66":27365,"246":206,"19":43264,"24":2,"16":40660378081820672,"45":7857725844640434176},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-11-05 23:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238301440001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:00:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 23:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40660378081820672,"km_value":40660378081820.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7857725844640434176,"description":"Unknown IO ID 45"} 
[2026-11-05 23:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238301440001,"power":27365,"main_input_voltage":206,"unknown_19":43264,"ignition":2,"odometer":null,"unknown_45":7857725844640434176}} 
[2026-11-05 23:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":233716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:00:06] local.INFO: GPS data processed {"connection_id":233716,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:00:06] local.INFO: Acknowledgment sent {"connection_id":233716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:00:07] local.INFO: TCP Data received {"connection_id":233716,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acc07728012d6d09c0061044380008015731..."} 
[2026-11-05 23:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acc07728012d6d09c0061044380008015731..."} 
[2026-11-05 23:00:07] local.INFO: Processing buffer {"connection_id":233716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acc07728012d6d09c0061044380008015731..."} 
[2026-11-05 23:00:07] local.INFO: Packet analysis {"connection_id":233716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acc0"} 
[2026-11-05 23:00:07] local.INFO: Extracted packet for processing {"connection_id":233716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acc0"} 
[2026-11-05 23:00:07] local.INFO: GPS Element Parsed {"raw_longitude":762120640,"raw_latitude":101729336,"longitude_deg":76.212064,"latitude_deg":10.1729336,"altitude":8,"angle":343,"satellites":49,"speed":0,"hex_longitude":"2d6d09c0","hex_latitude":"06104438","is_valid_coordinates":true} 
[2026-11-05 23:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238306816001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40660481161035776,"note":"Value kept but may cause issues"} 
[2026-11-05 23:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7857585107152699392,"note":"Value kept but may cause issues"} 
[2026-11-05 23:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1793899657000,"timestamp_ms":1793899657000,"timestamp_seconds":1793899657,"priority":1,"record_length":96,"hex_timestamp":"000001a1acc07728"} 
[2026-11-05 23:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 23:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":233716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":233716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":233716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238306816001,"66":27484,"247":206,"19":43264,"24":0,"16":40660481161035776,"45":7857585107152699392},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,19,24,16,45]} 
[2026-11-05 23:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238306816001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:00:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 23:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40660481161035776,"km_value":40660481161035.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7857585107152699392,"description":"Unknown IO ID 45"} 
[2026-11-05 23:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238306816001,"power":27484,"internal_battery_voltage":206,"unknown_19":43264,"ignition":0,"odometer":null,"unknown_45":7857585107152699392}} 
[2026-11-05 23:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":233716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:00:07] local.INFO: GPS data processed {"connection_id":233716,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:00:07] local.INFO: Acknowledgment sent {"connection_id":233716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:00:54] local.INFO: TCP Data received {"connection_id":233717,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:00:54] local.INFO: Processing buffer {"connection_id":233717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:00:54] local.INFO: IMEI packet received {"connection_id":233717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":233717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:00:57] local.INFO: TCP Data received {"connection_id":233717,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:00:57] local.INFO: Processing buffer {"connection_id":233717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:00:57] local.INFO: IMEI packet received {"connection_id":233717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":233717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:01:02] local.INFO: TCP Data received {"connection_id":233717,"ip":"117.224.67.80","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 23:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233717,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 23:01:02] local.INFO: Processing buffer {"connection_id":233717,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 23:01:02] local.INFO: IMEI packet received {"connection_id":233717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":233717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:05:56] local.INFO: TCP Data received {"connection_id":233719,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:05:56] local.INFO: Processing buffer {"connection_id":233719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:05:56] local.INFO: IMEI packet received {"connection_id":233719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":233719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:06:02] local.INFO: TCP Data received {"connection_id":233719,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:06:02] local.INFO: Processing buffer {"connection_id":233719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:06:02] local.INFO: IMEI packet received {"connection_id":233719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":233719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:06:04] local.INFO: TCP Data received {"connection_id":233719,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acc6fb20012d6bd7c006119600000700f92f..."} 
[2026-11-05 23:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acc6fb20012d6bd7c006119600000700f92f..."} 
[2026-11-05 23:06:04] local.INFO: Processing buffer {"connection_id":233719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acc6fb20012d6bd7c006119600000700f92f..."} 
[2026-11-05 23:06:04] local.INFO: Packet analysis {"connection_id":233719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acc6"} 
[2026-11-05 23:06:04] local.INFO: Extracted packet for processing {"connection_id":233719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acc6"} 
[2026-11-05 23:06:04] local.INFO: GPS Element Parsed {"raw_longitude":762042304,"raw_latitude":101815808,"longitude_deg":76.2042304,"latitude_deg":10.1815808,"altitude":7,"angle":249,"satellites":47,"speed":14,"hex_longitude":"2d6bd7c0","hex_latitude":"06119600","is_valid_coordinates":true} 
[2026-11-05 23:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238417152001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40667215669755904,"note":"Value kept but may cause issues"} 
[2026-11-05 23:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7775957363930068992,"note":"Value kept but may cause issues"} 
[2026-11-05 23:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793900084000,"timestamp_ms":1793900084000,"timestamp_seconds":1793900084,"priority":1,"record_length":96,"hex_timestamp":"000001a1acc6fb20"} 
[2026-11-05 23:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 23:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":233719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":233719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":233719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238417152001,"66":27376,"20":206,"19":43264,"24":14,"16":40667215669755904,"45":7775957363930068992},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,19,24,16,45]} 
[2026-11-05 23:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238417152001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:06:04] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-11-05 23:06:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 23:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40667215669755904,"km_value":40667215669755.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7775957363930068992,"description":"Unknown IO ID 45"} 
[2026-11-05 23:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238417152001,"power":27376,"unknown_20":206,"unknown_19":43264,"ignition":14,"odometer":null,"unknown_45":7775957363930068992}} 
[2026-11-05 23:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":233719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:06:04] local.INFO: GPS data processed {"connection_id":233719,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:06:04] local.INFO: Acknowledgment sent {"connection_id":233719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:06:36] local.INFO: TCP Data received {"connection_id":233719,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acc70ea8012d6bd040061194400008011229..."} 
[2026-11-05 23:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acc70ea8012d6bd040061194400008011229..."} 
[2026-11-05 23:06:36] local.INFO: Processing buffer {"connection_id":233719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acc70ea8012d6bd040061194400008011229..."} 
[2026-11-05 23:06:36] local.INFO: Packet analysis {"connection_id":233719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acc7"} 
[2026-11-05 23:06:36] local.INFO: Extracted packet for processing {"connection_id":233719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acc7"} 
[2026-11-05 23:06:36] local.INFO: GPS Element Parsed {"raw_longitude":762040384,"raw_latitude":101815360,"longitude_deg":76.2040384,"latitude_deg":10.181536,"altitude":8,"angle":274,"satellites":41,"speed":13,"hex_longitude":"2d6bd040","hex_latitude":"06119440","is_valid_coordinates":true} 
[2026-11-05 23:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238421504001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40667310159036416,"note":"Value kept but may cause issues"} 
[2026-11-05 23:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7770890814348460032,"note":"Value kept but may cause issues"} 
[2026-11-05 23:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1793900089000,"timestamp_ms":1793900089000,"timestamp_seconds":1793900089,"priority":1,"record_length":96,"hex_timestamp":"000001a1acc70ea8"} 
[2026-11-05 23:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 23:06:36] 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-05 23:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":233719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":233719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":233719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238421504001,"66":27343,"20":206,"19":43264,"24":13,"16":40667310159036416,"45":7770890814348460032},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,19,24,16,45]} 
[2026-11-05 23:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238421504001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:06:36] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-11-05 23:06:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 23:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40667310159036416,"km_value":40667310159036.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":7770890814348460032,"description":"Unknown IO ID 45"} 
[2026-11-05 23:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238421504001,"power":27343,"unknown_20":206,"unknown_19":43264,"ignition":13,"odometer":null,"unknown_45":7770890814348460032}} 
[2026-11-05 23:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":233719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:06:36] local.INFO: GPS data processed {"connection_id":233719,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:06:36] local.INFO: Acknowledgment sent {"connection_id":233719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:06:51] local.INFO: TCP Data received {"connection_id":231822,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:06:51] local.INFO: Processing buffer {"connection_id":231822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:06:51] local.INFO: IMEI packet received {"connection_id":231822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":231822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:07:20] local.INFO: TCP Data received {"connection_id":231822,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:07:20] local.INFO: Processing buffer {"connection_id":231822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:07:20] local.INFO: IMEI packet received {"connection_id":231822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":231822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:07:22] local.INFO: TCP Data received {"connection_id":231822,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acc71678012d6bce00061194b80008012729..."} 
[2026-11-05 23:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acc71678012d6bce00061194b80008012729..."} 
[2026-11-05 23:07:22] local.INFO: Processing buffer {"connection_id":231822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acc71678012d6bce00061194b80008012729..."} 
[2026-11-05 23:07:22] local.INFO: Packet analysis {"connection_id":231822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acc7"} 
[2026-11-05 23:07:22] local.INFO: Extracted packet for processing {"connection_id":231822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acc7"} 
[2026-11-05 23:07:22] local.INFO: GPS Element Parsed {"raw_longitude":762039808,"raw_latitude":101815480,"longitude_deg":76.2039808,"latitude_deg":10.181548,"altitude":8,"angle":295,"satellites":41,"speed":12,"hex_longitude":"2d6bce00","hex_latitude":"061194b8","is_valid_coordinates":true} 
[2026-11-05 23: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-05 23:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238422784001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40667340223807488,"note":"Value kept but may cause issues"} 
[2026-11-05 23:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7768779752023015424,"note":"Value kept but may cause issues"} 
[2026-11-05 23:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793900091000,"timestamp_ms":1793900091000,"timestamp_seconds":1793900091,"priority":1,"record_length":96,"hex_timestamp":"000001a1acc71678"} 
[2026-11-05 23: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-05 23:07: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-05 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 23:07:22] 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-05 23: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-05 23: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-05 23:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":231822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":231822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":231822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238422784001,"66":27332,"20":206,"19":43264,"24":12,"16":40667340223807488,"45":7768779752023015424},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,19,24,16,45]} 
[2026-11-05 23:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238422784001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:07:22] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-11-05 23:07:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 23:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40667340223807488,"km_value":40667340223807.484,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":7768779752023015424,"description":"Unknown IO ID 45"} 
[2026-11-05 23:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238422784001,"power":27332,"unknown_20":206,"unknown_19":43264,"ignition":12,"odometer":null,"unknown_45":7768779752023015424}} 
[2026-11-05 23:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":231822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:07:22] local.INFO: GPS data processed {"connection_id":231822,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:07:22] local.INFO: Acknowledgment sent {"connection_id":231822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:07:40] local.INFO: TCP Data received {"connection_id":229961,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:07:40] local.INFO: Processing buffer {"connection_id":229961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:07:40] local.INFO: IMEI packet received {"connection_id":229961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 23:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":229961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:07:51] local.INFO: TCP Data received {"connection_id":233720,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:07:51] local.INFO: Processing buffer {"connection_id":233720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:07:51] local.INFO: IMEI packet received {"connection_id":233720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":233720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:07:54] local.INFO: TCP Data received {"connection_id":233720,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:07:54] local.INFO: Processing buffer {"connection_id":233720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:07:54] local.INFO: IMEI packet received {"connection_id":233720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":233720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:07:56] local.INFO: TCP Data received {"connection_id":233720,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:07:56] local.INFO: Processing buffer {"connection_id":233720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:07:56] local.INFO: IMEI packet received {"connection_id":233720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":233720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:07:58] local.INFO: TCP Data received {"connection_id":233720,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acc8cfe0012d6b790006128030000a015e30..."} 
[2026-11-05 23:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acc8cfe0012d6b790006128030000a015e30..."} 
[2026-11-05 23:07:58] local.INFO: Processing buffer {"connection_id":233720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acc8cfe0012d6b790006128030000a015e30..."} 
[2026-11-05 23:07:58] local.INFO: Packet analysis {"connection_id":233720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acc8"} 
[2026-11-05 23:07:58] local.INFO: Extracted packet for processing {"connection_id":233720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acc8"} 
[2026-11-05 23:07:58] local.INFO: GPS Element Parsed {"raw_longitude":762018048,"raw_latitude":101875760,"longitude_deg":76.2018048,"latitude_deg":10.187576,"altitude":10,"angle":350,"satellites":48,"speed":20,"hex_longitude":"2d6b7900","hex_latitude":"06128030","is_valid_coordinates":true} 
[2026-11-05 23:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238448896001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40670454075097088,"note":"Value kept but may cause issues"} 
[2026-11-05 23:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7746895072597288960,"note":"Value kept but may cause issues"} 
[2026-11-05 23:07:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793900204000,"timestamp_ms":1793900204000,"timestamp_seconds":1793900204,"priority":1,"record_length":96,"hex_timestamp":"000001a1acc8cfe0"} 
[2026-11-05 23:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:07: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-05 23:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 23:07:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:07:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":233720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":233720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":233720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238448896001,"66":27332,"20":206,"19":43264,"24":20,"16":40670454075097088,"45":7746895072597288960},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,19,24,16,45]} 
[2026-11-05 23:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238448896001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:07:58] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-11-05 23:07:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 23:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40670454075097088,"km_value":40670454075097.086,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7746895072597288960,"description":"Unknown IO ID 45"} 
[2026-11-05 23:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238448896001,"power":27332,"unknown_20":206,"unknown_19":43264,"ignition":20,"odometer":null,"unknown_45":7746895072597288960}} 
[2026-11-05 23:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":233720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:07:58] local.INFO: GPS data processed {"connection_id":233720,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:07:58] local.INFO: Acknowledgment sent {"connection_id":233720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:08:29] local.INFO: TCP Data received {"connection_id":233720,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acc8db98012d6b78c006128588000a000732..."} 
[2026-11-05 23:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acc8db98012d6b78c006128588000a000732..."} 
[2026-11-05 23:08:29] local.INFO: Processing buffer {"connection_id":233720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acc8db98012d6b78c006128588000a000732..."} 
[2026-11-05 23:08:29] local.INFO: Packet analysis {"connection_id":233720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acc8"} 
[2026-11-05 23:08:29] local.INFO: Extracted packet for processing {"connection_id":233720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acc8"} 
[2026-11-05 23:08:29] local.INFO: GPS Element Parsed {"raw_longitude":762017984,"raw_latitude":101877128,"longitude_deg":76.2017984,"latitude_deg":10.1877128,"altitude":10,"angle":7,"satellites":50,"speed":17,"hex_longitude":"2d6b78c0","hex_latitude":"06128588","is_valid_coordinates":true} 
[2026-11-05 23:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238452224001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40670522794573824,"note":"Value kept but may cause issues"} 
[2026-11-05 23:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7744221060320473088,"note":"Value kept but may cause issues"} 
[2026-11-05 23:08:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793900207000,"timestamp_ms":1793900207000,"timestamp_seconds":1793900207,"priority":1,"record_length":96,"hex_timestamp":"000001a1acc8db98"} 
[2026-11-05 23:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:08:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 23:08:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:08:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":233720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":233720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":233720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238452224001,"66":27343,"20":206,"19":43264,"24":17,"16":40670522794573824,"45":7744221060320473088},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,19,24,16,45]} 
[2026-11-05 23:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238452224001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:08:29] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-11-05 23:08:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 23:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40670522794573824,"km_value":40670522794573.82,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7744221060320473088,"description":"Unknown IO ID 45"} 
[2026-11-05 23:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238452224001,"power":27343,"unknown_20":206,"unknown_19":43264,"ignition":17,"odometer":null,"unknown_45":7744221060320473088}} 
[2026-11-05 23:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":233720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:08:29] local.INFO: GPS data processed {"connection_id":233720,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:08:29] local.INFO: Acknowledgment sent {"connection_id":233720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:08:51] local.INFO: TCP Data received {"connection_id":229963,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:08:51] local.INFO: Processing buffer {"connection_id":229963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:08:51] local.INFO: IMEI packet received {"connection_id":229963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":229963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:08:56] local.INFO: TCP Data received {"connection_id":229963,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:08:56] local.INFO: Processing buffer {"connection_id":229963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:08:56] local.INFO: IMEI packet received {"connection_id":229963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":229963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:08:57] local.INFO: TCP Data received {"connection_id":229963,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acc90e60012d6b7ac0061292180009016533..."} 
[2026-11-05 23:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acc90e60012d6b7ac0061292180009016533..."} 
[2026-11-05 23:08:57] local.INFO: Processing buffer {"connection_id":229963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acc90e60012d6b7ac0061292180009016533..."} 
[2026-11-05 23:08:57] local.INFO: Packet analysis {"connection_id":229963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acc9"} 
[2026-11-05 23:08:57] local.INFO: Extracted packet for processing {"connection_id":229963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acc9"} 
[2026-11-05 23:08:57] local.INFO: GPS Element Parsed {"raw_longitude":762018496,"raw_latitude":101880344,"longitude_deg":76.2018496,"latitude_deg":10.1880344,"altitude":9,"angle":357,"satellites":51,"speed":10,"hex_longitude":"2d6b7ac0","hex_latitude":"06129218","is_valid_coordinates":true} 
[2026-11-05 23:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238452992001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40670681708363776,"note":"Value kept but may cause issues"} 
[2026-11-05 23:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7744150691576645632,"note":"Value kept but may cause issues"} 
[2026-11-05 23:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1793900220000,"timestamp_ms":1793900220000,"timestamp_seconds":1793900220,"priority":1,"record_length":96,"hex_timestamp":"000001a1acc90e60"} 
[2026-11-05 23:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 23:08:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:08:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":229963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":229963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":229963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238452992001,"66":27397,"20":206,"19":43264,"24":10,"16":40670681708363776,"45":7744150691576645632},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,19,24,16,45]} 
[2026-11-05 23:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238452992001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:08:57] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-11-05 23:08:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 23:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40670681708363776,"km_value":40670681708363.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":7744150691576645632,"description":"Unknown IO ID 45"} 
[2026-11-05 23:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238452992001,"power":27397,"unknown_20":206,"unknown_19":43264,"ignition":10,"odometer":null,"unknown_45":7744150691576645632}} 
[2026-11-05 23:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":229963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:08:58] local.INFO: GPS data processed {"connection_id":229963,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:08:58] local.INFO: Acknowledgment sent {"connection_id":229963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:09:29] local.INFO: TCP Data received {"connection_id":229963,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acc91e00012d6b7a80061295880008015033..."} 
[2026-11-05 23:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acc91e00012d6b7a80061295880008015033..."} 
[2026-11-05 23:09:29] local.INFO: Processing buffer {"connection_id":229963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acc91e00012d6b7a80061295880008015033..."} 
[2026-11-05 23:09:29] local.INFO: Packet analysis {"connection_id":229963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acc9"} 
[2026-11-05 23:09:29] local.INFO: Extracted packet for processing {"connection_id":229963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acc9"} 
[2026-11-05 23:09:29] local.INFO: GPS Element Parsed {"raw_longitude":762018432,"raw_latitude":101881224,"longitude_deg":76.2018432,"latitude_deg":10.1881224,"altitude":8,"angle":336,"satellites":51,"speed":6,"hex_longitude":"2d6b7a80","hex_latitude":"06129588","is_valid_coordinates":true} 
[2026-11-05 23:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238456320001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40670724658036736,"note":"Value kept but may cause issues"} 
[2026-11-05 23:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7744713641530890240,"note":"Value kept but may cause issues"} 
[2026-11-05 23:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793900224000,"timestamp_ms":1793900224000,"timestamp_seconds":1793900224,"priority":1,"record_length":96,"hex_timestamp":"000001a1acc91e00"} 
[2026-11-05 23:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 23:09:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:09:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":229963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":229963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":229963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:09:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238456320001,"66":27332,"20":206,"19":43264,"24":6,"16":40670724658036736,"45":7744713641530890240},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,19,24,16,45]} 
[2026-11-05 23:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238456320001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:09:29] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-11-05 23:09:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-05 23:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40670724658036736,"km_value":40670724658036.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7744713641530890240,"description":"Unknown IO ID 45"} 
[2026-11-05 23:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238456320001,"power":27332,"unknown_20":206,"unknown_19":43264,"ignition":6,"odometer":null,"unknown_45":7744713641530890240}} 
[2026-11-05 23:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":229963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:09:29] local.INFO: GPS data processed {"connection_id":229963,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:09:29] local.INFO: Acknowledgment sent {"connection_id":229963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:09:53] local.INFO: TCP Data received {"connection_id":230480,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:09:53] local.INFO: Processing buffer {"connection_id":230480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:09:53] local.INFO: IMEI packet received {"connection_id":230480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":230480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:09:56] local.INFO: TCP Data received {"connection_id":230480,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:09:56] local.INFO: Processing buffer {"connection_id":230480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:09:56] local.INFO: IMEI packet received {"connection_id":230480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":230480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:09:56] local.INFO: TCP Data received {"connection_id":230480,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:09:56] local.INFO: Processing buffer {"connection_id":230480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:09:56] local.INFO: IMEI packet received {"connection_id":230480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":230480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:10:00] local.INFO: TCP Data received {"connection_id":230480,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:10:00] local.INFO: Processing buffer {"connection_id":230480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:10:00] local.INFO: IMEI packet received {"connection_id":230480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":230480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:10:00] local.INFO: TCP Data received {"connection_id":230480,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1accb1db8012d6b624006132ba0000b000633..."} 
[2026-11-05 23:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1accb1db8012d6b624006132ba0000b000633..."} 
[2026-11-05 23:10:00] local.INFO: Processing buffer {"connection_id":230480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1accb1db8012d6b624006132ba0000b000633..."} 
[2026-11-05 23:10:00] local.INFO: Packet analysis {"connection_id":230480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1accb"} 
[2026-11-05 23:10:00] local.INFO: Extracted packet for processing {"connection_id":230480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1accb"} 
[2026-11-05 23:10:00] local.INFO: GPS Element Parsed {"raw_longitude":762012224,"raw_latitude":101919648,"longitude_deg":76.2012224,"latitude_deg":10.1919648,"altitude":11,"angle":6,"satellites":51,"speed":11,"hex_longitude":"2d6b6240","hex_latitude":"06132ba0","is_valid_coordinates":true} 
[2026-11-05 23:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238490368001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40672648803385344,"note":"Value kept but may cause issues"} 
[2026-11-05 23:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7737817504611401728,"note":"Value kept but may cause issues"} 
[2026-11-05 23:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793900355000,"timestamp_ms":1793900355000,"timestamp_seconds":1793900355,"priority":1,"record_length":96,"hex_timestamp":"000001a1accb1db8"} 
[2026-11-05 23:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 23:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":230480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":230480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":230480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238490368001,"66":27332,"91":206,"19":40704,"24":11,"16":40672648803385344,"45":7737817504611401728},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,19,24,16,45]} 
[2026-11-05 23:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238490368001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:10:00] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-11-05 23:10:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40672648803385344,"km_value":40672648803385.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7737817504611401728,"description":"Unknown IO ID 45"} 
[2026-11-05 23:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238490368001,"power":27332,"unknown_91":206,"unknown_19":40704,"ignition":11,"odometer":null,"unknown_45":7737817504611401728}} 
[2026-11-05 23:10:00] 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":64725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:10:00] local.INFO: GPS data processed {"connection_id":230480,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:10:00] local.INFO: Acknowledgment sent {"connection_id":230480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:10:02] local.INFO: TCP Data received {"connection_id":230480,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1accb2970012d6b634006132e88000b001533..."} 
[2026-11-05 23:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1accb2970012d6b634006132e88000b001533..."} 
[2026-11-05 23:10:02] local.INFO: Processing buffer {"connection_id":230480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1accb2970012d6b634006132e88000b001533..."} 
[2026-11-05 23:10:02] local.INFO: Packet analysis {"connection_id":230480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1accb"} 
[2026-11-05 23:10:02] local.INFO: Extracted packet for processing {"connection_id":230480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1accb"} 
[2026-11-05 23:10:02] local.INFO: GPS Element Parsed {"raw_longitude":762012480,"raw_latitude":101920392,"longitude_deg":76.201248,"latitude_deg":10.1920392,"altitude":11,"angle":21,"satellites":51,"speed":9,"hex_longitude":"2d6b6340","hex_latitude":"06132e88","is_valid_coordinates":true} 
[2026-11-05 23:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238490880001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40672687458091008,"note":"Value kept but may cause issues"} 
[2026-11-05 23:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7737817504611540992,"note":"Value kept but may cause issues"} 
[2026-11-05 23:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1793900358000,"timestamp_ms":1793900358000,"timestamp_seconds":1793900358,"priority":1,"record_length":96,"hex_timestamp":"000001a1accb2970"} 
[2026-11-05 23:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:10: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-05 23:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 23:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":230480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":230480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":230480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238490880001,"66":27343,"91":206,"19":40704,"24":9,"16":40672687458091008,"45":7737817504611540992},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,19,24,16,45]} 
[2026-11-05 23:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238490880001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:10:02] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-11-05 23:10:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40672687458091008,"km_value":40672687458091.01,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7737817504611540992,"description":"Unknown IO ID 45"} 
[2026-11-05 23:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238490880001,"power":27343,"unknown_91":206,"unknown_19":40704,"ignition":9,"odometer":null,"unknown_45":7737817504611540992}} 
[2026-11-05 23:10:02] 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":64726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:10:02] local.INFO: GPS data processed {"connection_id":230480,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:10:02] local.INFO: Acknowledgment sent {"connection_id":230480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:10:34] local.INFO: TCP Data received {"connection_id":230480,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1accb3910012d6b6500061331b8000b002133..."} 
[2026-11-05 23:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1accb3910012d6b6500061331b8000b002133..."} 
[2026-11-05 23:10:34] local.INFO: Processing buffer {"connection_id":230480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1accb3910012d6b6500061331b8000b002133..."} 
[2026-11-05 23:10:34] local.INFO: Packet analysis {"connection_id":230480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1accb"} 
[2026-11-05 23:10:34] local.INFO: Extracted packet for processing {"connection_id":230480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1accb"} 
[2026-11-05 23:10:34] local.INFO: GPS Element Parsed {"raw_longitude":762012928,"raw_latitude":101921208,"longitude_deg":76.2012928,"latitude_deg":10.1921208,"altitude":11,"angle":33,"satellites":51,"speed":10,"hex_longitude":"2d6b6500","hex_latitude":"061331b8","is_valid_coordinates":true} 
[2026-11-05 23: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-05 23:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238491648001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40672734702731264,"note":"Value kept but may cause issues"} 
[2026-11-05 23:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7738098979588442112,"note":"Value kept but may cause issues"} 
[2026-11-05 23:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793900362000,"timestamp_ms":1793900362000,"timestamp_seconds":1793900362,"priority":1,"record_length":96,"hex_timestamp":"000001a1accb3910"} 
[2026-11-05 23: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-05 23:10: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-05 23:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 23:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23: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-05 23: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-05 23:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":230480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":230480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":230480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238491648001,"66":27343,"91":206,"19":40704,"24":10,"16":40672734702731264,"45":7738098979588442112},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,19,24,16,45]} 
[2026-11-05 23:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238491648001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:10:34] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-11-05 23:10:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40672734702731264,"km_value":40672734702731.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7738098979588442112,"description":"Unknown IO ID 45"} 
[2026-11-05 23:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238491648001,"power":27343,"unknown_91":206,"unknown_19":40704,"ignition":10,"odometer":null,"unknown_45":7738098979588442112}} 
[2026-11-05 23:10:34] 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":64727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:10:34] local.INFO: GPS data processed {"connection_id":230480,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:10:34] local.INFO: Acknowledgment sent {"connection_id":230480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:10:52] local.INFO: TCP Data received {"connection_id":233722,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:10:52] local.INFO: Processing buffer {"connection_id":233722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:10:52] local.INFO: IMEI packet received {"connection_id":233722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":233722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:10:56] local.INFO: TCP Data received {"connection_id":233722,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:10:56] local.INFO: Processing buffer {"connection_id":233722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:10:56] local.INFO: IMEI packet received {"connection_id":233722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":233722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:10:57] local.INFO: TCP Data received {"connection_id":233722,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1accb5080012d6b6800061336d0000d000b33..."} 
[2026-11-05 23:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1accb5080012d6b6800061336d0000d000b33..."} 
[2026-11-05 23:10:57] local.INFO: Processing buffer {"connection_id":233722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1accb5080012d6b6800061336d0000d000b33..."} 
[2026-11-05 23:10:57] local.INFO: Packet analysis {"connection_id":233722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1accb"} 
[2026-11-05 23:10:57] local.INFO: Extracted packet for processing {"connection_id":233722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1accb"} 
[2026-11-05 23:10:57] local.INFO: GPS Element Parsed {"raw_longitude":762013696,"raw_latitude":101922512,"longitude_deg":76.2013696,"latitude_deg":10.1922512,"altitude":13,"angle":11,"satellites":51,"speed":12,"hex_longitude":"2d6b6800","hex_latitude":"061336d0","is_valid_coordinates":true} 
[2026-11-05 23:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238492672001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40672807717175296,"note":"Value kept but may cause issues"} 
[2026-11-05 23:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7738591560797894656,"note":"Value kept but may cause issues"} 
[2026-11-05 23:10:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1793900368000,"timestamp_ms":1793900368000,"timestamp_seconds":1793900368,"priority":1,"record_length":96,"hex_timestamp":"000001a1accb5080"} 
[2026-11-05 23:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:10:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 23:10:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:10:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":233722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":233722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":233722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238492672001,"66":27180,"91":206,"19":40704,"24":12,"16":40672807717175296,"45":7738591560797894656},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,19,24,16,45]} 
[2026-11-05 23:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238492672001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:10:57] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-11-05 23:10:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40672807717175296,"km_value":40672807717175.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":7738591560797894656,"description":"Unknown IO ID 45"} 
[2026-11-05 23:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238492672001,"power":27180,"unknown_91":206,"unknown_19":40704,"ignition":12,"odometer":null,"unknown_45":7738591560797894656}} 
[2026-11-05 23:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":233722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:10:57] local.INFO: GPS data processed {"connection_id":233722,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:10:57] local.INFO: Acknowledgment sent {"connection_id":233722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:10:58] local.INFO: TCP Data received {"connection_id":233722,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1accb5468012d6b680006133808000d000033..."} 
[2026-11-05 23:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1accb5468012d6b680006133808000d000033..."} 
[2026-11-05 23:10:58] local.INFO: Processing buffer {"connection_id":233722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1accb5468012d6b680006133808000d000033..."} 
[2026-11-05 23:10:58] local.INFO: Packet analysis {"connection_id":233722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1accb"} 
[2026-11-05 23:10:58] local.INFO: Extracted packet for processing {"connection_id":233722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1accb"} 
[2026-11-05 23:10:58] local.INFO: GPS Element Parsed {"raw_longitude":762013696,"raw_latitude":101922824,"longitude_deg":76.2013696,"latitude_deg":10.1922824,"altitude":13,"angle":0,"satellites":51,"speed":13,"hex_longitude":"2d6b6800","hex_latitude":"06133808","is_valid_coordinates":true} 
[2026-11-05 23:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238494208001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40672824897044480,"note":"Value kept but may cause issues"} 
[2026-11-05 23:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7739435985728360448,"note":"Value kept but may cause issues"} 
[2026-11-05 23:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793900369000,"timestamp_ms":1793900369000,"timestamp_seconds":1793900369,"priority":1,"record_length":96,"hex_timestamp":"000001a1accb5468"} 
[2026-11-05 23:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-11-05 23:10:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:10:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":233722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":233722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":233722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238494208001,"66":27365,"91":206,"19":40704,"24":13,"16":40672824897044480,"45":7739435985728360448},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,19,24,16,45]} 
[2026-11-05 23:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238494208001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:10:58] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-11-05 23:10:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40672824897044480,"km_value":40672824897044.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7739435985728360448,"description":"Unknown IO ID 45"} 
[2026-11-05 23:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238494208001,"power":27365,"unknown_91":206,"unknown_19":40704,"ignition":13,"odometer":null,"unknown_45":7739435985728360448}} 
[2026-11-05 23:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":233722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:10:58] local.INFO: GPS data processed {"connection_id":233722,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:10:58] local.INFO: Acknowledgment sent {"connection_id":233722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:11:30] local.INFO: TCP Data received {"connection_id":233722,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1accb9ea0012d6b63c006135ba8000d016133..."} 
[2026-11-05 23:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1accb9ea0012d6b63c006135ba8000d016133..."} 
[2026-11-05 23:11:30] local.INFO: Processing buffer {"connection_id":233722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1accb9ea0012d6b63c006135ba8000d016133..."} 
[2026-11-05 23:11:30] local.INFO: Packet analysis {"connection_id":233722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1accb"} 
[2026-11-05 23:11:30] local.INFO: Extracted packet for processing {"connection_id":233722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1accb"} 
[2026-11-05 23:11:30] local.INFO: GPS Element Parsed {"raw_longitude":762012608,"raw_latitude":101931944,"longitude_deg":76.2012608,"latitude_deg":10.1931944,"altitude":13,"angle":353,"satellites":51,"speed":25,"hex_longitude":"2d6b63c0","hex_latitude":"06135ba8","is_valid_coordinates":true} 
[2026-11-05 23: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-05 23:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238494464001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40673267278675968,"note":"Value kept but may cause issues"} 
[2026-11-05 23:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7739435985728440320,"note":"Value kept but may cause issues"} 
[2026-11-05 23:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793900388000,"timestamp_ms":1793900388000,"timestamp_seconds":1793900388,"priority":1,"record_length":96,"hex_timestamp":"000001a1accb9ea0"} 
[2026-11-05 23: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-05 23:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 23:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23: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-05 23: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-05 23:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":233722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":233722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":233722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238494464001,"66":27463,"91":206,"19":40704,"24":25,"16":40673267278675968,"45":7739435985728440320},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,19,24,16,45]} 
[2026-11-05 23:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238494464001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:11:30] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-11-05 23:11:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40673267278675968,"km_value":40673267278675.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":7739435985728440320,"description":"Unknown IO ID 45"} 
[2026-11-05 23:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238494464001,"power":27463,"unknown_91":206,"unknown_19":40704,"ignition":25,"odometer":null,"unknown_45":7739435985728440320}} 
[2026-11-05 23:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":233722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:11:30] local.INFO: GPS data processed {"connection_id":233722,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:11:30] local.INFO: Acknowledgment sent {"connection_id":233722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:11:49] local.INFO: TCP Data received {"connection_id":231823,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:11:49] local.INFO: Processing buffer {"connection_id":231823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:11:49] local.INFO: IMEI packet received {"connection_id":231823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":231823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:11:49] local.INFO: TCP Data received {"connection_id":231823,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:11:49] local.INFO: Processing buffer {"connection_id":231823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:11:49] local.INFO: IMEI packet received {"connection_id":231823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":231823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:11:51] local.INFO: TCP Data received {"connection_id":231823,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:11:51] local.INFO: Processing buffer {"connection_id":231823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:11:51] local.INFO: IMEI packet received {"connection_id":231823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":231823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:11:57] local.INFO: TCP Data received {"connection_id":231823,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:11:57] local.INFO: Processing buffer {"connection_id":231823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:11:57] local.INFO: IMEI packet received {"connection_id":231823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":231823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:11:58] local.INFO: TCP Data received {"connection_id":231823,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1accbd550012d6b600006138070000e016233..."} 
[2026-11-05 23:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1accbd550012d6b600006138070000e016233..."} 
[2026-11-05 23:11:58] local.INFO: Processing buffer {"connection_id":231823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1accbd550012d6b600006138070000e016233..."} 
[2026-11-05 23:11:58] local.INFO: Packet analysis {"connection_id":231823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1accb"} 
[2026-11-05 23:11:58] local.INFO: Extracted packet for processing {"connection_id":231823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1accb"} 
[2026-11-05 23:11:58] local.INFO: GPS Element Parsed {"raw_longitude":762011648,"raw_latitude":101941360,"longitude_deg":76.2011648,"latitude_deg":10.194136,"altitude":14,"angle":354,"satellites":51,"speed":28,"hex_longitude":"2d6b6000","hex_latitude":"06138070","is_valid_coordinates":true} 
[2026-11-05 23:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238499328001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40673726840176640,"note":"Value kept but may cause issues"} 
[2026-11-05 23:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7738239717079754752,"note":"Value kept but may cause issues"} 
[2026-11-05 23:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793900402000,"timestamp_ms":1793900402000,"timestamp_seconds":1793900402,"priority":1,"record_length":96,"hex_timestamp":"000001a1accbd550"} 
[2026-11-05 23:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 23:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:11:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":231823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":231823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":231823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238499328001,"66":27300,"91":206,"19":40704,"24":28,"16":40673726840176640,"45":7738239717079754752},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,19,24,16,45]} 
[2026-11-05 23:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238499328001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:11:58] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-11-05 23:11:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40673726840176640,"km_value":40673726840176.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7738239717079754752,"description":"Unknown IO ID 45"} 
[2026-11-05 23:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238499328001,"power":27300,"unknown_91":206,"unknown_19":40704,"ignition":28,"odometer":null,"unknown_45":7738239717079754752}} 
[2026-11-05 23:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":231823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:11:58] local.INFO: GPS data processed {"connection_id":231823,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:11:58] local.INFO: Acknowledgment sent {"connection_id":231823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:12:40] local.INFO: TCP Data received {"connection_id":231823,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1accc1ba0012d6b5c800613a3d0000b016233..."} 
[2026-11-05 23:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1accc1ba0012d6b5c800613a3d0000b016233..."} 
[2026-11-05 23:12:40] local.INFO: Processing buffer {"connection_id":231823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1accc1ba0012d6b5c800613a3d0000b016233..."} 
[2026-11-05 23:12:40] local.INFO: Packet analysis {"connection_id":231823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1accc"} 
[2026-11-05 23:12:40] local.INFO: Extracted packet for processing {"connection_id":231823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1accc"} 
[2026-11-05 23:12:40] local.INFO: GPS Element Parsed {"raw_longitude":762010752,"raw_latitude":101950416,"longitude_deg":76.2010752,"latitude_deg":10.1950416,"altitude":11,"angle":354,"satellites":51,"speed":22,"hex_longitude":"2d6b5c80","hex_latitude":"0613a3d0","is_valid_coordinates":true} 
[2026-11-05 23:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238502912001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40674169221808128,"note":"Value kept but may cause issues"} 
[2026-11-05 23:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7737184185919500288,"note":"Value kept but may cause issues"} 
[2026-11-05 23:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793900420000,"timestamp_ms":1793900420000,"timestamp_seconds":1793900420,"priority":1,"record_length":96,"hex_timestamp":"000001a1accc1ba0"} 
[2026-11-05 23:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:12: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-05 23:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 23:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":231823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":231823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":231823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238502912001,"66":27332,"91":206,"19":40704,"24":22,"16":40674169221808128,"45":7737184185919500288},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,19,24,16,45]} 
[2026-11-05 23:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238502912001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:12:40] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-11-05 23:12:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40674169221808128,"km_value":40674169221808.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":7737184185919500288,"description":"Unknown IO ID 45"} 
[2026-11-05 23:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238502912001,"power":27332,"unknown_91":206,"unknown_19":40704,"ignition":22,"odometer":null,"unknown_45":7737184185919500288}} 
[2026-11-05 23:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":231823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:12:40] local.INFO: GPS data processed {"connection_id":231823,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:12:40] local.INFO: Acknowledgment sent {"connection_id":231823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:12:51] local.INFO: TCP Data received {"connection_id":230481,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:12:51] local.INFO: Processing buffer {"connection_id":230481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:12:51] local.INFO: IMEI packet received {"connection_id":230481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":230481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:12:56] local.INFO: TCP Data received {"connection_id":230481,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:12:56] local.INFO: Processing buffer {"connection_id":230481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:12:56] local.INFO: IMEI packet received {"connection_id":230481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":230481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:12:57] local.INFO: TCP Data received {"connection_id":230481,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1accc5a20012d6b58800613c750000b016033..."} 
[2026-11-05 23:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1accc5a20012d6b58800613c750000b016033..."} 
[2026-11-05 23:12:57] local.INFO: Processing buffer {"connection_id":230481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1accc5a20012d6b58800613c750000b016033..."} 
[2026-11-05 23:12:57] local.INFO: Packet analysis {"connection_id":230481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1accc"} 
[2026-11-05 23:12:57] local.INFO: Extracted packet for processing {"connection_id":230481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1accc"} 
[2026-11-05 23:12:57] local.INFO: GPS Element Parsed {"raw_longitude":762009728,"raw_latitude":101959504,"longitude_deg":76.2009728,"latitude_deg":10.1959504,"altitude":11,"angle":352,"satellites":51,"speed":23,"hex_longitude":"2d6b5880","hex_latitude":"0613c750","is_valid_coordinates":true} 
[2026-11-05 23:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238507520001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40674611603439616,"note":"Value kept but may cause issues"} 
[2026-11-05 23:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7736199023503331328,"note":"Value kept but may cause issues"} 
[2026-11-05 23:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1793900436000,"timestamp_ms":1793900436000,"timestamp_seconds":1793900436,"priority":1,"record_length":96,"hex_timestamp":"000001a1accc5a20"} 
[2026-11-05 23:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 23:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":230481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":230481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":230481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238507520001,"66":27484,"91":206,"19":40704,"24":23,"16":40674611603439616,"45":7736199023503331328},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,19,24,16,45]} 
[2026-11-05 23:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238507520001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:12:57] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-11-05 23:12:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40674611603439616,"km_value":40674611603439.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":7736199023503331328,"description":"Unknown IO ID 45"} 
[2026-11-05 23:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238507520001,"power":27484,"unknown_91":206,"unknown_19":40704,"ignition":23,"odometer":null,"unknown_45":7736199023503331328}} 
[2026-11-05 23:12:57] 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":64733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:12:57] local.INFO: GPS data processed {"connection_id":230481,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:12:57] local.INFO: Acknowledgment sent {"connection_id":230481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:13:03] local.INFO: TCP Data received {"connection_id":229964,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:13:03] local.INFO: Processing buffer {"connection_id":229964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:13:03] local.INFO: IMEI packet received {"connection_id":229964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 23:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":229964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:13:30] local.INFO: TCP Data received {"connection_id":230481,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1accc90d0012d6b55800613ea10000a015f33..."} 
[2026-11-05 23:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1accc90d0012d6b55800613ea10000a015f33..."} 
[2026-11-05 23:13:30] local.INFO: Processing buffer {"connection_id":230481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1accc90d0012d6b55800613ea10000a015f33..."} 
[2026-11-05 23:13:30] local.INFO: Packet analysis {"connection_id":230481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1accc"} 
[2026-11-05 23:13:30] local.INFO: Extracted packet for processing {"connection_id":230481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1accc"} 
[2026-11-05 23:13:30] local.INFO: GPS Element Parsed {"raw_longitude":762008960,"raw_latitude":101968400,"longitude_deg":76.200896,"latitude_deg":10.19684,"altitude":10,"angle":351,"satellites":51,"speed":21,"hex_longitude":"2d6b5580","hex_latitude":"0613ea10","is_valid_coordinates":true} 
[2026-11-05 23:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238511616001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40675045395136512,"note":"Value kept but may cause issues"} 
[2026-11-05 23:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7735073123598815232,"note":"Value kept but may cause issues"} 
[2026-11-05 23:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793900450000,"timestamp_ms":1793900450000,"timestamp_seconds":1793900450,"priority":1,"record_length":96,"hex_timestamp":"000001a1accc90d0"} 
[2026-11-05 23:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 23:13:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":230481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":230481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":230481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238511616001,"66":27376,"91":206,"19":40704,"24":21,"16":40675045395136512,"45":7735073123598815232},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,19,24,16,45]} 
[2026-11-05 23:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238511616001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:13:30] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-11-05 23:13:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40675045395136512,"km_value":40675045395136.516,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":7735073123598815232,"description":"Unknown IO ID 45"} 
[2026-11-05 23:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238511616001,"power":27376,"unknown_91":206,"unknown_19":40704,"ignition":21,"odometer":null,"unknown_45":7735073123598815232}} 
[2026-11-05 23:13:30] 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":64734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:13:30] local.INFO: GPS data processed {"connection_id":230481,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:13:30] local.INFO: Acknowledgment sent {"connection_id":230481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:14:03] local.INFO: TCP Data received {"connection_id":229965,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:14:03] local.INFO: Processing buffer {"connection_id":229965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:14:03] local.INFO: IMEI packet received {"connection_id":229965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":229965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:14:07] local.INFO: TCP Data received {"connection_id":229965,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:14:07] local.INFO: Processing buffer {"connection_id":229965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:14:07] local.INFO: IMEI packet received {"connection_id":229965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":229965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:14:09] local.INFO: TCP Data received {"connection_id":229965,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:14:09] local.INFO: Processing buffer {"connection_id":229965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:14:09] local.INFO: IMEI packet received {"connection_id":229965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":229965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:14:12] local.INFO: TCP Data received {"connection_id":229965,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acceafc8012d6b36000614fec8000e014432..."} 
[2026-11-05 23:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acceafc8012d6b36000614fec8000e014432..."} 
[2026-11-05 23:14:12] local.INFO: Processing buffer {"connection_id":229965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acceafc8012d6b36000614fec8000e014432..."} 
[2026-11-05 23:14:12] local.INFO: Packet analysis {"connection_id":229965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acce"} 
[2026-11-05 23:14:12] local.INFO: Extracted packet for processing {"connection_id":229965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acce"} 
[2026-11-05 23:14:12] local.INFO: GPS Element Parsed {"raw_longitude":762000896,"raw_latitude":102039240,"longitude_deg":76.2000896,"latitude_deg":10.203924,"altitude":14,"angle":324,"satellites":50,"speed":12,"hex_longitude":"2d6b3600","hex_latitude":"0614fec8","is_valid_coordinates":true} 
[2026-11-05 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-05 23:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238550016001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40678515728711680,"note":"Value kept but may cause issues"} 
[2026-11-05 23:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7725714080643426304,"note":"Value kept but may cause issues"} 
[2026-11-05 23:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793900589000,"timestamp_ms":1793900589000,"timestamp_seconds":1793900589,"priority":1,"record_length":96,"hex_timestamp":"000001a1acceafc8"} 
[2026-11-05 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-05 23:14: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-05 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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-11-05 23:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 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-05 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-05 23:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238550016001,"66":27267,"92":206,"19":40704,"24":12,"16":40678515728711680,"45":7725714080643426304},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,19,24,16,45]} 
[2026-11-05 23:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238550016001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:14:12] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-11-05 23:14:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40678515728711680,"km_value":40678515728711.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7725714080643426304,"description":"Unknown IO ID 45"} 
[2026-11-05 23:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238550016001,"power":27267,"unknown_92":206,"unknown_19":40704,"ignition":12,"odometer":null,"unknown_45":7725714080643426304}} 
[2026-11-05 23:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":229965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:14:12] local.INFO: GPS data processed {"connection_id":229965,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:14:12] local.INFO: Acknowledgment sent {"connection_id":229965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:14:14] local.INFO: TCP Data received {"connection_id":229965,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1accebf68012d6b338006150308000e015633..."} 
[2026-11-05 23:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1accebf68012d6b338006150308000e015633..."} 
[2026-11-05 23:14:14] local.INFO: Processing buffer {"connection_id":229965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1accebf68012d6b338006150308000e015633..."} 
[2026-11-05 23:14:14] local.INFO: Packet analysis {"connection_id":229965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acce"} 
[2026-11-05 23:14:14] local.INFO: Extracted packet for processing {"connection_id":229965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acce"} 
[2026-11-05 23:14:14] local.INFO: GPS Element Parsed {"raw_longitude":762000256,"raw_latitude":102040328,"longitude_deg":76.2000256,"latitude_deg":10.2040328,"altitude":14,"angle":342,"satellites":51,"speed":15,"hex_longitude":"2d6b3380","hex_latitude":"06150308","is_valid_coordinates":true} 
[2026-11-05 23:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238550784001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40678575858253824,"note":"Value kept but may cause issues"} 
[2026-11-05 23:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7725362236922710016,"note":"Value kept but may cause issues"} 
[2026-11-05 23:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793900593000,"timestamp_ms":1793900593000,"timestamp_seconds":1793900593,"priority":1,"record_length":96,"hex_timestamp":"000001a1accebf68"} 
[2026-11-05 23:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 23:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238550784001,"66":27332,"92":206,"19":40704,"24":15,"16":40678575858253824,"45":7725362236922710016},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,19,24,16,45]} 
[2026-11-05 23:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238550784001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:14:14] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-11-05 23:14:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40678575858253824,"km_value":40678575858253.82,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":7725362236922710016,"description":"Unknown IO ID 45"} 
[2026-11-05 23:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238550784001,"power":27332,"unknown_92":206,"unknown_19":40704,"ignition":15,"odometer":null,"unknown_45":7725362236922710016}} 
[2026-11-05 23:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":229965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:14:14] local.INFO: GPS data processed {"connection_id":229965,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:14:14] local.INFO: Acknowledgment sent {"connection_id":229965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:14:51] local.INFO: TCP Data received {"connection_id":229966,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:14:51] local.INFO: Processing buffer {"connection_id":229966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:14:51] local.INFO: IMEI packet received {"connection_id":229966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":229966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:14:57] local.INFO: TCP Data received {"connection_id":229966,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:14:57] local.INFO: Processing buffer {"connection_id":229966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:14:57] local.INFO: IMEI packet received {"connection_id":229966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":229966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:14:58] local.INFO: TCP Data received {"connection_id":229966,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1accec738012d6b334006150670000e000033..."} 
[2026-11-05 23:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1accec738012d6b334006150670000e000033..."} 
[2026-11-05 23:14:58] local.INFO: Processing buffer {"connection_id":229966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1accec738012d6b334006150670000e000033..."} 
[2026-11-05 23:14:58] local.INFO: Packet analysis {"connection_id":229966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acce"} 
[2026-11-05 23:14:58] local.INFO: Extracted packet for processing {"connection_id":229966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acce"} 
[2026-11-05 23:14:58] local.INFO: GPS Element Parsed {"raw_longitude":762000192,"raw_latitude":102041200,"longitude_deg":76.2000192,"latitude_deg":10.20412,"altitude":14,"angle":0,"satellites":51,"speed":20,"hex_longitude":"2d6b3340","hex_latitude":"06150670","is_valid_coordinates":true} 
[2026-11-05 23:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238551808001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40678618807926784,"note":"Value kept but may cause issues"} 
[2026-11-05 23:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7724658549481211904,"note":"Value kept but may cause issues"} 
[2026-11-05 23:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793900595000,"timestamp_ms":1793900595000,"timestamp_seconds":1793900595,"priority":1,"record_length":96,"hex_timestamp":"000001a1accec738"} 
[2026-11-05 23:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 23:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":229966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":229966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":229966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238551808001,"66":27376,"92":206,"19":40704,"24":20,"16":40678618807926784,"45":7724658549481211904},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,19,24,16,45]} 
[2026-11-05 23:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238551808001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:14:58] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-11-05 23:14:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40678618807926784,"km_value":40678618807926.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7724658549481211904,"description":"Unknown IO ID 45"} 
[2026-11-05 23:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238551808001,"power":27376,"unknown_92":206,"unknown_19":40704,"ignition":20,"odometer":null,"unknown_45":7724658549481211904}} 
[2026-11-05 23:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":229966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:14:58] local.INFO: GPS data processed {"connection_id":229966,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:14:58] local.INFO: Acknowledgment sent {"connection_id":229966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:15:30] local.INFO: TCP Data received {"connection_id":229966,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acd00b70012d6ad580061696a0000e015530..."} 
[2026-11-05 23:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acd00b70012d6ad580061696a0000e015530..."} 
[2026-11-05 23:15:30] local.INFO: Processing buffer {"connection_id":229966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acd00b70012d6ad580061696a0000e015530..."} 
[2026-11-05 23:15:30] local.INFO: Packet analysis {"connection_id":229966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acd0"} 
[2026-11-05 23:15:30] local.INFO: Extracted packet for processing {"connection_id":229966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acd0"} 
[2026-11-05 23:15:30] local.INFO: GPS Element Parsed {"raw_longitude":761976192,"raw_latitude":102143648,"longitude_deg":76.1976192,"latitude_deg":10.2143648,"altitude":14,"angle":341,"satellites":48,"speed":59,"hex_longitude":"2d6ad580","hex_latitude":"061696a0","is_valid_coordinates":true} 
[2026-11-05 23:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238572032001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40683764178747392,"note":"Value kept but may cause issues"} 
[2026-11-05 23:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7701366495182665728,"note":"Value kept but may cause issues"} 
[2026-11-05 23:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793900678000,"timestamp_ms":1793900678000,"timestamp_seconds":1793900678,"priority":1,"record_length":96,"hex_timestamp":"000001a1acd00b70"} 
[2026-11-05 23:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 23:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":229966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":229966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":229966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238572032001,"66":27397,"148":206,"19":40704,"24":59,"16":40683764178747392,"45":7701366495182665728},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,19,24,16,45]} 
[2026-11-05 23:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238572032001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:15:30] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-11-05 23:15:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40683764178747392,"km_value":40683764178747.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":7701366495182665728,"description":"Unknown IO ID 45"} 
[2026-11-05 23:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238572032001,"power":27397,"unknown_148":206,"unknown_19":40704,"ignition":59,"odometer":null,"unknown_45":7701366495182665728}} 
[2026-11-05 23:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":229966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:15:30] local.INFO: GPS data processed {"connection_id":229966,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:15:30] local.INFO: Acknowledgment sent {"connection_id":229966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:15:55] local.INFO: TCP Data received {"connection_id":230483,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:15:55] local.INFO: Processing buffer {"connection_id":230483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:15:55] local.INFO: IMEI packet received {"connection_id":230483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":230483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:15:56] local.INFO: TCP Data received {"connection_id":230483,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:15:56] local.INFO: Processing buffer {"connection_id":230483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:15:56] local.INFO: IMEI packet received {"connection_id":230483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":230483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:16:03] local.INFO: TCP Data received {"connection_id":230483,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:16:03] local.INFO: Processing buffer {"connection_id":230483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:16:03] local.INFO: IMEI packet received {"connection_id":230483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":230483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:16:06] local.INFO: TCP Data received {"connection_id":230483,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acd022e0012d6aca000616b770000c015431..."} 
[2026-11-05 23:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acd022e0012d6aca000616b770000c015431..."} 
[2026-11-05 23:16:06] local.INFO: Processing buffer {"connection_id":230483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acd022e0012d6aca000616b770000c015431..."} 
[2026-11-05 23:16:06] local.INFO: Packet analysis {"connection_id":230483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acd0"} 
[2026-11-05 23:16:06] local.INFO: Extracted packet for processing {"connection_id":230483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acd0"} 
[2026-11-05 23:16:06] local.INFO: GPS Element Parsed {"raw_longitude":761973248,"raw_latitude":102152048,"longitude_deg":76.1973248,"latitude_deg":10.2152048,"altitude":12,"angle":340,"satellites":49,"speed":58,"hex_longitude":"2d6aca00","hex_latitude":"0616b770","is_valid_coordinates":true} 
[2026-11-05 23: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-05 23:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238573568001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40684193675476992,"note":"Value kept but may cause issues"} 
[2026-11-05 23:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7698199901696860160,"note":"Value kept but may cause issues"} 
[2026-11-05 23:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1793900684000,"timestamp_ms":1793900684000,"timestamp_seconds":1793900684,"priority":1,"record_length":96,"hex_timestamp":"000001a1acd022e0"} 
[2026-11-05 23: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-05 23:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 23:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23: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-05 23: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-05 23:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":230483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":230483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":230483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238573568001,"66":27343,"148":206,"19":40704,"24":58,"16":40684193675476992,"45":7698199901696860160},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,19,24,16,45]} 
[2026-11-05 23:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238573568001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:16:06] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-11-05 23:16:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40684193675476992,"km_value":40684193675476.99,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7698199901696860160,"description":"Unknown IO ID 45"} 
[2026-11-05 23:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238573568001,"power":27343,"unknown_148":206,"unknown_19":40704,"ignition":58,"odometer":null,"unknown_45":7698199901696860160}} 
[2026-11-05 23:16:06] 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":64739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:16:06] local.INFO: GPS data processed {"connection_id":230483,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:16:06] local.INFO: Acknowledgment sent {"connection_id":230483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:16:52] local.INFO: TCP Data received {"connection_id":233723,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:16:52] local.INFO: Processing buffer {"connection_id":233723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:16:52] local.INFO: IMEI packet received {"connection_id":233723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":233723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:17:00] local.INFO: TCP Data received {"connection_id":233723,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:17:00] local.INFO: Processing buffer {"connection_id":233723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:17:00] local.INFO: IMEI packet received {"connection_id":233723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":233723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:17:01] local.INFO: TCP Data received {"connection_id":233723,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acd15390012d6a8d40061835a80009000033..."} 
[2026-11-05 23:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acd15390012d6a8d40061835a80009000033..."} 
[2026-11-05 23:17:01] local.INFO: Processing buffer {"connection_id":233723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acd15390012d6a8d40061835a80009000033..."} 
[2026-11-05 23:17:01] local.INFO: Packet analysis {"connection_id":233723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acd1"} 
[2026-11-05 23:17:01] local.INFO: Extracted packet for processing {"connection_id":233723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acd1"} 
[2026-11-05 23:17:01] local.INFO: GPS Element Parsed {"raw_longitude":761957696,"raw_latitude":102249896,"longitude_deg":76.1957696,"latitude_deg":10.2249896,"altitude":9,"angle":0,"satellites":51,"speed":42,"hex_longitude":"2d6a8d40","hex_latitude":"061835a8","is_valid_coordinates":true} 
[2026-11-05 23: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-05 23:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238592768001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40689042693554176,"note":"Value kept but may cause issues"} 
[2026-11-05 23:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7678285547119509504,"note":"Value kept but may cause issues"} 
[2026-11-05 23:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1793900762000,"timestamp_ms":1793900762000,"timestamp_seconds":1793900762,"priority":1,"record_length":96,"hex_timestamp":"000001a1acd15390"} 
[2026-11-05 23: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-05 23:17: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-05 23:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 23:17:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23: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-05 23: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-05 23:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":233723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":233723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":233723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238592768001,"66":27234,"147":206,"19":40704,"24":42,"16":40689042693554176,"45":7678285547119509504},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,19,24,16,45]} 
[2026-11-05 23:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238592768001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:17:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-11-05 23:17:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40689042693554176,"km_value":40689042693554.18,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7678285547119509504,"description":"Unknown IO ID 45"} 
[2026-11-05 23:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238592768001,"power":27234,"unknown_147":206,"unknown_19":40704,"ignition":42,"odometer":null,"unknown_45":7678285547119509504}} 
[2026-11-05 23:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":233723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:17:01] local.INFO: GPS data processed {"connection_id":233723,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:17:01] local.INFO: Acknowledgment sent {"connection_id":233723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:17:34] local.INFO: TCP Data received {"connection_id":233723,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acd172d0012d6a8cc0061859200008016332..."} 
[2026-11-05 23:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acd172d0012d6a8cc0061859200008016332..."} 
[2026-11-05 23:17:34] local.INFO: Processing buffer {"connection_id":233723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acd172d0012d6a8cc0061859200008016332..."} 
[2026-11-05 23:17:34] local.INFO: Packet analysis {"connection_id":233723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acd1"} 
[2026-11-05 23:17:34] local.INFO: Extracted packet for processing {"connection_id":233723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acd1"} 
[2026-11-05 23:17:34] local.INFO: GPS Element Parsed {"raw_longitude":761957568,"raw_latitude":102258976,"longitude_deg":76.1957568,"latitude_deg":10.2258976,"altitude":8,"angle":355,"satellites":50,"speed":45,"hex_longitude":"2d6a8cc0","hex_latitude":"06185920","is_valid_coordinates":true} 
[2026-11-05 23:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238595072001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40689485075185664,"note":"Value kept but may cause issues"} 
[2026-11-05 23:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7677863334656714752,"note":"Value kept but may cause issues"} 
[2026-11-05 23:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793900770000,"timestamp_ms":1793900770000,"timestamp_seconds":1793900770,"priority":1,"record_length":96,"hex_timestamp":"000001a1acd172d0"} 
[2026-11-05 23:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:17: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-05 23:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 23:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":233723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":233723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":233723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238595072001,"66":27365,"147":206,"19":40704,"24":45,"16":40689485075185664,"45":7677863334656714752},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,19,24,16,45]} 
[2026-11-05 23:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238595072001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:17:34] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-11-05 23:17:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40689485075185664,"km_value":40689485075185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7677863334656714752,"description":"Unknown IO ID 45"} 
[2026-11-05 23:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238595072001,"power":27365,"unknown_147":206,"unknown_19":40704,"ignition":45,"odometer":null,"unknown_45":7677863334656714752}} 
[2026-11-05 23:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":233723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:17:34] local.INFO: GPS data processed {"connection_id":233723,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:17:34] local.INFO: Acknowledgment sent {"connection_id":233723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:17:51] local.INFO: TCP Data received {"connection_id":230484,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:17:51] local.INFO: Processing buffer {"connection_id":230484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:17:51] local.INFO: IMEI packet received {"connection_id":230484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":230484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:17:54] local.INFO: TCP Data received {"connection_id":230484,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:17:55] local.INFO: Processing buffer {"connection_id":230484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:17:55] local.INFO: IMEI packet received {"connection_id":230484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":230484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:17:56] local.INFO: TCP Data received {"connection_id":230484,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acd195f8012d6a884006187dd00008015d31..."} 
[2026-11-05 23:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acd195f8012d6a884006187dd00008015d31..."} 
[2026-11-05 23:17:56] local.INFO: Processing buffer {"connection_id":230484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acd195f8012d6a884006187dd00008015d31..."} 
[2026-11-05 23:17:56] local.INFO: Packet analysis {"connection_id":230484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acd1"} 
[2026-11-05 23:17:56] local.INFO: Extracted packet for processing {"connection_id":230484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acd1"} 
[2026-11-05 23:17:56] local.INFO: GPS Element Parsed {"raw_longitude":761956416,"raw_latitude":102268368,"longitude_deg":76.1956416,"latitude_deg":10.2268368,"altitude":8,"angle":349,"satellites":49,"speed":39,"hex_longitude":"2d6a8840","hex_latitude":"06187dd0","is_valid_coordinates":true} 
[2026-11-05 23:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238597120001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40689944636686336,"note":"Value kept but may cause issues"} 
[2026-11-05 23:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7677722597170683904,"note":"Value kept but may cause issues"} 
[2026-11-05 23:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793900779000,"timestamp_ms":1793900779000,"timestamp_seconds":1793900779,"priority":1,"record_length":96,"hex_timestamp":"000001a1acd195f8"} 
[2026-11-05 23:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 23:17:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":230484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":230484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":230484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238597120001,"66":27365,"147":206,"19":40704,"24":39,"16":40689944636686336,"45":7677722597170683904},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,19,24,16,45]} 
[2026-11-05 23:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238597120001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:17:56] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-11-05 23:17:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40689944636686336,"km_value":40689944636686.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":7677722597170683904,"description":"Unknown IO ID 45"} 
[2026-11-05 23:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238597120001,"power":27365,"unknown_147":206,"unknown_19":40704,"ignition":39,"odometer":null,"unknown_45":7677722597170683904}} 
[2026-11-05 23:17:56] 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":64742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:17:56] local.INFO: GPS data processed {"connection_id":230484,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:17:56] local.INFO: Acknowledgment sent {"connection_id":230484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:18:28] local.INFO: TCP Data received {"connection_id":230484,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acd1b920012d6a82000618a0d00009015e30..."} 
[2026-11-05 23:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acd1b920012d6a82000618a0d00009015e30..."} 
[2026-11-05 23:18:28] local.INFO: Processing buffer {"connection_id":230484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acd1b920012d6a82000618a0d00009015e30..."} 
[2026-11-05 23:18:28] local.INFO: Packet analysis {"connection_id":230484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acd1"} 
[2026-11-05 23:18:28] local.INFO: Extracted packet for processing {"connection_id":230484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acd1"} 
[2026-11-05 23:18:28] local.INFO: GPS Element Parsed {"raw_longitude":761954816,"raw_latitude":102277328,"longitude_deg":76.1954816,"latitude_deg":10.2277328,"altitude":9,"angle":350,"satellites":48,"speed":41,"hex_longitude":"2d6a8200","hex_latitude":"0618a0d0","is_valid_coordinates":true} 
[2026-11-05 23:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238599424001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40690382723350528,"note":"Value kept but may cause issues"} 
[2026-11-05 23:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7676455959777890304,"note":"Value kept but may cause issues"} 
[2026-11-05 23:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1793900788000,"timestamp_ms":1793900788000,"timestamp_seconds":1793900788,"priority":1,"record_length":96,"hex_timestamp":"000001a1acd1b920"} 
[2026-11-05 23:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 23:18:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:18:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":230484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":230484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":230484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238599424001,"66":27267,"6":206,"19":40704,"24":41,"16":40690382723350528,"45":7676455959777890304},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,19,24,16,45]} 
[2026-11-05 23:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238599424001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:18:28] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-11-05 23:18:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40690382723350528,"km_value":40690382723350.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7676455959777890304,"description":"Unknown IO ID 45"} 
[2026-11-05 23:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238599424001,"power":27267,"unknown_6":206,"unknown_19":40704,"ignition":41,"odometer":null,"unknown_45":7676455959777890304}} 
[2026-11-05 23:18:28] 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":64743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:18:28] local.INFO: GPS data processed {"connection_id":230484,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:18:28] local.INFO: Acknowledgment sent {"connection_id":230484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:18:38] local.INFO: TCP Data received {"connection_id":230482,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230482,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:18:38] local.INFO: Processing buffer {"connection_id":230482,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:18:38] local.INFO: IMEI packet received {"connection_id":230482,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 23:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":230482,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:19:06] local.INFO: TCP Data received {"connection_id":231824,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:19:06] local.INFO: Processing buffer {"connection_id":231824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:19:06] local.INFO: IMEI packet received {"connection_id":231824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":231824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:19:08] local.INFO: TCP Data received {"connection_id":231824,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:19:08] local.INFO: Processing buffer {"connection_id":231824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:19:08] local.INFO: IMEI packet received {"connection_id":231824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":231824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:19:11] local.INFO: TCP Data received {"connection_id":231824,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acd32468012d6a2680061a2970000a015427..."} 
[2026-11-05 23:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acd32468012d6a2680061a2970000a015427..."} 
[2026-11-05 23:19:11] local.INFO: Processing buffer {"connection_id":231824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acd32468012d6a2680061a2970000a015427..."} 
[2026-11-05 23:19:11] local.INFO: Packet analysis {"connection_id":231824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acd3"} 
[2026-11-05 23:19:11] local.INFO: Extracted packet for processing {"connection_id":231824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acd3"} 
[2026-11-05 23:19:11] local.INFO: GPS Element Parsed {"raw_longitude":761931392,"raw_latitude":102377840,"longitude_deg":76.1931392,"latitude_deg":10.237784,"altitude":10,"angle":340,"satellites":39,"speed":46,"hex_longitude":"2d6a2680","hex_latitude":"061a2970","is_valid_coordinates":true} 
[2026-11-05 23: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-05 23:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238623488001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40695416425021440,"note":"Value kept but may cause issues"} 
[2026-11-05 23:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7651545424364767232,"note":"Value kept but may cause issues"} 
[2026-11-05 23:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793900881000,"timestamp_ms":1793900881000,"timestamp_seconds":1793900881,"priority":1,"record_length":96,"hex_timestamp":"000001a1acd32468"} 
[2026-11-05 23: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-05 23:19: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-05 23: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 23:19: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-05 23: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-05 23: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-05 23:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238623488001,"66":27321,"5":206,"19":40704,"24":46,"16":40695416425021440,"45":7651545424364767232},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,19,24,16,45]} 
[2026-11-05 23:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238623488001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:19:11] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-11-05 23:19:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40695416425021440,"km_value":40695416425021.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7651545424364767232,"description":"Unknown IO ID 45"} 
[2026-11-05 23:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238623488001,"power":27321,"unknown_5":206,"unknown_19":40704,"ignition":46,"odometer":null,"unknown_45":7651545424364767232}} 
[2026-11-05 23:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":231824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:19:11] local.INFO: GPS data processed {"connection_id":231824,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:19:11] local.INFO: Acknowledgment sent {"connection_id":231824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:19:12] local.INFO: TCP Data received {"connection_id":231824,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acd343a8012d6a19c0061a4d900009014e25..."} 
[2026-11-05 23:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acd343a8012d6a19c0061a4d900009014e25..."} 
[2026-11-05 23:19:12] local.INFO: Processing buffer {"connection_id":231824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acd343a8012d6a19c0061a4d900009014e25..."} 
[2026-11-05 23:19:12] local.INFO: Packet analysis {"connection_id":231824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acd3"} 
[2026-11-05 23:19:12] local.INFO: Extracted packet for processing {"connection_id":231824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acd3"} 
[2026-11-05 23:19:12] local.INFO: GPS Element Parsed {"raw_longitude":761928128,"raw_latitude":102387088,"longitude_deg":76.1928128,"latitude_deg":10.2387088,"altitude":9,"angle":334,"satellites":37,"speed":49,"hex_longitude":"2d6a19c0","hex_latitude":"061a4d90","is_valid_coordinates":true} 
[2026-11-05 23: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-05 23:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238625536001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40695893166391296,"note":"Value kept but may cause issues"} 
[2026-11-05 23:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7648941780832448512,"note":"Value kept but may cause issues"} 
[2026-11-05 23:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793900889000,"timestamp_ms":1793900889000,"timestamp_seconds":1793900889,"priority":1,"record_length":96,"hex_timestamp":"000001a1acd343a8"} 
[2026-11-05 23: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-05 23:19: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-05 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 23:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23: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-05 23: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-05 23:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238625536001,"66":27300,"5":206,"19":40704,"24":49,"16":40695893166391296,"45":7648941780832448512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,19,24,16,45]} 
[2026-11-05 23:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238625536001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:19:12] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-11-05 23:19:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40695893166391296,"km_value":40695893166391.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7648941780832448512,"description":"Unknown IO ID 45"} 
[2026-11-05 23:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238625536001,"power":27300,"unknown_5":206,"unknown_19":40704,"ignition":49,"odometer":null,"unknown_45":7648941780832448512}} 
[2026-11-05 23:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":231824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:19:12] local.INFO: GPS data processed {"connection_id":231824,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:19:12] local.INFO: Acknowledgment sent {"connection_id":231824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:19:52] local.INFO: TCP Data received {"connection_id":233725,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:19:52] local.INFO: Processing buffer {"connection_id":233725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:19:52] local.INFO: IMEI packet received {"connection_id":233725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":233725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:19:53] local.INFO: TCP Data received {"connection_id":233725,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:19:53] local.INFO: Processing buffer {"connection_id":233725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:19:53] local.INFO: IMEI packet received {"connection_id":233725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":233725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:19:57] local.INFO: TCP Data received {"connection_id":233725,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:19:57] local.INFO: Processing buffer {"connection_id":233725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:19:57] local.INFO: IMEI packet received {"connection_id":233725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":233725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:19:58] local.INFO: TCP Data received {"connection_id":233725,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acd362e8012d6a0980061a70f80008015525..."} 
[2026-11-05 23:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acd362e8012d6a0980061a70f80008015525..."} 
[2026-11-05 23:19:58] local.INFO: Processing buffer {"connection_id":233725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acd362e8012d6a0980061a70f80008015525..."} 
[2026-11-05 23:19:58] local.INFO: Packet analysis {"connection_id":233725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acd3"} 
[2026-11-05 23:19:58] local.INFO: Extracted packet for processing {"connection_id":233725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acd3"} 
[2026-11-05 23:19:58] local.INFO: GPS Element Parsed {"raw_longitude":761923968,"raw_latitude":102396152,"longitude_deg":76.1923968,"latitude_deg":10.2396152,"altitude":8,"angle":341,"satellites":37,"speed":49,"hex_longitude":"2d6a0980","hex_latitude":"061a70f8","is_valid_coordinates":true} 
[2026-11-05 23:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238627584001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40696374202728448,"note":"Value kept but may cause issues"} 
[2026-11-05 23:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7645352974881755136,"note":"Value kept but may cause issues"} 
[2026-11-05 23:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793900897000,"timestamp_ms":1793900897000,"timestamp_seconds":1793900897,"priority":1,"record_length":96,"hex_timestamp":"000001a1acd362e8"} 
[2026-11-05 23:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 23:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":233725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":233725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":233725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238627584001,"66":27343,"5":206,"19":40704,"24":49,"16":40696374202728448,"45":7645352974881755136},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,19,24,16,45]} 
[2026-11-05 23:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238627584001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:19:58] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-11-05 23:19:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40696374202728448,"km_value":40696374202728.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7645352974881755136,"description":"Unknown IO ID 45"} 
[2026-11-05 23:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238627584001,"power":27343,"unknown_5":206,"unknown_19":40704,"ignition":49,"odometer":null,"unknown_45":7645352974881755136}} 
[2026-11-05 23:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":233725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:19:58] local.INFO: GPS data processed {"connection_id":233725,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:19:58] local.INFO: Acknowledgment sent {"connection_id":233725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:20:33] local.INFO: TCP Data received {"connection_id":233725,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acd37e40012d69fd00061a9240000a015327..."} 
[2026-11-05 23:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acd37e40012d69fd00061a9240000a015327..."} 
[2026-11-05 23:20:33] local.INFO: Processing buffer {"connection_id":233725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acd37e40012d69fd00061a9240000a015327..."} 
[2026-11-05 23:20:33] local.INFO: Packet analysis {"connection_id":233725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acd3"} 
[2026-11-05 23:20:33] local.INFO: Extracted packet for processing {"connection_id":233725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acd3"} 
[2026-11-05 23:20:33] local.INFO: GPS Element Parsed {"raw_longitude":761920768,"raw_latitude":102404672,"longitude_deg":76.1920768,"latitude_deg":10.2404672,"altitude":10,"angle":339,"satellites":39,"speed":51,"hex_longitude":"2d69fd00","hex_latitude":"061a9240","is_valid_coordinates":true} 
[2026-11-05 23:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238629632001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40696816584359936,"note":"Value kept but may cause issues"} 
[2026-11-05 23:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7640779006512527360,"note":"Value kept but may cause issues"} 
[2026-11-05 23:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1793900904000,"timestamp_ms":1793900904000,"timestamp_seconds":1793900904,"priority":1,"record_length":96,"hex_timestamp":"000001a1acd37e40"} 
[2026-11-05 23:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:20: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-05 23:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 23:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:20:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":233725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":233725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":233725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238629632001,"66":27332,"5":206,"19":40704,"24":51,"16":40696816584359936,"45":7640779006512527360},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,19,24,16,45]} 
[2026-11-05 23:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238629632001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:20:33] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-11-05 23:20:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40696816584359936,"km_value":40696816584359.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7640779006512527360,"description":"Unknown IO ID 45"} 
[2026-11-05 23:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238629632001,"power":27332,"unknown_5":206,"unknown_19":40704,"ignition":51,"odometer":null,"unknown_45":7640779006512527360}} 
[2026-11-05 23:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":233725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:20:33] local.INFO: GPS data processed {"connection_id":233725,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:20:33] local.INFO: Acknowledgment sent {"connection_id":233725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:20:50] local.INFO: TCP Data received {"connection_id":230485,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:20:50] local.INFO: Processing buffer {"connection_id":230485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:20:50] local.INFO: IMEI packet received {"connection_id":230485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":230485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:20:52] local.INFO: TCP Data received {"connection_id":230485,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:20:52] local.INFO: Processing buffer {"connection_id":230485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:20:52] local.INFO: IMEI packet received {"connection_id":230485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":230485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:20:54] local.INFO: TCP Data received {"connection_id":230485,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:20:54] local.INFO: Processing buffer {"connection_id":230485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:20:54] local.INFO: IMEI packet received {"connection_id":230485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":230485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:20:55] local.INFO: TCP Data received {"connection_id":230485,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:20:55] local.INFO: Processing buffer {"connection_id":230485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:20:55] local.INFO: IMEI packet received {"connection_id":230485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":230485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:20:58] local.INFO: TCP Data received {"connection_id":230485,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acd52420012d696a00061bc408000b016733..."} 
[2026-11-05 23:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acd52420012d696a00061bc408000b016733..."} 
[2026-11-05 23:20:58] local.INFO: Processing buffer {"connection_id":230485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acd52420012d696a00061bc408000b016733..."} 
[2026-11-05 23:20:58] local.INFO: Packet analysis {"connection_id":230485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acd5"} 
[2026-11-05 23:20:58] local.INFO: Extracted packet for processing {"connection_id":230485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acd5"} 
[2026-11-05 23:20:58] local.INFO: GPS Element Parsed {"raw_longitude":761883136,"raw_latitude":102482952,"longitude_deg":76.1883136,"latitude_deg":10.2482952,"altitude":11,"angle":359,"satellites":51,"speed":10,"hex_longitude":"2d696a00","hex_latitude":"061bc408","is_valid_coordinates":true} 
[2026-11-05 23:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238658560001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40701025652310016,"note":"Value kept but may cause issues"} 
[2026-11-05 23:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7596024485237622784,"note":"Value kept but may cause issues"} 
[2026-11-05 23:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793901012000,"timestamp_ms":1793901012000,"timestamp_seconds":1793901012,"priority":1,"record_length":96,"hex_timestamp":"000001a1acd52420"} 
[2026-11-05 23:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 23:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:20:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":230485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":230485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":230485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238658560001,"66":27321,"210":206,"19":40704,"24":10,"16":40701025652310016,"45":7596024485237622784},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,19,24,16,45]} 
[2026-11-05 23:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238658560001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:20:58] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-11-05 23:20:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40701025652310016,"km_value":40701025652310.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7596024485237622784,"description":"Unknown IO ID 45"} 
[2026-11-05 23:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238658560001,"power":27321,"unknown_210":206,"unknown_19":40704,"ignition":10,"odometer":null,"unknown_45":7596024485237622784}} 
[2026-11-05 23:20:58] 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":64748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:20:58] local.INFO: GPS data processed {"connection_id":230485,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:20:58] local.INFO: Acknowledgment sent {"connection_id":230485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:21:00] local.INFO: TCP Data received {"connection_id":230485,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acd52fd8012d696980061bc7f8000b015b33..."} 
[2026-11-05 23:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acd52fd8012d696980061bc7f8000b015b33..."} 
[2026-11-05 23:21:00] local.INFO: Processing buffer {"connection_id":230485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acd52fd8012d696980061bc7f8000b015b33..."} 
[2026-11-05 23:21:00] local.INFO: Packet analysis {"connection_id":230485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acd5"} 
[2026-11-05 23:21:00] local.INFO: Extracted packet for processing {"connection_id":230485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acd5"} 
[2026-11-05 23:21:00] local.INFO: GPS Element Parsed {"raw_longitude":761883008,"raw_latitude":102483960,"longitude_deg":76.1883008,"latitude_deg":10.248396,"altitude":11,"angle":347,"satellites":51,"speed":15,"hex_longitude":"2d696980","hex_latitude":"061bc7f8","is_valid_coordinates":true} 
[2026-11-05 23:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238659072001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40701072896950272,"note":"Value kept but may cause issues"} 
[2026-11-05 23:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7595883747749398528,"note":"Value kept but may cause issues"} 
[2026-11-05 23:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793901015000,"timestamp_ms":1793901015000,"timestamp_seconds":1793901015,"priority":1,"record_length":96,"hex_timestamp":"000001a1acd52fd8"} 
[2026-11-05 23:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:21: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-05 23:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 23:21:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":230485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":230485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":230485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238659072001,"66":27365,"210":206,"19":40704,"24":15,"16":40701072896950272,"45":7595883747749398528},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,19,24,16,45]} 
[2026-11-05 23:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238659072001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:21:00] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-11-05 23:21:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40701072896950272,"km_value":40701072896950.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7595883747749398528,"description":"Unknown IO ID 45"} 
[2026-11-05 23:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238659072001,"power":27365,"unknown_210":206,"unknown_19":40704,"ignition":15,"odometer":null,"unknown_45":7595883747749398528}} 
[2026-11-05 23:21:00] 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":64749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:21:00] local.INFO: GPS data processed {"connection_id":230485,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:21:00] local.INFO: Acknowledgment sent {"connection_id":230485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:21:36] local.INFO: TCP Data received {"connection_id":230485,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acd537a8012d696880061bcb08000a014d33..."} 
[2026-11-05 23:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acd537a8012d696880061bcb08000a014d33..."} 
[2026-11-05 23:21:36] local.INFO: Processing buffer {"connection_id":230485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acd537a8012d696880061bcb08000a014d33..."} 
[2026-11-05 23:21:36] local.INFO: Packet analysis {"connection_id":230485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acd5"} 
[2026-11-05 23:21:36] local.INFO: Extracted packet for processing {"connection_id":230485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acd5"} 
[2026-11-05 23:21:36] local.INFO: GPS Element Parsed {"raw_longitude":761882752,"raw_latitude":102484744,"longitude_deg":76.1882752,"latitude_deg":10.2484744,"altitude":10,"angle":333,"satellites":51,"speed":18,"hex_longitude":"2d696880","hex_latitude":"061bcb08","is_valid_coordinates":true} 
[2026-11-05 23:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238659840001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40701111551655936,"note":"Value kept but may cause issues"} 
[2026-11-05 23:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7595743010261301248,"note":"Value kept but may cause issues"} 
[2026-11-05 23:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1793901017000,"timestamp_ms":1793901017000,"timestamp_seconds":1793901017,"priority":1,"record_length":96,"hex_timestamp":"000001a1acd537a8"} 
[2026-11-05 23:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 23:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":230485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":230485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":230485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238659840001,"66":27321,"210":206,"19":40704,"24":18,"16":40701111551655936,"45":7595743010261301248},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,19,24,16,45]} 
[2026-11-05 23:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238659840001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:21:36] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-11-05 23:21:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40701111551655936,"km_value":40701111551655.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":7595743010261301248,"description":"Unknown IO ID 45"} 
[2026-11-05 23:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238659840001,"power":27321,"unknown_210":206,"unknown_19":40704,"ignition":18,"odometer":null,"unknown_45":7595743010261301248}} 
[2026-11-05 23:21:36] 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":64750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:21:36] local.INFO: GPS data processed {"connection_id":230485,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:21:36] local.INFO: Acknowledgment sent {"connection_id":230485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:21:53] local.INFO: TCP Data received {"connection_id":233726,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:21:53] local.INFO: Processing buffer {"connection_id":233726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:21:53] local.INFO: IMEI packet received {"connection_id":233726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":233726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:21:55] local.INFO: TCP Data received {"connection_id":233726,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:21:55] local.INFO: Processing buffer {"connection_id":233726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:21:55] local.INFO: IMEI packet received {"connection_id":233726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":233726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:21:57] local.INFO: TCP Data received {"connection_id":233726,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:21:57] local.INFO: Processing buffer {"connection_id":233726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:21:57] local.INFO: IMEI packet received {"connection_id":233726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":233726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:22:00] local.INFO: TCP Data received {"connection_id":233726,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acd56688012d695740061be9f00009014b30..."} 
[2026-11-05 23:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acd56688012d695740061be9f00009014b30..."} 
[2026-11-05 23:22:00] local.INFO: Processing buffer {"connection_id":233726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acd56688012d695740061be9f00009014b30..."} 
[2026-11-05 23:22:00] local.INFO: Packet analysis {"connection_id":233726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acd5"} 
[2026-11-05 23:22:00] local.INFO: Extracted packet for processing {"connection_id":233726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acd5"} 
[2026-11-05 23:22:00] local.INFO: GPS Element Parsed {"raw_longitude":761878336,"raw_latitude":102492656,"longitude_deg":76.1878336,"latitude_deg":10.2492656,"altitude":9,"angle":331,"satellites":48,"speed":40,"hex_longitude":"2d695740","hex_latitude":"061be9f0","is_valid_coordinates":true} 
[2026-11-05 23:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238660352001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40701549638320128,"note":"Value kept but may cause issues"} 
[2026-11-05 23:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7595461535284791296,"note":"Value kept but may cause issues"} 
[2026-11-05 23:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793901029000,"timestamp_ms":1793901029000,"timestamp_seconds":1793901029,"priority":1,"record_length":96,"hex_timestamp":"000001a1acd56688"} 
[2026-11-05 23:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 23:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":233726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":233726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":233726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238660352001,"66":27310,"210":206,"19":40704,"24":40,"16":40701549638320128,"45":7595461535284791296},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,19,24,16,45]} 
[2026-11-05 23:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238660352001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:22:00] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-11-05 23:22:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40701549638320128,"km_value":40701549638320.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7595461535284791296,"description":"Unknown IO ID 45"} 
[2026-11-05 23:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238660352001,"power":27310,"unknown_210":206,"unknown_19":40704,"ignition":40,"odometer":null,"unknown_45":7595461535284791296}} 
[2026-11-05 23:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":233726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:22:00] local.INFO: GPS data processed {"connection_id":233726,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:22:00] local.INFO: Acknowledgment sent {"connection_id":233726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:22:04] local.INFO: TCP Data received {"connection_id":233726,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acd585c8012d6946c0061c09180009014b2f..."} 
[2026-11-05 23:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acd585c8012d6946c0061c09180009014b2f..."} 
[2026-11-05 23:22:04] local.INFO: Processing buffer {"connection_id":233726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acd585c8012d6946c0061c09180009014b2f..."} 
[2026-11-05 23:22:04] local.INFO: Packet analysis {"connection_id":233726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acd5"} 
[2026-11-05 23:22:04] local.INFO: Extracted packet for processing {"connection_id":233726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acd5"} 
[2026-11-05 23:22:04] local.INFO: GPS Element Parsed {"raw_longitude":761874112,"raw_latitude":102500632,"longitude_deg":76.1874112,"latitude_deg":10.2500632,"altitude":9,"angle":331,"satellites":47,"speed":47,"hex_longitude":"2d6946c0","hex_latitude":"061c0918","is_valid_coordinates":true} 
[2026-11-05 23:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238663424001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40701987724984320,"note":"Value kept but may cause issues"} 
[2026-11-05 23:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7590606091938557952,"note":"Value kept but may cause issues"} 
[2026-11-05 23:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793901037000,"timestamp_ms":1793901037000,"timestamp_seconds":1793901037,"priority":1,"record_length":96,"hex_timestamp":"000001a1acd585c8"} 
[2026-11-05 23:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-11-05 23:22:04] 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-05 23:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":233726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":233726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":233726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238663424001,"66":27365,"210":206,"19":40704,"24":47,"16":40701987724984320,"45":7590606091938557952},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,19,24,16,45]} 
[2026-11-05 23:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238663424001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:22:04] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-11-05 23:22:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40701987724984320,"km_value":40701987724984.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7590606091938557952,"description":"Unknown IO ID 45"} 
[2026-11-05 23:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238663424001,"power":27365,"unknown_210":206,"unknown_19":40704,"ignition":47,"odometer":null,"unknown_45":7590606091938557952}} 
[2026-11-05 23:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":233726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:22:04] local.INFO: GPS data processed {"connection_id":233726,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:22:04] local.INFO: Acknowledgment sent {"connection_id":233726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:22:36] local.INFO: TCP Data received {"connection_id":233726,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acd5a508012d693440061c2b48000a014b31..."} 
[2026-11-05 23:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acd5a508012d693440061c2b48000a014b31..."} 
[2026-11-05 23:22:36] local.INFO: Processing buffer {"connection_id":233726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acd5a508012d693440061c2b48000a014b31..."} 
[2026-11-05 23:22:36] local.INFO: Packet analysis {"connection_id":233726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acd5"} 
[2026-11-05 23:22:36] local.INFO: Extracted packet for processing {"connection_id":233726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acd5"} 
[2026-11-05 23:22:36] local.INFO: GPS Element Parsed {"raw_longitude":761869376,"raw_latitude":102509384,"longitude_deg":76.1869376,"latitude_deg":10.2509384,"altitude":10,"angle":331,"satellites":49,"speed":51,"hex_longitude":"2d693440","hex_latitude":"061c2b48","is_valid_coordinates":true} 
[2026-11-05 23: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-05 23:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238665472001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40702468761321472,"note":"Value kept but may cause issues"} 
[2026-11-05 23:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7585961754824873984,"note":"Value kept but may cause issues"} 
[2026-11-05 23:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1793901045000,"timestamp_ms":1793901045000,"timestamp_seconds":1793901045,"priority":1,"record_length":96,"hex_timestamp":"000001a1acd5a508"} 
[2026-11-05 23: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-05 23:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 23:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23: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-05 23: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-05 23:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":233726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":233726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":233726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238665472001,"66":27365,"210":206,"19":40704,"24":51,"16":40702468761321472,"45":7585961754824873984},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,19,24,16,45]} 
[2026-11-05 23:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238665472001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:22:36] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-11-05 23:22:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40702468761321472,"km_value":40702468761321.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":7585961754824873984,"description":"Unknown IO ID 45"} 
[2026-11-05 23:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238665472001,"power":27365,"unknown_210":206,"unknown_19":40704,"ignition":51,"odometer":null,"unknown_45":7585961754824873984}} 
[2026-11-05 23:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":233726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:22:36] local.INFO: GPS data processed {"connection_id":233726,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:22:36] local.INFO: Acknowledgment sent {"connection_id":233726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:22:56] local.INFO: TCP Data received {"connection_id":229967,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:22:56] local.INFO: Processing buffer {"connection_id":229967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:22:56] local.INFO: IMEI packet received {"connection_id":229967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":229967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:22:58] local.INFO: TCP Data received {"connection_id":229967,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:22:58] local.INFO: Processing buffer {"connection_id":229967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:22:58] local.INFO: IMEI packet received {"connection_id":229967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":229967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:23:00] local.INFO: TCP Data received {"connection_id":229967,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acd6e170012d689600061da408000d014531..."} 
[2026-11-05 23:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acd6e170012d689600061da408000d014531..."} 
[2026-11-05 23:23:00] local.INFO: Processing buffer {"connection_id":229967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acd6e170012d689600061da408000d014531..."} 
[2026-11-05 23:23:00] local.INFO: Packet analysis {"connection_id":229967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acd6"} 
[2026-11-05 23:23:00] local.INFO: Extracted packet for processing {"connection_id":229967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acd6"} 
[2026-11-05 23:23:00] local.INFO: GPS Element Parsed {"raw_longitude":761828864,"raw_latitude":102605832,"longitude_deg":76.1828864,"latitude_deg":10.2605832,"altitude":13,"angle":325,"satellites":49,"speed":55,"hex_longitude":"2d689600","hex_latitude":"061da408","is_valid_coordinates":true} 
[2026-11-05 23:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238686464001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40707558297567232,"note":"Value kept but may cause issues"} 
[2026-11-05 23:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7541910920994480128,"note":"Value kept but may cause issues"} 
[2026-11-05 23:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793901126000,"timestamp_ms":1793901126000,"timestamp_seconds":1793901126,"priority":1,"record_length":96,"hex_timestamp":"000001a1acd6e170"} 
[2026-11-05 23:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:23: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-05 23:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 23:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":229967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":229967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":229967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238686464001,"66":27463,"211":206,"19":40704,"24":55,"16":40707558297567232,"45":7541910920994480128},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,19,24,16,45]} 
[2026-11-05 23:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238686464001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:23:00] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-11-05 23:23:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40707558297567232,"km_value":40707558297567.234,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7541910920994480128,"description":"Unknown IO ID 45"} 
[2026-11-05 23:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238686464001,"power":27463,"unknown_211":206,"unknown_19":40704,"ignition":55,"odometer":null,"unknown_45":7541910920994480128}} 
[2026-11-05 23:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":229967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:23:00] local.INFO: GPS data processed {"connection_id":229967,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:23:00] local.INFO: Acknowledgment sent {"connection_id":229967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:23:03] local.INFO: TCP Data received {"connection_id":229967,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acd6fcc8012d688040061dc380000c014531..."} 
[2026-11-05 23:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acd6fcc8012d688040061dc380000c014531..."} 
[2026-11-05 23:23:03] local.INFO: Processing buffer {"connection_id":229967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acd6fcc8012d688040061dc380000c014531..."} 
[2026-11-05 23:23:03] local.INFO: Packet analysis {"connection_id":229967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acd6"} 
[2026-11-05 23:23:03] local.INFO: Extracted packet for processing {"connection_id":229967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acd6"} 
[2026-11-05 23:23:03] local.INFO: GPS Element Parsed {"raw_longitude":761823296,"raw_latitude":102613888,"longitude_deg":76.1823296,"latitude_deg":10.2613888,"altitude":12,"angle":325,"satellites":49,"speed":54,"hex_longitude":"2d688040","hex_latitude":"061dc380","is_valid_coordinates":true} 
[2026-11-05 23:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238688256001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40708030743969792,"note":"Value kept but may cause issues"} 
[2026-11-05 23:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7536211052718196736,"note":"Value kept but may cause issues"} 
[2026-11-05 23:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1793901133000,"timestamp_ms":1793901133000,"timestamp_seconds":1793901133,"priority":1,"record_length":96,"hex_timestamp":"000001a1acd6fcc8"} 
[2026-11-05 23:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:23: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-05 23:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 23:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":229967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":229967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":229967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238688256001,"66":27463,"211":206,"19":40704,"24":54,"16":40708030743969792,"45":7536211052718196736},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,19,24,16,45]} 
[2026-11-05 23:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238688256001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:23:03] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-11-05 23:23:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40708030743969792,"km_value":40708030743969.79,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7536211052718196736,"description":"Unknown IO ID 45"} 
[2026-11-05 23:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238688256001,"power":27463,"unknown_211":206,"unknown_19":40704,"ignition":54,"odometer":null,"unknown_45":7536211052718196736}} 
[2026-11-05 23:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":229967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:23:03] local.INFO: GPS data processed {"connection_id":229967,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:23:03] local.INFO: Acknowledgment sent {"connection_id":229967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:23:05] local.INFO: TCP Data received {"connection_id":229967,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acd71820012d686b40061de218000c014731..."} 
[2026-11-05 23:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acd71820012d686b40061de218000c014731..."} 
[2026-11-05 23:23:05] local.INFO: Processing buffer {"connection_id":229967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acd71820012d686b40061de218000c014731..."} 
[2026-11-05 23:23:05] local.INFO: Packet analysis {"connection_id":229967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acd7"} 
[2026-11-05 23:23:05] local.INFO: Extracted packet for processing {"connection_id":229967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acd7"} 
[2026-11-05 23:23:05] local.INFO: GPS Element Parsed {"raw_longitude":761817920,"raw_latitude":102621720,"longitude_deg":76.181792,"latitude_deg":10.262172,"altitude":12,"angle":327,"satellites":49,"speed":53,"hex_longitude":"2d686b40","hex_latitude":"061de218","is_valid_coordinates":true} 
[2026-11-05 23:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238690048001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40708486010503168,"note":"Value kept but may cause issues"} 
[2026-11-05 23:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7530088971976802304,"note":"Value kept but may cause issues"} 
[2026-11-05 23:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793901140000,"timestamp_ms":1793901140000,"timestamp_seconds":1793901140,"priority":1,"record_length":96,"hex_timestamp":"000001a1acd71820"} 
[2026-11-05 23:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 23:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":229967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":229967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":229967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238690048001,"66":27234,"211":206,"19":40704,"24":53,"16":40708486010503168,"45":7530088971976802304},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,19,24,16,45]} 
[2026-11-05 23:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238690048001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:23:05] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-11-05 23:23:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40708486010503168,"km_value":40708486010503.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7530088971976802304,"description":"Unknown IO ID 45"} 
[2026-11-05 23:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238690048001,"power":27234,"unknown_211":206,"unknown_19":40704,"ignition":53,"odometer":null,"unknown_45":7530088971976802304}} 
[2026-11-05 23:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":229967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:23:05] local.INFO: GPS data processed {"connection_id":229967,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:23:05] local.INFO: Acknowledgment sent {"connection_id":229967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:23:36] local.INFO: TCP Data received {"connection_id":229967,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acd73378012d685840061e0228000b014a31..."} 
[2026-11-05 23:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acd73378012d685840061e0228000b014a31..."} 
[2026-11-05 23:23:36] local.INFO: Processing buffer {"connection_id":229967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acd73378012d685840061e0228000b014a31..."} 
[2026-11-05 23:23:36] local.INFO: Packet analysis {"connection_id":229967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acd7"} 
[2026-11-05 23:23:36] local.INFO: Extracted packet for processing {"connection_id":229967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acd7"} 
[2026-11-05 23:23:36] local.INFO: GPS Element Parsed {"raw_longitude":761813056,"raw_latitude":102629928,"longitude_deg":76.1813056,"latitude_deg":10.2629928,"altitude":11,"angle":330,"satellites":49,"speed":54,"hex_longitude":"2d685840","hex_latitude":"061e0228","is_valid_coordinates":true} 
[2026-11-05 23:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238691840001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40708949866971136,"note":"Value kept but may cause issues"} 
[2026-11-05 23:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7524177997467883520,"note":"Value kept but may cause issues"} 
[2026-11-05 23:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1793901147000,"timestamp_ms":1793901147000,"timestamp_seconds":1793901147,"priority":1,"record_length":96,"hex_timestamp":"000001a1acd73378"} 
[2026-11-05 23:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 23:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":229967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":229967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":229967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238691840001,"66":27397,"211":206,"19":40704,"24":54,"16":40708949866971136,"45":7524177997467883520},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,19,24,16,45]} 
[2026-11-05 23:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238691840001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:23:36] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-11-05 23:23:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40708949866971136,"km_value":40708949866971.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":7524177997467883520,"description":"Unknown IO ID 45"} 
[2026-11-05 23:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238691840001,"power":27397,"unknown_211":206,"unknown_19":40704,"ignition":54,"odometer":null,"unknown_45":7524177997467883520}} 
[2026-11-05 23:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":229967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:23:36] local.INFO: GPS data processed {"connection_id":229967,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:23:36] local.INFO: Acknowledgment sent {"connection_id":229967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:23:52] local.INFO: TCP Data received {"connection_id":229968,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:23:52] local.INFO: Processing buffer {"connection_id":229968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:23:52] local.INFO: IMEI packet received {"connection_id":229968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":229968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:23:53] local.INFO: TCP Data received {"connection_id":229968,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:23:53] local.INFO: Processing buffer {"connection_id":229968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:23:53] local.INFO: IMEI packet received {"connection_id":229968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":229968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:23:54] local.INFO: TCP Data received {"connection_id":229968,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acd74ed0012d6846c0061e23d0000c014d2f..."} 
[2026-11-05 23:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acd74ed0012d6846c0061e23d0000c014d2f..."} 
[2026-11-05 23:23:54] local.INFO: Processing buffer {"connection_id":229968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acd74ed0012d6846c0061e23d0000c014d2f..."} 
[2026-11-05 23:23:54] local.INFO: Packet analysis {"connection_id":229968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acd7"} 
[2026-11-05 23:23:54] local.INFO: Extracted packet for processing {"connection_id":229968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acd7"} 
[2026-11-05 23:23:54] local.INFO: GPS Element Parsed {"raw_longitude":761808576,"raw_latitude":102638544,"longitude_deg":76.1808576,"latitude_deg":10.2638544,"altitude":12,"angle":333,"satellites":47,"speed":55,"hex_longitude":"2d6846c0","hex_latitude":"061e23d0","is_valid_coordinates":true} 
[2026-11-05 23:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238693632001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40709418018406400,"note":"Value kept but may cause issues"} 
[2026-11-05 23:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7518829972912482304,"note":"Value kept but may cause issues"} 
[2026-11-05 23:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793901154000,"timestamp_ms":1793901154000,"timestamp_seconds":1793901154,"priority":1,"record_length":96,"hex_timestamp":"000001a1acd74ed0"} 
[2026-11-05 23:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:23: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-05 23:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 23:23:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":229968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":229968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":229968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238693632001,"66":27376,"211":206,"19":40704,"24":55,"16":40709418018406400,"45":7518829972912482304},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,19,24,16,45]} 
[2026-11-05 23:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238693632001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:23:54] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-11-05 23:23:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40709418018406400,"km_value":40709418018406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":7518829972912482304,"description":"Unknown IO ID 45"} 
[2026-11-05 23:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238693632001,"power":27376,"unknown_211":206,"unknown_19":40704,"ignition":55,"odometer":null,"unknown_45":7518829972912482304}} 
[2026-11-05 23:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":229968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:23:54] local.INFO: GPS data processed {"connection_id":229968,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:23:54] local.INFO: Acknowledgment sent {"connection_id":229968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:24:14] local.INFO: TCP Data received {"connection_id":233724,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:24:14] local.INFO: Processing buffer {"connection_id":233724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:24:14] local.INFO: IMEI packet received {"connection_id":233724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 23:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":233724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:24:26] local.INFO: TCP Data received {"connection_id":229968,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acd76a28012d683780061e4638000c015131..."} 
[2026-11-05 23:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acd76a28012d683780061e4638000c015131..."} 
[2026-11-05 23:24:26] local.INFO: Processing buffer {"connection_id":229968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acd76a28012d683780061e4638000c015131..."} 
[2026-11-05 23:24:26] local.INFO: Packet analysis {"connection_id":229968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acd7"} 
[2026-11-05 23:24:26] local.INFO: Extracted packet for processing {"connection_id":229968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acd7"} 
[2026-11-05 23:24:26] local.INFO: GPS Element Parsed {"raw_longitude":761804672,"raw_latitude":102647352,"longitude_deg":76.1804672,"latitude_deg":10.2647352,"altitude":12,"angle":337,"satellites":49,"speed":54,"hex_longitude":"2d683780","hex_latitude":"061e4638","is_valid_coordinates":true} 
[2026-11-05 23:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238695424001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40709881874874368,"note":"Value kept but may cause issues"} 
[2026-11-05 23:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7513904160822251520,"note":"Value kept but may cause issues"} 
[2026-11-05 23:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793901161000,"timestamp_ms":1793901161000,"timestamp_seconds":1793901161,"priority":1,"record_length":96,"hex_timestamp":"000001a1acd76a28"} 
[2026-11-05 23:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:24: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-05 23:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 23:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238695424001,"66":27365,"211":206,"19":40704,"24":54,"16":40709881874874368,"45":7513904160822251520},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,19,24,16,45]} 
[2026-11-05 23:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238695424001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:24:26] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-11-05 23:24:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40709881874874368,"km_value":40709881874874.37,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":7513904160822251520,"description":"Unknown IO ID 45"} 
[2026-11-05 23:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238695424001,"power":27365,"unknown_211":206,"unknown_19":40704,"ignition":54,"odometer":null,"unknown_45":7513904160822251520}} 
[2026-11-05 23:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":229968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:24:26] local.INFO: GPS data processed {"connection_id":229968,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:24:26] local.INFO: Acknowledgment sent {"connection_id":229968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:24:35] local.INFO: TCP Data received {"connection_id":231825,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231825,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:24:35] local.INFO: Processing buffer {"connection_id":231825,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:24:35] local.INFO: IMEI packet received {"connection_id":231825,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 23:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":231825,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:25:06] local.INFO: TCP Data received {"connection_id":230486,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:25:06] local.INFO: Processing buffer {"connection_id":230486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:25:06] local.INFO: IMEI packet received {"connection_id":230486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":230486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:25:08] local.INFO: TCP Data received {"connection_id":230486,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:25:08] local.INFO: Processing buffer {"connection_id":230486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:25:08] local.INFO: IMEI packet received {"connection_id":230486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":230486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:25:10] local.INFO: TCP Data received {"connection_id":230486,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acd8a2a8012d6792c0061fb8f0000e015a34..."} 
[2026-11-05 23:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acd8a2a8012d6792c0061fb8f0000e015a34..."} 
[2026-11-05 23:25:10] local.INFO: Processing buffer {"connection_id":230486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acd8a2a8012d6792c0061fb8f0000e015a34..."} 
[2026-11-05 23:25:10] local.INFO: Packet analysis {"connection_id":230486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acd8"} 
[2026-11-05 23:25:10] local.INFO: Extracted packet for processing {"connection_id":230486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acd8"} 
[2026-11-05 23:25:10] local.INFO: GPS Element Parsed {"raw_longitude":761762496,"raw_latitude":102742256,"longitude_deg":76.1762496,"latitude_deg":10.2742256,"altitude":14,"angle":346,"satellites":52,"speed":53,"hex_longitude":"2d6792c0","hex_latitude":"061fb8f0","is_valid_coordinates":true} 
[2026-11-05 23:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238715904001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40714958526218240,"note":"Value kept but may cause issues"} 
[2026-11-05 23:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7465701571084836864,"note":"Value kept but may cause issues"} 
[2026-11-05 23:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793901241000,"timestamp_ms":1793901241000,"timestamp_seconds":1793901241,"priority":1,"record_length":96,"hex_timestamp":"000001a1acd8a2a8"} 
[2026-11-05 23:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 23:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238715904001,"66":27180,"237":206,"19":40704,"24":53,"16":40714958526218240,"45":7465701571084836864},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-11-05 23:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238715904001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:25:10] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-11-05 23:25:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40714958526218240,"km_value":40714958526218.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7465701571084836864,"description":"Unknown IO ID 45"} 
[2026-11-05 23:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238715904001,"power":27180,"unknown_237":206,"unknown_19":40704,"ignition":53,"odometer":null,"unknown_45":7465701571084836864}} 
[2026-11-05 23:25:10] 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":64760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:25:10] local.INFO: GPS data processed {"connection_id":230486,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:25:10] local.INFO: Acknowledgment sent {"connection_id":230486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:25:11] local.INFO: TCP Data received {"connection_id":230486,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acd8be00012d678a40061fdcd8000e015b34..."} 
[2026-11-05 23:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acd8be00012d678a40061fdcd8000e015b34..."} 
[2026-11-05 23:25:11] local.INFO: Processing buffer {"connection_id":230486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acd8be00012d678a40061fdcd8000e015b34..."} 
[2026-11-05 23:25:11] local.INFO: Packet analysis {"connection_id":230486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acd8"} 
[2026-11-05 23:25:11] local.INFO: Extracted packet for processing {"connection_id":230486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acd8"} 
[2026-11-05 23:25:11] local.INFO: GPS Element Parsed {"raw_longitude":761760320,"raw_latitude":102751448,"longitude_deg":76.176032,"latitude_deg":10.2751448,"altitude":14,"angle":347,"satellites":52,"speed":51,"hex_longitude":"2d678a40","hex_latitude":"061fdcd8","is_valid_coordinates":true} 
[2026-11-05 23:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238717696001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40715413792751616,"note":"Value kept but may cause issues"} 
[2026-11-05 23:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7463238665040883712,"note":"Value kept but may cause issues"} 
[2026-11-05 23:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793901248000,"timestamp_ms":1793901248000,"timestamp_seconds":1793901248,"priority":1,"record_length":96,"hex_timestamp":"000001a1acd8be00"} 
[2026-11-05 23:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:25: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-05 23:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-11-05 23:25:11] 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-05 23:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":230486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":230486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":230486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238717696001,"66":27332,"237":206,"19":40704,"24":51,"16":40715413792751616,"45":7463238665040883712},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-11-05 23:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238717696001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:25:11] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-11-05 23:25:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40715413792751616,"km_value":40715413792751.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7463238665040883712,"description":"Unknown IO ID 45"} 
[2026-11-05 23:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238717696001,"power":27332,"unknown_237":206,"unknown_19":40704,"ignition":51,"odometer":null,"unknown_45":7463238665040883712}} 
[2026-11-05 23:25:11] 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":64761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:25:11] local.INFO: GPS data processed {"connection_id":230486,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:25:11] local.INFO: Acknowledgment sent {"connection_id":230486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:25:51] local.INFO: TCP Data received {"connection_id":230488,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:25:51] local.INFO: Processing buffer {"connection_id":230488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:25:51] local.INFO: IMEI packet received {"connection_id":230488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":230488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:25:57] local.INFO: TCP Data received {"connection_id":230488,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:25:57] local.INFO: Processing buffer {"connection_id":230488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:25:57] local.INFO: IMEI packet received {"connection_id":230488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":230488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:25:57] local.INFO: TCP Data received {"connection_id":230488,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acd8dd40012d67820006200290000f015c34..."} 
[2026-11-05 23:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acd8dd40012d67820006200290000f015c34..."} 
[2026-11-05 23:25:57] local.INFO: Processing buffer {"connection_id":230488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acd8dd40012d67820006200290000f015c34..."} 
[2026-11-05 23:25:57] local.INFO: Packet analysis {"connection_id":230488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acd8"} 
[2026-11-05 23:25:57] local.INFO: Extracted packet for processing {"connection_id":230488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acd8"} 
[2026-11-05 23:25:57] local.INFO: GPS Element Parsed {"raw_longitude":761758208,"raw_latitude":102761104,"longitude_deg":76.1758208,"latitude_deg":10.2761104,"altitude":15,"angle":348,"satellites":52,"speed":47,"hex_longitude":"2d678200","hex_latitude":"06200290","is_valid_coordinates":true} 
[2026-11-05 23:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238719488001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40715894829088768,"note":"Value kept but may cause issues"} 
[2026-11-05 23:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7460846127741196288,"note":"Value kept but may cause issues"} 
[2026-11-05 23:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1793901256000,"timestamp_ms":1793901256000,"timestamp_seconds":1793901256,"priority":1,"record_length":96,"hex_timestamp":"000001a1acd8dd40"} 
[2026-11-05 23:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:25: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-05 23:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 23:25:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:25:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":230488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":230488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":230488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238719488001,"66":27321,"237":206,"19":40704,"24":47,"16":40715894829088768,"45":7460846127741196288},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-11-05 23:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238719488001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:25:57] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-11-05 23:25:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40715894829088768,"km_value":40715894829088.766,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":7460846127741196288,"description":"Unknown IO ID 45"} 
[2026-11-05 23:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238719488001,"power":27321,"unknown_237":206,"unknown_19":40704,"ignition":47,"odometer":null,"unknown_45":7460846127741196288}} 
[2026-11-05 23:25:57] 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":64762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:25:57] local.INFO: GPS data processed {"connection_id":230488,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:25:57] local.INFO: Acknowledgment sent {"connection_id":230488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:26:32] local.INFO: TCP Data received {"connection_id":230488,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acd8fc80012d677ac0062026900010015c34..."} 
[2026-11-05 23:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acd8fc80012d677ac0062026900010015c34..."} 
[2026-11-05 23:26:32] local.INFO: Processing buffer {"connection_id":230488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acd8fc80012d677ac0062026900010015c34..."} 
[2026-11-05 23:26:32] local.INFO: Packet analysis {"connection_id":230488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acd8"} 
[2026-11-05 23:26:32] local.INFO: Extracted packet for processing {"connection_id":230488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acd8"} 
[2026-11-05 23:26:32] local.INFO: GPS Element Parsed {"raw_longitude":761756352,"raw_latitude":102770320,"longitude_deg":76.1756352,"latitude_deg":10.277032,"altitude":16,"angle":348,"satellites":52,"speed":47,"hex_longitude":"2d677ac0","hex_latitude":"06202690","is_valid_coordinates":true} 
[2026-11-05 23:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238721536001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40716350095622144,"note":"Value kept but may cause issues"} 
[2026-11-05 23:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7458523959185805312,"note":"Value kept but may cause issues"} 
[2026-11-05 23:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1793901264000,"timestamp_ms":1793901264000,"timestamp_seconds":1793901264,"priority":1,"record_length":96,"hex_timestamp":"000001a1acd8fc80"} 
[2026-11-05 23:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:26: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-05 23:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 23:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":230488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":230488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":230488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238721536001,"66":27321,"237":206,"19":40704,"24":47,"16":40716350095622144,"45":7458523959185805312},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-11-05 23:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238721536001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:26:32] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-11-05 23:26:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40716350095622144,"km_value":40716350095622.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7458523959185805312,"description":"Unknown IO ID 45"} 
[2026-11-05 23:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238721536001,"power":27321,"unknown_237":206,"unknown_19":40704,"ignition":47,"odometer":null,"unknown_45":7458523959185805312}} 
[2026-11-05 23:26:32] 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":64763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:26:32] local.INFO: GPS data processed {"connection_id":230488,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:26:32] local.INFO: Acknowledgment sent {"connection_id":230488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:26:51] local.INFO: TCP Data received {"connection_id":229969,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:26:51] local.INFO: Processing buffer {"connection_id":229969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:26:51] local.INFO: IMEI packet received {"connection_id":229969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":229969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:26:52] local.INFO: TCP Data received {"connection_id":229969,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:26:52] local.INFO: Processing buffer {"connection_id":229969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:26:52] local.INFO: IMEI packet received {"connection_id":229969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":229969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:26:57] local.INFO: TCP Data received {"connection_id":229969,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:26:57] local.INFO: Processing buffer {"connection_id":229969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:26:57] local.INFO: IMEI packet received {"connection_id":229969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":229969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:26:58] local.INFO: TCP Data received {"connection_id":229969,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acda40b8012d6720c00621c1280007015a34..."} 
[2026-11-05 23:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acda40b8012d6720c00621c1280007015a34..."} 
[2026-11-05 23:26:58] local.INFO: Processing buffer {"connection_id":229969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acda40b8012d6720c00621c1280007015a34..."} 
[2026-11-05 23:26:58] local.INFO: Packet analysis {"connection_id":229969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acda"} 
[2026-11-05 23:26:58] local.INFO: Extracted packet for processing {"connection_id":229969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acda"} 
[2026-11-05 23:26:58] local.INFO: GPS Element Parsed {"raw_longitude":761733312,"raw_latitude":102875432,"longitude_deg":76.1733312,"latitude_deg":10.2875432,"altitude":7,"angle":346,"satellites":52,"speed":57,"hex_longitude":"2d6720c0","hex_latitude":"0621c128","is_valid_coordinates":true} 
[2026-11-05 23:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238743040001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40721564185919488,"note":"Value kept but may cause issues"} 
[2026-11-05 23:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7433613423773677568,"note":"Value kept but may cause issues"} 
[2026-11-05 23:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793901347000,"timestamp_ms":1793901347000,"timestamp_seconds":1793901347,"priority":1,"record_length":96,"hex_timestamp":"000001a1acda40b8"} 
[2026-11-05 23:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 23:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:26:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":229969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":229969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":229969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238743040001,"66":27332,"82":206,"19":40704,"24":57,"16":40721564185919488,"45":7433613423773677568},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,19,24,16,45]} 
[2026-11-05 23:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238743040001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:26:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-11-05 23:26:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40721564185919488,"km_value":40721564185919.484,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7433613423773677568,"description":"Unknown IO ID 45"} 
[2026-11-05 23:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238743040001,"power":27332,"unknown_82":206,"unknown_19":40704,"ignition":57,"odometer":null,"unknown_45":7433613423773677568}} 
[2026-11-05 23:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":229969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:26:58] local.INFO: GPS data processed {"connection_id":229969,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:26:58] local.INFO: Acknowledgment sent {"connection_id":229969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:27:30] local.INFO: TCP Data received {"connection_id":229969,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acda5c10012d6718800621e8000007015b34..."} 
[2026-11-05 23:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acda5c10012d6718800621e8000007015b34..."} 
[2026-11-05 23:27:30] local.INFO: Processing buffer {"connection_id":229969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acda5c10012d6718800621e8000007015b34..."} 
[2026-11-05 23:27:30] local.INFO: Packet analysis {"connection_id":229969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acda"} 
[2026-11-05 23:27:30] local.INFO: Extracted packet for processing {"connection_id":229969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acda"} 
[2026-11-05 23:27:30] local.INFO: GPS Element Parsed {"raw_longitude":761731200,"raw_latitude":102885376,"longitude_deg":76.17312,"latitude_deg":10.2885376,"altitude":7,"angle":347,"satellites":52,"speed":58,"hex_longitude":"2d671880","hex_latitude":"0621e800","is_valid_coordinates":true} 
[2026-11-05 23:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238744832001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40722058107158528,"note":"Value kept but may cause issues"} 
[2026-11-05 23:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7431150517729961984,"note":"Value kept but may cause issues"} 
[2026-11-05 23:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793901354000,"timestamp_ms":1793901354000,"timestamp_seconds":1793901354,"priority":1,"record_length":96,"hex_timestamp":"000001a1acda5c10"} 
[2026-11-05 23:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 23:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":229969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":229969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":229969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238744832001,"66":27376,"82":206,"19":40704,"24":58,"16":40722058107158528,"45":7431150517729961984},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,19,24,16,45]} 
[2026-11-05 23:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238744832001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:27:30] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-11-05 23:27:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40722058107158528,"km_value":40722058107158.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":7431150517729961984,"description":"Unknown IO ID 45"} 
[2026-11-05 23:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238744832001,"power":27376,"unknown_82":206,"unknown_19":40704,"ignition":58,"odometer":null,"unknown_45":7431150517729961984}} 
[2026-11-05 23:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":229969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:27:30] local.INFO: GPS data processed {"connection_id":229969,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:27:30] local.INFO: Acknowledgment sent {"connection_id":229969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:27:51] local.INFO: TCP Data received {"connection_id":230489,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:27:51] local.INFO: Processing buffer {"connection_id":230489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:27:51] local.INFO: IMEI packet received {"connection_id":230489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":230489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:27:51] local.INFO: TCP Data received {"connection_id":230489,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:27:51] local.INFO: Processing buffer {"connection_id":230489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:27:51] local.INFO: IMEI packet received {"connection_id":230489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":230489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:27:57] local.INFO: TCP Data received {"connection_id":230489,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:27:57] local.INFO: Processing buffer {"connection_id":230489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:27:57] local.INFO: IMEI packet received {"connection_id":230489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":230489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:27:59] local.INFO: TCP Data received {"connection_id":230489,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acda7768012d67108006220f180007015d34..."} 
[2026-11-05 23:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acda7768012d67108006220f180007015d34..."} 
[2026-11-05 23:27:59] local.INFO: Processing buffer {"connection_id":230489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acda7768012d67108006220f180007015d34..."} 
[2026-11-05 23:27:59] local.INFO: Packet analysis {"connection_id":230489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acda"} 
[2026-11-05 23:27:59] local.INFO: Extracted packet for processing {"connection_id":230489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acda"} 
[2026-11-05 23:27:59] local.INFO: GPS Element Parsed {"raw_longitude":761729152,"raw_latitude":102895384,"longitude_deg":76.1729152,"latitude_deg":10.2895384,"altitude":7,"angle":349,"satellites":52,"speed":57,"hex_longitude":"2d671080","hex_latitude":"06220f18","is_valid_coordinates":true} 
[2026-11-05 23:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238746624001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40722552028397568,"note":"Value kept but may cause issues"} 
[2026-11-05 23:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7428828349174644736,"note":"Value kept but may cause issues"} 
[2026-11-05 23:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793901361000,"timestamp_ms":1793901361000,"timestamp_seconds":1793901361,"priority":1,"record_length":96,"hex_timestamp":"000001a1acda7768"} 
[2026-11-05 23:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 23:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":230489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":230489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":230489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238746624001,"66":27213,"82":206,"19":40704,"24":57,"16":40722552028397568,"45":7428828349174644736},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,19,24,16,45]} 
[2026-11-05 23:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238746624001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:27:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-11-05 23:27:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40722552028397568,"km_value":40722552028397.57,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7428828349174644736,"description":"Unknown IO ID 45"} 
[2026-11-05 23:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238746624001,"power":27213,"unknown_82":206,"unknown_19":40704,"ignition":57,"odometer":null,"unknown_45":7428828349174644736}} 
[2026-11-05 23:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":230489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:27:59] local.INFO: GPS data processed {"connection_id":230489,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:27:59] local.INFO: Acknowledgment sent {"connection_id":230489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:28:31] local.INFO: TCP Data received {"connection_id":230489,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acdbe2b0012d658d000622e890000e011832..."} 
[2026-11-05 23:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acdbe2b0012d658d000622e890000e011832..."} 
[2026-11-05 23:28:31] local.INFO: Processing buffer {"connection_id":230489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acdbe2b0012d658d000622e890000e011832..."} 
[2026-11-05 23:28:31] local.INFO: Packet analysis {"connection_id":230489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acdb"} 
[2026-11-05 23:28:31] local.INFO: Extracted packet for processing {"connection_id":230489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acdb"} 
[2026-11-05 23:28:31] local.INFO: GPS Element Parsed {"raw_longitude":761629952,"raw_latitude":102951056,"longitude_deg":76.1629952,"latitude_deg":10.2951056,"altitude":14,"angle":280,"satellites":50,"speed":58,"hex_longitude":"2d658d00","hex_latitude":"0622e890","is_valid_coordinates":true} 
[2026-11-05 23:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238770432001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40728612227252224,"note":"Value kept but may cause issues"} 
[2026-11-05 23:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7328482519993643008,"note":"Value kept but may cause issues"} 
[2026-11-05 23:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793901454000,"timestamp_ms":1793901454000,"timestamp_seconds":1793901454,"priority":1,"record_length":96,"hex_timestamp":"000001a1acdbe2b0"} 
[2026-11-05 23:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 23:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":230489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":230489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":230489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238770432001,"66":27376,"83":206,"19":40704,"24":58,"16":40728612227252224,"45":7328482519993643008},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,19,24,16,45]} 
[2026-11-05 23:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238770432001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:28:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-11-05 23:28:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40728612227252224,"km_value":40728612227252.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7328482519993643008,"description":"Unknown IO ID 45"} 
[2026-11-05 23:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238770432001,"power":27376,"unknown_83":206,"unknown_19":40704,"ignition":58,"odometer":null,"unknown_45":7328482519993643008}} 
[2026-11-05 23:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":230489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:28:31] local.INFO: GPS data processed {"connection_id":230489,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:28:31] local.INFO: Acknowledgment sent {"connection_id":230489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:29:07] local.INFO: TCP Data received {"connection_id":229970,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:29:07] local.INFO: Processing buffer {"connection_id":229970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:29:07] local.INFO: IMEI packet received {"connection_id":229970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":229970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:29:09] local.INFO: TCP Data received {"connection_id":229970,"ip":"117.224.67.80","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 23:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229970,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 23:29:09] local.INFO: Processing buffer {"connection_id":229970,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 23:29:09] local.INFO: IMEI packet received {"connection_id":229970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":229970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:29:15] local.INFO: TCP Data received {"connection_id":229970,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:29:15] local.INFO: Processing buffer {"connection_id":229970,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-05 23:29:15] local.INFO: IMEI packet received {"connection_id":229970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":229970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:29:18] local.INFO: TCP Data received {"connection_id":229970,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acdbfa20012d6569c00622ef68000c011832..."} 
[2026-11-05 23:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acdbfa20012d6569c00622ef68000c011832..."} 
[2026-11-05 23:29:18] local.INFO: Processing buffer {"connection_id":229970,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1ac..."} 
[2026-11-05 23:29:18] local.INFO: IMEI packet received {"connection_id":229970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":229970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:29:19] local.INFO: TCP Data received {"connection_id":229970,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acdc1190012d6546000622f5d00009011931..."} 
[2026-11-05 23:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acdc1190012d6546000622f5d00009011931..."} 
[2026-11-05 23:29:19] local.INFO: Processing buffer {"connection_id":229970,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1acdbfa20012d6569c00622ef68000c011832..."} 
[2026-11-05 23:29:19] local.INFO: Packet analysis {"connection_id":229970,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1acdb"} 
[2026-11-05 23:29:19] local.INFO: Extracted packet for processing {"connection_id":229970,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acdb"} 
[2026-11-05 23:29:19] local.INFO: GPS Element Parsed {"raw_longitude":761620928,"raw_latitude":102952808,"longitude_deg":76.1620928,"latitude_deg":10.2952808,"altitude":12,"angle":280,"satellites":50,"speed":61,"hex_longitude":"2d6569c0","hex_latitude":"0622ef68","is_valid_coordinates":true} 
[2026-11-05 23: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-05 23:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238772224001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40729050313916416,"note":"Value kept but may cause issues"} 
[2026-11-05 23:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7317504995902394368,"note":"Value kept but may cause issues"} 
[2026-11-05 23:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793901460000,"timestamp_ms":1793901460000,"timestamp_seconds":1793901460,"priority":1,"record_length":96,"hex_timestamp":"000001a1acdbfa20"} 
[2026-11-05 23: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-05 23:29: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-05 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 23:29:19] 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-05 23: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-05 23: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-05 23:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238772224001,"66":27321,"83":206,"19":40704,"24":61,"16":40729050313916416,"45":7317504995902394368},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,19,24,16,45]} 
[2026-11-05 23:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238772224001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:29:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-11-05 23:29:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40729050313916416,"km_value":40729050313916.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":7317504995902394368,"description":"Unknown IO ID 45"} 
[2026-11-05 23:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238772224001,"power":27321,"unknown_83":206,"unknown_19":40704,"ignition":61,"odometer":null,"unknown_45":7317504995902394368}} 
[2026-11-05 23:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":229970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:29:19] local.INFO: GPS data processed {"connection_id":229970,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:29:19] local.INFO: Acknowledgment sent {"connection_id":229970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:29:19] local.INFO: Packet analysis {"connection_id":229970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acdc"} 
[2026-11-05 23:29:19] local.INFO: Extracted packet for processing {"connection_id":229970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acdc"} 
[2026-11-05 23:29:19] local.INFO: GPS Element Parsed {"raw_longitude":761611776,"raw_latitude":102954448,"longitude_deg":76.1611776,"latitude_deg":10.2954448,"altitude":9,"angle":281,"satellites":49,"speed":60,"hex_longitude":"2d654600","hex_latitude":"0622f5d0","is_valid_coordinates":true} 
[2026-11-05 23: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-05 23:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238773760001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40729492695547904,"note":"Value kept but may cause issues"} 
[2026-11-05 23:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7307583002973792256,"note":"Value kept but may cause issues"} 
[2026-11-05 23:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793901466000,"timestamp_ms":1793901466000,"timestamp_seconds":1793901466,"priority":1,"record_length":96,"hex_timestamp":"000001a1acdc1190"} 
[2026-11-05 23: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-05 23:29: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-05 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 23:29:19] 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-05 23: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-05 23: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-05 23:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238773760001,"66":27104,"83":206,"19":40704,"24":60,"16":40729492695547904,"45":7307583002973792256},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,19,24,16,45]} 
[2026-11-05 23:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238773760001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:29:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-11-05 23:29:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40729492695547904,"km_value":40729492695547.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":7307583002973792256,"description":"Unknown IO ID 45"} 
[2026-11-05 23:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238773760001,"power":27104,"unknown_83":206,"unknown_19":40704,"ignition":60,"odometer":null,"unknown_45":7307583002973792256}} 
[2026-11-05 23:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":229970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:29:19] local.INFO: GPS data processed {"connection_id":229970,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:29:19] local.INFO: Acknowledgment sent {"connection_id":229970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:29:52] local.INFO: TCP Data received {"connection_id":231828,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:29:52] local.INFO: Processing buffer {"connection_id":231828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:29:52] local.INFO: IMEI packet received {"connection_id":231828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":231828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:29:52] local.INFO: TCP Data received {"connection_id":231828,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:29:52] local.INFO: Processing buffer {"connection_id":231828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:29:52] local.INFO: IMEI packet received {"connection_id":231828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":231828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:29:57] local.INFO: TCP Data received {"connection_id":231828,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:29:57] local.INFO: Processing buffer {"connection_id":231828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:29:57] local.INFO: IMEI packet received {"connection_id":231828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":231828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:29:58] local.INFO: TCP Data received {"connection_id":231828,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acdd2300012d63fe800623a100000e015832..."} 
[2026-11-05 23:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acdd2300012d63fe800623a100000e015832..."} 
[2026-11-05 23:29:58] local.INFO: Processing buffer {"connection_id":231828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acdd2300012d63fe800623a100000e015832..."} 
[2026-11-05 23:29:58] local.INFO: Packet analysis {"connection_id":231828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acdd"} 
[2026-11-05 23:29:58] local.INFO: Extracted packet for processing {"connection_id":231828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acdd"} 
[2026-11-05 23:29:58] local.INFO: GPS Element Parsed {"raw_longitude":761527936,"raw_latitude":102998272,"longitude_deg":76.1527936,"latitude_deg":10.2998272,"altitude":14,"angle":344,"satellites":50,"speed":60,"hex_longitude":"2d63fe80","hex_latitude":"0623a100","is_valid_coordinates":true} 
[2026-11-05 23:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238791680001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40734414728069120,"note":"Value kept but may cause issues"} 
[2026-11-05 23:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7208292704948508672,"note":"Value kept but may cause issues"} 
[2026-11-05 23:29:58] 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-05 23:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793901536000,"timestamp_ms":1793901536000,"timestamp_seconds":1793901536,"priority":1,"record_length":96,"hex_timestamp":"000001a1acdd2300"} 
[2026-11-05 23:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 23:29:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:29:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":231828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":231828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":231828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238791680001,"66":27245,"11":206,"19":40192,"24":60,"16":40734414728069120,"45":7208292704948508672},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,19,24,16,45]} 
[2026-11-05 23:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238791680001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:29:58] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-11-05 23:29:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40734414728069120,"km_value":40734414728069.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7208292704948508672,"description":"Unknown IO ID 45"} 
[2026-11-05 23:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238791680001,"power":27245,"unknown_11":206,"unknown_19":40192,"ignition":60,"odometer":null,"unknown_45":7208292704948508672}} 
[2026-11-05 23:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":231828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:29:58] local.INFO: GPS data processed {"connection_id":231828,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:29:58] local.INFO: Acknowledgment sent {"connection_id":231828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:29:58] local.INFO: TCP Data received {"connection_id":231827,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231827,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:29:58] local.INFO: Processing buffer {"connection_id":231827,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:29:58] local.INFO: IMEI packet received {"connection_id":231827,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 23:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":231827,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:30:29] local.INFO: TCP Data received {"connection_id":231828,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acdd3a70012d63f5400623c3d0000b015934..."} 
[2026-11-05 23:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acdd3a70012d63f5400623c3d0000b015934..."} 
[2026-11-05 23:30:29] local.INFO: Processing buffer {"connection_id":231828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acdd3a70012d63f5400623c3d0000b015934..."} 
[2026-11-05 23:30:29] local.INFO: Packet analysis {"connection_id":231828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acdd"} 
[2026-11-05 23:30:29] local.INFO: Extracted packet for processing {"connection_id":231828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acdd"} 
[2026-11-05 23:30:29] local.INFO: GPS Element Parsed {"raw_longitude":761525568,"raw_latitude":103007184,"longitude_deg":76.1525568,"latitude_deg":10.3007184,"altitude":11,"angle":345,"satellites":52,"speed":61,"hex_longitude":"2d63f540","hex_latitude":"0623c3d0","is_valid_coordinates":true} 
[2026-11-05 23:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238793216001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40734861404667904,"note":"Value kept but may cause issues"} 
[2026-11-05 23:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7205337217695285248,"note":"Value kept but may cause issues"} 
[2026-11-05 23:30:29] 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-05 23:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793901542000,"timestamp_ms":1793901542000,"timestamp_seconds":1793901542,"priority":1,"record_length":96,"hex_timestamp":"000001a1acdd3a70"} 
[2026-11-05 23:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-11-05 23:30:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":231828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":231828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":231828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238793216001,"66":27365,"11":206,"19":40192,"24":61,"16":40734861404667904,"45":7205337217695285248},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,19,24,16,45]} 
[2026-11-05 23:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238793216001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:30:29] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-11-05 23:30:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40734861404667904,"km_value":40734861404667.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7205337217695285248,"description":"Unknown IO ID 45"} 
[2026-11-05 23:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238793216001,"power":27365,"unknown_11":206,"unknown_19":40192,"ignition":61,"odometer":null,"unknown_45":7205337217695285248}} 
[2026-11-05 23:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":231828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:30:29] local.INFO: GPS data processed {"connection_id":231828,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:30:29] local.INFO: Acknowledgment sent {"connection_id":231828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:30:51] local.INFO: TCP Data received {"connection_id":233727,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:30:51] local.INFO: Processing buffer {"connection_id":233727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:30:51] local.INFO: IMEI packet received {"connection_id":233727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":233727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:30:56] local.INFO: TCP Data received {"connection_id":233727,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:30:56] local.INFO: Processing buffer {"connection_id":233727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:30:56] local.INFO: IMEI packet received {"connection_id":233727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":233727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:30:57] local.INFO: TCP Data received {"connection_id":233727,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acdd51e0012d63ebc00623e7800009015a34..."} 
[2026-11-05 23:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acdd51e0012d63ebc00623e7800009015a34..."} 
[2026-11-05 23:30:57] local.INFO: Processing buffer {"connection_id":233727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acdd51e0012d63ebc00623e7800009015a34..."} 
[2026-11-05 23:30:57] local.INFO: Packet analysis {"connection_id":233727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acdd"} 
[2026-11-05 23:30:57] local.INFO: Extracted packet for processing {"connection_id":233727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acdd"} 
[2026-11-05 23:30:57] local.INFO: GPS Element Parsed {"raw_longitude":761523136,"raw_latitude":103016320,"longitude_deg":76.1523136,"latitude_deg":10.301632,"altitude":9,"angle":346,"satellites":52,"speed":62,"hex_longitude":"2d63ebc0","hex_latitude":"0623e780","is_valid_coordinates":true} 
[2026-11-05 23:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238794752001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40735316671201280,"note":"Value kept but may cause issues"} 
[2026-11-05 23:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7202733574162993152,"note":"Value kept but may cause issues"} 
[2026-11-05 23:30:57] 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-05 23:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1793901548000,"timestamp_ms":1793901548000,"timestamp_seconds":1793901548,"priority":1,"record_length":96,"hex_timestamp":"000001a1acdd51e0"} 
[2026-11-05 23:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 23:30:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:30:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":233727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":233727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":233727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238794752001,"66":27376,"11":206,"19":40192,"24":62,"16":40735316671201280,"45":7202733574162993152},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,19,24,16,45]} 
[2026-11-05 23:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238794752001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:30:57] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-11-05 23:30:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40735316671201280,"km_value":40735316671201.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":7202733574162993152,"description":"Unknown IO ID 45"} 
[2026-11-05 23:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238794752001,"power":27376,"unknown_11":206,"unknown_19":40192,"ignition":62,"odometer":null,"unknown_45":7202733574162993152}} 
[2026-11-05 23:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":233727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:30:57] local.INFO: GPS data processed {"connection_id":233727,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:30:57] local.INFO: Acknowledgment sent {"connection_id":233727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:31:29] local.INFO: TCP Data received {"connection_id":233727,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acded0b0012d639d000624ec30000a012d2f..."} 
[2026-11-05 23:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acded0b0012d639d000624ec30000a012d2f..."} 
[2026-11-05 23:31:29] local.INFO: Processing buffer {"connection_id":233727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acded0b0012d639d000624ec30000a012d2f..."} 
[2026-11-05 23:31:29] local.INFO: Packet analysis {"connection_id":233727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acde"} 
[2026-11-05 23:31:29] local.INFO: Extracted packet for processing {"connection_id":233727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acde"} 
[2026-11-05 23:31:29] local.INFO: GPS Element Parsed {"raw_longitude":761502976,"raw_latitude":103083056,"longitude_deg":76.1502976,"latitude_deg":10.3083056,"altitude":10,"angle":301,"satellites":47,"speed":18,"hex_longitude":"2d639d00","hex_latitude":"0624ec30","is_valid_coordinates":true} 
[2026-11-05 23:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238821120001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40738868609155072,"note":"Value kept but may cause issues"} 
[2026-11-05 23:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7178385988696903680,"note":"Value kept but may cause issues"} 
[2026-11-05 23:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793901646000,"timestamp_ms":1793901646000,"timestamp_seconds":1793901646,"priority":1,"record_length":96,"hex_timestamp":"000001a1acded0b0"} 
[2026-11-05 23:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 23:31:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:31:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":233727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":233727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":233727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238821120001,"66":27397,"253":206,"19":40704,"24":18,"16":40738868609155072,"45":7178385988696903680},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,19,24,16,45]} 
[2026-11-05 23:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238821120001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:31:29] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-11-05 23:31:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40738868609155072,"km_value":40738868609155.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7178385988696903680,"description":"Unknown IO ID 45"} 
[2026-11-05 23:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238821120001,"power":27397,"unknown_253":206,"unknown_19":40704,"ignition":18,"odometer":null,"unknown_45":7178385988696903680}} 
[2026-11-05 23:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":233727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:31:29] local.INFO: GPS data processed {"connection_id":233727,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:31:29] local.INFO: Acknowledgment sent {"connection_id":233727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:31:51] local.INFO: TCP Data received {"connection_id":231829,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:31:51] local.INFO: Processing buffer {"connection_id":231829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:31:51] local.INFO: IMEI packet received {"connection_id":231829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":231829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:31:57] local.INFO: TCP Data received {"connection_id":231829,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:31:57] local.INFO: Processing buffer {"connection_id":231829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:31:57] local.INFO: IMEI packet received {"connection_id":231829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":231829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:31:58] local.INFO: TCP Data received {"connection_id":231829,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acded498012d639b800624ed78000a013b2d..."} 
[2026-11-05 23:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acded498012d639b800624ed78000a013b2d..."} 
[2026-11-05 23:31:58] local.INFO: Processing buffer {"connection_id":231829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acded498012d639b800624ed78000a013b2d..."} 
[2026-11-05 23:31:58] local.INFO: Packet analysis {"connection_id":231829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acde"} 
[2026-11-05 23:31:58] local.INFO: Extracted packet for processing {"connection_id":231829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acde"} 
[2026-11-05 23:31:58] local.INFO: GPS Element Parsed {"raw_longitude":761502592,"raw_latitude":103083384,"longitude_deg":76.1502592,"latitude_deg":10.3083384,"altitude":10,"angle":315,"satellites":45,"speed":20,"hex_longitude":"2d639b80","hex_latitude":"0624ed78","is_valid_coordinates":true} 
[2026-11-05 23:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238821376001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40738894378958848,"note":"Value kept but may cause issues"} 
[2026-11-05 23:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7177893407487700992,"note":"Value kept but may cause issues"} 
[2026-11-05 23:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793901647000,"timestamp_ms":1793901647000,"timestamp_seconds":1793901647,"priority":1,"record_length":96,"hex_timestamp":"000001a1acded498"} 
[2026-11-05 23:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 23:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":231829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":231829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":231829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238821376001,"66":27365,"253":206,"19":40704,"24":20,"16":40738894378958848,"45":7177893407487700992},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,19,24,16,45]} 
[2026-11-05 23:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238821376001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:31:58] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-11-05 23:31:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40738894378958848,"km_value":40738894378958.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7177893407487700992,"description":"Unknown IO ID 45"} 
[2026-11-05 23:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238821376001,"power":27365,"unknown_253":206,"unknown_19":40704,"ignition":20,"odometer":null,"unknown_45":7177893407487700992}} 
[2026-11-05 23:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":231829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:31:58] local.INFO: GPS data processed {"connection_id":231829,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:31:58] local.INFO: Acknowledgment sent {"connection_id":231829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:32:30] local.INFO: TCP Data received {"connection_id":231829,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acdee050012d6397c00624f2b8000a014732..."} 
[2026-11-05 23:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acdee050012d6397c00624f2b8000a014732..."} 
[2026-11-05 23:32:30] local.INFO: Processing buffer {"connection_id":231829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acdee050012d6397c00624f2b8000a014732..."} 
[2026-11-05 23:32:30] local.INFO: Packet analysis {"connection_id":231829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acde"} 
[2026-11-05 23:32:30] local.INFO: Extracted packet for processing {"connection_id":231829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acde"} 
[2026-11-05 23:32:30] local.INFO: GPS Element Parsed {"raw_longitude":761501632,"raw_latitude":103084728,"longitude_deg":76.1501632,"latitude_deg":10.3084728,"altitude":10,"angle":327,"satellites":50,"speed":25,"hex_longitude":"2d6397c0","hex_latitude":"0624f2b8","is_valid_coordinates":true} 
[2026-11-05 23:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238821632001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40738971688370176,"note":"Value kept but may cause issues"} 
[2026-11-05 23:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7177471195022718976,"note":"Value kept but may cause issues"} 
[2026-11-05 23:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793901650000,"timestamp_ms":1793901650000,"timestamp_seconds":1793901650,"priority":1,"record_length":96,"hex_timestamp":"000001a1acdee050"} 
[2026-11-05 23:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 23:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":231829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":231829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":231829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238821632001,"66":27082,"253":206,"19":40704,"24":25,"16":40738971688370176,"45":7177471195022718976},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,19,24,16,45]} 
[2026-11-05 23:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238821632001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:32:30] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-11-05 23:32:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-11-05 23:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40738971688370176,"km_value":40738971688370.18,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":7177471195022718976,"description":"Unknown IO ID 45"} 
[2026-11-05 23:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238821632001,"power":27082,"unknown_253":206,"unknown_19":40704,"ignition":25,"odometer":null,"unknown_45":7177471195022718976}} 
[2026-11-05 23:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":231829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:32:30] local.INFO: GPS data processed {"connection_id":231829,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:32:30] local.INFO: Acknowledgment sent {"connection_id":231829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:33:58] local.INFO: TCP Data received {"connection_id":231830,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:33:58] local.INFO: Processing buffer {"connection_id":231830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:33:58] local.INFO: IMEI packet received {"connection_id":231830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":231830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:34:02] local.INFO: TCP Data received {"connection_id":231830,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:34:02] local.INFO: Processing buffer {"connection_id":231830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:34:02] local.INFO: IMEI packet received {"connection_id":231830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":231830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:34:03] local.INFO: TCP Data received {"connection_id":231830,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:34:03] local.INFO: Processing buffer {"connection_id":231830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:34:03] local.INFO: IMEI packet received {"connection_id":231830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":231830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:34:04] local.INFO: TCP Data received {"connection_id":231830,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ace0d068012d627b800625cbd00010014d33..."} 
[2026-11-05 23:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ace0d068012d627b800625cbd00010014d33..."} 
[2026-11-05 23:34:04] local.INFO: Processing buffer {"connection_id":231830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ace0d068012d627b800625cbd00010014d33..."} 
[2026-11-05 23:34:04] local.INFO: Packet analysis {"connection_id":231830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ace0"} 
[2026-11-05 23:34:04] local.INFO: Extracted packet for processing {"connection_id":231830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ace0"} 
[2026-11-05 23:34:04] local.INFO: GPS Element Parsed {"raw_longitude":761428864,"raw_latitude":103140304,"longitude_deg":76.1428864,"latitude_deg":10.3140304,"altitude":16,"angle":333,"satellites":51,"speed":43,"hex_longitude":"2d627b80","hex_latitude":"0625cbd0","is_valid_coordinates":true} 
[2026-11-05 23:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238853120001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40743425569456128,"note":"Value kept but may cause issues"} 
[2026-11-05 23:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7100839632626161664,"note":"Value kept but may cause issues"} 
[2026-11-05 23:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793901777000,"timestamp_ms":1793901777000,"timestamp_seconds":1793901777,"priority":1,"record_length":96,"hex_timestamp":"000001a1ace0d068"} 
[2026-11-05 23:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 23:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":231830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":231830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":231830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238853120001,"66":27300,"72":206,"19":40192,"24":43,"16":40743425569456128,"45":7100839632626161664},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,19,24,16,45]} 
[2026-11-05 23:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238853120001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:34:04] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-11-05 23:34:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40743425569456128,"km_value":40743425569456.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7100839632626161664,"description":"Unknown IO ID 45"} 
[2026-11-05 23:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238853120001,"power":27300,"unknown_72":206,"unknown_19":40192,"ignition":43,"odometer":null,"unknown_45":7100839632626161664}} 
[2026-11-05 23:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":231830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:34:04] local.INFO: GPS data processed {"connection_id":231830,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:34:04] local.INFO: Acknowledgment sent {"connection_id":231830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:34:08] local.INFO: TCP Data received {"connection_id":231830,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ace0efa8012d626e400625ed20000f015635..."} 
[2026-11-05 23:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ace0efa8012d626e400625ed20000f015635..."} 
[2026-11-05 23:34:08] local.INFO: Processing buffer {"connection_id":231830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ace0efa8012d626e400625ed20000f015635..."} 
[2026-11-05 23:34:08] local.INFO: Packet analysis {"connection_id":231830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ace0"} 
[2026-11-05 23:34:08] local.INFO: Extracted packet for processing {"connection_id":231830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ace0"} 
[2026-11-05 23:34:08] local.INFO: GPS Element Parsed {"raw_longitude":761425472,"raw_latitude":103148832,"longitude_deg":76.1425472,"latitude_deg":10.3148832,"altitude":15,"angle":342,"satellites":53,"speed":48,"hex_longitude":"2d626e40","hex_latitude":"0625ed20","is_valid_coordinates":true} 
[2026-11-05 23:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238854912001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40743867951087616,"note":"Value kept but may cause issues"} 
[2026-11-05 23:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7096406401744621568,"note":"Value kept but may cause issues"} 
[2026-11-05 23:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793901785000,"timestamp_ms":1793901785000,"timestamp_seconds":1793901785,"priority":1,"record_length":96,"hex_timestamp":"000001a1ace0efa8"} 
[2026-11-05 23:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:34: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-05 23:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 23:34:08] 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-05 23:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":231830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":231830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":231830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238854912001,"66":27180,"72":206,"19":40192,"24":48,"16":40743867951087616,"45":7096406401744621568},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,19,24,16,45]} 
[2026-11-05 23:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238854912001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:34:08] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-11-05 23:34:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40743867951087616,"km_value":40743867951087.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7096406401744621568,"description":"Unknown IO ID 45"} 
[2026-11-05 23:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238854912001,"power":27180,"unknown_72":206,"unknown_19":40192,"ignition":48,"odometer":null,"unknown_45":7096406401744621568}} 
[2026-11-05 23:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":231830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:34:08] local.INFO: GPS data processed {"connection_id":231830,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:34:08] local.INFO: Acknowledgment sent {"connection_id":231830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:34:51] local.INFO: TCP Data received {"connection_id":229971,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:34:51] local.INFO: Processing buffer {"connection_id":229971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:34:51] local.INFO: IMEI packet received {"connection_id":229971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":229971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:34:58] local.INFO: TCP Data received {"connection_id":229971,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:34:58] local.INFO: Processing buffer {"connection_id":229971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:34:58] local.INFO: IMEI packet received {"connection_id":229971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":229971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:34:59] local.INFO: TCP Data received {"connection_id":229971,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ace10b00012d6263c006260fd8000f015735..."} 
[2026-11-05 23:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ace10b00012d6263c006260fd8000f015735..."} 
[2026-11-05 23:34:59] local.INFO: Processing buffer {"connection_id":229971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ace10b00012d6263c006260fd8000f015735..."} 
[2026-11-05 23:34:59] local.INFO: Packet analysis {"connection_id":229971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ace1"} 
[2026-11-05 23:34:59] local.INFO: Extracted packet for processing {"connection_id":229971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ace1"} 
[2026-11-05 23:34:59] local.INFO: GPS Element Parsed {"raw_longitude":761422784,"raw_latitude":103157720,"longitude_deg":76.1422784,"latitude_deg":10.315772,"altitude":15,"angle":343,"satellites":53,"speed":55,"hex_longitude":"2d6263c0","hex_latitude":"06260fd8","is_valid_coordinates":true} 
[2026-11-05 23:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238856960001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40744318922653696,"note":"Value kept but may cause issues"} 
[2026-11-05 23:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7092676858305388544,"note":"Value kept but may cause issues"} 
[2026-11-05 23:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793901792000,"timestamp_ms":1793901792000,"timestamp_seconds":1793901792,"priority":1,"record_length":96,"hex_timestamp":"000001a1ace10b00"} 
[2026-11-05 23:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-11-05 23:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":229971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":229971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":229971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238856960001,"66":27397,"72":206,"19":40192,"24":55,"16":40744318922653696,"45":7092676858305388544},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,19,24,16,45]} 
[2026-11-05 23:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238856960001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:34:59] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-11-05 23:34:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40744318922653696,"km_value":40744318922653.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7092676858305388544,"description":"Unknown IO ID 45"} 
[2026-11-05 23:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238856960001,"power":27397,"unknown_72":206,"unknown_19":40192,"ignition":55,"odometer":null,"unknown_45":7092676858305388544}} 
[2026-11-05 23:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":229971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:34:59] local.INFO: GPS data processed {"connection_id":229971,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:34:59] local.INFO: Acknowledgment sent {"connection_id":229971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:35:30] local.INFO: TCP Data received {"connection_id":233729,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:35:30] local.INFO: Processing buffer {"connection_id":233729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:35:30] local.INFO: IMEI packet received {"connection_id":233729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 23:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":233729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:35:38] local.INFO: TCP Data received {"connection_id":229971,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ace25708012d627a800627b7100013015535..."} 
[2026-11-05 23:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ace25708012d627a800627b7100013015535..."} 
[2026-11-05 23:35:38] local.INFO: Processing buffer {"connection_id":229971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ace25708012d627a800627b7100013015535..."} 
[2026-11-05 23:35:38] local.INFO: Packet analysis {"connection_id":229971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ace2"} 
[2026-11-05 23:35:38] local.INFO: Extracted packet for processing {"connection_id":229971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ace2"} 
[2026-11-05 23:35:38] local.INFO: GPS Element Parsed {"raw_longitude":761428608,"raw_latitude":103266064,"longitude_deg":76.1428608,"latitude_deg":10.3266064,"altitude":19,"angle":341,"satellites":53,"speed":55,"hex_longitude":"2d627a80","hex_latitude":"0627b710","is_valid_coordinates":true} 
[2026-11-05 23:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238878976001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40749648977068032,"note":"Value kept but may cause issues"} 
[2026-11-05 23:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7098024882890887168,"note":"Value kept but may cause issues"} 
[2026-11-05 23:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1793901877000,"timestamp_ms":1793901877000,"timestamp_seconds":1793901877,"priority":1,"record_length":96,"hex_timestamp":"000001a1ace25708"} 
[2026-11-05 23:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:35: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-05 23:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 23:35:38] 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-05 23:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":229971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":229971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":229971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238878976001,"66":27484,"12":206,"19":40192,"24":55,"16":40749648977068032,"45":7098024882890887168},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-11-05 23:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238878976001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:35:38] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-11-05 23:35:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40749648977068032,"km_value":40749648977068.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7098024882890887168,"description":"Unknown IO ID 45"} 
[2026-11-05 23:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238878976001,"power":27484,"unknown_12":206,"unknown_19":40192,"ignition":55,"odometer":null,"unknown_45":7098024882890887168}} 
[2026-11-05 23:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":229971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:35:38] local.INFO: GPS data processed {"connection_id":229971,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:35:38] local.INFO: Acknowledgment sent {"connection_id":229971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:36:28] local.INFO: TCP Data received {"connection_id":229972,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:36:28] local.INFO: Processing buffer {"connection_id":229972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:36:28] local.INFO: IMEI packet received {"connection_id":229972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":229972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:36:31] local.INFO: TCP Data received {"connection_id":229972,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:36:31] local.INFO: Processing buffer {"connection_id":229972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:36:31] local.INFO: IMEI packet received {"connection_id":229972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":229972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:36:38] local.INFO: TCP Data received {"connection_id":229972,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ace27260012d626c800627db300012015233..."} 
[2026-11-05 23:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ace27260012d626c800627db300012015233..."} 
[2026-11-05 23:36:38] local.INFO: Processing buffer {"connection_id":229972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ace27260012d626c800627db300012015233..."} 
[2026-11-05 23:36:38] local.INFO: Packet analysis {"connection_id":229972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ace2"} 
[2026-11-05 23:36:38] local.INFO: Extracted packet for processing {"connection_id":229972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ace2"} 
[2026-11-05 23:36:38] local.INFO: GPS Element Parsed {"raw_longitude":761425024,"raw_latitude":103275312,"longitude_deg":76.1425024,"latitude_deg":10.3275312,"altitude":18,"angle":338,"satellites":51,"speed":58,"hex_longitude":"2d626c80","hex_latitude":"0627db30","is_valid_coordinates":true} 
[2026-11-05 23: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-05 23:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238880512001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40750130013405184,"note":"Value kept but may cause issues"} 
[2026-11-05 23:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7096124926800105472,"note":"Value kept but may cause issues"} 
[2026-11-05 23:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1793901884000,"timestamp_ms":1793901884000,"timestamp_seconds":1793901884,"priority":1,"record_length":96,"hex_timestamp":"000001a1ace27260"} 
[2026-11-05 23: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-05 23:36: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-05 23: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-05 23:36:38] 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-05 23: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-05 23: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-05 23:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":229972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":229972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":229972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238880512001,"66":27321,"12":206,"19":40192,"24":58,"16":40750130013405184,"45":7096124926800105472},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-11-05 23:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238880512001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:36:38] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-11-05 23:36:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40750130013405184,"km_value":40750130013405.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7096124926800105472,"description":"Unknown IO ID 45"} 
[2026-11-05 23:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238880512001,"power":27321,"unknown_12":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":7096124926800105472}} 
[2026-11-05 23:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":229972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:36:38] local.INFO: GPS data processed {"connection_id":229972,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:36:38] local.INFO: Acknowledgment sent {"connection_id":229972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:37:46] local.INFO: TCP Data received {"connection_id":229973,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:37:46] local.INFO: Processing buffer {"connection_id":229973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:37:46] local.INFO: IMEI packet received {"connection_id":229973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":229973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:37:47] local.INFO: TCP Data received {"connection_id":229973,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:37:47] local.INFO: Processing buffer {"connection_id":229973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:37:47] local.INFO: IMEI packet received {"connection_id":229973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":229973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:37:52] local.INFO: TCP Data received {"connection_id":229973,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:37:52] local.INFO: Processing buffer {"connection_id":229973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:37:52] local.INFO: IMEI packet received {"connection_id":229973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":229973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:37:53] local.INFO: TCP Data received {"connection_id":229973,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ace39758012d61c40006294dd0000e015233..."} 
[2026-11-05 23:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ace39758012d61c40006294dd0000e015233..."} 
[2026-11-05 23:37:53] local.INFO: Processing buffer {"connection_id":229973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ace39758012d61c40006294dd0000e015233..."} 
[2026-11-05 23:37:53] local.INFO: Packet analysis {"connection_id":229973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ace3"} 
[2026-11-05 23:37:53] local.INFO: Extracted packet for processing {"connection_id":229973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ace3"} 
[2026-11-05 23:37:53] local.INFO: GPS Element Parsed {"raw_longitude":761381888,"raw_latitude":103370192,"longitude_deg":76.1381888,"latitude_deg":10.3370192,"altitude":14,"angle":338,"satellites":51,"speed":57,"hex_longitude":"2d61c400","hex_latitude":"06294dd0","is_valid_coordinates":true} 
[2026-11-05 23:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238899712001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40755172305010688,"note":"Value kept but may cause issues"} 
[2026-11-05 23:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7048907499481198592,"note":"Value kept but may cause issues"} 
[2026-11-05 23:37:53] 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-05 23:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793901959000,"timestamp_ms":1793901959000,"timestamp_seconds":1793901959,"priority":1,"record_length":96,"hex_timestamp":"000001a1ace39758"} 
[2026-11-05 23:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-11-05 23:37:53] 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-05 23:37:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":229973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":229973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":229973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238899712001,"66":27267,"12":206,"19":40192,"24":57,"16":40755172305010688,"45":7048907499481198592},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-11-05 23:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238899712001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:37:53] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-11-05 23:37:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40755172305010688,"km_value":40755172305010.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":7048907499481198592,"description":"Unknown IO ID 45"} 
[2026-11-05 23:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238899712001,"power":27267,"unknown_12":206,"unknown_19":40192,"ignition":57,"odometer":null,"unknown_45":7048907499481198592}} 
[2026-11-05 23:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":229973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:37:53] local.INFO: GPS data processed {"connection_id":229973,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:37:53] local.INFO: Acknowledgment sent {"connection_id":229973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:38:25] local.INFO: TCP Data received {"connection_id":229973,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ace4feb8012d60e840062b1850000c014733..."} 
[2026-11-05 23:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ace4feb8012d60e840062b1850000c014733..."} 
[2026-11-05 23:38:25] local.INFO: Processing buffer {"connection_id":229973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ace4feb8012d60e840062b1850000c014733..."} 
[2026-11-05 23:38:25] local.INFO: Packet analysis {"connection_id":229973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ace4"} 
[2026-11-05 23:38:25] local.INFO: Extracted packet for processing {"connection_id":229973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ace4"} 
[2026-11-05 23:38:25] local.INFO: GPS Element Parsed {"raw_longitude":761325632,"raw_latitude":103487568,"longitude_deg":76.1325632,"latitude_deg":10.3487568,"altitude":12,"angle":327,"satellites":51,"speed":53,"hex_longitude":"2d60e840","hex_latitude":"062b1850","is_valid_coordinates":true} 
[2026-11-05 23:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238923264001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40761485906935808,"note":"Value kept but may cause issues"} 
[2026-11-05 23:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6988812591983810560,"note":"Value kept but may cause issues"} 
[2026-11-05 23:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793902051000,"timestamp_ms":1793902051000,"timestamp_seconds":1793902051,"priority":1,"record_length":96,"hex_timestamp":"000001a1ace4feb8"} 
[2026-11-05 23:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:38: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-05 23:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 23:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":229973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":229973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":229973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238923264001,"66":27365,"122":206,"19":40192,"24":53,"16":40761485906935808,"45":6988812591983810560},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,19,24,16,45]} 
[2026-11-05 23:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238923264001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:38:25] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-11-05 23:38:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40761485906935808,"km_value":40761485906935.805,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":6988812591983810560,"description":"Unknown IO ID 45"} 
[2026-11-05 23:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238923264001,"power":27365,"unknown_122":206,"unknown_19":40192,"ignition":53,"odometer":null,"unknown_45":6988812591983810560}} 
[2026-11-05 23:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":229973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:38:25] local.INFO: GPS data processed {"connection_id":229973,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:38:25] local.INFO: Acknowledgment sent {"connection_id":229973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:38:51] local.INFO: TCP Data received {"connection_id":229974,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:38:51] local.INFO: Processing buffer {"connection_id":229974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:38:51] local.INFO: IMEI packet received {"connection_id":229974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":229974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:38:52] local.INFO: TCP Data received {"connection_id":229974,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:38:52] local.INFO: Processing buffer {"connection_id":229974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:38:52] local.INFO: IMEI packet received {"connection_id":229974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":229974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:38:57] local.INFO: TCP Data received {"connection_id":229974,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:38:57] local.INFO: Processing buffer {"connection_id":229974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:38:57] local.INFO: IMEI packet received {"connection_id":229974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":229974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:38:59] local.INFO: TCP Data received {"connection_id":229974,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ace51a10012d60d680062b3730000f014e33..."} 
[2026-11-05 23:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ace51a10012d60d680062b3730000f014e33..."} 
[2026-11-05 23:38:59] local.INFO: Processing buffer {"connection_id":229974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ace51a10012d60d680062b3730000f014e33..."} 
[2026-11-05 23:38:59] local.INFO: Packet analysis {"connection_id":229974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ace5"} 
[2026-11-05 23:38:59] local.INFO: Extracted packet for processing {"connection_id":229974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ace5"} 
[2026-11-05 23:38:59] local.INFO: GPS Element Parsed {"raw_longitude":761321088,"raw_latitude":103495472,"longitude_deg":76.1321088,"latitude_deg":10.3495472,"altitude":15,"angle":334,"satellites":51,"speed":50,"hex_longitude":"2d60d680","hex_latitude":"062b3730","is_valid_coordinates":true} 
[2026-11-05 23:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238925056001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40761923993600000,"note":"Value kept but may cause issues"} 
[2026-11-05 23:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6982901617474949120,"note":"Value kept but may cause issues"} 
[2026-11-05 23:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793902058000,"timestamp_ms":1793902058000,"timestamp_seconds":1793902058,"priority":1,"record_length":96,"hex_timestamp":"000001a1ace51a10"} 
[2026-11-05 23:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 23:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":229974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":229974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":229974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238925056001,"66":27267,"122":206,"19":40192,"24":50,"16":40761923993600000,"45":6982901617474949120},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,19,24,16,45]} 
[2026-11-05 23:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238925056001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:38:59] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-11-05 23:38:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40761923993600000,"km_value":40761923993600,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6982901617474949120,"description":"Unknown IO ID 45"} 
[2026-11-05 23:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238925056001,"power":27267,"unknown_122":206,"unknown_19":40192,"ignition":50,"odometer":null,"unknown_45":6982901617474949120}} 
[2026-11-05 23:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":229974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:38:59] local.INFO: GPS data processed {"connection_id":229974,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:38:59] local.INFO: Acknowledgment sent {"connection_id":229974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:39:31] local.INFO: TCP Data received {"connection_id":229974,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ace53568012d60c980062b57580011015733..."} 
[2026-11-05 23:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ace53568012d60c980062b57580011015733..."} 
[2026-11-05 23:39:31] local.INFO: Processing buffer {"connection_id":229974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ace53568012d60c980062b57580011015733..."} 
[2026-11-05 23:39:31] local.INFO: Packet analysis {"connection_id":229974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ace5"} 
[2026-11-05 23:39:31] local.INFO: Extracted packet for processing {"connection_id":229974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ace5"} 
[2026-11-05 23:39:31] local.INFO: GPS Element Parsed {"raw_longitude":761317760,"raw_latitude":103503704,"longitude_deg":76.131776,"latitude_deg":10.3503704,"altitude":17,"angle":343,"satellites":51,"speed":50,"hex_longitude":"2d60c980","hex_latitude":"062b5758","is_valid_coordinates":true} 
[2026-11-05 23:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238926848001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40762357785296896,"note":"Value kept but may cause issues"} 
[2026-11-05 23:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6977905436640358400,"note":"Value kept but may cause issues"} 
[2026-11-05 23:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793902065000,"timestamp_ms":1793902065000,"timestamp_seconds":1793902065,"priority":1,"record_length":96,"hex_timestamp":"000001a1ace53568"} 
[2026-11-05 23:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:39: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-05 23:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 23:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":229974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":229974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":229974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238926848001,"66":27267,"122":206,"19":40192,"24":50,"16":40762357785296896,"45":6977905436640358400},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,19,24,16,45]} 
[2026-11-05 23:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238926848001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:39:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-11-05 23:39:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40762357785296896,"km_value":40762357785296.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6977905436640358400,"description":"Unknown IO ID 45"} 
[2026-11-05 23:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238926848001,"power":27267,"unknown_122":206,"unknown_19":40192,"ignition":50,"odometer":null,"unknown_45":6977905436640358400}} 
[2026-11-05 23:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":229974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:39:31] local.INFO: GPS data processed {"connection_id":229974,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:39:31] local.INFO: Acknowledgment sent {"connection_id":229974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:39:54] local.INFO: TCP Data received {"connection_id":231832,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:39:54] local.INFO: Processing buffer {"connection_id":231832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:39:54] local.INFO: IMEI packet received {"connection_id":231832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":231832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:39:58] local.INFO: TCP Data received {"connection_id":231832,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:39:58] local.INFO: Processing buffer {"connection_id":231832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:39:58] local.INFO: IMEI packet received {"connection_id":231832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":231832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:39:59] local.INFO: TCP Data received {"connection_id":231832,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ace65678012d604740062cd880000a015032..."} 
[2026-11-05 23:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ace65678012d604740062cd880000a015032..."} 
[2026-11-05 23:39:59] local.INFO: Processing buffer {"connection_id":231832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ace65678012d604740062cd880000a015032..."} 
[2026-11-05 23:39:59] local.INFO: Packet analysis {"connection_id":231832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ace6"} 
[2026-11-05 23:39:59] local.INFO: Extracted packet for processing {"connection_id":231832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ace6"} 
[2026-11-05 23:39:59] local.INFO: GPS Element Parsed {"raw_longitude":761284416,"raw_latitude":103602304,"longitude_deg":76.1284416,"latitude_deg":10.3602304,"altitude":10,"angle":336,"satellites":50,"speed":58,"hex_longitude":"2d604740","hex_latitude":"062cd880","is_valid_coordinates":true} 
[2026-11-05 23:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238945792001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40767421551738880,"note":"Value kept but may cause issues"} 
[2026-11-05 23:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6942017377134768128,"note":"Value kept but may cause issues"} 
[2026-11-05 23:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793902139000,"timestamp_ms":1793902139000,"timestamp_seconds":1793902139,"priority":1,"record_length":96,"hex_timestamp":"000001a1ace65678"} 
[2026-11-05 23:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 23:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":231832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":231832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":231832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238945792001,"66":27267,"175":206,"19":40192,"24":58,"16":40767421551738880,"45":6942017377134768128},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-11-05 23:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238945792001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:39:59] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-11-05 23:39:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40767421551738880,"km_value":40767421551738.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6942017377134768128,"description":"Unknown IO ID 45"} 
[2026-11-05 23:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238945792001,"power":27267,"unknown_175":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":6942017377134768128}} 
[2026-11-05 23:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":231832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:39:59] local.INFO: GPS data processed {"connection_id":231832,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:39:59] local.INFO: Acknowledgment sent {"connection_id":231832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:40:00] local.INFO: TCP Data received {"connection_id":231832,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ace671d0012d603780062cfcb0000a015033..."} 
[2026-11-05 23:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ace671d0012d603780062cfcb0000a015033..."} 
[2026-11-05 23:40:00] local.INFO: Processing buffer {"connection_id":231832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ace671d0012d603780062cfcb0000a015033..."} 
[2026-11-05 23:40:00] local.INFO: Packet analysis {"connection_id":231832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ace6"} 
[2026-11-05 23:40:00] local.INFO: Extracted packet for processing {"connection_id":231832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ace6"} 
[2026-11-05 23:40:00] local.INFO: GPS Element Parsed {"raw_longitude":761280384,"raw_latitude":103611568,"longitude_deg":76.1280384,"latitude_deg":10.3611568,"altitude":10,"angle":336,"satellites":51,"speed":58,"hex_longitude":"2d603780","hex_latitude":"062cfcb0","is_valid_coordinates":true} 
[2026-11-05 23:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238947584001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40767911178010624,"note":"Value kept but may cause issues"} 
[2026-11-05 23:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6937584146253905920,"note":"Value kept but may cause issues"} 
[2026-11-05 23:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793902146000,"timestamp_ms":1793902146000,"timestamp_seconds":1793902146,"priority":1,"record_length":96,"hex_timestamp":"000001a1ace671d0"} 
[2026-11-05 23:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 23:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:40:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":231832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":231832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":231832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238947584001,"66":27321,"175":206,"19":40192,"24":58,"16":40767911178010624,"45":6937584146253905920},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-11-05 23:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238947584001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:40:00] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-11-05 23:40:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40767911178010624,"km_value":40767911178010.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6937584146253905920,"description":"Unknown IO ID 45"} 
[2026-11-05 23:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238947584001,"power":27321,"unknown_175":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":6937584146253905920}} 
[2026-11-05 23:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":231832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:40:00] local.INFO: GPS data processed {"connection_id":231832,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:40:00] local.INFO: Acknowledgment sent {"connection_id":231832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:40:32] local.INFO: TCP Data received {"connection_id":231832,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ace68940012d602a00062d1d30000a015033..."} 
[2026-11-05 23:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ace68940012d602a00062d1d30000a015033..."} 
[2026-11-05 23:40:32] local.INFO: Processing buffer {"connection_id":231832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ace68940012d602a00062d1d30000a015033..."} 
[2026-11-05 23:40:32] local.INFO: Packet analysis {"connection_id":231832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ace6"} 
[2026-11-05 23:40:32] local.INFO: Extracted packet for processing {"connection_id":231832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ace6"} 
[2026-11-05 23:40:32] local.INFO: GPS Element Parsed {"raw_longitude":761276928,"raw_latitude":103619888,"longitude_deg":76.1276928,"latitude_deg":10.3619888,"altitude":10,"angle":336,"satellites":51,"speed":60,"hex_longitude":"2d602a00","hex_latitude":"062d1d30","is_valid_coordinates":true} 
[2026-11-05 23: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-05 23:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238949376001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40768344969707520,"note":"Value kept but may cause issues"} 
[2026-11-05 23:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6933150915373084672,"note":"Value kept but may cause issues"} 
[2026-11-05 23:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1793902152000,"timestamp_ms":1793902152000,"timestamp_seconds":1793902152,"priority":1,"record_length":96,"hex_timestamp":"000001a1ace68940"} 
[2026-11-05 23: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-05 23:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-05 23:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23: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-05 23: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-05 23:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":231832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":231832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":231832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238949376001,"66":27365,"175":206,"19":40192,"24":60,"16":40768344969707520,"45":6933150915373084672},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-11-05 23:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238949376001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:40:32] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-11-05 23:40:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40768344969707520,"km_value":40768344969707.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6933150915373084672,"description":"Unknown IO ID 45"} 
[2026-11-05 23:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238949376001,"power":27365,"unknown_175":206,"unknown_19":40192,"ignition":60,"odometer":null,"unknown_45":6933150915373084672}} 
[2026-11-05 23:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":231832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:40:32] local.INFO: GPS data processed {"connection_id":231832,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:40:32] local.INFO: Acknowledgment sent {"connection_id":231832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:40:51] local.INFO: TCP Data received {"connection_id":233730,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:40:51] local.INFO: Processing buffer {"connection_id":233730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:40:51] local.INFO: IMEI packet received {"connection_id":233730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":233730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:40:55] local.INFO: TCP Data received {"connection_id":233730,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:40:55] local.INFO: Processing buffer {"connection_id":233730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:40:55] local.INFO: IMEI packet received {"connection_id":233730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":233730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:40:56] local.INFO: TCP Data received {"connection_id":233730,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:40:56] local.INFO: Processing buffer {"connection_id":233730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:40:56] local.INFO: IMEI packet received {"connection_id":233730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":233730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:40:58] local.INFO: TCP Data received {"connection_id":233730,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ace6a0b0012d601bc0062d3d68000a014f33..."} 
[2026-11-05 23:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ace6a0b0012d601bc0062d3d68000a014f33..."} 
[2026-11-05 23:40:58] local.INFO: Processing buffer {"connection_id":233730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ace6a0b0012d601bc0062d3d68000a014f33..."} 
[2026-11-05 23:40:58] local.INFO: Packet analysis {"connection_id":233730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ace6"} 
[2026-11-05 23:40:58] local.INFO: Extracted packet for processing {"connection_id":233730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ace6"} 
[2026-11-05 23:40:58] local.INFO: GPS Element Parsed {"raw_longitude":761273280,"raw_latitude":103628136,"longitude_deg":76.127328,"latitude_deg":10.3628136,"altitude":10,"angle":335,"satellites":51,"speed":59,"hex_longitude":"2d601bc0","hex_latitude":"062d3d68","is_valid_coordinates":true} 
[2026-11-05 23:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238950912001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40768783056371712,"note":"Value kept but may cause issues"} 
[2026-11-05 23:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6929351003189620736,"note":"Value kept but may cause issues"} 
[2026-11-05 23:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793902158000,"timestamp_ms":1793902158000,"timestamp_seconds":1793902158,"priority":1,"record_length":96,"hex_timestamp":"000001a1ace6a0b0"} 
[2026-11-05 23:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 23:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":233730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":233730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":233730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238950912001,"66":27213,"175":206,"19":40192,"24":59,"16":40768783056371712,"45":6929351003189620736},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-11-05 23:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238950912001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:40:58] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-11-05 23:40:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40768783056371712,"km_value":40768783056371.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6929351003189620736,"description":"Unknown IO ID 45"} 
[2026-11-05 23:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238950912001,"power":27213,"unknown_175":206,"unknown_19":40192,"ignition":59,"odometer":null,"unknown_45":6929351003189620736}} 
[2026-11-05 23:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":233730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:40:58] local.INFO: GPS data processed {"connection_id":233730,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:40:58] local.INFO: Acknowledgment sent {"connection_id":233730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:41:03] local.INFO: TCP Data received {"connection_id":231831,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231831,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:41:03] local.INFO: Processing buffer {"connection_id":231831,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:41:03] local.INFO: IMEI packet received {"connection_id":231831,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 23:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":231831,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:41:04] local.INFO: TCP Data received {"connection_id":233730,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ace6b820012d600d00062d5d28000a015033..."} 
[2026-11-05 23:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ace6b820012d600d00062d5d28000a015033..."} 
[2026-11-05 23:41:04] local.INFO: Processing buffer {"connection_id":233730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ace6b820012d600d00062d5d28000a015033..."} 
[2026-11-05 23:41:04] local.INFO: Packet analysis {"connection_id":233730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ace6"} 
[2026-11-05 23:41:04] local.INFO: Extracted packet for processing {"connection_id":233730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ace6"} 
[2026-11-05 23:41:04] local.INFO: GPS Element Parsed {"raw_longitude":761269504,"raw_latitude":103636264,"longitude_deg":76.1269504,"latitude_deg":10.3636264,"altitude":10,"angle":336,"satellites":51,"speed":59,"hex_longitude":"2d600d00","hex_latitude":"062d5d28","is_valid_coordinates":true} 
[2026-11-05 23:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238952448001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40769212553101312,"note":"Value kept but may cause issues"} 
[2026-11-05 23:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6925339984773605376,"note":"Value kept but may cause issues"} 
[2026-11-05 23:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793902164000,"timestamp_ms":1793902164000,"timestamp_seconds":1793902164,"priority":1,"record_length":96,"hex_timestamp":"000001a1ace6b820"} 
[2026-11-05 23:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-11-05 23:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":233730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":233730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":233730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238952448001,"66":27321,"175":206,"19":40192,"24":59,"16":40769212553101312,"45":6925339984773605376},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-11-05 23:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238952448001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:41:04] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-11-05 23:41:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40769212553101312,"km_value":40769212553101.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6925339984773605376,"description":"Unknown IO ID 45"} 
[2026-11-05 23:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238952448001,"power":27321,"unknown_175":206,"unknown_19":40192,"ignition":59,"odometer":null,"unknown_45":6925339984773605376}} 
[2026-11-05 23:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":233730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:41:04] local.INFO: GPS data processed {"connection_id":233730,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:41:04] local.INFO: Acknowledgment sent {"connection_id":233730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:41:36] local.INFO: TCP Data received {"connection_id":233730,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ace7d548012d5f9400062ee900000a015431..."} 
[2026-11-05 23:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ace7d548012d5f9400062ee900000a015431..."} 
[2026-11-05 23:41:36] local.INFO: Processing buffer {"connection_id":233730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ace7d548012d5f9400062ee900000a015431..."} 
[2026-11-05 23:41:36] local.INFO: Packet analysis {"connection_id":233730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ace7"} 
[2026-11-05 23:41:36] local.INFO: Extracted packet for processing {"connection_id":233730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ace7"} 
[2026-11-05 23:41:36] local.INFO: GPS Element Parsed {"raw_longitude":761238528,"raw_latitude":103737600,"longitude_deg":76.1238528,"latitude_deg":10.37376,"altitude":10,"angle":340,"satellites":49,"speed":43,"hex_longitude":"2d5f9400","hex_latitude":"062ee900","is_valid_coordinates":true} 
[2026-11-05 23:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238970880001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40774387988692992,"note":"Value kept but may cause issues"} 
[2026-11-05 23:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6890437087687194624,"note":"Value kept but may cause issues"} 
[2026-11-05 23:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1793902237000,"timestamp_ms":1793902237000,"timestamp_seconds":1793902237,"priority":1,"record_length":96,"hex_timestamp":"000001a1ace7d548"} 
[2026-11-05 23:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 23:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":233730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":233730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":233730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238970880001,"66":27365,"174":206,"19":40192,"24":43,"16":40774387988692992,"45":6890437087687194624},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,19,24,16,45]} 
[2026-11-05 23:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238970880001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:41:36] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-11-05 23:41:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40774387988692992,"km_value":40774387988692.99,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6890437087687194624,"description":"Unknown IO ID 45"} 
[2026-11-05 23:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238970880001,"power":27365,"unknown_174":206,"unknown_19":40192,"ignition":43,"odometer":null,"unknown_45":6890437087687194624}} 
[2026-11-05 23:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":233730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:41:36] local.INFO: GPS data processed {"connection_id":233730,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:41:36] local.INFO: Acknowledgment sent {"connection_id":233730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:41:51] local.INFO: TCP Data received {"connection_id":229975,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:41:51] local.INFO: Processing buffer {"connection_id":229975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:41:51] local.INFO: IMEI packet received {"connection_id":229975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":229975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:41:56] local.INFO: TCP Data received {"connection_id":229975,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:41:56] local.INFO: Processing buffer {"connection_id":229975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:41:56] local.INFO: IMEI packet received {"connection_id":229975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":229975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:41:57] local.INFO: TCP Data received {"connection_id":229975,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ace7fc58012d5f85c0062f08f00009015227..."} 
[2026-11-05 23:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ace7fc58012d5f85c0062f08f00009015227..."} 
[2026-11-05 23:41:57] local.INFO: Processing buffer {"connection_id":229975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ace7fc58012d5f85c0062f08f00009015227..."} 
[2026-11-05 23:41:57] local.INFO: Packet analysis {"connection_id":229975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ace7"} 
[2026-11-05 23:41:57] local.INFO: Extracted packet for processing {"connection_id":229975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ace7"} 
[2026-11-05 23:41:57] local.INFO: GPS Element Parsed {"raw_longitude":761234880,"raw_latitude":103745776,"longitude_deg":76.123488,"latitude_deg":10.3745776,"altitude":9,"angle":338,"satellites":39,"speed":33,"hex_longitude":"2d5f85c0","hex_latitude":"062f08f0","is_valid_coordinates":true} 
[2026-11-05 23:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238972672001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40774821780389888,"note":"Value kept but may cause issues"} 
[2026-11-05 23:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6887129756713156608,"note":"Value kept but may cause issues"} 
[2026-11-05 23:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1793902247000,"timestamp_ms":1793902247000,"timestamp_seconds":1793902247,"priority":1,"record_length":96,"hex_timestamp":"000001a1ace7fc58"} 
[2026-11-05 23:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 23:41:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:41:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":229975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":229975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":229975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238972672001,"66":27463,"174":206,"19":40192,"24":33,"16":40774821780389888,"45":6887129756713156608},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,19,24,16,45]} 
[2026-11-05 23:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238972672001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:41:57] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-11-05 23:41:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40774821780389888,"km_value":40774821780389.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":6887129756713156608,"description":"Unknown IO ID 45"} 
[2026-11-05 23:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238972672001,"power":27463,"unknown_174":206,"unknown_19":40192,"ignition":33,"odometer":null,"unknown_45":6887129756713156608}} 
[2026-11-05 23:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":229975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:41:57] local.INFO: GPS data processed {"connection_id":229975,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:41:57] local.INFO: Acknowledgment sent {"connection_id":229975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:42:29] local.INFO: TCP Data received {"connection_id":229975,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ace81f80012d5f7ec0062f20780009015f2b..."} 
[2026-11-05 23:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ace81f80012d5f7ec0062f20780009015f2b..."} 
[2026-11-05 23:42:29] local.INFO: Processing buffer {"connection_id":229975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ace81f80012d5f7ec0062f20780009015f2b..."} 
[2026-11-05 23:42:29] local.INFO: Packet analysis {"connection_id":229975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ace8"} 
[2026-11-05 23:42:29] local.INFO: Extracted packet for processing {"connection_id":229975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ace8"} 
[2026-11-05 23:42:29] local.INFO: GPS Element Parsed {"raw_longitude":761233088,"raw_latitude":103751800,"longitude_deg":76.1233088,"latitude_deg":10.37518,"altitude":9,"angle":351,"satellites":43,"speed":28,"hex_longitude":"2d5f7ec0","hex_latitude":"062f2078","is_valid_coordinates":true} 
[2026-11-05 23:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238975232001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40775126723067904,"note":"Value kept but may cause issues"} 
[2026-11-05 23:42:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6883118738297122816,"note":"Value kept but may cause issues"} 
[2026-11-05 23:42:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793902256000,"timestamp_ms":1793902256000,"timestamp_seconds":1793902256,"priority":1,"record_length":96,"hex_timestamp":"000001a1ace81f80"} 
[2026-11-05 23:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:42:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 23:42:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:42:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":229975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":229975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":229975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:42:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238975232001,"66":27397,"174":206,"19":40192,"24":28,"16":40775126723067904,"45":6883118738297122816},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,19,24,16,45]} 
[2026-11-05 23:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238975232001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:42:29] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-11-05 23:42:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40775126723067904,"km_value":40775126723067.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:42:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6883118738297122816,"description":"Unknown IO ID 45"} 
[2026-11-05 23:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238975232001,"power":27397,"unknown_174":206,"unknown_19":40192,"ignition":28,"odometer":null,"unknown_45":6883118738297122816}} 
[2026-11-05 23:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":229975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:42:29] local.INFO: GPS data processed {"connection_id":229975,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:42:29] local.INFO: Acknowledgment sent {"connection_id":229975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:42:51] local.INFO: TCP Data received {"connection_id":231833,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:42:51] local.INFO: Processing buffer {"connection_id":231833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:42:51] local.INFO: IMEI packet received {"connection_id":231833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":231833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:42:52] local.INFO: TCP Data received {"connection_id":231833,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:42:52] local.INFO: Processing buffer {"connection_id":231833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:42:52] local.INFO: IMEI packet received {"connection_id":231833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":231833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:42:57] local.INFO: TCP Data received {"connection_id":231833,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:42:57] local.INFO: Processing buffer {"connection_id":231833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:42:57] local.INFO: IMEI packet received {"connection_id":231833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":231833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:42:58] local.INFO: TCP Data received {"connection_id":231833,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ace83ad8012d5f7940062f3550000b01542f..."} 
[2026-11-05 23:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ace83ad8012d5f7940062f3550000b01542f..."} 
[2026-11-05 23:42:58] local.INFO: Processing buffer {"connection_id":231833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ace83ad8012d5f7940062f3550000b01542f..."} 
[2026-11-05 23:42:58] local.INFO: Packet analysis {"connection_id":231833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ace8"} 
[2026-11-05 23:42:58] local.INFO: Extracted packet for processing {"connection_id":231833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ace8"} 
[2026-11-05 23:42:58] local.INFO: GPS Element Parsed {"raw_longitude":761231680,"raw_latitude":103757136,"longitude_deg":76.123168,"latitude_deg":10.3757136,"altitude":11,"angle":340,"satellites":47,"speed":36,"hex_longitude":"2d5f7940","hex_latitude":"062f3550","is_valid_coordinates":true} 
[2026-11-05 23: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-05 23:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459238977536001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40775393011040256,"note":"Value kept but may cause issues"} 
[2026-11-05 23:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6881148413461690368,"note":"Value kept but may cause issues"} 
[2026-11-05 23:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793902263000,"timestamp_ms":1793902263000,"timestamp_seconds":1793902263,"priority":1,"record_length":96,"hex_timestamp":"000001a1ace83ad8"} 
[2026-11-05 23: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-05 23:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-05 23:42:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23: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-05 23: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-05 23:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":231833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":231833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":231833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459238977536001,"66":27463,"174":206,"19":40192,"24":36,"16":40775393011040256,"45":6881148413461690368},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,19,24,16,45]} 
[2026-11-05 23:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459238977536001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:42:58] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-11-05 23:42:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40775393011040256,"km_value":40775393011040.26,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6881148413461690368,"description":"Unknown IO ID 45"} 
[2026-11-05 23:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459238977536001,"power":27463,"unknown_174":206,"unknown_19":40192,"ignition":36,"odometer":null,"unknown_45":6881148413461690368}} 
[2026-11-05 23:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":231833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:42:58] local.INFO: GPS data processed {"connection_id":231833,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:42:58] local.INFO: Acknowledgment sent {"connection_id":231833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:43:29] local.INFO: TCP Data received {"connection_id":231833,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ace99e50012d5ee94006310690000e015533..."} 
[2026-11-05 23:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ace99e50012d5ee94006310690000e015533..."} 
[2026-11-05 23:43:29] local.INFO: Processing buffer {"connection_id":231833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ace99e50012d5ee94006310690000e015533..."} 
[2026-11-05 23:43:29] local.INFO: Packet analysis {"connection_id":231833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ace9"} 
[2026-11-05 23:43:29] local.INFO: Extracted packet for processing {"connection_id":231833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ace9"} 
[2026-11-05 23:43:29] local.INFO: GPS Element Parsed {"raw_longitude":761194816,"raw_latitude":103876240,"longitude_deg":76.1194816,"latitude_deg":10.387624,"altitude":14,"angle":341,"satellites":51,"speed":55,"hex_longitude":"2d5ee940","hex_latitude":"06310690","is_valid_coordinates":true} 
[2026-11-05 23:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459239000832001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40781440324993024,"note":"Value kept but may cause issues"} 
[2026-11-05 23:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6842586341681786880,"note":"Value kept but may cause issues"} 
[2026-11-05 23:43:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793902354000,"timestamp_ms":1793902354000,"timestamp_seconds":1793902354,"priority":1,"record_length":96,"hex_timestamp":"000001a1ace99e50"} 
[2026-11-05 23:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:43:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-05 23:43:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:43:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":231833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":231833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":231833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:43:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459239000832001,"66":27267,"43":206,"19":40192,"24":55,"16":40781440324993024,"45":6842586341681786880},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,19,24,16,45]} 
[2026-11-05 23:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459239000832001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:43:29] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-11-05 23:43:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40781440324993024,"km_value":40781440324993.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6842586341681786880,"description":"Unknown IO ID 45"} 
[2026-11-05 23:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459239000832001,"power":27267,"unknown_43":206,"unknown_19":40192,"ignition":55,"odometer":null,"unknown_45":6842586341681786880}} 
[2026-11-05 23:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":231833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:43:29] local.INFO: GPS data processed {"connection_id":231833,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:43:29] local.INFO: Acknowledgment sent {"connection_id":231833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:43:54] local.INFO: TCP Data received {"connection_id":230490,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:43:54] local.INFO: Processing buffer {"connection_id":230490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:43:54] local.INFO: IMEI packet received {"connection_id":230490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":230490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:43:56] local.INFO: TCP Data received {"connection_id":230490,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:43:56] local.INFO: Processing buffer {"connection_id":230490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:43:56] local.INFO: IMEI packet received {"connection_id":230490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":230490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:44:02] local.INFO: TCP Data received {"connection_id":230490,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:44:02] local.INFO: Processing buffer {"connection_id":230490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:44:02] local.INFO: IMEI packet received {"connection_id":230490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":230490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:44:04] local.INFO: TCP Data received {"connection_id":230490,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ace9b9a8012d5edd0006312a480010015532..."} 
[2026-11-05 23:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ace9b9a8012d5edd0006312a480010015532..."} 
[2026-11-05 23:44:04] local.INFO: Processing buffer {"connection_id":230490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ace9b9a8012d5edd0006312a480010015532..."} 
[2026-11-05 23:44:04] local.INFO: Packet analysis {"connection_id":230490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ace9"} 
[2026-11-05 23:44:04] local.INFO: Extracted packet for processing {"connection_id":230490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ace9"} 
[2026-11-05 23:44:04] local.INFO: GPS Element Parsed {"raw_longitude":761191680,"raw_latitude":103885384,"longitude_deg":76.119168,"latitude_deg":10.3885384,"altitude":16,"angle":341,"satellites":50,"speed":54,"hex_longitude":"2d5edd00","hex_latitude":"06312a48","is_valid_coordinates":true} 
[2026-11-05 23: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-05 23:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459239002624001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40781908476428288,"note":"Value kept but may cause issues"} 
[2026-11-05 23:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6839067904475303936,"note":"Value kept but may cause issues"} 
[2026-11-05 23:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793902361000,"timestamp_ms":1793902361000,"timestamp_seconds":1793902361,"priority":1,"record_length":96,"hex_timestamp":"000001a1ace9b9a8"} 
[2026-11-05 23: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-05 23:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-11-05 23:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23: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-05 23: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-05 23:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":230490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":230490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":230490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459239002624001,"66":27376,"43":206,"19":40192,"24":54,"16":40781908476428288,"45":6839067904475303936},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,19,24,16,45]} 
[2026-11-05 23:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459239002624001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:44:04] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-11-05 23:44:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40781908476428288,"km_value":40781908476428.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6839067904475303936,"description":"Unknown IO ID 45"} 
[2026-11-05 23:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459239002624001,"power":27376,"unknown_43":206,"unknown_19":40192,"ignition":54,"odometer":null,"unknown_45":6839067904475303936}} 
[2026-11-05 23:44:04] 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":64795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:44:04] local.INFO: GPS data processed {"connection_id":230490,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:44:04] local.INFO: Acknowledgment sent {"connection_id":230490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:44:05] local.INFO: TCP Data received {"connection_id":230490,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1ace9d500012d5ed1c006314e280012015b33..."} 
[2026-11-05 23:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1ace9d500012d5ed1c006314e280012015b33..."} 
[2026-11-05 23:44:05] local.INFO: Processing buffer {"connection_id":230490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1ace9d500012d5ed1c006314e280012015b33..."} 
[2026-11-05 23:44:05] local.INFO: Packet analysis {"connection_id":230490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1ace9"} 
[2026-11-05 23:44:05] local.INFO: Extracted packet for processing {"connection_id":230490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1ace9"} 
[2026-11-05 23:44:05] local.INFO: GPS Element Parsed {"raw_longitude":761188800,"raw_latitude":103894568,"longitude_deg":76.11888,"latitude_deg":10.3894568,"altitude":18,"angle":347,"satellites":51,"speed":55,"hex_longitude":"2d5ed1c0","hex_latitude":"06314e28","is_valid_coordinates":true} 
[2026-11-05 23:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459239004416001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40782372332896256,"note":"Value kept but may cause issues"} 
[2026-11-05 23:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6835619836012939264,"note":"Value kept but may cause issues"} 
[2026-11-05 23:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793902368000,"timestamp_ms":1793902368000,"timestamp_seconds":1793902368,"priority":1,"record_length":96,"hex_timestamp":"000001a1ace9d500"} 
[2026-11-05 23:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:44: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-05 23:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 23:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":230490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":230490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":230490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459239004416001,"66":27376,"43":206,"19":40192,"24":55,"16":40782372332896256,"45":6835619836012939264},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,19,24,16,45]} 
[2026-11-05 23:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459239004416001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:44:05] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-11-05 23:44:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40782372332896256,"km_value":40782372332896.26,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6835619836012939264,"description":"Unknown IO ID 45"} 
[2026-11-05 23:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459239004416001,"power":27376,"unknown_43":206,"unknown_19":40192,"ignition":55,"odometer":null,"unknown_45":6835619836012939264}} 
[2026-11-05 23:44:05] 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":64796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:44:05] local.INFO: GPS data processed {"connection_id":230490,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:44:05] local.INFO: Acknowledgment sent {"connection_id":230490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:44:36] local.INFO: TCP Data received {"connection_id":230490,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1aceaa408012d5ea38006326fc80008014d30..."} 
[2026-11-05 23:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aceaa408012d5ea38006326fc80008014d30..."} 
[2026-11-05 23:44:36] local.INFO: Processing buffer {"connection_id":230490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aceaa408012d5ea38006326fc80008014d30..."} 
[2026-11-05 23:44:36] local.INFO: Packet analysis {"connection_id":230490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acea"} 
[2026-11-05 23:44:36] local.INFO: Extracted packet for processing {"connection_id":230490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acea"} 
[2026-11-05 23:44:36] local.INFO: GPS Element Parsed {"raw_longitude":761176960,"raw_latitude":103968712,"longitude_deg":76.117696,"latitude_deg":10.3968712,"altitude":8,"angle":333,"satellites":48,"speed":51,"hex_longitude":"2d5ea380","hex_latitude":"06326fc8","is_valid_coordinates":true} 
[2026-11-05 23:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459239017984001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40786104659476480,"note":"Value kept but may cause issues"} 
[2026-11-05 23:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6824360836963676160,"note":"Value kept but may cause issues"} 
[2026-11-05 23:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1793902421000,"timestamp_ms":1793902421000,"timestamp_seconds":1793902421,"priority":1,"record_length":96,"hex_timestamp":"000001a1aceaa408"} 
[2026-11-05 23:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:44: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-05 23:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-11-05 23:44:36] 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-05 23:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":230490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":230490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":230490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459239017984001,"66":26930,"111":206,"19":40192,"24":51,"16":40786104659476480,"45":6824360836963676160},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,19,24,16,45]} 
[2026-11-05 23:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":459239017984001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:44:36] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-11-05 23:44:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40786104659476480,"km_value":40786104659476.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6824360836963676160,"description":"Unknown IO ID 45"} 
[2026-11-05 23:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459239017984001,"power":26930,"unknown_111":206,"unknown_19":40192,"ignition":51,"odometer":null,"unknown_45":6824360836963676160}} 
[2026-11-05 23:44:36] 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":64797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:44:36] local.INFO: GPS data processed {"connection_id":230490,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:44:36] local.INFO: Acknowledgment sent {"connection_id":230490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:44:49] local.INFO: TCP Data received {"connection_id":229976,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:44:49] local.INFO: Processing buffer {"connection_id":229976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:44:49] local.INFO: IMEI packet received {"connection_id":229976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":229976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:44:51] local.INFO: TCP Data received {"connection_id":229976,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:44:51] local.INFO: Processing buffer {"connection_id":229976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:44:51] local.INFO: IMEI packet received {"connection_id":229976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":229976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:44:57] local.INFO: TCP Data received {"connection_id":229976,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:44:57] local.INFO: Processing buffer {"connection_id":229976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:44:57] local.INFO: IMEI packet received {"connection_id":229976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":229976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:45:00] local.INFO: TCP Data received {"connection_id":229976,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1aceac348012d5e9200063292780008014d2f..."} 
[2026-11-05 23:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aceac348012d5e9200063292780008014d2f..."} 
[2026-11-05 23:45:00] local.INFO: Processing buffer {"connection_id":229976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aceac348012d5e9200063292780008014d2f..."} 
[2026-11-05 23:45:00] local.INFO: Packet analysis {"connection_id":229976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acea"} 
[2026-11-05 23:45:00] local.INFO: Extracted packet for processing {"connection_id":229976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acea"} 
[2026-11-05 23:45:00] local.INFO: GPS Element Parsed {"raw_longitude":761172480,"raw_latitude":103977592,"longitude_deg":76.117248,"latitude_deg":10.3977592,"altitude":8,"angle":333,"satellites":47,"speed":49,"hex_longitude":"2d5e9200","hex_latitude":"06329278","is_valid_coordinates":true} 
[2026-11-05 23:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459239019776001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40786585695813632,"note":"Value kept but may cause issues"} 
[2026-11-05 23:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6819435024873408512,"note":"Value kept but may cause issues"} 
[2026-11-05 23:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793902429000,"timestamp_ms":1793902429000,"timestamp_seconds":1793902429,"priority":1,"record_length":96,"hex_timestamp":"000001a1aceac348"} 
[2026-11-05 23:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:45: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-05 23:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-11-05 23:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":229976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":229976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":229976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459239019776001,"66":26930,"111":206,"19":40192,"24":49,"16":40786585695813632,"45":6819435024873408512},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,19,24,16,45]} 
[2026-11-05 23:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459239019776001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:45:00] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-11-05 23:45:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40786585695813632,"km_value":40786585695813.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6819435024873408512,"description":"Unknown IO ID 45"} 
[2026-11-05 23:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459239019776001,"power":26930,"unknown_111":206,"unknown_19":40192,"ignition":49,"odometer":null,"unknown_45":6819435024873408512}} 
[2026-11-05 23:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":229976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:45:00] local.INFO: GPS data processed {"connection_id":229976,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:45:00] local.INFO: Acknowledgment sent {"connection_id":229976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:45:35] local.INFO: TCP Data received {"connection_id":229976,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1aceae288012d5e81000632b608000a014e31..."} 
[2026-11-05 23:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aceae288012d5e81000632b608000a014e31..."} 
[2026-11-05 23:45:35] local.INFO: Processing buffer {"connection_id":229976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aceae288012d5e81000632b608000a014e31..."} 
[2026-11-05 23:45:35] local.INFO: Packet analysis {"connection_id":229976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acea"} 
[2026-11-05 23:45:35] local.INFO: Extracted packet for processing {"connection_id":229976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acea"} 
[2026-11-05 23:45:35] local.INFO: GPS Element Parsed {"raw_longitude":761168128,"raw_latitude":103986696,"longitude_deg":76.1168128,"latitude_deg":10.3986696,"altitude":10,"angle":334,"satellites":49,"speed":50,"hex_longitude":"2d5e8100","hex_latitude":"0632b608","is_valid_coordinates":true} 
[2026-11-05 23:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459239021824001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40787075322085376,"note":"Value kept but may cause issues"} 
[2026-11-05 23:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6814509212783245312,"note":"Value kept but may cause issues"} 
[2026-11-05 23:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1793902437000,"timestamp_ms":1793902437000,"timestamp_seconds":1793902437,"priority":1,"record_length":96,"hex_timestamp":"000001a1aceae288"} 
[2026-11-05 23:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-11-05 23:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":229976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":229976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":229976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459239021824001,"66":27104,"111":206,"19":40192,"24":50,"16":40787075322085376,"45":6814509212783245312},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,19,24,16,45]} 
[2026-11-05 23:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":459239021824001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:45:35] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-11-05 23:45:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40787075322085376,"km_value":40787075322085.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6814509212783245312,"description":"Unknown IO ID 45"} 
[2026-11-05 23:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459239021824001,"power":27104,"unknown_111":206,"unknown_19":40192,"ignition":50,"odometer":null,"unknown_45":6814509212783245312}} 
[2026-11-05 23:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":229976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:45:35] local.INFO: GPS data processed {"connection_id":229976,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:45:35] local.INFO: Acknowledgment sent {"connection_id":229976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:45:52] local.INFO: TCP Data received {"connection_id":231834,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:45:52] local.INFO: Processing buffer {"connection_id":231834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:45:52] local.INFO: IMEI packet received {"connection_id":231834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":231834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:45:53] local.INFO: TCP Data received {"connection_id":231834,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:45:53] local.INFO: Processing buffer {"connection_id":231834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:45:53] local.INFO: IMEI packet received {"connection_id":231834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":231834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:45:56] local.INFO: TCP Data received {"connection_id":231834,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:45:56] local.INFO: Processing buffer {"connection_id":231834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:45:56] local.INFO: IMEI packet received {"connection_id":231834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":231834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:45:59] local.INFO: TCP Data received {"connection_id":231834,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1aceafde0012d5e71800632d528000c014d32..."} 
[2026-11-05 23:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aceafde0012d5e71800632d528000c014d32..."} 
[2026-11-05 23:45:59] local.INFO: Processing buffer {"connection_id":231834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aceafde0012d5e71800632d528000c014d32..."} 
[2026-11-05 23:45:59] local.INFO: Packet analysis {"connection_id":231834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acea"} 
[2026-11-05 23:45:59] local.INFO: Extracted packet for processing {"connection_id":231834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acea"} 
[2026-11-05 23:45:59] local.INFO: GPS Element Parsed {"raw_longitude":761164160,"raw_latitude":103994664,"longitude_deg":76.116416,"latitude_deg":10.3994664,"altitude":12,"angle":333,"satellites":50,"speed":51,"hex_longitude":"2d5e7180","hex_latitude":"0632d528","is_valid_coordinates":true} 
[2026-11-05 23:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459239023872001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40787504818814976,"note":"Value kept but may cause issues"} 
[2026-11-05 23:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6809724138181494784,"note":"Value kept but may cause issues"} 
[2026-11-05 23:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793902444000,"timestamp_ms":1793902444000,"timestamp_seconds":1793902444,"priority":1,"record_length":96,"hex_timestamp":"000001a1aceafde0"} 
[2026-11-05 23:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-11-05 23:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":231834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":231834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":231834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459239023872001,"66":27180,"111":206,"19":40192,"24":51,"16":40787504818814976,"45":6809724138181494784},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,19,24,16,45]} 
[2026-11-05 23:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459239023872001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:45:59] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-11-05 23:45:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40787504818814976,"km_value":40787504818814.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6809724138181494784,"description":"Unknown IO ID 45"} 
[2026-11-05 23:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459239023872001,"power":27180,"unknown_111":206,"unknown_19":40192,"ignition":51,"odometer":null,"unknown_45":6809724138181494784}} 
[2026-11-05 23:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":231834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:45:59] local.INFO: GPS data processed {"connection_id":231834,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:45:59] local.INFO: Acknowledgment sent {"connection_id":231834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:46:31] local.INFO: TCP Data received {"connection_id":231834,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acec6158012d5d94c0063493e8000b014d31..."} 
[2026-11-05 23:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acec6158012d5d94c0063493e8000b014d31..."} 
[2026-11-05 23:46:31] local.INFO: Processing buffer {"connection_id":231834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acec6158012d5d94c0063493e8000b014d31..."} 
[2026-11-05 23:46:31] local.INFO: Packet analysis {"connection_id":231834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acec"} 
[2026-11-05 23:46:31] local.INFO: Extracted packet for processing {"connection_id":231834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acec"} 
[2026-11-05 23:46:31] local.INFO: GPS Element Parsed {"raw_longitude":761107648,"raw_latitude":104109032,"longitude_deg":76.1107648,"latitude_deg":10.4109032,"altitude":11,"angle":333,"satellites":49,"speed":52,"hex_longitude":"2d5d94c0","hex_latitude":"063493e8","is_valid_coordinates":true} 
[2026-11-05 23:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459239047168001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40793685276753920,"note":"Value kept but may cause issues"} 
[2026-11-05 23:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6747940380822638592,"note":"Value kept but may cause issues"} 
[2026-11-05 23:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793902535000,"timestamp_ms":1793902535000,"timestamp_seconds":1793902535,"priority":1,"record_length":96,"hex_timestamp":"000001a1acec6158"} 
[2026-11-05 23:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:46: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-05 23:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-11-05 23:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":231834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":231834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":231834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459239047168001,"66":27180,"2":206,"19":40192,"24":52,"16":40793685276753920,"45":6747940380822638592},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-11-05 23:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459239047168001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:46:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40793685276753920,"km_value":40793685276753.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6747940380822638592,"description":"Unknown IO ID 45"} 
[2026-11-05 23:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459239047168001,"power":27180,"power_alt":206,"unknown_19":40192,"ignition":52,"odometer":null,"unknown_45":6747940380822638592}} 
[2026-11-05 23:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":231834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:46:31] local.INFO: GPS data processed {"connection_id":231834,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:46:31] local.INFO: Acknowledgment sent {"connection_id":231834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:46:35] local.INFO: TCP Data received {"connection_id":233731,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233731,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:46:35] local.INFO: Processing buffer {"connection_id":233731,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:46:35] local.INFO: IMEI packet received {"connection_id":233731,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 23:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":233731,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:46:51] local.INFO: TCP Data received {"connection_id":230491,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:46:51] local.INFO: Processing buffer {"connection_id":230491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:46:51] local.INFO: IMEI packet received {"connection_id":230491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":230491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:46:52] local.INFO: TCP Data received {"connection_id":230491,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:46:52] local.INFO: Processing buffer {"connection_id":230491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:46:52] local.INFO: IMEI packet received {"connection_id":230491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":230491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:46:57] local.INFO: TCP Data received {"connection_id":230491,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:46:57] local.INFO: Processing buffer {"connection_id":230491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:46:57] local.INFO: IMEI packet received {"connection_id":230491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":230491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:46:58] local.INFO: TCP Data received {"connection_id":230491,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acec7cb0012d5d85400634b338000e014d32..."} 
[2026-11-05 23:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acec7cb0012d5d85400634b338000e014d32..."} 
[2026-11-05 23:46:58] local.INFO: Processing buffer {"connection_id":230491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acec7cb0012d5d85400634b338000e014d32..."} 
[2026-11-05 23:46:58] local.INFO: Packet analysis {"connection_id":230491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acec"} 
[2026-11-05 23:46:58] local.INFO: Extracted packet for processing {"connection_id":230491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acec"} 
[2026-11-05 23:46:58] local.INFO: GPS Element Parsed {"raw_longitude":761103680,"raw_latitude":104117048,"longitude_deg":76.110368,"latitude_deg":10.4117048,"altitude":14,"angle":333,"satellites":50,"speed":49,"hex_longitude":"2d5d8540","hex_latitude":"0634b338","is_valid_coordinates":true} 
[2026-11-05 23:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459239048960001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40794119068450816,"note":"Value kept but may cause issues"} 
[2026-11-05 23:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6743225674964920320,"note":"Value kept but may cause issues"} 
[2026-11-05 23:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793902542000,"timestamp_ms":1793902542000,"timestamp_seconds":1793902542,"priority":1,"record_length":96,"hex_timestamp":"000001a1acec7cb0"} 
[2026-11-05 23:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-11-05 23:46:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":230491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":230491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":230491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459239048960001,"66":27169,"2":206,"19":40192,"24":49,"16":40794119068450816,"45":6743225674964920320},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-11-05 23:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459239048960001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:46:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40794119068450816,"km_value":40794119068450.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6743225674964920320,"description":"Unknown IO ID 45"} 
[2026-11-05 23:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459239048960001,"power":27169,"power_alt":206,"unknown_19":40192,"ignition":49,"odometer":null,"unknown_45":6743225674964920320}} 
[2026-11-05 23:46:58] 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":64802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:46:58] local.INFO: GPS data processed {"connection_id":230491,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:46:58] local.INFO: Acknowledgment sent {"connection_id":230491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:47:53] local.INFO: TCP Data received {"connection_id":231835,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:47:53] local.INFO: Processing buffer {"connection_id":231835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:47:53] local.INFO: IMEI packet received {"connection_id":231835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":231835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:47:56] local.INFO: TCP Data received {"connection_id":231835,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:47:56] local.INFO: Processing buffer {"connection_id":231835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:47:56] local.INFO: IMEI packet received {"connection_id":231835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":231835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:47:56] local.INFO: TCP Data received {"connection_id":230491,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acec9bf0012d5d74000634d620000f014e33..."} 
[2026-11-05 23:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acec9bf0012d5d74000634d620000f014e33..."} 
[2026-11-05 23:47:56] local.INFO: Processing buffer {"connection_id":230491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acec9bf0012d5d74000634d620000f014e33..."} 
[2026-11-05 23:47:56] local.INFO: Packet analysis {"connection_id":230491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acec"} 
[2026-11-05 23:47:56] local.INFO: Extracted packet for processing {"connection_id":230491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acec"} 
[2026-11-05 23:47:56] local.INFO: GPS Element Parsed {"raw_longitude":761099264,"raw_latitude":104125984,"longitude_deg":76.1099264,"latitude_deg":10.4125984,"altitude":15,"angle":334,"satellites":51,"speed":49,"hex_longitude":"2d5d7400","hex_latitude":"0634d620","is_valid_coordinates":true} 
[2026-11-05 23:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459239050752001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40794600104787968,"note":"Value kept but may cause issues"} 
[2026-11-05 23:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6738862812827957248,"note":"Value kept but may cause issues"} 
[2026-11-05 23:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793902550000,"timestamp_ms":1793902550000,"timestamp_seconds":1793902550,"priority":1,"record_length":96,"hex_timestamp":"000001a1acec9bf0"} 
[2026-11-05 23:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:47: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-05 23:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-11-05 23:47:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:47:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":230491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":230491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":230491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459239050752001,"66":27213,"2":206,"19":40192,"24":49,"16":40794600104787968,"45":6738862812827957248},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-11-05 23:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459239050752001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:47:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40794600104787968,"km_value":40794600104787.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":6738862812827957248,"description":"Unknown IO ID 45"} 
[2026-11-05 23:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459239050752001,"power":27213,"power_alt":206,"unknown_19":40192,"ignition":49,"odometer":null,"unknown_45":6738862812827957248}} 
[2026-11-05 23:47:56] 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":64803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:47:56] local.INFO: GPS data processed {"connection_id":230491,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:47:56] local.INFO: Acknowledgment sent {"connection_id":230491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:47:58] local.INFO: TCP Data received {"connection_id":231835,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:47:58] local.INFO: Processing buffer {"connection_id":231835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:47:58] local.INFO: IMEI packet received {"connection_id":231835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":231835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:48:00] local.INFO: TCP Data received {"connection_id":231835,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acecb748012d5d64800634f5580010014d33..."} 
[2026-11-05 23:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acecb748012d5d64800634f5580010014d33..."} 
[2026-11-05 23:48:00] local.INFO: Processing buffer {"connection_id":231835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acecb748012d5d64800634f5580010014d33..."} 
[2026-11-05 23:48:00] local.INFO: Packet analysis {"connection_id":231835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acec"} 
[2026-11-05 23:48:00] local.INFO: Extracted packet for processing {"connection_id":231835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acec"} 
[2026-11-05 23:48:00] local.INFO: GPS Element Parsed {"raw_longitude":761095296,"raw_latitude":104133976,"longitude_deg":76.1095296,"latitude_deg":10.4133976,"altitude":16,"angle":333,"satellites":51,"speed":50,"hex_longitude":"2d5d6480","hex_latitude":"0634f558","is_valid_coordinates":true} 
[2026-11-05 23:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459239052800001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40795033896484864,"note":"Value kept but may cause issues"} 
[2026-11-05 23:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6734007369481986048,"note":"Value kept but may cause issues"} 
[2026-11-05 23:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793902557000,"timestamp_ms":1793902557000,"timestamp_seconds":1793902557,"priority":1,"record_length":96,"hex_timestamp":"000001a1acecb748"} 
[2026-11-05 23:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:48: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-05 23:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-11-05 23:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":231835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":231835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":231835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459239052800001,"66":27158,"2":206,"19":40192,"24":50,"16":40795033896484864,"45":6734007369481986048},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-11-05 23:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459239052800001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:48:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40795033896484864,"km_value":40795033896484.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6734007369481986048,"description":"Unknown IO ID 45"} 
[2026-11-05 23:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459239052800001,"power":27158,"power_alt":206,"unknown_19":40192,"ignition":50,"odometer":null,"unknown_45":6734007369481986048}} 
[2026-11-05 23:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":231835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:48:00] local.INFO: GPS data processed {"connection_id":231835,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:48:00] local.INFO: Acknowledgment sent {"connection_id":231835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:48:02] local.INFO: TCP Data received {"connection_id":231835,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acecd688012d5d528006351970000f014e32..."} 
[2026-11-05 23:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acecd688012d5d528006351970000f014e32..."} 
[2026-11-05 23:48:02] local.INFO: Processing buffer {"connection_id":231835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acecd688012d5d528006351970000f014e32..."} 
[2026-11-05 23:48:02] local.INFO: Packet analysis {"connection_id":231835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acec"} 
[2026-11-05 23:48:02] local.INFO: Extracted packet for processing {"connection_id":231835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acec"} 
[2026-11-05 23:48:02] local.INFO: GPS Element Parsed {"raw_longitude":761090688,"raw_latitude":104143216,"longitude_deg":76.1090688,"latitude_deg":10.4143216,"altitude":15,"angle":334,"satellites":50,"speed":52,"hex_longitude":"2d5d5280","hex_latitude":"06351970","is_valid_coordinates":true} 
[2026-11-05 23:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459239054592001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40795532112691200,"note":"Value kept but may cause issues"} 
[2026-11-05 23:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6729644507345016832,"note":"Value kept but may cause issues"} 
[2026-11-05 23:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1793902565000,"timestamp_ms":1793902565000,"timestamp_seconds":1793902565,"priority":1,"record_length":96,"hex_timestamp":"000001a1acecd688"} 
[2026-11-05 23:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-05 23:48:02] 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-05 23:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":231835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":231835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":231835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459239054592001,"66":26941,"2":206,"19":40192,"24":52,"16":40795532112691200,"45":6729644507345016832},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-11-05 23:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":459239054592001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:48:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-11-05 23:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40795532112691200,"km_value":40795532112691.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6729644507345016832,"description":"Unknown IO ID 45"} 
[2026-11-05 23:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459239054592001,"power":26941,"power_alt":206,"unknown_19":40192,"ignition":52,"odometer":null,"unknown_45":6729644507345016832}} 
[2026-11-05 23:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":231835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:48:02] local.INFO: GPS data processed {"connection_id":231835,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:48:02] local.INFO: Acknowledgment sent {"connection_id":231835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:48:33] local.INFO: TCP Data received {"connection_id":231835,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acee3618012d5c58000636b490000b014d32..."} 
[2026-11-05 23:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acee3618012d5c58000636b490000b014d32..."} 
[2026-11-05 23:48:33] local.INFO: Processing buffer {"connection_id":231835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acee3618012d5c58000636b490000b014d32..."} 
[2026-11-05 23:48:33] local.INFO: Packet analysis {"connection_id":231835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acee"} 
[2026-11-05 23:48:33] local.INFO: Extracted packet for processing {"connection_id":231835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acee"} 
[2026-11-05 23:48:33] local.INFO: GPS Element Parsed {"raw_longitude":761026560,"raw_latitude":104248464,"longitude_deg":76.102656,"latitude_deg":10.4248464,"altitude":11,"angle":333,"satellites":50,"speed":53,"hex_longitude":"2d5c5800","hex_latitude":"0636b490","is_valid_coordinates":true} 
[2026-11-05 23: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-05 23:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459239077888001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40801502117232640,"note":"Value kept but may cause issues"} 
[2026-11-05 23:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6658572075752683520,"note":"Value kept but may cause issues"} 
[2026-11-05 23:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1793902655000,"timestamp_ms":1793902655000,"timestamp_seconds":1793902655,"priority":1,"record_length":96,"hex_timestamp":"000001a1acee3618"} 
[2026-11-05 23: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-05 23:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-11-05 23:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23: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-05 23: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-05 23:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":231835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":231835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":231835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459239077888001,"66":27180,"115":206,"19":38400,"24":53,"16":40801502117232640,"45":6658572075752683520},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-11-05 23:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":459239077888001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:48:33] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-11-05 23:48:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-11-05 23:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40801502117232640,"km_value":40801502117232.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6658572075752683520,"description":"Unknown IO ID 45"} 
[2026-11-05 23:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459239077888001,"power":27180,"unknown_115":206,"unknown_19":38400,"ignition":53,"odometer":null,"unknown_45":6658572075752683520}} 
[2026-11-05 23:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":231835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:48:33] local.INFO: GPS data processed {"connection_id":231835,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:48:33] local.INFO: Acknowledgment sent {"connection_id":231835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:48:56] local.INFO: TCP Data received {"connection_id":233732,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:48:56] local.INFO: Processing buffer {"connection_id":233732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:48:56] local.INFO: IMEI packet received {"connection_id":233732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":233732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:49:01] local.INFO: TCP Data received {"connection_id":233732,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:49:01] local.INFO: Processing buffer {"connection_id":233732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:49:01] local.INFO: IMEI packet received {"connection_id":233732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":233732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:49:03] local.INFO: TCP Data received {"connection_id":233732,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acee5170012d5c48800636d450000c014d33..."} 
[2026-11-05 23:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acee5170012d5c48800636d450000c014d33..."} 
[2026-11-05 23:49:03] local.INFO: Processing buffer {"connection_id":233732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acee5170012d5c48800636d450000c014d33..."} 
[2026-11-05 23:49:03] local.INFO: Packet analysis {"connection_id":233732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acee"} 
[2026-11-05 23:49:03] local.INFO: Extracted packet for processing {"connection_id":233732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acee"} 
[2026-11-05 23:49:03] local.INFO: GPS Element Parsed {"raw_longitude":761022592,"raw_latitude":104256592,"longitude_deg":76.1022592,"latitude_deg":10.4256592,"altitude":12,"angle":333,"satellites":51,"speed":49,"hex_longitude":"2d5c4880","hex_latitude":"0636d450","is_valid_coordinates":true} 
[2026-11-05 23:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459239079680001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40801940203896832,"note":"Value kept but may cause issues"} 
[2026-11-05 23:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6654068476127514624,"note":"Value kept but may cause issues"} 
[2026-11-05 23:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1793902662000,"timestamp_ms":1793902662000,"timestamp_seconds":1793902662,"priority":1,"record_length":96,"hex_timestamp":"000001a1acee5170"} 
[2026-11-05 23:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-11-05 23:49:03] 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-05 23:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":233732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":233732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":233732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459239079680001,"66":27376,"115":206,"19":38400,"24":49,"16":40801940203896832,"45":6654068476127514624},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-11-05 23:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":459239079680001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:49:03] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-11-05 23:49:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-11-05 23:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40801940203896832,"km_value":40801940203896.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6654068476127514624,"description":"Unknown IO ID 45"} 
[2026-11-05 23:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459239079680001,"power":27376,"unknown_115":206,"unknown_19":38400,"ignition":49,"odometer":null,"unknown_45":6654068476127514624}} 
[2026-11-05 23:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":233732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:49:03] local.INFO: GPS data processed {"connection_id":233732,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:49:03] local.INFO: Acknowledgment sent {"connection_id":233732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:49:36] local.INFO: TCP Data received {"connection_id":233732,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acee70b0012d5c38800636f448000c014d33..."} 
[2026-11-05 23:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acee70b0012d5c38800636f448000c014d33..."} 
[2026-11-05 23:49:36] local.INFO: Processing buffer {"connection_id":233732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acee70b0012d5c38800636f448000c014d33..."} 
[2026-11-05 23:49:36] local.INFO: Packet analysis {"connection_id":233732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acee"} 
[2026-11-05 23:49:36] local.INFO: Extracted packet for processing {"connection_id":233732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acee"} 
[2026-11-05 23:49:36] local.INFO: GPS Element Parsed {"raw_longitude":761018496,"raw_latitude":104264776,"longitude_deg":76.1018496,"latitude_deg":10.4264776,"altitude":12,"angle":333,"satellites":51,"speed":35,"hex_longitude":"2d5c3880","hex_latitude":"0636f448","is_valid_coordinates":true} 
[2026-11-05 23:49: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-05 23:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459239081472001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40802382585528320,"note":"Value kept but may cause issues"} 
[2026-11-05 23:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6649705613990580224,"note":"Value kept but may cause issues"} 
[2026-11-05 23:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1793902670000,"timestamp_ms":1793902670000,"timestamp_seconds":1793902670,"priority":1,"record_length":96,"hex_timestamp":"000001a1acee70b0"} 
[2026-11-05 23:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:49: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-05 23:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 23:49:36] 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-05 23:49: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-05 23:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":233732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":233732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":233732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459239081472001,"66":27234,"115":206,"19":38400,"24":35,"16":40802382585528320,"45":6649705613990580224},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-11-05 23:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":459239081472001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:49:36] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-11-05 23:49:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-11-05 23:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40802382585528320,"km_value":40802382585528.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6649705613990580224,"description":"Unknown IO ID 45"} 
[2026-11-05 23:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459239081472001,"power":27234,"unknown_115":206,"unknown_19":38400,"ignition":35,"odometer":null,"unknown_45":6649705613990580224}} 
[2026-11-05 23:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":233732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:49:36] local.INFO: GPS data processed {"connection_id":233732,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:49:36] local.INFO: Acknowledgment sent {"connection_id":233732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:49:52] local.INFO: TCP Data received {"connection_id":231836,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:49:52] local.INFO: Processing buffer {"connection_id":231836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:49:52] local.INFO: IMEI packet received {"connection_id":231836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":231836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:49:57] local.INFO: TCP Data received {"connection_id":231836,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:49:57] local.INFO: Processing buffer {"connection_id":231836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:49:57] local.INFO: IMEI packet received {"connection_id":231836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":231836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:50:00] local.INFO: TCP Data received {"connection_id":231836,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acee9ba8012d5c2a0006370b30000b014030..."} 
[2026-11-05 23:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acee9ba8012d5c2a0006370b30000b014030..."} 
[2026-11-05 23:50:00] local.INFO: Processing buffer {"connection_id":231836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acee9ba8012d5c2a0006370b30000b014030..."} 
[2026-11-05 23:50:00] local.INFO: Packet analysis {"connection_id":231836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acee"} 
[2026-11-05 23:50:00] local.INFO: Extracted packet for processing {"connection_id":231836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acee"} 
[2026-11-05 23:50:00] local.INFO: GPS Element Parsed {"raw_longitude":761014784,"raw_latitude":104270640,"longitude_deg":76.1014784,"latitude_deg":10.427064,"altitude":11,"angle":320,"satellites":48,"speed":16,"hex_longitude":"2d5c2a00","hex_latitude":"06370b30","is_valid_coordinates":true} 
[2026-11-05 23:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459239083520001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40802717592977408,"note":"Value kept but may cause issues"} 
[2026-11-05 23:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6645202014365304832,"note":"Value kept but may cause issues"} 
[2026-11-05 23:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793902681000,"timestamp_ms":1793902681000,"timestamp_seconds":1793902681,"priority":1,"record_length":96,"hex_timestamp":"000001a1acee9ba8"} 
[2026-11-05 23:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:50: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-05 23:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-05 23:50:00] 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-05 23:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":231836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":231836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":231836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459239083520001,"66":27332,"115":206,"19":38400,"24":16,"16":40802717592977408,"45":6645202014365304832},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-11-05 23:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459239083520001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:50:00] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-11-05 23:50:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-11-05 23:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40802717592977408,"km_value":40802717592977.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6645202014365304832,"description":"Unknown IO ID 45"} 
[2026-11-05 23:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459239083520001,"power":27332,"unknown_115":206,"unknown_19":38400,"ignition":16,"odometer":null,"unknown_45":6645202014365304832}} 
[2026-11-05 23:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":231836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:50:00] local.INFO: GPS data processed {"connection_id":231836,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:50:00] local.INFO: Acknowledgment sent {"connection_id":231836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:50:32] local.INFO: TCP Data received {"connection_id":231836,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1aceeb318012d5c2540063711b8000a014b32..."} 
[2026-11-05 23:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1aceeb318012d5c2540063711b8000a014b32..."} 
[2026-11-05 23:50:32] local.INFO: Processing buffer {"connection_id":231836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1aceeb318012d5c2540063711b8000a014b32..."} 
[2026-11-05 23:50:32] local.INFO: Packet analysis {"connection_id":231836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acee"} 
[2026-11-05 23:50:32] local.INFO: Extracted packet for processing {"connection_id":231836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acee"} 
[2026-11-05 23:50:32] local.INFO: GPS Element Parsed {"raw_longitude":761013568,"raw_latitude":104272312,"longitude_deg":76.1013568,"latitude_deg":10.4272312,"altitude":10,"angle":331,"satellites":50,"speed":5,"hex_longitude":"2d5c2540","hex_latitude":"063711b8","is_valid_coordinates":true} 
[2026-11-05 23:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459239086336001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40802816377225216,"note":"Value kept but may cause issues"} 
[2026-11-05 23:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6641120627204501504,"note":"Value kept but may cause issues"} 
[2026-11-05 23:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1793902687000,"timestamp_ms":1793902687000,"timestamp_seconds":1793902687,"priority":1,"record_length":96,"hex_timestamp":"000001a1aceeb318"} 
[2026-11-05 23:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:50: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-05 23:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-05 23:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":231836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":231836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":231836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459239086336001,"66":27343,"115":206,"19":38400,"24":5,"16":40802816377225216,"45":6641120627204501504},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-11-05 23:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":459239086336001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:50:32] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-11-05 23:50:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-11-05 23:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40802816377225216,"km_value":40802816377225.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6641120627204501504,"description":"Unknown IO ID 45"} 
[2026-11-05 23:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459239086336001,"power":27343,"unknown_115":206,"unknown_19":38400,"ignition":5,"odometer":null,"unknown_45":6641120627204501504}} 
[2026-11-05 23:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":231836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:50:32] local.INFO: GPS data processed {"connection_id":231836,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:50:32] local.INFO: Acknowledgment sent {"connection_id":231836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:50:52] local.INFO: TCP Data received {"connection_id":230493,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:50:52] local.INFO: Processing buffer {"connection_id":230493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:50:52] local.INFO: IMEI packet received {"connection_id":230493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":230493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:50:52] local.INFO: TCP Data received {"connection_id":230493,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:50:52] local.INFO: Processing buffer {"connection_id":230493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:50:52] local.INFO: IMEI packet received {"connection_id":230493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":230493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:50:57] local.INFO: TCP Data received {"connection_id":230493,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:50:57] local.INFO: Processing buffer {"connection_id":230493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:50:57] local.INFO: IMEI packet received {"connection_id":230493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":230493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:50:58] local.INFO: TCP Data received {"connection_id":230493,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acef0520012d5c250006371250000a014b32..."} 
[2026-11-05 23:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acef0520012d5c250006371250000a014b32..."} 
[2026-11-05 23:50:58] local.INFO: Processing buffer {"connection_id":230493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acef0520012d5c250006371250000a014b32..."} 
[2026-11-05 23:50:58] local.INFO: Packet analysis {"connection_id":230493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acef"} 
[2026-11-05 23:50:58] local.INFO: Extracted packet for processing {"connection_id":230493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acef"} 
[2026-11-05 23:50:58] local.INFO: GPS Element Parsed {"raw_longitude":761013504,"raw_latitude":104272464,"longitude_deg":76.1013504,"latitude_deg":10.4272464,"altitude":10,"angle":331,"satellites":50,"speed":0,"hex_longitude":"2d5c2500","hex_latitude":"06371250","is_valid_coordinates":true} 
[2026-11-05 23:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459239087872001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40802824967159808,"note":"Value kept but may cause issues"} 
[2026-11-05 23:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6639783621065553920,"note":"Value kept but may cause issues"} 
[2026-11-05 23:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793902708000,"timestamp_ms":1793902708000,"timestamp_seconds":1793902708,"priority":1,"record_length":96,"hex_timestamp":"000001a1acef0520"} 
[2026-11-05 23:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 23:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":230493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":230493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":230493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459239087872001,"66":26963,"115":206,"19":38400,"24":0,"16":40802824967159808,"45":6639783621065553920},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-11-05 23:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459239087872001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:50:58] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-11-05 23:50:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-11-05 23:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40802824967159808,"km_value":40802824967159.805,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6639783621065553920,"description":"Unknown IO ID 45"} 
[2026-11-05 23:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459239087872001,"power":26963,"unknown_115":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6639783621065553920}} 
[2026-11-05 23:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":230493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:50:58] local.INFO: GPS data processed {"connection_id":230493,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:50:58] local.INFO: Acknowledgment sent {"connection_id":230493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:51:30] local.INFO: TCP Data received {"connection_id":230493,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acef5b10012d5c250006371250000a014b33..."} 
[2026-11-05 23:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acef5b10012d5c250006371250000a014b33..."} 
[2026-11-05 23:51:30] local.INFO: Processing buffer {"connection_id":230493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acef5b10012d5c250006371250000a014b33..."} 
[2026-11-05 23:51:30] local.INFO: Packet analysis {"connection_id":230493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acef"} 
[2026-11-05 23:51:30] local.INFO: Extracted packet for processing {"connection_id":230493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acef"} 
[2026-11-05 23:51:30] local.INFO: GPS Element Parsed {"raw_longitude":761013504,"raw_latitude":104272464,"longitude_deg":76.1013504,"latitude_deg":10.4272464,"altitude":10,"angle":331,"satellites":51,"speed":0,"hex_longitude":"2d5c2500","hex_latitude":"06371250","is_valid_coordinates":true} 
[2026-11-05 23:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459239093248001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40802824967159808,"note":"Value kept but may cause issues"} 
[2026-11-05 23:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6639713252321415168,"note":"Value kept but may cause issues"} 
[2026-11-05 23:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793902730000,"timestamp_ms":1793902730000,"timestamp_seconds":1793902730,"priority":1,"record_length":96,"hex_timestamp":"000001a1acef5b10"} 
[2026-11-05 23:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-11-05 23:51:30] 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-05 23:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":230493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":230493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":230493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459239093248001,"66":27365,"115":206,"19":38400,"24":0,"16":40802824967159808,"45":6639713252321415168},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-11-05 23:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459239093248001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:51:30] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-11-05 23:51:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-11-05 23:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40802824967159808,"km_value":40802824967159.805,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6639713252321415168,"description":"Unknown IO ID 45"} 
[2026-11-05 23:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459239093248001,"power":27365,"unknown_115":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6639713252321415168}} 
[2026-11-05 23:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":230493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:51:30] local.INFO: GPS data processed {"connection_id":230493,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:51:30] local.INFO: Acknowledgment sent {"connection_id":230493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:51:54] local.INFO: TCP Data received {"connection_id":231837,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:51:54] local.INFO: Processing buffer {"connection_id":231837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:51:54] local.INFO: IMEI packet received {"connection_id":231837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":231837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:51:56] local.INFO: TCP Data received {"connection_id":231837,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:51:56] local.INFO: Processing buffer {"connection_id":231837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:51:56] local.INFO: IMEI packet received {"connection_id":231837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":231837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:52:01] local.INFO: TCP Data received {"connection_id":231837,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:52:01] local.INFO: Processing buffer {"connection_id":231837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:52:01] local.INFO: IMEI packet received {"connection_id":231837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":231837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:52:04] local.INFO: TCP Data received {"connection_id":231837,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acefad18012d5c250006371250000a014b33..."} 
[2026-11-05 23:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acefad18012d5c250006371250000a014b33..."} 
[2026-11-05 23:52:04] local.INFO: Processing buffer {"connection_id":231837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acefad18012d5c250006371250000a014b33..."} 
[2026-11-05 23:52:04] local.INFO: Packet analysis {"connection_id":231837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acef"} 
[2026-11-05 23:52:04] local.INFO: Extracted packet for processing {"connection_id":231837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acef"} 
[2026-11-05 23:52:04] local.INFO: GPS Element Parsed {"raw_longitude":761013504,"raw_latitude":104272464,"longitude_deg":76.1013504,"latitude_deg":10.4272464,"altitude":10,"angle":331,"satellites":51,"speed":0,"hex_longitude":"2d5c2500","hex_latitude":"06371250","is_valid_coordinates":true} 
[2026-11-05 23: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-05 23:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459239098880001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40802824967159808,"note":"Value kept but may cause issues"} 
[2026-11-05 23:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6639713252321415168,"note":"Value kept but may cause issues"} 
[2026-11-05 23:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793902751000,"timestamp_ms":1793902751000,"timestamp_seconds":1793902751,"priority":1,"record_length":96,"hex_timestamp":"000001a1acefad18"} 
[2026-11-05 23: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-05 23:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 23:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23: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-05 23: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-05 23:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":231837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":231837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":231837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459239098880001,"66":27343,"115":206,"19":38400,"24":0,"16":40802824967159808,"45":6639713252321415168},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-11-05 23:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459239098880001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:52:04] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-11-05 23:52:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-11-05 23:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40802824967159808,"km_value":40802824967159.805,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6639713252321415168,"description":"Unknown IO ID 45"} 
[2026-11-05 23:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459239098880001,"power":27343,"unknown_115":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6639713252321415168}} 
[2026-11-05 23:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":231837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:52:04] local.INFO: GPS data processed {"connection_id":231837,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:52:04] local.INFO: Acknowledgment sent {"connection_id":231837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:52:07] local.INFO: TCP Data received {"connection_id":231837,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acefff20012d5c250006371250000a014b33..."} 
[2026-11-05 23:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acefff20012d5c250006371250000a014b33..."} 
[2026-11-05 23:52:07] local.INFO: Processing buffer {"connection_id":231837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acefff20012d5c250006371250000a014b33..."} 
[2026-11-05 23:52:07] local.INFO: Packet analysis {"connection_id":231837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acef"} 
[2026-11-05 23:52:07] local.INFO: Extracted packet for processing {"connection_id":231837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acef"} 
[2026-11-05 23:52:07] local.INFO: GPS Element Parsed {"raw_longitude":761013504,"raw_latitude":104272464,"longitude_deg":76.1013504,"latitude_deg":10.4272464,"altitude":10,"angle":331,"satellites":51,"speed":0,"hex_longitude":"2d5c2500","hex_latitude":"06371250","is_valid_coordinates":true} 
[2026-11-05 23:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-05 23:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459239104256001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40802824967159808,"note":"Value kept but may cause issues"} 
[2026-11-05 23:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6639713252321415168,"note":"Value kept but may cause issues"} 
[2026-11-05 23:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1793902772000,"timestamp_ms":1793902772000,"timestamp_seconds":1793902772,"priority":1,"record_length":96,"hex_timestamp":"000001a1acefff20"} 
[2026-11-05 23:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-05 23:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-05 23:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-05 23:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-05 23:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":231837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":231837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":231837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459239104256001,"66":27376,"115":206,"19":38400,"24":0,"16":40802824967159808,"45":6639713252321415168},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-11-05 23:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":459239104256001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:52:07] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-11-05 23:52:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-11-05 23:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40802824967159808,"km_value":40802824967159.805,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6639713252321415168,"description":"Unknown IO ID 45"} 
[2026-11-05 23:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459239104256001,"power":27376,"unknown_115":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6639713252321415168}} 
[2026-11-05 23:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":231837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:52:07] local.INFO: GPS data processed {"connection_id":231837,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:52:07] local.INFO: Acknowledgment sent {"connection_id":231837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:52:11] local.INFO: TCP Data received {"connection_id":230492,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:52:11] local.INFO: Processing buffer {"connection_id":230492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:52:11] local.INFO: IMEI packet received {"connection_id":230492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 23:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":230492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:52:52] local.INFO: TCP Data received {"connection_id":229977,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:52:52] local.INFO: Processing buffer {"connection_id":229977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:52:52] local.INFO: IMEI packet received {"connection_id":229977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":229977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:53:08] local.INFO: TCP Data received {"connection_id":229977,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:53:08] local.INFO: Processing buffer {"connection_id":229977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:53:08] local.INFO: IMEI packet received {"connection_id":229977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":229977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:53:12] local.INFO: TCP Data received {"connection_id":229977,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acf05128012d5c250006371250000a014b33..."} 
[2026-11-05 23:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acf05128012d5c250006371250000a014b33..."} 
[2026-11-05 23:53:12] local.INFO: Processing buffer {"connection_id":229977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acf05128012d5c250006371250000a014b33..."} 
[2026-11-05 23:53:12] local.INFO: Packet analysis {"connection_id":229977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acf0"} 
[2026-11-05 23:53:12] local.INFO: Extracted packet for processing {"connection_id":229977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acf0"} 
[2026-11-05 23:53:12] local.INFO: GPS Element Parsed {"raw_longitude":761013504,"raw_latitude":104272464,"longitude_deg":76.1013504,"latitude_deg":10.4272464,"altitude":10,"angle":331,"satellites":51,"speed":0,"hex_longitude":"2d5c2500","hex_latitude":"06371250","is_valid_coordinates":true} 
[2026-11-05 23: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-05 23:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459239109632001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40802824967159808,"note":"Value kept but may cause issues"} 
[2026-11-05 23:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6639713252321415168,"note":"Value kept but may cause issues"} 
[2026-11-05 23:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793902793000,"timestamp_ms":1793902793000,"timestamp_seconds":1793902793,"priority":1,"record_length":96,"hex_timestamp":"000001a1acf05128"} 
[2026-11-05 23: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-05 23: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-05 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-05 23:53:12] 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-05 23: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-05 23: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-05 23:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459239109632001,"66":27300,"115":206,"19":38400,"24":0,"16":40802824967159808,"45":6639713252321415168},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-11-05 23:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459239109632001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:53:12] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-11-05 23:53:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-11-05 23:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40802824967159808,"km_value":40802824967159.805,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6639713252321415168,"description":"Unknown IO ID 45"} 
[2026-11-05 23:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459239109632001,"power":27300,"unknown_115":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6639713252321415168}} 
[2026-11-05 23:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":229977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:53:12] local.INFO: GPS data processed {"connection_id":229977,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:53:12] local.INFO: Acknowledgment sent {"connection_id":229977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:53:51] local.INFO: TCP Data received {"connection_id":229978,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:53:51] local.INFO: Processing buffer {"connection_id":229978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:53:51] local.INFO: IMEI packet received {"connection_id":229978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":229978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:53:57] local.INFO: TCP Data received {"connection_id":229978,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:53:57] local.INFO: Processing buffer {"connection_id":229978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:53:57] local.INFO: IMEI packet received {"connection_id":229978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":229978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:53:59] local.INFO: TCP Data received {"connection_id":229978,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acf0a330012d5c250006371250000a014b33..."} 
[2026-11-05 23:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acf0a330012d5c250006371250000a014b33..."} 
[2026-11-05 23:53:59] local.INFO: Processing buffer {"connection_id":229978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acf0a330012d5c250006371250000a014b33..."} 
[2026-11-05 23:53:59] local.INFO: Packet analysis {"connection_id":229978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acf0"} 
[2026-11-05 23:53:59] local.INFO: Extracted packet for processing {"connection_id":229978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acf0"} 
[2026-11-05 23:53:59] local.INFO: GPS Element Parsed {"raw_longitude":761013504,"raw_latitude":104272464,"longitude_deg":76.1013504,"latitude_deg":10.4272464,"altitude":10,"angle":331,"satellites":51,"speed":0,"hex_longitude":"2d5c2500","hex_latitude":"06371250","is_valid_coordinates":true} 
[2026-11-05 23: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-05 23:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459239115008001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40802824967159808,"note":"Value kept but may cause issues"} 
[2026-11-05 23:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6639713252321415168,"note":"Value kept but may cause issues"} 
[2026-11-05 23:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793902814000,"timestamp_ms":1793902814000,"timestamp_seconds":1793902814,"priority":1,"record_length":96,"hex_timestamp":"000001a1acf0a330"} 
[2026-11-05 23: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-05 23:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-05 23:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-05 23:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23: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-05 23: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-05 23:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":229978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":229978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":229978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459239115008001,"66":27571,"115":206,"19":38400,"24":0,"16":40802824967159808,"45":6639713252321415168},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-11-05 23:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459239115008001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:53:59] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-11-05 23:53:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-11-05 23:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40802824967159808,"km_value":40802824967159.805,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6639713252321415168,"description":"Unknown IO ID 45"} 
[2026-11-05 23:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459239115008001,"power":27571,"unknown_115":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6639713252321415168}} 
[2026-11-05 23:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":229978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:53:59] local.INFO: GPS data processed {"connection_id":229978,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:53:59] local.INFO: Acknowledgment sent {"connection_id":229978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:54:32] local.INFO: TCP Data received {"connection_id":229978,"ip":"117.224.67.80","data_length":795,"data_hex":"000000000000030f8e0a000001a1acf3c010012d5bc1000637f260000b014f36..."} 
[2026-11-05 23:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1acf3c010012d5bc1000637f260000b014f36..."} 
[2026-11-05 23:54:32] local.INFO: Processing buffer {"connection_id":229978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1acf3c010012d5bc1000637f260000b014f36..."} 
[2026-11-05 23:54:32] local.INFO: Packet analysis {"connection_id":229978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1acf3"} 
[2026-11-05 23:54:32] local.INFO: Extracted packet for processing {"connection_id":229978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1acf3"} 
[2026-11-05 23:54:32] local.INFO: GPS Element Parsed {"raw_longitude":760987904,"raw_latitude":104329824,"longitude_deg":76.0987904,"latitude_deg":10.4329824,"altitude":11,"angle":335,"satellites":54,"speed":60,"hex_longitude":"2d5bc100","hex_latitude":"0637f260","is_valid_coordinates":true} 
[2026-11-05 23: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-05 23:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459239171072001,"note":"Value kept but may cause issues"} 
[2026-11-05 23:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":40805878688907264,"note":"Value kept but may cause issues"} 
[2026-11-05 23:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6615717510569394176,"note":"Value kept but may cause issues"} 
[2026-11-05 23:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-05 23:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1793903018000,"timestamp_ms":1793903018000,"timestamp_seconds":1793903018,"priority":1,"record_length":96,"hex_timestamp":"000001a1acf3c010"} 
[2026-11-05 23: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-05 23:54: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-05 23:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-05 23:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-05 23: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-05 23: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-05 23:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-05 23:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":229978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-05 23:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":229978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":229978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-05 23:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-05 23:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-05 23:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-05 23:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459239171072001,"66":27463,"115":206,"19":38400,"24":60,"16":40805878688907264,"45":6615717510569394176},"client_ip":"117.224.67.80","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-11-05 23:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-05 23:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-05 23:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":459239171072001,"description":"Unknown IO ID 0"} 
[2026-11-05 23:54:32] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-11-05 23:54:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-11-05 23:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":40805878688907264,"km_value":40805878688907.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-05 23:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6615717510569394176,"description":"Unknown IO ID 45"} 
[2026-11-05 23:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459239171072001,"power":27463,"unknown_115":206,"unknown_19":38400,"ignition":60,"odometer":null,"unknown_45":6615717510569394176}} 
[2026-11-05 23:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":229978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-05 23:54:32] local.INFO: GPS data processed {"connection_id":229978,"processed":1,"errors":0,"total":1} 
[2026-11-05 23:54:32] local.INFO: Acknowledgment sent {"connection_id":229978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-05 23:55:09] local.INFO: TCP Data received {"connection_id":230494,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:55:09] local.INFO: Processing buffer {"connection_id":230494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:55:09] local.INFO: IMEI packet received {"connection_id":230494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-05 23:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":230494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-05 23:55:10] local.INFO: TCP Data received {"connection_id":230494,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:55:10] local.INFO: Processing buffer {"connection_id":230494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:55:10] local.INFO: IMEI packet received {"connection_id":230494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":230494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:55:11] local.INFO: TCP Data received {"connection_id":230494,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:55:11] local.INFO: Processing buffer {"connection_id":230494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:55:11] local.INFO: IMEI packet received {"connection_id":230494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":230494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:55:12] local.INFO: TCP Data received {"connection_id":230494,"ip":"117.224.67.80","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:55:12] local.INFO: Processing buffer {"connection_id":230494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-05 23:55:12] local.INFO: IMEI packet received {"connection_id":230494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-05 23:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":230494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-05 23:58:00] local.INFO: TCP Data received {"connection_id":233734,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":233734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:58:00] local.INFO: Processing buffer {"connection_id":233734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-05 23:58:00] local.INFO: IMEI packet received {"connection_id":233734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-05 23:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":233734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
